/* ==========================================================================
   Thomas Rott Facility Management – Designsystem (Neubau 24.9.2026)
   Editorial: große Serifen-Typografie, warmes Papier, tiefes Waldgrün,
   echte Fotos in Bogenrahmen (Motiv: Gartentor/Heckenbogen).
   Keine Framework-Abhängigkeit, kein JS für sichtbare Inhalte.
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-italic.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/schibsted-grotesk.woff2) format("woff2"); }

:root {
  --paper: #ffffff;
  --paper-2: #f2f4f1;
  --card: #ffffff;
  --ink: #0b1a14;
  --ink-2: #3a4843;            /* Fließtext gedämpft, 9,6:1 auf Weiß */
  --muted: #5b6862;            /* 5,9:1 auf Weiß */
  --forest: #15352a;
  --forest-2: #1d4637;
  --forest-3: #2a5c49;
  --leaf: #a9cc4f;             /* Blattgrün aus dem Logo – nur auf Dunkel oder als Marke */
  --on-dark: #eef0e6;
  --on-dark-2: #b9c7bd;        /* 7,9:1 auf --forest */
  --line: rgb(14 31 25 / 0.14);
  --line-dark: rgb(238 240 230 / 0.16);
  --wa: #1f8f4e;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino", Georgia, serif;
  --display: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --dw: 700;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --r: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-quick: 160ms;
  --t-ui: 260ms;
  --header-h: 72px;

  --fs-body: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  --fs-small: 1rem;
  --fs-h1: clamp(2.35rem, 0.9rem + 6.6vw, 7.4rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.4vw, 4.6rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  --fs-lead: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; overflow-wrap: break-word; }
.svc__sum > * { min-width: 0; }
.svc__name { overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--leaf); color: var(--ink); }
:focus-visible { outline: 2px solid var(--forest-3); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--leaf); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--display); font-weight: var(--dw); font-weight: 400; letter-spacing: -0.01em; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* --------------------------------------------------------------------------
   Überschriften
   -------------------------------------------------------------------------- */
.h1 { font-family: var(--display); font-weight: var(--dw); font-size: var(--fs-h1); line-height: 0.92; letter-spacing: -0.052em; }
.h2 { font-family: var(--display); font-weight: var(--dw); font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.045em; }
.h3 { font-family: var(--display); font-weight: var(--dw); font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.03em; }
/* Kursive Serif-Akzente wirken neben fetter Grotesk kleiner – optisch angleichen */
.h1 em, .h2 em, .h3 em, h1 em, h2 em, .statement__text em, .ftr__big em, .band__cap em { font-size: 1.08em; letter-spacing: -0.02em; }
.h1 em, .h2 em, .h3 em { color: var(--forest-3); }
.dark .h1 em, .dark .h2 em, .dark .h3 em { color: var(--leaf); }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.01em; }
.dark .lead { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }

/* --------------------------------------------------------------------------
   Knöpfe
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--forest); --fg: var(--on-dark); --bd: var(--forest);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 54px; padding: 0 1.6em;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; line-height: 1.15;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), scale var(--t-quick) var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill, var(--forest-3));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 420ms var(--ease);
}
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); --fill: var(--ink); }
.btn--light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); --fill: var(--leaf); }
.btn--wa { --bg: var(--wa); --fg: #fff; --bd: var(--wa); --fill: #177a41; }
.btn--ghost-dark { --bg: transparent; --fg: var(--on-dark); --bd: var(--line-dark); --fill: var(--on-dark); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
  .btn--ghost:hover { color: var(--paper); border-color: var(--ink); }
  .btn--ghost-dark:hover { color: var(--ink); border-color: var(--on-dark); }
  .btn--light:hover { color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn:active { scale: 0.97; transition-duration: 90ms; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) {
  .btn-row .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; padding-inline: 1.25em; }
}
[class*="__grid"] > *, .cols > *, .offer > * { min-width: 0; }

/* Textlink mit gezeichneter Unterstreichung */
.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 380ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 0 1px; background-position: 100% 100%; }
}
.arrow-link { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; text-decoration: none; min-height: 44px; }
.arrow-link svg { width: 1.1em; height: 1.1em; transition: translate var(--t-ui) var(--ease); }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover svg { translate: 4px 0; } }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease), translate 380ms var(--ease);
}
.hdr.is-scrolled { background: rgb(255 255 255 / 0.96); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(1px)) {
  @media (hover: hover) and (pointer: fine) {
    .hdr.is-scrolled { background: rgb(255 255 255 / 0.8); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
  }
}
.hdr.is-hidden { translate: 0 -100%; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.hdr__logo { display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.hdr__logo img { height: 46px; width: auto; }
.hdr__nav { display: none; gap: 4px; }
.hdr__nav a { text-decoration: none; font-weight: 500; font-size: 0.975rem; padding: 10px 14px; border-radius: 999px; transition: background-color var(--t-quick) var(--ease); }
@media (hover: hover) and (pointer: fine) { .hdr__nav a:hover { background: rgb(14 31 25 / 0.06); } }
.hdr__cta { display: flex; gap: 8px; align-items: center; }
.hdr__cta .btn { min-height: 44px; padding: 0 1.15em; font-size: 0.95rem; }
.hdr__icon { width: 44px; height: 44px; padding: 0; }
.hdr__icon svg { width: 20px; height: 20px; }
.hdr__menu { display: inline-flex; }
.hdr__call-text { display: none; }
@media (max-width: 379px) { .hdr__wa { display: none; } .hdr__in { gap: 12px; } }
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .hdr__nav { display: flex; }
  .hdr__menu { display: none; }
  .hdr__logo img { height: 54px; }
  .hdr__call-text { display: inline; }
  .hdr__icon.hdr__call { width: auto; padding: 0 1.15em; }
}

/* Burger → X */
.burger { position: relative; width: 22px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 1.75px; background: currentColor; border-radius: 2px; transition: translate 320ms var(--ease), rotate 320ms var(--ease), opacity 200ms; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { bottom: 0; }
[aria-expanded="true"] .burger i:nth-child(1) { translate: 0 5.1px; rotate: 45deg; }
[aria-expanded="true"] .burger i:nth-child(2) { translate: 0 -5.1px; rotate: -45deg; }

/* Handy-Menü */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--forest); color: var(--on-dark);
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 560ms var(--ease-io), opacity 0s linear 560ms, visibility 0s linear 560ms;
  overscroll-behavior: contain;
}
.menu.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path 560ms var(--ease-io); }
.menu nav a {
  display: block; text-decoration: none;
  font-family: var(--display); font-weight: var(--dw); font-size: clamp(2.2rem, 9.5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.05em;
  padding: 2px 0;
}
.menu nav li { overflow: hidden; }
.menu nav a span { display: inline-block; translate: 0 105%; transition: translate 600ms var(--ease); }
.menu.is-open nav a span { translate: 0 0; }
.menu nav li:nth-child(2) a span { transition-delay: 40ms; }
.menu nav li:nth-child(3) a span { transition-delay: 80ms; }
.menu nav li:nth-child(4) a span { transition-delay: 120ms; }
.menu nav li:nth-child(5) a span { transition-delay: 160ms; }
.menu__foot { display: grid; gap: 12px; }
.menu__foot .btn { width: 100%; }
.menu__meta { color: var(--on-dark-2); font-size: var(--fs-small); margin-top: 8px; }
html.menu-open { overflow: hidden; }
html.menu-open .hdr { background: transparent; box-shadow: none; backdrop-filter: none; color: var(--on-dark); translate: none; }
html.menu-open .hdr__logo img { filter: brightness(0) invert(0.94) sepia(0.1); }
html.menu-open .hdr__cta .btn { --bd: var(--line-dark); --bg: transparent; --fg: var(--on-dark); }

/* --------------------------------------------------------------------------
   Hero Startseite
   -------------------------------------------------------------------------- */
.hero { padding-top: calc(var(--header-h) + clamp(24px, 5vw, 64px)); padding-bottom: clamp(56px, 8vw, 120px); }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: end; }
.hero__title { margin-bottom: clamp(20px, 2.4vw, 32px); }
.hero__title .ln { display: block; overflow: clip; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .ln > span { display: inline-block; }
.hero__sub { max-width: 34ch; margin-bottom: clamp(28px, 3vw, 40px); }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: var(--fs-small); }
.stars { display: inline-flex; gap: 2px; color: #d9a521; }
.stars svg { width: 15px; height: 15px; }
.rating { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.rating strong { color: var(--ink); font-weight: 600; }
@media (max-width: 559px) { .rating { flex-direction: column; align-items: flex-start; gap: 4px; } }

.arch {
  position: relative; overflow: hidden;
  border-radius: var(--r);
  background: var(--paper-2);
  aspect-ratio: 3 / 4;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* Hero als Magazin-Raster: Titel über die volle Breite, darunter
   Text | Porträt | Arbeitsfoto mit Bildunterschriften */
.hero__grid { align-items: start; }
.hero__img { margin: 0; position: relative; }
.hero__img .arch { aspect-ratio: 4 / 5; }
.hero__img figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 0.8125rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
.hero__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
.hero__badge {
  position: absolute; left: 10px; bottom: 44px;
  display: flex; align-items: center; gap: 10px;
  background: var(--card); color: var(--ink);
  border-radius: var(--r); padding: 6px 14px 6px 6px;
  box-shadow: 0 14px 30px -16px rgb(11 26 20 / 0.45);
  font-size: 0.875rem; line-height: 1.2;
}
.hero__badge img { width: 38px; height: 38px; border-radius: 3px; object-fit: cover; }
.hero__badge b { display: block; font-weight: 600; }
.hero__rule { height: 1px; background: var(--line); margin: 0 0 clamp(24px, 3vw, 40px); }
@media (min-width: 900px) {
  .hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 72px); }
  .hero__imgs { grid-template-columns: 1fr 1fr; }
  .hero__img--b { margin-top: clamp(48px, 7vw, 120px); }
}
@media (max-width: 899px) {
  .hero__grid { display: grid; gap: 36px; }
}
@media (max-width: 559px) {
  .hero__badge { display: none; }
  .hero__img figcaption span + span { display: none; }
}

/* Statement */
.statement { padding-block: clamp(80px, 12vw, 180px); }
.statement__text { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 1.1rem + 2.9vw, 4rem); line-height: 1.08; letter-spacing: -0.04em; max-width: 22ch; }
.statement__text .w { transition: color 200ms; }
.statement__grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: end; }
.statement__aside { display: grid; gap: 24px; max-width: 420px; }
.statement__aside .arch { aspect-ratio: 4 / 5; max-width: 300px; }
@media (min-width: 900px) { .statement__grid { grid-template-columns: 1fr auto; } }

/* --------------------------------------------------------------------------
   Abschnitte allgemein
   -------------------------------------------------------------------------- */
.sec { padding-block: clamp(80px, 11vw, 168px); }
.sec--tight { padding-block: clamp(56px, 7vw, 104px); }
.sec__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 88px); padding-top: 20px; border-top: 1px solid var(--line); }
.dark .sec__head { border-top-color: var(--line-dark); }
.sec__head .lead { max-width: 36ch; }
@media (min-width: 900px) { .sec__head--split { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.dark { background: var(--forest); color: var(--on-dark); }
.alt { background: var(--paper-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   Leistungen – Index
   -------------------------------------------------------------------------- */
.svc { border-top: 1px solid var(--line); }
.svc__item { border-bottom: 1px solid var(--line); }
.svc__sum {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: clamp(20px, 2.4vw, 32px) 0;
  min-height: 44px;
}
.svc__sum::-webkit-details-marker { display: none; }
.svc__name { font-family: var(--display); font-weight: var(--dw); font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.045em; transition: translate 420ms var(--ease), color var(--t-ui); }
.svc__short { display: none; color: var(--muted); max-width: 34ch; font-size: 1rem; line-height: 1.45; }
.svc__plus { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background-color var(--t-ui) var(--ease), border-color var(--t-ui), rotate 420ms var(--ease); }
.svc__plus svg { width: 18px; height: 18px; }
.svc__item[open] .svc__plus { rotate: 45deg; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.svc__body { display: grid; gap: 28px; padding-bottom: clamp(28px, 3vw, 44px); }
.svc__body p { max-width: 46ch; color: var(--ink-2); }
.svc__feat { display: grid; gap: 10px; }
.svc__feat li { display: flex; gap: 12px; align-items: baseline; }
.svc__feat li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--forest-3); translate: 0 -2px; }
.svc__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
@media (min-width: 900px) {
  .svc__sum { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; }
  .svc__short { display: block; }
  .svc__body { grid-template-columns: 1fr 1fr 0.9fr; align-items: start; }
}
@media (hover: hover) and (pointer: fine) {
  .svc__sum:hover .svc__name { translate: 12px 0; color: var(--forest-3); }
  .svc__sum:hover .svc__plus { border-color: var(--ink); }
}
/* Mitlaufendes Bild auf dem Desktop (nur Maus, gesetzt per JS) */
.cursor-img {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 260px; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden;
  opacity: 0; scale: 0.85;
  transition: opacity 260ms var(--ease), scale 420ms var(--ease);
  box-shadow: 0 30px 60px -30px rgb(14 31 25 / 0.5);
}
.cursor-img.is-on { opacity: 1; scale: 1; }
.cursor-img img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Bildband
   -------------------------------------------------------------------------- */
.band { position: relative; overflow: clip; }
.band__img { height: clamp(460px, 82vh, 900px); }
.band__img img { width: 100%; height: 118%; object-fit: cover; }
.band__cap {
  position: absolute; inset: auto 0 0; padding: clamp(24px, 4vw, 56px) 0;
  background: linear-gradient(to top, rgb(9 20 16 / 0.72), rgb(9 20 16 / 0));
  color: #fff;
}
.band__cap p { font-family: var(--display); font-weight: var(--dw); font-size: clamp(2rem, 1.1rem + 3.6vw, 5rem); line-height: 0.98; letter-spacing: -0.05em; max-width: 14ch; }

/* --------------------------------------------------------------------------
   Ablauf
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; display: grid; gap: 12px; padding: clamp(28px, 3.6vw, 48px) 0; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); transform-origin: left; }
.step h3 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); line-height: 1.02; letter-spacing: -0.04em; }
.step p { color: var(--on-dark-2); max-width: 40ch; }
.step__n { font-size: var(--fs-small); color: var(--leaf); font-weight: 600; }
.alt .step::before, .steps--light .step::before { background: var(--line); }
.steps--light .step p { color: var(--ink-2); }
.steps--light .step__n { color: var(--forest-3); }
@media (min-width: 900px) {
  .step { grid-template-columns: 90px 1fr 1fr; align-items: baseline; }
}

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 18px); }
.gal__it { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); aspect-ratio: 3 / 4; padding: 0; border: 0; cursor: zoom-in; }
.gal__it img { width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease); }

@media (hover: hover) and (pointer: fine) { .gal__it:hover img { scale: 1.05; } }
@media (min-width: 900px) {
  .gal { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gal__it:nth-child(4n + 2), .gal__it:nth-child(4n + 4) { translate: 0 clamp(24px, 5vw, 80px); }
  .gal-foot { margin-top: clamp(56px, 8vw, 120px); }
}
.gal-foot { display: flex; justify-content: center; margin-top: 36px; }

/* Lightbox (natives dialog) */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0a1511; color: #fff; }
.lb::backdrop { background: #0a1511; }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: max(12px, env(safe-area-inset-top)) var(--gutter) 12px; }
.lb__count { font-variant-numeric: tabular-nums; color: #cfd8d2; font-size: var(--fs-small); }
.lb__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 0 var(--gutter); }
.lb__slide img { max-height: 78dvh; width: auto; max-width: 100%; border-radius: 14px; object-fit: contain; }
.lb__slide figcaption { margin-top: 12px; color: #cfd8d2; font-size: var(--fs-small); text-align: center; }
.lb__nav { display: flex; justify-content: center; gap: 12px; padding: 12px var(--gutter) max(16px, env(safe-area-inset-bottom)); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid var(--line-dark); background: transparent; color: inherit; cursor: pointer; transition: background-color var(--t-quick), border-color var(--t-quick); }
.icon-btn svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.4); } }
.icon-btn--light { border-color: var(--line); }
@media (hover: hover) and (pointer: fine) { .icon-btn--light:hover { background: rgb(14 31 25 / 0.06); border-color: var(--ink); } }

/* --------------------------------------------------------------------------
   Bewertungen
   -------------------------------------------------------------------------- */
.rev__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.rev__score { display: flex; align-items: baseline; gap: 14px; }
.rev__score .big { font-family: var(--display); font-weight: var(--dw); font-size: clamp(4rem, 3rem + 4vw, 7.5rem); line-height: 0.8; letter-spacing: -0.04em; }
.rev__track { display: flex; gap: clamp(12px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.rev__track::-webkit-scrollbar { display: none; }
.rev__card { flex: 0 0 min(84%, 440px); scroll-snap-align: start; background: var(--card); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 280px; border: 1px solid var(--line); }
.rev__card blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.32; letter-spacing: -0.02em; }
.rev__who { display: grid; gap: 2px; font-size: var(--fs-small); }
.rev__who b { font-weight: 600; }
.rev__who span { color: var(--muted); }
.rev__nav { display: flex; gap: 8px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1.4fr; gap: 80px; } .faq__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 600; font-size: 1.075rem; line-height: 1.4; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: rotate 420ms var(--ease), background-color var(--t-ui), color var(--t-ui); }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { rotate: 45deg; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq .ans { padding: 0 52px 26px 0; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .ans { animation: rise-in 420ms var(--ease) both; }
  @supports (interpolate-size: allow-keywords) {
    .faq details, .svc__item { interpolate-size: allow-keywords; }
    .faq details::details-content, .svc__item::details-content { block-size: 0; overflow: clip; transition: block-size 480ms var(--ease), content-visibility 480ms allow-discrete; }
    .faq details[open]::details-content, .svc__item[open]::details-content { block-size: auto; }
  }
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact__grid { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.1fr 1fr; } }
.phone-big { display: inline-block; font-family: var(--display); font-weight: var(--dw); font-size: clamp(2.2rem, 1.2rem + 4vw, 4.6rem); line-height: 1; letter-spacing: -0.05em; text-decoration: none; white-space: nowrap; padding-block: 6px; }
.phone-big span { background: linear-gradient(var(--leaf), var(--leaf)) 0 100% / 0 2px no-repeat; transition: background-size 520ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .phone-big:hover span { background-size: 100% 2px; } }
.contact__lines { display: grid; gap: 6px; margin-top: 20px; color: var(--on-dark-2); }
.contact__lines a { color: var(--on-dark); min-height: 44px; display: inline-flex; align-items: center; }
.composer { background: rgb(255 255 255 / 0.05); border: 1px solid var(--line-dark); border-radius: calc(var(--r) + 6px); padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; }
.composer h3 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; }
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; color: var(--on-dark-2); font-weight: 500; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0 16px;
  font-size: 16px;
  background: rgb(255 255 255 / 0.07); color: var(--on-dark);
  border: 1.5px solid transparent; border-radius: 14px;
  transition: border-color var(--t-quick), background-color var(--t-quick);
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9c7bd' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { color: var(--ink); }
.field input::placeholder { color: rgb(238 240 230 / 0.5); }
.field input:focus, .field select:focus { outline: none; border-color: var(--leaf); background-color: rgb(255 255 255 / 0.1); }
.preview { font-size: 1rem; color: var(--on-dark-2); font-style: italic; border-left: 2px solid var(--leaf); padding: 4px 0 4px 14px; }
.preview b { color: var(--on-dark); font-style: normal; font-weight: 600; }
.composer .btn { width: 100%; }

/* Einzugsgebiet */
.area__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .area__grid { grid-template-columns: 1fr 1.6fr; gap: 80px; } }
.check { position: relative; max-width: 420px; }
.check input { width: 100%; min-height: 56px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); padding: 0 20px 0 48px; font-size: 16px; }
.check input:focus { outline: none; border-color: var(--forest-3); }
.check svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--muted); }
.check__out { min-height: 1.6em; margin-top: 12px; font-size: var(--fs-small); color: var(--ink-2); }
.places { display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.3; letter-spacing: -0.035em; }
.places li { display: inline-flex; align-items: baseline; }
.places li:not(:last-child)::after { content: "·"; color: var(--muted); padding-inline: 0.35em; }
.places a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color var(--t-quick), opacity var(--t-ui); }
@media (hover: hover) and (pointer: fine) { .places a:hover { color: var(--forest-3); } }
.places.is-filtering a { opacity: 0.28; }
.places.is-filtering a.is-hit { opacity: 1; color: var(--forest-3); }

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */
.ftr { background: #0c1f18; color: var(--on-dark-2); padding: clamp(64px, 8vw, 120px) 0 calc(32px + env(safe-area-inset-bottom)); font-size: var(--fs-small); }
.ftr__big { font-family: var(--display); font-weight: var(--dw); color: var(--on-dark); font-size: clamp(2.4rem, 0.8rem + 6.4vw, 7.4rem); line-height: 0.92; letter-spacing: -0.055em; margin-bottom: clamp(48px, 6vw, 88px); }
.ftr__big em { color: var(--leaf); }
.ftr__grid { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 800px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr__logo { width: 150px; margin-bottom: 18px; }
.ftr__h { color: var(--on-dark); font-weight: 600; font-size: var(--fs-small); margin-bottom: 10px; }
.ftr a { text-decoration: none; color: var(--on-dark); }
.ftr li a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; }
.ftr p a { display: inline-block; padding-block: 11px; margin-block: -9px; }
.tap { display: inline-block; padding-block: 11px; margin-block: -11px; }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { color: var(--leaf); } }
.ftr .ftr__credit a:focus-visible { outline-color: var(--leaf); }
.ftr .ftr__credit a { margin-block: -11px; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { .ftr .ftr__credit a:hover { color: var(--leaf); } }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; }

/* --------------------------------------------------------------------------
   Kontaktleiste (Handy)
   -------------------------------------------------------------------------- */
.dock {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 6px; border-radius: 999px;
  background: rgb(12 31 24 / 0.94);
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.45);
  translate: 0 calc(100% + 24px);
  transition: translate 520ms var(--ease);
}
.dock.is-on { translate: 0 0; }
.dock .btn { min-height: 50px; font-size: 0.975rem; }
.dock .btn--ghost-dark { --bd: transparent; }
@media (min-width: 900px) { .dock { display: none; } }
html.menu-open .dock { translate: 0 calc(100% + 24px); }
@media (max-width: 899px) { .ftr { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* --------------------------------------------------------------------------
   Landingpages
   -------------------------------------------------------------------------- */
.lp-hero { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 72px)); padding-bottom: clamp(48px, 7vw, 104px); }
.lp-hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); }
.lp-hero h1 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(2.3rem, 1.3rem + 3.4vw, 5.2rem); line-height: 0.96; letter-spacing: -0.05em; margin-bottom: clamp(20px, 2.4vw, 32px); }
.lp-hero h1 em { color: var(--forest-3); }
.lp-hero h1.is-long { font-size: clamp(2rem, 1.25rem + 2.3vw, 3.8rem); line-height: 1; }
.lp-hero .lead { max-width: 44ch; margin-bottom: clamp(26px, 3vw, 40px); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: var(--fs-small); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--forest-3); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-small); color: var(--muted); margin-bottom: 20px; }
.crumbs li { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.6; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); } }

.trip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 18px); }
.trip figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); aspect-ratio: 3 / 4; }
.trip figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.trip img { width: 100%; height: 100%; object-fit: cover; }
.trip figcaption { position: absolute; left: 12px; bottom: 12px; background: rgb(12 31 24 / 0.72); color: #fff; font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; }
@media (min-width: 900px) {
  .trip { grid-template-columns: 1.3fr 1fr 1fr; }
  .trip figure:first-child { grid-column: auto; aspect-ratio: 3 / 4; }
  .trip figure:nth-child(2) { translate: 0 clamp(24px, 4vw, 64px); }
}
.trip-note { margin-top: 18px; color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 1100px) {
  .lp-hero__grid { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .lp-hero .trip { grid-template-columns: 1fr 1fr; }
  .lp-hero .trip figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .lp-hero .trip figure:nth-child(n + 2) { aspect-ratio: 1 / 1; translate: none; }
  .lp-hero .trip-note { margin-top: 16px; }
}
@media (min-width: 900px) { .trip-note { margin-top: clamp(40px, 5vw, 80px); } }

.cols { display: grid; gap: 40px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1.25fr; gap: 88px; } }
.prose { display: grid; gap: 1.1em; color: var(--ink-2); max-width: 62ch; }
.place { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--card); color: var(--ink); font-size: var(--fs-small); }
.place svg { flex: none; width: 20px; height: 20px; color: var(--forest-3); margin-top: 2px; }

.trio { display: grid; gap: 0; border-top: 1px solid var(--line); }
.trio > * { padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.trio h3 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.12; letter-spacing: -0.035em; }
.trio p { color: var(--ink-2); }
@media (min-width: 900px) {
  .trio { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .trio > * { border-bottom: 0; padding-right: clamp(24px, 3vw, 48px); }
  .trio > * + * { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 48px); }
}
.dark .trio, .dark .trio > * { border-color: var(--line-dark); }
.dark .trio p { color: var(--on-dark-2); }

.offer { display: grid; gap: clamp(32px, 4vw, 64px); margin-top: clamp(56px, 7vw, 104px); }
@media (min-width: 900px) { .offer { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--forest-3); margin-top: 2px; }
.cta-card { border-radius: calc(var(--r) + 6px); background: var(--forest); color: var(--on-dark); padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 18px; align-content: space-between; }
.cta-card h3 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 0.98; }
.cta-card p { color: var(--on-dark-2); }
.cta-card .btn { width: 100%; }
.cta-card .tel { color: var(--on-dark-2); font-size: var(--fs-small); }
.cta-card .tel a { color: var(--on-dark); display: inline-block; padding-block: 12px; }

.quote { text-align: left; max-width: 22ch; }
.quote blockquote { margin: 0; font-family: var(--display); font-weight: var(--dw); font-size: clamp(2.2rem, 1.2rem + 4vw, 5.2rem); line-height: 0.98; letter-spacing: -0.05em; }
.quote figcaption { margin-top: 24px; font-size: var(--fs-small); color: var(--muted); }
.quote figcaption b { color: var(--ink); font-weight: 600; }

.more { display: grid; gap: 48px; }
@media (min-width: 900px) { .more { grid-template-columns: 1fr 1fr; gap: 80px; } }
.more h2 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.05; margin-bottom: 14px; }
.more ul { border-top: 1px solid var(--line); }
.more li { border-bottom: 1px solid var(--line); }
.more > * { min-width: 0; }
.more a { overflow-wrap: anywhere; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; min-height: 52px; text-decoration: none; font-weight: 500; }
.more a svg { width: 18px; height: 18px; flex: none; transition: translate var(--t-ui) var(--ease); }
@media (hover: hover) and (pointer: fine) { .more a:hover svg { translate: 4px 0; } .more a:hover { color: var(--forest-3); } }

/* Rechtsseiten */
.legal { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 88px)); padding-bottom: clamp(64px, 8vw, 120px); }
.legal h1 { overflow-wrap: break-word; font-family: var(--display); font-weight: var(--dw); font-size: clamp(2rem, 1rem + 5vw, 6rem); line-height: 0.95; letter-spacing: -0.03em; margin-bottom: clamp(32px, 4vw, 56px); }
.legal__body { max-width: 68ch; display: grid; gap: 1em; color: var(--ink-2); }
.legal__body h2 { font-family: var(--display); font-weight: var(--dw); color: var(--ink); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.05; margin-top: 1.4em; }
.legal__body h3 { color: var(--ink); font-weight: 600; font-size: 1.1rem; margin-top: 0.8em; }
.legal__body a { overflow-wrap: anywhere; }

/* 404 */
.nf { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--header-h) + 40px) 80px; }
.nf h1 { font-family: var(--display); font-weight: var(--dw); font-size: clamp(3.2rem, 1.6rem + 7vw, 9rem); line-height: 0.9; letter-spacing: -0.035em; margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   Bewegung
   Grundsatz: Ohne Unterstützung oder bei "Bewegung reduzieren" ist alles
   sofort sichtbar. Nur opacity, translate, scale, clip-path.
   -------------------------------------------------------------------------- */
@keyframes rise-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes line-up { from { translate: 0 0.28em; } to { translate: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nudge-in { from { translate: 0 14px; } to { translate: 0 0; } }
@keyframes arch-open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes img-settle { from { scale: 1.14; } to { scale: 1; } }

@media (prefers-reduced-motion: no-preference) {
  /* Seitenstart */
  .hero__title .ln > span { animation: line-up 900ms var(--ease) both; }
  .hero__title .ln:nth-child(2) > span { animation-delay: 90ms; }
  .hero__title .ln:nth-child(3) > span { animation-delay: 180ms; }
  .hero__sub, .hero .btn-row, .hero__meta { animation: rise-in 900ms var(--ease) both; }
  .hero__sub { animation-delay: 320ms; }
  .hero .btn-row { animation-delay: 400ms; }
  .hero__meta { animation-delay: 480ms; }
  .hero__img .arch { animation: arch-open 1300ms var(--ease-io) 150ms both; }
  .hero__img--b .arch { animation-delay: 300ms; }
  .hero__img .arch img { animation: img-settle 1800ms var(--ease) 150ms both; }
  .hero__img figcaption { animation: fade 900ms var(--ease) 900ms both; }
  .hero__badge { animation: rise-in 800ms var(--ease) 900ms both; }
  /* H1 und Einleitung sind LCP-Kandidaten: nur Bewegung, keine Deckkraft (sonst zählt LCP erst nach der Animation) */
  .lp-hero h1, .lp-hero .lead { animation: nudge-in 900ms var(--ease) both; }
  .lp-hero .btn-row, .lp-hero .trust, .crumbs { animation: rise-in 900ms var(--ease) both; }
  .lp-hero .lead { animation-delay: 80ms; }
  .lp-hero .btn-row { animation-delay: 160ms; }
  .lp-hero .trust { animation-delay: 240ms; }

  @supports (animation-timeline: view()) {
    [data-rise] {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    [data-rise-kids] > * {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    [data-rise-kids] > :nth-child(2) { animation-range: entry 6% entry 66%; }
    [data-rise-kids] > :nth-child(3) { animation-range: entry 12% entry 72%; }
    [data-rise-kids] > :nth-child(4) { animation-range: entry 18% entry 78%; }
    [data-reveal] {
      animation: arch-open linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    [data-reveal] img {
      animation: img-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
    [data-reveal="box"] { animation-name: box-open; }
    @keyframes box-open { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

    /* Statement: Wörter werden beim Lesen dunkel */
    .statement__text { view-timeline-name: --stmt; }
    .statement__text .w {
      animation: word-in linear both;
      animation-timeline: --stmt;
      animation-range: cover calc(12% + var(--p) * 36%) cover calc(18% + var(--p) * 36%);
    }
    @keyframes word-in { from { color: #7f8984; } to { color: var(--ink); } }

    /* Bildband: Parallaxe */
    .band { view-timeline-name: --band; }
    .band__img img { animation: band-par linear both; animation-timeline: --band; animation-range: cover 0% cover 100%; }
    @keyframes band-par { from { translate: 0 -12%; } to { translate: 0 0; } }
    .band__cap p { animation: rise-in linear both; animation-timeline: --band; animation-range: entry 40% cover 55%; }

    /* Ablauf: Linien zeichnen sich */
    .step::before { animation: draw linear both; animation-timeline: view(); animation-range: entry 10% entry 80%; }
    @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* Kopfzeile: Fortschritt */
    .progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--forest-3); transform-origin: left; z-index: 60; animation: grow linear both; animation-timeline: scroll(root); }
    @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
@supports not (animation-timeline: view()) { .progress { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .progress { display: none; }
}
@media print { .hdr, .dock, .menu, .progress { display: none !important; } * { animation: none !important; } }
