/* =====================================================================
   site.css — Hauptseiten · Autohof Wentorf (Autohaus 18)
   Haut B „Die Visitenkarte“ (bau-brief §4 Palette · §5 Typo · §6 Plakette/Tafel ·
   §10 Motion „Das Ablegen“ · §11 Tiefe „Karte & Stahl“). Statik: vorlagen/auto-statik.md.
   Thema: data-thema="hell|dunkel" an <html> — Start IMMER hell, auch bei
   prefers-color-scheme: dark (GESETZ Kap. 1). Dieselbe gespeicherte Wahl
   (localStorage "thema") gilt für Detailseiten (detail.css) und Hauptseiten.
   Jeder Farb-Token aus :root hat seinen Partner in [data-thema="dunkel"],
   ausgenommen *-fest und Schleier (GESETZ Kap. 11).
   ===================================================================== */

/* ---------- Schriften (lokal, kein CDN — GESETZ Kap. 15) ---------- */
@font-face {
  font-family: "Kanit";
  src: url("../fonts/kanit-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("../fonts/kanit-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kanit";
  src: url("../fonts/kanit-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/readex-pro-latin-wght.woff2") format("woff2");
  font-weight: 160 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/readex-pro-arabic-wght.woff2") format("woff2");
  font-weight: 160 700;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* ---------- Tokens hell (Start) ---------- */
:root {
  --grund: #f7f5f6;
  --flaeche: #ece9eb;
  --kante: #d3d0d3;
  --tinte: #16161a;
  --meta: #5a5a51;
  --magenta: #c41f42;
  --magenta-hover: #a31937;
  --magenta-text: #c41f42;
  --leit: #e1254c;
  --stahl: #a7adb1;
  --tafel: #16161a;
  --tafel-kante: #16161a;
  --wa: #16161a;
  /* themenfest (Kap. 11) — kein Thema überschreibt diese */
  --dunkel-fest: #14181b;
  --kalk-fest: #f8fafa;
  --meta-fest: #c9d1d4;
  --schleier-fest: rgba(20, 24, 27, 0.6);
  /* Rollen */
  --knopf-text: var(--kalk-fest);
  --radius: 4px;
  --display: "Kanit", "Segoe UI", system-ui, sans-serif;
  --text: "Readex Pro", "Segoe UI", system-ui, sans-serif;
  /* Bewegung (bau-brief §10) */
  --ease-ablegen: cubic-bezier(0.22, 0.9, 0.28, 1);
  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
  /* Maße */
  --leiste: 80px;
  --kontakt: 64px;
  --rand: clamp(1.15rem, 4vw, 4.5rem);
  /* Rechter Rand (Fix R1 Punkt 2): ab 761 px stehen Anrufen/WhatsApp als 64-px-Säule im rechten Randstreifen —
     Text und Bedienelemente halten rechts immer 88 px frei. --rand-r = Bahn-Container (zentriert, zählt den
     Außenabstand mit), --rand-rv = am Viewport verankerte Ränder. Bühnen/Anschnitte laufen weiter über die Kante. */
  --rand-r: var(--rand);
  --rand-rv: var(--rand);
  --bahn: 1360px;
  /* Type-Scale (bau-brief §5) */
  --fs-xxl: clamp(5.5rem, 2rem + 12vw, 12rem);
  --fs-h1: clamp(2rem, 1.2rem + 2.3vw, 3.2rem);
  --fs-h2: clamp(1.8rem, 1.1rem + 2.1vw, 2.9rem);
  --fs-h3: clamp(1.2rem, 1rem + 0.6vw, 1.45rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-cap: 0.8rem;
  --fs-wert: clamp(2.4rem, 1.4rem + 2.6vw, 3.6rem);
  --fs-preis: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  color-scheme: light;
}
@media (min-width: 761px) {
  :root {
    --rand-r: max(var(--rand), calc(88px - max(0px, (100vw - var(--bahn) - 2 * var(--rand)) / 2)));
    --rand-rv: max(var(--rand), 88px);
  }
}
/* ---------- Tokens dunkel (nur per Schalter) ---------- */
[data-thema="dunkel"] {
  --grund: #141316;
  --flaeche: #1e1c20;
  --kante: #2e2b31;
  --tinte: #efedee;
  --meta: #aba6ad;
  --magenta: #c41f42;
  --magenta-hover: #a31937;
  --magenta-text: #ff7d93;
  --leit: #e1254c;
  --stahl: #5e6468;
  /* Fix R1 Punkt 10: Tafel als Band erkennbar — eine Stufe tiefer als der Grund und 1-px-Kante in
     hellerem Stahl (#8a9095 ≈ 5,7:1 zu --grund); #5e6468 lag mit 2,9:1 im Bild unsichtbar. */
  --tafel: #060607;
  --tafel-kante: #8a9095;
  --wa: #0b0b0d;
  color-scheme: dark;
}

/* ---------- Grundlage ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--leiste) + 1rem);
}
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--magenta-text);
}
button,
input,
select,
textarea {
  font: inherit;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--tinte);
  overflow-wrap: break-word;
}
@media (min-width: 640px) {
  .nw {
    white-space: nowrap;
  }
}
.h2 {
  text-wrap: balance;
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h3 {
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.2;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--meta);
}
.eyebrow {
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--meta);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  font-size: 0;
}
.sprung:focus {
  position: fixed !important;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  z-index: 200;
  background: var(--tinte);
  color: var(--grund);
}
.bahn {
  width: 100%;
  max-width: calc(var(--bahn) + 2 * var(--rand));
  margin-inline: auto;
  padding-left: var(--rand);
  padding-right: var(--rand-r);
}
:focus-visible {
  outline: 2px solid var(--leit);
  outline-offset: 2px;
}
main {
  padding-top: var(--leiste);
}

/* ---------- Knöpfe (Karte & Stahl: Radius 4, keine Schatten) ---------- */
.knopf {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--magenta);
  border-radius: var(--radius);
  background: var(--magenta);
  color: var(--knopf-text);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 140ms var(--ease-ui);
}
.knopf:active {
  transform: scale(0.98);
}
.knopf--rand {
  background: transparent;
  color: var(--tinte);
  border-color: var(--stahl);
}
.knopf--voll {
  width: 100%;
}
.knopf svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.pfeil-link {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  color: var(--magenta-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .knopf:hover {
    background: var(--magenta-hover);
    border-color: var(--magenta-hover);
  }
  .knopf--rand:hover {
    background: var(--flaeche);
    border-color: var(--tinte);
    color: var(--tinte);
  }
  .pfeil-link:hover {
    border-bottom-color: currentColor;
  }
}

/* ---------- Kopfleiste (deckend 80 px, bau-brief §1 Abweichung) ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--grund);
  border-bottom: 1px solid var(--kante);
}
.nav__inner {
  position: relative;
  height: var(--leiste);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: calc(var(--bahn) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}
.nav__marke {
  flex: 0 0 auto;
  display: block;
}
.nav__logo {
  height: 60px;
  width: auto;
}
.nav__logo--dunkel,
[data-thema="dunkel"] .nav__logo--hell {
  display: none;
}
[data-thema="dunkel"] .nav__logo--dunkel {
  display: block;
}
.nav__inner > nav {
  margin-left: auto;
}
.nav__liste {
  list-style: none;
  display: flex;
  gap: clamp(0.9rem, 1.6vw, 1.7rem);
  margin: 0;
  padding: 0;
}
.nav__liste a {
  color: var(--tinte);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  white-space: nowrap;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease;
}
.nav__liste a[aria-current="page"] {
  border-bottom-color: var(--leit);
}
.nav__rechts {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.rund {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
  background: transparent;
  color: var(--tinte);
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transition:
    background-color 160ms ease,
    transform 140ms var(--ease-ui);
}
.rund:active {
  transform: scale(0.97);
}
.rund svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
@media (hover: hover) and (pointer: fine) {
  .rund:hover {
    background: var(--flaeche);
  }
  .nav__liste a:hover {
    border-bottom-color: var(--leit);
  }
}
.nav__merkzahl {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--magenta);
  color: var(--knopf-text);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.nav__merkzahl[hidden] {
  display: none;
}
.thema-sonne {
  display: none !important;
}
[data-thema="dunkel"] .thema-mond {
  display: none !important;
}
[data-thema="dunkel"] .thema-sonne {
  display: block !important;
}
.nav__burger {
  display: none;
  flex-direction: column;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 2px 0;
  transition:
    transform 200ms var(--ease-ui),
    opacity 160ms ease;
}
.nav[data-offen="ja"] .nav__burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav[data-offen="ja"] .nav__burger span:nth-child(2) {
  opacity: 0;
}
.nav[data-offen="ja"] .nav__burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
/* Mobil-Menü = schwebende Karte, 2 Spalten (GESETZ Kap. 2: ab 5 Einträgen mehrspaltig),
   sanft ein/aus statt display-Sprung; Grund folgt der Leiste (Thema). */
.nav__mobil {
  position: absolute;
  top: calc(var(--leiste) - 4px);
  right: var(--rand);
  width: min(26rem, calc(100vw - 2 * var(--rand)));
  background: var(--grund);
  border: 1px solid var(--stahl);
  border-radius: 6px;
  box-shadow: 0 22px 48px -20px rgba(10, 10, 14, 0.45);
  padding: 0.95rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transform-origin: top right;
  transition:
    opacity 200ms var(--ease-ui),
    transform 200ms var(--ease-ui),
    visibility 0s linear 200ms;
}
.nav[data-offen="ja"] .nav__mobil {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 200ms var(--ease-ui),
    transform 200ms var(--ease-ui),
    visibility 0s;
}
.nav__mobil ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.9rem;
}
.nav__mobil a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.25rem;
  color: var(--tinte);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.2;
  border-bottom: 1px solid var(--kante);
}
.nav__mobil a[aria-current="page"] {
  border-bottom-color: var(--leit);
}

/* =====================================================================
   Kopf Start — übernommen 1:1 aus _arbeit/partials/kopf-start.css (@hero-engineer, Schritt 4)
   kopf-start.css — Start-Kopf · Autohof Wentorf (Autohaus 18)
   WEB-CREW Schritt 4 (@hero-engineer), 04.10.2026 · Haut B „Die Visitenkarte"
   Einbau (Schritt 6): diese Datei NACH tokens/site.css laden (oder Inhalt
   in site.css übernehmen). Gilt auch für den Unterseiten-Kopf
   (kopf-unterseite.css ergänzt nur die Abweichungen).

   Thema: data-thema="hell|dunkel" an <html> (_arbeit/schnittstelle-schritt6.md §1).
   Tokens: die Seite liefert --grund/--tinte/… (detail.css-Werte). Hier stehen
   sie nur als Rückfall in var(…, Rückfall) — der Kopf funktioniert damit auch
   allein (Testseite _arbeit/_kopftest/), überschreibt aber nie die Seiten-Tokens.

   Regeln, die hier umgesetzt sind (Verweis, keine Kopie):
   GESETZ Kap. 5 (Sofortstart, kein poster, Text unten links, EIN CTA,
   < 900 px Bildband + Text mittig darunter, H1 eine Stufe kleiner,
   Kontaktleiste bündig) · Kap. 11 (Scrim nur gerichtet hinter dem Text,
   Video nie abgedunkelt/unscharf, themenfeste Bühnen-Tokens) ·
   bau-brief §1 (Head-Höhe calc(100svh − 80px − 64px)), §5 (Typo), §10 (Motion).
   ===================================================================== */

.kopf {
  /* --- Seiten-Tokens mit Haut-B-Rückfall (hell) --- */
  --k-grund: var(--grund, #f7f5f6);
  --k-tinte: var(--tinte, #16161a);
  --k-meta: var(--meta, #5a5a51);
  --k-magenta: var(--magenta, #c41f42);
  --k-magenta-hover: var(--magenta-hover, #a31937);
  --k-magenta-text: var(--magenta-text, #c41f42);
  /* --- themenfest (Kap. 11): kein Thema überschreibt diese --- */
  --k-dunkel-fest: var(--dunkel-fest, #14181b);
  --k-kalk-fest: var(--kalk-fest, #f8fafa);
  --k-meta-fest: var(--meta-fest, #c9d1d4);
  /* Akzentwort auf der Bühne: helle Magenta-Variante (dunkel-Token --magenta-text),
     weil #c41f42 auf dem Scrim nur ~3:1 trägt. Gemessen in hero-abnahme.md. */
  --k-akzent-buehne: #ff7d93;
  /* --- Maße --- */
  --k-leiste: var(--leiste, 80px);
  --k-kontaktleiste: var(
    --kontaktleiste-h,
    64px
  ); /* 0px setzen, wenn keine Leiste folgt */
  --k-rand: var(--rand, clamp(1.1rem, 4vw, 3rem));
  --k-display: var(--display, "Kanit", "Segoe UI", system-ui, sans-serif);
  --k-text: var(--text, "Readex Pro", "Segoe UI", system-ui, sans-serif);
  --k-ease: var(--ease, cubic-bezier(0.22, 0.9, 0.28, 1));
  --k-radius: var(--radius, 4px);

  position: relative;
  isolation: isolate;
  height: calc(100svh - var(--k-leiste) - var(--k-kontaktleiste));
  min-height: 30rem;
  overflow: hidden;
  /* Medienfläche trägt den dunklen Grundton bis zum ersten Frame (hero-video-encode §5) */
  background: var(--k-dunkel-fest);
  color: var(--k-kalk-fest);
  margin: 0; /* bündig: keine Lücke zur Kontaktleiste (Kap. 5) */
}
[data-thema="dunkel"] .kopf {
  --k-grund: var(--grund, #141316);
  --k-tinte: var(--tinte, #efedee);
  --k-meta: var(--meta, #aba6ad);
  --k-magenta-text: var(--magenta-text, #ff7d93);
}

/* ---------- Medium: Video bzw. Bühnenbild randlos ---------- */
.kopf__medium {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--k-dunkel-fest);
}
.kopf__video,
.kopf__bild {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Start-Clip: Busdach steht am Ende ~5 % unter der Oberkante → oben halten */
  object-position: 50% 35%;
  background: var(--k-dunkel-fest);
  /* nie abgedunkelt, nie unscharf (Kap. 11): kein filter, keine opacity */
}

/* ---------- Scrim: NUR hinter dem Text, gerichtet von unten links ----------
   max. 0,6 Deckung, ≤ 45 % der Kopfhöhe, ≤ ~55 % der Breite (bau-brief §4). */
.kopf::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: min(58%, 64rem);
  height: 45%;
  pointer-events: none;
  background: radial-gradient(
    120% 105% at 0% 100%,
    rgba(20, 24, 27, 0.6) 0%,
    rgba(20, 24, 27, 0.46) 38%,
    rgba(20, 24, 27, 0.18) 64%,
    rgba(20, 24, 27, 0) 82%
  );
}

/* ---------- Text unten links ---------- */
.kopf__text {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
  /* Text bleibt links von der Karosserie: Bus steht am Clip-Ende ab ~41 % Bildbreite */
  width: min(40vw, 40rem);
  min-width: 0;
  padding: 0 0 clamp(1.75rem, 5.5vh, 3.25rem) var(--k-rand);
  /* Bühnen-Text-Tokens umdefiniert (Kap. 11) — keine color-Regeln je Selektor */
  --k-text-farbe: var(--k-kalk-fest);
  --k-text-leise: var(--k-meta-fest);
  --k-akzent: var(--k-akzent-buehne);
  color: var(--k-text-farbe);
  text-shadow: 0 1px 2px rgba(11, 12, 14, 0.35);
}

.kopf__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--k-text);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--k-text-leise);
}

.kopf__h1 {
  margin: 0;
  font-family: var(--k-display);
  color: var(--k-text-farbe);
  text-wrap: balance;
}
.kopf__z1 {
  display: block;
  font-weight: 500;
  font-size: clamp(1.05rem, 0.75rem + 0.75vw, 1.5rem);
  line-height: 1.22;
  letter-spacing: 0;
  margin-bottom: 0.45rem;
}
.kopf__z2 {
  display: block;
  font-weight: 600;
  /* H1-Token bau-brief §5: clamp(2rem, 1.2rem + 2.3vw, 3.2rem) */
  font-size: clamp(2rem, 1.2rem + 2.3vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.kopf__akzent {
  color: var(--k-akzent);
}
.kopf__h1 .w {
  display: inline-block;
}

/* ---------- EIN CTA ---------- */
.kopf__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  border: 0;
  border-radius: var(--k-radius);
  background: var(--k-magenta);
  color: var(--k-kalk-fest);
  font-family: var(--k-text);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1;
  text-decoration: none;
  text-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.2s var(--k-ease);
}
.kopf__cta:hover {
  background: var(--k-magenta-hover);
}
.kopf__cta:focus-visible {
  outline: 3px solid var(--leit, #e1254c);
  outline-offset: 3px;
}
.kopf__cta-pfeil {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

/* ---------- Fix R1 Punkt 1: Start-Kopf über die GANZE Clip-Dauer lesbar ----------
   Gemessen (Fremd-Blick R1, h1-messung.json): der flächige Eck-Scrim lag auf Höhe Zeile 1 nur noch bei
   0,18–0,46 Deckung; ab ~8 s wird der Asphalt hinter dem Text hell → Z1 1,8:1, „Ehrlich“ (Rosa) 1,07:1.
   Neu: der Verlauf sitzt NUR hinter dem Textblock (Textecke, GESETZ Kap. 11) — volle 0,6 Deckung unter
   jeder Zeile, weiche Kanten nach oben und rechts; das übrige Video bleibt unabgedunkelt. 0,6 hält selbst
   über reinem Weiß ≥ 4,5:1 für #f8fafa. „Ehrlich“ trägt Weiß + 3-px-Unterstrich in --leit (Akzent bleibt). */
@media (min-width: 900px) {
  .kopf--start::after,
  .kopf--kontakt::after {
    content: none;
  }
  .kopf--start .kopf__text {
    /* Block sitzt tiefer: Zeile 1 rückt vom Stoßstangen-Band der Reihen-Autos auf den freien Asphalt */
    padding-bottom: clamp(1.25rem, 3.6vh, 2.5rem);
    --k-akzent: var(--k-kalk-fest);
  }
  /* kontakt: Eyebrow lag über der hellen Tischmatte (Gate zweites-thema-kontrast 2,45:1) → gleicher Textverlauf */
  .kopf--start .kopf__text::before,
  .kopf--kontakt .kopf__text::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    top: -3.5rem;
    right: -12rem;
    pointer-events: none;
    background: rgba(20, 24, 27, 0.6);
    -webkit-mask-image:
      linear-gradient(to right, #000 calc(100% - 14rem), rgba(0, 0, 0, 0.5) calc(100% - 7rem), transparent),
      linear-gradient(to bottom, transparent, #000 3.5rem);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, #000 calc(100% - 14rem), rgba(0, 0, 0, 0.5) calc(100% - 7rem), transparent),
      linear-gradient(to bottom, transparent, #000 3.5rem);
    mask-composite: intersect;
  }
  .kopf--start .kopf__akzent {
    text-decoration: underline;
    text-decoration-color: var(--leit, #e1254c);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.12em;
    text-decoration-skip-ink: none;
  }
}

/* =====================================================================
   0–3 s Auftritt (hero-craft §2/§4 + bau-brief §10 „Text Fade + 6 px")
   Das Video läuft ab Frame 0 ohne Einblendung (Sofortstart). Der Text legt
   sich in EINER überlappten Bewegung ab: Eyebrow → Zeile 1 (Wort für Wort,
   60 ms) → Pointe (Wort für Wort, 110 ms) → CTA. Ende ≈ 2,3 s.
   Reine CSS-Animation mit fill-mode both: kein JS nötig, Text landet immer
   sichtbar (Endzustand = keine Regel), nie dauerhaft unsichtbar.
   Reduced-Motion: kein Auftritt, Text steht sofort — das VIDEO läuft weiter
   (Kap. 5), es wird hier nirgends angefasst.
   ===================================================================== */
@keyframes kopf-ablegen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .kopf__eyebrow {
    animation: kopf-ablegen 0.4s var(--k-ease) 0.12s both;
  }
  .kopf__h1 .w {
    animation: kopf-ablegen 0.4s var(--k-ease) both;
    animation-delay: 0.3s;
  }
  .kopf__z1 .w:nth-child(2) {
    animation-delay: 0.36s;
  }
  .kopf__z1 .w:nth-child(3) {
    animation-delay: 0.42s;
  }
  .kopf__z1 .w:nth-child(4) {
    animation-delay: 0.48s;
  }
  .kopf__z1 .w:nth-child(5) {
    animation-delay: 0.54s;
  }
  .kopf__z1 .w:nth-child(6) {
    animation-delay: 0.6s;
  }
  .kopf__z1 .w:nth-child(7) {
    animation-delay: 0.66s;
  }
  .kopf__z1 .w:nth-child(8) {
    animation-delay: 0.72s;
  }
  .kopf__z1 .w:nth-child(n + 9) {
    animation-delay: 0.78s;
  }
  .kopf__z2 .w:nth-child(1) {
    animation-delay: 0.85s;
  }
  .kopf__z2 .w:nth-child(2) {
    animation-delay: 0.96s;
  }
  .kopf__z2 .w:nth-child(3) {
    animation-delay: 1.07s;
  }
  .kopf__z2 .w:nth-child(4) {
    animation-delay: 1.18s;
  }
  .kopf__z2 .w:nth-child(n + 5) {
    animation-delay: 1.29s;
  }
  .kopf__unter {
    animation: kopf-ablegen 0.4s var(--k-ease) 1.4s both;
  }
  .kopf__cta {
    animation: kopf-ablegen 0.54s var(--k-ease) 1.55s both;
  }
}

/* =====================================================================
   < 900 px: eigenes Bildband, Text mittig darunter, H1 eine Stufe kleiner
   (Kap. 5). Text steht dann auf dem Seitengrund → Thema-Tokens statt
   themenfest; kein Scrim. Die Kontaktleiste folgt bündig nach dem Textblock.
   ===================================================================== */
@media (max-width: 899px) {
  .kopf {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--k-grund);
    color: var(--k-tinte);
  }
  .kopf::after {
    content: none;
  }
  .kopf__medium {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 62svh;
  }
  .kopf__video,
  .kopf__bild {
    /* Bus fährt in die rechte Bildhälfte → Ausschnitt nach rechts schieben */
    object-position: 70% 40%;
  }
  .kopf__text {
    position: static;
    width: 100%;
    padding: 1.6rem var(--k-rand) 1.9rem;
    text-align: center;
    text-shadow: none;
    --k-text-farbe: var(--k-tinte);
    --k-text-leise: var(--k-meta);
    --k-akzent: var(--k-magenta-text);
    background: var(--k-grund);
  }
  .kopf__h1 {
    margin-inline: auto;
    max-width: 34rem;
  }
  .kopf__z1 {
    font-size: 1.05rem;
  }
  .kopf__z2 {
    /* eine Stufe kleiner als Desktop-H1 */
    font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2rem);
    line-height: 1.1;
  }
  .kopf__cta {
    margin-top: 1.25rem;
  }
}

/* =====================================================================
   Unterseiten-Kopf (aus _arbeit/partials/kopf-unterseite.css, Schritt 4 —
   seit Schritt 6 Integrator hier zentral; vorher je Seite in seite-*.css doppelt).
   Gleicher Aufbau wie der Start-Kopf, eigene Höhe, Bild-Ausschnitte je Seite,
   Unterzeile statt großer Pointe. Statik: auto-statik §3.
   ===================================================================== */

.kopf--sub {
  /* Folgt auf einer Unterseite keine Kontaktleiste, ist der Kopf genau
     ein Bildschirm minus Kopfleiste. Schritt 6 setzt --kontaktleiste-h: 64px,
     wenn die Leiste auch hier bündig folgt. */
  --k-kontaktleiste: var(--kontaktleiste-h, 0px);
  height: calc(100svh - var(--k-leiste) - var(--k-kontaktleiste));
  min-height: 28rem;
  max-height: 60rem;
}

/* Unterseiten haben keinen Bus am rechten Rand → Text darf etwas breiter */
.kopf--sub .kopf__text {
  width: min(48vw, 44rem);
}
.kopf--sub .kopf__z2 {
  /* H1-Satz der Unterseite (eine Zeile Copy) im H1-Token */
  font-size: clamp(1.9rem, 1.15rem + 2.1vw, 3rem);
}
.kopf__unter {
  margin: 0.8rem 0 0;
  font-family: var(--k-text);
  font-weight: 400;
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.45;
  color: var(--k-text-leise);
  max-width: 34rem;
}

/* ---------- Bild-Ausschnitte je Bühne (Hauptobjekt nie unter dem Text) ---------- */
.kopf--fahrzeuge .kopf__bild {
  object-position: 50% 55%;
} /* Wagen rechts (gespiegelt) */
.kopf--ankauf .kopf__bild {
  object-position: 62% 50%;
} /* Kombi nach rechts aus dem Text */
.kopf--finanzierung .kopf__bild {
  object-position: 60% 55%;
}
.kopf--werkstatt .kopf__bild {
  object-position: 50% 55%;
} /* Wagen + Koffer rechts */
.kopf--ueber-uns .kopf__bild {
  object-position: 50% 45%;
} /* Verkaufsraum 4:3 */
.kopf--kontakt .kopf__bild {
  object-position: 50% 50%;
} /* Kartenhalter Mitte */
/* Video-Variante (fahrzeuge, sobald ein abgenommener Clip da ist):
   .kopf--fahrzeuge .kopf__video { object-position: 50% 50%; } */

@media (max-width: 899px) {
  .kopf--sub {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .kopf--sub .kopf__text {
    width: 100%;
  }
  .kopf--sub .kopf__z2 {
    font-size: clamp(1.55rem, 1.05rem + 2.4vw, 1.95rem);
  }
  .kopf__unter {
    margin-inline: auto;
  }
  .kopf--fahrzeuge .kopf__bild {
    object-position: 72% 55%;
  }
  .kopf--ankauf .kopf__bild {
    object-position: 52% 55%;
  }
  .kopf--finanzierung .kopf__bild {
    object-position: 62% 60%;
  }
  .kopf--werkstatt .kopf__bild {
    object-position: 74% 55%;
  }
  .kopf--ueber-uns .kopf__bild {
    object-position: 38% 55%;
  }
}

/* Finanzierung: Bild hat fast kein Querformat-Übermaß (object-position wirkt kaum) →
   Text schmaler, damit „zahlen." nicht über das Heck des Kompakten läuft (gemessen 1440). */
@media (min-width: 900px) {
  .kopf--finanzierung .kopf__text {
    width: min(38vw, 36rem);
  }
}
/* Finanzierung 1440: Zeile 1 lag über hellen Klinkerfassaden außerhalb des runden Scrims
   (gemessen 2,9:1, zweites-thema-kontrast). Gleiche Deckung (max. 0,6, 45 % Höhe, Kap. 11),
   nur weiter gezogen, damit sie die ganze Textzeile trägt — Bild bleibt unabgedunkelt. */
@media (min-width: 900px) {
  .kopf--finanzierung::after {
    width: min(80%, 72rem);
    /* Ellipse = Kastenmaß → läuft an der rechten und oberen Kante auf 0 aus, keine Kante */
    background: radial-gradient(
      100% 100% at 0% 100%,
      rgba(20, 24, 27, 0.6) 0%,
      rgba(20, 24, 27, 0.56) 50%,
      rgba(20, 24, 27, 0.34) 78%,
      rgba(20, 24, 27, 0) 100%
    );
  }
}

/* Kanit zeichnet „§“ wie ein „S“ — Paragrafenzeichen in Überschriften aus der Textschrift */
.para {
  font-family: var(--text);
  font-weight: 500;
}

/* Plakette (SVG): die Ziffern tragen ihre Farbe als fill-Attribut (plakette.js). Die CSS-Farbe wird
   gleichgezogen, damit Kontrastmesser, die `color` lesen, die echte Schriftfarbe messen. */
.plakette text {
  color: #0b0d10;
}
.plakette text[fill="#FFFFFF"] {
  color: #ffffff;
}

/* ---------- Kontaktleiste — bündig an der Videokante (GESETZ Kap. 5) ---------- */
.kontaktleiste {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: var(--kontakt);
  background: var(--grund);
  border-bottom: 1px solid var(--stahl);
  margin: 0;
}
.kontaktleiste > * {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.98rem;
  color: var(--tinte);
  text-decoration: none;
  border-right: 1px solid var(--kante);
  text-align: center;
  transition: background-color 160ms ease;
}
.kontaktleiste > *:last-child {
  border-right: 0;
}
.kontaktleiste b {
  font-family: var(--display);
  font-weight: 600;
  color: var(--magenta-text);
}
.kontaktleiste svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--magenta-text);
}
@media (hover: hover) and (pointer: fine) {
  .kontaktleiste a:hover {
    background: var(--flaeche);
  }
}

/* ---------- 1 Fakten-Leiste (GESETZ Kap. 2, full-bleed, Hairlines) ---------- */
.fakten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--stahl);
}
.fakt {
  padding: clamp(1.5rem, 2.6vw, 2.3rem) clamp(1.1rem, 3vw, 3.2rem)
    clamp(1.6rem, 2.8vw, 2.5rem);
  border-right: 1px solid var(--kante);
  min-width: 0;
}
.fakt:last-child {
  border-right: 0;
}
/* Fix R1 Punkt 2: letzte Fakten-Zelle hält den Knopf-Streifen frei (Leiste läuft randlos);
   sie ist breiter, damit „seit 2012“ einzeilig in der Zelle bleibt (bau-brief §18 Nr. 6, bei 1024 geprüft). */
@media (min-width: 901px) {
  .fakten {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
  }
}
@media (min-width: 761px) {
  .fakt:last-child {
    padding-right: max(clamp(1.1rem, 3vw, 3.2rem), var(--rand-rv));
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .fakt:nth-child(2n) {
    padding-right: max(clamp(1.1rem, 3vw, 3.2rem), var(--rand-rv));
  }
}
.fakt__wert {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-wert);
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: proportional-nums;
}
.fakt__wert small {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0;
}
.fakt__label {
  margin-top: 0.6rem;
  color: var(--meta);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ---------- 2 Manifest „Ehrlich.“ — Bühne über die rechte Kante ---------- */
.manifest {
  margin-top: clamp(4rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-left: max(var(--rand), calc((100vw - var(--bahn)) / 2));
}
.manifest__wort {
  font-family: var(--display);
  font-weight: 700;
  font-size: min(var(--fs-xxl), 11.4vw);
  white-space: nowrap;
  overflow-wrap: normal;
  line-height: 0.86;
  letter-spacing: -0.02em;
  margin-left: -0.04em;
}
.manifest__zitat {
  margin-top: 1.7rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  line-height: 1.2;
  max-width: 30rem;
}
.manifest__quelle {
  margin-top: 0.8rem;
  color: var(--meta);
  font-size: 0.95rem;
}
.manifest__text {
  margin-top: 1.6rem;
  max-width: 31rem;
  padding-left: 1rem;
  border-left: 3px solid var(--leit);
}
.manifest__buehne {
  height: min(78vh, 660px);
  min-height: 420px;
  border: 1px solid var(--stahl);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  background: var(--flaeche);
}
.manifest__buehne img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 60%;
}

/* ---------- 3 ⭐ Signature „Die Plakette“ ---------- */
.sig {
  margin-top: clamp(5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: center;
  padding-right: max(var(--rand-rv), calc((100vw - var(--bahn)) / 2));
}
.sig__karte {
  background: var(--flaeche);
  border: 1px solid var(--stahl);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(2rem, 4vw, 3.4rem) clamp(1.5rem, 3.5vw, 3.4rem);
  display: flex;
  justify-content: flex-end;
}
.sig__karte-innen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: min(100%, 24rem);
}
.sig__karte .plakette-anzeige,
.sig__karte .plakette-anzeige svg {
  width: min(22rem, 68vw);
  height: auto;
}
.sig__karte-zeile {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  text-align: center;
}
.sig__text {
  max-width: 42rem;
}
.sig__text .h2 {
  margin-bottom: 1rem;
}
.sig__liste {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--stahl);
}
.sig__zeile {
  border-bottom: 1px solid var(--kante);
}
.sig__zeile > a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto auto;
  gap: 1.1rem 1.3rem;
  align-items: center;
  padding: 0.85rem 0;
  color: inherit;
  text-decoration: none;
}
.sig__zeile img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 2px;
}
.sig__info {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.sig__titel {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.25;
}
.sig__meta {
  color: var(--meta);
  font-size: 0.9rem;
}
.sig__preis {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
}
.sig__hu {
  max-width: 15.5rem;
  gap: 0.45rem 0.6rem;
}
.sig__zeile .plakette-anzeige__text {
  font-size: 0.82rem;
}
@media (hover: hover) and (pointer: fine) {
  .sig__zeile > a:hover .sig__titel {
    color: var(--magenta-text);
  }
}
/* Kurzform „Plakette ablesen“ (Fingerabdruck 1) */
.ablesen {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.3rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
}
.ablesen__scheibe {
  width: 96px;
  height: 96px;
}
.ablesen__scheibe svg {
  width: 96px;
  height: 96px;
}
.ablesen__kopf {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
}
.ablesen__felder {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.55rem;
}
.ablesen__feld {
  display: grid;
  gap: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--meta);
}
.ablesen select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
  min-width: 7.5rem;
  padding: 0.45rem 2rem 0.45rem 0.7rem;
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
  background-color: var(--grund);
  color: var(--tinte);
  font-size: 1rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--meta) 50%),
    linear-gradient(135deg, var(--meta) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 50%,
    calc(100% - 12px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.ablesen__ergebnis {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--kante);
  min-height: 3.2rem;
}
.ablesen__satz {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  transition: opacity 180ms ease;
}
.ablesen__satz[data-art="ueber"] {
  color: var(--magenta-text);
}

/* ---------- 4 Leitfahrzeug — Platte = Bildhöhe, über die rechte Kante ---------- */
.leit {
  margin-top: clamp(2rem, 2.5vw, 2.5rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-left: max(var(--rand), calc((100vw - var(--bahn)) / 2));
}
.leit__text .h2 {
  margin: 0.7rem 0 1rem;
}
.leit__daten {
  color: var(--meta);
  font-size: 1rem;
}
.leit__preis {
  display: block;
  margin: 0.7rem 0 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.4rem + 2vw, 3.2rem);
  line-height: 1;
  color: var(--tinte);
}
.leit__hu {
  margin-bottom: 1.6rem;
}
.leit__platte {
  display: block;
  border: 1px solid var(--stahl);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  background: var(--flaeche);
}
.leit__platte img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 5 Budget-Regal (Bestand — Card-Grid-Ausnahme) ---------- */
.regal {
  margin-top: clamp(3rem, 4vw, 4rem);
}
.regal__kopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.regal__kopf .lead {
  margin-top: 0.8rem;
  max-width: 38rem;
}
.regal__reihe {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--stahl);
  border-bottom: 1px solid var(--stahl);
}
.regal__reihe {
  column-gap: clamp(2rem, 3.2vw, 3.2rem);
}
.regal__klasse {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.3rem 0 1.5rem;
}
.regal__klasse + .regal__klasse::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(clamp(2rem, 3.2vw, 3.2rem) / -2);
  border-left: 1px solid var(--kante);
}
.regal__klassenkopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.regal__klassentitel {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
}
.regal__zahl {
  color: var(--meta);
  font-size: 0.9rem;
  white-space: nowrap;
}
.regal__auto {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none;
}
.regal__bild {
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--flaeche);
}
.regal__bild img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.regal__name {
  margin-top: 1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
}
.regal__meta {
  margin-top: 0.2rem;
  color: var(--meta);
  font-size: 0.92rem;
}
.regal__fuss {
  min-height: calc(56px + 1rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
}
.regal__preis {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-preis);
  line-height: 1;
  white-space: nowrap;
}
.regal__link {
  margin-top: 1.1rem;
  align-self: flex-start;
}
.regal__alle {
  align-self: end;
}
@media (hover: hover) and (pointer: fine) {
  .regal__auto:hover .regal__name {
    color: var(--magenta-text);
  }
}

/* ---------- 6 Statement-Bühne (full-bleed, Karte der nächsten Sektion legt sich 120 px darüber) ---------- */
.statement {
  position: relative;
  margin-top: clamp(4rem, 7vw, 7rem);
  height: min(80vh, 760px);
  min-height: 440px;
  background: var(--dunkel-fest);
  overflow: hidden;
  isolation: isolate;
  --tinte: var(--kalk-fest);
  --meta: var(--meta-fest);
}
.statement img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  z-index: -2;
}
.statement::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(66%, 980px);
  height: 74%;
  z-index: -1;
  background: radial-gradient(
    120% 100% at 100% 100%,
    rgba(20, 24, 27, 0.62) 0%,
    rgba(20, 24, 27, 0.48) 34%,
    rgba(20, 24, 27, 0.16) 62%,
    rgba(20, 24, 27, 0) 80%
  );
  pointer-events: none;
}
.statement__satz {
  position: absolute;
  right: max(var(--rand-rv), calc((100vw - var(--bahn)) / 2));
  bottom: calc(120px + clamp(1.6rem, 4vw, 3rem));
  max-width: 44rem;
  text-align: right;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(11, 12, 14, 0.35);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--kalk-fest);
}
.statement__satz span:not([data-mgr-huelle]) {
  display: block;
  color: var(--meta-fest);
  font-weight: 500;
}

/* Fix R1 Punkt 9 (Nachschliff im Sehen-Loop): Der Satz lag über weißen Autos (Kontrast im Bild sichtbar
   schwach). Wie im Start-Kopf: Verlauf NUR hinter dem Satz (0,6 Deckung, weiche Kanten), das Bild bleibt
   sonst unabgedunkelt; der flächige Eck-Scrim entfällt. */
.statement::after {
  content: none;
}
.statement__satz {
  z-index: 0;
}
.statement__satz::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -3rem;
  bottom: -2.5rem;
  left: -12rem;
  right: calc(-1 * max(var(--rand-rv), (100vw - var(--bahn)) / 2));
  pointer-events: none;
  background: rgba(20, 24, 27, 0.6);
  -webkit-mask-image:
    linear-gradient(to left, #000 calc(100% - 14rem), rgba(0, 0, 0, 0.5) calc(100% - 7rem), transparent),
    linear-gradient(to bottom, transparent, #000 3rem, #000 calc(100% - 2.5rem), transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to left, #000 calc(100% - 14rem), rgba(0, 0, 0, 0.5) calc(100% - 7rem), transparent),
    linear-gradient(to bottom, transparent, #000 3rem, #000 calc(100% - 2.5rem), transparent);
  mask-composite: intersect;
}
@media (max-width: 900px) {
  .statement__satz::before {
    left: calc(-1 * var(--rand));
    right: calc(-1 * var(--rand-r));
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 3rem, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 3rem, #000 calc(100% - 2.5rem), transparent);
  }
}

/* ---------- 7 Bewertungs-Laufband (GESETZ Kap. 9) ---------- */
.stimmen {
  position: relative;
  z-index: 2;
  margin-top: -120px;
}
.stimmen__kopf {
  width: min(100% - 2 * var(--rand), 44rem);
  margin-left: max(var(--rand), calc((100vw - var(--bahn)) / 2));
  background: var(--grund);
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.3rem, 3vw, 2.4rem);
}
.stimmen__wertung {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  line-height: 1.25;
  color: var(--tinte);
}
.stimmen__wertung .stern {
  color: var(--leit);
}
.stimmen__quelle {
  margin-top: 0.5rem;
  color: var(--meta);
  font-size: 0.95rem;
}
.stimmen__fenster {
  --abstand: 1.25rem;
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.stimmen__spur {
  display: flex;
  align-items: stretch;
  gap: var(--abstand);
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
  animation: stimmen-rechts var(--dauer, 80s) linear infinite;
  will-change: transform;
}
.stimmen__fenster:hover .stimmen__spur,
.stimmen__fenster:focus-within .stimmen__spur,
.stimmen__fenster:active .stimmen__spur {
  animation-play-state: paused;
}
/* Fix R1 Punkt 2: das Band endet rechts vor der Knopf-Säule (Clipping = auch kein Treffer unter den Knöpfen). */
@media (min-width: 761px) {
  .stimmen__fenster {
    margin-right: var(--rand-rv);
  }
}
@keyframes stimmen-rechts {
  from {
    transform: translate3d(calc(-50% - var(--abstand) / 2), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
.stimme {
  flex: 0 0 auto;
  width: min(340px, 82vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.4rem 1.4rem 1.2rem;
  background: var(--flaeche);
  border: 1px solid var(--kante);
  border-radius: var(--radius);
}
.stimme--lang {
  width: min(520px, 86vw);
}
.stimme--kurz {
  width: min(300px, 78vw);
}
.stimme.stimme--kurz blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.25;
}
.stimme--kurz blockquote::before {
  content: "„";
}
.stimme--kurz blockquote::after {
  content: "“";
}
.stimme blockquote {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--tinte);
}
.stimme figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  align-items: baseline;
  padding-top: 0.8rem;
  border-top: 1px solid var(--kante);
  font-size: 0.85rem;
  color: var(--meta);
}
.stimme figcaption b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--tinte);
}
/* Fix R1 Punkt 13: Reihenfamilie = EIN Format (GESETZ Kap. 2). Alle Karten gleich breit, eine Schriftstufe,
   lange Stimmen nach 6 Zeilen mit „…“ gekürzt (Text bleibt vollständig im DOM und im Manager). */
.stimme,
.stimme--lang,
.stimme--kurz {
  width: min(380px, 82vw);
}
.stimme blockquote,
.stimme.stimme--kurz blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.42;
  color: var(--tinte);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.stimme--kurz blockquote::before,
.stimme--kurz blockquote::after {
  content: none;
}
.stimmen__unten {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.6rem;
}

/* ---------- 7b Bewerten-Karte (SEH-Aufbau, GESETZ Kap. 9 — erlaubte dunkle Karte) ---------- */
.bewerten-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(1.5rem, 2vw, 2rem);
  padding-block: clamp(4rem, 9vw, 7.5rem);
  background: var(--dunkel-fest);
}
.bewerten-cta__buehne {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.bewerten-cta__buehne img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
}
.bewerten-cta__karte {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.1rem) clamp(1.4rem, 4vw, 3rem);
  background: var(--tafel);
  border: 1px solid var(--tafel-kante);
  border-radius: var(--radius);
  --tinte: var(--kalk-fest);
  --meta: var(--meta-fest);
}
.bewerten-cta__titel {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 1rem + 1.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--kalk-fest);
}
.bewerten-cta__sterne {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  margin: 1.35rem 0 1.6rem;
}
.bewerten-cta__sterne svg {
  width: clamp(2rem, 5vw, 2.6rem);
  height: auto;
  fill: var(--leit);
  flex: 0 0 auto;
}

/* ---------- 8 Ankauf-Band „Die Tafel“ (themenfest schwarz) ---------- */
.tafel {
  margin-top: clamp(5rem, 8vw, 8rem);
  background: var(--tafel);
  border-block: 1px solid var(--tafel-kante);
  color: var(--kalk-fest);
  --tinte: var(--kalk-fest);
  --meta: var(--meta-fest);
  --magenta-text: #ff8fa2;
}
.tafel__innen {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.6rem);
}
.tafel__zeile {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--kalk-fest);
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--leit);
}
.tafel__zitat {
  margin-top: 1.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem);
  line-height: 1.3;
  color: var(--kalk-fest);
  max-width: 34rem;
}
.tafel__text {
  margin-top: 0.7rem;
  color: var(--meta-fest);
  font-size: var(--fs-lead);
  max-width: 34rem;
}
.tafel .knopf {
  margin-top: 1.7rem;
}
.tafel__logo {
  justify-self: end;
  width: min(100%, 25rem);
  height: auto;
}

/* ---------- 9 Haus — Initialen-Tafel + Urkunde + Sprachen ---------- */
.haus {
  margin-top: clamp(3rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.haus__urkunde {
  position: relative;
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--flaeche);
}
.haus__urkunde img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.haus__urkunde figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: var(--meta);
  border-top: 1px solid var(--stahl);
  background: var(--grund);
}
.haus__urkunde figcaption b {
  color: var(--tinte);
  font-weight: 600;
}
.haus__person {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}
.haus__initialen {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  background: var(--tafel);
  border: 1px solid var(--tafel-kante);
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.3rem;
  letter-spacing: 0.02em;
  color: var(--kalk-fest);
  box-shadow: inset 0 -4px 0 var(--leit);
}
.haus__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
}
.haus__rolle {
  color: var(--meta);
  font-size: 0.92rem;
}
.haus__text {
  margin-top: 1rem;
  max-width: 34rem;
}
.haus__sprachen {
  display: flex;
  flex-wrap: wrap;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--stahl);
  border-bottom: 1px solid var(--stahl);
}
.haus__sprachen li {
  flex: 1 1 0;
  min-width: 6.5rem;
  padding: 0.9rem 0.8rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  border-right: 1px solid var(--kante);
}
.haus__sprachen li:last-child {
  border-right: 0;
}
.haus__sprachen li[lang="ar"] {
  font-family: "Readex Pro", var(--text);
  font-weight: 600;
}

/* ---------- 10 Karte — sofort geladen (GESETZ Kap. 10) ---------- */
.anfahrt {
  margin-top: clamp(4rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}
.anfahrt__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.anfahrt__adresse {
  font-style: normal;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.35;
}
.anfahrt__zeiten {
  color: var(--meta);
  font-size: 0.98rem;
  line-height: 1.55;
}
.anfahrt__luft {
  margin-top: auto;
  width: min(100%, 15rem);
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
  overflow: hidden;
}
.anfahrt__luft img {
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 577;
  object-fit: cover;
}
.anfahrt__karte {
  min-height: 460px;
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--flaeche);
}
.anfahrt__karte iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

/* ---------- 11 Anfrageformular (GESETZ Kap. 10) ---------- */
.anfrage {
  margin-top: clamp(2rem, 2.5vw, 2.5rem);
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--stahl);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.anfrage__kopf .h2 {
  max-width: 24rem;
}
.anfrage__direkt {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--kante);
  display: grid;
  justify-items: start;
  gap: 0.7rem;
}
.anfrage__direkt a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--tinte);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
}
.anfrage__direkt svg {
  width: 18px;
  height: 18px;
  color: var(--magenta-text);
}
.form {
  display: grid;
  gap: 0.95rem;
  min-width: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--flaeche);
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
}
.form__zwei {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.95rem;
  min-width: 0;
}
.feld {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}
.feld label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--tinte);
}
.feld input,
.feld select,
.feld textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  font-size: 1rem;
  color: var(--tinte);
  background: var(--grund);
  border: 1px solid var(--stahl);
  border-radius: var(--radius);
  padding: 0.6rem 0.75rem;
  min-height: 48px;
}
.feld select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--meta) 50%),
    linear-gradient(135deg, var(--meta) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.feld textarea {
  min-height: 6.5rem;
  resize: vertical;
}
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: 2px solid var(--leit);
  outline-offset: 1px;
  border-color: var(--tinte);
}
.einwilligung {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--meta);
  line-height: 1.45;
}
.einwilligung input {
  margin-top: 0.15rem;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--magenta);
}
.einwilligung a {
  color: var(--magenta-text);
}
.form__meldung {
  font-size: 0.92rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--stahl);
  background: var(--grund);
}
.form__meldung[data-art="schlecht"] {
  border-color: var(--magenta);
  color: var(--tinte);
}
.form__direkt {
  font-size: 0.92rem;
  color: var(--meta);
}
.form__direkt a {
  color: var(--tinte);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Fuß (hell, 4 Blöcke) ---------- */
.fuss {
  margin-top: clamp(3rem, 5vw, 5rem);
  background: var(--flaeche);
  border-top: 1px solid var(--stahl);
  padding-block: 3.2rem 1.6rem;
  color: var(--tinte);
}
.fuss__kopf {
  margin-bottom: 2.2rem;
  max-width: 42rem;
}
.fuss__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}
.fuss__block {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  font-size: 0.94rem;
  min-width: 0;
}
.fuss__block h3 {
  font-family: var(--text);
  font-size: var(--fs-cap);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--meta);
  margin-bottom: 0.3rem;
}
.fuss__block a {
  color: var(--tinte);
  text-decoration: none;
}
.fuss__block p {
  margin: 0;
  color: var(--meta);
}
@media (hover: hover) and (pointer: fine) {
  .fuss__block a:hover {
    text-decoration: underline;
    color: var(--magenta-text);
  }
}
.fuss__logo {
  height: 60px;
  width: auto;
  margin-bottom: 0.6rem;
}
.fuss__logo--dunkel,
[data-thema="dunkel"] .fuss__logo--hell {
  display: none;
}
[data-thema="dunkel"] .fuss__logo--dunkel {
  display: block;
}
.fuss__kopf p {
  color: var(--meta);
  font-size: 0.95rem;
}
.fuss__siegel {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.6rem !important;
  font-size: 0.86rem;
}
.fuss__siegel::before {
  content: "";
  width: 3px;
  align-self: stretch;
  background: var(--leit);
}
.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: 2.3rem;
  padding-top: 1.1rem;
  padding-right: 17rem;
  border-top: 1px solid var(--kante);
  font-size: 0.82rem;
  color: var(--meta);
}
.fuss__unten a {
  color: var(--meta);
}

/* ---------- Feste Knöpfe UNTEN RECHTS (GESETZ Kap. 10) ---------- */
.fix-kontakt {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  transform: translate3d(0, var(--fix-hub, 0px), 0);
  transition: transform 220ms var(--ease-ui);
}
.fix-kontakt a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 1.05rem;
  border-radius: var(--radius);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid var(--stahl);
  transition:
    background-color 160ms ease,
    transform 140ms var(--ease-ui);
}
.fix-kontakt a:active {
  transform: scale(0.97);
}
.fix-kontakt svg {
  width: 18px;
  height: 18px;
}
.fix-kontakt[data-verborgen="ja"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.fix-kontakt {
  transition:
    transform 220ms var(--ease-ui),
    opacity 200ms ease,
    visibility 0s linear 0s;
}
.fix-kontakt__ruf {
  background: var(--magenta);
  color: var(--knopf-text);
  border-color: var(--magenta) !important;
}
.fix-kontakt__wa {
  background: var(--wa);
  color: var(--kalk-fest);
}
@media (hover: hover) and (pointer: fine) {
  .fix-kontakt__ruf:hover {
    background: var(--magenta-hover);
  }
}
/* Ab 761 px: zwei schmale Kacheln übereinander im Randstreifen (wie die Detailseiten ab 1101 px).
   Das waagrechte Paar (~260 px breit) lag auf datenschutz 1440 über Fließtext und auf ankauf/ueber-uns
   768 über dem Kopf-Knopf — die Säule (64 px) bleibt im Rand neben der Bahn (Schritt 6 Integrator). */
@media (min-width: 761px) {
  .fix-kontakt {
    right: 0.75rem;
    flex-direction: column;
  }
  .fix-kontakt a {
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    width: 64px;
    min-height: 58px;
    padding: 0.4rem 0.2rem;
    font-size: 0.7rem;
    line-height: 1.1;
  }
  /* Der Fuß hält rechts 88 px frei (Säule 64 px + 2 × 12 px) — sonst lag „Datenschutz“ am
     Seitenende unter der Säule (768). Ersetzt das alte 17-rem-Polster der Fußzeile. */
  .fuss > .bahn {
    padding-right: max(var(--rand), calc(88px - max(0px, (100vw - var(--bahn) - 2 * var(--rand)) / 2)));
  }
  .fuss__unten {
    padding-right: 0;
  }
}

/* ---------- Motion „Das Ablegen“ (bau-brief §10) — nur mit JS, nie dauerhaft unsichtbar ---------- */
.js [data-ablegen] {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  transition:
    opacity 540ms var(--ease-ablegen),
    transform 540ms var(--ease-ablegen),
    border-color 160ms ease 380ms;
  transition-delay: calc(var(--staffel, 0) * 60ms);
}
.js [data-ablegen].ist-abgelegt {
  opacity: 1;
  transform: none;
}
.js [data-ablegen-kante] {
  border-color: transparent !important;
}
.js [data-ablegen-kante].ist-abgelegt {
  border-color: var(--stahl) !important;
}
.js [data-text] {
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition:
    opacity 400ms var(--ease-ablegen),
    transform 400ms var(--ease-ablegen);
  transition-delay: calc(var(--staffel, 0) * 60ms);
}
.js [data-text].ist-abgelegt {
  opacity: 1;
  transform: none;
}

/* ---------- Responsiv ---------- */
@media (max-width: 1240px) {
  .regal__klassentitel {
    font-size: 1.15rem;
  }
}
@media (max-width: 1100px) {
  .nav__inner > nav {
    display: none;
  }
  .nav__rechts {
    margin-left: auto;
  }
  .nav__burger {
    display: flex;
  }
  .fuss__grid {
    grid-template-columns: 1fr 1fr;
  }
  .sig__zeile > a {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 0.5rem 1rem;
  }
  .sig__zeile img {
    grid-row: span 2;
    align-self: start;
  }
  .sig__info {
    grid-column: 2 / -1;
  }
  .sig__zeile img {
    width: 96px;
    height: 72px;
  }
  .sig__hu {
    grid-column: 2;
  }
  .sig__preis {
    grid-column: 3;
    align-self: center;
  }
}
@media (max-width: 1024px) {
  .fakt__label {
    font-size: 0.88rem;
  }
  .sig,
  .manifest,
  .leit {
    gap: 2rem;
  }
}
@media (max-width: 900px) {
  .kontaktleiste {
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--stahl);
  }
  .kontaktleiste > * {
    min-height: 56px;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--kante);
  }
  .kontaktleiste > *:nth-child(2n) {
    border-right: 0;
  }
  .kontaktleiste > *:nth-child(n + 3) {
    border-bottom: 0;
  }
  .kontaktleiste svg {
    display: none;
  }
  .kontaktleiste b {
    display: block;
  }
  /* Rufnummern brechen nie mitten in der Nummer um (390/360, Schritt 6 Integrator) */
  .kontaktleiste a[href^="tel:"] > span,
  .kontaktleiste a[href*="wa.me"] > span {
    white-space: nowrap;
  }
  .fakten {
    grid-template-columns: 1fr 1fr;
  }
  .fakt:nth-child(2n) {
    border-right: 0;
  }
  .fakt:nth-child(-n + 2) {
    border-bottom: 1px solid var(--kante);
  }
  .manifest {
    grid-template-columns: minmax(0, 1fr);
    padding-left: var(--rand);
  }
  .manifest__buehne {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .sig {
    grid-template-columns: minmax(0, 1fr);
    padding-right: var(--rand-r);
  }
  .sig__karte {
    margin-right: 12%;
    justify-content: center;
  }
  .sig__text {
    padding-left: var(--rand);
  }
  .leit {
    grid-template-columns: minmax(0, 1fr);
  }
  .leit__platte {
    order: -1;
  }
  .leit__text {
    padding-right: var(--rand-r);
  }
  .regal__kopf {
    grid-template-columns: minmax(0, 1fr);
  }
  .regal__reihe {
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 0;
  }
  .regal__klasse {
    padding: 1.3rem 0 1.6rem;
    border-bottom: 1px solid var(--stahl);
  }
  .regal__klasse + .regal__klasse::before {
    content: none;
  }
  .regal__alle {
    justify-self: start;
  }
  .statement {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    max-height: 640px;
  }
  .statement__satz {
    left: var(--rand);
    right: var(--rand-r);
    bottom: calc(80px + 1.4rem);
    max-width: none;
  }
  .statement::after {
    width: 100%;
  }
  .stimmen {
    margin-top: -80px;
  }
  .stimmen__spur {
    align-items: flex-start;
  }
  .tafel__innen {
    grid-template-columns: minmax(0, 1fr);
  }
  .tafel__logo {
    justify-self: start;
    width: min(70%, 17rem);
  }
  .haus {
    grid-template-columns: minmax(0, 1fr);
  }
  .anfahrt {
    grid-template-columns: minmax(0, 1fr);
  }
  .anfahrt__luft {
    width: min(100%, 12rem);
  }
  .anfahrt__karte,
  .anfahrt__karte iframe {
    min-height: 360px;
  }
  .anfrage {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .fuss__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fuss__unten {
    padding-right: 0;
  }
  /* Unter 760 px: Anrufen + WhatsApp als ruhige Leiste über die volle Breite (wie die
     Detailseiten, Vorlage B&B) statt schwebender Knöpfe über Textzeilen. Solange der erste
     Bildschirm bzw. die Kontaktleiste im Bild ist, ruht die Leiste (site.js 5) — sie legt
     sich nie über H1, Kopf-Knopf oder die erste Textzeile. Schritt 6 Integrator. */
  .fix-kontakt {
    left: 0;
    right: 0;
    bottom: 0;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--grund);
    border-top: 1px solid var(--kante);
  }
  .fix-kontakt a {
    flex: 1 1 0;
    justify-content: center;
    min-height: 46px;
    padding: 0 0.9rem;
    font-size: 0.95rem;
  }
  .fuss {
    padding-bottom: calc(1.6rem + 62px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 480px) {
  .form__zwei {
    grid-template-columns: minmax(0, 1fr);
  }
  .ablesen {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
  .sig__karte {
    margin-right: 6%;
  }
  .stimmen__wertung {
    font-size: 1.25rem;
  }
}
@media (max-width: 420px) {
  .nav__logo {
    height: 48px;
  }
  .nav__inner {
    gap: 0.6rem;
  }
  .nav__rechts {
    gap: 0.3rem;
  }
  .rund {
    width: 40px;
    height: 40px;
  }
  .fakt__wert {
    font-size: 2.2rem;
  }
}

/* ---------- Reduzierte Bewegung — beruhigt alles außer dem Kopf-Video ---------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-ablegen],
  .js [data-text] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js [data-ablegen-kante] {
    border-color: var(--stahl) !important;
  }
  .stimmen__fenster {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .stimmen__spur {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    padding-left: var(--rand); padding-right: var(--rand-r);
  }
  .stimmen__spur [data-klon] {
    display: none;
  }
  .knopf,
  .rund,
  .fix-kontakt,
  .fix-kontakt a,
  .nav__mobil {
    transition-duration: 0ms;
  }
}

/* Augen-Tor 05.10.2026: Die Karte ist nie ein grauer Kasten. Hinter dem Google-Rahmen (lädt beim
   Hinscrollen, so steht es in der Datenschutzerklärung) liegt ein selbst gehostetes Kartenbild
   des Südrings mit Pin — sichtbar, bis Google gemalt hat, und in jeder Ganzseiten-Aufnahme. */
.anfahrt__karte,
.ort__karte {
  position: relative;
  background: var(--flaeche) url("../bilder/karte-suedring-40.webp") center / cover no-repeat;
}
.anfahrt__karte iframe,
.ort__karte iframe {
  position: relative;
  z-index: 1;
  background: transparent;
}
.anfahrt__karte::after,
.ort__karte::after {
  content: "© OpenStreetMap-Mitwirkende";
  position: absolute;
  right: 0.5rem;
  bottom: 0.4rem;
  z-index: 0;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  color: #3a3a3a;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}
@media (max-width: 760px) {
  .anfahrt__karte,
  .ort__karte {
    background-image: url("../bilder/karte-suedring-40-800.webp");
  }
}
