/* ==== CSS RESET & BASE STYLES ==== */
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: 16px;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  background: #F8F9F8; /* soft, natural off-white */
  font-family: 'Roboto', Arial, sans-serif;
  color: #194D33;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #194D33;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A1A533;
  outline: none;
}
ul, ol {
  margin-left: 1.3em;
  padding-left: 1em;
}
/* ==== CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}


/* ==== TYPOGRAPHY & HEADINGS ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #194D33;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.19;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
p, li {
  font-size: 1rem;
  color: #23462B;
}
strong {
  font-weight: 700;
}

@media (max-width: 500px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* ==== HEADER & NAVIGATION ==== */
.flex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #FFFFFF;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 3px 24px rgba(28,40,27,0.07);
  padding: 14px 20px;
  margin-bottom: 0;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #194D33;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F5E70A;
  color: #194D33;
}

.button.primary {
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #194D33;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 1px 8px rgba(25,77,51,0.1);
  cursor: pointer;
  transition: background 0.18s, transform 0.16s, box-shadow 0.18s;
}
.button.primary:hover, .button.primary:focus {
  background: #29653F;
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 4px 18px rgba(25,77,51,0.23);
}
.button.secondary {
  padding: 10px 20px;
  background: #F5E70A;
  color: #194D33;
  border-radius: 12px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(245,231,10,0.08);
  margin-right: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.button.secondary:hover, .button.secondary:focus {
  background: #F7E82C;
  color: #11301E;
}


/* ==== MOBILE NAVIGATION (BURGER MENU) ==== */
.mobile-menu-toggle {
  display: none;
  background: #F5E70A;
  color: #194D33;
  border: none;
  font-size: 2rem;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 16px;
  position: relative;
  z-index: 102;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #194D33;
  color: #F5E70A;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #FFFFFF;
  box-shadow: 0 6px 42px rgba(25,77,51,0.18);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.64,.09,.08,1) 0s;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #194D33;
  border: none;
  align-self: flex-end;
  margin: 20px 20px 0 0;
  cursor: pointer;
  z-index: 1600;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  margin: 35px 20px 0 35px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #194D33;
  background: transparent;
  padding: 10px 0 10px 0;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5E70A;
  color: #194D33;
}

@media (max-width: 992px) {
  .main-nav, .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none;
  }
}


/* ==== HERO & PAGE TEASER ==== */
.hero, .hero-blog {
  background: #FFFFFF;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: 0 6px 40px rgba(25,77,51,0.07);
  display: flex;
  align-items: center;
  min-height: 240px;
  position: relative;
}

/* Content wrappers & grid layouts */
.content-wrapper {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.features-grid ul, .partner-section ul, .recipes-grid, .category-shortcuts, .footer-nav, .footer-social, .contact-details, .contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.features-grid ul li, .partner-section ul li {
  background: #F5F6F4;
  border-radius: 18px;
  padding: 30px 22px;
  flex: 1 1 220px;
  min-width: 180px;
  box-shadow: 0 2px 10px rgba(28,40,27,0.075);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.recipe-teaser ul {
  gap: 20px;
}

/* Recipe cards and posts */
.recipes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.recipe-card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(28,40,27,0.085);
  border-radius: 16px;
  padding: 26px 18px 22px 18px;
  flex: 1 1 250px;
  max-width: 340px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.recipe-card:hover {
  box-shadow: 0 10px 28px rgba(28,77,51,.15);
  transform: translateY(-6px) scale(1.025);
}

.post-excerpt {
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(28,40,27,0.06);
  padding: 22px 16px 18px 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-excerpt a {
  color: #194D33;
  font-weight: 600;
  text-decoration: underline dotted;
  margin-top: 10px;
  transition: color 0.2s;
}
.post-excerpt a:hover { color: #F5E70A; }

.category-link {
  background: #F5F6F4;
  border-radius: 9px;
  padding: 8px 18px;
  color: #194D33;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.category-link:hover, .category-link:focus {
  background: #F5E70A;
  color: #11301E;
}


/* ==== INFORMATION SECTIONS & SPACING ==== */
.section, section, .privacy-policy, .dsgvo-policy, .terms-of-use, .cookie-policy, .thank-you {
  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: 18px;
  box-shadow: 0 2px 18px rgba(28,40,27,0.09);
  padding: 22px 18px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover { box-shadow: 0 6px 28px rgba(28,40,27,0.13); }
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F5F6F4;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(28,40,27,0.07);
  margin-bottom: 20px;
  max-width: 520px;
}
.testimonial-card p,
.testimonial-card .testimonial-person {
  color: #194D33;
  font-size: 1rem;
}
.testimonial-card .testimonial-person {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .97rem;
  font-weight: 600;
  margin-left: 10px;
}


/* ==== ABOUT, CONTACT, FOOTER ==== */
.about-short ul, .contact-details, .contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.about-short ul li, .contact-details > div, .contact-methods > div {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 1px 10px rgba(25,77,51,0.055);
  font-size: 1rem;
  color: #23462B;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-details > div img,
.contact-methods > div img {
  width: 24px;
  height: 24px;
  margin-right: 9px;
  opacity: 0.7;
}

.map-embed {
  margin-top: 16px;
  border-radius: 10px;
  background: #F5F6F4;
  padding: 14px 16px;
  font-style: italic;
  color: #194D33;
}

/* ==== FOOTER ==== */
footer {
  background: #FFFFFF;
  box-shadow: 0 -2px 20px rgba(28,40,27,0.06);
  padding: 35px 0 8px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 26px;
}
.footer-nav a {
  color: #194D33;
  font-size: 1rem;
  transition: color 0.2s;
  border-radius: 6px;
  padding: 4px 8px;
}
.footer-nav a:hover { color: #A9AE3B; background: #F5F6F4; }
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-social img {
  height: 29px;
  width: 29px;
  opacity: 0.90;
  transition: opacity 0.15s;
  border-radius: 8px;
  background: #F5F6F4;
  padding: 4px;
}
.footer-social img:hover {
  opacity: 1.0;
}
.footer-copy {
  font-size: .93rem;
  color: #23462B;
  text-align: center;
  margin-bottom: 7px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #FFFFFF;
  box-shadow: 0 -4px 18px rgba(25,77,51,0.08);
  border-top: 4px solid #F5E70A;
  z-index: 20000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  animation: fadeInUp 0.42s cubic-bezier(.41,.81,.59,1.02);
}
.cookie-banner p {
  font-size: 1rem;
  color: #194D33;
  flex: 2 1 290px;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner .button, .cookie-buttons .button {
  border-radius: 8px;
  font-size: .97rem;
  font-weight: 600;
  padding: 9px 16px;
  min-width: 115px;
}
.button.accept {
  background: #194D33!important;
  color: #fff!important;
}
.button.reject {
  background: #F5E70A!important;
  color: #194D33!important;
}
.button.settings {
  background: #F5F6F4!important;
  color: #194D33!important;
  border: 1px solid #D7DBD9;
}
.button.accept:hover,
.button.reject:hover,
.button.settings:hover {
  box-shadow: 0 4px 18px #EDEBC2;
  transform: translateY(-2px) scale(1.02);
}

/* Cookie modal (settings) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 22000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(25, 77, 51, 0.25);
  justify-content: center;
  align-items: center;
  animation: fadeIn .18s cubic-bezier(.61,.23,.52,.95);
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 8px 44px rgba(28,40,27,0.12);
  padding: 34px 30px 22px 30px;
  min-width: 320px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalPopIn 0.34s cubic-bezier(.42,.97,.63,1.18);
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category-row[aria-disabled="true"] {
  opacity: .65;
}

.cookie-toggle {
  width: 38px;
  height: 20px;
  background: #F5F6F4;
  border-radius: 12px;
  position: relative;
  margin-left: 8px;
  margin-right: 4px;
  border: 1px solid #D7DBD9;
}
.cookie-toggle input[type="checkbox"] {
  width: 0; height: 0;
  opacity: 0;
  pointer-events: none;
}
.cookie-toggle span {
  position: absolute;
  top: 3px; left: 3px;
  width: 14px;
  height: 14px;
  background: #194D33;
  border-radius: 50%;
  transition: left 0.22s cubic-bezier(.62,.27,.43,1.04), background 0.2s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 19px;
  background: #F5E70A;
}
.cookie-modal .button-group {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #23462B;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.88) translateY(22px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}


/* ==== MEDIA QUERIES ==== */
@media (max-width: 900px) {
  .container { max-width: 95%; }
  .flex-header { flex-wrap: wrap; gap: 13px; }
  .content-wrapper, .about-short ul, .contact-details { gap: 15px; }
  .features-grid ul, .recipes-grid, .partner-section ul {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .features-grid ul, .recipes-grid, .partner-section ul, .category-shortcuts, .footer-nav, .footer-social, .contact-details, .contact-methods {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: center;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .hero, .hero-blog {
    padding: 28px 0;
    min-height: 130px;
    border-radius: 15px;
  }
  .section, section, .privacy-policy, .dsgvo-policy, .terms-of-use, .cookie-policy, .thank-you {
    padding: 22px 6px;
    margin-bottom: 40px;
  }
  .card, .recipe-card, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 99%;
    padding: 14px 10px;
  }
  .card-container { gap: 12px; }
}
@media (max-width: 600px) {
  .flex-header {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
    border-radius: 0 0 12px 12px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer-social {
    gap: 11px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 18px 3px;
    font-size: .97rem;
  }
  .cookie-banner p { font-size: .96rem; }
  .cookie-buttons { flex-direction: column; gap: 8px; }
  .cookie-modal { min-width: 60vw; padding: 18px 5vw 10px 5vw; }
}

/* ==== TRANSITIONS & ACCESSIBILITY ==== */
:focus {
  outline: 2px dashed #194D33;
  outline-offset: 2px;
}
button:focus {
  outline: 2px solid #F5E70A;
  outline-offset: 2px;
}

/* ==== HELPER CLASSES ==== */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* ==== END ==== */