/* ═══════════════════════════════════════════════════════════════════
   YUNIFY Landing — "Das Studio"
   Dark cinematic photo-studio stage → light gallery body → dark finale.
   Fonts: Bricolage Grotesque (display/body) · Instrument Serif italic
   (one accent word per headline) · Racing Sans One (wordmark only).
   Motion contract: GSAP/Lenis add classes & inline transforms; every
   initial "hidden" state is gated behind html.js so no-JS/crawlers see
   the full page. Respects prefers-reduced-motion.
   ═══════════════════════════════════════════════════════════════════ */

/* ---- Fonts (self-hosted) ---- */
@font-face {
  font-family: 'Bricolage';
  src: url('assets/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-italic.woff2') format('woff2');
  font-style: italic; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Racing Sans One';
  src: url('assets/fonts/racing.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --ink: #0a1017;            /* studio night */
  --ink-2: #0e1620;
  --paper: #f6f8fb;          /* gallery white */
  --paper-2: #ffffff;
  --fg-dark: #eef3f8;        /* text on dark */
  --fg-light: #101722;       /* text on light */
  --muted-dark: rgba(238, 243, 248, 0.56);
  --muted-light: #5b6676;
  --line-dark: rgba(238, 243, 248, 0.12);
  --line-light: rgba(16, 23, 34, 0.1);
  --accent: #3d7bff;         /* yunify blue */
  --warm: #ffb15e;           /* studio key light */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Bricolage', system-ui, sans-serif;
  --radius: 22px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-light);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- Shared type ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 650; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted-light); margin: 0 0 18px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.section-title {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 730; line-height: 1.04; letter-spacing: -0.025em;
  margin: 0 0 22px;
  font-variation-settings: 'opsz' 96;
}
.section-title em, .hero-title em, .finale-title em, .morph-claim em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: 0; font-size: 1.06em;
}
.section-lead { max-width: 560px; font-size: 18px; color: var(--muted-light); margin: 0 0 56px; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 860px; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; inset: 18px 0 auto; z-index: 60;
  margin: 0 auto; width: min(1180px, calc(100% - 32px));
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 16, 23, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.on-light {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-light);
  box-shadow: 0 12px 40px rgba(16, 23, 34, 0.08);
}
.nav-logo { height: 26px; width: auto; filter: invert(1) brightness(1.6); transition: filter 0.4s ease; }
.nav.on-light .nav-logo { filter: none; }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 560; }
.nav-links a { text-decoration: none; color: var(--muted-dark); transition: color 0.25s ease; }
.nav.on-light .nav-links a { color: var(--muted-light); }
.nav-links a:hover { color: var(--fg-dark); }
.nav.on-light .nav-links a:hover { color: var(--fg-light); }
.nav-cta {
  padding: 10px 22px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 700;
  color: #fff; background: var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61, 123, 255, 0.4); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(255, 177, 94, 0.13), transparent 60%),
    radial-gradient(900px 600px at 12% 110%, rgba(61, 123, 255, 0.1), transparent 60%),
    var(--ink);
  color: var(--fg-dark);
  overflow: clip;
  padding: calc(var(--nav-h) + 60px) 0 80px;
}
/* ---- WebGL-inspired atmosphere: soft drifting light orbs ----------------
   The "gradient mesh" feel without WebGL: huge ultra-soft radial gradients
   (blur baked into the gradient stops — NO filter at runtime), animated with
   transform only. Slow, ambient, never a color-cycling surface. */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; will-change: transform;
  mix-blend-mode: screen;
}
.orb-a {
  width: 62vw; height: 62vw; left: -18vw; top: -16vw;
  background: radial-gradient(circle, rgba(61, 123, 255, 0.22) 0%, rgba(61, 123, 255, 0.08) 38%, transparent 68%);
}
.orb-b {
  width: 54vw; height: 54vw; right: -16vw; top: 4vw;
  background: radial-gradient(circle, rgba(255, 177, 94, 0.16) 0%, rgba(255, 177, 94, 0.05) 40%, transparent 70%);
}
.orb-c {
  width: 44vw; height: 44vw; left: 26vw; bottom: -20vw;
  background: radial-gradient(circle, rgba(122, 92, 255, 0.13) 0%, rgba(122, 92, 255, 0.04) 42%, transparent 70%);
}

/* ---- depth-of-field: pre-blurred cards drifting far behind the type ----- */
.dof { position: absolute; inset: 0; pointer-events: none; }
.dof-card {
  position: absolute; border-radius: 20px;
  opacity: 0.5; will-change: transform;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}
.dof-1 { width: clamp(180px, 22vw, 330px); left: 6%; top: 16%; transform: rotate(-8deg); }
.dof-2 { width: clamp(150px, 18vw, 270px); right: 7%; top: 12%; transform: rotate(7deg); opacity: 0.38; }
.dof-3 { width: clamp(140px, 16vw, 250px); right: 16%; bottom: 30%; transform: rotate(-5deg); opacity: 0.3; }
@media (max-width: 860px) { .dof-2, .dof-3 { display: none; } .dof-1 { opacity: 0.3; } }

/* the moving key light — one soft cone, animated by GSAP (transform only) */
.hero-light {
  position: absolute; top: -40%; right: -12%;
  width: 68vw; height: 130%;
  background: radial-gradient(closest-side, rgba(255, 200, 140, 0.14), rgba(255, 200, 140, 0.05) 45%, transparent 70%);
  transform: rotate(14deg);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5; 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='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  text-align: center; width: 100%;
}
.hero-eyebrow { color: var(--muted-dark); justify-content: center; }
.hero-title {
  font-size: clamp(56px, 10.5vw, 148px);
  font-weight: 770; line-height: 0.96; letter-spacing: -0.04em;
  margin: 0 0 24px;
  font-variation-settings: 'opsz' 96;
}
.hero-title-break { display: block; height: 0; overflow: hidden; }
.hero-sub { max-width: 560px; font-size: 18.5px; line-height: 1.65; color: var(--muted-dark); margin: 0 auto 30px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 18px; }
.invite-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm);
  border: 1px solid rgba(255, 177, 94, 0.35);
  padding: 8px 14px; border-radius: 999px;
}

/* ---- the living stage: video melting into the dark set (motionsites DNA) ---- */
.hero-stage { position: relative; z-index: 2; margin: -30px auto 0; width: min(1180px, calc(100% - 40px)); }
.hero-stage-frame {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stage-frame video { display: block; width: 100%; height: auto; }
/* melt: top dissolves into the hero night, bottom grounds it */
.hero-stage-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(10, 16, 23, 0.35) 16%, transparent 38%),
    linear-gradient(to top, rgba(10, 16, 23, 0.85) 0%, transparent 30%);
}
/* result peek: the portrait this selfie becomes */
.hero-result {
  position: absolute; right: 26px; bottom: 24px; z-index: 3;
  width: clamp(120px, 16vw, 190px);
  border-radius: 16px; overflow: hidden; display: block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transform: rotate(2.5deg);
  transition: transform 0.3s ease;
  text-decoration: none;
}
.hero-result:hover { transform: rotate(0deg) scale(1.03); }
.hero-result img { width: 100%; height: auto; display: block; }
.hero-result-tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(transparent, rgba(10, 16, 23, 0.9));
  padding: 18px 10px 9px; text-align: center;
}
.hero-steps {
  position: absolute; left: 26px; bottom: 24px; z-index: 3;
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center;
  list-style: none; padding: 10px 16px; margin: 0;
  font-size: 12.5px; color: rgba(238, 243, 248, 0.85);
  background: rgba(10, 16, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-steps b { color: var(--warm); font-weight: 750; margin-right: 5px; font-variant-numeric: tabular-nums; }
.step-arrow { color: rgba(238, 243, 248, 0.35); }
@media (max-width: 860px) {
  .hero-steps { position: static; margin: 12px auto 0; width: fit-content; background: transparent; border: none; backdrop-filter: none; }
  .hero-result { width: 110px; right: 12px; bottom: 12px; }
  .hero-stage { margin-top: -8px; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; text-decoration: none;
  font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted-dark);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue-line { width: 1px; height: 42px; background: linear-gradient(var(--fg-dark), transparent); display: block; animation: cueDrop 2s ease-in-out infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ═══════════ MORPH (pinned scrub) ═══════════ */
.morph { background: var(--ink-2); color: var(--fg-dark); }
.morph-stage { min-height: 100svh; display: flex; align-items: center; }
.morph-frame { width: min(1080px, calc(100% - 56px)); margin: 0 auto; padding: 90px 0; }
.morph-eyebrow { color: var(--muted-dark); }
.morph-canvas-wrap {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6);
  aspect-ratio: 1080 / 608;
  background: #11181f;
}
#seq { position: absolute; inset: 0; width: 100%; height: 100%; }
.morph-fallback { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.morph-fallback img { width: 100%; height: 100%; object-fit: cover; }
.morph-progress {
  position: absolute; left: 16px; right: 16px; bottom: 14px; height: 3px;
  background: rgba(255, 255, 255, 0.16); border-radius: 3px; overflow: hidden;
}
#morph-bar { display: block; width: 0%; height: 100%; background: var(--warm); border-radius: 3px; }
.morph-labels {
  position: absolute; left: 16px; right: 16px; bottom: 26px;
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(238, 243, 248, 0.75); text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.morph-claim {
  margin: 46px auto 0; max-width: 820px; text-align: center;
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 680; line-height: 1.25; letter-spacing: -0.02em;
}
html.js .morph-claim .w { opacity: 0.22; transition: none; }
html.js #process-lead .w { opacity: 0.25; transition: none; }

/* ═══════════ STATEMENT — flying lines ═══════════ */
.statement {
  background: var(--ink-2); color: var(--fg-dark);
  padding: 140px 28px 150px; overflow: clip;
}
.statement-inner { max-width: 1100px; margin: 0 auto; }
.statement-line {
  margin: 0 0 6px;
  font-size: clamp(44px, 7.6vw, 104px);
  font-weight: 760; line-height: 1.04; letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 96;
}
.statement-line em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.06em; color: rgba(238, 243, 248, 0.92); }
.statement-line:nth-child(2) { text-align: center; }
.statement-line:nth-child(3) { text-align: right; }
.statement-answer {
  margin-top: 48px; text-align: center !important;
  font-size: clamp(24px, 3.4vw, 42px); font-weight: 640; letter-spacing: -0.02em;
  color: var(--muted-dark);
}
.statement-answer em { color: var(--warm); }

/* ═══════════ TICKER ═══════════ */
.ticker {
  background: var(--ink-2); color: var(--muted-dark);
  border-top: 1px solid var(--line-dark);
  padding: 18px 0; overflow: clip; white-space: nowrap;
}
.ticker-track { display: inline-flex; align-items: center; gap: 28px; animation: tick 30s linear infinite; }
.ticker-track span { font-size: 13px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.ticker-track i { color: var(--warm); font-style: normal; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ═══════════ LIGHT ZONES ═══════════ */
/* ONE-SHOT-Umbau: die ganze Seite bleibt auf der dunklen Bühne (Apex-DNA) */
.dark-zone { background: #000; color: var(--fg-dark); }
.dark-zone .eyebrow { color: var(--muted-dark); }
.dark-zone .section-lead { color: var(--muted-dark); }
.dark-zone .process-card, .dark-zone .bento-card, .dark-zone .faq details {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 20px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.dark-zone .process-card p, .dark-zone .bento-card p, .dark-zone .faq details p { color: var(--muted-dark); }
.dark-zone .bento-num { color: var(--fg-dark); }
.dark-zone .card-ch { background: linear-gradient(150deg, rgba(61,123,255,0.12), rgba(255,255,255,0.02)); }
.dark-zone .chip { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); color: var(--fg-dark); }
.dark-zone .stage-label, .dark-zone .stage-note { color: var(--muted-dark); }
.dark-zone .faq summary h3 { color: var(--fg-dark); }
.dark-zone .faq details[open] { border-color: rgba(255, 177, 94, 0.35); }
.dark-zone .scatter-img, .dark-zone .align-img, .dark-zone .selfie-strip img { border-color: rgba(255,255,255,0.14); }
.dark-zone .dash-row { background: linear-gradient(90deg, rgba(61,123,255,0.3), rgba(61,123,255,0.08)); }
.dark-zone .process-ghost { color: rgba(255, 177, 94, 0.08); }
.process { padding: 110px 0 90px; }

.process-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  counter-reset: step;
}
.process-card {
  position: relative;
  background: var(--paper-2); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 28px 26px 24px;
  box-shadow: 0 10px 34px rgba(16, 23, 34, 0.05);
  display: flex; flex-direction: column;
  overflow: clip;
}
/* huge ghost digit drifting behind each card (parallax via JS) */
.process-ghost {
  position: absolute; right: -14px; top: -46px; z-index: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 220px; line-height: 1;
  color: rgba(61, 123, 255, 0.07);
  pointer-events: none; user-select: none;
}
.process-card > :not(.process-ghost) { position: relative; z-index: 1; }
.process-num {
  font-family: var(--serif); font-style: italic;
  font-size: 44px; line-height: 1; color: var(--accent);
  display: block; margin-bottom: 14px;
}
.process-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 720; letter-spacing: -0.01em; }
.process-card p { margin: 0 0 20px; font-size: 15px; color: var(--muted-light); }
.process-visual { margin-top: auto; }
.selfie-strip { display: flex; gap: 8px; }
.selfie-strip img {
  width: 33.33%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line-light);
}
.selfie-strip img:nth-child(1) { transform: rotate(-2.4deg); }
.selfie-strip img:nth-child(3) { transform: rotate(2deg); }
.look-chip { display: flex; flex-direction: column; gap: 8px; }
.chip {
  font-size: 12.5px; font-weight: 620; color: var(--fg-light);
  border: 1px solid var(--line-light); background: var(--paper);
  border-radius: 999px; padding: 8px 14px; width: fit-content;
}
.dash-mock { display: flex; flex-direction: column; gap: 8px; }
.dash-row { height: 14px; border-radius: 6px; background: linear-gradient(90deg, rgba(61,123,255,0.16), rgba(61,123,255,0.05)); }
.dash-row.w2 { width: 78%; } .dash-row.w3 { width: 56%; }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr; } }

/* ═══════════ ONE LOOK ═══════════ */
.onelook { padding: 90px 0 110px; border-top: 1px solid var(--line-light); }
.onelook-stage {
  display: grid; grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.1fr);
  gap: 30px; align-items: center;
}
.stage-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-light); margin: 0 0 16px;
}
.scatter { position: relative; height: 340px; }
.scatter-img {
  position: absolute; width: 46%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line-light);
  box-shadow: 0 18px 44px rgba(16, 23, 34, 0.16);
}
.scatter-img.s1 { left: 2%; top: 4%; transform: rotate(-7deg); }
.scatter-img.s2 { left: 36%; top: 22%; transform: rotate(4.5deg); z-index: 2; }
.scatter-img.s3 { left: 12%; top: 48%; transform: rotate(-3deg); }
.onelook-arrow { font-size: 34px; color: var(--accent); font-weight: 700; }
.align-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.align-img {
  aspect-ratio: 1/1; object-fit: cover; width: 100%;
  border-radius: 14px; border: 1px solid var(--line-light);
  box-shadow: 0 14px 40px rgba(16, 23, 34, 0.12);
}
.stage-note { font-size: 12.5px; color: var(--muted-light); margin: 14px 0 0; }
@media (max-width: 900px) {
  .onelook-stage { grid-template-columns: 1fr; }
  .onelook-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ═══════════ BENTO ═══════════ */
.benefits { padding: 100px 0 110px; border-top: 1px solid var(--line-light); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-card {
  background: var(--paper-2); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: 0 10px 34px rgba(16, 23, 34, 0.05);
}
.bento-card.span-2 { grid-column: span 2; }
.bento-num {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(34px, 3.4vw, 50px); line-height: 1; margin: 0 0 14px;
  color: var(--fg-light);
}
.bento-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 720; }
.bento-card p { margin: 0; font-size: 14.5px; color: var(--muted-light); }
.card-ch { background: linear-gradient(150deg, #ffffff, #f2f6ff); }
.card-ch .bento-num { color: var(--accent); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento-card.span-2 { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento-card.span-2 { grid-column: span 1; } }

/* ═══════════ FAQ ═══════════ */
.faq { padding: 100px 0 120px; border-top: 1px solid var(--line-light); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--paper-2); border: 1px solid var(--line-light);
  border-radius: 18px; padding: 6px 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq details[open] { border-color: rgba(61, 123, 255, 0.4); box-shadow: 0 14px 40px rgba(16, 23, 34, 0.07); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 14px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17px; font-weight: 680; }
.faq-icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-light); color: var(--accent);
  font-size: 18px; font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq details p { margin: 0 0 18px; font-size: 15px; color: var(--muted-light); max-width: 680px; }
.faq details a { color: var(--accent); }

/* ═══════════ FINALE ═══════════ */
.finale {
  position: relative; overflow: clip;
  background:
    radial-gradient(900px 500px at 50% -20%, rgba(255, 177, 94, 0.12), transparent 65%),
    radial-gradient(800px 500px at 50% 130%, rgba(61, 123, 255, 0.12), transparent 60%),
    var(--ink);
  color: var(--fg-dark);
  padding: 150px 28px 140px; text-align: center;
}
/* ambient: the hero clip returns, flipped + veiled (Portfolio_Cosmic footer trick) */
.finale-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scaleY(-1);
  opacity: 0.22; pointer-events: none;
}
.finale-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(10, 16, 23, 0.6) 30%, rgba(10, 16, 23, 0.6) 70%, var(--ink) 100%);
}
.finale-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.finale-eyebrow { color: var(--warm); justify-content: center; display: inline-flex; }
.finale-eyebrow .dot { background: var(--warm); box-shadow: 0 0 12px var(--warm); }
.finale-title {
  font-size: clamp(42px, 6.5vw, 84px); font-weight: 750;
  line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 22px;
  font-variation-settings: 'opsz' 96;
}
.finale-sub { font-size: 18px; color: var(--muted-dark); margin: 0 auto 44px; max-width: 480px; }
.btn-big { font-size: 19px; padding: 20px 44px; }

/* CTA — contour glow only (never an animated gradient SURFACE) */
.btn-glow {
  position: relative; display: inline-block; text-decoration: none;
  font-weight: 750; font-size: 15px; color: #fff;
  background: var(--ink-2);
  padding: 15px 32px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  isolation: isolate;
  transition: transform 0.22s ease;
}
.btn-glow::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--sweep, 0deg), transparent 0 40deg, var(--warm) 90deg, var(--accent) 150deg, transparent 210deg 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: sweep 3.4s linear infinite;
}
@property --sweep { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes sweep { to { --sweep: 360deg; } }
.btn-glow:hover { transform: translateY(-2px); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--ink); color: var(--muted-dark);
  border-top: 1px solid var(--line-dark);
  padding: 44px 28px 54px; text-align: center; font-size: 13.5px;
}
.footer-logo { height: 22px; width: auto; margin: 0 auto 16px; filter: invert(1) brightness(1.6); opacity: 0.9; }
.footer a { color: var(--fg-dark); text-decoration: none; }
.footer p { margin: 4px 0; }
.footer-fine { font-size: 12px; opacity: 0.6; }

/* ═══════════ Liquid Glass (Apple-style) ═══════════
   Ultra-transparent body + backdrop blur + a gradient BORDER painted via the
   padding/mask-composite trick (from the motionsites prompt library). The
   gradient lives only on the 1px contour — never an animated surface. */
.liquid {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.liquid::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.22) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* a soft inner top-light — the "thick glass" catch */
.liquid::after {
  content: ''; position: absolute; inset: 0 0 55% 0; border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.08), transparent);
}

/* tilt targets get perspective from the parent */
.tilt-scene { perspective: 900px; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ═══════════ Motion gating ═══════════
   Initial hidden states ONLY when JS runs (html.js) AND motion is allowed.
   Crawlers, no-JS and reduced-motion users always see the finished page. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(34px); }
  html.js .hero-inner > * { opacity: 0; }
  html.js .hero-stage { opacity: 0; }
  html.js .process-card { opacity: 0; }
  html.js .statement-line { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .scroll-cue-line, .btn-glow::before { animation: none !important; }
  html.js .morph-claim .w, html.js #process-lead .w { opacity: 1; }
}


/* ═══════════ ONE SHOT — die Kamerafahrt ═══════════ */
.oneshot { position: relative; background: #000; color: var(--fg-dark); }
.os-stage { position: relative; height: 100svh; overflow: clip; }

/* Akt 1: Opener füllt die Bühne, Dolly-In skaliert ihn massiv */
.os-zoom { position: absolute; inset: 0; will-change: transform; }
.os-opener { width: 100%; height: 100%; object-fit: cover; display: block; }
.os-opener-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 30%, transparent 62%, rgba(0,0,0,0.75)),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,0.55));
}

/* Akt 2: der Selfie-Raum — Ebenen in Pseudo-3D */
.os-space { position: absolute; inset: 0; display: grid; place-items: center; }
.os-layer {
  position: absolute; margin: 0; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.65);
  will-change: transform;
}
.os-layer img { display: block; width: 100%; height: 100%; object-fit: cover; }
.os-l1 { width: clamp(150px, 19vw, 300px); aspect-ratio: 3/4; left: 12%; top: 18%; }
.os-l2 { width: clamp(230px, 30vw, 460px); aspect-ratio: 3/4; z-index: 2; }
.os-l3 { width: clamp(140px, 17vw, 270px); right: 11%; bottom: 14%; }

/* der Ziel-Frame: Selfie + darunter das Porträt (Scan-Wipe enthüllt es) */
.os-l2 .os-selfie, .os-l2 .os-portrait { position: absolute; inset: 0; }
.os-portrait { clip-path: inset(0 0 100% 0); }
/* Scan-Beam (Portfolio_Cosmic-Linie + Dark_Portfolio-Glow, amber) */
.os-beam {
  position: absolute; left: -4%; right: -4%; top: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--warm) 18%, #ffd9a8 50%, var(--warm) 82%, transparent);
  box-shadow: 0 0 14px 3px rgba(255, 177, 94, 0.55), 0 0 40px 8px rgba(255, 177, 94, 0.18);
  opacity: 0; transform: translateY(-6px);
}
/* Scan-Grid-Schimmer über dem Ziel */
.os-grid {
  position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 200, 140, 0.5) 1px, transparent 1px);
  background-size: 22px 22px;
  mix-blend-mode: screen;
}

/* Headline-States */
.os-head {
  position: absolute; left: 0; right: 0; bottom: 12%;
  padding: 0 clamp(24px, 6vw, 80px);
  pointer-events: none;
}
.os-title {
  margin: 0 0 14px;
  font-size: clamp(46px, 8.4vw, 118px);
  font-weight: 770; line-height: 0.98; letter-spacing: -0.038em;
  font-variation-settings: 'opsz' 96;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.os-title em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.06em; }
.os-sub { max-width: 460px; margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(238, 243, 248, 0.82); text-shadow: 0 2px 20px rgba(0,0,0,0.7); }
#os-h2 .os-title, #os-h3 .os-title { text-align: left; }
#os-h2, #os-h3 { opacity: 0; }

/* HUD — Spec-Sheet-Stats, Apex-DNA */
.os-hud {
  position: absolute; right: clamp(20px, 5vw, 70px); bottom: 13%;
  display: flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(238, 243, 248, 0.85);
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}
.os-hud i { color: var(--warm); font-style: normal; }
.os-hud-live { color: var(--warm); animation: hudBlink 1.4s ease-in-out infinite; }
@keyframes hudBlink { 50% { opacity: 0.45; } }
#os-hud2, #os-hud3 { opacity: 0; }
@media (max-width: 760px) { .os-hud { display: none; } .os-head { bottom: 9%; } }

.os-cue {
  position: absolute; left: 50%; top: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(238, 243, 248, 0.55);
}

/* ═══════════ Custom Cursor (Apex-Chrome) ═══════════ */
@media (pointer: fine) {
  .cursor {
    position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
    width: 34px; height: 34px; margin: -17px 0 0 -17px;
    border: 1.5px solid rgba(255, 177, 94, 0.65); border-radius: 50%;
    transition: transform 0.18s ease, border-color 0.25s ease;
  }
  .cursor::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%;
    background: var(--warm);
  }
  .cursor.is-link { transform: scale(1.6); border-color: rgba(61, 123, 255, 0.8); }
}
@media (pointer: coarse) { .cursor { display: none; } }

/* one-shot initial states (JS drives the show; no-JS/reduced sees a clean static hero) */
.os-space { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .os-hud-live { animation: none; }
}
