@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.otf") format("opentype");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --bg: #07060c;
  --bg2: #0e0b18;
  --card: #141022;
  --ink: #f5f2fa;
  --muted: #a49cb8;
  --cyan: #22e4f5;
  --blue: #5b7bff;
  --violet: #c341f5;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue) 55%, var(--violet));
  --line: rgba(255, 255, 255, .09);
  --head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 6, 12, .55); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav img { height: 40px; display: block; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; opacity: .8; }
.nav ul a:hover { opacity: 1; }
@media (max-width: 640px) { .nav ul { gap: 16px; } .nav ul li.opt { display: none; } }

/* ---------- Hero / Bühne ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 110px 0 120px; }
.hero::before, .hero::after { /* Neon-Nebel */
  content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .45; z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::before { background: var(--cyan); top: -30vmax; left: -18vmax; }
.hero::after { background: var(--violet); top: -26vmax; right: -20vmax; animation-delay: -9s; }
@keyframes drift { to { transform: translate(6vmax, 8vmax) scale(1.1); } }

.beams { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.beams span {
  position: absolute; top: -10%; left: 50%; width: 38vw; height: 120%; transform-origin: top center;
  background: linear-gradient(to bottom, rgba(255,255,255,.16), rgba(255,255,255,0) 70%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); mix-blend-mode: screen;
  animation: sweep 9s ease-in-out infinite alternate;
}
.beams span:nth-child(1) { transform: translateX(-50%) rotate(-22deg); }
.beams span:nth-child(2) { transform: translateX(-50%) rotate(22deg); animation-delay: -4.5s; }
@keyframes sweep { from { opacity: .35; } to { opacity: .9; } }

.floor { /* leuchtendes Raster als Bühnenboden */
  position: absolute; left: -50%; right: -50%; bottom: -2px; height: 42%; z-index: 1; opacity: .9;
  background:
    linear-gradient(to top, rgba(195,65,245,.9) 2px, transparent 2px) 0 0 / 100% 48px,
    linear-gradient(to right, rgba(34,228,245,.8) 2px, transparent 2px) 0 0 / 64px 100%;
  transform: perspective(420px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: run 2.4s linear infinite;
}
@keyframes run { to { background-position: 0 48px, 0 0; } }

.hero-inner { position: relative; z-index: 2; }
.hero-mark { width: min(340px, 70vw); filter: drop-shadow(0 0 28px rgba(91,123,255,.55)) drop-shadow(0 0 60px rgba(195,65,245,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero h1 { font-size: clamp(38px, 7vw, 80px); margin: 18px 0 14px; text-transform: uppercase; }
.hero p { font-size: clamp(17px, 2.2vw, 21px); color: #cfc8dd; max-width: 36em; margin: 0 auto 32px; }
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; font-family: var(--head);
  letter-spacing: .02em; transition: transform .2s, box-shadow .2s;
}
.btn-main { background: var(--grad); color: #07060c; box-shadow: 0 8px 30px rgba(91,123,255,.45); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(195,65,245,.55); }
.btn-ghost { color: var(--ink); border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--cyan); transform: translateY(-2px); }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }

/* Scheinwerfer folgt der Maus */
.hero .spot { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(255,255,255,.13), transparent 60%); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Abschnitte ---------- */
section.block { padding: 110px 0; position: relative; }
.kicker { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; }
.block h2 { font-size: clamp(32px, 5vw, 54px); margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 44px; }

/* ---------- Spiele ---------- */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .games { grid-template-columns: 1fr; } }
.game {
  position: relative; border-radius: 22px; overflow: hidden; background: var(--card); min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.game::after { /* Neon-Rand beim Drüberfahren */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.game { transform: perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)); }
.game:hover {  box-shadow: 0 24px 60px rgba(91,123,255,.25); }
.game:hover::after { opacity: 1; }
.game .art { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; transition: transform .6s; }
.game:hover .art { transform: scale(1.06); }
.game .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,6,12,.96) 18%, rgba(7,6,12,.35) 60%, rgba(7,6,12,.05)); }
.game .body { padding: 26px 26px 24px; }
.game h3 { font-size: 30px; margin: 10px 0 6px; }
.game p { color: #cfc8dd; margin: 0 0 14px; max-width: 30em; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.pill.soon { background: var(--grad); color: #07060c; }
.pill.dev { background: rgba(255,255,255,.12); color: var(--ink); backdrop-filter: blur(6px); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.game .links { margin-top: 14px; display: flex; gap: 18px; }
.game .links a { font-weight: 600; font-size: 14px; }
.art-beef { background: radial-gradient(circle at 30% 30%, #ff3d6e 0, transparent 45%), radial-gradient(circle at 75% 60%, #ffb02e 0, transparent 45%), #1b0d18; }
.art-beef .vs { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); font-family: var(--head); font-weight: 900; font-size: 140px; color: rgba(255,255,255,.92); text-shadow: 0 0 40px rgba(255,61,110,.8); letter-spacing: -.04em; }

/* ---------- Werte ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.value .ico { font-size: 30px; }
.value h3 { font-size: 20px; margin: 12px 0 6px; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Kontakt ---------- */
.cta { text-align: center; border-radius: 28px; padding: 70px 24px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 0%, rgba(34,228,245,.25), transparent 60%), radial-gradient(ellipse at 80% 100%, rgba(195,65,245,.28), transparent 60%), var(--bg2);
  border: 1px solid var(--line); }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); margin: 0 auto 28px; max-width: 34em; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.page { padding: 120px 0 60px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(34px, 6vw, 52px); margin: 0 0 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px 12px; margin: 20px 0; }
.card h2 { font-size: 20px; margin: 20px 0 6px; }
.card p { margin: 0 0 12px; }
.muted, small { color: var(--muted); }
.ph { background: #fff3b0; color: #2a2350; padding: 0 4px; border-radius: 4px; }

/* ---------- Fuß ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer img { height: 30px; opacity: .9; }
footer a { color: var(--muted); margin-left: 20px; text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.game.reveal.in { transform: perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)); }

/* ===== Fassung 3: Figuren auf der Bühne ===== */
.hero.cast { padding: 120px 0 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
.hero.cast .hero-inner { padding-top: 4vh; }
.hero.cast h1 { font-size: clamp(40px, 7.4vw, 92px); margin: 6px 0 14px; }
.hero.cast .kicker { margin-bottom: 6px; }
.stage-cast { position: relative; z-index: 2; height: min(52vh, 520px); max-width: 1200px; width: 100%; margin: 0 auto; }
.stage-cast img { position: absolute; bottom: 0; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.stage-cast .grumpy { left: 3%; height: 100%; transform-origin: bottom center; }
.stage-cast .grumpy:hover { transform: rotate(-3deg) scale(1.04); }
.stage-cast .owl { right: 6%; height: 82%; animation: float 5s ease-in-out infinite; }
.stage-cast .podest { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46%; height: 34px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(91,123,255,.55), transparent 70%); filter: blur(6px); }
.stage-cast .say { position: absolute; left: 24%; top: 6%; background: #fff; color: #111; font-family: var(--head); font-weight: 800; font-size: 15px;
  padding: 10px 14px; border-radius: 16px; transform: rotate(-4deg); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.stage-cast .say::after { content: ""; position: absolute; left: 18px; bottom: -9px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.stage-cast .say.r { left: auto; right: 22%; top: 14%; transform: rotate(4deg); }
.stage-cast .say.r::after { left: auto; right: 18px; }
@media (max-width: 760px) {
  .stage-cast { height: 38vh; }
  .stage-cast .say { display: none; }
  .stage-cast .grumpy { left: -6%; }
  .stage-cast .owl { right: -2%; height: 70%; }
}

/* Große Spiel-Blöcke */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 70px 0; }
.feature.rev { grid-template-columns: .95fr 1.05fr; }
.feature.rev .feat-media { order: -1; }
@media (max-width: 860px) { .feature, .feature.rev { grid-template-columns: 1fr; gap: 34px; } .feature.rev .feat-media { order: 0; } }
.feature h3 { font-size: clamp(40px, 6vw, 68px); margin: 12px 0 12px; }
.feature p.txt { color: #cfc8dd; font-size: 18px; margin: 0 0 22px; max-width: 30em; }
.feature .btns { justify-content: flex-start; margin-top: 22px; }
.btn-store { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; }
.btn-store small { display: block; font-size: 11px; color: #555; font-family: -apple-system, sans-serif; font-weight: 500; line-height: 1; }
.btn-store b { display: block; font-size: 17px; line-height: 1.1; }
.btn-store[aria-disabled="true"] { opacity: .9; cursor: default; }

/* Handy mit Clips */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; }
.phone-wrap::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; top: 8%;
  background: radial-gradient(circle, rgba(195,65,245,.45), rgba(34,228,245,.15) 45%, transparent 70%); filter: blur(30px); z-index: 0; }
.phone { position: relative; z-index: 1; width: min(300px, 72vw); aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 12px; background: #111;
  box-shadow: 0 0 0 2px #2b2838, 0 40px 80px rgba(0,0,0,.6); transform: rotate(-4deg); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; display: block; background: #000; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 20px; background: #000; z-index: 2; }
.clip-tabs { position: relative; z-index: 1; display: flex; gap: 10px; }
.clip-tabs button { font: 600 14px var(--head); color: var(--ink); background: rgba(255,255,255,.08); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.clip-tabs button.on { background: var(--grad); color: #07060c; border-color: transparent; }

/* Grumpy-Block */
.scene { position: relative; border-radius: 26px; aspect-ratio: 3 / 2; background-size: cover; background-position: center; box-shadow: 0 40px 80px rgba(0,0,0,.55); }
.scene img { position: absolute; right: -6%; bottom: -8%; height: 92%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); transition: transform .4s; }
.scene:hover img { transform: translateY(-8px) rotate(2deg); }

.mini-games { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 10px; }
@media (max-width: 760px) { .mini-games { grid-template-columns: 1fr; } }
.mini-games .game { min-height: 300px; }

/* Kontaktformular (30.11.2026) */
form.kontakt { display: grid; gap: 16px; padding: 8px 0 18px; }
form.kontakt label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
form.kontakt small { font-weight: 400; opacity: .7; }
form.kontakt input, form.kontakt select, form.kontakt textarea { font: inherit; font-weight: 400; color: inherit; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
form.kontakt input:focus, form.kontakt select:focus, form.kontakt textarea:focus { outline: 2px solid #6ee7f9; outline-offset: 1px; }
form.kontakt select option { color: #111; }
form.kontakt .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.kontakt .btn { justify-self: start; border: 0; cursor: pointer; }
.klein { font-size: 13px; }
.meldung:empty { display: none; }
.meldung { padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.meldung.ok { background: rgba(52,211,153,.15); border: 1px solid rgba(52,211,153,.5); }
.meldung.fehler { background: rgba(255,61,110,.15); border: 1px solid rgba(255,61,110,.5); }
