/* =====================================================================
   Gartenservice Matern GmbH — Onepager
   Design: „Präzisionshandwerk im Grünen" (Spec: Fable 5)
   Eine Schriftfamilie (Archivo, variabel, lokal). Diszipliniertes Token-System.
   ===================================================================== */

/* ---------- Font (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Marke */
  --color-lime:        #A4CE39;  /* Logo-Grün. NIE als Textfarbe, NIE großflächig */
  --color-lime-dark:   #8AB328;  /* Hover Primär-Button */
  --color-lime-tint:   #F2F8E4;  /* Icon-Chips, kleine Akzentflächen */
  --color-leaf:        #4E7A1D;  /* text-taugliches Grün (Eyebrows, Links) */
  --color-forest:      #22372B;  /* dunkles Tannengrün: Vorteile, Overlays */

  /* Neutrale */
  --color-ink:         #262A28;
  --color-text:        #3A3D3C;
  --color-text-muted:  #6E736F;
  --color-text-invert: #FFFFFF;
  --color-bg:          #FFFFFF;
  --color-bg-alt:      #F5F7F3;
  --color-border:      #E3E7E0;

  /* Formular */
  --color-success:     #3E7A45;
  --color-error:       #B3261E;
  --color-focus-ring:  rgba(164, 206, 57, 0.40);

  /* Typo-Skala (7 Größen) */
  --fs-xs:   0.8125rem;  /* 13 — Eyebrows/Badges/Captions (versal) */
  --fs-sm:   0.9375rem;  /* 15 — Nav, Buttons, Meta, Formular */
  --fs-base: 1.0625rem;  /* 17 — Fließtext */
  --fs-lg:   1.25rem;    /* 20 — Lead */
  --fs-xl:   1.5rem;     /* 24 — H3/Kartentitel */
  --fs-2xl:  clamp(1.75rem, 1.3rem + 2vw, 2.5rem);      /* H2 */
  --fs-3xl:  clamp(2.25rem, 1.6rem + 3.5vw, 3.75rem);   /* H1 (Hero) */

  /* Spacing (8er) */
  --space-1: 0.5rem;  --space-2: 1rem;   --space-3: 1.5rem; --space-4: 2rem;
  --space-5: 3rem;    --space-6: 4rem;   --space-7: 6rem;   --space-8: 8rem;

  /* Radius */
  --radius-sm: 10px;  --radius-md: 16px; --radius-lg: 24px;

  /* Schatten (grünstichig-warm) */
  --shadow-sm: 0 1px 2px rgba(34,55,43,.05), 0 4px 16px rgba(34,55,43,.06);
  --shadow-md: 0 2px 4px rgba(34,55,43,.05), 0 16px 40px rgba(34,55,43,.12);

  /* Layout */
  --container: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --header-h: 76px;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: "Archivo", ui-sans-serif, system-ui, Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; border-radius: 3px; }

/* Skip-Link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--color-ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typo-Basis ---------- */
h1, h2, h3, h4 { color: var(--color-ink); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: var(--fs-3xl); line-height: 1.05; }
h2 { font-size: var(--fs-2xl); line-height: 1.15; }
h3 { font-size: var(--fs-xl); font-weight: 600; line-height: 1.3; }
p { max-width: 62ch; }
strong { font-weight: 600; }

/* ---------- Layout-Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--container-pad); }
.section { padding-block: clamp(3rem, 6vw, 4.75rem); }
/* Anker-Offset, damit der Sticky-Header den Sektionsanfang nicht verdeckt */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.section--alt { background: var(--color-bg-alt); }
.section--forest { background: var(--color-forest); color: rgba(255,255,255,.82); }
.section--forest h2 { color: #fff; }

.section-head { max-width: 60ch; margin-bottom: var(--space-4); }
.section-head .lead { margin-top: var(--space-2); }

/* Eyebrow — nummeriertes Label mit Limetten-Linie (Logo-Echo) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--fs-xs); font-weight: 600; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-leaf); margin-bottom: var(--space-2);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--color-lime); display: inline-block; }
.section--forest .eyebrow { color: var(--color-lime); }

.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--color-text-muted); }
.section--forest .lead { color: rgba(255,255,255,.70); }

/* Badge / Pill */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 600; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--color-leaf); background: var(--color-lime-tint);
  padding: .45rem .85rem; border-radius: 999px;
}

/* Blatt-Marker (Logo-Echo) — ersetzt alle Bullets/Checks */
.leaf-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.leaf-list li { position: relative; padding-left: 1.75rem; font-size: var(--fs-sm); }
.leaf-list li::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 1.05rem; height: 1.05rem; background: var(--color-lime);
  -webkit-mask: var(--leaf-mask) center/contain no-repeat; mask: var(--leaf-mask) center/contain no-repeat;
}
:root {
  --leaf-mask: url("/img/brand/leaf-mark.svg?v=1");   /* echtes Blatt aus dem Matern-Logo */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-size: var(--fs-sm); font-weight: 600; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: .875rem 1.75rem; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s ease-out, border-color .18s ease-out, transform .28s var(--ease), box-shadow .18s ease-out;
  white-space: nowrap;
}
.btn--primary { background: var(--color-lime); color: var(--color-ink); }
.btn--primary:hover { background: var(--color-lime-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--primary:active { transform: scale(.98); }
.btn--ghost { background: transparent; border-color: var(--color-border); color: var(--color-ink); }
.btn--ghost:hover { border-color: var(--color-ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
/* auf dunklem Grund */
.on-dark .btn--ghost, .section--forest .btn--ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.on-dark .btn--ghost:hover { border-color: #fff; }

.btn__spinner { width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Logo-Lockup ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--color-ink); }
.logo__img { height: 54px; width: auto; display: block; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__mark .leaf { fill: var(--color-lime); }
.logo__mark .trunk { fill: currentColor; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: .95rem; font-weight: 700; font-stretch: 118%; letter-spacing: 0.06em; text-transform: uppercase; }
.logo__sub { font-size: .58rem; font-weight: 600; font-stretch: 118%; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-text-muted); margin-top: .18rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-3); }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--space-3); list-style: none; padding: 0; }
.nav__link {
  font-size: var(--fs-sm); font-weight: 500; color: var(--color-text);
  padding: .35rem 0; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-lime); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--color-ink); font-weight: 600; }
.header__cta { display: none; }

/* Burger */
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Overlay */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; background: #fff; z-index: 99;
  display: flex; flex-direction: column; padding: var(--space-4) var(--container-pad) var(--space-5);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__list { list-style: none; padding: 0; display: grid; gap: .25rem; margin-top: var(--space-2); }
.mobile-menu__list a { display: block; font-size: var(--fs-xl); font-weight: 600; color: var(--color-ink); padding: .6rem 0; border-bottom: 1px solid var(--color-border); opacity: 0; transform: translateY(12px); }
.mobile-menu.is-open .mobile-menu__list a { animation: menuIn .4s var(--ease) forwards; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(1) a { animation-delay: .05s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { animation-delay: .11s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { animation-delay: .17s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { animation-delay: .23s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { animation-delay: .29s; }
.mobile-menu__cta { margin-top: var(--space-4); }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-5) 0; overflow: hidden; }
.hero__inner { display: grid; gap: var(--space-4); }
.hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); order: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { margin-top: var(--space-2); }
.hero__lead { margin-top: var(--space-3); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-4); }
.hero__facts {
  display: grid; gap: var(--space-2); margin-top: var(--space-5);
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-3);
}
.hero__fact { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); color: var(--color-text); }
.hero__fact svg { flex: none; width: 20px; height: 20px; color: var(--color-leaf); margin-top: .1rem; }

/* ---------- Leistungen ---------- */
.services { display: grid; gap: var(--space-3); }
.service-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: var(--space-4); border: 1px solid var(--color-border); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--color-lime-tint); display: grid; place-items: center; margin-bottom: var(--space-2); }
.service-card__icon svg { width: 24px; height: 24px; color: var(--color-leaf); }
.service-card h3 { margin-bottom: .4rem; }
.service-card__desc { font-size: var(--fs-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }

/* ---------- Unternehmen ---------- */
.about__inner { display: grid; gap: var(--space-4); }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }
.about__badge {
  position: absolute; left: var(--space-3); bottom: -1px; transform: translateY(30%);
  background: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius-sm);
  padding: .7rem 1.1rem; font-size: var(--fs-sm);
}
.about__badge strong { display: block; color: var(--color-ink); }
.about__badge span { color: var(--color-text-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; font-stretch: 118%; }
.about__body p + p { margin-top: var(--space-2); }
.values { list-style: none; padding: 0; display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.value { padding-left: 1.75rem; position: relative; }
.value::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.1rem; height: 1.1rem; background: var(--color-lime); -webkit-mask: var(--leaf-mask) center/contain no-repeat; mask: var(--leaf-mask) center/contain no-repeat; }
.value strong { display: block; color: var(--color-ink); font-size: var(--fs-base); font-weight: 600; }
.value span { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* ---------- Vorteile (Forest) ---------- */
.benefits { display: grid; gap: 0; margin-top: var(--space-4); }
.benefit { padding: var(--space-3) 0; border-top: 1px solid rgba(255,255,255,.14); }
.benefit:first-child { border-top: 0; }
.benefit__num { font-size: var(--fs-xl); font-weight: 700; color: var(--color-lime); font-stretch: 110%; }
.benefit h3 { color: #fff; margin: .3rem 0; }
.benefit p { color: rgba(255,255,255,.72); font-size: var(--fs-sm); max-width: 34ch; }

/* ---------- Referenzen ---------- */
.gallery { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4/3; cursor: pointer; background: var(--color-bg-alt); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(34,55,43,.78));
  color: #fff; font-size: var(--fs-xs); font-weight: 600; font-stretch: 118%;
  text-transform: uppercase; letter-spacing: .08em;
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s var(--ease);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery__cap { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(38,42,40,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__inner { display: grid; gap: 1rem; justify-items: center; padding: 1.5rem; }
.lightbox__img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius-md); }
.lightbox__cap { color: #fff; font-size: var(--fs-sm); font-stretch: 118%; text-transform: uppercase; letter-spacing: .08em; }
.lightbox__close { position: fixed; top: 1.1rem; right: 1.1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255,255,255,.24); }
.lightbox__nav--prev { left: 1rem; } .lightbox__nav--next { right: 1rem; }

/* ---------- Kontakt ---------- */
.contact__inner { display: grid; gap: var(--space-5); }
.contact__block { display: grid; gap: var(--space-3); align-content: start; }
.contact__addr { font-style: normal; font-size: var(--fs-base); color: var(--color-text); }
.contact__addr strong { color: var(--color-ink); }
.contact__phone { font-size: var(--fs-xl); font-weight: 600; color: var(--color-ink); display: inline-flex; align-items: center; gap: .6rem; }
.contact__phone:hover { color: var(--color-leaf); }
.contact__mail { color: var(--color-leaf); font-weight: 500; }
.contact__mail:hover { text-decoration: underline; }
.socials { display: flex; gap: .6rem; }
.social-link { width: 42px; height: 42px; border: 1.5px solid var(--color-border); border-radius: 12px; display: grid; place-items: center; color: var(--color-ink); transition: border-color .18s ease, color .18s ease; }
.social-link:hover { border-color: var(--color-lime); color: var(--color-leaf); }
.social-link svg { width: 20px; height: 20px; }

/* 2-Klick Maps */
.map-consent { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-lime-tint); aspect-ratio: 16/10; display: grid; place-items: center; text-align: center; padding: var(--space-3); }
.map-consent__inner { max-width: 34ch; display: grid; gap: .75rem; justify-items: center; }
.map-consent svg { width: 32px; height: 32px; color: var(--color-leaf); }
.map-consent p { font-size: var(--fs-sm); color: var(--color-text-muted); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Formular */
.form-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); padding: var(--space-4); }
.form-row { display: grid; gap: .4rem; margin-bottom: var(--space-3); }
.form-row label { font-size: var(--fs-sm); font-weight: 600; color: var(--color-ink); }
.form-row .opt { color: var(--color-text-muted); font-weight: 400; }
.form-control { width: 100%; background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: 0 1rem; height: 52px; transition: border-color .18s ease, box-shadow .18s ease; }
textarea.form-control { height: auto; padding: .8rem 1rem; resize: vertical; min-height: 130px; line-height: 1.6; }
.form-control:focus { outline: 0; border-color: var(--color-leaf); box-shadow: 0 0 0 3px var(--color-focus-ring); }
.form-control::placeholder { color: var(--color-text-muted); }
.form-row.has-error .form-control { border-color: var(--color-error); }
.form-error { display: none; font-size: var(--fs-sm); color: var(--color-error); }
.form-row.has-error .form-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin-bottom: var(--space-3); }
.consent input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--color-lime); flex: none; }
.consent label { font-size: var(--fs-sm); color: var(--color-text-muted); font-weight: 400; }
.consent a { color: var(--color-leaf); text-decoration: underline; }

.form-success { display: none; text-align: center; padding: var(--space-4) var(--space-2); }
.form-success.is-visible { display: block; }
.form-success__icon { width: 56px; height: 56px; margin: 0 auto var(--space-2); background: var(--color-lime-tint); border-radius: 50%; display: grid; place-items: center; }
.form-success__icon span { width: 28px; height: 28px; background: var(--color-lime); display: block; -webkit-mask: var(--leaf-mask) center/contain no-repeat; mask: var(--leaf-mask) center/contain no-repeat; }
.form-success h3 { margin-bottom: .5rem; }
.form-success p { max-width: 40ch; margin-inline: auto; color: var(--color-text-muted); font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,.7); padding-block: var(--space-6) var(--space-4); }
.site-footer .logo { color: #fff; }
.site-footer .logo__sub { color: rgba(255,255,255,.55); }
.footer__grid { display: grid; gap: var(--space-4); }
.footer__claim { margin-top: var(--space-2); font-size: var(--fs-sm); max-width: 30ch; }
.footer__col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; font-stretch: 118%; margin-bottom: var(--space-2); }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer__col a { font-size: var(--fs-sm); color: rgba(255,255,255,.7); transition: color .18s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); justify-content: space-between; align-items: center; margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-sm); }
.footer__bottom nav { display: flex; gap: var(--space-3); }

/* ---------- Cookie-Banner ---------- */
.cookie {
  position: fixed; left: var(--container-pad); bottom: var(--container-pad); right: var(--container-pad); max-width: 400px; z-index: 200;
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 1px solid var(--color-border);
  padding: var(--space-3); opacity: 0; transform: translateY(16px); visibility: hidden;
  transition: opacity .35s ease, transform .35s var(--ease), visibility .35s ease;
}
.cookie.is-visible { opacity: 1; transform: none; visibility: visible; }
.cookie p { font-size: var(--fs-sm); color: var(--color-text); margin-bottom: var(--space-2); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie__actions .btn {
  flex: 1 1 130px; padding: .7rem .6rem;
  font-stretch: 100%; letter-spacing: .03em; white-space: normal;
  line-height: 1.15; text-align: center;
}
.cookie__link { display: inline-block; margin-top: .7rem; font-size: var(--fs-xs); color: var(--color-text-muted); text-decoration: underline; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Rechts-Seiten (Impressum/Datenschutz) ---------- */
.legal { padding-block: var(--space-6); }
.legal h1 { margin-bottom: var(--space-4); }
.legal h2 { font-size: var(--fs-xl); margin-top: var(--space-4); margin-bottom: var(--space-2); }
.legal p, .legal ul { max-width: 72ch; font-size: var(--fs-base); margin-bottom: var(--space-2); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--color-leaf); text-decoration: underline; }
.legal .back { display: inline-block; margin-bottom: var(--space-4); font-size: var(--fs-sm); color: var(--color-leaf); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); }
  .benefit { padding: var(--space-3); }
  .benefit:nth-child(2) { border-top: 1px solid rgba(255,255,255,.14); }
  .hero__facts { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }

  .hero { padding-block: var(--space-6) 0; }
  .hero__inner { grid-template-columns: 5fr 7fr; align-items: center; gap: var(--space-6); }
  .hero__media { order: 0; aspect-ratio: 4/3; }
  .hero__content { max-width: 34rem; }
  .hero__facts { grid-column: 1 / -1; }

  .about__inner { grid-template-columns: 5fr 7fr; align-items: center; gap: var(--space-6); }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .benefit { border-top: 0 !important; border-left: 1px solid rgba(255,255,255,.14); padding: 0 var(--space-3); }
  .benefit:first-child { border-left: 0; padding-left: 0; }

  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

  .contact__inner { grid-template-columns: 5fr 7fr; gap: var(--space-6); align-items: start; }
  .services { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .service-card { padding: var(--space-5); }
  /* Leistungslisten auf Desktop offen zeigen */
}

@media (min-width: 1200px) {
  .hero__media { margin-right: calc((1200px - 100vw) / 2); border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =====================================================================
   v2 — Refinements nach Feedback
   ===================================================================== */

/* Logo als Bild (SVG), größer */
.logo__img { height: clamp(42px, 5.2vw, 56px); width: auto; display: block; }
.site-footer .logo__img { height: 48px; }

/* Eyebrow ruhiger (weniger „anderer Font"-Eindruck) */
.eyebrow { font-stretch: 106%; letter-spacing: .1em; }
.badge { font-stretch: 106%; }

/* Leistungen: einheitliche Kartenhöhe + ausgerichtete Inhalte */
.service-card { display: flex; flex-direction: column; }
.service-card__desc { min-height: 3em; }
@media (min-width: 640px) { .services { grid-auto-rows: 1fr; } }

/* Kontakt kompakter */
.form-control { height: 48px; }
textarea.form-control { min-height: 108px; }
.form-row { margin-bottom: var(--space-2); }
.contact__block { gap: var(--space-2); }
.contact__phone { font-size: var(--fs-lg); }
@media (min-width: 900px) { .contact__inner { gap: var(--space-5); } }

/* Karte: schönerer Placeholder + dezenter Marken-Filter auf der Karte */
.map-consent {
  position: relative; aspect-ratio: 16/9; border: 1.5px dashed rgba(78,122,29,.35);
  background:
    radial-gradient(circle at 1px 1px, rgba(78,122,29,.13) 1px, transparent 0) 0 0/22px 22px,
    linear-gradient(135deg, var(--color-lime-tint), #e9f2d8);
}
.map-consent__pin { width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--color-leaf); margin: 0 auto; }
.map-consent__pin svg { width: 26px; height: 26px; }
.map-embed { border: 1px solid var(--color-border); }
.map-embed iframe { filter: grayscale(.22) contrast(1.03) saturate(.92); transition: filter .3s ease; }
.map-embed:hover iframe { filter: none; }

/* CTA-Band mit Foto-Hintergrund */
.cta-band { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, rgba(34,55,43,.95) 0%, rgba(34,55,43,.86) 42%, rgba(34,55,43,.55) 100%); }
.cta-band__inner { display: grid; gap: var(--space-3); padding-block: clamp(3rem, 7vw, 5rem); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: var(--space-2); }
.cta-band__phone { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; font-size: var(--fs-lg); }
.cta-band__phone:hover { color: var(--color-lime); }
.cta-band__phone svg { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.5fr 1fr; gap: var(--space-6); }
  .cta-band__actions { flex-direction: column; align-items: flex-start; }
}

/* Floating Kontakt-Button (FAB) */
.fab {
  position: fixed; z-index: 150; right: clamp(1rem, 3vw, 1.75rem); bottom: calc(clamp(1rem, 3vw, 1.75rem) + 58px);
  display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.4rem; border-radius: 999px;
  background: var(--color-lime); color: var(--color-ink); font-weight: 600; font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: .06em; box-shadow: var(--shadow-md); border: 0; cursor: pointer;
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease), background .18s ease;
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--color-lime-dark); }
.fab svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 560px) { .fab { padding: .95rem; } .fab__label { position: absolute; left: -9999px; } }
@media (prefers-reduced-motion: reduce) { .fab { transition: opacity .2s ease; } }

/* =====================================================================
   Hero — Cinematic (gewählte Variante V2)
   ===================================================================== */
.hero--cine { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero--cine .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero--cine .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--cine::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,30,24,.88) 0%, rgba(20,30,24,.5) 45%, rgba(20,30,24,.05) 100%),
              linear-gradient(0deg, rgba(20,30,24,.78) 0%, transparent 42%); }
.hero--cine .container { width: 100%; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 2.5vw, 2rem); }
.hero--cine .badge { background: rgba(255,255,255,.15); color: #fff; }
.hero--cine h1 { color: #fff; max-width: 17ch; margin-top: var(--space-2); }
.hero--cine .lead { color: rgba(255,255,255,.85); max-width: 46ch; margin-top: var(--space-3); }
.hero--cine .hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-4); }
.hero--cine .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hero--cine .btn--ghost:hover { border-color: #fff; }
.hero--cine .hero__facts { border-color: rgba(255,255,255,.2); margin-top: var(--space-5); }
.hero--cine .hero__fact { color: rgba(255,255,255,.9); }
.hero--cine .hero__fact svg { color: var(--color-lime); }

/* Hero Cinematic — Mobile aufgeräumt */
@media (max-width: 639px) {
  .hero--cine { min-height: 100vh; min-height: 100dvh; }
  .hero--cine .hero__facts { display: none; }        /* Trust-Infos stehen in Vorteilen/Kontakt */
  .hero--cine .hero__cta { width: 100%; }
  .hero--cine .hero__cta .btn { flex: 1 1 100%; }
  .hero--cine .lead { max-width: none; }
}

/* =====================================================================
   v3 — Transparenter Header über Hero + Telefon-Button + einheitliche Textgröße
   ===================================================================== */

/* ---- Einheitliche Fließtext-/Beschreibungsgröße (weniger Größen-Wildwuchs) ---- */
.lead { font-size: var(--fs-base); line-height: 1.6; }
.service-card__desc { font-size: var(--fs-base); }
.leaf-list li { font-size: var(--fs-base); }
.value span { font-size: var(--fs-base); }
.benefit p { font-size: var(--fs-base); }

/* ---- Header-Actions + Telefon-Icon-Button ---- */
.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__call {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); display: grid; place-items: center;
  color: var(--color-ink); flex: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.header__call svg { width: 22px; height: 22px; }
.header__call:hover { border-color: var(--color-lime); color: var(--color-leaf); }

/* ---- Zwei Logo-Fassungen: hell (über Foto) / dunkel (weißer Header) ---- */
.logo__img--light { display: none; }

/* ---- Transparenter Overlay-Header (nur Startseite), wird beim Scrollen weiß ---- */
.site-header { transition: background .25s ease, border-color .2s ease, box-shadow .2s ease; }
.site-header--overlay:not(.is-scrolled) {
  background: linear-gradient(to bottom, rgba(18,26,21,.55), rgba(18,26,21,0));
}
.site-header--overlay:not(.is-scrolled) .nav__link { color: rgba(255,255,255,.9); }
.site-header--overlay:not(.is-scrolled) .nav__link.is-active { color: #fff; }
.site-header--overlay:not(.is-scrolled) .header__call { border-color: rgba(255,255,255,.4); color: #fff; }
.site-header--overlay:not(.is-scrolled) .header__call:hover { border-color: #fff; }
.site-header--overlay:not(.is-scrolled) .burger span { background: #fff; }
.site-header--overlay:not(.is-scrolled) .logo__img--dark { display: none; }
.site-header--overlay:not(.is-scrolled) .logo__img--light { display: block; }

/* Hero unter den transparenten Header ziehen (Foto beginnt ganz oben) */
.hero--cine { margin-top: calc(-1 * var(--header-h)); }

/* =====================================================================
   v4 — Feinschliff (Mobile, Typo-Kohäsion, UX)
   ===================================================================== */

/* ---- EINE Schrift: font-stretch der Label/Caps auf 100% (kein „anderer Font") ---- */
.eyebrow, .badge, .btn, .logo__name, .logo__sub,
.footer__col h4, .about__badge span, .gallery__cap, .lightbox__cap,
.benefit__num, .cookie__actions .btn, .mobile-menu__list a {
  font-stretch: 100%;
}
.eyebrow { letter-spacing: .09em; }
.footer__col h4 { letter-spacing: .06em; }

/* Lange deutsche Komposita nie über den Rand ---- */
h1, h2, h3, h4 { overflow-wrap: break-word; word-break: normal; }
.legal { hyphens: auto; }
.legal h1 { font-size: var(--fs-2xl); }

/* ---- Doppeltipp-Zoom aus (Pinch-Zoom bleibt für Barrierefreiheit) ---- */
html { touch-action: manipulation; }

/* ---- Textauswahl/Kopieren auf der Seite unterbinden (Formularfelder ausgenommen) ---- */
body { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text; -moz-user-select: text; user-select: text; -webkit-touch-callout: default;
}

/* ---- Header/Logo mobil: Luft + solide Kopfzeile bei offenem Menü ---- */
@media (max-width: 899px) {
  .site-header__inner { gap: var(--space-2); }
  .logo__img { height: 40px; }
}
body.is-menu-open { overflow: hidden; }
body.is-menu-open .site-header--overlay {
  background: #fff; border-bottom-color: var(--color-border);
}
body.is-menu-open .site-header--overlay .logo__img--dark { display: block; }
body.is-menu-open .site-header--overlay .logo__img--light { display: none; }
body.is-menu-open .site-header--overlay .burger span { background: var(--color-ink); }
body.is-menu-open .site-header--overlay .header__call { border-color: var(--color-border); color: var(--color-ink); }

/* ---- Telefon im Mobile-Menü (klickbar) ---- */
.mobile-menu__phone {
  display: flex; align-items: center; gap: .6rem; margin-top: var(--space-3);
  font-size: var(--fs-lg); font-weight: 600; color: var(--color-ink);
}
.mobile-menu__phone svg { width: 22px; height: 22px; color: var(--color-leaf); flex: none; }

/* ---- Unternehmen: Abstand Überschrift → Text + Platz für Badge-Überhang ---- */
.about__body h2 { margin-bottom: var(--space-2); }
@media (max-width: 899px) { .about__media { margin-bottom: var(--space-3); } }

/* ---- Kleinere H3 auf Mobile (weniger Größensprünge) ---- */
@media (max-width: 639px) { .service-card h3, .benefit h3 { font-size: var(--fs-lg); } }

/* ---- „Nach oben"-Button (unten rechts, direkt unter dem Kontakt-FAB) ---- */
.to-top {
  position: fixed; z-index: 150; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--color-border);
  background: #fff; color: var(--color-ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease), background .18s ease, border-color .18s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--color-lime); color: var(--color-leaf); }
.to-top svg { width: 22px; height: 22px; }

/* ---- Hero: sanfte „Ken Burns"-Bewegung (Desktop + Mobile) ---- */
.hero--cine .hero-bg { overflow: hidden; }
.hero--cine .hero-bg img { transform-origin: center center; transform: scale(1.06); }
/* Bewegung erst NACH dem Laden starten (bessere LCP / Speed Index auf Mobil) */
body.is-loaded .hero--cine .hero-bg img {
  animation: heroKen 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKen {
  from { transform: scale(1.08) translate(-1.4%, -1%); }
  to   { transform: scale(1.18) translate(1.4%, 1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero--cine .hero-bg img { animation: none; transform: scale(1.06); }
}

/* Desktop: Kleinschriften etwas größer — Eyebrows/Badges 14px, Nav/Buttons/Labels 16px.
   Mobile bleibt bei 13/15 (kompakter). */
@media (min-width: 900px) {
  :root { --fs-xs: 0.875rem; --fs-sm: 1rem; }
}

/* =====================================================================
   v5 — MARKEN-RELAUNCH  „Wir bringen Ihr Grün zum Blühen"
   Bildsprache aus Flyer/Fahrzeugen ins Web: tiefes Schwarzgrün + Lime als
   LEITFARBE, organische Blatt-/Blob-Formen, fette Versalien mit Lime-Akzent,
   große Icon-Symbole. Hoher Wiedererkennungswert.
   ===================================================================== */
:root {
  --brand-night:  #0F1A13;   /* tiefstes Schwarzgrün (Header/Hero-Panel/Flyer-Grund) */
  --brand-forest: #16271C;   /* dunkles Tannengrün (Sektionen) */
  --brand-forest-2:#1D3325;  /* etwas heller, für Karten auf Dunkel */
  --lime:         #A4CE39;   /* Logo-Grün — jetzt LEITFARBE */
  --lime-bright:  #B9E24B;   /* Glanz/Hover */
  --lime-ink:     #2C3A12;   /* Text auf Lime-Flächen */
  --leaf:         #4E7A1D;   /* text-taugliches Grün auf Hell */
  --lime-tint:    #F1F7E2;   /* zarte Lime-Fläche */
  --lime-tint-2:  #E7F1D0;
  --paper:        #FBFCF8;   /* warmes Off-White */
  --curve: 44% 56% 57% 43% / 43% 44% 56% 57%;  /* organische Blob-Radien */
}

/* ---------- Display-Typo (fett, condensed, Versal) + Lime-Highlight ---------- */
.display {
  font-weight: 800; font-stretch: 78%; line-height: .96;
  letter-spacing: -0.005em; text-transform: uppercase;
}
.hl { color: var(--lime); font-style: normal; }
.on-night, .on-night h1, .on-night h2, .on-night h3 { color: #fff; }

/* ---------- Marken-Label (Eyebrow neu: Blatt + Lime-Linie) ---------- */
.label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--leaf); margin-bottom: var(--space-2);
}
.label::before {
  content: ""; width: 26px; height: 12px; flex: none; background: var(--lime);
  -webkit-mask: var(--leaf-mask) center/contain no-repeat; mask: var(--leaf-mask) center/contain no-repeat;
}
.section--night .label, .hero .label { color: var(--lime); }
.section--night .label::before { background: var(--lime); }

/* ---------- Section-Grundformen ---------- */
.section--night { background: var(--brand-night); color: rgba(255,255,255,.80); position: relative; }
.section--night h2, .section--night h3 { color: #fff; }
.section--paper { background: var(--paper); }
.section--lime  { background: var(--lime); color: var(--lime-ink); }

/* Lime-„Blatt"-Button */
.btn--lime-ghost { background: transparent; border-color: var(--lime); color: var(--lime); }
.btn--lime-ghost:hover { background: var(--lime); color: var(--lime-ink); }
.btn--night { background: var(--brand-night); color: #fff; }
.btn--night:hover { background: #000; box-shadow: var(--shadow-sm); }

/* Großer runder Icon-Chip (Lime-Outline) — Marken-Icon-Sprache */
.chip-icon {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center; border: 2px solid var(--lime);
  color: var(--leaf); background: #fff;
  transition: background .2s var(--ease), color .2s var(--ease), transform .28s var(--ease);
}
.chip-icon svg { width: 30px; height: 30px; }

/* ---------- Qualitäts-Siegel (rund, wie Flyer) ---------- */
.seal {
  width: clamp(96px, 12vw, 130px); aspect-ratio: 1; border-radius: 50%;
  background: var(--brand-night); color: #fff; display: grid; place-items: center;
  text-align: center; padding: .7rem; box-shadow: 0 12px 30px rgba(15,26,19,.35);
  border: 2px solid var(--lime); position: relative;
}
.seal span { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; font-stretch: 90%; }
.seal .seal__leaf { width: 20px; height: 20px; background: var(--lime); display: block; margin: 0 auto .25rem;
  -webkit-mask: var(--leaf-mask) center/contain no-repeat; mask: var(--leaf-mask) center/contain no-repeat; }

/* =====================================================================
   HEADER — durchgängig Marken-Dunkelgrün auf der Startseite (statt transparent)
   ===================================================================== */
.site-header--overlay { background: var(--brand-night); border-bottom: 1px solid transparent; }
.site-header--overlay:not(.is-scrolled) { background: var(--brand-night); }
.site-header--overlay.is-scrolled { background: rgba(15,26,19,.94); backdrop-filter: saturate(1.1) blur(6px); box-shadow: 0 6px 24px rgba(0,0,0,.28); border-bottom-color: rgba(164,206,57,.22); }
.site-header--overlay .logo__img--dark { display: none; }
.site-header--overlay .logo__img--light { display: block; }
.site-header--overlay .nav__link { color: rgba(255,255,255,.82); font-weight: 600; }
.site-header--overlay .nav__link:hover { color: #fff; }
.site-header--overlay .nav__link.is-active { color: #fff; }
.site-header--overlay .header__call { border-color: rgba(255,255,255,.30); color: #fff; }
.site-header--overlay .header__call:hover { border-color: var(--lime); color: var(--lime); }
.site-header--overlay .burger span { background: #fff; }
/* Menü offen: Kopf bleibt dunkel (kein Weiß-Umschlag) */
body.is-menu-open .site-header--overlay { background: var(--brand-night); border-bottom-color: rgba(164,206,57,.22); }
body.is-menu-open .site-header--overlay .logo__img--dark { display: none; }
body.is-menu-open .site-header--overlay .logo__img--light { display: block; }
body.is-menu-open .site-header--overlay .burger span { background: #fff; }
body.is-menu-open .site-header--overlay .header__call { border-color: rgba(255,255,255,.30); color: #fff; }
.mobile-menu { background: var(--brand-night); }
.mobile-menu__list a { color: #fff; border-bottom-color: rgba(255,255,255,.12); }
.mobile-menu__phone { color: #fff; }
.mobile-menu__phone svg { color: var(--lime); }

/* =====================================================================
   HERO — Flyer-Echo Split: Marken-Panel (dunkel) + helles Garten-Foto
   ===================================================================== */
.hero--brand {
  position: relative; background: var(--brand-night); color: #fff; overflow: hidden;
  margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
}
.hero--brand .hero__grid { display: grid; align-items: stretch; min-height: clamp(560px, 88vh, 900px); }
.hero__panel { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(2rem, 5vw, 4rem); padding-right: clamp(1rem, 4vw, 3rem); }
/* weicher Lime-Schein im Panel (Atmosphäre, kein hartes Motiv) */
.hero__panel::before {
  content: ""; position: absolute; left: -20%; bottom: -20%; width: 70%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(circle, rgba(164,206,57,.16), rgba(164,206,57,0) 68%); pointer-events: none;
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: var(--space-3); }
.hero__eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--lime); }
.hero__title { font-size: clamp(2.5rem, 1.7rem + 4.6vw, 5rem); color: #fff; margin: 0; max-width: 15ch; }
.hero__claim { margin-top: var(--space-3); font-size: clamp(1.05rem, .95rem + .7vw, 1.5rem);
  font-weight: 700; font-stretch: 88%; letter-spacing: .01em; color: var(--lime); text-transform: none; }
.hero__lead { margin-top: var(--space-3); color: rgba(255,255,255,.82); font-size: var(--fs-base); max-width: 46ch; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--space-4); }
.hero__trust { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: rgba(255,255,255,.9); }
.hero__trust svg { width: 18px; height: 18px; color: var(--lime); flex: none; }

/* alte Split-Hero-Regeln neutralisieren (aspect-ratio/overflow/order) */
.hero--brand .hero__media { position: relative; min-height: 320px; aspect-ratio: auto; overflow: visible; border-radius: 0; box-shadow: none; order: 0; }
.hero__media-frame { position: absolute; inset: 0; overflow: hidden; }
.hero__media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* organische, dunkle Kante links (Panel greift ins Foto — wie Flyer-Blob) */
.hero__media-frame::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--brand-night) 0%, rgba(15,26,19,.5) 22%, rgba(15,26,19,0) 46%); }
.hero__seal { position: absolute; z-index: 4; right: clamp(1rem, 3vw, 2.2rem); bottom: clamp(1rem, 3vw, 2.2rem); }

@media (min-width: 900px) {
  .hero--brand .hero__grid { grid-template-columns: 1.02fr 0.98fr; }
  .hero__panel { padding-left: max(var(--container-pad), calc((100vw - var(--container)) / 2)); }
  /* organische Rundung an der Nahtstelle (Foto-Ecke rundet ins dunkle Panel) */
  .hero__media-frame { border-radius: clamp(50px, 8vw, 140px) 0 0 clamp(50px, 8vw, 140px); }
  .hero__media-frame::before { background: linear-gradient(90deg, var(--brand-night) 0%, rgba(15,26,19,.35) 30%, rgba(15,26,19,0) 60%); }
}
@media (max-width: 899px) {
  .hero--brand .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero--brand .hero__media { order: -1; min-height: 0; aspect-ratio: 16/12; }
  .hero__media-frame { border-radius: 0 0 38% 38% / 0 0 11% 11%; }
  .hero__media-frame::before { background: linear-gradient(0deg, var(--brand-night) 0%, rgba(15,26,19,.15) 40%, rgba(15,26,19,0) 70%); }
  .hero__panel { padding-inline: var(--container-pad); padding-top: var(--space-4); text-align: left; }
  .hero__panel::before { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__seal { width: 88px; right: var(--container-pad); bottom: 12px; }
}

/* =====================================================================
   LEISTUNGSWELTEN — große Symbole direkt unter dem Hero
   ===================================================================== */
.worlds { background: var(--lime); padding-block: clamp(1.6rem, 3.5vw, 2.4rem); position: relative; z-index: 3; }
.worlds__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; }
.world {
  display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center;
  padding: 1rem .5rem; border-radius: var(--radius-md); color: var(--lime-ink);
  transition: transform .28s var(--ease), background .2s ease;
}
.world:hover { transform: translateY(-4px); background: rgba(255,255,255,.35); }
.world .chip-icon { border-color: var(--brand-night); color: var(--brand-night); background: #fff; width: clamp(58px, 8vw, 72px); height: clamp(58px, 8vw, 72px); }
.world:hover .chip-icon { background: var(--brand-night); color: var(--lime); }
.world__name { font-weight: 800; font-stretch: 84%; text-transform: uppercase; letter-spacing: .04em; font-size: var(--fs-sm); line-height: 1.15; }
@media (min-width: 720px) { .worlds__inner { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   LEISTUNGEN — kräftigere Karten mit großem Marken-Icon
   ===================================================================== */
.section--alt { background: var(--lime-tint); }
.service-card { border-color: #E6EFD6; }
.service-card__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--brand-night); }
.service-card__icon svg { width: 30px; height: 30px; color: var(--lime); }
.service-card:hover { box-shadow: 0 18px 40px rgba(22,39,28,.14); border-color: var(--lime); }
.service-card h3 { font-stretch: 86%; letter-spacing: -.01em; }

/* Nummern-Akzent auf Karten */
.service-card { position: relative; overflow: hidden; }
.service-card__no { position: absolute; right: 1rem; top: .6rem; font-size: 3rem; font-weight: 800; font-stretch: 78%;
  color: var(--lime-tint-2); line-height: 1; z-index: 0; }
.service-card > * { position: relative; z-index: 1; }

/* =====================================================================
   VORTEILE — tiefes Marken-Schwarzgrün + Lime, Siegel
   ===================================================================== */
.section--forest { background: var(--brand-night); }
.benefit__num { color: var(--lime); font-stretch: 78%; font-size: 2rem; }
.benefit h3 { font-stretch: 88%; }
.section--forest .label { color: var(--lime); }

/* =====================================================================
   UNTERNEHMEN / REFERENZEN / KONTAKT — Lime-Akzente
   ===================================================================== */
.about__badge { border-left: 4px solid var(--lime); }
.value::before { background: var(--lime); }
.gallery__cap { background: linear-gradient(transparent, rgba(15,26,19,.82)); }
.contact__mail, .contact__phone:hover { color: var(--leaf); }

/* Marken-Trenner: organischer Lime-Blattschwung zwischen Sektionen (optional per Element) */
.leaf-divider { height: 0; position: relative; }
.leaf-divider::after { content: ""; position: absolute; left: 50%; top: -28px; transform: translateX(-50%);
  width: 56px; height: 56px; background: var(--lime); z-index: 2;
  -webkit-mask: var(--leaf-mask) center/contain no-repeat; mask: var(--leaf-mask) center/contain no-repeat; }

/* ---------- CTA-Band (bold, Marken-Dunkelgrün) ---------- */
.cta-band { background: var(--brand-night); }
.cta-band::after { background: linear-gradient(115deg, rgba(15,26,19,.95) 0%, rgba(15,26,19,.80) 46%, rgba(15,26,19,.40) 100%); }
.cta-band__inner { padding-block: clamp(3rem, 7vw, 5.5rem); }
.cta-band h2 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.5rem); max-width: 18ch; }
.cta-band p { margin-top: var(--space-2); font-size: var(--fs-lg); }
.cta-band .btn--primary { padding: 1.05rem 2rem; font-size: var(--fs-base); }
.cta-band__phone { font-size: var(--fs-xl); }

/* ---------- Vorteile: dezentes Blatt-Wasserzeichen ---------- */
.section--forest { position: relative; overflow: hidden; }
.section--forest > .container { position: relative; z-index: 1; }
.section--forest::before {
  content: ""; position: absolute; right: -3%; top: 50%; transform: translateY(-50%) rotate(12deg);
  width: clamp(220px, 30vw, 380px); aspect-ratio: 1; opacity: .06; z-index: 0; pointer-events: none;
  background: var(--lime); -webkit-mask: var(--leaf-mask) center/contain no-repeat; mask: var(--leaf-mask) center/contain no-repeat;
}

/* Baum-Maske für Wasserzeichen — echtes Logo-Baum-Motiv (aus logo.svg extrahiert) */
:root { --tree-mask: url("/img/brand/tree-mask.svg"); }

/* =====================================================================
   v6 — Logo als Gestaltungselement (To-Do): echter Baum als Wasserzeichen
   in Hintergründen, größere Bilder, mehr Formen.
   ===================================================================== */

/* Hero-Panel: echter Baum als dezentes Wasserzeichen unten links */
.hero__panel { background: radial-gradient(130% 85% at 0% 100%, rgba(164,206,57,.13), transparent 62%); }
.hero__panel::before {
  content: ""; position: absolute; left: -7%; bottom: -4%; width: min(74%, 540px); aspect-ratio: 791/523;
  z-index: -1; opacity: .09; background: var(--lime); pointer-events: none;
  -webkit-mask: var(--tree-mask) left bottom/contain no-repeat; mask: var(--tree-mask) left bottom/contain no-repeat;
}

/* Vorteile: großer Baum statt Blatt */
.section--forest::before {
  width: clamp(260px, 34vw, 460px); aspect-ratio: 791/523; opacity: .07; transform: translateY(-50%) rotate(0deg);
  -webkit-mask: var(--tree-mask) center/contain no-repeat; mask: var(--tree-mask) center/contain no-repeat;
}

/* CTA-Band: Baum-Wasserzeichen */
.cta-band .container { position: relative; }
.cta-band__inner { position: relative; }
.cta-band__inner::before {
  content: ""; position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  width: clamp(200px, 26vw, 360px); aspect-ratio: 791/523; opacity: .10; z-index: 0; pointer-events: none;
  background: var(--lime); -webkit-mask: var(--tree-mask) center/contain no-repeat; mask: var(--tree-mask) center/contain no-repeat;
}
.cta-band__text, .cta-band__actions { position: relative; z-index: 1; }

/* Footer: Baum-Wasserzeichen rechts */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; right: -3%; bottom: -12%; width: clamp(220px, 26vw, 380px); aspect-ratio: 791/523;
  opacity: .05; z-index: 0; pointer-events: none; background: var(--lime);
  -webkit-mask: var(--tree-mask) center/contain no-repeat; mask: var(--tree-mask) center/contain no-repeat;
}
.site-footer .container { position: relative; z-index: 1; }

/* Leistungswelten-Band: Baum-Wasserzeichen (Logo-Form in Fläche) */
.worlds { position: relative; overflow: hidden; }
.worlds::before {
  content: ""; position: absolute; left: -30px; top: 50%; transform: translateY(-50%);
  width: 200px; aspect-ratio: 791/523; opacity: .10; z-index: 0; pointer-events: none; background: var(--brand-night);
  -webkit-mask: var(--tree-mask) center/contain no-repeat; mask: var(--tree-mask) center/contain no-repeat;
}
.worlds .container { position: relative; z-index: 1; }

/* ---------- Bilder GRÖSSER (To-Do #3) ---------- */
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 1.5rem; }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item--feature { grid-column: span 2; grid-row: span 2; }
  /* Unternehmen: Portrait größer + prominenter */
  .about__inner { grid-template-columns: 6fr 6fr; gap: var(--space-6); }
  .about__media img { aspect-ratio: 4/5; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .gallery { grid-auto-rows: 260px; }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item--feature { grid-column: span 2; grid-row: span 2; }
}

/* Unternehmen: Badge etwas kräftiger auf dem Portrait */
.about__badge { box-shadow: var(--shadow-md); }

/* CTA-Band auf Mobile: langer Button darf umbrechen / volle Breite (kein Overflow) */
@media (max-width: 639px) {
  .cta-band__actions { width: 100%; align-items: stretch; }
  .cta-band .btn--primary { white-space: normal; width: 100%; line-height: 1.25; }
  .cta-band__phone { justify-content: center; }
}

/* =====================================================================
   v7 — PREMIUM-FEINSCHLIFF  (weniger neon, wärmer, natürlicher, weniger „gebaut")
   Ziele: Lime nur als Akzent statt großflächig-neon · warme Creme-Neutrale ·
   weichere Schatten/Typo · dezentere, saubere Icons · natürlichere Fotos ·
   Safari-sichere Wasserzeichen (echtes <img> statt CSS-Maske).
   ===================================================================== */
:root {
  --paper:   #F7F6F0;   /* warme Creme (ersetzt grünstichiges Lime-Tint) */
  --paper-2: #EFEEE5;
  --sage:    #EAF0DB;   /* zarter, entsättigter Grün-Ton für kleine Flächen */
  --lime-deep: #86B22E; /* satteres, weniger neon Grün für Flächen/Hover */
  /* weichere, diffusere Schatten */
  --shadow-sm: 0 1px 2px rgba(22,39,28,.04), 0 10px 26px -10px rgba(22,39,28,.10);
  --shadow-md: 0 2px 6px rgba(22,39,28,.05), 0 34px 60px -22px rgba(22,39,28,.16);
}
body { background: var(--paper); color: #33403A; }

/* --- Warme Creme statt Lime-Tint für helle Sektionen --- */
.section--alt { background: var(--paper); }
.service-card { background: #fff; border-color: #ECEBE1; }
.map-consent { background: linear-gradient(135deg, var(--sage), #E3ECCF); border-color: rgba(78,122,29,.28); }
.form-success__icon { background: var(--sage); }

/* --- Typografie entschärfen: weniger „condensed-Plakat", ruhiger --- */
.display { font-stretch: 90%; letter-spacing: -0.005em; }
.hero__title { font-size: clamp(2.3rem, 1.7rem + 3.4vw, 4.3rem); letter-spacing: -0.01em; }
.hero__claim { font-stretch: 100%; font-weight: 650; letter-spacing: 0; }
.service-card h3 { font-stretch: 92%; }
.benefit h3 { font-stretch: 94%; }
.cta-band h2 { font-stretch: 92%; }

/* --- Fotos natürlicher (Sättigung leicht zurück) --- */
.gallery__item img, .cta-band__bg img, .about__media img { filter: saturate(.9) contrast(.99); }

/* =====================================================================
   Leistungswelten — kein neon-Slab mehr: zarte Sage-Fläche, saubere Icon-Kreise
   ===================================================================== */
.worlds { background: var(--sage); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.worlds::before { content: none !important; }               /* Masken-Baum raus */
.world:hover { transform: translateY(-3px); background: rgba(255,255,255,.5); }
.world .chip-icon {
  width: clamp(58px, 8vw, 70px); height: clamp(58px, 8vw, 70px);
  border: 1.5px solid rgba(78,122,29,.5); color: var(--leaf); background: #fff;
  box-shadow: var(--shadow-sm);
}
.world:hover .chip-icon { background: var(--brand-night); color: var(--lime); border-color: var(--brand-night); }
.world__name {
  text-transform: none; font-weight: 650; font-stretch: 100%; letter-spacing: 0;
  font-size: var(--fs-sm); color: var(--color-ink);
}

/* =====================================================================
   Leistungen — leichtere, elegantere Icon-Kachel (kein schweres schwarzes Quadrat)
   ===================================================================== */
.service-card__icon {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--sage); color: var(--leaf); box-shadow: none;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.service-card__icon svg { width: 27px; height: 27px; color: currentColor; }
.service-card:hover .service-card__icon { background: var(--brand-night); color: var(--lime); }
.service-card:hover { box-shadow: var(--shadow-md); border-color: #E1E7D2; transform: translateY(-3px); }
.service-card__no { color: #EDEFE4; }

/* =====================================================================
   Wasserzeichen als echtes <img> (Safari-sicher) — nur Hero + Footer, dezent
   ===================================================================== */
.hero__panel::before { content: none; }                     /* alte Masken-Version aus */
.section--forest::before { content: none !important; }      /* Vorteile-Baum raus (weniger „gebaut") */
.cta-band__inner::before { content: none !important; }
.site-footer::before { content: none !important; }

.wm-tree { position: absolute; z-index: 0; pointer-events: none; user-select: none; height: auto; }
.hero__panel > :not(.wm-tree) { position: relative; z-index: 1; }
.wm-tree--hero { left: -3%; bottom: -2%; width: min(50%, 400px); opacity: .07; }
.site-footer { position: relative; overflow: hidden; }
.site-footer .container { position: relative; z-index: 1; }
.wm-tree--footer { right: -2%; bottom: -14%; width: min(40%, 320px); opacity: .06; }
@media (max-width: 899px) { .wm-tree--hero { display: none; } }

/* =====================================================================
   Safari/robustheit + Detailpolish
   ===================================================================== */
.site-header--overlay.is-scrolled { -webkit-backdrop-filter: saturate(1.1) blur(6px); backdrop-filter: saturate(1.1) blur(6px); }
/* Primär-Button: satteres Grün (weniger neon), ruhigerer Hover */
.btn--primary { background: var(--lime); }
.btn--primary:hover { background: var(--lime-deep); }
/* Buttons/Labels weniger „gesperrt" (natürlicher) */
.btn { letter-spacing: 0.04em; font-stretch: 100%; }
.label { letter-spacing: .1em; }
/* Karten/Formular: hairline statt harter Rand */
.form-card { border-color: #ECEBE1; box-shadow: var(--shadow-sm); }
.about__badge { box-shadow: var(--shadow-md); border-left-color: var(--lime); }
/* Sektions-Rhythmus: etwas mehr Luft auf Desktop */
@media (min-width: 900px) { .section { padding-block: clamp(4rem, 7vw, 6rem); } }

/* =====================================================================
   HERO — Film: Video vollflächig im Hintergrund, Text mittig
   Loest den Split-Hero (.hero--brand) auf der Startseite ab. Das Foto
   liegt unter dem Video und traegt den Hero, solange kein Video gesetzt
   ist. Der Einleitungstext wurde auf eine Zeile gekuerzt – im Split
   stand er dreizeilig neben dem Foto und drueckte die Buttons nach unten.
   ===================================================================== */
.hero--film {
  position: relative; overflow: hidden; isolation: isolate;
  /* svh statt vh: auf dem Handy rechnet das die Adressleiste ein. */
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
  background: var(--brand-night); color: #fff; text-align: center;
}
.hero__film { position: absolute; inset: 0; z-index: -2; }
.hero__film img,
.hero__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Drei Lagen: ein weicher Kreis traegt den Text in der Mitte, der senkrechte
   Verlauf dunkelt Kopfzeile und Fuss ab. Ohne den Kreis stand die Lime-Zeile
   auf hellem Laub – gemessen unter 3:1 und damit unlesbar. */
.hero--film::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(115% 78% at 50% 48%, rgba(15,26,19,.62) 0%, rgba(15,26,19,.34) 52%, rgba(15,26,19,0) 100%),
    linear-gradient(180deg, rgba(15,26,19,.74) 0%, rgba(15,26,19,.30) 30%,
                            rgba(15,26,19,.42) 64%, rgba(15,26,19,.86) 100%);
}
.hero__inhalt {
  display: flex; flex-direction: column; align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
/* Mittig gesetzt braucht die Eyebrow den Strich auf beiden Seiten –
   einseitig wirkt die Zeile sonst nach links verrutscht. */
.hero--film .hero__eyebrow { margin-inline: auto; }
.hero--film .hero__eyebrow::after {
  content: ""; width: 30px; height: 2px; background: var(--lime);
}
/* balance verteilt die Zeilen gleichmaessig – ohne das stand der Lead als
   lange Zeile plus "aus einer Hand." als Waise darunter. */
.hero--film .hero__title { max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.hero--film .hero__lead { max-width: 46ch; margin-inline: auto; color: rgba(255,255,255,.88); text-wrap: balance; }
.hero--film .hero__cta { justify-content: center; }
.hero--film .hero__trust { justify-content: center; gap: .75rem 1.75rem; }

@media (max-width: 639px) {
  /* Volle Hoehe nur, wenn der Inhalt sie auch fuellt – sonst steht der
     Text auf dem Handy in einem zu grossen leeren Feld. */
  .hero--film { min-height: 0; }
  .hero__inhalt { padding-block: clamp(4.5rem, 22vw, 7rem) clamp(3rem, 12vw, 4.5rem); }
  .hero--film .hero__cta { width: 100%; }
  .hero--film .hero__cta .btn { flex: 1 1 100%; }
  .hero--film .hero__trust { gap: .6rem 1.25rem; }
  /* Die Eyebrow bricht auf zwei Zeilen; die Striche haengen dann schief
     neben der zweiten Zeile. Auf dem Handy traegt die Zeile allein. */
  .hero--film .hero__eyebrow { display: block; letter-spacing: .12em; }
  .hero--film .hero__eyebrow::before,
  .hero--film .hero__eyebrow::after { display: none; }
}

/* Wer Bewegung abbestellt hat, bekommt das Standbild. */
@media (prefers-reduced-motion: reduce) {
  .hero__film video { display: none; }
}

/* =====================================================================
   RUNDE 2 — Kunden-Feedback (Header, Symbole, Wasserzeichen, Galerie)
   Reine Overrides am Dateiende, damit der bestehende Cascade gewinnt.
   ===================================================================== */

/* --- Header: volle Breite, größeres Logo, größeres/verteiltes Menü --- */
:root { --header-h: 108px; }
@media (max-width: 899px) { :root { --header-h: 74px; } }

.site-header .site-header__inner { max-width: none; padding-inline: clamp(1rem, 3.5vw, 3rem); gap: clamp(1rem, 3vw, 2.5rem); }
.logo__img { height: 52px; }                                   /* Basis/Mobil, etwas größer */
.site-footer .logo__img { height: 60px; }
@media (min-width: 900px) {
  .logo__img { height: clamp(74px, 6vw, 96px); }               /* Desktop ~2× */
  .nav { display: block; flex: 1 1 auto; }
  .nav__list { justify-content: space-evenly; width: 100%; gap: clamp(1.25rem, 3vw, 3rem); }
  .nav__link { font-size: clamp(1.02rem, .9rem + .5vw, 1.2rem); font-weight: 600; }
}

/* --- Leistungswelten (Chips): größer + Icon im Logo-Grün (Lime) --- */
.world .chip-icon { width: clamp(92px, 10.5vw, 120px); height: clamp(92px, 10.5vw, 120px);
  color: var(--lime); border-color: var(--lime); }
.world .chip-icon svg { width: 52px; height: 52px; }
.world:hover .chip-icon { background: var(--brand-night); color: var(--lime); border-color: var(--brand-night); }
.world__name { font-size: var(--fs-base); }

/* --- Leistungskarten: Icons größer --- */
.service-card__icon { width: 76px; height: 76px; border-radius: 18px; }
.service-card__icon svg { width: 40px; height: 40px; }

/* --- Referenzen: Bilder über die komplette Breite (Full-Bleed) --- */
#referenzen .gallery {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

/* Sektions-Wasserzeichen (Leistungen/Unternehmen/Kontakt) auf Kundenwunsch entfernt.
   Der Baum bleibt nur noch im Footer. */

/* Footer-Wasserzeichen (lime auf dunkel): kompletter Baum. Höhe RELATIV zum
   Footer + vertikal zentriert -> passt immer vollständig hinein (Footer ist flach). */
.wm-tree--footer {
  right: 3%; left: auto; top: 50%; bottom: auto; transform: translateY(-50%);
  height: min(80%, 300px); width: auto; opacity: .16;
}
/* Handy: Footer wird hoch (Spalten stapeln). Höhe-basiertes Sizing macht den
   Baum breiter als der Screen -> rechts angeschlagen wird er links beschnitten
   und wirkt „schief". Daher zentriert + über die BREITE skaliert (passt ganz
   hinein, bleibt symmetrisch). */
@media (max-width: 899px) {
  .wm-tree--footer {
    left: 50%; right: auto; top: 50%;
    transform: translate(-50%, -50%);
    width: min(92%, 460px); height: auto;
    opacity: .14;
  }
}

/* --- Blatt-Aufzählungen: echtes Logo-Blatt, etwas größer --- */
.leaf-list li { padding-left: 1.95rem; }
.leaf-list li::before { width: 1.25rem; height: 1.25rem; top: .1em; }

/* --- Hero-Foto: sanfter Ken-Burns-Zoom (wirkt wie Video, ohne Videodatei) --- */
.hero__film img { animation: heroKenBurns 26s ease-in-out infinite alternate; transform-origin: 50% 58%; will-change: transform; }
@keyframes heroKenBurns { from { transform: scale(1.03); } to { transform: scale(1.13); } }
@media (prefers-reduced-motion: reduce) { .hero__film img { animation: none; } }

/* =====================================================================
   RUNDE 3 — Kunden-Feedback
   (1) Social-Links  (2) Kreise navigieren zur EINZELNEN Leistung
   (3) Leistungskarten als Akkordeon mit Themenbild im Hintergrund
   Reine Overrides am Dateiende, damit der bestehende Cascade gewinnt.
   ===================================================================== */

/* --- (1) Social-Links: Kontaktblock hell, Footer dunkel --- */
.socials { margin-top: var(--space-2); }
.social-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.socials--footer { margin-top: var(--space-3); }
.site-footer .social-link {
  border-color: rgba(255,255,255,.26); color: rgba(255,255,255,.82);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.site-footer .social-link:hover { border-color: var(--lime); color: var(--lime); background: rgba(255,255,255,.06); }

/* --- (2) Kreise: klickbarer Zustand sichtbarer machen --- */
.world { cursor: pointer; }
.world:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; }
.world.is-current .chip-icon { background: var(--brand-night); color: var(--lime); border-color: var(--brand-night); }

/* Anker sitzt auf der Karte: unter dem Overlay-Header freihalten. */
.service-card { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* --- (3a) Themenbild IN der Karte, ganz oben im aufgeklappten Bereich --- */
.service-card__photo {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  margin-top: var(--space-3); border-radius: var(--radius-sm);
  background: var(--sage); filter: saturate(.92);
}

/* --- (3b) Karte: Kopfbereich ist der Schalter --- */
.services { align-items: start; }
@media (min-width: 640px) { .services { grid-auto-rows: auto; } }

.service-card__head { position: relative; }
.service-card__title { margin: 0 0 .4rem; }
.service-card__btn {
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
/* Ganze Kopfzeile trifft — der Kunde klickt die Kachel, nicht ein Wort. */
.service-card__btn::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.service-card__btn:focus-visible { outline: none; }
.service-card__head:has(.service-card__btn:focus-visible) { outline: 2px solid var(--leaf); outline-offset: 8px; border-radius: 10px; }

.service-card__chev {
  position: absolute; right: 0; top: .2rem; width: 34px; height: 34px; border-radius: 50%;
  display: none; place-items: center; color: var(--leaf); background: var(--sage);
  transition: transform .35s var(--ease), background .25s ease, color .25s ease;
}
.service-card__chev svg { width: 18px; height: 18px; }
.services.is-accordion .service-card__chev { display: grid; }
.services.is-accordion .service-card__head { padding-right: 44px; }
.service-card.is-open .service-card__chev { transform: rotate(180deg); background: var(--brand-night); color: var(--lime); }

/* Ohne JS bleiben alle Panels offen (nichts geht verloren). */
.service-card__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .42s var(--ease); }
.service-card__panel-in { overflow: hidden; min-height: 0; }
.services.is-accordion .service-card__panel { grid-template-rows: 0fr; }
.services.is-accordion .service-card.is-open .service-card__panel { grid-template-rows: 1fr; }

.service-card__more { margin-top: var(--space-2); font-size: var(--fs-base); color: var(--color-text); }
.service-card__panel-in > .service-card__more:first-child {
  padding-top: var(--space-2); border-top: 1px solid #ECEBE1;
}
.service-card__panel-in .leaf-list { margin-top: var(--space-2); }

/* Inhalt fährt leicht nach — sonst „springt" der Text nur auf. */
.services.is-accordion .service-card__panel-in > * {
  opacity: 0; transform: translateY(8px);
  transition: opacity .34s var(--ease) .08s, transform .34s var(--ease) .08s;
}
.services.is-accordion .service-card.is-open .service-card__panel-in > * { opacity: 1; transform: none; }

/* Offene Karte hebt sich ab (Kunde sieht, welcher Bereich gerade läuft). */
.services.is-accordion .service-card.is-open { border-color: var(--lime); box-shadow: var(--shadow-md); }
.services.is-accordion .service-card.is-open .service-card__icon { background: var(--brand-night); color: var(--lime); }

/* Sprung aus den Kreisen: Endzustand sofort, damit der Anker richtig trifft. */
.services.is-instant .service-card__panel,
.services.is-instant .service-card__panel-in > *,
.services.is-instant .service-card__chev { transition: none !important; }

@media (min-width: 900px) {
  .service-card__panel-in .leaf-list { grid-template-columns: 1fr 1fr; column-gap: var(--space-3); }
}
@media (prefers-reduced-motion: reduce) {
  .service-card__panel,
  .service-card__panel-in > *,
  .service-card__chev { transition: none !important; }
}

/* Zugeklappt sind alle vier Kacheln gleich gross: main.js misst den hoechsten
   Kopf und setzt daraus eine Mindesthoehe fuer die KARTE. Aufgeklappt waechst
   nur die eine Karte nach unten — die Nachbarin bleibt auf Grundhoehe. */
.services.is-accordion .service-card { min-height: var(--svc-card-h, auto); }
/* Der Abstand nach unten kommt vom Foto bzw. vom Karten-Innenabstand — die
   alte margin-bottom stand sonst zusaetzlich unter dem Text und machte den
   Innenabstand unten sichtbar groesser als oben. */
.services.is-accordion .service-card__desc { margin-bottom: 0; }

/* Galerie: das Feature-Bild belegt 2x2 Zellen. Bleibt danach eine ungerade
   Zahl Bilder uebrig, stuende das letzte allein in der Schlusszeile — es
   fuellt die Reihe dann selbst aus. Zaehlt sich selbst, gilt also fuer jede
   Bildanzahl (aktuell 12). */
@media (min-width: 640px) and (max-width: 899px) {
  .gallery__item:last-child:nth-of-type(even) { grid-column: span 2; }
}
