/* links.lauaul.de – Design wie lauaul.de (liegt ueber links.css; dort bleibt das Rad).
   Dunkler Grund mit der 3D-Hoehenlinien-Landschaft, schwere Schrift wie der Name auf lauaul.de, Glas-Flaechen
   ohne teures Weichzeichnen, Farben #4f7cff / #4988C4 / #BDE8F5. */
:root {
  --navy: #0F2854;
  --sky: #4988C4;
  --ice: #BDE8F5;
  --blue: #4f7cff;
  --accent: var(--blue);
  --accent-2: var(--ice);
  --text: #f1f9fd;
  --muted: #a3c1d9;
  --faint: #83a2c0;
  --line: rgba(189, 232, 245, .12);
  --line-strong: rgba(189, 232, 245, .26);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 60%), rgba(9, 24, 55, .82);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(255, 255, 255, .05);
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Ruhiger, sauberer Hintergrund: tiefes Blau, ein weiches Licht oben, sonst nichts */
body {
  background:
    radial-gradient(70% 45% at 50% -8%, rgba(73, 136, 196, .28), transparent 70%),
    radial-gradient(60% 40% at 50% 108%, rgba(28, 77, 141, .22), transparent 70%),
    linear-gradient(180deg, #071633 0%, #040d22 50%, #030916 100%) fixed;
}
.bg, .bg-canvas { display: none; }
::selection { background: rgba(79, 124, 255, .5); }
:focus-visible { outline-color: var(--ice); }

/* ---------- Verbindung zu den anderen Seiten (oben) ---------- */
.top { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; gap: 10px; padding: max(14px, env(safe-area-inset-top)) 16px 0; pointer-events: none; }
.top-btn { pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .15); box-shadow: var(--glass-edge), 0 10px 26px -12px rgba(0, 0, 0, .6); color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), border-color .2s; }
.top-btn:hover { transform: translateY(-2px); border-color: rgba(189, 232, 245, .4); }
.top-btn.team { margin-left: auto; color: var(--ice); border-color: rgba(189, 232, 245, .45); box-shadow: var(--glass-edge), 0 0 22px -6px rgba(79, 124, 255, .8); }

/* ---------- Schriftzug: gleiche schwere Schrift wie der Name auf lauaul.de ---------- */
.hero { padding-top: clamp(64px, 11vh, 110px); }
.wordmark::before { background: radial-gradient(closest-side, rgba(79, 124, 255, .45), transparent); opacity: .55; }
.wm-text {
  font-family: var(--display);
  font-style: normal;
  font-size: min(clamp(64px, 19vw, 176px), calc(128vw / var(--len, 6)), calc(1240px / var(--len, 6)));
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .9;
  padding: 0 .08em .08em;
  background: linear-gradient(100deg, #fff 0%, var(--ice) 30%, var(--sky) 52%, #fff 70%, var(--ice) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 16px 40px rgba(6, 17, 40, .6));
  animation: wm-rise .9s cubic-bezier(.16, .84, .24, 1) both, wm-shine 2.6s ease-out .8s 1 both;
}
@keyframes wm-rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
@keyframes wm-shine { to { background-position: -250% 0; } }
.js .wordmark:not(.ready) .wm-text { animation-play-state: paused; }
.tagline .sub::before, .tagline .sub::after { background: linear-gradient(90deg, transparent, var(--sky)); }

/* ---------- Auswahl-Rad: Glas-Pillen, der mittlere Link leuchtet in seiner Plattform-Farbe ---------- */
.wheel-wrap::before, .wheel-wrap::after { background: var(--ice); }
.item { border-radius: 22px; background: var(--glass); border-color: rgba(255, 255, 255, .12); box-shadow: var(--glass-edge); color: var(--muted); }
.item:not(.active) { opacity: .9; }
.item-icon { border-radius: 15px; background: rgba(189, 232, 245, .08); }
.item.active { box-shadow: var(--glass-edge); }
.hint { color: var(--faint); }
/* ---------- Eine Ansicht, so gross wie der Bildschirm: die Seite scrollt nicht, Scrollen dreht das Rad ---------- */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.views { position: fixed; inset: 0; overflow: hidden; }
.view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

/* ---------- Bildschirm: Schriftzug + Rad + Rechtliches ---------- */
.stage .hero { padding-top: clamp(58px, 9svh, 100px); }
.stage .wm-text { font-size: min(clamp(56px, 17vw, 150px), 15svh, calc(128vw / var(--len, 6)), calc(1240px / var(--len, 6))); }
.stage .tagline { margin-top: clamp(8px, 1.6svh, 20px); }
.stage .socials { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: center; width: min(100%, 760px); margin: 0 auto; }

/* LIVE oben in der Mitte – nur waehrend des Streams */
.top .live-pill { pointer-events: auto; position: absolute; left: 50%; top: max(14px, env(safe-area-inset-top)); translate: -50% 0; padding: 8px 16px 8px 13px; font-size: 13px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; background: rgba(255, 59, 92, .2); }
.top .live-pill span { letter-spacing: .02em; font-weight: 700; opacity: .9; }
@media (max-width: 560px) {
  .top .live-pill { top: calc(max(14px, env(safe-area-inset-top)) + 46px); }
  .top .live-pill span { display: none; }
}

/* ---------- Auswahl-Rad als endlose Trommel (Bewegung kommt aus links.js) ---------- */
.stage { --item-h: clamp(66px, 10.5svh, 100px); }
.wheel.ring {
  --wheel-h: calc(var(--item-h) * 5);
  position: relative;
  /* Auf kleinen Bildschirmen gibt das Rad Platz ab, damit das Rechtliche immer zu sehen ist */
  flex: 0 1 var(--wheel-h);
  min-height: calc(var(--item-h) * 3);
  height: var(--wheel-h);
  padding: 0;
  overflow: hidden;
  scroll-snap-type: none;
  perspective: 1100px;
  touch-action: none;
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}
.wheel.ring .slot { position: absolute; left: 0; right: 0; top: 50%; height: var(--item-h); margin-top: calc(var(--item-h) / -2); padding: 5px var(--pad); animation: none; will-change: transform, opacity; backface-visibility: hidden; }
.wheel.ring .item { will-change: auto; }
.wheel .slot:only-child { height: var(--item-h); }
.socials { --pad: max(18px, calc((100% - 600px) / 2)); }
/* Markierung links und rechts am ausgewaehlten Platz */
.wheel.ring::before, .wheel.ring::after {
  content: "";
  position: absolute;
  z-index: 20;
  top: 50%;
  width: 7px;
  height: 14px;
  margin-top: -7px;
  background: var(--ice);
  opacity: .7;
  filter: drop-shadow(0 0 6px var(--ice));
  pointer-events: none;
}
/* Markierungen ausserhalb des (vergroesserten) mittleren Links */
.wheel.ring::before { left: calc(var(--pad) - 18px - (100% - 2 * var(--pad)) * .05); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.wheel.ring::after { right: calc(var(--pad) - 18px - (100% - 2 * var(--pad)) * .05); clip-path: polygon(100% 0, 0 50%, 100% 100%); }
@media (max-width: 600px) { .wheel.ring::before, .wheel.ring::after { display: none; } }
.socials { --pad: max(30px, calc((100% - 600px) / 2)); }
.wheel.ring .item.active { box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--brand) 70%, transparent); }
.socials .hint { position: relative; margin-top: 6px; }
@media (min-width: 700px) {
  .stage .item { gap: 20px; padding: 0 18px 0 13px; border-radius: 24px; }
  .stage .item-icon { width: 60px; height: 60px; border-radius: 18px; }
  .stage .item-icon svg { width: 32px; height: 32px; }
  .stage .item-text b { font-size: 27px; }
  .stage .item-text small { font-size: 15px; }
  .stage .item-go { width: 42px; height: 42px; }
}

/* ---------- Fusszeile: dasselbe Rechtliche wie auf lauaul.de, immer ganz unten im Bild ---------- */
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: #fff; }
.foot-links .accent { color: var(--ice); }
.stage .foot { flex: none; position: relative; z-index: 21; margin-top: 8px; padding: 6px 12px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.stage .foot-links { gap: 0 2px; }
.stage .foot-links a { display: inline-flex; align-items: center; gap: .35em; min-height: 32px; padding: 2px 10px; font-size: 13px; }
.stage .foot-note { margin: 0; color: var(--faint); font-size: 11.5px; letter-spacing: .04em; }
/* Niedrige Bildschirme (Handy quer): Schriftzug und Hinweis kleiner, damit Rad und Rechtliches passen */
@media (max-height: 480px) {
  .stage { --item-h: 52px; }
  .stage .hero { padding-top: 48px; }
  .stage .wm-text { font-size: 36px; }
  .stage .tagline, .stage .hint { display: none; }
  .stage .foot { margin-top: 2px; padding-top: 2px; }
  .stage .foot-links a { min-height: 26px; }
  .stage .foot-note { display: none; }
}

@media (max-width: 520px) {
  .top-btn { padding: 7px 12px; font-size: 13px; }
  .hero { padding-top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .wm-text { animation: none; }
}

/* Gemeinsamer Rahmen (/_shared/frame.css): Kopfzeile oben, Rechtliches unten fest -> das Rad liegt dazwischen */
.f-body .views { top: 67px; bottom: var(--f-legal); }
.f-body .stage .hero { padding-top: clamp(16px, 5svh, 64px); }
.f-body .top .live-pill { top: 10px; }
.f-body .wm-text { font-family: 'Unbounded', sans-serif; font-weight: 900; letter-spacing: -.05em; }
@media (max-width: 520px) { .f-body .hero { padding-top: 24px; } }
