/* ==========================================================================
   Nonie GmbH: „Zwei Hallen“
   Garage und Bühne unter einem Dach. Die Navigation ist ein Mischpult:
   jeder Abschnitt ein Kanalzug, dessen Fader mit dem Abschnitt hochfährt.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Papier und Tinte: die Grundfläche aller Seiten */
  --ink: #15161b;
  --ink-2: #2a2c34;
  --muted: #585c66;
  --paper: #f4f2ed;
  --paper-2: #e9e6de;
  --line: #cdc8bc;
  --white: #fff;

  /* Mischpult (Kopfleiste, Bühnenabschnitt, Fuß) */
  --console: #1b1d23;
  --console-2: #262932;
  --console-line: #3b3f4a;
  --console-text: #ecebe6;
  --console-muted: #a9adb8;

  /* Halle 1: Garage (Petrol, Beton, Markierungsgelb) */
  --garage: #1d6670;
  --garage-deep: #12454c;
  --garage-soft: #dcebea;
  --concrete: #d9dcda;
  --bay: #f1c232;

  /* Halle 2: Bühne (Violett, Bernstein-Scheinwerfer) */
  --stage: #4b1f6f;
  --stage-deep: #1f1230;
  --stage-soft: #ebe2f3;
  --amber: #ffb423;

  /* Pegelanzeige */
  --led-g: #43d17a;
  --led-a: #ffb423;
  --led-r: #ff5a4a;
  --tape: #f3efe3;

  /* Schrift */
  --font-display: 'League Gothic', 'Arial Narrow', sans-serif;
  --font-text: 'Manrope', system-ui, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.6rem, 1.4rem + 0.9vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.8rem + 1.9vw, 3.4rem);
  --step-4: clamp(2.9rem, 2.2rem + 3.4vw, 5.4rem);

  /* Raster */
  --space-s: 1rem;
  --space-m: clamp(1.25rem, 1rem + 1vw, 2rem);
  --space-l: clamp(2rem, 1.5rem + 2.4vw, 3.75rem);
  --space-xl: clamp(3.5rem, 2.5rem + 4.5vw, 7rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 76rem;
  --radius: 0.375rem;
  --shadow: 0 0.6rem 1.6rem -0.8rem rgb(21 22 27 / 0.45);
  --header-h: 5.4rem;
  --travel: 1.4rem;
}

/* ---------- 2. Schriften (selbst gehostet, latin + latin-ext) ---------- */
@font-face {
  font-family: 'League Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/league-gothic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'League Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/league-gothic-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: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-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;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }
img, svg { display: block; max-width: 100%; }
a { color: var(--garage-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--amber); color: var(--ink);
  font-weight: 700; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- 4. Komponenten ---------- */

/* Schaltflächen: Bernstein = Hauptaktion, Kontur = Nebenaktion */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.6rem 1.25rem;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--amber); color: var(--ink);
  font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { background: #ffc552; color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); color: inherit; }

/* Logo: zwei Hälften eines N – links Garage, rechts Bühne */
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--console-text); text-decoration: none; white-space: nowrap;
  min-height: 2.75rem;
}
.brand:hover { color: var(--white); }
.brand-mark { width: 2.2rem; height: 2.2rem; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 2rem; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-legal { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--console-muted); align-self: flex-end; padding-bottom: 0.35rem; }

/* Abschnittskennung: Kanalnummer auf Klebeband */
.label {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--space-s);
  font-size: var(--step--1); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.label-ch {
  padding: 0.1rem 0.5rem; background: var(--ink); color: var(--tape);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; letter-spacing: 0.08em;
}

/* ---------- 5. Kopfleiste: das Mischpult ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.05), transparent 40%),
    var(--console);
  border-bottom: 3px solid #0d0e11;
  color: var(--console-text);
}
.desk {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 84rem); margin-inline: auto;
}

/* Kanalzüge */
.channel-list { display: flex; margin: 0; padding: 0; list-style: none; }
.channel {
  --level: var(--signal, 0);
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  min-width: 6rem; padding: 0.3rem 0.75rem 0.35rem;
  border-left: 1px solid var(--console-line);
  color: var(--console-text); text-decoration: none;
}
.channel-list li:last-child .channel { border-right: 1px solid var(--console-line); }
.channel:hover, .channel:focus-visible { --level: max(var(--signal, 0), 0.55); color: var(--white); }
.channel[aria-current] { --level: 1; }
.ch-no { font-size: 0.6rem; line-height: 1.2; font-weight: 700; letter-spacing: 0.14em; color: var(--console-muted); }
.ch-body { display: flex; align-items: stretch; gap: 0.45rem; height: calc(var(--travel) + 0.6rem); }
.channels { align-self: stretch; display: flex; align-items: center; }
.ch-fader { position: relative; width: 1.1rem; }
.ch-fader::before { /* Faderschlitz */
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  transform: translateX(-50%); background: #0b0c0f; border-radius: 2px;
}
.ch-cap {
  position: absolute; left: 0; bottom: 0; width: 1.1rem; height: 0.6rem;
  border-radius: 2px;
  background: linear-gradient(180deg, #f1f2f4, #9ca1ab 55%, #c7cbd2);
  box-shadow: 0 2px 3px rgb(0 0 0 / 0.6);
  transform: translateY(calc(var(--level) * var(--travel) * -1));
  transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.3, 1);
}
.ch-cap::after { content: ''; position: absolute; left: 2px; right: 2px; top: 50%; height: 1px; background: var(--ink); }
.ch-meter { display: flex; flex-direction: column-reverse; gap: 2px; width: 0.42rem; }
.ch-meter i {
  flex: 1; border-radius: 1px; background: var(--led-g);
  opacity: clamp(0.16, calc(var(--level) * 5 - var(--i)), 1);
  transition: opacity 0.25s ease;
}
.ch-meter i:nth-child(1) { --i: 0; }
.ch-meter i:nth-child(2) { --i: 1; }
.ch-meter i:nth-child(3) { --i: 2; }
.ch-meter i:nth-child(4) { --i: 3; background: var(--led-a); }
.ch-meter i:nth-child(5) { --i: 4; background: var(--led-r); }
.ch-name {
  padding: 0.05rem 0.45rem; min-width: 4.4rem; text-align: center;
  background: var(--tape); color: var(--ink);
  font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; letter-spacing: 0.08em; text-transform: uppercase;
  transform: rotate(-1.2deg);
  white-space: nowrap;
}
.channel[aria-current] .ch-name { background: var(--amber); }

/* Master: die Anfrage als Aufnahmetaste */
.master {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 2.9rem; padding: 0.5rem 1.1rem 0.5rem 0.85rem;
  border-radius: var(--radius); border: 1px solid #0b0c0f;
  background: var(--amber); color: var(--ink);
  font-weight: 800; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.22);
}
.master:hover { background: #ffc552; color: var(--ink); }
.master-led { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #b3261e; box-shadow: 0 0 0 2px rgb(0 0 0 / 0.25); }
.master[aria-current] .master-led { background: var(--led-r); box-shadow: 0 0 0.6rem var(--led-r); }

.desk-toggle {
  display: none; align-items: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.4rem 0.8rem;
  border: 1px solid var(--console-line); border-radius: var(--radius);
  background: var(--console-2); color: var(--console-text);
  font-weight: 700; white-space: nowrap; cursor: pointer;
}
.desk-toggle:hover { border-color: var(--console-muted); }
.toggle-faders { display: flex; gap: 3px; height: 1.1rem; }
.toggle-faders i { position: relative; width: 3px; background: #0b0c0f; border-radius: 2px; }
.toggle-faders i::after {
  content: ''; position: absolute; left: -3px; width: 9px; height: 4px; border-radius: 1px; background: var(--console-text);
  top: 60%; transition: top 0.25s ease;
}
.toggle-faders i:nth-child(2)::after { top: 15%; }
.toggle-faders i:nth-child(3)::after { top: 40%; }
.desk-toggle[aria-expanded="true"] .toggle-faders i::after { top: 0; }
.desk-extra { display: none; }

/* Unter 60rem: Pult zum Aufklappen */
@media (max-width: 59.99rem) {
  :root { --header-h: 4.1rem; }
  .desk { gap: 0.6rem; }
  .brand-name { font-size: 1.75rem; }
  .brand-mark { width: 1.9rem; height: 1.9rem; }
  .desk-toggle { display: inline-flex; margin-left: auto; }
  .channels {
    display: none;
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    overflow-y: auto; padding: var(--space-m) var(--gutter) var(--space-l);
    background:
      repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--console-line) calc(25% - 1px) 25%),
      var(--console);
  }
  .channels.is-open { display: block; }
  .channels .channel-list { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 30rem; margin-inline: auto; }
  .channels .channel { --travel: 9rem; min-width: 0; padding: 0.75rem 0.25rem 1rem; border: 0; }
  .channels .channel-list li:last-child .channel { border: 0; }
  .channels .ch-fader { width: 1.6rem; }
  .channels .ch-cap { width: 1.6rem; height: 0.9rem; }
  .channels .ch-meter { width: 0.55rem; }
  .channels .ch-name { min-width: 0; width: 100%; font-size: 1.15rem; }
  .desk-extra {
    display: block; max-width: 30rem; margin: var(--space-m) auto 0; padding-top: var(--space-s);
    border-top: 1px solid var(--console-line); color: var(--console-muted); font-size: var(--step--1); text-align: center;
  }
  .desk-extra a { color: var(--console-text); font-weight: 700; display: inline-block; padding: 0.6rem 0; }
}
@media (max-width: 25rem) {
  .brand-legal { display: none; }
  .master { padding-inline: 0.7rem; }
  .desk-toggle { padding-inline: 0.6rem; }
}

/* ---------- 6. Hero: ein Gebäude, zwei Hallen ---------- */
.hero {
  --hero-bg: var(--paper);
  --hero-fg: var(--ink);
  --hero-muted: var(--muted);
  position: relative;
  padding: var(--space-l) 0 var(--space-xl);
  background:
    radial-gradient(60rem 30rem at 80% 10%, rgb(255 180 35 / 0.12), transparent 70%),
    var(--hero-bg);
  color: var(--hero-fg);
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow: hidden;
}
.hero[data-mode="garage"] { --hero-bg: #eef2f1; }
.hero[data-mode="buehne"] { --hero-bg: var(--stage-deep); --hero-fg: var(--console-text); --hero-muted: #c9c1d6; }
.hero-grid {
  display: grid; gap: var(--space-l);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "copy art" "copy features";
  align-items: start;
}
.hero-copy { grid-area: copy; }
.hero-art { grid-area: art; }
.features { grid-area: features; grid-template-columns: 1fr 1fr; }
.js .features { grid-template-columns: 1fr; }
.hero-copy { padding-top: var(--space-m); }
.hero h1 { font-size: var(--step-4); text-transform: uppercase; margin-bottom: var(--space-m); }
.hero h1 span { display: block; }
.hero-h1-sub { color: var(--garage); }
.hero[data-mode="buehne"] .hero-h1-sub { color: var(--amber); }
.hero-lead { font-size: var(--step-1); line-height: 1.5; color: var(--hero-fg); max-width: 34rem; }
.hero-registered { color: var(--hero-muted); font-size: var(--step--1); }

/* Der große Umschalter Garage / Bühne (nur mit JavaScript) */
.hall-switch {
  display: none; position: relative;
  grid-template-columns: 1fr 1fr; width: min(100%, 26rem);
  margin: var(--space-m) 0; padding: 0.35rem;
  border-radius: 999px; background: var(--ink); border: 2px solid var(--ink);
}
.js .hall-switch { display: grid; }
.hall-switch button {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.4rem; padding: 0.4rem 1rem; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--console-text); cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.hall-switch button[aria-pressed="true"] { background: var(--garage-soft); color: var(--ink); }
.hall-switch [data-hall="buehne"][aria-pressed="true"] { background: var(--amber); }
.hall-switch button:hover { color: var(--white); }
.hall-switch button[aria-pressed="true"]:hover { color: var(--ink); }
.hall-switch button:focus-visible { outline-offset: -4px; }
.hall-switch svg { width: 1.4rem; height: 1.4rem; }

.features { display: grid; gap: var(--space-s); }
.feature {
  padding: var(--space-m); border-radius: var(--radius);
  background: var(--white); color: var(--ink); border: 2px solid var(--ink);
  box-shadow: 0.4rem 0.4rem 0 var(--ink);
}
.feature-garage { border-top: 0.6rem solid var(--garage); }
.feature-buehne { border-top: 0.6rem solid var(--stage); }
.feature-title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; text-transform: uppercase; margin-bottom: 0.5rem; }
.feature p:not(.feature-title) { margin-bottom: var(--space-s); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; }
.feature-actions a:not(.btn) { font-weight: 700; color: var(--ink); min-height: 2.75rem; display: inline-flex; align-items: center; }

.hero-art { position: relative; }
.building { width: 100%; height: auto; overflow: visible; }
.building text { font-family: var(--font-display); letter-spacing: 0.08em; }
.building .dim, .building .beam, .building .lamp-cone, .building .tube, .building .spot { transition: opacity 0.6s ease, fill 0.6s ease; }
.building .dim { opacity: 0; }
.hero[data-mode="garage"] .dim-buehne { opacity: 0.62; }
.hero[data-mode="garage"] .beam, .hero[data-mode="garage"] .spot { opacity: 0.08; }
.hero[data-mode="buehne"] .dim-garage { opacity: 0.58; }
.hero[data-mode="buehne"] .lamp-cone { opacity: 0; }
.hero[data-mode="buehne"] .tube { fill: #8d939b; }
.js-only { display: none; }
.js .js-only { display: inline; }
.art-caption { margin-top: 0.75rem; font-size: var(--step--1); color: var(--hero-muted); }

/* Der Backstage-Pass am Schlüsselband: die Ortsangabe */
.pass {
  position: absolute; z-index: 2; right: clamp(0rem, 2vw, 1.5rem); top: 1.5rem;
  width: 13.5rem; padding: 2.4rem 1rem 1rem;
  border-radius: 0.8rem;
  background:
    linear-gradient(120deg, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0) 35%, rgb(255 255 255 / 0) 65%, rgb(255 255 255 / 0.45)),
    var(--white);
  color: var(--ink); border: 1px solid #b9b5aa;
  box-shadow: var(--shadow), inset 0 0 0 0.35rem rgb(255 255 255 / 0.6);
  transform: rotate(3deg); transform-origin: 50% -5rem;
  animation: pass-swing 7s ease-in-out infinite;
}
.pass::before { /* Schlüsselband */
  content: ''; position: absolute; left: 50%; bottom: calc(100% - 0.9rem); width: 1.5rem; height: 10rem;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--stage) 0 1.6rem, var(--garage) 1.6rem 3.2rem);
  border-radius: 2px;
}
.pass::after { /* Karabiner und Lochung */
  content: ''; position: absolute; left: 50%; top: 0.55rem; width: 2.6rem; height: 0.8rem;
  transform: translateX(-50%); border-radius: 999px;
  background: var(--paper-2); border: 3px solid #8c9099; box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.3);
}
.pass-band {
  display: grid; grid-template-columns: 1fr 1fr; margin: 0 -1rem 0.75rem;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: center;
}
.pass-band span:first-child { background: var(--garage); color: var(--white); }
.pass-band span:last-child { background: var(--stage); color: var(--white); }
.pass-title { margin: 0; font-family: var(--font-display); font-size: 2.6rem; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.03em; }
.pass-firm { margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pass address { font-weight: 700; line-height: 1.35; }
.pass-meta { margin: 0.6rem 0 0; padding-top: 0.6rem; border-top: 1px dashed var(--line); font-size: 0.8rem; color: var(--muted); }
.pass-meta a { color: var(--ink); font-weight: 700; }
.pass-holo {
  position: absolute; right: 0.8rem; bottom: 0.8rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: conic-gradient(from 30deg, #b9f0e6, #f4c8ff, #ffe7a6, #c2e2ff, #b9f0e6);
  opacity: 0.75;
}
@keyframes pass-swing {
  0%, 100% { transform: rotate(3deg); }
  50% { transform: rotate(-1.5deg); }
}

@media (max-width: 59.99rem) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "art" "features" "pass"; }
  .hero-copy { padding-top: 0; }
  .features { grid-template-columns: 1fr; }
  .pass { grid-area: pass; position: relative; top: auto; right: auto; margin: 4.5rem auto 0; }
  .pass::before { height: 6rem; }
}

/* ---------- 7. Halle 1: Garage ---------- */
.section { padding: var(--space-xl) 0; }
.section-head { display: grid; gap: var(--space-s) var(--space-l); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; margin-bottom: var(--space-l); }
.section-head h2 { font-size: var(--step-4); text-transform: uppercase; }
.section-head p { margin: 0; max-width: 36rem; }
@media (max-width: 47.99rem) { .section-head { grid-template-columns: 1fr; } }

.garage {
  background:
    radial-gradient(circle at 20% 30%, rgb(0 0 0 / 0.025) 0 1px, transparent 1.5px) 0 0 / 9px 9px,
    var(--concrete);
}
.garage .section-head h2 { color: var(--garage-deep); }

/* Stellplätze: Leistungen als markierte Parkbuchten */
.bays {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  border-top: 0.35rem solid var(--bay);
}
.bay {
  position: relative; padding: var(--space-m) var(--space-m) 4rem;
  border-right: 0.35rem solid var(--bay);
}
.bay:first-child { border-left: 0.35rem solid var(--bay); }
.bay::after { /* Radstopper */
  content: ''; position: absolute; left: 25%; right: 25%; bottom: 1.25rem; height: 0.8rem;
  border-radius: 0.3rem; background: repeating-linear-gradient(90deg, var(--ink) 0 1.1rem, var(--bay) 1.1rem 2.2rem);
}
.bay-no {
  display: block; margin-bottom: 0.4rem;
  font-family: var(--font-display); font-size: 4rem; line-height: 0.9; color: var(--white);
  -webkit-text-stroke: 2px var(--garage-deep);
}
.bay h3 { font-size: var(--step-2); text-transform: uppercase; color: var(--garage-deep); margin-bottom: 0.6rem; }
.bay ul { margin: 0.75rem 0 0; padding-left: 1.1rem; }
.bay li { margin-bottom: 0.3rem; }
.bay li::marker { color: var(--garage); }
@media (max-width: 69.99rem) {
  .bays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bay { border-bottom: 0.35rem solid var(--bay); }
  .bay:nth-child(odd) { border-left: 0.35rem solid var(--bay); }
}
@media (max-width: 39.99rem) {
  .bays { grid-template-columns: 1fr; }
  .bay { border-left: 0.35rem solid var(--bay); }
}

/* Saisonband: wann was eingelagert wird */
.season { margin-top: var(--space-l); padding: var(--space-m); background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); }
.season h3 { font-size: var(--step-2); text-transform: uppercase; margin-bottom: var(--space-s); }
.season-months {
  display: grid; grid-template-columns: 8.5rem repeat(12, minmax(0, 1fr)); gap: 3px;
  margin: 0; padding: 0; list-style: none; font-size: 0.8rem; font-weight: 700; text-align: center;
}
.season-months li:first-child { text-align: left; }
.season-row { display: grid; grid-template-columns: 8.5rem repeat(12, minmax(0, 1fr)); gap: 3px; margin-top: 3px; align-items: center; }
.season-row dt { font-weight: 700; font-size: var(--step--1); padding-right: 0.5rem; }
.season-row dd { margin: 0; grid-column: var(--from) / var(--to); height: 1.8rem; border-radius: 3px; background: var(--garage); color: var(--white); font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; padding-inline: 0.6rem; white-space: nowrap; overflow: hidden; }
.season-row dd.is-split { background: var(--garage); }
.season-row dd.is-alt { background: var(--amber); color: var(--ink); }
.season-note { margin: var(--space-s) 0 0; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 47.99rem) {
  .season-months { display: none; }
  .season-row { grid-template-columns: 1fr; gap: 0.2rem; margin-top: 0.75rem; }
  .season-row dd { grid-column: 1; white-space: normal; height: auto; min-height: 1.8rem; padding-block: 0.3rem; }
}

/* Hinweis zum Fahrzeughandel */
.trade-note {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-s) var(--space-m);
  margin-top: var(--space-m); padding: var(--space-m); border-left: 0.35rem solid var(--garage);
  background: var(--garage-soft);
}
.trade-note svg { width: 2.6rem; height: 2.6rem; color: var(--garage-deep); }
.trade-note h3 { font-size: var(--step-1); font-family: var(--font-text); font-weight: 800; line-height: 1.3; margin-bottom: 0.4rem; }
.trade-note p:last-child { margin-bottom: 0; }

/* ---------- 8. Halle 2: Bühne ---------- */
.stage {
  position: relative; overflow: hidden;
  background:
    radial-gradient(40rem 26rem at 18% 0%, rgb(255 180 35 / 0.22), transparent 70%),
    radial-gradient(36rem 24rem at 85% 5%, rgb(176 92 230 / 0.28), transparent 70%),
    var(--stage-deep);
  color: var(--console-text);
}
.stage a { color: var(--amber); }
.stage a:hover { color: var(--white); }
.stage .btn, .stage .btn:hover { color: var(--ink); }
.stage .section-head h2 { color: var(--white); }
.stage .label-ch { background: var(--amber); color: var(--ink); }
.stage-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-l); align-items: start; }

/* Setlist: auf den Bühnenboden geklebt */
.setlist {
  position: relative; padding: var(--space-m) var(--space-m) var(--space-l);
  background: #fbfaf6; color: var(--ink); border-radius: 2px;
  transform: rotate(-1.2deg); box-shadow: 0 1.2rem 2.4rem -1rem rgb(0 0 0 / 0.8);
}
.setlist::before, .setlist::after { /* Gaffa-Streifen */
  content: ''; position: absolute; top: -0.8rem; width: 6.5rem; height: 1.7rem; background: rgb(30 30 34 / 0.92);
}
.setlist::before { left: 1.5rem; transform: rotate(-4deg); }
.setlist::after { right: 1.5rem; transform: rotate(5deg); }
.setlist-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 3px solid var(--ink); padding-bottom: 0.4rem; margin-bottom: 0.5rem; }
.setlist-head h3 { font-size: var(--step-3); text-transform: uppercase; }
.setlist-head span { font-weight: 700; font-size: var(--step--1); color: var(--muted); }
.setlist ol { margin: 0; padding: 0; list-style: none; counter-reset: song; }
.setlist li { counter-increment: song; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.2rem 0.6rem; padding: 0.7rem 0; border-bottom: 1px solid #ddd8cc; }
.setlist li::before { content: counter(song, decimal-leading-zero); font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--stage); }
.setlist h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; }
.setlist p { grid-column: 2; margin: 0; font-size: 0.95rem; }

.formats h3 { font-size: var(--step-2); text-transform: uppercase; color: var(--amber); margin-bottom: var(--space-s); }
.format-list { margin: 0 0 var(--space-l); padding: 0; list-style: none; }
.format-list li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.7rem; padding: 0.75rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.format-list svg { width: 1.6rem; height: 1.6rem; color: var(--amber); margin-top: 0.15rem; }
.format-list strong { display: block; color: var(--white); }
.organiser-note { padding: var(--space-m); border: 1px solid rgb(255 255 255 / 0.25); border-radius: var(--radius); background: rgb(0 0 0 / 0.25); }
.organiser-note h3 { font-family: var(--font-text); font-weight: 800; font-size: var(--step-1); color: var(--white); text-transform: none; line-height: 1.3; }
.organiser-note ul { margin: 0; padding-left: 1.1rem; }
.organiser-note li { margin-bottom: 0.5rem; }
.stage-cta { margin: var(--space-m) 0 0; }
@media (max-width: 59.99rem) { .stage-grid { grid-template-columns: 1fr; } .setlist { transform: none; } }

/* ---------- 9. Ablauf: Steckfeld mit zwei Reihen ---------- */
.patchbay { display: grid; gap: var(--space-l); }
.patch-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-m); align-items: start; }
.patch-name { margin: 0; padding: 0.5rem 0.75rem; border-radius: var(--radius); color: var(--white); font-family: var(--font-display); font-size: 1.7rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; }
.patch-garage .patch-name { background: var(--garage); }
.patch-buehne .patch-name { background: var(--stage); }
.patch-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-s); margin: 0; padding: 0; list-style: none; counter-reset: jack; }
.patch-steps::before { /* das Kabel, das alle Buchsen verbindet */
  content: ''; position: absolute; left: 1rem; right: 1rem; top: 0.95rem; height: 4px; border-radius: 2px;
  background: var(--jack, var(--garage));
}
.patch-buehne .patch-steps { --jack: var(--stage); }
.patch-steps li { position: relative; counter-increment: jack; padding-top: 2.6rem; }
.patch-steps li::before { /* Buchse */
  content: counter(jack); position: absolute; top: 0; left: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 800; font-size: 0.9rem;
  box-shadow: 0 0 0 4px var(--paper), inset 0 0 0 3px #4a4e59;
}
.patch-steps h4 { font-family: var(--font-text); font-size: 1rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.3rem; }
.patch-steps p { margin: 0; font-size: 0.93rem; color: var(--muted); }
@media (max-width: 69.99rem) {
  .patch-row { grid-template-columns: 1fr; }
  .patch-name { justify-self: start; }
}
@media (max-width: 47.99rem) {
  .patch-steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .patch-steps::before { left: 1.0rem; right: auto; top: 1rem; bottom: 1rem; width: 4px; height: auto; }
  .patch-steps li { padding: 0.1rem 0 0 3.3rem; }
}

/* Hinweis unter dem Steckfeld */
.patch-note { margin: var(--space-l) 0 0; padding: var(--space-s) var(--space-m); border-left: 0.35rem solid var(--amber); background: var(--white); font-weight: 600; }

/* ---------- 10. Fragen: Gaffa-Beschriftungen ---------- */
.faq { background: var(--paper-2); }
.faq-list { margin: 0; columns: 2 24rem; column-gap: var(--space-l); }
.faq-item { break-inside: avoid; margin: 0 0 var(--space-m); padding-bottom: var(--space-s); border-bottom: 1px dashed var(--line); }
.faq-item dt { margin-bottom: 0.6rem; }
.faq-q {
  display: inline; padding: 0.15rem 0.5rem; line-height: 1.55;
  background: var(--ink); color: var(--tape);
  font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0.03em; text-transform: uppercase;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.faq-tag { display: inline-block; margin-right: 0.5rem; padding: 0.05rem 0.45rem; border-radius: 3px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; vertical-align: 0.3em; }
.faq-tag.is-garage { background: var(--garage); color: var(--white); }
.faq-tag.is-buehne { background: var(--stage); color: var(--white); }
.faq-tag.is-both { background: var(--amber); color: var(--ink); }
.faq-item dd { margin: 0; }

/* ---------- 11. Anfrage: Eingangswahl am Pult ---------- */
.request-section { background: var(--paper); }
.request-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-l); align-items: start; }
.request {
  padding: var(--space-m); border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--white); box-shadow: 0.5rem 0.5rem 0 var(--ink);
}
.request fieldset { margin: 0 0 var(--space-m); padding: 0; border: 0; min-width: 0; }
.request legend { padding: 0; margin-bottom: 0.6rem; font-family: var(--font-display); font-size: var(--step-2); line-height: 1; text-transform: uppercase; }
.req { color: #a3261b; }

/* Eingangswahl: Input A Fahrzeug, Input B Event */
.inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.input-option { position: relative; }
.input-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.input-option span {
  display: grid; gap: 0.15rem; min-height: 4.5rem; padding: 0.7rem 0.9rem 0.7rem 2.6rem; position: relative;
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--console); color: var(--console-text);
}
.input-option span::before { /* LED */
  content: ''; position: absolute; left: 0.9rem; top: 1.05rem; width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: #3a3d45; box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.6);
}
.input-option small { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--console-muted); }
.input-option strong { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; }
.input-option input:checked + span { background: var(--amber); color: var(--ink); }
.input-option input:checked + span small { color: var(--ink); }
.input-option input:checked + span::before { background: var(--led-r); box-shadow: 0 0 0.5rem var(--led-r); }
.input-option input:focus-visible + span { outline: 3px solid var(--garage); outline-offset: 3px; }
.inputs[aria-invalid="true"] .input-option span, [data-group][aria-invalid="true"] .input-option span { border-color: #a3261b; }

.request .strand { padding: var(--space-m); border-radius: var(--radius); }
.strand-fahrzeug { background: var(--garage-soft); }
.strand-event { background: var(--stage-soft); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s); }
.field { display: grid; gap: 0.3rem; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label, .checks legend { font-weight: 700; font-size: 0.95rem; }
.checks legend { font-family: var(--font-text); font-size: 0.95rem; text-transform: none; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.9rem; padding: 0.55rem 0.75rem;
  border: 2px solid #6b6f78; border-radius: var(--radius); background: var(--white);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #a3261b; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1rem; }
.check { display: flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--garage); flex: none; }
.field-error { margin: 0.25rem 0 0; color: #a3261b; font-size: 0.88rem; font-weight: 700; }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-s); }
.form-foot p { margin: 0; font-size: var(--step--1); color: var(--muted); flex: 1 1 16rem; }
.form-status { margin-top: var(--space-s); padding: 0.8rem 1rem; border-radius: var(--radius); }
.form-status:empty { display: none; }
.form-status.is-success { background: var(--garage-soft); border-left: 0.3rem solid var(--garage); }
.form-status.is-error { background: #fbe4e1; border-left: 0.3rem solid #a3261b; }
@media (max-width: 39.99rem) {
  .fields, .check-grid, .inputs { grid-template-columns: 1fr; }
}

/* Kontaktkarte neben dem Formular: Laufkarte vom Inspizienten */
.cue-card { padding: var(--space-m); border-radius: var(--radius); background: var(--console); color: var(--console-text); }
.cue-card h3 { font-size: var(--step-2); text-transform: uppercase; margin-bottom: var(--space-s); color: var(--white); }
.cue-card dl { margin: 0; display: grid; gap: 0.9rem; }
.cue-card dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--console-muted); }
.cue-card dd { margin: 0; }
.cue-card a { color: var(--amber); font-weight: 700; }
.cue-card a:hover { color: var(--white); }
.cue-card .cue-big { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.03em; text-decoration: none; display: inline-block; line-height: 1.2; }
@media (max-width: 59.99rem) { .request-grid { grid-template-columns: 1fr; } }

/* ---------- 12. Fuß: das Rolltor ---------- */
.site-footer {
  position: relative; color: var(--console-text);
  background:
    repeating-linear-gradient(180deg, #2b2e36 0 1.4rem, #1d1f25 1.4rem 1.55rem, #33363f 1.55rem 1.65rem),
    var(--console);
  border-top: 0.9rem solid #0f1013;
}
.site-footer a { color: var(--console-text); }
.site-footer a:hover { color: var(--amber); }
.door { padding: var(--space-l) 0 var(--space-m); }
.door-sign {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-m) var(--space-l);
  padding: var(--space-m); border-radius: var(--radius); background: var(--console); border: 1px solid #454956;
  box-shadow: 0 1rem 2rem -1rem rgb(0 0 0 / 0.8);
}
.door-sign h2 { font-size: 0.75rem; font-family: var(--font-text); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--console-muted); margin-bottom: 0.6rem; }
.door-sign ul { margin: 0; padding: 0; list-style: none; }
.door-sign li a { display: inline-block; padding: 0.3rem 0; min-height: 2.75rem; line-height: 2.15rem; }
.door-hours { margin: 0.6rem 0 0; font-size: var(--step--1); color: var(--console-muted); }
.door-firm p { margin: 0 0 0.6rem; font-size: var(--step--1); color: var(--console-muted); }
.door-firm address { margin-bottom: 0.6rem; }
.door-firm .brand { margin-bottom: 0.4rem; }
.door-legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.4rem;
  margin-top: var(--space-m); padding: 0.8rem 0 0;
  font-size: var(--step--1);
}
.door-legal a, .door-legal button { min-height: 2.75rem; display: inline-flex; align-items: center; }
.door-legal button { padding: 0; border: 0; background: none; color: var(--console-text); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.door-legal button:hover { color: var(--amber); }
.door-legal small { margin-left: auto; color: var(--console-muted); font-size: var(--step--1); }
.door-stencil {
  margin: var(--space-m) 0 0; padding: 0.4rem 0; text-align: center;
  font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); letter-spacing: 0.3em; text-transform: uppercase;
  color: #8c919c; border-top: 2px dashed var(--bay); border-bottom: 2px dashed var(--bay);
}
@media (max-width: 59.99rem) { .door-sign { grid-template-columns: 1fr 1fr; } .door-firm { grid-column: 1 / -1; } }
@media (max-width: 29.99rem) { .door-sign { grid-template-columns: 1fr; } .door-legal small { margin-left: 0; } }

/* ---------- 13. Rechtstexte ---------- */
.doc-wrap { padding: var(--space-l) 0 var(--space-xl); background: var(--concrete); }
.doc {
  position: relative; width: min(100% - 2 * var(--gutter), 52rem); margin-inline: auto;
  padding: var(--space-l) clamp(1.1rem, 4vw, 3.5rem) var(--space-xl);
  background: var(--white); border-radius: 2px; box-shadow: var(--shadow);
}
.doc::before { /* Gaffa-Streifen oben */
  content: ''; position: absolute; left: 50%; top: -0.9rem; width: 9rem; height: 1.8rem; transform: translateX(-50%) rotate(-2deg);
  background: rgb(30 30 34 / 0.9);
}
.doc-kicker { font-size: var(--step--1); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.doc h1 { font-size: var(--step-4); text-transform: uppercase; margin-bottom: var(--space-m); hyphens: manual; }
.doc h2 { font-size: var(--step-2); text-transform: uppercase; margin: var(--space-l) 0 var(--space-s); padding-top: 0.6rem; border-top: 3px solid var(--ink); }
.doc h3 { font-family: var(--font-text); font-weight: 800; font-size: var(--step-1); line-height: 1.3; margin: var(--space-m) 0 0.5rem; }
.doc-address { margin: 0 0 1em; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin-bottom: 0.4rem; }
.doc-toc { margin: var(--space-m) 0; padding: var(--space-m); background: var(--paper); border-left: 0.35rem solid var(--garage); }
.doc-toc h2 { margin: 0 0 0.5rem; padding: 0; border: 0; font-size: var(--step-1); }
.doc-toc ol { margin: 0; columns: 2 15rem; column-gap: 2rem; }
.doc-toc a { display: inline-block; padding: 0.2rem 0; vertical-align: top; }
.doc-box { margin: var(--space-m) 0; padding: var(--space-m); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.doc-box > :last-child { margin-bottom: 0; }
.doc-box h3:first-child { margin-top: 0; }
.doc dl.facts { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.5rem 1rem; margin: 0 0 1em; }
.doc dl.facts dt { font-weight: 700; }
.doc dl.facts dd { margin: 0; }
@media (max-width: 39.99rem) { .doc dl.facts { grid-template-columns: 1fr; gap: 0.1rem; } .doc dl.facts dd { margin-bottom: 0.6rem; } }

/* Tabellen, die auf schmalen Bildschirmen zu Einträgen werden */
.table { width: 100%; border-collapse: collapse; margin: var(--space-s) 0 var(--space-m); font-size: 0.93rem; }
.table caption { text-align: left; font-weight: 800; margin-bottom: 0.5rem; }
.table th, .table td { padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: var(--ink); color: var(--white); font-weight: 700; }
@media (max-width: 47.99rem) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { margin-bottom: 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); }
  .table td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.6rem; border-bottom: 1px solid var(--paper-2); }
  .table td::before { content: attr(data-label); font-weight: 700; }
  .table tr td:last-child { border-bottom: 0; }
}

/* ---------- 14. 404 ---------- */
.lost { padding: var(--space-xl) 0; background: var(--console); color: var(--console-text); min-height: 60vh; }
.lost h1 { font-size: var(--step-4); text-transform: uppercase; color: var(--white); margin-bottom: var(--space-s); }
.lost-meters { display: flex; gap: 0.5rem; height: 6rem; margin-bottom: var(--space-m); }
.lost-meters span { display: flex; flex-direction: column-reverse; gap: 3px; width: 0.8rem; }
.lost-meters i { flex: 1; background: #343842; border-radius: 1px; }
.lost-meters i:first-child { background: var(--led-r); }
.lost-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-m); }
.lost .btn-ghost { color: var(--white); }

/* ---------- 15. Cookie-Einwilligung ---------- */
.consent {
  position: fixed; z-index: 80; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  max-width: 40rem; padding: var(--space-m);
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--console); color: var(--console-text);
  box-shadow: 0.4rem 0.4rem 0 var(--amber);
}
.consent a { color: var(--amber); }
.consent-title { font-size: var(--step-2); text-transform: uppercase; margin-bottom: 0.6rem; color: var(--white); }
.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: 2.9rem; padding: 0.5rem 1rem;
  border: 2px solid var(--tape); border-radius: 999px; background: var(--tape); color: var(--ink);
  font-weight: 800; cursor: pointer;
}
.consent-btn:hover { background: var(--amber); border-color: var(--amber); }
.consent-link { min-height: 2.75rem; padding: 0.4rem 0.2rem; border: 0; background: none; color: var(--console-text); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; font-weight: 700; }
.consent-link:hover { color: var(--amber); }
.consent-dialog {
  width: min(100% - 2rem, 36rem); max-height: calc(100vh - 2rem); padding: 0;
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.consent-dialog::backdrop { background: rgb(15 16 20 / 0.7); }
.consent-dialog .consent-title { color: var(--ink); }
.consent-dialog a { color: var(--garage-deep); }
.consent-dialog-inner { padding: var(--space-m); }
.consent-categories { margin: var(--space-s) 0; padding: 0; list-style: none; }
.consent-category { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.consent-category p { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--muted); }
.consent-category-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.consent-category h3 { font-family: var(--font-text); font-size: 1rem; font-weight: 800; }
.consent-always { font-size: 0.85rem; font-weight: 700; color: var(--garage-deep); }
.consent-switch { position: relative; display: inline-flex; width: 3.4rem; height: 2.75rem; align-items: center; cursor: pointer; }
.consent-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.consent-switch-track { width: 3.4rem; height: 1.8rem; border-radius: 999px; background: #8a8e97; position: relative; transition: background-color 0.2s ease; }
.consent-switch-track::after { content: ''; position: absolute; left: 0.2rem; top: 0.2rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--white); transition: transform 0.2s ease; }
.consent-switch input:checked + .consent-switch-track { background: var(--garage); }
.consent-switch input:checked + .consent-switch-track::after { transform: translateX(1.6rem); }
.consent-switch input:focus-visible + .consent-switch-track { outline: 3px solid var(--amber); outline-offset: 2px; }
.consent-dialog .consent-btn { border-color: var(--ink); background: var(--white); }
.consent-dialog .consent-btn:hover { background: var(--paper-2); }
.consent-dialog .consent-btn-save { background: var(--ink); color: var(--white); }
.consent-dialog .consent-btn-save:hover { background: var(--ink-2); }

/* ---------- 16. Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 17. Druck ---------- */
@media print {
  .site-header, .site-footer, .consent, .hall-switch, .pass::before { display: none; }
  .doc { box-shadow: none; }
  .doc-wrap { background: none; }
}
