/* Caliopia landing page
   Abstaende im 4/8-px-Raster, zwei Themes (hell/dunkel), Animationen nur auf transform/opacity. */

/* ───────────── Schriften ───────────── */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/ebgaramond-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/ebgaramond-italic-latin.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../assets/fonts/courierprime-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../assets/fonts/courierprime-bold-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ───────────── Tokens ───────────── */
:root {
  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: "Courier Prime", "Courier New", ui-monospace, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: 140ms;
  --t: 220ms;

  --r-sm: 8px;
  --r: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --wrap: 1176px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(80px, 11vw, 152px);

  --coral: #ff7e6b;
  --sun: #ffc24b;
  --mint: #2fcb9b;
  --blue: #4e7bff;
  --violet: #a47cff;
  --brand-gradient: linear-gradient(100deg, var(--coral), var(--violet) 38%, var(--blue) 68%, var(--mint));

  --accent: #4353ff;
  --accent-hover: #3443e6;
  --accent-press: #2a37c4;
  --on-accent: #fff;

  --bg: #fbfaf8;
  --bg-tint: #f3f1ec;
  --surface: #ffffff;
  --surface-2: #f1efe9;
  --ink: #0c0c0e;
  --ink-2: #45454d;
  --ink-3: #6b6b74;
  --line: rgba(12, 12, 14, .1);
  --line-strong: rgba(12, 12, 14, .16);
  --link: #3443e6;
  --glass: rgba(255, 255, 255, .72);
  --shadow-1: 0 1px 2px rgba(12, 12, 30, .06), 0 8px 24px -12px rgba(12, 12, 30, .12);
  --shadow-2: 0 2px 4px rgba(12, 12, 30, .05), 0 24px 56px -20px rgba(12, 12, 30, .22);
  --shadow-3: 0 4px 8px rgba(12, 12, 30, .05), 0 48px 120px -32px rgba(30, 30, 90, .38);
  --aurora-opacity: .5;
  --paper: #ffffff;
  --paper-ink: #15151a;
  color-scheme: light;
}

[data-theme="dark"],
.on-dark {
  --bg: #09090b;
  --bg-tint: #0e0e11;
  --surface: #151518;
  --surface-2: #1c1c21;
  --ink: #f4f3ef;
  --ink-2: #b9b8c0;
  --ink-3: #8f8e98;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --link: #9aa4ff;
  --glass: rgba(18, 18, 22, .72);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .4), 0 24px 56px -20px rgba(0, 0, 0, .7);
  --shadow-3: 0 4px 8px rgba(0, 0, 0, .4), 0 48px 120px -32px rgba(0, 0, 0, .9);
  --aurora-opacity: .34;
  --paper: #f3f0e8;
}
[data-theme="dark"] { color-scheme: dark; }

/* ───────────── Basis ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.theming body, html.theming body * { transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease) !important; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code { font: 500 .88em var(--font-mono); padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
::selection { background: color-mix(in srgb, var(--violet) 34%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, [data-theme="dark"] :focus-visible { outline-color: #aab2ff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flip { transform: scaleX(-1); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 16px; border-radius: var(--r); background: var(--ink); color: var(--bg); transform: translateY(-200%); transition: transform var(--t) var(--ease); }
.skip:focus { transform: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { --wrap: 880px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.grad { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

.h1, .h2, .hero__title { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
.h1 { font-size: clamp(40px, 6.2vw, 84px); line-height: 1; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--ink-3); margin-bottom: 16px; }
.eyebrow img { border-radius: 5px; }

.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--bg-tint); }
.section--flush { padding-top: 0; }
.section__title { margin-bottom: clamp(32px, 5vw, 56px); }

.lede { max-width: 840px; margin-bottom: clamp(40px, 6vw, 72px); }
.lede--center { margin-inline: auto; text-align: center; }
.lede--tight { margin-bottom: 32px; margin-inline: auto; text-align: center; }
.lede__body { margin-top: 24px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.lede__body b { color: var(--ink); font-weight: 600; }

/* ───────────── Reveal ───────────── */
.js [data-reveal]:not(.is-done) { transition: opacity .8s var(--ease-out) var(--d, 0ms), transform 1s var(--ease-out) var(--d, 0ms); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.js [data-parallax]:not(.is-in) { transform: none; }

/* ───────────── Buttons ───────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--pill); overflow: hidden; isolation: isolate;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; user-select: none;
  transition: transform var(--t) var(--spring), background-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 20px -8px rgba(67, 83, 255, .7); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-110%); transition: transform .7s var(--ease); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 28px -8px rgba(67, 83, 255, .75); }
.btn--primary:hover::after { transform: translateX(110%); }
.btn:active { transform: scale(.96) !important; background: var(--accent-press); transition-duration: 80ms; }
.btn__arrow { width: 18px; height: 18px; transition: transform var(--t) var(--spring), opacity var(--t-fast); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn__label { transition: opacity var(--t-fast), transform var(--t) var(--ease); }
.btn__spinner { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; opacity: 0; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"] .btn__label, .btn[aria-busy="true"] .btn__arrow { opacity: 0; transform: translateY(6px); }
.btn[aria-busy="true"] .btn__spinner { opacity: 1; animation: spin .7s linear infinite; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.iconbtn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--pill); color: var(--ink-2); transition: background-color var(--t-fast), color var(--t-fast), transform var(--t) var(--spring), border-color var(--t-fast); }
.iconbtn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.iconbtn:active { transform: scale(.88); }
.iconbtn--line { width: 40px; height: 40px; border: 1px solid var(--line-strong); }
.iconbtn .icon { width: 18px; height: 18px; }

/* ───────────── Navigation ───────────── */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--brand-gradient); transform-origin: left; transform: scaleX(var(--sp, 0)); }

.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.nav__bar {
  pointer-events: auto; display: flex; align-items: center; gap: 16px; height: 56px; max-width: var(--wrap); margin-inline: auto; padding: 0 10px 0 16px;
  border-radius: var(--pill); border: 1px solid var(--line); background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; color: var(--ink); transition: box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.nav.is-stuck .nav__bar { box-shadow: var(--shadow-1); }.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 var(--font-serif); letter-spacing: -.01em; border-radius: var(--r-sm); }
.brand img { width: 32px; height: 32px; border-radius: 8px; transition: transform .5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav__links a { position: relative; z-index: 1; padding: 8px 12px; border-radius: var(--pill); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color var(--t-fast); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__pill { position: absolute; top: 50%; left: 0; height: 32px; width: var(--w, 0px); border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 8%, transparent); transform: translate(var(--x, 0px), -50%); opacity: var(--o, 0); transition: transform .35s var(--ease-out), width .35s var(--ease-out), opacity .2s; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; }
[data-theme-toggle] { position: relative; overflow: hidden; }
[data-theme-toggle] .icon { position: absolute; transition: transform .45s var(--spring), opacity .25s; }
[data-theme-toggle] .i-moon { transform: rotate(90deg) scale(0); opacity: 0; }
[data-theme="dark"] [data-theme-toggle] .i-sun { transform: rotate(-90deg) scale(0); opacity: 0; }
[data-theme="dark"] [data-theme-toggle] .i-moon { transform: none; opacity: 1; }

.menu { pointer-events: auto; max-width: var(--wrap); margin: 8px auto 0; padding: 12px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.7); backdrop-filter: blur(24px) saturate(1.7); box-shadow: var(--shadow-2); display: grid; gap: 2px; transform-origin: top; animation: menu-in .28s var(--ease-out); }
.menu[hidden] { display: none; }
.menu a:not(.btn) { padding: 12px 16px; border-radius: var(--r); font: 600 22px/1.2 var(--font-serif); transition: background-color var(--t-fast); }
.menu a:not(.btn):hover, .menu a:not(.btn):active { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.menu .btn { margin-top: 8px; }
.nav__burger .i-close { display: none; }
.nav__burger[aria-expanded="true"] .i-open { display: none; }
.nav__burger[aria-expanded="true"] .i-close { display: block; }

/* ───────────── Hero ───────────── */
.hero { position: relative; padding: clamp(136px, 16vw, 184px) 0 clamp(64px, 9vw, 120px); text-align: center; overflow: clip; }
.aurora { position: absolute; inset: -10% -10% 30% -10%; z-index: -2; opacity: var(--aurora-opacity); filter: blur(72px); pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.aurora i { position: absolute; width: 44vmax; height: 44vmax; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) { left: -6%; top: -18%; background: var(--coral); animation: drift-a 22s var(--ease) infinite alternate; }
.aurora i:nth-child(2) { right: -8%; top: -24%; background: var(--violet); animation: drift-b 26s var(--ease) infinite alternate; }
.aurora i:nth-child(3) { left: 30%; top: 6%; width: 36vmax; height: 36vmax; background: var(--blue); animation: drift-c 30s var(--ease) infinite alternate; }
.aurora i:nth-child(4) { right: 14%; top: 22%; width: 30vmax; height: 30vmax; background: var(--mint); animation: drift-a 34s var(--ease) infinite alternate-reverse; }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .09; pointer-events: none; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero__copy { position: relative; display: flex; flex-direction: column; align-items: center; }

.chip { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14px; color: var(--ink-2); box-shadow: var(--shadow-1); transition: transform var(--t) var(--spring), border-color var(--t-fast), box-shadow var(--t); }
.chip b { color: var(--ink); font-weight: 600; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); animation: pulse 2.4s var(--ease) infinite; }
.chip__sep { width: 1px; height: 14px; background: var(--line-strong); }
.chip__muted { color: var(--ink-3); }
.chip .icon { width: 14px; height: 14px; transition: transform var(--t) var(--spring); }
.chip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line-strong)); box-shadow: var(--shadow-2); }
.chip:hover .icon { transform: translateX(3px); }
.chip:active { transform: scale(.97); }

.hero__title { margin-top: 28px; font-size: clamp(40px, 6.6vw, 96px); line-height: .98; letter-spacing: -.03em; }
.line { display: block; overflow: hidden; padding: .06em .08em .14em; margin: -.06em -.08em -.14em; }
.line > span { display: inline-block; transform: translateY(112%); animation: line-in 1.1s var(--ease-out) forwards; }
.line:nth-child(2) > span { animation-delay: .12s; }
.ink { position: relative; display: inline-block; font-style: italic; font-weight: 500; padding: 0 .05em 0 .02em; background: var(--brand-gradient); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite alternate; }
.ink__stroke { position: absolute; left: 0; right: 0; bottom: -.04em; width: 100%; height: .2em; overflow: visible; }
.ink__stroke path { fill: none; stroke: var(--violet); stroke-width: 5; stroke-linecap: round; opacity: .55; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s var(--ease-out) 1s forwards; vector-effect: non-scaling-stroke; }

.hero__lead { margin-top: 28px; max-width: 720px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
[data-rise] { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 180ms); }

/* Warteliste */
.waitlist { width: min(520px, 100%); margin-top: 36px; }
.waitlist__row { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); transition: border-color var(--t-fast), box-shadow var(--t) var(--ease); }
.waitlist__row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-2); }
.field { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; outline: 0; border-radius: var(--pill); background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.field::placeholder { color: var(--ink-3); opacity: 1; }
.waitlist__msg { min-height: 24px; margin-top: 12px; font-size: 14px; line-height: 24px; color: var(--ink-2); opacity: 0; transform: translateY(-4px); transition: opacity var(--t), transform var(--t) var(--ease); }
.waitlist__msg.is-shown { opacity: 1; transform: none; }
.waitlist.is-error .waitlist__row { border-color: #d92d3a; animation: shake .36s var(--ease); }
.waitlist.is-error .waitlist__msg { color: #c8202d; }
.on-dark .waitlist.is-error .waitlist__msg, [data-theme="dark"] .waitlist.is-error .waitlist__msg { color: #ff8c93; }
.waitlist.is-done .waitlist__msg { color: var(--ink); font-weight: 500; }
.waitlist.is-done .btn { background: #128a5b; box-shadow: none; }

.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 16px; height: 16px; }

/* App-Fenster */
.stage { --p: 1; position: relative; width: min(1240px, 100% - 2 * var(--gutter)); margin: clamp(48px, 7vw, 88px) auto 0; perspective: 1800px; }
.stage__glow { position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px; background: var(--brand-gradient); filter: blur(64px); opacity: calc(.18 + var(--p) * .2); }
.window { border-radius: var(--r-md); overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-3); transform-origin: 50% 0; transform: rotateX(calc((1 - var(--p)) * 16deg)) scale(calc(.9 + var(--p) * .1)); will-change: transform; }
.window__bar { display: flex; align-items: center; justify-content: space-between; height: 36px; padding-left: 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.window__title { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.window__title img { border-radius: 4px; }
.window__ctl { display: flex; height: 100%; }
.window__ctl svg { width: 46px; height: 100%; padding: 13px 18px; fill: none; stroke: var(--ink-2); stroke-width: 1; }
.window__body { position: relative; background: #f1f1f2; }
.window__video { width: 100%; aspect-ratio: 2218 / 1386; object-fit: cover; }
.playbtn { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 16px; border-radius: var(--pill); background: rgba(12, 12, 14, .82); color: #fff; font-size: 15px; font-weight: 600; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translate(-50%, -50%); transition: transform var(--t) var(--spring), background-color var(--t-fast); }
.playbtn[hidden] { display: none; }
.playbtn:hover { transform: translate(-50%, -50%) scale(1.05); background: rgba(12, 12, 14, .94); }
.playbtn:active { transform: translate(-50%, -50%) scale(.95); }

.cursor { position: absolute; z-index: 3; display: inline-flex; align-items: flex-start; pointer-events: none; color: var(--c); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18)); }
.cursor .icon { width: 20px; height: 20px; fill: currentColor; stroke: #fff; stroke-width: 1.5; }
.cursor b { margin: 14px 0 0 -2px; padding: 4px 10px; border-radius: 4px 12px 12px 12px; background: var(--c); color: var(--fg, #fff); font-size: 12.5px; font-weight: 600; line-height: 16px; white-space: nowrap; }
.cursor--a { --c: #1f8f63; left: 4%; top: 18%; animation: roam-a 14s ease-in-out infinite alternate; }
.cursor--b { --c: #c2410c; right: 5%; top: 30%; animation: roam-b 17s ease-in-out infinite alternate; }
.cursor--c { --c: #6d3fd1; left: 42%; bottom: 10%; animation: roam-c 19s ease-in-out infinite alternate; }

/* ───────────── Manifest + Zahlen ───────────── */
.manifesto { position: relative; padding-block: var(--section); }
.manifesto .h1 { margin-bottom: clamp(32px, 4vw, 48px); }
.fill { font: 500 clamp(22px, 2.7vw, 36px)/1.3 var(--font-serif); letter-spacing: -.012em; text-wrap: pretty; }
.fill .w { opacity: .16; transition: opacity .5s var(--ease); }
.fill .w.is-lit { opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(64px, 9vw, 120px); padding-top: 40px; border-top: 1px solid var(--line); }
.stat dt { display: flex; align-items: baseline; gap: 4px; font: 600 clamp(56px, 7.4vw, 104px)/.9 var(--font-serif); letter-spacing: -.04em; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum", "tnum"; }
.stat dt small { font: 600 clamp(18px, 1.8vw, 24px)/1 var(--font-sans); letter-spacing: -.01em; color: var(--ink-3); }
.stat dd { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--ink-3); max-width: 240px; }
.stat dd b { color: var(--ink); font-weight: 600; }

/* ───────────── Bento ───────────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; min-height: 400px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), border-color var(--t); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card:active { transform: translateY(-2px) scale(.992); transition-duration: 100ms; }
.card--a { grid-column: span 7; min-height: 480px; }
.card--b { grid-column: span 5; min-height: 480px; }
.card--c, .card--d, .card--e { grid-column: span 4; }
.card--f { grid-column: span 5; }
.card--g { grid-column: span 7; }
.card__text { position: relative; z-index: 2; padding: 32px 32px 0; }
.card h3, .pcard h3, .tile h3 { font: 600 clamp(19px, 1.65vw, 24px)/1.25 var(--font-sans); letter-spacing: -.018em; color: var(--ink-3); text-wrap: pretty; }
.card h3 b, .pcard h3 b, .tile h3 b { color: var(--ink); font-weight: 600; }
.card__img { flex: 1; min-height: 0; width: calc(100% - 32px); margin: 28px 0 0 32px; border-radius: var(--r) 0 0 0; border: 1px solid var(--line); border-width: 1px 0 0 1px; object-fit: cover; object-position: left top; box-shadow: var(--shadow-2); transform-origin: left top; transition: transform .7s var(--ease-out); }
.card__img--paper { object-position: center top; }
.card:hover .card__img { transform: scale(1.03); }
.card__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card__bg { transform: scale(1.07); }
.card--dark { justify-content: flex-end; background: #0b0b0d; border-color: rgba(255, 255, 255, .1); }
.card--dark::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6, 6, 8, .96) 4%, rgba(6, 6, 8, .5) 46%, rgba(6, 6, 8, 0) 76%); }
.card--dark .card__text { padding-bottom: 32px; }
.card--dark h3 { color: rgba(255, 255, 255, .72); }
.card--dark h3 b { color: #fff; }

[data-spot]::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--violet) 16%, transparent), transparent 62%); }
[data-spot]:hover::after { opacity: 1; }

.avatars { display: flex; justify-content: center; gap: 12px; margin: auto; padding: 32px 24px 40px; }
.avatars li { display: grid; justify-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.avatars span { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c); color: #111; font: 600 26px/1 var(--font-serif); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px color-mix(in srgb, var(--c) 55%, transparent); transition: transform .45s var(--spring); }
.avatars span::after { content: ""; position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; border-radius: 50%; background: #22b573; border: 3px solid var(--surface); }
.avatars b { font-weight: 500; }
.card:hover .avatars li:nth-child(odd) span { transform: translateY(-8px); }
.card:hover .avatars li:nth-child(even) span { transform: translateY(4px); }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding: 32px; }
.formats li { position: relative; display: grid; gap: 2px; padding: 20px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--spring); }
.formats li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.formats i { font: 700 13px/1 var(--font-mono); font-style: normal; color: var(--ink-3); margin-bottom: 20px; }
.formats b { font: 600 28px/1 var(--font-serif); letter-spacing: -.01em; }
.formats span { font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.card:hover .formats li:nth-child(1) { transform: translateY(-6px) rotate(-1.5deg); }
.card:hover .formats li:nth-child(2) { transform: translateY(-10px); }
.card:hover .formats li:nth-child(3) { transform: translateY(-6px) rotate(1.5deg); }

/* ───────────── Bildrahmen ───────────── */
.wide, .shot { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); }
.wide img, .shot img { width: 100%; }
.wide { margin-bottom: clamp(56px, 8vw, 104px); }
[data-parallax] { --p: 1; transform-origin: 50% 100%; transform: perspective(1600px) rotateX(calc((1 - var(--p)) * 9deg)) scale(calc(.94 + var(--p) * .06)); will-change: transform; }
[data-theme="dark"] .wide img, [data-theme="dark"] .shot img, [data-theme="dark"] .xpane img, [data-theme="dark"] .xpane video, [data-theme="dark"] .tile img, [data-theme="dark"] .card__img, [data-theme="dark"] .window__video { filter: brightness(.9); }
.section--flush .h2 { margin-bottom: clamp(32px, 5vw, 56px); }

/* ───────────── Explorer ───────────── */
.explorer { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.explorer--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
.explorer--flip .explorer__side { order: 2; }
.explorer__list { display: grid; }
.xitem { position: relative; display: block; width: 100%; padding: 14px 0 14px 24px; text-align: left; border-left: 2px solid var(--line); border-radius: 0 var(--r) var(--r) 0; transition: background-color var(--t-fast); }
.xitem::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.xitem.is-active::before { transform: scaleY(1); }
.explorer.is-auto .xitem.is-active::before { animation: fill-y var(--dur, 7s) linear forwards; }
.explorer.is-paused .xitem.is-active::before { animation-play-state: paused; }
.xitem__title { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: var(--ink-3); transition: color var(--t), transform var(--t) var(--ease); }
.xitem:hover .xitem__title { color: var(--ink); transform: translateX(4px); }
.xitem.is-active .xitem__title { color: var(--ink); transform: none; }
.xitem:active .xitem__title { transform: translateX(2px) scale(.99); }
.xitem__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.xitem__body > span { min-height: 0; overflow: hidden; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); opacity: 0; transition: opacity .3s; }
.xitem.is-active .xitem__body { grid-template-rows: 1fr; }
.xitem.is-active .xitem__body > span { opacity: 1; padding-top: 6px; transition-delay: .1s; }
.explorer__nav { display: flex; align-items: center; gap: 16px; margin: 28px 0 0 24px; }
.explorer__count { min-width: 56px; text-align: center; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.explorer__count b { color: var(--ink); font-weight: 600; }

.explorer__main { position: sticky; top: 96px; }
.explorer__stage { position: relative; aspect-ratio: 10 / 8; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.section--tint .explorer__stage { background: color-mix(in srgb, var(--ink) 5%, var(--bg-tint)); }
.xpane { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 40px); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.975); transition: opacity .45s var(--ease), transform .7s var(--ease-out), visibility 0s .45s; }
.xpane.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.xpane img, .xpane video { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--r); box-shadow: var(--shadow-2); background: #fff; }
.explorer__caption { display: none; }

/* Demo: Swap */
.swap { position: relative; width: min(620px, 100%); padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.swap__ruler { display: flex; justify-content: space-between; padding: 0 2px 12px; font-size: 11px; color: var(--ink-3); border-bottom: 1px solid var(--line); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.swap__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.blk { display: flex; align-items: flex-start; height: 96px; padding: 12px; border-radius: 10px; background: var(--c); color: #16161a; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.xpane.is-active .blk--x { animation: swap-x 5s var(--ease) infinite; }
.xpane.is-active .blk--y { animation: swap-y 5s var(--ease) infinite; }
.swap__icon { margin: 20px auto 0; width: 28px; height: 28px; color: var(--ink-3); }
/* Demo: Target */
.target { width: min(580px, 100%); padding: 32px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.target__head { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.target__head b { font: 600 48px/1 var(--font-serif); letter-spacing: -.02em; color: var(--ink); font-feature-settings: "lnum"; }
.target__track { position: relative; height: 12px; margin-top: 44px; border-radius: var(--pill); background: var(--surface-2); }
.target__track i { position: absolute; inset: 0 auto 0 0; width: 75.5%; border-radius: inherit; background: var(--brand-gradient); transform-origin: left; transform: scaleX(0); }
.xpane.is-active .target__track i { transform: none; transition: transform 1.6s var(--ease-out) .3s; }
.target__track em { position: absolute; left: 75.5%; bottom: 20px; transform: translateX(-50%); padding: 4px 10px; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; opacity: 0; }
.xpane.is-active .target__track em { opacity: 1; transition: opacity .4s 1.5s; }
.target__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.target__modes { display: inline-flex; gap: 2px; margin-top: 24px; padding: 3px; border-radius: var(--pill); background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.target__modes span { padding: 6px 14px; border-radius: var(--pill); }
.target__modes .is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
/* Demo: Umbenennen */
.renamer { width: min(520px, 100%); display: grid; gap: 16px; }
.renamer__field { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); font-size: 13px; color: var(--ink-3); }
.renamer__field b { font-size: 16px; font-weight: 600; color: var(--ink); }
.renamer__field b::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--accent); animation: blink 1s steps(2) infinite; }

/* Drehbuchsatz */
.page { padding: 32px 40px; border-radius: var(--r-sm); background: var(--paper); color: var(--paper-ink); box-shadow: var(--shadow-2); font: 400 15px/1.3 var(--font-mono); text-align: left; }
.sp { margin: 0 0 1em; }
.sp--slug { text-transform: uppercase; font-weight: 700; }
.sp--char { margin: 0 0 0 38%; text-transform: uppercase; }
.sp--paren { margin: 0 0 0 30%; }
.sp--dialog { margin: 0 14% 1em 20%; }
.sp--trans { text-align: right; text-transform: uppercase; }
.page .sp:last-child { margin-bottom: 0; }
[data-name] { border-radius: 3px; transition: background-color .9s var(--ease); }
[data-name].is-flash { background: color-mix(in srgb, var(--sun) 70%, transparent); transition-duration: 0s; }

/* Segmentschalter + Tabs */
.formatpick { margin-top: clamp(80px, 11vw, 152px); text-align: center; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: var(--pill); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg button { position: relative; z-index: 1; height: 40px; padding: 0 22px; border-radius: var(--pill); font-size: 15px; font-weight: 600; color: var(--ink-3); transition: color var(--t), transform var(--t) var(--spring); }
.seg button:hover { color: var(--ink); }
.seg button:active { transform: scale(.95); }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg__thumb { position: absolute; top: 4px; left: 0; height: 40px; width: var(--w, 0px); border-radius: var(--pill); background: var(--surface); box-shadow: var(--shadow-1); transform: translateX(var(--x, 4px)); transition: transform .4s var(--spring), width .4s var(--ease-out); }
.tabpanes { margin-top: 24px; }
.tabpane[hidden] { display: none; }
.tabpane.is-active { animation: pane-in .55s var(--ease-out); }
.formatpick .tabpane > p { max-width: 620px; margin: 0 auto 40px; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }

/* ───────────── Previs (immer dunkel) ───────────── */
.cinema, .together { background: #060608; color: var(--ink); }
.cinema { padding-bottom: clamp(56px, 7vw, 96px); }
.cinema__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cinema__script { padding-block: 30vh 22vh; font: 400 clamp(15px, 1.25vw, 18px)/1.35 var(--font-mono); }
.scene { margin-bottom: 30vh; }
.scene:last-child { margin-bottom: 0; }
.scene .sp { opacity: .22; transition: opacity .6s var(--ease); }
.scene.is-on .sp { opacity: 1; }
.scene .sp--slug { color: #fff; }
.cinema__screen { position: sticky; top: calc(50vh - min(24vw, 190px)); padding-block: 24px; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 120px -20px rgba(120, 110, 255, .28); }
.screen::before, .screen::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 7%; background: #000; }
.screen::before { top: 0; }
.screen::after { bottom: 0; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1s var(--ease), transform 7s linear; }
.screen img.is-on { opacity: 1; transform: scale(1); }
.screen__grain { position: absolute; inset: 0; z-index: 1; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.screen__slate { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font: 400 12.5px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.screen__slate b { color: var(--ink); font-weight: 700; }

.lede--onDark { margin-top: clamp(24px, 4vw, 56px); }
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { position: relative; border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09); transition: transform .35s var(--ease-out), border-color var(--t), background-color var(--t); }
.pcard:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); }
.pcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: #111116; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .9s var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard h3 { padding: 24px; font-size: 17px; line-height: 1.4; }
.pcard__media--tags { display: grid; place-items: center; padding: 20px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tags li { padding: 8px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); font: 700 12px/1 var(--font-mono); letter-spacing: .04em; transition: transform .45s var(--spring); }
.pcard:hover .tags li:nth-child(odd) { transform: translateY(-4px) rotate(-2deg); }
.pcard:hover .tags li:nth-child(even) { transform: translateY(3px) rotate(2deg); }
.pcard__media--plug { display: grid; place-items: center; align-content: center; gap: 12px; background: radial-gradient(circle at 50% 40%, rgba(124, 137, 255, .32), transparent 62%), #111116; color: #fff; font: 700 13px/1 var(--font-mono); letter-spacing: .2em; }
.pcard__media--plug .icon { width: 56px; height: 56px; stroke-width: 1.4; transition: transform .5s var(--spring); }
.pcard:hover .pcard__media--plug .icon { transform: translateY(-6px) rotate(-8deg); }

/* ───────────── Zusammenarbeit ───────────── */
.together { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.together__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.together .h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .94; }
.ticks { display: grid; gap: 16px; margin-top: 32px; }
.ticks li { display: flex; gap: 14px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.ticks .icon { margin-top: 2px; color: #9aa4ff; }
.ticks b { color: var(--ink); font-weight: 600; }
.together__shot { position: relative; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 120px -24px rgba(78, 123, 255, .4); }
.together__shot img { border-radius: inherit; width: 100%; }
.bubble { position: absolute; z-index: 2; padding: 10px 16px; border-radius: 18px 18px 18px 4px; font-size: 14px; font-weight: 500; line-height: 1.3; white-space: nowrap; box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .6); }
.bubble--a { left: -5%; top: 14%; background: #a9a5ff; color: #14122e; animation: bob 6s ease-in-out infinite; }
.bubble--b { right: -4%; bottom: 16%; border-radius: 18px 18px 4px 18px; background: #58dcc8; color: #06231f; animation: bob 7s ease-in-out -2s infinite; }
.cursor--d { --c: #ff8a80; --fg: #2a0b08; left: 30%; top: 40%; animation: roam-b 13s ease-in-out infinite alternate; }
.cursor--e { --c: #ffd166; --fg: #2a1e00; left: 52%; top: 66%; animation: roam-a 16s ease-in-out infinite alternate; }

/* ───────────── Brainstorm ───────────── */
.board { position: relative; height: clamp(380px, 44vw, 520px); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-strong); background-color: var(--surface); background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.5px); background-size: 24px 24px; box-shadow: var(--shadow-1); }
.board__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.board__links path { fill: none; stroke: color-mix(in srgb, var(--ink) 42%, transparent); stroke-width: 2; stroke-linecap: round; }
.board__links circle { fill: var(--surface); stroke: color-mix(in srgb, var(--ink) 42%, transparent); stroke-width: 2; }
.bcard { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); padding: 14px 18px; border-radius: var(--r); background: var(--c); color: #17171b; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; cursor: grab; touch-action: none; user-select: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 20px -8px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); transition: transform .3s var(--spring), box-shadow .3s var(--ease); }
.bcard--dark { color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 8px 20px -8px rgba(0, 0, 0, .5); }
.bcard:hover { transform: translate(-50%, -50%) scale(1.05); }
.bcard.is-drag { cursor: grabbing; z-index: 5; transform: translate(-50%, -50%) scale(1.09) rotate(-2deg); box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .45); transition: transform .15s var(--ease), box-shadow .15s; }
.board.is-in .bcard { animation: pop .7s var(--spring) backwards; animation-delay: calc(var(--n, 0) * 70ms + 250ms); }
.board__hint { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill); background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.board__hint .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.board.is-touched .board__hint { opacity: 0; transform: translateY(8px); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.tile__media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.05); }
.tile h3 { margin-top: 20px; font-size: 18px; line-height: 1.4; }

/* ───────────── Notes ───────────── */
.notes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.notes .seg { margin-top: 32px; }
.notes__captions { margin-top: 20px; min-height: 84px; font-size: 16px; color: var(--ink-2); }
.notes__shots { margin-top: 0; }

/* ───────────── Export ───────────── */
.exports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.xcard { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; background: var(--tint); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease); }
.xcard:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -32px color-mix(in srgb, var(--tint) 80%, #000); }
.xcard > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.xcard:hover > img { transform: scale(1.08); }
.xcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--tint) 55%, #000) 6%, color-mix(in srgb, var(--tint) 40%, transparent) 52%, transparent 82%); }
.xcard__body { position: absolute; inset: auto 0 0; padding: 32px; }
.xcard__badge { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; margin-bottom: 20px; border-radius: var(--r); background: #fff; color: color-mix(in srgb, var(--tint) 80%, #000); font-size: 17px; font-weight: 700; letter-spacing: -.02em; transition: transform .5s var(--spring); }
.xcard:hover .xcard__badge { transform: translateY(-6px) rotate(-6deg); }
.xcard h3 { font: 600 32px/1.1 var(--font-serif); letter-spacing: -.015em; }
.xcard p { margin-top: 12px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.xcard__ext { position: absolute; right: 24px; top: 24px; font: 700 14px/1 var(--font-mono); padding: 8px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ───────────── Native ───────────── */
.platforms { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.platforms li { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-align: left; font-size: 13px; line-height: 1.3; color: var(--ink-3); }
.platforms .icon { width: 24px; height: 24px; color: var(--ink-3); }
.platforms b { display: block; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.platforms .is-live { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); color: var(--link); }
.platforms .is-live .icon, .platforms .is-live b { color: var(--ink); }

.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { position: relative; padding: 32px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), border-color var(--t); }
.fact:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.fact__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--bg); transition: transform .5s var(--spring); }
.fact__icon .icon { width: 22px; height: 22px; }
.fact:hover .fact__icon { transform: rotate(-8deg) scale(1.08); }
.fact h3 { margin-top: 24px; font: 600 26px/1.15 var(--font-serif); letter-spacing: -.015em; }
.fact p { margin-top: 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* ───────────── FAQ ───────────── */
.faq { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; letter-spacing: -.015em; border-radius: var(--r-sm); transition: color var(--t-fast), padding var(--t) var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--link); padding-left: 12px; }
.faq summary:active { padding-left: 8px; }
.faq summary .icon { width: 22px; height: 22px; color: var(--ink-3); transition: transform .4s var(--spring), color var(--t-fast); }
.faq summary:hover .icon { color: var(--link); }
.faq details[open] summary .icon { transform: rotate(135deg); }
.faq__a { display: grid; grid-template-rows: 1fr; }
.faq__a > p { min-height: 0; overflow: hidden; padding: 0 48px 0 4px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.faq__a > p::after { content: ""; display: block; height: 28px; }
.faq details[open] .faq__a { animation: faq-open .4s var(--ease-out); }
.faq details.is-closing .faq__a { animation: faq-close .28s var(--ease) forwards; }
.faq details.is-closing summary .icon { transform: none; }

/* ───────────── CTA ───────────── */
.cta { padding-bottom: var(--section); }
.cta__panel { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 560px; padding: clamp(48px, 7vw, 96px) 24px; border-radius: var(--r-xl); overflow: hidden; background: #05060d; color: #f4f3ef; text-align: center; box-shadow: var(--shadow-3); }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .85; animation: kenburns 28s ease-in-out infinite alternate; }
.cta__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, rgba(5, 6, 13, .5), rgba(5, 6, 13, .84) 70%); }
.cta__inner { display: grid; justify-items: center; max-width: 640px; }
.cta__logo { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 16px 40px -8px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14); animation: bob 7s ease-in-out infinite; }
.cta__inner .h1 { margin-top: 32px; }
.cta__inner > p { margin-top: 20px; font-size: 18px; line-height: 1.5; color: rgba(244, 243, 239, .78); text-wrap: pretty; }
.cta__fine { font-size: 13px !important; color: rgba(244, 243, 239, .6) !important; margin-top: 4px !important; }
.cta__fine a { text-decoration: underline; text-underline-offset: 3px; color: rgba(244, 243, 239, .86); }
.cta__fine a:hover { color: #fff; }

/* ───────────── Footer ───────────── */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--bg-tint); }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px 32px; }
.footer__brand p { margin-top: 16px; max-width: 300px; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.footer nav { display: grid; align-content: start; justify-items: start; gap: 12px; }
.footer h4 { margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.footer nav a { position: relative; font-size: 14.5px; color: var(--ink-2); transition: color var(--t-fast); }
.footer nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.footer nav a:hover { color: var(--ink); }
.footer nav a:hover::after { transform: none; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ───────────── Keyframes ───────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes line-in { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sheen { to { background-position: 100% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes pane-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes fill-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes faq-open { from { grid-template-rows: 0fr; opacity: 0; } to { grid-template-rows: 1fr; opacity: 1; } }
@keyframes faq-close { from { grid-template-rows: 1fr; opacity: 1; } to { grid-template-rows: 0fr; opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -50%) scale(.5); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes drift-a { to { transform: translate(14vw, 8vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-16vw, 10vh) scale(.9); } }
@keyframes drift-c { to { transform: translate(8vw, -6vh) scale(1.2); } }
@keyframes roam-a { 0% { transform: translate(0, 0); } 35% { transform: translate(120px, 60px); } 70% { transform: translate(60px, 150px); } 100% { transform: translate(180px, 100px); } }
@keyframes roam-b { 0% { transform: translate(0, 0); } 30% { transform: translate(-140px, 40px); } 65% { transform: translate(-60px, 130px); } 100% { transform: translate(-200px, 90px); } }
@keyframes roam-c { 0% { transform: translate(0, 0); } 40% { transform: translate(90px, -70px); } 75% { transform: translate(-80px, -30px); } 100% { transform: translate(40px, -110px); } }
@keyframes swap-x { 0%, 12% { transform: none; } 20% { transform: translateY(-10px) scale(1.04); } 38% { transform: translate(calc(100% + 8px), -10px) scale(1.04); } 46%, 62% { transform: translateX(calc(100% + 8px)); } 70% { transform: translate(calc(100% + 8px), -10px) scale(1.04); } 88% { transform: translateY(-10px) scale(1.04); } 96%, 100% { transform: none; } }
@keyframes swap-y { 0%, 12% { transform: none; } 20% { transform: translateY(10px); } 38% { transform: translate(calc(-100% - 8px), 10px); } 46%, 62% { transform: translateX(calc(-100% - 8px)); } 70% { transform: translate(calc(-100% - 8px), 10px); } 88% { transform: translateY(10px); } 96%, 100% { transform: none; } }

/* Theme-Wechsel als Kreisblende (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .6s var(--ease-out); }
@keyframes theme-reveal { from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 0%)); } to { clip-path: circle(150vmax at var(--vx, 50%) var(--vy, 0%)); } }

/* ───────────── Responsiv ───────────── */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-grid; }
  .nav__actions { margin-left: auto; }
}
@media (min-width: 1081px) { .menu { display: none !important; } }

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .card--a, .card--b, .card--f, .card--g { grid-column: span 12; }
  .card--c, .card--d, .card--e { grid-column: span 6; }
  .card--e { grid-column: span 12; }
  .card--a, .card--b { min-height: 0; }
  .card__img { flex: none; aspect-ratio: 16 / 10; }
  .card--b .card__img, .card--f .card__img { aspect-ratio: 16 / 11; }

  .explorer, .explorer--flip { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .explorer__side, .explorer--flip .explorer__side { order: 0; min-width: 0; }
  .explorer__main { position: static; }
  .explorer__list { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .explorer__list::-webkit-scrollbar { display: none; }
  .xitem { flex: none; width: auto; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: var(--pill); scroll-snap-align: center; transition: background-color var(--t), border-color var(--t), transform var(--t) var(--spring); }
  .xitem::before, .xitem__body { display: none; }
  .xitem__title { font-size: 15px; white-space: nowrap; transform: none !important; }
  .xitem.is-active { background: var(--ink); border-color: var(--ink); }
  .xitem.is-active .xitem__title { color: var(--bg); }
  .xitem:active { transform: scale(.95); }
  .explorer__nav { display: none; }
  .explorer__stage { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
  .explorer__caption { display: block; margin-top: 16px; min-height: 96px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

  .cinema__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cinema__screen { order: -1; top: 76px; z-index: 4; padding-block: 16px 20px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); background: linear-gradient(#060608 86%, transparent); }
  .cinema__script { padding-block: 12vh 18vh; }
  .scene { margin-bottom: 26vh; }
  .pcards { grid-template-columns: repeat(2, 1fr); }

  .together__grid, .notes { grid-template-columns: minmax(0, 1fr); }
  .bubble--a { left: 4%; top: -18px; }
  .bubble--b { right: 4%; bottom: -18px; }
  .notes__captions { min-height: 0; }
  .trio, .grid6 { grid-template-columns: repeat(2, 1fr); }
  .exports { grid-template-columns: minmax(0, 1fr); }
  .xcard { aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .chip__sep, .chip__muted { display: none; }
  .hero__title { letter-spacing: -.025em; }
  .waitlist__row { flex-direction: column; align-items: stretch; gap: 8px; padding: 0; border: 0; background: none; box-shadow: none; }
  .waitlist__row:focus-within { box-shadow: none; }
  .field { flex: none; width: 100%; height: 52px; padding: 0 20px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-1); transition: border-color var(--t-fast), box-shadow var(--t); }
  .field:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
  .waitlist .btn { height: 52px; }
  .hero__meta { gap: 8px 16px; font-size: 13px; }
  .window { border-radius: var(--r); }
  .window__bar { height: 28px; }
  .window__ctl svg { width: 34px; padding: 9px 12px; }
  .cursor b { font-size: 11px; padding: 3px 8px; }
  .cursor--c { display: none; }

  .stats { gap: 40px 20px; }
  .card--c, .card--d { grid-column: span 12; }
  .card { min-height: 0; border-radius: var(--r-lg); }
  .card--c { min-height: 340px; }
  .card__text { padding: 24px 24px 0; }
  .card__img { width: calc(100% - 24px); margin: 24px 0 0 24px; }
  .formats { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .formats li { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; padding: 16px 16px 16px 20px; }
  .formats i { margin: 0; grid-row: span 2; align-self: center; min-width: 44px; }

  .pcards, .trio, .grid6 { grid-template-columns: minmax(0, 1fr); }
  .pcard__media { aspect-ratio: 16 / 10; }
  .board { height: 440px; border-radius: var(--r-lg); }
  .bcard { padding: 10px 12px; font-size: 13px; }
  .xcard { aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); }
  .xcard__body { padding: 24px; }
  .fact { padding: 24px; }
  .faq__a > p { padding-right: 8px; }
  .cta__panel { min-height: 0; border-radius: var(--r-lg); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .page { padding: 20px; font-size: 12px; }
}

@media (hover: none) {
  .card:hover, .fact:hover, .pcard:hover, .xcard:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .window, [data-parallax] { transform: none !important; }
  .fill .w { opacity: 1; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}
