/* 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 { scroll-behavior: smooth; }
body {
  line-height: 1.6;
  background: #F9F8F5;
  color: #24543C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
*, *:before, *:after { box-sizing: inherit; }
img, picture, video {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul, ol { list-style: none; }
strong { font-weight: 700; }
:focus { outline: 2px solid #89B497; outline-offset: 2px; }

/* TYPOGRAPHY SCALE */
h1 {
  font-family: 'Nunito', sans-serif;
  color: #24543C;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Nunito', sans-serif;
  color: #256449;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  margin-top: 0;
}
h3 {
  font-family: 'Nunito', sans-serif;
  color: #397256;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  color: #24543C;
  font-weight: 700;
}
p, li, address {
  font-family: 'Roboto', sans-serif;
  color: #2F372F;
  font-size: 1rem;
  margin-bottom: 10px;
}

/* CONTAINER & PAGE STRUCTURE */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* LAYOUT & SPACING PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(36,84,60,0.04);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F4ECE6;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px 0 rgba(36,84,60,0.10);
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.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;
  background: #fff;
  padding: 20px;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 rgba(36,84,60,0.07);
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 700px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER / NAVIGATION */
header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(36,84,60,0.035);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  z-index: 30;
  position: relative;
  margin-bottom: 8px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 78px;
}
header img[alt="Wege der Natur"] {
  max-height: 52px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Nunito', sans-serif;
  color: #24543C;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E0EDE6;
  color: #35624A;
}
.cta-btn {
  background: #24543C;
  color: #fff !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(36,84,60,0.10);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #35624A;
  color: #EAF6ED !important;
  box-shadow: 0 4px 18px 0 rgba(36,84,60,0.13);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: #E9EFE7;
  color: #24543C;
  font-size: 2em;
  border: none;
  padding: 8px 18px 8px 10px;
  border-radius: 16px;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.15s;
  z-index: 90;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #89B497;
  color: #fff;
}

/* BURGER MENU OVERLAY */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 8px 24px rgba(36,84,60,0.13);
  transition: transform 0.33s cubic-bezier(.53,.01,.53,1.01);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4em;
  margin: 16px 16px 0 0;
  padding: 4px 14px;
  background: #E0EDE6;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: #24543C;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #24543C;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  margin-top: 52px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  color: #24543C;
  padding: 12px 0;
  width: 90%;
  border-radius: 10px;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #E0EDE6;
  color: #397256;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #E0EDE6 70%, #F4ECE6 100%);
  border-radius: 32px;
  box-shadow: 0 6px 36px 0 rgba(36,84,60,0.09);
  margin-bottom: 60px;
  padding: 40px 0 30px 0;
  position: relative;
  min-height: 210px;
  display: flex;
}
.hero .container {
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #24543C;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.13rem;
  color: #36544A;
  max-width: 710px;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 6px;
  min-width: 205px;
}

/* FEATURES SECTION */
.features {
  background: #E0EDE6;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .container {
  flex-direction: column;
}
.features .content-wrapper {
  gap: 20px;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8f7f4;
  padding: 14px 16px;
  border-radius: 13px;
  font-size: 1.07rem;
  color: #24543C;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 1px 4px 0 rgba(36,84,60,0.06);
  transition: box-shadow 0.15s;
}
.features li img {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
}
.features li:hover {
  box-shadow: 0 4px 12px 0 rgba(36,84,60,0.10);
}

/* GRID SECTIONS (for cities, tours, parks, experience) */
.service-grid, .city-grid, .tour-list-grid, .experience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.service-grid > div, .city-grid > div, .tour-list-grid > div, .experience-grid > div {
  background: #F4ECE6;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(36,84,60,0.08);
  padding: 26px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-grid > div:hover, .city-grid > div:hover, .tour-list-grid > div:hover, .experience-grid > div:hover {
  box-shadow: 0 6px 21px 0 rgba(36,84,60,0.12);
  transform: translateY(-5px) scale(1.03);
  cursor: pointer;
}

/* CTA (CALL TO ACTION) SECTIONS */
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #24543C;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(36,84,60,0.10);
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: #fff;
  margin-bottom: 28px;
}
.cta .cta-btn {
  background: #E0EDE6;
  color: #24543C !important;
  border: 2px solid #24543C;
  transition: background 0.15s, color 0.13s, border 0.13s;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #24543C;
  color: #E0EDE6 !important;
  border: 2px solid #E0EDE6;
}

/* ABOUT & CONTACT SECTIONS */
.about, .contact, .legal {
  background: #fff;
  border-radius: 17px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 22px 0 rgba(36,84,60,0.04);
}
.about ul, .contact ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.text-section {
  margin-bottom: 16px;
}

/* TESTIMONIALS & RATINGS */
.testimonials {
  background: #E0EDE6;
  border-radius: 18px;
  padding: 40px 20px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  align-items: flex-start;
}
.testimonial-card {
  background: #fff;
  color: #24543C;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 rgba(36,84,60,0.07);
  margin-bottom: 24px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  font-size: 1.08rem;
  padding: 20px 26px;
  min-width: 260px;
  max-width: 700px;
  transition: box-shadow 0.15s;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #397256;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-left: auto;
}
.testimonials .ratings {
  font-size: 2em;
  color: #F2C766;
  margin-top: 20px;
}

/* FOOTER */
footer {
  background: #24543C;
  color: #fff;
  padding: 40px 0 0 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -4px 18px 0 rgba(36,84,60,0.06);
}
footer .container {
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
footer img[alt="Wege der Natur Logo"] {
  max-width: 68px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin: 10px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #E0EDE6;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  opacity: 0.96;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.11s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #89B497;
  color: #24543C;
}
.legal-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.legal-links a {
  color: #B4C9BC;
  opacity: 0.8;
  transition: color 0.12s, opacity 0.10s;
}
.legal-links a:hover, .legal-links a:focus {
  color: #fff;
  opacity: 1;
}
footer address, footer span, footer a[href^="mailto"] {
  color: #E0EDE6;
  font-size: 1rem;
  margin-bottom: 0;
  font-style: normal;
}
footer .social-media {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 14px 0 0 0;
}
footer .social-media img {
  width: 28px; height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: filter 0.13s, opacity 0.13s;
}
footer .social-media img:hover {
  filter: none;
  opacity: 1;
}

/* LEGAL / COOKIE POLICY */
.legal h1, .legal h2 {
  color: #24543C;
}
.legal ul {
  margin: 12px 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal ul li {
  list-style-type: disc;
  color: #24543C;
}
.legal a {
  color: #397256;
  text-decoration: underline;
}
.legal a:hover,
.legal a:focus {
  color: #24543C;
}

/* REGISTRATION/BOOKING CTA */
.registration-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}
.registration-cta .cta-btn {
  font-size: 1.02rem;
}

/* GAP BETWEEN SECTIONS */
section, .section {
  margin-bottom: 60px;
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  position: fixed;
  z-index: 3000;
  left: 0; bottom: 0;
  width: 100vw;
  background: #24543C;
  color: #fff;
  padding: 16px 20px;
  box-shadow: 0 -3px 18px rgba(36,84,60,0.14);
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.33s cubic-bezier(.38,0,.48,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  flex: 1;
  margin-bottom: 0;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 8px 20px;
  background: #E0EDE6;
  color: #24543C;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 1px 6px 0 rgba(36,84,60,0.08);
  transition: background 0.14s, color 0.12s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #89B497;
  color: #fff;
}

.cookie-preferences-modal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  z-index: 3010;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  min-width: 320px;
  max-width: 95vw;
  background: #fff;
  color: #24543C;
  border-radius: 18px;
  box-shadow: 0 4px 36px 0 rgba(36,84,60,0.14);
  padding: 32px 24px 24px 24px;
  animation: fadeInScale 0.2s cubic-bezier(.44,.28,.6,.88);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.91); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1);   }
}
.cookie-preferences-modal h2 {
  font-size: 1.15rem;
  color: #24543C;
  margin-bottom: 18px;
}
.cookie-preferences-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}
.cookie-preferences-modal .cookie-category input[type=checkbox]:disabled + label {
  color: #999;
}
.cookie-preferences-modal .modal-btn-row {
  display: flex;
  gap: 13px;
  margin-top: 16px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-preferences-modal button {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 8px 20px;
  background: #E0EDE6;
  color: #24543C;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 1px 6px 0 rgba(36,84,60,0.08);
  transition: background 0.12s, color 0.11s;
}
.cookie-preferences-modal button:focus, .cookie-preferences-modal button:hover {
  background: #89B497;
  color: #fff;
}
.cookie-preferences-modal .close-modal {
  position: absolute;
  top: 15px; right: 15px;
  font-size: 1.5em;
  background: transparent;
  border: none;
  color: #24543C;
  cursor: pointer;
}

/* RESPONSIVE (MOBILE-FIRST) */
@media (max-width: 1020px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; gap: 8px; }
  .main-nav { gap: 16px; }
}
@media (max-width: 860px) {
  .service-grid > div, .city-grid > div, .tour-list-grid > div, .experience-grid > div {
    min-width: 175px;
    flex: 1 1 170px;
    padding: 20px 12px;
  }
}
@media (max-width: 800px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero, .features, .about, .cta, .testimonials, .contact, .legal {
    border-radius: 12px;
    padding: 28px 10px;
  }
}
@media (max-width: 768px) {
  .hero .container,
  .features .container,
  .about .container,
  .cta .container,
  .contact .container,
  .testimonials .container,
  .legal .container,
  footer .container {
    padding: 0 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .service-grid, .city-grid, .tour-list-grid, .experience-grid {
    flex-direction: column;
    gap: 16px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .cta-btn {
    margin-left: 0;
  }
  .features ul {
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px 10px;
    max-width: 100%;
  }
  .footer-nav, .legal-links {
    flex-direction: column;
    gap: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 8px;
    font-size: 0.99rem;
  }
}
@media (max-width: 490px) {
  .hero h1 {
    font-size: 1.27rem;
  }
  .section,
  .about, .contact, .legal,
  .features, .cta, .testimonials {
    border-radius: 0;
    padding: 12px 2px;
  }
}

/* SCROLLBAR STYLES (nature/organic)* */
body::-webkit-scrollbar {
  width: 11px;
  background: #E0EDE6;
}
body::-webkit-scrollbar-thumb {
  background: #89B497;
  border-radius: 6px;
}

/* TRANSITIONS & INTERACTIONS */
.card, .service-grid > div, .city-grid > div, .tour-list-grid > div, .experience-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.17s, background 0.18s;
}
a.button, .cta-btn, button {
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.cta-btn:focus-visible, button:focus-visible {
  outline: 2px solid #397256;
  outline-offset: 1px;
}

/* ORGANIC (NON-RECTILINEAR) SHAPES using border-radius (simulate organic shape) */
.section, .features, .about, .contact, .legal, .cta, .testimonials {
  border-radius: 22px 37px 18px 24px / 23px 24px 32px 22px;
}
.card, .testimonial-card, .service-grid > div {
  border-radius: 13px 22px 14px 16px / 24px 13px 22px 15px;
}

/* SEPARATORS / DIVIDERS (Where needed) */
hr {
  border: none;
  border-top: 1.5px solid #E0EDE6;
  margin: 18px 0;
}

/* MISC */
::-webkit-input-placeholder { color: #B3C9B7; }
::-moz-placeholder { color: #B3C9B7; }
:-ms-input-placeholder { color: #B3C9B7; }
::placeholder { color: #B3C9B7; }

/* PRINT */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
