/* ==================================================  
   CSS RESET & BASELINE
   ================================================== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #FFFDFB;
  color: #20423A;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture,
video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  padding-left: 1.1em;
  margin-top: 0;
  margin-bottom: 16px;
}

li { margin-bottom: 8px; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 0;
  color: #235A4D;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.2rem; margin-bottom: 12px; }
h2 { font-size: 1.7rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.05rem; margin-bottom: 8px; }
p, small, span, address {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #2F473C;
}
.subheadline { font-size: 1.1rem; color: #33695C; margin-bottom: 20px; }
strong, b { color: #235A4D; font-weight: bold; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ==================================================  
   HEADER & NAVIGATION
   ================================================== */
header {
  width: 100%;
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(35,90,77,0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  text-decoration: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #235A4D;
  padding: 8px 10px;
  border-radius: 18px;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #FCE9D8;
  color: #CC7511;
  outline: none;
}
header img {
  height: 54px;
  width: auto;
  margin-right: 6px;
  border-radius: 14px;
}

/* Primary Button */
.btn-primary {
  display: inline-block;
  background: #FFB25F;
  color: #20423A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 600;
  border-radius: 25px;
  padding: 13px 32px;
  border: none;
  box-shadow: 0 3px 16px rgba(255,178,95,0.11);
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #235A4D;
  color: #fff;
  box-shadow: 0 6px 24px rgba(35,90,77,0.18);
  outline: none;
}

/* Secondary Button */
.btn-secondary {
  display: inline-block;
  background: #FFF1DF;
  color: #CC7511;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 12px 25px;
  border-radius: 24px;
  border: 1.5px solid #FFB25F;
  box-shadow: 0 2px 7px rgba(255,178,95,0.07);
  text-decoration: none;
  margin-bottom: 10px;
  margin-right: 12px;
  transition: background 0.16s, border 0.16s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #FFB25F;
  color: #21513F;
  border: 1.5px solid #235A4D;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #20423A;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 10px;
  z-index: 110;
  border-radius: 12px;
  padding: 6px 12px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FCE9D8;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #F8F3E9;
  box-shadow: 0 8px 32px rgba(45, 71, 85, 0.16);
  z-index: 999999;
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(0.59,0.01,0.28,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  padding-left: 0;
  padding-right: 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.29s cubic-bezier(0.58,0.01,0.22,1);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #CC7511;
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  z-index: 1001;
  border-radius: 11px;
  padding: 6px 12px;
  transition: background 0.17s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #FFF1DF;
  color: #235A4D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  margin: 65px 0 0 26px;
}
.mobile-nav a {
  color: #235A4D;
  background: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.20rem;
  text-decoration: none;
  padding: 14px 16px 14px 0;
  border-radius: 18px;
  transition: background 0.14s, color 0.14s;
  width: 100%;
  display: block;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #FFDEC2;
  color: #CC7511;
  outline: none;
}

@media (max-width: 1100px) {
  header .container {
    gap: 7px;
  }
  header nav { gap: 7px; }
  .btn-primary { padding: 10px 17px; font-size: 1rem; }
}

@media (max-width: 900px) {
  header .container {
    gap: 6px;
  }
  header nav { gap: 2px; }
  .btn-primary { padding: 9px 11px; font-size: 1rem; }
}

@media (max-width: 820px) {
  header .container {
    gap: 0px;
  }
  header nav { display: none; }
  .btn-primary { margin-left: 0; }
  .mobile-menu-toggle { display: block; margin-right: 8px; }
}

@media (max-width: 720px) {
  header .container {
    flex-direction: row;
    gap: 0;
    min-height: 60px;
  }
  header img { height: 38px; }
}

/* ==================================================  
   HERO  
   ================================================== */
.hero {
  background: #FFFAF5;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 7px 32px rgba(255,178,95,0.09);
  margin-bottom: 38px;
  min-height: 310px;
  padding: 42px 0 34px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  min-height: 220px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 568px;
  gap: 19px;
}

/* ================================================== 
   MAIN SECTION LAYOUTS & CARDS
   ================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF8EF;
  border-radius: 19px;
  box-shadow: 0 7px 18px rgba(255,149,1,0.07);
  padding: 29px 24px 22px 24px;
  max-width: 316px;
  flex: 1 1 316px;
  min-width: 210px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  background: #FFE6C9;
  border-radius: 14px;
  box-shadow: 0 2px 7px rgba(255,178,95,0.08);
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 13px 34px rgba(204,117,17,0.14);
  transform: translateY(-2px) scale(1.015);
  outline: none;
}

.benefits-list ul, .workshop-benefits ul, .signup-benefits ul, .download-list ul, .guide-links ul, .tool-recommendations ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.benefits-list ul li, .workshop-benefits ul li, .signup-benefits ul li, .tool-recommendations ul li {
  background: #FFF7EA;
  border-radius: 13px;
  padding: 10px 15px;
  color: #2F473C;
  font-size: 1rem;
}
.download-list ul li {
  display: flex;
  align-items: center;
  background: #FEFAF5;
  border-radius: 12px;
  padding: 11px 10px 11px 0px;
  gap: 15px;
  font-size: 1rem;
  color: #235A4D;
}
.download-list ul li img {
  width: 24px; height: 24px;
}
.download-list ul li span { color: #CC7511; font-size: 0.97rem; margin-left: 5px; }
.guide-links ul li {
  border-radius: 12px;
  background: #EDF5F3;
  padding: 8px 11px;
  margin-bottom: 0px;
}
.guide-links ul li a { color: #235A4D; text-decoration: underline; font-weight: 500; }
.guide-links ul li a:hover { color: #CC7511; text-decoration: none; }

/* FAQ block inside .angebote.html and .ressourcen.html */
.faq-snippet {
  background: #F5F9F7;
  border-radius: 13px;
  padding: 20px 20px 17px 20px;
  margin-top: 18px;
  margin-bottom: 0;
  box-shadow: 0 2px 9px rgba(120,200,191,0.09);
}
.faq-snippet h3 {
  font-size: 1.11rem;
  color: #7CCFD5;
  margin-bottom: 5px;
  margin-top: 0;
}
.faq-snippet strong { color: #235A4D; font-weight: 600; }

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
.faq-item {
  background: #F8F8FA;
  border-radius: 11px;
  padding: 16px 15px 11px 15px;
  box-shadow: 0 2px 9px rgba(120,200,191,0.07);
}
.faq-item h3 { font-size: 1.08rem; }

/* Workshop List */
.workshop-list, .post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.workshop-list > .text-section {
  background: #FDF7EA;
  border-radius: 15px;
  box-shadow: 0 2px 9px rgba(255,178,95,0.07);
  padding: 22px 18px 17px 18px;
  flex: 1 1 277px;
  min-width: 200px;
  margin-bottom: 7px;
}

/* Blog Featured & Post Items */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.featured-post {
  background: #ECFAF7;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(124,207,213,0.09);
  padding: 27px 23px 19px 23px;
  margin-bottom: 8px;
}
.featured-post .btn-secondary { margin-top: 13px; }

.post-grid {
  gap: 23px;
}
.post-item {
  background: #FCE9D8;
  border-radius: 13px;
  padding: 16px 12px 14px 14px;
  flex: 1 1 240px;
  box-shadow: 0 2px 8px rgba(255,178,95,0.07);
  min-width: 160px;
  margin-bottom: 7px;
  transition: box-shadow 0.13s;
}
.post-item:hover, .post-item:focus-within {
  box-shadow: 0 8px 22px rgba(204,117,17,0.12);
  outline: none;
}

.blog-categories {
  margin-top: 23px;
  background: #F7F5F2;
  border-radius: 12px;
  padding: 16px 16px 12px 16px;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-categories li a {
  color: #235A4D;
  background: #EEE4D0;
  padding: 7px 13px;
  border-radius: 13px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
}
.blog-categories li a:hover, .blog-categories li a:focus {
  background: #FFB25F;
  color: #20423A;
  outline: none;
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFBF5;
  border-radius: 17px;
  box-shadow: 0 5px 38px rgba(35, 90, 77, 0.06), 0 2px 7px rgba(255,178,95,0.07);
  margin-bottom: 20px;
  color: #214338;
  font-size: 1.13rem;
  max-width: 650px;
}
.testimonial-card p {
  color: #235A4D;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #CC7511;
  font-size: 1rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(124,207,213,0.14);
  outline: none;
  background: #F6FEFC;
}

/* Address Details, Map, etc. */
.address-details {
  background: #FFF8EF;
  border-radius: 13px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: 0 2px 9px rgba(255,178,95,0.07);
  color: #235A4D;
  font-size: 1rem;
}
.address-details img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  margin-right: 4px;
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 11px;
}
.map-embed img { width: 38px; height: 38px; }

/* Content Grid, Section, etc. */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 17px;
  box-shadow: 0 3px 14px rgba(124,207,213,0.09);
  background: #FFFFFF;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  font-size: 1rem;
  border-radius: 17px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/********** Text section spacing **********/
.text-section, .legal-text {
  padding: 17px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/*************************************************
   CTA
*************************************************/
.cta-section, section .btn-primary {
  margin: 19px 0 4px 0;
  align-self: flex-start;
}

/*************************************************
   FOOTER
*************************************************/
footer {
  background: #FEF6EA;
  padding: 34px 0 24px 0;
  margin-top: 38px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -6px 30px rgba(35, 90, 77, 0.06);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-end;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}
footer nav a {
  color: #235A4D;
  text-decoration: none;
  padding: 7px 11px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  transition: background 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  background: #FEDEBC;
  color: #CC7511;
  outline: none;
}
footer address {
  font-style: normal;
  color: #20423A;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 0;
}
footer address a {
  color: #235A4D;
  text-decoration: underline;
  transition: color 0.12s;
}
footer address a:hover, footer address a:focus {
  color: #CC7511;
}

/*************************************************
   COOKIE CONSENT BANNER & MODAL
*************************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 22px 16px 19px 16px;
  background: #FCE9D8;
  color: #20423A;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 29px rgba(255,178,95,0.13);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  font-size: 1rem;
  animation: cookieBannerSlideIn 0.5s cubic-bezier(.7,1.4,.2,1);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-right: 12px;
  margin-top: 7px;
}
.cookie-banner .btn-cookie {
  background: #FFB25F;
  color: #20423A;
  border-radius: 21px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 10px;
  padding: 11px 23px;
  cursor: pointer;
  transition: background 0.13s, color 0.14s;
  box-shadow: 0 2px 8px rgba(255,178,95,0.12);
}
.cookie-banner .btn-cookie:hover,
.cookie-banner .btn-cookie:focus {
  background: #235A4D;
  color: #fff;
}
.cookie-banner .btn-cookie-settings {
  background: none;
  color: #CC7511;
  border: 1.2px solid #FFB25F;
  padding: 10px 19px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 17px;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .btn-cookie-settings:hover, .cookie-banner .btn-cookie-settings:focus {
  background: #FFF1DF;
  color: #235A4D;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  background: rgba(35,90,77,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.24s cubic-bezier(.7,1.4,.2,1);
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(35,90,77,0.21);
  padding: 30px 22px 22px 22px;
  min-width: 310px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  color: #235A4D;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FFB25F;
  width: 20px; height: 20px;
  margin: 0;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #D3D7D2;
}
.cookie-category label {
  color: #235A4D;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  margin-top: 7px;
  margin-right: 10px;
  align-self: flex-start;
}
.cookie-modal .cookie-explanation {
  font-size: 0.98rem;
  color: #404F4B;
  margin-bottom: 6px;
}
.cookie-modal .btn-close-cookie-modal {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #CC7511;
  border-radius: 9px;
  cursor: pointer;
  padding: 4px 9px;
  transition: background 0.13s;
}
.cookie-modal .btn-close-cookie-modal:hover {
  background: #FFF1DF;
}
/* For fixed positioning */
.cookie-modal-overlay, .cookie-banner {
  left: 0;
  right: 0;
}

/*************************************************
   RESPONSIVE DESIGN - MOBILE FIRST
*************************************************/
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
  .features-grid, .workshop-list, .post-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .features-grid, .workshop-list, .post-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card { max-width: 96vw; }
  .feature-item, .workshop-list > .text-section, .post-item { max-width: 100%; width: 100%; min-width: unset; }
  .featured-post { padding: 17px 10px 14px 12px; }
  .legal-text, .text-section, .content-wrapper { gap: 15px; }
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding: 26px 0 18px 0;
    margin-bottom: 20px;
    border-radius: 0 0 24px 24px;
  }
  .section {
    padding: 28px 6vw;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 19px;
  }
  .features-grid, .workshop-list, .content-grid, .card-container, .post-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    align-items: flex-start;
    gap: 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .container { max-width: 99vw; padding: 0 8px; }
  h1 { font-size: 1.24rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  .hero, footer, .section {
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 11vw;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 94vw;
    padding: 17px 7vw 17px 7vw;
  }
}

/* Hide banner for print */
@media print {
  .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  header, footer { box-shadow: none; }
}

/*  ------------------------
    ANIMATIONS & MICRO-INTERACTIONS
    ------------------------  */
a, .btn-primary, .btn-secondary, .blog-categories li a, .feature-item {
  transition: color 0.14s, background 0.17s, box-shadow 0.14s, transform 0.12s;
}
a:focus { outline: 2px solid #7CCFD5; outline-offset: 2px; }

input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-radius: 8px;
  border: 1.2px solid #CEE6D9;
  padding: 11px 15px;
  font-size: 1rem;
  background: #F9F9F9;
  transition: border-color 0.13s;
}
input:focus, textarea:focus {
  border-color: #7CCFD5;
  outline: none;
}

/* Hide scroll on mobile-menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Accessibility improvements */
:focus-visible {
  outline: 2px solid #7CCFD5 !important;
  outline-offset: 2px;
}

/*
============================
  END OF CSS
============================
*/
