/* =========================================================================
   PROTIME24 UMZÜGE — Design-System
   Luxury-Editorial-Basis, adaptiert auf Rot / Weiß / Schwarz.
   Aufbau: 01 Tokens · 02 Reset · 03 Typo · 04 Layout · 05 Komponenten
           06 Header/Menü · 07 Sektionen · 08 Formular · 09 Overlays
           10 Motion · 11 Responsive
   ========================================================================= */

@import url("/assets/fonts/fonts.css");

/* ---------- 01 Tokens ---------------------------------------------------- */
:root {
  /* Farbe — 1 helle Basis, 1 Fast-Schwarz, 1 Grau, 1 Akzent */
  --paper:        #f4f3f0;
  --paper-2:      #ffffff;
  --paper-3:      #eceae5;
  --ink:          #121110;
  --ink-2:        #1b1a18;
  --muted:        #75716b;
  --muted-2:      #9b968f;
  --line:         #e2dfd9;
  --line-dark:    rgba(255, 255, 255, .14);
  /* Rot exakt aus der offiziellen Wortmarke (protime24_logo.svg) */
  --red:          #d32128;
  --red-deep:     #a9161c;
  --red-tint:     rgba(211, 33, 40, .08);

  /* Raum */
  --gutter:       clamp(18px, 2.55vw, 38px);
  /* Startwert; site.js misst den Header und schreibt den echten Wert hierher. */
  --header-h:     74px;
  --section:      clamp(76px, 9.4vw, 150px);
  --section-lg:   clamp(96px, 12vw, 190px);
  --maxw:         1560px;
  --maxw-text:    68ch;

  /* Radien */
  --r-lg:         30px;
  --r-md:         20px;
  --r-sm:         16px;
  --r-xs:         12px;

  /* Typo */
  --font-display: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --t-hero:       clamp(38px, 6.4vw, 94px);
  --t-h1:         clamp(36px, 6.2vw, 90px);
  --t-h2:         clamp(30px, 4.6vw, 66px);
  --t-h3:         clamp(22px, 2.3vw, 34px);
  --t-h4:         clamp(18px, 1.5vw, 23px);
  --t-lead:       clamp(17px, 1.42vw, 22px);
  --t-body:       clamp(15.5px, 1.06vw, 17px);
  --t-small:      clamp(13px, .92vw, 14.5px);
  --t-label:      11.5px;

  /* Motion */
  --ease:         cubic-bezier(.22, 1, .36, 1);
  --ease-curtain: cubic-bezier(.76, 0, .24, 1);

  /* Schatten — sparsam, nie „AI-glow“ */
  --shadow-sm:    0 1px 2px rgba(18, 17, 16, .04), 0 8px 24px -14px rgba(18, 17, 16, .18);
  --shadow-md:    0 2px 4px rgba(18, 17, 16, .04), 0 24px 60px -28px rgba(18, 17, 16, .28);
}

/* ---------- 02 Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Kein scroll-behavior: smooth — das Scrolling steuert eine einzige
     rAF-Pipeline in site.js. Zwei Systeme parallel erzeugen Ruckeln. */
  scroll-behavior: auto;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button { background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: var(--t-small);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 03 Typografie ------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .96;
  margin: 0;
  text-wrap: balance;
  /* Deutsche Komposita wie „Umzugsunternehmen" sprengen sonst ihre Spalte.
     Die Seite ist lang="de", der Browser trennt also sinnvoll. */
  hyphens: auto;
  overflow-wrap: break-word;
}

.t-hero {
  font-size: var(--t-hero);
  line-height: .92;
  letter-spacing: -.042em;
  text-transform: uppercase;
  font-weight: 700;
}

.t-h1 {
  font-size: var(--t-h1);
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.t-h2 {
  font-size: var(--t-h2);
  line-height: .98;
  letter-spacing: -.038em;
}

.t-h3 { font-size: var(--t-h3); line-height: 1.08; letter-spacing: -.03em; }
.t-h4 { font-size: var(--t-h4); line-height: 1.2;  letter-spacing: -.022em; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
  letter-spacing: -.012em;
}

.body-text { max-width: var(--maxw-text); color: var(--muted); }
.body-text p { margin: 0 0 1.15em; }
.body-text p:last-child { margin-bottom: 0; }
.body-text strong { color: var(--ink); font-weight: 600; }
.body-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.body-text a:hover { color: var(--red); }
.body-text h2 { font-size: var(--t-h3); margin: 2.2em 0 .6em; color: var(--ink); }
.body-text h3 { font-size: var(--t-h4); margin: 1.8em 0 .5em; color: var(--ink); }
.body-text ul, .body-text ol { margin: 0 0 1.15em; padding-left: 1.2em; }
.body-text li { margin-bottom: .4em; }

/* Sektions-Label „● Labeltext“ */
.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 clamp(22px, 2.6vw, 38px);
}
.label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.label--light { color: rgba(255, 255, 255, .62); }

/* Zweistellige Klammer-Indizes */
.idx {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.accent { color: var(--red); }

/* ---------- 04 Layout ---------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section      { padding-block: var(--section); }
.section--lg  { padding-block: var(--section-lg); }
.section--tight { padding-block: clamp(52px, 6vw, 92px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .84fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 76px);
}
.section-head__aside { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }

.grid { display: grid; gap: clamp(14px, 1.35vw, 22px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.4vw, 84px);
  align-items: center;
}

/* Dunkle Sektion als „inset card“ */
.inset {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  margin-inline: var(--gutter);
  padding-inline: clamp(20px, 4vw, 76px);
  overflow: hidden;
}
.inset .lead { color: rgba(255, 255, 255, .68); }
.inset .idx  { color: rgba(255, 255, 255, .45); }

/* Dezente Plus-Marker in Leerflächen */
.plus {
  position: absolute;
  width: 11px; height: 11px;
  opacity: .3;
  pointer-events: none;
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.plus::before { inset: 5px 0; height: 1px; }
.plus::after  { inset: 0 5px; width: 1px; }

/* ---------- 05 Komponenten ----------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color .38s var(--ease), color .38s var(--ease),
              border-color .38s var(--ease), transform .38s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--red); color: #fff; }

.btn--outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--lg { padding: 20px 34px; font-size: var(--t-body); }
.btn--block { width: 100%; }

.btn__ico { width: .95em; height: .95em; flex: none; transition: transform .38s var(--ease); }
.btn:hover .btn__ico { transform: translate(3px, -3px); }
.btn--phone:hover .btn__ico { transform: none; }

/* ---- Haupt-CTA: Pill mit Icon-Scheibe ---------------------------------- */
/* Zwei Ausprägungen: „solid" auf hellem Grund (rot, Signalfarbe bleibt),
   „glass" auf Fotos und dunklen Flächen (durchscheinend mit Lichtkante). */
.btn--cta {
  --disc: 42px;
  justify-content: space-between;
  gap: 22px;
  padding: 8px 8px 8px 26px;
}
.btn--cta.btn--lg { --disc: 48px; padding: 9px 9px 9px 32px; font-size: var(--t-body); }

.btn__disc {
  width: var(--disc);
  height: var(--disc);
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: none;
  transition: transform .42s var(--ease), background-color .38s var(--ease);
}
.btn__disc svg { width: 17px; height: 17px; transition: transform .42s var(--ease); }
.btn--cta:hover .btn__disc { transform: scale(1.07); }
.btn--cta:hover .btn__disc svg { transform: translate(2px, -2px); }

.btn--cta-solid { background: var(--red); color: #fff; }
.btn--cta-solid:hover { background: var(--red-deep); }
.btn--cta-solid .btn__disc { background: #fff; color: var(--red); }

.btn--cta-glass {
  color: #fff;
  background: rgba(18, 17, 16, .42);
  border-color: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 20px 44px -26px rgba(0, 0, 0, .8);
}
.btn--cta-glass:hover {
  background: rgba(18, 17, 16, .56);
  border-color: rgba(255, 255, 255, .32);
}
.btn--cta-glass .btn__disc { background: #fff; color: var(--ink); }

/* Auf Fotos wirkt der dunkle Glaskörper. Auf einfarbig dunklen Flächen
   (CTA-Inset, Footer) fiele er mit dem Untergrund zusammen — dort hellt er
   auf, sonst ist der Haupt-CTA nicht vom Ghost-Button daneben zu unterscheiden. */
.inset .btn--cta-glass,
.footer .btn--cta-glass {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    0 20px 44px -26px rgba(0, 0, 0, .9);
}
.inset .btn--cta-glass:hover,
.footer .btn--cta-glass:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .42);
}

/* Ohne Blur trägt die Transparenz den Text nicht — dann deckender füllen. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .btn--cta-glass { background: rgba(18, 17, 16, .78); }
  .btn--cta-glass:hover { background: rgba(18, 17, 16, .88); }
  .inset .btn--cta-glass,
  .footer .btn--cta-glass { background: rgba(255, 255, 255, .18); }
}

/* Im Header bleibt der CTA kompakt, damit die Pille nicht wächst. */
.header__cta.btn--cta { --disc: 34px; padding: 6px 6px 6px 20px; gap: 14px; }
.header__cta.btn--cta .btn__disc svg { width: 14px; height: 14px; }

/* Textlink mit Pfeil */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.arrow-link svg { width: .95em; height: .95em; transition: transform .35s var(--ease); }
.arrow-link:hover { color: var(--red); border-color: var(--red); }
.arrow-link:hover svg { transform: translate(3px, -3px); }

/* Karten */
.card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.2vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { border-color: rgba(18, 17, 16, .22); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.card__name { font-family: var(--font-display); font-size: var(--t-small); font-weight: 600; letter-spacing: -.01em; }
.card__text { color: var(--muted); font-size: var(--t-body); margin: 0; }
.card__foot { margin-top: auto; padding-top: 8px; }

/* Service-Karte mit Medium */
.svc-card { padding: 0; overflow: hidden; gap: 0; }
.svc-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.svc-card__media img,
.svc-card__media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.svc-card:hover .svc-card__media img,
.svc-card:hover .svc-card__media svg { transform: scale(1.045); }
.svc-card__body {
  padding: clamp(20px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.svc-card__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
}

/* Pills / Trust-Badges */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row--spaced { margin-top: clamp(26px, 2.8vw, 38px); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.pill svg { width: 15px; height: 15px; flex: none; color: var(--red); }
.pill--light { background: rgba(255, 255, 255, .07); border-color: var(--line-dark); color: #fff; }
.pill--light svg { color: #fff; }

/* Medien-Rahmen */
.media {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--paper-3);
}
.media img, .media svg { width: 100%; height: 100%; object-fit: cover; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--wide     { aspect-ratio: 16 / 9; }
.media--square   { aspect-ratio: 1 / 1; }

/* ---------- 06 Header & Fullscreen-Menü ---------------------------------- */
/* Der Header ist nur noch Positionsrahmen — sichtbar sind die zwei Pillen. */
.header {
  position: fixed;
  top: var(--gutter);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.header > * { pointer-events: auto; }

.header__bar,
.header__side {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
  border-radius: 999px;
  /* Helles Glas: das Motiv schimmert durch, Logo und Links bleiben dunkel
     und lesbar — deshalb ist keine Farbumschaltung über hellen Bildstellen nötig. */
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .6),
    0 16px 38px -24px rgba(18, 17, 16, .5);
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease);
}
.header__bar  {
  padding: 10px clamp(22px, 2.4vw, 36px) 10px clamp(12px, 1.2vw, 16px);
  gap: clamp(22px, 2.6vw, 44px);
}
.header__side { padding: 8px 8px 8px 8px; gap: 6px; }

/* Über hellem Grund trägt das Glas nicht — dort deckender und mit Kante.
   Gilt auf allen Seiten ohne Hero-Motiv und sobald der Hero weggescrollt ist. */
body:not(.has-hero) .header__bar,
body:not(.has-hero) .header__side,
.header.is-scrolled .header__bar,
.header.is-scrolled .header__side {
  background: rgba(255, 255, 255, .92);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* Bei geöffnetem Menü treten die Pillen zurück, Wortmarke und × bleiben. */
.header.is-open .header__bar,
.header.is-open .header__side {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.brand { display: inline-flex; align-items: center; position: relative; z-index: 2; }
/* Die Wortmarke ist sehr breit (11,5:1) — Höhe steuern, Breite folgt. */
.brand__logo { height: clamp(9px, .93vw, 14px); width: auto; display: block; }
.footer__brand .brand__logo { height: clamp(18px, 1.9vw, 27px); }
.header.is-open .brand,
.header.is-open .burger { color: var(--ink); }

/* .header__actions entfiel mit der Aufteilung in zwei Pillen. */
.header__cta { white-space: nowrap; }
.header__cta-short { display: none; }

.nav-desktop { display: flex; align-items: center; gap: clamp(24px, 2.4vw, 40px); }
.nav-desktop a {
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: .015em;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .42s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-desktop a[aria-current="page"] { color: var(--red); }

/* Burger, morpht in-place zum × */
.burger {
  width: 46px; height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: none;
  color: var(--ink);
  transition: background-color .3s var(--ease);
}
.burger:hover { background: var(--paper-3); }
.burger__bar {
  position: absolute;
  left: 13px;
  width: 20px; height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .34s var(--ease), opacity .2s var(--ease);
}
.burger__bar:nth-child(1) { transform: translateY(-5px); }
.burger__bar:nth-child(3) { transform: translateY(5px); }
.header.is-open .burger__bar:nth-child(1) { transform: rotate(45deg); }
.header.is-open .burger__bar:nth-child(2) { opacity: 0; }
.header.is-open .burger__bar:nth-child(3) { transform: rotate(-45deg); }

/* Fullscreen-Panel — opak, slidet von oben, kein display:none */
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--paper);
  transform: translate3d(0, -100%, 0);
  transition: transform .85s var(--ease-curtain);
  will-change: transform;
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--gutter) * 3 + 42px) var(--gutter) var(--gutter);
}
.menu.is-open { transform: translate3d(0, 0, 0); visibility: visible; }

.menu__grid {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 90px);
  align-items: start;
}

.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  border-bottom: 1px solid var(--line);
}
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(11px, 1.3vw, 17px) 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.1vw, 58px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  text-transform: uppercase;
  transition: color .34s var(--ease), transform .44s var(--ease);
}
.menu__list a:hover { color: var(--red); transform: translateX(14px); }
.menu__list a[aria-current="page"] { color: var(--red); }

.menu__sub { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.menu__sub li {
  break-inside: avoid;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu.is-open .menu__sub li { opacity: 1; transform: none; }
.menu__sub a {
  display: block;
  padding: 8px 0;
  font-size: var(--t-small);
  color: var(--muted);
  transition: color .3s var(--ease);
}
.menu__sub a:hover { color: var(--red); }

.menu__aside { display: flex; flex-direction: column; gap: 26px; }
.menu__contact { display: flex; flex-direction: column; gap: 6px; }
.menu__contact a { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; letter-spacing: -.025em; }
.menu__contact a:hover { color: var(--red); }

/* ---------- 07 Sektionen -------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 1040px);
  display: flex;
  /* Inhalt sitzt im unteren Bereich: die Navigationspillen schweben oben auf
     dem Motiv, die Fahrzeugbeschriftung bleibt von der Headline unverdeckt. */
  align-items: flex-end;
  padding: calc(var(--gutter) * 2 + var(--header-h) + 90px) var(--gutter) clamp(40px, 5vh, 72px);
  overflow: hidden;
}

/* Das Motiv liegt randlos im Hero und wird erst beim Scrollen zur Karte
   zusammengezogen. Der Rand entsteht über clip-path statt über inset und
   border-radius: so wird pro Frame nur der sichtbare Ausschnitt neu gezeichnet
   und nicht die Position des Elements neu berechnet.
   --hero-p (0…1) setzt site.js; ohne JS bleibt das Bild randlos. */
.hero__bg {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--ink);
  clip-path: inset(
    calc(var(--hero-p, 0) * var(--gutter))
    round calc(var(--hero-p, 0) * var(--r-lg))
  );
}
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img, .hero__bg svg, .hero__bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroSettle 1.9s var(--ease) forwards;
}
@keyframes heroSettle { to { transform: scale(1); } }
/* Abdunkelung sitzt links und unten — dort steht der Text. Oben rechts bleibt
   das Motiv weitgehend offen, damit die Fahrzeugbeschriftung lesbar ist. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12, 11, 10, .8) 0%, rgba(12, 11, 10, .42) 40%, rgba(12, 11, 10, .06) 78%),
    linear-gradient(to top, rgba(12, 11, 10, .88) 0%, rgba(12, 11, 10, .5) 34%, rgba(12, 11, 10, 0) 62%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(20px, 3vw, 52px) clamp(20px, 3vw, 56px) clamp(24px, 3vw, 52px);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.4vw, 52px);
}
.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(26px, 4vw, 70px);
  align-items: end;
}
/* Der Titel bleibt in der linken Bildhälfte, damit die Fahrzeugbeschriftung
   rechts im Motiv sichtbar bleibt. */
.hero__title { color: #fff; max-width: 15ch; }
.hero__lead { color: rgba(255, 255, 255, .78); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.6vw, 34px); }

/* Vertrauenszeile unter den Handlungsaufrufen */
.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: clamp(20px, 2.2vw, 28px);
}
/* Aufgehelltes Markenrot: das satte Rot verliert sich auf dem dunklen Motiv. */
.hero__stars { display: inline-flex; gap: 3px; color: #ff5a5f; }
.hero__stars svg { width: 15px; height: 15px; }
.hero__trust-text {
  font-size: var(--t-small);
  color: rgba(255, 255, 255, .8);
  letter-spacing: .01em;
}
.hero__aside { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; }

.hero-quote {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: clamp(20px, 2vw, 28px);
  width: 100%;
  max-width: 400px;
}
.hero-quote p {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  line-height: 1.24;
  letter-spacing: -.024em;
  margin: 0 0 16px;
}
.hero-quote footer { font-size: var(--t-small); color: rgba(255, 255, 255, .66); }
.hero-quote footer b { display: block; color: #fff; font-weight: 600; }

/* Hero — kompakte Variante für Unterseiten */
.pagehero {
  padding: calc(var(--gutter) * 2 + var(--header-h) + 26px) var(--gutter) 0;
}
.pagehero__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-bottom: clamp(40px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
}
.pagehero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}
.pagehero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.6vw, 34px); }

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--t-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: clamp(20px, 2.4vw, 34px);
  list-style: none;
  padding: 0;
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a:hover { color: var(--red); }

/* Auf dem Video-Hero — dunkler Untergrund, helle Schrift */
.crumbs--hell { color: rgba(255, 255, 255, .6); margin-bottom: clamp(16px, 1.8vw, 26px); }
.crumbs--hell li + li::before { color: rgba(255, 255, 255, .3); }
.crumbs--hell a:hover { color: #fff; }

/* Marquee — Einsatzgebiete */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(18px, 2vw, 28px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: clamp(28px, 3.4vw, 58px);
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 58px);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 34px);
  font-weight: 600;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat {
  background: var(--ink);
  padding: clamp(24px, 2.6vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 66px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .9;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__num .u { color: var(--red); }
.stat__text { font-size: var(--t-small); color: rgba(255, 255, 255, .6); margin: 0; }

/* Prozess-Timeline */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.step {
  background: var(--paper-2);
  padding: clamp(24px, 2.6vw, 40px);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(16px, 2vw, 34px);
  align-items: start;
  transition: background-color .45s var(--ease);
}
.step:hover { background: var(--paper); }
.step__num {
  font-family: var(--font-display);
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--red);
  letter-spacing: .06em;
  padding-top: .35em;
}
.step__text { color: var(--muted); margin: 0; }

/* Testimonials */
.quote-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.quote-card__stars { display: flex; gap: 3px; color: var(--red); }
.quote-card__stars svg { width: 15px; height: 15px; }
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--t-h4);
  line-height: 1.32;
  letter-spacing: -.022em;
  font-weight: 500;
}
.quote-card figcaption { margin-top: auto; font-size: var(--t-small); color: var(--muted); }
.quote-card figcaption b { display: block; color: var(--ink); font-weight: 600; }

/* Google-Bewertungen — Trust-Block */
.reviews-badge {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 26px);
  flex-wrap: wrap;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(18px, 2vw, 26px) clamp(20px, 2.2vw, 30px);
}
.reviews-badge__score {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
.reviews-badge__meta { display: flex; flex-direction: column; gap: 5px; }
.reviews-badge__stars { display: flex; gap: 3px; color: var(--red); }
.reviews-badge__stars svg { width: 16px; height: 16px; }
.reviews-badge__text { font-size: var(--t-small); color: var(--muted); }

/* Leistungs-Liste (Textzeilen mit Hover) */
.list-links { border-top: 1px solid var(--line); }
.list-link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(0, 1.05fr) 44px;
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
  padding: clamp(20px, 2.1vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  transition: color .35s var(--ease);
}
/* Der Einzug läuft über transform statt padding — sonst rechnet der Browser
   bei jedem Hover das Grid neu. Das Pfeil-Icon rechts bleibt bewusst stehen. */
.list-link .idx { transition: transform .5s var(--ease); }
.list-link:hover .idx,
.list-link:hover .list-link__title,
.list-link:hover .list-link__text { transform: translateX(14px); }
.list-link:hover .list-link__title { color: var(--red); }
.list-link__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 32px);
  font-weight: 600;
  letter-spacing: -.032em;
  line-height: 1.05;
  transition: color .35s var(--ease), transform .5s var(--ease);
}
.list-link__text { color: var(--muted); font-size: var(--t-small); margin: 0; transition: transform .5s var(--ease); }
.list-link__ico {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  transition: background-color .38s var(--ease), color .38s var(--ease), border-color .38s var(--ease);
}
.list-link__ico svg { width: 15px; height: 15px; }
.list-link:hover .list-link__ico { background: var(--red); border-color: var(--red); color: #fff; }

/* Einsatzgebiete */
/* Trennlinien über Zell-Borders statt Grid-Gap: eine unvollständige letzte
   Zeile bleibt so weiß und sieht nicht nach fehlender Kachel aus. */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.area {
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 1.9vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background-color .4s var(--ease);
}
.area:hover { background: var(--paper); }
.area__city { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; letter-spacing: -.028em; }
.area__note { font-size: var(--t-small); color: var(--muted); }

/* Städtestrecke: Liste links, Motiv rechts bleibt stehen und wechselt mit */
.strecke {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: start;
}
.strecke__medien {
  position: sticky;
  top: calc(var(--header-h) + var(--gutter) * 2);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
}
.strecke__medien img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s var(--ease), transform 1.3s var(--ease);
}
.strecke__medien img.is-aktiv { opacity: 1; transform: none; }

.strecke__eintrag {
  display: block;
  padding: clamp(24px, 3.2vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.strecke__eintrag:first-child { border-top: 1px solid var(--line); }
.strecke__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.strecke__stadt {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.3vw, 50px);
  font-weight: 600;
  letter-spacing: -.038em;
  line-height: 1;
  transition: color .4s var(--ease);
}
.strecke__eintrag.is-aktiv .strecke__stadt,
.strecke__eintrag:hover .strecke__stadt { color: var(--red); }
.strecke__weg { font-size: var(--t-small); color: var(--muted); margin: 14px 0 0; max-width: 46ch; }
.strecke__teile { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.strecke__teil {
  font-size: var(--t-label);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

/* Anfahrtsraster */
.wege {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.weg {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(20px, 2.2vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background-color .4s var(--ease);
}
.weg:hover { background: var(--paper); }
.weg__zeit {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
.weg__zeit span { color: var(--red); font-size: .52em; }
.weg__stadt { font-size: var(--t-body); font-weight: 500; }
.weg__note { font-size: var(--t-small); color: var(--muted); }

/* Wegweiser: Einstieg über die eigene Situation statt über Leistungsnamen */
.wegweiser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.wegweiser__karte {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.wegweiser__karte:hover { border-color: rgba(18, 17, 16, .22); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.wegweiser__titel { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; letter-spacing: -.024em; line-height: 1.16; }
.wegweiser__text { margin: 0; color: var(--muted); font-size: var(--t-small); }
.wegweiser__liste { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.wegweiser__liste a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: var(--t-small);
  font-weight: 500;
  /* Nur Farbe — die Bewegung übernimmt der Pfeil per transform. */
  transition: color .3s var(--ease);
}
.wegweiser__liste a svg { width: 14px; height: 14px; flex: none; opacity: 0; transform: translateX(-4px); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.wegweiser__liste a:hover { color: var(--red); }
.wegweiser__liste a:hover svg { opacity: 1; transform: none; }

/* Leistungen innerhalb einer Phase der Zeitachse */
.achse__leistungen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.achse__leistung {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: var(--t-small);
  font-weight: 500;
  transition: border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.achse__leistung svg { width: 13px; height: 13px; }
.achse__leistung:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ---- Bausteine der Leistungsseiten --------------------------------------- */

/* Preisfaktoren: was den Preis bewegt, als lesbare Zeilenfolge */
.faktoren { border-top: 1px solid var(--line); }
.faktor {
  display: grid;
  grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.2fr);
  gap: clamp(14px, 2vw, 36px);
  align-items: start;
  padding: clamp(20px, 2.4vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .4s var(--ease);
}
.faktor:hover { background: var(--paper-2); }
.faktor__nr { font-size: var(--t-label); letter-spacing: .1em; color: var(--red); padding-top: .35em; font-variant-numeric: tabular-nums; }
.faktor__titel { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; letter-spacing: -.026em; line-height: 1.2; }
.faktor__text { margin: 0; color: var(--muted); font-size: var(--t-small); }

/* Checkliste: Häkchen zieht beim Eintreten nach */
.checkliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.check {
  background: var(--paper-2);
  padding: clamp(20px, 2.2vw, 30px);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.check__haken {
  width: 26px; height: 26px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--red);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.check__haken svg { width: 13px; height: 13px; }
.checkliste.is-in .check__haken { background: var(--red); border-color: var(--red); color: #fff; }
.checkliste.is-in .check:nth-child(2) .check__haken { transition-delay: .08s; }
.checkliste.is-in .check:nth-child(3) .check__haken { transition-delay: .16s; }
.checkliste.is-in .check:nth-child(4) .check__haken { transition-delay: .24s; }
.checkliste.is-in .check:nth-child(5) .check__haken { transition-delay: .32s; }
.checkliste.is-in .check:nth-child(6) .check__haken { transition-delay: .4s; }
.check__titel { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; letter-spacing: -.022em; }
.check__text { margin: 6px 0 0; color: var(--muted); font-size: var(--t-small); }

/* Gegenüberstellung */
.vergleich { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.vergleich__karte {
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 38px);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.vergleich__karte--wir { background: var(--ink); border-color: var(--ink); color: #fff; }
.vergleich__titel { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 600; letter-spacing: -.03em; margin-bottom: 22px; }
.vergleich__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.vergleich__liste li { display: flex; gap: 12px; font-size: var(--t-small); color: var(--muted); }
.vergleich__karte--wir .vergleich__liste li { color: rgba(255, 255, 255, .82); }
.vergleich__liste svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--muted-2); }
.vergleich__karte--wir .vergleich__liste svg { color: var(--red); }

/* Vorher / Nachher */
.gegenueber { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.gegenueber__seite { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-3); }
.gegenueber__seite img { width: 100%; height: 100%; object-fit: cover; }
.gegenueber__label {
  position: absolute;
  left: 16px; top: 16px;
  background: rgba(18, 17, 16, .62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: var(--t-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---- Über uns ----------------------------------------------------------- */

/* Zusagen: bewusst typografisch statt als weiteres Karten-Raster */
.zusagen { border-top: 1px solid var(--line); }
.zusage {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(16px, 2.4vw, 44px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
}
.zusage__nr {
  font-family: var(--font-body);
  font-size: var(--t-label);
  letter-spacing: .1em;
  color: var(--red);
  padding-top: .5em;
  font-variant-numeric: tabular-nums;
}
.zusage__titel {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 600;
  letter-spacing: -.034em;
  line-height: 1.06;
}
.zusage__text { margin: 0; color: var(--muted); }

/* Ausstattung: horizontale Strecke, verschiebt sich beim Scrollen.
   Das Clipping muss auf der Sektion sitzen — sonst ragt die breitere Spur
   über den Viewport hinaus und die ganze Seite scrollt horizontal. */
[data-rail] { overflow: hidden; }
.rail__spur {
  display: flex;
  gap: clamp(14px, 1.6vw, 26px);
  width: max-content;
  will-change: transform;
}
.rail__karte {
  width: clamp(260px, 30vw, 420px);
  flex: none;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.rail__medien { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.rail__medien img { width: 100%; height: 100%; object-fit: cover; }
.rail__text { padding: clamp(18px, 1.9vw, 28px); display: flex; flex-direction: column; gap: 9px; }
.rail__text h3 { font-size: var(--t-h4); }
.rail__text p { margin: 0; color: var(--muted); font-size: var(--t-small); }

/* Zeitachse mit mitwachsender Linie */
.achse { position: relative; padding-left: clamp(34px, 4vw, 62px); }
.achse::before {
  content: "";
  position: absolute;
  left: clamp(9px, 1.1vw, 17px);
  top: .6em;
  bottom: .6em;
  width: 2px;
  background: var(--line);
}
.achse__linie {
  position: absolute;
  left: clamp(9px, 1.1vw, 17px);
  top: .6em;
  bottom: .6em;
  width: 2px;
  background: var(--red);
  transform: scaleY(var(--p, 0));
  transform-origin: top;
  will-change: transform;
}
.achse__punkt {
  position: relative;
  padding: clamp(22px, 2.8vw, 44px) 0;
}
.achse__punkt::before {
  content: "";
  position: absolute;
  left: calc(clamp(34px, 4vw, 62px) * -1 + clamp(4px, .6vw, 12px));
  top: calc(clamp(22px, 2.8vw, 44px) + .45em);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.achse__punkt.is-aktiv::before { background: var(--red); border-color: var(--red); transform: scale(1.25); }
.achse__kopf { display: flex; align-items: baseline; gap: 16px; }
.achse__nr { font-size: var(--t-label); letter-spacing: .1em; color: var(--muted-2); transition: color .4s var(--ease); }
.achse__punkt.is-aktiv .achse__nr { color: var(--red); }
.achse__titel { font-family: var(--font-display); font-size: var(--t-h3); font-weight: 600; letter-spacing: -.03em; }
.achse__text { margin: 12px 0 0; color: var(--muted); max-width: 62ch; }

/* Ein Satz, groß */
.statement { text-align: center; max-width: 20ch; margin-inline: auto; }
.statement__satz {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.4vw, 82px);
  font-weight: 600;
  letter-spacing: -.042em;
  line-height: 1.02;
}
.statement__satz em { font-style: normal; color: var(--red); }

/* Parallax: der Versatz kommt aus site.js */
[data-parallax] { will-change: transform; }

/* Stadtseite: Besonderheiten */
.merkmale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.merkmal {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.merkmal__nr { font-size: var(--t-label); letter-spacing: .1em; color: var(--red); font-variant-numeric: tabular-nums; }
.merkmal h3 { font-size: var(--t-h4); }
.merkmal p { margin: 0; color: var(--muted); font-size: var(--t-small); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2.1vw, 28px) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 600;
  letter-spacing: -.024em;
  line-height: 1.25;
  transition: color .32s var(--ease);
}
.faq__q:hover { color: var(--red); }
.faq__sign { position: relative; width: 15px; height: 15px; flex: none; margin-top: .38em; }
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.faq__sign::before { inset: 7px 0; height: 1.4px; }
.faq__sign::after  { inset: 0 7px; width: 1.4px; }
.faq__item.is-open .faq__sign::after { transform: scaleY(0); opacity: 0; }
.faq__item.is-open .faq__q { color: var(--red); }
/* Auf- und Zuklappen über grid-template-rows: keine gemessenen Pixelhöhen,
   kein Nachjustieren bei Textumbruch oder Resize. */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
/* Der Abstand sitzt am letzten Kind, nicht am Container: eigenes Padding des
   Grid-Items würde den 0fr-Kollaps blockieren und eine Restzeile stehen lassen. */
.faq__a-inner { overflow: hidden; min-height: 0; color: var(--muted); max-width: 74ch; }
.faq__a-inner > :last-child { padding-bottom: clamp(20px, 2.1vw, 28px); }
.faq__a-inner p { margin: 0 0 .9em; }
.faq__a-inner p:last-child { margin-bottom: 0; }

/* CTA-Sektion */
.cta {
  position: relative;
  text-align: center;
  padding-block: var(--section-lg);
}
.cta__inner { max-width: 900px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.4vw, 32px); }
.cta__title { color: #fff; }
.cta .lead { max-width: 56ch; text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta__trust { justify-content: center; margin-top: 8px; }

/* Rechner-Teaser */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(24px, 3.4vw, 60px);
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 58px);
}
.calc__rows { display: flex; flex-direction: column; gap: 14px; }
.calc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-small);
}
.calc__row span:first-child { color: var(--muted); }
.calc__row b { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; letter-spacing: -.02em; }

/* Footer */
.footer {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: clamp(40px, 5vw, 80px);
  padding: clamp(46px, 5.4vw, 92px) 0 clamp(24px, 2.4vw, 36px);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 60px);
  padding-bottom: clamp(38px, 4vw, 66px);
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer__claim { color: rgba(255, 255, 255, .62); font-size: var(--t-small); max-width: 34ch; }
.footer__col h3 {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin: 0 0 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: var(--t-small); color: rgba(255, 255, 255, .8); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--red); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(20px, 2.2vw, 32px);
  font-size: var(--t-small);
  color: rgba(255, 255, 255, .45);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- 08 Formular --------------------------------------------------- */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(26px, 3.4vw, 64px);
  align-items: start;
}
.form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 48px);
}
.form__step { border-top: 1px solid var(--line); padding-top: clamp(22px, 2.4vw, 34px); margin-top: clamp(26px, 2.8vw, 42px); }
.form__step:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form__step-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: clamp(18px, 2vw, 26px); }
.form__step-head h3 { font-size: var(--t-h4); }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink);
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 14px 16px;
  font-size: var(--t-body);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper-2);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375716b' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field .hint { font-size: var(--t-small); color: var(--muted); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }
.field__error { font-size: var(--t-small); color: var(--red); display: none; }
.field.has-error .field__error { display: block; }

/* Auswahl-Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.tile { position: relative; display: flex; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile span {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  font-size: var(--t-small);
  background: var(--paper);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.tile span::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 5px;
  border: 1px solid var(--muted-2);
  flex: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.tile input:checked + span { border-color: var(--ink); background: var(--paper-2); }
.tile input:checked + span::before { background: var(--red); border-color: var(--red); }
.tile input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* Consent */
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--red); flex: none; }
.consent label { font-size: var(--t-small); color: var(--muted); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form__foot { margin-top: clamp(24px, 2.6vw, 34px); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__note { font-size: var(--t-small); color: var(--muted); }

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Sticky Zusammenfassung */
.form-aside { position: sticky; top: calc(var(--gutter) + 96px); display: flex; flex-direction: column; gap: 16px; }
.aside-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aside-card h3 { font-size: var(--t-h4); }
.aside-card p { margin: 0; font-size: var(--t-small); color: rgba(255, 255, 255, .68); }
.aside-card__contact { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.aside-card__contact a { font-family: var(--font-display); font-size: var(--t-h4); font-weight: 600; letter-spacing: -.024em; }
.aside-card__contact a:hover { color: var(--red); }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.aside-card li { display: flex; gap: 10px; font-size: var(--t-small); color: rgba(255, 255, 255, .78); }
.aside-card li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--red); }

/* Danke-State */
.form-success {
  display: none;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 62px);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success__ico {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.form-success__ico svg { width: 24px; height: 24px; }

/* Kontakt-Karten */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.contact-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card h3 { font-size: var(--t-h4); }
.contact-card a { font-size: var(--t-body); color: var(--ink); }
.contact-card a:hover { color: var(--red); }
.contact-card p { margin: 0; color: var(--muted); font-size: var(--t-small); }

/* Karte / Maps mit Consent */
.map-consent {
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(22px, 3vw, 44px);
}
.map-consent__inner { max-width: 46ch; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 09 Overlays --------------------------------------------------- */

/* Curtain-Page-Transition */
/* Seitenübergang: das Panel bewegt sich ausschließlich nach oben.
   Beim Verlassen von unten auf 0 (is-in), auf der neuen Seite von 0 nach
   oben hinaus (is-out). Der Zwischenzustand beim Laden ist is-cover — ohne
   ihn liefe das Panel von +100 % nach −100 % einmal durchs ganze Bild. */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: #fff;
  transform: translate3d(0, 100%, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
}
/* Startzustand der frisch geladenen Seite — ohne Transition, sonst würde
   das Panel an dieser Stelle bereits animieren. */
.curtain-cover .curtain { transform: translate3d(0, 0, 0); }

.curtain.is-in  { transform: translate3d(0, 0, 0);    transition: transform .55s var(--ease-curtain); pointer-events: all; }
.curtain.is-out { transform: translate3d(0, -100%, 0); transition: transform .6s var(--ease-curtain); pointer-events: none; }

.curtain__mark {
  width: min(56vw, 460px);
  height: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.curtain-cover .curtain .curtain__mark,
.curtain.is-in .curtain__mark { opacity: 1; transform: none; }

/* Sticky Kontakt-Dock (mobil dauerhaft sichtbar) */
.dock {
  position: fixed;
  z-index: 130;
  right: var(--gutter);
  bottom: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.dock__btn {
  width: 54px; height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), background-color .35s var(--ease);
}
.dock__btn:hover { transform: translateY(-3px); }
.dock__btn svg { width: 24px; height: 24px; }
.dock__btn--wa   { background: #1faa54; }
.dock__btn--wa:hover { background: #179246; }
.dock__btn--call { background: var(--red); }
.dock__btn--call:hover { background: var(--red-deep); }

/* Cookie-Banner */
.cookie {
  position: fixed;
  left: var(--gutter);
  bottom: var(--gutter);
  z-index: 200;
  width: min(460px, calc(100vw - var(--gutter) * 2));
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: var(--shadow-md);
  transform: translateY(calc(100% + var(--gutter) + 10px));
  transition: transform .6s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie.is-visible { transform: none; }
.cookie h2 { font-size: var(--t-h4); }
.cookie p { margin: 0; font-size: var(--t-small); color: var(--muted); }
.cookie p a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.cookie__actions .btn { padding: 13px 20px; }

/* ---------- 10 Motion ----------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 1.15s var(--ease),
    transform 1.15s var(--ease),
    filter 1.15s var(--ease);
}
[data-reveal="blur"] { filter: blur(9px); transform: translateY(52px); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Wort-für-Wort-Einblendung. Der Text bleibt vollständig im DOM — die Wörter
   werden nur in <span> gefasst, Suchmaschinen lesen ihn unverändert. */
[data-split] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em) rotate(1.2deg);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * .045s);
  will-change: transform;
}
[data-split].is-in .w { opacity: 1; transform: none; }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].is-in > *:nth-child(2) { transition-delay: .1s; }
[data-stagger].is-in > *:nth-child(3) { transition-delay: .2s; }
[data-stagger].is-in > *:nth-child(4) { transition-delay: .3s; }
[data-stagger].is-in > *:nth-child(5) { transition-delay: .4s; }
[data-stagger].is-in > *:nth-child(6) { transition-delay: .5s; }
[data-stagger].is-in > *:nth-child(7) { transition-delay: .6s; }
[data-stagger].is-in > *:nth-child(8) { transition-delay: .7s; }
[data-stagger].is-in > *:nth-child(9) { transition-delay: .8s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; filter: none; }
  .hero__bg img, .hero__bg svg { animation: none; transform: none; }
}

/* ---------- 11 Responsive ------------------------------------------------- */
@media (max-width: 1180px) {
  .wegweiser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .hero__row { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__aside { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .pagehero__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .split { grid-template-columns: minmax(0, 1fr); }
  /* Gestapelt würde ein Hochformat die halbe Seite füllen */
  .split .media--portrait { aspect-ratio: 4 / 3; }
  .merkmale { grid-template-columns: minmax(0, 1fr); }
  .wegweiser { grid-template-columns: minmax(0, 1fr); }
  .zusage { grid-template-columns: 44px minmax(0, 1fr); }
  .zusage__text { grid-column: 2; }
  .faktor { grid-template-columns: 40px minmax(0, 1fr); }
  .faktor__text { grid-column: 2; }
  .checkliste { grid-template-columns: minmax(0, 1fr); }
  .vergleich, .gegenueber { grid-template-columns: minmax(0, 1fr); }
  .wege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Gestapelt ergibt das Mitlaufen des Motivs keinen Sinn mehr */
  .strecke { grid-template-columns: minmax(0, 1fr); }
  .strecke__medien { position: relative; top: auto; order: -1; }
  .form-wrap { grid-template-columns: minmax(0, 1fr); }
  .form-aside { position: static; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__grid { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .step__text { grid-column: 2; }
}

@media (max-width: 860px) {
  :root { --r-lg: 20px; --r-md: 16px; --section: clamp(56px, 11vw, 96px); --section-lg: clamp(66px, 13vw, 110px); }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .menu__sub { columns: 1; }
  .list-link { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .list-link__text { display: none; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  /* Ohne Header-CTA fällt die Navigationspille niedriger aus. */
  :root { --header-h: 66px; }
  .hero { min-height: auto; padding-top: calc(var(--gutter) * 2 + var(--header-h) + 56px); }
  .hero__inner { padding-block: clamp(80px, 22vw, 150px) clamp(20px, 4vw, 30px); }
  /* Hier greift das Hochformat-Motiv. Der Ausschnitt sitzt weit oben, damit
     das Fahrzeug über dem Textblock steht. Eine Restüberlagerung bleibt —
     im Hochformat teilen sich Bild und Text zwangsläufig die Fläche —,
     deshalb dunkelt der Verlauf unten kräftiger ab als am Desktop. */
  .hero__bg img { object-position: center 14%; }
  .hero__bg::after {
    background:
      linear-gradient(to top, rgba(12, 11, 10, .94) 0%, rgba(12, 11, 10, .82) 42%, rgba(12, 11, 10, .34) 78%, rgba(12, 11, 10, .2) 100%);
  }
  .hero__title { max-width: none; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cookie { left: var(--gutter); right: var(--gutter); width: auto; }
  /* Solange die Cookie-Auswahl offen ist, tritt das Dock zurück —
     sonst überlagern sich beide am unteren Rand. */
  body.has-cookie .dock { opacity: 0; transform: translateY(14px); pointer-events: none; }
  .dock { transition: opacity .4s var(--ease), transform .4s var(--ease); }
}

@media (max-width: 860px) {
  /* Kurzform, damit Logo + CTA + Burger in eine Zeile passen */
  .header__cta-long { display: none; }
  .header__cta-short { display: inline; }
}

@media (max-width: 700px) {
  /* Auf kleinen Displays übernehmen Dock und Menü den Handlungsaufruf —
     der Header-Button würde den Burger aus der Pille drücken. */
  .header__cta { display: none; }
}

@media (max-width: 640px) {
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .header { padding: 10px 10px 10px 16px; }
  .brand__logo { height: 9px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .hero__cta .btn, .cta__actions .btn, .pagehero__cta .btn { flex: 1 1 100%; }
  .dock { bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); }
}

/* Dock nur auf Mobile/Tablet dauerpräsent; Desktop dezent */
@media (min-width: 1025px) {
  .dock__btn { width: 50px; height: 50px; }
}

/* Print */
@media print {
  .header, .menu, .dock, .cookie, .curtain, .footer { display: none !important; }
  body { background: #fff; }
}
