/* =========================================================
   BAUMSCHNEIDER — styles.css  (Version 2.0 „Stammscheibe“)
   Ein zentrales Stylesheet für die gesamte Website.
   Mobile-first. Farben, Schrift und Abstände: Abschnitt 1.
   ========================================================= */

/* ---------- 0. Schrift (lokal eingebunden, keine externen Server) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  /* Zeilenmaße fest vorgeben: Windows, macOS, iOS und Android berechnen die Zeilenhöhe
     sonst teils unterschiedlich (Windows-Werte der Datei: 1100/410) – so schneidet nichts ab */
  ascent-override: 87.8%;
  descent-override: 21%;
  line-gap-override: 0%;
}

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Farbpalette: 06 „Analog Forest“ (Analog Green · Olive Signal · Faded Khaki · Manual Cream · Warm Shadow)
     Gesicherte Paletten: design/farbpaletten/ – Block austauschen genügt. */
  --hero-ground: #15170e;    /* Hero bleibt schwarz (Kundenwunsch) */
  --rinde: #3a2f2f;          /* Warm Shadow: alle übrigen dunklen Flächen (Kopfzeile, Menü, Footer, Buttons) */
  --rinde-2: #463939;        /* erhöhte dunkle Fläche */
  --rinde-3: #514343;
  --brand: #c2b280;          /* Faded Khaki: Jahresringe auf dunklem Grund */
  --field: #2b3a24;          /* Analog Green: vollflächige Farbfläche („Warum“, Qualifikationen) */
  --on-field: #f0ead2;
  --on-field-muted: #ddd6bc;
  --ring-field: #6b8e23;     /* Olive Signal: Jahresringe auf der grünen Fläche */
  --ring-light: #6b8e23;     /* Olive Signal: Jahresringe auf hellem Grund */
  --ring-splint: #2b3a24;    /* Analog Green: Jahresringe auf der Khaki-Fläche */
  --photo-field: #3d5130;    /* Platzhalter hinter Fotos auf der Farbfläche */
  --accent-ink: #55721a;     /* Olive Signal, abgedunkelt: Akzent auf hellem Grund (≥ 4.5:1 auf Cream) */
  --accent-soft: #c2b280;    /* Faded Khaki: Nebenakzent auf dunklem Grund */
  --flechte: #f0ead2;        /* Manual Cream: heller Lesegrund */
  --flechte-2: #f7f3e4;      /* helle Fläche, Formulare */
  --surface: #fffdf6;        /* Eingabefelder */
  --splint: #c2b280;         /* Faded Khaki: Hauptaktion, aktive Links, Besichtigungs-Fläche */
  --splint-hover: #d6c99d;
  --on-splint: #3a2f2f;      /* Warm Shadow auf Khaki */
  --accent-hero: #6b8e23;    /* Olive Signal: „BAUM“ in den großen Überschriften */
  --accent-glove: #da6c1d;   /* Orange der Handschuhe im Startseiten-Foto: Punkte + Laufschrift im Startseiten-Hero */
  --accent-sky: #7cb5d6;     /* Himmelblau aus dem Startseiten-Foto: „BAUM“ auf Seiten mit blauem Himmel im Hero */

  --ink: #3a2f2f;            /* Warm Shadow: Text auf hell */
  --ink-muted: #5e5352;      /* Sekundärtext auf hell */
  --on-dark: #f0ead2;        /* Manual Cream: Text auf dunkel */
  --on-dark-muted: #cfc6a8;  /* Sekundärtext auf dunkel */

  --success: #2b3a24;
  --error: #a5432a;
  --error-ink: #6e2a17;

  --line-light: color-mix(in srgb, var(--ink) 14%, transparent);
  --line-dark: color-mix(in srgb, var(--on-dark) 14%, transparent);

  /* Typografie */
  --font: "Archivo", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --fs-2xl: clamp(2rem, 1.55rem + 2.1vw, 3.5rem);
  --fs-3xl: clamp(2.6rem, 1.6rem + 4.6vw, 5.5rem);

  /* Abstände (4er-Raster) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --section: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem);

  /* Layout */
  --wrap: 1360px;
  --gutter: clamp(1.125rem, 0.6rem + 2.6vw, 3rem);
  --header-h: 68px;
  --bar-h: 0px;
  --radius: 6px;
  --radius-lg: 14px;
  --pill: 999px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (min-width: 1080px) {
  :root { --header-h: 84px; }
}

/* Platz für die mobile Aktionsleiste am unteren Rand */
@media (max-width: 1079.98px) {
  :root { --bar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 2. Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--rinde);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-stretch: 100%;
  line-height: 1.6;
  color: var(--ink);
  background: var(--flechte);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--bar-h);
}

picture { display: contents; }   /* WebP-Hülle beeinflusst das Layout nicht */
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--splint); color: var(--on-splint); }

/* Fokus: immer sichtbar für Tastaturbedienung */
:focus-visible {
  outline: 2px solid var(--focus, var(--accent-ink));
  outline-offset: 3px;
  border-radius: 4px;
}
.is-dark, .site-header, .site-footer, .menu, .mobile-bar { --focus: var(--splint); }

a, button, [role="button"], label { touch-action: manipulation; }
.btn, .menu-toggle, .mobile-bar a { -webkit-user-select: none; user-select: none; }

/* Scrollbar im Markenton */
html { scrollbar-color: var(--brand) var(--rinde); scrollbar-width: thin; }

.skip-link {
  position: fixed;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 2000;
  padding: var(--s-3) var(--s-4);
  background: var(--splint);
  color: var(--on-splint);
  font-weight: 700;
  border-radius: var(--pill);
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
/* Drehende Ringe dürfen seitlich nie über den Bildschirm ragen (sonst lässt sich die Seite auf dem Handy seitlich verschieben).
   „clip“ statt „hidden“: schneidet nur ab, Sticky-Elemente funktionieren weiter. */
main > section { overflow-x: clip; }
.section--tight { padding-block: calc(var(--section) * 0.7); }

.is-light { background: var(--flechte); color: var(--ink); }
.is-dark { background: var(--rinde); color: var(--on-dark); }
.is-field { background: var(--field); color: var(--on-field); --focus: var(--on-field); }
.is-splint { background: var(--splint); color: var(--on-splint); --focus: var(--on-splint); }

/* ---------- 4. Typografie ---------- */
.display {
  font-size: var(--fs-3xl);
  font-weight: 800;
  font-stretch: 72%;
  line-height: 0.92;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.heading {
  font-size: var(--fs-2xl);
  font-weight: 760;
  font-stretch: 78%;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: var(--fs-xl);
  font-weight: 720;
  font-stretch: 82%;
  line-height: 1.12;
}

.accent { color: var(--accent-hero, var(--splint)); }
.hero__title--sky .accent { color: var(--accent-sky); }
.hero--home .checks svg { color: var(--accent-glove); }
.hero--home .cut__ringtext text { fill: var(--accent-glove); }
.is-light .accent { color: var(--accent-ink); }

.lede {
  font-size: var(--fs-lg);
  line-height: 1.55;
  max-width: 58ch;
}

.prose { max-width: 66ch; }
.prose > p + p { margin-top: 1em; }
.muted { color: var(--ink-muted); }
.is-dark .muted { color: var(--on-dark-muted); }
.is-field .muted { color: var(--on-field-muted); }

/* Plattenkopf: Haarlinie mit Beschriftung (statt Dachzeile) */
.plate {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-6);
}
.plate::before {
  content: "";
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  box-shadow: inset 0 0 0 3px var(--plate-bg, var(--flechte)), inset 0 0 0 4.5px currentColor;
}
.plate::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: left center;
}
.is-dark .plate { color: var(--on-dark-muted); --plate-bg: var(--rinde); }
.is-field .plate { color: var(--on-field-muted); --plate-bg: var(--field); }
.is-splint .plate { color: var(--on-splint); --plate-bg: var(--splint); }
/* Abschnitts-Beschriftung (Ring, Wort, Linie) im Handschuh-Orange der Startseite.
   Gleicher Farbton, je Hintergrund in der Helligkeit angepasst, damit die kleine Schrift lesbar bleibt (≥ 4.5:1). */
.plate { color: #a84e14; }                                   /* auf Creme */
.is-dark .plate { color: var(--accent-glove); }              /* auf Schwarz / Warm Shadow */
.is-field .plate, .feature .plate { color: #ee8c45; }        /* auf Analog Green */
.plate--foot {
  margin: var(--s-8) 0 0;
  grid-column: 1 / -1;
}
.plate--foot::after { order: -1; }
.plate--foot::before { order: 0; }
.plate--foot span { order: 1; }
.hero .plate--foot { margin-top: var(--s-6); }
.hero .plate--foot::after { max-width: 4rem; }

/* ---------- 5. Buttons & Links ---------- */
.btn {
  --btn-bg: var(--rinde);
  --btn-fg: var(--on-dark);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 680;
  font-size: var(--fs-base);
  font-stretch: 92%;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-align: center;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }

.btn--splint { --btn-bg: var(--splint); --btn-fg: var(--on-splint); }
.btn--light { --btn-bg: var(--flechte-2); --btn-fg: var(--rinde); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--block { width: 100%; }

.btn__arrow, .btn__ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform 220ms var(--ease-out);
}
.btn__ico { width: 1.1em; height: 1.1em; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--rinde) 55%, transparent); }
  .btn--splint:hover { --btn-bg: var(--splint-hover); }
  .btn--ghost:hover { --btn-bg: color-mix(in srgb, var(--on-dark) 8%, transparent); box-shadow: inset 0 0 0 1.5px currentColor; }
  .is-light .btn--ghost:hover { --btn-bg: color-mix(in srgb, var(--ink) 5%, transparent); }
  .btn:not(.btn--splint):not(.btn--ghost):not(.btn--light):hover { --btn-bg: var(--accent-ink); }
  .btn--light:hover { --btn-bg: var(--surface); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}

.link {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
}

/* Icons aus der Icons8-Sammlung, per Maske in der jeweiligen Textfarbe */
.nowrap { white-space: nowrap; }
.ico-svg { width: 1.35rem; height: 1.35rem; flex: none; }
.mobile-bar .ico-svg { width: 1.3rem; height: 1.3rem; color: var(--accent-soft); }

.ico {
  display: inline-block;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  background-color: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}

/* Icon-Zuordnung (Icons8), Pfade relativ zu diesem Stylesheet */
.i-adresse-60 { --i: url("../assets/icons-icons8/icons8-adresse-60.png"); }
.i-baumfaellung-80 { --i: url("../assets/icons-icons8/icons8-baumfaellung-80.png"); }
.i-baumkontrolle-80 { --i: url("../assets/icons-icons8/icons8-baumkontrolle-80.png"); }
.i-baumpflege-80 { --i: url("../assets/icons-icons8/icons8-baumpflege-80.png"); }
.i-begutachtung-80 { --i: url("../assets/icons-icons8/icons8-begutachtung-80.png"); }
.i-dokumentation-80 { --i: url("../assets/icons-icons8/icons8-dokumentation-80.png"); }
.i-eichenprozessionsspinner-80 { --i: url("../assets/icons-icons8/icons8-eichenprozessionsspinner-80.png"); }
.i-einkuerzen-80 { --i: url("../assets/icons-icons8/icons8-einkuerzen-80.png"); }
.i-einzugsgebiet-60 { --i: url("../assets/icons-icons8/icons8-einzugsgebiet-60.png"); }
.i-engem-raum-80 { --i: url("../assets/icons-icons8/icons8-engem-raum-80.png"); }
.i-entfernung-80 { --i: url("../assets/icons-icons8/icons8-entfernung-80.png"); }
.i-entsorgung-80 { --i: url("../assets/icons-icons8/icons8-entsorgung-80.png"); }
.i-entsorgung-muell80 { --i: url("../assets/icons-icons8/icons8-entsorgung-muell80.png"); }
.i-kronenpflege-80 { --i: url("../assets/icons-icons8/icons8-kronenpflege-80.png"); }
.i-kronensicherung-80 { --i: url("../assets/icons-icons8/icons8-kronensicherung-80.png"); }
.i-massnahmen-80 { --i: url("../assets/icons-icons8/icons8-massnahmen-80.png"); }
.i-rigging-80 { --i: url("../assets/icons-icons8/icons8-rigging-80.png"); }
.i-schadmerkmale-80 { --i: url("../assets/icons-icons8/icons8-schadmerkmale-80.png"); }
.i-schutz-80 { --i: url("../assets/icons-icons8/icons8-schutz-80.png"); }
.i-seilklettertechnik-80 { --i: url("../assets/icons-icons8/icons8-seilklettertechnik-80.png"); }
.i-social-kontakaufnahmen-60 { --i: url("../assets/icons-icons8/icons8-social-kontakaufnahmen-60.png"); }
.i-stand-und-bruch-80 { --i: url("../assets/icons-icons8/icons8-stand-und-bruch-80.png"); }
.i-stern-80 { --i: url("../assets/icons-icons8/icons8-stern-80.png"); }
.i-telefon-60 { --i: url("../assets/icons-icons8/icons8-telefon-60.png"); }
.i-totholz-80 { --i: url("../assets/icons-icons8/icons8-totholz-80.png"); }
.i-umfeld-80 { --i: url("../assets/icons-icons8/icons8-umfeld-80.png"); }
.i-vitalitaet-80 { --i: url("../assets/icons-icons8/icons8-vitalitaet-80.png"); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  color: var(--on-dark);
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform 380ms var(--ease-drawer), background-color 260ms ease, box-shadow 260ms ease;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line-dark);
  opacity: 0;
  transition: opacity 260ms ease;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--rinde) 92%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.site-header.is-solid::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { transform: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header::after { opacity: 0; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  min-height: 44px;
}
.brand__mark { width: 44px; height: 44px; }
.brand__word { width: 150px; height: auto; }
@media (min-width: 1080px) {
  .brand__mark { width: 54px; height: 54px; }
  .brand__word { width: 176px; }
}
@media (max-width: 359.98px) {
  .brand__word { width: 124px; }
}

.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: block; }
}
.nav__list { display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.75rem); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 44px;
  padding-inline: 0.35rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  color: var(--on-dark);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 8px;
  height: 1.5px;
  background: var(--splint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms var(--ease-out);
}
.nav__link[aria-current="page"]::after,
.nav__item--drop.is-current > .nav__link::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover::after { transform: scaleX(1); }
}
.nav__caret { width: 0.8em; height: 0.8em; transition: transform 220ms var(--ease-out); }

.nav__item--drop { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: min(440px, 80vw);
  padding: 0.5rem;
  background: var(--splint);
  color: var(--on-splint);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--rinde) 60%, transparent), 0 2px 6px color-mix(in srgb, var(--rinde) 15%, transparent);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px) scale(0.97);
  transform-origin: 50% 0;
  transition: opacity 180ms ease, transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item--drop:hover .dropdown,
.nav__item--drop:focus-within .dropdown,
.nav__item--drop.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 180ms ease, transform 260ms var(--ease-out), visibility 0s;
}
.nav__item--drop:hover .nav__caret,
.nav__item--drop:focus-within .nav__caret { transform: rotate(180deg); }

.dropdown__link {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-weight: 650;
  font-stretch: 90%;
  font-size: var(--fs-base);
  transition: background-color 160ms ease, color 160ms ease;
}
.dropdown__link .ico {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border-radius: 50%;
  background-color: var(--field);
  -webkit-mask: none;
  mask: none;
  position: relative;
  transition: background-color 160ms ease;
}
.dropdown__link .ico::after {
  content: "";
  position: absolute;
  inset: 0.65rem;
  background: var(--on-field);
  transition: background-color 160ms ease;
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
/* Menü in Faded Khaki. Überfahren: Zeile Analog Green, Symbolkreis Olive Signal; aktuelle Seite hell hinterlegt */
.dropdown__link[aria-current="page"] { background: var(--splint-hover); }
.dropdown__link:focus-visible { background: var(--field); }
.dropdown__link:focus-visible .ico { background-color: var(--ring-light); }
.dropdown__link:focus-visible .ico::after { background: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .dropdown__link:hover { background: var(--field); color: var(--on-dark); }
  .dropdown__link:hover .ico { background-color: var(--ring-light); }
  .dropdown__link:hover .ico::after { background: var(--on-dark); }
}

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 650;
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
}
.header-phone .ico { width: 1.15rem; height: 1.15rem; color: var(--accent-soft); }
.header-cta { display: none; min-height: 44px; padding: 0.6rem 1.15rem; font-size: var(--fs-sm); }
@media (min-width: 720px) {
  .header-phone { display: inline-flex; }
}
@media (min-width: 1080px) {
  .header-cta { display: inline-flex; }
}
@media (hover: hover) and (pointer: fine) {
  .header-phone:hover { color: var(--splint); }
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.35rem 0 0.9rem;
  border-radius: var(--pill);
  font-weight: 650;
  font-size: var(--fs-sm);
  z-index: 2;
}
.menu-toggle__label { display: none; }
@media (min-width: 400px) {
  .menu-toggle__label { display: inline; }
}
.menu-toggle__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-dark), inset 0 0 0 1.5px color-mix(in srgb, var(--on-dark) 30%, transparent);
  transition: background-color 200ms ease;
}
.menu-toggle__icon i {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 320ms var(--ease-out), top 320ms var(--ease-out);
}
.menu-toggle__icon i:nth-child(1) { top: 18px; }
.menu-toggle__icon i:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: var(--splint); color: var(--on-splint); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.menu-toggle:active .menu-toggle__icon { transform: scale(0.94); }
@media (min-width: 1080px) {
  .menu-toggle { display: none; }
}

/* ---------- 7. Vollbild-Menü (mobil/Tablet) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 880;
  display: flex;
  flex-direction: column;
  background: var(--rinde);
  color: var(--on-dark);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--s-5)) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: circle(0 at calc(100% - var(--gutter) - 22px) calc(var(--header-h) / 2 + env(safe-area-inset-top, 0px)));
  visibility: hidden;
  transition: clip-path 300ms var(--ease-in-out), visibility 0s linear 300ms;
}
.menu.is-open {
  clip-path: circle(150% at calc(100% - var(--gutter) - 22px) calc(var(--header-h) / 2 + env(safe-area-inset-top, 0px)));
  visibility: visible;
  transition: clip-path 560ms var(--ease-out), visibility 0s;
}
@media (min-width: 1080px) {
  .menu { display: none; }
}
.menu .menu__rings {
  position: absolute;
  right: -40vw;
  bottom: -30vw;
  width: 110vw;
  max-width: 900px;
  aspect-ratio: 1;
  color: var(--brand);
  opacity: 0.35;
  pointer-events: none;
}
.menu__list { position: relative; display: flex; flex-direction: column; }
.menu__item {
  border-bottom: 1px solid var(--line-dark);
}
.menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-block: 0.6rem;
  font-size: clamp(2rem, 1.3rem + 4vw, 3rem);
  font-weight: 780;
  font-stretch: 72%;
  text-transform: uppercase;
  line-height: 1;
}
.menu__link[aria-current="page"] { color: var(--splint); }
.menu__sub { display: grid; gap: 0.15rem; padding-bottom: var(--s-4); }
.menu__sublink {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--on-dark-muted);
}
.menu__sublink .ico { width: 1.4rem; height: 1.4rem; color: var(--accent-soft); }
.menu__sublink[aria-current="page"] { color: var(--splint); }
.menu__sublink[aria-current="page"] .ico { color: var(--splint); }
.menu__cta {
  position: relative;
  display: grid;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-6);
}
@media (min-width: 560px) {
  .menu__cta { grid-template-columns: 1fr 1fr; }
}

/* Menüeinträge erscheinen nacheinander */
.menu [data-stagger] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 200ms ease, transform 200ms var(--ease-out);
}
.menu.is-open [data-stagger] {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 520ms var(--ease-out);
  transition-delay: calc(120ms + var(--d, 0) * 45ms);
}

/* ---------- 8. Mobile Aktionsleiste ---------- */
.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 870;
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--rinde);
  box-shadow: 0 -1px 0 var(--line-dark);
  transition: transform 320ms var(--ease-drawer);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 64px;
  font-weight: 680;
  font-size: var(--fs-sm);
  color: var(--on-dark);
  transition: background-color 120ms ease;
}
.mobile-bar a:active { background: var(--rinde-3); }
.mobile-bar .ico { width: 1.25rem; height: 1.25rem; color: var(--accent-soft); }
.mobile-bar__primary { background: var(--splint); color: var(--on-splint) !important; }
.mobile-bar__primary .btn__arrow { width: 1.1rem; height: 1.1rem; }
.mobile-bar a.mobile-bar__primary:active { background: var(--splint-hover); }
.mobile-bar[data-hidden="true"],
.menu-open .mobile-bar,
.has-cookie-banner .mobile-bar { transform: translateY(110%); }
@media (min-width: 1080px) {
  .mobile-bar { display: none; }
}

/* ---------- 9. Stammscheibe (Bild im Kreis + Jahresringe) ---------- */
.cut {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  isolation: isolate;
}
.cut__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--brand);
  z-index: 0;
}
.cut__rings {
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
/* Startseite: Jahresringe als Stammquerschnitt über den ganzen Hero, nach außen auslaufend */
.cut__rings--wide {
  max-width: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0.2) 41%, rgba(0, 0, 0, 0.09) 50%, rgba(0, 0, 0, 0.05) 65%, transparent 85%);
  mask-image: radial-gradient(closest-side, #000 25%, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0.2) 41%, rgba(0, 0, 0, 0.09) 50%, rgba(0, 0, 0, 0.05) 65%, transparent 85%);
}
.cut__rings path { fill: none; stroke: currentColor; vector-effect: non-scaling-stroke; }
.cut__rings .ring--splint { stroke: var(--splint); }
.cut__rings text {
  fill: var(--on-dark-muted);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cut__rings { transform-origin: 50% 50%; will-change: transform; }
.cut__ringtext {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform;
}
.cut__ringtext text {
  fill: var(--on-dark-muted);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.is-light .cut__ringtext text { fill: var(--ink-muted); }
.motion-ready .cut__ringtext text { transition: opacity 1200ms ease 900ms; }
.motion-ready .cut.is-pending .cut__ringtext text { opacity: 0; }
.cut__photo {
  position: absolute;
  inset: var(--cut-inset, 22%);
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  background: var(--rinde-3);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--splint) 60%, transparent), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.cut__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(var(--zoom, 1.06));
  transition: transform 1600ms var(--ease-out);
}
.is-light .cut__rings { color: var(--ring-light); }
.is-splint .cut__rings { color: var(--ring-splint); }
.is-light .cut__rings text { fill: var(--ink-muted); }
.is-light .cut__photo { background: color-mix(in srgb, var(--flechte) 80%, var(--ink)); box-shadow: 0 0 0 1px var(--accent-ink), 0 30px 60px -30px color-mix(in srgb, var(--ink) 45%, transparent); }


/* ---------- 10. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-ground);
  color: var(--on-dark);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}
.hero__grid {
  display: grid;
  gap: var(--s-5);
  padding-bottom: var(--s-8);
}
.hero__visual {
  position: relative;
  margin-inline: calc(var(--gutter) * -1);
  margin-top: calc(var(--s-4) * -1);
  height: min(86vw, 520px);
  overflow: hidden;
}
.hero__visual .cut {
  position: absolute;
  width: min(122vw, 700px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  --cut-inset: 21%;
}
.hero__copy { position: relative; z-index: 2; container-type: inline-size; }
.hero__title { color: var(--on-dark); }
/* Längstes Wort (z. B. „VERANTWORTUNG“) passt immer in die Spalte – kein Abschneiden bei 125 %/150 % Windows-Skalierung */
.hero__title.display { font-size: min(var(--fs-3xl), 13cqi); }
.hero__title.title-long { font-size: min(clamp(2.35rem, 0.9rem + 5.6vw, 5.25rem), 13cqi); }
.hero__line { display: block; }
.hero__lede { margin-top: var(--s-5); color: var(--on-dark); }
.hero__tagline {
  margin-top: var(--s-4);
  font-size: var(--fs-xl);
  font-weight: 700;
  font-stretch: 85%;
  color: var(--accent-soft);
  line-height: 1.2;
}
.hero__tagline + .hero__lede { margin-top: var(--s-4); }
.hero__lede + .hero__lede { margin-top: var(--s-3); }
.hero__more { color: var(--on-dark-muted); font-size: var(--fs-base); max-width: 62ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.hero__actions .btn { flex: 1 1 15rem; }
@media (min-width: 560px) {
  .hero__actions .btn { flex: 0 0 auto; }
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.checks li { display: flex; align-items: center; gap: 0.55rem; }
.checks svg { width: 1.2rem; height: 1.2rem; color: var(--accent-soft); flex: none; }
.is-light .checks svg { color: var(--accent-ink); }
.is-splint .checks svg { color: var(--on-splint); }

/* Handy/Tablet: Ringe laufen unter dem Bild weiter bis hinter den Text und werden nach unten zarter */
@media (max-width: 1079px) {
  .hero__visual { overflow: visible; }
  .hero__copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 calc(var(--gutter) * -1) 0;
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--hero-ground) 35%, transparent) 0%,
      color-mix(in srgb, var(--hero-ground) 72%, transparent) 22%,
      color-mix(in srgb, var(--hero-ground) 86%, transparent) 55%,
      var(--hero-ground) 100%);
    pointer-events: none;
  }
}
@media (min-width: 720px) {
  .hero__visual { height: min(78vw, 640px); }
  .hero__visual .cut { width: min(118vw, 940px); }
}

@media (min-width: 1080px) {
  .hero { min-height: min(100svh, 1000px); display: flex; align-items: center; }
  .hero > .wrap { width: 100%; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: var(--s-6);
    padding-block: var(--s-7) var(--s-9);
    min-height: calc(min(100svh, 1000px) - var(--header-h));
  }
  .hero__visual {
    order: 2;
    position: static;
    height: auto;
    margin: 0;
    overflow: visible;
    align-self: stretch;
  }
  .hero__visual .cut {
    /* Schriftring schließt rechts bündig mit der Inhaltskante ab (Button „Anfrage stellen“).
       Der Schriftring hat ca. 69 % der Kreisbreite, daher der Faktor 0.1535 */
    --cut-w: clamp(720px, 60vw, 1000px);
    width: var(--cut-w);
    left: auto;
    right: calc(max(var(--gutter), (100vw - var(--wrap)) / 2) - 0.1535 * var(--cut-w));
    /* feste Höhe statt Mitte des Heros: Kreis steht auf allen Seiten an derselben Stelle,
       auch wenn der Text einer Unterseite länger ist */
    top: calc(var(--header-h) + (min(100svh, 1000px) - var(--header-h)) / 2);
    transform: translateY(-46%);
  }
  .hero__copy { order: 1; padding-block: var(--s-6); }
  /* Weicher Schleier hinter dem Text: Ringe laufen weiter, stören die Lesbarkeit aber nicht */
  .hero__copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -25% 0 -25% -40%;     /* rechts bündig mit dem Text: der Schleier darf nie über das Foto reichen */
    background: radial-gradient(ellipse 60% 55% at 50% 50%, color-mix(in srgb, var(--hero-ground) 88%, transparent) 45%, color-mix(in srgb, var(--hero-ground) 55%, transparent) 70%, transparent 100%);
    pointer-events: none;
  }
}

@media (max-width: 400px) {
  .display { font-stretch: 66%; }
}

/* Lange Seitentitel (Eichenprozessionsspinner) passen sich der Breite an */
.title-long { font-size: clamp(2.35rem, 0.9rem + 5.6vw, 5.25rem); hyphens: manual; }
@media (max-width: 400px) {
  .title-long { font-stretch: 64%; }
}

/* Hero ohne Bild (Rechtstexte) */
.hero--plain .hero__grid { padding-block: var(--s-7) var(--s-8); }
@media (min-width: 1080px) {
  .hero--plain { min-height: 0; display: block; }
  .hero--plain .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-block: var(--s-8) var(--s-9); }
}
.hero--plain .hero__rings {
  position: absolute;
  width: clamp(420px, 60vw, 900px);
  right: calc(clamp(420px, 60vw, 900px) / -3);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- 11. Leistungs-Index (Startseite) ---------- */
.section-head {
  display: grid;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.section-head p { max-width: 52ch; }
.section-head .plate { max-width: none; }
@media (min-width: 1080px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
}

.index { position: relative; border-top: 1px solid var(--line-light); }
.index__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title thumb" "text thumb";
  column-gap: var(--s-4);
  row-gap: var(--s-2);
  align-items: center;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-light);
}
.index__title {
  grid-area: title;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: clamp(1.6rem, 0.85rem + 4.6vw, 4.25rem);
  font-weight: 790;
  font-stretch: 72%;
  min-width: 0;
  line-height: 0.95;
  text-transform: uppercase;
  transition: color 240ms ease, transform 420ms var(--ease-out);
}
.index__title .ico { width: 0.62em; height: 0.62em; color: var(--accent-ink); }
/* Leistungsname passt sich der Spaltenbreite an („BAUMKONTROLLE“ ist das längste Wort) */
.index__title { container-type: inline-size; }
@supports (font-size: 1cqi) {
  .index__title > * { font-size: min(1em, 11.8cqi); }
  .index__title .ico { width: 0.62em; height: 0.62em; }
}
.index__text { grid-area: text; color: var(--ink-muted); max-width: 48ch; }
.index__thumb {
  grid-area: thumb;
  width: clamp(56px, 16vw, 76px);
  height: clamp(56px, 16vw, 76px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--accent-ink);
}
.index__thumb img { width: 100%; height: 100%; object-fit: cover; }
.index__go {
  display: none;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-light);
  transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease, transform 300ms var(--ease-out);
}
.index__go svg { width: 1.25rem; height: 1.25rem; }
.index__row a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.index__row:active .index__title { transform: translateX(4px); }

@media (min-width: 720px) {
  .index__row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) auto;
    grid-template-areas: "title text go";
    column-gap: var(--s-6);
    padding: var(--s-6) 0;
  }
  .index__thumb { display: none; }
  .index__go { display: grid; grid-area: go; }
}

/* Tablets & kleine Laptops: festes rundes Vorschaubild in der Zeile */
@media (min-width: 720px) {
  .index__row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) auto auto;
    grid-template-areas: "title text thumb go";
  }
  .index__thumb { display: block; width: 64px; height: 64px; }
}

/* Vorschau-Kreis, der dem Mauszeiger folgt (nur Geräte mit Maus, ab 1280px).
   Er bekommt eine eigene, freie Spalte zwischen Leistungsname und Text,
   damit er nie die Beschreibung verdeckt. */
.index__preview { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1280px) {
  .index__row {
    grid-template-columns: minmax(0, 1fr) 260px minmax(0, 0.85fr) auto;
    grid-template-areas: "title . text go";
  }
  .index__thumb { display: none; }
  .index__title { font-size: clamp(2.6rem, 2.2rem + 1.6vw, 4rem); }
  .index__preview {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%));
    transition: clip-path 520ms var(--ease-out);
    will-change: transform;
    box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--ink) 50%, transparent);
  }
  /* 150 % deckt von jedem Startpunkt aus die ganze Fläche ab – sichtbar bleibt
     dank border-radius immer ein voller, runder Kreis */
  .index__preview.is-on { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); }
  .index__preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 260ms ease, transform 700ms var(--ease-out);
  }
  .index__preview img.is-active { opacity: 1; transform: scale(1); }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1080px) {
  .index:hover .index__row .index__title { color: color-mix(in srgb, var(--ink) 38%, transparent); }
  .index:hover .index__row:hover .index__title { color: var(--ink); transform: translateX(10px); }
  .index__row:focus-within .index__title { transform: translateX(10px); }
  .index__row:hover .index__go { background: var(--rinde); color: var(--splint); box-shadow: none; transform: rotate(-45deg); }
}

/* ---------- 12. Warum Baumschneider ---------- */
.why {
  display: grid;
  gap: var(--s-7);
}
.why > * { min-width: 0; }
.why > :first-child { container-type: inline-size; }
.why__title { font-size: clamp(2.4rem, 1.4rem + 5.6vw, 6rem); }
@supports (font-size: 1cqi) {
  .why__title { font-size: min(clamp(2.4rem, 1.4rem + 5.6vw, 6rem), 12.5cqi); }
}
.why__title span { display: block; }
.why__list { margin-top: var(--s-6); border-top: 1px solid color-mix(in srgb, var(--on-field) 22%, transparent); }
.why__list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--s-4);
  align-items: start;
  padding: var(--s-4) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--on-field) 22%, transparent);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.35;
}
.why__list svg { width: 1.5rem; height: 1.5rem; color: var(--on-field); margin-top: 0.05em; }
.is-dark .why__list svg { color: var(--accent-soft); }
.is-light .why__list { border-color: var(--line-light); }
.is-light .why__list li { border-color: var(--line-light); }
.is-light .why__list svg { color: var(--accent-ink); }
.is-dark .why__list, .is-dark .why__list li { border-color: var(--line-dark); }

.why__media { position: relative; }
.why__media .cut { width: min(100%, 520px); margin-inline: auto; --cut-inset: 19%; }
.is-field { overflow: clip; }
@media (min-width: 960px) {
  .why__media .cut {
    width: min(760px, 52vw);
    max-width: none;
    margin-inline: 0 calc(-1 * clamp(80px, 9vw, 220px));
  }
}
.is-field .cut__rings { color: var(--ring-field); }
.is-field .cut__photo { background: var(--photo-field); box-shadow: 0 0 0 1px var(--on-field-muted), 0 40px 80px -30px rgba(0, 0, 0, 0.45); }

/* Startseite „Warum Baumschneider“: Kletterer-Foto nur am Computer, auf Handy/Tablet ausgeblendet (Kundenwunsch) */
@media (max-width: 959px) {
  .why__media--desktop { display: none; }
}
@media (min-width: 960px) {
  .why { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--s-9); }
}

/* Zertifikats-Siegel */
/* Siegel + „Mehr über uns“ in einer Zeile (schmal: untereinander) */
.why__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5) var(--s-6);
  margin-top: var(--s-6);
}
.why__foot .seal { margin-top: 0; flex: 1 1 18rem; min-width: 0; }
.why__foot .btn { flex: none; }
.seal {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
  max-width: 30rem;
}
.seal__img {
  flex: none;
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--on-field) 15%, transparent);
  transition: transform 300ms var(--ease-out);
}
.seal__img img { width: 100%; height: 100%; }
.seal__text { font-size: var(--fs-sm); line-height: 1.45; }
.seal__text strong { display: block; font-size: var(--fs-base); font-weight: 700; margin-bottom: 0.15rem; }
.is-field .seal__text { color: var(--on-field-muted); }
.is-field .seal__text strong { color: var(--on-field); }
.is-light .seal__text { color: var(--ink-muted); }
.is-light .seal__text strong { color: var(--ink); }
.is-light .seal__img { box-shadow: 0 0 0 1px var(--line-light), 0 10px 24px -14px color-mix(in srgb, var(--ink) 45%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .seal__img:hover { transform: rotate(-8deg) scale(1.04); }
}

/* ---------- 13. Zwei-Spalten-Abschnitte (Inhaber, Vorgehen, Ziele) ---------- */
.split {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-9); }
  .split--media-wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .split--reverse > :first-child { order: 2; }
}
.split__media .cut { max-width: 560px; margin-inline: auto; }
.split__body .heading { margin-bottom: var(--s-5); }
.split__body .btn { margin-top: var(--s-6); }

.owner-name {
  display: block;
  font-weight: 760;
  font-stretch: 88%;
  font-size: var(--fs-lg);
  margin-bottom: var(--s-2);
}
.quote {
  font-size: var(--fs-lg);
  line-height: 1.55;
  max-width: 56ch;
}
.quote + p { margin-top: var(--s-4); }

/* Zwei Fotos, versetzt */
.pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  align-items: start;
}
.pair__item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: color-mix(in srgb, var(--flechte) 80%, var(--ink));
}
.pair__item:nth-child(2) { margin-top: 18%; }
.pair__item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.pair__item::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid color-mix(in srgb, var(--on-dark) 55%, transparent);
  pointer-events: none;
}
@media (min-width: 560px) {
  .pair { gap: var(--s-5); }
}

/* ---------- 14. Register (Leistungs-Details der Unterseiten) ---------- */
.register {
  display: grid;
  border-top: 1px solid var(--line-light);
}
.register__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--s-2) var(--s-4);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--line-light);
}
.register__ico {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--accent-ink);
  color: var(--accent-ink);
}
.register__ico .ico { width: 1.5rem; height: 1.5rem; }
.register__item h3 {
  font-size: var(--fs-xl);
  font-weight: 740;
  font-stretch: 80%;
  line-height: 1.12;
  align-self: center;
}
.register__item p { color: var(--ink-muted); max-width: 52ch; }
@media (min-width: 720px) {
  .register { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); }
}
@media (min-width: 1200px) {
  .register--3 { grid-template-columns: repeat(3, 1fr); column-gap: var(--s-7); }
  .register--3 .register__item { grid-template-columns: 1fr; }
  .register--3 .register__ico { grid-row: auto; margin-bottom: var(--s-3); }
}
@media (hover: hover) and (pointer: fine) {
  .register__item .register__ico { transition: background-color 240ms ease, color 240ms ease; }
  .register__item:hover .register__ico { background: var(--accent-ink); color: var(--flechte); }
}

/* ---------- 15. Ablauf (EPS: 1–2–3) ---------- */
.steps {
  position: relative;
  display: grid;
  gap: var(--s-6);
  counter-reset: none;
}
.steps::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: 1.75rem;
  bottom: 1.75rem;
  width: 1px;
  background: var(--line-light);
}
.step { position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--s-4); }
.step__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--flechte);
  box-shadow: inset 0 0 0 1.5px var(--accent-ink), inset 0 0 0 6px var(--flechte), inset 0 0 0 7.5px var(--accent-ink);
  color: var(--accent-ink);
}
.step__ring .ico { width: 1.4rem; height: 1.4rem; }
.step h3 {
  font-size: var(--fs-xl);
  font-weight: 760;
  font-stretch: 80%;
  line-height: 1.1;
  margin: 0.85rem 0 var(--s-2);
}
.step p { color: var(--ink-muted); max-width: 46ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
  .steps::before { left: 1.75rem; right: 1.75rem; top: 1.75rem; bottom: auto; width: auto; height: 1px; }
  .step { grid-template-columns: 1fr; }
}

/* ---------- 16. Vollflächiges Bild mit Text (EPS Arbeitsbühne) ---------- */
.feature {
  position: relative;
  overflow: hidden;
  background: var(--field);   /* Analog Green wie „Warum Baumschneider“ / Qualifikationen */
  color: var(--on-dark);
  --plate-bg: var(--field);
}
.feature__media { position: relative; height: 62vw; max-height: 560px; overflow: hidden; }
.feature__media img { width: 100%; height: 118%; object-fit: cover; object-position: 60% 40%; will-change: transform; }
.feature__body { padding-block: var(--s-7) var(--section); }
.feature__body .heading { color: var(--on-dark); margin-bottom: var(--s-5); }
@media (min-width: 1080px) {
  .feature { min-height: 760px; display: flex; align-items: center; }
  .feature__media { position: absolute; inset: 0 0 0 46%; height: auto; max-height: none; }
  .feature > .wrap { position: relative; z-index: 1; }
  .feature__body { max-width: min(36rem, 40vw); padding-block: var(--section); }
}

/* ---------- 17. Besichtigung (Splintholz-Fläche) ---------- */
.visit { position: relative; overflow: hidden; }
.visit__rings {
  position: absolute;
  width: clamp(520px, 80vw, 1100px);
  aspect-ratio: 1;
  right: calc(clamp(520px, 80vw, 1100px) / -2.4);
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--rinde) 20%, transparent);
  pointer-events: none;
}
@media (max-width: 899px) {
  /* Handy/Tablet: Ringe nach rechts unten, zur Textseite hin weich ausgeblendet – der Fließtext liegt frei */
  .visit__rings {
    top: auto;
    bottom: -18%;
    right: calc(clamp(520px, 80vw, 1100px) / -2);
    transform: none;
    -webkit-mask-image: linear-gradient(to right, transparent 30%, #000 70%);
    mask-image: linear-gradient(to right, transparent 30%, #000 70%);
  }
}
.visit__grid { position: relative; display: grid; gap: var(--s-6); }
.visit__title { font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.5rem); }
.visit__text { margin-top: var(--s-5); max-width: 52ch; font-size: var(--fs-lg); line-height: 1.5; }
.visit .checks { margin-top: var(--s-5); font-size: var(--fs-base); gap: var(--s-2); }
.visit .checks li {
  padding: 0.45rem 0.95rem 0.45rem 0.6rem;
  border-radius: var(--pill);
  background: var(--flechte);
  color: var(--on-splint);
}
.is-splint.visit .checks svg { color: #a84e14; }   /* Orange (auf Creme-Kapsel abgedunkelt) */
.visit .btn { justify-self: start; }
@media (min-width: 960px) {
  .visit__grid { grid-template-columns: 1fr auto; align-items: end; gap: var(--s-8); }
}

/* ---------- 18. Kontakt-Blatt ---------- */
.contact {
  display: grid;
  gap: var(--s-7);
}
.contact__primary { display: grid; gap: var(--s-6); align-content: start; }
.bigline { display: grid; gap: var(--s-2); }
.bigline h3 {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bigline p { color: var(--ink-muted); }
.bigline__value {
  justify-self: start;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 790;
  font-stretch: 70%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 0.1em;
  transition: background-size 420ms var(--ease-out), color 200ms ease;
}
.bigline__value--mail { font-size: clamp(1.25rem, 0.55rem + 2.4vw, 2.1rem); font-stretch: 78%; }
@media (min-width: 960px) {
  .bigline__value--mail { font-size: clamp(1.25rem, 0.2rem + 1.55vw, 2.1rem); }
}
@media (hover: hover) and (pointer: fine) {
  .bigline__value:hover { background-size: 100% 2px; color: var(--accent-ink); }
}

/* Startseite „Schnell erreichbar“: ein Raster aus sechs gleich aufgebauten Bausteinen.
   Zeilen teilen sich die Höhe, daher liegen alle Trennlinien links und rechts auf einer Linie. */
.reach { display: grid; grid-template-columns: minmax(0, 1fr); }
.reach__cell {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: var(--s-4);
  row-gap: var(--s-1);
  align-content: start;
  padding-block: var(--s-6);
  border-top: 1px solid var(--line-light);
}
.reach__cell:last-child { border-bottom: 1px solid var(--line-light); }
.reach__cell > :not(.reach__ico) { grid-column: 2; }
.reach__ico {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--rinde);
  color: var(--ring-light);   /* Olive Signal im Warm-Shadow-Kreis */
}
.reach__ico .ico, .reach__ico .ico-svg { width: 1.25rem; height: 1.25rem; }
.reach h3 { font-size: var(--fs-lg); font-weight: 720; font-stretch: 86%; line-height: 1.25; }
.reach p { color: var(--ink-muted); font-size: var(--fs-base); }
.reach__value {
  justify-self: start;
  margin-top: var(--s-3);
  font-size: clamp(1.05rem, 5.1cqi, 2.25rem);
  font-weight: 760;
  font-stretch: 78%;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 0.1em;
  transition: background-size 420ms var(--ease-out), color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .reach__value:hover { background-size: 100% 2px; color: var(--accent-ink); }
}
.reach__action { margin-top: var(--s-3); }
.reach .btn { justify-self: start; min-height: 48px; padding: 0.7rem 1.2rem; font-size: var(--fs-sm); }
@media (min-width: 960px) {
  .reach { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-9); }
  .reach__cell:nth-last-child(2) { border-bottom: 1px solid var(--line-light); }
}

.contact__details { border-top: 1px solid var(--line-light); }
.detail {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: var(--s-1) var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-light);
}
.detail__ico {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--rinde);
  color: var(--accent-soft);
}
.detail__ico .ico { width: 1.25rem; height: 1.25rem; }
.detail h3 { font-size: var(--fs-lg); font-weight: 720; font-stretch: 86%; line-height: 1.25; }
.detail p { color: var(--ink-muted); font-size: var(--fs-base); }
.detail__value { font-weight: 650; }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--s-3); }
.tags li {
  padding: 0.35rem 0.8rem;
  border-radius: var(--pill);
  box-shadow: inset 0 0 0 1px var(--line-light);
  font-size: var(--fs-sm);
  font-weight: 600;
  background: var(--flechte-2);
}

.socials { display: flex; gap: var(--s-2); margin-top: var(--s-3); }
.social {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.social .ico { width: 1.35rem; height: 1.35rem; }
.social:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .social:hover { background: var(--rinde); color: var(--splint); box-shadow: none; }
  .site-footer .social:hover { background: var(--splint); color: var(--on-splint); }
}
.detail .btn { justify-self: start; margin-top: var(--s-3); min-height: 48px; padding: 0.7rem 1.2rem; font-size: var(--fs-sm); }

@media (min-width: 960px) {
  .contact { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
  #kontakt .section-head--split { grid-template-columns: 1fr 1fr; column-gap: var(--s-9); }
  .contact__primary { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
}

/* ---------- 19. Über-uns-Text & Qualifikationen ---------- */
.statement {
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  font-weight: 740;
  font-stretch: 78%;
  line-height: 1.1;
  max-width: 24ch;
  margin-block: var(--s-7);
  color: var(--accent-ink);
}
.statement::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor, inset 0 0 0 7px var(--flechte), inset 0 0 0 8.5px currentColor, inset 0 0 0 14px var(--flechte), inset 0 0 0 15.5px currentColor;
}

.quals { counter-reset: q; border-top: 1px solid color-mix(in srgb, var(--on-field) 22%, transparent); }
.quals li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-5) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--on-field) 22%, transparent);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
  font-weight: 720;
  font-stretch: 82%;
  line-height: 1.15;
}
.quals svg { width: 2.75rem; height: 2.75rem; color: var(--on-field); }

/* Über mich: Zitat über die ganze Breite, darunter schlichter Fließtext */
.bio { display: grid; gap: var(--s-7); }
.bio__quote { margin: 0; }
.bio__quote p {
  text-align: center;
  font-size: clamp(2rem, 1.1rem + 3.6vw, 4.75rem);
  font-weight: 760;
  font-stretch: 76%;
  line-height: 1.04;
  color: var(--accent-ink);
  text-wrap: balance;
}
/* Ein zentrierter Fließtext unter dem Zitat; Zeilenlänge begrenzt, damit er angenehm lesbar bleibt */
.bio__text {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* Qualifikationen: Überschrift + Siegel oben, Liste links und rechts */
.quals-wrap { display: grid; gap: var(--s-7); }
.quals-wrap > div:first-child { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5) var(--s-8); }
.quals-wrap .why__title { font-size: clamp(2.4rem, 1.4rem + 5.6vw, 6rem); }
.quals-wrap .seal { margin-top: 0; }
@media (min-width: 900px) {
  .quals { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: var(--s-8); }
}

/* ---------- 20. Kontaktformular ---------- */
.form-panel {
  background: var(--flechte);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 0.8rem + 2.4vw, 2.75rem);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.6);
  --focus: var(--accent-ink);
}
.contact-form { display: grid; gap: var(--s-5); }
.form-note { font-size: var(--fs-sm); color: var(--ink-muted); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field { display: grid; gap: 0.45rem; }
.form-label { font-size: var(--fs-sm); font-weight: 680; color: var(--ink); }
.form-required { color: var(--accent-ink); }
.form-optional { font-weight: 450; color: var(--ink-muted); }
.form-input {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font-size: max(16px, 1rem);
  color: var(--ink);
  background: var(--flechte-2);
  border: 1.5px solid color-mix(in srgb, var(--splint) 55%, var(--ink));
  border-radius: 10px;
  transition: border-color 160ms ease, box-shadow 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--ink-muted); }
.form-input:focus { outline: none; background: var(--surface); border-color: var(--accent-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ring-light) 30%, transparent); }
.form-input:user-invalid { border-color: var(--error); box-shadow: 0 0 0 4px color-mix(in srgb, var(--error) 12%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .form-input:hover:not(:focus) { border-color: var(--accent-ink); }
}
.form-textarea { min-height: 9.5rem; resize: vertical; line-height: 1.55; }

.form-checkbox {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--s-3);
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  cursor: pointer;
  line-height: 1.5;
}
.form-checkbox input {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--accent-ink);
  cursor: pointer;
}
.form-checkbox a { color: var(--ink); }
/* Senden-Button auf hellem Grund: Analog Green, beim Überfahren Olive */
.form-panel .btn--splint { --btn-bg: var(--field); --btn-fg: var(--on-field); }
@media (hover: hover) and (pointer: fine) {
  .form-panel .btn--splint:hover { --btn-bg: var(--accent-ink); }
}
.form-submit { width: 100%; margin-top: var(--s-2); min-height: 58px; font-size: var(--fs-lg); }
.form-submit[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.form-submit[aria-busy="true"] .btn__arrow { animation: nudge 900ms var(--ease-in-out) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.form-status {
  padding: var(--s-4) var(--s-5);
  border-radius: 10px;
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.5;
  margin-bottom: var(--s-5);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line-light);
  animation: status-in 420ms var(--ease-out);
}
.form-status--success { background: color-mix(in srgb, var(--success) 14%, var(--flechte-2)); box-shadow: inset 0 0 0 1.5px var(--accent-ink); color: var(--success); }
.form-status--error { background: color-mix(in srgb, var(--error) 12%, var(--flechte-2)); box-shadow: inset 0 0 0 1.5px var(--error); color: var(--error-ink); }
@keyframes status-in {
  from { opacity: 0; transform: translateY(-6px); }
}

/* Kontakt-Seitenkopf */
.contact-hero { display: grid; gap: var(--s-7); }
.contact-hero__photo { display: none; }
.contact-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
@media (min-width: 1080px) {
  .contact-hero { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--s-9); align-items: stretch; }
  /* Foto füllt die linke Spalte und schließt unten bündig mit dem Formular ab */
  .contact-hero__intro { display: flex; flex-direction: column; }
  .contact-hero__photo {
    display: block;
    flex: 1 1 0;
    min-height: 14rem;
    margin-top: var(--s-7);
    border-radius: var(--radius-lg, 1.25rem);
    overflow: hidden;
    background: color-mix(in srgb, var(--on-dark) 8%, transparent);
  }
}

/* ---------- 21. Rechtstexte ---------- */
.legal {
  display: grid;
  gap: var(--s-7);
}
@media (min-width: 1080px) {
  .legal--toc { grid-template-columns: 17rem minmax(0, 1fr); gap: var(--s-9); }
}
.legal-content { max-width: 70ch; }
.legal-content h2 {
  font-size: var(--fs-xl);
  font-weight: 760;
  font-stretch: 82%;
  line-height: 1.15;
  margin: var(--s-8) 0 var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-light);
}
.legal-content > h2:first-child,
.legal-content > .legal-toc + h2 { margin-top: 0; }
.legal-content h3 { font-size: var(--fs-lg); font-weight: 700; margin: var(--s-6) 0 var(--s-2); }
.legal-content p, .legal-content li { color: var(--ink-muted); }
.legal-content p { margin-bottom: var(--s-4); }
.legal-content ul { list-style: none; margin-bottom: var(--s-4); }
.legal-content li { position: relative; padding-left: 1.4rem; margin-bottom: var(--s-2); }
.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--accent-ink);
}
.legal-content a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.legal-content strong { color: var(--ink); }

.legal-toc { font-size: var(--fs-sm); }
.legal-toc details { border-block: 1px solid var(--line-light); }
.legal-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary svg { width: 1.1rem; height: 1.1rem; transition: transform 240ms var(--ease-out); }
.legal-toc details[open] summary svg { transform: rotate(180deg); }
.legal-toc ol { padding-bottom: var(--s-4); }
.legal-toc li { margin: 0; }
.legal-toc a {
  display: block;
  padding: 0.4rem 0 0.4rem 0.9rem;
  color: var(--ink-muted);
  border-left: 1.5px solid var(--line-light);
  transition: color 160ms ease, border-color 160ms ease;
}
.legal-toc a.is-active { color: var(--ink); font-weight: 650; border-left-color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) {
  .legal-toc a:hover { color: var(--ink); }
}
@media (min-width: 1080px) {
  .legal-toc { position: sticky; top: calc(var(--header-h) + var(--s-5)); align-self: start; max-height: calc(100svh - var(--header-h) - 3rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .legal-toc summary { pointer-events: none; }
  .legal-toc summary svg { display: none; }
  .legal-toc details { border: 0; }
}

/* ---------- 22. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--rinde);
  color: var(--on-dark-muted);
  padding-top: var(--section);
}
.footer-top {
  display: grid;
  gap: var(--s-7);
  padding-bottom: var(--s-8);
}
.footer-slogan {
  font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.25rem);
  font-weight: 760;
  font-stretch: 76%;
  line-height: 1.04;
  color: var(--on-dark);
  max-width: 18ch;
}
.footer-slogan span { color: var(--accent-soft); }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6) var(--s-5);
}
.footer-heading {
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--s-3);
}
.footer-links { display: grid; gap: 0.15rem; font-size: var(--fs-sm); }
.footer-links a, .footer-links li > span { display: inline-flex; align-items: center; min-height: 36px; overflow-wrap: anywhere; }
.footer-links a { transition: color 160ms ease; }
.footer-links a[aria-current="page"] { color: var(--splint); }
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--on-dark); }
}
.footer-contact { grid-column: 1 / -1; }
.site-footer .socials { margin-top: var(--s-4); color: var(--on-dark); }
@media (min-width: 720px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-contact { grid-column: auto; }
}
@media (min-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1.3fr; gap: var(--s-9); }
}
.footer-word {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.95;
  padding-bottom: var(--s-6);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-block: var(--s-5) var(--s-6);
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
}
.footer-bottom p { line-height: 1.8; }
.footer-bottom .socials { margin-top: 0; }
.footer-bottom .social { width: 44px; height: 44px; }
.footer-bottom a, .footer-cookie-link { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--on-dark-muted) 40%, transparent); text-underline-offset: 0.2em; }
.footer-cookie-link { font-size: inherit; color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .footer-bottom a:hover, .footer-cookie-link:hover { color: var(--on-dark); }
}
@media (min-width: 900px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- 23. Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: var(--s-3);
  right: var(--s-3);
  bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  max-width: 560px;
  padding: var(--s-5);
  background: var(--flechte-2);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 240ms ease, transform 420ms var(--ease-out);
  --focus: var(--accent-ink);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
@media (min-width: 720px) {
  .cookie-banner { left: var(--s-5); bottom: var(--s-5); right: auto; }
}
.cookie-banner__inner { display: grid; gap: var(--s-4); }
.cookie-banner__text { font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.55; }
.cookie-banner__text a { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 0.2em; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.cookie-banner__btn { min-height: 48px; padding: 0.7rem 1rem; font-size: var(--fs-sm); }
.cookie-banner .btn--ghost { color: var(--ink); }

/* ---------- 24. Bewegung ---------- */
/* Inhalte sind ohne JavaScript immer sichtbar; .js-motion wird erst gesetzt,
   wenn main.js läuft und keine reduzierte Bewegung gewünscht ist. */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 900ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.motion-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Bilder erscheinen ohne Effekt – sie sind von Anfang an sichtbar (Kundenwunsch 25.10.2026) */

/* Hero: Zeilen steigen aus einer Maske auf */
.js-motion .hero__line { overflow: hidden; padding-block: 0.16em 0.08em; margin-block: -0.16em -0.08em; }
.js-motion .hero__line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 900ms var(--ease-out) forwards;
  animation-delay: calc(80ms + var(--d, 0) * 110ms);
}
.js-motion .hero [data-hero-fade] {
  opacity: 0;
  animation: fade-up 800ms var(--ease-out) forwards;
  animation-delay: calc(380ms + var(--d, 0) * 90ms);
}
.motion-ready .cut__rings text { transition: opacity 1200ms ease 900ms; }
.motion-ready .cut.is-pending .cut__rings text { opacity: 0; }

@keyframes rise { to { transform: none; } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* Seitenwechsel: sanfte Überblendung (wo der Browser es unterstützt) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 180ms ease both vt-out; }
::view-transition-new(root) { animation: 320ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .menu, .menu.is-open { transition: opacity 200ms ease, visibility 0s !important; clip-path: none; opacity: 0; }
  .menu.is-open { opacity: 1; }
  .feature__media img { height: 100%; transform: none !important; }
}

/* ---------- 25. Druck ---------- */
@media print {
  .site-header, .mobile-bar, .menu, .cookie-banner, .cut__rings, .cut__ringtext { display: none !important; }
  body { padding: 0; background: var(--surface); }
  .hero, .is-dark, .is-field, .is-splint, .site-footer { background: #fff !important; color: #000 !important; }
}

/* Orange als durchgehender Akzent: Aufzählungs-Symbole auf grüner Fläche (Warum Baumschneider, Qualifikationen) */
.why__list svg, .quals svg { color: #ee8c45; }
