/* Nico Xalter Physiotherapie · Variante 1 "Anatomie Atlas" */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Ersatzschriften mit angeglichenen Kennzahlen.
 * Solange die Webschrift noch laedt, zeichnet der Browser mit einer Schrift, die schon da ist.
 * Ohne Angleichung braucht die andere Schrift anderen Platz, und beim Umschalten rutscht die Seite.
 * Gemessen: die Hero-Zeile in JetBrains Mono lief über zwei Zeilen, in Consolas über eine.
 * Das schob alles darunter um 31 px nach unten, CLS 0,189.
 * Die Zahlen stammen aus den Schriftdateien selbst, berechnet mit _pruefung/schriftmasse.js:
 * size-adjust ist das Verhaeltnis der mittleren Zeichenbreite, die Overrides sind Ober- und
 * Unterlaenge der echten Schrift, geteilt durch size-adjust.
 * Beim Monospace zwei Fassungen: Consolas ist schmaler als JetBrains Mono und braucht 109 %,
 * Menlo, DejaVu und Liberation Mono haben dieselbe Breite und brauchen 100 %. */
@font-face { font-family: "Serif Ersatz"; src: local("Times New Roman"), local("Times"), local("Liberation Serif"), local("Tinos"), local("Nimbus Roman"); size-adjust: 84.73%; ascent-override: 116.84%; descent-override: 36.59%; line-gap-override: 0%; }
@font-face { font-family: "Sans Ersatz"; src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"), local("Liberation Sans"), local("Roboto"); size-adjust: 107.3%; ascent-override: 90.28%; descent-override: 22.48%; line-gap-override: 0%; }
@font-face { font-family: "Mono Ersatz"; src: local("Consolas"); size-adjust: 109.13%; ascent-override: 93.47%; descent-override: 27.49%; line-gap-override: 0%; }
@font-face { font-family: "Mono Ersatz 2"; src: local("Menlo"), local("DejaVu Sans Mono"), local("Liberation Mono"), local("Roboto Mono"), local("Courier New"); size-adjust: 100%; ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --bg: #03060c;
  --bg-2: #060d18;
  --bg-3: #0a1524;
  --ink: #e8f2f9;
  --muted: #93a7ba;
  --dim: #5d7185;
  --ice: #a6ecff;
  --cyan: #45d6ff;
  --cyan-deep: #1b8fb8;
  --amber: #ffb54a;
  --amber-soft: #ffcf8a;
  /* Nervenbahnen auf Tafel 02. Geprüft auf Kontrast zum Hintergrund (mindestens 5,0 : 1)
     und auf Unterscheidbarkeit bei Rot-Grün-Sehschwäche. Zusätzlich trennen Helligkeit,
     Kennung (N1 bis N6) und Name. Im 3D-Bild selbst leuchtet immer nur die gewählte Bahn,
     dort reichen Bernstein und Eisblau. */
  --bahn-1: #ffb54a;
  --bahn-2: #45d6ff;
  --bahn-3: #6f6cff;
  --bahn-4: #e06a52;
  --bahn-5: #e9f6b8;
  --bahn-6: #4a7fc0;
  --line: rgba(166, 236, 255, 0.14);
  --line-strong: rgba(166, 236, 255, 0.32);
  --glass: rgba(8, 18, 32, 0.66);
  --serif: "Instrument Serif", "Serif Ersatz", "Times New Roman", serif;
  --sans: "Inter", "Sans Ersatz", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Mono Ersatz", "Mono Ersatz 2", ui-monospace, "Cascadia Mono", monospace;
  /* Einheitliches Layoutsystem: ein Container, ein Rand. Alle Abschnitte, Header und Footer nutzen .wrap. */
  --content-max: 1240px;
  --gutter: clamp(16px, 5vw, 64px);
  --lesebreite: 65ch;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); color-scheme: dark; }
html:not(.lenis) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
body {
  margin: 0;
  background:
    radial-gradient(120vw 80vh at 70% -10%, rgba(27, 143, 184, 0.16), transparent 60%),
    radial-gradient(90vw 70vh at 0% 110%, rgba(255, 181, 74, 0.05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
/* Lange deutsche Wörter laufen sonst aus ihrer Spalte heraus, sobald es eng
   wird: bei 320 Pixeln Breite, bei starkem Zoom und bei den größeren
   Textabständen, die WCAG 1.4.12 verlangt. Gemessen: ohne diese Zeile wächst
   die Seite dort auf 344 Pixel und lässt sich waagerecht schieben. Die Regel
   greift nur, wenn ein Wort sonst nicht passt, sonst ändert sich nichts. */
body { overflow-wrap: break-word; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: #120a00; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ice); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Platzhalter sichtbar, aber edel markiert */
[data-platzhalter] { text-decoration: underline dashed rgba(255, 181, 74, .55); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ph-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(255,181,74,.4); border-radius: 99px; padding: 1px 7px; vertical-align: middle; white-space: nowrap; }

/* ---------- Bühne ---------- */
.stage-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0;
  pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease);
}
.stage-canvas.is-ready { opacity: 1; }
.no-webgl #atlas-canvas { display: none; }
.fallback-bild { display: none; }
.no-webgl .fallback-bild[src] {
  display: block; position: fixed; z-index: 0; pointer-events: none; opacity: .6;
  height: 88vh; width: auto; max-width: none; top: 8vh; left: 62%; transform: translateX(-50%);
}
@media (max-width: 900px) { .no-webgl .fallback-bild[src] { left: 50%; opacity: .32; height: 80vh; top: 16vh; } }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(166,236,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166,236,255,.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 80%);
}

/* HUD */
.hud { position: fixed; inset: 0; z-index: 5; pointer-events: none; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hud__corner { position: absolute; width: 18px; height: 18px; border-color: var(--line-strong); border-style: solid; border-width: 0; }
.hud__corner--tl { left: 16px; top: calc(var(--header-h) + 8px); border-left-width: 1px; border-top-width: 1px; }
.hud__corner--tr { right: 16px; top: calc(var(--header-h) + 8px); border-right-width: 1px; border-top-width: 1px; }
.hud__corner--bl { left: 16px; bottom: 16px; border-left-width: 1px; border-bottom-width: 1px; }
.hud__corner--br { right: 16px; bottom: 16px; border-right-width: 1px; border-bottom-width: 1px; }
.hud__plate { position: absolute; left: 20px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; display: flex; gap: 12px; align-items: center; }
.hud__plate b { color: var(--ice); font-weight: 500; }
.hud__ruler { position: absolute; right: 22px; top: 42%; height: 40vh; transform: translateY(-50%); width: 10px;
  background: repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 10px); opacity: .7; }
.hud__ruler::after { content: ""; position: absolute; right: -2px; top: calc(var(--progress, 0) * 100% - 1px); width: 16px; height: 2px; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.hud__readout { position: absolute; right: 20px; bottom: 56px; writing-mode: vertical-rl; }
@media (max-width: 900px) { .hud { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--header-h);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled { background: rgba(3, 6, 12, .62); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { display: block; width: 200px; height: 42px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(166,236,255,.06); }
.nav a.is-active { color: var(--ink); }
.header-call {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 10px 18px 10px 12px; border-radius: 99px; font-size: 14px; font-weight: 600;
  color: #07121c; background: var(--ice);
  box-shadow: 0 0 0 0 rgba(166,236,255,.5); transition: transform .3s var(--ease), box-shadow .3s;
}
.header-call:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -6px rgba(166,236,255,.6); }
.header-call__dot { width: 26px; height: 26px; border-radius: 50%; background: #07121c; display: grid; place-items: center; }
.header-call__dot svg { width: 13px; height: 13px; color: var(--ice); }
.menu-toggle { display: none; }
@media (max-width: 1100px) { .nav a:nth-child(n+5) { display: none; } }
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .brand__logo { width: 162px; height: 34px; }
  .nav { display: none; }
  .header-call { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; background: rgba(166,236,255,.06); border: 1px solid var(--line-strong); border-radius: 99px; padding: 8px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
  .nav.is-open { display: flex; position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: rgba(3,6,12,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .nav.is-open a { display: block; font-size: 20px; font-family: var(--serif); color: var(--ink); padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Layout ---------- */
main { position: relative; z-index: 2; }
.section { position: relative; padding-block: clamp(96px, 16vh, 180px); }
.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.plate {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ice);
}
.plate::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.plate span { color: var(--dim); }
.h2 { font-family: var(--serif); font-size: clamp(2.5rem, 5.4vw, 5.2rem); line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.h2 em, .h1 em { font-style: italic; color: var(--ice); }
.h2 .amber { color: var(--amber); }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); color: #c3d3e0; max-width: var(--lesebreite); }
.col-text { max-width: 600px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--text-right .col-text { grid-column: 2; }
.split--text-left .col-text { grid-column: 1; }
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--text-right .col-text, .split--text-left .col-text { grid-column: 1; }
  body { font-size: 16px; }
}
/* Lesbarkeit über der Bühne auf dem Handy */
@media (max-width: 900px) {
  .readable { background: linear-gradient(180deg, rgba(3,6,12,.0), rgba(3,6,12,.72) 12%, rgba(3,6,12,.72) 88%, rgba(3,6,12,0)); padding-block: 20px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 99px; font-weight: 600; font-size: 16px; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--amber); color: #1a0f00; box-shadow: 0 10px 40px -12px rgba(255,181,74,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(255,181,74,.9); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(166,236,255,.03); }
.btn--ghost:hover { border-color: var(--ice); background: rgba(166,236,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero__inner { width: 100%; }
.hero__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ice); margin-bottom: 26px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__eyebrow .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,181,74,.6); animation: dotpulse 2s infinite; }
@keyframes dotpulse { 0% { box-shadow: 0 0 0 0 rgba(255,181,74,.6); } 70% { box-shadow: 0 0 0 12px rgba(255,181,74,0); } 100% { box-shadow: 0 0 0 0 rgba(255,181,74,0); } }
.h1 { font-family: var(--serif); font-size: clamp(2.9rem, 6vw, 6.3rem); line-height: .94; letter-spacing: -.015em; max-width: 15ch; text-wrap: balance; }
.h1 .line-mask { display: block; }
/* Die Startseite trägt Nicos zwei Fragen in einer Überschrift. Beide gleich groß waren
   fünf Zeilen und 451 Pixel, das frisst den halben Bildschirm. Deshalb bekommt die
   Nachfrage eine eigene, kleinere Zeile: dieselbe Aussage, aber mit Rangfolge.
   Nur hier, die Überschriften der Tafeln bleiben, wie sie sind. */
.hero .h1 { max-width: 19ch; font-size: clamp(2.6rem, 5vw, 5.2rem); }
.hero .h1 em { display: block; font-size: .56em; margin-top: .3em; line-height: 1.08; }
/* Die Startseite soll auf einen Bildschirm passen. Gemessen auf 1440 x 810 fehlten
   177 Pixel, deshalb hier engere Abstände als bei den Tafeln. */
.hero__sub { margin-top: 24px; max-width: 46ch; font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: #c3d3e0; }
.hero__sub--weiter { margin-top: 11px; font-size: clamp(.98rem, 1.15vw, 1.08rem); color: #aebecd; }
.hero .btn-row { margin-top: 28px; align-items: center; gap: 10px; }
/* „So arbeite ich“ war der dritte Knopf und zwang die Reihe in eine zweite Zeile.
   Als ruhiger Verweis passt alles nebeneinander, und die beiden Wege zum Kontakt
   stehen allein als Knöpfe da. padding für die Trefferfläche (WCAG 2.2, 2.5.8). */
.hero__mehr { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .25s var(--ease); }
.hero__mehr::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .25s var(--ease); }
.hero__mehr:hover, .hero__mehr:focus-visible { color: var(--ice); }
.hero__mehr:hover::after, .hero__mehr:focus-visible::after { width: 22px; }
/* Auf dem Handy stehen "Ruf einfach an" und WhatsApp schon in der festen Leiste am
   unteren Rand, die ab 900 Pixel rein über CSS erscheint. Dieselben zwei Knöpfe noch
   einmal im Hero sind doppelt und kosten 129 Pixel. Ohne sie passt der Einstieg auf
   einen Bildschirm. */
@media (max-width: 560px) {
  .hero__mehr { display: none; }
  .hero .btn-row { display: none; }
}
.hero__meta { position: absolute; left: 0; right: 0; bottom: 56px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--ice), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 900px) {
  .hero { justify-content: flex-start; padding-top: calc(var(--header-h) + 36px); min-height: 100svh; }
  .hero__meta { display: none; }
}

/* ---------- Atlas ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.fact { background: rgba(4, 9, 17, .82); padding: 22px 20px 20px; }
.fact__num { font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; color: var(--ice); font-variant-numeric: tabular-nums; }
.fact__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; line-height: 1.5; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .fact { display: flex; align-items: baseline; gap: 16px; } .fact__label { margin: 0; } }

.labels { position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0; visibility: hidden; }
.lbl { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; will-change: transform; }
.lbl::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ice); background: rgba(3,6,12,.8); flex: none; box-shadow: 0 0 10px rgba(166,236,255,.6); }
.lbl::after { content: ""; order: 1; width: 42px; height: 1px; background: linear-gradient(90deg, var(--ice), transparent); }
.lbl span { order: 2; background: rgba(3,6,12,.72); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); line-height: 1.35; }
.lbl span i { display: block; font-style: normal; color: var(--dim); letter-spacing: .06em; text-transform: none; }
.lbl.is-left { flex-direction: row-reverse; }
.lbl.is-left::after { background: linear-gradient(270deg, var(--ice), transparent); }
.lbl.is-left span { text-align: right; }
@media (max-width: 900px) { .labels { display: none; } }

/* ---------- Schichten-Regler ---------- */
.atlas-fenster { display: none; }
/* Beschriftung im Buehnenfenster des Atlas */
.stage-legend { position: absolute; left: 18px; top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.stage-legend b { color: var(--amber); font-weight: 500; }
@media (max-width: 900px) {
  .atlas-fenster { display: block; position: relative; height: 70svh; min-height: 440px; margin: 8px 0; border: 1px solid var(--line); border-radius: 24px;
    background: radial-gradient(60% 50% at 50% 50%, rgba(27,143,184,.08), transparent 70%); }
  .no-webgl .atlas-fenster, .no-js .atlas-fenster { display: none; }
}
/* Die beiden Felder messen sich selbst. Wie viele Spalten die Knopfreihen bekommen,
   hängt an der Breite des Feldes, nicht an der Breite des Fensters. So stimmt die
   Aufteilung auch dann, wenn jemand den Browser auf 125 oder 150 Prozent stellt. */
.schichten, .bahnen { container-type: inline-size; container-name: regler; }
.schichten { margin-top: 36px; padding: 20px 22px 18px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(4, 9, 17, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.no-js .schichten, .no-webgl .schichten { display: none; }
.schichten__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
/* Der Name darf umbrechen und in die nächste Zeile rutschen. Ohne das ragte er im
   schmalen Feld rechts über die Kante hinaus. */
.schichten__kopf { flex-wrap: wrap; }
.schichten__kopf output { font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0; text-transform: none; color: var(--ice); line-height: 1; min-width: 0; overflow-wrap: anywhere; }
.schichten__regler { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 10px 0 4px; background: transparent; cursor: pointer; --wert: 0%; }
.schichten__regler::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ice) 0 var(--wert), rgba(166,236,255,.16) var(--wert) 100%); }
.schichten__regler::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(166,236,255,.16); }
.schichten__regler::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ice); }
.schichten__regler::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ice); box-shadow: 0 0 0 5px rgba(166,236,255,.12), 0 0 22px rgba(166,236,255,.6); }
.schichten__regler::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ice); box-shadow: 0 0 0 5px rgba(166,236,255,.12), 0 0 22px rgba(166,236,255,.6); }
.schichten__regler:focus-visible { outline: none; }
.schichten__regler:focus-visible::-webkit-slider-thumb { border-color: var(--amber); box-shadow: 0 0 0 5px rgba(255,181,74,.3); }
.schichten__regler:focus-visible::-moz-range-thumb { border-color: var(--amber); }
.schichten__stopps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.schicht-stopp { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; border-radius: 99px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .25s, border-color .25s, background .25s; }
/* Sicherheitsnetz: lieber umbrechen als über den Rand des Knopfes laufen.
   Die Kennung davor bleibt zusammen, "F5" darf nicht zu "F" und "5" werden. */
.schicht-stopp, .bahn-stopp { min-width: 0; overflow-wrap: anywhere; }
.schicht-stopp i, .bahn-stopp i { flex: none; white-space: nowrap; overflow-wrap: normal; }
.schicht-stopp i { font-style: normal; color: var(--dim); }
.schicht-stopp:hover { color: var(--ink); border-color: var(--line-strong); }
.schicht-stopp[aria-pressed="true"] { color: #07121c; background: var(--ice); border-color: var(--ice); }
.schicht-stopp[aria-pressed="true"] i { color: #07121c; opacity: .6; }
.schichten__hinweis { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
@media (hover: none), (pointer: coarse) { .nur-maus { display: none; } }
@media (max-width: 520px) { .schicht-stopp { font-size: 10.5px; letter-spacing: .06em; padding-inline: 6px; } .schicht-stopp i { display: none; } }
/* Vier Stufen nebeneinander brauchen Platz für die längste Beschriftung, "02 Nerven".
   Gemessen passt die in der Textspalte dieser Tafel nie in ein Viertel der Feldbreite: der
   Text lief über den runden Rand seines Knopfes hinaus und sah abgeschnitten aus, bei jeder
   Fensterbreite und bei 125 und 150 Prozent Zoom besonders deutlich. Darum zwei mal zwei.
   Vier nebeneinander erst, wenn das Feld dafür wirklich breit genug ist. */
.schichten__stopps--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container regler (min-width: 560px) { .schichten__stopps--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Nervenbahnen: Umschalter und Erklärung ---------- */
.bahnen { margin-top: 14px; padding: 20px 22px 18px; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(4, 9, 17, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.no-js .bahnen, .no-webgl .bahnen { display: none; }
/* Sechs Bahnen: drei Spalten erst, wenn "N5 Oberschenkel" sicher in ein Drittel passt.
   Darunter zwei Spalten, dann bleibt es bei drei vollen Reihen ohne Lücke. */
.bahnen__stopps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
@container regler (min-width: 505px) { .bahnen__stopps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Ganz schmal, etwa Handy mit 125 Prozent Zoom: eine Spalte. Sonst müsste "Oberschenkel"
   mitten im Wort umbrechen. */
@container regler (max-width: 260px) { .bahnen__stopps { grid-template-columns: minmax(0, 1fr); } }
.bahn-stopp { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 99px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); transition: color .25s, border-color .25s, background .25s; }
.bahn-stopp::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--k, var(--ice)); flex: none; box-shadow: 0 0 10px var(--k, var(--ice)); }
.bahn-stopp i { font-style: normal; color: var(--dim); }
.bahn-stopp:hover { color: var(--ink); border-color: var(--line-strong); }
.bahn-stopp[aria-pressed="true"] { color: var(--ink); border-color: var(--k, var(--ice)); background: rgba(12, 28, 46, .8); }
.bahn-stopp[aria-pressed="true"] i { color: var(--k, var(--ice)); }
.bahn-stopp[data-bahn="1"], .bahnen-liste li[data-bahn="1"] { --k: var(--bahn-1); }
.bahn-stopp[data-bahn="2"], .bahnen-liste li[data-bahn="2"] { --k: var(--bahn-2); }
.bahn-stopp[data-bahn="3"], .bahnen-liste li[data-bahn="3"] { --k: var(--bahn-3); }
.bahn-stopp[data-bahn="4"], .bahnen-liste li[data-bahn="4"] { --k: var(--bahn-4); }
.bahn-stopp[data-bahn="5"], .bahnen-liste li[data-bahn="5"] { --k: var(--bahn-5); }
.bahn-stopp[data-bahn="6"], .bahnen-liste li[data-bahn="6"] { --k: var(--bahn-6); }
@media (max-width: 520px) { .bahn-stopp { font-size: 10.5px; letter-spacing: .04em; padding-inline: 8px; } .bahn-stopp i { display: none; } }

/* Die Liste steht immer da, auch ohne JavaScript und ohne WebGL. Sie ist Erklärung und Legende. */
.bahnen-liste { list-style: none; margin: 22px 0 0; display: grid; gap: 10px; }
.bahnen-liste li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding-left: 12px; border-left: 2px solid var(--k, var(--ice)); }
.bahnen-liste__code { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--k, var(--ice)); padding-top: 3px; }
.bahnen-liste strong { display: block; font-weight: 600; font-size: 16px; }
.bahnen-liste__fach { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 2px; }
.bahnen-liste .desc { display: block; color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* Beschriftungen der Bahnen am Körper, gleiche Bauweise wie die anatomischen Marken */
.bahnen-labels { position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0; visibility: hidden; }
.bahnen-labels .lbl { transition: opacity .3s; }
@media (max-width: 900px) { .bahnen-labels { display: none; } }
/* Auf dem Handy sagt die Beschriftung im Bühnenfenster, welche Bahn gerade leuchtet. */
.stage-legend__bahn { display: none; }
.zeigt-nerven .stage-legend__bahn { display: block; margin-top: 4px; }
.stage-legend__bahn b { color: var(--ice); font-weight: 500; }

/* ---------- Faszien ---------- */
.lines-list { list-style: none; margin-top: 40px; display: grid; gap: 8px; }
.line-btn {
  width: 100%; text-align: left; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start;
  background: rgba(4, 9, 17, .7); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.line-btn:hover { border-color: var(--line-strong); transform: translateX(4px); }
.line-btn[aria-pressed="true"] { border-color: var(--cyan); background: rgba(12, 40, 60, .7); }
.line-btn__code { font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: .1em; padding-top: 3px; }
.line-btn strong { display: block; font-weight: 600; font-size: 16px; }
.line-btn span.desc { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--amber); padding-left: 14px; margin-top: 28px; max-width: 60ch; }

/* ---------- Wissen ---------- */
.know { display: grid; gap: 14px; margin-top: 44px; counter-reset: know; }
.know__item { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.know__item:last-child { border-bottom: 1px solid var(--line); }
.know__num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--amber); font-style: italic; }
.know__item h3 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; margin-bottom: 8px; }
.know__item p { color: #c3d3e0; margin: 0; }
.source { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--dim); margin-top: 22px; }

/* ---------- Leistungen / Befund ---------- */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.services-head .lead { margin: 0; }
/* Feste Spaltenzahl statt auto-fill. Nur so laesst sich sagen, dass die
   Anrufkarte den Rest der Reihe fuellt. Vier Leistungskarten plus Anrufkarte
   ergeben sonst eine angebrochene Reihe, und es sieht aus, als fehle eine. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.cards > li:last-child { grid-column: span 2; }
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .cards > li:last-child { grid-column: auto; }
}
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: linear-gradient(180deg, rgba(10, 21, 36, .9), rgba(5, 11, 20, .9)); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  overflow: hidden; transition: border-color .4s, transform .5s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(166,236,255,.07), transparent); opacity: 0; pointer-events: none; }
.card:hover::after { animation: scanline 1.4s var(--ease); }
@keyframes scanline { 0% { top: -30%; opacity: 1; } 100% { top: 110%; opacity: 1; } }
.card__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.card__head b { color: var(--cyan); font-weight: 500; }
.card h3 { font-family: var(--serif); font-size: 2rem; line-height: 1.02; margin: 18px 0 10px; }
.card p { color: #bccbd8; font-size: 15px; }
.wave { height: 40px; width: 100%; margin: 4px 0 16px; color: var(--cyan); opacity: .8; }
.meters { display: grid; gap: 9px; margin-top: auto; padding-top: 12px; }
.meter { display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meter__bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.meter__bar i { height: 8px; border-radius: 2px; background: rgba(166,236,255,.1); }
.meter__bar i.on { background: var(--ice); box-shadow: 0 0 8px rgba(166,236,255,.45); }
.card__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card--cta { background: radial-gradient(120% 90% at 100% 0%, rgba(255,181,74,.16), transparent 60%), linear-gradient(180deg, rgba(10,21,36,.9), rgba(5,11,20,.9)); border-color: rgba(255,181,74,.3); justify-content: space-between; }
.card--cta h3 { color: var(--amber-soft); }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.frame { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; }
.frame__inner { position: absolute; inset: 0; overflow: hidden; border-radius: 6px; border: 1px solid var(--line-strong);
  background: radial-gradient(80% 60% at 50% 38%, rgba(27,143,184,.18), transparent 70%), linear-gradient(180deg, #081322, #040910); }
.frame__inner img { width: 100%; height: 100%; object-fit: cover; }
.frame__topo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ice); opacity: .55; }
.frame__corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--amber); }
.frame__corner.tl { left: -9px; top: -9px; border-left-width: 1px; border-top-width: 1px; }
.frame__corner.tr { right: -9px; top: -9px; border-right-width: 1px; border-top-width: 1px; }
.frame__corner.bl { left: -9px; bottom: -9px; border-left-width: 1px; border-bottom-width: 1px; }
.frame__corner.br { right: -9px; bottom: -9px; border-right-width: 1px; border-bottom-width: 1px; }
.frame__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.frame__cap b { color: var(--ice); font-weight: 500; }
.frame__empty { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.frame__empty strong { display: block; font-family: var(--serif); font-size: 2.2rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; margin-bottom: 6px; font-style: italic; }
.frame__scale { position: absolute; top: 12%; bottom: 12%; right: -34px; width: 22px; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 12px); }
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.15; color: var(--ink); margin: 34px 0; padding-left: 22px; border-left: 2px solid var(--amber); font-style: italic; }
@media (max-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .frame { max-width: 420px; }
  .frame__scale { display: none; }
}

/* ---------- Vorstellung (Tafel 01) ---------- */
.vorstellung { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 900px; }
.vorstellung .frame { aspect-ratio: 4 / 5; }
.vorstellung .frame__empty strong { font-size: 1.5rem; }
.vorstellung .frame__cap { display: none; }
.vorstellung .h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.vorstellung__rolle { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); margin-top: 14px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(4,9,17,.7); color: var(--muted);
}
/* padding, damit die Trefferflaeche 24 px hoch wird (WCAG 2.2, 2.5.8) */
.vorstellung__mehr { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 6px 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); text-decoration: none; }
.vorstellung__mehr::after { content: "\2192"; transition: transform .3s var(--ease); }
.vorstellung__mehr:hover::after { transform: translateX(5px); }
@media (max-width: 720px) {
  .vorstellung { grid-template-columns: minmax(0, 1fr); }
  .vorstellung .frame { max-width: 220px; }
}

/* ---------- Arbeitsweise (Tafel 03) ---------- */
.arbeitsweise { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.grundsaetze { list-style: none; display: grid; gap: 14px; }
.grundsatz { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.grundsatz:last-child { border-bottom: 1px solid var(--line); }
.grundsatz__num { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--amber); font-style: italic; }
.grundsatz h3 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.05; margin-bottom: 6px; }
.grundsatz p { color: #c3d3e0; margin: 0; font-size: 15.5px; }
@media (max-width: 900px) { .arbeitsweise { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Praxis (Tafel 05) ---------- */
/* Zwei Spalten wie auf Tafel 03. Links läuft die Überschrift mit, darunter das erste Foto,
   damit die linke Seite nicht leer bleibt. Rechts steht derselbe Text von Nico, im Wortlaut
   unverändert, nur in Blöcke geteilt: zwischen den Blöcken stehen die beiden anderen Fotos,
   damit niemand sechs Absätze am Stück lesen muss. */
.praxis-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(36px, 5vw, 60px); }
.praxis-saeule { position: sticky; top: calc(var(--header-h) + 28px); }
.praxis-saeule .h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin-top: 20px; }
.praxis-saeule .raum { margin: 32px 0 0; }
.praxis-text > * + * { margin-top: 16px; }
.praxis-text .raum { margin-block: 32px; }
/* Der Satz, auf den es Nico ankommt. Gleiche Sprache wie .note und .quote: eine bernsteinfarbene
   Linie am Rand. Der Wortlaut bleibt, nur das Gewicht ändert sich. */
.praxis-merksatz { color: var(--ink); border-left: 2px solid var(--amber); padding-left: 18px; }
.raum { position: relative; aspect-ratio: 3 / 2; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden;
  background:
    linear-gradient(rgba(166, 236, 255, .045) 1px, transparent 1px) 0 0 / 100% 30px,
    linear-gradient(90deg, rgba(166, 236, 255, .045) 1px, transparent 1px) 0 0 / 30px 100%,
    radial-gradient(75% 60% at 50% 40%, rgba(27, 143, 184, .16), transparent 70%),
    linear-gradient(140deg, #081322, #040910);
}
.raum img { width: 100%; height: 100%; object-fit: cover; }
/* Die Bildunterschrift liegt auf dem Foto. Nicos Räume haben helle Holzböden,
   dort unten wäre die graue Schrift nicht mehr lesbar. Der Verlauf ist nur so
   dunkel wie nötig und endet vor der Bildmitte. Bewusst ohne :has(), damit es
   auch in älteren Browsern greift. Alle drei Rahmen haben jetzt ein Foto. */
.raum::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none;
  background: linear-gradient(to top, rgba(3, 6, 12, .82), rgba(3, 6, 12, .45) 45%, transparent); }
.raum__cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.raum__cap b { color: var(--ice); font-weight: 500; }
.raum__empty { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 100%; text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.raum__empty strong { display: block; font-family: var(--serif); font-style: italic; font-size: 1.7rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; margin-bottom: 4px; }
/* Sechs Felder, feste Aufteilung: drei mal zwei, zwei mal drei, einspaltig. Vorher stand
   hier auto-fit, dadurch passten fünf Felder in die erste Reihe und neben "Umziehen" blieb
   eine große leere Fläche stehen. Sechs teilt sich durch drei, zwei und eins, es bleibt
   also bei jeder Breite eine volle Reihe. */
.praxis-fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (max-width: 980px) { .praxis-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .praxis-fakten { grid-template-columns: minmax(0, 1fr); } }
/* Sieben Felder gehen weder in drei noch in zwei Spalten auf. Das letzte füllt
   deshalb die angebrochene Reihe, sonst stünde dort eine leere Zelle als heller
   Streifen.

   Die Regeln stehen bewusst in Bereichen mit min-width, nicht als Regel plus
   Rücknahme. Der erste Versuch am 03.11.2026 nahm die Spanne einspaltig mit
   `.praxis-fakt:last-child` zurück. Diese Auswahl ist aber schwächer als
   `.praxis-fakt:last-child:nth-child(2n + 1)`, also blieb die Spanne stehen.
   In einem einspaltigen Raster erzeugt sie eine zweite, unsichtbar schmale
   Spalte: die Felder lagen übereinander und der Text brach Buchstabe für
   Buchstabe um. Mit Bereichsgrenzen gibt es die Regel schmal gar nicht erst. */
@media (min-width: 981px) {
  .praxis-fakt:last-child:nth-child(3n + 1) { grid-column: span 3; }
}
@media (min-width: 561px) and (max-width: 980px) {
  .praxis-fakt:last-child:nth-child(2n + 1) { grid-column: span 2; }
}
.praxis-fakt { background: rgba(4, 9, 17, .85); padding: 20px 22px; }
.praxis-fakt h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); margin-bottom: 9px; }
.praxis-fakt p { margin: 0; color: #c9d7e3; font-size: 15px; }
/* Einspaltig läuft nichts mehr mit: Überschrift, erstes Foto, dann der Text. */
@media (max-width: 900px) { .praxis-head { grid-template-columns: minmax(0, 1fr); align-items: start; } .praxis-saeule { position: static; } }

/* ---------- Atme mit mir (Tafel 10) ---------- */
.atem-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.atem-buehne { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.atem-orb { position: relative; width: 100%; max-width: 420px; display: grid; place-items: center; }
.atem-ring { width: 100%; max-width: 420px; height: auto; display: block; }
.atem-kern { transform: scale(calc(.74 + .34 * var(--b, .5))); transform-origin: 50% 50%; transform-box: view-box; }
.atem-halo { opacity: calc(.35 + .5 * var(--b, .5)); }
.js .atem:not(.laeuft) .atem-kern { animation: atemleer 10s ease-in-out infinite; }
@keyframes atemleer { 0%, 100% { transform: scale(.82); } 40% { transform: scale(1.02); } }
.atem-mitte { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; width: 70%; }
.atem-phase { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--ink); margin: 0; }
.atem-zaehler { font-family: var(--mono); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--amber); margin: 8px 0 0; min-height: 1em; }
.atem-runde { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; min-height: 1.3em; text-align: center; }
.no-js .atem-steuerung, .no-js .atem-mitte { display: none; }
.atem-steuerung { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.btn-atem {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer; padding: 16px 26px; border-radius: 99px; border: 1px solid transparent;
  background: var(--amber); color: #1a0f00; font-weight: 600; font-size: 16px; font-family: inherit;
  box-shadow: 0 10px 40px -12px rgba(255, 181, 74, .7); transition: transform .35s var(--ease), box-shadow .35s;
}
.btn-atem:hover { transform: translateY(-2px); }
.btn-atem__punkt { width: 10px; height: 10px; border-radius: 50%; background: #1a0f00; }
.atem.laeuft .btn-atem__punkt { animation: atempunkt 10s ease-in-out infinite; }
@keyframes atempunkt { 0%, 100% { transform: scale(.7); } 40% { transform: scale(1.5); } }
.atem-rhythmus { display: flex; gap: 8px; border: 0; padding: 0; margin: 0; }
.atem-rhythmus label { position: relative; }
.atem-rhythmus input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.atem-rhythmus span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(4, 9, 17, .7); color: var(--muted); cursor: pointer; transition: border-color .25s, color .25s; }
.atem-rhythmus input:checked + span { border-color: var(--ice); color: var(--ink); background: rgba(166, 236, 255, .08); }
.atem-rhythmus input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }
.btn-klang { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(4, 9, 17, .7); color: var(--muted); }
.btn-klang svg { width: 16px; height: 16px; fill: currentColor; }
.btn-klang .klang-welle { fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .25; }
.btn-klang[aria-pressed="true"] { border-color: var(--ice); color: var(--ink); }
.btn-klang[aria-pressed="true"] .klang-welle { opacity: 1; }
.atem-takt { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); line-height: 2.1; margin: 20px 0; }
.atem-warum { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 26px; max-width: var(--lesebreite); }
.atem-warum h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); margin-bottom: 12px; }
.atem-warum p { color: #c3d3e0; font-size: 15.5px; margin: 0 0 10px; }
.atem-warum p:last-child { margin-bottom: 0; }
.atem-warum .klein { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) {
  .atem-grid { grid-template-columns: minmax(0, 1fr); }
  .atem-buehne { order: -1; }
  .atem-ring { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .atem-kern { transform: none; }
  .js .atem:not(.laeuft) .atem-kern { animation: none; }
}

/* ---------- Ablauf ---------- */
.steps-wrap { position: relative; margin-top: 60px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; width: 100%; overflow: visible; }
.step { position: relative; padding-top: 70px; }
.step__node { position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-2); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--ice); }
.step:first-child .step__node { border-color: var(--amber); color: var(--amber); box-shadow: 0 0 24px rgba(255,181,74,.3); }
.step h3 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps__line { display: none; }
  .step { padding: 0 0 30px 70px; min-height: 90px; }
  .step::before { content: ""; position: absolute; left: 23px; top: 50px; bottom: 0; width: 1px; background: var(--line-strong); }
  .step:last-child::before { display: none; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-list { display: grid; gap: 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.15; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .4s var(--ease), border-color .3s; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--ice); transform: translate(-50%, -50%); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] summary i { border-color: var(--amber); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover { color: var(--ice); }
.faq-item .faq-a { padding: 0 54px 26px 0; color: #c3d3e0; }
.faq-item .faq-a p { margin: 0; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } .faq-item .faq-a { padding-right: 0; } }

/* ---------- Kontakt Finale ---------- */
.finale { min-height: 100vh; display: flex; align-items: center; padding-bottom: clamp(120px, 18vh, 200px); }
.finale .h2 { font-size: clamp(3.4rem, 9vw, 9rem); }
.call {
  position: relative; display: inline-flex; align-items: center; gap: 22px; margin-top: 44px; text-decoration: none;
  padding: 20px 34px 20px 20px; border-radius: 999px; background: var(--amber); color: #1a0f00;
  box-shadow: 0 20px 70px -20px rgba(255,181,74,.8); transition: transform .4s var(--ease);
}
.call:hover { transform: scale(1.02); }
.call__icon { position: relative; width: 64px; height: 64px; border-radius: 50%; background: #1a0f00; display: grid; place-items: center; flex: none; }
.call__icon svg { width: 26px; height: 26px; color: var(--amber); }
.call__ring { position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(255,181,74,.7); pointer-events: none; animation: heartbeat 1.2s ease-out infinite; }
.call__ring:nth-of-type(2) { animation-delay: .18s; }
@keyframes heartbeat { 0% { transform: scale(1); opacity: .9; } 60% { opacity: 0; } 100% { transform: scale(1.18, 1.5); opacity: 0; } }
.call__text small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; opacity: .8; }
.call__text span { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.05; font-weight: 400; letter-spacing: .01em; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; max-width: 900px; }
.contact-cell { background: rgba(4, 9, 17, .85); padding: 22px; }
.contact-cell h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); margin-bottom: 10px; }
.contact-cell p, .contact-cell dl { margin: 0; color: #c9d7e3; font-size: 15px; }
.contact-cell dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.contact-cell dt { color: var(--muted); }
.contact-cell dd { margin: 0; }
.contact-cell a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.contact-cell a:hover { color: var(--ice); }
.ecg { position: absolute; left: 0; right: 0; bottom: 8vh; width: 100%; height: 120px; color: var(--amber); opacity: .5; pointer-events: none; }
.ecg path { fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ecg .ecg-glow { stroke: var(--amber-soft); stroke-width: 2.4; stroke-dasharray: 140 4000; animation: ecgrun 6s linear infinite; filter: drop-shadow(0 0 6px var(--amber)); }
@keyframes ecgrun { from { stroke-dashoffset: 140; } to { stroke-dashoffset: -3300; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .call { padding-right: 24px; gap: 16px; } .call__icon { width: 52px; height: 52px; } }

/* ---------- Footer ---------- */
/* Ruhige Fusszeile: eine Zeile Copyright, eine Reihe Links. Die Nachweise zum 3D-Modell,
   zu den Schriften und zu den Bibliotheken stehen auf lizenzen.html. Der Link dorthin steht
   auf jeder Seite, damit die Namensnennung nach CC BY-SA 4.0 von überall erreichbar ist. */
/* Deckender Grund, nicht durchsichtig. Vorher stand hier rgba(3,6,12,.94), dadurch
   schienen auf der Startseite die Beine des Körpers durch die Fußzeile hindurch. */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding-block: 34px; background: var(--bg); }
/* Der weiche Übergang liegt oberhalb der Fußzeile, nicht in ihr. So löst sich die Bühne
   zur letzten Tafel hin auf, und ab der Fußzeile scheint nichts mehr durch. */
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 120px; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,6,12,0) 0%, rgba(3,6,12,.72) 62%, var(--bg) 100%); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: var(--muted); }
.site-footer .copy { margin: 0; }
.site-footer nav { display: flex; gap: 4px 26px; flex-wrap: wrap; }
/* padding-block, damit die Trefferflaeche 24 px hoch wird (WCAG 2.2, 2.5.8) */
.site-footer nav a { padding-block: 5px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 12px; } .site-footer nav { gap: 4px 18px; } }
@media (max-width: 900px) { .site-footer { padding-block: 28px; } }

/* ---------- Urheberleiste unter der Fusszeile ---------- */
/* Eine eigene Leiste, kein Anhang der Fußzeile. Der Grund ist eine Spur heller (bg-2
   statt bg), darüber eine sehr feine Linie. Gerade genug, dass der Streifen als eigenes Band
   liest und die Zeile nicht im Nichts hängt. Inhalt ruhig und mittig: die Rolle klein in
   Versalien, daneben der Name in derselben Tonlage wie der Text der Fußzeile.
   Deckender Grund, damit die Bühne nicht durchscheint. */
.urheber { position: relative; z-index: 2; background: var(--bg-2); border-top: 1px solid rgba(166, 236, 255, .09);
  padding-block: 2px; }
.urheber__zeile { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; margin-block: 0; }
.urheber__label { font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
/* padding, damit die Trefferfläche mindestens 24 px hoch und breit wird (WCAG 2.2, 2.5.8) */
.urheber__link { display: inline-block; min-height: 24px; padding: 5px 4px; font-size: 13.5px; line-height: 1.1;
  color: var(--muted); text-decoration: none; transition: color .25s var(--ease); }
.urheber__link:hover, .urheber__link:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
/* Auf der Startseite steht unten die feste Anrufleiste. Darum endet die Seite dort mit mehr Luft. */
@media (max-width: 900px) { body:has(.callbar-reihe) .urheber { padding-bottom: 96px; } }

/* ---------- Mobile Anrufleiste ----------
   Zwei Wege nebeneinander. Nico ist während einer Behandlung nicht am Telefon,
   deshalb steht WhatsApp gleichberechtigt daneben, aber ruhiger: der Anruf
   bleibt der helle Knopf und nimmt den ganzen übrigen Platz. */
.callbar-reihe { display: none; }
@media (max-width: 900px) {
  .callbar-reihe {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: stretch; gap: 8px;
  }
  .callbar {
    flex: 1 1 auto; min-width: 0;
    display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; min-height: 60px; border-radius: 99px; text-decoration: none;
    background: var(--amber); color: #1a0f00; box-shadow: 0 14px 40px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,207,138,.6) inset;
  }
  .callbar--zweit {
    flex: 0 0 auto; gap: 8px; padding: 8px 16px 8px 8px;
    background: rgba(8, 15, 26, .94); color: var(--ink);
    box-shadow: 0 14px 40px -10px rgba(0,0,0,.8), 0 0 0 1px var(--line-strong) inset;
  }
  .callbar--zweit .callbar__icon { background: rgba(166, 236, 255, .12); }
  .callbar--zweit .callbar__icon::after { display: none; }
  .callbar--zweit .callbar__icon svg { color: var(--ice); }
  .callbar__kurz { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
  /* Unter 400 Pixel bricht sonst "Ruf einfach an" um. Dann bleibt vom zweiten
     Knopf nur das Symbol, der Name steht im aria-label. Gemessen: bei 390 Pixeln
     passt die Beschriftung noch, bei 360 nicht mehr. */
  @media (max-width: 380px) {
    .callbar__kurz { display: none; }
    .callbar--zweit { padding: 8px; }
  }
  .callbar__icon { width: 44px; height: 44px; border-radius: 50%; background: #1a0f00; display: grid; place-items: center; position: relative; }
  .callbar__icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(26,15,0,.45); animation: heartbeat 1.2s ease-out infinite; }
  .callbar__icon svg { width: 20px; height: 20px; color: var(--amber); }
  .callbar strong { display: block; font-size: 16px; line-height: 1.1; }
  .callbar small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; opacity: .8; }
  .callbar__arrow { margin-left: auto; font-family: var(--mono); font-size: 18px; }
}

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; opacity: 0; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary { cursor: none; }
  .cursor__dot { position: fixed; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
  .cursor__ring { position: fixed; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(166,236,255,.6);
    transition: width .35s var(--ease), height .35s var(--ease), left .35s var(--ease), top .35s var(--ease), background .3s, border-color .3s; display: grid; place-items: center; }
  .cursor__ring span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #1a0f00; opacity: 0; transition: opacity .2s; white-space: nowrap; }
  .cursor.is-hover .cursor__ring { width: 70px; height: 70px; left: -35px; top: -35px; border-color: var(--ice); background: rgba(166,236,255,.08); }
  .cursor.is-label .cursor__ring { width: 86px; height: 86px; left: -43px; top: -43px; background: var(--amber); border-color: var(--amber); }
  .cursor.is-label .cursor__ring span { opacity: 1; }
}

/* ---------- Unterseiten ---------- */
.legal { padding-block: calc(var(--header-h) + 80px) 120px; position: relative; z-index: 2; }
.legal > * { max-width: var(--lesebreite); }
.legal h1 { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; margin-bottom: 30px; }
.legal h2 { font-family: var(--serif); font-size: 1.9rem; margin: 48px 0 12px; }
.legal h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ice); margin: 30px 0 10px; }
.legal code { font-family: var(--mono); font-size: .88em; color: var(--ice); }
.legal p, .legal li { color: #c3d3e0; }
/* Die Aufzählungen in der Datenschutzerklärung sollen so hell sein wie die
   Absätze daneben, sonst springen sie heraus. */
.legal ul { margin: 10px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal a { text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.legal a:hover { color: var(--ice); text-decoration-color: currentColor; }
.legal .vorspann { color: var(--muted); }
/* Nachweisblock auf lizenzen.html: Werk, Urheber, Lizenz, Link untereinander. */
/* Feste Spaltenbreite statt max-content: sonst haengt die Breite an der Monoschrift und die
   rechte Spalte rutscht, sobald die echte Schrift die Ersatzschrift abloest (CLS 0,036). */
.legal .lizenz { display: grid; grid-template-columns: 94px 1fr; gap: 7px 24px; margin: 14px 0 26px; font-size: 15.5px; }
.legal .lizenz dt { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); padding-top: 5px; }
.legal .lizenz dd { margin: 0; color: #c3d3e0; }
.legal .lizenz + h2 { margin-top: 48px; }
@media (max-width: 620px) { .legal .lizenz { grid-template-columns: 1fr; gap: 2px; } .legal .lizenz dt { margin-top: 14px; } .legal .lizenz dt:first-of-type { margin-top: 0; } }

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .call__ring, .callbar__icon::after { display: none; }
}
