/* =====================================================================================
   Vorlage 48 Glas und Fassade · Aussehen
   Bautyp „Schichten aus Glas": Jeder Abschnitt ist eine Scheibe (.scheibe). Glas entsteht hier nur aus
   Verläufen, Kanten und Deckkraft, nie aus Unschärfe (kein backdrop-filter, kein filter: blur):
     - halbdurchsichtiger Grund, darunter scheint der feste Aluminiumgrund mit seinem Raster durch
     - grüne Glaskante rechts und unten (zwei versetzte Schatten ohne Weichzeichnung)
     - Lichtkante oben in den Farben einer Lichtbrechung (Türkis, Violett, Messing)
     - schräge Spiegelstreifen (::after), die beim Scrollen langsam wandern (nur Stufe dynamisch)
   Die Scheiben liegen versetzt übereinander: jede überdeckt den unteren Rand der vorigen.
   Inhalt:  1 Grundlagen  2 Grund und Scheiben  3 Glasleiste  4 Knöpfe  5 Werkzeug „Welches Glas?"
            6 Zahlen, Leistungen  7 Eine Fassade entsteht  8 Referenzen, Jobs, Kontakt, Anfahrt
            9 Fuß, Handy-Leiste  10 Auftritte und Bewegungsstufen  11 Schmale Bildschirme
   ===================================================================================== */

/* ---------- 1 · Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--schrift); font-size: 18px; line-height: 1.6; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
b { font-weight: 650; }
:focus-visible { outline: 2px solid var(--messing-hell); outline-offset: 3px; border-radius: 3px; }
.scheibe-hell :focus-visible { outline-color: var(--tuerkis-tief); }
.sprung { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--alu-0); color: var(--text); border-radius: var(--radius); }
.sprung:focus { top: 12px; }

.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tuerkis-tief); margin: 0 0 14px; }
.kicker-hell { color: var(--tuerkis-hell); }
h2 { font-size: clamp(32px, 4vw, 52px); }
.lead { margin-top: 18px; max-width: 38em; font-size: clamp(17px, 1.2vw, 20px); color: var(--muted); }
.scheibe-nacht .lead, .scheibe-tuerkis .lead { color: var(--nacht-leise); }
.scheibe-tuerkis .lead { color: #bfe3de; }

/* ---------- 2 · Grund und Scheiben ---------- */
.grund {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 90% 6%, rgba(31, 168, 159, .22), transparent 70%),
    radial-gradient(55% 50% at 4% 94%, rgba(90, 70, 168, .2), transparent 70%),
    linear-gradient(90deg, rgba(111, 122, 133, .16) 1px, transparent 1px) 0 0 / 160px 100%,
    linear-gradient(180deg, rgba(111, 122, 133, .12) 1px, transparent 1px) 0 0 / 100% 240px,
    linear-gradient(180deg, #e9edf1, #dbe1e7);
}
main { display: block; padding-top: var(--rand); }

.scheibe {
  position: relative; margin: 0 var(--rand); padding: var(--abstand) var(--innen);
  border-radius: var(--radius); overflow: clip;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7), inset 1px 0 0 rgba(255, 255, 255, .35),
    4px 4px 0 -1px rgba(143, 214, 201, .75), 6px 6px 0 -2px rgba(30, 110, 100, .3),
    0 -18px 40px -28px rgba(10, 6, 30, .45), 0 40px 70px -40px rgba(14, 10, 40, .45);
}
/* Lichtkante oben: Türkis, Violett, Messing wie bei einer Lichtbrechung */
.scheibe::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(127, 220, 210, 0), rgba(127, 220, 210, .95) 18%, rgba(184, 173, 239, .95) 50%, rgba(230, 204, 146, .95) 82%, rgba(230, 204, 146, 0));
}
/* Spiegelstreifen */
.scheibe::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 18%; width: 64%; z-index: 0; pointer-events: none;
  background: linear-gradient(104deg, transparent 0 18%, rgba(255, 255, 255, .26) 23%, transparent 31%, transparent 72%, rgba(255, 255, 255, .13) 75%, transparent 81%);
}
.scheibe-nacht::after, .scheibe-tuerkis::after, .scheibe-fuss::after {
  background: linear-gradient(104deg, transparent 0 26%, rgba(255, 255, 255, .055) 29%, transparent 34%, transparent 61%, rgba(255, 255, 255, .035) 63%, transparent 67%);
}
.scheibe > * { position: relative; z-index: 1; max-width: var(--breite); margin-left: auto; margin-right: auto; }
.scheibe > .anker { position: absolute; top: 0; }
main > .scheibe + .scheibe, .fuss { margin-top: calc(-1 * var(--ueberlapp)); }
main > .scheibe + .scheibe { padding-top: calc(var(--abstand) + var(--ueberlapp) * .5); }
@media (min-width: 901px) {
  main > .scheibe:nth-child(odd) { margin-right: calc(var(--rand) + 18px); }
  main > .scheibe:nth-child(even) { margin-left: calc(var(--rand) + 18px); }
}

.scheibe-hell { background-color: rgba(243, 245, 247, .86); color: var(--text); }
/* Der untere Rand dunkler Scheiben trägt die Kantenfarbe: unter der nächsten, hellen Scheibe scheint er als Glaskante durch */
.scheibe-nacht {
  background-color: rgba(25, 20, 51, .94); color: var(--nacht-text);
  background-image:
    linear-gradient(0deg, rgba(143, 214, 201, .55) 0, rgba(143, 214, 201, .2) var(--ueberlapp), transparent var(--ueberlapp)),
    linear-gradient(160deg, rgba(90, 70, 168, .26), transparent 60%);
}
.scheibe-tuerkis {
  background-color: rgba(12, 47, 51, .94); color: #eefaf8;
  background-image:
    linear-gradient(0deg, rgba(143, 214, 201, .6) 0, rgba(143, 214, 201, .22) var(--ueberlapp), transparent var(--ueberlapp)),
    linear-gradient(160deg, rgba(31, 168, 159, .24), transparent 55%);
}
.scheibe-fuss { background-color: rgba(16, 12, 34, .97); color: var(--nacht-leise); }

/* ---------- 3 · Glasleiste ---------- */
.leiste {
  position: fixed; top: 10px; left: var(--rand); right: var(--rand); z-index: 50; height: 54px;
  border-radius: var(--radius); background-color: rgba(25, 20, 51, .92); color: var(--nacht-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 3px 3px 0 -1px rgba(143, 214, 201, .5), 0 14px 30px -16px rgba(10, 6, 30, .6);
}
.leiste::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 220, 210, .9), rgba(184, 173, 239, .9), rgba(230, 204, 146, .9), transparent);
}
.leiste-innen { height: 100%; display: flex; align-items: center; gap: 22px; padding: 0 8px 0 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; min-height: 44px; }
.logo-zeichen { width: 28px; height: 28px; }
.menue { display: flex; gap: 4px; margin: 0 auto; }
.menue a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--nacht-leise); text-decoration: none; font-size: 15px; font-weight: 550; transition: color .25s;
}
.menue a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1.5px; background: var(--messing); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--weich); }
.menue a:hover, .menue a.ist-aktiv { color: var(--nacht-text); }
.menue a.ist-aktiv::after { transform: scaleX(1); }
.leiste-tel { color: var(--nacht-text); text-decoration: none; font-size: 15px; font-weight: 600; font-variant-numeric: lining-nums; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.menue-handy { display: none; position: relative; margin-left: auto; }
.menue-handy summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-knopf); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); font-weight: 600; font-size: 15px;
}
.menue-handy summary::-webkit-details-marker { display: none; }
.menue-handy-liste {
  position: absolute; right: 0; top: 52px; width: min(280px, 82vw); padding: 8px; border-radius: var(--radius);
  background-color: rgba(25, 20, 51, .98); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 3px 3px 0 -1px rgba(143, 214, 201, .5), 0 20px 40px -16px rgba(0, 0, 0, .6);
}
.menue-handy-liste a { display: flex; align-items: center; min-height: 46px; padding: 0 12px; text-decoration: none; border-radius: 4px; }
.menue-handy-liste a:hover { background: rgba(255, 255, 255, .06); }

/* ---------- 4 · Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: var(--radius-knopf); cursor: pointer; text-decoration: none;
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .005em;
  background-color: var(--messing); background-image: linear-gradient(180deg, #ebcd8d, #c99f4c);
  color: var(--violett-nacht);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 22px -12px rgba(120, 90, 30, .7);
  transition: transform .3s var(--weich), box-shadow .3s;
}
.knopf:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 14px 26px -12px rgba(120, 90, 30, .8); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
.knopf-linie, .knopf-zart {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-knopf); font: inherit; font-size: 16px; font-weight: 650; text-decoration: none; cursor: pointer;
  background: transparent; color: inherit; border: 0; box-shadow: inset 0 0 0 1px currentColor; transition: background .25s;
}
.knopf-zart { min-height: 44px; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); color: var(--nacht-text); white-space: nowrap; }
.knopf-zart:hover, .knopf-linie:hover { background: rgba(255, 255, 255, .07); }

/* ---------- 5 · Werkzeug „Welches Glas?" ---------- */
.held { padding: calc(var(--kopf) + 18px) clamp(18px, 3vw, 44px) calc(var(--ueberlapp) + 24px); }
.held-raster {
  max-width: 1380px; display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 1fr);
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-areas: "buehne text" "buehne wahl" "buehne schnitt" "werte temp" "werte fuss";
  column-gap: clamp(24px, 3vw, 44px); row-gap: 14px; align-items: start;
}
.held-text { grid-area: text; }
.held h1 { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.03em; }
.held-lead { margin-top: 12px; color: var(--nacht-leise); font-size: 17px; line-height: 1.5; max-width: 30em; }

.held-buehne {
  grid-area: buehne; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px;
  background-color: #1f1647;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 4px 4px 0 -1px rgba(143, 214, 201, .45), 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.lage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.lage > svg { display: block; width: 100%; height: 100%; }
.lage-licht, .lage-waerme, .lage-gruen, .lage-silber, .lage-spiegel { transition: opacity .9s var(--weich); }
/* Stand ohne JavaScript: Dreifachglas */
.lage-licht { opacity: .78; }
.lage-waerme { opacity: .67; }
.lage-gruen { opacity: .55; }
.lage-silber { opacity: .08; }
.lage-spiegel { opacity: .62; }
.lage-glanz { overflow: hidden; clip-path: polygon(18.53% 0, 57.08% 0, 82.56% 0, 82.56% 68.86%, 57.08% 84.72%, 18.53% 72.85%); }
.lage-glanz span {
  position: absolute; top: 0; bottom: 0; left: 0; width: 44%;
  background: linear-gradient(100deg, transparent 15%, rgba(255, 246, 228, .3) 48%, rgba(255, 255, 255, .12) 56%, transparent 85%);
  transform: translateX(-120%);
}
.buehne-marke {
  position: absolute; display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 11px 5px 10px;
  border-radius: var(--radius-knopf); background-color: rgba(20, 15, 42, .84); color: var(--nacht-leise);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: 13px; line-height: 1.2; white-space: nowrap;
}
.buehne-marke b { color: var(--nacht-text); font-size: 15px; font-variant-numeric: lining-nums; }
.marke-raum { left: 38%; top: 66%; }
.marke-raum b { color: #ffc29e; }
.marke-licht { left: 23%; top: 37%; }
.marke-licht b { color: var(--licht); }
.buehne-lage { position: absolute; left: 2.2%; bottom: 2.6%; font-size: 12.5px; color: rgba(243, 241, 251, .86); letter-spacing: .02em; }

.wahl { grid-area: wahl; border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wahl legend { padding: 0; margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nacht-leise); }
.wahl-karte {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1px;
  min-height: 60px; padding: 9px 12px 9px 40px; border-radius: 4px; cursor: pointer;
  background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: background .4s var(--weich), box-shadow .4s var(--weich);
}
.wahl-karte:hover { background: rgba(255, 255, 255, .07); }
.wahl-karte input {
  position: absolute; left: 14px; top: 50%; margin: -8px 0 0; width: 16px; height: 16px; appearance: none; -webkit-appearance: none;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--nacht-leise); cursor: pointer; transition: box-shadow .3s;
}
.wahl-karte input:checked { box-shadow: inset 0 0 0 1.5px var(--tuerkis-hell), inset 0 0 0 4.5px var(--violett-nacht), inset 0 0 0 9px var(--tuerkis-hell); }
.wahl-karte input:focus-visible { outline: none; }
.wahl-karte:has(input:focus-visible) { outline: 2px solid var(--messing-hell); outline-offset: 2px; }
.wahl-karte:has(input:checked), .wahl-karte.ist-gewaehlt {
  background: linear-gradient(135deg, rgba(127, 220, 210, .17), rgba(127, 220, 210, .04));
  box-shadow: inset 0 0 0 1px rgba(127, 220, 210, .75), 3px 3px 0 -1px rgba(143, 214, 201, .55);
}
.wahl-name { font-weight: 650; font-size: 16px; line-height: 1.25; }
.wahl-info { font-size: 13px; color: var(--nacht-leise); line-height: 1.3; }

.schnitt {
  grid-area: schnitt; margin: 0; padding: 10px 12px 10px; border-radius: 4px; align-self: stretch;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.schnitt-svg { display: block; width: 100%; height: auto; max-height: 152px; }
.schnitt figcaption { font-size: 13.5px; color: var(--nacht-leise); margin-top: 4px; }
.schnitt figcaption b { color: var(--nacht-text); margin-right: 6px; }

.werte { grid-area: werte; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-self: stretch; }
.wert { padding: 12px 14px 12px; border-radius: 4px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.wert dt { font-size: 13px; font-weight: 650; color: var(--nacht-text); line-height: 1.3; }
.wert dt span { display: block; font-weight: 500; font-size: 12px; color: var(--nacht-leise); hyphens: manual; }
.wert dd { margin: 6px 0 0; }
.wert dd b { font-size: clamp(24px, 2.2vw, 31px); font-weight: 600; letter-spacing: -.02em; }
.wert dd i { font-style: normal; font-size: 13px; color: var(--nacht-leise); }
.messbalken { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-top: 8px !important; }
.messbalken span { display: block; height: 100%; background: var(--tuerkis-hell); transform-origin: left; transition: transform .9s var(--weich); }
.messbalken-warm span { background: var(--kupfer); }
.messbalken-licht span { background: var(--licht); }

.temp { grid-area: temp; padding: 2px 2px 0; }
.raum-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.raum-kopf span { font-size: 14px; color: var(--nacht-leise); }
.raum-kopf b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: lining-nums; color: #ffc29e; }
.raum-skala { margin-top: 8px; }
.raum-spur {
  position: relative; height: 6px; border-radius: 3px; overflow-x: clip; overflow-clip-margin: 10px;
  background: linear-gradient(90deg, #7fdcd2, #d2ad5e 50%, #e0703f);
}
.raum-marke { position: absolute; inset: 0; transition: transform .9s var(--weich); }
.raum-marke::after {
  content: ""; position: absolute; right: -7px; top: -5px; width: 16px; height: 16px; border-radius: 50%;
  background: #f3f1fb; box-shadow: 0 0 0 3px rgba(25, 20, 51, .95), 0 2px 6px rgba(0, 0, 0, .4);
}
.raum-zahlen { display: flex; justify-content: space-between; font-size: 12px; color: var(--nacht-leise); margin-top: 6px; font-variant-numeric: lining-nums; }

.held-fuss { grid-area: fuss; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.held-hinweis { font-size: 13.5px; color: var(--nacht-leise); line-height: 1.45; }
.vorfuehrung { color: var(--messing-hell); font-weight: 650; }

/* ---------- 6 · Zahlen, Leistungen ---------- */
.zahlen { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(72px, 8vw, 112px); }
main > .zahlen + .scheibe, main > .scheibe + .zahlen { padding-top: calc(clamp(56px, 7vw, 96px) + var(--ueberlapp) * .5); }
.zahlen-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 36px); margin-top: 26px; margin-bottom: 0; }
.zahlen-raster div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding-top: 18px; border-top: 1px solid rgba(127, 220, 210, .35); }
.zahlen-raster dt { font-size: 15px; color: #bfe3de; line-height: 1.4; }
.zahlen-raster dd { margin: 0; }
.zahlen-raster b { font-size: clamp(42px, 5vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1; font-variant-numeric: lining-nums; color: #eefaf8; }

.kopfzeile { margin-bottom: clamp(36px, 5vw, 64px); }
.leistung-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.leistung {
  position: relative; padding: 24px 22px 26px; border-radius: 4px;
  background-color: rgba(255, 255, 255, .64);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(20, 18, 42, .07), 3px 3px 0 -1px rgba(143, 214, 201, .85), 0 24px 40px -30px rgba(20, 18, 42, .35);
}
.leistung-bild { display: block; width: 120px; height: 75px; margin-bottom: 18px; }
.leistung-bild path { fill: none; stroke: var(--tuerkis-tief); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.leistung h3 { font-size: 21px; margin-bottom: 10px; }
.leistung p { font-size: 16px; color: var(--muted); line-height: 1.55; }
.leistung ul { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); font-size: 15px; }
.leistung li { position: relative; padding-left: 18px; margin-top: 6px; }
.leistung li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1.5px; background: var(--tuerkis); }
.notdienst {
  margin-top: 28px; padding: 18px 22px; border-radius: 4px; font-size: 18px;
  background-color: rgba(255, 255, 255, .6); box-shadow: inset 3px 0 0 var(--messing), 0 0 0 1px rgba(20, 18, 42, .07);
}
.notdienst span { font-weight: 700; margin-right: 6px; }
.notdienst a { color: var(--tuerkis-tief); font-weight: 700; font-variant-numeric: lining-nums; white-space: nowrap; }

/* ---------- 7 · Eine Fassade entsteht ---------- */
.fahrt { padding-top: clamp(48px, 6vw, 80px); padding-bottom: calc(var(--ueberlapp) + 48px); padding-left: clamp(18px, 3vw, 44px); padding-right: clamp(18px, 3vw, 44px); }
.fahrt::after { display: none; }
.scheibe > .fahrt-spur { max-width: 1380px; }
.fahrt-buehne { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.25fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.fahrt-text h2 { margin-bottom: 10px; }
.fahrt-lead { color: var(--nacht-leise); font-size: 17px; max-width: 26em; }
.fahrt-schritte { list-style: none; margin: 28px 0 0; padding: 0; }
.fahrt-schritt { padding: 18px 0 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.schritt-nr { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--messing-hell); margin-bottom: 8px; }
.fahrt-schritt h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.fahrt-schritt p:last-child { font-size: 17px; color: var(--nacht-leise); line-height: 1.6; max-width: 30em; }
.satz { transition: opacity .6s var(--weich), color .6s; }
.fahrt-fortschritt { display: none; gap: 6px; margin-top: 18px; max-width: 320px; }
.fahrt-fortschritt span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.fahrt-fortschritt i { display: block; height: 100%; background: var(--messing); transform-origin: left; }

.fb { position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; border-radius: 4px; background-color: #1b1538; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 4px 4px 0 -1px rgba(143, 214, 201, .45); }
.fb-himmel { position: absolute; inset: 0; background: linear-gradient(180deg, #78b4c8 0%, #a6d1db 46%, #d6eaec 74%, #ebe6dd 100%); }
.fb-nacht {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 36% at 50% 100%, rgba(150, 90, 160, .55), transparent 70%),
    linear-gradient(180deg, #0e0a25 0%, #211849 55%, #44306f 100%);
}
.fb-berge { position: absolute; left: 0; right: 0; bottom: 8.5%; width: 100%; height: 14%; display: block; }
.fb-boden { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(180deg, #4a4560, #262238); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.fb-rahmen { position: absolute; inset: 12% 34% 9% 6%; display: flex; justify-content: center; align-items: flex-end; container-type: size; }
.fb-kamera { position: relative; height: min(100cqh, 120cqw); aspect-ratio: 75 / 90; transform-origin: 50% 100%; }
.fb-mass { position: absolute; left: 0; right: 0; top: -9%; height: 6%; }
.fb-mass-linie { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(243, 241, 251, .9); transform-origin: left; }
.fb-mass-linie::before { content: ""; position: absolute; left: 0; right: -1px; top: -5px; height: 11px; background: repeating-linear-gradient(90deg, rgba(243, 241, 251, .9) 0 1px, transparent 1px 20%); border-right: 1px solid rgba(243, 241, 251, .9); }
.fb-mass span:not(.fb-mass-linie) {
  position: absolute; top: 50%; left: calc(var(--c) * 20% + 10%); transform: translate(-50%, -50%);
  padding: 1px 6px; border-radius: 3px; background-color: rgba(25, 20, 51, .82); color: var(--nacht-text); font-size: 11.5px; font-weight: 600; font-variant-numeric: lining-nums;
}
.fb-bau { position: absolute; inset: 0; background: linear-gradient(180deg, #454857 0%, #2c2e39 60%, #22232c 100%); }
.fb-bau::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #8d929b, #6c717b) 0 0 / 2.6% 100% no-repeat,
    linear-gradient(90deg, #8d929b, #6c717b) 39.4% 0 / 2.6% 100% no-repeat,
    linear-gradient(90deg, #8d929b, #6c717b) 79.6% 0 / 2.6% 100% no-repeat,
    linear-gradient(90deg, #8d929b, #6c717b) 100% 0 / 2.6% 100% no-repeat,
    repeating-linear-gradient(180deg, transparent 0 25%, rgba(0, 0, 0, .12) 25% 33.333%);
}
.decke { position: absolute; left: -1.5%; right: -1.5%; top: calc(var(--r) * 33.333% - 1.4%); height: 2.8%; background: linear-gradient(180deg, #d0d3d8, #9aa0a8 70%, #7d838c); box-shadow: 0 5px 8px rgba(0, 0, 0, .35); }
.fb-glas, .fb-innen, .fb-riegel, .fb-pfosten, .fb-deck { position: absolute; inset: 0; }
.fbs, .raum { position: absolute; left: calc(var(--c) * 20% + .8%); width: 18.4%; top: calc(var(--r) * 33.333% + .7%); height: 31.933%; }
.fbs {
  background-image:
    linear-gradient(112deg, transparent 0 30%, rgba(255, 255, 255, .38) 33%, transparent 39%, transparent 60%, rgba(255, 255, 255, .18) 62%, transparent 67%),
    radial-gradient(30% 6% at 30% 22%, rgba(255, 255, 255, .6), transparent 70%),
    radial-gradient(24% 5% at 74% 42%, rgba(255, 255, 255, .45), transparent 70%),
    linear-gradient(180deg, transparent 0 71%, rgba(46, 70, 84, .38) 71% 100%),
    linear-gradient(180deg, #5b9cb4 0%, #8cc1cf 40%, #c7e4e7 67%, #9cbcc3 100%);
  background-size: 543.5% 313.2%;
  background-position: calc((var(--c) * 20 + .8) * 1.2255% + var(--dx, 0px)) calc((var(--r) * 33.333 + .7) * 1.4692%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.fb-glas { opacity: .22; }
.fb-schleier { position: absolute; inset: 0; background: rgba(12, 9, 30, .58); }
/* Räume bei Nacht: Licht fällt von der Decke, Boden dunkler, auf dem Glas bleibt ein schwacher Spiegelstreifen */
.raum { overflow: hidden; background-color: #2a2036; }
.raum::before {
  content: ""; position: absolute; left: 22%; right: 22%; top: 7.5%; height: 1.1%; min-height: 2px; border-radius: 2px;
  background: #fff8ea; box-shadow: 0 0 9px 2px rgba(255, 230, 182, .45);
}
.raum::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(112deg, transparent 0 34%, rgba(255, 255, 255, .09) 37%, transparent 43%, transparent 66%, rgba(255, 255, 255, .05) 68%, transparent 72%),
    linear-gradient(rgba(206, 224, 255, .8), rgba(150, 182, 236, .75)) 26% 66.5% / 12% 6.5% no-repeat,
    linear-gradient(rgba(34, 22, 18, .62), rgba(34, 22, 18, .62)) 16% 73.6% / 48% 1.2% no-repeat,
    linear-gradient(rgba(34, 22, 18, .42), rgba(34, 22, 18, .42)) 19% 88% / 1.4% 15% no-repeat,
    linear-gradient(rgba(34, 22, 18, .42), rgba(34, 22, 18, .42)) 57% 88% / 1.4% 15% no-repeat,
    linear-gradient(180deg, transparent 0 77%, rgba(26, 16, 12, .5) 77% 100%);
}
.r-warm { background-image: linear-gradient(180deg, #1c1424 0 5%, transparent 5%), radial-gradient(130% 75% at 50% 8%, #ffe1ad 0%, #e2a56c 42%, #7a4c36 82%, #3b2620 100%); }
.r-kuehl { background-image: linear-gradient(180deg, #161a28 0 5%, transparent 5%), radial-gradient(130% 75% at 50% 8%, #eef3ff 0%, #b9c9e2 42%, #5d6b8c 82%, #283046 100%); }
.r-kuehl::before { background: #f4f8ff; box-shadow: 0 0 9px 2px rgba(220, 232, 255, .45); }
.r-halle { background-image: linear-gradient(180deg, #1c1424 0 5%, transparent 5%), radial-gradient(140% 85% at 50% 10%, #fff0cf 0%, #f0bb7c 46%, #8f5a3c 86%, #442b22 100%); }
.r-aus { background-image: linear-gradient(180deg, #19142a 0 5%, transparent 5%), radial-gradient(120% 70% at 50% 0%, #3a3156 0%, #221c38 60%, #17132a 100%); }
.r-aus::before { display: none; }
.r-aus::after { background: linear-gradient(112deg, transparent 0 34%, rgba(255, 255, 255, .07) 37%, transparent 43%); }
.fb-dichtung { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fb-dichtung path { fill: none; stroke: #0d0b13; stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.riegel { position: absolute; left: 0; right: 0; top: calc(var(--r) * 33.333% - .75%); height: 1.5%; background: linear-gradient(180deg, #edf0f3, #aeb7c0 55%, #7d8790); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.pfosten { position: absolute; top: -1%; bottom: -.8%; left: calc(var(--i) * 20% - .85%); width: 1.7%; transform-origin: 50% 100%; background: linear-gradient(90deg, #f3f6f8, #c4ccd3 45%, #858f99); box-shadow: 1px 0 0 rgba(0, 0, 0, .28); }
.deck { position: absolute; transform-origin: 50% 50%; }
.deck-v { top: -1.4%; bottom: -1%; left: calc(var(--i) * 20% - .6%); width: 1.2%; background: linear-gradient(90deg, #f6e4b6, #d6b065 40%, #a07a34 75%, #7d5c25); box-shadow: 1px 0 0 rgba(30, 20, 5, .4); }
.deck-v::after { content: ""; position: absolute; top: 0; bottom: 0; left: 46%; width: 1px; background: rgba(70, 50, 15, .55); }
.deck-h { left: -.6%; right: -.6%; top: calc(var(--r) * 33.333% - .55%); height: 1.1%; background: linear-gradient(180deg, #f6e4b6, #d6b065 45%, #8a6629); box-shadow: 0 1px 0 rgba(30, 20, 5, .45); }

.lupe { position: absolute; right: 3.5%; top: 4%; width: clamp(150px, 27%, 236px); margin: 0; }
.lupe svg { display: block; width: 100%; height: auto; filter: none; }
.lupe figcaption {
  margin-top: 8px; padding: 5px 10px; border-radius: 4px; text-align: center; font-size: 12.5px; line-height: 1.35;
  background-color: rgba(25, 20, 51, .86); color: var(--nacht-text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.l-teil { transition: opacity .7s var(--weich), transform .8s var(--weich); }
.tafel {
  position: absolute; right: 3.5%; bottom: 4%; width: clamp(160px, 27%, 236px); margin: 0; padding: 12px 14px;
  border-radius: 4px; background-color: rgba(25, 20, 51, .9); font-size: 13.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 3px 3px 0 -1px rgba(143, 214, 201, .55);
}
.tafel div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; transition: opacity .5s; }
.tafel div + div { border-top: 1px solid rgba(255, 255, 255, .08); }
.tafel dt { color: var(--nacht-leise); }
.tafel dd { margin: 0; color: var(--nacht-leise); white-space: nowrap; }
.tafel b { color: var(--nacht-text); font-variant-numeric: lining-nums; }
.tafel .noch { opacity: .45; }

/* Szene an den Scroll gekoppelt (Klasse kommt von js/fassade-entsteht.js) */
.fahrt-an .fahrt-spur { height: 500vh; }
.fahrt-an .fahrt-buehne { position: sticky; top: var(--kopf); height: calc(100vh - var(--kopf) - 10px); align-items: stretch; }
.fahrt-an .fahrt-text { display: flex; flex-direction: column; justify-content: center; }
.fahrt-an .fahrt-schritte { position: relative; min-height: 236px; }
.fahrt-an .fahrt-schritt { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--weich), transform .7s var(--weich); pointer-events: none; }
.fahrt-an .fahrt-schritt.ist-aktiv { opacity: 1; transform: none; pointer-events: auto; }
.fahrt-an .satz { opacity: .2; }
.fahrt-an .satz.da { opacity: 1; }
.fahrt-an .fahrt-fortschritt { display: flex; }
.fahrt-an .fb { aspect-ratio: auto; height: 100%; }
.fahrt-an .l-teil { opacity: 0; }
.fahrt-an .l-teil.an { opacity: 1; transform: none; }
.fahrt-an .l-glas-links:not(.an) { transform: translateX(-34px); }
.fahrt-an .l-glas-rechts:not(.an) { transform: translateX(34px); }
.fahrt-an .l-aussen:not(.an) { transform: translateY(-14px); }
.fahrt-an .l-deck:not(.an) { transform: translateY(-26px); }
/* eigene Ebenen nur, solange die Szene in der Nähe ist (Klasse fahrt-nah aus js/fassade-entsteht.js) */
.fahrt-nah .fb-kamera, .fahrt-nah .pfosten, .fahrt-nah .riegel, .fahrt-nah .fbs, .fahrt-nah .deck, .fahrt-nah .raum,
.fahrt-nah .fb-nacht, .fahrt-nah .fb-dichtung, .fahrt-nah .fb-schleier { will-change: transform, opacity; }

/* ---------- 8 · Referenzen, Jobs, Kontakt, Anfahrt ---------- */
.ref-raster { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.ref-gross { grid-row: span 2; display: flex; flex-direction: column; }
.ref-gross .platz { flex: 1; }
.bild-platzhalter { margin: 0; }
.bild-platzhalter .platz {
  display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 24px; text-align: center; font-size: 15px; color: var(--muted);
  border-radius: 4px;
  background:
    linear-gradient(104deg, transparent 30%, rgba(255, 255, 255, .5) 34%, transparent 40%),
    linear-gradient(90deg, rgba(20, 18, 42, .07) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(135deg, rgba(127, 220, 210, .4), rgba(184, 173, 239, .32) 55%, rgba(230, 204, 146, .4));
  box-shadow: inset 0 0 0 1px rgba(20, 18, 42, .1), 3px 3px 0 -1px rgba(143, 214, 201, .85);
}
.ref-gross .platz { aspect-ratio: auto; min-height: 280px; }
.bild-platzhalter figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.bild-platzhalter figcaption b { display: block; color: var(--text); font-size: 16px; }
.stimmen { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.stimme { margin: 0; padding-top: 22px; border-top: 1px solid var(--border); }
.stimme p { font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; }
.stimme footer { margin-top: 12px; font-size: 14px; color: var(--muted); }

.job-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.job { padding: 24px 22px; border-radius: 4px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(127, 220, 210, .2), 3px 3px 0 -1px rgba(143, 214, 201, .45); }
.job-art { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--tuerkis-hell); margin-bottom: 10px; }
.job h3 { font-size: 21px; margin-bottom: 12px; }
.job p { font-size: 16px; color: #c9e7e3; }
.job .job-geld { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--messing-hell); font-weight: 650; font-size: 15px; }
.bewerben { margin-top: 28px; padding: 26px 24px; border-radius: 4px; background: rgba(255, 255, 255, .04); box-shadow: inset 3px 0 0 var(--messing); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; }
.bewerben h3 { font-size: 22px; }
.bewerben p { color: #c9e7e3; font-size: 16px; grid-column: 1; }
.bewerben .bewerben-wege { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 10px; }
.bewerben .knopf-linie { color: #eefaf8; }

.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-size: 14px; font-weight: 650; }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 16px; color: var(--text); min-height: 48px; padding: 10px 12px; border-radius: 4px;
  border: 1px solid rgba(20, 18, 42, .24); background-color: rgba(255, 255, 255, .92); width: 100%;
}
.feld textarea { resize: vertical; }
.feld input[readonly] { background-color: rgba(230, 234, 238, .9); color: var(--muted); }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--tuerkis-tief); outline-offset: 1px; }
.feld-haken { flex-direction: row; align-items: flex-start; gap: 12px; }
.feld-haken input { width: 22px; min-height: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--tuerkis-tief); }
.feld-haken label { font-weight: 500; font-size: 15px; color: var(--muted); }
.formular-fuss { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.formular-meldung { font-size: 15px; font-weight: 650; color: var(--tuerkis-tief); }
.adresse { font-style: normal; font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
.adresse a { color: var(--tuerkis-tief); font-weight: 650; }
.kontakt-seite h3 { font-size: 20px; margin-bottom: 12px; }
.zeiten { list-style: none; margin: 0; padding: 0; font-size: 15.5px; }
.zeiten li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.zeiten li > span:last-child { text-align: right; color: var(--muted); }
.zeiten li.ist-heute { font-weight: 700; }
.heute-marke { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background-color: var(--tuerkis-tief); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7; }
.zeiten-zusatz { margin-top: 14px; font-size: 15px; color: var(--muted); }

.anfahrt-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px clamp(28px, 4vw, 64px); align-items: center; }
.halle-bild { margin-top: 26px; }
.halle-bild .platz { aspect-ratio: 16 / 9; }
.weg { list-style: none; margin: 26px 0 0; padding: 0; }
.weg li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; color: var(--nacht-text); font-size: 17px; }
.weg b { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background-color: var(--messing); color: var(--violett-nacht); font-size: 14px; transform: translateY(-2px); }
.anfahrt-oeffi { margin-top: 14px; color: var(--nacht-leise); font-size: 16px; }
.karte { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 3px 3px 0 -1px rgba(143, 214, 201, .4); }
.karte .route { stroke-dasharray: 1; stroke-dashoffset: 0; }
.karte-hinweis { margin-top: 8px; font-size: 13px; color: var(--nacht-leise); }
.scheibe-nacht .bild-platzhalter .platz {
  color: var(--nacht-leise);
  background:
    linear-gradient(104deg, transparent 30%, rgba(255, 255, 255, .08) 34%, transparent 40%),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(135deg, rgba(127, 220, 210, .16), rgba(184, 173, 239, .14) 55%, rgba(230, 204, 146, .16));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 3px 3px 0 -1px rgba(143, 214, 201, .4);
}
.scheibe-nacht .bild-platzhalter figcaption { color: var(--nacht-leise); }

/* ---------- 9 · Fuß, Handy-Leiste ---------- */
.fuss { margin-bottom: var(--rand); padding: calc(56px + var(--ueberlapp) * .5) var(--innen) 26px; font-size: 15px; }
.fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
.fuss-logo { color: var(--nacht-text); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.fuss address { font-style: normal; }
.fuss a { color: var(--nacht-text); }
.fuss p + p { margin-top: 8px; }
.fuss-links { display: flex; gap: 18px; }
.fuss-links a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-demo { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.scheibe > .fuss-zeile, .fuss-zeile { width: 100%; max-width: none; margin: 18px 0 0; text-align: center; font-size: 13px; color: #a49dc6; }
.fuss-zeile a { color: inherit; }
.handy-leiste { display: none; }

/* ---------- 10 · Auftritte und Bewegungsstufen ---------- */
.js [data-auftritt] { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .8s var(--weich), transform .95s var(--weich); }
.js [data-auftritt].ist-da { opacity: 1; transform: none; }
.js [data-auftritt] .leistung-bild path, .js [data-auftritt] .route { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s .25s var(--weich); }
.js [data-auftritt].ist-da .leistung-bild path, .js [data-auftritt].ist-da .route { stroke-dashoffset: 0; }
.js .bild-platzhalter[data-auftritt] .platz { clip-path: inset(0 0 100% 0); transition: clip-path 1s .1s var(--weich); }
.js .bild-platzhalter[data-auftritt].ist-da .platz { clip-path: inset(0); }

html[data-bewegung="starr"] [data-auftritt] { opacity: 1 !important; transform: none !important; }
html[data-bewegung="starr"] [data-auftritt] .platz { clip-path: none !important; }
html[data-bewegung="starr"] .leistung-bild path, html[data-bewegung="starr"] .route { stroke-dashoffset: 0 !important; }

/* Licht wandert beim Scrollen über die Scheiben (nur dynamisch, nur wo der Browser das kann) */
@supports (animation-timeline: view()) {
  html[data-bewegung="dynamisch"] .scheibe::after { animation: licht-wandert linear both; animation-timeline: view(); }
}
@keyframes licht-wandert { from { transform: translateX(-20%); } to { transform: translateX(20%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-auftritt] { opacity: 1 !important; transform: none !important; }
  [data-auftritt] .platz { clip-path: none !important; }
  .leistung-bild path, .route { stroke-dashoffset: 0 !important; }
  .scheibe::after { animation: none !important; }
  .lage-licht, .lage-waerme, .lage-gruen, .lage-silber, .lage-spiegel, .messbalken span, .raum-marke, .l-teil { transition: none !important; }
}

/* ---------- 11 · Schmale Bildschirme ---------- */
@media (max-width: 1180px) {
  .leistung-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menue a { padding: 0 9px; font-size: 14.5px; }
  .leiste-tel { display: none; }
}
@media (max-width: 1000px) {
  .held-raster { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); }
  .werte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --kopf: 70px; }
  .menue, .leiste .knopf-klein { display: none; }
  .menue-handy { display: block; }
  .held-raster { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "text" "buehne" "wahl" "werte" "temp" "schnitt" "fuss"; row-gap: 16px; }
  .held h1 { font-size: clamp(32px, 8.4vw, 44px); }
  .held-fuss { flex-direction: column; align-items: flex-start; }
  .zahlen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .job-raster, .stimmen, .ref-raster, .kontakt-raster, .fuss-raster { grid-template-columns: minmax(0, 1fr); }
  .ref-gross { grid-row: auto; }
  .ref-gross .platz { height: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .anfahrt-raster { grid-template-columns: minmax(0, 1fr); }
  .bewerben { grid-template-columns: minmax(0, 1fr); }
  .bewerben .bewerben-wege { grid-column: 1; grid-row: auto; }

  .fahrt-buehne { grid-template-columns: minmax(0, 1fr); }
  .fb { order: -1; }
  .fb-rahmen { inset: 19% 7% 9.5%; }
  .lupe, .fb-mass, .tafel .lang { display: none; }
  .tafel { left: 3%; right: 3%; top: 3%; bottom: auto; width: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 7px 8px; font-size: 11px; }
  .tafel div { flex-direction: column; gap: 0; padding: 0; align-items: center; text-align: center; }
  .tafel div + div { border-top: 0; }
  .tafel dd { font-size: 11px; }
  .tafel dd b { font-size: 13px; }
  .fahrt-an .fahrt-buehne { grid-template-rows: minmax(0, 1fr) auto; height: calc(100svh - var(--kopf) - 74px); gap: 14px; }
  .fahrt-an .fahrt-text { justify-content: flex-start; }
  .fahrt-an .fahrt-text > .kicker, .fahrt-an .fahrt-lead { display: none; }
  .fahrt-an .fahrt-text h2 { font-size: 22px; margin-bottom: 0; }
  .fahrt-an .fahrt-schritte { margin-top: 10px; min-height: 172px; }
  .fahrt-an .fahrt-schritt { padding: 10px 0 0; }
  .fahrt-an .fahrt-schritt h3 { font-size: 20px; margin-bottom: 6px; }
  .fahrt-an .fahrt-schritt p:last-child { font-size: 15px; line-height: 1.5; }
  .fahrt-an .schritt-nr { margin-bottom: 4px; }
  .fahrt-an .fahrt-fortschritt { margin-top: 8px; }

  .handy-leiste {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
  }
  .handy-leiste a {
    display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: var(--radius-knopf);
    text-decoration: none; font-weight: 700; font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -10px rgba(10, 6, 30, .6);
  }
  .handy-leiste a:first-child { background-color: var(--messing); background-image: linear-gradient(180deg, #ebcd8d, #c99f4c); color: var(--violett-nacht); }
  .handy-leiste a:last-child { background-color: rgba(25, 20, 51, .94); color: var(--nacht-text); }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .formular { grid-template-columns: minmax(0, 1fr); }
  .leistung-raster { grid-template-columns: minmax(0, 1fr); }
  .wahl-karte { padding-left: 36px; padding-right: 8px; }
  .wahl-karte input { left: 11px; }
  .wahl-name { font-size: 15px; }
  .wahl-info { font-size: 12.5px; }
  .wert { padding: 10px 11px; }
  .buehne-marke { font-size: 11px; padding: 3px 8px; }
  .buehne-marke b { font-size: 12.5px; }
  .buehne-lage { font-size: 10.5px; }
  .zeiten li { flex-direction: column; gap: 2px; }
  .zeiten li > span:last-child { text-align: left; }
}
