/* --------------------------------------------------
   CSS RESET & NORMALIZE
-------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,  
figure, figcaption, footer, header, hgroup,  
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  background: #F3F6EB;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1F3B23;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #325D39;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB147;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* --------------------------------------------------
   BRAND TYPOGRAPHY
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: #1F3B23;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; line-height: 1.4; }

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.10rem;
  color: #1F3B23;
  font-weight: 400;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.tagline {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #325D39;
  margin-bottom: 8px;
}

/* --------------------------------------------------
   LAYOUT UTILS & CONTAINERS
-------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(50,93,57,0.09),0 1.5px 3.5px rgba(31,59,35,0.08);
  padding: 28px 22px;
  transition: box-shadow 0.2s;
  min-width: 260px;
  min-height: 190px;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(50,93,57,0.15),0 4px 9px rgba(255,177,71,0.16);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(31,59,35,0.11);
  min-width: 250px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  border-left: 7px solid #FFB147;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(255,177,71,0.13), 0 2px 18px rgba(50,93,57,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------------------------------------
   HEADER & MAIN NAVIGATION
-------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(31,59,35,0.03);
  padding: 0;
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 18px 0 18px 0;
  justify-content: flex-start;
}
.main-nav img {
  height: 40px;
  margin-right: 14px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1F3B23;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.main-nav a.cta, .main-nav a.primary {
  background: #FFB147;
  color: #fff;
  border-radius: 30px;
  padding: 8px 22px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.13s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(50,93,57,0.15),0 0.5px 1.2px rgba(50,93,57,0.09);
}
.main-nav a.cta:hover, .main-nav a.primary:hover {
  background: #325D39;
  color: #fff;
  transform: scale(1.05);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F3F6EB;
  color: #325D39;
}

/* Burger Icon Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #325D39;
  font-size: 2.1rem;
  border: none;
  margin-left: auto;
  padding: 7px 14px;
  z-index: 51;
  transition: color 0.13s, background 0.13s;
}
.mobile-menu-toggle:focus {
  color: #FFB147;
}

/* --------------------------------------------------
   MOBILE NAVIGATION OVERLAY
-------------------------------------------------- */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 2px 24px rgba(50,93,57,0.16);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.55,0,0.1,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #325D39;
  border: none;
  font-size: 2.2rem;
  padding: 7px 12px;
  transition: color 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB147;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: #1F3B23;
  font-weight: 800;
  padding: 9px 0 9px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFB147;
  background: #F3F6EB;
}


/* ----------------------------
   HERO SECTIONS
---------------------------- */
.hero {
  display: flex;
  align-items: center;
  background: #FFB147;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 280px;
  color: #fff;
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
  margin-bottom: 40px;
}
.hero .container {
  padding-top: 35px;
  padding-bottom: 35px;
}
.hero .content-wrapper {
  color: #1F3B23;
  gap: 8px;
}
.hero h1,
.hero h2 {
  color: #325D39;
  text-shadow: 0 2px 9px rgba(255,245,212,0.06);
}
.hero .tagline {
  color: #fff;
  background: #325D39;
  border-radius: 17px;
  padding: 6px 17px;
  margin-bottom: 8px;
  display: inline-block;
}

/* ---------------------------
   FEATURES / SERVICES CARDS
---------------------------- */
.features {
  background: #fff;
  border-radius: 30px;
  margin-top: 0;
  margin-bottom: 48px;
}
.features .content-wrapper {
  gap: 24px;
}
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 0 0;
}
.feature-card, .service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F3F6EB;
  box-shadow: 0 2px 12px rgba(50,93,57,0.08);
  border-radius: 18px;
  padding: 24px 18px 20px 18px;
  min-width: 235px;
  flex: 1 1 240px;
  transition: box-shadow 0.17s, transform 0.17s;
  margin-bottom: 20px;
  border-left: 6px solid #FFB147;
  gap: 12px;
}
.feature-card img, .service-card img {
  height: 54px;
  width: 54px;
  margin-bottom: 8px;
}
.feature-card h3, .service-card h3 {
  font-size: 1.17rem;
  color: #325D39;
  margin-bottom: 2px;
  font-weight: 800;
}
.feature-card span, .service-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFB147;
  margin-top: 6px;
}
.feature-card:hover, .service-card:hover {
  box-shadow: 0 7px 24px rgba(50,93,57,0.12);
  transform: translateY(-6px) scale(1.03);
}

/* -------------------------
   CTA BUTTONS
-------------------------- */
.cta,
button.cta,
.cta.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #FFB147;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 28px;
  padding: 14px 32px;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 2px 12px rgba(255,177,71,0.11);
  cursor: pointer;
  margin-top: 6px;
  margin-bottom: 6px;
  text-align: center;
  display: inline-block;
  min-width: 183px;
  transition: background 0.18s, color 0.13s, transform 0.14s, box-shadow 0.22s;
}
.cta.primary {
  background: #325D39;
  color: #fff;
}
.cta:hover, .cta:focus, .cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #325D39;
  box-shadow: 0 4px 22px rgba(50,93,57,0.16);
  border: 2px solid #325D39;
  transform: scale(1.03);
}

/* ----------------------------
   TESTIMONIALS
----------------------------- */
.testimonials {
  background: #F3F6EB;
  border-radius: 26px;
  margin-top: 24px;
  margin-bottom: 46px;
}
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
  justify-content: flex-start;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  color: #1F3B23;
  line-height: 1.55;
  font-weight: 700;
  margin-bottom: 10px;
}
.testimonial-card footer {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  color: #325D39;
  font-style: italic;
}

/* Ensure strong contrast on testimonial backgrounds */
.testimonial-card {
  background: #fff;
  color: #1F3B23;
  border-left: 7px solid #FFB147;
}

/* -----------------------------
   FAQ & ARTICLE SECTIONS
------------------------------ */
.faq ul, .articles ul, .emotional-benefits ul, .features ul, .about ul {
  margin-left: 0;
}
.faq li, .articles li, .features li, .about li, .emotional-benefits ul li {
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: #1F3B23;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  padding-left: 0.7em;
  border-left: 5px solid #325D39;
  background: #F3F6EB;
  border-radius: 6px;
  padding: 9px 15px;
  font-weight: 400;
}

/* Mini case study blocks */
.mini-case-studies {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(50,93,57,0.08);
  padding: 18px 16px;
  margin: 19px 0 8px 0;
}
.mini-case-studies h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #325D39;
  margin-bottom: 8px;
}
.mini-case-studies p {
  font-size: 1.02rem;
}
.emotional-benefits ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-ctas {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

/* ----------------------------
   ABOUT, LEGAL, THANK YOU, CONTACT
----------------------------- */
.legal, .thankyou, .about, .contact-details, .location {
  background: #fff;
  border-radius: 23px;
  padding: 40px 22px 36px 22px;
  margin-bottom: 48px;
  box-shadow: 0 2px 9px rgba(50,93,57,0.05);
}
.karten-modul {
  background: #F3F6EB;
  border-radius: 13px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  font-style: italic;
  padding: 20px;
}

/* ------------------------
   FOOTER
------------------------- */
footer {
  background: #325D39;
  color: #fff;
  width: 100vw;
  margin-top: 30px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
footer section {
  padding: 34px 0 10px 0;
  margin: 0;
  background: transparent;
}
footer .container {
  padding: 0 10px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #FFB147;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: none;
  border-radius: 8px;
  padding: 5px 10px;
  transition: background 0.11s, color 0.11s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  background: #FFB147;
}
.kontakt-kurzinfo {
  margin: 12px 0 8px 0;
  font-size: 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.kontakt-kurzinfo a {
  color: #FFB147;
  text-decoration: underline;
}
.brand-footer {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.brand-footer img {
  height: 44px;
}
.brand-footer span {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* --------------------------------------------------
   COOKIE CONSENT BANNER
-------------------------------------------------- */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: #1F3B23;
  padding: 24px 10% 22px 10%;
  box-shadow: 0 -2px 18px rgba(255,177,71,0.13);
  border-top: 4px solid #325D39;
  z-index: 99999;
  transition: transform 0.38s cubic-bezier(0.82,-0.01,0.18,1.04);
  font-size: 1.07rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-text {
  flex: 1 1 350px;
  margin-right: 20px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 13px;
}
button.cookie-accept, button.cookie-reject, button.cookie-settings {
  background: #FFB147;
  color: #fff;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 25px;
  border: none;
  margin-left: 0;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 2px 9px rgba(255,177,71,0.08);
}
button.cookie-accept:hover,
button.cookie-settings:hover {
  background: #325D39;
  color: #fff;
}
button.cookie-reject {
  background: #fff;
  color: #325D39;
  border: 2px solid #FFB147;
}
button.cookie-reject:hover {
  background: #FFB147;
  color: #fff;
}

/* Cookie modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(50,93,57,0.13);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  transition: opacity 0.28s;
}
.cookie-modal.show {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 19px;
  max-width: 400px;
  width: 95vw;
  padding: 38px 28px 32px 28px;
  box-shadow: 0 6px 28px rgba(50,93,57,0.17);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.26rem;
  color: #325D39;
  margin-bottom: 11px;
  font-weight: 800;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #1F3B23;
  margin-bottom: 14px;
  cursor: pointer;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #FFB147;
  width: 18px; height: 18px;
  border-radius: 3px;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 19px;
}
/* Modal close button */
.cookie-modal-close {
  background: none;
  border: none;
  color: #325D39;
  font-size: 1.7rem;
  align-self: flex-end;
  margin-bottom: 6px;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFB147;
}

/* Essential cookies always enabled & disabled visually */
.cookie-modal-content .essential {
  font-style: italic;
  color: #9c9c9c;
}
.cookie-modal-content .essential input[type="checkbox"] {
  pointer-events: none;
  opacity: .5;
}

/* --------------------------
   RESPONSIVE DESIGN
--------------------------- */
@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
    font-size: 0.97rem;
  }
  .footer-menu {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .testimonial-list, .footer-menu {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 5px;
  }
  .section, section {
    padding: 28px 6px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .card-container, .content-grid, .feature-grid, .service-list, .testimonial-list {
    flex-direction: column !important;
    gap: 16px;
  }
  .feature-item, .testimonial-card, .card, .feature-card, .service-card {
    min-width: 95vw;
    width: 100%;
  }
  .about, .legal, .thankyou, .contact-details, .location {
    padding: 28px 8px 28px 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .brand-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-top: 11px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 7px;
    margin-bottom: 10px;
  }
  .hero {
    min-height: 160px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    margin-bottom: 20px;
  }
  .hero .container {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .testimonial-card, .feature-card, .service-card {
    min-width: 90vw;
    padding: 18px 8px;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .cta, .cta.primary {
    min-width: 97vw;
    padding: 11px 0;
    border-radius: 17px;
  }
  .hero .tagline {
    font-size: 1rem;
    padding: 4px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px 16px 7px;
    font-size: 0.94rem;
  }
  .cookie-banner-buttons {
    margin-top: 10px;
    gap: 5px;
    flex-wrap: wrap;
  }
}

/* --------------------------
   TRANSITIONS & MICRO-INTERACTIONS
-------------------------- */
.card,
.feature-card,
.service-card,
.cta,
.main-nav a,
.card:hover,
.feature-card:hover,
.service-card:hover {
  transition: box-shadow 0.18s, color 0.12s, background 0.14s, transform 0.15s;
}
.testimonial-card {
  transition: box-shadow 0.15s;
}
.cta:active, .cta.primary:active {
  transform: scale(.99);
}
button:focus, a:focus, .cta:focus {
  outline: 2px solid #FFB147;
  outline-offset: 2px;
  z-index: 3;
}

/* -------------------------
   Z-INDEX SAFETY
-------------------------- */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 2999;
}

/* --------------------------------------------------
   ENSURE MIN. SPACING BETWEEN CONTENT CARDS, SECTIONS
-------------------------------------------------- */
.card, .feature-card, .service-card, .testimonial-card, .about, .legal, .thankyou, .contact-details, .location, .mini-case-studies {
  margin-bottom: 20px;
}
.section, section {
  margin-bottom: 60px !important;
}
.card-container, .content-grid, .feature-grid, .service-list, .testimonial-list {
  gap: 20px !important;
}

