/* ==========================================================================
   Let's Do. – Intro: 3D-Bühne, Leitstand (Startschirm, Ladebildschirm, Konsole), Film-Ebene
   ========================================================================== */

/* ── 3D-Bühne: erst Film, danach Hintergrund der Seite ── */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  will-change: opacity, transform;
  background: #000;
}
.stage canvas { display: block; width: 100%; height: 100%; }
.stage--visible { opacity: 1; }
.intro-active .stage { z-index: 200; }
.stage--bg { transition: none; }
html.no-stage .stage { display: none; }

/* Seite weich aufdecken, wenn der Film endet */
.intro-reveal #main-content,
.intro-reveal .site-nav { transition: opacity 1.4s ease; }

/* ── Gemeinsamer Träger für Konsole und Film-Ebene ── */
#intro-ui { position: fixed; inset: 0; z-index: 300; pointer-events: none; }

/* Knöpfe in Leitstand und Film: Glaspillen wie auf der Seite */
.lc__skip, .lc__sound, .lc__btn, .film__skip, .film__sound {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.74rem + 0.2vw, 0.94rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.8em 1.45em;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 14px 30px -18px rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
}
.lc__skip:hover, .lc__sound:hover, .lc__btn:hover, .film__skip:hover, .film__sound:hover { color: #fff; border-color: rgba(255, 255, 255, 0.6); transform: translateY(-1px); }
.lc__skip:focus-visible, .lc__sound:focus-visible, .lc__btn:focus-visible, .lc__go:focus-visible, .lc__lang:focus-visible, .lc__start-skip:focus-visible,
.film__skip:focus-visible, .film__sound:focus-visible, .film__enter:focus-visible {
  outline: 2px solid #fff; outline-offset: 3px;
}

/* ==========================================================================
   Leitstand (Startschirm, Ladebildschirm, Konsole)
   ========================================================================== */
.lc {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.8vh, 22px);
  padding: clamp(14px, 2.2vw, 34px);
  overflow: hidden;
  color: rgba(236, 240, 250, 0.86);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 0.58rem + 0.3vw, 0.86rem);
  letter-spacing: 0.03em;
  background: #020308;
  opacity: 0;
  transition: opacity 0.5s ease;
  transform-origin: 50% 50%;
}
.lc.is-in { opacity: 1; }

/* ── Raum: Nachthimmel, Sterne und der Rand der Erde. Derselbe Hintergrund für Startschirm und Leitstand. ── */
.lc__raum {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 78% at 50% 0%, #0b1330 0%, #060a18 46%, #020308 100%);
}
.lc__sterne { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc__erde {
  position: absolute; left: 50%; top: 0; width: max(210vw, 250vh); aspect-ratio: 1; border-radius: 50%;
  translate: -50% 77vh; will-change: translate;
  background: radial-gradient(circle at 50% 0%, #12264f 0%, #0a1634 8%, #060b1c 20%, #020308 44%);
  box-shadow: 0 -1px 0 rgba(200, 226, 255, 0.8), 0 -3px 12px rgba(125, 180, 255, 0.62), 0 -18px 60px rgba(72, 132, 255, 0.4), 0 -70px 200px rgba(52, 104, 255, 0.24), inset 0 26px 70px rgba(92, 152, 255, 0.22);
  transition: translate 1.9s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 1s ease;
}
/* Lichtsaum am Horizont: Die Sonne steht knapp hinter der Erde */
.lc__glanz {
  position: absolute; left: 63%; top: 0; width: min(64vw, 900px); height: min(11vw, 150px);
  translate: -50% calc(77vh - 50%); will-change: translate; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95) 0%, rgba(190, 220, 255, 0.5) 12%, rgba(90, 150, 255, 0.2) 40%, rgba(90, 150, 255, 0) 100%);
  transition: translate 1.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 1s ease;
  animation: lc-glanz 7s ease-in-out infinite alternate;
}
@keyframes lc-glanz { from { opacity: 0.72; scale: 0.94 1; } to { opacity: 1; scale: 1.06 1; } }
/* Läuft der Leitstand, sinkt der Horizont an den unteren Bildrand */
.lc.is-live .lc__erde { translate: -50% 91vh; }
.lc.is-live .lc__glanz { translate: -50% calc(91vh - 50%); }
.lc.is-alarm .lc__erde { box-shadow: 0 -1px 0 rgba(255, 200, 200, 0.8), 0 -3px 12px rgba(255, 110, 116, 0.62), 0 -18px 60px rgba(228, 28, 34, 0.42), 0 -70px 200px rgba(228, 28, 34, 0.26), inset 0 26px 70px rgba(228, 28, 34, 0.2); }
.lc.is-ok .lc__erde { box-shadow: 0 -1px 0 rgba(200, 255, 232, 0.8), 0 -3px 12px rgba(110, 231, 183, 0.6), 0 -18px 60px rgba(52, 211, 153, 0.34), 0 -70px 200px rgba(52, 211, 153, 0.2), inset 0 26px 70px rgba(52, 211, 153, 0.16); }

/* feines Messraster, zur Mitte hin sichtbar (nur im Leitstand) */
.lc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 68%);
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 68%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.lc.is-live::before { opacity: 1; }
/* Alarm- und Entwarnungslicht am Bildrand */
.lc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 0 rgba(228, 28, 34, 0);
  transition: box-shadow 0.6s ease;
}
.lc.is-alarm::after { box-shadow: inset 0 0 170px rgba(228, 28, 34, 0.28); animation: lc-alarm 0.9s ease-in-out infinite; }
.lc.is-ok::after { box-shadow: inset 0 0 190px rgba(52, 211, 153, 0.14); }
@keyframes lc-alarm { 50% { box-shadow: inset 0 0 230px rgba(228, 28, 34, 0.44); } }

/* Der Leitstand fährt hoch, sobald der Startschirm beantwortet ist */
.lc__top, .lc__body > *, .lc__bottom {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lc__body > .lc__scope { transform: scale(0.88); }
.lc.is-live .lc__top, .lc.is-live .lc__body > *, .lc.is-live .lc__bottom { opacity: 1; transform: none; }
.lc.is-live .lc__scope { transition-delay: 0.12s; }
.lc.is-live .lc__log { transition-delay: 0.28s; }
.lc.is-live .lc__tele { transition-delay: 0.38s; }
.lc.is-live .lc__bottom { transition-delay: 0.5s; }

/* ── Kopfzeile ── */
.lc__top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1em; align-items: center; }
.lc__brand { display: flex; align-items: center; gap: 0.95em; min-width: 0; }
/* Logo: PNG mit fertigen runden Ecken – nie beschneiden, nie runden, kein Filter. */
.lc__logo { flex: none; width: clamp(34px, 4.6vh, 48px); height: auto; }
.lc__brand-t { display: grid; gap: 0.3em; line-height: 1.1; min-width: 0; }
.lc__brand-t b { font-family: var(--font-display); font-weight: 600; font-size: 1.3em; letter-spacing: 0.04em; color: #fff; }
.lc__brand-x { font-size: 0.8em; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.46); }
.lc__clock {
  display: inline-flex; align-items: center; gap: 0.75em; padding: 0.62em 1.1em; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13); background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; letter-spacing: 0.12em; white-space: nowrap;
}
.lc__live { flex: none; width: 0.58em; height: 0.58em; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: lc-live 1.8s ease-in-out infinite; }
.lc.is-alarm .lc__live { background: var(--ld-red-glow); box-shadow: 0 0 12px var(--ld-red); animation-duration: 0.6s; }
@keyframes lc-live { 50% { opacity: 0.35; } }

/* ── Mitte: Protokoll, Radar, Messwerte ── */
.lc__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.6vw, 48px);
  min-height: 0;
}
.lc__scope { position: relative; width: min(63vh, 40vw); aspect-ratio: 1; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); }
.lc__scope canvas { display: block; width: 100%; height: 100%; }

.lc__panel {
  padding: 1.35em 1.5em 1.5em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(16px, 1.6vw, 24px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025) 60%, rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 34px 70px -40px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.6s ease;
}
.lc.is-alarm .lc__panel { border-color: rgba(255, 86, 92, 0.42); }
.lc.is-ok .lc__panel { border-color: rgba(52, 211, 153, 0.36); }
.lc__log { justify-self: end; width: min(100%, 34em); }
.lc__tele { justify-self: start; width: min(100%, 24em); }
.lc__h {
  display: flex; align-items: center; gap: 0.75em; margin: 0 0 1.1em; padding-bottom: 0.95em; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font: inherit; font-size: 0.84em; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66);
}
.lc__h::before { content: ""; flex: none; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--ld-red); box-shadow: 0 0 10px var(--ld-red); }
.lc.is-ok .lc__h::before { background: #34d399; box-shadow: 0 0 10px #34d399; }

.lc__lines { height: 22.6em; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
/* ältere Zeilen laufen oben weich aus dem Feld */
.lc__lines { -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 2.4em); mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 2.4em); }
.lc__line { margin: 0; padding: 0.28em 0; display: flex; align-items: baseline; gap: 0.9em; color: rgba(255, 255, 255, 0.78); animation: lc-line 0.3s ease both; }
.lc__ts { flex: none; color: rgba(255, 255, 255, 0.28); font-variant-numeric: tabular-nums; }
.lc__tx { flex: 1; min-width: 0; }
.lc__line--warn .lc__tx { color: #ff6b70; }
.lc__mark { flex: none; }
.lc__mark--ok { font-size: 0.82em; letter-spacing: 0.12em; padding: 0.12em 0.7em; border-radius: 999px; color: #5eead4; border: 1px solid rgba(52, 211, 153, 0.42); background: rgba(52, 211, 153, 0.1); }
.lc__line:last-child .lc__tx::after { content: "\258D"; margin-left: 0.15em; color: var(--ld-red); animation: lc-blink 0.9s steps(2) infinite; }
@keyframes lc-line { from { opacity: 0; transform: translateY(5px); } }
@keyframes lc-blink { 50% { opacity: 0; } }

.lc__tele dl { margin: 0; display: grid; }
.lc__tele dl > div { display: grid; gap: 0.3em; padding: 0.72em 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.lc__tele dl > div:first-child { padding-top: 0; }
.lc__tele dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.lc__tele dt { font-size: 0.76em; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42); }
.lc__tele dd { margin: 0; font-size: 1.28em; font-weight: 500; letter-spacing: 0.01em; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-height: 1.3em; }
.lc__tele dd.is-hot { color: #ff6b70; text-shadow: 0 0 16px rgba(228, 28, 34, 0.7); }
.lc.is-ok .lc__tele dd.is-hot { color: #34d399; text-shadow: 0 0 16px rgba(52, 211, 153, 0.5); }

/* ── Fußzeile: Ladestand und Knöpfe ── */
.lc__bottom { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.8em; }
.lc__load {
  display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 1.3em;
  padding: 1em 1.5em; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13); background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.62);
}
.lc__load-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc__bar { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.lc__bar i { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, #ff7a80, var(--ld-red)); box-shadow: 0 0 16px rgba(228, 28, 34, 0.95); transform-origin: left; transform: scaleX(0); transition: transform 0.5s ease, background 0.8s ease, box-shadow 0.8s ease; }
.lc.is-geladen .lc__bar i { background: linear-gradient(90deg, #a7f3d0, #34d399); box-shadow: 0 0 16px rgba(52, 211, 153, 0.9); }
.lc__pct { font-family: var(--font-display); font-weight: 600; font-size: 1.25em; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; min-width: 3.6em; text-align: right; color: #fff; }
.lc__sound[hidden] { display: none; }
.lc__sound::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.7em; border-radius: 50%; vertical-align: 0.08em; background: #fff; animation: lc-sound 1.8s ease-out infinite; }
.lc__sound.is-on::before { animation: none; background: #34d399; box-shadow: 0 0 10px #34d399; }
.lc__sound.is-on { color: #a7f3d0; border-color: rgba(52, 211, 153, 0.55); }
@keyframes lc-sound { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); } 100% { box-shadow: 0 0 0 0.7em rgba(255, 255, 255, 0); } }

/* ── Lagemeldung ── */
.lc__verdict {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-items: center; padding: 6vw;
  background: rgba(2, 3, 8, 0.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity 0.35s ease;
}
.lc__verdict[hidden] { display: none; }
.lc__verdict.is-in { opacity: 1; }
.lc__verdict-box {
  display: grid; justify-items: center; text-align: center;
  padding: clamp(26px, 5vh, 54px) clamp(24px, 5.4vw, 86px);
  border: 1px solid rgba(255, 86, 92, 0.7);
  border-radius: clamp(22px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(74, 10, 14, 0.74), rgba(18, 3, 5, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 90px rgba(228, 28, 34, 0.36), 0 50px 100px -40px #000;
  transform: scale(0.93);
  transition: transform 0.5s var(--ease-out), border-color 1.1s ease, box-shadow 1.1s ease, background 1.1s ease;
}
.lc__verdict.is-in .lc__verdict-box { transform: scale(1); }
.lc__verdict-i {
  position: relative; display: grid; place-items: center; width: 4.6em; height: 4.6em; margin-bottom: 1.4em; border-radius: 50%;
  color: #ff6b70; border: 1px solid currentColor; box-shadow: 0 0 34px rgba(228, 28, 34, 0.5), inset 0 0 20px rgba(228, 28, 34, 0.24);
  transition: color 1.1s ease, box-shadow 1.1s ease;
}
.lc__verdict-i svg { grid-area: 1 / 1; width: 2.2em; height: 2.2em; transition: opacity 0.6s ease, scale 0.7s var(--ease-out); }
.lc__verdict-b { opacity: 0; scale: 0.4; }
.lc.is-ok .lc__verdict-a { opacity: 0; scale: 0.4; }
.lc.is-ok .lc__verdict-b { opacity: 1; scale: 1; }
.lc.is-ok .lc__verdict-i { color: #34d399; box-shadow: 0 0 34px rgba(52, 211, 153, 0.45), inset 0 0 20px rgba(52, 211, 153, 0.2); }
.lc__verdict-k { display: block; margin-bottom: 1em; font-size: 0.86em; letter-spacing: 0.36em; text-transform: uppercase; color: rgba(255, 107, 112, 0.9); transition: color 1.1s ease; }
.lc__verdict-t {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 4.2vw, 3.4rem); letter-spacing: 0.01em; line-height: 1.1;
  color: #fff; text-shadow: 0 0 34px rgba(228, 28, 34, 0.75);
  transition: text-shadow 1.1s ease;
}
.lc__verdict-s {
  display: block; margin-top: 0.8em;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1rem, 1.6vw, 1.4rem); letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0); transition: color 1.1s ease 0.35s;
}
.lc.is-ok .lc__verdict-box { border-color: rgba(52, 211, 153, 0.7); background: linear-gradient(180deg, rgba(8, 56, 42, 0.7), rgba(3, 14, 11, 0.88)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 90px rgba(52, 211, 153, 0.26), 0 50px 100px -40px #000; }
.lc.is-ok .lc__verdict-k { color: rgba(110, 231, 183, 0.9); }
.lc.is-ok .lc__verdict-t { text-shadow: 0 0 34px rgba(52, 211, 153, 0.6); }
.lc.is-ok .lc__verdict-s { color: rgba(255, 255, 255, 0.84); }
.lc__gate { display: flex; flex-wrap: wrap; gap: 0.8em; justify-content: center; margin-top: 1.9em; }
.lc__gate[hidden] { display: none; }
.lc__btn--on { background: #fff; color: #050508; border-color: #fff; font-weight: 600; }
.lc__btn--on:hover { background: #fff; color: #050508; box-shadow: 0 0 30px rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   Startschirm: Sprache und Ton. Liegt über dem Leitstand, bis die Frage beantwortet ist.
   ========================================================================== */
.lc__start {
  position: absolute; inset: 0; z-index: 6;
  display: grid; place-items: center; padding: clamp(12px, 3vw, 40px);
  overflow-y: auto;
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}
.lc__start[hidden] { display: none; }
.lc__start.is-out { opacity: 0; transform: scale(1.07); filter: blur(12px); pointer-events: none; }
.lc__start-box {
  width: min(100%, 66rem);
  display: grid; justify-items: center; text-align: center;
  padding: clamp(1.5rem, 4.6vh, 3.2rem) clamp(1rem, 4vw, 3.4rem) clamp(1.2rem, 3.4vh, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(24px, 3vw, 42px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03) 44%, rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), inset 0 -1px 0 rgba(255, 255, 255, 0.06), 0 60px 120px -50px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; color: #fff;
}
.lc__start-box > * { animation: lc-auf 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.lc__start-box > :nth-child(2) { animation-delay: 0.06s; }
.lc__start-box > :nth-child(3) { animation-delay: 0.14s; }
.lc__start-box > :nth-child(4) { animation-delay: 0.22s; }
.lc__start-box > :nth-child(5) { animation-delay: 0.28s; }
.lc__start-box > :nth-child(6) { animation-delay: 0.36s; }
.lc__start-box > :nth-child(7) { animation-delay: 0.44s; }
@keyframes lc-auf { from { opacity: 0; transform: translateY(14px); } }

/* Logo: PNG mit fertigen runden Ecken – nie beschneiden, nie runden, kein Filter. */
.lc__start-logo { width: clamp(60px, 9.5vh, 96px); height: auto; }
.lc__start-k { margin-top: clamp(0.7rem, 1.8vh, 1.1rem); font-family: var(--font-mono); font-size: clamp(0.62rem, 0.56rem + 0.2vw, 0.76rem); letter-spacing: 0.36em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.lc__start-k i { font-style: normal; color: var(--ld-red); }

/* Sprachwahl: Flaggen in einer Glasschiene, die gewählte Sprache ist erhaben */
.lc__langs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem;
  margin-top: clamp(1.1rem, 3.2vh, 2rem); padding: 0.4rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 5, 14, 0.5); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.07);
}
.lc__lang {
  pointer-events: auto; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.42em 0.95em 0.42em 0.45em; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.92rem; letter-spacing: 0.01em; white-space: nowrap; color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.lc__flag { flex: none; width: 1.75em; height: 1.75em; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 3px 8px rgba(0, 0, 0, 0.55); transition: box-shadow 0.2s ease, scale 0.25s ease; }
.lc__lang:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.lc__lang:hover .lc__flag { scale: 1.08; }
.lc__lang.is-on {
  color: #fff; font-weight: 600; border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 22px -12px rgba(0, 0, 0, 0.9);
}
.lc__lang.is-on .lc__flag { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ld-red), 0 0 16px rgba(228, 28, 34, 0.75); }

.lc__start-t {
  margin-top: clamp(1.3rem, 4vh, 2.4rem);
  font-weight: 600; font-size: clamp(2rem, 1.1rem + 3.6vw, 4rem); letter-spacing: -0.015em; line-height: 1.06; color: #fff;
  text-wrap: balance;
}
.lc__start-s {
  margin-top: clamp(0.6rem, 1.6vh, 1rem); max-width: 34em; min-height: 3em;
  font-weight: 300; font-size: clamp(0.98rem, 0.9rem + 0.4vw, 1.2rem); line-height: 1.5; color: rgba(255, 255, 255, 0.74);
  text-wrap: balance;
}
.lc__start-s[hidden] { display: none; }
.lc__start-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: clamp(1rem, 3vh, 1.8rem); }
.lc__go {
  pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8em;
  min-height: 3.5em; padding: 0 1.9em; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.12rem); letter-spacing: 0.01em; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 18px 36px -22px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.lc__go[hidden] { display: none; }
.lc__go:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.6); }
.lc__go:active { transform: translateY(0) scale(0.98); }
.lc__go--on {
  font-weight: 600; border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, #ff4c55 0%, #e41c22 54%, #bf121a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 20px 46px -14px rgba(228, 28, 34, 0.9);
  animation: lc-ruf 2.6s ease-out infinite;
}
.lc__go--on:hover { border-color: #fff; background: linear-gradient(180deg, #ff5d65 0%, #f0252c 54%, #c9151d 100%); }
@keyframes lc-ruf {
  0% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 20px 46px -14px rgba(228, 28, 34, 0.9), 0 0 0 0 rgba(228, 28, 34, 0.55); }
  70%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 20px 46px -14px rgba(228, 28, 34, 0.9), 0 0 0 18px rgba(228, 28, 34, 0); }
}
/* Pegel im Knopf: Hier gibt es etwas zu hören */
.lc__eq { display: inline-flex; align-items: center; gap: 3px; height: 1.25em; }
.lc__eq i { width: 3px; height: 100%; border-radius: 2px; background: #fff; animation: lc-eq 1.05s ease-in-out infinite; animation-delay: calc(var(--i) * -0.23s); }
.lc__eq i:nth-child(odd) { animation-duration: 0.82s; }
@keyframes lc-eq { 0%, 100% { transform: scaleY(0.24); } 50% { transform: scaleY(1); } }
.lc__start-skip {
  pointer-events: auto; cursor: pointer; background: none; border: 0;
  display: inline-flex; align-items: center; gap: 0.5em;
  margin-top: clamp(0.9rem, 2.6vh, 1.6rem); padding: 0.6em 0.8em;
  font-family: var(--font-display); font-size: 0.94rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.56);
  transition: color 0.2s ease;
}
.lc__start-skip svg { transition: translate 0.25s ease; }
.lc__start-skip:hover { color: #fff; }
.lc__start-skip:hover svg { translate: 4px 0; }

/* Abgang: durch das Radar hindurch in den Weltraum */
.lc.is-out { animation: lc-out 1.05s cubic-bezier(0.7, 0, 0.3, 1) forwards; pointer-events: none; }
@keyframes lc-out {
  0%   { opacity: 1; transform: scale(1); filter: blur(0); }
  55%  { opacity: 1; transform: scale(1.9); filter: blur(5px); }
  100% { opacity: 0; transform: scale(4.2); filter: blur(22px); }
}

/* Mittlere Breiten: Die sieben Sprachen stehen in zwei Reihen (vier und drei) */
@media (max-width: 1180px) {
  .lc__langs { max-width: 35rem; border-radius: 30px; }
}

@media (max-width: 880px), (orientation: portrait) {
  .lc { padding: 14px 12px; gap: 10px; }
  .lc__clock, .lc__brand-x { display: none; }
  .lc__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); justify-items: stretch; align-items: start; gap: 10px; }
  .lc__scope { order: 1; width: min(76vw, 35vh); justify-self: center; }
  .lc__panel { padding: 0.95em 1.1em 1.05em; }
  .lc__h { margin-bottom: 0.7em; padding-bottom: 0.65em; }
  .lc__tele { order: 2; width: 100%; }
  .lc__tele dl { grid-template-columns: 1fr 1fr; column-gap: 1.2em; }
  .lc__tele dl > div { padding: 0.5em 0; }
  .lc__tele dl > div:nth-child(2) { padding-top: 0; }
  .lc__tele dl > div:nth-child(4) { border-bottom: 0; }
  .lc__tele dl > div:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.07); padding-top: 0.5em; }
  .lc__tele dd { font-size: 1.1em; }
  .lc__log { order: 3; width: 100%; }
  .lc__lines { height: 7.6em; }
  .lc__line:nth-last-child(n+5) { display: none; }
  .lc__bottom { grid-template-columns: minmax(0, 1fr) auto; }
  .lc__load { grid-column: 1 / -1; padding: 0.85em 1.2em; gap: 0.9em; letter-spacing: 0.14em; }
  .lc__skip { grid-column: 2; justify-self: end; }
  .lc__sound { grid-column: 1; justify-self: start; }
  .lc__erde { translate: -50% 84vh; }
  .lc__glanz { translate: -50% calc(84vh - 50%); width: 120vw; height: 22vw; }
  .lc.is-live .lc__erde { translate: -50% 93vh; }
  .lc.is-live .lc__glanz { translate: -50% calc(93vh - 50%); }

  .lc__start-box { padding-left: 0.9rem; padding-right: 0.9rem; }
  .lc__langs { max-width: none; border-radius: 26px; gap: 0.25rem; padding: 0.35rem; }
  .lc__lang { font-size: 0.86rem; padding: 0.4em 0.8em 0.4em 0.4em; gap: 0.45em; }
  .lc__start-s { min-height: 0; }
  .lc__start-row { width: 100%; }
  .lc__go { flex: 1 1 14em; }
}
/* Niedrige Hochkant-Bildschirme (Handy mit eingeblendeter Adressleiste): alles etwas knapper */
@media (orientation: portrait) and (max-height: 720px) {
  .lc__scope { width: min(68vw, 32vh); }
  .lc__h { display: none; }
  .lc__lines { height: 5.6em; }
  .lc__line:nth-last-child(n+4) { display: none; }
  .lc__start-logo { width: 52px; }
  .lc__go { min-height: 3.1em; }
}

@media (prefers-reduced-motion: reduce) {
  .lc__start-box > *, .lc__eq i, .lc__go--on, .lc__glanz, .lc__live, .lc__sound::before { animation: none; }
  .lc__erde, .lc__glanz, .lc__top, .lc__body > *, .lc__bottom { transition-duration: 0.01s; }
}

/* ==========================================================================
   Film-Ebene
   ========================================================================== */
.film { position: absolute; inset: 0; color: #fff; opacity: 0; transition: opacity 0.9s ease; overflow: hidden; }
.film.is-in { opacity: 1; }
.film.is-out { opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.film.is-card { pointer-events: auto; cursor: pointer; }

.film__bar { position: absolute; left: 0; right: 0; height: 0; background: #000; }
.film__bar--top { top: 0; }
.film__bar--bottom { bottom: 0; }

.film__line {
  position: absolute; left: 50%; top: 73%; translate: -50% -50%;
  width: min(92vw, 1180px); margin: 0;
  text-align: center; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.1rem, 2.8vw, 2.5rem); line-height: 1.35; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.95), 0 0 70px rgba(0, 0, 0, 0.7);
  opacity: 0; will-change: transform, opacity, filter;
}
.film__line b { font-weight: 600; color: #fff; }
.film__line i { font-style: normal; color: var(--ld-red); }
.film__line em { font-style: normal; font-weight: 500; color: var(--ld-red-glow); }
.film__line--now {
  top: 50%; font-weight: 800; font-size: clamp(3.6rem, 14vw, 12rem); line-height: 1;
  color: #fff; text-shadow: 0 0 90px rgba(228, 28, 34, 0.5), 0 6px 44px rgba(0, 0, 0, 0.9);
}
.film__line--title {
  top: 44%; text-transform: none;
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(2.1rem, 6.4vw, 6rem); line-height: 1.08;
  color: #fff;
}
.film__line--title span, .film__sub span { display: inline-block; }
.film__line--title span + span { font-weight: 600; }

.film__geo { position: absolute; inset: 0; }
.film__mark {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap;
  translate: 12px -50%;
  font-family: var(--font-mono); font-size: clamp(0.55rem, 0.5rem + 0.2vw, 0.72rem);
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 10px #000, 0 0 3px #000;
  will-change: transform, opacity;
}
.film__mark--home { translate: -100% -100%; padding: 0 12px 2.6em 0; border-left: 0; border-right: 1px solid rgba(255, 255, 255, 0.6); text-align: right; color: #fff; }
/* Die Ortsmarke soll man lesen können: größer, kräftiger, mit dunklem Hof gegen die hellen Lichtbögen */
.film__mark--home { font-size: clamp(0.68rem, 0.58rem + 0.42vw, 1rem); border-right-color: rgba(255, 255, 255, 0.9); text-shadow: 0 0 14px #000, 0 0 6px #000, 0 1px 2px #000; }
.film__mark--home b { display: block; font-weight: 700; letter-spacing: 0.22em; color: #fff; font-size: 1.12em; }
.film__mark--home span { display: block; margin-top: 0.4em; color: rgba(255, 255, 255, 0.92); letter-spacing: 0.16em; }

.film__card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: clamp(8px, 1.8vh, 20px); padding: 14vh 6vw;
  background: radial-gradient(ellipse 62% 56% at 50% 46%, rgba(3, 3, 6, 0.8), rgba(3, 3, 6, 0) 72%);
  opacity: 0;
}
.film__card[hidden] { display: none; }
/* Logo: PNG mit fertigen runden Ecken – nie beschneiden, nie runden, kein Filter. */
.film__logo { width: clamp(96px, 13vw, 170px); height: auto; }
.film__tagline { margin: 0.25em 0 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 4.4vw, 3.7rem); letter-spacing: 0.05em; line-height: 1.1; }
.film__tagline i, .film__sub i { font-style: normal; color: var(--ld-red); }
.film__sub { margin: 0; font-family: var(--font-mono); font-size: clamp(0.6rem, 0.52rem + 0.32vw, 0.88rem); letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.64); }
.film__enter {
  margin-top: clamp(14px, 3.2vh, 36px);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(0.82rem, 0.76rem + 0.3vw, 1.05rem);
  letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  background: var(--ld-red); border: 0; padding: 1.1em 2.2em; cursor: pointer; pointer-events: auto;
  animation: film-pulse 2.4s ease-out infinite;
  transition: background 0.2s ease, transform 0.2s ease;
}
.film__enter:hover { background: var(--ld-red-glow); transform: translateY(-1px); }
@keyframes film-pulse { 0% { box-shadow: 0 0 0 0 rgba(228, 28, 34, 0.55); } 100% { box-shadow: 0 0 0 22px rgba(228, 28, 34, 0); } }

.film__ctl { position: absolute; right: clamp(12px, 2.4vw, 36px); bottom: clamp(16px, 3.4vh, 36px); z-index: 2; display: flex; gap: 0.6em; }
.film__sound[hidden] { display: none; }
.film.is-card .film__skip { display: none; }
.film__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 255, 255, 0.08); }
.film__progress i { display: block; height: 100%; background: var(--ld-red); transform-origin: left; transform: scaleX(0); }

@media (max-width: 640px) {
  .film__line { top: 70%; }
  .film__line--now { top: 50%; }
  .film__line--title { top: 42%; }
  .film__line--title span { display: block; }
  .film__mark:not(.film__mark--home) { display: none; }
  .film__sub span { display: block; }
  .film__sub span + span { margin-top: 0.5em; }
}
