/* Thias Lab – eine Nachtseite. Farben aus VIBE: Grund rgb(10,10,15),
   Lavendel rgb(195,172,255), Neon aus der Wortmarke, Gold der Top 10. */

:root {
  --bg: #0a0a0f;
  --bg-2: #0f0e16;
  --surface: #15131d;
  --surface-2: #1c1927;
  --line: rgba(195, 172, 255, 0.12);
  --line-2: rgba(195, 172, 255, 0.22);
  --text: #ebe7f5;
  --soft: #c9c4d8;
  --muted: #9a97ab;
  --lav: #c3acff;
  --lav-2: #dac7ff;
  --violet: #7c5cff;
  --pink: #e77bff;
  --gold: #ffd36b;
  --green: #6ad680;
  --radius: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* Nichts darf seitlich über den Rand ragen: auf iPhone und iPad ließ sich die ganze
   Seite sonst ein Stück nach links und rechts ziehen. clip statt hidden, damit die
   angehefteten Elemente (Kopfzeile, Handy im Showcase) weiter funktionieren. */
html, body { overflow-x: clip; overscroll-behavior-x: none; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
main, section, footer, .hero, .stage { max-width: 100vw; }
.hero, .stage { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y pinch-zoom;
}
img { max-width: 100%; display: block; }
a { color: var(--lav); text-decoration: none; }
a:hover { color: var(--lav-2); }
::selection { background: rgba(195, 172, 255, .35); color: var(--text); }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nachthimmel ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky::after {
  /* feines Korn, damit die Verläufe nicht streifig wirken */
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  opacity: .6;
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.blob.a { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, #4b2a9a 0%, transparent 65%); animation: drift-a 26s var(--ease) infinite alternate; }
.blob.b { width: 50vmax; height: 50vmax; right: -20vmax; top: 10vh; background: radial-gradient(circle, #8a2d9e 0%, transparent 65%); opacity: .38; animation: drift-b 32s var(--ease) infinite alternate; }
.blob.c { width: 55vmax; height: 55vmax; left: 20vw; bottom: -35vmax; background: radial-gradient(circle, #23206b 0%, transparent 65%); animation: drift-c 38s var(--ease) infinite alternate; }
@keyframes drift-a { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-12vw, 22vh) scale(.9); } }
@keyframes drift-c { to { transform: translate(-10vw, -14vh) scale(1.1); } }
.stars { position: absolute; inset: 0; }
.stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--lav-2); opacity: 0; animation: twinkle 6s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .7; transform: scale(1); } }

/* ---------- Kopfzeile ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.top.scrolled { background: rgba(10, 10, 15, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: .1px; }
.brand:hover { color: var(--text); }
.mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #8b6dff, #5b3ae8);
  box-shadow: 0 6px 20px -6px rgba(124, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #f3efff; font-size: 15px; font-weight: 850; letter-spacing: -.5px;
}
.mark b { color: var(--lav); }
.brand .lab { color: var(--lav); }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { color: var(--muted); font-size: 15px; font-weight: 600; transition: color .2s; }
.menu a:hover { color: var(--text); }
.lang {
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.lang a {
  font-size: 13px; font-weight: 800; letter-spacing: .6px; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; transition: background .25s, color .25s;
}
.lang a[aria-current] { background: var(--lav); color: #1d122f; }
.lang a:not([aria-current]):hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(195, 172, 255, .08); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 700; color: var(--soft);
}
.chip img { width: 26px; height: 26px; border-radius: 8px; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(106, 214, 128, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(106, 214, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(106, 214, 128, 0); } }
h1 {
  font-size: clamp(46px, 6.4vw, 84px); line-height: .98; letter-spacing: -.045em;
  font-weight: 850; margin: 22px 0 22px;
}
.glow {
  background: linear-gradient(100deg, #f2c9ff 0%, var(--pink) 30%, var(--lav) 60%, #8f7bff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 28px rgba(231, 123, 255, .35));
}
@keyframes sheen { to { background-position: 100% 0; } }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--soft); max-width: 34em; margin: 0 0 30px; }
.note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 11px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 15px;
  background: #050507; border: 1px solid rgba(235, 231, 245, .28);
  color: var(--text); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.store:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(235, 231, 245, .55); box-shadow: 0 14px 34px -14px rgba(195, 172, 255, .55); }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font-size: 11px; letter-spacing: .3px; color: var(--soft); }
.store strong { font-size: 21px; font-weight: 650; letter-spacing: -.3px; }

.stats { display: flex; gap: 34px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 520px; }
.stats b { display: block; font-size: 30px; font-weight: 850; letter-spacing: -.03em; color: var(--text); }
.stats span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Bühne mit Handy */
.stage { position: relative; height: min(760px, 88vh); display: grid; place-items: center; perspective: 1400px; }
.neon {
  position: absolute; width: min(520px, 92%); top: 4%; left: 50%; transform: translateX(-50%);
  opacity: .9; filter: drop-shadow(0 0 30px rgba(231, 123, 255, .55));
  animation: flicker 7s infinite;
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: .9; }
  20%, 24%, 55% { opacity: .35; }
}
.halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .45), transparent 65%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .8; } }

.device { position: relative; z-index: 2; transform-style: preserve-3d; will-change: transform; }
.phone {
  --w: min(300px, 70vw);
  position: relative; width: var(--w); aspect-ratio: 390 / 862;
  padding: 11px; border-radius: calc(var(--w) * .17);
  background: linear-gradient(145deg, #3a3548, #16141d 45%, #0b0a10);
  box-shadow:
    0 0 0 1.5px #4a4459 inset,
    0 50px 100px -30px rgba(0, 0, 0, .9),
    0 30px 90px -20px rgba(124, 92, 255, .45);
}
.phone::before { /* Seitentasten */
  content: ""; position: absolute; right: -3px; top: 24%; width: 3px; height: 13%;
  border-radius: 0 3px 3px 0; background: #2a2635;
}
.screen { position: relative; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: #0a0a0f; }
.island { position: absolute; z-index: 3; top: 9px; left: 50%; transform: translateX(-50%); width: 31%; height: 3.6%; border-radius: 99px; background: #000; }
.status { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 4.2%; display: flex; align-items: center; justify-content: space-between; padding: 2% 9% 0 11%; font-size: calc(var(--w) * .043); font-weight: 700; color: var(--text); }
.status svg { height: calc(var(--w) * .038); width: auto; fill: var(--text); }
.status .icons { display: flex; gap: 5px; align-items: center; }
.shots { position: absolute; left: 0; right: 0; bottom: 0; top: 4.2%; }
.shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.shot.on { opacity: 1; transform: none; }
.homebar { position: absolute; z-index: 3; bottom: 7px; left: 50%; transform: translateX(-50%); width: 34%; height: 4px; border-radius: 9px; background: rgba(235, 231, 245, .55); }
.glare { position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .09), transparent 35%); }

.dots { position: absolute; bottom: 1%; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(195, 172, 255, .25); transition: width .4s var(--ease), background .4s; }
.dots i.on { width: 22px; background: var(--lav); }

.float {
  position: absolute; z-index: 1; width: 128px; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  animation: bob 7s ease-in-out infinite;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 15, .75), transparent 55%); }
.float span { position: absolute; z-index: 1; left: 12px; bottom: 10px; font-size: 14px; font-weight: 800; color: var(--text); }
.float.f1 { left: 2%; top: 20%; --r: -9deg; }
.float.f2 { right: 0; top: 12%; --r: 8deg; animation-delay: -2s; width: 116px; }
.float.f3 { left: 6%; bottom: 10%; --r: 6deg; animation-delay: -4s; width: 110px; }
.float.f4 { right: 4%; bottom: 16%; --r: -7deg; animation-delay: -1s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-18px) rotate(calc(var(--r) * -.4)); } }

.scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--lav); animation: wheel 2s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Abschnitte ---------- */
section { position: relative; }
.block { padding: 120px 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: var(--lav); margin: 0 0 14px; }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 850; margin: 0 0 18px; }
.intro { max-width: 640px; margin-bottom: 56px; }
.intro p { color: var(--soft); font-size: 19px; margin: 0; }
.center { text-align: center; margin-inline: auto; }

/* Spiele-Laufband */
.marquee { position: relative; overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.game {
  position: relative; flex: none; width: 210px; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.game:hover { transform: translateY(-8px) rotate(-1deg); border-color: var(--line-2); box-shadow: 0 24px 50px -20px rgba(124, 92, 255, .6); }
.game img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.game:hover img { transform: scale(1.07); }
.game::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 6, 14, .92) 8%, rgba(8, 6, 14, .2) 55%, transparent); }
.game div { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 15px; }
.game small { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: 1.2px; color: var(--lav-2); background: rgba(29, 18, 47, .75); border-radius: 7px; padding: 3px 7px; margin-bottom: 7px; }
.game b { display: block; font-size: 20px; line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
.game span { font-size: 12px; color: var(--soft); }
.game .top10 { position: absolute; z-index: 1; top: 12px; right: 12px; font-size: 11px; font-weight: 850; color: #2a1d00; background: var(--gold); border-radius: 9px; padding: 4px 8px; }

/* Merkmale */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  --mx: 50%; --my: 50%;
  position: relative; padding: 30px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s;
}
.feature::before { /* Lichtkegel, folgt dem Zeiger */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(195, 172, 255, .14), transparent 45%);
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); }
.feature:hover::before { opacity: 1; }
.feature .ico {
  width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(195, 172, 255, .22), rgba(124, 92, 255, .08));
  border: 1px solid var(--line-2);
}
.feature .ico svg { width: 26px; height: 26px; stroke: var(--lav-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.feature.wide .pics { display: flex; gap: 10px; justify-content: flex-end; }
.feature.wide .pics img { width: 31%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.feature.wide .pics img:nth-child(2) { transform: translateY(-14px); }
.feature.span2 { grid-column: span 2; }
.feature.wide .pics img { border-radius: 14px; object-position: center 22%; }
.feature.full { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; background: linear-gradient(100deg, rgba(106, 214, 128, .10), var(--surface) 55%); }
.feature.full .ico { margin: 0; grid-row: span 2; background: linear-gradient(135deg, rgba(106, 214, 128, .25), rgba(106, 214, 128, .06)); border-color: rgba(106, 214, 128, .35); }
.feature.full .ico svg { stroke: #a6f0b6; }
.feature.full h3 { margin-bottom: 4px; align-self: end; }
.feature.full p { align-self: start; }

/* Showcase: Text scrollt, Handy bleibt stehen */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.steps { padding: 18vh 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.step.on { opacity: 1; }
.step .num { font-size: 13px; font-weight: 850; letter-spacing: 1.8px; color: var(--gold); margin-bottom: 12px; }
.step h3 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 14px; }
.step p { color: var(--soft); font-size: 18px; margin: 0; max-width: 28em; }
.step .inline { display: none; }
.pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.pin .phone { --w: min(320px, 30vw); }
.pin .halo { width: 90%; }

/* Aufruf */
.cta {
  position: relative; overflow: hidden; border-radius: 36px; padding: 90px 40px; text-align: center;
  border: 1px solid var(--line-2); isolation: isolate;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/assets/party.webp) center 60% / cover; transform: scale(1.05); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10, 10, 15, .55), rgba(10, 10, 15, .9) 70%); }
.cta h2 { max-width: 14em; margin-inline: auto; }
.cta p { color: var(--soft); font-size: 19px; margin: 0 auto 30px; max-width: 32em; }
.cta .stores { justify-content: center; }

/* Über uns */
.about { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 50px; border-radius: 32px; background: linear-gradient(135deg, rgba(124, 92, 255, .12), rgba(21, 19, 29, .6)); border: 1px solid var(--line); }
.about .mark { width: 110px; height: 110px; border-radius: 32px; font-size: 42px; letter-spacing: -2px; box-shadow: 0 20px 60px -20px rgba(124, 92, 255, .9); }
.about h2 { font-size: clamp(30px, 3.6vw, 44px); }
.about p { color: var(--soft); margin: 0 0 10px; font-size: 18px; max-width: 40em; }

/* Fußzeile */
footer { margin-top: 120px; border-top: 1px solid var(--line); padding: 50px 0 60px; color: var(--muted); font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer h4 { color: var(--text); font-size: 14px; letter-spacing: .4px; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .brand { margin-bottom: 14px; }
footer .copy { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ---------- Top-Spiele ---------- */
.search {
  position: relative; display: flex; align-items: center; gap: 14px;
  width: min(640px, 100%); height: 64px; margin: 0 auto 18px; padding: 0 12px 0 22px;
  border-radius: 999px; background: rgba(28, 25, 39, .78); border: 1px solid var(--line-2);
  box-shadow: 0 20px 60px -24px rgba(124, 92, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.search .lens svg { width: 22px; height: 22px; stroke: var(--lav); fill: none; stroke-width: 2; stroke-linecap: round; display: block; }
.search .q { font-size: 19px; font-weight: 650; color: var(--text); white-space: nowrap; overflow: hidden; }
.search .caret { width: 2px; height: 24px; margin-left: -12px; background: var(--lav); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search .hit {
  margin-left: auto; flex: none; font-size: 13px; font-weight: 800; letter-spacing: .3px;
  padding: 8px 14px; border-radius: 999px; background: rgba(106, 214, 128, .16); color: #a6f0b6;
  border: 1px solid rgba(106, 214, 128, .35); opacity: 0; transform: scale(.9); transition: opacity .3s, transform .3s var(--ease);
}
.search.found .hit { opacity: 1; transform: none; }
.terms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0 auto 44px; max-width: 820px; }
.terms li { font-size: 13px; font-weight: 650; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: color .3s, border-color .3s, background .3s; }
.terms li.on { color: var(--text); border-color: var(--line-2); background: rgba(195, 172, 255, .1); }

.top-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
.top-tile {
  position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.top-tile.xl { grid-column: span 2; grid-row: span 2; }
.top-tile.tall { grid-row: span 2; }
.top-tile.wide { grid-column: span 2; }
.top-tile:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 28px 60px -26px rgba(124, 92, 255, .7); color: var(--text); }
.top-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; transition: transform 1s var(--ease); }
.top-tile.wide > img { object-position: center; }
.top-tile:hover > img { transform: scale(1.06); }
.top-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 6, 14, .96) 6%, rgba(8, 6, 14, .55) 42%, rgba(8, 6, 14, .05) 75%); }
/* Kleine Kacheln zeigen viel App-Oberfläche – dort muss der Text auf ruhigem Grund stehen */
.top-tile:not(.xl):not(.wide)::after { background: linear-gradient(to top, rgba(8, 6, 14, .98) 0%, rgba(8, 6, 14, .92) 38%, rgba(8, 6, 14, .4) 62%, rgba(8, 6, 14, 0) 85%); }
.top-tile:not(.xl):not(.wide) > img { object-position: center top; }
.tile-copy { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.tile-copy .aka {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .2px; color: #2a1d00;
  background: var(--gold); padding: 4px 10px 4px 8px; border-radius: 999px;
}
.tile-copy .aka i { font-style: normal; }
.tile-copy .aka svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; }
.tile-copy h3 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.top-tile.xl .tile-copy h3 { font-size: clamp(30px, 3.4vw, 44px); }
.tile-copy p { margin: 0 0 8px; color: var(--soft); font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.top-tile.xl .tile-copy p { font-size: 17px; -webkit-line-clamp: 3; max-width: 30em; }
.tile-copy .meta { font-size: 12px; font-weight: 700; color: var(--lav-2); }
.top-tile.more { background: linear-gradient(135deg, rgba(124, 92, 255, .28), rgba(21, 19, 29, .9) 60%); }
.top-tile.more::after { display: none; }
.top-tile.more .tile-copy { right: 44%; top: 22px; bottom: auto; }
.top-tile.more .tile-copy p { -webkit-line-clamp: 4; }
.top-tile.more .go { display: inline-block; margin-top: 4px; font-weight: 800; color: var(--lav); }
.fan { position: absolute; right: 12%; top: 56%; width: 30%; height: 70%; transform: translateY(-50%); }
.fan img { position: absolute; top: 0; left: 50%; width: 46%; aspect-ratio: 1 / 2; height: auto; object-fit: cover; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: var(--shadow); transform-origin: 50% 110%; transition: transform .6s var(--ease); }
.fan img:nth-child(1) { transform: translateX(-50%) rotate(-24deg); }
.fan img:nth-child(2) { transform: translateX(-50%) rotate(-14deg); }
.fan img:nth-child(3) { transform: translateX(-50%) rotate(-5deg); }
.fan img:nth-child(4) { transform: translateX(-50%) rotate(5deg); }
.fan img:nth-child(5) { transform: translateX(-50%) rotate(14deg); }
.fan img:nth-child(6) { transform: translateX(-50%) rotate(24deg); }
.top-tile.more:hover .fan img:nth-child(1) { transform: translateX(-50%) rotate(-32deg); }
.top-tile.more:hover .fan img:nth-child(2) { transform: translateX(-50%) rotate(-19deg); }
.top-tile.more:hover .fan img:nth-child(5) { transform: translateX(-50%) rotate(19deg); }
.top-tile.more:hover .fan img:nth-child(6) { transform: translateX(-50%) rotate(32deg); }

@media (max-width: 1000px) {
  .top-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .top-tile.tall { grid-row: span 2; }
}
@media (max-width: 640px) {
  .search { height: 56px; padding-left: 18px; }
  .search .q { font-size: 16px; }
  .search .hit { display: none; }
  .top-grid { grid-auto-rows: 200px; gap: 12px; }
  .top-tile { border-radius: 20px; }
  .tile-copy { left: 14px; right: 14px; bottom: 13px; }
  .tile-copy h3 { font-size: 19px; }
  .top-tile:not(.xl):not(.wide):not(.tall) .tile-copy p { display: none; }
  .terms { margin-bottom: 30px; }
  .terms li:nth-child(n+5) { display: none; }
  .top-tile:not(.xl) .aka { max-width: 100%; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
  .top-tile:not(.xl) .aka i { display: none; }
  .top-tile:not(.xl) .aka svg { vertical-align: -1px; margin-right: 4px; }
  .top-tile.more .tile-copy { right: 14px; }
  .top-tile.more .tile-copy p { -webkit-line-clamp: 3; }
  .fan { display: none; }
}

/* ---------- Anleitung (KI-Werbevideos) ---------- */
.guide { padding: 30px 0 20px; }
.guide .wrap { max-width: 860px; }
.g-hero h1 { font-size: clamp(38px, 6.4vw, 66px); margin: 6px 0 18px; }
.g-hero .lead { margin-bottom: 16px; }
.g-meta { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.g-legend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--soft); font-size: 15px; }
mark.ph { background: rgba(195, 172, 255, .10); color: var(--lav-2); border: 1px dashed rgba(195, 172, 255, .35); border-radius: 6px; padding: 0 5px; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.g-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 10px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.g-toc a { font-size: 14px; font-weight: 650; color: var(--soft); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.g-toc a:hover { color: var(--text); border-color: var(--line-2); }
.g-block, .g-step { margin-top: 56px; }
.guide h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.025em; margin: 0 0 14px; }
.guide p { color: var(--soft); }
.needs { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.needs li { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.needs b { display: block; color: var(--text); margin-bottom: 4px; }
.needs span { color: var(--muted); font-size: 15px; }
.note-box { padding: 14px 16px; border-radius: 16px; background: rgba(195, 172, 255, .08); border: 1px solid var(--line-2); }
.note-box b { color: var(--text); }
.g-step { scroll-margin-top: 90px; }
.guide .g-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--lav); }
.g-block { scroll-margin-top: 90px; }
.prompt { margin: 18px 0; border-radius: 18px; overflow: hidden; background: #110f18; border: 1px solid var(--line-2); }
.prompt figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; background: rgba(195, 172, 255, .07); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; letter-spacing: .4px; color: var(--lav-2); text-transform: uppercase; }
.prompt .copy { font: inherit; text-transform: none; letter-spacing: 0; font-weight: 750; font-size: 13px; color: #1d122f; background: var(--lav); border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background .2s, transform .2s; }
.prompt .copy:hover { background: var(--lav-2); }
.prompt .copy.done { background: var(--green); }
.prompt pre { margin: 0; padding: 16px; white-space: pre-wrap; word-wrap: break-word; }
.prompt pre, .prompt code { font-family: inherit; font-size: 16px; line-height: 1.65; color: var(--text); }
.phs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 0 0 14px; font-size: 15px; }
.phs dt { margin: 0; } .phs dd { margin: 0; color: var(--muted); }
.tip { padding: 12px 14px; border-left: 3px solid var(--lav); background: rgba(195, 172, 255, .05); border-radius: 0 12px 12px 0; }
.tip b { color: var(--text); }
.fixes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fix { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.fix h3 { margin: 0 0 6px; font-size: 17px; color: #ffb3c0; }
.fix p { margin: 0; font-size: 15px; }
.prices { padding-left: 20px; } .prices li { color: var(--soft); margin-bottom: 8px; } .prices b { color: var(--text); }
.guide a:not(.store) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(195, 172, 255, .4); }
.g-toc a { text-decoration: none !important; }
.g-vibe { margin-top: 64px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 28px; border-radius: 26px; background: linear-gradient(135deg, rgba(124, 92, 255, .16), rgba(21, 19, 29, .7)); border: 1px solid var(--line-2); }
.g-vibe img { border-radius: 18px; }
.g-vibe h2 { font-size: 26px; margin-bottom: 8px; }
/* Werbeflächen: erst sichtbar, wenn Google wirklich eine Anzeige liefert – vorher
   (keine Freigabe, keine Einwilligung, nichts zu zeigen) bleibt kein leerer Kasten stehen.
   Nicht display:none – sonst misst Google keine Breite und liefert nie etwas aus. */
.ad-slot { height: 0; margin: 0; overflow: hidden; visibility: hidden; border-radius: 18px; background: rgba(255, 255, 255, .02); }
.ad-slot:has(ins[data-ad-status="filled"]) { height: auto; margin: 44px 0; padding: 12px; overflow: visible; visibility: visible; border: 1px solid var(--line); }
.ad-label { display: block; margin: 0 0 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.ad-slot ins { min-height: 90px; }
footer [data-consent] { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .needs, .fixes { grid-template-columns: 1fr; }
  .phs { grid-template-columns: 1fr; gap: 2px; } .phs dd { margin-bottom: 8px; }
  .prompt pre, .prompt code { font-size: 15px; }
  .g-vibe { grid-template-columns: 1fr; padding: 22px; }
}

.menu a[aria-current] { color: var(--text); }

/* Wachkick: kurze Vorstellung einer zweiten App, mit eigenem Orange nur als kleinem Akzent */
.wachkick { padding: 40px 0 0; }
.wk-hero { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.wk-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; box-shadow: 0 16px 44px -16px rgba(255, 154, 60, .55); }
.wk-hero h1 { font-size: clamp(42px, 7vw, 68px); margin: 0 0 8px; }
.wk-slogan { margin: 0 0 16px; font-size: clamp(17px, 2vw, 20px); font-weight: 700; color: #ffb066; }
.wk-hero .lead { margin: 0 auto 22px; }
.wk-soon { display: inline-block; margin: 0; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); }
.wk-how { max-width: 820px; margin: 0 auto 70px; text-align: center; }
.wk-how h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.025em; margin: 0 0 10px; }
.wk-how > p { max-width: 36em; margin: 0 auto 28px; color: var(--soft); }
.wk-how > .wk-note { margin: 18px auto 0; font-size: 14px; color: var(--muted); }
.wk-demo { width: min(300px, 72vw); margin: 0 auto; }
.wk-phone video { display: block; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: contain; border-radius: 28px; background: #000; }
.wk-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.wk-shot { margin: 0; min-width: 0; }
.wk-phone { position: relative; padding: 7px; border-radius: 34px; background: linear-gradient(145deg, #3a3548, #16141d 45%, #0b0a10); box-shadow: 0 0 0 1px #4a4459 inset, 0 30px 60px -28px rgba(0, 0, 0, .9); }
.wk-phone img { display: block; width: 100%; height: auto; border-radius: 28px; }
.wk-phone .island { top: 13px; height: 2.6%; width: 28%; }
.wk-shot figcaption { padding: 14px 4px 0; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.wk-shot figcaption b { display: block; margin-bottom: 2px; font-size: 16px; color: var(--text); }
.wk-shot figcaption i { display: block; margin-top: 4px; font-size: 12.5px; font-style: normal; opacity: .75; }
.wk-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 54px 0 0; padding: 0; }
.wk-facts li { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.wk-facts b { display: block; margin-bottom: 4px; color: var(--text); }
.wk-facts span { color: var(--muted); font-size: 15px; }
.wk-foot { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.wk-foot a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .wk-how { margin-bottom: 54px; }
  .wk-shots { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .wk-phone { padding: 5px; border-radius: 26px; }
  .wk-phone img, .wk-phone video { border-radius: 21px; }
  .wk-phone .island { top: 9px; }
  .wk-facts { grid-template-columns: 1fr; margin-top: 40px; }
}

/* Rechtstexte */
.doc { padding: 50px 0 20px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(38px, 6vw, 58px); margin: 10px 0 10px; }
.doc .sub { color: var(--muted); margin: 0 0 34px; }
.doc h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 10px; }
.doc h3 { font-size: 18px; margin: 26px 0 6px; color: var(--lav-2); }
.doc p, .doc li { color: var(--soft); }
.doc ul, .doc ol { padding-left: 22px; }
.doc address { font-style: normal; color: var(--soft); line-height: 1.8; }
.doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(195, 172, 255, .4); }
.box { padding: 20px 22px; border-radius: 18px; background: rgba(195, 172, 255, .08); border: 1px solid var(--line-2); margin: 20px 0; }
.box p { margin: 0; color: var(--text); }


/* Einblenden beim Scrollen – nur mit JavaScript, sonst bleibt alles sichtbar */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* Der Hero erscheint sofort beim Laden, ohne auf den Beobachter zu warten */
.hero .copy > * { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1000px) {
  .menu { display: none; }
  .lang { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero .copy { display: flex; flex-direction: column; align-items: center; }
  .stores, .stats { justify-content: center; }
  .stats { margin-inline: auto; }
  .stage { height: 640px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.wide { grid-column: 1 / -1; }
  .show { grid-template-columns: 1fr; }
  .pin { display: none; }
  .steps { padding: 0; }
  .step { min-height: 0; opacity: 1; padding: 30px 0 50px; text-align: center; align-items: center; }
  .step .inline { display: block; margin-top: 30px; }
  .step .inline .phone { --w: min(270px, 68vw); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :first-child { grid-column: 1 / -1; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top .wrap { gap: 12px; }
  .brand { font-size: 17px; }
  .hero { padding-top: 26px; }
  .stage { height: auto; padding: 40px 0 56px; }
  .float { width: 92px !important; border-radius: 16px; }
  .float span { display: none; }
  .float.f1 { left: -4%; top: 12%; } .float.f2 { right: -4%; top: 6%; } .float.f3 { left: -3%; bottom: 16%; } .float.f4 { right: -4%; bottom: 22%; }
  .dots { bottom: 14px; }
  .stats { gap: 22px; }
  .stats b { font-size: 25px; }
  .block { padding: 84px 0; }
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-template-columns: 1fr; }
  .feature.span2 { grid-column: auto; }
  .feature.full { grid-template-columns: 1fr; }
  .feature.full .ico { grid-row: auto; margin-bottom: 22px; }
  .feature.wide .pics { justify-content: center; }
  .game { width: 168px; }
  .about { grid-template-columns: 1fr; text-align: center; padding: 34px 22px; justify-items: center; }
  .cta { padding: 64px 22px; border-radius: 28px; }
  .store { height: 54px; }
  .store strong { font-size: 19px; }
  footer .wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
