/* 4 Hände für alles — Stylesheet */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --ink: #15191c;
  --soft: #4a5257;
  --accent: #ff6a2a;
  --accent-ink: #15191c;
  --sky: #d6e9f2;
  --mint: #d7ede2;
  --sun: #f6f1c4;
  --peach: #ffe1d2;
  --frame: #15191c;
  --ph: #fff15c;
  --err: #a5200f;

  --font: "Schibsted Grotesk", system-ui, sans-serif;
  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-sub: clamp(1.625rem, 1.1rem + 1.6vw, 2.75rem);
  --step-head: clamp(2rem, 1.3rem + 3.5vw, 4.5rem);
  --step-display: clamp(3.5rem, 1rem + 6.6vw, 7rem);

  --m: clamp(1rem, 3.3vw, 3rem);
  --gutter: clamp(1rem, 2.2vw, 2rem);
  --section: clamp(6rem, 11vw, 12rem);
  --axis: 42%;
  --radius: 16px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5;
  letter-spacing: -0.01em; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
:target, section[id] { scroll-margin-top: 5rem; }
html { scroll-padding-top: 96px; } /* WCAG 2.4.11: Fokus nicht unter der festen Kopfleiste */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; text-wrap: balance; }
p, dd { text-wrap: pretty; }

.wrap { padding-inline: var(--m); max-width: 1680px; margin-inline: auto; }
.display { font-size: var(--step-display); letter-spacing: -0.05em; line-height: 0.88; }
.head { font-size: var(--step-head); }
.head-xl { font-size: var(--step-head); }

.skip { position: absolute; left: var(--m); top: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* Platzhalter für fehlende Angaben */
.ph { background: var(--ph); color: var(--ink); padding: 0 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-small { min-height: 44px; padding: 0 20px; }
.btn-xl { min-height: clamp(64px, 5.6vw, 84px); padding: 0 clamp(32px, 3.2vw, 52px); font-size: var(--step-lead); font-weight: 700; letter-spacing: -0.02em; }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { background: #ff7f47; }
  .btn-ink:hover { background: #2b3237; }
  .textlink:hover, .linkish:hover { text-decoration-color: var(--accent); }
}
.textlink, .linkish { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; transition: text-decoration-color 200ms ease; }

/* ---------- Kopfleiste ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: var(--gutter);
  height: 76px; padding-inline: var(--m); background: var(--bg);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; font-size: 1.1875rem; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 41px; height: 44px; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 36px); margin-left: calc(var(--axis) - 290px); font-weight: 600; }
.nav a { text-decoration: none; padding-block: 10px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; background: #eef1f3; border-radius: 999px; padding: 4px; }
.lang button { min-width: 44px; min-height: 36px; border-radius: 999px; font-weight: 600; font-size: var(--step-small); transition: background-color 200ms ease, color 200ms ease; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-toggle { display: none; font-weight: 600; min-height: 44px; padding: 0 4px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }

/* ---------- Startbildschirm ---------- */
.hero { padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.window { position: relative; height: clamp(320px, 50svh, 600px); margin-inline: var(--m); }
.glass { position: absolute; inset: 0; overflow: hidden; background: #cde7f5; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.window[data-state="clean"] .glass, .window[data-state="compare"] .glass { cursor: default; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.grime { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 700ms var(--ease-out); }
.window[data-state="clean"] .grime { opacity: 0; }
.frame { position: absolute; inset: 0; pointer-events: none; border: clamp(10px, 1.2vw, 18px) solid var(--frame); }
.frame .mullion { position: absolute; top: 0; bottom: 0; left: 50%; width: clamp(10px, 1.1vw, 16px); transform: translateX(-50%); background: var(--frame); }
.frame .transom { position: absolute; left: 0; right: 0; top: 50%; height: clamp(10px, 1.1vw, 16px); transform: translateY(-50%); background: var(--frame); }

.hint {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap;
  pointer-events: none; transition: opacity 300ms ease, transform 300ms var(--ease-out);
}
.hint span { background: #fff; padding: 4px 14px; border-radius: 999px; }
.hint-tool { animation: sweep 2.4s var(--ease-in-out) infinite; }
@keyframes sweep { 0%, 100% { transform: translateX(-36px) rotate(-8deg); } 50% { transform: translateX(36px) rotate(8deg); } }
.window:not([data-state="dirty"]) .hint { opacity: 0; transform: translate(-50%, -40%); }

.compare { position: absolute; inset: 0; }
.compare[hidden] { display: none; }
.tag { position: absolute; top: clamp(22px, 2.6vw, 36px); background: #fff; font-weight: 600; font-size: var(--step-small); padding: 6px 14px; border-radius: 999px; z-index: 2; pointer-events: none; }
.tag-before { left: clamp(22px, 2.6vw, 36px); }
.tag-after { right: clamp(22px, 2.6vw, 36px); }
.handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 6px; margin-left: -3px; background: var(--accent); z-index: 3; pointer-events: none; }
.knob { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform 200ms var(--ease-out); }
.window.dragging .knob { transform: scale(1.08); }
.range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 4; touch-action: pan-y; }
.range:focus-visible ~ .handle .knob, .compare:focus-within .knob { outline: 3px solid var(--ink); outline-offset: 3px; }

.hero-text { display: grid; gap: clamp(22px, 2.6vw, 36px); padding: clamp(28px, 3.4vw, 48px) var(--m) 0; }
.hero-text .display { font-size: min(calc((100vw - 2 * var(--m)) / 8.1), 11rem); white-space: nowrap; }
.display .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.display .line > span { display: inline-block; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px var(--gutter); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.actions .textlink { font-size: var(--step-lead); }
.status {
  position: absolute; left: 50%; top: clamp(22px, 2.4vw, 34px); transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 14px; white-space: nowrap; max-width: calc(100% - 48px);
  background: #fff; color: var(--ink); font-size: var(--step-small); padding: 8px 8px 8px 18px; border-radius: 999px;
}
.status .linkish { background: var(--ink); color: #fff; text-decoration: none; padding: 6px 14px; border-radius: 999px; min-height: 32px; transition: transform 160ms var(--ease-out); }
.status .linkish:active { transform: scale(0.97); }
.window:not([data-state="dirty"]) .status { display: none; }
.pct { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.linkish { color: var(--ink); min-height: 24px; }
.done-msg { display: none; max-width: 22ch; font-size: var(--step-sub); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; outline: none; }
.window[data-state="compare"] ~ .hero-text .done-msg { display: block; animation: rise 700ms var(--ease-expo) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Farbflächen ---------- */
.field { padding-block: var(--section); }
.field-sky { background: var(--sky); }
.field-mint { background: var(--mint); }
.field-sun { background: var(--sun); }
.axis-grid > *, .gebiet-grid > *, .hero-text > * { min-width: 0; }
.axis-grid { display: grid; grid-template-columns: calc(var(--axis) - var(--gutter)) 1fr; gap: var(--gutter); align-items: start; }

/* ---------- Anfrage ---------- */
.anfrage-title, .gebiet-title { margin-bottom: clamp(40px, 5vw, 72px); max-width: 20ch; }
.anfrage .side { display: grid; gap: 24px; max-width: 30rem; position: sticky; top: 110px; }
.anfrage .side > p { font-size: var(--step-lead); line-height: 1.35; }
.wa-block { display: grid; gap: 12px; justify-items: start; margin-top: 12px; }
.wa-big { min-height: 60px; white-space: normal; text-align: left; padding-block: 10px; }
.note { font-size: var(--step-small); }

.form { display: grid; gap: 22px; background: #fff; padding: clamp(22px, 3vw, 44px); border-radius: var(--radius); }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fld { display: grid; gap: 8px; font-weight: 600; }
.fld input, .fld textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px;
  background: #f2f5f7; border: 2px solid #f2f5f7; font-weight: 400;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
::placeholder { color: #5b6368; opacity: 1; }
.err { display: none; color: var(--err); font-weight: 600; font-size: var(--step-small); }
.invalid .err, .consent-err.show { display: block; }
.invalid input { border-color: var(--err); background: #fff; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #f2f5f7; font-weight: 600; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.chips input:checked + span { background: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.chips label:active span { transform: scale(0.97); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: var(--step-small); }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); }
.consent-err { margin-top: -12px; }
.tel-consent { display: grid; gap: 8px; margin-top: -8px; }
.tel-consent-err.show { display: block; }
.form.sent .tel-consent { opacity: 0.5; pointer-events: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* taste-skill-ignore: verstecktes Spam-Feld */
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-weight: 600; }
.form-status.ok { color: #1d6b3a; }
.form-status.bad { color: var(--err); }
.form.sending button[type="submit"] { opacity: 0.6; pointer-events: none; }
.form.sent .fld, .form.sent .chips, .form.sent .consent, .form.sent .row { opacity: 0.5; pointer-events: none; }

/* ---------- Aus unseren Aufträgen ---------- */
.auftraege { padding-block: var(--section) 0; }
.auftraege .head { margin-bottom: clamp(40px, 5vw, 72px); }
.auf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.auf img, .auf video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--sky); }
.auf-video { margin-top: clamp(48px, 7vw, 120px); }
.auf:first-child img { object-position: 50% 28%; }
.auf figcaption, .r-pic figcaption { padding-top: 12px; font-size: var(--step-small); color: var(--soft); }

/* ---------- Leistungen ---------- */
.leistungen { padding-block: var(--section); }
.leistungen .head-xl { margin-left: var(--axis); max-width: 12ch; margin-bottom: clamp(64px, 9vw, 140px); }
.rows { display: grid; gap: clamp(72px, 8vw, 120px); }
.r { display: grid; grid-template-columns: calc(var(--axis) - var(--gutter)) 1fr auto; gap: var(--gutter); align-items: start; }
.r-text { grid-column: 2; display: grid; gap: 14px; justify-items: start; max-width: 36ch; }
.r-text h3 { font-size: var(--step-sub); }
.r-text .btn { margin-top: 10px; }
.r-pic { grid-column: 3; }
.r-pic img, .r-pic svg { width: 100%; height: 100%; object-fit: cover; }
.w-a { width: clamp(220px, 24vw, 360px); } .w-a img { aspect-ratio: 4 / 5; object-position: 50% 70%; }
.w-b { width: clamp(240px, 28vw, 420px); } .w-b svg { aspect-ratio: 3 / 2; }
.w-c { width: clamp(200px, 19vw, 290px); } .w-c img { aspect-ratio: 4 / 5; object-position: 50% 40%; }
.w-d { width: clamp(200px, 20vw, 300px); } .w-d svg { aspect-ratio: 1; }
.anything { width: clamp(160px, 15vw, 220px); }
.anything img { width: 100%; height: auto; }

/* Breite Bildschirme: Überschrift steht links auf der Achse und wandert mit, statt eine leere Spalte zu lassen */
@media (min-width: 1081px) {
  .leistungen > .wrap { display: grid; grid-template-columns: calc(var(--axis) - var(--gutter)) minmax(0, 1fr); column-gap: var(--gutter); align-items: start; }
  .leistungen .head-xl { margin: 0; position: sticky; top: 120px; }
  .leistungen .r { grid-template-columns: minmax(0, 1fr) auto; }
  .leistungen .r-text { grid-column: 1; }
  .leistungen .r-pic { grid-column: 2; }
}
.js .r-last .anything img { transform: rotate(-90deg) scale(0.9); transition: transform 1400ms var(--ease-expo) 200ms; }
.js .r-last.in .anything img { transform: none; }

/* ---------- Gebiet ---------- */
.gebiet-grid { display: grid; grid-template-columns: calc(var(--axis) - var(--gutter)) 1fr; gap: var(--gutter); align-items: center; }
.gebiet-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-content: start; }
.gebiet-text > p:first-of-type { font-size: var(--step-lead); line-height: 1.35; }
.ortcheck { display: grid; gap: 10px; }
.ortcheck label { font-weight: 600; }
.ortcheck-row { display: flex; gap: 10px; }
.ortcheck input { flex: 1; width: 100%; min-width: 0; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 2px solid #fff; background: #fff; }
.ortcheck input:focus { outline: none; border-color: var(--ink); }
.ortcheck-out { min-height: 1.5em; font-weight: 600; max-width: 46ch; }
.orte-list { font-size: var(--step-small); max-width: 60ch; }
.map { justify-self: end; width: 100%; max-width: 680px; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map figcaption { font-size: var(--step-small); padding-top: 10px; color: #4f4a1f; }
.map .town { transition: transform 300ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
.map .town.hit circle { fill: var(--accent); }
.map .town text { paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; } /* Ortsnamen bleiben über Punkten, Fluss und Kreisrand lesbar */

/* ---------- Fragen ---------- */
.fragen { padding-block: var(--section); background: var(--peach); }
.fragen .head { margin-bottom: clamp(48px, 6vw, 88px); }
.faq { display: grid; gap: clamp(56px, 6vw, 88px); }
.qa { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.qa dt { grid-column: 1 / span 6; font-size: var(--step-sub); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.qa dd { grid-column: 8 / span 5; line-height: 1.55; max-width: 42ch; padding-top: 0.3em; }

/* ---------- Abschluss ---------- */
.foot { background: var(--ink); color: #fff; display: flex; }
.foot > .wrap { width: 100%; display: flex; flex-direction: column; padding-block: 40px 28px; }
.foot-top { display: flex; justify-content: space-between; gap: var(--gutter); align-items: start; }
.foot-notes { display: flex; flex-wrap: wrap; gap: 20px clamp(24px, 4vw, 64px); font-size: var(--step-small); }
.foot-call { padding-top: clamp(72px, 10vw, 140px); font-size: var(--step-lead); font-weight: 600; }
.foot-big { display: block; color: var(--accent); font-size: var(--step-display); font-weight: 800; letter-spacing: -0.05em; line-height: 0.92; text-decoration: none; margin: 12px 0 clamp(48px, 7vw, 96px); transition: transform 200ms var(--ease-out); }
.foot-big:active { transform: scale(0.99); }
.foot-big .ph { font-size: 0.6em; vertical-align: 0.25em; letter-spacing: -0.03em; }
.foot-meta { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: var(--gutter); font-size: var(--step-small); align-items: end; }
.foot-meta p:last-child { text-align: right; }
.foot-meta .credits { line-height: 1.45; max-width: 68ch; }
.foot ::selection { background: var(--accent); color: var(--ink); }
.foot .up { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.foot :focus-visible { outline-color: #fff; }

/* ---------- Einwilligung (Werbe-Pixel) ---------- */
/* Alle drei Knöpfe gleich gewichtet: Ablehnen darf nicht schwerer zu finden sein als Annehmen. */
.consent-box {
  position: fixed; z-index: 40; left: var(--m); bottom: var(--m);
  width: min(30rem, calc(100% - 2 * var(--m))); max-height: calc(100svh - 2 * var(--m)); overflow-y: auto;
  display: grid; gap: 14px; padding: 24px; border-radius: var(--radius);
  background: var(--bg); color: var(--ink); font-size: var(--step-small);
  box-shadow: 0 0 0 2px var(--ink), 0 18px 48px rgba(21, 25, 28, 0.18);
  opacity: 0; transform: translateY(12px);
  transition: opacity 240ms var(--ease-out), transform 320ms var(--ease-out);
}
.consent-box.show { opacity: 1; transform: none; }
.consent-box[hidden] { display: none; }
.consent-title { font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.05; }
.consent-opts { display: grid; gap: 12px; }
.consent-opts[hidden], .consent-opts [hidden] { display: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { flex: 1 1 auto; }
.btn-line { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); background: var(--bg); }
@media (hover: hover) and (pointer: fine) { .btn-line:hover { background: var(--ink); color: #fff; } }
.consent-more a { font-weight: 600; }

/* ---------- Bewegung ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img img { clip-path: inset(12% 0 0 0); transform: scale(1.06); transition: clip-path 1200ms var(--ease-in-out), transform 1600ms var(--ease-expo); }
.js .reveal-img.in img { clip-path: inset(0 0 0 0); transform: none; }
.js .display .line > span { transform: translateY(105%); animation: lineup 900ms var(--ease-expo) forwards; }
.js .hero-row { animation: rise 700ms var(--ease-out) 320ms both; }
@keyframes lineup { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .consent-box { transition: opacity 200ms ease; transform: none; }
  .js .reveal, .js .reveal-img img { transform: none; clip-path: none; transition: opacity 400ms ease; }
  .js .display .line > span { animation: none; transform: none; }
  .js .hero-row, .done-msg { animation: none !important; }
  .hint-tool { animation: none; }
  .js .r-last .anything img { transform: none; transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav { margin-left: auto; }
  .bar-end { margin-left: 0; }
  .r { grid-template-columns: 20% 1fr auto; }
  .leistungen .head-xl { margin-left: 20%; }
  .qa dt { grid-column: 1 / span 6; }
  .qa dd { grid-column: 7 / span 6; }
}

/* ---------- Kopfleiste schmal ---------- */
@media (max-width: 900px) {
  .bar { height: 64px; gap: 10px; }
  .bar .btn-small { display: none; }
  .menu-toggle { display: inline-block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; background: var(--bg); padding: 4px var(--m) 20px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .nav:not(.open) { opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; }
  .bar-end { margin-left: auto; }
}

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  :root { --axis: 0%; }
  .brand span { display: none; }

  .window { height: 56svh; min-height: 340px; }
  .status-wipe > span:first-child { display: none; }
  .status:has(.pct:empty) { padding-left: 6px; gap: 0; }
  .status:has(.pct:empty) .status-wipe { display: none; }
  .scene { object-position: 50% 62%; }
  .hero-text { gap: 22px; padding-top: 24px; }
  .actions { gap: 16px 22px; width: 100%; }
  .actions .btn-xl { width: 100%; }
  .actions .textlink { font-size: var(--step-body); }
  .knob { width: 52px; height: 52px; margin: -26px 0 0 -26px; }

  .axis-grid, .gebiet-grid { grid-template-columns: 1fr; }
  .anfrage .side { position: static; }
  .row.two { grid-template-columns: 1fr; }
  .form { padding: 20px; margin-inline: calc(var(--m) * -0.5); }

  .auf-grid { grid-template-columns: 1fr 1fr; }
  .auf-video { grid-column: 1 / -1; grid-row: 1; margin-top: 0; }
  .auf-video video { aspect-ratio: 4 / 5; }

  .leistungen .head-xl { margin-left: 0; }
  .r { grid-template-columns: 1fr; }
  .r-text, .r-pic { grid-column: 1; }
  .w-a { width: 100%; } .w-b { width: 82%; justify-self: end; } .w-c { width: 70%; } .w-d { width: 66%; justify-self: end; }
  .anything { width: 42%; }

  .map { justify-self: stretch; }

  .qa { grid-template-columns: 1fr; gap: 12px; }
  .qa dt, .qa dd { grid-column: 1; }

  .foot-top { flex-direction: column; }
  .foot-notes { flex-direction: column; gap: 14px; }
  .foot-big { font-size: 14vw; }
  .foot-meta { grid-template-columns: 1fr; }
  .foot-meta p:last-child { text-align: left; }
}

/* ---------- Impressum und Datenschutz ---------- */
.legal { max-width: 62rem; margin-inline: auto; padding-block: clamp(40px, 6vw, 96px) var(--section); }
.legal .head { margin: 28px 0 clamp(32px, 4vw, 56px); }
.legal h2 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; margin: 48px 0 12px; }
.legal p { max-width: 68ch; margin-bottom: 14px; }
.legal a { overflow-wrap: anywhere; }
.legal ul { max-width: 68ch; margin: 0 0 14px; padding-left: 1.25em; list-style: disc; display: grid; gap: 8px; }
.draft { background: var(--ph); padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.hint-note { font-size: var(--step-small); color: var(--soft); }
.legal-foot { padding-block: 32px 48px; background: var(--ink); color: #fff; max-width: none; }
.legal-page .bar-end { margin-left: auto; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
