/* Artist Factory e.V. · site.css */
@font-face {
  font-family: "Gantari";
  src: url("../fonts/gantari-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben (gemessen aus Logo und Entwurf) */
  --ground: #08080a;
  --ground-2: #0e0d14;
  --ground-3: #17092d;
  --ink: #f5f5f5;
  --ink-soft: #b9b7c2;
  --ink-mute: #8a8794;
  --violet: #7654f0;
  --magenta: #d142fe;
  --violet-text: #a98bff;
  --line: rgba(245, 245, 245, 0.14);
  --brand-gradient: linear-gradient(90deg, #5b2cf7 0%, #a032e2 55%, #ef3aa6 100%);

  /* Schrift */
  --font: "Gantari", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Einstieg: Maße aus dem Entwurf (1344 × 752), skaliert mit der Fensterbreite */
  --hero-h: calc(100vw * 752 / 1344);
  --fs-h1: clamp(2.6rem, 6.33vw, 6rem);
  --fs-sub: clamp(1rem, 1.64vw, 1.5rem);
  --fs-nav: clamp(0.95rem, 1.27vw, 1.15rem);
  --fs-cue: clamp(2rem, 4.24vw, 4.6rem);
  --fs-h2: clamp(2rem, 3.6vw, 3.6rem);
  --fs-body: clamp(1.05rem, 1.15vw, 1.2rem);

  --gutter: clamp(16px, 4vw, 64px);
  --section-y: clamp(96px, 12vw, 200px);
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: rgba(209, 66, 254, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 4px; border-radius: 6px; }
html { scrollbar-color: #3a3448 var(--ground); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  border-radius: var(--radius-pill);
  font: 700 1em/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  height: 52px; padding: 0 1.5em;
  transition: transform 0.25s cubic-bezier(.16,1,.3,1), box-shadow 0.25s cubic-bezier(.16,1,.3,1), background-color 0.2s, color 0.2s;
}
.btn--primary {
  border: 0; background-clip: padding-box; cursor: pointer;
  /* Knopf-Verlauf etwas tiefer als --brand-gradient, damit weiße Schrift überall 4,5:1 erreicht (WCAG AA) */
  background: linear-gradient(90deg, #5b2cf7 0%, #9a2ad8 55%, #cc2a90 100%);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.7); }
.btn--ghost { border: 0; background-color: transparent; cursor: pointer; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.95); }
.btn--ghost:hover { background: #fff; color: var(--ground); }
.btn:active { transform: translateY(0); }

/* ---------- Navigation ---------- */
.site-nav {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  height: calc(var(--hero-h) * 0.077);
  min-height: 64px;
}
.site-nav .logo { position: absolute; left: 3.1%; top: calc(var(--hero-h) * 0.0386); transform: translateY(-50%); width: 15.4%; display: flex; align-items: center; }
.site-nav .logo img { width: 100%; height: auto; }
.site-nav ul {
  position: absolute; left: 27.3%; width: 45.5%; top: calc(var(--hero-h) * 0.0386 - 0.75em); height: 1.5em;
  margin: 0; padding: 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-nav); font-weight: 600;
}
.site-nav ul a { text-decoration: none; color: var(--ink); padding: 6px 2px; transition: color 0.2s; }
.site-nav ul a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; }
.site-nav .nav-cta {
  position: absolute; right: 2.95%; top: calc(var(--hero-h) * 0.0386); transform: translateY(-50%);
  height: clamp(32px, 2.53vw, 42px); padding: 0 clamp(12px, 1.1vw, 20px);
  font-size: clamp(0.85rem, 1.16vw, 1.1rem);
}
.site-nav .nav-cta:hover { transform: translateY(calc(-50% - 2px)); }
.nav-toggle { display: none; }

/* ---------- Einstieg ---------- */
.hero {
  position: relative;
  height: var(--hero-h);
  min-height: 560px;
  overflow: clip;
  isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -1; left: 50%; top: 64%;
  width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(95, 30, 170, 0.55), rgba(40, 10, 80, 0.28) 55%, transparent 100%);
  filter: blur(18px);
  pointer-events: none;
}
.hero h1 {
  position: absolute; left: 0; right: 0; top: 7.4%;
  margin: 0; text-align: center;
  font-size: var(--fs-h1); font-weight: 700; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance;
}
.hero__sub {
  position: absolute; left: 0; right: 0; top: 19.8%;
  margin: 0; text-align: center;
  font-size: var(--fs-sub); color: var(--ink); font-weight: 400; letter-spacing: -0.012em;
}
.hero__actions {
  position: absolute; left: 0; right: 0; top: 26.3%;
  display: flex; justify-content: center; gap: 2.3%;
}
.hero__actions .btn {
  min-width: 19.8%; padding-inline: 1.8em; height: calc(var(--hero-h) * 0.0745);
  font-size: clamp(1rem, 1.9vw, 1.7rem);
}
.hero__mic {
  position: absolute; left: 31.25%; top: 34.31%; width: 34.97%; height: 56.12%;
  margin: 0;
}
.hero__mic img, .hero__mic canvas {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%), linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 62%, transparent 97%), linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.hero__mic { transform-origin: 50% 40%; will-change: transform; }
.hero__cue {
  position: absolute; left: 0; right: 0; top: 90.4%;
  margin: 0; text-align: center;
  font-size: var(--fs-cue); font-weight: 700; line-height: 1; letter-spacing: -0.005em;
}

.hero__intro { position: absolute; inset: 0; z-index: 2; will-change: transform, opacity; }
.hero__intro .btn { pointer-events: auto; }
.hero__cue { z-index: 2; will-change: transform, opacity; }
.hero__mic canvas { position: absolute; inset: 0; opacity: 0; }
.hero__mic.has-frames canvas { opacity: 1; }
.hero__mic.has-frames img { opacity: 0; }

/* ---------- Szene: Mikrofon dreht beim Scrollen ---------- */
.scene { position: relative; height: calc(var(--hero-h) + 230vh); }
.stage { position: sticky; top: 0; height: max(var(--hero-h), 560px); }
.scene .hero { height: 100%; }
.services { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.service {
  position: absolute; top: 40%; width: 26%;
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1), filter 0.6s;
}
.service--left { left: 4.5%; }
.service--right { right: 4.5%; }
.service.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.service h2 { margin: 0 0 0.6em; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.service h2 a { text-decoration: none; }
.service p { margin: 0 0 1.1em; color: var(--ink-soft); max-width: 38ch; }

/* ---------- Gemeinsame Bausteine ---------- */
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
.section-title { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.9em; text-wrap: balance; }
.more {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size 0.35s cubic-bezier(.16,1,.3,1);
}
.more::after { content: ""; width: 0.9em; height: 0.9em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.35s cubic-bezier(.16,1,.3,1); }
.more:hover { background-size: 100% 1.5px; }
.more:hover::after { transform: translateX(4px); }
.btn--dark { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.95); padding: 0 1.6em; height: 54px; }
.btn--dark:hover { background: #fff; color: var(--ground); }
.btn--lg { height: 64px; padding: 0 2.2em; font-size: 1.2rem; }


/* ---------- Warum ---------- */
.why { background: var(--ground-2); padding: var(--section-y) 0 calc(var(--section-y) * 0.7); overflow: hidden; }
.why__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.why__title { margin: 0; font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; }
.why__text { margin: 0; color: var(--ink-soft); font-size: clamp(1.1rem, 1.35vw, 1.3rem); max-width: 46ch; }
.flow {
  margin-top: clamp(56px, 8vw, 120px); display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 28px);
  font-size: clamp(1rem, 1.6vw, 1.6rem); font-weight: 600; color: var(--ink); padding-inline: 16px; flex-wrap: wrap;
}
@media (max-width: 600px) {
  /* Handy: Geldfluss als Stapel von oben nach unten statt hängender Striche */
  .flow { flex-direction: column; gap: 10px; }
  .flow i { width: 1px; height: 22px; }
  .flow i::after { display: none; }
}
.flow i { width: clamp(28px, 6vw, 110px); height: 1px; background: rgba(245,245,245,0.45); }

/* ---------- Projekte (helle Fläche) ---------- */
.projects { padding: var(--section-y) 0; }
.feature { padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px clamp(32px, 5vw, 80px); }
.feature__head h3 { text-wrap: balance; margin: 0; font-size: clamp(2rem, 3.4vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; }
.feature__head h3 a { text-decoration: none; }
.feature__meta { margin: 0.6em 0 0; color: var(--ink-mute); font-size: 1rem; }
.feature__count { margin: 0; display: flex; gap: clamp(20px, 3.5vw, 56px); flex-wrap: wrap; align-items: baseline; font-size: clamp(1.1rem, 1.4vw, 1.35rem); color: var(--ink-soft); }
.feature__count b { display: block; font-size: clamp(4rem, 9vw, 9rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.feature__body { grid-column: 2; }
.feature__body p { margin: 0 0 1em; color: var(--ink-soft); max-width: 56ch; }
.project-list { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; }
.project-list li { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 8px clamp(32px, 5vw, 80px); align-items: baseline; padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); }
.project-list li:last-child { border-bottom: 1px solid var(--line); }
.project-list h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.9rem); letter-spacing: -0.01em; text-wrap: balance; }
.project-list p { margin: 0; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Person ---------- */
.person { padding: var(--section-y) 0; overflow: hidden; }
.person__grid { display: grid; grid-template-columns: 1fr; position: relative; }
.person__name {
  margin: 0; font-size: clamp(5rem, 19vw, 18rem); font-weight: 800; line-height: 0.82; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(245,245,245,0.22);
}
.person__text { max-width: 640px; margin: clamp(-80px, -5vw, -40px) 0 0 auto; position: relative; }
.person__text h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.6em; }
.person__text p { color: var(--ink-soft); }
.links { display: flex; gap: 28px; }

/* ---------- Unter einem Dach ---------- */
.roof { padding: 0 0 calc(var(--section-y) * 0.6); overflow: hidden; }
.marquee { border-block: 1px solid var(--line); padding: clamp(18px, 2vw, 28px) 0; margin-bottom: clamp(56px, 7vw, 100px); overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: clamp(32px, 5vw, 72px); transform: translateX(var(--mq, 0px)); will-change: transform; font-size: clamp(2rem, 5vw, 4.6rem); font-weight: 700; letter-spacing: -0.02em; }
.marquee__track span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1.2px rgba(245,245,245,0.6); }
.roof__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.roof__grid h2 { margin: 0; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.02em; }
.roof__grid p { margin: 0; color: var(--ink-soft); max-width: 52ch; }

/* ---------- Spenden ---------- */
.support { background: var(--ground-2); padding: var(--section-y) 0; }
.support__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.support__grid p { color: var(--ink-soft); max-width: 44ch; }
.bank { padding-top: 28px; border-top: 1px solid var(--line); }
.bank__label { margin: 0 0 8px; color: var(--ink-mute); font-size: 0.95rem; }
.bank__iban { margin: 0; white-space: nowrap; font-size: clamp(1.3rem, 3vw, 3rem); letter-spacing: 0; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: #fff; }
.bank__bic { margin: 4px 0 26px; color: var(--ink-mute); }
.bank__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.bank__actions .btn { height: 52px; padding: 0 1.4em; cursor: pointer; border: 0; font-size: 1.02rem; }
.bank__status { min-height: 1.4em; margin: 0 0 10px; color: var(--ink); font-size: 0.95rem; }

/* ---------- Partner ---------- */
.partners { padding: calc(var(--section-y) * 0.8) 0; border-top: 1px solid var(--line); }
.partners__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 6vw, 96px); align-items: baseline; }
.partners__grid h2 { margin: 0; }
.partners__grid p { margin: 0; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Fragen ---------- */
.faq { padding: var(--section-y) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: clamp(1.1rem, 1.4vw, 1.35rem); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 100% no-repeat; transition: transform 0.35s cubic-bezier(.16,1,.3,1); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0 0 24px; color: var(--ink-soft); max-width: 60ch; }
.faq summary:hover { color: #fff; }

/* ---------- Abschluss ---------- */
.close { padding: var(--section-y) 0 calc(var(--section-y) * 1.1); }
.close h2 { text-wrap: balance; margin: 0 0 0.3em; font-size: clamp(3rem, 8vw, 8rem); line-height: 0.95; letter-spacing: -0.04em; }
.close p { color: var(--ink-soft); font-size: clamp(1.1rem, 1.5vw, 1.4rem); margin: 0 0 1.6em; }
.close__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.close__contact .btn { white-space: normal; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 64px; font-size: 0.98rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.footer__logo { width: 190px; margin-bottom: 16px; }
/* Echtzeit-3D (assets/js/af3d.js): Logo in der Fußzeile, später auch Geräte */
.footer__logo3d { position: relative; width: min(400px, 100%); aspect-ratio: 2.4 / 1; display: flex; align-items: center; justify-content: flex-start; margin: -22px 0 4px; border-radius: 14px; }
.footer__logo3d .footer__logo { width: 190px; margin: 0; transition: opacity 0.5s ease; }
.footer__dreh { font-size: 0.82rem; color: var(--ink-mute) !important; margin: -6px 0 14px !important; opacity: 0; transition: opacity 0.5s ease; }
.af3d--bereit + .footer__dreh { opacity: 1; }
.af3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.6s ease; cursor: grab; }
.af3d--bereit > .af3d__canvas { opacity: 1; }
.af3d--bereit > img { opacity: 0; }
.af3d--zieht > .af3d__canvas { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) { .af3d__canvas, .footer__logo3d .footer__logo, .footer__dreh { transition: none; } }
.site-footer p { margin: 0 0 12px; color: var(--ink-soft); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.muted { color: var(--ink-mute) !important; font-size: 0.9rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* ---------- Handy und schmale Fenster ---------- */
@media (max-width: 820px) {
  .site-nav { position: relative; align-self: stretch; margin: -28px -16px 0; height: auto; min-height: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
  .site-nav .logo { position: static; width: 168px; height: auto; transform: none; }
  .site-nav ul, .site-nav .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 0; color: var(--ink); font: 600 1rem var(--font); padding: 8px 4px; cursor: pointer;
  }
  .site-nav.is-open ul {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; width: auto; height: auto;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px 16px 20px; background: var(--ground); border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
  }
  .site-nav.is-open ul a { padding: 10px 0; }

  .hero { height: auto; min-height: 0; padding: 28px 16px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero h1, .hero__sub, .hero__actions, .hero__mic, .hero__cue { position: static; }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 3.6rem); }
  .hero__sub { margin-top: 14px; font-size: 1.05rem; max-width: 34ch; color: var(--ink-soft); }
  .hero__actions { margin-top: 26px; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }
  .hero__actions .btn { width: 100%; height: 56px; font-size: 1.1rem; }
  .hero__mic { position: relative; left: auto; top: auto; width: min(92vw, 420px); height: auto; aspect-ratio: 1056 / 944; margin-top: 18px; }
  .hero__glow { top: 66%; width: 110%; }
  .hero__cue { margin: 8px 0 0; font-size: clamp(2rem, 9.5vw, 2.8rem); padding-bottom: 8px; }
  .hero__intro { position: static; }
  .scene { height: auto; }
  .stage { position: relative; height: auto; }
  .scene .hero { height: auto; }
  .services { position: static; display: grid; gap: 40px; padding: 48px 16px 72px; text-align: left; width: 100%; }
  .service { position: static; width: auto; opacity: 1; transform: none; filter: none; pointer-events: auto; }
  .why__grid, .roof__grid, .support__grid, .faq__grid, .partners__grid, .feature, .project-list li, .footer__grid { grid-template-columns: 1fr; }
  .feature__body { grid-column: auto; }
  .person__text { margin: 24px 0 0; }
  .nav-toggle__bars { width: 18px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 50%/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100%/100% 2px no-repeat; }
}

/* Bewegung reduziert: keine Scroll-Szene, Leistungen als Reihe unter dem Einstieg */
@media (min-width: 821px) {
  .reduce .scene { height: auto; }
  .reduce .stage { position: relative; height: auto; }
  .reduce .scene .hero { height: var(--hero-h); }
  .reduce .services { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); padding: 64px var(--gutter) 96px; }
  .reduce .service { position: static; width: auto; opacity: 1; transform: none; filter: none; pointer-events: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ================= Unterseiten ================= */
.sub-header { position: relative; border-bottom: 1px solid var(--line); }
.site-nav--bar { position: relative; height: 76px; min-height: 0; }
.site-nav--bar .logo { top: 50%; transform: translateY(-50%); width: min(15.4%, 210px); }
.site-nav--bar ul { top: 50%; transform: translateY(-50%); }
.site-nav--bar .nav-cta { top: 50%; }
.site-nav ul a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; }
.page-intro { padding: clamp(72px, 10vw, 160px) 0 clamp(40px, 5vw, 72px); }
.page-intro h1 { margin: 0 0 0.35em; font-size: clamp(2.6rem, 6vw, 6rem); line-height: 0.98; letter-spacing: -0.03em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.lead { margin: 0; max-width: 46ch; color: var(--ink-soft); font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.block { padding: clamp(48px, 6vw, 96px) 0; border-top: 1px solid var(--line); }
.block__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.block__grid .section-title { margin: 0; font-size: clamp(1.8rem, 2.8vw, 2.8rem); }
.block__body p { margin: 0 0 1em; color: var(--ink-soft); max-width: 54ch; }
.defs { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 1.25em 40px; }
.block__body .defs + p { margin-top: 2.5em; }
.defs dt { font-weight: 700; font-size: 1.15rem; }
.defs dd { margin: 0; color: var(--ink-soft); }
.pending { color: var(--ink-mute) !important; font-style: italic; }
.steps { list-style: none; margin: 0 0 32px; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: rgba(245,245,245,0.3); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: center; padding: 12px 0; position: relative; }
.steps__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.25rem; background: var(--ground); box-shadow: inset 0 0 0 1.5px rgba(245,245,245,0.6); font-variant-numeric: tabular-nums; }
.steps li:first-child .steps__n { background: #fff; color: var(--ground); box-shadow: none; }
.steps p { margin: 0; font-size: 1.15rem; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline b { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; color: var(--ink-soft); }
.tracks { margin: 0; padding-left: 1.6em; columns: 2; column-gap: 48px; color: var(--ink-soft); }
.tracks li { break-inside: avoid; padding: 6px 0; }
.tracks li::marker { color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.project-list--page h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -0.01em; text-wrap: balance; }
.close--sub { border-top: 1px solid var(--line); }

/* Buchungsformular */
.booking { max-width: 820px; display: grid; gap: 22px; }
.booking__choice { border: 0; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.booking__choice legend { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; padding: 0; }
.booking__choice label { cursor: pointer; }
.booking__choice input { position: absolute; opacity: 0; pointer-events: none; }
.booking__choice span { display: inline-flex; align-items: center; height: 48px; padding: 0 1.2em; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px rgba(245,245,245,0.35); font-weight: 600; transition: box-shadow 0.2s, background-color 0.2s; }
.booking__choice input:checked + span { background: #fff; color: var(--ground); box-shadow: none; }
.booking__choice input:focus-visible + span { outline: 2px solid var(--magenta); outline-offset: 3px; }
.booking__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 600; }
.field input, .field select, .field textarea, .check input {
  font: inherit; color: var(--ink); background: var(--ground-2); border: 1px solid rgba(245,245,245,0.22); border-radius: 14px; padding: 14px 16px; accent-color: var(--magenta);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(209,66,254,0.25); }
.field input::placeholder, .field textarea::placeholder { color: #8f8c99; }
.field input[type="date"] { color-scheme: dark; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: var(--ink-soft); }
.check input { width: 22px; height: 22px; padding: 0; margin-top: 2px; }
.err { display: none; color: #ff9bb8; font-size: 0.95rem; }
.is-invalid .err, .err.is-shown { display: block; }
.is-invalid input, .is-invalid textarea { border-color: #ff6f98; }
.booking__done { font-size: 1.2rem; font-weight: 600; }

@media (max-width: 820px) {
  .site-nav--bar { height: auto; margin: 0; }
  .site-nav--bar .logo { transform: none; width: 168px; }
  .site-nav--bar ul { transform: none; }
  .block__grid, .booking__row { grid-template-columns: 1fr; }
  .tracks { columns: 1; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .defs { grid-template-columns: 1fr; gap: 4px 0; }
  .defs dd { margin-bottom: 12px; }
}

/* ================= Erweiterung 23.11.2026: Verein-Startseite ================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Untermenü Verein */
.site-nav .has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle { width: 26px; height: 26px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.sub-toggle::before { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.25s cubic-bezier(.16,1,.3,1); }
.has-sub.is-open .sub-toggle::before, .has-sub:hover .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
.site-nav .has-sub > .sub {
  position: absolute; left: -18px; top: calc(100% + 10px); width: max-content; min-width: 220px; height: auto; transform: none;
  display: grid; gap: 0; margin: 0; padding: 10px 0; list-style: none;
  background: var(--ground-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.8);
  opacity: 0; visibility: hidden; translate: 0 -6px; transition: opacity 0.2s, translate 0.25s cubic-bezier(.16,1,.3,1), visibility 0.2s;
  z-index: 30; font-size: 1rem;
}
.site-nav .has-sub > .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub, .site-nav .has-sub.is-open > .sub { opacity: 1; visibility: visible; translate: 0 0; }
.site-nav .has-sub > .sub a { display: block; padding: 10px 20px; white-space: nowrap; }
.site-nav .has-sub > .sub a:hover { background: rgba(255,255,255,0.05); text-decoration: none; }

/* Abschnitte */
.about, .esport, .member { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.about__history { margin-top: clamp(56px, 7vw, 104px); }
.about__history .section-title { font-size: clamp(1.8rem, 2.8vw, 2.8rem); margin: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .section-title { margin: 0; }

/* Projekte-Slider */
.showcase { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.slider__viewport { position: relative; display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.7s cubic-bezier(.16,1,.3,1), visibility 0.7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__media { margin: 0; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ground-2); border: 1px solid var(--line); }
.slide__media img { width: 100%; height: 100%; object-fit: cover; }
.slide__media--type { display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); }
.slide__media--type blockquote { margin: 0; }
.slide__media--type p { margin: 0 0 0.5em; font-size: clamp(1.8rem, 3.4vw, 3.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.slide__media--type cite { color: var(--ink-mute); font-style: normal; }
.slide__meta, .feed__meta { margin: 0 0 10px; color: var(--ink-mute); font-size: 0.95rem; }
.slide__text h3 { margin: 0 0 0.5em; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.slide__text p { color: var(--ink-soft); max-width: 46ch; }
.slider__controls { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(245,245,245,0.5); cursor: pointer; display: grid; place-items: center; transition: background-color 0.2s, color 0.2s; }
.slider__btn::before { content: ""; width: 10px; height: 10px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateX(2px) rotate(45deg); }
.slider__btn--next::before { transform: translateX(-2px) rotate(-135deg); }
.slider__btn:hover { background: #fff; color: var(--ground); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: var(--radius-pill); background: rgba(245,245,245,0.25); cursor: pointer; position: relative; overflow: hidden; }
.slider__dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slider__dots button[aria-current="true"]::after { transform: scaleX(1); }
.slider__dots button::before { content: ""; position: absolute; inset: -14px -2px; }
.slider__pause { margin-left: auto; height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 0; background: none; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); font: 600 0.95rem var(--font); cursor: pointer; }
.slider__pause:hover { color: #fff; }

/* News und Kalender */
.news { padding: var(--section-y) 0; border-top: 1px solid var(--line); background: var(--ground-2); }
.news__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.news__sub { margin: 0 0 18px; font-size: 1rem; font-weight: 700; color: var(--ink-mute); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed__item { padding: 22px 0; border-top: 1px solid var(--line); }
.feed__item:last-child { border-bottom: 1px solid var(--line); }
.feed__item h4 { margin: 0 0 8px; font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.2; text-wrap: balance; }
.feed__item p { margin: 0 0 10px; color: var(--ink-soft); max-width: 60ch; }
.cal-empty { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-empty p { margin: 0 0 14px; color: var(--ink-soft); }
.cal { list-style: none; margin: 0; padding: 0; }
.cal__item { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.cal__date { display: grid; justify-items: center; align-content: start; color: var(--ink-mute); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; }
.cal__date b { font-size: 2rem; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.cal__item h4 { margin: 0 0 4px; }

/* E-Sport */
.esport__status { display: inline-flex; margin: 0; padding: 8px 14px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.esport .section-title { margin-bottom: 0.5em; }

/* Vorstand */
.board__title { margin: 40px 0 16px; font-size: 1.2rem; }
.board { padding-top: 16px; border-top: 1px solid var(--line); }

/* Großer Spendenbereich */
.donate { padding: calc(var(--section-y) * 1.1) 0; border-top: 1px solid var(--line); background: var(--ground-2); }
.donate__title { margin: 0 0 0.35em; font-size: clamp(2.6rem, 6.4vw, 6.4rem); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; max-width: 16ch; }
.donate__lead { margin: 0 0 clamp(32px, 4vw, 48px); max-width: 52ch; color: var(--ink-soft); font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.donate__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.btn--xl { height: clamp(64px, 6vw, 84px); padding: 0 clamp(1.6em, 2.4vw, 2.4em); font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.donate__iban { font-size: clamp(1.5rem, 4.6vw, 4.6rem) !important; letter-spacing: 0.01em !important; }
.donate__note { margin: 0; color: var(--ink-soft); }

/* Partner-Logos: einfarbig hell auf dem dunklen Grund */
.logos { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 64px); }
.logos img { height: clamp(56px, 6.5vw, 96px); width: auto; max-width: 300px; object-fit: contain; filter: grayscale(1) invert(1) contrast(1.3); mix-blend-mode: screen; opacity: 0.95; transition: opacity 0.2s; }
.logos img:hover { opacity: 1; }

/* Projekte-Seite */
.jump { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: clamp(32px, 4vw, 48px); }
.jump a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px rgba(245,245,245,0.35); text-decoration: none; font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.jump a:hover { background: #fff; color: var(--ground); }
.proj__head { margin-bottom: 18px; }
.proj__title { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.proj__body { max-width: 56ch; margin-bottom: clamp(28px, 3vw, 40px); }
.proj__body p { color: var(--ink-soft); }
.proj__media { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.proj__media--single { grid-template-columns: minmax(0, 760px); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery li { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--ground-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.gallery li:hover img { transform: scale(1.03); }
.gallery--posters { grid-template-columns: repeat(2, minmax(0, 360px)); }
.gallery--posters li { aspect-ratio: 1414 / 2000; }
.tracks--links { list-style: decimal; columns: 1; padding-left: 1.6em; }
.tracks--links li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.tracks--links li::marker { content: none; }
.tracks--links li span { color: var(--ink); }

/* Video mit Zwei-Klick-Lösung */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background-color: var(--ground-2); background-position: center; background-size: cover; background-repeat: no-repeat; border: 1px solid var(--line); display: grid; align-content: end; padding: clamp(16px, 2.4vw, 28px); isolation: isolate; }
.yt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,10,0.2) 0%, rgba(8,8,10,0.92) 78%); }
.yt__title { margin: 0 0 12px; font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.35rem); max-width: 32ch; }
.yt__btn { justify-self: start; height: 48px; padding: 0 22px; border-radius: var(--radius-pill); border: 0; background: #fff; color: var(--ground); font: 700 1rem var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.yt__btn::before { content: ""; width: 11px; height: 13px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.yt__note { margin: 12px 0 0; font-size: 0.85rem; color: var(--ink-soft); max-width: 62ch; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt.is-loaded { padding: 0; }
.yt.is-loaded::before { display: none; }

/* Satzung */
.satzung { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.satzung__toc { position: sticky; top: 24px; }
.satzung__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.satzung__toc a { display: block; padding: 6px 0; color: var(--ink-soft); text-decoration: none; font-size: 0.98rem; }
.satzung__toc a:hover { color: #fff; }
.satzung__text { max-width: 56ch; }
.satzung__text h2 { margin: 2.2em 0 0.6em; font-size: clamp(1.9rem, 2.6vw, 2.4rem); line-height: 1.15; scroll-margin-top: 24px; padding-top: 1.2em; border-top: 1px solid var(--line); }
.satzung__text h2:first-of-type { margin-top: 1em; }
.satzung__text h3 { margin: 1.6em 0 0.5em; font-size: 1.55rem; }
.satzung__text h4 { margin: 1.4em 0 0.5em; font-size: 1.25rem; }
.satzung__text p, .satzung__text li { color: var(--ink-soft); }
.satzung__text li { margin-bottom: 0.5em; }
.satzung__text b { color: var(--ink); }

@media (max-width: 820px) {
  .site-nav.is-open #hauptmenue { text-align: left; }
  .site-nav.is-open ul.sub { position: static; justify-items: start; display: grid; width: auto; min-width: 0; padding: 0 0 6px 16px; margin: 0; background: none; border: 0; box-shadow: none; border-left: 1px solid var(--line); opacity: 1; visibility: visible; translate: none; font-size: 1.05rem; }
  .site-nav.is-open .has-sub:not(.is-open) > ul.sub { display: none; }
  .site-nav.is-open .has-sub { flex-wrap: wrap; width: 100%; }
  .site-nav.is-open .has-sub > .sub { flex-basis: 100%; }
  .sub-toggle { width: 40px; height: 40px; }
  .slide { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .slider__controls { flex-wrap: wrap; }
  .news__grid, .proj__media, .satzung { grid-template-columns: 1fr; }
  .satzung__toc { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > li:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .gallery--posters { grid-template-columns: 1fr 1fr; }
  .donate__actions .btn { width: 100%; }
  .tracks--links li { flex-wrap: wrap; }
}

/* =========================================================
   Raster: Kacheln mit bewegten Studio-Objekten (23.11.2026)
   ========================================================= */
.sec-head__lead { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.raster { position: relative; padding: var(--section-y) 0; border-top: 1px solid var(--line); overflow: clip; isolation: isolate; }
.raster::before { content: ""; position: absolute; z-index: -1; inset: 10% -20% auto; height: 70%; background: radial-gradient(40% 50% at 30% 40%, rgba(91, 44, 247, 0.16), transparent 70%), radial-gradient(35% 45% at 75% 60%, rgba(239, 58, 166, 0.10), transparent 70%); pointer-events: none; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: clamp(12px, 1.4vw, 18px); }
.tile--studio { grid-column: span 2; grid-row: span 2; }
.tile--video { grid-column: span 2; }

.tile {
  --tx: 0; --ty: 0; --lit: 0;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(120% 80% at 50% 0%, #1b1130 0%, var(--ground-2) 62%);
}
.tile__art {
  position: relative; flex: 1 1 auto; min-height: clamp(200px, 17vw, 260px); z-index: 0;
  display: grid; place-items: center; padding-top: clamp(16px, 2vw, 28px);
}
.tile--studio .tile__art { min-height: 360px; }
.tile--mixer::after { content: ""; position: absolute; inset: 35% 0 0; z-index: 0; background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.94) 60%); pointer-events: none; }
.tile__text { position: relative; z-index: 1; padding: clamp(20px, 2vw, 30px); transform: translate3d(calc(var(--tx, 0) * -6px), calc(var(--ty, 0) * -5px), 0); transition: transform 0.5s cubic-bezier(.16,1,.3,1); }
.tile__kicker { margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-text); }
.tile h3 { margin: 0 0 0.45em; font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.tile--studio h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.tile p:not(.tile__kicker) { margin: 0 0 1em; color: var(--ink-soft); font-size: 1rem; max-width: 44ch; }
.tile .more { position: static; }
.tile .more::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.tile:hover { border-color: rgba(209, 66, 254, 0.42); }
.tile:focus-within { border-color: rgba(209, 66, 254, 0.7); }

/* Aufgehen beim Hineinscrollen */
.js .tile { clip-path: inset(14% 14% 14% 14% round 22px); opacity: 0; transform: translateY(56px) scale(0.97);
  transition: clip-path 1.2s cubic-bezier(.16,1,.3,1), opacity 0.9s ease, transform 1.2s cubic-bezier(.16,1,.3,1), border-color 0.3s;
  transition-delay: calc(var(--i, 0) * 110ms); }
.js .tile.is-open { clip-path: inset(0 0 0 0 round 22px); opacity: 1; transform: perspective(1100px) rotateX(calc(var(--ty, 0) * -4deg)) rotateY(calc(var(--tx, 0) * 5deg)); }
.js .tile.is-ready { transition: transform 0.5s cubic-bezier(.16,1,.3,1), border-color 0.3s; transition-delay: 0s; }
.js .tile .tile__text > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 110ms + 450ms); }
.js .tile.is-open .tile__text > * { opacity: 1; transform: none; }
.tile:not(.is-live) .tile__art *, .tile:not(.is-live) .tile__art *::before, .tile:not(.is-live) .tile__art *::after { animation-play-state: paused !important; }

@keyframes af-spin { to { transform: rotate(360deg); } }
.obj { mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }

/* Schallplatte */
.vinyl { position: relative; width: min(70%, 500px); aspect-ratio: 1; }
.vinyl__disc { width: 100%; height: 100%; border-radius: 50%; animation: af-spin 1.8s linear infinite; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.vinyl__shine { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: conic-gradient(from 210deg, transparent 0 18%, rgba(255,255,255,0.10) 24%, transparent 31% 68%, rgba(255,255,255,0.07) 74%, transparent 81%); }
.tonearm { position: absolute; right: -14%; top: -6%; width: 40%; height: 78%; transform-origin: 78% 9%; transform: rotate(-32deg); transition: transform 1.8s cubic-bezier(.16,1,.3,1) 0.6s; pointer-events: none; }
.tile.is-live .tonearm { transform: rotate(0deg); }
.tonearm::before { content: ""; position: absolute; right: 10%; top: 0; width: 26%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f2f0f7, #8b8898 55%, #3c3946); box-shadow: 0 6px 18px rgba(0,0,0,0.6); }
.tonearm i { position: absolute; right: 21%; top: 8%; width: 6px; height: 84%; border-radius: 4px; transform-origin: 50% 0; transform: rotate(24deg); background: linear-gradient(90deg, #7d7b88, #f0eef6 45%, #8f8c9b); box-shadow: 0 8px 18px rgba(0,0,0,0.55); }
.tonearm i::after { content: ""; position: absolute; left: 50%; bottom: -4%; width: 22px; height: 30px; transform: translateX(-50%) rotate(-18deg); border-radius: 4px; background: linear-gradient(#d7d4e0, #6f6c7a); }

/* Kopfhörer (Bildfolge) */
.spin-seq { position: relative; margin: 0; width: min(86%, 360px); aspect-ratio: 1; }
.spin-seq img, .spin-seq canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.spin-seq canvas { opacity: 0; }
.spin-seq.has-frames canvas { opacity: 1; }
.spin-seq.has-frames img { opacity: 0; }

/* Tonbandmaschine */
.tape { position: relative; width: 86%; aspect-ratio: 1 / 0.78; }
.tape__reel { position: absolute; top: 0; width: 46%; border-radius: 50%; mix-blend-mode: lighten; animation: af-spin 3.4s linear infinite; }
.tape__reel--l { left: 0; }
.tape__reel--r { right: 0; animation-duration: 2.6s; }
.tape__band { position: absolute; left: 0; top: 48.7%; width: 100%; height: 25.6%; overflow: visible; }
.tape__band path { fill: none; stroke: #5b3a26; stroke-width: 3; vector-effect: non-scaling-stroke; }
.tape__head { position: absolute; left: 50%; top: 73%; width: 14%; height: 10%; transform: translate(-50%, -50%); border-radius: 5px; background: linear-gradient(#3d3949, #15131b); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 6px 14px rgba(0,0,0,0.5); }
.vu { position: absolute; bottom: 0; left: 18%; width: 24%; aspect-ratio: 1.7; overflow: hidden; border-radius: 6px; background: radial-gradient(120% 100% at 50% 110%, #f6edd0, #d8c690); box-shadow: inset 0 0 0 2px #2a2633; }
.vu--r { left: auto; right: 18%; }
.vu i { position: absolute; left: 50%; bottom: -12%; width: 2px; height: 96%; background: #1b1820; transform-origin: 50% 100%; transform: rotate(-40deg); animation: af-needle 1.1s cubic-bezier(.4,0,.6,1) infinite alternate; }
.vu--r i { animation-duration: 0.83s; animation-delay: -0.3s; }
@keyframes af-needle { 0% { transform: rotate(-42deg); } 30% { transform: rotate(12deg); } 55% { transform: rotate(-8deg); } 80% { transform: rotate(28deg); } 100% { transform: rotate(-4deg); } }

/* Scheinwerfer: wird heller beim Scrollen */
.tile--light::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: var(--lit); background: radial-gradient(70% 60% at 50% 38%, rgba(209, 66, 254, 0.34), rgba(91, 44, 247, 0.12) 55%, transparent 80%); transition: opacity 0.2s linear; }
.spot { position: relative; width: min(74%, 300px); aspect-ratio: 1; }
.spot img { width: 100%; height: 100%; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); mask-image: radial-gradient(closest-side, #000 76%, transparent 100%); filter: brightness(calc(0.75 + var(--lit) * 0.5)); }
.spot__lens { position: absolute; left: 50%; top: 61%; width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(calc(0.8 + var(--lit) * 0.35)); border-radius: 50%; opacity: var(--lit); mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle, #fffaf2 0%, rgba(255, 226, 252, 0.95) 22%, rgba(226, 120, 255, 0.55) 48%, rgba(209, 66, 254, 0.15) 66%, transparent 72%); }
.spot__beam { position: absolute; left: 50%; top: 61%; width: 260%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; opacity: calc(var(--lit) * 0.9); pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(255, 220, 250, 0.28), rgba(209, 66, 254, 0.14) 30%, transparent 60%); }

/* KI-Netz */
.ai { width: 86%; display: grid; gap: 14px; justify-items: center; }
.ai__net { width: 100%; height: auto; overflow: visible; }
.ai__links path { fill: none; stroke: rgba(245, 245, 245, 0.12); stroke-width: 1.5; stroke-dasharray: 150; stroke-dashoffset: 150; animation: af-link 5s linear infinite; animation-delay: calc(var(--d) * 0.2s); }
.ai__nodes circle { fill: #221a33; stroke: rgba(245, 245, 245, 0.28); stroke-width: 1.5; animation: af-node 5s ease infinite; animation-delay: calc(var(--d) * 0.2s + 0.25s); }
@keyframes af-link { 0% { stroke-dashoffset: 150; stroke: rgba(209, 66, 254, 0.9); } 18% { stroke-dashoffset: 0; stroke: rgba(209, 66, 254, 0.9); } 60% { stroke-dashoffset: 0; stroke: rgba(169, 139, 255, 0.45); } 92% { stroke-dashoffset: 0; stroke: rgba(169, 139, 255, 0.3); } 100% { stroke-dashoffset: 0; stroke: rgba(245, 245, 245, 0.08); } }
@keyframes af-node { 0%, 6% { fill: #221a33; } 16% { fill: #f2b8ff; filter: drop-shadow(0 0 8px #d142fe); } 60% { fill: #a98bff; filter: drop-shadow(0 0 4px #7654f0); } 100% { fill: #221a33; filter: none; } }
.ai__status { margin: 0 !important; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 8, 10, 0.6); font-size: 0.85rem !important; color: var(--ink) !important; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.ai__dot { width: 8px; height: 8px; border-radius: 50%; background: #45e39a; animation: af-blink 1.2s steps(2, start) infinite; }
@keyframes af-blink { to { visibility: hidden; } }

/* Video: Kamera und Filmrolle */
.cam { position: relative; width: 92%; aspect-ratio: 16 / 8; }
.cam__reel { position: absolute; left: 0; top: 2%; width: 42%; border-radius: 50%; mix-blend-mode: lighten; opacity: 0.85; animation: af-spin 7s linear infinite reverse; -webkit-mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); }
.cam__body { position: absolute; right: 2%; top: 0; width: 64%; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.cam__rec { position: absolute; right: 4%; top: 2%; margin: 0 !important; display: flex; align-items: center; gap: 8px; font-size: 0.85rem !important; font-weight: 700; letter-spacing: 0.08em; color: #fff !important; font-variant-numeric: tabular-nums; }
.cam__rec span { width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; animation: af-blink 1s steps(2, start) infinite; }
.cam__rec b { font-weight: 600; color: var(--ink-soft); }
.cam__frame { position: absolute; inset: -4% -2%; pointer-events: none; opacity: 0.55;
  background: linear-gradient(#fff, #fff) 0 0 / 22px 2px, linear-gradient(#fff, #fff) 0 0 / 2px 22px, linear-gradient(#fff, #fff) 100% 0 / 22px 2px, linear-gradient(#fff, #fff) 100% 0 / 2px 22px,
              linear-gradient(#fff, #fff) 0 100% / 22px 2px, linear-gradient(#fff, #fff) 0 100% / 2px 22px, linear-gradient(#fff, #fff) 100% 100% / 22px 2px, linear-gradient(#fff, #fff) 100% 100% / 2px 22px;
  background-repeat: no-repeat; }

/* Mischpult: Fader fahren hoch und runter */
.tile--mixer .tile__art { position: static; }
.mixer__photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.mixer { position: relative; display: flex; gap: 7%; width: 72%; height: 150px; padding: 14px 16px; border-radius: 14px; background: rgba(8, 8, 10, 0.72); border: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mixer span { position: relative; flex: 1; background: linear-gradient(90deg, transparent 44%, rgba(0, 0, 0, 0.9) 44% 56%, transparent 56%); }
.mixer span::after { content: ""; position: absolute; right: -36%; bottom: 0; width: 18%; height: 100%; border-radius: 2px; transform-origin: 50% 100%; background: linear-gradient(0deg, #3fdc8c 0 60%, #f6c445 60% 85%, #ff5470 85%); animation: af-meter 0.42s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.11s); }
.mixer i { position: absolute; left: 4%; right: 4%; top: 0; height: 16%; border-radius: 3px; background: linear-gradient(#f4f2fa, #a19eae 50%, #5f5c6b); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); animation: af-fader calc(2.6s + var(--d) * 0.27s) cubic-bezier(.45,0,.25,1) infinite alternate; animation-delay: calc(var(--d) * -0.6s); }
@keyframes af-fader { 0% { transform: translateY(480%); } 35% { transform: translateY(130%); } 60% { transform: translateY(360%); } 100% { transform: translateY(40%); } }
@keyframes af-meter { 0% { transform: scaleY(0.25); } 50% { transform: scaleY(0.75); } 100% { transform: scaleY(0.45); } }

/* Gaming-Controller */
.pad { position: relative; width: min(76%, 320px); aspect-ratio: 1; display: grid; place-items: center; }
.pad img { width: 100%; height: 100%; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); animation: af-float 4.2s ease-in-out infinite alternate; }
@keyframes af-float { 0% { transform: translateY(-4%) rotate(-4deg); } 100% { transform: translateY(4%) rotate(3deg); } }
.pad__ring { position: absolute; inset: 18%; border-radius: 50%; border: 1px solid rgba(209, 66, 254, 0.6); animation: af-sonar 2.8s ease-out infinite; }
.pad__ring--2 { animation-delay: 1.4s; }
@keyframes af-sonar { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.45); opacity: 0; } }
.pad__hud { position: absolute; left: 0; top: 4%; margin: 0 !important; display: flex; gap: 6px; }
.pad__hud span { padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; border: 1px solid var(--line); color: var(--ink-mute); animation: af-player 2.4s steps(1) infinite; }
.pad__hud span + span { animation-delay: 1.2s; }
@keyframes af-player { 0% { color: #fff; border-color: #d142fe; background: rgba(209, 66, 254, 0.25); } 50% { color: var(--ink-mute); border-color: var(--line); background: none; } }

/* Einblicke mit Tiefe */
.glimpse { padding: var(--section-y) 0 calc(var(--section-y) * 0.6); border-top: 1px solid var(--line); overflow: clip; }
.glimpse__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.glimpse__head .section-title { margin: 0; }
.glimpse__head p { margin: 0; color: var(--ink-soft); max-width: 48ch; }
.glimpse__cols { --p: 0; width: min(1240px, 100% - 2 * var(--gutter)); margin: clamp(40px, 5vw, 72px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); align-items: start; }
.glimpse__col { display: grid; gap: clamp(12px, 1.4vw, 18px); transform: translate3d(0, calc(var(--p) * var(--speed) * 1px), 0); will-change: transform; }
.glimpse__col:nth-child(even) { margin-top: clamp(40px, 6vw, 96px); }
.glimpse figure { position: relative; margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--ground-2); }
.glimpse img { width: 100%; height: auto; transition: transform 0.8s cubic-bezier(.16,1,.3,1); }
.glimpse figure:hover img { transform: scale(1.05); }
.glimpse figcaption { position: absolute; inset: auto 0 0; padding: 64px 16px 14px; font-size: 0.9rem; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.72) 45%, rgba(8, 8, 10, 0.94)); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }

/* Videoraster (Projekte) */
.vgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.vgrid .yt { padding: 16px; }
.vgrid .yt__title { font-size: 1rem; margin-bottom: 10px; }
.vgrid .yt__btn { height: 40px; padding: 0 16px; font-size: 0.92rem; }
.vgrid .yt__note { display: none; }
.vgrid .yt { transition: transform 0.5s cubic-bezier(.16,1,.3,1), border-color 0.3s; }
.vgrid .yt:hover { transform: translateY(-4px); border-color: rgba(209, 66, 254, 0.5); }
.vnote { margin: 0 0 16px; color: var(--ink-mute); font-size: 0.92rem; max-width: 70ch; }
.vhead { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin: clamp(32px, 4vw, 48px) 0 16px; }
.vhead h3 { margin: 0; }

@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--studio { grid-column: span 2; grid-row: span 1; min-height: 520px; }
  .tile--video { grid-column: span 2; }
}
@media (max-width: 820px) {
  .tiles { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile, .tile--studio, .tile--video { grid-column: auto; grid-row: auto; min-height: 420px; }
  .tile--studio { min-height: 520px; }
  .glimpse__head { grid-template-columns: 1fr; }
  .glimpse__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glimpse__col:nth-child(even) { margin-top: 40px; }
  .vgrid { grid-template-columns: 1fr; }
}
@media (min-width: 821px) and (max-width: 1100px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reduce .tile, .reduce .tile .tile__text > * { clip-path: none !important; opacity: 1 !important; transform: none !important; }
.reduce .tile__art *, .reduce .tile__art *::before, .reduce .tile__art *::after { animation: none !important; }
.reduce .tile { --lit: 0.8; }
.reduce .tonearm { transform: none; }
.reduce .glimpse__col { transform: none; }
.quote { margin: 1.4em 0 0; padding-left: 20px; border-left: 2px solid var(--magenta); }
.quote p { margin: 0 0 0.4em; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; line-height: 1.35; color: var(--ink) !important; }
.quote cite { font-style: normal; color: var(--ink-mute); font-size: 0.95rem; }
.vlink { margin: 16px 0 0; }
.tile--studio .vinyl { width: min(82%, 580px); }
@media (max-width: 820px) { .tile--studio .vinyl { width: min(80%, 420px); } .tile--studio .tile__art { min-height: 300px; } }
.vgrid .yt { align-content: center; justify-items: center; }
.vgrid .yt::before { background: radial-gradient(circle at 50% 50%, rgba(8, 8, 10, 0.35), rgba(8, 8, 10, 0.05) 60%); transition: background 0.3s; }
.vgrid .yt:hover::before { background: rgba(8, 8, 10, 0.45); }
.vgrid .yt__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vgrid .yt__btn { justify-self: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }

/* =========================================================
   Spiele und Apps + Bewegung in allen Bereichen (23.11.2026)
   ========================================================= */
:root { interpolate-size: allow-keywords; }
@keyframes af-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Einblenden beim Scrollen (main.js setzt data-reveal automatisch) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.js [data-reveal="clip"] { transform: none; clip-path: inset(12% 8% 12% 8% round 18px); transition: opacity 0.8s ease, clip-path 1.2s cubic-bezier(.16,1,.3,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 18px); }

/* Überschriften: Wörter steigen nacheinander auf */
.js [data-split] .w { display: inline-block; overflow: clip; overflow-clip-margin: 0.12em; vertical-align: bottom; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--w, 0) * 70ms); }
.js [data-split].is-in .w > span { transform: none; }

/* Trailer (Video ohne Ton, läuft nur im Bild) */
.trailer { position: relative; width: 100%; height: 100%; background: var(--ground-2); }
.trailer__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.trailer__toggle { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border: 0; border-radius: var(--radius-pill); background: rgba(8, 8, 10, 0.72); color: #fff; font: 600 0.85rem var(--font); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.trailer__toggle::before { content: ""; width: 10px; height: 12px; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.trailer.is-paused .trailer__toggle::before { width: 10px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.trailer__toggle:hover { background: #fff; color: var(--ground); }

/* Spiele-Bereich auf der Startseite */
.games { position: relative; padding: var(--section-y) 0; border-top: 1px solid var(--line); overflow: clip; isolation: isolate; }
.games::before { content: ""; position: absolute; z-index: -1; inset: 0 -10% auto; height: 80%; background: radial-gradient(40% 50% at 70% 30%, rgba(91, 44, 247, 0.14), transparent 70%); pointer-events: none; }
.games__lead { margin: -12px 0 clamp(28px, 4vw, 48px); }
.gtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gtile--wide { grid-column: span 2; }
.gtile { justify-content: flex-start; }
.gtile__media { position: relative; flex: 1 1 auto; min-height: clamp(190px, 15vw, 250px); overflow: hidden; border-bottom: 1px solid var(--line); }
.gtile__media .trailer { position: absolute; inset: 0; }
.gtile--wide .gtile__media { min-height: clamp(220px, 22vw, 340px); }
.gtile__media .trailer__video { transform: scale(1.04); transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.gtile.is-open .gtile__media .trailer__video { transform: scale(1); }
.gtile .trailer__toggle { z-index: 4; }
.gtile:hover .gtile__media .trailer__video { transform: scale(1.03); }

/* Kachel „selbst entwickeln“: Pixelbild baut sich auf, über die ganze Breite */
.gtile--dev { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.gtile--dev .tile__art { min-height: 0; flex: 0 0 42%; aspect-ratio: 16 / 7; padding-top: 0; }
.gtile--dev .tile__text { flex: 1 1 auto; }
.pixel { display: grid; gap: 16px; justify-items: center; }
.pixel__grid { display: grid; grid-template-columns: repeat(8, clamp(12px, 1.5vw, 18px)); gap: 3px; }
.pixel__grid b, .pixel__grid i { aspect-ratio: 1; border-radius: 3px; }
.pixel__grid b { background: rgba(245, 245, 245, 0.05); }
.pixel__grid i { background: rgba(245, 245, 245, 0.05); animation: af-pixel 6s steps(1) infinite; animation-delay: calc(var(--d) * 0.07s); }
.pixel__grid i:nth-child(3n) { --c: #a032e2; } .pixel__grid i:nth-child(3n+1) { --c: #d142fe; } .pixel__grid i:nth-child(3n+2) { --c: #7654f0; }
@keyframes af-pixel { 0% { background: rgba(245, 245, 245, 0.05); } 8% { background: var(--c); } 88% { background: var(--c); } 100% { background: rgba(245, 245, 245, 0.05); } }
.pixel__code { margin: 0 !important; display: grid; gap: 2px; font: 600 0.82rem/1.4 ui-monospace, "SF Mono", Menlo, monospace !important; color: var(--ink-soft) !important; }
.pixel__code span { display: block; width: 0; overflow: hidden; white-space: nowrap; border-right: 2px solid transparent; animation: af-type 6s steps(16) infinite; }
.pixel__code span:nth-child(2) { animation-delay: 1.2s; } .pixel__code span:nth-child(3) { animation-delay: 2.4s; }
@keyframes af-type { 0% { width: 0; border-color: var(--magenta); } 20%, 80% { width: 16ch; border-color: transparent; } 100% { width: 0; } }

/* Spiele-Seite */
.game { scroll-margin-top: 24px; }
.game__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.game:nth-of-type(even) .game__media { order: 2; }
.game__media { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--ground-2); }
.game__text p { color: var(--ink-soft); max-width: 50ch; }
.game__text .proj__title + .slide__meta { margin: 10px 0 20px; }
.game__keys { font-size: 0.95rem; color: var(--ink-mute) !important; padding-top: 14px; border-top: 1px solid var(--line); }
.game__keys b { display: block; color: var(--ink); margin-bottom: 4px; }
.game__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.game__stage { position: absolute; inset: 0; background: #000; }
.game__stage iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Wofür wir da sind: Schallwelle aus dem Logo */
.about__head .section-title { margin-bottom: 28px; }
.eq { display: flex; align-items: center; gap: 4px; height: 64px; }
.eq span { width: 4px; height: 100%; border-radius: 4px; background: #a98bff; transform: scaleY(0.12); transform-origin: 50% 50%; opacity: 0.85; }
.eq.is-live span { animation: af-eq 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.13s); }
@keyframes af-eq { 0% { transform: scaleY(0.12); } 30% { transform: scaleY(0.75); } 55% { transform: scaleY(0.3); } 80% { transform: scaleY(1); } 100% { transform: scaleY(0.2); } }
.eq--close { justify-content: center; height: 80px; margin-bottom: clamp(24px, 3vw, 40px); }
.eq--close span { width: 5px; }
.eq span:nth-child(3n) { background: #d142fe; } .eq span:nth-child(5n+1) { background: #f5f5f5; }

/* Chronik: Zeitstrahl füllt sich beim Scrollen */
.timeline { --tl: 0; position: relative; padding-left: 34px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; top: 26px; bottom: 26px; width: 2px; border-radius: 2px; }
.timeline::before { background: rgba(245, 245, 245, 0.12); }
.timeline::after { background: var(--magenta); transform-origin: 50% 0; transform: scaleY(var(--tl)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 2px rgba(245, 245, 245, 0.3); transition: box-shadow 0.4s, background-color 0.4s, transform 0.5s cubic-bezier(.16,1,.3,1); z-index: 1; }
.timeline li.is-reached::before { background: #fff; box-shadow: inset 0 0 0 4px var(--magenta); transform: scale(1.15); }
.timeline li b { transition: color 0.4s; color: var(--ink-mute); }
.timeline li.is-reached b { color: var(--ink); }
.reduce .timeline { --tl: 1; }
.reduce .timeline li b { color: var(--ink); }

/* Buchung: der Weg des Geldes läuft sichtbar durch */
.flow span { transition: color 0.5s; color: var(--ink-mute); }
.flow.is-in span { color: var(--ink); }
.flow i { position: relative; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--n, 0) * 220ms); }
.flow.is-in i { transform: scaleX(1); }
.flow i::after { content: ""; position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: 0; }
.flow.is-live i::after { animation: af-travel 2.4s cubic-bezier(.45,0,.25,1) infinite; animation-delay: calc(var(--n, 0) * 0.8s + 1s); }
@keyframes af-travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.reduce .flow i { transform: none; } .reduce .flow span { color: var(--ink); }
@media (max-width: 600px) { .flow i { transform: scaleY(0); transform-origin: 50% 0; } .flow.is-in i { transform: scaleY(1); } .reduce .flow i { transform: none; } }

/* Projekte: Zahlen und lebendiger Slider */
.stats { list-style: none; margin: 0 0 clamp(40px, 5vw, 72px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 48px); }
.stats li { padding-top: 18px; border-top: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(3.4rem, 6.5vw, 6.4rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 1rem; max-width: 22ch; }
.slide.is-active .slide__media img { animation: af-kenburns 7s cubic-bezier(.16,1,.3,1) both; }
@keyframes af-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide .slide__media { clip-path: inset(0 0 0 0 round 14px); }
.slide.is-active .slide__media { animation: af-wipe 0.9s cubic-bezier(.16,1,.3,1) both; }
@keyframes af-wipe { from { clip-path: inset(0 0 0 100% round 14px); } to { clip-path: inset(0 0 0 0 round 14px); } }
.slide.is-active .slide__text > * { animation: af-up 0.8s cubic-bezier(.16,1,.3,1) both; }
.slide.is-active .slide__text > :nth-child(2) { animation-delay: 0.08s; } .slide.is-active .slide__text > :nth-child(3) { animation-delay: 0.16s; } .slide.is-active .slide__text > :nth-child(4) { animation-delay: 0.24s; }
.slider:not(.is-paused) .slider__dots button[aria-current="true"]::after { animation: af-progress 6.5s linear both; }
@keyframes af-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* News: Kalenderblatt blättert um */
.news__sub { display: inline-block; }
.flipcal { position: relative; float: right; width: 64px; height: 70px; margin: -14px 0 0 16px; perspective: 400px; }
.flipcal__rings { position: absolute; left: 12px; right: 12px; top: -4px; height: 10px; z-index: 3; background: radial-gradient(circle at 5px 5px, #b9b7c2 0 3px, transparent 3.5px) 0 0 / 20px 10px repeat-x; }
.flipcal__page { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; border-radius: 10px; background: #f5f5f5; color: var(--ground); line-height: 1; }
.flipcal__page small { display: block; padding: 4px 0; margin: -6px -20px 4px; background: var(--magenta); color: var(--ground); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 0; }
.flipcal__page b { font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.flipcal__page--flip { background: #e7e5ee; transform-origin: 50% 0; z-index: 2; opacity: 0; }
.flipcal.is-live .flipcal__page--flip { animation: af-flip 4s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes af-flip { 0%, 60% { transform: rotateX(0deg); opacity: 0; } 62% { opacity: 1; } 85% { transform: rotateX(-100deg); opacity: 1; } 86%, 100% { transform: rotateX(-100deg); opacity: 0; } }

/* E-Sport und „bald“: pulsierender Status */
.esport__status { position: relative; align-items: center; gap: 10px; }
.esport__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #45e39a; flex: none; }

/* Geeflow: Name zieht beim Scrollen durchs Bild */
.person__name { --px: 0; transform: translate3d(calc(var(--px) * 1%), 0, 0); will-change: transform; white-space: nowrap; }

/* Mitglied werden: drei Karten gehen auf */
.mtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mtile .tile__art { min-height: clamp(150px, 13vw, 190px); }
.mcard { position: relative; width: min(64%, 210px); aspect-ratio: 1.6; border-radius: 14px; background: linear-gradient(135deg, #2a1d4a, #120f1c); box-shadow: inset 0 0 0 1px rgba(245, 245, 245, 0.16), 0 18px 40px -16px rgba(0, 0, 0, 0.8); transform: rotate(-8deg); }
.mtile.is-live .mcard { animation: af-card 5s ease-in-out infinite alternate; }
@keyframes af-card { from { transform: rotate(-8deg) translateY(4px); } to { transform: rotate(4deg) translateY(-6px); } }
.mcard__chip { position: absolute; left: 12%; top: 26%; width: 18%; aspect-ratio: 1.3; border-radius: 4px; background: linear-gradient(135deg, #f2e6b8, #b99a4c); }
.mcard__line { position: absolute; left: 12%; bottom: 22%; width: 52%; height: 6px; border-radius: 3px; background: rgba(245, 245, 245, 0.35); }
.mcard__line--s { bottom: 12%; width: 32%; background: rgba(245, 245, 245, 0.2); }
.mcard img { position: absolute; right: 10%; top: 18%; width: 22%; height: auto; }
.mheart { width: clamp(72px, 7vw, 96px); overflow: visible; }
.mheart path { fill: none; stroke: #d142fe; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 190; stroke-dashoffset: 190; transform-origin: 50% 60%; }
.mtile.is-open .mheart path { transition: stroke-dashoffset 1.6s cubic-bezier(.16,1,.3,1) 0.6s, fill 0.6s 1.6s; stroke-dashoffset: 0; fill: rgba(209, 66, 254, 0.22); }
.mtile.is-live .mheart path { animation: af-beat 1.6s ease-in-out infinite 2.2s; }
@keyframes af-beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 28% { transform: scale(0.98); } }
.mring { width: clamp(84px, 8vw, 110px); transform: rotate(-90deg); }
.mring circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.mring__track { stroke: rgba(245, 245, 245, 0.1); }
.mring__fill { stroke: #a98bff; stroke-dasharray: 201; stroke-dashoffset: 201; }
.mtile.is-live .mring__fill { animation: af-ring 6s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes af-ring { 0% { stroke-dashoffset: 201; } 70%, 100% { stroke-dashoffset: 0; } }
.mring__label { position: absolute; left: 50%; top: calc(50% + clamp(8px, 1vw, 14px)); transform: translate(-50%, -50%); font-weight: 700; font-size: 0.95rem; }
.member__more { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.6fr auto; gap: 16px 48px; align-items: center; }
.member__more p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.reduce .mring__fill { stroke-dashoffset: 0; } .reduce .mheart path { stroke-dashoffset: 0; fill: rgba(209, 66, 254, 0.22); }

/* Spenden: Licht wird beim Scrollen heller */
.donate { --lit: 0; position: relative; overflow: clip; isolation: isolate; }
.donate__light { position: absolute; z-index: -1; left: 50%; top: 10%; width: min(1400px, 140vw); aspect-ratio: 1.6; transform: translate(-50%, -30%) scale(calc(0.7 + var(--lit) * 0.4)); opacity: calc(0.15 + var(--lit) * 0.85); pointer-events: none;
  background: radial-gradient(closest-side, rgba(245, 240, 255, 0.16), rgba(160, 50, 226, 0.12) 45%, transparent 75%); }
.donate__iban { display: inline-block; }
.js .donate__iban { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s steps(26); }
.js .donate__bank.is-in .donate__iban { clip-path: inset(0 0 0 0); }
.reduce .donate__iban { clip-path: none !important; }

/* Partner: Logos laufen nacheinander ein */
.logos li { transition-delay: calc(var(--i, 0) * 90ms) !important; }

/* Fragen: weiches Aufklappen */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s cubic-bezier(.16,1,.3,1), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details[open] p { animation: af-up 0.5s cubic-bezier(.16,1,.3,1) both; }

@media (max-width: 1100px) {
  .gtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gtile--wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .gtiles, .mtiles { grid-template-columns: 1fr; }
  .gtile, .gtile--wide, .mtile { grid-column: auto; min-height: 0; }
  .gtile--dev { flex-direction: column; align-items: stretch; }
  .gtile--dev .tile__art { flex: none; aspect-ratio: 16 / 9; }
  .gtile--wide .gtile__media { aspect-ratio: 16 / 9; }
  .mtile { min-height: 0; }
  .game__grid, .member__more { grid-template-columns: 1fr; }
  .game:nth-of-type(even) .game__media { order: 0; }
  .flipcal { width: 54px; height: 60px; margin-top: -8px; }
  .person__name { --px: 0 !important; }
}
.reduce [data-split] .w > span { transform: none !important; }
.reduce .eq span { transform: scaleY(0.55); }
.reduce .eq span:nth-child(3n) { transform: scaleY(0.9); } .reduce .eq span:nth-child(4n+1) { transform: scaleY(0.3); }
.reduce .person__name { transform: none; }

/* Exklusive Spiele, Apps und Gruppen (23.11.2026, Teil 2) */
.games__sub { margin: clamp(40px, 5vw, 64px) 0 18px; font-size: 1rem; font-weight: 700; color: var(--ink-mute); }
.games__lead + .games__sub { margin-top: 0; }
.gtiles--ex { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gtiles--ex .gtile__media { min-height: clamp(150px, 11vw, 190px); }
.games__apps { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.apps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.apps__grid--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.app__link { display: grid; gap: 8px; height: 100%; padding: 0 0 18px; text-decoration: none; border-radius: 18px; border: 1px solid var(--line); background: var(--ground-2); overflow: hidden; transition: border-color 0.3s, transform 0.5s cubic-bezier(.16,1,.3,1); }
.app__link:hover { border-color: rgba(209, 66, 254, 0.5); transform: translateY(-4px); }
.app__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.app__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.16,1,.3,1); }
.app__link:hover .app__media img { transform: scale(1.05); }
.app__title { padding: 6px 18px 0; font-weight: 700; font-size: 1.15rem; }
.apps__grid--compact .app__title { font-size: 1rem; padding-top: 4px; }
.apps__grid--compact .app__link { padding-bottom: 14px; }
.app__text { padding: 0 18px; color: var(--ink-soft); font-size: 0.98rem; }
.app__link .more { margin: 4px 18px 0; justify-self: start; }
.apps .sec-head { align-items: end; }
.group-head { padding: clamp(72px, 9vw, 140px) 0 0; border-top: 1px solid var(--line); }
.group-head__title { margin: 0 0 0.3em; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -0.03em; }
.group-head + .block { border-top: 0; }
@media (max-width: 1100px) {
  .gtiles--ex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps__grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .gtiles--ex, .apps__grid { grid-template-columns: 1fr; }
  .apps__grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   Pulsierende Tiefe im Hintergrund, alle Seiten (23.11.2026)
   ========================================================= */
body::before, body::after { content: ""; position: fixed; z-index: -1; pointer-events: none; }
/* Lichtfelder: atmen wie ein Puls (Doppelschlag), wandern beim Scrollen langsam nach oben */
body::before { inset: -25%;
  background:
    radial-gradient(30% 26% at 22% 28%, rgba(91, 44, 247, 0.52), transparent 70%),
    radial-gradient(26% 24% at 80% 62%, rgba(239, 58, 166, 0.34), transparent 70%),
    radial-gradient(36% 32% at 46% 96%, rgba(118, 84, 240, 0.42), transparent 70%),
    radial-gradient(22% 20% at 70% 12%, rgba(160, 50, 226, 0.26), transparent 70%);
  will-change: transform, opacity;
  animation: af-impuls 4.8s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes af-impuls {
  0% { opacity: 0.4; scale: 1; }
  9% { opacity: 1; scale: 1.07; }
  18% { opacity: 0.62; scale: 1.02; }
  27% { opacity: 0.95; scale: 1.05; }
  60%, 100% { opacity: 0.4; scale: 1; } }
/* Impuls-Welle: bei jedem Herzschlag läuft ein Lichtring aus der Tiefe nach außen */
html::after { content: ""; position: fixed; z-index: -1; pointer-events: none; left: 50%; top: 50%; width: 140vmax; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(closest-side, transparent 58%, rgba(160, 50, 226, 0.20) 66%, rgba(239, 58, 166, 0.10) 72%, transparent 80%);
  scale: 0.15; opacity: 0; animation: af-welle 4.8s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes af-welle { 0% { scale: 0.15; opacity: 0; } 6% { opacity: 1; } 55% { scale: 1; opacity: 0; } 100% { scale: 1; opacity: 0; } }
/* Sternenfeld in der Tiefe: bewegt sich langsamer als die Seite (Parallaxe) */
body::after { inset: -10% 0;
  background-image: radial-gradient(rgba(245, 245, 245, 0.16) 1px, transparent 1.6px), radial-gradient(rgba(209, 66, 254, 0.18) 1px, transparent 1.6px);
  background-size: 54px 54px, 131px 131px; background-position: 0 0, 27px 61px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 20%, transparent 85%); mask-image: radial-gradient(70% 60% at 50% 50%, #000 20%, transparent 85%);
  will-change: transform; opacity: 0.75; }
/* Tiefe beim Scrollen (25.11.2026): CSS-Scroll-Animation statt Variable am Wurzelelement. Läuft auf der Grafikkarte, nichts wird neu gezeichnet.
   Browser ohne Scroll-Animationen zeigen den Hintergrund still. */
@supports (animation-timeline: scroll()) {
  body::before { animation: af-impuls 4.8s cubic-bezier(.4,0,.2,1) infinite, af-tiefe-licht linear both; animation-timeline: auto, scroll(root); }
  body::after { animation: af-tiefe-sterne linear both; animation-timeline: scroll(root); }
  @keyframes af-tiefe-licht { from { translate: 0 0; } to { translate: 0 -18%; } }
  @keyframes af-tiefe-sterne { from { translate: 0 0; } to { translate: 0 -8%; } }
}
.proj-bg__obj { will-change: opacity, transform; }
/* Flächen lassen die Tiefe durchscheinen */
.why, .news, .donate, .support { background-color: rgba(14, 13, 20, 0.72); }
.reduce body::before, .reduce body::after { animation: none; translate: none; }
.reduce::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { html::after { animation: none; opacity: 0; } body::before { animation: none; opacity: 0.75; } body::after { animation: none; } body::before, body::after { translate: none; } }

/* Filmstreifen: Musikvideos laufen beim Scrollen mit, lässt sich auch selbst wischen */
.reel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: clamp(56px, 7vw, 104px); }
.reel { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #3a3448 transparent; padding: 0 var(--gutter) 18px; }
.reel__track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, 1.4vw, 18px); width: max-content; }
.reel__track li { width: clamp(240px, 24vw, 340px); flex: none; }
.reel__track a { display: grid; gap: 4px; text-decoration: none; }
.reel__img { display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--ground-2); margin-bottom: 8px; }
.reel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.16,1,.3,1); }
.reel__track a:hover .reel__img img { transform: scale(1.05); }
.reel__track a:hover .reel__img { border-color: rgba(209, 66, 254, 0.5); }
.reel__meta { font-size: 0.85rem; color: var(--ink-mute); }
.reel__title { font-weight: 700; font-size: 1.1rem; }
.reel__by { color: var(--ink-soft); font-size: 0.95rem; }

/* Unterseiten: Bilder und Listen gehen beim Scrollen auf */
.js .gallery li[data-reveal], .js .vgrid li[data-reveal] { transition-delay: calc(var(--i, 0) * 70ms) !important; }
.page-intro h1 .w > span { transition-duration: 1.2s; }

/* Übersicht der exklusiven Spiele auf spiele.html (14 Spiele) */
.jump--games { gap: 8px; }
.jump--games a { height: 40px; padding: 0 14px; font-size: 0.95rem; }
.app__kicker { padding: 0 18px; font-size: 0.85rem; font-weight: 600; color: var(--ink-mute); }
.apps__grid--compact .app__kicker { margin-top: -4px; }
.games--more { margin-top: clamp(12px, 1.4vw, 18px); }
.games__all { margin: clamp(24px, 3vw, 40px) 0 0; }
.news__all { margin: 20px 0 0; }

/* =========================================================
   Dreh-Bühne auf den Unterseiten (23.11.2026): Miniatur-Modell dreht sich beim Scrollen einmal um 360°
   ========================================================= */
.stage { position: relative; height: 240vh; border-top: 1px solid var(--line); --k: 0; }
.stage__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.stage__fig { position: relative; margin: 0; width: min(1240px, 100% - 2 * var(--gutter), 74vh * 16 / 9); aspect-ratio: 16 / 9; }
@media (min-width: 821px) {
  /* Computer: Modell rechts, Wörter links daneben */
  .stage__pin { justify-items: end; }
  .stage__fig { width: min(1000px, 64vw, 76vh * 16 / 9); margin-right: max(0px, (100vw - 1240px) / 2 - 60px); }
  .stage__lines { max-width: 34vw; }
  .stage__lines { top: 50%; bottom: auto; translate: 0 -50%; }
}
.stage__fig img, .stage__fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent 100%); mask-image: radial-gradient(closest-side, #000 68%, transparent 100%); }
.stage__fig canvas { opacity: 0; }
.stage__fig.has-frames canvas { opacity: 1; }
.stage__fig.has-frames img { opacity: 0; }
.stage__fig::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 6%; height: 18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(160, 50, 226, 0.45), transparent); filter: blur(24px); opacity: calc(0.4 + var(--k) * 0.6); }
.stage__lines { position: absolute; left: max(var(--gutter), (100% - 1240px) / 2); bottom: clamp(32px, 9vh, 96px); margin: 0; padding: 0; list-style: none; display: grid; gap: 0.1em;
  font-size: clamp(2rem, 3.4vw, 3.6rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
.stage__line { opacity: 0.52; translate: 0 0.4em; transition: opacity 0.7s cubic-bezier(.16,1,.3,1), translate 0.7s cubic-bezier(.16,1,.3,1), color 0.7s; }
.stage__line.is-on { opacity: 1; translate: 0 0; }
.stage__line.is-now { color: var(--magenta); }
.stage__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--brand-gradient); transform: scaleX(var(--k)); transform-origin: 0 50%; }
@media (max-width: 820px) {
  .stage { height: 200vh; }
  .stage__fig { width: 150vw; margin-top: -16vh; }
  .stage__lines { left: var(--gutter); right: var(--gutter); bottom: clamp(48px, 12vh, 120px); }
}
.reduce .stage { height: auto; }
.reduce .stage__pin { position: static; height: auto; padding: var(--section-y) 0; gap: 32px; }
.reduce .stage__lines { position: static; width: min(1240px, 100% - 2 * var(--gutter)); }
.reduce .stage__line { opacity: 1; translate: none; }
.reduce .stage__bar { display: none; }

/* Galerie mit Bildunterschriften und stummen Videoschleifen */
.gallery--cap li { position: relative; }
.gallery--cap figure { margin: 0; height: 100%; }
.gallery--cap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery--cap figcaption { position: absolute; inset: auto 0 0; padding: 56px 14px 12px; font-size: 0.9rem; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.72) 45%, rgba(8, 8, 10, 0.94)); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.proj__media + .gallery--cap, .gallery + .gallery--cap { margin-top: 12px; }
.gallery--one { grid-template-columns: minmax(0, 640px); margin-bottom: 18px; }
.gallery--posters2 { grid-template-columns: repeat(2, minmax(0, 420px)); }
.gallery--posters2 li { aspect-ratio: auto; align-self: start; background: none; border-radius: 0; overflow: visible; }
.gallery--posters2 figure { height: auto; }
.gallery--posters2 img { display: block; height: auto; object-fit: contain; border-radius: 14px; }
.gallery--posters2 li:hover img { transform: none; }
.gallery--posters2 figcaption { position: static; background: none; padding: 10px 2px 0; color: var(--ink-soft); }
.lead-sm { margin: 0.4em 0 0; color: var(--ink-soft); max-width: 54ch; }
.block > .wrap > .vhead { margin-bottom: clamp(20px, 3vw, 36px); }
@media (max-width: 820px) { .gallery--one, .gallery--posters2 { grid-template-columns: 1fr; } }

/* Schnuppermitgliedschaft: ruhige Sanduhr statt Fortschrittsring (23.11.2026) */
.mglass { width: clamp(52px, 5vw, 68px); overflow: visible; }
.mglass path { fill: none; stroke: #a98bff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mglass .mglass__sand { fill: rgba(169, 139, 255, 0.35); stroke: none; }

/* Aufzählung in Textblöcken (Datenschutz) */
.block__body .list { margin: 0 0 1em; padding-left: 1.2em; color: var(--ink-soft); max-width: 54ch; }
.block__body .list li { margin-bottom: 0.45em; }
.draft-note { margin: 0; padding: 18px 20px; border: 1.5px solid var(--magenta); border-radius: 14px; background: rgba(209, 66, 254, 0.08); color: var(--ink); font-size: 1.1rem; max-width: 54ch; }
.draft-note b { color: var(--magenta); }

/* ---------- Verleih: Geräte zum Auswählen, drehen beim Scrollen (24.11.2026) ---------- */
.gear { padding: clamp(48px, 6vw, 96px) 0 var(--section-y); }
.gear__filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(20px, 2.4vw, 32px); }
.gear__chip { height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); font: inherit; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(245,245,245,0.35); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.gear__chip:hover { background: rgba(245,245,245,0.08); }
.gear__chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.gear__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.gear__item[hidden] { display: none; }
.gcard { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; background: var(--ground-2); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.3s, transform 0.5s cubic-bezier(.16,1,.3,1); }
.gcard:hover { transform: translateY(-4px); }
.gcard.is-picked { border-color: var(--magenta); box-shadow: inset 0 0 0 1px var(--magenta); }
.gcard__view { position: relative; aspect-ratio: 1; background: #0a0910; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.gcard__view.is-drag { cursor: grabbing; }
.gcard__view img, .gcard__view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gcard__view img { object-fit: cover; -webkit-user-drag: none; }
.gcard__view canvas { opacity: 0; }
.gcard__view.has-frames canvas { opacity: 1; }
.gcard__view.has-frames img { visibility: hidden; }
.gcard__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.gcard__cat { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--violet-text); letter-spacing: 0.02em; }
.gcard__name { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.gcard__text { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.gcard__qty { margin: 0; color: var(--ink-mute); font-size: 0.92rem; }
.gcard__actions { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.gcard__pick { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); font: inherit; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(245,245,245,0.5); cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.gcard__pick::before { content: ""; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color 0.2s; }
.gcard__pick:hover { background: rgba(245,245,245,0.08); }
.gcard__pick[aria-pressed="true"] { background: var(--magenta); color: #120818; box-shadow: none; }
.gcard__pick[aria-pressed="true"]::before { background: #120818 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23d142fe' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: none; }
.gcard__pick-on, .gcard__pick[aria-pressed="true"] .gcard__pick-off { display: none; }
.gcard__pick[aria-pressed="true"] .gcard__pick-on { display: inline; }
.gcard__count { display: inline-flex; align-items: center; gap: 4px; height: 44px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line); padding: 0 4px; }
.gcard__count[hidden] { display: none; }
.gcard__count button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: inherit; font-size: 1.2rem; cursor: pointer; }
.gcard__count button:hover { background: rgba(245,245,245,0.1); }
.gcard__count button:disabled { opacity: 0.35; cursor: default; }
.gcard__count output { min-width: 2ch; text-align: center; font-weight: 700; }
.gear-cart { position: sticky; bottom: 16px; z-index: 20; margin-top: clamp(24px, 3vw, 40px); }
.gear-cart[hidden] { display: none; }
.gear-cart__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 20px; padding: 14px 16px 14px 22px; border-radius: 20px; background: rgba(23, 9, 45, 0.94); border: 1px solid rgba(209, 66, 254, 0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gear-cart__sum { margin: 0; white-space: nowrap; }
.gear-cart__sum b { font-size: 1.3rem; }
.gear-cart__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.gear-cart__list li { flex: none; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(245,245,245,0.1); font-size: 0.9rem; white-space: nowrap; }
.gear-cart__actions { display: flex; gap: 10px; align-items: center; }
.gear-cart__clear { height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gear-cart.is-bump .gear-cart__sum b { animation: af-bump 0.4s cubic-bezier(.16,1,.3,1); }
@keyframes af-bump { 40% { transform: scale(1.35); } }
.gear-cart__sum b { display: inline-block; }
@media (max-width: 1000px) { .gear__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .gear__grid { grid-template-columns: 1fr; }
  .gear-cart { bottom: 10px; }
  .gear-cart__inner { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 12px 12px 16px; gap: 10px 12px; }
  .gear-cart__sum { white-space: normal; line-height: 1.2; font-size: 0.95rem; }
  .gear-cart__actions .btn { padding-inline: 18px; }
  .gear-cart__list { grid-column: 1 / -1; grid-row: 2; }
  .gear-cart__actions { grid-column: 2; grid-row: 1; }
  .gear-cart__clear { display: none; }
}
.reduce .gcard, .reduce .gcard:hover { transition: none; transform: none; }
.reduce .gear-cart.is-bump .gear-cart__sum b { animation: none; }

/* Verleih: selbst drehen mit Maus, Finger und Pfeil-Knöpfen (24.11.2026) */
.gcard__view:focus-visible { outline: 2px solid var(--magenta); outline-offset: -2px; }
.gcard__hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; padding: 7px 14px; border-radius: var(--radius-pill); background: rgba(8, 8, 10, 0.72); color: var(--ink); font-size: 0.85rem; font-weight: 600; white-space: nowrap; pointer-events: none; transition: opacity 0.4s; }
.gcard__view.is-used .gcard__hint { opacity: 0; }
.gcard__turn { position: absolute; bottom: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(8, 8, 10, 0.72); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color 0.2s, opacity 0.3s; touch-action: none; }
.gcard__turn::before { content: ""; width: 10px; height: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.gcard__turn--l { left: 10px; }
.gcard__turn--l::before { rotate: 45deg; translate: 2px 0; }
.gcard__turn--r { right: 10px; }
.gcard__turn--r::before { rotate: -135deg; translate: -2px 0; }
.gcard__turn:hover { background: var(--magenta); color: #120818; }
@media (hover: hover) and (pointer: fine) {
  .gcard__turn { opacity: 0; }
  .gcard__view:hover .gcard__turn, .gcard__view:focus-within .gcard__turn { opacity: 1; }
}
.reduce .gcard__hint, .reduce .gcard__turn { transition: none; }
/* Studio: Ausstattung nur zum Ansehen (24.11.2026) */
.gear--show { padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 96px); }
.gear--show .gcard__body { padding-bottom: 22px; }

/* E-Sport-Raster (25.11.2026): Karten für Mannschaften, Training, Turniere; „Folgt“-Karten gestrichelt */
.es-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.es-raster__card { margin: 0; padding: clamp(20px, 2vw, 28px); border-radius: 18px; border: 1px solid var(--line); background: var(--ground-2); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.es-raster__card h3 { margin: 0; font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1.15; text-wrap: balance; }
.es-raster__card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.es-raster__card .es-raster__kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-text); }
.es-raster__card--bald { background: transparent; border-style: dashed; }
.es-raster__card--bald .es-raster__kicker { color: var(--ink-mute); }
.es-raster__card--art { display: grid; place-items: center; padding: 12px; background: radial-gradient(closest-side, var(--ground-3), var(--ground-2)); min-height: 220px; }
.es-raster__card--art .pad { width: min(86%, 240px); }
@media (max-width: 1100px) { .es-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .es-raster { grid-template-columns: 1fr; } .es-raster__card--art { min-height: 180px; } }

/* Angebot „Du willst auch so eine Website?“ (25.11.2026): diese Seite läuft im Browser- und Handy-Rahmen */
.offer { padding: calc(var(--section-y) * 0.7) 0; }
.offer--page { padding-top: clamp(32px, 4vw, 64px); }
.offer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.offer__text p { color: var(--ink-soft); max-width: 48ch; }
.offer__text .section-title { margin-bottom: 0.4em; }
.offer__chips { list-style: none; margin: 1.2em 0 1.6em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.offer__chips li { padding: 6px 14px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.95rem; font-weight: 600; }
.offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.offer__actions .more { position: static; }
.vitrine { position: relative; padding: 0 9% 9% 0; }
.vitrine__browser { border-radius: 14px; border: 1px solid var(--line); background: var(--ground-2); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85); }
.vitrine__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.vitrine__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(245, 245, 245, 0.18); }
.vitrine__bar span { margin-left: 10px; padding: 2px 12px; border-radius: var(--radius-pill); background: rgba(245, 245, 245, 0.06); color: var(--ink-mute); font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vitrine__screen { position: relative; overflow: hidden; container-type: size; }
.vitrine__browser .vitrine__screen { aspect-ratio: 16 / 10; }
.vitrine__screen img { display: block; width: 100%; height: auto; animation: af-website 46s ease-in-out infinite alternate; }
.vitrine__phone { position: absolute; right: 0; bottom: 0; width: 25%; padding: 5px; border-radius: 22px; background: #000; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); }
.vitrine__phone .vitrine__screen { aspect-ratio: 9 / 19.5; border-radius: 17px; }
.vitrine__phone img { animation-duration: 38s; animation-delay: -8s; }
.vitrine:hover img { animation-play-state: paused; }
@keyframes af-website { 0%, 5% { transform: translateY(0); } 95%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
@media (prefers-reduced-motion: reduce) { .vitrine__screen img { animation: none; } }
.reduce .vitrine__screen img { animation: none; }
@media (max-width: 820px) { .offer__grid { grid-template-columns: 1fr; } .vitrine { padding: 0 7% 12% 0; } .vitrine__phone { width: 30%; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--violet-text); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(0.2em + 6px); width: 8px; height: 5px; border-left: 2px solid var(--violet-text); border-bottom: 2px solid var(--violet-text); transform: rotate(-45deg); }
.checks__end { margin: 1.4em 0 0; font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
.footer__ad { margin-top: 1em; }
.footer__ad a { color: var(--violet-text); font-weight: 600; text-decoration: none; }
.footer__ad a:hover { text-decoration: underline; }

/* Menü mit 8 Punkten (25.11.2026): feste Abstände statt fester Breite, kein Umbruch;
   wo der Platz nicht reicht, Menü-Knopf neben dem Logo und Termin-Knopf bleibt sichtbar */
@media (min-width: 821px) {
  .site-nav #hauptmenue { left: 27.3%; width: auto; right: auto; justify-content: flex-start; gap: clamp(14px, 1.5vw, 26px); }
  .site-nav #hauptmenue > li > a { white-space: nowrap; }
}
@media (min-width: 821px) and (max-width: 1179px) {
  .site-nav #hauptmenue { display: none; }
  .site-nav .nav-toggle { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 27.3%; top: calc(var(--hero-h) * 0.0386); transform: translateY(-50%); background: none; border: 0; color: var(--ink); font: 600 1rem var(--font); padding: 8px 4px; cursor: pointer; }
  .site-nav--bar .nav-toggle { top: 50%; }
  .site-nav .nav-toggle__bars { display: block; width: 18px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 50%/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100%/100% 2px no-repeat; }
  .site-nav.is-open #hauptmenue { display: flex; position: absolute; left: 0; right: 0; top: 100%; width: auto; height: auto; transform: none; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 3.1% 20px; background: var(--ground); border-bottom: 1px solid var(--line); font-size: 1.2rem; text-align: left; }
  .site-nav.is-open #hauptmenue > li > a { padding: 8px 0; }
  .site-nav.is-open ul.sub { position: static; justify-items: start; display: grid; width: auto; min-width: 0; padding: 0 0 6px 16px; margin: 0; background: none; border: 0; box-shadow: none; border-left: 1px solid var(--line); opacity: 1; visibility: visible; translate: none; font-size: 1.05rem; }
  .site-nav.is-open .has-sub:not(.is-open) > ul.sub { display: none; }
  .site-nav.is-open .has-sub { flex-wrap: wrap; width: 100%; }
  .site-nav.is-open .has-sub > .sub { flex-basis: 100%; }
}

/* ---------- Sprachauswahl (25.11.2026) ---------- */
.site-nav .nav-end { position: absolute; right: 2.95%; top: calc(var(--hero-h) * 0.0386); transform: translateY(-50%); display: flex; align-items: center; gap: clamp(8px, 0.9vw, 16px); }
.site-nav--bar .nav-end { top: 50%; }
.site-nav .nav-end .nav-cta { position: static; transform: none; }
.site-nav .nav-end .nav-cta:hover { transform: translateY(-2px); }
.lang { position: relative; }
.lang > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: clamp(32px, 2.53vw, 42px); padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: 600 0.9rem var(--font); letter-spacing: 0.04em; cursor: pointer; user-select: none; transition: border-color 0.2s, color 0.2s; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover, .lang[open] > summary { border-color: var(--magenta); color: #fff; }
.lang > summary:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
.lang__icon { width: 16px; height: 16px; flex: none; }
.lang__list { position: absolute; right: 0; display: grid; top: calc(100% + 10px); z-index: 30; margin: 0; padding: 6px; list-style: none; min-width: 190px; background: var(--ground); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.lang__list a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 9px; color: var(--ink); text-decoration: none; }
.lang__list a:hover { background: rgba(255,255,255,0.06); color: #fff; text-decoration: none; }
.lang__list a[aria-current] { color: #fff; }
.lang__list a[aria-current]::after { content: "✓"; color: var(--magenta); }
.lang__list small { color: var(--ink-mute); font-size: 0.8rem; letter-spacing: 0.06em; }
.lang-note { margin: 0; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 0.95rem; text-align: center; }
[dir="rtl"] .lang__list { right: auto; left: 0; }
@media (max-width: 820px) {
  .site-nav .nav-end { position: static; transform: none; margin-left: auto; margin-right: 10px; order: 2; }
  .site-nav .nav-toggle { order: 3; }
  .site-nav .nav-end .nav-cta { display: none; }
  .lang > summary { height: 36px; }
  [dir="rtl"] .site-nav .nav-end { margin-left: 10px; margin-right: auto; }
}

/* Arabisch (von rechts nach links): Kopf gespiegelt, Menü-Knopf bis 1599 px, weil die Menüpunkte länger sind */
@media (min-width: 821px) {
  [dir="rtl"] .site-nav .logo { left: auto; right: 3.1%; }
  [dir="rtl"] .site-nav #hauptmenue { left: auto; right: 27.3%; }
  [dir="rtl"] .site-nav .nav-end { right: auto; left: 2.95%; }
}
@media (min-width: 821px) and (max-width: 1599px) {
  [dir="rtl"] .site-nav #hauptmenue { display: none; }
  [dir="rtl"] .site-nav .nav-toggle { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: auto; right: 27.3%; top: calc(var(--hero-h) * 0.0386); transform: translateY(-50%); background: none; border: 0; color: var(--ink); font: 600 1rem var(--font); padding: 8px 4px; cursor: pointer; }
  [dir="rtl"] .site-nav--bar .nav-toggle { top: 50%; }
  [dir="rtl"] .site-nav .nav-toggle__bars { display: block; width: 18px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 50%/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100%/100% 2px no-repeat; }
  [dir="rtl"] .site-nav.is-open #hauptmenue { display: flex; position: absolute; left: 0; right: 0; top: 100%; width: auto; height: auto; transform: none; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 3.1% 20px; background: var(--ground); border-bottom: 1px solid var(--line); font-size: 1.2rem; text-align: right; }
  [dir="rtl"] .site-nav.is-open #hauptmenue > li > a { padding: 8px 0; }
  [dir="rtl"] .site-nav.is-open ul.sub { position: static; justify-items: start; display: grid; width: auto; min-width: 0; padding: 0 16px 6px 0; margin: 0; background: none; border: 0; box-shadow: none; border-right: 1px solid var(--line); opacity: 1; visibility: visible; translate: none; font-size: 1.05rem; }
  [dir="rtl"] .site-nav.is-open .has-sub:not(.is-open) > ul.sub { display: none; }
  [dir="rtl"] .site-nav.is-open .has-sub { flex-wrap: wrap; width: 100%; }
  [dir="rtl"] .site-nav.is-open .has-sub > .sub { flex-basis: 100%; }
}
@media (max-width: 820px) {
  [dir="rtl"] .site-nav.is-open #hauptmenue { text-align: right; }
  [dir="rtl"] .site-nav.is-open ul.sub { padding: 0 16px 6px 0; border-left: 0; border-right: 1px solid var(--line); }
}

/* Ukrainisch: längere Menüpunkte, darum Menü-Knopf bis 1439 px */
@media (min-width: 821px) and (max-width: 1439px) {
  [lang="uk"] .site-nav #hauptmenue { display: none; }
  [lang="uk"] .site-nav .nav-toggle { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 27.3%; top: calc(var(--hero-h) * 0.0386); transform: translateY(-50%); background: none; border: 0; color: var(--ink); font: 600 1rem var(--font); padding: 8px 4px; cursor: pointer; }
  [lang="uk"] .site-nav--bar .nav-toggle { top: 50%; }
  [lang="uk"] .site-nav .nav-toggle__bars { display: block; width: 18px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 50%/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100%/100% 2px no-repeat; }
  [lang="uk"] .site-nav.is-open #hauptmenue { display: flex; position: absolute; left: 0; right: 0; top: 100%; width: auto; height: auto; transform: none; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 3.1% 20px; background: var(--ground); border-bottom: 1px solid var(--line); font-size: 1.2rem; text-align: left; }
  [lang="uk"] .site-nav.is-open #hauptmenue > li > a { padding: 8px 0; }
  [lang="uk"] .site-nav.is-open ul.sub { position: static; justify-items: start; display: grid; width: auto; min-width: 0; padding: 0 0 6px 16px; margin: 0; background: none; border: 0; box-shadow: none; border-left: 1px solid var(--line); opacity: 1; visibility: visible; translate: none; font-size: 1.05rem; }
  [lang="uk"] .site-nav.is-open .has-sub:not(.is-open) > ul.sub { display: none; }
  [lang="uk"] .site-nav.is-open .has-sub { flex-wrap: wrap; width: 100%; }
  [lang="uk"] .site-nav.is-open .has-sub > .sub { flex-basis: 100%; }
}

/* Projekte: großes Objekt im Hintergrund, wechselt je nach Projekt (25.11.2026). Liegt hinter dem Inhalt, verdeckt nichts. */
.proj-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.proj-bg__obj { position: absolute; right: 1vw; top: 50%; width: min(44vw, 680px); aspect-ratio: 1; margin: 0; translate: 0 -50%;
  opacity: 0; transform: scale(0.94); transition: opacity 0.9s ease, transform 1.2s cubic-bezier(.16,1,.3,1); mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 68%, transparent 100%); mask-image: radial-gradient(closest-side, #000 68%, transparent 100%); }
.proj-bg__obj.is-on { opacity: 0.42; transform: none; }
.proj-bg__obj canvas { display: block; width: 100%; height: 100%; }
[dir="rtl"] .proj-bg__obj { right: auto; left: 1vw; }
@media (max-width: 820px) {
  .proj-bg__obj { width: 92vw; right: 4vw; top: 58%; }
  .proj-bg__obj.is-on { opacity: 0.16; }
  [dir="rtl"] .proj-bg__obj { left: 4vw; }
}

/* ---------- Kalender im Termin-Formular (26.11.2026) ---------- */
.booking__row--kal { align-items: start; }
.kal { display: grid; gap: 10px; }
.kal__label { margin: 0; font-weight: 600; }
.kal.is-aktiv .kal__nojs { display: none; }
.kal__box { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: rgba(14, 13, 20, 0.72); }
.kal__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.kal__monat { margin: 0; font-weight: 700; font-size: 1.05rem; text-transform: capitalize; }
.kal__pfeil { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font: 600 1.3rem/1 var(--font); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.kal__pfeil:hover:not(:disabled) { border-color: var(--magenta); background: rgba(255,255,255,0.05); }
.kal__pfeil:disabled { opacity: 0.3; cursor: default; }
.kal__pfeil:focus-visible, .kal__tag:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
[dir="rtl"] .kal__pfeil span { display: inline-block; transform: scaleX(-1); }
.kal__tage, .kal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.kal__tage span { text-align: center; font-size: 0.78rem; color: var(--ink-mute); padding: 4px 0; }
.kal__tag { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: 600 0.98rem var(--font); cursor: pointer; transition: background-color 0.15s; }
.kal__tag:hover:not(:disabled) { background: rgba(255,255,255,0.08); }
.kal__tag:disabled { color: rgba(245,245,245,0.25); cursor: default; }
.kal__tag.is-heute { box-shadow: inset 0 0 0 1.5px rgba(245,245,245,0.35); }
.kal__tag.is-drin { background: rgba(118, 84, 240, 0.28); border-radius: 6px; }
.kal__tag.is-von, .kal__tag.is-bis { background: #fff; color: var(--ground); }
.kal__wahl { margin: 0; font-weight: 600; color: var(--ink); min-height: 1.5em; }
.kal__seite { display: grid; gap: 14px; align-content: start; }
.kal__info { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 820px) { .kal__tag { min-height: 40px; } }

/* ---------- Kontakt-Fenster (26.11.2026) ---------- */
.kontakt { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--ground); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.kontakt::backdrop { background: rgba(4, 4, 8, 0.72); }
.kontakt__form { position: relative; display: grid; gap: 16px; padding: clamp(22px, 4vw, 34px); }
.kontakt h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); padding-inline-end: 48px; }
.kontakt__an { margin: -6px 0 0; color: var(--ink-soft); font-size: 0.95rem; overflow-wrap: anywhere; }
.kontakt__zu { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font: 400 1.6rem/1 var(--font); cursor: pointer; }
.kontakt__zu:hover { border-color: var(--magenta); }
.kontakt__zu:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
.kontakt__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kontakt__fehler { margin: 0; color: #ff8fb8; font-weight: 600; }
.kontakt__aktionen { margin: 0; }
.kontakt__status { margin: 0; min-height: 1.4em; font-weight: 600; }
.kontakt .field textarea { min-height: 120px; }

/* Arabisch: Schriftzeichen sind schmaler als ch, Zeilen sonst über 90 Zeichen (27.11.2026) */
[dir="rtl"] .proj__body { max-width: 46ch; }
[dir="rtl"] .block__body p, [dir="rtl"] .block__body .list { max-width: 44ch; }
[dir="rtl"] .person__text p, [dir="rtl"] .game__text p { max-width: 42ch; }

/* ---------- 3D-Ansicht (assets/js/af3d.js, 28.11.2026): Gerät groß, in alle Richtungen drehbar ---------- */
.gcard__3d { display: none; position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(8, 8, 10, 0.72); color: var(--ink); font: 600 0.85rem/1 var(--font); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.gcard__view.has-3d .gcard__3d { display: inline-flex; }
.gcard__3d:hover { background: var(--magenta); color: #120818; border-color: transparent; }
.gcard__view.has-3d { cursor: pointer; }
.ansicht3d { width: min(1100px, calc(100vw - 32px)); height: min(860px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--ground); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); overflow: hidden; }
.ansicht3d[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.ansicht3d::backdrop { background: rgba(4, 4, 8, 0.78); }
.ansicht3d__kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 8px 24px; }
.ansicht3d__kopf h2 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.6rem); }
.ansicht3d__zu { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font: 400 1.6rem/1 var(--font); cursor: pointer; }
.ansicht3d__zu:hover { border-color: var(--magenta); }
.ansicht3d__buehne { position: relative; min-height: 0; cursor: grab; background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(118, 84, 240, 0.14), transparent 70%); }
.ansicht3d__buehne.zieht { cursor: grabbing; }
.ansicht3d__buehne:focus-visible { outline: 2px solid var(--magenta); outline-offset: -6px; border-radius: 12px; }
.ansicht3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ansicht3d__laedt { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--ink-soft); pointer-events: none; }
.ansicht3d__buehne.ist-bereit .ansicht3d__laedt { display: none; }
.ansicht3d__fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px 20px; }
.ansicht3d__hinweis { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.ansicht3d__reset { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: none; color: var(--ink); font: 600 0.95rem/1 var(--font); cursor: pointer; }
.ansicht3d__reset:hover { border-color: var(--magenta); }
@media (max-width: 600px) {
  .ansicht3d { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .ansicht3d__kopf { padding: 12px 12px 4px 16px; }
  .ansicht3d__fuss { padding: 8px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .gcard__3d { transition: none; } }
