/* =========================================================
   NYNEX · SPEEDTEST – drei Ansichten (data-mode auf <html>, gesetzt von boot.js, umschaltbar im Header)
   nynex    – Orbit-Design von nynex.de (style.css + speedtest.css, hier nichts zu tun)
   fiberone – Design und Layout von fiberone.de: Navy, Cyan, Dosis/Instrument Sans/IBM Plex Mono,
              Hero links mit Text, Tacho rechts, flache Panels mit feinem Rand, Pillen-Buttons
   stealth  – maximal reduziert, sehr dunkel, Phosphor-Grün auf Schwarz, Monospace, ohne Animation:
              nur Tacho, Bandbreite und wenige Messwerte
   ========================================================= */

/* ---------- Schriften fiberONE (SIL OFL, lokal) ---------- */
@font-face { font-family: "Dosis"; font-weight: 500; font-display: swap; src: url("../fonts/dosis-500.woff2") format("woff2"); }
@font-face { font-family: "Dosis"; font-weight: 600; font-display: swap; src: url("../fonts/dosis-600.woff2") format("woff2"); }
@font-face { font-family: "Dosis"; font-weight: 700; font-display: swap; src: url("../fonts/dosis-700.woff2") format("woff2"); }
@font-face { font-family: "Dosis"; font-weight: 800; font-display: swap; src: url("../fonts/dosis-800.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); }

/* ---------- Sichtbarkeit je Ansicht ---------- */
.brand--fo, .brand--st, .nav--fo, .fohero, .stline, .fofoot, .stfoot, .lbl-st { display: none; }
[data-mode="fiberone"] .brand--nynex, [data-mode="fiberone"] .nav--nynex, [data-mode="fiberone"] .top__tel--nynex,
[data-mode="fiberone"] .nyfoot, [data-mode="fiberone"] .stage__kick { display: none; }
[data-mode="fiberone"] .brand--fo { display: inline-flex; }
[data-mode="fiberone"] .nav--fo { display: flex; }
[data-mode="fiberone"] .fohero, [data-mode="fiberone"] .fofoot { display: block; }
[data-mode="stealth"] .brand--nynex, [data-mode="stealth"] .brand--fo, [data-mode="stealth"] .nav,
[data-mode="stealth"] .top__tel, [data-mode="stealth"] .nyfoot, [data-mode="stealth"] .fofoot,
[data-mode="stealth"] .stage__kick, [data-mode="stealth"] .stage__warp, [data-mode="stealth"] .stage__horizon,
[data-mode="stealth"] .chart, [data-mode="stealth"] .plan, [data-mode="stealth"] .pcol, [data-mode="stealth"] .lbl,
[data-mode="stealth"] .meter__l .arr, [data-mode="stealth"] .skip { display: none; }
[data-mode="stealth"] .brand--st { display: inline-flex; }
[data-mode="stealth"] .stline, [data-mode="stealth"] .stfoot { display: flex; }
[data-mode="stealth"] .lbl-st { display: inline; }
[data-mode="stealth"] .beast { display: none; }
.stage__sonar { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: none; pointer-events: none; }
[data-mode="stealth"] .stage__sonar { display: block; }
[data-mode="stealth"] .snd { border-radius: 0; font-family: var(--f-house); font-weight: 500; }
[data-mode="stealth"] .snd[aria-pressed="true"] { color: #020302; background: var(--orange); box-shadow: none; }

/* ---------- AR-Hinweis und Design-Menü (Taste M), Ton-Knopf ---------- */
.arhint {
  position: fixed; left: var(--pad); top: calc(var(--top-h) + 10px); z-index: 25;
  display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 0 12px 0 6px;
  border: 1px solid var(--line-hot); border-radius: 6px; background: rgba(0, 0, 0, 0.35);
  color: var(--ink-3); font: 400 0.62rem/1 var(--f-display); letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; opacity: 0.7; transition: opacity 0.3s, color 0.3s, border-color 0.3s;
}
.arhint:hover, .arhint:focus-visible { opacity: 1; color: var(--ink); border-color: var(--amber); }
/* Handy: Hinweis scrollt mit und bekommt eigenen Platz über dem Inhalt (lag sonst über Überschrift/Eyebrow) */
@media (max-width: 760px) {
  .arhint { position: absolute; top: calc(var(--top-h) + 4px); min-height: 26px; letter-spacing: 0.12em; }
  .stage { padding-top: calc(var(--top-h) + 46px) !important; }
}
.arhint__k { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 4px; border: 1px solid currentColor; font-weight: 700; letter-spacing: 0; color: var(--amber); }
.arhint::after { content: ""; width: 6px; height: 11px; background: var(--amber); opacity: 0.8; animation: arBlink 1.1s steps(1) infinite; }
.rm .arhint::after { animation: none; }
@keyframes arBlink { 50% { opacity: 0; } }
.armenu { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.armenu[hidden] { display: none !important; }
.armenu__panel {
  position: relative; width: min(420px, 100%); padding: 22px 22px 16px; border-radius: 12px;
  border: 1px solid var(--line-hot); background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    rgba(6, 8, 12, 0.88);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.6), 0 0 24px var(--line-hot);
  animation: arIn 0.28s var(--ease) both;
}
.rm .armenu__panel { animation: none; }
@keyframes arIn { from { opacity: 0; transform: scale(0.96) translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.armenu__t { margin: 0 0 14px; font: 700 0.7rem/1 var(--f-display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber); }
.armenu__t::before { content: "▸ "; }
.modes { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.armenu__help { margin: 14px 0 0; font: 400 0.64rem/1.5 var(--f-display); letter-spacing: 0.06em; color: var(--ink-3); }
.armenu__n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 12px; border-radius: 4px; border: 1px solid currentColor; font: 700 0.7rem/1 var(--f-display); letter-spacing: 0; opacity: 0.7; }
.modes__btn { display: flex; align-items: center; min-height: 44px; padding: 0 14px; text-align: left; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 700 0.78rem/1 var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: color 0.25s, background-color 0.25s; }
.modes__btn--fo { text-transform: none; letter-spacing: 0; font-family: "Dosis", var(--f-display); font-size: 0.8rem; }
.modes__btn--fo b { color: #39c2ff; }
.modes__btn:hover, .modes__btn:focus-visible { color: var(--ink); background: rgba(255, 255, 255, 0.06); outline: none; box-shadow: inset 0 0 0 1px var(--line-hot); }
.modes__btn[aria-pressed="true"] { color: #000; background: var(--orange); }
.modes__btn--fo[aria-pressed="true"] b { color: #04212f; }
.snd { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 10px; border: 1px solid var(--line-hot); border-radius: 999px; background: transparent; color: var(--ink-2); font: 700 0.6rem/1 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.snd:hover { color: #fff; border-color: var(--amber); }
.snd__ico { position: relative; width: 14px; height: 12px; }
.snd__ico::before { content: ""; position: absolute; left: 0; top: 3px; width: 5px; height: 6px; background: currentColor; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); box-shadow: 3px 0 0 0 currentColor; }
.snd__ico::after { content: ""; position: absolute; right: 0; top: 0; width: 5px; height: 12px; border: 2px solid currentColor; border-left: 0; border-radius: 0 8px 8px 0; opacity: 0.35; }
.snd[aria-pressed="true"] { color: #000; background: var(--orange); border-color: var(--orange); box-shadow: 0 0 16px rgba(255, 91, 0, 0.6); }
.snd[aria-pressed="true"] .snd__ico::after { opacity: 1; }

/* Szene Besenritt (Ansicht broom) */
.scene-broom .stage__horizon { display: none; }   /* keine Planetenkante beim Besenritt */
/* Besenritt: beide Marken dezent und einfarbig in den unteren Ecken */
.broomlogos { display: none; position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(16px, 3vh, 28px); z-index: 0; justify-content: space-between; align-items: flex-end; pointer-events: none; opacity: 0.55; }
.scene-broom .broomlogos { display: flex; }
[data-mode="stealth"] .broomlogos { display: none; }
.broomlogos__ny { width: auto; height: 26px; }
.broomlogos__fo { font: 700 25px/1 "Dosis", system-ui, sans-serif; letter-spacing: 0; color: #fff; }
.scene-broom::after { height: 18%; }

/* Beast-Schalter */
.beast { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px 0 10px; border: 1px solid var(--line-hot); border-radius: 999px; background: transparent; color: var(--ink-2); font: 700 0.6rem/1 var(--f-display); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.beast:hover { color: #fff; border-color: var(--amber); }
.beast__ico { width: 9px; height: 13px; background: currentColor; clip-path: polygon(60% 0, 0 58%, 42% 58%, 30% 100%, 100% 38%, 56% 38%); }
.beast[aria-pressed="true"] { color: #000; background: var(--orange); border-color: var(--orange); box-shadow: 0 0 18px var(--orange); }
.is-beast.js:not(.rm) .beast[aria-pressed="true"] .beast__ico { animation: beastZap 1.6s steps(1) infinite; }
@keyframes beastZap { 0%, 100% { opacity: 1; } 8% { opacity: 0.2; } 12% { opacity: 1; } 16% { opacity: 0.3; } }
[data-mode="fiberone"] .snd, [data-mode="fiberone"] .beast { font-family: "IBM Plex Mono", monospace; font-weight: 500; }
[data-mode="fiberone"] .snd[aria-pressed="true"] { color: #04212f; box-shadow: 0 0 16px rgba(57, 194, 255, 0.6); }
[data-mode="fiberone"] .beast[aria-pressed="true"] { color: #fff; background: #8b7cff; border-color: #8b7cff; box-shadow: 0 0 18px rgba(139, 124, 255, 0.8); }

/* =========================================================
   fiberONE
   ========================================================= */
:root[data-mode="fiberone"] {
  --void: #04070f;
  --ink: #f2f7fc;
  --ink-2: rgba(226, 240, 252, 0.78);
  --ink-3: rgba(226, 240, 252, 0.5);
  --orange: #39c2ff;
  --orange-2: #6fd3ff;
  --amber: #aee4ff;
  --hot: #d6f1ff;
  --f-house: "Instrument Sans", system-ui, sans-serif;
  --f-display: "Dosis", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --line: rgba(142, 205, 255, 0.13);
  --line-hot: rgba(142, 205, 255, 0.28);
  --field-line: rgba(142, 205, 255, 0.28);
  --track-tight: -0.01em;
}
[data-mode="fiberone"] body, [data-mode="fiberone"] .stage__warp { background: #04070f; }
[data-mode="fiberone"] ::selection { background: #39c2ff; color: #04212f; }

/* Logo wie fiberone.de: Dosis 700, ONE in Cyan, ohne Laufweite (fi-Ligatur) */
.fo-logo { font: 700 23px/1 "Dosis", system-ui, sans-serif; letter-spacing: 0; color: #f2f7fc; text-decoration: none; }
.fo-logo b { color: #39c2ff; font-weight: 700; }
.brand--fo { align-items: baseline; gap: 12px; text-decoration: none; }
.fo-tool { font: 500 0.7rem/1 "IBM Plex Mono", monospace; letter-spacing: 0.18em; text-transform: uppercase; color: #39c2ff; }

/* Header */
[data-mode="fiberone"] .top::before { background: linear-gradient(180deg, rgba(4, 7, 15, 0.96), rgba(4, 7, 15, 0.85) 60%, rgba(4, 7, 15, 0)); }
[data-mode="fiberone"] .nav a { font: 500 0.9rem/1 var(--f-house); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
[data-mode="fiberone"] .nav a::after { background: #39c2ff; }
[data-mode="fiberone"] .lang { font-family: var(--f-mono); }
[data-mode="fiberone"] .lang__btn[aria-pressed="true"] { color: #aee4ff; }
[data-mode="fiberone"] .menubtn { border-radius: 10px; }

/* Bühne: Text links, Tacho rechts */
[data-mode="fiberone"] .stage { text-align: left; padding-bottom: clamp(60px, 10vh, 120px); }
[data-mode="fiberone"] .stage__horizon { background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(57, 194, 255, 0.22), rgba(139, 124, 255, 0.08) 45%, transparent 70%); filter: none; -webkit-mask-image: none; mask-image: none; aspect-ratio: auto; height: 46%; }
[data-mode="fiberone"] .stage::after { background: linear-gradient(180deg, rgba(4, 7, 15, 0), rgba(4, 7, 15, 0.7)); }
@media (min-width: 900px) {
  [data-mode="fiberone"] .stage__in {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(28px, 5vw, 80px);
    align-items: center; justify-items: center; max-width: 1180px;
  }
  [data-mode="fiberone"] .stage__in > * { grid-column: 2; }
  [data-mode="fiberone"] .stage__in > .fohero { grid-column: 1; grid-row: 1 / span 8; justify-self: start; align-self: center; }
}
.fohero { max-width: 34rem; margin-bottom: 28px; }
.fohero__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 500 0.75rem/1 "IBM Plex Mono", monospace; letter-spacing: 0.22em; text-transform: uppercase; color: #39c2ff; }
.fohero__eyebrow::before { content: ""; width: 34px; height: 1px; background: #39c2ff; }
.fohero__h { margin: 0; font: 700 clamp(2.4rem, 5.2vw, 4.4rem)/1.02 "Dosis", system-ui, sans-serif; letter-spacing: 0; color: #f2f7fc; }
.fohero__lit { color: #aee4ff; text-shadow: 0 0 28px rgba(57, 194, 255, 0.55); }
.fohero__sub { margin: 22px 0 0; font: 400 1.05rem/1.6 "Instrument Sans", system-ui, sans-serif; color: rgba(226, 240, 252, 0.78); }

/* Tacho */
[data-mode="fiberone"] .gauge__val { stroke: url(#g-arc-fo); }
[data-mode="fiberone"] .gauge[data-phase="up"] .gauge__val { stroke: #8b7cff; }
[data-mode="fiberone"] .gauge__inner { fill: rgba(4, 7, 15, 0.75); stroke: rgba(142, 205, 255, 0.18); }
[data-mode="fiberone"] .gauge__num { font-family: "Dosis", system-ui, sans-serif; font-weight: 700; letter-spacing: 0; }
[data-mode="fiberone"] .gauge__phase, [data-mode="fiberone"] .meter__l, [data-mode="fiberone"] .plan__l { font-family: "IBM Plex Mono", monospace; letter-spacing: 0.16em; }
[data-mode="fiberone"] .gauge__plan { stroke: rgba(139, 124, 255, 0.4); }
[data-mode="fiberone"] .go {
  border: 0; color: #04212f; background: radial-gradient(circle at 50% 35%, #8fdcff, #39c2ff 60%, #1aa3e6);
  font: 700 1.3rem/1 "Dosis", system-ui, sans-serif; letter-spacing: 0.08em;
  box-shadow: 0 0 46px rgba(57, 194, 255, 0.55), inset 0 0 22px rgba(255, 255, 255, 0.35);
}
[data-mode="fiberone"] .go:hover { box-shadow: 0 0 70px rgba(57, 194, 255, 0.8), inset 0 0 26px rgba(255, 255, 255, 0.45); }
[data-mode="fiberone"] .go__ring, [data-mode="fiberone"] .go__ring::after { border-color: rgba(57, 194, 255, 0.7); }
[data-mode="fiberone"] .meter__n b { font-family: "Dosis", system-ui, sans-serif; letter-spacing: 0; }
[data-mode="fiberone"] .meter.is-active .meter__l { text-shadow: 0 0 12px rgba(57, 194, 255, 0.9); }
[data-mode="fiberone"] .meters, [data-mode="fiberone"] .plan, [data-mode="fiberone"] .whoami { justify-content: center; }
[data-mode="fiberone"] .seg { box-shadow: inset 0 0 0 1px rgba(142, 205, 255, 0.28); }
[data-mode="fiberone"] .seg--plan button { font-family: "IBM Plex Mono", monospace; font-weight: 500; letter-spacing: 0; }
[data-mode="fiberone"] .seg--plan button[aria-pressed="true"] { color: #04212f; box-shadow: 0 0 14px rgba(57, 194, 255, 0.6); }
[data-mode="fiberone"] .chip { font-family: "IBM Plex Mono", monospace; font-size: 0.74rem; box-shadow: inset 0 0 0 1px rgba(142, 205, 255, 0.2); background: rgba(10, 17, 32, 0.8); }
[data-mode="fiberone"] .chip--hot { box-shadow: inset 0 0 0 1px rgba(57, 194, 255, 0.7), 0 0 16px rgba(57, 194, 255, 0.3); color: #aee4ff; }
[data-mode="fiberone"] .gauge.is-over .gauge__num { text-shadow: calc(var(--over) * -3px) 0 rgba(57, 194, 255, 0.85), calc(var(--over) * 3px) 0 rgba(139, 124, 255, 0.7); }
[data-mode="fiberone"] .gauge.is-glitch .gauge__num::after { color: #8b7cff; }

/* Abschnitte und Panels wie fiberone.de: flache Karten, feiner Rand, runde Ecken */
[data-mode="fiberone"] .sx { border-top-color: rgba(142, 205, 255, 0.1); }
[data-mode="fiberone"] .sx__rail { font-family: "IBM Plex Mono", monospace; }
[data-mode="fiberone"] .sx__line { background: linear-gradient(90deg, rgba(57, 194, 255, 0.7), rgba(57, 194, 255, 0)); }
[data-mode="fiberone"] .sx__t { font: 700 clamp(1.9rem, 3.6vw, 3rem)/1.05 "Dosis", system-ui, sans-serif; letter-spacing: 0; }
[data-mode="fiberone"] .hud {
  border-radius: 16px; background: linear-gradient(180deg, rgba(13, 21, 38, 0.92), rgba(10, 17, 32, 0.92));
  box-shadow: inset 0 0 0 1px rgba(142, 205, 255, 0.13), 0 18px 40px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
[data-mode="fiberone"] .hud--hot { box-shadow: inset 0 0 0 1px rgba(57, 194, 255, 0.45), 0 0 30px rgba(57, 194, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.45); }
[data-mode="fiberone"] .hud::before, [data-mode="fiberone"] .hud::after { display: none; }
[data-mode="fiberone"] .hud__label { font: 500 0.66rem/1.4 "IBM Plex Mono", monospace; letter-spacing: 0.18em; color: #39c2ff; text-shadow: none; border-bottom-color: rgba(142, 205, 255, 0.13); box-shadow: none; }
[data-mode="fiberone"] .hud__label::before { background: #39c2ff; box-shadow: 0 0 8px rgba(57, 194, 255, 0.9); }
[data-mode="fiberone"] .rcard__n { font-family: "Dosis", system-ui, sans-serif; letter-spacing: 0; }
[data-mode="fiberone"] .cta { background: #39c2ff; border-color: #39c2ff; color: #04212f; border-radius: 999px; font: 600 0.95rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: 0; text-transform: none; box-shadow: 0 0 26px rgba(57, 194, 255, 0.35); }
[data-mode="fiberone"] .cta:hover { background: #6fd3ff; box-shadow: 0 0 36px rgba(57, 194, 255, 0.6); }
[data-mode="fiberone"] .cta__dot { display: none; }
[data-mode="fiberone"] .btn { border-color: rgba(142, 205, 255, 0.4); color: #aee4ff; border-radius: 999px; }
[data-mode="fiberone"] .badge { box-shadow: inset 0 0 0 1px rgba(57, 194, 255, 0.7), 0 0 24px rgba(57, 194, 255, 0.3); color: #aee4ff; font-family: "IBM Plex Mono", monospace; }
[data-mode="fiberone"] .badge__dot, [data-mode="fiberone"] .shared__dot { background: #39c2ff; box-shadow: 0 0 10px #39c2ff; }
[data-mode="fiberone"] .code { background: rgba(4, 7, 15, 0.8); box-shadow: inset 0 0 0 1px rgba(142, 205, 255, 0.16); border-radius: 10px; }
[data-mode="fiberone"] .code code { color: #aee4ff; }
[data-mode="fiberone"] .code code::before { color: #39c2ff; }
[data-mode="fiberone"] .files a { background: rgba(57, 194, 255, 0.14); color: #aee4ff; }
[data-mode="fiberone"] .files a:hover { background: #39c2ff; color: #04212f; }

/* Footer fiberONE */
.fofoot { margin-top: 40px; border-top: 1px solid rgba(142, 205, 255, 0.13); background: #04070f; color: rgba(226, 240, 252, 0.64); font: 400 0.92rem/1.6 "Instrument Sans", system-ui, sans-serif; }
.fofoot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; max-width: 1180px; margin: 0 auto; padding: 64px clamp(20px, 5vw, 48px) 30px; }
.fofoot__grid p { margin: 14px 0 0; max-width: 28rem; }
.fofoot h2 { margin: 0 0 12px; font: 600 0.95rem/1.2 "Dosis", system-ui, sans-serif; color: #f2f7fc; letter-spacing: 0.04em; }
.fofoot ul { display: grid; gap: 6px; }
.fofoot a { color: rgba(226, 240, 252, 0.72); text-decoration: none; }
.fofoot a:hover { color: #39c2ff; }
.fofoot .fo-logo { color: #f2f7fc; }
.fofoot__base { max-width: 1180px; margin: 0 auto; padding: 18px clamp(20px, 5vw, 48px) 30px; border-top: 1px solid rgba(142, 205, 255, 0.1); font-size: 0.8rem; color: rgba(226, 240, 252, 0.42); }
@media (max-width: 760px) { .fofoot__grid { grid-template-columns: 1fr 1fr; } .fofoot__grid > :first-child { grid-column: 1 / -1; } }

/* =========================================================
   STEALTH – Kalter Krieg: Phosphor auf Schwarz, Monospace, eckig, still
   ========================================================= */
:root[data-mode="stealth"] {
  --void: #020302;
  --ink: #a8e6b2;
  --ink-2: #79b386;
  --ink-3: #46775a;
  --orange: #7dff9b;
  --orange-2: #a5ffbb;
  --amber: #5fc47a;
  --hot: #c6ffd2;
  --f-house: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --f-display: var(--f-house);
  --line: rgba(125, 255, 155, 0.14);
  --line-hot: rgba(125, 255, 155, 0.3);
  --top-h: 52px;
}
[data-mode="stealth"] body { background: #020302; }
[data-mode="stealth"] body::after {   /* Röhrenmonitor: feine Zeilen + Vignette */
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 2px, rgba(0, 0, 0, 0.22) 3px),
              radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.65) 100%);
}
[data-mode="stealth"] ::selection { background: #7dff9b; color: #020302; }
[data-mode="stealth"] .top::before { background: #020302; border-bottom: 1px solid rgba(125, 255, 155, 0.18); opacity: 1; inset: 0; }
.brand--st { align-self: center; align-items: center; min-height: 44px; gap: 12px; margin-right: auto; font: 400 0.72rem/1 var(--f-house); letter-spacing: 0.2em; color: var(--ink-2); }
.brand--st b { font-weight: 500; color: var(--hot); letter-spacing: 0.3em; }
.brand--st i { font-style: normal; color: var(--ink-3); }
[data-mode="stealth"] .modes, [data-mode="stealth"] .menubtn { border-radius: 0; background: transparent; }
[data-mode="stealth"] .modes__btn { border-radius: 0; font-family: var(--f-house); font-weight: 500; }
[data-mode="stealth"] .modes__btn--fo, [data-mode="stealth"] .modes__btn--fo b { font-family: var(--f-house); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: inherit; }
[data-mode="stealth"] .modes__btn[aria-pressed="true"] { color: #020302; background: var(--orange); }
[data-mode="stealth"] .lang { font-family: var(--f-house); }

[data-mode="stealth"] .stage { padding-bottom: 60px; }
[data-mode="stealth"] .stage::after { display: none; }
[data-mode="stealth"] .stage__in > * { animation: none !important; }
.stline { flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 6px 0 22px; font: 400 0.66rem/1 var(--f-house); letter-spacing: 0.22em; color: var(--ink-3); }
.stline #st-state { color: var(--hot); }
.stline #st-state.is-live { animation: stBlink 1s steps(1) infinite; }
@keyframes stBlink { 50% { opacity: 0.2; } }

[data-mode="stealth"] .gauge { width: min(380px, 80vw); }
[data-mode="stealth"] .gauge__track { stroke: rgba(125, 255, 155, 0.16); stroke-width: 2; stroke-linecap: butt; }
[data-mode="stealth"] .gauge__val { stroke: #7dff9b; stroke-width: 4; stroke-linecap: butt; filter: none; }
[data-mode="stealth"] .gauge[data-phase="up"] .gauge__val { stroke: #c6ffd2; }
[data-mode="stealth"] .gauge__tip { display: none; }
[data-mode="stealth"] .gauge__inner { fill: none; stroke: rgba(125, 255, 155, 0.12); stroke-dasharray: 2 6; }
[data-mode="stealth"] .gauge__ticks line { stroke: rgba(125, 255, 155, 0.45); stroke-linecap: butt; }
[data-mode="stealth"] .gauge__ticks line.minor { stroke: rgba(125, 255, 155, 0.18); }
[data-mode="stealth"] .gauge__ticks text { fill: var(--ink-3); font-family: var(--f-house); }
[data-mode="stealth"] .gauge__plan, [data-mode="stealth"] .gauge__plantick { display: none; }
[data-mode="stealth"] .gauge__num { font: 500 clamp(2.8rem, 9vw, 4.4rem)/1 var(--f-house); letter-spacing: -0.02em; color: var(--hot); text-shadow: 0 0 10px rgba(125, 255, 155, 0.35); }
[data-mode="stealth"] .gauge__phase { letter-spacing: 0.3em; color: var(--ink-2); }
[data-mode="stealth"] .gauge__unit { color: var(--ink-3); }
[data-mode="stealth"] .go { width: 150px; height: 56px; border-radius: 0; border: 1px solid #7dff9b; background: transparent; color: #7dff9b; box-shadow: none; font: 500 0.85rem/1 var(--f-house); letter-spacing: 0.4em; }
[data-mode="stealth"] .go:hover { transform: none; background: rgba(125, 255, 155, 0.1); box-shadow: none; }
[data-mode="stealth"] .go::before { content: "[ "; }
[data-mode="stealth"] .go::after { content: " ]"; }
[data-mode="stealth"] .go__ring { display: none; }
[data-mode="stealth"] .gauge[data-phase="done"] .go { width: 150px; height: 46px; font-size: 0.72rem; }
[data-mode="stealth"] .gauge.is-over .gauge__num { text-shadow: 0 0 10px rgba(125, 255, 155, 0.35); }
[data-mode="stealth"] .gauge__num::before, [data-mode="stealth"] .gauge__num::after { display: none; }

[data-mode="stealth"] .meters { gap: 0; margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-shadow: none; }
[data-mode="stealth"] .meter { min-width: 104px; padding: 12px 16px; border-right: 1px solid var(--line); }
[data-mode="stealth"] .meter:last-child { border-right: 0; }
[data-mode="stealth"] .meter__l { letter-spacing: 0.3em; color: var(--ink-3); }
[data-mode="stealth"] .meter__n b { font: 500 1.35rem/1 var(--f-house); color: var(--hot); letter-spacing: 0; }
[data-mode="stealth"] .meter--big .meter__n b { font-size: 1.6rem; }
[data-mode="stealth"] .meter.is-active .meter__l { color: var(--hot); text-shadow: none; }
[data-mode="stealth"] .meter.is-active .meter__l::before { border-radius: 0; background: var(--hot); box-shadow: none; animation: stBlink 1s steps(1) infinite; }
[data-mode="stealth"] .meter.is-wait { opacity: 0.35; }
[data-mode="stealth"] .meter--big { order: 0; }
[data-mode="stealth"] .whoami { gap: 4px 18px; text-shadow: none; }
[data-mode="stealth"] .chip { min-height: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; color: var(--ink-3); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
[data-mode="stealth"] .chip b { color: var(--ink-2); font-weight: 500; }
[data-mode="stealth"] .chip--hot::before { border-radius: 0; background: var(--hot); box-shadow: none; }
[data-mode="stealth"] .shared { border-radius: 0; background: none; box-shadow: inset 0 0 0 1px var(--line-hot); font-family: var(--f-house); }
[data-mode="stealth"] .btn { border-radius: 0; }

.stfoot { justify-content: center; flex-wrap: wrap; gap: 6px 22px; padding: 18px var(--pad) 26px; border-top: 1px solid rgba(125, 255, 155, 0.12); font: 400 0.62rem/1.4 var(--f-house); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.stfoot a { color: var(--ink-2); text-decoration: none; }
.stfoot a:hover { color: var(--hot); }
/* Rotlicht während der Messung (U-Boot-Gefechtsbeleuchtung) */
:root[data-mode="stealth"].st-red {
  --ink: #ff9a8c; --ink-2: #d45a4c; --ink-3: #8c3227;
  --orange: #ff4a36; --orange-2: #ff7a6a; --amber: #e0503f; --hot: #ffc4ba;
  --line: rgba(255, 74, 54, 0.16); --line-hot: rgba(255, 74, 54, 0.34);
}
[data-mode="stealth"] body, [data-mode="stealth"] .meter__l, [data-mode="stealth"] .meter__n b, [data-mode="stealth"] .gauge__num,
[data-mode="stealth"] .stline, [data-mode="stealth"] .brand--st, [data-mode="stealth"] .chip { transition: color 0.6s, border-color 0.6s; }
[data-mode="stealth"].st-red body { background: #070101; }
[data-mode="stealth"].st-red .top::before { border-bottom-color: rgba(255, 74, 54, 0.22); }
[data-mode="stealth"].st-red .gauge__track { stroke: rgba(255, 74, 54, 0.18); }
[data-mode="stealth"].st-red .gauge__val { stroke: #ff4a36; }
[data-mode="stealth"].st-red .gauge[data-phase="up"] .gauge__val { stroke: #ffc4ba; }
[data-mode="stealth"].st-red .gauge__inner { stroke: rgba(255, 74, 54, 0.14); }
[data-mode="stealth"].st-red .gauge__ticks line { stroke: rgba(255, 74, 54, 0.5); }
[data-mode="stealth"].st-red .gauge__ticks line.minor { stroke: rgba(255, 74, 54, 0.2); }
[data-mode="stealth"].st-red .gauge__num { text-shadow: 0 0 10px rgba(255, 74, 54, 0.4); }
[data-mode="stealth"].st-red .go { border-color: #ff4a36; color: #ff4a36; }

@media (max-width: 760px) {
  [data-mode="stealth"] .meter { min-width: 33%; flex: 1 1 33%; border-bottom: 1px solid var(--line); }
  .brand--st i { display: none; }
}

/* =========================================================
   BESENRITT – nostalgisch: Nachtblau, Messing, Elfenbein, Serifenschrift; Höhenmesser statt Tacho,
   Bandbreite als Flughöhe (1 Mbit/s = 10 m); beide Marken einfarbig unten
   ========================================================= */
.brand--br, .alti, .altiread { display: none; }
:root:is(:is([data-mode="broom"], [data-mode="unicorn"]), [data-mode="unicorn"]) {
  --void: #02040a;
  --ink: #f3ecdd;
  --ink-2: #d8cfbd;
  --ink-3: #9d937f;
  --orange: #d8b46a;
  --orange-2: #e9cf97;
  --amber: #e9cf97;
  --hot: #fff1d0;
  --f-display: Georgia, "Times New Roman", serif;
  --line: rgba(216, 180, 106, 0.16);
  --line-hot: rgba(216, 180, 106, 0.34);
}
:is([data-mode="broom"], [data-mode="unicorn"]) body { background: #02040a; }
:is([data-mode="broom"], [data-mode="unicorn"]) .brand--nynex, :is([data-mode="broom"], [data-mode="unicorn"]) .brand--fo, :is([data-mode="broom"], [data-mode="unicorn"]) .nav, :is([data-mode="broom"], [data-mode="unicorn"]) .top__tel,
:is([data-mode="broom"], [data-mode="unicorn"]) .stage__kick, :is([data-mode="broom"], [data-mode="unicorn"]) .nyfoot, :is([data-mode="broom"], [data-mode="unicorn"]) .fofoot, :is([data-mode="broom"], [data-mode="unicorn"]) .chart,
:is([data-mode="broom"], [data-mode="unicorn"]) .gauge__svg, :is([data-mode="broom"], [data-mode="unicorn"]) .gauge__read, :is([data-mode="broom"], [data-mode="unicorn"]) .broomlogos ~ .stage__horizon { display: none; }
:is([data-mode="broom"], [data-mode="unicorn"]) .brand--br { display: inline-flex; }
:is([data-mode="broom"], [data-mode="unicorn"]) .alti { display: block; }
:is([data-mode="broom"], [data-mode="unicorn"]) .altiread { display: block; }
:is([data-mode="broom"], [data-mode="unicorn"]) .gauge { width: 120px; }
:is([data-mode="broom"], [data-mode="unicorn"]) .stfoot { display: flex; border-top-color: rgba(216, 180, 106, 0.16); font-family: Georgia, serif; letter-spacing: 0.14em; color: var(--ink-3); }
:is([data-mode="broom"], [data-mode="unicorn"]) .stfoot a { color: var(--ink-2); }
:is([data-mode="broom"], [data-mode="unicorn"]) .broomlogos { display: flex; }
.brand--br { align-self: center; flex-direction: column; gap: 4px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand--br b { font: 700 1.25rem/1 Georgia, "Times New Roman", serif; letter-spacing: 0.02em; color: #f3ecdd; }
.brand--br i { font: italic 400 0.72rem/1 Georgia, serif; color: #d8b46a; }
:is([data-mode="broom"], [data-mode="unicorn"]) .top::before { background: linear-gradient(180deg, rgba(2, 4, 10, 0.95), rgba(2, 4, 10, 0)); }
:is([data-mode="broom"], [data-mode="unicorn"]) .modes__btn--br { font-family: Georgia, serif; text-transform: none; letter-spacing: 0.02em; font-size: 0.74rem; }
:is([data-mode="broom"], [data-mode="unicorn"]) .modes__btn[aria-pressed="true"] { color: #1a1206; background: linear-gradient(180deg, #f0d79d, #c99a48); }
.modes__btn--br { font-family: Georgia, serif; text-transform: none; letter-spacing: 0.02em; font-size: 0.74rem; }

/* Cockpit rechts unten: Höhenband + Höhenmesser (gerendertes Zifferblatt, Zeiger als SVG) */
.broomhud { display: none; }
:is([data-mode="broom"], [data-mode="unicorn"]) .broomhud {
  position: absolute; right: var(--pad); bottom: clamp(58px, 9vh, 84px); z-index: 1;
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto auto; column-gap: 12px; align-items: center;
  pointer-events: none;
}
.tape { grid-row: 1; grid-column: 1; width: 60px; height: 160px; }
.broomhud .alti { grid-row: 1; grid-column: 2; }
.broomhud .altiread { grid-row: 2; grid-column: 1 / -1; margin: 8px 0 0; text-align: right; }
.broomhud__keys { grid-row: 3; grid-column: 1 / -1; margin: 4px 0 0; text-align: right; font: italic 400 0.72rem/1 Georgia, serif; color: rgba(243, 236, 221, 0.55); text-shadow: 0 0 8px #000; }
.alti { position: relative; width: 150px; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7)); }
.alti__dial { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.alti__hands { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.alti__h path { fill: #f3ead2; stroke: #2a2010; stroke-width: 1; }
.alti__h--short path { fill: #e8dcbc; }
.alti__h--thin path { fill: none; stroke: #f3ead2; stroke-width: 2.4; }
.alti__h--thin path.tri { fill: #f3ead2; stroke: none; }
.alti__h { filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.6)); }
.alti__hub { fill: #b8913f; stroke: #5a4318; stroke-width: 1.5; }
.alti__pin { fill: #2a2010; }
.altiread { margin: 16px 0 0; text-align: center; color: var(--ink); text-shadow: 0 0 14px #000, 0 0 4px #000; }
.altiread b { font: 700 1.5rem/1 Georgia, serif; letter-spacing: 0.02em; color: #fff1d0; font-variant-numeric: tabular-nums; }
.altiread span { font: italic 400 1rem/1 Georgia, serif; color: #d8b46a; }
.altiread i { display: block; margin-top: 6px; font: italic 400 0.85rem/1.3 Georgia, serif; color: var(--ink-2); }
:is([data-mode="broom"], [data-mode="unicorn"]) .go {
  width: 128px; height: 128px; border: 2px solid #8a6a2c;
  background: radial-gradient(circle at 40% 30%, #f6e2ad, #c99a48 55%, #7a5a22);
  color: #2a1c08; font: 700 1.05rem/1 Georgia, serif; letter-spacing: 0.08em; text-transform: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.5), inset 0 -4px 10px rgba(60, 40, 10, 0.5);
}
:is([data-mode="broom"], [data-mode="unicorn"]) .go:hover { box-shadow: 0 6px 26px rgba(216, 180, 106, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.6), inset 0 -4px 10px rgba(60, 40, 10, 0.5); }
:is([data-mode="broom"], [data-mode="unicorn"]) .go__ring, :is([data-mode="broom"], [data-mode="unicorn"]) .go__ring::after { border-color: rgba(233, 207, 151, 0.6); }
:is([data-mode="broom"], [data-mode="unicorn"]) .meter__l, :is([data-mode="broom"], [data-mode="unicorn"]) .plan__l { font-family: Georgia, serif; letter-spacing: 0.12em; }
:is([data-mode="broom"], [data-mode="unicorn"]) .meter__n b { font-family: Georgia, serif; letter-spacing: 0; }
:is([data-mode="broom"], [data-mode="unicorn"]) .meter.is-active .meter__l { text-shadow: 0 0 12px rgba(216, 180, 106, 0.9); }
:is([data-mode="broom"], [data-mode="unicorn"]) .seg--plan button[aria-pressed="true"] { color: #1a1206; box-shadow: 0 0 12px rgba(216, 180, 106, 0.6); }
:is([data-mode="broom"], [data-mode="unicorn"]) .chip--hot { box-shadow: inset 0 0 0 1px rgba(216, 180, 106, 0.7); color: #fff1d0; }
:is([data-mode="broom"], [data-mode="unicorn"]) .hud { --hud-l: 0.45; }
:is([data-mode="broom"], [data-mode="unicorn"]) .sx__t, :is([data-mode="broom"], [data-mode="unicorn"]) .rcard__n { font-family: Georgia, serif; letter-spacing: 0; }

.alti__marks line { stroke: #efe4c8; stroke-width: 1.4; }
.alti__marks line.big { stroke-width: 3.2; }
.alti__marks text { fill: #f1e7cc; font: 700 32px/1 Verdana, "DejaVu Sans", sans-serif; }
.alti__marks text.lbl { font: 700 13px/1 Verdana, sans-serif; letter-spacing: 2px; fill: #e8dcbc; }
.alti__marks text.lbl--s { font-size: 11px; letter-spacing: 1px; fill: #b8ad92; }
.alti__glass { fill: url(#alti-glare); opacity: 0.5; pointer-events: none; }
/* Instrument klein und dezent (Nutzer: „muss viel kleiner sein“) */
:is([data-mode="broom"], [data-mode="unicorn"]) .gauge { width: 120px; }
:is([data-mode="broom"], [data-mode="unicorn"]) .go { width: 74px; height: 74px; font-size: 0.78rem; }
:is([data-mode="broom"], [data-mode="unicorn"]) .gauge[data-phase="done"] .go { width: 66px; height: 66px; font-size: 0.68rem; }
:is([data-mode="broom"], [data-mode="unicorn"]) .altiread { margin-top: 10px; }
:is([data-mode="broom"], [data-mode="unicorn"]) .altiread b { font-size: 1.45rem; }

@media (max-width: 760px) {
  :is([data-mode="broom"], [data-mode="unicorn"]) .broomhud { bottom: 52px; transform: scale(0.8); transform-origin: right bottom; }
  .broomhud__keys { display: none; }
}

/* =========================================================
   SEISMOGRAF – analoges Laborgerät: dunkle Werkbank, Papierrolle mit drei Tintenschreibern,
   Schreibmaschinenschrift, roter Industrie-Starttaster; Jitter-Shake rüttelt das ganze Gerät
   ========================================================= */
.brand--se, .seismo { display: none; }
:root[data-mode="seismo"] {
  --void: #14120e;
  --ink: #efe6d2;
  --ink-2: #cfc4ad;
  --ink-3: #958a74;
  --orange: #c0392b;
  --orange-2: #d9574a;
  --amber: #d9c8a0;
  --hot: #fff3dc;
  --f-house: "IBM Plex Mono", "Courier New", monospace;
  --f-display: "IBM Plex Mono", "Courier New", monospace;
  --line: rgba(217, 200, 160, 0.14);
  --line-hot: rgba(217, 200, 160, 0.3);
}
[data-mode="seismo"] body { background: radial-gradient(ellipse at 50% 30%, #2a261e 0%, #14120e 60%, #0c0b08 100%) fixed; }
[data-mode="seismo"] .brand--nynex, [data-mode="seismo"] .brand--fo, [data-mode="seismo"] .nav, [data-mode="seismo"] .top__tel,
[data-mode="seismo"] .stage__kick, [data-mode="seismo"] .stage__warp, [data-mode="seismo"] .stage__horizon, [data-mode="seismo"] .stage__sonar,
[data-mode="seismo"] .chart, [data-mode="seismo"] .gauge__svg, [data-mode="seismo"] .gauge__read, [data-mode="seismo"] .nyfoot,
[data-mode="seismo"] .fofoot, [data-mode="seismo"] .snd, [data-mode="seismo"] .beast { display: none; }
[data-mode="seismo"] .brand--se { display: inline-flex; }
[data-mode="seismo"] .seismo { display: block; }
[data-mode="seismo"] .stfoot { display: flex; border-top-color: rgba(217, 200, 160, 0.14); color: var(--ink-3); }
[data-mode="seismo"] .stfoot a { color: var(--ink-2); }
[data-mode="seismo"] .stage { background: transparent; }
[data-mode="seismo"] .stage::after { display: none; }
[data-mode="seismo"] .top::before { background: linear-gradient(180deg, rgba(20, 18, 14, 0.96), rgba(20, 18, 14, 0)); }
.brand--se { align-self: center; flex-direction: column; gap: 4px; margin-right: auto; }
.brand--se b { font: 600 1.05rem/1 "IBM Plex Mono", "Courier New", monospace; letter-spacing: 0.18em; text-transform: uppercase; color: #efe6d2; }
.brand--se i { font: italic 400 0.72rem/1 Georgia, serif; color: #c0392b; }
.modes__btn--se { font-family: "IBM Plex Mono", "Courier New", monospace; }
[data-mode="seismo"] .modes__btn[aria-pressed="true"] { color: #fff3dc; background: #8e2a20; }

/* Gerät: Gehäuse mit Papierfenster */
.seismo { width: min(980px, 94vw); margin: 18px auto 0; padding: 14px; border-radius: 14px;
  background: linear-gradient(180deg, #4a463e, #2a2722 40%, #1d1b18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -2px 6px rgba(0, 0, 0, 0.6), 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px #0c0b09; }
.seismo__paper { display: block; width: 100%; height: 380px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 0 3px #15130f; }
@media (max-width: 760px) { .seismo__paper { height: 320px; } .seismo { padding: 8px; } }

/* Starttaster: roter Pilzknopf in Messingfassung */
[data-mode="seismo"] .gauge { width: 120px; }
[data-mode="seismo"] .go {
  width: 96px; height: 96px; border: 6px solid #6d6a62;
  background: radial-gradient(circle at 40% 32%, #ff8a7a, #c0392b 45%, #6e140c);
  color: #fff3dc; font: 600 0.82rem/1 "IBM Plex Mono", monospace; letter-spacing: 0.16em;
  box-shadow: 0 0 0 3px #2a2722, 0 8px 18px rgba(0, 0, 0, 0.7), inset 0 3px 6px rgba(255, 255, 255, 0.35), inset 0 -6px 10px rgba(60, 0, 0, 0.5);
}
[data-mode="seismo"] .go:hover { box-shadow: 0 0 0 3px #2a2722, 0 8px 22px rgba(192, 57, 43, 0.5), inset 0 3px 6px rgba(255, 255, 255, 0.45), inset 0 -6px 10px rgba(60, 0, 0, 0.5); }
[data-mode="seismo"] .go__ring { display: none; }
[data-mode="seismo"] .gauge[data-phase="done"] .go { width: 84px; height: 84px; font-size: 0.7rem; }
[data-mode="seismo"] .gauge:not([data-phase="idle"]):not([data-phase="done"]) .go { opacity: 0.35; transform: scale(0.9); }
[data-mode="seismo"] .meter__l, [data-mode="seismo"] .plan__l { letter-spacing: 0.14em; color: #d9c8a0; }
[data-mode="seismo"] .meter__n b { color: #fff3dc; }
[data-mode="seismo"] .meter.is-active .meter__l { color: #e05a4b; text-shadow: none; }
[data-mode="seismo"] .seg--plan button[aria-pressed="true"] { color: #fff3dc; background: #8e2a20; box-shadow: none; }
[data-mode="seismo"] .chip { background: rgba(0, 0, 0, 0.45); }
[data-mode="seismo"] .chip--hot { box-shadow: inset 0 0 0 1px rgba(192, 57, 43, 0.8); color: #fff3dc; }
[data-mode="seismo"] .hud { --hud-l: 0.35; }

/* =========================================================
   HACKER – Terminal im tmux-Stil: Shell links (Befehle werden eingetippt, Ausgaben mit echten Messwerten),
   htop-Anzeige rechts, Zeichenregen dahinter, Phosphor-Grün mit leichtem Glühen und Röhren-Zeilen
   ========================================================= */
.hterm, .stage__rain { display: none; }
.hterm__in { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:root[data-mode="hacker"] {
  --void: #000400; --ink: #b8ffc8; --ink-2: #7fdc96; --ink-3: #3f8a52;
  --orange: #33ff66; --orange-2: #7dff9b; --amber: #ffd23f; --hot: #e6ffe9;
  --f-house: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace; --f-display: var(--f-house);
  --line: rgba(51, 255, 102, 0.14); --line-hot: rgba(51, 255, 102, 0.32);
}
[data-mode="hacker"] body { background: #000400; }
[data-mode="hacker"] :is(.brand--nynex, .brand--fo, .nav, .top__tel, .stage__kick, .stage__warp, .stage__horizon, .stage__sonar,
  .gauge, .plan, .meters, .chart, .whoami, .seismo, .nyfoot, .fofoot, .snd, .beast, .sim, .simbadge) { display: none; }
[data-mode="hacker"] .brand--st { display: inline-flex; }
[data-mode="hacker"] .brand--st b { color: #33ff66; }
[data-mode="hacker"] .stfoot { display: flex; border-top-color: rgba(51, 255, 102, 0.14); }
[data-mode="hacker"] .stage::after { display: none; }
[data-mode="hacker"] .stage__rain { display: block; position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0.22; pointer-events: none; }
[data-mode="hacker"] .hterm { display: flex; }
[data-mode="hacker"] .top::before { background: #000400; opacity: 1; inset: 0; border-bottom: 1px solid rgba(51, 255, 102, 0.16); }
[data-mode="hacker"] .hterm { margin-top: 46px; }
.modes__btn--hk { font-family: "IBM Plex Mono", Consolas, monospace; }
[data-mode="hacker"] .modes__btn[aria-pressed="true"] { color: #000; background: #33ff66; }

.hterm {
  position: relative; flex-direction: column; width: min(1180px, 100%); box-sizing: border-box; height: min(72vh, 680px); margin: 8px auto 0;
  border: 1px solid rgba(51, 255, 102, 0.45); border-radius: 6px; overflow: hidden; text-align: left; cursor: text;
  background: rgba(0, 8, 2, 0.88); box-shadow: 0 0 0 1px #000, 0 0 40px rgba(51, 255, 102, 0.18), inset 0 0 80px rgba(0, 0, 0, 0.8);
  font: 400 13px/1.45 "IBM Plex Mono", "Cascadia Mono", Consolas, monospace; color: #8dffaa;
  text-shadow: 0 0 6px rgba(51, 255, 102, 0.45);
}
.hterm::after {   /* Röhren-Zeilen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.22) 3px);
}
.hterm__bar { display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: rgba(51, 255, 102, 0.08); border-bottom: 1px solid rgba(51, 255, 102, 0.25); color: #6fe08a; font-size: 12px; }
.hterm__dots { width: 42px; height: 10px; background: radial-gradient(circle at 5px 5px, #ff5f56 4px, transparent 5px), radial-gradient(circle at 21px 5px, #ffbd2e 4px, transparent 5px), radial-gradient(circle at 37px 5px, #27c93f 4px, transparent 5px); opacity: 0.8; }
.hterm__panes { display: grid; grid-template-columns: minmax(0, 1fr) 330px; flex: 1 1 auto; min-height: 0; }
.hterm__out { overflow-y: auto; padding: 12px 14px; scrollbar-width: thin; scrollbar-color: #1f6b35 transparent; }
.hterm__side { margin: 0; padding: 12px 10px; border-left: 1px solid rgba(51, 255, 102, 0.25); white-space: pre; overflow: hidden; font: inherit; color: #33ff66; background: rgba(0, 0, 0, 0.35); }
.hterm__status { display: flex; justify-content: space-between; padding: 3px 12px; background: #1a7a33; color: #000; font-size: 12px; text-shadow: none; }
.hl { white-space: pre-wrap; word-break: break-all; min-height: 1.45em; }
.hl--dim { color: #4fae68; }
.hl--art { color: #33ff66; white-space: pre; }
.hl--cmd { color: #e6ffe9; }
.hl--prog { color: #ffd23f; text-shadow: 0 0 6px rgba(255, 210, 63, 0.5); white-space: pre; }
.hl--ok { color: #7dff9b; }
.hl--err { color: #ff5a4a; text-shadow: 0 0 6px rgba(255, 90, 74, 0.5); }
.hl--box { color: #ffd23f; white-space: pre; }
.hl--run { color: #8dffaa; }
.hp { color: #33ff66; }
.hcur { display: inline-block; width: 0.6em; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: #33ff66; animation: arBlink 1s steps(1) infinite; }
.rm .hcur { animation: none; }
.hrun { padding: 0 6px; border: 1px solid #33ff66; border-radius: 3px; background: rgba(51, 255, 102, 0.12); color: #e6ffe9; font: inherit; cursor: pointer; }
.hrun:hover { background: #33ff66; color: #000; }
@media (max-width: 900px) {
  .hterm__panes { grid-template-columns: minmax(0, 1fr); }
  .hterm__side { display: none; }
  .hterm { font-size: 12px; height: 70vh; }
}

/* Hacker: zweizeiliger Pentest-Prompt, Impressum in der tmux-Statuszeile */
.hl--prompt > div, .hl--p1, .hl--cmd { white-space: pre; }
.hk-l { color: #2f9bff; text-shadow: 0 0 6px rgba(47, 155, 255, 0.45); }
.hk-u { color: #ff4d4d; font-weight: 600; text-shadow: 0 0 6px rgba(255, 77, 77, 0.5); }
.hk-d { color: #e6ffe9; font-weight: 600; }
.hk-r { color: #ff4d4d; font-weight: 600; }
.hk-c { color: #e6ffe9; }
.hl--info { color: #2f9bff; text-shadow: 0 0 6px rgba(47, 155, 255, 0.4); }
.hl--login { color: #7fdc96; }
.hterm__status { position: relative; z-index: 1; gap: 12px; }
.hterm__legal a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.hterm__legal a:hover { background: #000; color: #33ff66; text-decoration: none; }
@media (max-width: 600px) { .hterm__status > span[aria-hidden] { display: none; } .hterm__status { justify-content: center; } }

/* fiberONE: Menü wie fiberone.de + Adressprüfung im Hero */
.nav__cta { display: none; }
[data-mode="fiberone"] .nav .nav__cta {
  display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid rgba(57, 194, 255, 0.55); border-radius: 999px;
  color: #e9f6ff; background: rgba(57, 194, 255, 0.12); box-shadow: 0 0 18px rgba(57, 194, 255, 0.18);
}
[data-mode="fiberone"] .nav .nav__cta::after { display: none; }
[data-mode="fiberone"] .nav .nav__cta:hover { background: #39c2ff; color: #04070f; }
.foavail {
  margin-top: 28px; padding: 18px 18px 14px; border: 1px solid rgba(142, 205, 255, 0.22); border-radius: 18px; text-align: left;
  background: linear-gradient(160deg, rgba(57, 194, 255, 0.10), rgba(139, 124, 255, 0.06)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  scroll-margin-top: 110px;
}
.foavail__h { margin: 0 0 12px; font: 600 1.05rem/1.3 "Dosis", system-ui, sans-serif; letter-spacing: 0.02em; color: #e9f6ff; }
.foavail__row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 10px; align-items: end; }
.foavail__go { grid-column: 1 / -1; }
.foavail__f { display: grid; gap: 5px; font: 500 0.68rem/1 "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(174, 228, 255, 0.8); }
.foavail__f input {
  width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid rgba(142, 205, 255, 0.25); border-radius: 12px;
  background: rgba(4, 7, 15, 0.7); color: #f2f7fc; font: 400 0.98rem/1.2 "Instrument Sans", system-ui, sans-serif; letter-spacing: 0; text-transform: none;
}
.foavail__f input::placeholder { color: rgba(174, 228, 255, 0.4); }
.foavail__f input:focus { outline: none; border-color: #39c2ff; box-shadow: 0 0 0 3px rgba(57, 194, 255, 0.22); }
.foavail__go {
  padding: 12px 18px; border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap;
  background: linear-gradient(135deg, #39c2ff, #8b7cff); color: #04070f; font: 700 0.95rem/1 "Dosis", system-ui, sans-serif; letter-spacing: 0.02em;
  box-shadow: 0 8px 26px rgba(57, 194, 255, 0.3);
}
.foavail__go:hover { filter: brightness(1.1); }
.foavail__go:focus-visible { outline: 2px solid #e9f6ff; outline-offset: 2px; }
.foavail__msg { display: block; margin-top: 9px; font: 400 0.78rem/1.4 "Instrument Sans", system-ui, sans-serif; color: rgba(226, 240, 252, 0.55); }
.foavail__msg.is-err { color: #ffb4a8; }
@media (max-width: 640px) {
  .foavail__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) { [data-mode="fiberone"] .nav a:not(.nav__cta)[href*="wohnungswirtschaft"] { display: none; } }

.foavail[hidden] { display: none; }
.foavail.is-in { animation: foavailIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes foavailIn { from { opacity: 0; transform: translateY(14px) scale(0.98); box-shadow: 0 0 0 rgba(57, 194, 255, 0); }
  60% { box-shadow: 0 0 40px rgba(57, 194, 255, 0.35); } to { opacity: 1; transform: none; box-shadow: 0 0 0 rgba(57, 194, 255, 0); } }

/* =========================================================
   EINHORNRITT – Besenritt-Aufbau, aber Zauberhimmel: Violett, Rosa, Gold; runde Schrift, Glitzer-Akzente
   ========================================================= */
.brand--un { display: none; }
:root[data-mode="unicorn"] {
  --void: #160a33;
  --ink: #fff4fb;
  --ink-2: #f1d9ef;
  --ink-3: #c9a6d6;
  --orange: #ff9ad5;
  --orange-2: #ffd27a;
  --amber: #ffd27a;
  --hot: #fff4fb;
  --f-display: "Dosis", system-ui, sans-serif;
  --line: rgba(255, 154, 213, 0.18);
  --line-hot: rgba(255, 154, 213, 0.4);
}
[data-mode="unicorn"] body { background: #160a33; }
[data-mode="unicorn"] .brand--br { display: none; }
[data-mode="unicorn"] .brand--un { display: inline-flex; align-self: center; flex-direction: column; gap: 4px; margin-right: auto; }
.brand--un b { font: 700 1.35rem/1 "Dosis", system-ui, sans-serif; letter-spacing: 0.02em;
  background: linear-gradient(90deg, #ff9ad5, #ffd27a, #9ad8ff, #c79bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand--un i { font: italic 500 0.74rem/1 "Dosis", system-ui, sans-serif; color: #ffd6ef; letter-spacing: 0.04em; }
[data-mode="unicorn"] .top::before { background: linear-gradient(180deg, rgba(22, 10, 51, 0.95), rgba(22, 10, 51, 0)); }
[data-mode="unicorn"] .modes__btn--un { font-family: "Dosis", system-ui, sans-serif; text-transform: none; letter-spacing: 0.02em; }
[data-mode="unicorn"] .modes__btn[aria-pressed="true"] { color: #2a0f3c; background: linear-gradient(90deg, #ff9ad5, #ffd27a); }
[data-mode="unicorn"] .go {
  border-color: #ffd27a; color: #3a0f4a; font-family: "Dosis", system-ui, sans-serif; letter-spacing: 0.06em;
  background: radial-gradient(circle at 38% 30%, #fff4fb, #ff9ad5 45%, #b06ad8 80%, #6a2fa0);
  box-shadow: 0 6px 24px rgba(255, 154, 213, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.7), inset 0 -4px 10px rgba(90, 30, 120, 0.5);
}
[data-mode="unicorn"] .go:hover { box-shadow: 0 6px 30px rgba(255, 210, 122, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.7), inset 0 -4px 10px rgba(90, 30, 120, 0.5); }
[data-mode="unicorn"] .go__ring, [data-mode="unicorn"] .go__ring::after { border-color: rgba(255, 210, 122, 0.6); }
[data-mode="unicorn"] .meter__l, [data-mode="unicorn"] .plan__l, [data-mode="unicorn"] .meter__n b,
[data-mode="unicorn"] .sx__t, [data-mode="unicorn"] .rcard__n, [data-mode="unicorn"] .altiread b,
[data-mode="unicorn"] .altiread span, [data-mode="unicorn"] .altiread i, [data-mode="unicorn"] .broomhud__keys,
[data-mode="unicorn"] .stfoot { font-family: "Dosis", system-ui, sans-serif; }
[data-mode="unicorn"] .meter.is-active .meter__l { text-shadow: 0 0 12px rgba(255, 154, 213, 0.95); }
[data-mode="unicorn"] .seg--plan button[aria-pressed="true"] { color: #2a0f3c; box-shadow: 0 0 14px rgba(255, 154, 213, 0.7); }
[data-mode="unicorn"] .chip--hot { box-shadow: inset 0 0 0 1px rgba(255, 154, 213, 0.75); color: #fff4fb; }
[data-mode="unicorn"] .altiread b { color: #fff4fb; }
[data-mode="unicorn"] .altiread span { color: #ffd27a; }
[data-mode="unicorn"] .stfoot { border-top-color: rgba(255, 154, 213, 0.2); }

/* fiberONE-Adressprüfung: Vorschlagslisten aus der Portal-API */
.foac { position: relative; }
.foac__list { position: absolute; left: 0; right: -60%; top: calc(100% + 6px); z-index: 40; max-height: 300px; overflow-y: auto; margin: 0; padding: 6px;
  list-style: none; border: 1px solid rgba(142, 205, 255, 0.28); border-radius: 12px; background: rgba(6, 12, 26, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); text-transform: none; letter-spacing: 0; }
.foavail__f--street .foac__list { left: -40%; right: 0; }
@media (max-width: 640px) { .foac__list, .foavail__f--street .foac__list { left: 0; right: 0; } }
.foac__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer;
  font: 400 0.92rem/1.3 "Instrument Sans", system-ui, sans-serif; color: #e9f6ff; }
.foac__list li.is-act, .foac__list li:hover { background: rgba(57, 194, 255, 0.14); }
.foac__list li.foac__empty { cursor: default; color: rgba(226, 240, 252, 0.6); background: none; }
.foac__a { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.foac__a b { font-weight: 600; }
.foac__a small { font-size: 0.78rem; color: rgba(226, 240, 252, 0.6); }
.foac__t { flex: none; padding: 3px 8px; border-radius: 999px; font: 700 0.66rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08); color: rgba(226, 240, 252, 0.75); }
.foac__t--fo { background: rgba(57, 194, 255, 0.18); color: #39c2ff; }
.foavail.is-pick .foavail__msg { color: #7fe3b0; }
[data-mode="fiberone"] .fohero { position: relative; z-index: 6; }   /* Vorschlagsliste liegt über Tacho und Tarifwahl */
