/* ==== AI digital consulting GmbH — Landing ==== */
:root {
  --navy: #13274F;
  --navy-700: #0E1E3E;
  --navy-50: #EEF1F8;
  --ink: #0B0B0C;
  --muted: #5A6072;
  --line: #E6E3DE;
  --bg: #FFFFFF;
  --bg-warm: #F7F5F1;
  --bg-warmer: #F0ECE4;
  --accent: #E8A24A;
  --accent-soft: #F5E2BF;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-body: 17px;
  --fs-lg: 19px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 38px;
  --fs-4xl: 54px;
  --fs-5xl: 72px;

  --container: 1240px;
  --gutter: 28px;

  --radius: 4px;
  --radius-lg: 10px;

  --t: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.nav-menu-open { overflow: hidden; }
@media (min-width: 821px) {
  body.nav-menu-open { overflow: unset; }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}

.mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; }

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.2vw, var(--fs-5xl)); letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.4vw, var(--fs-4xl)); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: 120px 0;
  position: relative;
}
section.compact { padding: 88px 0; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--navy);
  display: inline-block;
}

.muted { color: var(--muted); }

/* ===== Navigation ===== */
/* Blur nur auf ::before — backdrop-filter auf .nav würde fixed Kinder (Slideout) an die Leistenhöhe binden. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  pointer-events: none;
  transition: border-color .3s var(--t), background .3s var(--t);
}
.nav.scrolled::before { border-bottom-color: var(--line); }
.nav-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 3; }
.brand img { height: 52px; width: auto; display: block; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color .2s var(--t), background .2s var(--t);
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s var(--t), opacity .2s;
}
.nav.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(11, 11, 12, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--t), visibility .3s;
}
.nav.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: var(--fs-sm);
  color: var(--ink);
  align-items: center;
}
.nav-links a { position: relative; padding: 6px 0; color: var(--ink); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--navy);
  transition: width .3s var(--t);
}
.nav-links a:hover::after { width: 100%; }
.nav-links > ul.menu {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > ul.menu > li { margin: 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}
.nav-cta { flex-shrink: 0; }
.nav-cta-icon {
  display: none;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  /* Über Seiteninhalten / Tweaks-Panel (200), sobald Menü offen */
  .nav.nav-open { z-index: 250; }

  .nav-toggle { display: inline-flex; }
  .nav-inner { gap: 12px; }
  .nav-cta {
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  .nav-cta-icon { display: block; }
  .nav-cta-text,
  .nav-cta .arrow { display: none; }

  .nav-backdrop { display: block; pointer-events: none; }
  .nav.nav-open .nav-backdrop { pointer-events: auto; }

  .nav-links {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    left: auto;
    width: min(360px, 100vw - 56px);
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: calc(80px + env(safe-area-inset-top, 0px)) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    box-shadow: -8px 0 40px -12px rgba(19, 39, 79, 0.18);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--t), visibility .35s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links a {
    padding: 14px 0;
    font-size: var(--fs-body);
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { display: none; }
  .nav.nav-open .nav-links {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-links > ul.menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--t);
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(19,39,79,.4); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .25s var(--t); }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== Hero ===== */
.hero { padding: 168px 0 120px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual {
    width: min(100%, 78vw, 320px);
    margin-inline: auto;
  }
  .hero-shape-circle {
    right: 0;
  }
}

.hero h1 .accent-underline {
  background-image: linear-gradient(transparent 82%, var(--accent-soft) 82%);
}
.hero-lead {
  font-size: var(--fs-xl);
  color: var(--muted);
  margin-top: 28px;
  max-width: 560px;
  line-height: 1.45;
}
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 28px; margin-top: 56px;
  padding-top: 28px; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta > div { font-size: var(--fs-sm); }
.hero-meta b { color: var(--ink); font-weight: 600; }
.hero-meta span { color: var(--muted); display: block; margin-top: 2px; }

.hero-visual {
  position: relative;
  display: block;
  width: 460px;
  max-width: 100%;
  aspect-ratio: 460 / 575;
  height: auto;
  margin-left: auto;
}
@media (max-width: 480px) {
  .hero-visual {
    width: min(100%, 88vw, 300px);
  }
}

/* Hero abstract composition — cleaner, grid-anchored */
.hero-shape-circle {
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy);
  top: 0; right: -6%;
}
.hero-shape-square {
  position: absolute;
  width: 38%; aspect-ratio: 1;
  background: var(--bg-warm);
  bottom: 8%; left: 0;
  border: 1px solid var(--line);
}
.hero-image-placeholder {
  position: absolute;
  width: 58%; aspect-ratio: 3/4;
  bottom: 0; left: 14%;
  background:
    linear-gradient(180deg, rgba(19,39,79,.0) 60%, rgba(19,39,79,.75) 100%),
    repeating-linear-gradient(135deg, #1c3163 0 2px, #13274F 2px 9px);
  box-shadow: 0 30px 70px -30px rgba(19,39,79,.5);
  display: flex; align-items: flex-end; padding: 16px;
}
.hero-image-placeholder .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-accent-dot {
  position: absolute;
  width: 14%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  top: 46%; right: 12%;
  box-shadow: 0 8px 24px -8px var(--accent);
}
.hero-ticker {
  position: absolute;
  bottom: 18%; right: -2%;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.15);
  letter-spacing: 0.04em;
}
.hero-ticker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; flex-shrink: 0; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

/* ===== Section headers ===== */
.sec-header { max-width: 820px; margin-bottom: 64px; }
.sec-header .eyebrow { margin-bottom: 20px; }
.sec-header p { font-size: var(--fs-lg); color: var(--muted); margin-top: 20px; max-width: 640px; }

/* ===== "Warum jetzt" — stats row ===== */
.why-now { background: var(--bg-warm); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.stats-grid > div {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
}
.stats-grid > div:first-child { padding-left: 0; }
.stats-grid > div:last-child { border-right: none; padding-right: 0; }
.stat-num {
  font-size: var(--fs-4xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 14px;
  font-feature-settings: 'tnum';
}
.stat-num .unit { font-size: 0.5em; color: var(--muted); font-weight: 400; margin-left: 4px; }
.stat-label { font-size: var(--fs-sm); color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.stat-desc { font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; }
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 0; }
}

/* ===== Services ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: #fff;
  padding: 44px 40px;
  position: relative;
  transition: background .3s var(--t);
}
.service-card:hover { background: var(--bg-warm); }
.service-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.service-card h3 { margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.service-card ul {
  list-style: none; padding: 0; margin: 18px 0 0;
  font-size: var(--fs-sm);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.service-card ul li {
  padding: 4px 0;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.service-card ul li::before {
  content: ''; width: 4px; height: 4px; background: var(--navy); display: inline-block;
}
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== Benefits (mit Zahlen) ===== */
.benefits { background: var(--ink); color: #fff; }
.benefits h2, .benefits .eyebrow, .benefits .sec-header p { color: #fff; }
.benefits .eyebrow::before { background: var(--accent); }
.benefits .sec-header p { color: rgba(255,255,255,.65); }

.benefits-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefits-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
}
.bench-bar {
  position: absolute; bottom: 0;
  background: linear-gradient(to top, var(--navy), #2a4a8a);
  border-top: 2px solid var(--accent);
}
.bench-bar.b1 { left: 6%; width: 14%; height: 28%; }
.bench-bar.b2 { left: 24%; width: 14%; height: 48%; }
.bench-bar.b3 { left: 42%; width: 14%; height: 68%; }
.bench-bar.b4 { left: 60%; width: 14%; height: 88%; background: var(--accent); border-top-color: #fff; }
.bench-grid-line {
  position: absolute; left: 0; right: 0;
  height: 1px; background: rgba(255,255,255,.08);
}
.bench-circle {
  position: absolute;
  top: 8%; right: 4%;
  width: 26%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
}

.benefit-row {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: baseline;
}
.benefit-row:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.benefit-metric {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  font-feature-settings: 'tnum';
}
.benefit-metric.text { font-size: 28px; color: #fff; }
.benefit-row h4 { color: #fff; margin-bottom: 6px; }
.benefit-row p { color: rgba(255,255,255,.65); font-size: var(--fs-sm); }

/* ===== About / Positionierung ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.about-principles > div { padding-top: 20px; border-top: 2px solid var(--ink); }
.about-principles h4 { margin-bottom: 8px; font-size: var(--fs-body); }
.about-principles p { color: var(--muted); font-size: var(--fs-sm); }

/* ===== Before / After ===== */
.vs-wrap { background: var(--bg-warm); }
.vs-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 40px; align-items: stretch;
}
.vs-col {
  background: #fff;
  padding: 44px 36px;
  border: 1px solid var(--line);
  position: relative;
}
.vs-col.after { background: var(--navy); color: #fff; border-color: var(--navy); }
.vs-col h3 { margin-bottom: 8px; }
.vs-col.after h3 { color: #fff; }
.vs-col .label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 20px; display: block;
  color: var(--muted);
}
.vs-col.after .label { color: var(--accent); }
.vs-list { list-style: none; padding: 0; margin: 24px 0 0; }
.vs-list li {
  padding: 12px 0; font-size: var(--fs-sm);
  border-top: 1px solid var(--line);
  display: flex; gap: 12px; align-items: flex-start;
}
.vs-col.after .vs-list li { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.85); }
.vs-list li .mark { font-family: 'JetBrains Mono', monospace; color: var(--muted); flex-shrink: 0; }
.vs-col.after .vs-list li .mark { color: var(--accent); }
.vs-arrow {
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted); letter-spacing: 0.12em;
  writing-mode: vertical-lr;
  transform: rotate(-90deg);
  white-space: nowrap;
}
@media (max-width: 820px) {
  .vs-grid { grid-template-columns: 1fr; }
  .vs-arrow { writing-mode: initial; transform: none; padding: 12px; }
}

/* ===== Process / Ablauf ===== */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  padding: 32px 28px 32px 0;
  border-top: 2px solid var(--ink);
  position: relative;
}
.process-step + .process-step { padding-left: 32px; }
.process-step .step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--fs-sm);
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.process-step h4 { margin-bottom: 10px; font-size: var(--fs-xl); }
.process-step p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.process-step .duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--accent);
  margin-top: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 820px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== Challenges → Opportunities ===== */
.challenges { background: var(--bg-warm); }
.chal-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 820px) { .chal-grid { grid-template-columns: 1fr; } }
.chal-list { list-style: none; padding: 0; margin: 0; }
.chal-list li {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.chal-list li:last-child { border-bottom: 1px solid var(--line); }
.chal-from {
  font-size: var(--fs-body);
  color: var(--muted);
  position: relative;
}
.chal-from::before {
  content: '✕'; display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  color: var(--muted); margin-right: 10px; opacity: .5;
}
.chal-to {
  font-size: var(--fs-body);
  color: var(--ink);
  font-weight: 500;
  position: relative;
}
.chal-to::before {
  content: '→'; display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent); margin-right: 10px; font-weight: 400;
}

/* ===== Testimonials / Logos ===== */
.logos-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 48px; align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-ph {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
  opacity: .7;
  transition: opacity .3s var(--t);
}
.logo-ph:hover { opacity: 1; color: var(--ink); }
@media (max-width: 820px) { .logos-row { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ===== FAQ ===== */
.faq-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }
.faq-list { border-top: 1px solid var(--line); }
details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .chev {
  width: 18px; height: 18px;
  position: relative; flex-shrink: 0;
  transition: transform .3s var(--t);
}
details.faq-item summary .chev::before,
details.faq-item summary .chev::after {
  content: ''; position: absolute; background: var(--ink);
}
details.faq-item summary .chev::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
details.faq-item summary .chev::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); transition: transform .3s var(--t); }
details.faq-item[open] summary .chev::after { transform: translateX(-50%) scaleY(0); }
details.faq-item p {
  color: var(--muted); font-size: var(--fs-sm);
  margin-top: 14px; max-width: 640px;
  line-height: 1.6;
}

/* ===== CTA / Contact ===== */
.cta-final {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-final h2 { color: #fff; }
.cta-final .eyebrow { color: var(--accent); }
.cta-final .eyebrow::before { background: var(--accent); }
.cta-grid {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 80px; align-items: start;
}
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-grid p.cta-lead {
  font-size: var(--fs-xl);
  color: rgba(255,255,255,.75);
  margin-top: 24px;
  max-width: 560px;
}
.cta-final .btn-primary { background: var(--accent); color: var(--ink); }
.cta-final .btn-primary:hover { background: #fff; }
.cta-final .btn-secondary { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-final .btn-secondary:hover { border-color: #fff; }

.cta-contacts {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 24px;
}
.cta-contacts > div { padding: 14px 0; font-size: var(--fs-sm); }
.cta-contacts > div b { color: #fff; display: block; margin-bottom: 4px; letter-spacing: 0.02em; }
.cta-contacts > div span { color: rgba(255,255,255,.7); }

.cta-decor {
  position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
}
.cta-decor::after {
  content: ''; position: absolute; inset: 40px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.06);
}

/* ===== Footer ===== */
footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--muted);
}
.footer-row {
  display: flex; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-row a { color: var(--muted); margin-left: 24px; }
.footer-row a:hover { color: var(--ink); }

/* ===== Fade-in reveal ===== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--t), transform .9s var(--t); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; }
}

/* ===== Tweaks panel ===== */
.tweaks-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 200;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.2);
  width: 280px;
  padding: 20px;
  display: none;
  font-size: var(--fs-sm);
}
.tweaks-panel.active { display: block; }
.tweaks-panel h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px; font-weight: 500;
}
.tweak-row { margin-bottom: 14px; }
.tweak-row label { display: block; font-size: 12px; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.tweak-swatches { display: flex; gap: 8px; }
.tweak-swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s var(--t);
}
.tweak-swatch:hover { transform: scale(1.1); }
.tweak-swatch.on { border-color: var(--ink); }
.tweak-seg {
  display: flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
}
.tweak-seg button {
  flex: 1; padding: 6px 10px; background: #fff; border: none;
  font-family: inherit; font-size: 12px; cursor: pointer;
  border-right: 1px solid var(--line);
}
.tweak-seg button:last-child { border-right: none; }
.tweak-seg button.on { background: var(--ink); color: #fff; }
