/* a107 – Szenen-Grafiken, Ziel-Motive, 3D-Phones, Social, Übergänge. Ergänzt app.css (wird danach geladen).
   EIN Baukasten für alle Grafiken (js/art.js): Neon-Röhre (.nt), Glas (.gl), Metall (.mt), Lichtboden (.fl), 3D-Neon (.n3).
   Farben nur aus --path / --path-hi / --path-deep (Pink bzw. Blau), Anthrazit, Weiß, Sand. Kein Grün/Oliv/Salbei/Moos/Mandel,
   kein buntes Cyan/Orange/Gelb. Jede Animation definiert nur Bewegung; die Basis ist der ruhige Endzustand
   (reduzierte Bewegung = Standbild, app.css schaltet dort alle Animationen ab). */

/* ---------- Platz der Szenen-Grafik: füllt die Lücke zwischen Frage-Kopf und Antworten ---------- */
.art-slot { position: relative; z-index: 0; flex: 1 1 0; min-height: 0; margin: 4px calc(var(--pad) * -1) 0; pointer-events: none; }
.type-list .art-slot + .opts, .type-inputs .art-slot + .nums { margin-top: 8px; }
.fx-art { position: absolute; left: 0; right: 0; top: 0; height: max(100%, var(--art-min, 148px)); color: var(--path); }
.fx-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fx-art, .goal-art { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fx-art text, .goal-art text { stroke: none; font-family: var(--f); }
.screen:not(.is-active) .fx-art *, .screen.is-leaving .fx-art *, .screen:not(.is-active) .goal-art *, .card:not([data-pos='0']) .goal-art * { animation-play-state: paused !important; }

/* Baukasten */
.nt-g { stroke: var(--path); stroke-width: 7; opacity: 0.22; }
.nt-m { stroke: var(--path-hi); stroke-width: 2.2; }
.nt-c { stroke: #fff; stroke-width: 0.8; opacity: 0.8; }
.gl { stroke: color-mix(in srgb, var(--path-hi) 36%, rgba(243, 242, 240, 0.16)); stroke-width: 0.7; }
.gl-top { stroke: #fff; stroke-opacity: 0.36; stroke-width: 0.7; }
.mt { stroke: rgba(243, 242, 240, 0.18); stroke-width: 0.5; }
.mt-c { fill: #17181b; stroke: rgba(243, 242, 240, 0.34); stroke-width: 0.8; }
.mt-edge { stroke: var(--path-hi); stroke-width: 0.8; opacity: 0.7; }
.fl-g { stroke-width: 9; opacity: 0.2; }
.fl-l { stroke-width: 1.4; }
.art-t { font-size: 7.2px; font-weight: 700; letter-spacing: 0.2em; fill: color-mix(in srgb, var(--path-hi) 62%, #fff); }
.art-t.dim { fill: rgba(243, 242, 240, 0.5); font-size: 6.4px; }
.art-n { font-size: 13.5px; font-weight: 800; letter-spacing: -0.01em; fill: #f3f2f0; font-variant-numeric: tabular-nums; }
.art-u { font-size: 6.4px; font-weight: 700; letter-spacing: 0.18em; fill: var(--path-hi); }

/* ---------- Punkt 5: Zyklus – Hormon-Balance ---------- */
.fx-cycle { --art-min: 132px; }
.cy-days, .cy-day { stroke-linecap: butt; stroke-width: 5; }
.cy-days { stroke: var(--path-hi); opacity: 0.36; stroke-dasharray: 1.6 8.4; }
.cy-day { stroke: #fff; stroke-dasharray: 1.6 278.4; stroke-dashoffset: 0; animation: cy-day 28s steps(28) infinite; }
/* a108 (Performance): Schein als zweite, breitere Strichlage statt filter: drop-shadow – SVG-Filter auf animierten
   Elementen werden auf Mobilgeräten pro Frame in Software gerechnet. Gilt für alle „.g“-Zwillinge in dieser Datei. */
.cy-day.g { stroke: var(--path-hi); stroke-width: 9; stroke-dasharray: 3.4 276.6; stroke-dashoffset: 0.9; opacity: 0.22; animation-name: cy-day-g; }
@keyframes cy-day-g { from { stroke-dashoffset: 0.9; } to { stroke-dashoffset: -279.1; } }
@keyframes cy-day { to { stroke-dashoffset: -280; } }
.cy-glow { animation: cy-breath 5.6s ease-in-out infinite alternate; }
.cy-inner { opacity: 0.8; }
@keyframes cy-breath { from { opacity: 0.72; } to { opacity: 0.88; } }
.cy-venus .nt-g { stroke-width: 6; opacity: 0.3; }
.cy-venus .nt-m { stroke-width: 2; }
.cy-venus .nt-c { stroke-width: 0.7; }
.cy-beam { transform-box: view-box; transform-origin: 195px 83px; transform: rotate(-1.5deg); animation: cy-tilt 9s ease-in-out infinite alternate; }
@keyframes cy-tilt { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
.cy-edge-g { stroke: var(--path); stroke-width: 6; opacity: 0.2; }
.cy-edge { stroke: color-mix(in srgb, var(--path-hi) 60%, #fff); stroke-width: 1.5; }
.cy-node { fill: color-mix(in srgb, var(--path-hi) 60%, #fff); }
.cy-node.g { fill: var(--path); opacity: 0.32; }
.cy-track { stroke: rgba(243, 242, 240, 0.16); stroke-width: 1.6; }
.cy-level { stroke: var(--path-hi); stroke-width: 1.6; transform-box: fill-box; transform-origin: 0 50%; }
.cy-e .cy-level { transform: scaleX(0.86); animation: cy-lvl-a 8.5s ease-in-out infinite alternate; }
.cy-p .cy-level { transform: scaleX(0.7); animation: cy-lvl-b 8.5s ease-in-out infinite alternate; }
.cy-e .cy-halo { opacity: 0.62; animation: cy-halo-a 8.5s ease-in-out infinite alternate; }
.cy-p .cy-halo { opacity: 0.42; animation: cy-halo-b 8.5s ease-in-out infinite alternate; }
@keyframes cy-lvl-a { from { transform: scaleX(0.92); } to { transform: scaleX(0.7); } }
@keyframes cy-lvl-b { from { transform: scaleX(0.7); } to { transform: scaleX(0.92); } }
@keyframes cy-halo-a { from { opacity: 0.7; } to { opacity: 0.4; } }
@keyframes cy-halo-b { from { opacity: 0.4; } to { opacity: 0.7; } }

/* ---------- Punkt 12: Regeneration – Schlafzimmer / Mond ---------- */
.nr-star { fill: #fff; opacity: 0.35; animation: nr-twinkle 5.6s ease-in-out calc(var(--k) * -0.7s) infinite alternate; }
@keyframes nr-twinkle { from { opacity: 0.16; } to { opacity: 0.42; } }
.nr-frame-g { stroke-width: 7; opacity: 0.22; }
.nr-frame { stroke-width: 1.2; }
.nr-halo { transform-box: fill-box; transform-origin: 50% 50%; animation: nr-halo 11s ease-in-out infinite alternate; }
@keyframes nr-halo { from { opacity: 0.55; transform: scale(0.98); } to { opacity: 0.8; transform: scale(1.03); } }
.nr-moon { animation: nr-float 14s ease-in-out infinite alternate; }
.nr-rim { stroke: var(--path-hi); stroke-width: 4; opacity: 0.18; }
@keyframes nr-float { from { transform: translateY(0.8px); } to { transform: translateY(-0.8px); } }
.nr-orbit ellipse { stroke: var(--path-hi); stroke-width: 0.5; opacity: 0.22; stroke-dasharray: 1 3.2; }
.nr-sat { fill: #fff; }
.nr-spin { transform-box: view-box; transform-origin: 0 0; animation: nr-spin 28s linear infinite; }
@keyframes nr-spin { to { transform: rotate(360deg); } }
.nr-lamp-h { animation: nr-lamp 9s ease-in-out infinite alternate; }
.nr-lamp-h.l2 { animation-delay: -3s; }
@keyframes nr-lamp { from { opacity: 0.75; } to { opacity: 0.95; } }
.nr-stem { stroke: #dcc39e; stroke-width: 1.2; }
.nr-slat { stroke: rgba(243, 242, 240, 0.07); stroke-width: 0.6; }
.nr-spill { animation: nr-lamp 10s ease-in-out infinite alternate; }
.nr-fold { stroke: rgba(243, 242, 240, 0.12); stroke-width: 0.6; }
.nr-duvet { transform-box: fill-box; transform-origin: 50% 100%; animation: nr-breath 7.5s ease-in-out infinite alternate; }
@keyframes nr-breath { from { transform: scaleY(1); } to { transform: scaleY(1.018); } }
.nr-edge .nt-g { stroke-width: 5; }
.nr-edge .nt-m { stroke-width: 1.4; }
.nr-edge .nt-c { stroke-width: 0.5; }
.nr-line { font-size: 6.2px; letter-spacing: 0.34em; fill: var(--path-hi); opacity: 0.6; }

/* ---------- Punkt 12: Alltag – Herzschlag + Laufband ---------- */
.ar-ecg-base { stroke: color-mix(in srgb, var(--path) 62%, transparent); stroke-width: 1.2; }
.ar-ecg-run { stroke: #fff; stroke-width: 1.8; stroke-dasharray: 11 89; stroke-dashoffset: 100; animation: pulse-run 2.2s linear infinite; }
.ar-ecg-run.g { stroke: var(--path-hi); stroke-width: 7; opacity: 0.34; stroke-dasharray: 17 83; }
.stage.reduced .ar-ecg-run, .stage.reduced .ga-ecg, .stage.reduced .hud-curve.run { display: none; }
.ar-beat { fill: var(--path-hi); transform-box: fill-box; transform-origin: 50% 50%; animation: ar-beat 0.47s ease-out infinite; }
@keyframes ar-beat { 0% { transform: scale(1.5); opacity: 1; } 100% { transform: scale(0.8); opacity: 0.35; } }
.ar-chip.c2 { opacity: 0.92; }
.ar-speed path { stroke: var(--path-hi); stroke-width: 1.2; opacity: 0; animation: ar-speed 0.72s linear infinite; }
.ar-speed path:nth-child(2) { animation-delay: -0.26s; }
.ar-speed path:nth-child(3) { animation-delay: -0.5s; }
@keyframes ar-speed { 0% { transform: translateX(14px); opacity: 0; } 30% { opacity: 0.7; } 100% { transform: translateX(-22px); opacity: 0; } }
.ar-read { stroke: var(--path-hi); stroke-width: 1.4; opacity: 0.85; }
.ar-led { fill: var(--path-hi); animation: nr-twinkle 0.94s steps(2) infinite; }
.ar-rail .nt-g { stroke-width: 5; }
.ar-rail .nt-m { stroke-width: 1.8; }
.ar-rail .nt-c { stroke-width: 0.6; }
.ar-deck-g { stroke: var(--path); stroke-width: 6; opacity: 0.3; }
.ar-deck { stroke: color-mix(in srgb, var(--path-hi) 70%, #fff); stroke-width: 1.1; }
.ar-dash { stroke: rgba(243, 242, 240, 0.34); stroke-width: 1.5; stroke-dasharray: 7 9; animation: ar-belt 0.72s linear infinite; }
@keyframes ar-belt { to { stroke-dashoffset: 32; } }
/* a108 – Läufer: ausmodellierte Glas-Silhouette mit Neon-Kontur. Drei Lagen je Gruppe (Schein, Kontur, Füllung), damit die
   Figur als EINE Silhouette liest. Laufzyklus: 20 Stützpunkte je Gelenk, linear interpoliert (gleichmäßig, kein Stocken
   an den Stützpunkten). Hüfte fast sinusförmig, Knie mit Standphase und hoher Ferse im Schwung, Arme gegenläufig. */
.rn { --rt: 0.74s; }
.rn-lg { opacity: 0.24; }
.rn-lg path, .rn-lg ellipse { fill: var(--path); stroke: var(--path); stroke-width: 9; }
.rn-lr path, .rn-lr ellipse { fill: var(--path-hi); stroke: color-mix(in srgb, var(--path-hi) 55%, #fff); stroke-width: 2; }
.rn-lf path, .rn-lf ellipse { fill: url(#ar-skin); stroke: none; }
.rn-far { opacity: 0.5; }
.rn-spec { stroke: #fff; stroke-width: 1.1; opacity: 0.6; }
.rn-shadow { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0.7; animation: rn-shadow calc(var(--rt) / 2) ease-in-out infinite alternate; }
@keyframes rn-shadow { from { transform: scaleX(0.72); opacity: 0.42; } to { transform: scaleX(1); opacity: 0.85; } }
.rn-bob { animation: rn-bob calc(var(--rt) / 2) ease-in-out infinite alternate; }
@keyframes rn-bob { from { transform: translateY(-3.6px); } to { transform: translateY(1.2px); } }
.rn-thigh, .rn-shin, .rn-upper, .rn-fore { transform-box: view-box; animation: var(--rt) linear infinite; }
.rn-thigh { transform-origin: 196px 126px; transform: rotate(-22deg); animation-name: rn-thigh; }
.rn-shin { transform-origin: 196px 156px; transform: rotate(14deg); animation-name: rn-shin; }
.rn-upper { transform-origin: 203px 90px; transform: rotate(24deg); animation-name: rn-upper; }
.rn-fore { transform-origin: 203px 110px; transform: rotate(-78deg); animation-name: rn-fore; }
.rn-l2 .rn-thigh { transform: rotate(20deg); }
.rn-l2 .rn-shin { transform: rotate(40deg); }
.rn-a2 .rn-upper { transform: rotate(-30deg); }
.rn-l2 .rn-thigh, .rn-l2 .rn-shin, .rn-a2 .rn-upper, .rn-a2 .rn-fore { animation-delay: calc(var(--rt) / -2); }
@keyframes rn-thigh { 0% { transform: rotate(-40.0deg); } 5% { transform: rotate(-36.9deg); } 10% { transform: rotate(-30.9deg); } 15% { transform: rotate(-22.8deg); } 20% { transform: rotate(-13.1deg); } 25% { transform: rotate(-3.0deg); } 30% { transform: rotate(6.6deg); } 35% { transform: rotate(14.9deg); } 40% { transform: rotate(20.8deg); } 45% { transform: rotate(24.0deg); } 50% { transform: rotate(24.0deg); } 55% { transform: rotate(20.9deg); } 60% { transform: rotate(14.9deg); } 65% { transform: rotate(6.8deg); } 70% { transform: rotate(-2.9deg); } 75% { transform: rotate(-13.0deg); } 80% { transform: rotate(-22.6deg); } 85% { transform: rotate(-30.9deg); } 90% { transform: rotate(-36.8deg); } 95% { transform: rotate(-40.0deg); } 100% { transform: rotate(-40.0deg); } }
@keyframes rn-shin { 0% { transform: rotate(12.2deg); } 5% { transform: rotate(13.0deg); } 10% { transform: rotate(15.5deg); } 15% { transform: rotate(18.5deg); } 20% { transform: rotate(21.0deg); } 25% { transform: rotate(22.0deg); } 30% { transform: rotate(21.0deg); } 35% { transform: rotate(18.5deg); } 40% { transform: rotate(15.5deg); } 45% { transform: rotate(13.3deg); } 50% { transform: rotate(14.3deg); } 55% { transform: rotate(21.9deg); } 60% { transform: rotate(41.6deg); } 65% { transform: rotate(72.8deg); } 70% { transform: rotate(97.4deg); } 75% { transform: rotate(94.2deg); } 80% { transform: rotate(66.2deg); } 85% { transform: rotate(36.5deg); } 90% { transform: rotate(19.6deg); } 95% { transform: rotate(13.6deg); } 100% { transform: rotate(12.2deg); } }
@keyframes rn-upper { 0% { transform: rotate(38.0deg); } 5% { transform: rotate(36.2deg); } 10% { transform: rotate(31.1deg); } 15% { transform: rotate(23.2deg); } 20% { transform: rotate(13.1deg); } 25% { transform: rotate(2.0deg); } 30% { transform: rotate(-9.1deg); } 35% { transform: rotate(-19.2deg); } 40% { transform: rotate(-27.1deg); } 45% { transform: rotate(-32.2deg); } 50% { transform: rotate(-34.0deg); } 55% { transform: rotate(-32.2deg); } 60% { transform: rotate(-27.1deg); } 65% { transform: rotate(-19.2deg); } 70% { transform: rotate(-9.1deg); } 75% { transform: rotate(2.0deg); } 80% { transform: rotate(13.1deg); } 85% { transform: rotate(23.2deg); } 90% { transform: rotate(31.1deg); } 95% { transform: rotate(36.2deg); } 100% { transform: rotate(38.0deg); } }
@keyframes rn-fore { 0% { transform: rotate(-64.0deg); } 5% { transform: rotate(-64.8deg); } 10% { transform: rotate(-67.1deg); } 15% { transform: rotate(-70.6deg); } 20% { transform: rotate(-75.1deg); } 25% { transform: rotate(-80.0deg); } 30% { transform: rotate(-84.9deg); } 35% { transform: rotate(-89.4deg); } 40% { transform: rotate(-92.9deg); } 45% { transform: rotate(-95.2deg); } 50% { transform: rotate(-96.0deg); } 55% { transform: rotate(-95.2deg); } 60% { transform: rotate(-92.9deg); } 65% { transform: rotate(-89.4deg); } 70% { transform: rotate(-84.9deg); } 75% { transform: rotate(-80.0deg); } 80% { transform: rotate(-75.1deg); } 85% { transform: rotate(-70.6deg); } 90% { transform: rotate(-67.1deg); } 95% { transform: rotate(-64.8deg); } 100% { transform: rotate(-64.0deg); } }

/* ---------- Punkt 6: Körperdaten-HUD ---------- */
.fx-hud { --art-min: 150px; opacity: 0.66; }
.hud-grid path { stroke: rgba(243, 242, 240, 0.07); stroke-width: 0.5; }
.hud-grid .fine { stroke-dasharray: 2 4; }
.hud-r { stroke: var(--path-hi); transform-box: view-box; transform-origin: 195px 92px; stroke-linecap: butt; }
.hud-r.r1 { stroke-width: 1; stroke-dasharray: 40 20; opacity: 0.5; animation: hud-spin 38s linear infinite; }
.hud-r.r2 { stroke-width: 3.4; stroke-dasharray: 2 6; opacity: 0.26; animation: hud-spin 64s linear infinite reverse; }
.hud-r.r3 { stroke-width: 0.6; stroke-dasharray: 96 24; opacity: 0.36; transform: rotate(20deg); animation: hud-spin 50s linear infinite; }
.hud-r.r4 { stroke: #fff; stroke-width: 1.6; stroke-dasharray: 64 296; opacity: 0.8; stroke-linecap: round; transform: rotate(-120deg); animation: hud-spin 9s linear infinite; }
.hud-r.r4.g { stroke: var(--path-hi); stroke-width: 6; opacity: 0.3; }
@keyframes hud-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hud-fig path, .hud-fig ellipse { stroke: var(--path-hi); stroke-width: 1.15; vector-effect: non-scaling-stroke; opacity: 0.82; }
.hud-scan { transform: translateY(74px); animation: hud-scan 4.4s ease-in-out infinite alternate; }
.hud-scan path { stroke: #fff; stroke-width: 1; }
.hud-scan path.g { stroke: var(--path-hi); stroke-width: 5; opacity: 0.4; }
@keyframes hud-scan { from { transform: translateY(10px); } to { transform: translateY(206px); } }
.hud-marks path { stroke: var(--path-hi); stroke-width: 0.7; stroke-dasharray: 2 3; }
.hud-marks circle { fill: #fff; }
.hud-marks .m1 { animation: hud-blink 4.4s steps(1) infinite; }
.hud-marks .m2 { animation: hud-blink 4.4s steps(1) -1.5s infinite; }
.hud-marks .m3 { animation: hud-blink 4.4s steps(1) -2.9s infinite; }
@keyframes hud-blink { 0%, 100% { opacity: 0.3; } 12%, 20% { opacity: 1; } 16% { opacity: 0.5; } 34% { opacity: 0.55; } }
.hud-dim path { stroke: rgba(243, 242, 240, 0.42); stroke-width: 0.7; }
.hud-br { stroke: var(--path-hi); stroke-width: 0.8; opacity: 0.62; }
.hud-curve { stroke: var(--path-hi); stroke-width: 1.2; opacity: 0.75; }
.hud-curve.run { stroke: #fff; stroke-width: 1.8; opacity: 1; stroke-dasharray: 14 86; stroke-dashoffset: 100; animation: pulse-run 3.2s linear infinite; }
.hud-dot { fill: #fff; animation: nr-twinkle 1.6s ease-in-out infinite alternate; }
.hud-bar { fill: var(--path); opacity: 0.78; transform-box: fill-box; transform-origin: 50% 100%; animation: hud-bar 2.4s ease-in-out calc(var(--k) * -0.31s) infinite alternate; }
@keyframes hud-bar { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
.hud-base { stroke: rgba(243, 242, 240, 0.3); stroke-width: 0.6; }
.hud-ticks { stroke: var(--path-hi); stroke-width: 4; stroke-dasharray: 0.8 3.2; stroke-linecap: butt; opacity: 0.4; }
.hud-ticks.t2 { animation: hud-ticks 6s linear infinite; }
@keyframes hud-ticks { to { stroke-dashoffset: -8; } }
.hud-val .art-n { fill: rgba(243, 242, 240, 0.42); transition: fill 0.4s; }
.hud-val.on .art-n { fill: #fff; }
.hud-val.on { animation: hud-hit 0.5s var(--ease-out); }
.hud-val.on .art-u { fill: color-mix(in srgb, var(--path-hi) 70%, #fff); }
@keyframes hud-hit { from { opacity: 0.2; } 40% { opacity: 1; } 55% { opacity: 0.4; } }

/* ---------- Punkt 7: Ziel-Motive (3D-Neon) ---------- */
.card-art { position: absolute; z-index: 1; inset: 10px 8px 2px; display: grid; place-items: center; pointer-events: none; }
.goal-art { display: block; width: 100%; height: 100%; overflow: visible; }
/* Lichtsäule in der Karte: das Motiv steht im Licht wie die Hero-Elemente */
.card-media::before { content: ''; position: absolute; top: 0; bottom: 14%; left: 50%; width: 46%; transform: translateX(-50%); pointer-events: none; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--path) 20%, transparent) 30%, color-mix(in srgb, var(--path-hi) 26%, transparent) 50%, color-mix(in srgb, var(--path) 20%, transparent) 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 80%, transparent); filter: blur(6px); }
.card-media { padding: 0; }
.n3-glow { stroke: var(--path); stroke-width: 30; opacity: 0.13; }
.n3-back { stroke: var(--path-hi); stroke-width: 13.4; opacity: 0.9; }
.n3-wall { stroke: color-mix(in srgb, var(--path-deep) 78%, #05050a); stroke-width: 12; }
.n3-rim { stroke: color-mix(in srgb, var(--path-hi) 38%, #fff); stroke-width: 12; }
.n3-face { stroke: color-mix(in srgb, var(--path) 84%, var(--path-hi)); stroke-width: 8; }
.n3-core { stroke: #fff; stroke-width: 1.3; opacity: 0.5; }
.ga-floor-g { stroke-width: 9; opacity: 0.24; }
.ga-floor { stroke-width: 1.5; }
.ga-refl .n3-rim { stroke: var(--path-hi); }
.card[data-armed='yes'] .ga-sym { animation: ga-flick 0.3s steps(1); }
@keyframes ga-flick { 0%, 40% { opacity: 0.25; } 20%, 60% { opacity: 1; } 70% { opacity: 0.5; } }
.ga-ring { stroke: var(--path-hi); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; animation: ga-ring 3s ease-out infinite; }
.ga-ring.r2 { animation-delay: 0.3s; }
@keyframes ga-ring { 0%, 38% { transform: scale(0.7); opacity: 0; } 46% { opacity: 0.8; } 100% { transform: scale(1.55); opacity: 0; } }
.ga-spark { fill: #fff; opacity: 0.85; transform-box: view-box; transform-origin: 0 0; animation: ga-spark 2.6s ease-in-out calc(var(--k) * -0.47s) infinite; }
.ga-spark.g { fill: var(--path-hi); opacity: 0.4; animation-name: ga-spark-g; }
@keyframes ga-spark-g { 0%, 100% { transform: scale(0) rotate(0deg); } 50% { transform: scale(1.7) rotate(90deg); } }
@keyframes ga-spark { 0%, 100% { transform: scale(0) rotate(0deg); } 50% { transform: scale(1) rotate(90deg); } }
.ga-chev path { stroke: var(--path-hi); stroke-width: 2.6; opacity: 0.5; animation: ga-chev-d 1.8s ease-in-out calc(var(--k) * 0.2s) infinite; }
.ga-chev.up path { animation-name: ga-chev-u; }
@keyframes ga-chev-d { 0% { opacity: 0; transform: translateY(-7px); } 35% { opacity: 1; } 75%, 100% { opacity: 0; transform: translateY(7px); } }
@keyframes ga-chev-u { 0% { opacity: 0; transform: translateY(7px); } 35% { opacity: 1; } 75%, 100% { opacity: 0; transform: translateY(-7px); } }
/* 1 Muskelaufbau: Curl */
.ga-muscle .ga-move { transform-box: view-box; transform-origin: 150px 118px; transform: translateY(-4px) rotate(-18deg); animation: ga-curl 1.5s ease-in-out infinite alternate; }
@keyframes ga-curl { from { transform: translateY(12px) rotate(-5deg); } to { transform: translateY(-18px) rotate(-27deg); } }
/* 2 Abnehmen: Taille + Maßband */
.ga-lose .ga-wl { transform: translateX(4px); animation: ga-wl 2.6s ease-in-out infinite alternate; }
.ga-lose .ga-wr { transform: translateX(-4px); animation: ga-wr 2.6s ease-in-out infinite alternate; }
@keyframes ga-wl { from { transform: translateX(-3px); } to { transform: translateX(6px); } }
@keyframes ga-wr { from { transform: translateX(3px); } to { transform: translateX(-6px); } }
.ga-tape, .ga-tape-b, .ga-body { transform-box: view-box; transform-origin: 150px 106px; transform: scaleX(0.9); animation: ga-tape 2.6s ease-in-out infinite alternate; }
@keyframes ga-tape { from { transform: scaleX(1.08); } to { transform: scaleX(0.84); } }
.ga-body { fill: color-mix(in srgb, var(--path) 34%, #17181c); opacity: 0.85; stroke: none; animation-name: ga-body; }
@keyframes ga-body { from { transform: scaleX(1.03); } to { transform: scaleX(0.93); } }
.ga-navel { fill: var(--path-hi); opacity: 0.7; }
.ga-tape-b { stroke: var(--path-deep); stroke-width: 8; opacity: 0.85; }
.tp-g { stroke: var(--path); stroke-width: 20; opacity: 0.2; }
.tp { stroke: color-mix(in srgb, var(--path-hi) 72%, #fff); stroke-width: 9.5; }
.tp-t { stroke: #0b0b0d; stroke-width: 9.5; stroke-dasharray: 1.1 5.4; stroke-linecap: butt; opacity: 0.62; }
.tp.tail, .tp-t.tail { stroke-width: 8; }
.tp-end { fill: #fff; }
/* 3 Wettkampf: Pokal im Spotlight */
.ga-cone { transform-box: view-box; opacity: 0.62; }
.ga-cone.c1 { transform-origin: 48px -6px; transform: rotate(2deg); animation: ga-cone-a 3.4s ease-in-out infinite alternate; }
.ga-cone.c2 { transform-origin: 252px -6px; transform: rotate(-2deg); animation: ga-cone-b 3.4s ease-in-out infinite alternate; }
@keyframes ga-cone-a { from { transform: rotate(-7deg); } to { transform: rotate(9deg); } }
@keyframes ga-cone-b { from { transform: rotate(7deg); } to { transform: rotate(-9deg); } }
.ga-compete .ga-cup { animation: ga-lift 3.4s ease-in-out infinite alternate; }
@keyframes ga-lift { from { transform: translateY(3px); } to { transform: translateY(-5px); } }
/* 4 Gesundheit: Herzschlag + Pulskurve */
.ga-health .ga-beat { transform-box: view-box; transform-origin: 150px 124px; animation: ga-beat 1.15s ease-in-out infinite; }
@keyframes ga-beat { 0%, 48%, 100% { transform: scale(1); } 12% { transform: scale(1.1); } 24% { transform: scale(1); } 36% { transform: scale(1.055); } }
.ga-ring.hb { animation: ga-ring-hb 1.15s ease-out infinite; }
@keyframes ga-ring-hb { 0% { transform: scale(0.8); opacity: 0; } 14% { opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
.ga-ecg-b { stroke: rgba(243, 242, 240, 0.3); stroke-width: 1.4; }
.ga-ecg { stroke: #fff; stroke-width: 2.6; stroke-dasharray: 15 85; stroke-dashoffset: 100; animation: pulse-run 2.3s linear infinite; }
.ga-ecg.g { stroke: var(--path-hi); stroke-width: 9; opacity: 0.4; stroke-dasharray: 22 78; }
/* 5 Zunehmen: Waage, Nadel schlägt aus */
.ga-ticks { stroke: var(--path-hi); stroke-width: 2.2; opacity: 0.85; }
.ga-needle { transform-box: view-box; transform-origin: 150px 126px; transform: rotate(54deg); animation: ga-needle 3.8s ease-in-out infinite; }
@keyframes ga-needle { 0%, 10% { transform: rotate(-74deg); } 40% { transform: rotate(68deg); } 52% { transform: rotate(46deg); } 64% { transform: rotate(59deg); } 74%, 92% { transform: rotate(54deg); } 100% { transform: rotate(-74deg); } }
.ga-drop { animation: ga-drop 3.8s ease-in infinite; }
@keyframes ga-drop { 0% { transform: translateY(-34px); opacity: 0; } 5% { opacity: 1; } 10% { transform: translateY(0); } 13% { transform: translateY(-5px); } 16%, 90% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
.nd-g { stroke: var(--path-hi); stroke-width: 10; opacity: 0.3; }
.nd { stroke: #fff; stroke-width: 3.2; }
.ga-hub { fill: #fff; }
.ga-hub.g { fill: var(--path-hi); opacity: 0.35; }

/* ---------- Punkt 8: schwebende 3D-Phones mit großer vertikaler Neon-Typo dahinter ---------- */
.ph3d { --ry: -22deg; --rx: 7deg; --rz: 3deg; --ex: 1; position: relative; perspective: 900px; }
.ph3d-float { position: relative; height: 100%; aspect-ratio: 9 / 19.5; animation: ph-float 7s ease-in-out infinite alternate; }
@keyframes ph-float { from { transform: translateY(5px); } to { transform: translateY(-6px); } }
.ph3d .ph-phone {
  position: relative; height: 100%; padding: 4.2%; border-radius: 15% / 7%;
  transform: rotateY(var(--ry)) rotateX(var(--rx)) rotateZ(var(--rz));
  background: linear-gradient(145deg, #5a5b62 0%, #232428 18%, #0b0b0d 55%, #2e2f34 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 2.5px #060607,
    calc(var(--ex) * 1px) 0.5px 0 #34353a, calc(var(--ex) * 2px) 1px 0 #2e2f34, calc(var(--ex) * 3px) 1.5px 0 #27282c, calc(var(--ex) * 4px) 2px 0 #202125, calc(var(--ex) * 5px) 2.5px 0 #1a1b1e, calc(var(--ex) * 6px) 3px 0 #131416, calc(var(--ex) * 7px) 3.5px 0 #0d0e10,
    calc(var(--ex) * -1.5px) -1px 0 color-mix(in srgb, var(--path-hi) 60%, transparent),
    calc(var(--ex) * 26px) 34px 44px -16px rgba(0, 0, 0, 0.9),
    0 0 54px -12px var(--path);
}
.ph3d .ph-screen { border-radius: 12.5% / 5.8%; }
.ph-island { position: absolute; z-index: 5; top: 3.4%; left: 50%; width: 28%; height: 2.7%; transform: translateX(-50%); border-radius: 99px; background: #050506; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12); }
.ph-glare { position: absolute; z-index: 4; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(112deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.03) 22%, transparent 40%, transparent 74%, rgba(255, 255, 255, 0.07) 100%); }
/* Bodenschein in der Pfadfarbe unter dem Gerät (kein harter Schatten) */
.ph3d-shadow { position: absolute; z-index: -1; left: -6%; right: -6%; bottom: -8%; height: 12%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--path) 60%, transparent), transparent); opacity: 0.7; animation: ph-shadow 7s ease-in-out infinite alternate; }
@keyframes ph-shadow { from { opacity: 0.85; transform: scaleX(1.05); } to { opacity: 0.5; transform: scaleX(0.9); } }
.ph3d.alt .ph3d-float, .ph3d.alt .ph3d-shadow { animation-delay: -3.5s; }
/* Große vertikale Typo als Lichtquelle hinter dem Gerät: 900er Schnitt, gefüllter Verlauf, weicher Schein */
.vtype {
  position: absolute; z-index: -1; top: 50%; right: 56%;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-size: var(--vt, 5rem); font-weight: 900; line-height: 0.82; letter-spacing: -0.045em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, var(--path-hi) 0%, var(--path) 55%, var(--path-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px color-mix(in srgb, var(--path) 55%, transparent));
  opacity: 0.92; pointer-events: none; user-select: none;
  animation: vt-on 1.1s steps(1) 0.35s backwards, vt-pulse 5s ease-in-out 1.5s infinite alternate;
}
@keyframes vt-on { 0% { opacity: 0; } 12% { opacity: 0.9; } 20% { opacity: 0.15; } 34% { opacity: 0.9; } 46% { opacity: 0.4; } 58%, 100% { opacity: 0.92; } }
@keyframes vt-pulse { from { opacity: 0.92; } to { opacity: 0.72; } }
.type-statement .col, .type-statement .foot { position: relative; z-index: 1; }
/* S02: ein Gerät rechts oben, Typo „HEUTE“ dahinter */
.edge-media { top: calc(var(--top) + 2px); right: 5vw; width: 29vw; transform: none; z-index: -1; }
.edge-media .ph { opacity: 1; height: calc(29vw * 19.5 / 9); --vt: 21vw; --ry: -24deg; --rz: 5deg; }
.edge-media .vtype { right: 70%; opacity: 0.8; }
/* P03: zwei Geräte gestaffelt, gegenphasig schwebend, Typo „ECHT“ */
.type-proof .phones { justify-content: center; }
.type-proof .ph.main { height: min(96%, 44vh); margin-left: 12%; --vt: min(15vh, 30vw); }
.type-proof .ph.main .vtype { right: 96%; }
.type-proof .ph.behind { position: absolute; z-index: 1; height: min(78%, 36vh); left: calc(50% + min(96%, 44vh) * 0.12); top: 50%; transform: translateY(-50%); opacity: 0.62; --ry: 20deg; --rz: -6deg; --rx: 4deg; --ex: -1; filter: brightness(0.8); }
.type-proof .ph3d .ph-phone { height: 100%; }
/* P13: ein Gerät, Ansichten blättern; Typo „FENNER“ */
.appv-phone.ph3d { --ry: -16deg; --rx: 5deg; --rz: 2deg; --vt: min(11.5vh, 22vw); max-width: none; }
.appv-phone .vtype { right: 104%; }
.appv-stage { justify-content: space-between; }
.appv-nav { position: relative; z-index: 3; background: rgba(12, 12, 14, 0.72); }
.appv-phone .ph-screen { padding: 0; }
.app-sk { margin-top: 8%; }
/* App-Claim (Punkt 11) */
.app-claim { margin: 12px 0 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.76rem; font-weight: 600; line-height: 1.3; }
.app-claim b { flex: none; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--sand), 0 0 14px -5px var(--glow); color: var(--sand); font-size: 0.56rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.app-claim span { text-wrap: balance; }

/* ---------- Punkt 10: Social-Icons auf S00 ---------- */
/* a115: deutlich größer; oben links im Logo-Slot (Wortmarke auf S00 ausgeblendet, Bottom wäre mit
   „Weniger Bewegung“ und Legal-Links kollidiert). Outer-Glow in Sand/Pfad-Farbe, weich, bei Hover, Focus und Active. */
.boot-social {
  position: absolute; z-index: 12;
  top: calc(var(--safe-t) + var(--banner) + 2px);
  left: calc(var(--pad) - 8px);
  right: auto;
  display: flex; gap: 2px;
  cursor: default;
}
.boot-social a {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  color: rgba(243, 242, 240, 0.88);
  transition: color 0.35s var(--ease-out), filter 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.boot-social .ln-ico {
  width: 32px; height: 32px; --sw: 1.6;
  transition: filter 0.35s var(--ease-out);
}
.boot-social a:hover,
.boot-social a:focus-visible,
.boot-social a:active {
  color: var(--sand);
  transform: translateY(-1px);
}
.boot-social a:active { transform: scale(0.92); }
/* a141/a142: Login-Link „ATHLETEN LOGIN“ zur App, oben rechts als Gegenstück zu den Social-Icons (gleiche Zeile,
   gleiche Höhe, gleiche Farbe). Nur auf dem Start-Screen, öffnet im selben Tab. */
.boot-login {
  position: absolute; z-index: 12;
  top: calc(var(--safe-t) + var(--banner) + 2px);
  right: calc(var(--pad) - 8px + env(safe-area-inset-right, 0px));
  height: 56px; padding: 0 8px;
  display: inline-flex; align-items: center;
  color: rgba(243, 242, 240, 0.88);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; text-decoration: none;
  text-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.35s var(--ease-out), filter 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.boot-login:hover,
.boot-login:focus-visible {
  color: var(--sand);
}
.boot-login:active { color: var(--sand); transform: scale(0.96); }

/* ---------- Punkt 16: Übergänge – Licht, das die Screens verbindet ---------- */
/* Komet: fliegt vom Tap-Punkt zum F-Signet (trägt die Antwort), dort ein Lichtring */
.fx-comet { position: absolute; z-index: 13; left: 0; top: 0; width: 0; height: 0; pointer-events: none; will-change: transform; }
.fx-comet i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, #fff 0%, var(--path-hi) 38%, color-mix(in srgb, var(--path) 60%, transparent) 62%, transparent 100%); box-shadow: 0 0 18px 4px color-mix(in srgb, var(--path) 70%, transparent); }
.fx-comet b { position: absolute; left: -2px; top: -1.5px; width: 86px; height: 3px; border-radius: 3px; transform-origin: 2px 50%; background: linear-gradient(90deg, #fff, var(--path-hi) 20%, color-mix(in srgb, var(--path) 50%, transparent) 60%, transparent); filter: blur(0.6px); }
.fx-ringpop { position: absolute; z-index: 13; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; pointer-events: none; border: var(--line) solid var(--path-hi); box-shadow: 0 0 16px var(--path), inset 0 0 12px color-mix(in srgb, var(--path) 50%, transparent); }
/* Iris: der neue Screen öffnet sich als Lichtkreis vom Tap-Punkt */
.fx-iris { position: absolute; z-index: 8; left: 0; top: 0; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; pointer-events: none; border: 1.5px solid var(--path-hi); box-shadow: 0 0 30px 4px color-mix(in srgb, var(--path) 70%, transparent), inset 0 0 30px 2px color-mix(in srgb, var(--path) 45%, transparent); will-change: transform, opacity; }
/* Geteilte Elemente: Glas-Karte übernimmt Form und Auswahl-Licht der Vorgängerin und klingt aus */
.flip-pick { animation: flip-pick 0.7s var(--ease-out); }
@keyframes flip-pick { from { box-shadow: inset 0 0 0 1.5px var(--sand), inset 0 0 22px -8px var(--glow), 0 0 30px -8px var(--glow); } }

@media (max-height: 700px) {
  .edge-media { width: 21vw; right: 4vw; }
  .edge-media .ph { height: calc(21vw * 19.5 / 9); }
  .app-claim { margin-top: 8px; font-size: 0.7rem; }
}
@media (min-width: 1024px) {
  /* a108: S02 – das Gerät steht groß in der rechten Bildhälfte vor dem gedimmten Signet (vorher klein in der Ecke) */
  .edge-media { --pw: min(16vw, 27vh); top: 50%; right: calc(17vw - var(--pw) / 2); width: var(--pw); transform: translateY(-54%); }
  .edge-media .ph { height: calc(var(--pw) * 19.5 / 9); --ry: -20deg; --rz: 3deg; }
  .edge-media .vtype { right: 92%; opacity: 0.92; }
  .type-proof .ph.main { height: 60vh; margin-left: 10vw; --vt: 20vh; }
  .type-proof .ph.behind { height: 48vh; left: calc(10vw + 22vh); }
  .boot-social { top: calc(var(--safe-t) + var(--banner) + 14px); left: calc(4vw - 10px); right: auto; }
  .boot-social a { width: 72px; height: 72px; }
  .boot-social .ln-ico { width: 44px; height: 44px; --sw: 1.7; }
  .boot-login { top: calc(var(--safe-t) + var(--banner) + 14px); right: calc(4vw - 10px); height: 72px; padding: 0 10px; font-size: 0.72rem; }
}

/* ================= a108 ================= */
/* ---------- Punkt 1: niedrige Bildschirme. Die Szene bekommt ihren eigenen Platz und wird in ihn eingepasst ----------
   Bisher ragte die Grafik unter 844 px Höhe nach unten hinter die Antwortkarten (gedimmt). Jetzt:
   · die Grafik füllt genau ihren Slot (kein Überstand, nichts liegt mehr hinter Karten oder Feldern),
   · Karten/Felder werden auf niedrigen Höhen etwas flacher (Tippfläche bleibt ≥ 44 px), der Slot wächst entsprechend,
   · reicht der Platz trotzdem nicht für die volle Szene, schaltet main.js (fitArt) auf den kompakten Ausschnitt
     (.is-compact + eigener viewBox): breiter, flacher, dieselben Elemente neu angeordnet. */
@media (max-height: 843px) and (max-width: 1023px) {
  .fx-art { height: 100%; }
  .screen.has-art .opt { min-height: clamp(44px, calc(11.5vh - 38px), 58px); }
  .type-inputs.has-art .num { padding-top: clamp(3px, calc(4.4vh - 28px), 8px); padding-bottom: clamp(4px, calc(4.4vh - 27px), 9px); }
}
@media (max-height: 760px) and (max-width: 1023px) {
  .screen.has-art .note { margin-top: 8px; max-width: none; font-size: 0.68rem; line-height: 1.34; }
  .screen.has-art .opts { gap: 6px; }
  .screen.has-art .art-slot + .opts, .screen.has-art .art-slot + .nums { margin-top: 6px; }
  /* P10: „Weiter“ und „Überspringen“ nebeneinander – der gewonnene Platz gehört dem HUD */
  .type-inputs.has-art .nums { gap: 6px; }
  .type-inputs.has-art .foot { flex-direction: row; align-items: center; gap: 4px; margin-top: 10px; }
  .type-inputs.has-art .foot .cta { flex: 1 1 auto; width: auto; min-width: 0; }
  .type-inputs.has-art .foot .skip { flex: none; align-self: center; padding-left: 12px; padding-right: 6px; }
}
@media (max-height: 650px) and (max-width: 1023px) {
  .screen.has-art .eyebrow { margin-bottom: 6px; }
  .screen.has-art .ask { font-size: min(8vw, 2.1rem, 4.8vh); }
  .screen.has-art .q-head .lede { margin-top: 6px; font-size: 1rem; }
  .screen.has-art .opts { gap: 5px; }
  .screen.has-art .note { margin-top: 6px; }
}
/* sehr niedrige Fenster (Tastatur offen, iPhone SE 1): lieber keine Szene als eine Briefmarke */
@media (max-height: 540px) and (max-width: 1023px) { .art-slot .fx-art { display: none; } }

/* Kompakte Ausschnitte */
.fx-art.is-compact .art-t { font-size: 8px; }
/* Zyklus: die Glasplatten hängen unter dem Balken neben der Kugel statt darüber (spart die halbe Höhe) */
.fx-cycle.is-compact .cy-e { transform: translate(46px, 88px); }
.fx-cycle.is-compact .cy-p { transform: translate(244px, 88px); }
.fx-cycle.is-compact .cy-plate .art-t { font-size: 7.6px; letter-spacing: 0.16em; }
/* Regeneration: ohne Unterzeile */
.fx-night.is-compact .nr-line { display: none; }
/* HUD: Körper-Scan und Ringe verkleinert in der Mitte, die Paneele links und rechts, Messwerte in einer Zeile */
.fx-hud.is-compact .hud-core { transform: translate(113.1px, 6.96px) scale(0.42); }
.fx-hud.is-compact .hud-grid, .fx-hud.is-compact .hud-codes, .fx-hud.is-compact .v-h .art-t { display: none; }
.fx-hud.is-compact .v-h { transform: translate(89px, -28px); }
.fx-hud.is-compact .hud-r { stroke-width: 2; }
.fx-hud.is-compact .hud-r.r2 { stroke-width: 6; }
.fx-hud.is-compact .hud-r.r4 { stroke-width: 3; }
.fx-hud.is-compact .hud-marks path { stroke-width: 1.4; }
.fx-hud.is-compact .hud-dim { display: none; }
@media (max-height: 843px) and (max-width: 1023px) { .fx-hud { opacity: 0.8; } }

/* ---------- Punkt 2: Desktop. Drei Zonen: Frage links · Szene in der Lichtsäule · Antworten rechts ----------
   Die Lichtsäule steht in der Bildmitte; dort steht jetzt das Motiv (Grafik oder Person) frei im Licht, wie die Wortmarke
   auf der Pfadwahl zwischen den beiden Glasflächen. Nichts liegt mehr hinter Karten oder Überschriften. */
@media (min-width: 1024px) {
  .type-list, .type-inputs { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 2vw; grid-template-rows: auto auto; }
  .type-list .q-head, .type-inputs .q-head { grid-column: 1; grid-row: 1; max-width: none; }
  .type-list .note { grid-column: 1; grid-row: 2; margin-top: 22px; }
  .type-list .ask, .type-inputs .ask { font-size: min(3.3vw, 3.4rem, 7.4vh); }
  .type-list .lede, .type-inputs .lede { max-width: 30ch; }
  .type-list .opts, .type-inputs .nums { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .type-list .art-slot, .type-inputs .art-slot { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; margin: 0 -2vw; flex: none; }
  .type-list .art-slot + .opts, .type-inputs .art-slot + .nums { margin-top: 0; }
  /* die Szene bestimmt die Höhe ihres Slots (Seitenverhältnis des viewBox), so sitzt sie mittig auf Höhe der Karten */
  .art-slot .fx-art { position: relative; height: auto; max-height: 62vh; aspect-ratio: 390 / 232; }
  .art-slot .fx-cycle { aspect-ratio: 390 / 172; }
  .art-slot .fx-hud { aspect-ratio: 390 / 216; margin: 0 1.8vw; opacity: 1; }
  .art-slot .fx-alltag { margin: 0 1.4vw; }
  .type-inputs .foot { width: 100%; }
  /* Beweis-Screens: Die Medien-Spalte war ein paar Pixel höher als der freie Platz (72vh). Die Headline-Einpassung hielt
     das für einen Überlauf und verkleinerte die Überschrift achtmal (auf ~50 %) – am Desktop standen deshalb winzige
     Headlines neben großen Medien. Jetzt richten sich die Höhen nach dem tatsächlich freien Platz. */
  .type-proof .phones, .type-stage .pair { height: calc(77vh - 60px); }
  .type-proof .ph.main { height: min(60vh, 100%); }
  .type-transform .carousel, .type-app .appv { height: calc(77vh - 150px); }
}

/* ---------- Punkt 4: Performance ---------- */
/* Szenen-SVG: eigener Layout-/Stil-Kontext, damit die laufenden Animationen nichts außerhalb neu berechnen lassen */
.fx-art, .card-art { contain: layout style; }
/* Eigene Compositor-Ebene für die laufende Szene: ihr Neuzeichnen pro Frame betrifft dann nur die Grafik selbst, nicht
   Überschrift und Karten im selben Bereich. Nur auf dem aktiven Screen bzw. der obersten Karte (Speicher). */
.screen.is-active .fx-art, .screen.is-active .card[data-pos='0'] .card-art { will-change: transform; }
/* CTA-Puls: bisher animierte box-shadow (34 px Weichzeichner, pro Frame neu gerastert, auf jedem Screen mit CTA).
   Jetzt liegt der zweite Schein fertig gerastert auf einer eigenen Ebene (.cta-glow) und nur seine Deckkraft pulsiert –
   das erledigt der Compositor ohne Neuzeichnen. Gleiches Bild, gleicher Takt (3,6 s). */
.cta { animation: none; }
.cta-glow { position: absolute; inset: 0; z-index: -3; border-radius: inherit; pointer-events: none; box-shadow: 0 0 34px -6px var(--glow); opacity: 0; animation: cta-glow 3.6s ease-in-out infinite; will-change: opacity; }
@keyframes cta-glow { 50% { opacity: 0.9; } }
.cta:hover .cta-glow, .cta:focus-visible .cta-glow, .cta:disabled .cta-glow, .cta.is-loading .cta-glow, .cta.is-done .cta-glow, .stage.idle-hint .cta-glow { animation: none; opacity: 0; }
/* Spar-Modus (main.js misst die Bildrate nach dem Start und nach jedem Screen-Wechsel): die teuersten GPU-Effekte aus.
   backdrop-filter über der laufenden WebGL-Bühne muss pro Frame neu weichgezeichnet werden; das Film-Korn mit Blend-Modus
   erzwingt einen zusätzlichen Vollbild-Pass. Die Flächen bekommen dafür einen etwas dichteren Grund, der Look bleibt. */
.stage[data-quality='low'] .cta::after, .stage[data-quality='low'] .half, .stage[data-quality='low'] .block, .stage[data-quality='low'] .anam { -webkit-backdrop-filter: none; backdrop-filter: none; }
.stage[data-quality='low'] .half, .stage[data-quality='low'] .block { background: linear-gradient(180deg, rgba(34, 35, 40, 0.78), rgba(15, 16, 18, 0.84)); }
.stage[data-quality='low'] .fx-grain { mix-blend-mode: normal; opacity: 0.03; }
.stage[data-quality='low'] .vtype { animation: vt-on 1.1s steps(1) 0.35s backwards; }

/* ---------- Punkt 5: Style-Pass ---------- */
/* S00 (mobil): „Weniger Bewegung“ lag auf der Unterzeile „Handy kippen …“. Der Tipp-Block sitzt etwas höher, der Schalter
   eine Zeile tiefer – beide Zeilen stehen frei. */
@media (max-width: 1023px) {
  .type-boot { padding-bottom: calc(var(--safe-b) + max(7.5vh, 66px)); }
}
/* S02 auf niedrigen Bildschirmen: das Gerät berührte das Wort „PARAMETER“. Kleiner, damit es neben „ECHTE“ frei steht. */
@media (max-height: 700px) and (max-width: 1023px) {
  .edge-media { width: 15vw; right: 5vw; top: calc(var(--top) - 4px); }
  .edge-media .ph { height: calc(15vw * 19.5 / 9); }
}
/* Das Gerät behält sein Seitenverhältnis auch, wenn der Inhalt (Beschriftung) breiter wäre – bisher wurde es auf
   niedrigen Bildschirmen breiter als sein Platz und am Rand abgeschnitten. */
@media (max-height: 650px) and (max-width: 1023px) {
  .edge-media { width: 13.5vw; }
  .edge-media .ph { height: calc(13.5vw * 19.5 / 9); }
}
.ph3d-float { min-width: 0; container-type: inline-size; }
/* Sehr kleine Geräte (niedrige Bildschirme): die Platzhalter-Beschriftung passt nicht mehr in den Screen und lief
   abgeschnitten über den Rand. Unter 96 px Gerätebreite bleibt nur die Linien-Skizze (aria-label unverändert). */
@container (max-width: 96px) { .ph-screen .ph-label, .ph-screen .ph-id { display: none; } }

/* Mikro-Interaktionen: ein System für alles Tippbare.
   · Druck: Glasflächen geben sofort nach (0,1 s statt 0,35 s) und die Lichtkante blitzt auf – auf dem Handy ist das die
     einzige Rückmeldung vor dem Übergang.
   · Hover (nur Maus, .stage.fine): Antwortkarten schieben ihr Label ein Stück zum Häkchen, der Ring zündet vor;
     Zahlenfelder bekommen die Lichtkante, ihr Label leuchtet beim Fokus in der Pfadfarbe.
   · Textlinks und Icon-Buttons bekommen einen Druckzustand (vorher keiner). */
button.glass:active { transform: scale(0.975); transition-duration: 0.1s; box-shadow: inset 0 0 0 1px var(--sand), inset 0 0 18px -8px var(--glow), 0 0 22px -10px var(--glow), 0 14px 30px -18px rgba(0, 0, 0, 0.9); }
.opt-t { transition: transform 0.4s var(--ease-out); }
.stage.fine .opt:hover .opt-t { transform: translateX(4px); }
.stage.fine .opt:hover .opt-ck { box-shadow: inset 0 0 0 1px var(--edge-hi), 0 0 10px -4px var(--glow); }
.stage.fine .num:hover { box-shadow: inset 0 0 0 1px var(--edge-hi), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 26px -10px var(--glow), 0 14px 30px -18px rgba(0, 0, 0, 0.9); }
.num-l { transition: color 0.3s; }
.num:focus-within .num-l { color: var(--sand); }
.skip, .skip-lead, .lnk, .back, .boot-social a, .prow { -webkit-tap-highlight-color: transparent; }
.skip:active, .lnk:active, .skip-lead.show:active { opacity: 0.55; }
.back.show:active { opacity: 1; transform: scale(0.88); }
.back { transition: opacity 0.5s, transform 0.2s var(--ease-out); }
/* Zurück-Pfeil: 30 % Deckkraft war auf dunklem Grund kaum zu finden */
.back.show { opacity: 0.45; }
.back.show:hover, .back.show:focus-visible { opacity: 0.85; }
.boot-social a:active { transform: scale(0.92); color: var(--sand); }
.prow:active { background-color: color-mix(in srgb, var(--sand) 13%, transparent); }


/* a109: P03 – die beiden Handys tauschen sich ab (Heute vorne / Training vorne) */
.type-proof .ph.main,
.type-proof .ph.behind {
  transition: transform 0.9s var(--ease-snap, cubic-bezier(0.22, 1, 0.36, 1)), opacity 0.7s, height 0.9s, left 0.9s, margin 0.9s, filter 0.7s, z-index 0s 0.4s;
}
.type-proof .phones.is-swap .ph.main {
  position: absolute;
  z-index: 1;
  height: min(78%, 36vh);
  left: calc(50% + min(96%, 44vh) * 0.12);
  top: 50%;
  margin-left: 0;
  transform: translateY(-50%);
  opacity: 0.62;
  --ry: 20deg;
  --rz: -6deg;
  --rx: 4deg;
  --ex: -1;
  filter: brightness(0.8);
}
.type-proof .phones.is-swap .ph.behind {
  position: relative;
  z-index: 2;
  height: min(96%, 44vh);
  left: auto;
  top: auto;
  margin-left: 12%;
  transform: none;
  opacity: 1;
  --ry: -20deg;
  --rz: 3deg;
  --rx: 0deg;
  --ex: 1;
  filter: none;
  --vt: min(15vh, 30vw);
}
@media (min-width: 1024px) {
  .type-proof .phones.is-swap .ph.main { height: 48vh; left: calc(10vw + 22vh); margin-left: 0; }
  .type-proof .phones.is-swap .ph.behind { height: min(60vh, 100%); margin-left: 10vw; left: auto; --vt: 20vh; }
}

/* a111: S02 mobil ohne Typo „HEUTE“ hinter dem Gerät (Desktop unverändert) */
@media (max-width: 1023px) { .edge-media .vtype { display: none; } }

/* ================= a116 ================= */
/* ---------- 3D-Objekte (a118: P04 Hand, P08 Apfel/Banane/Topf, P09 Bett/Wecker/Insel, P10 Waage/Maßband, immer nur
   eines zugleich): Das Objekt wird in WebGL hinter den Screens gezeichnet.
   Der leere Slot hält ihm den Platz zwischen Frage und Antworten frei (mobil: der Rest der Höhe, wie bei den Szenen-
   Grafiken; Desktop: mittlere Spalte in der Lichtsäule). Nichts liegt über Karten oder Feldern. ---------- */
.obj-slot { min-height: 0; }
@media (min-width: 1024px) {
  .type-list .obj-slot, .type-inputs .obj-slot { height: min(54vh, 34vw); }
}

/* ---------- Übergänge: der ganze Screen ist in Bewegung (main.js, „a116: cinematische Übergänge“) ---------- */
/* Anamorpher Lichtstreif, läuft beim Raumschwenk und bei der Kranfahrt einmal quer durchs Bild */
.fx-streak {
  position: absolute; z-index: 7; left: -12%; right: -12%; height: 2px; margin-top: -1px; pointer-events: none; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--path) 70%, transparent) 22%, var(--path-hi) 40%, #fff 50%, var(--path-hi) 60%, color-mix(in srgb, var(--path) 70%, transparent) 78%, transparent 100%);
  box-shadow: 0 0 14px 2px color-mix(in srgb, var(--path) 75%, transparent), 0 0 54px 10px color-mix(in srgb, var(--path) 32%, transparent);
  opacity: 0; will-change: transform, opacity;
}
/* Der Screen, der geht, ist in Bewegung und blendet aus: kein Weichzeichnen des Hintergrunds mehr hinter seinem Glas.
   Das spart in der Überlappung zweier Screens den teuersten Teil (backdrop-filter pro Frame über der WebGL-Bühne). */
.screen.is-leaving .glass, .screen.is-leaving .cta::after, .screen.is-leaving .half, .screen.is-leaving .block, .screen.is-leaving .anam, .screen.is-leaving .month {
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* a116p (Andi): P03 vertikale Typo kleiner, „Dein Plan“ vorne, beim Tausch „Dein Erfolg“ */
.type-proof .ph .vtype { transition: visibility 0s 0.45s; }
.type-proof .phones:not(.is-swap) .ph.behind .vtype,
.type-proof .phones.is-swap .ph.main .vtype { visibility: hidden; transition: visibility 0s 0s; }
.type-proof .ph.main, .type-proof .phones.is-swap .ph.behind { --vt: min(11vh, 21vw); }
.type-proof .phones.is-swap .ph.behind .vtype { right: 96%; }
@media (min-width: 1024px) { .type-proof .ph.main, .type-proof .phones.is-swap .ph.behind { --vt: 15vh; } }

/* ================= a118 ================= */
/* ---------- P02: Hoppla-Dialog, wenn Abnehmen und Zunehmen zugleich gewählt sind (main.js: askClash) ----------
   Liegt über dem Deck-Screen. Die Karte wippt herein (Web Animations in main.js), die Wippe im Icon schaukelt weiter.
   Reduzierte Bewegung: gleicher Dialog, nichts wackelt (.stage.reduced schaltet Animationen ab). */
.oops {
  position: absolute; inset: 0; z-index: 30; display: grid; place-items: center;
  padding: calc(var(--top) * 0.5) var(--pad) calc(var(--safe-b) + var(--legal-h) + 18px);
  background: radial-gradient(90% 70% at 50% 50%, rgba(10, 10, 11, 0.84), rgba(10, 10, 11, 0.64));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.stage[data-quality='low'] .oops { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 10, 11, 0.86); }
.screen.has-oops > :not(.oops) { pointer-events: none; }
.oops-card {
  width: min(100%, 380px); padding: 22px 18px 18px; border-radius: var(--r-lg); text-align: center; transform-origin: 50% 92%;
  background: linear-gradient(180deg, rgba(38, 39, 44, 0.95), rgba(15, 16, 18, 0.97));
  box-shadow: inset 0 0 0 1px var(--edge-hi), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 46px -12px var(--glow), 0 24px 50px -20px rgba(0, 0, 0, 0.95);
}
.oops-ico { display: inline-grid; place-items: center; color: var(--sand); filter: drop-shadow(0 0 8px var(--glow)); }
.oops-ico .ln-ico { width: 68px; height: 57px; --sw: 1.7; overflow: visible; }
.oops-plank { transform-box: view-box; transform-origin: 24px 22px; animation: oops-rock 1.7s var(--ease-io) infinite alternate; }
@keyframes oops-rock { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
.oops-t { margin: 8px 0 0; font-size: min(2.1rem, 9vw); font-weight: 900; letter-spacing: -0.045em; line-height: 1; text-transform: uppercase; }
.oops-d { margin: 10px auto 0; max-width: 28ch; color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.oops-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.oops-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 8px;
  font: inherit; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1.15; cursor: pointer;
}
.oops-btn .gt-ico { margin: 0; opacity: 1; }
.oops-btn .gt-ico .ln-ico { width: 30px; height: 30px; }
.oops-btn:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
@media (max-height: 600px) {
  .oops-card { padding: 14px 16px 14px; }
  .oops-ico .ln-ico { width: 50px; height: 42px; }
  .oops-t { font-size: 1.6rem; }
  .oops-d { margin-top: 6px; font-size: 0.86rem; }
  .oops-btns { margin-top: 12px; }
  .oops-btn { min-height: 70px; }
}

/* a120 (Andi): P03 Zwischenstand. Handys größer, Tausch ohne Layout-Sprung.
   Ursache: Beim Tausch wurde .ph.main von position:relative auf absolute gestellt (und umgekehrt),
   dazu animierten height, left und margin. Der Flex-Container .phones brach zusammen, Prozent-Höhen
   schrumpften, das Bild wirkte kurz klein und sprang. Die Bühne bleibt jetzt höhenstabil, beide
   Geräte haben dieselbe Layout-Höhe, vorne und hinten unterscheiden sich nur über transform,
   opacity, filter und z-index. Copy und andere Screens bleiben unberührt.
   Spezifität bewusst .phones.is-swap .ph.* damit die älteren a109-Höhen (48vh / 36vh) nicht gewinnen. */
.type-proof .phones {
  position: relative;
  flex: 1 1 auto;
  min-height: 12rem;
  width: 100%;
  margin-top: 10px;
  overflow: visible;
}
.type-proof .ph.main,
.type-proof .ph.behind,
.type-proof .phones.is-swap .ph.main,
.type-proof .phones.is-swap .ph.behind {
  position: absolute;
  top: 50%;
  height: 94%;
  margin: 0;
  left: auto;
  right: auto;
  transition:
    transform 0.9s var(--ease-snap, cubic-bezier(0.22, 1, 0.36, 1)),
    opacity 0.7s ease,
    filter 0.7s ease,
    z-index 0s 0.4s;
}
.type-proof .ph.main .ph-phone,
.type-proof .ph.behind .ph-phone,
.type-proof .phones.is-swap .ph.main .ph-phone,
.type-proof .phones.is-swap .ph.behind .ph-phone { height: 100%; }

/* Jedes Gerät behält seinen 3D-Kipp. Der Tausch ändert die Kippung nicht (sonst ein Sprung, weil --ry nicht interpoliert). */
.type-proof .ph.main,
.type-proof .phones.is-swap .ph.main { --ry: -20deg; --rz: 3deg; --rx: 0deg; --ex: 1; }
.type-proof .ph.behind,
.type-proof .phones.is-swap .ph.behind { --ry: 20deg; --rz: -6deg; --rx: 4deg; --ex: -1; }

/* Vorne */
.type-proof .ph.main,
.type-proof .phones.is-swap .ph.behind {
  z-index: 2;
  left: 26%;
  transform: translateY(-50%) scale(1);
  opacity: 1;
  filter: none;
}
/* Hinten */
.type-proof .ph.behind,
.type-proof .phones.is-swap .ph.main {
  z-index: 1;
  left: 36%;
  transform: translateY(-50%) translateX(14%) scale(0.82);
  opacity: 0.62;
  filter: brightness(0.8);
}

/* Wortmarke nur am sichtbaren Vordergerät. Ausblenden erst nach dem Tausch, damit in der Mitte kein Loch entsteht. */
.type-proof .ph .vtype { transition: visibility 0s 0.45s, opacity 0.45s; }
.type-proof .phones:not(.is-swap) .ph.behind .vtype,
.type-proof .phones.is-swap .ph.main .vtype {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.45s, opacity 0.45s;
}
.type-proof .ph.main .vtype,
.type-proof .phones.is-swap .ph.behind .vtype { right: 96%; visibility: visible; opacity: 0.92; }

@media (min-width: 1024px) {
  .type-proof .phones {
    height: 100%;
    margin-top: 0;
    align-self: stretch;
    min-height: 0;
  }
  .type-proof .ph.main,
  .type-proof .ph.behind,
  .type-proof .phones.is-swap .ph.main,
  .type-proof .phones.is-swap .ph.behind { height: 96%; }
  .type-proof .ph.main,
  .type-proof .phones.is-swap .ph.behind { left: 10%; }
  .type-proof .ph.behind,
  .type-proof .phones.is-swap .ph.main { left: 24%; }
}

@media (max-width: 1023px) and (max-height: 740px) {
  .type-proof .ph.main,
  .type-proof .ph.behind,
  .type-proof .phones.is-swap .ph.main,
  .type-proof .phones.is-swap .ph.behind { height: 92%; }
}

.stage.reduced .type-proof .ph.main,
.stage.reduced .type-proof .ph.behind,
.stage.reduced .type-proof .phones.is-swap .ph.main,
.stage.reduced .type-proof .phones.is-swap .ph.behind { transition-duration: 0.01ms !important; }

/* a122 (Andi): P13 Phone-Vorschau füllt die Bühne, Layout-Höhe bleibt beim Blättern konstant. */
@media (max-width: 1023px) {
  .type-app .appv-phone,
  .type-app .appv-phone.ph3d {
    height: 100%;
    width: auto;
    max-width: none;
    max-height: 100%;
    flex: none;
    aspect-ratio: 9 / 19.5;
  }
  .type-app .appv-phone .ph-phone,
  .type-app .appv-phone .ph3d-float,
  .type-app .appv-phone .ph-screen { height: 100%; }
  .type-app .appv-phone .vtype { right: 102%; --vt: min(8.5vh, 17vw); }
}
@media (max-width: 1023px) and (max-height: 700px) {
  .type-app .appv-phone .vtype { --vt: min(7vh, 14vw); }
}

/* a116bk (Andi): P03 Desktop, Wortmarke nicht unter dem gekippten Vordergerät */
@media (min-width: 1024px) {
  .type-proof .ph.main .vtype,
  .type-proof .phones.is-swap .ph.behind .vtype { right: 112%; }
}

/* a136c (Andi): P03 mobil, „Dein Plan“ / „Dein Erfolg“ stehen im linken Freiraum neben dem Vordergerät,
   vollständig lesbar, nicht mehr halb vom gekippten Handy verdeckt. Frauen und Männer gleich. Desktop unverändert. */
@media (max-width: 1023px) {
  .type-proof .ph.main,
  .type-proof .phones.is-swap .ph.behind { left: 34%; }
  .type-proof .ph.behind,
  .type-proof .phones.is-swap .ph.main { left: 44%; }
  .type-proof .ph.main .vtype,
  .type-proof .phones.is-swap .ph.behind .vtype { right: 132%; }
}

/* a123: P02 Hoppla (aus a119 portiert). Solange der Dialog offen ist, gibt es kein „Weiter mit 2 Zielen“
   (main.js blendet den Knopf zusätzlich per hidden und disabled aus). */
.screen.has-oops .deck-next { visibility: hidden; }

/* ---------- Job E: Sprachschalter „DE · EN“ oben rechts neben ATHLETEN LOGIN (nur Start-Screen) ----------
   Schalter und Login sitzen gemeinsam in .boot-top an der bisherigen Stelle des Logins, gleiche Höhe, gleiche Farbe.
   Die aktive Sprache ist heller (aria-pressed), die andere gedimmt. Kein Grün, kein Pfadton. */
.boot-top {
  position: absolute; z-index: 12;
  top: calc(var(--safe-t) + var(--banner) + 2px);
  right: calc(var(--pad) - 8px + env(safe-area-inset-right, 0px));
  display: flex; align-items: center;
}
.boot-top .boot-login { position: static; }
.lang-sw { display: inline-flex; align-items: center; height: 56px; margin-right: 2px; }
.lang-b {
  appearance: none; -webkit-appearance: none; background: none; border: 0; margin: 0;
  height: 44px; min-width: 30px; padding: 0 4px;
  color: rgba(243, 242, 240, 0.5);
  font: inherit; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-indent: 0.16em; line-height: 1;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.lang-b[aria-pressed='true'] { color: rgba(243, 242, 240, 0.95); cursor: default; }
.lang-b:hover, .lang-b:focus-visible { color: var(--sand); }
.lang-b:active { transform: scale(0.94); }
.lang-dot { color: rgba(243, 242, 240, 0.4); font-size: 0.62rem; font-weight: 700; }
@media (min-width: 1024px) {
  .boot-top { top: calc(var(--safe-t) + var(--banner) + 14px); right: calc(4vw - 10px); }
  .lang-sw { height: 72px; margin-right: 4px; }
  .lang-b, .lang-dot { font-size: 0.72rem; }
  .lang-b { min-width: 36px; padding: 0 6px; }
}
