/* 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;
  -webkit-font-smoothing: antialiased;
  background: #F7FAF2;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #284626;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #255E32;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #B29038;
  outline-offset: 2px;
}

/* FONT SETUP */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  color: #255E32;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: .01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 16px; }
h4 { font-size: 1.15rem; }
p, li, input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #345024;
}
p {
  margin-bottom: 16px;
}
ul, ol { margin-left: 24px; margin-bottom: 16px; }
ul ul, ol ol { margin-bottom: 0; }
li { margin-bottom: 8px; }
strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* MAIN SECTIONS & SPACING */
.section,
.hero-section,
.features-section,
.about-section,
.products-preview-section,
.sustainability-short-section,
.about-snippet-section,
.services-section,
.product-categories-section,
.map-section,
.news-section,
.contact-section,
.confirmation-section,
.cta-section,
.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.text-section {
  max-width: 720px;
}

/* HERO SECTION (SOFT PASTEL) */
.hero-section {
  background: linear-gradient(135deg, #FFF8ED 0%, #D6EADF 100%);
  border-radius: 28px;
  box-shadow: 0 2px 16px 0 rgba(211,223,200,0.12);
  margin-top: 24px;
}
.hero-section h1 {
  color: #255E32;
  text-shadow: 0 2px 8px #EBF5DF;
}
.hero-section p {
  font-size: 1.1rem;
  color: #5A6B42;
  margin-bottom: 24px;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 10px 0 rgba(180, 208, 180, 0.07);
  padding: 0 0 0 0;
  position: sticky;
  top: 0; left: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px 14px 20px;
}
.main-nav > a img {
  height: 46px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav a {
  font-size: 1rem;
  color: #255E32;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background .18s, color .18s;
}
.main-nav .btn-primary {
  color: #fff;
  background: #B29038;
  transition: background .2s, color .2s;
  box-shadow: 0 4px 16px 0 rgba(173,154,95,.11);
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 12px;
  padding: 10px 20px !important;
  margin-left: 8px;
}
.main-nav .btn-primary:hover,
.main-nav .btn-primary:focus {
  background: #DDBD63;
  color: #255E32;
}
.main-nav a:hover, .main-nav a.active {
  background: #D3E7D7;
  color: #255E32;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #B29038;
  cursor: pointer;
  padding: 8px 12px;
  line-height: 1;
  transition: color .2s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B29038;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 4px 38px rgba(178,143,82,0.10);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,.2,.27,1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #B29038;
  cursor: pointer;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  padding: 0;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  margin-top: 32px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #255E32;
  padding: 14px 10px;
  border-radius: 10px;
  transition: background .2s;
  width: 90%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DEBD63;
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav ul { gap: 18px; }
}
@media (max-width: 900px) {
  .main-nav ul { gap: 10px; }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 14px;
    top: 16px;
  }
  .main-nav > a img {
    height: 36px;
  }
}

/* FEATURE GRID (CARDS & FLEX) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(178, 189, 143, 0.07);
  flex: 1 1 250px;
  min-width: 270px;
  max-width: 336px;
  padding: 28px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s, background .16s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 20px 0 rgba(178, 189, 143, 0.16);
  transform: translateY(-6px) scale(1.021);
  background: #F8FCEC;
}
.feature-grid h3 {
  font-size: 1.20rem;
  margin-bottom: 10px;
  margin-top: 12px;
  color: #4E7040;
  text-align: center;
}
.feature-grid img {
  width: 44px;
  opacity: .90;
}
.feature-grid p {
  text-align: center;
  color: #5B6D45;
}

/* BUTTONS */
.btn-primary,
.cta-section .btn-primary {
  background: #B29038;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 32px;
  min-width: 172px;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 14px 0 rgba(178, 189, 143, 0.14);
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 6px;
  transition: background .19s, box-shadow .19s, color .15s, transform .14s;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #DDBD63;
  color: #255E32;
  box-shadow: 0 8px 24px 0 rgba(178, 189, 143, 0.21);
  transform: translateY(-4px) scale(1.027);
  outline: none;
}
.btn-secondary {
  background: #fff;
  color: #B29038;
  border: 2px solid #DDBD63;
  border-radius: 14px;
  padding: 14px 28px;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px 0 rgba(178, 189, 143, 0.08);
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 8px;
  transition: background .14s, color .16s, border-color .19s, box-shadow .19s, transform .11s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #EBF5DF;
  color: #255E32;
  border-color: #B29038;
  box-shadow: 0 6px 16px 0 rgba(222, 189, 99, 0.09);
  transform: translateY(-2px) scale(1.012);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background: #FFF8ED;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(222, 189, 99, .07);
  margin-bottom: 60px;
  padding: 48px 20px;
}
.testimonials-section h2 {
  text-align: center;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  color: #285E32;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(50,80,35,0.10);
  margin-bottom: 20px;
  font-size: 1.07rem;
  transition: box-shadow .17s, transform .11s;
  font-family: 'Open Sans', Arial, sans-serif;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}
.testimonial-card strong {
  color: #B29038;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 10px 24px 0 rgba(178, 189, 143, 0.19);
  transform: scale(1.018);
}
.testimonial-details {
  margin-left: 18px;
}
.testimonial-card p {
  color: #2D472F;
  font-style: italic;
  margin-bottom: 0;
}

/* VALUES, LISTS, CARDS, NEWS */
.values-section ul, .news-section ul, .product-categories-section ul, .services-section ul, .features-section ul, .contact-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
}
.values-section ul li, .services-section ul li, .features-section ul li, .contact-section ul li, .product-categories-section ul li, .news-section ul li {
  background: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 9px 0 rgba(178, 189, 143, 0.06);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 0;
  color: #4E7040;
}
.values-section img, .features-section ul img, .contact-section ul img {
  width: 28px;
  margin-right: 7px;
}
.services-section ul li { color: #5B6D45; }

.news-section ul li {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.news-section h3 { margin-bottom: 2px; font-size: 1.12rem; color: #255E32; }

/* Text image section (if present) */
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.text-image-section > * {
  flex: 1 1 240px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-grid > div {
    min-width: 0;
    max-width: 100%;
  }
}

/* MAP/CONFIRMATION/LEGAL STANDARD CARDS */
.map-section, .confirmation-section, .legal-section {
  background: #F6FAF1;
  border-radius: 18px;
  box-shadow: 0 0 8px 0 rgba(222, 189, 99, .05);
  margin-bottom: 60px;
  padding: 36px 24px;
}

/* CTA SECTION */
.cta-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,#FFF8ED 40%,#DEBD63 120%);
  border-radius: 20px;
  box-shadow: 0 1px 12px 0 rgba(222, 189, 99, .07);
}
.cta-section .text-section {
  align-items: center;
  text-align: center;
  width: 100%;
}
.cta-section a.btn-primary, .cta-section a.btn-secondary {
  margin-bottom: 0;
  margin-top: 12px;
}

/* FOOTER */
footer {
  background: #DEBD63;
  color: #255E32;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  box-shadow: 0 -2px 16px 0 rgba(222, 189, 99, .09);
  padding: 38px 0 36px 0;
  margin-top: 42px;
}
.footer-nav, .footer-contact {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #255E32;
  text-decoration: underline;
  font-size: .98rem;
  margin-right: 0;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background .16s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFF8ED;
  color: #B29038;
}
.footer-contact {
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
  justify-content: center;
}
.footer-contact img {
  width: 56px;
  min-width: 44px;
  align-self: flex-start;
}
.footer-contact p {
  font-size: 1rem;
  color: #233C19;
  line-height: 1.5;
  margin-bottom: 0;
  white-space: pre-line;
}
@media (max-width: 750px) {
  .footer-contact, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 12000;
  background: #FFF8ED;
  box-shadow: 0 -3px 22px 0 rgba(222, 189, 99, .16);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 26px 14px;
  gap: 24px;
  animation: slideCookieIn .45s cubic-bezier(.81,-0.01,.56,1.01);
}
@keyframes slideCookieIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: none;         opacity: 1; }
}
.cookie-banner__text {
  color: #294528;
  font-size: 1rem;
  margin-right: 10px;
  max-width: 370px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .btn-cookie {
  border-radius: 11px;
  padding: 9px 18px;
  font-size: 1.01rem;
  font-weight: 600;
  background: #fff;
  border: 2px solid #DEBD63;
  color: #B29038;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background .15s, color .13s, box-shadow .16s, border .16s;
}
.cookie-banner .btn-cookie.accept {
  background: #DEBD63;
  color: #fff;
  border: 2px solid #DEBD63;
  font-weight: 700;
}
.cookie-banner .btn-cookie.accept:hover, .cookie-banner .btn-cookie.accept:focus {
  background: #B29038;
  color: #fff;
  border: 2px solid #B29038;
}
.cookie-banner .btn-cookie.reject:hover, .cookie-banner .btn-cookie.reject:focus {
  background: #EBF5DF;
  color: #255E32;
  border: 2px solid #B29038;
}
.cookie-banner .btn-cookie.settings {
  background: #fff;
  color: #B29038;
  border-color: #DEBD63;
}
.cookie-banner .btn-cookie.settings:hover,
.cookie-banner .btn-cookie.settings:focus {
  background: #DEBD63;
  color: #fff;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 8px;
  }
  .cookie-banner__actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  .cookie-banner__text {
    max-width: 95vw;
    margin-right: 0;
  }
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 14000;
  background: rgba(36,42,28,0.22);
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal__dialog {
  background: #FFF8ED;
  border-radius: 18px;
  box-shadow: 0 8px 44px 0 rgba(222, 189, 99, 0.17);
  padding: 38px 28px 32px 28px;
  min-width: 300px;
  max-width: 455px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: modalCookieIn .4s cubic-bezier(.87, .02, .27, 1.08);
}
@keyframes modalCookieIn {
  from { transform: scale(.89) translateY(80px); opacity: 0; }
  to   { transform: none;        opacity: 1;   }
}
.cookie-modal__close {
  position: absolute;
  top: 19px;
  right: 24px;
  z-index: 2;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #B29038;
  cursor: pointer;
}
.cookie-modal__title {
  font-family: 'Roboto Slab', serif;
  color: #255E32;
  font-size: 1.24rem;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 9px 4px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #B29038;
  margin-right: 2px;
}
.cookie-category--essential input[type="checkbox"] {
  accent-color: #B29038;
}
.cookie-category--essential label::after {
  content: ' (immer aktiviert)';
  color: #7E774C;
  font-size: .97rem;
  margin-left: 6px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-modal .btn-cookie-modal {
  border-radius: 11px;
  padding: 9px 18px;
  font-size: 1.01rem;
  font-weight: 600;
  background: #DEBD63;
  border: 2px solid #DEBD63;
  color: #fff;
  transition: background .15s, color .13s, box-shadow .16s, border .16s;
  cursor: pointer;
}
.cookie-modal .btn-cookie-modal:hover, .cookie-modal .btn-cookie-modal:focus {
  background: #B29038;
  border-color: #B29038;
}

@media (max-width: 480px) {
  .cookie-modal__dialog {
    padding: 18px 7px 16px 7px;
    min-width: 0;
    max-width: 99vw;
    font-size: 0.95rem;
  }
}

/* RESPONSIVE LAYOUT FOR SECTIONS */
@media (max-width: 670px) {
  .section,
  .hero-section,
  .features-section,
  .about-section,
  .products-preview-section,
  .sustainability-short-section,
  .about-snippet-section,
  .services-section,
  .product-categories-section,
  .map-section,
  .news-section,
  .contact-section,
  .confirmation-section,
  .cta-section,
  .legal-section {
    padding: 22px 6px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.17rem; }
}

/* FORMS (none yet, but for future-proofing) */
input, textarea, select, button {
  font-family: inherit;
}
input, textarea, select {
  border: 1px solid #DEBD63;
  background: #fff;
  color: #345024;
  border-radius: 10px;
  padding: 12px 13px;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: border .18s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #B29038;
  outline: none;
  box-shadow: 0 0 0 2px #EBF5DF;
}
button:focus {
  outline: 2px solid #B29038;
}

/* MICRO-ANIMATIONS */
.card-container > .card,
.feature-grid > div,
.testimonial-card,
.values-section ul li,
.news-section ul li,
.services-section ul li,
.feature-item {
  transition: box-shadow 0.16s, transform 0.11s, background .14s;
}
.card-container > .card:hover,
.feature-item:hover {
  box-shadow: 0 9px 32px 0 rgba(178, 189, 143, 0.15);
  transform: translateY(-2px) scale(1.011);
}

/* FLEXBOX UTILITY CLASSES (for common containers) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(178, 189, 143, 0.10);
  padding: 28px 22px;
  transition: box-shadow .15s, transform .13s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TYPE SCALE: Consistent typograpy sizes for hierarchy */
.ts-xs { font-size: .86rem; }
.ts-s  { font-size: 1rem;   }
.ts-m  { font-size: 1.15rem; }
.ts-l  { font-size: 1.35rem; }
.ts-xl { font-size: 1.7rem; }

/* STYLE ACCENTS */
::-webkit-selection { background: #EBF5DF; color: #255E32; }
::selection { background: #EBF5DF; color: #255E32; }

/* SCROLLBAR (subtle style for soft pastel theme) */
::-webkit-scrollbar {
  width: 9px;
  background: #EBF5DF;
}
::-webkit-scrollbar-thumb {
  background: #D3E7D7;
  border-radius: 8px;
}

/* DARK MODE OVERRIDE STARTER (if ever needed) */
@media (prefers-color-scheme: dark) {
  :root { /* fallback for now, can expand in future */ }
}
