:root {
  /* ─────────────────────────────────────────────
     arvía Design System v2 — editorial & cinematic.
     Schwester von openrole: Fraunces + Instrument Sans,
     eigener Charakter: Morgendämmerung, Elektroblau, Papier.
     ───────────────────────────────────────────── */

  /* Surfaces */
  --paper: #faf6f0;
  --paper-2: #f3ede3;
  --night: #0a0f22;
  --night-2: #111a38;

  /* Text */
  --ink: #1c1712;
  --ink-2: #6b6157;
  --ink-3: #a89d91;
  --cream: #fff3e0;
  --cream-2: #cbbfd6;

  /* Accents */
  --blue: #2e5cff;
  --blue-deep: #1e42c8;
  --dawn: #ff8a3d;
  --green: #17a56b;

  /* Color blocks */
  --block-sky: #d9e5ff;
  --block-rose: #ffd9e4;
  --block-butter: #ffe9a8;

  --card: #ffffff;
  --shadow-lg: 0 30px 80px -24px rgba(20, 12, 4, 0.25);
  --shadow-md: 0 14px 44px -14px rgba(20, 12, 4, 0.16);
  --line: 1px solid rgba(28, 23, 18, 0.09);

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --hand: 'Caveat', cursive;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 480;
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 60, "SOFT" 40, "WONK" 0;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

::selection { background: var(--blue); color: #fff; }

/* ═══════════ Grain (Filmkorn) ═══════════ */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.55;
}

/* ═══════════ Buttons ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 0.95rem 1.9rem; border-radius: 60px;
  font-weight: 600; font-size: 1.02rem; font-family: var(--sans);
  cursor: pointer; border: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(46, 92, 255, 0.55); }

.btn-cream { background: var(--cream); color: var(--night); }
.btn-cream:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(255, 220, 160, 0.35); }

.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; opacity: 0.85; }
.btn-line:hover { opacity: 1; transform: translateY(-2px); }

/* ═══════════ Nav ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 28px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
  color: var(--cream);
}
.nav.solid, .nav.scrolled {
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding: 12px 28px;
  box-shadow: 0 1px 0 rgba(28, 23, 18, 0.08);
}
.nav-bar { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-brand { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; }
.nav-brand em { font-style: normal; color: var(--blue); }
.nav.solid .nav-brand em, .nav.scrolled .nav-brand em { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; font-weight: 500; }
.nav-links > a { opacity: 0.75; transition: opacity 0.2s; }
.nav-links > a:hover { opacity: 1; }
.nav-switch { font-size: 0.88rem; opacity: 0.65; }
.nav-switch a { font-weight: 600; border-bottom: 2px solid #fbf582; padding-bottom: 1px; opacity: 1; }
.nav-cta {
  padding: 0.6rem 1.25rem; border-radius: 50px;
  font-size: 0.93rem; font-weight: 600;
  background: var(--cream); color: var(--night);
  transition: all 0.3s var(--ease);
}
.nav.solid .nav-cta, .nav.scrolled .nav-cta { background: var(--ink); color: var(--paper); }
.nav-cta:hover { background: var(--blue) !important; color: #fff !important; }

/* ═══════════ HERO — Morgendämmerung ═══════════ */
.cine {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 150px 28px 130px;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(1100px 620px at 50% 108%, rgba(46, 92, 255, 0.34), transparent 62%),
    radial-gradient(800px 420px at 12% -8%, rgba(126, 155, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #05081a 0%, #0a1128 45%, #0e1734 78%, #101b3e 100%);
}
/* Logo */
.nav-brand { display: inline-flex; align-items: center; }
.nav-brand img { height: 30px; width: auto; }
.nav-brand .logo-ink { display: none; }
.nav.solid .nav-brand .logo-ink, .nav.scrolled .nav-brand .logo-ink { display: block; }
.nav.solid .nav-brand .logo-light, .nav.scrolled .nav-brand .logo-light { display: none; }
.cine-content { position: relative; z-index: 4; max-width: 900px; }

.cine-eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 243, 224, 0.75);
  margin-bottom: 30px;
}
.cine h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.2rem);
  color: var(--cream);
  text-wrap: balance;
}
.cine h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 60, "SOFT" 60, "WONK" 1;
  color: #ffcf8f;
}
.cine-sub {
  max-width: 560px; margin: 26px auto 0;
  font-size: 1.16rem; color: rgba(255, 243, 224, 0.82);
}
.cine-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.cine-note { margin-top: 18px; font-size: 0.86rem; color: rgba(255, 243, 224, 0.55); }

/* Schwebende Lead-Karte */
.lead-float {
  position: relative; z-index: 4;
  margin: 74px auto 0;
  width: min(400px, 92vw);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-1.6deg); }
  50% { transform: translateY(-13px) rotate(-0.7deg); }
}
.lead-card {
  background: #fff; color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 40px 100px -20px rgba(4, 6, 20, 0.65);
  padding: 20px 22px;
  text-align: left;
}
.lead-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lead-card-label { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }
.lead-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23,165,107,0.15); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.lead-card-time { font-size: 0.78rem; color: var(--ink-3); }
.lead-name { display: flex; align-items: center; gap: 12px; }
.lead-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #ffd9a0, #ff8a3d);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: #6b3208;
}
.lead-name strong { font-size: 1.05rem; display: block; line-height: 1.25; }
.lead-name span { font-size: 0.85rem; color: var(--ink-2); }
.lead-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.lead-facts li {
  list-style: none; font-size: 0.8rem; font-weight: 600;
  padding: 5px 11px; border-radius: 40px;
  background: #f2f0ea; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 5px;
}
.lead-facts li.ok { background: #e2f6ed; color: #0d7a4e; }
.lead-verdict {
  margin-top: 15px; padding-top: 14px; border-top: 1px dashed rgba(28,23,18,0.14);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.lead-verdict-loc { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; font-weight: 600; color: var(--blue); }
.lead-verdict-btn {
  font-size: 0.85rem; font-weight: 700; color: #fff;
  background: var(--green); padding: 8px 16px; border-radius: 40px;
}
.lead-shadow-card {
  position: absolute; inset: 10px -14px -10px 14px; z-index: -1;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 20px; transform: rotate(2.6deg);
  backdrop-filter: blur(2px);
}

/* ═══════════ Offener Brief ═══════════ */
.letter { position: relative; padding: 130px 28px 110px; }
.letter-inner { position: relative; max-width: 620px; margin: 0 auto; }
.letter-eyebrow {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3); display: block; text-align: center; margin-bottom: 16px;
}
.letter h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); text-align: center; margin-bottom: 44px; text-wrap: balance; }
.letter p { font-size: 1.09rem; color: #3d362e; margin-bottom: 22px; }
.letter p.salute { font-family: var(--hand); font-size: 1.7rem; color: var(--ink); margin-bottom: 14px; }
.letter mark {
  background: linear-gradient(transparent 62%, rgba(46, 92, 255, 0.22) 62%);
  color: inherit; padding: 0 2px;
}
.letter mark.warm { background: linear-gradient(transparent 62%, rgba(255, 176, 87, 0.5) 62%); }
.letter .letter-punch {
  font-family: var(--serif); font-size: 1.45rem; line-height: 1.3;
  color: var(--ink); font-style: italic;
  font-variation-settings: "opsz" 40, "SOFT" 50, "WONK" 1;
  margin: 34px 0; padding-left: 22px;
  border-left: 3px solid var(--blue);
}
.letter-sign { margin-top: 40px; }
.letter-sign .script { font-family: var(--hand); font-size: 2.6rem; line-height: 1; color: var(--ink); transform: rotate(-2deg); display: inline-block; }
.letter-sign .who { margin-top: 6px; font-size: 0.92rem; color: var(--ink-2); }
.letter-doodle { position: absolute; color: var(--blue); opacity: 0.85; pointer-events: none; }
.letter-doodle.d1 { top: -30px; left: -90px; transform: rotate(-12deg); }
.letter-doodle.d2 { top: 42%; right: -110px; transform: rotate(8deg); color: var(--dawn); }
.letter-doodle.d3 { bottom: 30px; left: -100px; transform: rotate(6deg); color: var(--ink-3); }

/* ═══════════ Sections allgemein ═══════════ */
.section { padding: 110px 28px; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); text-wrap: balance; }
.section-head p { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); }

/* ═══════════ 3 Schritte mit Mock-Bühnen ═══════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1120px; margin: 0 auto; }
.step { display: flex; flex-direction: column; }
.stage {
  border-radius: 24px;
  padding: 34px 26px;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.stage-1 { background: linear-gradient(160deg, #ffe3c2, #ffc48a); }
.stage-2 { background: linear-gradient(160deg, #dbe6ff, #b9ccff); }
.stage-3 { background: linear-gradient(160deg, #d5f3e5, #aee5cd); }
.step-meta { padding: 24px 8px 0; }
.step-num {
  font-family: var(--serif); font-style: italic; font-size: 1rem;
  color: var(--blue); font-weight: 600; letter-spacing: 0.04em;
}
.step h3 { font-size: 1.5rem; margin: 8px 0 10px; }
.step p { color: var(--ink-2); font-size: 1rem; }

/* Mock: Anzeige */
.mock { background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); width: 100%; max-width: 290px; font-size: 0.82rem; }
.mock-ad { padding: 14px 15px 15px; transform: rotate(-1.8deg); }
.mock-ad-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.mock-ad-logo { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), #7e9bff); flex-shrink: 0; }
.mock-ad-head strong { display: block; font-size: 0.84rem; line-height: 1.2; }
.mock-ad-head span { font-size: 0.72rem; color: var(--ink-3); }
.mock-ad-img {
  height: 96px; border-radius: 10px; margin-bottom: 10px;
  background: linear-gradient(120deg, #2d3d63 0% 50%, #e9ddc9 50% 100%);
  position: relative;
}
.mock-ad-img::before, .mock-ad-img::after {
  position: absolute; top: 8px; font-size: 0.62rem; font-weight: 700;
  padding: 3px 8px; border-radius: 20px; letter-spacing: 0.04em;
}
.mock-ad-img::before { content: 'VORHER'; left: 8px; background: rgba(255,255,255,0.9); color: var(--ink); }
.mock-ad-img::after { content: 'NACHHER'; right: 8px; background: var(--ink); color: #fff; }
.mock-ad-txt { font-weight: 600; font-size: 0.85rem; line-height: 1.35; }
.mock-ad-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.mock-ad-cta { background: var(--blue); color: #fff; font-weight: 700; font-size: 0.76rem; padding: 7px 13px; border-radius: 8px; }
.mock-ad-metric { font-size: 0.72rem; font-weight: 700; color: var(--green); }

/* Mock: Funnel */
.mock-funnel { padding: 18px 17px; transform: rotate(1.6deg); }
.mock-progress { display: flex; gap: 5px; margin-bottom: 14px; }
.mock-progress span { height: 4px; flex: 1; border-radius: 4px; background: #e8e4dc; }
.mock-progress span.on { background: var(--blue); }
.mock-q { font-weight: 700; font-size: 0.95rem; margin-bottom: 12px; line-height: 1.3; }
.mock-opt {
  border: 1.5px solid #e4dfd6; border-radius: 12px;
  padding: 10px 13px; margin-bottom: 8px;
  font-weight: 600; font-size: 0.83rem; color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center;
}
.mock-opt.sel { border-color: var(--blue); background: #eef2ff; color: var(--ink); }
.mock-opt.sel::after { content: '✓'; color: var(--blue); font-weight: 800; }

/* Mock: Einzugsgebiet-Karte */
.mock-map { padding: 0; overflow: hidden; transform: rotate(-1.2deg); }
.mock-map svg { width: 100%; height: auto; display: block; }
.map-ping { animation: mapping 2.4s infinite; transform-origin: center; transform-box: fill-box; }
.map-ping.p2 { animation-delay: 0.8s; }
.map-ping.p3 { animation-delay: 1.6s; }
@keyframes mapping { 0% { opacity: 0.8; transform: scale(0.4); } 70% { opacity: 0; transform: scale(2.4); } 100% { opacity: 0; transform: scale(2.4); } }
.mock-map-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; font-size: 0.78rem; font-weight: 700;
}
.mock-map-foot .chip {
  background: #e2f6ed; color: #0d7a4e;
  padding: 4px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 800;
}

/* ═══════════ Logo-Leiste ═══════════ */
.logos { padding: 46px 28px 54px; border-bottom: var(--line); }
.logos-label {
  text-align: center; font-size: 0.85rem; font-weight: 600;
  color: var(--ink-3); margin-bottom: 30px;
}
.logos-row {
  max-width: 1060px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 30px 44px; flex-wrap: wrap;
}
.logos-row img {
  width: auto;
  opacity: 0.88;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.logos-row img:hover { opacity: 1; transform: translateY(-2px); }
/* Optisch ausgeglichen statt gleich hoch — hochformatige Marken brauchen mehr Höhe */
.logos-row .l-tall { height: 56px; }
.logos-row .l-ison { height: 64px; }
.logos-row .l-wide { height: 30px; }
.logos-row .l-box  { height: 36px; border-radius: 4px; }

@media (max-width: 760px) {
  .logos-row { gap: 24px 30px; }
  .logos-row .l-tall { height: 44px; }
  .logos-row .l-ison { height: 50px; }
  .logos-row .l-wide { height: 24px; }
  .logos-row .l-box  { height: 28px; }
}

/* ═══════════ Das Zusammenspiel — 3 Säulen ═══════════ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; }
.pillar {
  background: var(--card);
  border: var(--card-border);
  border-radius: 24px;
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.pillar-num {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; font-weight: 600; color: var(--blue);
  margin-bottom: 14px;
}
.pillar h3 { font-size: 1.45rem; margin-bottom: 10px; }
.pillar p { color: var(--ink-2); font-size: 0.99rem; flex: 1; }
.pillar-check {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px dashed rgba(28, 23, 18, 0.16);
}
.pillar-check .label {
  display: block; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.pillar-check q {
  quotes: none;
  font-family: var(--serif); font-style: italic;
  font-size: 1.06rem; line-height: 1.35; color: var(--ink);
  font-variation-settings: "opsz" 30, "SOFT" 50, "WONK" 1;
}
.pillars-closing {
  max-width: 720px; margin: 48px auto 0; text-align: center;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-style: italic; line-height: 1.4;
  font-variation-settings: "opsz" 40, "SOFT" 50, "WONK" 1;
}
.pillars-closing em { font-style: italic; color: var(--blue); }

/* ═══════════ Der Fahrplan — Timeline ═══════════ */
.tl { max-width: 800px; margin: 0 auto; position: relative; }
.tl::before {
  content: ''; position: absolute; left: 23px; top: 10px; bottom: 60px;
  width: 2px; background: rgba(28, 23, 18, 0.12);
}
.tl::after {
  content: ''; position: absolute; left: 23px; bottom: -8px; height: 68px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(28,23,18,0.22) 0 6px, transparent 6px 13px);
}
.tl-item { position: relative; padding: 0 0 34px 74px; }
.tl-dot {
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--paper);
}
.tl-item.tl-loop .tl-dot { background: var(--blue); color: #fff; }
.tl-card {
  background: var(--card); border: var(--card-border);
  border-radius: 20px; padding: 24px 28px;
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.tl-card.no-mock { grid-template-columns: 1fr; }
.tl-when {
  display: inline-block; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); background: var(--accent-soft, #e9eeff);
  padding: 4px 11px; border-radius: 30px; margin-bottom: 10px;
}
.tl-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tl-card p { color: var(--ink-2); font-size: 0.98rem; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tl-chips span {
  font-size: 0.8rem; font-weight: 600; color: var(--ink-2);
  background: var(--paper-2); border-radius: 30px; padding: 5px 12px;
}
.tl-mock { width: 225px; }
.tl-mock .mock { max-width: 225px; font-size: 0.72rem; box-shadow: var(--shadow-md); }

/* Entscheidend-Zeile in Einsatzfeld-Karten */
.field-key {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed rgba(28, 23, 18, 0.18);
  font-size: 0.9rem; font-weight: 600;
  opacity: 1 !important; max-width: none !important;
}
.field-night .field-key { border-top-color: rgba(255, 255, 255, 0.2); }

/* ═══════════ Rechenexempel — die Kette ═══════════ */
.chain-wrap {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center;
}
.chain-copy .kicker { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.chain-copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.chain-copy p { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 460px; }
.chain-copy p strong { color: var(--ink); }

.chain {
  background: #fff; border-radius: 24px;
  padding: 34px 32px 26px;
  box-shadow: var(--shadow-md);
}
.chain-row { padding: 13px 0; }
.chain-row + .chain-row { border-top: 1px dashed rgba(28, 23, 18, 0.1); }
.chain-info { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.chain-label { font-size: 0.97rem; font-weight: 600; color: var(--ink-2); }
.chain-rate { font-size: 0.78rem; font-weight: 700; color: var(--ink-3); margin-left: 8px; }
.chain-num { font-family: var(--serif); font-size: 1.7rem; font-weight: 550; color: var(--ink); white-space: nowrap; }
.chain-bar { height: 10px; border-radius: 8px; background: #f1ede5; margin-top: 9px; overflow: hidden; }
.chain-bar span {
  display: block; height: 100%; width: var(--w, 50%);
  border-radius: 8px;
  background: linear-gradient(90deg, #7e9bff, var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.chain-row.final .chain-num { color: var(--green); }
.chain-row.final .chain-bar span { background: linear-gradient(90deg, #45c98f, var(--green)); }
.in-view .chain-bar span { transform: scaleX(1); }
.chain-fine { margin-top: 18px; font-size: 0.8rem; color: var(--ink-3); }

/* ═══════════ Zahlen-Band (dunkel) ═══════════ */
.data-band {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(46, 92, 255, 0.28), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(255, 138, 61, 0.14), transparent 60%),
    var(--night);
  color: var(--cream);
  overflow: hidden;
}
.data-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 120px 28px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center;
  position: relative; z-index: 2;
}
.data-copy .kicker { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #93aaff; margin-bottom: 16px; }
.data-copy h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.data-copy > p { margin-top: 18px; color: var(--cream-2); font-size: 1.1rem; max-width: 460px; }
.data-list { list-style: none; margin-top: 28px; display: grid; gap: 13px; }
.data-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 1rem; color: #e6e0f0; }
.data-list svg { flex-shrink: 0; margin-top: 4px; color: #93aaff; }

.dash {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dash-title { font-size: 0.84rem; font-weight: 600; color: var(--cream-2); letter-spacing: 0.05em; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #6ee7a8; }
.dash-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; animation: pulse 1.8s infinite; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-radius: 15px; padding: 17px; }
.dash-stat .label { font-size: 0.78rem; color: var(--cream-2); }
.dash-stat .value { font-family: var(--serif); font-size: 1.85rem; font-weight: 550; margin-top: 4px; color: #fff; }
.dash-stat .delta { font-size: 0.78rem; font-weight: 600; margin-top: 3px; }
.delta.up { color: #6ee7a8; }
.delta.down { color: #93aaff; }
.dash-chart {
  display: flex; align-items: flex-end; gap: 7px; height: 96px;
  margin-top: 13px; padding: 15px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-radius: 15px;
}
.dash-chart span {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #7e9bff, var(--blue));
  height: calc(var(--h) * 1%);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.8s var(--ease);
}
.in-view .dash-chart span, .dash.in-view .dash-chart span { transform: scaleY(1); }
.dash-foot { margin-top: 12px; font-size: 0.74rem; color: var(--cream-2); text-align: right; }

/* ═══════════ Einsatzfelder — Farbblöcke ═══════════ */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1120px; margin: 0 auto; }
.field {
  border-radius: 26px; padding: 0;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.field:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.field-art { position: relative; height: 235px; overflow: hidden; flex-shrink: 0; }
.field-art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.field:hover .field-art img { transform: scale(1.05); }
.field-body { padding: 26px 30px 32px; flex: 1; }
.field--plain { min-height: 270px; justify-content: flex-end; }
.field--plain .field-body { flex: 0; }
.field-tag {
  position: absolute; top: 22px; left: 24px; z-index: 2;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 40px;
  background: rgba(255, 252, 246, 0.88);
  color: var(--ink);
  backdrop-filter: blur(4px);
}
.field h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-style: italic;
  font-variation-settings: "opsz" 50, "SOFT" 60, "WONK" 1;
  margin-bottom: 8px;
}
.field p { font-size: 1rem; max-width: 400px; opacity: 0.82; }
.field-sky { background: var(--block-sky); color: #14235c; }
.field-rose { background: var(--block-rose); color: #611831; }
.field-butter { background: var(--block-butter); color: #5c4302; }
.field-night { background: var(--night); color: var(--cream); }
.field-night .field-tag { background: rgba(255,255,255,0.12); color: #b7c6ff; position: static; display: inline-block; margin-bottom: auto; align-self: flex-start; }
.field-night .field-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 0; min-height: 270px; }
.field-night .field-tag { margin-bottom: 18px; }
.field-night p { color: var(--cream-2); }
.field-night a {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-weight: 600; color: #b7c6ff; font-size: 0.98rem;
}
.field-night a:hover { color: #fff; }

/* ═══════════ Alles drin — Checkliste ═══════════ */
.all { background: var(--paper-2); }
.all-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px;
}
.all-item {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  background: #fff; border-radius: 14px;
  font-weight: 600; font-size: 0.97rem;
  box-shadow: 0 4px 18px -8px rgba(20, 12, 4, 0.08);
}
.all-item svg { flex-shrink: 0; color: var(--blue); }
.all-note { text-align: center; margin-top: 36px; font-size: 1rem; color: var(--ink-2); }
.all-note .script { font-family: var(--hand); font-size: 1.5rem; color: var(--ink); }

/* ═══════════ Rechner ═══════════ */
.calc-wrap {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center;
}
.calc-copy .kicker { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.calc-copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.calc-copy p { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 440px; }
.calc-copy .btn { margin-top: 30px; }
.calc-alt { margin-top: 18px; font-size: 0.9rem; color: var(--ink-3); }
.calc-alt a { color: var(--ink-2); font-weight: 600; }
.calc-alt a:hover { color: var(--ink); }

.calc {
  background: var(--night);
  color: var(--cream);
  border-radius: 26px;
  padding: 38px 36px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.calc::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% -20%, rgba(46, 92, 255, 0.35), transparent 65%);
  pointer-events: none;
}
.calc > * { position: relative; }
.calc-title { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #93aaff; margin-bottom: 26px; }
.calc-row { margin-bottom: 26px; }
.calc-row label { display: flex; justify-content: space-between; font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; color: #e6e0f0; }
.calc-row output { font-family: var(--serif); font-size: 1.15rem; color: #fff; }
input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none;
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--blue) var(--fill, 50%), rgba(255,255,255,0.14) var(--fill, 50%));
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: none;
  box-shadow: 0 3px 12px rgba(0,0,0,0.45);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: none;
  box-shadow: 0 3px 12px rgba(0,0,0,0.45);
}
.calc-result {
  margin-top: 6px; padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; text-align: center;
}
.calc-result .lbl { font-size: 0.88rem; color: var(--cream-2); }
.calc-result .num {
  font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 550; line-height: 1.1; color: #fff; margin-top: 4px;
}
.calc-result .num em { font-style: normal; color: #ffcf8f; }
.calc-fine { margin-top: 14px; font-size: 0.8rem; color: var(--cream-2); text-align: center; }

/* ═══════════ Finale — Nacht ═══════════ */
.finale {
  position: relative;
  text-align: center;
  padding: 170px 28px 190px;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(1000px 560px at 50% -18%, rgba(46, 92, 255, 0.3), transparent 62%),
    linear-gradient(180deg, #0a0f26 0%, #070b1e 60%, #05081a 100%);
}
.finale-eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 243, 224, 0.7);
  margin-bottom: 26px;
}
.finale-inner { position: relative; z-index: 4; max-width: 760px; margin: 0 auto; }
.finale h2 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); color: #fff; text-wrap: balance; }
.finale h2 em { font-style: italic; color: #ffcf8f; font-variation-settings: "opsz" 60, "SOFT" 60, "WONK" 1; }
.finale p { margin: 22px auto 0; font-size: 1.15rem; color: var(--cream-2); max-width: 520px; }
.finale .btn { margin-top: 38px; }
.finale-contact { margin-top: 22px; font-size: 0.9rem; color: rgba(255,243,224,0.55); }
.finale-contact a { color: rgba(255,243,224,0.85); font-weight: 600; }
.finale-contact a:hover { color: #fff; }

/* ═══════════ Footer ═══════════ */
.footer { background: var(--night); color: var(--cream-2); padding: 40px 28px 46px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 26px; flex-wrap: wrap;
}
.footer-brand img { height: 28px; width: auto; }
.footer-tag { margin-top: 7px; font-size: 0.9rem; max-width: 330px; }
.footer-or { margin-top: 12px; font-size: 0.88rem; }
.footer-or a { font-weight: 600; color: var(--cream); border-bottom: 2px solid #fbf582; }
.footer-links { display: flex; gap: 22px; font-size: 0.9rem; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }

/* ═══════════ Splitter (index) ═══════════ */
.gate {
  min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--paper);
}
.gate-top {
  text-align: center; padding: 38px 24px 30px;
}
.gate-top .nav-brand img { height: 34px; }
.gate-top p {
  margin-top: 10px; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3);
}
.gate-halves {
  flex: 1; display: flex; gap: 0;
  padding: 0 24px 24px;
}
.gate-half {
  position: relative; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px 46px;
  overflow: hidden;
  min-height: 420px;
  /* Kein Layout-Wechsel beim Hover — sonst springt der ganze Text */
  transition: box-shadow 0.4s var(--ease);
}
.gate-halves .gate-half::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: currentColor; opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.gate-halves .gate-half:hover::after { opacity: 0.045; }

.gate-arvia {
  border-radius: 28px 0 0 28px;
  color: var(--cream);
  background:
    radial-gradient(700px 420px at 50% 112%, rgba(46, 92, 255, 0.4), transparent 62%),
    linear-gradient(165deg, #05081a 0%, #0b1128 55%, #101b3e 100%);
}
.gate-half h2, .gate-half .desc, .gate-half .gate-go { position: relative; z-index: 4; }
.gate-openrole {
  border-radius: 0 28px 28px 0;
  color: #28030f;
  background: linear-gradient(165deg, #fdfaf4 0%, #f7efdd 55%, #fbf582 160%);
  border: var(--line); border-left: none;
}
.gate-badge {
  position: absolute; top: 30px; left: 46px; z-index: 4;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 40px;
}
.gate-arvia .gate-badge { background: rgba(255,255,255,0.14); color: #cdd9ff; }
.gate-openrole .gate-badge { background: #fbf582; color: #28030f; }
.gate-half h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  text-wrap: balance;
}
.gate-half h2 em { font-style: italic; font-variation-settings: "opsz" 50, "SOFT" 60, "WONK" 1; }
.gate-arvia h2 em { color: #ffcf8f; }
.gate-openrole h2 em { color: #b3079b; }
.gate-half p.desc { margin-top: 14px; font-size: 1.02rem; max-width: 400px; opacity: 0.8; }
.gate-go {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 26px; font-weight: 700; font-size: 1.05rem;
}
.gate-arvia .gate-go { color: #ffcf8f; }
.gate-openrole .gate-go { color: #28030f; }
.gate-go svg { transition: transform 0.3s var(--ease); }
.gate-half:hover .gate-go svg { transform: translateX(5px); }
.gate-foot { display: flex; justify-content: center; gap: 24px; padding: 18px 0 20px; font-size: 0.85rem; color: var(--ink-3); }
.gate-foot a:hover { color: var(--ink-2); }

/* ═══════════ Legal ═══════════ */
.legal { max-width: 760px; margin: 0 auto; padding: 150px 28px 90px; }
.legal h1 { font-size: 2.5rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.12rem; margin: 26px 0 8px; font-family: var(--sans); font-weight: 700; }
.legal p, .legal li { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--blue); word-break: break-word; }

/* ═══════════ Cookie-Consent ═══════════ */
.cc { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.cc-backdrop { position: absolute; inset: 0; background: rgba(10, 15, 34, 0.45); backdrop-filter: blur(3px); }
.cc-box {
  position: relative;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin: 20px;
  background: var(--paper);
  border-radius: 22px;
  padding: 30px 32px 26px;
  box-shadow: 0 30px 90px -18px rgba(10, 15, 34, 0.5);
  animation: cc-in 0.45s var(--ease) both;
}
@keyframes cc-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.cc-title { font-size: 1.5rem; margin-bottom: 10px; }
.cc-text { font-size: 0.95rem; color: var(--ink-2); }

.cc-details { margin-top: 22px; display: grid; gap: 14px; }
.cc-details[hidden], .cc-btn[hidden] { display: none; }
.cc-cat { background: #fff; border: var(--card-border); border-radius: 16px; padding: 16px 18px; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-cat-name { font-weight: 700; font-size: 1rem; }
.cc-always { font-size: 0.78rem; font-weight: 600; color: var(--green); background: #e2f6ed; padding: 4px 11px; border-radius: 30px; }
.cc-cat-desc { margin-top: 8px; font-size: 0.88rem; color: var(--ink-2); }

.cc-meta { margin-top: 12px; display: grid; gap: 5px; }
.cc-meta > div { display: flex; gap: 8px; font-size: 0.79rem; }
.cc-meta dt { color: var(--ink-3); min-width: 132px; flex-shrink: 0; }
.cc-meta dd { color: var(--ink-2); font-weight: 500; }

/* Schalter */
.cc-switch { display: inline-flex; align-items: center; gap: 11px; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cc-track {
  position: relative; width: 46px; height: 27px; flex-shrink: 0;
  background: #ddd7cd; border-radius: 30px; transition: background 0.25s var(--ease);
}
.cc-track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  transition: transform 0.25s var(--ease);
}
.cc-switch input:checked + .cc-track { background: var(--blue); }
.cc-switch input:checked + .cc-track::after { transform: translateX(19px); }
.cc-switch input:focus-visible + .cc-track { outline: 2px solid var(--blue); outline-offset: 3px; }

.cc-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btn {
  flex: 1 1 auto; min-width: 150px;
  padding: 0.82rem 1.3rem; border-radius: 50px; border: none;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s var(--ease);
}
.cc-btn-primary { background: var(--ink); color: var(--paper); }
.cc-btn-primary:hover { background: var(--blue); color: #fff; }
/* Gleichwertig zu "Alle akzeptieren" — Ablehnen darf nicht schwerer sein */
.cc-btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(28,23,18,0.28); }
.cc-btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cc-btn-ghost { flex: 0 1 auto; min-width: 0; background: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cc-btn-ghost:hover { color: var(--ink); }
.cc-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.cc-links { margin-top: 16px; font-size: 0.84rem; color: var(--ink-3); text-align: center; }
.cc-links a { color: var(--ink-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.cc-links a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .cc-box { padding: 24px 22px 22px; border-radius: 20px; }
  .cc-btn { flex: 1 1 100%; }
  .cc-meta dt { min-width: 108px; }
}

/* ═══════════ Reveal ═══════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; max-width: 480px; }
  .pillars { grid-template-columns: 1fr; max-width: 520px; }
  .tl-card { grid-template-columns: 1fr; }
  .tl-mock { width: 100%; max-width: 260px; justify-self: center; }
  .data-inner { grid-template-columns: 1fr; gap: 46px; padding: 80px 28px; }
  .calc-wrap { grid-template-columns: 1fr; gap: 44px; }
  .mystery-wrap { grid-template-columns: 1fr; gap: 44px; }
  .chain-wrap { grid-template-columns: 1fr; gap: 44px; }
  .all-grid { grid-template-columns: 1fr 1fr; }
  .letter-doodle { display: none; }
  .nav-links .hide-m { display: none; }
}
@media (max-width: 700px) {
  .fields { grid-template-columns: 1fr; }
  .all-grid { grid-template-columns: 1fr; }
  .section { padding: 78px 22px; }
  .letter { padding: 90px 26px 70px; }
  .cine { padding: 120px 22px 150px; }
  .nav-switch { display: none; }
  .gate-halves { flex-direction: column; padding: 0 18px 18px; }
  .gate-half { min-height: 300px; padding: 34px 28px; }
  .gate-halves:hover .gate-half, .gate-halves .gate-half:hover { flex: 1; }
  .gate-arvia { border-radius: 24px 24px 0 0; }
  .gate-openrole { border-radius: 0 0 24px 24px; border: var(--line); border-top: none; }
  .gate-badge { left: 28px; top: 24px; }
  .calc { padding: 30px 24px; }
  .finale { padding: 120px 22px 140px; }
}

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