/* marichcel.de – Liquid Glass auf Cyberpunk-Hintergrund (Magenta/Cyan).
   Glas ist neutral (weiß), Farbe kommt nur aus dem Hintergrund. Licht von oben links. */

:root {
  --magenta: #ff2bd6;
  --cyan: #34f0ff;
  --text: #ffffff;
  --text-2: rgba(235, 235, 245, .72);
  --text-3: rgba(235, 235, 245, .5);
  --glas: rgba(255, 255, 255, .07);
  --glas-stark: rgba(255, 255, 255, .11);
  --kante: rgba(255, 255, 255, .14);
  --radius: 28px;
  --breite: 1120px;
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", Inter, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0b0410; }
body {
  margin: 0; color: var(--text); font-family: var(--schrift); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* fester Hintergrund: KI-Bild + Abdunklung, damit Glas und Text lesbar bleiben */
.hintergrund {
  position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 4, 16, .35) 0%, rgba(11, 4, 16, .55) 45%, rgba(11, 4, 16, .92) 100%),
    url("bilder/hintergrund.webp") center / cover no-repeat;
}

/* ---------- Liquid Glass ---------- */
.glas {
  position: relative;
  background: radial-gradient(120% 140% at 20% -30%, rgba(255, 255, 255, .12), transparent 55%), var(--glas);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-radius: var(--radius);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    inset 2px 3px 8px -5px rgba(255, 255, 255, .45),
    inset -2px -3px 8px -6px rgba(255, 255, 255, .18),
    0 20px 50px rgba(0, 0, 0, .35);
}
.glas::after {               /* Lichtkante: Reflex oben links, Gegenreflex unten rechts */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.2px;
  background: conic-gradient(from 300deg, rgba(255,255,255,.75), rgba(255,255,255,.10) 60deg, rgba(255,255,255,.05) 120deg,
              rgba(255,255,255,.30) 180deg, rgba(255,255,255,.05) 240deg, rgba(255,255,255,.10) 300deg, rgba(255,255,255,.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 16px; z-index: 10; width: min(var(--breite), calc(100% - 32px)); margin: 16px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 22px; border-radius: 999px;
}
.nav .logo { font-weight: 800; font-size: 20px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--text-2); transition: background .2s, color .2s; }
.nav ul a:hover, .nav ul a[aria-current] { background: rgba(255, 255, 255, .1); color: var(--text); }

.live-punkt { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .35); flex: none; }
.live .live-punkt { background: #ff3b5c; box-shadow: 0 0 12px #ff3b5c; animation: puls 1.8s ease-in-out infinite; }

/* ---------- Layout ---------- */
main { width: min(var(--breite), calc(100% - 32px)); margin: 0 auto; }
section { padding: 72px 0 0; scroll-margin-top: 90px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.05; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 22px; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.unterzeile { color: var(--text-2); font-size: 18px; margin: 0 0 26px; max-width: 640px; }

/* Hero */
.hero { padding: 120px 0 40px; min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
.hero .status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
                font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); width: fit-content; }
.hero h1 { font-size: clamp(64px, 12vw, 148px); font-weight: 900; margin: 26px 0 14px; }
.hero h1 .verlauf {
  background: linear-gradient(90deg, #fff 20%, var(--magenta) 60%, var(--cyan) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: clamp(19px, 2.2vw, 24px); color: var(--text-2); margin: 0 0 34px; max-width: 620px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; transition: transform .2s, background .2s;
}
.knopf:hover { transform: translateY(-2px); }
.knopf.hell { background: #fff; color: #120814; box-shadow: 0 10px 30px rgba(255, 255, 255, .18); }
.knopf.glas:hover { background: var(--glas-stark); }
.knopf svg { width: 20px; height: 20px; }

/* Karten-Raster */
.raster { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.karte { padding: 28px; }
.karte p { color: var(--text-2); margin: 10px 0 0; }
.karte .symbol { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
                 background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), rgba(255,255,255,.06) 60%);
                 box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 2px 3px 6px -3px rgba(255,255,255,.6); }
.karte .symbol svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Live-Bereich mit Zwei-Klick-Lösung (Twitch lädt erst nach Klick) */
.player { aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 28px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.player .hinweis { color: var(--text-3); font-size: 14px; max-width: 460px; margin: 14px auto 0; }

/* Listen (Setup) */
.liste { list-style: none; margin: 14px 0 0; padding: 0; }
.liste li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.liste li:first-child { border-top: 0; }
.liste span:last-child { color: var(--text-2); text-align: right; }

/* Vorino */
.vorino { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 30px; }
.vorino .app-icon { width: 104px; height: 104px; border-radius: 24px; object-fit: cover;
                    box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 14px 30px rgba(0,0,0,.4); background: rgba(255,255,255,.08); }

/* Fußzeile */
footer { width: min(var(--breite), calc(100% - 32px)); margin: 90px auto 0; padding: 28px 0 46px;
         display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: var(--text-3); font-size: 14px;
         border-top: 1px solid rgba(255, 255, 255, .08); }
footer nav { display: flex; gap: 18px; }
footer a:hover { color: var(--text); }

/* Textseiten (Impressum, Datenschutz) */
.textseite { max-width: 760px; margin: 60px auto 0; padding: 40px; }
.textseite h1 { font-size: 40px; font-weight: 800; margin-bottom: 20px; }
.textseite h2 { font-size: 22px; margin: 28px 0 8px; }
.textseite p, .textseite li { color: var(--text-2); }
.platzhalter { background: rgba(255, 59, 92, .18); border-radius: 6px; padding: 1px 6px; color: #fff; }

@keyframes puls { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

/* sanftes Einblenden beim Scrollen */
.einblenden { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .9, .25, 1); }
.einblenden.sichtbar { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .nav ul a { padding: 8px 10px; font-size: 14px; }
  .nav ul li.optional { display: none; }
  .vorino { grid-template-columns: 1fr; text-align: left; }
  .hero { padding-top: 80px; }
  .textseite { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .einblenden { opacity: 1; transform: none; }
}
