/* ========================================================================
   NATURE ORGANIC — WUNDER DER ERDE
   Comprehensive style.css for all HTML pages
   Author: Professional Website Developer
   =======================================================================*/
/* ---- 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 {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2F3B2F;
  background-color: #F6F4EE;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img, video {
  max-width: 100%;
  display: block;
}
a {
  color: #205377;
  text-decoration: none;
  transition: color 0.15s;
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

hr {
  border: 0;
  border-top: 1px solid #E2DED3;
  margin: 32px 0;
}

/* ---- BRAND TYPOGRAPHY ---------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C3730;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, span, strong, em {
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  margin-bottom: 16px;
  color: #2F3B2F;
  font-size: 1rem;
}
strong {
  color: #205377;
  font-weight: 700;
}

/* ---- LAYOUT CONTAINER ---------------------------------------------- */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 28px -7px rgba(85,96,64,0.09);
}

/* ---- FLEXBOX LAYOUTS (No Grid, No Columns) ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fafaf7;
  border-radius: 16px;
  box-shadow: 0 2px 9px rgba(103,168,111,0.09);
  min-width: 220px;
  flex: 1 1 310px;
  padding: 24px 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(32,83,119,0.16);
  transform: translateY(-3px);
}

.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 32px 20px 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #F6F4EE;
  color: #1C3730;
  box-shadow: 0 2px 12px rgba(32,83,119,0.06);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(103,168,111,0.07);
  padding: 24px;
  flex: 1 1 265px;
  min-width: 220px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 26px rgba(32,83,119,0.12);
  transform: translateY(-2px) scale(1.017);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 9px;
}

/* ---- HERO SECTION -------------------------------------------------- */
.hero {
  background-color: #E8EBE1;
  background-image: url('../assets/hero-bg-texture.png'), linear-gradient(90deg,#F6F4EE 0%,#E8EBE1 100%);
  background-blend-mode: multiply;
  min-height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 45px 45px;
  margin-bottom: 52px;
  padding: 52px 0 32px 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 650px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.8rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205377;
}
.hero p {
  color: #1C3730;
  font-size: 1.18rem;
  margin-bottom: 0;
}

/* ---- BUTTONS & LINKS ----------------------------------------------- */
.cta-btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  border-radius: 27px;
  border: none;
  outline: none;
  cursor: pointer;
  background: #67A86F;
  color: #fff;
  box-shadow: 0 2px 12px rgba(103,168,111,0.09);
  margin-top: 15px;
  margin-bottom: 0;
  transition: background 0.15s, color 0.15s, transform 0.13s, box-shadow 0.11s;
}
.cta-btn.primary {
  background: #67A86F;
  color: #fff;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: #205377;
  color: #F6F4EE;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(32,83,119,0.17);
}
.cta-btn.secondary {
  background: #205377;
  color: #fff;
}
.cta-btn.secondary:hover,
.cta-btn.secondary:focus {
  background: #67A86F;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 3px 14px rgba(103,168,111,0.13);
}
.cta-btn:active {
  transform: scale(0.98);
}

/* ---- HEADER & MAIN NAV --------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E2DED3;
  box-shadow: 0 2px 14px -8px rgba(85,96,64,0.07);
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}
header img[alt="Wunder der Erde"] {
  height: 47px;
  width: auto;
  margin-right: 28px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205377;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 9px;
  border-radius: 16px;
  transition: background .14s, color .14s;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}
nav a:hover, nav a:focus {
  background: #67A86F22;
  color: #1C3730;
  text-decoration: underline;
}

header .cta-btn {
  margin-left: 18px;
}

/* ---- MOBILE MENU --------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(32,83,119,0.06);
  z-index: 101;
  border: none;
  border-radius: 16px;
  font-size: 2.1rem;
  color: #205377;
  cursor: pointer;
  transition: background 0.11s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #67A86F33;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F6F4EE;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.37,1.23,.72,.98);
  box-shadow: 3px 0 27px rgba(32,83,119,0.14);
  min-width: 0;
  min-height: 100vh;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 23px;
  right: 23px;
  width: 44px;
  height: 44px;
  background: #205377;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  border-radius: 13px;
  cursor: pointer;
  box-shadow: 0 2px 9px rgba(85,96,64,0.09);
  transition: background 0.14s;
  z-index: 302;
}
.mobile-menu-close:hover { background:#67A86F; }
.mobile-nav {
  margin-top: 85px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 36px 32px 0 32px;
}
.mobile-nav a {
  font-size: 1.22rem;
  padding: 15px 0;
  color: #205377;
  font-weight: 700;
  border-radius: 18px;
  width: 100%;
  transition: background .14s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #67A86F33;
  color: #225B1B;
}

/* ---- MAIN CONTENT STYLES ------------------------------------------- */
main {
  min-height: 600px;
}
.text-section {
  margin-bottom: 30px;
  max-width: 820px;
}
.text-section ul li {
  margin-bottom: 8px;
  color: #385253;
  font-size: 1rem;
}
.cta-section {
  margin: 28px 0 0 0;
  display: flex;
  align-items: center;
  gap: 22px;
}
.trust-section {
  margin: 28px 0 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #E3EDD7;
  border-radius: 17px;
  padding: 16px 20px;
  font-size: 1rem;
}

/* ---- FOOTER ------------------------------------------------------- */
footer {
  background: #E8EBE1;
  color: #2B4038;
  margin-top: 70px;
  padding: 46px 0 22px 0;
  border-radius: 38px 38px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #205377;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 4px 7px;
  border-radius: 11px;
  transition: background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #67A86F33;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  line-height: 1.6;
  color: #29412D;
  font-size: 1rem;
}
.footer-contact img {
  height: 40px;
  margin-bottom: 2px;
}

/* ---- TESTIMONIALS ------------------------------------------------- */
.testimonial-card {
  background: #fff;
  color: #1C3730;
  box-shadow: 0 2px 12px rgba(32,83,119,0.08);
  margin-bottom: 20px;
  border-radius: 20px;
  padding: 20px 32px 20px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.testimonial-card p {
  color: #1C3730;
  font-size: 1.1rem;
  margin-bottom: 0;
  flex: 1 1 70%;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205377;
  font-size: 1rem;
  font-weight: 600;
}

/* ---- CARDS -------------------------------------------------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ---- CUSTOM ELEMENTS ---------------------------------------------- */
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 7px;
  object-fit: contain;
}

/* ---- FORMS (if present in future) --------------------------------- */
input, textarea, select {
  font-family: inherit; font-size: 1em; color: #23522A;
  background: #F6F4EE; border: 1px solid #A0AD96;
  border-radius: 12px; padding: 10px 12px;
  margin-bottom: 16px; width: 100%; transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #67A86F;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205377;
  font-weight: 600;
  margin-bottom: 5px;
}

/* ---- COOKIE CONSENT BANNER ---------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #205377;
  box-shadow: 0 -4px 24px rgba(32,83,119,0.20);
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  font-size: 1rem;
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
  animation: cookieSlideUp 0.53s cubic-bezier(.51,.29,0,1.15)
}
@keyframes cookieSlideUp {
  0% { transform: translateY(56px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1;
  margin-bottom: 0;
  color: #205377;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  margin-right: 0;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(103,168,111,0.07);
  transition: background 0.15s, color .13s, transform .12s;
}
.cookie-banner .accept-all {
  background: #67A86F;
  color: #fff;
}
.cookie-banner .accept-all:hover { background: #205377; }
.cookie-banner .reject-all {
  background: #205377;
  color: #fff;
}
.cookie-banner .reject-all:hover { background: #67A86F; }
.cookie-banner .settings {
  background: #F6F4EE;
  color: #205377;
  border: 1px solid #E2DED3;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  border: 1px solid #67A86F;
  background: #E8EBE1;
}

/* ---- COOKIE PREFERENCES MODAL -------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(44,58,36,0.47);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.open { opacity: 1; pointer-events: all; }
.cookie-modal {
  background: #fff;
  color: #205377;
  box-shadow: 0 8px 44px rgba(32,83,119,0.19);
  border-radius: 22px;
  max-width: 420px;
  width: 98%;
  padding: 32px 28px 24px 28px;
  animation: modalPopIn 0.29s cubic-bezier(.57,.5,.13,.99);
  position: relative;
  z-index: 1;
}
@keyframes modalPopIn {
  0% { transform: scale(0.89) translateY(48px); opacity: .1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  color: #1C3730;
  margin-bottom: 14px;
}
.cookie-modal ul {
  margin-bottom: 15px;
  padding-left: 19px;
}
.cookie-modal li {
  margin-bottom: 8px;
  color: #225B1B;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-modal label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #205377;
  margin-bottom: 0;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #67A86F;
  width: 18px;
  height: 18px;
  margin-right: 9px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #205377;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .cookie-modal-close:hover { color: #67A86F; }

/* ---- MEDIA QUERIES — MOBILE FIRST RESPONSIVE ---------------------- */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding-left: 11px; padding-right: 11px;
  }
}
@media (max-width: 900px) {
  .section {
    padding: 34px 8px;
    margin-bottom: 44px;
  }
  .hero { padding: 36px 0 28px 0; min-height: 260px; }
  .feature-grid > div, .card {
    padding: 17px 13px;
    min-width: 140px;
    font-size: 0.98rem;
  }
  .feature-grid {
    gap: 16px;
  }
  .testimonial-card {
    padding: 16px 12px 16px 12px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .container, header .container, footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-btn {
    margin-right: 70px;
    margin-left: 0;
    margin-top: 10px;
  }
  .hero {
    min-height: 170px;
    border-radius: 0 0 25px 25px;
    margin-bottom: 32px;
  }
  .footer-nav {
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 15px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 620px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.09rem; }
  .hero .content-wrapper { gap: 11px; }
  .section { padding: 19px 3px; border-radius: 13px; }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card, .card {
    padding: 13px 7px 13px 8px;
    font-size: 0.93rem;
    border-radius: 13px;
  }
  .footer-contact img {
    height: 25px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 19px;
  }
}
@media (max-width:480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px;
    font-size: 0.97rem;
    gap: 11px;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
  }
}
@media (max-width:450px){
  .cookie-modal {
    padding: 20px 5px 13px 5px;
    border-radius: 13px;
  }
}

/* ---- UTILITY CLASSES ---------------------------------------------- */
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-3 { margin-bottom: 24px !important; }
.hide { display: none !important; }
.show { display: block !important; }

/* ---- ORGANIC-SHAPED ELEMENTS -------------------------------------- */
.section, .card, .feature-grid > div, .testimonial-card, .cookie-banner, .cookie-modal {
  border-radius: 22px 34px 18px 33px/25px 17px 30px 15px;
}

/* ---- FOCUS STYLES for a11y ---------------------------------------- */
a, button, .cta-btn, input, textarea, select {
  outline: none;
  box-shadow: none;
}
a:focus, button:focus, .cta-btn:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid #67A86F;
  outline-offset: 2px;
  z-index: 10;
}

/* ---- ANIMATION EFFECTS -------------------------------------------- */
.cta-btn, .feature-grid > div, .card, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.14s, background 0.14s, color 0.14s, transform 0.16s;
}

/* ---- HIGH CONTRAST ENSURE: Testimonials/Reviews ------------------- */
.testimonial-card {
  background: #fff;
  color: #20421C;
  border: 1.5px solid #E2DED3;
}

/* ---- PRINT ------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal,
  .cookie-modal-overlay { display: none !important; }
  body { background: #fff !important; }
}
