/* ECLIPSE · page-index.css  (gehört nur der Startseite; README: Seiten-Besitz, Präfix idx-)
   Die Startseite übersetzt open2077.net (REFERENZ-open2077.md): Hero als Titelkarte, Triptychon, EINE horizontale
   Fahrt durch drei Kapitel, Abschluss mit Discord und Kurs, dann der Footer.
   Typografie nach README 1b (Stand 2026-11-07): Titel Cinzel aufrecht im Metallverlauf (ec-metal, ec-xl), Etiketten
   Oswald, Text Open Sans. Kein Kursiv, keine Breitenachse, keine negative Laufweite, keine Text-Kontur,
   Umrisse nur über text-shadow: var(--ring). Sauberer Text (README 1b): jedes Wort steht ganz und frei.
   Bewegung: nur transform und opacity (page-index.js, CSS-Keyframes beim Laden). ec-Bausteine werden nicht
   umgestylt; gesetzt werden Tokens (--xl, --pc-h, --cut-w, --term-w) und eigene idx-Elemente. Zwei seitenlokale
   Ausnahmen, nur auf dieser Seite (als Wunsch für ec.css gemeldet): im Stapel ist das Kapitelbild höchstens 115svh
   hoch, und im Fahrt-Modus ist das Bild des Gold-Kapitels ausgeblendet, weil dort die Szene selbst der Hintergrund ist.

   Ebenen der Seite: main ist ein eigener Stapelkontext. Im Fahrt-Modus hängt page-index.js die Szene als feste
   Ebene (ec-scene--fixed, z -1) an den Anfang von main: Sie liegt hinter Hero, Gold-Kapitel und Abschluss.
   Kapitel 1 und 2 decken sie mit ihren Bildern ab (dann pausiert sie). */

.idx-main { position: relative; z-index: 0; }

/* ================================================================ Hero: Titelkarte (Intro der Fahrt)
   Aufbau: .idx-hero__stage (Spalte) = .idx-hero__ring (Quadrat, darauf liegt die Shader-Scheibe) + .idx-claim.
   Die Größen kommen nur aus CSS (--disc-d), page-index.js liest den Ring und setzt Mitte und Radius der Szene. */
.idx-hero {
  --hero-top: calc(var(--nav-h) + 10px);
  --cta-zone: calc(66px + max(5vh, 24px) + 16px);
  --claim-fs: clamp(2.25rem, min(9.2vw, 11svh), 9.5rem);   /* „Wähl deine Seite“ ist 9,7em breit */
  --claim-gap: clamp(12px, 2.6svh, 36px);
  --disc-d: clamp(340px, calc(100svh - var(--hero-top) - var(--cta-zone) - var(--claim-fs) * 1.08 - var(--claim-gap) - 10px), 52vw);
  grid-template-columns: minmax(0, 1fr);   /* Spalte = Bildbreite, auch wenn der Ring (Handy) breiter ist */
  align-content: center;
  padding: var(--hero-top) 0 var(--cta-zone);
}
.idx-hero .ec-scene__plate > img { --plate-focus: 50% 42%; }

/* Fraktionslicht links (Republik) und rechts (Imperium): statische Verläufe, die Maus ändert nur opacity */
.idx-hero__light { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.idx-hero__glow { position: absolute; bottom: -24vh; width: min(70vw, 1100px); aspect-ratio: 1; opacity: .85; will-change: opacity; }
.idx-hero__glow--rep { left: -30vw; background: radial-gradient(closest-side, rgb(47 139 255 / .30), rgb(47 139 255 / .11) 48%, rgb(47 139 255 / 0) 72%); }
.idx-hero__glow--sith { right: -30vw; background: radial-gradient(closest-side, rgb(255 51 64 / .27), rgb(255 51 64 / .10) 48%, rgb(255 51 64 / 0) 72%); }

.idx-hero__stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;          /* breiter als das Bild (Handy): mittig nach beiden Seiten */
  gap: var(--claim-gap);
  width: 100%;
}
.idx-hero__ring {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--disc-d);
  aspect-ratio: 1;
}
/* Ersatz-Scheibe, solange keine Szene gezeichnet ist (kein JS, kein WebGL, erste Millisekunden): dunkle Kugel mit
   goldenem Saum über dem Standbild, damit der Text immer auf Schwarz steht */
.idx-hero__ring::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #040509 0%, #05060b 88%, #0b0a0c 97%, rgb(255 214 150 / .55) 99.2%, rgb(255 214 150 / 0) 100%);
  box-shadow: 0 0 70px 6px rgb(255 160 60 / .2);
  pointer-events: none;
  transition: opacity .6s linear;
}
.idx-hero.is-lit .idx-hero__ring::before { opacity: 0; }

.idx-hero__content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: clamp(12px, calc(var(--disc-d) * .03), 26px);
  width: min(calc(var(--disc-d) * .84), 100vw - 2 * var(--gutter));
  will-change: transform, opacity;
}
.idx-hero .ec-hero__word { width: min(calc(var(--disc-d) * .78), 816px, 100vw - 2 * var(--gutter)); }
.idx-hero__title { position: relative; }
.idx-hero__lead { max-width: 25em; font-size: clamp(.9375rem, calc(var(--disc-d) * .027), 1.3125rem); line-height: 1.5; text-wrap: balance; }
.idx-hero__accent { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; }
/* Launcher-Knopf unter dem Status (Wunsch Betreiber 10.11.) */
.idx-hero__accent:has(.idx-hero__launcher) { flex-direction: column; gap: 14px; }

/* Zündung: waagerechter Lichtstrich durch die Wortmarke (CSS beim Laden, transform und opacity) */
.idx-hero__flare {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(160vw, 2600px);
  height: 160px;
  translate: -50% -50%;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(50% 1.5px at 50% 50%, rgb(255 248 230 / .95), rgb(255 248 230 / 0)),
    radial-gradient(22% 7px at 50% 50%, rgb(255 210 140 / .55), rgb(255 210 140 / 0)),
    radial-gradient(34% 42% at 50% 50%, rgb(255 170 70 / .2), rgb(255 170 70 / 0) 70%);
}

/* Schiffe links und rechts an der Scheibe, im Licht ihrer Seite, sie schauen zur Finsternis. Sie liegen unter dem
   Text (z 1 gegen 3) und reichen nie unter die Losung. */
.idx-ship { position: absolute; z-index: 1; bottom: 1%; width: min(calc(var(--disc-d) * 1.12), 46vw); pointer-events: none; will-change: transform; }
.idx-ship--rep { right: calc(100% - var(--disc-d) * .13); }
.idx-ship--sith { left: calc(100% - var(--disc-d) * .13); }
.idx-ship .ec-cutout { --cut-w: 100%; }

/* Die Losung: drei Worte in den Metallen der drei Seiten (Reihenfolge wie Triptychon und Fahrt: Blau, Rot, Gold).
   Außen bewegt page-index.js (Fahrt), innen läuft der Auftritt (CSS) und liegt der Metallverlauf. */
.idx-claim {
  position: relative;
  z-index: 3;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: var(--claim-fs);
  line-height: 1.04;
  letter-spacing: var(--track-title);
  white-space: nowrap;
  text-align: center;
  overflow-wrap: normal;
}
.idx-claim__w, .idx-claim__in { display: inline-block; }
.idx-claim__w { will-change: transform, opacity; }

.idx-hero__ctas {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: max(5vh, 24px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
  will-change: transform, opacity;
}
.idx-hero__ctas > * { pointer-events: auto; }

/* Niedrige Desktop-Fenster: kleinere CTAs, mehr Platz für Scheibe und Losung */
@media (min-width: 900px) and (max-height: 800px) {
  .idx-hero { --cta-zone: calc(58px + max(4vh, 20px) + 12px); }
  .idx-hero__ctas { bottom: max(4vh, 20px); }
  .idx-hero__ctas .ec-cta { --cta-h: 58px; }
}

/* Ohne JS steht unter 1200px das Menü als Zeile unter der Leiste (ec.css): der Hero beginnt darunter */
@media (max-width: 1199.98px) { html:not(.js) .idx-hero { --hero-top: calc(var(--nav-h) + 52px); } }
@media (max-width: 599.98px) { html:not(.js) .idx-hero { --hero-top: calc(var(--nav-h) + 96px); } }

/* ================================================================ Kapitel (Fahrt und Stapel) */
.idx-ch { --pc-h: clamp(186px, 28svh, 288px); }
.idx-edge { opacity: .85; }

/* Kopf je Kapitel: Riesen-Headline (ec-xl, Metall der Kapitelfarbe), Absatz, Streifen-CTA und Umriss-CTA */
.idx-head { --xl: clamp(2.6rem, .3rem + 7.2vw, 7.75rem); gap: clamp(16px, 2.6vh, 30px); }
.idx-ch--gold .idx-head { --xl: clamp(2.4rem, .2rem + 6.4vw, 7rem); }
.idx-head__title { position: relative; }
.idx-head__lead { max-width: 30em; }
.idx-head__ctas { --row: var(--s-4); }
.idx-journey.is-rail .idx-head__title .ec-xl__l { will-change: transform; }

/* Schiffe der Kapitel fliegen HINTER Köpfen, Karten und Terminals vorbei (nie über Text) */
.idx-chship { z-index: 0; }
.idx-ch > .ec-chapter__block:not(.idx-chship) { z-index: 1; }
.idx-chship .ec-cutout { --cut-w: 100%; }

/* Himmelskörper je Kapitel (dritte Tiefe): hinter allen Blöcken, vor dem Kapitelbild. Lage so gewählt, dass sie
   mit ihrer Tiefe (data-depth) nur hinter Bildern und Karten vorbeiziehen, nie hinter freiem Text, und nicht ins
   Nachbarkapitel laufen (Republik: oben über den Karten, Imperium und Neutrale: im oberen Band über den Karten). */
.idx-planet { z-index: -1; }
.idx-planet__in, .idx-planet picture, .idx-planet img { display: block; width: 100%; height: auto; }
.idx-planet--rep { --x: 50%; --y: 27%; --w: min(22vw, 40svh); }
.idx-planet--sith { --x: 83%; --y: 13%; --w: min(13vw, 24svh); }
.idx-planet--gold { --x: 45%; --y: 15%; --w: min(19vw, 34svh); }

/* Karten-Paar (Imperium): diagonal fallend */
.idx-pair { display: grid; gap: clamp(20px, 4vh, 44px); align-content: center; }
.idx-pair > .ec-pcard { width: 84%; }
.idx-pair > .ec-pcard:nth-child(2) { margin-left: 16%; }

/* Karten-Duo (Neutrale): nebeneinander, die zweite tiefer */
.idx-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 4.4vw, 80px); align-items: start; }
.idx-duo > .ec-pcard { width: 100%; }
.idx-duo > .ec-pcard:nth-child(2) { margin-top: clamp(70px, 20svh, 210px); }

/* Lichtstreif beim Überfahren der Karten (eigene Ebene im schrägen Rahmen, über dem Bild, unter dem Text) */
.idx-sheen {
  position: absolute;
  z-index: 1;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / .14) 50%, rgb(255 255 255 / 0));
  transform: translateX(-130%);
  transition: transform .9s var(--ease-out);
}
.ec-pcard:hover .idx-sheen { transform: translateX(330%); }

/* Lichtschwert-Formen (Imperium): sieben Namen als Typo-Wand in Cinzel. Ohne JS stehen alle in Kapitelfarbe.
   Mit JS (.idx-forms--live) sind sie Umriss (text-shadow --ring) und die aktive Form leuchtet im Metall auf;
   darüber zündet ein Lichtschwert (Griff als Bild, Klinge per transform). */
.idx-forms { --forms-size: clamp(1.75rem, .7rem + 2.5vw, 3.4rem); display: grid; gap: clamp(14px, 2.4vh, 26px); align-content: center; }
.idx-forms__title { font-family: var(--font-body); font-size: var(--step-1); font-weight: 500; line-height: 1.35; color: var(--text); max-width: 22em; }
.idx-forms__list { list-style: none; padding: 0; display: grid; }
.idx-forms__item {
  position: relative;
  padding-left: calc(var(--i) * .38em);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: var(--forms-size);
  line-height: 1.12;
  letter-spacing: var(--track-title);
  white-space: nowrap;
}
.idx-forms__name { color: var(--chapter); text-shadow: var(--edge-sm); }
.idx-forms__lit { position: absolute; left: calc(var(--i) * .38em); top: 0; opacity: 0; transition: opacity .3s linear; }
.idx-forms--live .idx-forms__name { color: color-mix(in srgb, var(--chapter) 16%, #07050a); --ring-c: color-mix(in srgb, var(--chapter) 72%, transparent); text-shadow: var(--ring); }
.idx-forms--live .idx-forms__item.is-on .idx-forms__lit { opacity: 1; }
.idx-forms__text { color: var(--text-2); max-width: 30em; font-size: var(--step-0); }

.idx-saber {
  --hilt-w: clamp(132px, 10vw, 210px);
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, calc(var(--hilt-w) * 3.15));
  height: calc(var(--hilt-w) * .26);
}
.idx-saber__hilt { position: relative; z-index: 1; flex: none; display: block; width: var(--hilt-w); }
.idx-saber__hilt img { display: block; width: 100%; height: auto; }
/* Klinge: Bauteil ec-blade (ec.css) in Kapitelfarbe; zündet per scaleX von links, sobald das Schwert im Bild ist */
.idx-saber__blade {
  --blade: var(--chapter);
  --blade-h: clamp(10px, .9vw, 15px);
  left: calc(var(--hilt-w) - 6px);
  right: 0;
  top: 50%;
  margin-top: calc(var(--blade-h) / -2);
  transition: transform .26s cubic-bezier(.2, .9, .3, 1), opacity .1s linear;
}
.idx-saber--armed .idx-saber__blade { transform: scaleX(0); opacity: 0; }
.idx-saber--armed.is-lit .idx-saber__blade { transform: none; opacity: 1; }

/* Holonetz: Merkmale (ec-feature unverändert) mit Codex-Rendering rechts daneben und zwei Terminals */
.idx-holo { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 50fr); column-gap: clamp(36px, 4.4vw, 88px); align-items: center; }
.idx-holo__features { gap: clamp(16px, 2.8vh, 36px); }
.idx-feat { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(12px, 1.4vw, 24px); align-items: center; }
.idx-feat__img { display: block; height: clamp(60px, 9svh, 104px); }
.idx-feat__img img { display: block; width: auto; height: 100%; max-width: none; }
.idx-holo__terms { display: grid; gap: clamp(16px, 2.8vh, 30px); }
.idx-term { --term-w: min(100%, 610px); }
.idx-holo__terms > .idx-term:nth-child(2) { margin-left: 14%; }
.idx-term .ec-term__code { font-size: clamp(.75rem, .68rem + .22vw, .875rem); }

.idx-solo .ec-cta { white-space: nowrap; }

/* ================================================================ Fahrt (nur mit .is-rail, Desktop mit JS) */
.idx-journey.is-rail .idx-ch--rep { --chapter-gap: 6vw; }
.idx-journey.is-rail .idx-ch--sith { --chapter-gap: 6vw; }
.idx-journey.is-rail .idx-ch--gold { --chapter-gap: 6vw; }
.idx-journey.is-rail .idx-ch--gold > .ec-chapter__bg { visibility: hidden; }
/* Lichtkante am Eingang des Gold-Kapitels: Hier endet das Bild des Imperiums und die Live-Finsternis beginnt.
   Statt einer harten Bildkante eine glühende Naht (statischer Verlauf, bewegt sich nur mit der Fahrt) */
.idx-journey.is-rail .idx-ch--gold::before {
  content: ""; position: absolute; z-index: 0; left: -110px; top: 0; bottom: 0; width: 220px; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(255 200 40 / 0), rgb(255 170 60 / .14) 36%, rgb(255 226 173 / .7) 49.3%, #fff6e0 50%, rgb(255 226 173 / .7) 50.7%, rgb(255 170 60 / .14) 64%, rgb(255 200 40 / 0));
}
.idx-journey.is-rail .idx-chship--rep { align-self: flex-end; margin: 0 -4vw 2vh -30vw; }
.idx-journey.is-rail .idx-chship--sith { align-self: flex-start; margin: 0 -8vw 0 -17vw; }
.idx-journey.is-rail .idx-chship--gold { align-self: flex-start; margin: -2vh -10vw 0 -26vw; }
.idx-journey.is-rail .idx-solo { align-self: flex-end; margin: 0 0 13vh -2vw; }
.idx-journey.is-rail .idx-head { align-self: center; }
.idx-journey.is-rail .idx-chship .ec-cutout { will-change: transform; }

/* Bis page-index.js zwischen Fahrt und Stapel entschieden hat, bleibt das Triptychon unsichtbar: Im ersten Bild
   liegt es im Stapel direkt unter dem Hero an der Bildkante, sein Sprung in die Bühne zählte sonst als
   Layout-Verschiebung (CLS). Ohne JS gilt die Regel nicht (keine .js-Klasse); Sicherheitsnetz: nach 3 s sichtbar. */
html.js .idx-journey:not(.is-rail):not(.idx-stacked) > .ec-journey__stage > .ec-tri { visibility: hidden; animation: idx-unhide 0s linear 3s forwards; }
@keyframes idx-unhide { to { visibility: visible; } }

/* ================================================================ Stapel (Handy, reduzierte Bewegung, fx off, ohne JS) */
.idx-journey:not(.is-rail) .idx-edge { display: none; }
.idx-journey:not(.is-rail) .idx-ch > .ec-chapter__bg > picture { bottom: auto; height: min(100%, 115svh); }
.idx-ch__fade { display: none; }
.idx-journey:not(.is-rail) .idx-ch > .ec-chapter__bg > .idx-ch__fade { display: block; position: absolute; left: 0; right: 0; top: min(100%, 115svh); height: 100%; background: var(--void); }
.idx-journey:not(.is-rail) .idx-ch > .ec-chapter__bg > .idx-ch__fade::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 45svh; background: linear-gradient(180deg, rgb(4 5 10 / 0), var(--void)); }
.idx-journey:not(.is-rail) .idx-solo, .idx-journey:not(.is-rail) .idx-head { justify-items: start; }
/* Himmelskörper im Stapel: zwischen Kopf und Schiff (dort steht kein Text), rechts am Rand, das Schiff davor.
   Reihenfolge im Stapel: Kopf, Himmelskörper, dann alle übrigen Blöcke (flex order, nur hier). */
.idx-journey:not(.is-rail) .idx-ch > .idx-head { order: 0; }
.idx-journey:not(.is-rail) .idx-ch > .ec-chapter__block:not(.idx-head) { order: 2; }
.idx-journey:not(.is-rail) .idx-ch > .idx-planet {
  --pw: min(44vw, 340px);
  order: 1;
  position: relative;
  z-index: -1;
  align-self: flex-end;
  width: var(--pw);
  margin: calc(var(--s-5) * -1) -6vw calc(var(--pw) * -.62) 0;
}
.idx-journey:not(.is-rail) .idx-ch > .idx-planet--sith { --pw: min(34vw, 260px); }
.idx-journey:not(.is-rail) .idx-ch > .idx-planet--gold { --pw: min(54vw, 420px); }

/* ================================================================ Abschluss: Ankunft */
.idx-finale {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 112svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 6vh) 0 clamp(64px, 12vh, 140px);
}
.idx-finale__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.idx-finale__bg > picture, .idx-finale__bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 72% 40%; }
.idx-finale__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(4 5 10 / .88) 0%, rgb(4 5 10 / .62) 46%, rgb(4 5 10 / .2) 100%), linear-gradient(180deg, var(--void) 0%, rgb(4 5 10 / 0) 24%, rgb(4 5 10 / 0) 62%, var(--void) 100%); }
.idx-journey.is-rail ~ .idx-finale .idx-finale__bg { visibility: hidden; }
.idx-finale__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgb(4 5 10 / .72) 0%, rgb(4 5 10 / .38) 42%, rgb(4 5 10 / 0) 70%); }
.idx-journey:not(.is-rail) ~ .idx-finale .idx-finale__veil { display: none; }

/* weicher Übergang in den Footer (die feste Szene läuft sonst mit harter Kante aus) */
.idx-finale::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 34svh; background: linear-gradient(180deg, rgb(4 5 10 / 0), var(--void)); pointer-events: none; }
.idx-finale__inner { display: grid; gap: clamp(18px, 3vh, 32px); justify-items: start; }
.idx-finale__title { --xl: clamp(2.6rem, .2rem + 6vw, 7.5rem); position: relative; }
.idx-finale__lead { max-width: 30em; }
.idx-radio { display: grid; gap: 8px; max-width: 44em; padding-left: 18px; border-left: 1px solid color-mix(in srgb, var(--c-gold) 60%, transparent); }
.idx-radio__quote p { font-family: var(--font-mono); font-size: clamp(.875rem, .8rem + .25vw, 1rem); line-height: 1.55; color: var(--c-gold-hi); }
.idx-radio__cite { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.idx-finale__call { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Der Kurs: vier Wegpunkte auf einer Linie (Blau, Gold, Rot), die Linie zeichnet sich beim Scrollen (scaleX) */
.idx-route { position: relative; list-style: none; padding: 0; width: 100%; margin-top: clamp(20px, 5vh, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.idx-route::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.idx-route__line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--c-rep), var(--c-gold) 50%, var(--c-sith)); transform-origin: 0 50%; }
.idx-route__step { position: relative; display: grid; align-content: start; gap: 10px; padding-right: 8px; }
.idx-route__mark { display: block; width: 15px; height: 15px; margin-bottom: 8px; border: 1px solid var(--c-gold); background: var(--void); transform: rotate(45deg); }
.idx-route__verb { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.25rem, .9rem + .9vw, 1.875rem); line-height: 1.1; letter-spacing: var(--track-title); color: var(--text); text-shadow: var(--edge-sm); overflow-wrap: normal; }
.idx-route__text { color: var(--text-2); font-size: var(--step--1); line-height: 1.55; max-width: 26em; }
.idx-route__code { font-family: var(--font-mono); font-size: .9em; color: var(--c-gold-hi); }
.idx-route__link { justify-self: start; font-size: var(--step--1); }

/* ================================================================ Handy und schmale Fenster (Hochformat) */
@media (max-width: 899.98px) {
  /* Handy: Scheibe breiter als das Bild (sie darf am Rand angeschnitten sein, der Text steht in ihrer Mitte),
     darunter die Losung in zwei Zeilen, unten die beiden Streifen-CTAs. Schiffe oben an den Schultern der Scheibe. */
  .idx-hero {
    --hero-top: calc(var(--nav-h) + 4px);
    --cta-zone: calc(2 * 56px + 12px + max(4vh, 24px) + 12px);
    --claim-fs: min(calc((100vw - 2 * var(--gutter)) / 6.7), 4.75rem);
    --claim-gap: 10px;
    --disc-d: clamp(300px, calc(100svh - var(--hero-top) - var(--cta-zone) - var(--claim-fs) * 2.16 - var(--claim-gap) - 6px), 124vw);
  }
  .idx-claim { white-space: normal; width: calc(100vw - 2 * var(--gutter)); }
  .idx-ship { bottom: auto; top: 1%; width: min(calc(var(--disc-d) * .52), 460px); }
  .idx-ship--rep { right: auto; left: calc((var(--disc-d) - 100vw) / 2 - 11vw); }
  .idx-ship--sith { left: auto; right: calc((var(--disc-d) - 100vw) / 2 - 11vw); }
  .idx-hero__glow { bottom: auto; top: 0; width: 110vw; }
  .idx-hero__glow--rep { left: -60vw; }
  .idx-hero__glow--sith { right: -60vw; }
  .idx-hero__ctas { bottom: max(4vh, 24px); flex-direction: column; align-items: stretch; gap: 12px; }
  .idx-hero__ctas .ec-cta--edge-start { align-self: flex-start; }
  .idx-hero__ctas .ec-cta--edge-end { align-self: flex-end; }

  .idx-pair > .ec-pcard, .idx-pair > .ec-pcard:nth-child(2) { width: auto; margin-left: 14px; }
  .idx-duo { grid-template-columns: minmax(0, 1fr); row-gap: clamp(28px, 6vw, 44px); justify-items: center; }
  .idx-duo > .ec-pcard { width: auto; }
  .idx-duo > .ec-pcard:nth-child(2) { margin-top: 0; }
  .idx-holo { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-8); }
  .idx-holo__terms > .idx-term:nth-child(2) { margin-left: 0; }
  .idx-feat__img { height: 52px; }
  .idx-forms__item { padding-left: calc(var(--i) * .22em); }
  .idx-forms__lit { left: calc(var(--i) * .22em); }

  .idx-finale { min-height: 0; padding-top: calc(var(--nav-h) + 72px); }
  .idx-finale__bg > picture, .idx-finale__bg img { object-position: 62% 30%; }
  .idx-finale .idx-route { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 34px; }
  .idx-route::before, .idx-route__line { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .idx-route__line { background: linear-gradient(180deg, var(--c-rep), var(--c-gold) 50%, var(--c-sith)); transform-origin: 50% 0; }
  .idx-route__mark { position: absolute; left: -34px; top: 4px; margin: 0; }
}

/* Handy quer (z. B. 844×390): Die Scheibe ist breiter als das Bild hoch ist (oben und unten angeschnitten), der Text
   steht in ihrem waagerechten Schattenband. Die Losung steht einzeilig unten zwischen den beiden CTAs. */
@media (max-width: 899.98px) and (orientation: landscape) {
  .idx-hero {
    --hero-top: calc(var(--nav-h) + 2px);
    --cta-zone: 58px;
    --claim-fs: clamp(1rem, 2.9vw, 1.5rem);
    --disc-d: min(148svh, 70vw);
    align-content: start;
  }
  .idx-hero__stage { position: static; }
  .idx-hero__ring { aspect-ratio: auto; padding: 6px 0 4px; }
  .idx-hero__content { gap: 7px; width: min(400px, 100vw - 2 * var(--gutter)); }
  .idx-hero .ec-hero__word { width: min(290px, 36vw); }
  .idx-hero__lead { font-size: .9375rem; line-height: 1.42; max-width: 25em; }
  .idx-claim { position: absolute; left: 0; right: 0; bottom: 18px; width: auto; white-space: nowrap; }
  .idx-ship { top: auto; bottom: -46px; width: min(31vw, 280px); }
  .idx-ship--rep { left: calc((var(--disc-d) - 100vw) / 2 - 6vw); }
  .idx-ship--sith { right: calc((var(--disc-d) - 100vw) / 2 - 6vw); }
  .idx-hero__glow { top: auto; bottom: -30vh; width: 70vw; }
  .idx-hero__glow--rep { left: -30vw; }
  .idx-hero__glow--sith { right: -30vw; }
  .idx-hero__ctas { flex-direction: row; align-items: flex-end; bottom: 8px; gap: 8px; }
  .idx-hero__ctas .ec-cta { --cta-h: 42px; --cta-pad: 12px; --stripe-w: 22px; font-size: .8125rem; }
}

/* ================================================================ Auftritte beim Laden (CSS, nie JS) */
@media (prefers-reduced-motion: no-preference) {
  /* Einflug, danach schweben die Schiffe ruhig im Licht ihrer Seite (nur transform) */
  html:not([data-fx="off"]) .idx-ship--rep .idx-ship__in { animation: idx-fly-l 1.9s var(--ease-out) .25s both, idx-hover 7.5s ease-in-out 2.2s infinite alternate; }
  html:not([data-fx="off"]) .idx-ship--sith .idx-ship__in { animation: idx-fly-r 1.9s var(--ease-out) .35s both, idx-hover 8.5s ease-in-out 2.3s infinite alternate; }
  html:not([data-fx="off"]) .idx-hero__flare { animation: idx-flare 2.6s var(--ease-out) .2s both; }
  html:not([data-fx="off"]) .idx-hero__light { animation: idx-glow-in 2.2s var(--ease-out) .1s both; }
  html:not([data-fx="off"]) .idx-claim__w:nth-child(1) > .idx-claim__in { animation: idx-claim-l 1.5s var(--ease-out) .7s both; }
  html:not([data-fx="off"]) .idx-claim__w:nth-child(2) > .idx-claim__in { animation: idx-claim-c 1.5s var(--ease-out) .85s both; }
  html:not([data-fx="off"]) .idx-claim__w:nth-child(3) > .idx-claim__in { animation: idx-claim-r 1.5s var(--ease-out) 1s both; }
}
@keyframes idx-fly-l { from { opacity: 0; transform: translate3d(-24vw, 7vh, 0) scale(.84); } to { opacity: 1; transform: none; } }
@keyframes idx-fly-r { from { opacity: 0; transform: translate3d(24vw, 7vh, 0) scale(.84); } to { opacity: 1; transform: none; } }
@keyframes idx-flare { 0% { opacity: 0; transform: scaleX(.04); } 16% { opacity: 1; } 55% { opacity: .75; } 100% { opacity: 0; transform: scaleX(1.15); } }
@keyframes idx-glow-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes idx-hover { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(0, -1.6%, 0) rotate(-.8deg); } }
@keyframes idx-claim-l { from { opacity: 0; transform: translate3d(-14vw, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes idx-claim-c { from { opacity: 0; transform: translate3d(0, .4em, 0); } to { opacity: 1; transform: none; } }
@keyframes idx-claim-r { from { opacity: 0; transform: translate3d(14vw, 0, 0); } to { opacity: 1; transform: none; } }
