/* =====================================================================
   site.css — Hauptseiten · Autohaus PENDERS (Autohaus 19)
   Haut „Prüfbericht“ (bau-brief §3 Palette Logo-Blau/Kupfer · §4 Archivo + IBM Plex Sans ·
   §5 Tiefe 2 px ohne Schatten · §6 Signature „Der Prüfhaken“ · §7 Motion „Das Abhaken“).
   Chassis: Autohaus 18 (Statik: vorlagen/auto-statik.md) — Tokens/Schriften PENDERS.
   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: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-var.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens hell (Start) ---------- */
:root {
  --grund: #f5f6fa;
  --flaeche: #e9ebf2;
  --kante: #cfd3e0;
  --tinte: #12141d;
  --meta: #4a5163;
  /* PENDERS-Rollen (bau-brief §3): Handlung = Logo-Blau, EIN warmer Akzent = Kupfer,
     Rot nur als Prüf-Signal (Haken/Logo, nie Fläche, nie Schrift). */
  --handlung: #2a418e;
  --handlung-hover: #1f3169;
  --kupfer: #b45f1a;
  --kupfer-hover: #8f4a12;
  --signal: #ed1c24;
  /* Aliasse des Chassis (Autohaus 18) → PENDERS-Rollen */
  --magenta: var(--handlung);
  --magenta-hover: var(--handlung-hover);
  --magenta-text: var(--handlung);
  --leit: var(--handlung);
  --stahl: #a8aec2;
  --tafel: #14161f;
  --tafel-kante: #14161f;
  --wa: #14161f;
  /* themenfest (Kap. 11) — kein Thema überschreibt diese */
  --dunkel-fest: #14161f;
  --kalk-fest: #f7f8fb;
  --meta-fest: #c3c6d6;
  --schleier-fest: rgba(20, 22, 31, 0.6);
  /* Rollen */
  --knopf-text: var(--kalk-fest);
  --radius: 2px;
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --text: "IBM Plex Sans", "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: #121420;
  --flaeche: #1a1d2a;
  --kante: #2c3040;
  --tinte: #ecedf2;
  --meta: #a8abc0;
  --handlung: #4259c4;
  --handlung-hover: #2f419c;
  --handlung-text: #8fa3e8;
  --kupfer: #d08a3a;
  --kupfer-hover: #b06f2a;
  --signal: #ff4d54;
  --magenta: var(--handlung);
  --magenta-hover: var(--handlung-hover);
  --magenta-text: var(--handlung-text);
  --leit: var(--handlung-text);
  --stahl: #565e74;
  /* Tafel als Band erkennbar — eine Stufe tiefer als der Grund und 1-px-Kante. */
  --tafel: #0b0d15;
  --tafel-kante: #6b7390;
  --wa: #0b0d15;
  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 · Autohaus PENDERS (Autohaus 19)
   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 Blau-Variante (dunkel-Token --handlung-text
     #8fa3e8), weil #2a418e auf dem Scrim zu wenig trägt (PENDERS bau-brief §3). */
  --k-akzent-buehne: #8fa3e8;
  /* --- 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, "Archivo", "Segoe UI", system-ui, sans-serif);
  --k-text: var(--text, "IBM Plex Sans", "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(18, 20, 29, 0.6) 0%,
    rgba(18, 20, 29, 0.52) 42%,
    rgba(18, 20, 29, 0.28) 68%,
    rgba(18, 20, 29, 0) 86%
  );
}

/* ---------- 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);
  /* PENDERS: helle Nachmittags-Köpfe → weicher, tieferer Textschatten statt härterem Scrim
     (Scrim-Deckel 0,6/≤45 % bleibt unberührt, Video wird nie abgedunkelt) */
  text-shadow:
    0 1px 3px rgba(11, 13, 18, 0.55),
    0 2px 18px rgba(11, 13, 18, 0.45);
}

.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,
  .kopf--sub::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 */
  /* alle Unterseiten-Köpfe (Bühne seit 08.10.2026): Text lag über hellen Bildstellen → gleicher Textverlauf */
  .kopf--start .kopf__text::before,
  .kopf--kontakt .kopf__text::before,
  .kopf--sub .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;
  }
  /* Unterseiten-Köpfe auf Bühnenbild (08.10.2026): Kicker + Akzent wie auf der Startseite in Kalk (Gate 38b, Textverlauf oben) */
  .kopf--sub .kopf__text {
    --k-akzent: var(--k-kalk-fest);
  }
  .kopf--sub .kopf__eyebrow {
    color: var(--k-kalk-fest);
  }
  .kopf--start .kopf__akzent,
  .kopf--sub .kopf__akzent {
    text-decoration: underline;
    text-decoration-color: var(--k-akzent-buehne, #8fa3e8);
    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%
    );
  }
}

/* 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(
    11.6rem,
    11vw
  ); /* war min(--fs-xxl, 11.4vw): „Geprüft." lief 12–16 px aus der Spalte (qa-layout-check TEXT-CLIP 1280/1440) */
  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: "IBM Plex Sans", 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). */
/* Kontakt-Dock PC (Hamada 10.10.2026: „die Symbole ein bisschen schöner"): statt zweier loser Kästen EIN
   ruhiges Dock — weiche Ecken (14/10 px), feine Kante, weicher Schatten. Anrufen = Penders-Blau gefüllt,
   WhatsApp = ruhige Fläche mit dezentem WhatsApp-Grün nur am Symbol. Verb bleibt sichtbar (GESETZ Kap. 10);
   beim Überfahren/Fokus klappt links ein Label aus. Außenmaß 66 px — passt in den 88-px-Randstreifen.
   Unter 761 px gilt unverändert die Leiste (weiter unten). */
.fix-kontakt {
  --dock-grund: #fcfcfe;
  --dock-kante: rgba(18, 20, 29, 0.09);
  --dock-schatten:
    0 1px 2px rgba(18, 20, 29, 0.06), 0 12px 32px -12px rgba(18, 20, 29, 0.3);
  --dock-ueber: rgba(18, 20, 29, 0.055);
  --dock-gruen: #1a9a52;
  --dock-tipp: #14161f;
  --dock-tipp-text: #f7f8fb;
  --dock-tipp-kante: transparent;
}
[data-thema="dunkel"] .fix-kontakt {
  --dock-grund: #1c2030;
  --dock-kante: rgba(236, 237, 242, 0.09);
  --dock-schatten:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 14px 36px -12px rgba(0, 0, 0, 0.7);
  --dock-ueber: rgba(236, 237, 242, 0.07);
  --dock-gruen: #25d366;
  --dock-tipp: #2a2f42;
  --dock-tipp-text: #ecedf2;
  --dock-tipp-kante: rgba(236, 237, 242, 0.1);
}
@media (min-width: 761px) {
  .fix-kontakt {
    right: 0.75rem;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    background: var(--dock-grund);
    border: 1px solid var(--dock-kante);
    border-radius: 14px;
    box-shadow: var(--dock-schatten);
  }
  .fix-kontakt a {
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 56px;
    min-height: 56px;
    padding: 7px 2px 6px;
    border: 0;
    border-radius: 10px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1;
  }
  .fix-kontakt svg {
    width: 20px;
    height: 20px;
  }
  .fix-kontakt__ruf {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .fix-kontakt__ruf svg {
    stroke-width: 1.8;
  }
  .fix-kontakt__wa {
    background: transparent;
    color: var(--tinte);
  }
  .fix-kontakt__wa svg {
    color: var(--dock-gruen);
  }
  /* Ausklapp-Label links neben dem Dock: nur Deko für Maus/Tastatur — „/ ''" hält es aus dem
     zugänglichen Namen (der bleibt „Anrufen" / „WhatsApp"). */
  .fix-kontakt a::after {
    position: absolute;
    top: 50%;
    right: calc(100% + 14px);
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--dock-tipp-kante);
    border-radius: 8px;
    background: var(--dock-tipp);
    color: var(--dock-tipp-text);
    font-family: var(--display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 8px 24px -10px rgba(18, 20, 29, 0.45);
    opacity: 0;
    transform: translate3d(6px, -50%, 0) scale(0.97);
    transform-origin: right center;
    pointer-events: none;
    transition:
      opacity 140ms ease-out,
      transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .fix-kontakt__ruf::after {
    content: "Jetzt anrufen";
    content: "Jetzt anrufen" / "";
  }
  .fix-kontakt__wa::after {
    content: "Per WhatsApp schreiben";
    content: "Per WhatsApp schreiben" / "";
  }
  .fix-kontakt a:focus-visible {
    outline: 2px solid var(--magenta-text);
    outline-offset: 3px;
  }
  .fix-kontakt a:focus-visible::after {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
  }
}
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .fix-kontakt__wa:hover {
    background: var(--dock-ueber);
  }
  .fix-kontakt a:hover::after {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
    transition-delay: 60ms;
  }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
  .fix-kontakt a::after {
    transform: translate3d(0, -50%, 0);
    transition: opacity 140ms ease-out;
  }
}
@media (min-width: 761px) {
  /* 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;
  }
}

/* Karte (Härtetest 08.10.2026): Der Rückfall aus einem fremden Build (karte-suedring-40, Datei fehlt) und das
   falsche Label „© OpenStreetMap-Mitwirkende" unter der Google-Karte sind raus. Bis Google malt (lädt sofort,
   GESETZ Kap. 10 „Die Karte ist DA"), steht nur die Flächenfarbe. */
.anfahrt__karte,
.ort__karte {
  position: relative;
  background: var(--flaeche);
}
.anfahrt__karte iframe,
.ort__karte iframe {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* =====================================================================
   PENDERS (Autohaus 19) — Signature „Der Prüfhaken“, Bausteine 0–8,
   Zwei-Standorte-Blöcke, Sparten-Strecke. Lädt als letzter Block.
   Tokens: --handlung (Logo-Blau) · --kupfer (EIN warmer Akzent) ·
   --signal (Haken-Rot, nie Fläche, nie Schrift) · Radius 2, keine Schatten.
   ===================================================================== */

/* ---------- Haken-Marke + Prüfliste (Signature, bau-brief §6) ---------- */
.haken {
  width: 1em;
  height: 1em;
  flex: none;
}
.haken path {
  stroke: var(--signal);
  stroke-width: 7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pruefliste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.pruefliste li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid var(--kante);
}
.pruefliste .haken {
  position: relative;
  top: 0.14em;
  font-size: 1.05rem;
}
/* Motion „Das Abhaken“ (§7): Haken zeichnet sich per Stroke, Zeile fadet +6 px */
.js .pruefliste[data-abhaken] .haken path {
  stroke-dasharray: 64;
  stroke-dashoffset: 64;
}
.js .pruefliste[data-abhaken] li {
  opacity: 0;
  transform: translateY(6px);
}
.js .pruefliste[data-abhaken].ist-abgehakt li {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s ease calc(var(--i, 0) * 70ms),
    transform 0.4s ease calc(var(--i, 0) * 70ms);
}
.js .pruefliste[data-abhaken].ist-abgehakt .haken path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.48s cubic-bezier(0.2, 0.85, 0.25, 1)
    calc(var(--i, 0) * 70ms);
}
@media (prefers-reduced-motion: reduce) {
  .js .pruefliste[data-abhaken] li {
    opacity: 1;
    transform: none;
  }
  .js .pruefliste[data-abhaken] .haken path {
    stroke-dashoffset: 0;
  }
}

/* ---------- ⭐ Signature-Sektion „Die Top-10-Prüfliste“ ---------- */
.pruef {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .pruef {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }
}
.pruef__siegel {
  background: var(--dunkel-fest);
  color: var(--kalk-fest);
  border: 1px solid var(--tafel-kante);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}
.pruef__zahl {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(6rem, 2rem + 12vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--kalk-fest);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.pruef__zahl .haken {
  font-size: 0.32em;
  margin-top: 0.28em;
}
.pruef__siegel-zeile {
  color: var(--meta-fest);
  font-size: 0.95rem;
  line-height: 1.55;
}
.pruef__siegel-zeile b {
  color: var(--kalk-fest);
  font-weight: 600;
}
.pruef__siegel-cap {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kupfer);
}

/* ---------- Service-Termin in 3 Schritten (Fingerabdruck 2) ---------- */
.termin {
  border: 1px solid var(--kante);
  border-radius: var(--radius);
  background: var(--flaeche);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: 1.4rem;
}
.termin__schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: termin;
}
@media (min-width: 720px) {
  .termin__schritte {
    grid-template-columns: repeat(3, 1fr);
  }
}
.termin__schritt {
  counter-increment: termin;
  display: grid;
  gap: 0.3rem;
  align-content: start;
  border-top: 2px solid var(--handlung);
  padding-top: 0.8rem;
}
.termin__schritt::before {
  content: "0" counter(termin);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--handlung);
}
.termin__schritt b {
  font-weight: 600;
}
.termin__schritt span {
  color: var(--meta);
  font-size: 0.95rem;
}

/* ---------- Zwei Standorte (filial-standorte) ---------- */
.orte {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .orte {
    grid-template-columns: 1fr 1fr;
  }
}
.ort {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  border: 1px solid var(--kante);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 2rem);
  background: var(--flaeche);
}
.ort__rolle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kupfer);
}
.ort h3 {
  font-size: var(--fs-h3);
}
.ort address {
  font-style: normal;
  line-height: 1.55;
}
.ort__zeilen {
  display: grid;
  gap: 0.15rem;
  color: var(--meta);
  font-size: 0.98rem;
}
.ort__zeilen b {
  color: var(--tinte);
  font-weight: 600;
}
.ort__karte {
  border: 1px solid var(--kante);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--flaeche);
}
.ort__karte iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* ---------- Drei Welten, ein Haus (Sparten-Strecke) ---------- */
.welten {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}
.welt {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
@media (min-width: 900px) {
  .welt {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 3.5rem;
  }
  .welt--gespiegelt .welt__medium {
    order: 2;
  }
}
.welt__medium {
  border: 1px solid var(--kante);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dunkel-fest);
}
.welt__medium img,
.welt__medium video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.welt__nr {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.6rem);
  line-height: 1;
  color: var(--kupfer);
}
.welt__text {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}
.welt__text h3 {
  font-size: var(--fs-h2);
  line-height: 1.08;
}
.welt__text p {
  color: var(--meta);
  max-width: 52ch;
}

/* ---------- Initialen-Tafeln (Vater & Sohn, ohne erfundene Gesichter) ---------- */
.tafeln {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.tafel-i {
  display: grid;
  place-items: center;
  width: 5.2rem;
  height: 5.2rem;
  border: 1px solid var(--kante);
  border-radius: var(--radius);
  background: var(--flaeche);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--handlung);
}

/* ---------- Kopf ohne Video (Bühnenbild oder Text) ---------- */
.kopf--bild .kopf__medium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kopf--text {
  padding: calc(var(--leiste) + clamp(3rem, 8vw, 6rem)) var(--rand)
    clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  max-width: var(--bahn);
  margin-inline: auto;
}
.kopf--text h1 {
  font-size: var(--fs-h1);
  line-height: 1.06;
  max-width: 22ch;
}
.kopf--text .kopf__unter {
  color: var(--meta);
  font-size: var(--fs-lead);
  max-width: 56ch;
}

/* ---------- Prosa (Rechtsseiten, einfache Inhaltsseiten) ---------- */
.prosa {
  max-width: 72ch;
  padding: 0 var(--rand) clamp(3rem, 6vw, 5rem);
  margin-inline: auto;
  display: grid;
  gap: 1.1rem;
}
.prosa h2 {
  font-size: var(--fs-h3);
  margin-top: 1.6rem;
}
.prosa p,
.prosa li {
  color: var(--tinte);
  line-height: 1.65;
}
.prosa ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}
.prosa address {
  font-style: normal;
  line-height: 1.6;
}

/* ---------- Bausteine 1/6: Rechner + Unterhalt (aus vorlagen/autohaus-bausteine, Tokens gemappt) ---------- */
.rech {
  margin-top: 3rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--kante);
  background: var(--flaeche);
  border-radius: var(--radius);
}
.rech__lead {
  max-width: 56ch;
  color: var(--meta);
  margin-bottom: 1.4rem;
}
.unt__zeilen {
  margin: 1.2rem 0;
}
.unt__zeile {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--kante);
}
.unt__label {
  color: var(--meta);
}
.unt__wert {
  color: var(--tinte);
  font-weight: 600;
  font-size: 1.15rem;
  text-align: right;
}
.unt__wert small {
  color: var(--meta);
  font-weight: 400;
  font-size: 0.85rem;
}
.unt__regler {
  margin: 1.4rem 0;
}
.unt__fuss {
  color: var(--meta);
  font-size: 0.86rem;
  line-height: 1.6;
}
.unt__fuss p {
  margin: 0 0 0.6rem;
  max-width: 78ch;
}
.regler {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.regler input[type="range"] {
  width: 100%;
  accent-color: var(--handlung);
}
.regler__eingabe {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.regler__eingabe input {
  width: 8rem;
}
.regler__eh {
  color: var(--meta);
  font-size: 0.92rem;
}

/* ---------- Baustein 2: Mehrschritt-Formular ---------- */
form[data-schritte] fieldset[data-schritt] {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 1.1rem;
}
form[data-schritte] fieldset[data-schritt][hidden] {
  display: none;
}
form[data-schritte] legend {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0;
  margin-bottom: 0.4rem;
}
.schritte__leiste {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
}
.schritte__punkt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border: 1px solid var(--kante);
  border-radius: 999px;
  color: var(--meta);
  font-size: 0.88rem;
}
.schritte__punkt::before {
  content: attr(data-nr);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--meta);
  font-size: 0.78rem;
  font-weight: 700;
}
.schritte__punkt[data-stand="jetzt"] {
  border-color: var(--handlung);
  color: var(--tinte);
}
.schritte__punkt[data-stand="jetzt"]::before {
  background: var(--handlung);
  color: var(--kalk-fest);
}
.schritte__punkt[data-stand="fertig"]::before {
  content: "✓";
  background: var(--handlung);
  color: var(--kalk-fest);
}
.schritte__nav {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.hinweis--fotos {
  padding: 1.1rem 1.2rem;
  border: 1px dashed var(--kante);
  border-radius: var(--radius);
  color: var(--meta);
  font-size: 0.92rem;
}
.hinweis--fotos p {
  margin: 0 0 0.8rem;
}
.hinweis--fotos p:last-child {
  margin: 0;
}
.hinweis--fotos strong {
  color: var(--tinte);
}

/* ---------- Baustein 7: Reservierungs-Band ---------- */
.resBand {
  margin: 0;
  padding: 0.45rem 0.9rem;
  background: var(--handlung);
  color: var(--kalk-fest);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kachel.istReserviert {
  position: relative;
}
.kachel .resBand {
  position: absolute;
  top: 0.7rem;
  left: 0;
  z-index: 3;
}
.kachel.istReserviert .kachel__bild img {
  opacity: 0.72;
}
.det.istReserviert .resBand {
  display: inline-block;
  margin-bottom: 1.2rem;
}
.resHinweis {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--handlung);
  background: var(--flaeche);
  color: var(--tinte);
  font-size: 0.9rem;
}

/* ---------- Formular-Rückmeldung ---------- */
.form__meldung[data-art="gut"] {
  color: var(--handlung);
}
.form__meldung[data-art="schlecht"] {
  color: var(--kupfer);
}

/* ---------- Bewertungs-Quellenzeile ---------- */
.quellen {
  display: flex;
  gap: 1rem 2.5rem;
  flex-wrap: wrap;
  align-items: baseline;
}
.quellen__aggregat {
  display: grid;
  gap: 0.15rem;
}
.quellen__wert {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-wert);
  line-height: 1;
  color: var(--tinte);
}
.quellen__wert small {
  font-size: 0.45em;
  color: var(--kupfer);
}
.quellen__meta {
  color: var(--meta);
  font-size: 0.95rem;
}

/* ---------- bewerten.html: Sterne-Weiche (Baustein „Bewertungen gewinnen") ---------- */
.bewerten {
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.sterne__reihe {
  display: flex;
  gap: 0.35rem;
}
.stern {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.3rem;
  margin: 0;
  cursor: pointer;
  width: 3.4rem;
  height: 3.4rem;
  color: var(--kupfer);
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}
.stern svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.stern:hover,
.stern:focus-visible {
  color: var(--handlung);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .stern:hover,
  .stern:focus-visible {
    transform: none;
  }
}

/* ---------- Choreografie-Typ 3 (bau-brief §10): „Das Absetzen" ----------
   Die drei Start-Bühnen setzen sich scroll-getrieben ab: das Bild startet
   leicht vergrößert und legt sich beim Durchqueren des Viewports auf 1.0.
   Native Scroll-Driven Animations — kein JS, kein Layout-Thrash (nur transform).
   Fallbacks: fehlende Unterstützung oder reduced-motion = statisches Bild. */
@keyframes buehne-absetzen {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .manifest__buehne img,
    .statement img,
    .bewerten-cta__buehne img {
      animation-name: buehne-absetzen;
      animation-duration: 1s; /* Platzhalter — die Timeline steuert den Fortschritt */
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
      will-change: transform;
    }
  }
}

/* Härtetest 08.10.2026 (P1-1): Abschnitte ohne eigenen Rhythmus — nackte .bahn, Prüfliste, Bestand —
   klebten mit 0 px an der Kontaktleiste bzw. am Abschnitt davor. Ein Sektionsabstand für alle. */
main > section[class="bahn"],
main > section.pruef,
main > section.bestand {
  padding-block: clamp(3rem, 6vw, 4.6rem);
}

/* 08.10.2026: Instagram oben dazu (GESETZ: jeder aktive Kanal als Icon in der Kopfleiste, auch am Handy) —
   fünf runde Knöpfe + Logo passen unter 420 px nur mit kleinerem Maß (Ziel ≥ 24 px, WCAG 2.5.8). */
@media (max-width: 420px) {
  .nav__logo {
    height: 40px;
  }
  .rund {
    width: 36px;
    height: 36px;
  }
  .rund svg {
    width: 18px;
    height: 18px;
  }
}

/* Härtetest 08.10.2026 (P2-9): „Vater und Sohn" trug ein zweites 10er-Siegel (steht schon in der Prüfliste) —
   jetzt das Verkaufshaus als Bild, damit der Abschnitt ein Medium hat und nichts doppelt ist. */
.haus__bild {
  margin: 0;
}
.haus__bild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--k-radius, 2px);
}

/* Fremd-Blick R2 08.10.2026: Überschrift → Kasten klebte (danke/ankauf/werkstatt „Termin", index/kontakt/werkstatt „Orte").
   .h2 hat keinen Abstand nach unten, .termin/.orte keinen nach oben. */
.orte,
.termin {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Augen-Tor 08.10.2026: Miete-Tafel trug rechts eine leere Spalte — jetzt ein echtes Bestandsfoto. */
.tafel__bild {
  margin: 0;
}
.tafel__bild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--k-radius, 2px);
}

/* Karten-Rückfall (Augen-Tor 08.10.2026, GESETZ Kap. 10 „Die Karte ist DA"): bis Google gezeichnet hat, liegt
   hinter dem Rahmen ein eigenes Kartenbild des Standorts (OSM-Kacheln + Pin, assets/karte/, ODbL → Quellenangabe).
   Der Google-Rahmen (z-index 1) deckt Bild und Angabe ab, sobald er malt. */
[data-karte-rueckfall] {
  background-size: cover;
  background-position: center;
}
[data-karte-rueckfall="verkauf"] {
  background-image: url("../karte/karte-verkauf.webp");
}
[data-karte-rueckfall="service"] {
  background-image: url("../karte/karte-service.webp");
}
[data-karte-rueckfall]::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;
}

/* Echte Standortfotos (08.10.2026): Breitformat nicht auf 4:3 zwingen. */
.haus__bild--breit img {
  aspect-ratio: auto;
}
.haeuser__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 900px) {
  .haeuser__raster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.haeuser__bild {
  margin: 0;
}
.haeuser__bild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--k-radius, 2px);
}
.haeuser__bild figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--meta);
}

/* Standortfotos wie auf der Altseite (Hamada 09.10.2026): echtes Foto oben in jeder Standort-Karte. */
.ort__foto {
  margin: 0 0 1rem;
}
.ort__foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 350;
  object-fit: cover;
  border-radius: var(--k-radius, 2px);
}

/* 2-Klick-Video (09.10.2026) — Platzhalter hat die Zielmaße 16:9, kein CLS. */
main > section.film {
  padding-block: clamp(3rem, 6vw, 4.6rem);
}
.embed-2klick {
  position: relative;
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--k-radius, 2px);
  overflow: hidden;
  background: var(--tafel);
}
.embed-2klick > img,
.embed-2klick__rahmen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.embed-2klick__knopf {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: var(--k-radius, 2px);
  background: var(--handlung, #2a418e);
  color: #fff;
  font: 600 1rem/1 var(--k-text, inherit);
  cursor: pointer;
}
.embed-2klick__knopf svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.embed-2klick__knopf:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.embed-2klick figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #f8fafa;
  background: rgba(18, 20, 29, 0.78);
}
.embed-2klick figcaption a {
  color: #fff;
}
.embed-2klick.ist-geladen > img,
.embed-2klick.ist-geladen .embed-2klick__knopf,
.embed-2klick.ist-geladen figcaption {
  display: none;
}

/* ==========================================================================
   Feinschliff Arbeiter C · 09.10.2026 (abnahme-paket „Weich (P3)" + Fremd-Blick)
   ========================================================================== */

/* P3-1 Textköpfe auf die Inhaltsbahn: .kopf--text war 1360 px breit + Innenrand → 40 px rechts der Bahn
   (Logo, Abschnitte darunter). Jetzt dieselbe Rechnung wie .bahn. Die Prosa der Rechtsseiten folgt derselben Kante. */
.kopf--text {
  max-width: calc(var(--bahn) + 2 * var(--rand));
  padding-left: var(--rand);
  padding-right: var(--rand-r);
}
.prosa {
  max-width: calc(var(--bahn) + 2 * var(--rand));
  padding-left: var(--rand);
  padding-right: var(--rand-r);
}
.prosa > * {
  max-width: 72ch;
}

/* P3-2 Knopf-Gruppen (404, bewerten): Inline-Knöpfe klebten mit 4 px aneinander. */
p:has(> .knopf ~ .knopf) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* P3-3 Dunkle Bänder im Dunkel-Modus: #0b0d15 auf #121420 war kaum zu sehen. Im Dunkel-Modus tragen Tafel,
   Siegel und Bewerten-Karte das tiefe Penders-Blau — klar abgesetzt, helle Schrift bleibt (themenfest). */
[data-thema="dunkel"] {
  --tafel: #1a2448;
  --tafel-kante: #34427a;
}
[data-thema="dunkel"] .pruef__siegel {
  background: var(--tafel);
}

/* P3-5 Absatz klebte unter einzelnen Überschriften (0 px auf 9 Seiten gemessen) + Lead → Liste/Raster. */
.h2 + .lead {
  margin-top: clamp(0.6rem, 1.2vw, 0.9rem);
  max-width: 64ch;
}
.lead + .pruefliste {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}
main section > div:not([class]):has(> .h2) + :is(ul, ol, div) {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.haus__text + p {
  margin-top: 1.1rem;
}
.stimmen__wertung + .quellen__meta {
  margin-top: 0.5rem;
}

/* Prüfliste unter 900 px: .sig__text bekam den Innenrand der alten Plakette zusätzlich zur Bahn (+19 px). */
@media (max-width: 900px) {
  .pruef .sig__text {
    padding-left: 0;
  }
}

/* Fuß: die Spalte „Kontakt & Zeiten" trägt die längsten Zeilen und brach „Uhr" einzeln um. */
@media (min-width: 1101px) {
  .fuss__grid {
    grid-template-columns: 0.9fr 1.7fr 0.8fr 0.85fr;
  }
}
.fuss__block p {
  text-wrap: pretty;
}

/* Reisemobile „Ihr Reisemobil bleibt in guten Händen": rechte Hälfte war leer — echtes Foto des Service-Standorts
   (vorhandenes Bild, kein neues Medium). Knopf unter dem Lead mit Luft; kein doppelter Strich direkt unter einer Tafel. */
.anfrage__bild {
  align-self: center;
}
.anfrage__kopf .lead + p:has(> .knopf) {
  margin-top: 1.5rem;
}
.tafel + .anfrage {
  border-top: 0;
}

/* Standortkarten nebeneinander: unterschiedlich viele Zeiten-Zeilen schoben Karte + Routen-Knopf um ~28 px
   gegeneinander. Ab zwei Spalten stehen Karte und Knopf in beiden Karten auf derselben Linie. */
@media (min-width: 900px) {
  .orte > .ort {
    display: flex;
    flex-direction: column;
  }
  .orte > .ort > .ort__karte {
    margin-top: auto;
  }
}

/* Mehrschritt-Formular (ankauf, werkstatt): schritte.js füllt <ol data-schritte-leiste> ohne die Klasse
   .schritte__leiste — die Pillen standen untereinander mit 40 px Browser-Einzug. Gleiche Regel über das Attribut. */
[data-schritte-leiste] {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
}

/* Dunkel-Modus: Schritt-/Leistungsnummern 01–06 in Logo-Blau lagen bei ~3,0:1 auf der Fläche.
   Im Dunkel-Modus tragen Ziffer und Linie die helle Textvariante des Blaus (GESETZ Kap. 11: Akzent bekommt Textvariante). */
[data-thema="dunkel"] .termin__schritt {
  border-top-color: var(--handlung-text);
}
[data-thema="dunkel"] .termin__schritt::before {
  color: var(--handlung-text);
}

/* Kupfer-Kleinschrift (Versal-Labels 0,8 rem) lag bei 3,8–3,9:1 (zweites-thema-kontrast WARN).
   Auf dem themenfesten dunklen Siegel die helle Kupfer-Stufe, auf heller Fläche die dunkle — beide ≥ 4,5:1. */
.pruef__siegel-cap {
  color: #d08a3a;
}
:root:not([data-thema="dunkel"]) .ort__rolle {
  color: var(--kupfer-hover);
}

/* Fremd-Blick 09.10.2026 P2-1 (werkstatt): vier Sektionen ohne Bild in Folge — die Leistungen tragen jetzt ein
   vorhandenes Werkstattfoto (Kundenfilm, Achsvermessung) in der Kopfspalte; die drei Zusatzpunkte der gestrichenen
   Prüfliste stehen als eigene Zeile unter den sechs Leistungen (Haken statt Nummer = „dazu", nicht „noch eine Leistung"). */
.leistungen__bild {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
}
.leistungen__bild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 62% 50%;
  border-radius: var(--k-radius, 2px);
}
.leistungen__rechts {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.25rem);
  min-width: 0;
}
.leistungen__dazu .eyebrow {
  margin: 0 0 0.9rem;
}
.leistungen__dazu-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0 1rem;
}
@media (min-width: 720px) {
  .leistungen__dazu-liste {
    grid-template-columns: repeat(3, 1fr);
  }
}
.leistungen__dazu-liste li {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  column-gap: 0.6rem;
  row-gap: 0.25rem;
  align-content: start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--kante);
}
.leistungen__dazu-liste .haken {
  grid-row: 1;
  align-self: center;
  width: 1.05rem;
  height: 1.05rem;
}
.leistungen__dazu-liste b {
  font-weight: 600;
}
.leistungen__dazu-liste span {
  grid-column: 2;
  color: var(--meta);
  font-size: 0.95rem;
}
/* Ab zwei Spalten: Kopf + Bild bleiben beim Lesen der Leistungen stehen. */
@media (min-width: 901px) {
  .leistungen .anfrage__kopf {
    position: sticky;
    top: 110px;
  }
}

/* P2-2: Formular nur in EINEM Rahmen (werkstatt: Hülle .termin entfernt, wie ankauf). Schritt-Leiste bis 480 px
   einzeilig — bei 390 brach „3 Kontakt" in eine zweite Zeile. */
@media (max-width: 480px) {
  [data-schritte-leiste] {
    flex-wrap: nowrap;
    gap: 0.35rem;
    margin-bottom: 1.4rem;
  }
  [data-schritte-leiste] .schritte__punkt {
    gap: 0.35rem;
    padding: 0.35rem 0.6rem 0.35rem 0.4rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  [data-schritte-leiste] .schritte__punkt::before {
    width: 20px;
    height: 20px;
    font-size: 0.72rem;
  }
}
