/* ===================================
   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; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F6F5F3; /* Light organic off-white */
  color: #23272A;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-image: url('../assets/bg-leaf-texture.png'); /* fallback for subtle paper/natural grain, ignore if nonexistent */
  background-repeat: repeat;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: #3CAEA3; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #20675d; }
ul, ol { margin-left: 1.7rem; }
strong, b { font-weight: bold; }
input, button, select, textarea { font-family: inherit; font-size: inherit; }
::-webkit-input-placeholder {color:#7a756b;}
::-moz-placeholder {color:#7a756b;}
:-ms-input-placeholder {color:#7a756b;}
::placeholder {color:#7a756b;}

/* ===================================
   Brand Colors (Nature Organic inspired)
=================================== */
:root {
  --primary: #23272A;
  --secondary: #3CAEA3;
  --accent: #FFD166;
  --earth-brown: #645E49;
  --grass-green: #3CAEA3;
  --moss-green: #7EA16B;
  --sand: #f6f5f3;
  --organic-green: #81A684;
  --clay: #C3B091;
  --shadow: rgba(112, 124, 107, 0.09);
  --shadow-hover: rgba(60, 174, 163, 0.18);
  --link: #3CAEA3;
  --text: #23272A;
  --text-secondary: #645E49;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ===================================
   Layout Containers
=================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--sand);
  border-radius: 24px; /* organic curve */
  box-shadow: 0 2px 16px var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px; /* required pattern */
  padding: 28px 24px 22px 24px;
  box-shadow: 0 1px 7px var(--shadow);
  position: relative;
  min-width: 250px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.5px solid var(--clay);
  transition: box-shadow .24s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px var(--shadow-hover);
  border-color: var(--organic-green);
}

.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;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 7px var(--shadow);
  margin-bottom: 20px;
  min-width: 260px;
  border-left: 6px solid var(--grass-green);
  transition: box-shadow .25s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px var(--moss-green);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Benefit grid (stretching, schwimmen, laufen) */
.benefit-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.benefit-grid > div, .service-list > div {
  flex: 1 1 260px;
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 7px var(--shadow);
  padding: 18px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .2s, border .2s;
  border: 1.5px solid var(--clay);
  margin-bottom: 20px;
}
.benefit-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 4px 22px var(--shadow-hover);
  border-color: var(--organic-green);
}

/* Highlights & special blocks */
.highlights {
  background: var(--organic-green);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  margin: 32px 0 0 0;
}

.trustmarks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 24px 0 0 0;
}
.trustmarks img {
  height: 37px;
  width: auto;
  border-radius: 10px;
  background: var(--clay);
  padding: 8px;
}

.stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}

/* Contact details */
.contact-details {
  margin: 20px 0;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 1px 6px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--earth-brown);
  font-size: 15px;
}
.contact-details img, .contact-details svg {
  height: 22px;
  width: 22px;
}


/* ===================================
   Typography
=================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 0.6em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.17;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.22;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.18;
  font-weight: 600;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p, ul, ol, li, dl, dt, dd {
  color: var(--text-secondary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
}
p, ul, ol {
  max-width: 46em;
}

small, time {
  font-size: 0.88em;
  color: #928c82;
}

ol {
  list-style-type: decimal;
  padding-left: 2rem;
}
dt {
  font-weight: bold; color: var(--primary); margin-bottom: 2px;
}
dd {
  margin-left: 0; margin-bottom: 12px;
}

ul li::marker, ol li::marker {
  color: var(--organic-green);
  font-size: 1.2em;
}

strong, b {
  color: var(--primary);
}

/* ===================================
  Navigation & Header
=================================== */
header {
  background: linear-gradient(120deg, #e7ede3 60%, #f6f5f3 100%);
  box-shadow: 0 2px 10px var(--shadow);
  padding: 0 0 0 0;
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  min-height: 70px;
  gap: 12px;
}
.main-nav > a img {
  height: 50px;
  margin-right: 14px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.main-nav ul li a {
  display: block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: var(--earth-brown);
  padding: 8px 11px;
  border-radius: 10px;
  transition: background .19s, color .19s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--organic-green);
  color: #fff;
}
.cta-btn {
  background: var(--grass-green);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  border: none;
  border-radius: 13px;
  padding: 13px 28px;
  box-shadow: 0 2px 8px var(--shadow);
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-left: 16px;
  outline: none;
  transition: background .17s, box-shadow .23s, color .15s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 16px var(--shadow-hover);
}

/* Hide mobile-menu-toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ===================================
   Hero Section
=================================== */
.hero {
  background: linear-gradient(135deg, #e5f5d8 65%, #f6f5f3 100%);
  padding: 44px 0 56px 0;
  border-radius: 0 0 36px 36px;
  margin-bottom: 42px;
}
.hero .container { align-items: center; }
.hero h1 {
  font-size: 3rem;
  color: var(--earth-brown);
}
.hero p {
  margin-bottom: 22px;
  font-size: 1.22rem;
  color: var(--organic-green);
}
.hero .cta-btn {
  margin-top: 18px;
}


/* ===================================
   Footer
=================================== */
footer {
  background: linear-gradient(100deg, #e7ede3 80%, #f6f5f3);
  box-shadow: 0 -2px 10px var(--shadow);
  padding: 32px 0 14px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-nav a img {
  height: 37px;
}
.footer-nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  list-style: none;
}
.footer-nav ul li a {
  color: var(--organic-green);
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.footer-nav ul li a:hover, .footer-nav ul li a:focus {
  background: var(--grass-green);
  color: #fff;
}
.footer-contact p {
  font-size: 1em;
  color: var(--earth-brown);
}
footer small {
  display: block;
  margin-top: 14px;
  color: #928c82;
  text-align: center;
}

/* ===================================
   MOBILE NAVIGATION (Hamburger Menu)
=================================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 24px;
  background: var(--grass-green);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 13px;
  font-size: 1.7rem;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow);
  z-index: 120;
  transition: background .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--earth-brown);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34, 39, 42, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100vw);
  z-index: 2000;
  transition: opacity .35s, transform .35s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 22px;
  right: 24px;
  cursor: pointer;
  z-index: 2100;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 80px;
  width: 100%;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  padding: 14px 0;
  width: 100%;
  transition: color .17s, background .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--organic-green);
  color: var(--accent);
  border-radius: 10px;
  padding-left: 10px;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 10px;
  }
  .card-container, .content-grid, .benefit-grid, .service-list {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .section {
    padding: 28px 10px;
  }
  .card, .benefit-grid > div, .service-list > div {
    min-width: 160px;
    padding: 15px 10px 12px 10px;
  }
}

@media (max-width: 768px) {
  header, .main-nav, .footer-nav, .container {
    padding-left: 0;
    padding-right: 0;
  }
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex!important;
  }
  .main-nav > a img { height: 42px;}
  .main-nav {
    flex-direction: row;
    justify-content: space-between;
  }
  .hero {
    padding: 24px 0 33px 0;
    border-radius: 0 0 22px 22px;
    margin-bottom: 22px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section { margin-bottom: 36px; padding: 22px 5px; }
  .card, .benefit-grid > div, .service-list > div { padding: 9px 6px 10px 6px; }
  .content-grid, .card-container, .benefit-grid, .service-list {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
  .testimonial-card { align-items: stretch; }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 512px) {
  .container { padding: 0 3px !important; }
  .section { padding: 15px 0; }
}

/* ===================================
   Animations & Interactions
=================================== */
.cta-btn, .card, .benefit-grid > div, .service-list > div, .testimonial-card {
  transition: box-shadow .22s, background .16s, border-color .19s, color .19s;
}
.cta-btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 0 transparent;
}
.card:focus-within { box-shadow: 0 6px 32px var(--organic-green); }

/* ================================
   Cookie Consent Banner & Modal
================================ */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f7faed;
  color: var(--earth-brown);
  box-shadow: 0 -2px 16px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  z-index: 3000;
  border-top: 2px solid var(--organic-green);
  animation: cookie-slideup .6s;
}
@keyframes cookie-slideup {
  0% {transform: translateY(100%); opacity: 0;}
  100%{transform: translateY(0); opacity: 1;}
}
.cookie-consent-banner p {
  font-size: 1rem; line-height: 1.4;
  color: var(--earth-brown);
  margin-bottom: 0;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: var(--grass-green);
  border: none;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--earth-brown);
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #fff;
  color: var(--earth-brown);
}
.cookie-btn.settings { background: var(--accent); color: var(--primary); }
.cookie-btn.settings:hover { background: var(--organic-green); color: #fff; }

/* Cookie Modal Overlay & Popup */
.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;width:100vw;height:100vh;
  background: rgba(44,52,39,.74);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fadein .3s;
}
@keyframes cookie-fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 36px var(--shadow-hover);
  width: 95vw;
  max-width: 450px;
  padding: 34px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: var(--earth-brown);
  cursor: pointer;
  z-index: 3120;
  transition: color .14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-size: 1.07rem;
  color: var(--primary);
  font-weight: 500;
  flex: 1 1 auto;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--organic-green);
  width: 18px;
  height: 18px;
}
.cookie-category input[disabled] {
  accent-color: #aaa;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  margin-top: 10px;
}

/* Make cookie modal responsive */
@media (max-width:530px) {
  .cookie-modal {
    padding: 17px 5px 17px 5px;
    max-width: 96vw;
  }
  .cookie-consent-banner {flex-direction: column;align-items: flex-start;gap: 10px;padding:8px 7px;}
}

/* ===================================
   Miscellaneous/Extra
=================================== */
::-webkit-scrollbar { width: 7px;background: #e7ede3; }
::-webkit-scrollbar-thumb { background: var(--organic-green); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--grass-green); }

hr {
  border: 0; border-top: 2px solid #e5ede3; margin: 32px 0;
}

/* Organic/rounded shapes for sections and cards (on desktop) */
@media (min-width:769px) {
  .section, .card, .testimonial-card, .service-list > div, .benefit-grid > div { border-radius: 28px; }
}

/* Cards responsive: stack on small, row on desktop */
@media (min-width: 769px) {
  .content-grid, .card-container, .benefit-grid, .service-list {
    flex-direction: row;
  }
}

/* ================================
   Accessibility & Contrast
================================ */
.testimonial-card p, .testimonial-card strong {
  color: #23272A;
  font-size: 1.06rem;
}
.testimonial-card strong { font-weight: 700; color: var(--grass-green); }

/* ===================================
   Utility Classes
=================================== */
.d-none { display: none!important; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-4 { margin-top: 4rem; }
.mb-4 { margin-bottom: 4rem; }
.text-center { text-align: center; }

/* ================================
   Ensure No Overlapping
================================ */
.card, .service-list > div, .benefit-grid > div, .testimonial-card {
  margin-bottom: 20px;
}
.section, .content-wrapper {
  margin-bottom: 20px;
}

/* ================================
   Focus Ring for Accessibility
================================ */
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 1.5px; }

/* ================================
   Organic Decorative SVG Backgrounds
   (Make these only if SVGs exist)
================================ */
/*
.section-bg-leaf {
  background: url('../assets/bg-leaf.svg') no-repeat right bottom;
  background-size: 140px auto;
}
*/
