/* ================= 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #F3F6F0 0%, #ffffff 100%);
  color: #20492A;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #20492A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #4CA869;
}
ul, ol {
  list-style: inside disc;
  line-height: 1.8;
  margin-left: 20px;
}
strong { font-weight: 600; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  color: #20492A;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ================= BRAND COLORS ================= */
:root {
  --primary: #20492A;
  --secondary: #7FB685;
  --accent: #F3F6F0;
  --white: #fff;
  --dark: #1A301A;
  --shadow: rgba(32, 73, 42, 0.07);
  --shadow-strong: rgba(32, 73, 42, 0.13);
}

/* ================= HEADER & NAVIGATION ================= */
header {
  background: linear-gradient(90deg, #E6F3E1 0%, #F3F6F0 100%);
  border-bottom: 1px solid #e3ebdf;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 24px;
}
header img {
  height: 40px;
  min-width: 140px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 3px 5px;
  color: #20492A;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.2s cubic-bezier(.4,0,.2,1);
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.cta-primary,
.cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  border-radius: 32px;
  padding: 11px 30px 11px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px var(--shadow);
  position: relative;
}
.cta-primary {
  background: linear-gradient(90deg, #4CA869 0%, #7FB685 100%);
  color: #fff;
  border: none;
  margin-left: 16px;
  
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #20492A 0%, #65C26D 100%);
  color: #fff;
  box-shadow: 0 6px 28px var(--shadow-strong);
}
.cta-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: #fff;
  border-color: #4CA869;
  box-shadow: 0 6px 28px var(--shadow-strong);
}

/* ================= MOBILE MENU ================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #20492A;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  padding: 7px 16px 7px 7px;
  border-radius: 6px;
  transition: background 0.15s;
  z-index: 80;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #deedd6;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(120deg, #91cea8 0%, #F3F6F0 100%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 32px rgba(32,73,42,0.17);
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #20492A;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 16px 24px 0 0;
  cursor: pointer;
  z-index: 210;
  padding: 3px 8px;
  border-radius: 6px;
  transition: background 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ececec;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 36px 32px 36px 40px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #20492A;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--primary);
}

/* Hide main-nav and show burger on mobile */
@media (max-width: 1024px) {
  .main-nav, .cta-primary:not(.thankyou-hero .cta-primary) {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 13px 10px;
  }
  header img {
    min-width: 100px;
    height: 32px;
  }
}

/* ================= HERO/INTRO SECTIONS ================= */
.hero {
  background: linear-gradient(100deg, #D2E6D6 0%, #E0F3EC 100%);
  padding-bottom: 0;
  margin-bottom: 0;
}
.hero .container {
  justify-content: center;
  align-items: center;
  min-height: 320px;
  padding-top: 54px;
  padding-bottom: 38px;
}
.content-wrapper {
  align-items: flex-start;
}
.hero h1, .thankyou-hero h1 {
  color: #20492A;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.1rem;
  color: #4CA869;
  margin-bottom: 32px;
}
.thankyou-hero {
  background: linear-gradient(100deg, #E0F3EC 0%, #F3F6F0 100%);
}

/* ================= FLEXBOX PATTERNS ======== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover, .card:focus {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 8px 32px var(--shadow-strong);
}
.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: #F3F6F0;
  border-radius: 16px;
  box-shadow: 0 1px 6px var(--shadow);
  margin-bottom: 20px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Features grid for multiple sections */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 14px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
  border: 1px solid #E0EFE6;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 11px;
}
.feature:hover, .feature:focus {
  box-shadow: 0 6px 28px var(--shadow-strong);
  transform: translateY(-5px) scale(1.015);
}

/* Tipps & Ratgeber advice grid */
.advice-topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.advice-topic {
  background: #fff;
  border: 1px solid #E0EFE6;
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 10px var(--shadow);
  min-width: 170px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.16s;
}
.advice-topic img {
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
}
.advice-topic:hover, .advice-topic:focus {
  box-shadow: 0 6px 22px var(--shadow-strong);
  transform: translateY(-3px) scale(1.01);
}

/* Cards & Highlight blocks */
.recipe-highlight, .event-highlights {
  background: #e2f4e3;
  border-radius: 10px;
  padding: 18px 21px;
  margin-top: 18px;
  box-shadow: 0 2px 10px var(--shadow);
}

/* Quicklinks */
.quicklinks {
  background: #f1f8f3;
  border-radius: 10px;
  padding: 15px 18px;
  margin-top: 16px;
  box-shadow: 0 2px 6px var(--shadow);
}
.quicklinks ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 10px;
  margin-left: 0;
}
.quicklinks a {
  color: #20492A;
  font-weight: 600;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.quicklinks a:hover, .quicklinks a:focus {
  color: #fff;
  background: var(--secondary);
  border-bottom: 2px solid var(--primary);
  border-radius: 4px;
  padding: 2px 7px 2px 7px;
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  background: linear-gradient(90deg, #E4F0E7 0%, #F3F6F0 100%);
  padding: 40px 20px 4px 20px;
}
.testimonial-card {
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  color: #20492A;
  box-shadow: 0 1px 12px var(--shadow);
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 26px 32px 20px 32px;
  font-size: 1.1rem;
  position: relative;
}
.testimonial-card p {
  color: #20492A;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #4CA869;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-top: 6px;
}

/* ================= EVENT/ABOUT/INFO BLOCKS ===== */
.services ul, .values ul, .about-team ul, .about-expert ul, .recipe-features ul, .events-upcoming ul, .about-principles ul {
  margin-bottom: 18px;
}

.services li, .values li, .about-team li, .about-expert li, .recipe-features li, .events-upcoming li, .about-principles li {
  margin-bottom: 8px;
  font-size: 1.04rem;
  line-height: 1.7;
}

/* LEGAL SECTION STYLES */
.legal {
  background: #f6faf7;
  border-radius: 12px;
  margin: 40px 0 60px 0;
  box-shadow: 0 2px 6px var(--shadow);
  padding: 40px 20px;
}

/* CONTACT & FOOTER ============================== */
.contact-info, .about-location {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: -4px;
}

footer {
  background: linear-gradient(90deg, #20492A 0%, #7FB685 95%);
  color: #fff;
  padding: 36px 0 20px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-nav, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a {
  color: #fff;
  transition: color 0.2s;
  font-weight: 500;
  font-size: 1.08rem;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #e9fef4;
  text-decoration: underline;
}
.footer-contact p {
  color: #d7f7e4;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
}

/* ================= COOKIE CONSENT BANNER ================= */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background: #20492A;
  color: #fff;
  padding: 28px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  box-shadow: 0 -2px 18px rgba(32,73,42,0.11);
  font-size: 1.05rem;
  flex-wrap: wrap;
  transition: transform 0.38s;
  font-family: 'Roboto', Arial, sans-serif;
}
#cookie-banner.hide {
  transform: translateY(120%);
}
#cookie-banner button,
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 19px;
  border-radius: 24px;
  border: none;
  margin-left: 12px;
  margin-top: 4px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
#cookie-banner .accept {
  background: linear-gradient(90deg, #4CA869 0%, #7FB685 100%);
  color: #fff;
}
#cookie-banner .accept:hover {
  background: #65C26D;
}
#cookie-banner .reject {
  background: #fff;
  color: #20492A;
  border: 1px solid #bee7cc;
}
#cookie-banner .reject:hover {
  background: #e3ebe7;
}
#cookie-banner .settings {
  background: #F3F6F0;
  color: #1A301A;
  border: 1px solid #bee7cc;
}
#cookie-banner .settings:hover {
  background: #e6ffe3;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 6000;
  background: rgba(0,0,0,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #20492A;
  border-radius: 18px;
  box-shadow: 0 8px 40px var(--shadow-strong), 0 1.5px 12px #b0e0ce;
  padding: 38px 28px 28px 28px;
  min-width: 350px;
  max-width: 95vw;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: slideDown 0.35s;
}
@keyframes slideDown {
  from { transform: translateY(-110px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal .modal-header {
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: #20492A;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover {
  background: #e0eee7;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-category label {
  font-size: 1.1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7FB685;
}
.cookie-category input[disabled] {
  opacity: 0.7;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 950px) {
  .feature-grid, .advice-topics-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .container {
    max-width: 98vw;
    padding: 0 3vw;
  }
}
@media (max-width: 850px) {
  .feature, .advice-topic {
    min-width: 180px;
    flex-basis: 48%;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
  .section, .contact-info, .about-location, .legal {
    padding: 22px 4px;
    margin-bottom: 36px;
  }
  .feature, .advice-topic {
    min-width: 140px;
    padding: 17px 9px;
  }
  .card {
    padding: 14px 10px;
  }
  .testimonial-card {
    padding: 15px 11px 9px 11px;
  }
  .hero .container {
    padding-top: 30px;
    padding-bottom: 18px;
    min-height: 160px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .quicklinks ul {
    flex-direction: column;
    gap: 12px;
  }
  #cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 17px 8px;
    font-size: 0.95rem;
  }
}
@media (max-width: 560px) {
  .feature-grid, .advice-topics-grid {
    flex-direction: column;
    gap: 10px;
  }
  .feature, .advice-topic {
    flex-basis: 100%;
    min-width: 100px;
    margin-bottom: 10px;
  }
  .testimonial-card {
    padding: 11px 7px 7px 7px;
    font-size: 1rem;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    padding: 0 5vw;
  }
  .footer-nav, .footer-contact {
    gap: 8px;
  }
  .cookie-modal .modal-content {
    min-width: 90vw;
    padding: 20px 7px 14px 7px;
  }
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .features .feature-grid,
  .feature-grid,
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .hero .container {
    min-height: 120px;
  }
}

/* ================= ANIMATIONS & MICRO-INTERACTIONS ================= */
.card, .testimonial-card, .feature, .advice-topic {
  transition: box-shadow 0.17s cubic-bezier(.57,.08,.32,1.38), transform 0.18s cubic-bezier(.57,.08,.32,1.38);
}
.cta-primary, .cta-secondary {
  transition: background 0.22s cubic-bezier(.57,.08,.32,1.38), color 0.18s, box-shadow 0.2s;
}
.mobile-menu, .mobile-menu.open {
  will-change: transform;
  transition: transform 0.34s cubic-bezier(.67,.02,.52,.96);
}
.mobile-nav a, .main-nav a {
  transition: color 0.17s, background 0.19s;
}

/* ================= MISC ================= */
::-webkit-scrollbar {
  width: 12px; background: #e7f8ea;
}
::-webkit-scrollbar-thumb {
  background: #badac7; border-radius: 8px;
}
::-webkit-input-placeholder { color: #95bfa6; }
::-moz-placeholder { color: #95bfa6; }
:-ms-input-placeholder { color: #95bfa6; }
::placeholder { color: #95bfa6; }

/* ================= UTILITY =============== */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.gap-2 { gap: 2rem; }
.gap-1 { gap: 1rem; }

/* ============== COOKIE BANNER STRUCTURAL PLACEHOLDER (Add this to HTML just before </body>) ==============
<div id="cookie-banner">
  <span>Wir verwenden Cookies für das beste Nutzererlebnis und zur Analyse. Sie können Ihre Einstellungen anpassen.</span>
  <button class="accept">Alle akzeptieren</button>
  <button class="reject">Alle ablehnen</button>
  <button class="settings">Cookie-Einstellungen</button>
</div>
<div class="cookie-modal">
  <div class="modal-content">
    <button class="close-modal">&times;</button>
    <div class="modal-header">Cookie-Einstellungen</div>
    <div class="cookie-categories">
      <div class="cookie-category"><label>Essentielle Cookies</label> <input type="checkbox" checked disabled></div>
      <div class="cookie-category"><label>Analytics Cookies</label> <input type="checkbox"></div>
      <div class="cookie-category"><label>Marketing Cookies</label> <input type="checkbox"></div>
    </div>
    <div class="modal-actions">
      <button class="accept">Speichern und akzeptieren</button>
      <button class="reject">Speichern und ablehnen</button>
    </div>
  </div>
</div>
*/
