/* Website von excon-trading.de: Landingpage mit Film, Mission (Artikel) und Login — auf Englisch und Deutsch.
   Nachtschicht-Palette der Marke, Pixelschrift (Jersey 10, Silkscreen) für Titel und Beschriftungen, IBM Plex für Text.
   Kein Inline-Stil, kein Inline-Skript: die Seiten laufen unter einer strengen Content-Security-Policy.
   Silkscreen hat kein Minus, kein Prozent- und kein Dollarzeichen — dort nur Wörter und Ziffern. */
:root {
  color-scheme: dark;
  --ink: #04050b;
  --night: #0a0c19;
  --night-2: #0f1226;
  --deck: #14182e;
  --deck-2: #1b2040;
  --line: rgba(150, 172, 255, 0.12);
  --line-2: rgba(150, 172, 255, 0.24);
  --text: #eef1f8;
  --text-2: #a9b3ca;
  --text-3: #6d7793;
  --gold: #ffcd75;
  --gold-2: #f6c453;
  --sky: #73c0ff;
  --blue: #41a6f6;
  --violet: #9b7dff;
  --led-g: #5ee08a;
  --led-r: #ff6b7d;
  --pixel: "Jersey 10", "IBM Plex Sans", system-ui, sans-serif;
  --label: "Silkscreen", "IBM Plex Mono", ui-monospace, monospace;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty; /* kein Einzelwort allein in der letzten Zeile */
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; }
::selection { background: rgba(255, 205, 117, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-left)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 10, 22, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
/* Marke: das „E“ der Kachel ist der erste Buchstabe, dahinter steht nur „xcon“ — knapp daneben und auf der Unterkante
   des E (10 von 64 Einheiten über dem Kachelrand), damit sich „Excon“ liest. Zeilenhöhe 0: die Kachel bestimmt die Höhe. */
.brand { display: inline-block; flex: none; line-height: 0; white-space: nowrap; text-decoration: none; }
.brand-mark { display: inline-block; width: 30px; height: 30px; margin-right: 4px; vertical-align: -4.6875px; }
.brand-word { font: 400 25px/0 var(--pixel); letter-spacing: 0.02em; white-space: nowrap; }
.brand-word span { color: var(--text-2); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font: 400 11px/1 var(--label);
  letter-spacing: 0.16em;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(255, 205, 117, 0.35);
  border-radius: 999px;
  background: rgba(255, 205, 117, 0.07);
  font: 400 10.5px/1 var(--label);
  letter-spacing: 0.14em;
  color: var(--gold);
  white-space: nowrap;
}
.chip i { width: 7px; height: 7px; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* Sprachumschalter EN · DE: unauffällig, aber immer an derselben Stelle — ganz rechts in der Kopfleiste, im Login oben
   in der Karte. Die gewählte Sprache leuchtet golden wie eine LED. */
.lang-wrap { position: relative; flex: none; }
.lang { display: flex; height: 30px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang a {
  display: grid;
  place-items: center;
  min-width: 36px;
  padding: 0 9px 0 calc(9px + 0.14em); /* die Laufweite hängt rechts an — links ausgleichen */
  font: 400 10.5px/1 var(--label);
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.lang a + a { border-left: 1px solid var(--line-2); }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { color: var(--gold); text-shadow: 0 0 10px rgba(255, 205, 117, 0.55); }

/* Hinweis beim ersten Besuch: eine Sprechblase mit Pixelrand, die auf den Umschalter zeigt */
.lang-hint {
  --rim: rgba(255, 205, 117, 0.7);
  position: absolute;
  top: calc(100% + 17px);
  right: -3px;
  z-index: 5;
  width: min(290px, calc(100vw - 32px));
  padding: 15px 16px 16px;
  background: #11142c;
  box-shadow: 0 -3px 0 0 var(--rim), 0 3px 0 0 var(--rim), -3px 0 0 0 var(--rim), 3px 0 0 0 var(--rim), 0 22px 60px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.45s var(--ease);
}
.lang-hint.on { opacity: 1; transform: none; }
.lang-hint-tail { position: absolute; top: -12px; right: 11px; width: 21px; height: 12px; } /* letzte Reihe öffnet den Rand */
.lang-hint-tail .o { fill: var(--rim); }
.lang-hint-tail .i { fill: #11142c; }
.lang-hint-text { margin: 0 0 13px; color: var(--text); font-size: 14.5px; line-height: 1.45; }
.lang-hint-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-hint-actions a, .lang-hint-actions button {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font: 600 13.5px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.lang-hint-yes { color: #0b0d18; background: linear-gradient(180deg, #ffe0a3, var(--gold) 55%, #f2b44f); }
.lang-hint-yes:hover { background: linear-gradient(180deg, #ffe8b8, #ffd68c 55%, #f6c062); }
.lang-hint-no { color: var(--text-2); background: transparent; border: 1px solid var(--line-2); }
.lang-hint-no:hover { color: var(--text); border-color: rgba(150, 172, 255, 0.45); }
/* im Login unter Marke und Umschalter im Fluss, der Pfeil zeigt weiter auf DE: als schwebende Blase verdeckte er am PC
   die halbe Überschrift „Sign in“, auf dem iPhone SE die ganze */
.login-top { flex-wrap: wrap; }
.login-top .lang-wrap { display: contents; }
.login-top .lang-hint { position: relative; top: auto; right: auto; order: 3; flex: 1 1 100%; width: auto; margin-top: 18px; }

/* ------------------------------------------------------------------ Knöpfe */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font: 600 15.5px/1 var(--font);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  color: #0b0d18;
  background: linear-gradient(180deg, #ffe0a3, var(--gold) 55%, #f2b44f);
  box-shadow: 0 0 0 1px rgba(255, 220, 160, 0.5) inset, 0 10px 34px rgba(255, 190, 90, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 230, 180, 0.7) inset, 0 16px 44px rgba(255, 190, 90, 0.34); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(150, 172, 255, 0.45); background: rgba(150, 172, 255, 0.06); }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(136px + env(safe-area-inset-top)) 0 64px; overflow: hidden; isolation: isolate; }
.sky, .aurora, .dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky { width: 100%; height: 100%; }
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.aurora::before { left: -18vmax; top: -30vmax; background: radial-gradient(circle, rgba(65, 120, 246, 0.42), transparent 62%); animation: drift-a 22s ease-in-out infinite alternate; }
.aurora::after { right: -22vmax; top: -14vmax; background: radial-gradient(circle, rgba(155, 125, 255, 0.30), transparent 60%); animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(14vmax, 8vmax) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-12vmax, 10vmax) scale(0.92); } }
/* Punktraster wie auf der LED-Tafel, zur Mitte hin sichtbar */
.dots {
  background-image: radial-gradient(rgba(170, 190, 255, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 38%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 38%, #000 10%, transparent 75%);
}
.hero-copy { position: relative; text-align: center; }
.hero-eyebrow { display: flex; justify-content: center; margin-bottom: 30px; }
.hero-title {
  margin: 0 auto;
  font: 400 clamp(64px, 11.5vw, 172px)/0.84 var(--pixel);
  letter-spacing: 0.005em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); }
.ready .hero-title .line > span { transform: none; transition: transform 1s var(--ease); }
.ready .hero-title .line:nth-child(2) > span { transition-delay: 0.12s; }
/* das goldene Pixel aus dem Logo als blinkender Cursor */
.cursor {
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  margin-left: 0.08em;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(255, 205, 117, 0.8);
  vertical-align: 0.06em;
  animation: blink 1.1s steps(1) infinite;
}
.hero-sub {
  max-width: 680px;
  margin: 34px auto 0;
  color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  text-wrap: balance;
}
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.fade-up { opacity: 0; transform: translateY(16px); }
.ready .fade-up { opacity: 1; transform: none; transition: opacity 0.9s ease, transform 0.9s var(--ease); }
.ready .fade-up.d1 { transition-delay: 0.25s; }
.ready .fade-up.d2 { transition-delay: 0.4s; }
.ready .fade-up.d3 { transition-delay: 0.55s; }

/* Release-Abteil „New Atropos“ im Hero, wo bis 24.10.2026 das gezeichnete Logo stand: dunkle Karte mit Glut, links
   Überschrift mit Version, rechts das Logo als Videoschleife (site/media/atropos-logo.*), unten die Versionen auf einem
   Zeitstrahl. Video und Glimmen laufen nur mit der Klasse live (Abteil zu sehen); bei weniger Bewegung und ohne
   JavaScript bleibt das Standbild stehen. */
.nx {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: "head logo" "body logo" "versions versions";
  column-gap: clamp(28px, 4vw, 56px);
  max-width: 1100px;
  margin: 72px auto 0;
  padding: clamp(30px, 5vw, 60px) clamp(22px, 5vw, 60px) clamp(28px, 4vw, 46px);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  border: 1px solid rgba(255, 90, 50, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 55% 70% at 76% 42%, rgba(255, 70, 25, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 50% at 8% 112%, rgba(255, 40, 20, 0.14), transparent 70%),
    linear-gradient(180deg, #0b0405, #050203);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 150, 100, 0.08);
}
.nx::before { /* Punktraster wie im Hero, in Glut getaucht */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 110, 70, 0.12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 10%, transparent 70%);
  pointer-events: none;
}
.nx-head { grid-area: head; align-self: end; }
.nx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font: 400 11px/1 var(--label);
  letter-spacing: 0.22em;
  color: #ff9a74;
}
.nx-kicker i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ff4a24; box-shadow: 0 0 10px #ff4a24; }
.nx-kicker i::after { /* Funkring: das Release ist live */
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(255, 74, 36, 0.7);
  border-radius: 50%;
  opacity: 0;
}
.nx.live .nx-kicker i::after { animation: nx-funk 2s ease-out infinite; }
@keyframes nx-funk { from { opacity: 1; transform: scale(0.6); } to { opacity: 0; transform: scale(2.4); } }
.nx-title { margin: 22px 0 0; font: 400 clamp(68px, 9.6vw, 136px)/0.84 var(--pixel); letter-spacing: 0.005em; }
.nx-name {
  display: inline-block;
  padding-bottom: 0.04em;
  background: linear-gradient(180deg, #ffffff 8%, #ffe2cc 40%, #ff9a5a 72%, #ff4a24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 80, 30, 0.35));
}
.nx-badge { /* die Version, im Titel verankert */
  display: inline-block;
  margin-left: 0.2em;
  padding: 0.16em 0.32em 0.1em;
  border: 1px solid rgba(255, 130, 90, 0.55);
  border-radius: 0.24em;
  background: rgba(255, 70, 30, 0.12);
  box-shadow: inset 0 0 24px rgba(255, 70, 30, 0.25), 0 0 26px rgba(255, 70, 30, 0.18);
  font-size: 0.3em;
  line-height: 1;
  color: #ffb48f;
}
.nx-logo { grid-area: logo; position: relative; justify-self: center; align-self: center; width: min(100%, 460px); aspect-ratio: 1; margin: 0; }
.nx-logo::before { /* Glut hinter dem Logo */
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 80, 30, 0.42), transparent 66%);
  filter: blur(28px);
  opacity: 0.8;
}
.nx.live .nx-logo::before { animation: nx-glut 3.3s ease-in-out infinite alternate; }
@keyframes nx-glut { from { opacity: 0.6; transform: scale(0.94); } to { opacity: 1; transform: scale(1.06); } }
.nx-video { /* schwarzer Videogrund läuft weich in die Karte aus — kein Bildrand */
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 50%, rgba(0, 0, 0, 0.55) 74%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 50%, rgba(0, 0, 0, 0.55) 74%, transparent 100%);
}
.nx-body { grid-area: body; align-self: start; }
.nx-sub { max-width: 470px; margin: 24px 0 0; color: var(--text-2); font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; text-wrap: pretty; }
.nx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.nx-btn {
  color: #1c0604;
  background: linear-gradient(180deg, #ffb08a, #ff6a3a 55%, #e2361a);
  box-shadow: 0 0 0 1px rgba(255, 190, 150, 0.45) inset, 0 12px 36px rgba(255, 80, 30, 0.32);
}
.nx-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 210, 180, 0.6) inset, 0 18px 46px rgba(255, 80, 30, 0.45); }
.nx-status { /* zwei Teile, die als Ganzes umbrechen — nie ein einsamer Punkt am Zeilenende */
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 1.4em;
  font: 400 10.5px/1.4 var(--label);
  letter-spacing: 0.14em;
  color: rgba(255, 130, 105, 0.66);
}
/* Versionen auf einem Zeitstrahl, der zur neuesten hin aufglimmt */
.nx-versions {
  grid-area: versions;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 46px 0 0;
  padding: 30px 0 0;
  list-style: none;
}
.nx-versions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 110, 70, 0.12), rgba(255, 110, 70, 0.3) 60%, #ff5a2a);
}
.nx-versions li { position: relative; }
.nx-versions li::before { /* Punkt auf dem Zeitstrahl */
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a2016;
  box-shadow: 0 0 0 3px #090304;
}
.nx-versions .now::before { background: #ff5a2a; box-shadow: 0 0 0 3px #090304, 0 0 14px #ff5a2a; }
.nx-versions b { display: block; font: 400 34px/1 var(--pixel); color: #ffb48f; }
.nx-versions .now b { color: #ff6a3a; text-shadow: 0 0 18px rgba(255, 80, 30, 0.6); }
.nx-versions strong { display: block; margin-top: 8px; font: 600 15px/1.3 var(--font); color: var(--text); }
.nx-versions span { display: block; margin-top: 6px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.nx-versions em {
  position: absolute;
  top: 2px;
  right: 0;
  padding: 4px 7px 3px;
  border: 1px solid rgba(255, 110, 70, 0.45);
  border-radius: 6px;
  background: rgba(255, 74, 36, 0.16);
  font: 400 9.5px/1 var(--label);
  font-style: normal;
  letter-spacing: 0.16em;
  color: #ffb48f;
}

.stage-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 0 6px;
  font: 400 10.5px/1.4 var(--label);
  letter-spacing: 0.14em;
  color: var(--text-3);
}
.stage-caption b { color: var(--led-g); font-weight: 400; }

/* ------------------------------------------------------------------ Film */
/* Großer Player gleich nach dem Hero. Kein Autoplay: zu sehen ist das Standbild mit einer Abspieltaste im Pixelstil —
   die ganze Fläche ist klickbar; erst der Klick lädt das Video (preload="none") und startet es mit Bedienelementen. */
.film-stage { position: relative; max-width: 1100px; margin: 64px auto 0; }
.film-stage::before { /* warmes Licht hinter der Leinwand — die Bühne im Hero leuchtet blau */
  content: "";
  position: absolute;
  inset: 10% 5% -12%;
  background: radial-gradient(ellipse at center, rgba(255, 190, 90, 0.2), rgba(155, 125, 255, 0.14) 48%, transparent 72%);
  filter: blur(48px);
  z-index: -1;
}
.film-frame {
  position: relative;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 205, 117, 0.26), rgba(150, 172, 255, 0.1) 42%, rgba(150, 172, 255, 0.05));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 205, 117, 0.14) inset;
}
.film-screen { position: relative; overflow: hidden; border-radius: 12px; background: #05060d; }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #05060d; }
.film-video::cue { color: #f4f6fb; background: rgba(4, 5, 11, 0.8); font-family: "IBM Plex Sans", system-ui, sans-serif; }
.film-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: radial-gradient(ellipse 75% 75% at 50% 50%, rgba(5, 6, 13, 0.08), rgba(5, 6, 13, 0.6));
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: opacity 0.35s ease;
}
.film-play::after { /* Glanz und feine Zeilen wie auf dem Bildschirm der Bühne */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 38%), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.film-play.gone { opacity: 0; pointer-events: none; }
/* die Taste: Pixelrahmen mit ausgesparten Ecken, darin das Abspieldreieck aus Pixeln */
.film-key {
  --rim: var(--gold);
  --px: 4px;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  background: rgba(10, 12, 25, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 calc(-1 * var(--px)) 0 0 var(--rim), 0 var(--px) 0 0 var(--rim), calc(-1 * var(--px)) 0 0 0 var(--rim),
    var(--px) 0 0 0 var(--rim), 0 0 64px rgba(255, 205, 117, 0.3);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}
.film-key svg { width: 40px; height: 56px; translate: 6px 0; fill: var(--gold); filter: drop-shadow(0 0 14px rgba(255, 205, 117, 0.6)); transition: transform 0.25s var(--ease); }
.film-label { /* auf dunkler Pixelplakette — lesbar, egal was das Standbild an dieser Stelle zeigt */
  --plate: rgba(5, 6, 13, 0.74);
  padding: 9px 12px 9px calc(12px + 0.24em);
  background: var(--plate);
  box-shadow: 0 -2px 0 0 var(--plate), 0 2px 0 0 var(--plate), -2px 0 0 0 var(--plate), 2px 0 0 0 var(--plate);
  font: 400 12px/1 var(--label);
  letter-spacing: 0.24em;
  color: var(--text);
}
.film-key, .film-label { position: relative; z-index: 1; } /* über den Bildschirmzeilen, damit die Pixelkanten scharf bleiben */
.film-play:hover .film-key { background: rgba(255, 205, 117, 0.14); }
.film-play:hover .film-key svg { transform: translateX(3px); }
.film-play:active .film-key { transform: scale(0.97); }
.film-play:focus-visible { outline: none; }
.film-play:focus-visible .film-key { outline: 2px solid var(--gold); outline-offset: 12px; border-radius: 0; }
/* Film noch nicht fertig (data-film="bald"): Standbild mit Hinweis, ohne Abspieltaste und ohne Klick-Anmutung */
.film-stage[data-film="bald"] .film-play { cursor: default; }
.film-stage[data-film="bald"] .film-key { display: none; }

/* ------------------------------------------------------------------ LED-Laufband */
.led {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #06070f;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.led-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.led-track span {
  padding-right: 48px;
  font: 400 15px/1 var(--label);
  letter-spacing: 0.22em;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 205, 117, 0.55);
  white-space: nowrap;
}
.led-track span em { font-style: normal; color: var(--sky); text-shadow: 0 0 12px rgba(115, 192, 255, 0.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ Abschnitte */
.section { position: relative; padding: 120px 0; }
.section + .section { padding-top: 24px; }
.eyebrow { margin: 0 0 18px; font: 400 12px/1 var(--label); letter-spacing: 0.22em; color: var(--sky); }
.h2 { margin: 0; font: 400 clamp(46px, 6.4vw, 84px)/0.9 var(--pixel); letter-spacing: 0.005em; text-wrap: balance; }
.lede { max-width: 640px; margin: 22px 0 0; color: var(--text-2); font-size: 19px; line-height: 1.65; text-wrap: pretty; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Kennzahlen */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 19, 40, 0.5);
  overflow: hidden;
}
.stat { padding: 36px 30px 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font: 400 clamp(64px, 7vw, 104px)/0.85 var(--pixel); color: var(--text); font-variant-numeric: tabular-nums; }
.stat-num.gold { color: var(--gold); text-shadow: 0 0 30px rgba(255, 205, 117, 0.35); }
.stat-label { margin-top: 16px; font: 400 11px/1.5 var(--label); letter-spacing: 0.14em; color: var(--text-2); }

/* ------------------------------------------------------------------ Mission-Teaser */
.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 64px;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: radial-gradient(circle at 85% 20%, rgba(255, 205, 117, 0.12), transparent 45%),
    radial-gradient(circle at 10% 100%, rgba(65, 120, 246, 0.18), transparent 50%), var(--night-2);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.4s var(--ease);
}
.feature:hover { border-color: rgba(255, 205, 117, 0.4); transform: translateY(-4px); }
.feature-title { margin: 0; font: 400 clamp(44px, 5.4vw, 72px)/0.9 var(--pixel); text-wrap: balance; }
.feature-text { margin: 20px 0 30px; color: var(--text-2); font-size: 18px; line-height: 1.65; max-width: 520px; }
.feature-link { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 600; }
.feature-link svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.feature:hover .feature-link svg { transform: translateX(4px); }
/* rechts der Kopf von Atropos aus dem Bild im Artikel, in einer dunklen Kachel (das Bild läuft in #030102 aus) */
.feature-art {
  justify-self: center;
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 60, 40, 0.18);
  border-radius: 22px;
  background: #030102;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.feature-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.feature:hover .feature-art img { transform: scale(1.03); }

/* ------------------------------------------------------------------ Fuß */
.foot { position: relative; margin-top: 60px; padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ink); }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-claim { max-width: 380px; margin: 16px 0 0; color: var(--text-3); font-size: 14.5px; line-height: 1.6; }
.foot-links { display: flex; gap: 26px; }
.foot-top > .brand + .foot-links { align-self: center; } /* Startseite: nur die Marke links, ohne Satz darunter */
.foot-links a { font: 400 11px/1 var(--label); letter-spacing: 0.16em; color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
}
.foot-bottom p { margin: 0; max-width: 760px; }
/* bewusst unauffällig: der Zugang ist nichts für Besucher */
.quiet { color: #3f4762; font-size: 11.5px; text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s ease; }
.quiet:hover, .quiet:focus-visible { color: var(--text-2); }

/* ------------------------------------------------------------------ Artikel */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--sky)); }
.art-head { position: relative; padding: calc(150px + env(safe-area-inset-top)) 0 56px; overflow: hidden; isolation: isolate; }
/* das Polarlicht läuft nach unten weich aus, statt an der Kante des Kopfs abzureißen */
.art-head::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; z-index: -1; background: linear-gradient(rgba(10, 12, 25, 0), var(--night)); }
.art-head .dots { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 10%, transparent 75%); }
.art-col { max-width: 760px; margin: 0 auto; }
.art-title { margin: 0; font: 400 clamp(52px, 8vw, 104px)/0.86 var(--pixel); text-wrap: balance; }
.art-dek { margin: 28px 0 0; color: var(--text-2); font-size: clamp(19px, 2vw, 23px); line-height: 1.55; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 36px; color: var(--text-3); font-size: 14.5px; }
.byline img { width: 40px; height: 40px; }
.byline b { display: block; color: var(--text); font-weight: 500; }
.art-hero { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.art-frame {
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 70, 40, 0.2), rgba(255, 70, 40, 0.04));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 70, 40, 0.14) inset;
}
.art-frame img { display: block; width: 100%; height: auto; border-radius: 11px; background: #030102; }
.art-hero .stage-caption b { color: var(--led-r); }
.art-body { padding: 72px 0 40px; font-size: 19px; line-height: 1.8; color: #d8deec; }
.art-body p { margin: 0 0 26px; text-wrap: pretty; }
.art-body h2 { margin: 66px 0 22px; font: 400 44px/0.95 var(--pixel); color: var(--text); text-wrap: balance; }
.art-body strong { color: var(--text); font-weight: 600; }
.art-body .first::first-letter { float: left; margin: 0.1em 0.12em 0 0; font: 400 4.2em/0.72 var(--pixel); color: var(--gold); }
.quote {
  margin: 48px 0;
  padding: 6px 0 6px 28px;
  border-left: 4px solid var(--gold);
  font: 400 clamp(30px, 3.6vw, 40px)/1.05 var(--pixel);
  color: var(--text);
}
/* Formeln (MathML): echte Brüche und Hochzahlen, nummeriert, in einer ruhigen Kachel — zu breite Formeln scrollen in
   der Kachel, nie die Seite */
.art-body math { font-family: "Cambria Math", "STIX Two Math", "Latin Modern Math", math; }
.formel {
  position: relative;
  margin: 30px 0 32px;
  padding: 22px 64px 22px 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(20, 24, 46, 0.55);
}
.formel math { font-size: 1.24em; color: var(--text); }
.formel-nr {
  position: absolute;
  top: 50%;
  right: 20px;
  translate: 0 -50%;
  font: 500 13px/1 var(--mono); /* in Silkscreen sahen die Klammern wie spitze Klammern aus */
  color: var(--text-3);
}
.callout { margin: 38px 0; padding: 24px 26px; border: 1px solid rgba(255, 205, 117, 0.3); border-radius: 16px; background: rgba(255, 205, 117, 0.06); font-size: 17px; line-height: 1.7; }
.callout p:last-child { margin-bottom: 0; }
.art-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.art-end small { color: var(--text-3); font-size: 13.5px; }

/* ------------------------------------------------------------------ Login */
.login-page { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: max(28px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom)); position: relative; isolation: isolate; overflow: hidden; }
.login-page .dots { -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 45%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 55% 55% at 50% 45%, #000 10%, transparent 75%); }
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 34px 32px 28px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(27, 32, 64, 0.85), rgba(14, 17, 36, 0.92));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.login-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.login-brand { line-height: 0; white-space: nowrap; text-decoration: none; } /* „E“ + „xcon“ wie .brand */
.login-brand img { display: inline-block; width: 34px; height: 34px; margin-right: 4.5px; vertical-align: -5.3125px; }
.login-brand span { font: 400 27px/0 var(--pixel); }
.login-card h1 { margin: 30px 0 0; font: 400 46px/0.9 var(--pixel); }
.notice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  margin: 22px 0 6px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 107, 125, 0.55);
  border-radius: 12px;
  background: rgba(255, 107, 125, 0.1);
  color: #ffd3d8;
  font-size: 14.5px;
  line-height: 1.5;
}
.notice svg { width: 22px; height: 22px; margin-top: 1px; color: var(--led-r); }
.notice b { display: block; color: #ff8b98; font: 400 11px/1.4 var(--label); letter-spacing: 0.14em; margin-bottom: 4px; }
.field { display: block; margin-top: 18px; }
.field span { display: block; margin-bottom: 7px; color: var(--text-2); font-size: 13px; font-weight: 500; }
.input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(4, 5, 11, 0.55);
  color: var(--text);
  font: 500 16px var(--mono); /* ab 16 px vergrößert das iPhone beim Antippen nicht */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(115, 192, 255, 0.16); }
.err { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; color: #ff8b98; font-size: 14px; line-height: 1.5; }
.err::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; background: var(--led-r); box-shadow: 0 0 10px var(--led-r); }
.submit { width: 100%; justify-content: center; margin-top: 24px; border: 0; cursor: pointer; }
.submit:disabled { opacity: 0.7; cursor: progress; transform: none; }
.login-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; color: var(--text-3); font-size: 13px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; }
.back svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.back:hover { color: var(--text); }
.back:hover svg { transform: translateX(-3px); }
.ver { font: 400 10px/1 var(--label); letter-spacing: 0.14em; color: var(--text-3); }

/* iPhone-App vom Home-Bildschirm: Anmeldung ohne Karte, große Felder */
.app .login-page { place-items: start center; padding-top: max(64px, calc(env(safe-area-inset-top) + 44px)); }
.app .login-card { background: none; border: 0; box-shadow: none; padding: 0 6px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.app .input { height: 54px; font: 400 17px var(--font); }
.app .submit { height: 54px; font-size: 17px; border-radius: 14px; }
.app .back { display: none; } /* in der App gibt es keine Website, zu der es zurückginge */
.app .login-foot { justify-content: center; }

/* ------------------------------------------------------------------ schmale Bildschirme */
/* Bereiche, PRE-ALPHA und EN · DE nebeneinander erst ab 860 px — darunter nur Marke, Chip, Sprache */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .chip { margin-left: auto; }
}
@media (max-width: 900px) {
  /* New Atropos: Überschrift, Logo, Text untereinander und mittig; Versionen als Kacheln statt Zeitstrahl */
  .nx { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "logo" "body" "versions"; text-align: center; }
  .nx-head, .nx-body { align-self: auto; }
  .nx-logo { width: min(100%, 360px); margin: 18px auto 0; }
  .nx-sub { margin-left: auto; margin-right: auto; }
  .nx-cta, .nx-status { justify-content: center; }
  .nx-versions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; padding-top: 0; text-align: left; }
  .nx-versions::before, .nx-versions li::before { display: none; }
  .nx-versions li { padding: 14px 14px 13px; border: 1px solid rgba(255, 90, 50, 0.16); border-radius: 14px; background: rgba(255, 60, 30, 0.04); }
  .nx-versions .now { border-color: rgba(255, 110, 70, 0.5); background: rgba(255, 70, 30, 0.1); }
  .nx-versions em { top: 12px; right: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; padding: 44px 32px; }
  .feature-art { width: min(100%, 300px); }
}
@media (max-width: 720px) {
  .nav-in { gap: 10px; }
  .chip { padding: 6px 10px 6px 9px; font-size: 9.5px; }
  /* in der schmalen Kopfleiste nur die andere Sprache — ein Tipp wechselt */
  .nav .lang a[aria-current] { display: none; }
  .nav .lang a + a { border-left: 0; }
  .nav .lang a { color: var(--text-2); }
  .lang { height: 28px; }
  /* der Hinweis als schmaler Streifen über die ganze Breite: er deckt nur die Zeile über dem Titel, nie den Titel */
  .nav-in { position: relative; }
  .nav .lang-wrap { position: static; }
  .nav .lang-hint, .login-top .lang-hint {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; width: auto; padding: 9px 12px 10px;
    box-shadow: 0 -3px 0 0 var(--rim), 0 3px 0 0 var(--rim), -3px 0 0 0 var(--rim), 3px 0 0 0 var(--rim), 0 10px 24px rgba(0, 0, 0, 0.4);
  }
  .nav .lang-hint { top: calc(100% + 2px); left: 16px; right: 16px; }
  .nav .lang-hint-tail { right: 16px; }
  .lang-hint-text { flex: 1 1 auto; margin: 0; font-size: 13px; line-height: 1.3; }
  .lang-hint-actions a, .lang-hint-actions button { height: 28px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
  .brand-word { font-size: 23px; }
  .hero { padding-top: calc(118px + env(safe-area-inset-top)); }
  .hero-sub { margin-top: 26px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .nx { margin-top: 52px; border-radius: 22px; }
  .stage-caption { flex-direction: column; gap: 6px; text-align: center; }
  .film-stage { margin-top: 44px; }
  .film-frame { padding: 6px; border-radius: 14px; }
  .film-screen { border-radius: 9px; }
  .film-play { flex-direction: row; gap: 16px; } /* nebeneinander: die Bildfläche ist hier nur gut 180 px hoch */
  .film-key { --px: 3px; width: 72px; height: 72px; }
  .film-key svg { width: 30px; height: 42px; translate: 4px 0; }
  .film-label { font-size: 10.5px; padding: 8px 10px 8px calc(10px + 0.24em); }
  /* Browser rechnen die Untertitelgröße aus der Videohöhe — bei rund 180 px wären das 7 px, unlesbar */
  .film-video::cue { font-size: 15px; line-height: 1.3; }
  .section { padding: 96px 0; }
  .stat { padding: 28px 20px 24px; }
  .art-body { font-size: 18px; }
  .art-body h2 { font-size: 38px; }
  .art-frame { padding: 5px; border-radius: 14px; }
  .art-frame img { border-radius: 9px; }
  /* die Nummer rückt in die obere Ecke, damit die Formel die ganze Breite der Kachel hat */
  .formel { padding: 28px 14px 16px; }
  .formel math { font-size: 1.04em; }
  .formel-nr { top: 10px; right: 12px; translate: none; font-size: 11px; }
  .login-page { padding-top: max(18px, env(safe-area-inset-top)); place-items: start center; }
  .login-card { padding: 24px 18px 20px; border-radius: 18px; }
  .login-card h1 { margin-top: 22px; font-size: 40px; }
  .notice { margin-top: 16px; padding: 12px 14px; font-size: 14px; }
  .field { margin-top: 14px; }
  .input { height: 48px; }
  .submit { margin-top: 18px; }
  .login-foot { margin-top: 18px; }
}
@media (max-width: 480px) {
  /* nur „xcon“ hinter dem Zeichen: Mit „-trading.de“ schob der Name die Sprachwahl über den Rand (390 px) */
  .brand-word span { display: none; }
}
@media (max-width: 380px) {
  /* New Atropos auf schmalen Handys: Version bleibt neben „Atropos“, Kopfzeile in einer Zeile */
  .nx { padding: 26px 16px 22px; }
  .nx-title { font-size: 60px; }
  .nx-kicker { gap: 9px; font-size: 9.5px; letter-spacing: 0.14em; }
  .formel math { font-size: 0.88em; } /* 320 px: auch die längste Formel (6) passt ohne Scrollen */
  /* im Login ist der Hinweis um den Kartenrand schmaler als im Kopf: auf dem iPhone SE fehlten den beiden Knöpfen 2 px
     (224 statt 222 px), „English behalten“ rutschte in eine eigene Zeile — jetzt bleiben knapp 6 px Luft */
  .login-top .lang-hint { padding-left: 10px; padding-right: 10px; }
  .login-top .lang-hint-actions a, .login-top .lang-hint-actions button { padding: 0 9px; }
  .film-play { gap: 12px; }
  .film-key { width: 58px; height: 58px; }
  .film-key svg { width: 20px; height: 28px; translate: 3px 0; }
  .film-label { font-size: 9.5px; letter-spacing: 0.2em; padding: 7px 8px 7px calc(8px + 0.2em); }
}
@media (max-width: 340px) {
  .nx-versions { grid-template-columns: minmax(0, 1fr); } /* 320 px: die Versionen untereinander, sonst zu schmal */
  .chip-ver { display: none; } /* 320 px: Marke, PRE-ALPHA und Umschalter passen nur ohne Versionsnummer nebeneinander */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora::before, .aurora::after, .led-track, .cursor, .chip i { animation: none; }
  .lang-hint { transform: none; transition: opacity 0.2s linear; }
  .film-play, .film-key, .film-key svg { transition: none; }
  .film-play:hover .film-key svg { transform: none; }
  .hero-title .line > span, .fade-up, [data-reveal] { transform: none; opacity: 1; transition: none; }
  .nx.live .nx-kicker i::after, .nx.live .nx-logo::before { animation: none; }
}
