/*
 * Copyright (c) 2026 Martin Bundschuh, SeeBubble Media FlexCo. All rights reserved.
 * Written by Martin Bundschuh.
 *
 * Gestaltung der VortexRadio-Seite (vortexradio.html). Design-Familie wie vortexcleaner.css:
 * Nachthimmel als Grund, dazu das Spektrum der App – Cyan #38EBFF, Violett #8F5CFF, Magenta #FF52CC.
 * Alle Klassen beginnen mit vr-, damit nichts mit dem gemeinsamen Rahmen (sb-design.css) kollidiert.
 */
:root {
  --vr-nacht: #05040f;
  --vr-tief: #080714;
  --vr-flaeche: #0d0b1d;
  --vr-rand: rgba(199, 235, 255, 0.16);
  --vr-rand-leise: rgba(199, 235, 255, 0.08);
  --vr-cyan: #38ebff;
  --vr-violett: #8f5cff;
  --vr-pink: #ff52cc;
  --vr-verlauf: linear-gradient(120deg, #38ebff 0%, #8f5cff 52%, #ff52cc 100%);
  --vr-verlauf-knopf: linear-gradient(120deg, #0b7fae 0%, #7446e8 52%, #c42ba0 100%);
  --vr-text: #ffffff;
  --vr-text-2: rgba(255, 255, 255, 0.74);
  --vr-text-3: rgba(255, 255, 255, 0.52);
  --vr-schrift: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --vr-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.sb-s-vortexradio {
  margin: 0;
  padding: 0;
  background-color: var(--vr-nacht);
  color: var(--vr-text);
  font-family: var(--vr-schrift);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.sb-s-vortexradio main img { max-width: 100%; }
.sb-s-vortexradio main :where(img[width][height]) { height: auto; }
.sb-s-vortexradio main a { color: var(--vr-cyan); }
.sb-s-vortexradio main [hidden] { display: none !important; }

/* ------------------------------------------------------------------ Knöpfe */
.vr-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.vr-knopf svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vr-knopf:hover { transform: translateY(-2px); }
.sb-s-vortexradio main a.vr-knopf-haupt {
  color: #fff;
  background: var(--vr-verlauf-knopf);
  box-shadow: 0 10px 34px rgba(143, 92, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.sb-s-vortexradio main a.vr-knopf-haupt:hover { box-shadow: 0 14px 44px rgba(56, 235, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.sb-s-vortexradio main a.vr-knopf-neben {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--vr-rand);
}
.sb-s-vortexradio main a.vr-knopf-neben:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(199, 235, 255, 0.4); }
.vr-knopf-gross { min-height: 60px; padding: 1rem 2.6rem; font-size: 1.12rem; }

/* ------------------------------------------------------------------ Hero */
.vr-hero {
  position: relative;
  isolation: isolate;
  padding: 132px 5% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(143, 92, 255, 0.26) 0%, transparent 70%),
    radial-gradient(40% 34% at 12% 30%, rgba(56, 235, 255, 0.14) 0%, transparent 70%),
    radial-gradient(40% 34% at 88% 34%, rgba(255, 82, 204, 0.14) 0%, transparent 70%),
    var(--vr-nacht);
}
/* Zeichenfläche: Wellen und Spektrum, hinter dem Text */
.vr-wellen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
}
.vr-hero-inhalt {
  position: relative;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}
/* dunkler Hof hinter dem Text: die Wellen leuchten an den Seiten, der Text bleibt gut lesbar */
.vr-hero-inhalt::before {
  content: '';
  position: absolute;
  inset: -6% -14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(5, 4, 15, 0.9) 0%, rgba(5, 4, 15, 0.78) 55%, transparent 100%);
  pointer-events: none;
}
.vr-hero-symbol {
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 38px rgba(143, 92, 255, 0.5));
}
.vr-marke {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.5em;
  font-size: clamp(1.9rem, 6.4vw, 3.9rem);
  letter-spacing: 0.26em;
  margin-right: -0.26em;
  line-height: 1.1;
}
.vr-marke b {
  font-weight: 800;
  background: var(--vr-verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.vr-marke span { font-weight: 300; color: rgba(255, 255, 255, 0.82); }
.vr-nur-mac, .vr-laden-mac {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 235, 255, 0.45);
  background: rgba(56, 235, 255, 0.09);
  color: #d9f9ff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}
.vr-nur-mac svg, .vr-laden-mac svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--vr-cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vr-hero h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: #fff;
  text-wrap: balance;
}
.vr-hero-text {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  line-height: 1.65;
  color: var(--vr-text-2);
}
.vr-knoepfe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}
.vr-hero-hinweis { margin: 0; font-size: 0.92rem; color: var(--vr-text-2); }
.vr-merkmale {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.6rem;
}
.vr-merkmale li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--vr-rand-leise);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--vr-mono);
  font-size: 0.78rem;
  color: var(--vr-text-2);
}

/* Fensterrahmen um Bildschirmfotos */
.vr-fenster {
  position: relative;
  margin: 0;
  border-radius: 14px;
  border: 1px solid var(--vr-rand);
  background: var(--vr-flaeche);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 70px rgba(143, 92, 255, 0.2);
}
.vr-fenster > img:first-child { display: block; width: 100%; border-radius: 13px; }
.vr-hero-fenster {
  width: 100%;
  max-width: 1120px;
  margin: 3.2rem auto 0;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 90px rgba(143, 92, 255, 0.35), 0 0 0 1px rgba(56, 235, 255, 0.12);
}
.vr-hero-fenster > img:first-child { border-radius: 15px 15px 0 0; }
.vr-hero-fenster::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, var(--vr-nacht));
  pointer-events: none;
}

/* ------------------------------------------------------------------ Abschnitte */
.vr-abschnitt {
  padding: clamp(3.2rem, 7vw, 5.5rem) 5% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 80px;
}
.vr-abschnitt:last-child { padding-bottom: clamp(3.2rem, 7vw, 5.5rem); }
.vr-etikett {
  margin: 0 0 0.9rem;
  font-family: var(--vr-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vr-cyan);
}
.vr-titel {
  margin: 0 0 0.9rem;
  max-width: 900px;
  text-align: center;
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}
.vr-text {
  margin: 0 auto 2.6rem;
  max-width: 720px;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--vr-text-2);
}

/* ------------------------------------------------------------------ Bühne: die acht Animationen */
.vr-buehne {
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.vr-buehne-bild {
  margin: 0;
  border-radius: 18px;
  border: 1px solid var(--vr-rand);
  background: #06050f;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(56, 235, 255, 0.12);
}
.vr-buehne-bild img { display: block; width: 100%; aspect-ratio: 792 / 702; object-fit: cover; background: #06050f; }
.vr-buehne-bild figcaption {
  padding: 1rem 1.3rem 1.15rem;
  border-top: 1px solid var(--vr-rand-leise);
  min-height: 5.2rem;
  background: linear-gradient(180deg, rgba(34, 28, 66, 0.55), rgba(13, 11, 29, 0.6));
}
.vr-buehne-bild figcaption p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--vr-text-2); }
.vr-modi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.75rem;
}
.vr-modus {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-height: 72px;
  padding: 0.5rem 0.5rem 0.6rem;
  border-radius: 14px;
  border: 1px solid var(--vr-rand-leise);
  background: rgba(255, 255, 255, 0.035);
  color: var(--vr-text-2);
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.vr-modus img { width: 100%; height: 0; min-height: 70px; flex: 1 1 0; border-radius: 10px; object-fit: cover; }
.vr-modus span { min-width: 0; overflow-wrap: anywhere; }
.vr-modus:hover { border-color: rgba(199, 235, 255, 0.35); color: #fff; transform: translateY(-1px); }
.vr-modus[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(56, 235, 255, 0.7);
  background: linear-gradient(120deg, rgba(56, 235, 255, 0.16), rgba(143, 92, 255, 0.2) 55%, rgba(255, 82, 204, 0.16));
  box-shadow: 0 0 26px rgba(143, 92, 255, 0.3);
}

/* ------------------------------------------------------------------ Funktionen */
.vr-zeilen {
  width: 100%;
  max-width: 1160px;
  display: flex;
  flex-direction: column;
  gap: clamp(2.6rem, 6vw, 4.5rem);
}
.vr-zeile {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
}
.vr-zeile:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.vr-zeile:nth-child(even) .vr-fenster { order: 2; }
.vr-nummer {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--vr-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--vr-pink);
}
.vr-zeile-text h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}
.vr-zeile-text p { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--vr-text-2); }
/* Menüleisten-Player über dem Kinomodus-Bild */
.vr-mit-mini { margin-bottom: 2.2rem; }
.vr-mini {
  position: absolute;
  right: 4%;
  bottom: -2.2rem;
  width: 34%;
  min-width: 150px;
  border-radius: 12px;
  border: 1px solid var(--vr-rand);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 235, 255, 0.2);
}

.vr-karten {
  width: 100%;
  max-width: 1160px;
  margin-top: clamp(2.6rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.vr-karte {
  background: linear-gradient(180deg, rgba(34, 28, 66, 0.55) 0%, rgba(13, 11, 29, 0.6) 100%);
  border: 1px solid var(--vr-rand-leise);
  border-radius: 18px;
  padding: 1.6rem 1.7rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.vr-karte:hover { border-color: rgba(56, 235, 255, 0.4); transform: translateY(-3px); }
.vr-karte-symbol {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--vr-verlauf-knopf);
  box-shadow: 0 6px 18px rgba(143, 92, 255, 0.35);
}
.vr-karte-symbol svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vr-karte h3 { margin: 0 0 0.6rem; font-size: 1.15rem; font-weight: 700; color: #fff; }
.vr-karte p { margin: 0; font-size: 0.97rem; line-height: 1.65; color: var(--vr-text-2); }

/* ------------------------------------------------------------------ Voraussetzungen */
.vr-schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
}
.vr-schritt {
  position: relative;
  min-width: 0;
  padding: 1.7rem 1.6rem 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--vr-rand-leise);
  background: rgba(18, 15, 40, 0.6);
}
.vr-schritt:nth-child(2) { border-color: rgba(56, 235, 255, 0.4); box-shadow: 0 0 40px rgba(56, 235, 255, 0.08); }
.vr-schritt-nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--vr-verlauf-knopf);
  font-family: var(--vr-mono);
  font-weight: 700;
  color: #fff;
}
.vr-schritt h3 { margin: 0 0 0.6rem; font-size: 1.15rem; font-weight: 700; color: #fff; }
.vr-schritt p { margin: 0; font-size: 0.97rem; line-height: 1.65; color: var(--vr-text-2); }
.vr-schritt p.vr-klein { font-size: 0.9rem; color: var(--vr-text-3); }
.vr-befehl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.9rem 0;
  padding: 0.7rem 0.7rem 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--vr-rand);
  background: #03020a;
}
.vr-befehl code {
  min-width: 0;
  font-family: var(--vr-mono);
  font-size: 0.95rem;
  color: #b8f6ff;
  overflow-wrap: anywhere;
}
.vr-befehl code::before { content: '$ '; color: var(--vr-text-3); }
.vr-kopieren {
  appearance: none;
  min-height: 40px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--vr-rand);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.vr-kopieren:hover { background: rgba(56, 235, 255, 0.14); border-color: rgba(56, 235, 255, 0.5); }

/* ------------------------------------------------------------------ Download */
.vr-laden {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  border-radius: 26px;
  border: 1px solid var(--vr-rand);
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 235, 255, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 82, 204, 0.16), transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(143, 92, 255, 0.3), transparent 60%),
    var(--vr-flaeche);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}
.vr-laden-symbol { width: 96px; height: 96px; filter: drop-shadow(0 0 30px rgba(143, 92, 255, 0.5)); }
.vr-laden h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
}
.vr-laden-angaben { margin: 0; font-family: var(--vr-mono); font-size: 0.85rem; color: var(--vr-text-2); }
.vr-laden-hinweis { margin: 0; font-size: 0.95rem; color: var(--vr-text-2); }
.vr-recht { margin: 0.3rem 0 0; max-width: 600px; font-size: 0.85rem; line-height: 1.55; color: var(--vr-text-3); }

/* ------------------------------------------------------------------ Fragen */
.vr-fragen {
  width: 100%;
  max-width: 860px;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.vr-frage {
  background: rgba(18, 15, 40, 0.6);
  border: 1px solid var(--vr-rand-leise);
  border-left: 3px solid var(--vr-cyan);
  border-radius: 14px;
  padding: 1.35rem 1.6rem;
}
.vr-frage:nth-child(3n + 2) { border-left-color: var(--vr-violett); }
.vr-frage:nth-child(3n) { border-left-color: var(--vr-pink); }
.vr-frage h3 { margin: 0 0 0.5rem; font-size: 1.08rem; font-weight: 700; color: #fff; }
.vr-frage p { margin: 0; font-size: 0.97rem; line-height: 1.65; color: var(--vr-text-2); overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ Bildschirmgrößen */
@media (max-width: 980px) {
  .vr-buehne { grid-template-columns: 1fr; }
  .vr-modi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vr-modus { font-size: 0.88rem; }
  .vr-modus img { height: auto; flex: none; aspect-ratio: 16 / 10; }
  .vr-zeile, .vr-zeile:nth-child(even) { grid-template-columns: 1fr; }
  .vr-zeile:nth-child(even) .vr-fenster { order: 0; }
  .vr-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vr-schritte { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 640px) {
  .vr-hero { padding: 108px 16px 0; }
  .vr-abschnitt { padding-left: 16px; padding-right: 16px; }
  .vr-hero-symbol { width: 104px; height: 104px; }
  .vr-marke { letter-spacing: 0.18em; margin-right: -0.18em; }
  .vr-knoepfe { width: 100%; }
  .vr-knoepfe .vr-knopf { flex: 1 1 100%; }
  .vr-laden .vr-knopf { width: 100%; padding-left: 1rem; padding-right: 1rem; }
  .vr-modi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vr-karten { grid-template-columns: 1fr; }
  .vr-hero-fenster { margin-top: 2.4rem; }
  .vr-frage, .vr-karte, .vr-schritt { padding: 1.25rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vr-knopf, .vr-karte, .vr-modus { transition: none; }
  .vr-knopf:hover, .vr-karte:hover, .vr-modus:hover { transform: none; }
}
