/* =========================================================================
   SCT Transporte GmbH – Stylesheet
   Konzept „Diagrammscheibe“: Wachspapier, Schreibspur, Herkules-Patina und
   Morgenrot über dem Fuldatal.
   Aufbau: Tokens → Basis → Komponenten → Bereiche → Seiten → Hilfsklassen
           → Bewegung → Druck
   ========================================================================= */

/* ---------- Schriften (selbst gehostet, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Mohave';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/mohave-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mohave';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/mohave-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/worksans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/worksans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Farben: Wachspapier der Scheibe, Schreibstift, Kupferpatina des Herkules, Morgenrot */
  --paper: #f7f2e8;
  --paper-2: #ede5d5;
  --paper-3: #e2d7c2;
  --ink: #1c1a24;
  --muted: #57515f;
  --patina: #1b6a5f;
  --patina-deep: #114a43;
  --night: #251d3a;
  --night-2: #33284d;
  --dawn: #f08a4b;
  --dawn-soft: #fbd9b8;
  --trace: #b8322a;
  --white: #ffffff;
  --line: rgba(28, 26, 36, 0.18);

  /* Schrift */
  --font-display: 'Mohave', 'Arial Narrow', sans-serif;
  --font-text: 'Work Sans', system-ui, sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.55rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 5.2rem);

  /* Abstände */
  --space-2: 1rem;
  --space-3: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --space-4: clamp(2rem, 1.5rem + 2vw, 3rem);
  --space-5: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  /* Form */
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 0 rgba(28, 26, 36, 0.08), 0 12px 32px -18px rgba(28, 26, 36, 0.45);

  /* Diagrammscheibe */
  --dial-size: 240px;
  --dial-space: 0px;
  --bar-height: 0px;
}

@media (min-width: 1100px) {
  :root { --dial-space: 290px; }
}
@media (max-width: 1099.98px) {
  :root { --bar-height: 68px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  padding-bottom: var(--bar-height);
}

body.nav-open { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h2 { font-size: var(--step-3); text-transform: uppercase; }
h3 { font-size: var(--step-1); }

p, li, dd { text-wrap: pretty; }
p { margin: 0 0 var(--space-2); }

a { color: var(--patina); text-underline-offset: 0.18em; }
a:hover { color: var(--patina-deep); }

:focus-visible { outline: 3px solid var(--trace); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

address { font-style: normal; }
svg { display: block; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.nobr { white-space: nowrap; }

/* Inhaltsbreite: rechts vom Scheiben-Freiraum */
.shell {
  width: 100%;
  max-width: calc(1180px + var(--dial-space));
  margin-inline: auto;
  padding-left: calc(clamp(1rem, 4vw, 2.5rem) + var(--dial-space));
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* ---------- Komponenten: Schaltflächen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-dawn { background: var(--dawn); color: var(--ink); }
.btn-dawn:hover { background: var(--dawn-soft); color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--paper); background: transparent; }
.btn-line:hover { background: var(--paper); color: var(--night); border-color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--patina-deep); color: var(--white); }

/* ---------- Komponenten: Abschnittskopf mit Zeitmarke ---------- */
.section { padding-block: var(--space-5); }
.section-head { max-width: 44rem; margin-bottom: var(--space-4); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--trace);
}
.stamp::before {
  content: '';
  width: 2.2rem;
  height: 10px;
  /* Ein kurzes Stück Schreibspur als Marke */
  background: linear-gradient(135deg, transparent 45%, currentColor 45% 55%, transparent 55%) 0 0 / 7px 10px repeat-x;
}

/* ---------- Kopf: Marke oben, Leiste unten (mobil) ---------- */
.cab-brand {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.4rem);
  left: clamp(1rem, 4vw, 2.5rem);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  color: var(--paper);
  text-decoration: none;
}
.cab-brand:hover { color: var(--dawn-soft); }
.cab-brand svg { width: 46px; height: 46px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.brand-word small {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cab-actions {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.4rem);
  right: clamp(1rem, 4vw, 2.5rem);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.cab-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--night);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.cab-phone:hover { color: var(--dawn-soft); }
.cab-phone svg { width: 1.15rem; height: 1.15rem; }

/* Mobile Leiste: Anrufen · Halbscheibe · Auftrag. Jedes Element ist einzeln fixiert,
   damit die Halbscheibe über dem geöffneten Menü liegen kann, die Seitenknöpfe darunter. */
.bar-bg,
.bar-call,
.bar-order,
.dial-toggle { display: none; }

@media (max-width: 1099.98px) {
  .cab-actions { display: none; }
  .bar-bg {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    height: var(--bar-height);
    background: var(--paper);
    border-top: 2px solid var(--ink);
  }
  .bar-call,
  .bar-order {
    position: fixed;
    bottom: 10px;
    z-index: 41;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 92px;
    min-height: 48px;
    padding: 0 0.9rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }
  .bar-call { left: 12px; color: var(--ink); border: 2px solid var(--ink); }
  .bar-call svg { width: 1rem; height: 1rem; }
  .bar-call:hover { background: var(--paper-2); color: var(--ink); }
  .bar-order { right: 12px; background: var(--dawn); color: var(--ink); }
  .bar-order:hover { background: var(--dawn-soft); color: var(--ink); }

  /* Die Halbscheibe: oberer Teil einer Diagrammscheibe, ragt über die Leiste */
  .dial-toggle {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 118px;
    height: 84px;
    padding: 0 0 12px;
    transform: translateX(-50%);
    border: 2px solid var(--ink);
    border-bottom: 0;
    border-radius: 59px 59px 0 0;
    background: var(--night);
    color: var(--paper);
    font-family: var(--font-display);
    cursor: pointer;
  }
  .dial-toggle::before {
    /* Zeitring der Scheibe als Strichskala */
    content: '';
    position: absolute;
    inset: 6px 6px -52px;
    border-radius: 50%;
    border: 5px dotted rgba(251, 217, 184, 0.55);
    clip-path: inset(0 0 52px 0);
  }
  .dial-toggle:hover { background: var(--night-2); }
  .dial-toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.1;
  }
  .dial-toggle-current {
    max-width: 96px;
    overflow: hidden;
    font-family: var(--font-text);
    font-size: 0.72rem;
    line-height: 1.2;
    color: var(--dawn-soft);
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (max-width: 419.98px) {
  /* Schmal: „Anrufen“ nur als Symbol, der Text bleibt für Screenreader */
  .bar-call { min-width: 48px; padding: 0 0.85rem; }
  .bar-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 359.98px) {
  .bar-order { min-width: 0; padding: 0 0.7rem; font-size: 1rem; }
  .bar-call { left: 8px; }
  .bar-order { right: 8px; }
  .dial-toggle { width: 104px; }
}

/* ---------- Diagrammscheibe (Navigation) ---------- */
.dial {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 30;
  width: var(--dial-size);
  height: var(--dial-size);
  --now: 0deg;
}
.dial-disc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 18px rgba(28, 26, 36, 0.35));
}
.dial-face { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.dial-band { fill: var(--paper-2); }
.dial-time { transform: rotate(var(--now)); transition: transform 0.6s ease; }
.dial-tick { stroke: var(--ink); stroke-width: 0.8; }
.dial-tick-hour { stroke-width: 1.3; }
.dial-num { fill: var(--muted); font-family: var(--font-display); font-size: 7px; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.dial-index { fill: var(--trace); }
.dial-rule { fill: none; stroke: var(--line); stroke-width: 0.8; }
.dial-trace path { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; transition: stroke-width 0.25s, stroke 0.25s; }
.dial-trace.is-active path { stroke: var(--trace); stroke-width: 3.2; }

.dial-sectors { list-style: none; margin: 0; padding: 0; }
.dial-sectors a {
  /* Der Link deckt die ganze Scheibe ab; clip-path schneidet ihn auf seinen
     Sektor zu, so ist jeder Sektor eine große Klickfläche ohne Überlappung. */
  position: absolute;
  inset: 0;
  clip-path: var(--wedge);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s;
}
.dial-sectors a:hover { background: rgba(27, 106, 95, 0.14); color: var(--ink); }
.dial-sectors a[aria-current] { background: rgba(240, 138, 75, 0.26); }
.dial-sectors a:focus-visible { outline: none; background: var(--ink); color: var(--paper); }
.dial-label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: calc(var(--dial-size) / 20);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.dial-sectors a[aria-current] .dial-label { color: var(--trace); }
.dial-sectors a:focus-visible .dial-label { color: var(--paper); }

.dial-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(var(--dial-size) * 0.233);
  height: calc(var(--dial-size) * 0.233);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  line-height: 1;
  pointer-events: none;
}
.dial-hub b { font-size: calc(var(--dial-size) / 18); letter-spacing: 0.08em; }
.dial-hub span { margin-top: 2px; font-size: calc(var(--dial-size) / 26); color: var(--dawn-soft); font-variant-numeric: tabular-nums; }
.dial-title { display: none; }

@media (max-width: 1099.98px) {
  /* Unter 1100 px ist die Scheibe ein Menü, das über die Halbscheibe aufgeht. */
  .dial {
    display: none;
    --dial-size: min(86vw, 380px);
  }
  .dial.is-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    inset: 0;
    z-index: 50;
    width: auto;
    height: auto;
    padding: 1rem 1rem calc(var(--bar-height) + 1.5rem);
    background: var(--paper);
  }
  .dial.is-open .dial-title {
    display: block;
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .dial-wheel { position: relative; width: var(--dial-size); height: var(--dial-size); flex: none; }
}
@media (min-width: 1100px) {
  .dial-wheel { position: absolute; inset: 0; }
}
@media (max-width: 1099.98px) and (max-height: 560px) {
  .dial { --dial-size: min(64vh, 86vw); }
}

/* ---------- Bereich: Hero ---------- */
.hero {
  position: relative;
  background: var(--night);
  color: var(--paper);
  overflow: hidden;
}
.hero-copy {
  padding-top: clamp(6.5rem, 12vw, 9rem);
  padding-bottom: var(--space-3);
  position: relative;
  z-index: 2;
}
.hero h1 {
  max-width: 14ch;
  font-size: var(--step-4);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--dawn); }
.hero-lede { max-width: 38rem; font-size: var(--step-1); line-height: 1.5; color: var(--paper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--space-3); }

.panorama { position: relative; margin-top: clamp(-5rem, -6vw, -1rem); }
.panorama > svg { width: 100%; height: auto; }
.van-beam { animation: beam 4s ease-in-out infinite alternate; }
@keyframes beam { from { opacity: 0.25; } to { opacity: 0.5; } }
.van { animation: roll 9s ease-in-out infinite alternate; }
@keyframes roll { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
.sun { animation: rise 6s ease-out both; }
@keyframes rise { from { transform: translateY(40px); } to { transform: translateY(0); } }

/* Zustellnachweis auf dem Unterschriften-Pad */
.signpad {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 3;
  width: min(380px, 40vw);
  margin: 0;
  padding: 14px 14px 18px;
  border-radius: 22px;
  background: linear-gradient(160deg, #d9d6d0, #b9b5ad);
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: rotate(-3deg);
}
.signpad-screen {
  padding: 0.9rem 1rem 0.8rem;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px #8f8a82;
}
.signpad-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.signpad-head span { font-size: 0.95rem; color: var(--patina); letter-spacing: 0.04em; }
.signpad-rows { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.8rem; margin: 0; font-size: 0.82rem; }
.signpad-rows dt { color: var(--muted); }
.signpad-rows dd { margin: 0; font-weight: 600; }
.signpad-sign { margin: 0.4rem 0 0.2rem; border-bottom: 1.5px solid var(--ink); }
.signpad-sign svg { width: 100%; height: 56px; }
.signature { fill: none; stroke: #23306e; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 0; animation: sign 2.6s 0.8s ease-in-out both; }
@keyframes sign { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
.signpad-caption { margin: 0; font-size: 0.75rem; color: var(--muted); }
.signpad-address {
  margin: 0.7rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.signpad-address span { display: block; }
.signpad-pen { position: absolute; right: -26px; top: 18px; width: 30px; height: 150px; }

@media (max-width: 899.98px) {
  .signpad {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: 400px;
    margin: -1.5rem clamp(1rem, 4vw, 2.5rem) var(--space-4) auto;
  }
  .signpad-pen { display: none; }
}
@media (max-width: 899.98px) and (min-width: 560px) {
  .signpad { margin-right: clamp(2rem, 8vw, 4rem); }
}

/* ---------- Bereich: Leistungen als Beispieltag ---------- */
.day { list-style: none; margin: 0; padding: 0; position: relative; }
.day::before {
  /* Die Schreibspur läuft senkrecht durch den Tag */
  content: '';
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: calc(var(--time-col) + 0.9rem);
  width: 12px;
  background: linear-gradient(60deg, transparent 44%, var(--ink) 44% 56%, transparent 56%) 0 0 / 12px 9px repeat-y;
  opacity: 0.55;
}
.day { --time-col: 7.2rem; }
.day-stop {
  position: relative;
  display: grid;
  grid-template-columns: var(--time-col) 1fr;
  gap: 0 2.6rem;
  padding-block: var(--space-3);
  border-top: 1px solid var(--line);
}
.day-stop:last-child { border-bottom: 1px solid var(--line); }
.day-stop::after {
  content: '';
  position: absolute;
  left: calc(var(--time-col) + 0.55rem);
  top: calc(var(--space-3) + 0.85rem);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--trace);
}
.day-time {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--patina-deep);
}
.day-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); gap: 0.6rem 2.5rem; }
.day-body h3 { font-size: var(--step-2); text-transform: uppercase; margin-bottom: 0.5rem; }
.day-body p { margin: 0; max-width: 40rem; }
.day-facts { margin: 0; font-size: var(--step--1); align-self: start; padding: 0.8rem 1rem; background: var(--paper-2); border-radius: var(--radius); }
.day-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; }
.day-facts dt { color: var(--muted); }
.day-facts dd { margin: 0; font-weight: 600; text-align: right; }
.day-note { margin-top: var(--space-3); max-width: 46rem; color: var(--muted); font-size: var(--step--1); }

@media (max-width: 759.98px) {
  .day { --time-col: 4.6rem; }
  .day-stop { gap: 0 1.6rem; }
  .day-stop::after { left: calc(var(--time-col) + 0.2rem); }
  .day::before { left: calc(var(--time-col) + 0.55rem); }
  .day-body { grid-template-columns: 1fr; }
}
@media (max-width: 419.98px) {
  .day::before, .day-stop::after { display: none; }
  .day-stop { grid-template-columns: 1fr; }
  .day-time { margin-bottom: 0.4rem; font-size: 2rem; }
}

/* ---------- Bereich: Fahrzeug (technische Zeichnung) ---------- */
.vehicle { background: var(--paper-2); }
.vehicle-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.blueprint {
  margin: 0;
  padding: clamp(0.8rem, 2vw, 1.6rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(27, 106, 95, 0.1) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(27, 106, 95, 0.1) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper);
}
.blueprint svg { width: 100%; height: auto; }
.blueprint figcaption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--muted); }
.bp-body { fill: var(--paper); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.bp-glass { fill: var(--night-2); }
.bp-stripe { fill: var(--patina); }
.bp-wheel { fill: var(--ink); }
.bp-hub { fill: var(--paper-3); }
.bp-cargo { fill: rgba(240, 138, 75, 0.2); stroke: var(--dawn); stroke-width: 2; stroke-dasharray: 8 6; }
.bp-pallet { fill: var(--dawn-soft); stroke: var(--ink); stroke-width: 1.5; }
.bp-dim { stroke: var(--trace); stroke-width: 1.6; fill: none; }
.bp-dim-text { fill: var(--trace); font-family: var(--font-display); font-size: 22px; font-weight: 600; text-anchor: middle; }
.bp-letter { fill: var(--white); font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: 3px; }
.bp-ground { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 8; }

.spec { margin: 0; border-top: 2px solid var(--ink); }
.spec div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.spec dd { margin: 0; }
.vehicle-note { margin-top: var(--space-3); padding: 1rem 1.2rem; border-left: 4px solid var(--patina); background: var(--paper); }
.vehicle-note p { margin: 0; }

@media (max-width: 959.98px) {
  .vehicle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 419.98px) {
  .spec div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- Bereich: Ablauf als Tätigkeitszeile ---------- */
.activity { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: act; }
.activity li { position: relative; }
.act-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 64px;
  margin-bottom: var(--space-2);
  background: var(--paper-2);
  border-block: 2px solid var(--ink);
}
.activity li:first-child .act-bar { border-left: 2px solid var(--ink); border-radius: 32px 0 0 32px; }
.activity li:last-child .act-bar { border-right: 2px solid var(--ink); border-radius: 0 32px 32px 0; }
.act-bar svg { width: 44px; height: 44px; margin-left: 1rem; flex: none; }
.act-bar::after {
  /* Belegter Teil der Zeile: wächst von Schritt zu Schritt */
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: var(--level);
  width: 100%;
  background: var(--trace);
}
.act-sym { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.act-text { padding-right: 1.4rem; }
.act-text h3 { display: flex; align-items: baseline; gap: 0.5rem; font-size: var(--step-1); text-transform: uppercase; margin-bottom: 0.4rem; }
.act-text h3::before { counter-increment: act; content: counter(act, decimal-leading-zero); color: var(--trace); font-weight: 500; }
.act-kind { display: block; margin-bottom: 0.4rem; font-size: var(--step--1); color: var(--muted); }
.act-text p { margin: 0; font-size: 0.98rem; }

@media (max-width: 859.98px) {
  .activity { grid-template-columns: 1fr; gap: var(--space-3); }
  .activity li .act-bar { border: 2px solid var(--ink); border-radius: 32px; width: min(100%, 22rem); }
  .activity li:first-child .act-bar,
  .activity li:last-child .act-bar { border-radius: 32px; }
}

/* ---------- Bereich: Einsatzgebiet (Entfernungsringe) ---------- */
.area { background: var(--night); color: var(--paper); }
.area h2 { color: var(--paper); }
.area .section-head p { color: var(--dawn-soft); }
.area .stamp { color: var(--dawn); }
.area-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.radar { margin: 0; }
.radar svg { width: 100%; height: auto; max-width: 620px; margin-inline: auto; }
.radar figcaption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--dawn-soft); text-align: center; }
.rd-ring { fill: none; stroke: rgba(251, 217, 184, 0.35); stroke-width: 1.2; stroke-dasharray: 3 5; }
.rd-ring-label { fill: var(--dawn-soft); font-family: var(--font-display); font-size: 15px; letter-spacing: 1px; }
.rd-home { fill: var(--dawn); stroke: var(--night); stroke-width: 3; }
.rd-dot { fill: var(--paper); }
.rd-dot-near { fill: var(--dawn); }
.rd-name { fill: var(--paper); font-family: var(--font-text); font-size: 15px; font-weight: 500; }
.rd-ray { stroke: rgba(247, 242, 232, 0.22); stroke-width: 1; }
.rd-home-label { fill: var(--dawn); font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: 1px; }

.zones { margin: 0 0 var(--space-3); padding: 0; list-style: none; }
.zones li { padding: 0.9rem 0; border-bottom: 1px solid rgba(247, 242, 232, 0.2); }
.zones h3 { margin-bottom: 0.3rem; color: var(--dawn); font-size: var(--step-1); text-transform: uppercase; }
.zones p { margin: 0; }
.odometer { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.6rem; }
.odometer div { padding: 0.6rem 0.75rem; border-radius: var(--radius); background: var(--night-2); }
.odometer dt { font-size: var(--step--1); color: var(--dawn-soft); }
.odometer dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; }
.odometer dd span { display: block; }
.odometer dd span + span { font-family: var(--font-text); font-size: 0.85rem; color: var(--dawn-soft); }
.area-foot { margin-top: 0.8rem; font-size: var(--step--1); color: var(--dawn-soft); }

@media (max-width: 959.98px) {
  .area-grid { grid-template-columns: 1fr; }
}

/* ---------- Bereich: Fragen als Ausdruck ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); gap: var(--space-4); align-items: start; }
.printout {
  position: relative;
  padding: 2.2rem clamp(1.1rem, 3vw, 2rem) 2.4rem;
  background: var(--white);
  box-shadow: var(--shadow);
  /* Abgerissene Kanten oben und unten wie beim Thermodrucker */
  clip-path: polygon(0 10px, 4% 0, 8% 10px, 12% 0, 16% 10px, 20% 0, 24% 10px, 28% 0, 32% 10px, 36% 0, 40% 10px, 44% 0, 48% 10px, 52% 0, 56% 10px, 60% 0, 64% 10px, 68% 0, 72% 10px, 76% 0, 80% 10px, 84% 0, 88% 10px, 92% 0, 96% 10px, 100% 0, 100% calc(100% - 10px), 96% 100%, 92% calc(100% - 10px), 88% 100%, 84% calc(100% - 10px), 80% 100%, 76% calc(100% - 10px), 72% 100%, 68% calc(100% - 10px), 64% 100%, 60% calc(100% - 10px), 56% 100%, 52% calc(100% - 10px), 48% 100%, 44% calc(100% - 10px), 40% 100%, 36% calc(100% - 10px), 32% 100%, 28% calc(100% - 10px), 24% 100%, 20% calc(100% - 10px), 16% 100%, 12% calc(100% - 10px), 8% 100%, 4% calc(100% - 10px), 0 100%);
}
.printout-head {
  margin: 0 0 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px dashed var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.printout-head span { display: block; }
.qa { margin: 0; }
.qa div { padding: 0.9rem 0; border-bottom: 1px dashed var(--line); }
.qa div:last-child { border-bottom: 0; }
.qa dt { display: flex; gap: 0.6rem; font-weight: 700; margin-bottom: 0.3rem; }
.qa dt::before { content: '?'; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display); text-align: center; line-height: 1.6rem; }
.qa dd { margin: 0 0 0 2.2rem; font-size: 0.97rem; }
.printout-foot { margin: 1rem 0 0; padding-top: 0.8rem; border-top: 2px dashed var(--ink); font-size: var(--step--1); text-align: center; color: var(--muted); }
.faq-aside { position: sticky; top: 2rem; }
.faq-aside p { color: var(--muted); }
.faq-aside .btn { margin-top: 0.5rem; }

@media (max-width: 959.98px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* ---------- Bereich: Auftrag in drei Schritten ---------- */
.order { background: var(--paper-2); }
.order-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-bottom: var(--space-4); }
.order-top .section-head { margin-bottom: 0; flex: 1 1 26rem; }
.progress { display: flex; align-items: center; gap: 1rem; flex: none; }
.progress svg { width: 108px; height: 108px; }
.pg-base { fill: none; stroke: var(--paper-3); stroke-width: 14; }
.pg-step { fill: none; stroke: var(--paper-3); stroke-width: 14; transition: stroke 0.3s; }
.pg-step.is-done { stroke: var(--patina); }
.pg-sep { stroke: var(--paper-2); stroke-width: 3; }
.progress-text { display: flex; flex-direction: column; font-family: var(--font-display); line-height: 1.1; }
.progress-text b { font-size: 2.2rem; font-weight: 600; }
.progress-text > span { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.order-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); align-items: start; }
.step {
  min-width: 0;
  margin: 0;
  padding: var(--space-3);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.step > legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.5rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.step-badge {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  font-size: 1.15rem;
  transition: background-color 0.3s, color 0.3s;
}
.step-badge.is-done { background: var(--patina); border-color: var(--patina); color: var(--white); }
.step-intro { font-size: var(--step--1); color: var(--muted); }

.field { margin-bottom: 1rem; }
.field label,
.field .label { display: block; margin-bottom: 0.3rem; font-weight: 600; }
.req { color: var(--trace); }
.hint { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 400; }
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='date'],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--patina); outline-offset: 1px; border-color: var(--patina); }
[aria-invalid='true'] { border-color: var(--trace); }
.error { display: block; min-height: 0; margin-top: 0.25rem; font-size: 0.88rem; font-weight: 600; color: var(--trace); }
.error:empty { display: none; }

.choice-group { margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.choice-group legend { margin-bottom: 0.4rem; padding: 0; font-weight: 600; }
.choice { position: relative; display: flex; align-items: center; gap: 0.7rem; min-height: 44px; padding: 0.35rem 0.7rem; margin-bottom: 0.35rem; border: 2px solid var(--paper-3); border-radius: var(--radius); cursor: pointer; }
.choice:hover { border-color: var(--patina); }
.choice:has(input:checked) { border-color: var(--patina); background: rgba(27, 106, 95, 0.08); }
.choice:has(input:focus-visible) { outline: 3px solid var(--trace); outline-offset: 2px; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--patina); flex: none; }
.choice input:focus-visible { outline: none; }
.choice span { line-height: 1.3; }
.choice small { display: block; color: var(--muted); font-size: 0.82rem; }
.sub-fields { margin: 0 0 1rem; padding: 0.8rem; border: 1px dashed var(--patina); border-radius: var(--radius); min-width: 0; }
.sub-fields legend { padding: 0 0.3rem; font-size: 0.9rem; font-weight: 600; color: var(--patina-deep); }
.sub-fields .field:last-child { margin-bottom: 0; }

.check { display: flex; gap: 0.7rem; align-items: flex-start; min-height: 44px; padding-top: 0.3rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0.2rem 0 0; accent-color: var(--patina); flex: none; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.order-send { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding-top: var(--space-2); border-top: 2px solid var(--ink); }
.order-send p { margin: 0; font-size: var(--step--1); color: var(--muted); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 0; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 1rem 1.2rem; border-left: 5px solid var(--patina); background: var(--paper); }
.form-status.is-error { padding: 1rem 1.2rem; border-left: 5px solid var(--trace); background: var(--paper); }

.contact-person { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); align-items: center; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--paper); }
.contact-person h3 { margin-bottom: 0.2rem; }
.contact-person p { margin: 0; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin: 0; }
.contact-lines div { display: flex; flex-direction: column; }
.contact-lines dt { font-size: var(--step--1); color: var(--muted); }
.contact-lines dd { margin: 0; font-weight: 600; }

@media (max-width: 1279.98px) and (min-width: 1100px), (max-width: 979.98px) {
  .order-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-3 { grid-column: 1 / -1; }
}
@media (max-width: 679.98px) {
  .order-form { grid-template-columns: 1fr; }
  .order-send { grid-template-columns: 1fr; }
  .order-send .btn { width: 100%; }
}

/* ---------- Fuß: Rückseite der Diagrammscheibe ---------- */
.disc-back {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-5) var(--space-4);
  background: var(--ink);
  color: var(--paper);
}
.disc-back::before {
  /* Angeschnittene Scheibe als Hintergrundzeichen */
  content: '';
  position: absolute;
  right: -180px;
  top: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 2px solid rgba(247, 242, 232, 0.14);
  box-shadow: 0 0 0 26px rgba(247, 242, 232, 0.04), inset 0 0 0 60px rgba(247, 242, 232, 0.03);
  pointer-events: none;
}
.back-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: var(--space-3); }
.back-title p { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.back-title small { font-size: var(--step--1); color: var(--dawn-soft); }
.back-fields { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 var(--space-3); border: 1.5px solid rgba(247, 242, 232, 0.55); }
.back-fields div { padding: 0.6rem 0.9rem 0.8rem; border: 1px solid rgba(247, 242, 232, 0.28); min-width: 0; }
.back-fields dt { margin-bottom: 0.2rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dawn-soft); }
.back-fields dd { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.back-fields a { color: var(--paper); }
.back-fields a:hover { color: var(--dawn-soft); }
.back-legal { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.back-legal a,
.back-legal button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.95rem;
  border: 1.5px solid rgba(247, 242, 232, 0.6);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.back-legal a:hover,
.back-legal button:hover { background: var(--paper); color: var(--ink); }
.back-small { margin: var(--space-3) 0 0; font-size: var(--step--1); color: var(--dawn-soft); }

@media (max-width: 1279.98px) {
  .back-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 519.98px) {
  .back-fields { grid-template-columns: 1fr; }
}

/* ---------- Seiten: Rechtstexte ---------- */
.doc-top { background: var(--night); color: var(--paper); padding-top: clamp(6.5rem, 12vw, 8.5rem); padding-bottom: var(--space-4); }
.doc-top h1 { font-size: var(--step-3); text-transform: uppercase; margin: 0; overflow-wrap: break-word; hyphens: auto; }
.doc-kicker { margin: 0 0 0.6rem; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dawn); }
.doc { padding-block: var(--space-4) var(--space-5); }
.doc-sheet {
  max-width: 52rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 8px solid var(--patina);
}
.prose h2 { font-size: var(--step-2); margin-top: var(--space-4); text-transform: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-3); font-size: var(--step-1); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35rem; }
.prose address { margin-bottom: var(--space-2); }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1.2rem; margin: 0 0 var(--space-2); }
.prose dt { font-weight: 600; }
.prose dd { margin: 0; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.toc { margin: var(--space-3) 0; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--paper); }
.toc h2 { margin: 0 0 0.5rem; font-size: var(--step-1); }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.toc li { break-inside: avoid; }
.highlight { margin: var(--space-3) 0; padding: 1rem 1.2rem; border-left: 5px solid var(--trace); background: var(--paper); }
.highlight h3 { margin-top: 0; }
.boxed { margin: var(--space-3) 0; padding: 1rem 1.2rem; border: 2px solid var(--ink); border-radius: var(--radius); }
.boxed h3:first-child, .boxed h4:first-child { margin-top: 0; }
.boxed h4 { margin: 1rem 0 0.4rem; font-size: 1.05rem; }
.form-lines { list-style: none; padding: 0; }
.form-lines li { padding: 0.6rem 0; border-bottom: 1px dotted var(--muted); }

.table-wrap { margin: var(--space-3) 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--paper-2); font-weight: 700; }

@media (max-width: 759.98px) {
  .toc ol { columns: 1; }
  .prose dl { grid-template-columns: 1fr; gap: 0 0; }
  .prose dd { margin-bottom: 0.6rem; }
  /* Tabellen lösen sich in Einträge auf */
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { padding: 0.6rem 0; border-bottom: 2px solid var(--ink); }
  td { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.8rem; padding: 0.3rem 0; border: 0; }
  td::before { content: attr(data-label); font-weight: 700; }
}
@media (max-width: 379.98px) {
  td { grid-template-columns: 1fr; gap: 0; }
}

/* 404 */
.lost { padding-block: var(--space-4) var(--space-5); }
.lost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: var(--space-4); align-items: center; }
.lost svg { width: 100%; height: auto; }
.lost-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: var(--space-3); }
@media (max-width: 699.98px) {
  .lost-grid { grid-template-columns: 1fr; }
  .lost-grid svg { max-width: 220px; }
}

/* ---------- Cookie-Hinweis und Dialog ---------- */
.consent {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 90;
  width: min(34rem, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
  padding: 1.2rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 24px 50px -20px rgba(28, 26, 36, 0.6);
}
.consent-title { margin: 0 0 0.5rem; font-size: var(--step-1); text-transform: uppercase; }
.consent-text { font-size: 0.92rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.consent-btn {
  flex: 1 1 10rem;
  min-height: 46px;
  padding: 0.5rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.consent-btn:hover { background: var(--patina-deep); border-color: var(--patina-deep); }
.consent-btn-save { background: var(--dawn); color: var(--ink); border-color: var(--dawn); }
.consent-btn-save:hover { background: var(--dawn-soft); border-color: var(--dawn-soft); color: var(--ink); }
.consent-link { min-height: 44px; padding: 0.4rem 0.2rem; border: 0; background: none; color: var(--patina); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.consent-link:hover { color: var(--patina-deep); }
/* Solange der Hinweis offen ist, bleibt die mobile Leiste verborgen. */
body:has(.consent) .bar-bg,
body:has(.consent) .bar-call,
body:has(.consent) .bar-order,
body:has(.consent) .dial-toggle { visibility: hidden; }

.consent-dialog {
  width: min(36rem, calc(100vw - 1.5rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
}
.consent-dialog::backdrop { background: rgba(28, 26, 36, 0.6); }
.consent-dialog-inner { padding: 1.4rem; }
.consent-categories { list-style: none; margin: 0 0 1rem; padding: 0; }
.consent-category { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.consent-category h3 { margin: 0; font-family: var(--font-text); font-size: 1rem; font-weight: 700; }
.consent-category p { margin: 0.3rem 0 0; font-size: 0.9rem; }
.consent-category-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.consent-always { font-size: 0.85rem; font-weight: 600; color: var(--patina); }
.consent-switch { position: relative; display: inline-flex; align-items: center; min-width: 52px; min-height: 44px; cursor: pointer; }
.consent-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.consent-switch-track { position: relative; width: 52px; height: 28px; border-radius: 14px; background: var(--muted); transition: background-color 0.2s; }
.consent-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform 0.2s; }
.consent-switch input:checked + .consent-switch-track { background: var(--patina); }
.consent-switch input:checked + .consent-switch-track::after { transform: translateX(24px); }
.consent-switch input:focus-visible + .consent-switch-track { outline: 3px solid var(--trace); outline-offset: 2px; }

/* ---------- Hilfsklassen ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Bewegung ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Druck ---------- */
@media print {
  .dial, .bar-bg, .bar-call, .bar-order, .dial-toggle, .cab-actions, .consent, .back-legal, .skip-link { display: none; }
  body { padding: 0; background: var(--white); }
  .hero, .area, .disc-back, .doc-top { background: var(--white); color: var(--ink); }
  .shell { padding-left: 0; }
  .doc-sheet { box-shadow: none; }
}
