/* =========================================================
   blaubeermus.com  ·  Blau / Chrom / Silber  ·  v3
   v3: Seitenmenü, Schalter „Effekte an/aus“, deutlich weniger Rechenlast
   ========================================================= */
:root {
  --bg: #03050b;
  --panel: rgba(255, 255, 255, 0.04);
  --panel2: rgba(255, 255, 255, 0.07);
  --border: rgba(190, 220, 255, 0.13);
  --border2: rgba(143, 208, 255, 0.38);
  --ice: #8fd0ff;
  --blue: #2f8cff;
  --text: #eef4ff;
  --muted: rgba(214, 228, 248, 0.64);
  --dim: rgba(214, 228, 248, 0.38);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d6e2f2 30%, #5b7192 46%, #121a2b 50%, #8fb4e0 53%, #ffffff 66%, #7f98ba 82%, #dcebff 100%);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015) 55%, rgba(47, 140, 255, 0.04)), rgba(6, 10, 22, 0.62);
  --display: "Segoe UI Variable Display", "SF Pro Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI Variable Text", "SF Pro Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.loading { overflow: hidden; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(47, 140, 255, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Körnung über allem */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Schriftzug (fertiges Bild + blauer Glanz-Streifen) ---------- */
.wm { position: relative; display: block; width: 100%; }
.wm img { display: block; width: 100%; height: auto; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 0 12px rgba(63, 155, 255, 0.35)); }
.wm .shine {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: url("/logo.webp") center / 100% 100% no-repeat;
  mask: url("/logo.webp") center / 100% 100% no-repeat;
}
.wm .shine::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: linear-gradient(90deg, rgba(90, 170, 255, 0) 0%, rgba(90, 170, 255, 0.55) 28%, rgba(225, 244, 255, 0.95) 50%, rgba(90, 170, 255, 0.55) 72%, rgba(90, 170, 255, 0) 100%);
  transform: translate3d(-140%, 0, 0) skewX(-40deg);
  animation: wmShine 6.5s linear infinite; will-change: transform;
}
@keyframes wmShine {
  0%, 62% { transform: translate3d(-140%, 0, 0) skewX(-40deg); }
  100% { transform: translate3d(380%, 0, 0) skewX(-40deg); }
}

/* ---------- Ladebildschirm ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: #010207;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  transition: opacity 0.45s ease, visibility 0.45s;
  animation: loaderAuto 0.5s ease 3.4s forwards;   /* Sicherheitsnetz, falls JavaScript fehlt */
}
.loader.hide { opacity: 0; visibility: hidden; }
@keyframes loaderAuto { to { opacity: 0; visibility: hidden; } }
.loaderGlow {
  position: absolute; width: 90vmin; height: 46vmin; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(47, 140, 255, 0.32), rgba(47, 140, 255, 0.1) 40%, transparent 70%);
  opacity: 0; animation: glowIn 1.2s var(--ease) 0.1s forwards;
}
@keyframes glowIn { to { opacity: 1; } }
.loaderLogo {
  position: relative; width: min(86vw, 780px);
  opacity: 0; filter: blur(16px) brightness(0.2); transform: scale(0.94);
  animation: logoIn 1.1s var(--ease) 0.1s forwards;
}
@keyframes logoIn { to { opacity: 1; filter: blur(0) brightness(1); transform: scale(1); } }
.loaderBar { position: relative; width: 120px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; opacity: 0; animation: glowIn 0.5s ease 0.5s forwards; }
.loaderBar span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #cfe6ff, transparent); transform: translateX(-100%); animation: bar 1.1s ease-in-out infinite; }
@keyframes bar { to { transform: translateX(100%); } }

/* Übergang: Ladebildschirm wird durchsichtig, der Schriftzug fliegt an seinen Platz */
.loader.fly { background-color: transparent; pointer-events: none; transition: background-color 1.1s ease; animation: none; }
.loader.fly .loaderLogo { animation: none; opacity: 1; filter: none; transform: none; transition: transform 1.3s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.loader.fly .loaderGlow, .loader.fly .loaderBar { animation: none; opacity: 0; transition: opacity 0.5s ease; }
.heroLogo.await-fly { opacity: 0 !important; transition: none !important; }
.fx-off .heroLogo.await-fly { opacity: 1 !important; }

/* ---------- Hintergrund ---------- */
/* weiche Farbwolken: reine Verläufe statt teurem Weichzeichner */
.neb { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform; }
.n1 { width: 80vmax; height: 60vmax; left: 50%; top: -38vmax; margin-left: -40vmax; background: radial-gradient(ellipse, rgba(36, 118, 255, 0.42) 0%, rgba(36, 118, 255, 0.2) 32%, rgba(36, 118, 255, 0.06) 56%, transparent 72%); animation: drift1 26s ease-in-out infinite alternate; }
.n2 { width: 60vmax; height: 60vmax; left: -28vmax; top: 30vh; background: radial-gradient(circle, rgba(14, 58, 150, 0.4) 0%, rgba(14, 58, 150, 0.18) 34%, rgba(14, 58, 150, 0.05) 56%, transparent 72%); animation: drift2 32s ease-in-out infinite alternate; }
.n3 { width: 55vmax; height: 55vmax; right: -26vmax; top: 60vh; background: radial-gradient(circle, rgba(70, 180, 255, 0.18) 0%, rgba(70, 180, 255, 0.08) 34%, rgba(70, 180, 255, 0.02) 56%, transparent 72%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(8vmax, -6vmax, 0) scale(1.12); } }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(0, 0, 0, 0.55) 100%); }
main, .footer, .nav { position: relative; z-index: 2; }
/* nichts darf seitlich über den Bildschirm hinausragen (sonst kann man am Handy rauszoomen) */
html, body { overflow-x: hidden; }
main { overflow-x: hidden; overflow-x: clip; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: max(12px, env(safe-area-inset-top)) clamp(14px, 4vw, 40px) 12px;
  border-bottom: 1px solid transparent; transition: background 0.35s, border-color 0.35s;
}
.nav.scrolled { background: linear-gradient(180deg, rgba(5, 9, 20, 0.94), rgba(3, 5, 11, 0.88)); border-color: var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.menuBtn {
  flex: none; width: 42px; height: 42px; margin-left: -8px; display: grid; place-items: center;
  border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; transition: color 0.2s, background 0.2s;
}
.menuBtn:hover { color: var(--text); background: var(--panel2); }
.menuBtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.navLogo { width: clamp(124px, 16vw, 170px); flex: none; }
.navLinks { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }
.navLinks a { position: relative; transition: color 0.2s; }
.navLinks a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--ice); transform: scaleX(0); transition: transform 0.25s var(--ease); }
.navLinks a:hover { color: var(--text); }
.navLinks a:hover::after { transform: scaleX(1); }
.navRight { display: flex; align-items: center; gap: 10px; }
.lang { border-radius: 999px; padding: 7px 13px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; cursor: pointer; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.lang:hover { color: var(--text); border-color: var(--border2); }

/* ---------- Seitenmenü ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 110; background: rgba(2, 4, 10, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 120; width: min(86vw, 340px);
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 55% at 0% 0%, rgba(47, 140, 255, 0.22), transparent 62%),
    radial-gradient(90% 40% at 100% 100%, rgba(47, 140, 255, 0.1), transparent 70%),
    linear-gradient(180deg, #070c1a 0%, #04060e 100%);
  border-right: 1px solid var(--border);
  box-shadow: 30px 0 80px rgba(0, 0, 0, 0.55);
  transform: translate3d(-104%, 0, 0); visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.menu-open .scrim { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }
.menu-open .drawer { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
.menu-open body { overflow: hidden; }
.dScroll {
  flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column;
  padding: max(18px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
}
.dHead { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 6px 4px 0 6px; }
.dLogo { width: 212px; max-width: calc(100% - 46px); }
.dClose { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--muted); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.dClose:hover { color: var(--text); border-color: var(--border2); }
.dClose svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dKicker { display: flex; align-items: center; gap: 12px; margin: 14px 6px 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.3em; color: var(--muted); }
.dKicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--ice)); box-shadow: 0 0 8px rgba(143, 208, 255, 0.6); }
.dNav { display: flex; flex-direction: column; gap: 2px; }
.dSec { margin: 18px 14px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.28em; color: var(--dim); }
.dItem {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid transparent; color: var(--muted); font-size: 15.5px; font-weight: 500;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.dItem svg { width: 21px; height: 21px; flex: none; fill: none; stroke: rgba(143, 208, 255, 0.72); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.dItem:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.dItem.active { color: #fff; background: linear-gradient(90deg, rgba(47, 140, 255, 0.22), rgba(47, 140, 255, 0.06)); border-color: rgba(143, 208, 255, 0.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.dItem.active svg { stroke: var(--ice); }
.dItem.active::before { content: ""; position: absolute; left: -17px; top: 50%; width: 4px; height: 26px; margin-top: -13px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, #bfe6ff, #2f8cff); box-shadow: 0 0 12px rgba(143, 208, 255, 0.8); }
.ext { width: 16px !important; height: 16px !important; margin-left: auto; flex: none; fill: none; stroke: currentColor !important; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; }
.dLine { height: 1px; background: var(--border); margin: 22px 4px 18px; }
.dDiscord {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; color: var(--text);
  border: 1px solid rgba(150, 162, 255, 0.5);
  background: radial-gradient(120% 90% at 30% -30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, rgba(88, 101, 242, 0.26), rgba(88, 101, 242, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 28px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s, background 0.2s;
}
.dDiscord:hover { border-color: rgba(160, 172, 255, 0.8); background: linear-gradient(135deg, rgba(88, 101, 242, 0.32), rgba(88, 101, 242, 0.1)); }
.dDcIcon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #5865f2; box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.dDcIcon img { width: 26px; height: 26px; }
.dDcText { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.dDcText b { font-size: 16px; font-weight: 700; }
.dDcText small { font-size: 13px; color: var(--muted); }
.fxToggle { display: flex; align-items: center; gap: 12px; margin: 20px 6px 0; padding: 4px 0; border: 0; background: none; cursor: pointer; font-size: 15px; text-align: left; }
.sw { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--border); transition: background 0.25s, border-color 0.25s, box-shadow 0.25s; }
.sw span { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #c9d4e4; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); transition: transform 0.25s var(--ease), background 0.25s; }
.fxToggle[aria-checked="true"] .sw { background: linear-gradient(90deg, #2f8cff, #8fd0ff); border-color: transparent; box-shadow: 0 0 16px rgba(47, 140, 255, 0.45); }
.fxToggle[aria-checked="true"] .sw span { transform: translateX(20px); background: #fff; }
.dStatus { display: flex; align-items: center; gap: 10px; margin: 14px 6px 0; font-size: 14px; color: var(--muted); }
.dPlay { width: 100%; margin-top: 20px; }

/* niedrige Bildschirme (z. B. MacBook mit Browserleiste): Menü kompakter, damit alles reinpasst */
@media (max-height: 940px) {
  .dScroll { padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .dKicker { margin: 10px 6px 14px; }
  .dSec { margin: 12px 14px 4px; }
  .dItem { padding: 9px 14px; font-size: 15px; }
  .dLine { margin: 14px 4px 12px; }
  .dDiscord { padding: 11px 12px; }
  .dDcIcon { width: 40px; height: 40px; border-radius: 12px; }
  .dDcIcon img { width: 23px; height: 23px; }
  .fxToggle { margin-top: 14px; }
  .dStatus { margin-top: 10px; }
  .dPlay { margin-top: 14px; padding: 13px 20px; }
}
@media (max-height: 760px) {
  .dSec { margin: 8px 14px 2px; }
  .dItem { padding: 7px 14px; }
  .dKicker { margin: 8px 6px 10px; }
}

/* ---------- Buttons (Glas-Look) ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 27px; border: 0; border-radius: 16px; color: #fff; cursor: pointer;
  font-weight: 650; font-size: 15px; letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(8px) saturate(160%); backdrop-filter: blur(8px) saturate(160%);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
}
/* Lichtkante: oben links hell, unten rechts eisblau */
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.14) 36%, rgba(255, 255, 255, 0.05) 62%, rgba(170, 215, 255, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  transition: opacity 0.25s;
}
/* Lichtreflex, der beim Drüberfahren durchläuft */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn:hover::after { left: 130%; }
.btn img { width: 20px; height: 20px; }
.btn svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

/* blaues Glas */
.btn.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.14) 40%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(85% 70% at 50% 125%, rgba(170, 225, 255, 0.55), rgba(170, 225, 255, 0) 70%),
    linear-gradient(180deg, rgba(110, 185, 255, 0.62) 0%, rgba(52, 146, 255, 0.5) 50%, rgba(30, 108, 232, 0.62) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(190, 230, 255, 0.35), inset 0 0 20px rgba(160, 215, 255, 0.25), 0 10px 34px rgba(47, 140, 255, 0.45);
  text-shadow: 0 1px 8px rgba(0, 30, 90, 0.5);
}
.btn.primary::before { background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.25) 34%, rgba(255, 255, 255, 0.08) 62%, rgba(190, 230, 255, 0.8)); }
.btn.primary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.18) 40%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(85% 70% at 50% 125%, rgba(185, 232, 255, 0.7), rgba(185, 232, 255, 0) 70%),
    linear-gradient(180deg, rgba(125, 195, 255, 0.7) 0%, rgba(62, 155, 255, 0.58) 50%, rgba(36, 116, 238, 0.7) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(190, 230, 255, 0.45), inset 0 0 24px rgba(160, 215, 255, 0.32), 0 14px 44px rgba(47, 140, 255, 0.6);
}
/* klares Glas */
.btn.ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(85% 70% at 50% 125%, rgba(200, 225, 255, 0.16), rgba(200, 225, 255, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.btn.ghost::before { background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.14) 34%, rgba(255, 255, 255, 0.05) 62%, rgba(180, 220, 255, 0.45)); }
.btn.ghost:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.07) 42%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(85% 70% at 50% 125%, rgba(200, 225, 255, 0.24), rgba(200, 225, 255, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06));
}
.btn.small { padding: 10px 17px; font-size: 13px; border-radius: 12px; }
/* „Kopiert!“: helles Eis-Glas */
.btn.done, .btn.done:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.18) 40%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, rgba(205, 236, 255, 0.85), rgba(125, 198, 255, 0.78));
  color: #04101f; text-shadow: none;
}

/* Discord-Knopf oben in der Leiste: gleiche Glas-Optik, aber ohne Weichzeichner (spart Leistung, die Leiste ist eh dunkel) */
.nav .btn { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(22, 80, 180, 0.45); }

/* kleine Glas-Knöpfe (Sprache, Schließen) */
.lang, .dClose {
  background: radial-gradient(130% 95% at 50% -35%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(220, 235, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ---------- Hero ---------- */
/* Startbereich: beginnt direkt unter der Leiste, damit unten schon Ticker und Live-Bereich reinschauen (zeigt: es geht weiter) */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 78px 18px 40px; }
.crystalWrap { width: clamp(170px, 26vh, 300px); aspect-ratio: 1; margin-bottom: -10px; }
#crystal { width: 100%; height: 100%; display: block; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; background: linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)), rgba(8, 12, 24, 0.55); border: 1px solid var(--border); font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.liveDot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.heroLogo { width: min(94vw, 940px); margin: 14px 0 6px; }
.lead { max-width: 580px; color: var(--muted); font-size: clamp(16px, 2vw, 18.5px); }
.lead.left { margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.heroStatus { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5b6474; flex: none; }
.dot.on { background: #34d17a; box-shadow: 0 0 10px #34d17a; }
.dot.off { background: #f25f5f; }

/* ---------- Ticker ---------- */
.ticker { position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(5, 10, 22, 0.78); overflow: hidden; white-space: nowrap; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.tickerTrack { display: inline-block; padding: 15px 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); animation: scroll 42s linear infinite; will-change: transform; }
.tickerTrack b { color: var(--text); font-weight: 600; }
.tickerTrack b.g { color: #5fe39a; }
.tickerTrack b.r { color: #ff7a88; }
.tickerTrack i { font-style: normal; color: var(--ice); margin: 0 20px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.section { max-width: 1140px; margin: 0 auto; padding: clamp(58px, 8vw, 100px) clamp(16px, 4vw, 40px) 0; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; color: var(--ice); margin-bottom: 14px; }
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--ice); box-shadow: 0 0 8px var(--ice); }
h2 { font-family: var(--display); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(34px, 5.4vw, 58px); margin-bottom: 28px; }
h2.big { font-size: clamp(40px, 7.6vw, 84px); margin-bottom: calc(18px - 0.16em); padding-bottom: 0.16em; background: linear-gradient(180deg, #ffffff 30%, #9fb8d8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Glas-Flächen (ohne teuren Hintergrund-Weichzeichner) */
.tile, .card, .step, .stream, .project, .cta {
  position: relative; border: 1px solid var(--border);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Live-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { padding: 22px; border-radius: 22px; overflow: hidden; }
.tIcon { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: rgba(47, 140, 255, 0.12); border: 1px solid rgba(143, 208, 255, 0.2); color: var(--ice); }
.tIcon svg, .cIcon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tLabel { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); padding-right: 40px; }
.tValue { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.2vw, 48px); margin: 14px 0 2px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tValue.live { color: #ff5a6b; text-shadow: 0 0 22px rgba(255, 90, 107, 0.6); }
.tSub { font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Laufband */
/* schräges Laufband: breiter als der Bildschirm und mit Luft oben/unten, damit durch die Schräge nichts abgeschnitten wird */
.marquee { margin: calc(clamp(58px, 8vw, 100px) - 4vw) -8vw 0; padding: 4vw 0; transform: rotate(-3deg); pointer-events: none; overflow: hidden; }
.mRow { white-space: nowrap; line-height: 1.04; }
.mRow span { display: inline-block; font-family: var(--display); font-weight: 900; font-size: clamp(58px, 9.5vw, 128px); letter-spacing: -0.01em; animation: scroll 46s linear infinite; will-change: transform; }
.mRow.outline span { color: transparent; -webkit-text-stroke: 1.2px rgba(170, 210, 255, 0.34); }
.mRow.filled span { color: rgba(140, 190, 255, 0.07); animation-direction: reverse; animation-duration: 56s; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; padding: 26px; border-radius: 24px; overflow: hidden; transition: border-color 0.35s, transform 0.35s var(--ease); }
.card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 140, 255, 0.28), transparent 70%); pointer-events: none; transition: opacity 0.35s; opacity: 0.7; }
.card:hover { border-color: var(--border2); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.cIcon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; color: #dff0ff; background: linear-gradient(180deg, rgba(98, 173, 255, 0.35), rgba(26, 100, 214, 0.25)); border: 1px solid rgba(143, 208, 255, 0.35); box-shadow: 0 0 24px rgba(47, 140, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); margin-bottom: 18px; }
.cIcon.big { width: 58px; height: 58px; padding: 13px; margin: 0; flex: none; }
.cTag { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; color: var(--ice); }
.card h3 { font-family: var(--display); font-weight: 900; font-size: 27px; margin: 8px 0 8px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.cFoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.ipBtn { display: inline-flex; align-items: center; gap: 10px; padding: 7px 7px 7px 12px; border-radius: 12px; cursor: pointer; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); font-family: var(--mono); font-size: 12.5px; transition: border-color 0.2s; }
.ipBtn:hover { border-color: var(--border2); }
.ipBtn b { font-family: var(--body); font-size: 10.5px; letter-spacing: 0.14em; padding: 5px 9px; border-radius: 8px; background: var(--chrome); color: #0b1424; }
.ipBtn.done b { background: #8fd0ff; }
.count { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
code { font-family: var(--mono); font-size: 13px; padding: 7px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); color: var(--ice); }

/* Schritte */
.stepsH { font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: -0.02em; margin: 56px 0 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 26px; border-radius: 24px; overflow: hidden; }
.num { position: absolute; right: 18px; top: 2px; font-family: var(--display); font-weight: 900; font-size: 80px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(170, 210, 255, 0.24); }
.step h4 { font-size: 18px; font-weight: 700; margin: 46px 0 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Twitch */
.stream { display: flex; align-items: center; gap: 22px; padding: 26px; border-radius: 26px; overflow: hidden; background: linear-gradient(115deg, rgba(145, 70, 255, 0.16), rgba(47, 140, 255, 0.06) 55%, rgba(255, 255, 255, 0.02)), rgba(6, 10, 22, 0.62); }
.streamLogo { width: 58px; height: 58px; flex: none; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 18px rgba(160, 120, 255, 0.85)); }
.streamInfo { flex: 1; min-width: 0; }
.streamTop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.streamName { font-family: var(--display); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; }
.streamInfo p { color: var(--muted); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.badge.live { background: #ff3b50; color: #fff; box-shadow: 0 0 18px rgba(255, 59, 80, 0.6); animation: pulse 1.6s infinite; }

/* Bot */
.project { display: flex; align-items: center; gap: 22px; padding: 28px; border-radius: 26px; overflow: hidden; }
.project::before { content: ""; position: absolute; width: 360px; height: 360px; left: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 140, 255, 0.25), transparent 70%); pointer-events: none; }
.projectText { flex: 1; min-width: 0; position: relative; }
.projectTop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.project h3 { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; }
.free { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; padding: 5px 10px; border-radius: 999px; color: #04140c; background: linear-gradient(180deg, #8ff0b8, #34d17a); box-shadow: 0 0 18px rgba(52, 209, 122, 0.45); }
.project p { color: var(--muted); margin-top: 6px; }

/* Abschluss */
.cta { max-width: 1140px; margin: clamp(64px, 9vw, 110px) auto 0; padding: clamp(46px, 7vw, 84px) 24px; text-align: center; border-radius: 34px; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, rgba(47, 140, 255, 0.32), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)), rgba(6, 10, 22, 0.62); }
.cta h2 { font-size: clamp(34px, 6vw, 68px); margin-bottom: calc(14px - 0.16em); padding-bottom: 0.16em; background: linear-gradient(180deg, #ffffff 30%, #9fb8d8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta p { color: var(--muted); }

/* Footer */
.footer { max-width: 1140px; margin: 56px auto 0; padding: 30px clamp(16px, 4vw, 40px) max(30px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.footLogo { width: 160px; }
.fLinks { display: flex; gap: 16px; }
.fLinks img { width: 22px; height: 22px; opacity: 0.8; transition: opacity 0.2s, filter 0.2s; }
.fLinks a:hover img { opacity: 1; filter: drop-shadow(0 0 8px rgba(143, 208, 255, 0.9)); }
.fLegal { display: flex; gap: 18px; flex-wrap: wrap; }
.fLegal a:hover { color: var(--text); }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 120px 22px 40px; position: relative; z-index: 2; }
.legal h1 { font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; font-size: clamp(36px, 6vw, 56px); margin-bottom: 26px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; letter-spacing: -0.01em; font-weight: 800; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal .note { font-size: 13px; padding: 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); margin-bottom: 24px; }
.legal a { color: var(--ice); }
.back { display: inline-block; margin-bottom: 20px; color: var(--muted); font-size: 14px; }

/* Textlogo für Unterseiten */
.brand { font-family: var(--display); font-weight: 900; letter-spacing: 0.16em; font-size: 14px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Handy & Tablet ---------- */
@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav { gap: 8px; }
  .navLinks { display: none; }
  .navRight { margin-left: auto; }
  .stream, .project { flex-direction: column; align-items: flex-start; }
  .stream .btn, .project .btn { width: 100%; }
  .tile { padding: 18px; }
  .tIcon { width: 30px; height: 30px; padding: 6px; right: 12px; top: 12px; }
  .actions .btn { flex: 1 1 100%; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) {
  .navLogo { width: 112px; }
  .lang { padding: 7px 10px; }
}

/* =========================================================
   Effekte AUS  (Schalter im Menü)
   Alles Bewegte steht still, nichts Teures wird mehr berechnet.
   ========================================================= */
.fx-off *, .fx-off *::before, .fx-off *::after { animation: none !important; }
.fx-off body::after { display: none; }
.fx-off .loader { display: none; }
.fx-off .reveal { opacity: 1; transform: none; transition: none; }
.fx-off .wm .shine { display: none; }
.fx-off .neb { will-change: auto; }
.fx-off .scrim { background: rgba(2, 4, 10, 0.8); backdrop-filter: none; -webkit-backdrop-filter: none; }
.fx-off .card:hover, .fx-off .btn:hover { transform: none; }
.fx-off .btn { -webkit-backdrop-filter: none; backdrop-filter: none; }
.fx-off .btn.primary { background-color: rgba(26, 98, 210, 0.9); }
.fx-off .btn.ghost { background-color: rgba(12, 18, 32, 0.88); }
.fx-off .btn.done { background-color: #8fcfff; }
