/* ─────────────────────────────────────────────────────────
   mint · Claude variant v2
   Editorial / studio direction with layout variety,
   CSS UI mockups, video backgrounds, scroll animation.
   ───────────────────────────────────────────────────────── */

@import url("./design-system/creamai.css");

:root {
  --bg: #06070a;
  --bg-alt: #0c0e12;
  --bg-deep: #04050a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5f7;
  --text-soft: rgba(244, 245, 247, 0.78);
  --text-muted: rgba(244, 245, 247, 0.6);
  --accent: #45C4B0;
  --accent-hot: #5dd8c3;
  --accent-soft: rgba(69, 196, 176, 0.12);
  --accent-glow: rgba(69, 196, 176, 0.35);
  --accent-line: rgba(69, 196, 176, 0.42);
  --warn: #ff7a5c;
  --container: 1240px;
  --container-narrow: 880px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--cream-font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }

main em, .case-content em, .final-cta em, .manifesto em, .faq-aside em {
  font-style: normal;
  color: var(--accent);
}

/* ─── Reveal animation ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Skip link ─────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: #04060a;
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* ─── Header ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.78), rgba(6, 7, 10, 0));
  transition: background 220ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 7, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  justify-self: start;
}
.brand-logo { display: block; width: clamp(86px, 8vw, 110px); height: auto; }

.nav-pill {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: rgba(20, 22, 28, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.nav-pill a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  min-height: 36px;
  font-size: 13px;
  color: var(--text-soft);
  border-radius: 999px;
  transition: color 180ms var(--ease), background 180ms var(--ease);
  letter-spacing: -0.005em;
}
.nav-pill a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.nav-pill a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.nav-ghost {
  font-size: 13.5px;
  color: var(--text-soft);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 180ms var(--ease);
  letter-spacing: -0.005em;
}
.nav-ghost:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  background: var(--text);
  color: #04060a;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #04060a;
}

/* ─── Typography ───────────────────────────────────────── */
h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(3.5rem, 9vw, 7.25rem);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2.5rem, 5.6vw, 4.875rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
}
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow .step {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  font-size: 10.5px;
}

.card-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), transform 200ms var(--ease);
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #04060a; }
.btn-primary:hover { background: var(--accent-hot); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Layout ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section-alt {
  background: var(--bg-alt);
}

/* ─── Section-card modifier: section sits as rounded panel on dark page bg ── */
.section-card {
  margin: clamp(20px, 3vw, 56px) clamp(16px, 3vw, 40px);
  border-radius: clamp(20px, 3vw, 36px);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
/* Reset section-alt's stripe lines when also section-card */
.section-card.section-alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Final CTA has its own ::after gradient waver — kill the section-card top line */
.final-cta.section-card::after {
  /* Re-declared further down with the gradient — this is just a marker that
     the section-card top-rim hairline does NOT apply on this section */
}
/* Subtle accent rim along the top */
.section-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  pointer-events: none;
  z-index: 1;
}
.section-header { max-width: 760px; margin-bottom: clamp(56px, 6vw, 84px); }
.section-header.narrow { text-align: center; margin-left: auto; margin-right: auto; }
.section-header p {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 640px;
}
.section-header.narrow p { margin-left: auto; margin-right: auto; }

/* ═══ HERO (centered, classic) ════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* First-frame still as a CSS background — guarantees a non-black hero even
     in the brief moment before the <video> element renders its own poster.
     Auto-generated by claude/scripts/generate-hero-poster.sh */
  background: #06070a center / cover no-repeat url("./assets/hero-poster.jpg");
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(6, 7, 10, 0.4), rgba(6, 7, 10, 0.92) 70%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.4) 0%, rgba(6, 7, 10, 0.9) 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero .eyebrow { justify-content: center; }
.hero h1 { margin-bottom: 28px; }
.hero-subline {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-subline strong { color: var(--text); font-weight: 500; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.hero-trust .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.hero-trust .trust-flag {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  /* don't inherit text color — SVG has its own fills */
}
.hero-trust .trust-divider {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
  opacity: 0.6;
}
@media (max-width: 640px) {
  .hero-trust { gap: 12px; font-size: 12px; }
  .hero-trust .trust-divider { display: none; }
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-pipeline {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 24px;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-pipeline i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 18px;
  color: var(--accent);
  opacity: 0.55;
  animation: pipelineArrow 2.4s ease-in-out infinite;
}
.hero-pipeline i:nth-child(2) { animation-delay: 0.4s; }
.hero-pipeline i:nth-child(4) { animation-delay: 0.8s; }
.hero-pipeline i:nth-child(6) { animation-delay: 1.2s; }
.hero-pipeline i:nth-child(8) { animation-delay: 1.6s; }
.hero-pipeline i:nth-child(10) { animation-delay: 2.0s; }

@keyframes pipelineArrow {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2px); }
}

@keyframes chipPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(69, 196, 176, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(69, 196, 176, 0); }
}

/* ═══ PROOF STRIP ═════════════════════════════════════ */
.proof {
  padding: 48px 0 32px;
  background: transparent;
}
.proof-inner {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
  justify-content: center;
}
.proof-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.proof-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  flex-wrap: wrap;
  justify-content: center;
}
.proof-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
.proof-logo-anchor {
  color: var(--text);
  transition: opacity 200ms var(--ease);
}
.proof-logo-anchor:hover { opacity: 0.85; }
.proof-logo-anchor img {
  height: 28px;
  width: auto;
  display: block;
}
/* ─── Pilot-CTA in der Logo-Band (ersetzt die alten Platzhalter) ─── */
.proof-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  min-height: 32px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: color 220ms var(--ease), border-color 220ms var(--ease), border-style 220ms var(--ease), background 220ms var(--ease);
}
.proof-cta-arrow {
  display: inline-block;
  transition: transform 220ms var(--ease);
  font-weight: 400;
}
.proof-cta:hover,
.proof-cta:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  border-style: solid;
  background: rgba(69, 196, 176, 0.06);
  outline: none;
}
.proof-cta:hover .proof-cta-arrow,
.proof-cta:focus-visible .proof-cta-arrow {
  transform: translateX(3px);
}
.proof-cta-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: max-content;
  max-width: 320px;
  padding: 12px 16px;
  background: rgba(12, 14, 18, 0.94);
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-soft);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 220ms;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
  z-index: 10;
  white-space: normal;
}
.proof-cta-tooltip::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(12, 14, 18, 0.94);
  border-right: 1px solid var(--accent-line);
  border-bottom: 1px solid var(--accent-line);
}
.proof-cta:hover .proof-cta-tooltip,
.proof-cta:focus-visible .proof-cta-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .proof-cta-tooltip {
    max-width: 240px;
    font-size: 11.5px;
  }
}

/* ═══ SECTION-SPLIT (Agent) ═══════════════════════════ */
.section-split { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split-text h2 { margin-bottom: 22px; }
.split-text > p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 36px;
}

.agent-list { display: flex; flex-direction: column; gap: 4px; }
.agent-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.agent-list li:last-child { border-bottom: none; }
.agent-list i {
  color: var(--accent);
  font-size: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.agent-list div { display: flex; flex-direction: column; gap: 2px; }
.agent-list strong { font-weight: 500; color: var(--text); }
.agent-list span { font-size: 13.5px; color: var(--text-muted); }

/* ─── Agent Mockup ──────────────────────────────────── */
.mockup { position: relative; }
.mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%);
  opacity: 0.4;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.mockup-frame {
  position: relative;
  z-index: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transform-origin: center center;
  transition: transform 600ms var(--ease);
}
.mockup-frame:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }

.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.mockup-title {
  margin-left: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.mockup-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 14px 0;
  border-bottom: 1px solid var(--border);
}
.mockup-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  transition: color 200ms var(--ease);
}
.mockup-tab.is-active {
  color: var(--text);
  background: var(--surface);
}
.mockup-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}
.mockup-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 220ms var(--ease), background 220ms var(--ease);
}
.mockup-row.is-active {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.mockup-row-label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 500;
}
.mockup-row-time {
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: right;
}
.mockup-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}
.mockup-waveform i {
  display: block;
  width: 3px;
  background: var(--accent-line);
  border-radius: 1.5px;
  height: 20%;
  animation: wave 1.4s ease-in-out infinite;
}
.mockup-row.is-active .mockup-waveform i { background: var(--accent); }
.mockup-waveform i:nth-child(1)  { animation-delay: 0.0s; }
.mockup-waveform i:nth-child(2)  { animation-delay: 0.05s; }
.mockup-waveform i:nth-child(3)  { animation-delay: 0.1s; }
.mockup-waveform i:nth-child(4)  { animation-delay: 0.15s; }
.mockup-waveform i:nth-child(5)  { animation-delay: 0.2s; }
.mockup-waveform i:nth-child(6)  { animation-delay: 0.25s; }
.mockup-waveform i:nth-child(7)  { animation-delay: 0.3s; }
.mockup-waveform i:nth-child(8)  { animation-delay: 0.35s; }
.mockup-waveform i:nth-child(9)  { animation-delay: 0.4s; }
.mockup-waveform i:nth-child(10) { animation-delay: 0.45s; }
.mockup-waveform i:nth-child(11) { animation-delay: 0.5s; }
.mockup-waveform i:nth-child(12) { animation-delay: 0.55s; }
.mockup-waveform i:nth-child(13) { animation-delay: 0.6s; }
.mockup-waveform i:nth-child(14) { animation-delay: 0.65s; }
.mockup-waveform i:nth-child(15) { animation-delay: 0.7s; }
.mockup-waveform i:nth-child(16) { animation-delay: 0.75s; }
.mockup-waveform i:nth-child(17) { animation-delay: 0.8s; }
.mockup-waveform i:nth-child(18) { animation-delay: 0.85s; }
.mockup-waveform i:nth-child(19) { animation-delay: 0.9s; }
.mockup-waveform i:nth-child(20) { animation-delay: 0.95s; }
@keyframes wave {
  0%, 100% { height: 20%; }
  50% { height: 90%; }
}

.mockup-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  margin-top: 6px;
  background: rgba(69, 196, 176, 0.04);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-soft);
}
.mockup-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(69, 196, 176, 0.18);
  animation: chipPulse 1.4s ease-in-out infinite;
}
.mockup-progress {
  grid-column: 1 / -1;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
}
.mockup-progress > span {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0%;
  animation: progressFill 6s ease-in-out infinite;
  box-shadow: 0 0 12px var(--accent-glow);
}
@keyframes progressFill {
  0% { width: 0%; }
  60% { width: 100%; }
  80% { width: 100%; }
  100% { width: 0%; }
}

/* ═══ 02 · DIRECTION (atmospheric cards) ════════════════ */
.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.direction-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 32px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  isolation: isolate;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.direction-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
}
.direction-copy { position: relative; z-index: 2; }
.direction-card h3 { font-size: 1.375rem; margin-bottom: 12px; font-weight: 500; }
.direction-copy p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.direction-vis {
  position: relative;
  flex: 1;
  margin-top: 32px;
  margin-left: -32px;
  margin-right: -32px;
  margin-bottom: 0;
  padding: 28px 32px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.direction-glow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(50px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift 8s ease-in-out infinite;
}
@keyframes glowDrift {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-42%) translateY(-22px); opacity: 0.95; }
}

/* Idea card visuals: bars + floating chips */
.dir-vis-idea { align-items: flex-end; }
.dir-bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  height: 180px;
  justify-content: center;
}
.dir-bar {
  width: 26px;
  height: var(--h, 60%);
  background: linear-gradient(180deg, rgba(69, 196, 176, 0) 0%, rgba(69, 196, 176, 0.55) 40%, var(--accent) 100%);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 0 22px rgba(69, 196, 176, 0.35);
  transform-origin: bottom;
  animation: barRise 2.4s var(--ease) both;
}
.dir-bar:nth-child(2) { animation-delay: 0.08s; }
.dir-bar:nth-child(3) { animation-delay: 0.16s; }
.dir-bar:nth-child(4) { animation-delay: 0.24s; }
.dir-bar:nth-child(5) { animation-delay: 0.32s; }
.dir-bar:nth-child(6) { animation-delay: 0.4s; }
.dir-bar:nth-child(7) { animation-delay: 0.48s; }
@keyframes barRise {
  from { transform: scaleY(0.08); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

.dir-floating-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(12, 14, 18, 0.78);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dir-chip-1 { top: 16%; left: 10%; animation: floatA 5.2s ease-in-out infinite; }
.dir-chip-2 { top: 8%; right: 12%; animation: floatB 5.8s ease-in-out infinite; }
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: chipPulse 1.6s ease-in-out infinite;
  flex: 0 0 auto;
}

/* Idea card: input → analyse → structured output flow */
.dir-vis-idea {
  align-items: stretch;
  padding-bottom: 36px;
}
.idea-flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;          /* match .dir-chat for consistent vertical rhythm */
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.idea-flow-step {
  background: rgba(12, 14, 18, 0.78);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.idea-flow-input {
  align-self: flex-end;        /* user side — right-aligned like chat bubble */
  max-width: 92%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
}
.idea-flow-output {
  align-self: flex-start;      /* agent side — left-aligned */
  max-width: 92%;
  border-color: var(--accent-line);
  background: rgba(69, 196, 176, 0.07);
}
.idea-flow-label {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.idea-flow-quote {
  font-size: 11.5px;
  color: var(--text);
  font-style: italic;
  line-height: 1.45;
}
/* "mint analysiert" — same pill look as Director's Chat .dir-chat-think */
.idea-flow-arrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.idea-flow-dots {
  display: inline-flex;
  gap: 4px;
}
.idea-flow-dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce 1.1s ease-in-out infinite;
}
.idea-flow-dots i:nth-child(2) { animation-delay: 0.15s; }
.idea-flow-dots i:nth-child(3) { animation-delay: 0.3s; }
.idea-flow-process {
  margin-left: 6px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* User-typing indicator (small pill, right-aligned — feels like the user is
   typing into the idea field). Same look as the chat typing indicator. */
.idea-flow-typing {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.idea-flow-typing i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce 1.1s ease-in-out infinite;
}
.idea-flow-typing i:nth-child(2) { animation-delay: 0.15s; }
.idea-flow-typing i:nth-child(3) { animation-delay: 0.3s; }
.idea-flow-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}
.idea-flow-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-soft);
}
.idea-flow-row i {
  font-size: 12px;
  color: var(--accent);
  flex: 0 0 auto;
}
.idea-flow-row-refs { gap: 5px; }
.idea-flow-thumb {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  flex: 0 0 auto;
}
.idea-flow-row-refs .idea-flow-thumb:nth-child(1) { background: linear-gradient(135deg, #1a2935, #2a4858); }
.idea-flow-row-refs .idea-flow-thumb:nth-child(2) { background: linear-gradient(135deg, #2d5468, #45C4B0); }
.idea-flow-row-refs .idea-flow-thumb:nth-child(3) { background: linear-gradient(135deg, #5775c7, #45C4B0); }

/* ────────────────────────────────────────────────────────────────────────
   Looping 12-second briefing-to-concept cycle. Mirrors the Director's Chat
   pattern: empty → user input → analyzing → result → fade out → loop.
   Inside the output, the three Konzept rows reveal one-by-one (typewriter
   feel) so it reads as: Skript erzeugt → Referenzbilder extrahiert → Szenen
   geschrieben.

   Timeline:
     0–4%    empty
     4–8%    Idee/Input enters
     8–28%   Idee alone
     28–32%  "mint analysiert" enters
     32–48%  analyzing visible
     48–52%  Konzept frame enters (empty stack visible)
     52–58%  Row 1 (Skript erzeugt) writes in
     58–64%  Row 2 (Referenzbilder) writes in
     64–70%  Row 3 (Szenen) writes in
     70–85%  full result visible
     85–92%  everything fades out
     92–100% empty (next cycle starts)
   ───────────────────────────────────────────────────────────────────────── */
.dir-vis-idea .idea-flow-input,
.dir-vis-idea .idea-flow-arrow,
.dir-vis-idea .idea-flow-output {
  opacity: 0;
}
/* Typing pill keeps opacity 1 default so it shows the instant the page paints
   (cycle starts at "visible"). The animation then controls all other states. */
.dir-vis-idea .idea-flow-typing { animation: ideaTypingCycle 12s ease-in-out infinite; }
.dir-vis-idea .idea-flow-input  { animation: ideaInputCycle  12s ease-in-out infinite; }
.dir-vis-idea .idea-flow-arrow  { animation: ideaArrowCycle  12s ease-in-out infinite; }
.dir-vis-idea .idea-flow-output { animation: ideaOutputCycle 12s ease-in-out infinite; }

/* Stack rows: hidden initially; each row writes in at its own time slot.
   Uses clip-path reveal (left → right) for a typewriter-style entrance. */
.dir-vis-idea .idea-flow-stack .idea-flow-row {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}
.dir-vis-idea .idea-flow-stack .idea-flow-row:nth-child(1) { animation: ideaRow1Cycle 12s ease-in-out infinite; }
.dir-vis-idea .idea-flow-stack .idea-flow-row:nth-child(2) { animation: ideaRow2Cycle 12s ease-in-out infinite; }
.dir-vis-idea .idea-flow-stack .idea-flow-row:nth-child(3) { animation: ideaRow3Cycle 12s ease-in-out infinite; }

@keyframes ideaTypingCycle {
  /* Same idea as chatTypingCycle but on the 12s briefing loop. Typing is
     visible immediately at 0%, fades out before the idea bubble enters,
     then pops back in toward the end so there's no empty moment. */
  0%, 5%    { opacity: 1; transform: translateY(0); }
  7%        { opacity: 0; transform: translateY(-4px); }
  88%       { opacity: 0; transform: translateY(4px); }
  92%, 100% { opacity: 1; transform: translateY(0); }
}
/* Pop-ins are ~30% faster than before; visible duration stays the same.
   Arrow ("mint analysiert") now fully disappears once the Konzept appears,
   matching the Director's Chat thinking-pill behaviour. */
@keyframes ideaInputCycle {
  0%, 4%    { opacity: 0; transform: translateY(8px) scale(0.98); }
  7%        { opacity: 1; transform: translateY(0) scale(1); }
  45%       { opacity: 1; transform: translateY(-2px) scale(1); } /* gentle float */
  85%       { opacity: 1; transform: translateY(0) scale(1); }
  92%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
@keyframes ideaArrowCycle {
  0%, 28%   { opacity: 0; transform: translateY(8px); }
  31%, 48%  { opacity: 1; transform: translateY(0); }
  53%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes ideaOutputCycle {
  0%, 48%   { opacity: 0; transform: translateY(8px) scale(0.98); }
  51%       { opacity: 1; transform: translateY(0) scale(1); }
  85%       { opacity: 1; transform: translateY(0) scale(1); }
  92%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

/* Each row: hidden, then reveals via clip-path (left→right) + opacity at its
   own slot. ~30% faster reveals; same shared fade-out at end of cycle. */
@keyframes ideaRow1Cycle {
  0%, 52%   { opacity: 0; clip-path: inset(0 100% 0 0); }
  56%       { opacity: 1; clip-path: inset(0 0 0 0); }
  85%       { opacity: 1; clip-path: inset(0 0 0 0); }
  92%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }
}
@keyframes ideaRow2Cycle {
  0%, 58%   { opacity: 0; clip-path: inset(0 100% 0 0); }
  62%       { opacity: 1; clip-path: inset(0 0 0 0); }
  85%       { opacity: 1; clip-path: inset(0 0 0 0); }
  92%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }
}
@keyframes ideaRow3Cycle {
  0%, 64%   { opacity: 0; clip-path: inset(0 100% 0 0); }
  68%       { opacity: 1; clip-path: inset(0 0 0 0); }
  85%       { opacity: 1; clip-path: inset(0 0 0 0); }
  92%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .dir-vis-idea .idea-flow-typing,
  .dir-vis-idea .idea-flow-input,
  .dir-vis-idea .idea-flow-arrow,
  .dir-vis-idea .idea-flow-output,
  .dir-vis-idea .idea-flow-stack .idea-flow-row {
    transform: none;
    clip-path: none;
    animation: none !important;
  }
  .dir-vis-idea .idea-flow-typing { opacity: 0; }
  .dir-vis-idea .idea-flow-input,
  .dir-vis-idea .idea-flow-arrow,
  .dir-vis-idea .idea-flow-output,
  .dir-vis-idea .idea-flow-stack .idea-flow-row { opacity: 1; }
}

/* Agent card: vertical timeline with line on left */
.dir-vis-agent {
  align-items: stretch;
  padding: 8px 8px 36px;
}
.dir-steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 0 8px;
  padding: 4px 0 4px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}
.dir-steps::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg,
    var(--accent) 0%,
    var(--accent-line) 50%,
    rgba(69, 196, 176, 0.12) 100%);
}
.dir-step {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: -0.005em;
  transition: color 220ms var(--ease);
}
.dir-step::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-sizing: border-box;
  z-index: 2;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.dir-step.is-done {
  color: var(--text-soft);
}
.dir-step.is-done::before {
  background: var(--accent);
  border-color: var(--accent);
}
.dir-step.is-done::after {
  content: "✓";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #04060a;
  line-height: 1;
  z-index: 3;
}
.dir-step.is-active {
  color: var(--text);
  font-weight: 500;
}
.dir-step.is-active::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(69, 196, 176, 0.18), 0 0 16px var(--accent-glow);
  animation: chipPulse 1.8s ease-in-out infinite;
}

/* Spinner ring around the active step's dot (Mirage-style "working") */
.dir-step-spinner {
  position: absolute;
  /* Same vertical anchor as ::before, sized larger to wrap around it */
  left: -31.5px;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) rotate(0deg);
  z-index: 3;
  pointer-events: none;
}
.dir-step.is-active .dir-step-spinner {
  opacity: 1;
  visibility: visible;
  animation: dirStepSpin 0.9s linear infinite;
}
@keyframes dirStepSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .dir-step-spinner { animation: none; }
}

/* ─── Konfetti-Burst nach Export-Done ─────────────────── */
.confetti-burst {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 10;
  overflow: visible;
}
.confetti-piece {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w, 6px);
  height: var(--h, 10px);
  border-radius: 1.5px;
  transform-origin: center center;
  opacity: 0;
  will-change: transform, opacity;
  animation: confettiBurst var(--dur, 3s) linear both;
}
.confetti-white { background: #ffffff; }
.confetti-teal  { background: var(--accent); box-shadow: 0 0 8px rgba(69, 196, 176, 0.45); }
.confetti-grey  { background: #8a8d92; }
.confetti-black { background: #1a1c20; border: 1px solid rgba(255, 255, 255, 0.08); }

/* Phase 1 (0–21%): explosion outward, ease-out (fast → slow). Slower start than original.
   Phase 2 (21–90%): gravity fall to landing, ease-in (slow at apex → accelerate).
   Phase 3 (90–100%): fade out while continuing to rotate. */
@keyframes confettiBurst {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0deg);
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out: snappy explosion */
  }
  6% {
    opacity: 1;
  }
  21% {
    /* Peak of explosion arc — pieces reach burst position */
    opacity: 1;
    transform: translate(var(--bx), var(--by)) rotate(calc(var(--rot) * 0.28));
    animation-timing-function: cubic-bezier(0.45, 0, 0.65, 1); /* gravity: gentle then accelerating */
  }
  90% {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), calc(var(--ty) + 24px)) rotate(var(--rot));
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti-piece { animation: none; opacity: 0; }
}
.dir-step-meta {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
  letter-spacing: 0;
}

/* Chat card: floating bubble + thinking + frames */
.dir-vis-chat {
  align-items: center;
  padding-bottom: 50px;
}
.dir-chat {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* "User is typing…" pill — appears before the user bubble so the empty
   moment in the cycle never feels dead. Same look as .dir-chat-think but
   right-aligned (user side) with muted-coloured dots. */
.dir-chat-typing {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Default opacity 1 so the typing pill shows the instant the page paints
     (cycle keyframe at 0% is "visible"). Animation controls the rest. */
  animation: chatTypingCycle 10s ease-in-out infinite;
}
.dir-chat-typing i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce 1.1s ease-in-out infinite;
}
.dir-chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.dir-chat-typing i:nth-child(3) { animation-delay: 0.3s; }

.dir-chat-bubble {
  align-self: flex-end;
  max-width: 90%;
  padding: 13px 16px;
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  animation: chatBubbleCycle 10s ease-in-out infinite;
}
.dir-chat-think {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(12, 14, 18, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  animation: chatThinkCycle 10s ease-in-out infinite;
}
.dir-chat-think i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce 1.1s ease-in-out infinite;
}
.dir-chat-think i:nth-child(2) { animation-delay: 0.15s; }
.dir-chat-think i:nth-child(3) { animation-delay: 0.3s; }
.dir-chat-think small {
  margin-left: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.dir-chat-response {
  align-self: flex-start;
  max-width: 92%;
  padding: 12px 16px;
  background: rgba(69, 196, 176, 0.13);
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(69, 196, 176, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  animation: chatResponseCycle 10s ease-in-out infinite;
  margin-top: -6px;
}
/* Synchronized 10s conversation cycle (all three elements share duration):
   0–5%   empty (deliberate pause)
   5–10%  user bubble pops in
   10–28% user bubble alone
   28–33% thinking pops in
   33–48% thinking visible
   48–55% thinking pops out, response pops in
   55–82% user bubble + response together (resolution)
   82–90% everything fades out
   90–100% empty (next cycle) */
@keyframes chatTypingCycle {
  /* Visible immediately at loop start (no empty 0.5s anymore).
     Fades out at 6%, then pops back in at 92% so the loop boundary is
     covered. Result: typing is the bridge between the previous answer's
     fade-out and the next user message coming in. */
  0%, 5%    { opacity: 1; transform: translateY(0); }
  7%        { opacity: 0; transform: translateY(-4px); }
  88%       { opacity: 0; transform: translateY(4px); }
  92%, 100% { opacity: 1; transform: translateY(0); }
}
/* Pop-ins ~30% faster than before; visible duration unchanged. */
@keyframes chatBubbleCycle {
  0%, 5%    { opacity: 0; transform: translateY(8px) scale(0.98); }
  8.5%      { opacity: 1; transform: translateY(0) scale(1); }
  45%       { opacity: 1; transform: translateY(-3px) scale(1); } /* gentle float */
  82%       { opacity: 1; transform: translateY(0) scale(1); }
  90%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
@keyframes chatThinkCycle {
  0%, 28%     { opacity: 0; transform: translateY(8px); }
  31.5%, 48%  { opacity: 1; transform: translateY(0); }
  55%, 100%   { opacity: 0; transform: translateY(-6px); }
}
@keyframes chatResponseCycle {
  0%, 50%     { opacity: 0; transform: translateY(8px); }
  53.5%, 82%  { opacity: 1; transform: translateY(0); }
  90%, 100%   { opacity: 0; transform: translateY(-6px); }
}

/* Shared mock styles (reused by bento Part 6) */
.mock-agent-list { display: flex; flex-direction: column; gap: 4px; }
.mock-agent-list li {
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-agent-list li.is-active {
  color: var(--text);
  background: var(--accent-soft);
  border-color: var(--accent-line);
  font-weight: 500;
}
.mock-spinner {
  width: 12px; height: 12px;
  border: 1.5px solid rgba(69,196,176,0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mock-chat-bubble {
  padding: 9px 12px;
  font-size: 11.5px;
  line-height: 1.45;
  border-radius: 10px;
  max-width: 92%;
}
.mock-chat-user {
  align-self: flex-end;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--text);
}
.mock-chat-thinking {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-self: flex-start;
}
.mock-chat-thinking span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce 1.1s ease-in-out infinite;
}
.mock-chat-thinking span:nth-child(2) { animation-delay: 0.15s; }
.mock-chat-thinking span:nth-child(3) { animation-delay: 0.3s; }
.mock-chat-thinking small {
  margin-left: 6px;
  font-size: 10.5px;
  color: var(--text-muted);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-3px); opacity: 1; }
}

/* ═══ 03 · USE CASES (Horizontal Slider) ═══════════════ */
.use-section { position: relative; overflow: hidden; }

/* Format-Störer: small pill below the subline, centered above the slider */
.use-formats-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 16px;
  margin: clamp(24px, 3vw, 40px) auto 0;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(69, 196, 176, 0.08);
  border: 1px solid var(--accent-line);
  font-size: 12.5px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.use-formats-badge strong {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding-right: 12px;
  border-right: 1px solid var(--accent-line);
}
.use-formats-badge .fmt {
  position: relative;
  color: var(--text);
}
.use-formats-badge .fmt + .fmt::before {
  content: "·";
  color: var(--accent);
  margin: 0 8px 0 -2px;
  opacity: 0.6;
}
.use-slider-wrap {
  position: relative;
  margin-top: 28px;
  padding-bottom: 40px;
}
.use-slider {
  display: flex;
  gap: 22px;
  /* Left/right padding so any card can scroll to center.
     Card width 320px (9:16 portrait) → side padding = 50% - 160px.
     Top/bottom padding 110px gives space for the active card's 80px mint glow
     plus the scale(1.04) lift without being clipped by overflow-x: auto. */
  padding: 110px calc(50% - 160px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.use-slider::-webkit-scrollbar { display: none; }
.use-slide {
  flex: 0 0 320px;
  scroll-snap-align: center;
  position: relative;
  /* 9:16 portrait aspect — 320 × 569 */
  height: 569px;
  padding: 28px 26px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  transform: scale(0.94);
  transition:
    transform 480ms var(--ease),
    border-color 320ms var(--ease),
    box-shadow 380ms var(--ease),
    opacity 380ms var(--ease);
  opacity: 0.78;
  will-change: transform, opacity;
}
.use-slide:hover:not(.is-active) {
  opacity: 0.92;
  transform: scale(0.96);
}

/* Active = center card: full size, mint glow, no cursor pointer (it's already centered) */
.use-slide.is-active {
  transform: scale(1.04);
  opacity: 1;
  cursor: default;
  border-color: var(--accent-line);
  box-shadow:
    0 0 0 1px var(--accent-line),
    0 0 80px rgba(69, 196, 176, 0.35),
    0 32px 70px rgba(0, 0, 0, 0.55);
}

.use-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
  filter: saturate(0.2) brightness(0.5) grayscale(0.7);
  transition: filter 480ms var(--ease);
}
.use-slide-media {
  background: var(--bg-deep);
}
.use-slide-media::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -3;
  background: var(--use-poster, none) center / cover no-repeat;
  pointer-events: none;
}
iframe.use-slide-bg:not([src]) {
  inset: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
}
iframe.use-slide-bg[src] {
  background-image: none !important;
}
.use-slide.is-active .use-slide-bg {
  filter: none;
}

/* ─── Use-case Sound Toggle (only visible on the active/center card) ─── */
.use-sound {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 6;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 10, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 280ms var(--ease) 120ms, transform 280ms var(--ease) 120ms, background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), visibility 280ms 120ms;
}
.use-slide.is-active .use-sound {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.use-sound:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #04060a;
}
.use-sound[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #04060a;
  box-shadow: 0 0 24px var(--accent-glow);
}
.use-slide-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.05) 0%, rgba(6, 7, 10, 0.85) 92%),
    linear-gradient(140deg, rgba(6, 7, 10, 0.35), rgba(6, 7, 10, 0) 60%);
  opacity: 1;
  transition: opacity 360ms var(--ease);
}
.use-slide.is-active .use-slide-shade {
  opacity: 0;
}
.use-slide-icon {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 16px;
}
.use-slide-tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  background: rgba(6, 7, 10, 0.55);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: auto;
}
.use-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: chipPulse 1.6s ease-in-out infinite;
  margin: 14px 0 12px;
}
.use-slide h3 {
  font-size: 1.375rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.use-slide p {
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 95%;
}

/* slider auto-scrolls — soft fade-mask on left/right edges */
.use-slider-wrap::before,
.use-slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 6vw, 80px);
  z-index: 3;
  pointer-events: none;
}
.use-slider-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(6, 7, 10, 0) 100%);
}
.use-slider-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(6, 7, 10, 0) 100%);
}

/* ═══ MANIFESTO BAND (pure on page bg, no frame, no outlines) ═══ */
.manifesto {
  padding: clamp(80px, 9vw, 130px) 0;
  background: transparent;
  position: relative;
}
/* Positioning claim — the thesis of the page. No section number, deliberate
   visual weight, sits above the three benefit beats. */
.manifesto-claim {
  text-align: center;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text);
  max-width: 920px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.manifesto-beats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  text-align: center;
  margin-bottom: 150px;
}
.manifesto-beats span {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

/* ═══ 03 · REFERENZFILME (Centered video carousel + meta) ═══ */
.reference-section { position: relative; overflow: hidden; }

.reference-showcase {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  margin: 32px 0 0;
  /* Carousel slide vars — measured + written by JS (animateSlide) */
  --ref-slide-distance: 0px;
  --ref-thumb-scale: 0.4;
}

/* Smooth transitions for the cover-flow rotation. The stage and the two
   side thumbs animate in concert when the user clicks prev/next. */
.reference-stage-wrap,
.reference-thumb {
  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity   500ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* During the JS-driven state swap we disable transitions for one frame to
   snap back to the new layout without animating through it. .reference-video
   is included so the new active video appears at full opacity instantly —
   otherwise it fades in from opacity 0 over 420ms with the black stage bg
   showing through, which reads as a brief dark flash. */
.reference-showcase.no-transition .reference-stage-wrap,
.reference-showcase.no-transition .reference-thumb,
.reference-showcase.no-transition .reference-video { transition: none !important; }

/* SLIDE-NEXT: stage shrinks + slides LEFT (becomes new prev thumb visually);
   thumb-next grows + slides LEFT (becomes new stage visually);
   thumb-prev fades out (will be replaced after swap). */
.reference-showcase.is-sliding-next .reference-stage-wrap {
  transform: translateX(calc(-1 * var(--ref-slide-distance))) scale(var(--ref-thumb-scale));
  opacity: 0.32;
}
.reference-showcase.is-sliding-next .reference-thumb-next {
  transform: translate(calc(-40px - var(--ref-slide-distance)), -50%) scale(calc(1 / var(--ref-thumb-scale)));
  opacity: 1;
}
.reference-showcase.is-sliding-next .reference-thumb-prev {
  opacity: 0;
}

/* SLIDE-PREV: mirror of slide-next. */
.reference-showcase.is-sliding-prev .reference-stage-wrap {
  transform: translateX(var(--ref-slide-distance)) scale(var(--ref-thumb-scale));
  opacity: 0.32;
}
.reference-showcase.is-sliding-prev .reference-thumb-prev {
  transform: translate(calc(40px + var(--ref-slide-distance)), -50%) scale(calc(1 / var(--ref-thumb-scale)));
  opacity: 1;
}
.reference-showcase.is-sliding-prev .reference-thumb-next {
  opacity: 0;
}

/* Side preview thumbnails — show the OTHER two reference videos so the user
   sees there's more to navigate to. Clickable to jump straight to that video.
   Section has overflow: hidden, so the thumbs can extend beyond the container
   and get visually cropped on narrow viewports. */
.reference-thumb {
  position: absolute;
  top: 50%;
  width: clamp(280px, 30vw, 440px);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: clamp(10px, 1.4vw, 16px);
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  cursor: pointer;
  opacity: 0.32;
  z-index: 0;            /* below nav buttons + stage, above section bg */
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
  overflow: hidden;
  font-family: inherit;
}
.reference-thumb:hover,
.reference-thumb:focus-visible {
  opacity: 0.55;
  outline: none;
}
.reference-thumb:focus-visible {
  box-shadow: 0 0 0 2px var(--accent-line);
}
.reference-thumb-prev {
  right: 100%;
  transform: translate(40px, -50%);  /* tuck a bit into the showcase area */
}
.reference-thumb-prev:hover,
.reference-thumb-prev:focus-visible {
  transform: translate(40px, -50%) scale(1.02);
}
.reference-thumb-next {
  left: 100%;
  transform: translate(-40px, -50%);
}
.reference-thumb-next:hover,
.reference-thumb-next:focus-visible {
  transform: translate(-40px, -50%) scale(1.02);
}
@media (max-width: 1100px) {
  /* On narrower viewports there's no room for side thumbs — fall back to
     just the arrow navigation. */
  .reference-thumb { display: none; }
}

.reference-stage-wrap {
  position: relative;
  isolation: isolate;
  z-index: 2;            /* stage sits above the side thumbs */
}

.reference-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;        /* matches the side thumbs so the slide lands clean */
  border-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.62),
    0 0 0 1px var(--border),
    0 0 100px rgba(69, 196, 176, 0.18);
}

.reference-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms var(--ease);
}
.reference-video.is-active {
  opacity: 1;
  visibility: visible;
}

.reference-glow {
  position: absolute;
  bottom: -110px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 220px;
  background: radial-gradient(ellipse at 50% 50%, var(--accent-glow), transparent 70%);
  filter: blur(55px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
  animation: glowDrift 9s ease-in-out infinite;
}

.reference-progress {
  position: absolute;
  left: 18px;
  right: 70px;
  bottom: 26px;
  height: 18px;
  display: flex;
  align-items: center;
  z-index: 5;
  cursor: pointer;
}

.reference-progress input {
  --ref-progress: 0%;
  width: 100%;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background:
    linear-gradient(90deg, var(--accent) 0 var(--ref-progress), rgba(255, 255, 255, 0.28) var(--ref-progress) 100%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
}

.reference-progress input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
}

.reference-progress input::-moz-range-thumb {
  width: 0;
  height: 0;
  border: 0;
}

.reference-progress input:focus-visible {
  box-shadow: 0 0 0 3px rgba(69, 196, 176, 0.28);
}

.reference-sound {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 10, 0.65);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  font-family: inherit;
  z-index: 5;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.reference-sound:hover {
  background: rgba(6, 7, 10, 0.85);
  border-color: var(--accent);
  color: var(--accent);
}
.reference-sound[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #04060a;
}

.reference-nav {
  position: relative;
  z-index: 3;            /* stay above the side thumbs */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  font-family: inherit;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
.reference-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.reference-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.reference-meta-track {
  position: relative;
  margin-top: clamp(56px, 6vw, 80px);
  min-height: 76px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.reference-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity 420ms var(--ease);
}
.reference-meta.is-active {
  opacity: 1;
  visibility: visible;
}
.reference-meta-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reference-meta-label {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.reference-meta-item strong {
  font-size: 1.0625rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

@media (max-width: 720px) {
  .reference-showcase {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .reference-nav {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .reference-nav-prev { justify-self: end; grid-row: 2; grid-column: 1; }
  .reference-nav-next { justify-self: start; grid-row: 2; grid-column: 1; margin-left: 56px; }
  .reference-stage-wrap { grid-row: 1; }
  .reference-meta {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
    position: static;
    visibility: visible;
  }
  .reference-meta:not(.is-active) { display: none; }
  .reference-meta-item { text-align: left; }
  .reference-meta-track { min-height: 0; }
}

.ref-float {
  position: absolute;
  z-index: 7;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  will-change: transform;
}

/* Shared content elements inside cards */
.ref-tag {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.ref-float strong {
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.ref-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.ref-logo {
  width: auto;
  height: 32px;
}
.ref-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.ref-big-value {
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: auto;
}
.ref-icon-big {
  font-size: 32px;
  color: var(--accent);
  margin: auto 0;
}
.ref-palette { display: flex; gap: 6px; }
.ref-palette span {
  flex: 1;
  height: 22px;
  border-radius: 5px;
}
.ref-mini-tags {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}
.ref-mini-tags span {
  font-size: 10.5px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.ref-pills-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.ref-stack-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.ref-stack-list strong { font-size: 15px; }

.ref-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(20, 22, 28, 0.92);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  align-self: flex-start;
}
.ref-pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

/* ─── Per-card sizes + positions + fills ───────────────── */
/* 1 — youknow Pilot Card (BIGGEST · 220×280, top-left, mint-tint) */
.ref-float-1 {
  top: 3%;
  left: 0%;
  width: 220px;
  min-height: 280px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(69, 196, 176, 0.12);
}

/* 2 — Format Card (160×140, above-right of screen) */
.ref-float-2 {
  top: 0%;
  right: 8%;
  width: 160px;
  min-height: 140px;
  padding: 18px;
  border-radius: 18px;
  background: #06070a;
}

/* 3 — Sektor Card (140×160, outside left mid) */
.ref-float-3 {
  top: 46%;
  left: 2%;
  width: 140px;
  min-height: 160px;
  padding: 16px;
  border-radius: 16px;
  background: #14171c;
}
.ref-float-3 strong { font-size: 14px; }

/* 4 — Brand Card (190×210, overlapping right edge upper-mid) */
.ref-float-4 {
  top: 18%;
  right: -2%;
  width: 190px;
  min-height: 210px;
  padding: 20px;
  border-radius: 20px;
  background: #0a0b0e;
}

/* 5 — Schritte Card (180×240, outside left bottom) */
.ref-float-5 {
  bottom: 4%;
  left: 3%;
  width: 180px;
  min-height: 240px;
  padding: 20px;
  border-radius: 20px;
  background: #12141a;
}
.ref-float-5 .ref-pill:nth-child(1) { background: #1a1d24; }
.ref-float-5 .ref-pill:nth-child(2) { background: rgba(69, 196, 176, 0.20); }
.ref-float-5 .ref-pill:nth-child(3) { background: #1f222a; }

/* 6 — Output Card (SMALLEST · 140×120, overlapping right edge lower) */
.ref-float-6 {
  bottom: 30%;
  right: 0%;
  width: 140px;
  min-height: 120px;
  padding: 16px;
  border-radius: 14px;
  background: #04050a;
}
.ref-float-6 .ref-tag { font-size: 9px; }

/* 7 — Projekt Card (WIDEST · 240×140, overlapping bottom-center of screen) */
.ref-float-7 {
  bottom: -3%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  min-height: 140px;
  padding: 20px 24px;
  border-radius: 18px;
  background: #16181f;
  justify-content: center;
}
.ref-float-7 strong { font-size: 15px; }

.reference-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 60px auto 0;
  width: max-content;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  text-align: center;
  justify-content: center;
}
.reference-section .container { text-align: center; }
.reference-section .section-header { text-align: center; margin-left: auto; margin-right: auto; }

.placeholder-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--warn);
  color: #04060a;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  font-weight: 600;
}

/* ═══ 05 · COST ═══════════════════════════════════════ */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cost-card {
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  position: relative;
}
.cost-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.cost-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.cost-visual {
  display: flex;
  align-items: center;
  height: 36px;
  margin-top: auto;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  overflow: hidden;
  padding: 0 12px;
}
.cost-bar {
  height: 14px;
  border-radius: 999px;
  width: 0;
  transition: width 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cost-bar-external {
  background: linear-gradient(90deg, #ff8364, var(--warn));
  box-shadow: 0 0 24px rgba(255, 122, 92, 0.3);
}
.cost-bar-mint {
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}
.cost-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 500;
}
.cost-card-mint {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--surface);
}

/* ═══ 06 · WORKFLOW STEPPER ═════════════════════════════ */
.stepper {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stepper-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
}
.stepper-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 16px 22px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
.stepper-tab:last-child { border-right: none; }
.stepper-tab:hover { background: var(--surface); color: var(--text-soft); }
.stepper-tab.is-active {
  background: var(--bg);
  color: var(--text);
}
.stepper-tab i {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 220ms var(--ease);
}
.stepper-tab.is-active i { color: var(--accent); }
.stepper-num {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent);
}
.stepper-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.stepper-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: transparent;
}
.stepper-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: none;
}
.stepper-tab.is-active .stepper-progress > span {
  animation: stepperProgress 5s linear forwards;
}
@keyframes stepperProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.stepper-panels { position: relative; min-height: 360px; }
.stepper-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 44px 44px 44px 44px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}
.stepper-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.stepper-panel-copy { max-width: 460px; }
.stepper-panel-num {
  display: block;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.stepper-panel h3 {
  font-size: 1.875rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.stepper-panel p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.stepper-panel-mock {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Setup mock */
.setup-mock { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.setup-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.setup-field span { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.setup-field strong { font-size: 13px; font-weight: 500; color: var(--text); }
.setup-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.setup-tags span {
  padding: 5px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--text);
}

/* Storyboard mock */
.storyboard-mock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.sb-cell {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a2935, #2a4858);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 10px;
  position: relative;
}
.sb-cell span {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 600;
}
.sb-cell i {
  font-style: normal;
  font-size: 11px;
  color: var(--text);
}
.sb-cell.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: linear-gradient(135deg, #1d3845, #2a6068);
}
.sb-cell.is-active span { color: var(--accent); }

/* Image mock */
.image-mock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.img-tile {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #2d5468, #45C4B0 80%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.img-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.15) 50%, transparent 80%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
.img-tile.is-active {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Audio mock */
.audio-mock { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.audio-track {
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.audio-track .wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
}
.audio-track .wave i {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 1.5px;
  height: 20%;
  animation: wave 1.4s ease-in-out infinite;
}
.audio-track:nth-child(2) .wave i { background: var(--accent-line); }
.audio-track .wave i:nth-child(odd) { animation-delay: 0.1s; }
.audio-track .wave i:nth-child(3n)  { animation-delay: 0.3s; }
.audio-track .wave i:nth-child(5n)  { animation-delay: 0.5s; }

/* Video mock */
.video-mock { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; width: 100%; }
.vid-tile {
  aspect-ratio: 16/10;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.vid-tile-1 { background: linear-gradient(135deg, #0c1c2c, #1d3845); }
.vid-tile-2 { background: linear-gradient(135deg, #1d3845, #45C4B0); }
.vid-tile-3 { background: linear-gradient(135deg, #2a4858, #5775c7); }
.vid-tile::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.vid-tile::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-30%, -50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #04060a;
  z-index: 2;
}
.vid-tile.is-active {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Editor mock */
.editor-mock {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  position: relative;
}
.edit-track {
  display: flex;
  gap: 4px;
  height: 24px;
}
.edit-track span {
  display: block;
  flex: 1;
  background: linear-gradient(90deg, #2d5468, #45C4B0);
  border-radius: 3px;
  opacity: 0.8;
}
.edit-track span:nth-child(2) { flex: 0.6; }
.edit-track span:nth-child(3) { flex: 0.9; }
.edit-track-audio span {
  background: linear-gradient(90deg, #5775c7, #45C4B0);
  height: 18px;
  margin-top: 3px;
}
.edit-playhead {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: var(--warn);
  left: 38%;
  box-shadow: 0 0 6px rgba(255, 122, 92, 0.6);
  animation: playheadMove 4s ease-in-out infinite;
}
@keyframes playheadMove {
  0%, 100% { left: 12%; }
  50% { left: 78%; }
}

/* Export mock */
.export-mock { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.export-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
}
.export-row i { font-size: 16px; color: var(--accent); }
.export-row span { color: var(--text); }
.export-row strong {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.export-row.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.export-row.is-active strong { color: var(--accent); }

/* ═══ 06 · BENTO MOSAIC (Apple-style) ═══════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  grid-auto-rows: 168px;
}
.bento-tile {
  background: #12141a;
  border: 0;
  border-radius: 22px;
  padding: 22px 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--ease), filter 240ms var(--ease);
}
.bento-tile:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.bento-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 4px 0 14px;
  overflow: hidden;
}
.bento-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.01em;
  margin-top: auto;
}

/* Per-tile background fills — varied tones across the mosaic */
.bento-brand  { background: rgba(69, 196, 176, 0.10); }
.bento-story  { background: #0e1116; }
.bento-multi  { background: #181b22; }
.bento-agent  { background: #14171c; }
.bento-chat   { background: #0a0c11; }
.bento-voice  { background: #1c1f26; }
.bento-format:nth-of-type(7) { background: #0e1116; }
.bento-format:nth-of-type(8) { background: #181b22; }
.bento-format:nth-of-type(9) { background: #11141a; }
.bento-format:nth-of-type(10) { background: #1a1d24; }

/* Tile size variants */
.bento-brand  { grid-column: span 5; grid-row: span 2; }
.bento-story  { grid-column: span 4; grid-row: span 2; }
.bento-multi  { grid-column: span 3; grid-row: span 2; }
.bento-agent  { grid-column: span 4; grid-row: span 2; }
.bento-chat   { grid-column: span 4; grid-row: span 2; }
.bento-voice  { grid-column: span 4; grid-row: span 2; }
.bento-format { grid-column: span 3; grid-row: span 1; }
.bento-text {
  grid-column: span 12;
  grid-row: span 1;
  background:
    radial-gradient(ellipse at 50% 100%, var(--accent-soft), transparent 65%),
    var(--surface);
  border-color: var(--accent-line);
  padding: 28px 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 8px;
}
.bento-text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.bento-text p {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Multi-model stack (narrow vertical tile) */
.multi-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.multi-stack span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 9px;
  height: 38px;
}
.multi-stack img {
  height: 14px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Voice waveform in bento context */
.voice-bento {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.voice-bento .audio-track { padding: 10px 12px; }
.voice-bento .audio-track .wave { height: 26px; }

/* Chat in bento context */
.mock-chat-bento {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Agent list in bento context */
.mock-agent-bento { width: 100%; }
.mock-agent-bento li { padding: 8px 12px; font-size: 11.5px; }

/* Format logo (small icon tile) */
.bento-format .bento-visual { padding: 0; }
.format-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.bento-format:hover .format-logo { opacity: 1; transform: scale(1.05); }

/* Brand mock (reused inside bento) */
.brand-mock { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.brand-mock-header {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.brand-palette { display: flex; gap: 6px; }
.brand-palette span {
  flex: 1;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.brand-tags { display: flex; flex-direction: column; gap: 5px; }
.brand-tags span {
  padding: 7px 11px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-soft);
}
.brand-mock-footer {
  font-size: 10.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

/* Storyboard grid mock (reused inside bento) */
.sb-grid-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}
.sb-grid-cell {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a2935, #2a4858);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 7px 9px;
  position: relative;
}
.sb-grid-cell span {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 600;
}
.sb-grid-cell.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: linear-gradient(135deg, #1d3845, #2a6068);
}
.sb-grid-cell.is-active span { color: var(--accent); }

/* Responsive bento */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
  }
  .bento-brand { grid-column: span 6; grid-row: span 2; }
  .bento-story { grid-column: span 3; grid-row: span 2; }
  .bento-multi { grid-column: span 3; grid-row: span 2; }
  .bento-agent { grid-column: span 3; grid-row: span 2; }
  .bento-chat  { grid-column: span 3; grid-row: span 2; }
  .bento-voice { grid-column: span 6; grid-row: span 1; }
  .bento-format { grid-column: span 3; grid-row: span 1; }
  .bento-text { grid-column: span 6; grid-row: span 1; }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(180px, auto);
  }
  .bento > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}

/* ═══ 08 · MODELS ══════════════════════════════════════ */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.model-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}
.model-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.model-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.model-card header i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  color: var(--accent);
  font-size: 14px;
}
.model-card header .card-eyebrow { margin: 0; }
.model-card h3 { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.provider-list { display: flex; flex-direction: column; gap: 8px; }
.provider-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.provider-list img {
  height: 14px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.provider-list img.wide { height: 12px; }

/* ═══ FAQ (Split + Photo) ═════════════════════════════ */
.faq-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.faq-aside h2 { margin-bottom: 28px; }
.faq-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
}
.faq-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
}
.faq-photo figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 11px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,7,10,0.6);
  padding: 6px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.faq details {
  border-top: 1px solid var(--border);
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color 180ms var(--ease);
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  padding: 0 0 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ═══ FINAL CTA (Video BG) ════════════════════════════ */
.final-cta {
  position: relative;
  padding: clamp(110px, 14vw, 180px) 24px;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
/* Animated mint+blue gradient waver at the bottom — ported from original mint.css */
.final-cta::after {
  content: "";
  position: absolute;
  top: auto; /* override .section-card::after top:0 inheritance */
  left: -18%;
  right: -18%;
  bottom: -14%;
  height: 56%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 28% 92%, rgba(69, 196, 176, 0.34), transparent 54%),
    radial-gradient(ellipse at 72% 100%, rgba(87, 117, 199, 0.30), transparent 56%),
    linear-gradient(0deg, rgba(6, 95, 224, 0.20) 0%, rgba(69, 196, 176, 0.08) 48%, transparent 100%);
  filter: blur(20px);
  opacity: 0.78;
  pointer-events: none;
  transform: translate3d(-2%, 8%, 0) scale(1.05);
  animation: final-gradient-waver 18s ease-in-out infinite alternate;
}
@keyframes final-gradient-waver {
  0%   { opacity: 0.58; transform: translate3d(-4%, 11%, 0) scale(1.04); }
  48%  { opacity: 0.82; transform: translate3d( 3%,  5%, 0) scale(1.10); }
  100% { opacity: 0.70; transform: translate3d( 5%,  9%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .final-cta::after { animation: none; }
}

/* Same gradient waver, mirrored to the TOP of the Workflow section (Chapter 4) */
#workflow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#workflow::before {
  content: "";
  position: absolute;
  top: -14%;
  bottom: auto;
  left: -18%;
  right: -18%;
  height: 56%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 28% 8%, rgba(69, 196, 176, 0.34), transparent 54%),
    radial-gradient(ellipse at 72% 0%, rgba(87, 117, 199, 0.30), transparent 56%),
    linear-gradient(180deg, rgba(6, 95, 224, 0.20) 0%, rgba(69, 196, 176, 0.08) 48%, transparent 100%);
  filter: blur(20px);
  opacity: 0.78;
  pointer-events: none;
  transform: translate3d(-2%, -8%, 0) scale(1.05);
  animation: workflow-gradient-waver 18s ease-in-out infinite alternate;
}
@keyframes workflow-gradient-waver {
  0%   { opacity: 0.58; transform: translate3d(-4%, -11%, 0) scale(1.04); }
  48%  { opacity: 0.82; transform: translate3d( 3%,  -5%, 0) scale(1.10); }
  100% { opacity: 0.70; transform: translate3d( 5%,  -9%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  #workflow::before { animation: none; }
}
/* Soft fade from Workflow's section-alt bg into the darker default bg of the
   following section (Modelle). Removes the hard cut at the section boundary. */
#workflow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 600px;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}
.final-inner { position: relative; z-index: 2; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 24px;
  line-height: 1;
  font-weight: 400;
}
.final-cta p {
  font-size: 1.125rem;
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.final-cta .hero-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ═══ FOOTER ══════════════════════════════════════════ */
.site-footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-brand p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
}
.footer-logo { width: 92px; display: block; }
/* Trust badges under the footer logo */
.footer-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  max-width: 320px;
}
.footer-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.footer-trust .trust-flag {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
}
/* Right side: description text + nav columns */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-legal {
  display: inline-flex;
  gap: 18px;
}
.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 180ms var(--ease);
}
.footer-legal a:hover { color: var(--accent); }
.footer-nav h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.footer-nav a {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  padding: 6px 0;
  min-height: 32px;
  transition: color 180ms var(--ease);
}
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ RESPONSIVE ══════════════════════════════════════ */
@media (max-width: 1100px) {
  .split-grid,
  .faq-split { grid-template-columns: 1fr; }
  .stepper-tabs { grid-template-columns: repeat(4, 1fr); }
  .stepper-tab:nth-child(4) { border-right: none; }
  .stepper-tab { border-bottom: 1px solid var(--border); }
  .stepper-panel { grid-template-columns: 1fr; padding: 32px; }
  .reference-screen { width: min(560px, 76%); }
  .ref-float strong { font-size: 12px; }
  .ref-float { padding: 10px 12px; }
}

@media (max-width: 900px) {
  .direction-grid,
  .cost-grid,
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .direction-card { min-height: 420px; }
  .manifesto-beats { grid-template-columns: 1fr; gap: 16px; }
  .stepper-tabs { grid-template-columns: repeat(3, 1fr); }
  .reference-screen { width: 82%; transform: none; }
  .ref-float-3, .ref-float-4 { display: none; }
  .ref-float-5 { display: none; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-pill { display: none; }
  .nav-ghost { display: none; }
}

@media (max-width: 640px) {
  .nav { padding: 0 16px; min-height: 64px; gap: 12px; }
  .nav-pill a { font-size: 12px; padding: 8px 12px; }
  .nav-cta { padding: 0 14px; font-size: 12.5px; }
  .section-card { margin: 14px 10px; border-radius: 18px; }
  .hero { padding: 120px 16px 60px; min-height: 88vh; }
  .hero-chip { left: 16px; bottom: 16px; font-size: 10.5px; }
  .hero-pipeline {
    font-size: 9px;
    padding: 10px 14px;
    gap: 8px;
    letter-spacing: 0.16em;
    flex-wrap: wrap;
    max-width: 94vw;
    justify-content: center;
  }
  .direction-grid,
  .cost-grid,
  .models-grid,
  .footer-nav { grid-template-columns: 1fr; }
  .direction-card { min-height: 380px; }
  .stepper-tabs { grid-template-columns: repeat(2, 1fr); }
  .section, .section-split { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .mockup-frame { transform: none; }
  .use-slide { flex-basis: 240px; height: 426px; padding: 22px 20px 24px; }
  .use-slider { padding: 80px calc(50% - 120px); }
  .use-formats-badge { font-size: 11px; padding: 8px 14px; gap: 8px; }
  .reference-screen { width: 90%; }
  .ref-float-1, .ref-float-2 { padding: 8px 10px; font-size: 10.5px; }
  .ref-float-7 { display: none; }
  .ref-float-6 { bottom: 4%; right: 2%; }
}

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


/* ═══════════════════════════════════════════════════════════
   Updated styles · workflow timeline · model orbit · FAQ
   ═══════════════════════════════════════════════════════════ */

/* ─── 04 · Workflow Timeline (replaces Tab Stepper) ─── */
.workflow-timeline {
  list-style: none;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0;
  max-width: 920px;
  position: relative;
}
.workflow-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: clamp(36px, 6vw, 64px);
  width: 1px;
  background: linear-gradient(180deg,
    var(--accent) 0%,
    rgba(69, 196, 176, 0.45) 50%,
    rgba(69, 196, 176, 0.15) 100%);
}
.workflow-step {
  display: grid;
  grid-template-columns: clamp(110px, 14vw, 180px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: baseline;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.workflow-step:first-child { border-top: 1px solid var(--border); }
.workflow-step:last-child  { border-bottom: 1px solid var(--border); }
.workflow-step-num {
  position: relative;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding-left: clamp(58px, 9vw, 92px);
  padding-top: 8px;
}
.workflow-step-num::before {
  content: "";
  position: absolute;
  left: clamp(36px, 6vw, 64px);
  top: 10px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-alt);
  z-index: 2;
}
.workflow-step-body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.workflow-step-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.workflow-pills {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.workflow-pills li {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.4;
}
/* Inline "in Kürze verfügbar" hint inside a paragraph */
.pill-soon {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  vertical-align: 2px;
  line-height: 1.4;
  white-space: nowrap;
}
@media (max-width: 720px) {
  /* Timeline line stays at the very left edge; all step content shifts ~40px
     to the right so the dot, number label, headline, paragraph and pills
     never overlap the line. */
  .workflow-timeline::before { left: 8px; }
  .workflow-step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0 28px 48px;
  }
  .workflow-step-num {
    padding-left: 0;
    padding-top: 0;
  }
  /* Dot's center sits at the timeline line (8px from .workflow-step left).
     Since .workflow-step now has padding-left: 48px, the dot's "left"
     value relative to .workflow-step-num is -40px → centre at 8px. */
  .workflow-step-num::before { left: -40px; top: 6px; }
  .workflow-step-body h3 { font-size: 1.375rem; }
}

/* ─── 06 · Model Orbit (replaces models-grid) ─── */
.model-section { position: relative; overflow: hidden; }
.model-orbit {
  position: relative;
  min-height: clamp(720px, 64vw, 1040px);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.model-orbit::before {
  position: absolute;
  inset: 7%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
  opacity: 0.6;
}
.model-orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: min(100% - 48px, 720px);
  text-align: center;
  transform: translate(-50%, -50%);
}
.model-orbit-center .eyebrow { justify-content: center; margin-bottom: 22px; }
.model-orbit-center h2 { margin: 0; }
.model-orbit-center p {
  max-width: 540px;
  margin: 24px auto 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.model-orbit-field { position: absolute; inset: 0; }
.model-orbit-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(220px, 18vw, 300px);
  min-height: 190px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
  color: var(--text);
  animation: model-orbit-lap 54s linear infinite;
  animation-delay: var(--orbit-delay, 0s);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease),
    filter 420ms var(--ease),
    opacity 420ms var(--ease);
  will-change: transform, filter, opacity;
}
/* 5 cards spaced evenly around the 54s orbit (54 / 5 = 10.8s steps) */
.model-orbit-card:nth-child(1) { --orbit-delay:    0s; }
.model-orbit-card:nth-child(2) { --orbit-delay: -10.8s; }
.model-orbit-card:nth-child(3) { --orbit-delay: -21.6s; }
.model-orbit-card:nth-child(4) { --orbit-delay: -32.4s; }
.model-orbit-card:nth-child(5) { --orbit-delay: -43.2s; }
.model-orbit-card:hover,
.model-orbit-card:focus-within {
  z-index: 10;
  border-color: var(--accent-line);
  box-shadow: 0 32px 100px rgba(69, 196, 176, 0.18), 0 30px 100px rgba(0, 0, 0, 0.4);
  filter: blur(0) !important;
  opacity: 1 !important;
}
.model-orbit-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.model-orbit-card header i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 7px;
  color: var(--accent);
  font-size: 14px;
}
.model-orbit-card h3 {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 14px;
}
.model-orbit-card .provider-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.model-orbit-card .provider-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}
.model-orbit-card .provider-list img {
  height: 12px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.model-orbit-card .provider-list img.wide { height: 10px; }
.model-orbit-card .provider-list .eu-host {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.model-orbit-card .provider-list .eu-flag {
  font-size: 11px;
  line-height: 1;
}

@keyframes model-orbit-lap {
  0%, 100% { z-index: 1; opacity: 0.46; filter: blur(2.4px); transform: translate(-50%, -50%) translate(-480px, -158px) scale(0.8); }
  16%      { z-index: 2; opacity: 0.66; filter: blur(1.2px); transform: translate(-50%, -50%) translate(-140px, -310px) scale(0.9); }
  33%      { z-index: 5; opacity: 0.9;  filter: blur(0.2px); transform: translate(-50%, -50%) translate( 380px, -220px) scale(1); }
  50%      { z-index: 7; opacity: 1;    filter: blur(0);     transform: translate(-50%, -50%) translate( 490px,  120px) scale(1.06); }
  66%      { z-index: 5; opacity: 0.86; filter: blur(0.4px); transform: translate(-50%, -50%) translate(  60px,  315px) scale(0.96); }
  83%      { z-index: 2; opacity: 0.62; filter: blur(1.7px); transform: translate(-50%, -50%) translate(-400px,  185px) scale(0.84); }
}

@media (max-width: 900px) {
  .model-orbit { min-height: auto; display: block; }
  .model-orbit::before { display: none; }
  .model-orbit-center { position: static; transform: none; width: 100%; }
  .model-orbit-field { position: static; display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .model-orbit-card {
    position: static;
    width: auto;
    transform: none !important;
    animation: none;
    opacity: 1 !important;
    filter: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .model-orbit-card {
    animation: none;
    opacity: 1 !important;
    filter: none !important;
    transform: translate(-50%, -50%) !important;
  }
  /* On reduced-motion, fall back to a static grid */
  .model-orbit { min-height: auto; display: block; }
  .model-orbit-center { position: static; transform: none; }
  .model-orbit-field { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
  .model-orbit-card { position: static; width: auto; transform: none !important; }
}

/* ─── FAQ (Hallmark-style override: display-Q, +→× toggle) ─── */
.faq-section { position: relative; }
.faq {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  border-top: none;
}
.faq-item {
  border-top: 1px solid var(--border);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  padding: 22px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color 200ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  color: var(--accent);
  flex: 0 0 auto;
  font-weight: 300;
  line-height: 1;
  transition: transform 240ms var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
  padding: 0 0 28px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 720px;
}

/* ─── Cookie manager ─────────────────────────────────────── */
.cookie-manager-root {
  position: fixed;
  z-index: 10000;
  font-family: inherit;
  color: var(--text);
}
.cookie-manager-root--banner {
  inset: auto clamp(16px, 3vw, 36px) clamp(16px, 3vw, 36px) clamp(16px, 3vw, 36px);
  pointer-events: none;
}
.cookie-manager-panel,
.cookie-manager-modal {
  width: min(100%, 680px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 12, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px);
}
.cookie-manager-panel {
  margin-left: auto;
  border-radius: 8px;
  padding: clamp(22px, 3vw, 32px);
  pointer-events: auto;
}
.cookie-manager-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cookie-manager-panel h2,
.cookie-manager-modal h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 520;
  letter-spacing: 0;
}
.cookie-manager-panel p,
.cookie-manager-modal p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.cookie-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-manager-btn,
.cookie-manager-floating {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}
.cookie-manager-btn:hover,
.cookie-manager-floating:hover {
  transform: translateY(-1px);
  border-color: rgba(69, 196, 176, 0.5);
}
.cookie-manager-btn--primary {
  border-color: transparent;
  background: var(--accent);
  color: #02110f;
  font-weight: 620;
}
.cookie-manager-btn--secondary {
  border-color: rgba(69, 196, 176, 0.36);
  color: var(--accent);
}
.cookie-manager-btn--ghost {
  color: var(--text-muted);
}
.cookie-manager-floating {
  left: 18px;
  bottom: 18px;
  position: fixed;
  min-height: 38px;
  padding: 0 14px;
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(12px);
}
.cookie-manager-root--modal {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}
.cookie-manager-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}
.cookie-manager-modal {
  position: relative;
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
}
.cookie-manager-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.cookie-manager-choice strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 0.98rem;
}
.cookie-manager-choice span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.cookie-manager-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-manager-toggle {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 180ms var(--ease);
}
.cookie-manager-toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 180ms var(--ease);
}
.cookie-manager-choice input:checked + .cookie-manager-toggle {
  background: var(--accent);
}
.cookie-manager-choice input:checked + .cookie-manager-toggle::after {
  transform: translateX(20px);
}
.cookie-manager-choice input:focus-visible + .cookie-manager-toggle {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.cookie-manager-choice--locked > span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .cookie-manager-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-manager-btn {
    width: 100%;
  }
  .cookie-manager-choice {
    align-items: flex-start;
  }
}
