/* ==========================================================================
   VisieR+ — Design Tokens & Grundgerüst
   Palette aus dem VisieR-Logo abgeleitet: Türkis/Teal → Elektroblau-Verlauf
   auf sehr dunklem, kühlem Navy. Variablennamen (--color-gold/--color-cyan)
   sind historisch, tragen jetzt aber die Logo-Farben — siehe Kommentare.
   ========================================================================== */

/* Selbst gehostete Schriften (statt Google Fonts: schneller + DSGVO-sicher,
   keine Verbindung zu Google-Servern). Variable Fonts, Lizenz: SIL OFL 1.1
   (siehe assets/fonts/LICENSE-*.txt). Nur Zeichensatz "latin" (inkl. Umlaute/€). */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  /* Farben — Basis: kühles, fast schwarzes Navy statt Anthrazit */
  --color-bg: #070b14;
  --color-bg-raised: #0c1526;
  --color-bg-raised-2: #10203a;
  --color-border: #1e2c46;

  /* Farben — Text */
  --color-text: #eef3fb;
  --color-text-muted: #9fb0cc;
  --color-text-faint: #647a9c;

  /* Farben — Akzente, direkt aus dem Logo-Verlauf (Türkis → Blau) */
  --color-gold: #22d8c3;         /* Logo-Türkis (Hauptakzent) */
  --color-gold-strong: #6df2e0;  /* helleres Türkis für Highlights/Text */
  --color-cyan: #3b82f6;         /* Logo-Elektroblau (zweiter Akzent) */
  --color-cyan-dim: #1d4ed8;     /* dunkleres Blau für Verläufe */

  /* Dritter Akzent für Abwechslung in dekorativen Elementen (Icons, Hero-Glow,
     Floater) — funktionale UI (Buttons, Fokus, Links) bleibt bewusst bei
     Türkis/Blau für Konsistenz */
  --color-violet: #a855f7;
  --color-violet-strong: #cf9bff;

  /* Semantische Zuordnung */
  --color-accent: var(--color-gold);
  --color-accent-strong: var(--color-gold-strong);
  --color-focus: var(--color-cyan);
  --color-success: #4ee0a8;
  --color-danger: #ff6b6b;

  /* Typografie — technisch/geometrisch statt warm-editorial */
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.4rem, 4.6vw + 1rem, 4.4rem);
  --fs-h2: clamp(1.7rem, 2.2vw + 1rem, 2.6rem);
  --fs-h3: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;
  --lh-body: 1.6;
  --lh-heading: 1.15;

  /* Spacing-Skala */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5.5rem;
  --space-8: 8rem;

  /* Layout */
  --content-max: 74rem;
  --content-narrow: 42rem;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 12px 40px -12px rgba(0, 0, 0, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
}

/* Helles Farbschema wird bewusst NICHT per prefers-color-scheme umgeschaltet —
   VisieR+ committet sich auf eine dunkle, cineastische Markenwelt (siehe Plan).
   Kontrast wurde gegen WCAG AA auf --color-bg und --color-bg-raised geprüft. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  margin: 0 0 var(--space-3);
  max-width: 62ch;
}

a {
  color: inherit;
}

ul, ol {
  padding-left: 1.2em;
}

/* Fokuszustände — sichtbar, konsistent, nie entfernt */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout-Hilfen ---------- */

.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-narrow);
}

section {
  padding-block: var(--space-7);
}

.section-head {
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.section-head p {
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-small);
  margin-bottom: var(--space-2);
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: relative;
}

/* Schwebende Pill-Navigation — sticky über der gesamten Seite, dezenter Abstand zum Hero-Panel darunter */
.pill-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding-block: var(--space-3);
  pointer-events: none;
}

.pill-nav-wrap > * { pointer-events: auto; }

.pill-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  background: rgba(7, 12, 22, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(109, 242, 224, 0.18);
  border-radius: 999px;
  padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  box-shadow: var(--shadow-2);
  max-width: calc(100vw - 2rem);
}

/* Leise pulsierender Glow-Rahmen — die Pill-Nav soll auch im Ruhezustand "leben" */
.pill-nav::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--nav-angle, 0deg), transparent 0 60%, var(--color-gold) 75%, var(--color-cyan) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  animation: nav-spin 7s linear infinite;
}

@keyframes nav-spin {
  to { --nav-angle: 360deg; }
}

@property --nav-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@media (prefers-reduced-motion: reduce) {
  .pill-nav::before { animation: none; }
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text);
  white-space: nowrap;
}

.brand img,
.brand-logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(34, 216, 195, 0.45));
  animation: logo-pulse 3.2s ease-in-out infinite;
}

/* Footer-Logo trägt den kompletten Schriftzug (statt nur des Icons wie im
   Nav-Pill), braucht daher mehr Höhe, um lesbar zu bleiben. */
.site-footer .brand img {
  height: 56px;
  width: auto;
}

@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(34, 216, 195, 0.35)); }
  50% { filter: drop-shadow(0 0 12px rgba(34, 216, 195, 0.6)); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo { animation: none; }
}

/* Eigenständiges Logo oben links, losgelöst von der Nav-Pille */
.site-logo-corner {
  position: fixed;
  top: var(--space-3);
  left: var(--space-4);
  z-index: 65;
  display: block;
  line-height: 0;
}

.site-logo-corner img {
  height: 72px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(34, 216, 195, 0.45));
  animation: logo-pulse 3.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .site-logo-corner img { animation: none; }
}

@media (max-width: 640px) {
  .site-logo-corner { display: none; }
}

.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: rgba(238, 241, 247, 0.72);
  font-weight: 500;
  font-size: 0.92rem;
  padding: var(--space-1) 0;
  transition: color var(--dur-fast) var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-cyan));
  transition: left var(--dur-med) var(--ease), right var(--dur-med) var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  left: 0;
  right: 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons (durchgehend Pill-Form) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), gap var(--dur-fast) var(--ease);
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: linear-gradient(155deg, var(--color-gold-strong), var(--color-gold));
  color: #04140f;
  box-shadow: 0 0 0 0 rgba(34, 216, 195, 0.5);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -8px rgba(34, 216, 195, 0.55);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-accent-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  padding-inline: 0.4rem;
}

/* Zweiteiliger Hero-CTA: Pill-Label + runder Pfeil-Kreis, wächst beim Hover leicht auseinander */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  background: var(--color-accent-strong);
  color: #1a1204;
  border-radius: 999px;
  padding: 0.3rem 0.3rem 0.3rem 1.25rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: gap var(--dur-med) var(--ease), filter var(--dur-fast) var(--ease);
}

.btn-hero:hover {
  gap: var(--space-3);
  filter: brightness(1.05);
  box-shadow: 0 10px 30px -10px rgba(34, 216, 195, 0.6);
}

.btn-hero .btn-hero-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #070b14;
  color: var(--color-accent-strong);
  flex-shrink: 0;
  transition: transform var(--dur-med) var(--ease);
}

.btn-hero:hover .btn-hero-icon {
  transform: translateX(2px);
}

.btn-hero .btn-hero-icon svg { width: 18px; height: 18px; }

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Hero-Frame: abgerundetes Vollbild-Panel (Startseite + kompakte Variante innen) ---------- */

.hero-frame {
  position: relative;
  isolation: isolate;
  margin: 0 var(--space-3) var(--space-4);
  padding-block: 0;
  border-radius: 28px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(125deg, #0f1a30, #05070d);
  background-size: 200% 200%;
  animation: aura-drift 22s ease-in-out infinite;
}

@keyframes aura-drift {
  0%, 100% { background-position: 0% 20%; }
  50% { background-position: 100% 80%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame { animation: none; }
}

.hero-frame--compact {
  min-height: 44vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* WebGL-Shader-Hintergrund — reagiert live auf die Mausposition, siehe main.js initHeroShader() */
.hero-shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

/* Feine Filmkorn-Textur ohne externes Asset — reines SVG-Rauschen */
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 11, 18, 0.92) 0%, rgba(8, 11, 18, 0.25) 42%, rgba(8, 11, 18, 0.05) 62%, rgba(8, 11, 18, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: var(--space-7) var(--space-4) var(--space-6);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.hero-eyebrow {
  color: var(--color-accent-strong);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  display: block;
}

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.03em;
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 30%, var(--color-gold-strong) 68%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 40px rgba(34, 216, 195, 0.25));
}

.pull-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: transform 700ms var(--ease), opacity 700ms var(--ease);
}

.pull-word.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Generisches Einblenden für Hero-Nebenelemente (Eyebrow, CTA) */
[data-fade-in] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-fade-in].in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-facts {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent-strong);
}

.hero-fact span {
  color: var(--color-text-faint);
  font-size: 0.85rem;
}

/* Kompakte Seiten-Header (innere Seiten) teilen sich dieselbe Bühne */
.page-hero-content {
  position: relative;
  z-index: 3;
  padding: var(--space-6) var(--space-4) var(--space-5);
}

.page-hero-content .hero-eyebrow { color: var(--color-accent-strong); }
.page-hero-content h1 { color: var(--color-text); margin-bottom: var(--space-2); }
.page-hero-content p { color: rgba(238, 241, 247, 0.78); max-width: 42rem; margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .pull-word, [data-fade-in] { transition: none; opacity: 1; transform: none; }
}

/* ---------- Cards / generische Bausteine ---------- */

.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 216, 195, 0.4);
  box-shadow: 0 18px 40px -20px rgba(34, 216, 195, 0.35);
}

.card h3 {
  margin-bottom: var(--space-2);
}

.card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(34, 216, 195, 0.14);
  color: var(--color-accent-strong);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-3);
  transition: transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}

.card:hover .icon-tile {
  transform: scale(1.1) rotate(-4deg);
  background: rgba(34, 216, 195, 0.22);
}

.icon-tile svg { width: 22px; height: 22px; }

/* Hinweisbox statt erfundener Platzhalter-Spiele, solange die Titelliste noch nicht feststeht */
.games-coming-soon {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.games-coming-soon .icon-tile {
  margin-inline: auto;
}

/* Farbwechsel über die Karten-Grids hinweg — Türkis/Blau/Violett im Kreis,
   damit Kartenraster nicht monochrom wirken. Rein nth-child-basiert, keine
   zusätzlichen Klassen im Markup nötig. */
.grid .card:nth-child(3n+2) .icon-tile {
  background: rgba(59, 130, 246, 0.16);
  color: var(--color-cyan);
}
.grid .card:nth-child(3n+2):hover .icon-tile {
  background: rgba(59, 130, 246, 0.26);
}

.grid .card:nth-child(3n) .icon-tile {
  background: rgba(168, 85, 247, 0.16);
  color: var(--color-violet-strong);
}
.grid .card:nth-child(3n):hover .icon-tile {
  background: rgba(168, 85, 247, 0.26);
}

/* ---------- So funktioniert's: PC bei uns, Brille bei euch ---------- */

.how-it-works {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.how-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.how-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-3);
}

.how-icon svg { width: 34px; height: 34px; }

.how-icon--a { background: rgba(34, 216, 195, 0.14); color: var(--color-gold-strong); }
.how-icon--b { background: rgba(59, 130, 246, 0.14); color: var(--color-cyan); }
.how-icon--c { background: rgba(168, 85, 247, 0.14); color: var(--color-violet-strong); }

.how-step h3 { font-size: 1.05rem; margin-bottom: var(--space-1); }
.how-step p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0 auto; max-width: 22rem; }

.how-connector {
  flex: 0 1 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 38px;
  color: var(--color-gold);
}

.how-connector svg { width: 100%; height: 24px; overflow: visible; }
.how-connector-label {
  font-size: 0.78rem;
  color: var(--color-text-faint);
  margin-top: var(--space-1);
  white-space: nowrap;
}

@media (max-width: 800px) {
  .how-it-works { flex-direction: column; align-items: stretch; }
  .how-connector {
    flex-direction: row;
    padding-top: 0;
    padding-block: var(--space-2);
    transform: rotate(90deg);
    align-self: center;
    width: 60px;
  }
  .how-connector-label { display: none; }
}

/* ---------- Unboxing: Koffer öffnet sich beim Scrollen ins Blickfeld ---------- */

.case-stage {
  display: flex;
  justify-content: center;
  margin: var(--space-6) 0 var(--space-7);
}

/* Schwebender Koffer, Standbild aus der Frontperspektive. Echt freigestellt
   (transparenter Bildhintergrund, siehe assets/img/case-front.png) statt
   mix-blend-mode-Trick — dadurch kein sichtbarer Kasten/Rahmen mehr um das
   Bild, unabhängig davon, was gerade dahinter zu sehen ist. */
.case-display-stage {
  position: relative;
  width: min(80vw, 420px);
  aspect-ratio: 3 / 2;
  animation: caseFloat 5s ease-in-out infinite;
}

@keyframes caseFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.case-display-glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.4), transparent 72%);
  filter: blur(6px);
  animation: caseGlow 5s ease-in-out infinite;
}

@keyframes caseGlow {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.case-display-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .case-display-stage, .case-display-glow { animation: none; }
}

.unbox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5) var(--space-3);
  max-width: 46rem;
  margin-inline: auto;
}

.unbox-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  opacity: 0;
  transform: translateY(50px) scale(0.4) rotate(-8deg);
  transition: opacity 500ms cubic-bezier(0.34, 1.56, 0.64, 1), transform 550ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i, 0) * 160ms + 650ms);
}

.unbox.is-open .unbox-item {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

.unbox-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 216, 195, 0.14);
  color: var(--color-accent-strong);
}

.unbox-icon svg { width: 26px; height: 26px; }

.unbox-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  max-width: 8rem;
}

.unbox-item:nth-child(3n+2) .unbox-icon { background: rgba(59, 130, 246, 0.16); color: var(--color-cyan); }
.unbox-item:nth-child(3n) .unbox-icon { background: rgba(168, 85, 247, 0.16); color: var(--color-violet-strong); }

@media (prefers-reduced-motion: reduce) {
  .unbox-item { transition: none; animation: none; }
}

@media (max-width: 640px) {
  .unbox-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Vergleichstabelle ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th, td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.96rem;
}

thead th {
  background: var(--color-bg-raised);
  color: var(--color-text-faint);
  font-weight: 600;
  font-size: var(--fs-small);
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover { background: rgba(255,255,255,0.02); }

.highlight-col {
  color: var(--color-accent-strong);
  font-weight: 600;
}

/* ---------- Paket-Karten (Buchung) ---------- */

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-3);
}

.package-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.package-card:hover {
  border-color: rgba(34, 216, 195, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -18px rgba(34, 216, 195, 0.4);
}

.package-card[aria-pressed="true"] {
  border-color: var(--color-accent);
  background: linear-gradient(165deg, rgba(34, 216, 195, 0.12), var(--color-bg-raised));
  box-shadow: 0 0 0 1px rgba(34, 216, 195, 0.3), 0 18px 36px -18px rgba(34, 216, 195, 0.45);
}

.package-card .period {
  color: var(--color-text-faint);
  font-size: var(--fs-small);
  display: block;
  margin-bottom: var(--space-2);
}

.package-card .price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--color-accent-strong);
  display: block;
}

.package-card .price small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-faint);
  font-weight: 400;
}

/* ---------- Speedtest-Gate ---------- */

.gate {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: var(--color-bg-raised);
  margin-bottom: var(--space-6);
}

.gate-status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.gate-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-text-faint);
  flex-shrink: 0;
}

.gate[data-state="pass"] .gate-dot { background: var(--color-success); }
.gate[data-state="fail"] .gate-dot { background: var(--color-danger); }
.gate[data-state="testing"] .gate-dot {
  background: var(--color-focus);
  animation: pulse 1.1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.gate-result {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.booking-panel {
  position: relative;
}

.booking-panel[data-locked="true"] .booking-panel-content {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.booking-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(14, 20, 32, 0.72);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.booking-panel[data-locked="false"] .booking-lock-overlay {
  display: none;
}

.booking-lock-overlay .lock-box {
  max-width: 26rem;
}

/* ---------- Formulare ---------- */

.form-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-muted);
}

.field input,
.field select,
.field textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  font-family: var(--font-body);
  min-height: 44px;
}

.field textarea { min-height: 96px; resize: vertical; }

.field-hint {
  font-size: 0.82rem;
  color: var(--color-text-faint);
}

.field-error {
  font-size: 0.82rem;
  color: var(--color-danger);
  display: none;
}

.field.has-error input,
.field.has-error select {
  border-color: var(--color-danger);
}

.field.has-error .field-error { display: block; }

.form-note {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.form-success {
  display: none;
  background: rgba(111, 191, 139, 0.1);
  border: 1px solid rgba(111, 191, 139, 0.35);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-top: var(--space-4);
}

.form-success.visible { display: block; }

/* ---------- FAQ Akkordeon ---------- */

.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  transition: transform var(--dur-fast) var(--ease);
  color: var(--color-accent);
}

.faq-item[data-open="true"] .plus { transform: rotate(45deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-med) var(--ease);
}

.faq-answer p {
  color: var(--color-text-muted);
  padding-bottom: var(--space-4);
}

/* ---------- Stream-Konzeptseite ---------- */

.stream-mock {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-raised);
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  color: var(--color-text-faint);
  gap: var(--space-2);
  text-align: center;
  padding: var(--space-4);
}

/* .stream-mock{display:grid} überschreibt sonst das hidden-Attribut, weil
   Autor-CSS unabhängig von der Spezifität immer vor der User-Agent-Regel
   [hidden]{display:none} gewinnt — dadurch würden alle Panels gleichzeitig
   untereinander stehen statt nur das aktive System zu zeigen. */
.stream-mock[hidden] {
  display: none;
}

.pc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.pc-tab {
  border: 1px solid var(--color-border);
  background: var(--color-bg-raised);
  color: var(--color-text-muted);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 44px;
}

.pc-tab[aria-current="true"] {
  border-color: var(--color-accent);
  color: var(--color-text);
}

/* ---------- CTA-Band ---------- */

.closed-banner {
  background: linear-gradient(90deg, var(--color-gold), var(--color-cyan));
  color: #04140f;
  padding: var(--space-3) var(--space-4);
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.closed-banner svg {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .closed-banner { font-size: 0.85rem; }
}

.cta-band {
  margin-inline: var(--space-3);
  margin-bottom: var(--space-6);
  border-radius: 24px;
  padding-block: var(--space-6);
  background: linear-gradient(155deg, var(--color-bg-raised), var(--color-bg-raised-2));
  border: 1px solid var(--color-border);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: var(--space-6) var(--space-5);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-faint);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.footer-grid h4 {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: none;
  margin-bottom: var(--space-3);
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-grid a {
  text-decoration: none;
  color: var(--color-text-faint);
}

.footer-grid a:hover { color: var(--color-text); }

.footer-social {
  display: flex;
  gap: var(--space-2);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-faint);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--color-accent-strong);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
}

/* ---------- Legal pages ---------- */

.legal-content h2 { margin-top: var(--space-6); }
.legal-content p, .legal-content li { color: var(--color-text-muted); }
.legal-placeholder {
  background: rgba(226, 115, 94, 0.08);
  border: 1px solid rgba(226, 115, 94, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-size: 0.9rem;
  color: var(--color-text);
}

/* ---------- Utility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-accent);
  color: #1a1204;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: var(--space-3);
  top: var(--space-3);
}

/* ---------- Scroll-Reveal: die Seite soll beim Scrollen "aufwachen" ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Leichter Stagger für Geschwisterelemente in Grids/Listen */
.grid > .reveal:nth-child(2) { transition-delay: 80ms; }
.grid > .reveal:nth-child(3) { transition-delay: 160ms; }
.grid > .reveal:nth-child(4) { transition-delay: 240ms; }
.grid > .reveal:nth-child(5) { transition-delay: 320ms; }
.grid > .reveal:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero: Value-Prop-Headline &amp; Trust-Zeile ---------- */

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 3.4vw + 1.2rem, 3.9rem);
  max-width: 18ch;
  margin: 0;
  color: var(--color-text);
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 35%, var(--color-gold-strong) 72%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 30px rgba(34, 216, 195, 0.22));
}

.hero-lede {
  margin-top: var(--space-3);
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(238, 241, 247, 0.8);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-4);
}

.trust-row {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.trust-row li {
  position: relative;
  padding-left: 1.55em;
  font-size: 0.86rem;
  color: rgba(238, 241, 247, 0.72);
}

.trust-row li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -0.05em;
  color: var(--color-accent-strong);
  font-weight: 700;
}

/* ---------- Tag-Pills (Spiele-Kategorien) ---------- */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  background: var(--color-bg-raised);
  color: var(--color-text-muted);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
}

/* ---------- Spiele-Galerie ---------- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: var(--space-4);
}

.game-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 216, 195, 0.4);
  box-shadow: 0 18px 40px -20px rgba(34, 216, 195, 0.35);
}

.game-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--color-bg-raised-2), #060a14);
  color: var(--color-accent-strong);
}

.game-card:nth-child(3n+2) .game-cover { color: var(--color-cyan); }
.game-card:nth-child(3n) .game-cover { color: var(--color-violet-strong); }

.game-cover svg { width: 42%; height: 42%; opacity: 0.85; }

.game-cover-tag {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: rgba(7, 12, 22, 0.75);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.68rem;
  color: var(--color-text-faint);
}

.game-body {
  padding: var(--space-4);
}

.game-genre {
  display: block;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.game-body h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

.game-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: 0.82rem;
  color: var(--color-text-faint);
}

.game-badge {
  background: rgba(34, 216, 195, 0.14);
  color: var(--color-accent-strong);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ---------- Preis-Karten (Startseiten-Vorschau) ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4) var(--space-4);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 216, 195, 0.4);
}

.price-card--featured {
  border-color: var(--color-gold);
  background: linear-gradient(165deg, rgba(34, 216, 195, 0.1), var(--color-bg-raised));
  box-shadow: 0 20px 44px -22px rgba(34, 216, 195, 0.45);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: var(--space-4);
  background: linear-gradient(155deg, var(--color-gold-strong), var(--color-gold));
  color: #04140f;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--color-accent-strong);
  margin-bottom: var(--space-3);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.price-features li {
  position: relative;
  padding-left: 1.55em;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent-strong);
  font-weight: 700;
}

.price-note {
  text-align: center;
  color: var(--color-text-faint);
  font-size: 0.9rem;
  margin: var(--space-5) 0 0;
}

.voucher-teaser {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: var(--color-accent-strong);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.voucher-teaser:hover {
  background: rgba(34, 216, 195, 0.12);
  transform: translateY(-2px);
}

.voucher-teaser svg {
  flex-shrink: 0;
}

.price-actions {
  text-align: center;
  margin-top: var(--space-4);
}

.price-details {
  margin-top: var(--space-6);
}

.price-details summary {
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  padding: var(--space-2) 0;
}

.price-details summary:hover { color: var(--color-text); }

/* ---------- Vergleichs-Karten ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}

.compare-card {
  position: relative;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
}

.compare-card--featured {
  border-color: var(--color-gold);
  background: linear-gradient(165deg, rgba(34, 216, 195, 0.1), var(--color-bg-raised));
  box-shadow: 0 20px 44px -22px rgba(34, 216, 195, 0.45);
}

.compare-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-4);
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.compare-list li {
  position: relative;
  padding-left: 1.55em;
  font-size: 0.94rem;
  color: var(--color-text);
}

.compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent-strong);
  font-weight: 700;
}

.compare-list--muted li {
  color: var(--color-text);
}

.compare-list--muted li::before {
  content: "–";
  color: var(--color-text-faint);
  font-weight: 400;
}

/* ---------- Schritte (Ablauf) ---------- */

/* Eigenes Auto-Fit-Raster statt fixer .grid-4-Spaltenzahl, damit die Anzahl
   der Schritte sich ändern kann, ohne Breakpoints anpassen zu müssen. */
.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.steps-grid .btn-ghost {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 0.9rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(34, 216, 195, 0.14);
  color: var(--color-accent-strong);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.grid .card:nth-child(3n+2) .step-number { background: rgba(59, 130, 246, 0.16); color: var(--color-cyan); }
.grid .card:nth-child(3n) .step-number { background: rgba(168, 85, 247, 0.16); color: var(--color-violet-strong); }

/* ---------- Testimonials / Social Proof ---------- */

.testimonial-stars {
  color: var(--color-accent-strong);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-3);
}

.testimonial-card p {
  color: var(--color-text);
  font-size: 0.98rem;
}

.testimonial-placeholder-tag {
  display: block;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--color-border);
  font-size: 0.76rem;
  color: var(--color-text-faint);
}

/* ---------- Verbindungstest ---------- */

.connection-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}

.connection-copy .btn[disabled] {
  transform: none;
}

.connection-hint {
  margin-top: var(--space-2);
  font-size: 0.82rem;
  color: var(--color-text-faint);
}

.connection-preview {
  position: relative;
  background: var(--color-bg-raised-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.connection-preview-tag {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 0.72rem;
  color: var(--color-text-faint);
}

.connection-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.connection-metric strong {
  font-family: var(--font-display);
  color: var(--color-accent-strong);
  font-size: 1.05rem;
}

.connection-status-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: 0.9rem;
  color: var(--color-success);
}

/* ---------- CTA-Band Ergänzungen ---------- */

.cta-trust-line {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  margin: 0;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-frame { min-height: 78vh; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
  .compare-grid { grid-template-columns: 1fr; }
  .connection-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pill-nav-wrap { padding-inline: var(--space-3); }
  .pill-nav { width: 100%; }
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .pill-nav.is-open .nav-links {
    display: flex;
    position: absolute;
    inset-inline: 0;
    top: calc(100% + var(--space-2));
    background: var(--color-bg-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    flex-direction: column;
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }
  .hero-frame { min-height: 72vh; border-radius: 20px; margin-inline: var(--space-2); }
  .hero-wordmark { font-size: clamp(2.8rem, 18vw, 4.5rem); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  table { min-width: 560px; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .price-card--featured { order: -1; }
}

@media (max-width: 480px) {
  .game-grid { grid-template-columns: 1fr; }
}

/* ---------- Verbindungstest (Plugin) auf der Buchungsseite ---------- */

.gate .visier-speedtest iframe {
  display: block;
  width: 100%;
  border: 0;
  color-scheme: dark;
}

/* Das Plugin zeigt eine eigene Statuszeile; hier übernimmt .gate-result. */
.gate .visier-speedtest-status { display: none; }

.gate-result:empty { display: none; }

.pc-tab[data-ueber-grenze] {
  border-style: dashed;
  color: var(--color-text-faint);
}

.pc-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
