/* kokotweak.tech im Look v3 (Entwurf 22.10.2026, gebaut 24.10.2026).
   Flache Karten, Inter für Text, Barlow Condensed für Überschriften, Geist Mono für Zahlen.
   Violett nur für die eine Hauptaktion und den aktiven Zustand. Kein Leuchten, keine Verläufe auf Flächen.
   Alles vom eigenen Server (CSP 'self'): Schriften unter /fonts/, Lizenzen unter /lizenzen.txt. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geistmono-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlowcond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlowcond-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlowcond-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0c0c0f;
  --side: #111114;
  --card: #151519;
  --card-2: #1c1c22;
  --line: #25252c;
  --line-2: #32323a;
  --text: #f2f1f5;
  --text-2: #aaa8b3;
  --text-3: #8a8794;       /* 5,2:1 auf --card */
  --accent: #a07cff;       /* Violett für Text und Linien */
  --accent-solid: #7c4dff; /* Violett als Fläche, weiße Schrift 4,8:1 */
  --ok: #4cc38a;
  --warn: #e5a54b;
  --danger: #ef6b6b;
  --vig: 0;                /* 0..1, Scrollgeschwindigkeit im Flug: steuert die Vignette */
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", "Cascadia Mono", Consolas, monospace;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --shadow: 0 1px 0 #ffffff08 inset, 0 10px 24px -12px #000000cc;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: 76px; }
body { background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--sans); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
code, .mono { font-family: var(--mono); font-feature-settings: normal; letter-spacing: -.01em; }
.ico { width: 16px; height: 16px; flex: none; }
.t3 { color: var(--text-3); }
.inst { font: 600 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.dot { display: inline-flex; align-items: center; gap: 6px; }
.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); position: relative; min-width: 0; }
.rahmen { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* feines Korn auf dem Grund (fest, damit es beim Scrollen keine riesige Ebene ist) */
.korn::after { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay; z-index: 9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 6px; white-space: nowrap; cursor: pointer;
  font: 500 14px/1 var(--sans); color: var(--text); background: var(--card-2); border: 1px solid var(--line-2); }
.btn .ico { width: 15px; height: 15px; }
.btn:hover { border-color: #4a4a54; }
.btn:focus-visible, .reiter button:focus-visible, .feld input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.primary { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; }
.btn.primary:hover { background: #8a60ff; border-color: #8a60ff; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 7px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Kopfzeile */
header.nav { position: fixed; inset: 0 0 auto 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
header.nav .rahmen { display: flex; align-items: center; gap: 30px; height: 64px; max-width: none; padding: 0 40px; }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.marke img { width: 24px; height: 21px; display: block; }
header.nav nav { display: flex; gap: 26px; font-size: 14px; color: var(--text-2); }
header.nav nav a:hover { color: var(--text); }
header.nav .rechts { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* Der Flug: hohe Strecke, darin eine stehende Bühne mit der Leinwand. Die Länge setzt flug.js. */
.flug { position: relative; height: calc(var(--strecke, 10) * 100vh + 100vh); }
.buehne { position: sticky; top: 0; height: 100vh; overflow: hidden; perspective: 1400px; }
.buehne picture, .buehne canvas, .buehne video { position: absolute; inset: 0; width: 100%; height: 100%; }
.buehne picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.buehne picture, .buehne canvas { display: block; }
.buehne canvas { opacity: 0; }
.buehne.bereit canvas { opacity: 1; }
.buehne.bereit picture { visibility: hidden; }
/* Video-Technik (flug.js erkennt beim Laden, ob Scrubbing per currentTime sauber geht; sonst bleibt die Leinwand oben aktiv).
   Nicht aktive Pool-Videos bekommen display:none statt nur opacity:0: gemessen, dass jedes zusätzliche, nur unsichtbar
   mitgezeichnete Video das Spulen des aktiven Videos spürbar verlangsamt (eigene Compositor-Ebene je Video). */
.buehne video { object-fit: cover; object-position: center; display: none; pointer-events: none; }
.buehne video.an { display: block; }
@media (max-width: 720px) { .buehne video { object-position: center 42%; } }
/* unten weich in den Seitengrund, damit der Übergang zum Preis keine Kante hat */
.buehne::after { content: ""; position: absolute; inset: auto 0 0 0; height: 9vh; background: linear-gradient(#0c0c0f00, var(--bg)); pointer-events: none; }

/* Vignette: dunkelt die Ränder leicht ab (mehr Lesbarkeit für die Tafeln) und atmet mit der Scroll-Geschwindigkeit */
.buehne::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 46%, #000000b8 100%);
  opacity: calc(.4 + var(--vig, 0) * .3); transition: opacity .5s cubic-bezier(.22, 1, .36, 1); }
.buehne.ankunft::before { opacity: .8; }

/* Tempo-Linien: abgeschaltet, seit die Fahrt echte Bewegungsunschärfe aus Blender hat (22.11.2026) */
.buehne .tempo { display: none; }

/* Lichtschein: weicher Streifen, der genau beim Einrasten an einem Halt einmal über das Bild läuft */
.buehne .schein { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(100deg, transparent 40%, #ffffff3d 50%, transparent 60%); }
.buehne.ankunft .schein { animation: lichtschein .72s cubic-bezier(.22, 1, .36, 1); }
@keyframes lichtschein { 0% { opacity: 0; transform: translateX(-32%); } 38% { opacity: 1; } 100% { opacity: 0; transform: translateX(32%); } }

/* Ankunfts-Puls: ein kleiner Stoß in der Größe genau beim Einrasten an einem Halt, dazu eine ruhige Atem-Bewegung,
   solange die Strecke steht (beide teilen sich die Fläche, nie gleichzeitig aktiv). Ohne Filter: das Scharfstellen
   macht flug.js mit den echten Bildern (Bewegungsbild -> scharfes Bild), ein Weichzeichner über die ganze Leinwand
   kostete bei jedem Bild Rechenzeit. */
#buehne picture, #buehne canvas, #buehne video { transform: scale(1); will-change: transform; }
#buehne.ankunft picture, #buehne.ankunft canvas, #buehne.ankunft video.an { animation: kamerapuls .62s cubic-bezier(.22, 1, .36, 1); }
@keyframes kamerapuls {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.014); }
  100% { transform: scale(1); }
}
#buehne.ruht picture, #buehne.ruht canvas, #buehne.ruht video.an { animation: atmen 10s ease-in-out infinite; }
@keyframes atmen { 0%, 100% { transform: scale(1) rotateX(0deg); } 50% { transform: scale(1.016) rotateX(0deg); } }

.tafel { position: absolute; left: 40px; bottom: 56px; z-index: 2; opacity: 0; visibility: hidden; transform: translateY(28px) scale(.975); transform-origin: left bottom;
  transition: opacity .46s cubic-bezier(.22, 1, .36, 1), transform .64s cubic-bezier(.19, 1, .22, 1), visibility 0s linear .46s; }
/* Tafeln schalten an/aus und blenden dann in 0,46 s über die Zeit: wer mitten im Übergang stehen bleibt, sieht keine halb durchsichtige Tafel */
.tafel.an { opacity: 1; visibility: visible; transform: none; transition: opacity .46s cubic-bezier(.22, 1, .36, 1), transform .64s cubic-bezier(.19, 1, .22, 1), visibility 0s; }
/* Halt-Tafeln: etwas dramatischerer Einflug mit leichtem 3D-Kipper statt reinem Verschieben (perspective sitzt auf #buehne) */
.halt:not(.an) { transform: translateY(34px) translateX(-22px) scale(.955) rotateX(-9deg); }
.halt.rechts:not(.an) { transform-origin: right bottom; transform: translateY(34px) translateX(22px) scale(.955) rotateX(-9deg); }
.ende-text:not(.an) { transform: translateY(34px) scale(.955) rotateX(-9deg); }
.weg { transition: opacity .3s ease; }
/* Aufnahme (?aufnahme): Übergänge folgen genau der Scroll-Position, damit jedes Videobild feststeht */
.aufnahme .tafel, .aufnahme .weg { transition: none !important; }
.aufnahme .tafel.sicht { visibility: visible; }

.held-text { max-width: 600px; }
.zeile { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); flex-wrap: wrap; }
.zeile .mono { color: var(--text); }
.held-text h1, .ruhig-kopf h1 { font: 700 72px/.92 var(--cond); letter-spacing: .01em; text-transform: uppercase; margin-top: 14px; }
.held-text h1 span, .ruhig-kopf h1 span { color: var(--accent); display: block; }
.held-text .sub, .ruhig-kopf .sub { color: var(--text-2); font-size: 16px; line-height: 1.6; margin-top: 16px; max-width: 46ch; }
.knoepfe { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.zahlung { margin-top: 14px; font-size: 13.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.zahlung .ico { width: 15px; height: 15px; }
.scroll-hinweis { position: absolute; right: 40px; bottom: 56px; z-index: 2; font: 600 12px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 10px; }
.scroll-hinweis i { width: 1px; height: 34px; background: var(--line-2); display: block; transform-origin: top center; animation: hinweispuls 1.8s ease-in-out infinite; }
@keyframes hinweispuls { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.55); opacity: .45; } }

/* Tafel an jedem Halt: flach wie eine App-Karte */
.halt { width: 380px; padding: 18px 20px 20px; background: #111114cc; border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 18px 40px -18px #000;
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.halt.rechts { left: auto; right: 40px; }
.halt .nr { display: flex; align-items: center; gap: 10px; }
.halt .nr .mono { font-size: 12px; color: var(--accent); }
.halt h2 { font: 700 34px/.95 var(--cond); letter-spacing: .015em; text-transform: uppercase; margin-top: 12px; }
.halt p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; margin-top: 10px; }
.ende-text { max-width: 560px; }
.ende-text h2 { font: 700 56px/.95 var(--cond); letter-spacing: .01em; text-transform: uppercase; }
.ende-text h2 span { color: var(--text-3); display: block; }
.ende-text p { color: var(--text-2); margin-top: 12px; }
/* Tafel-Überschriften: Aufdeck-Wisch plus Laufweiten-Kollaps (von weit auseinander zu normal), dazu eine Akzentlinie,
   die mit leichtem Überschwung nachzieht, statt eines einfachen Verblassens: jede Ankunft soll wie ein Moment wirken */
.halt h2, .ende-text h2 { clip-path: inset(0 100% -8% -8%); letter-spacing: .3em; transition: clip-path .66s cubic-bezier(.16, 1, .3, 1) .08s, letter-spacing .66s cubic-bezier(.16, 1, .3, 1) .08s; }
.halt.an h2 { clip-path: inset(0 0 -8% -8%); letter-spacing: .015em; }
.ende-text.an h2 { clip-path: inset(0 0 -8% -8%); letter-spacing: .01em; }
.halt h2::after, .ende-text h2::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 12px; background: var(--accent-solid);
  box-shadow: 0 0 0 0 #7c4dff00; transform-origin: left center; transform: scaleX(0);
  transition: transform .62s cubic-bezier(.34, 1.56, .64, 1) .26s, box-shadow .5s ease .3s; }
.halt.an h2::after, .ende-text.an h2::after { transform: scaleX(1); box-shadow: 0 0 14px 1px #7c4dff80; }
/* Aufnahme-Werkzeug: Sichtbarkeit steuert dort allein das Inline-opacity/transform der Tafel selbst, die Wisch-/Weiten-Teile bleiben immer offen */
.aufnahme .halt h2, .aufnahme .ende-text h2 { clip-path: inset(0 0 -8% -8%); letter-spacing: .015em; }
.aufnahme .ende-text h2 { letter-spacing: .01em; }
.aufnahme .halt h2::after, .aufnahme .ende-text h2::after { transform: scaleX(1); box-shadow: 0 0 14px 1px #7c4dff80; }

/* Wegweiser: wo man in der App gerade ist (wie die Seitenleiste der App) */
.weg { position: absolute; right: 40px; top: 88px; z-index: 2; display: flex; flex-direction: column; gap: 3px; opacity: 0;
  padding: 10px 16px 10px 26px; background: #111114cc; border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 18px 40px -18px #000;
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
/* HUD-Schiene: dünne Linie mit einem leuchtenden Punkt je Station, wie eine Fortschrittsleiste beim Flug */
.weg::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 1px; background: var(--line-2); }
.weg span { position: relative; font: 600 12px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 8px 6px; border-radius: 5px;
  transition: color .3s ease, background .3s ease; }
.weg span::before { content: ""; position: absolute; left: -16px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--line-2);
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease; }
.weg span.an { color: var(--text); background: var(--card-2); }
.weg span.an::before { background: var(--accent-solid); box-shadow: 0 0 0 3px #7c4dff33, 0 0 11px 1px #a07cffb0; transform: scale(1.2); }
/* Wandernder Leuchtpunkt: läuft stufenlos über die Schiene mit, statt nur von Station zu Station zu springen (flug.js setzt die Position) */
.weg-glow { position: absolute; left: 13px; top: 0; width: 0; height: 0; pointer-events: none; will-change: transform; }
.weg-glow::after { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px 2px #fff8, 0 0 20px 6px #7c4dff99, 0 0 32px 11px #7c4dff4d; animation: railglimmer 1.7s ease-in-out infinite; }
@keyframes railglimmer { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.35); opacity: 1; } }

/* Ruhige Fassung: ohne JavaScript oder mit "Bewegung reduzieren" feste Bilder statt Flug */
.ruhig { display: none; padding-top: 64px; }
.kein-js .flug { display: none; }
.kein-js .ruhig { display: block; }
/* Key-Prüfung und Prüfsumme brauchen JavaScript: ohne JS ein Hinweis statt "Lade Prüfsumme..." */
/* zwei Klassen stark, sonst gewinnt das spätere .hinweis-zeile { display: flex } */
html:not(.kein-js) .nur-ohne-js { display: none; }
.kein-js .pruefsumme { display: none; }
@media (prefers-reduced-motion: reduce) {
  .flug { display: none; }
  .ruhig { display: block; }
}
.ruhig-kopf { margin: 40px 0 28px; max-width: 640px; }
.ruhig-kopf h1 { font-size: 64px; }
.ruhig figure { margin: 0 0 48px; }
.ruhig img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.ruhig figcaption { margin-top: 14px; max-width: 64ch; }
.ruhig figcaption h2 { font: 700 30px/1 var(--cond); text-transform: uppercase; letter-spacing: .015em; margin-top: 8px; }
.ruhig figcaption p { color: var(--text-2); margin-top: 6px; }

/* Teile unter dem Flug */
.teil { padding: 72px 0 0; }
.teil .kopf2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; margin-bottom: 26px; }
.teil h2 { font: 700 44px/.95 var(--cond); letter-spacing: .015em; text-transform: uppercase; }
.teil h2 span { color: var(--text-3); display: block; }
.teil .kopf2 p { color: var(--text-2); font-size: 15px; max-width: 56ch; }

.fakten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 24px; }
.fakt { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.hstat-n { font: 500 30px/1 var(--mono); letter-spacing: -.02em; white-space: nowrap; }

.raster4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fk { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 9px; }
.fk .sym { width: 34px; height: 34px; border-radius: 7px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.fk .sym .ico { width: 17px; height: 17px; }
.fk h3 { font: 600 19px/1.1 var(--cond); letter-spacing: .05em; text-transform: uppercase; margin-top: 4px; }
.fk p { color: var(--text-2); font-size: 13.5px; line-height: 1.55; }
.fk .inst { margin-top: auto; padding-top: 6px; }

.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.schritt { padding: 20px 20px 22px; }
.schritt .nr { font: 500 34px/1 var(--mono); color: var(--accent); }
.schritt h3 { font: 600 21px/1.1 var(--cond); letter-spacing: .05em; text-transform: uppercase; margin-top: 16px; }
.schritt p { color: var(--text-2); font-size: 14px; margin-top: 8px; }

.preis { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; }
.preis .links { padding: 28px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.preis .betrag { font: 500 72px/1 var(--mono); letter-spacing: -.03em; margin-top: 8px; }
.preis .links p { color: var(--text-2); font-size: 14px; }
.preis .links .btn { margin-top: 22px; align-self: flex-start; }
.preis ul { list-style: none; margin: 0; padding: 14px 30px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-content: start; }
.preis li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; display: flex; align-items: center; gap: 12px; }
.preis li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); flex: none; }

/* Download: Key prüfen, dann laden; zweiter Reiter einmaliger HWID-Reset */
.dl { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.reiter { display: flex; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; width: max-content; max-width: 100%; }
.reiter button { height: 32px; padding: 0 14px; display: flex; align-items: center; border-radius: 5px; font: 500 13.5px/1 var(--sans); color: var(--text-2); background: none; border: 0; cursor: pointer; }
.reiter button.an { background: var(--card-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.dl-panel { display: flex; flex-direction: column; gap: 14px; }
.dl-panel[hidden] { display: none; }
.dl-panel .text { color: var(--text-2); font-size: 14.5px; max-width: 70ch; }
.dl-panel .text strong { color: var(--text); font-weight: 600; }
.hinweis-zeile { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.hinweis-zeile .ico { width: 14px; height: 14px; }
.hinweis-zeile.warn { color: var(--warn); }
.feld { display: flex; gap: 10px; }
.feld input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--line-2); background: var(--bg); border-radius: 7px; padding: 0 16px;
  font: 500 15px/1 var(--mono); color: var(--text); letter-spacing: .04em; }
.feld input::placeholder { color: var(--text-3); }
.dl-feedback { display: none; font-size: 14px; padding: 12px 14px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--bg); }
.dl-feedback.success { border-color: #4cc38a66; color: var(--ok); }
.dl-feedback.error { border-color: #ef6b6b66; color: var(--danger); }
.dl-feedback.info { color: var(--text-2); }
.dl-feedback a { display: block; margin-top: 6px; color: inherit; text-decoration: underline; }
.dl .info { display: flex; gap: 10px 22px; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.dl .info span { display: flex; align-items: center; gap: 7px; }
.dl .info .ico { width: 14px; height: 14px; }
.dl .info a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.pruefsumme { font-size: 12.5px; color: var(--text-3); word-break: break-all; }
.pruefsumme code { color: var(--text-2); }

.discord { display: flex; align-items: center; gap: 30px; padding: 26px 30px; }
.discord .mono { font-size: 24px; margin-top: 8px; }
.discord p { color: var(--text-2); }
.discord .btn { margin-left: auto; }

footer { margin-top: 72px; border-top: 1px solid var(--line); }
footer .rahmen { display: flex; align-items: center; gap: 22px; min-height: 72px; font-size: 13.5px; color: var(--text-3); flex-wrap: wrap; }
footer a:hover { color: var(--text); }
footer .re { margin-left: auto; }

/* Demo-Seite (/demo/): Fenster der App aus Bildern; Bedienelemente, Scrollbereiche und Live-Werte setzt demo.js.
   Wie etwas beim Darüberfahren oder Drücken aussieht, kommt als Ausschnitt aus der App, nicht aus diesem Stil. */
header.nav nav a[aria-current="page"] { color: var(--text); }
.demo-seite { max-width: 1480px; margin: 0 auto; padding: 84px 32px 0; }
.demo-kopf { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; min-height: 38px; }
.demo-kopf h1 { font: 600 15px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-right: auto; }
.demo-kopf h1 .mono { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--text-3); margin-left: 6px; }
.demo-kopf label, .demo-kopf select { display: none; }
.demo-kopf select { height: 38px; min-width: 0; flex: 1; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--card-2);
  color: var(--text); font: 500 14px/1 var(--sans); }
.demo-kopf select:focus-visible, .demo-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-fenster { position: relative; width: 100%; aspect-ratio: 1440 / 860; margin: 0 auto; overflow: hidden; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg); box-shadow: 0 30px 60px -30px #000; user-select: none; }
.demo-laden { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-3); font-size: 14px; }
.demo-laden[hidden] { display: none; }
.demo-chrome, .demo-seitenflaeche { position: absolute; inset: 0; }
.demo-chrome > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.demo-rahmen, .demo-ausschnitt { position: absolute; display: block; max-width: none; }
.demo-inhalt { position: absolute; overflow: hidden; }
.demo-bereich { position: absolute; background: var(--bg); }
.demo-bereich.menue { background: var(--side); }
.demo-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.demo-bereich.menue .demo-scroll { scrollbar-width: none; }
.demo-streifen { position: relative; width: 100%; }
.demo-stueck, .demo-flaeche { position: absolute; background-repeat: no-repeat; pointer-events: none; }
.demo-ziel { position: absolute; z-index: 1; }
.demo-liste { position: absolute; z-index: 5; background-repeat: no-repeat; }
.demo-eintrag { position: absolute; cursor: pointer; }
.demo-ziel.aktiv { cursor: pointer; }
.demo-ziel:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 4px; }
.demo-zustand, .demo-live canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.demo-zustand, .demo-live-wert { background-repeat: no-repeat; }
.demo-zustand[hidden] { display: none; }
.demo-live, .demo-live-wert { position: absolute; }
/* Crosshair Studio: live gezeichnet über den Bedienelementen; Regler nehmen nur waagerechtes Ziehen (senkrecht scrollt) */
.demo-dyn, .demo-regler { position: absolute; z-index: 2; }
.demo-dyn { pointer-events: none; }
.demo-regler { touch-action: pan-y; }
.demo-regler:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 4px; }
.demo-dyn canvas, .demo-regler canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.demo-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 20; max-width: calc(100vw - 32px); padding: 12px 16px;
  border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2); box-shadow: var(--shadow); font-size: 14px; }
.demo-toast[hidden] { display: none; }
.demo-fuss { justify-content: center; margin-top: 24px; }

/* Lenis 1.3.26 (MIT, Copyright (c) 2024 darkroom.engineering), lenis.css unverändert übernommen */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* Handy: Bild als Band über die volle Breite, Tafel darunter */
@media (max-width: 720px) {
  .rahmen { padding: 0 18px; }
  header.nav .rahmen { height: 58px; gap: 12px; padding: 0 18px; }
  header.nav nav { display: none; }
  .tafel, .halt { left: 16px; right: 16px; bottom: 24px; width: auto; }
  .halt.rechts { left: 16px; right: 16px; }
  .halt h2 { font-size: 28px; }
  .held-text h1, .ruhig-kopf h1 { font-size: 48px; }
  .held-text .sub { font-size: 15px; }
  .knoepfe { flex-direction: column; }
  .knoepfe .btn { width: 100%; }
  .ende-text h2 { font-size: 40px; }
  .scroll-hinweis, .weg { display: none; }
  .teil { padding-top: 54px; }
  .teil .kopf2 { grid-template-columns: 1fr; gap: 12px; }
  .teil h2 { font-size: 38px; }
  .fakten { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hstat-n { font-size: 26px; }
  .raster4, .schritte { grid-template-columns: 1fr; }
  .preis { grid-template-columns: 1fr; }
  .preis .links { border-right: 0; border-bottom: 1px solid var(--line); }
  .preis .betrag { font-size: 60px; }
  .preis ul { grid-template-columns: 1fr; padding: 6px 22px 14px; }
  .dl { padding: 18px 16px; }
  .reiter { width: 100%; }
  .reiter button { flex: 1; justify-content: center; padding: 0 8px; font-size: 13px; }
  .lang { display: none; }
  .feld { flex-direction: column; }
  .feld input { flex: none; }
  .discord { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px; }
  .discord .btn { margin-left: 0; }
  footer .rahmen { padding: 22px 18px; gap: 14px 22px; }
  footer .re { margin-left: 0; width: 100%; }
  .demo-seite { padding: 76px 18px 0; }
  .demo-kopf h1 { width: 100%; }
  .demo-kopf label, .demo-kopf select { display: block; }
}
