/* ============================================================
   Argus24: Scroll-Fahrt am Gerät (argus24.html, en/argus24.html)
   Grundzustand = Standbild mit Liste (ohne JS, ohne WebGL, reduzierte Bewegung).
   html.ag-on schaltet die Fahrt ein: hoher Abschnitt, Bühne klebt unter der Navigation.
   ============================================================ */
.ag-tour {
  --ag-nav: 68px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 50% 58%, rgba(47, 103, 198, 0.10), transparent 70%),
    var(--ink-0);
  border-bottom: 1px solid var(--line);
}

/* ── Grundzustand: Standbild und Liste ───────────────────── */
.ag-stage { position: relative; padding: clamp(56px, 8vw, 112px) 0; }
.ag-canvas, .ag-lines, .ag-brand { display: none; }
.ag-poster {
  display: block;
  width: min(760px, 92%);
  height: auto;
  margin: 28px auto 8px;
}
.ag-intro h2 { max-width: 18ch; }
.ag-intro p { margin-top: 20px; max-width: 46ch; color: var(--text-2); }
.ag-intro .ag-cue { display: none; }
.ag-stations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 48px;
  margin-top: 40px;
}
.ag-station h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 14px;
}
.ag-station ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ag-co { display: grid; gap: 3px; }
.ag-co b { font-weight: 600; font-size: 16px; color: var(--text-1); line-height: 1.3; }
.ag-co span {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

/* ── Fahrt ───────────────────────────────────────────────── */
html.ag-on .ag-tour { height: calc(var(--ag-steps, 6) * 115svh); }
html.ag-on .ag-stage {
  position: sticky;
  top: var(--ag-nav);
  height: calc(100svh - var(--ag-nav));
  padding: 0;
  overflow: hidden;
}
html.ag-on .ag-canvas,
html.ag-on .ag-lines {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
html.ag-on .ag-lines { pointer-events: none; overflow: visible; }
html.ag-on .ag-lines path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.25;
  stroke-linejoin: round;
  opacity: 0;
}
html.ag-on .ag-lines circle {
  fill: var(--ink-0);
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0;
}

/* Fahrt: kein Standbild (es säße an anderer Stelle und spränge), Szene blendet an Ort und Stelle ein */
html.ag-on .ag-poster { display: none; }
html.ag-on .ag-canvas { z-index: 1; opacity: 0; transition: opacity .9s cubic-bezier(0.16, 0.84, 0.32, 1); }
html.ag-on .ag-tour.is-ready .ag-canvas { opacity: 1; }
html.ag-on .ag-lines, html.ag-on .ag-intro, html.ag-on .ag-stations { position: relative; z-index: 2; }
html.ag-on .ag-lines { position: absolute; }

/* Großes „Argus24“ oben rechts, hinter der Box */
html.ag-on .ag-brand {
  display: block;
  position: absolute;
  z-index: 0;
  top: clamp(8px, 4vh, 48px);
  right: var(--gutter);
  margin: 0;
  font-size: clamp(110px, 19vw, 330px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--text-1);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
}

/* Eine gemeinsame Spalte unten rechts: alle Zeilen beginnen links auf derselben Kante */
html.ag-on .ag-intro {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: min(440px, 100%);
  justify-content: end;
  align-content: end;
  padding-bottom: clamp(32px, 8vh, 88px);
  pointer-events: none;
}
html.ag-on .ag-intro > * { margin-left: 0; margin-right: 0; }
html.ag-on .ag-intro h2 { font-size: clamp(26px, 2.4vw, 34px); }
html.ag-on .ag-intro p.lede { font-size: 17px; margin-top: 12px; }
html.ag-on .ag-intro .ag-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-3);
}
.ag-cue i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--accent), transparent);
  transform-origin: top;
  animation: ag-cue 2.4s cubic-bezier(0.16, 0.84, 0.32, 1) infinite;
}
@keyframes ag-cue { 0% { transform: scaleY(0); } 60%, 100% { transform: scaleY(1); opacity: 0; } }

html.ag-on .ag-stations { display: contents; }
html.ag-on .ag-station {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
}
html.ag-on .ag-station h3 {
  position: absolute;
  left: var(--gutter);
  top: clamp(24px, 6vh, 56px);
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
  opacity: var(--k, 0);
  transform: translateY(calc((1 - var(--k, 0)) * 14px));
}
html.ag-on .ag-station ul { display: block; }
html.ag-on .ag-co {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  max-width: 340px;
  opacity: 0;
  will-change: transform, opacity;
}
html.ag-on .ag-co[data-side="l"] { text-align: right; }
html.ag-on .ag-co b { font-size: 17px; }
@media (min-width: 760px) { html.ag-on .ag-co span { white-space: nowrap; } }
html.ag-on .ag-co b, html.ag-on .ag-co span {
  transform: translateY(calc((1 - var(--t, 0)) * 6px));
}

@media (max-width: 759px) {
  html.ag-on .ag-brand { font-size: 22vw; right: 16px; top: 12px; }
  html.ag-on .ag-intro { grid-template-columns: 1fr; justify-content: stretch; padding-bottom: 8vh; }
  html.ag-on .ag-intro h2 { font-size: 26px; }
  html.ag-on .ag-station h3 { font-size: 26px; top: 20px; }
  html.ag-on .ag-co { max-width: calc(100vw - 80px); }
  html.ag-on .ag-co b { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .ag-cue i { animation: none; }
}
