/* ====================================================
   Palette: Navy · Cream (from the reference) + Sky detail
   ==================================================== */
:root {
  /* Brand: Midnight · Platinum · Ivory-white */
  --navy: #0E1018;             /* midnight */
  --navy-2: #151823;
  --navy-3: #1D2130;
  --brand: #E4E7EC;            /* platinum */
  --brand-ink: #0E1018;
  --silver: #A9AFBC;
  --platinum: linear-gradient(100deg, #FFFFFF 0%, #C9CED8 38%, #F4F5F8 55%, #9EA4B2 100%);
  --cream: #F3F2EF;            /* light sections + text on midnight */
  --cream-2: #E9E7E2;
  --text: #F3F2EF;
  --ink: #0E1018;
  --muted: rgba(243, 242, 239, 0.58);
  --muted-ink: rgba(14, 16, 24, 0.6);
  --line: rgba(243, 242, 239, 0.12);
  --line-ink: rgba(14, 16, 24, 0.12);
  --sky: var(--brand);
  --max: 1480px;
  --pad: clamp(20px, 4vw, 64px);
  --font-sans: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono: 'Bricolage Grotesque', system-ui, sans-serif;   /* small caps labels */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Film grain over the whole site — subtle texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-optical-sizing: auto;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; background: none; border: none; color: inherit; }
@media (hover: none) { button { cursor: pointer; } }
::selection { background: var(--brand); color: var(--brand-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* === Backdrop for cross-section color snaps === */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  transition: background-color 0.28s ease;
  background: var(--navy);
  pointer-events: none;
}

/* === Custom Cursor === */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.cursor.is-hover { width: 56px; height: 56px; }
@media (hover: none) { .cursor { display: none; } }

/* === Progress Bar === */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--platinum);
  z-index: 100;
  transition: width 0.1s linear;
}

/* === Chapter Nav === */
.chapter-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
  mix-blend-mode: difference;
}
.chapter-nav__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(239, 230, 213, 0.45);
  transition: all 0.4s var(--ease);
  position: relative;
}
.chapter-nav__dot:hover { border-color: var(--text); transform: scale(1.3); }
.chapter-nav__dot.is-active { background: var(--text); border-color: var(--text); transform: scale(1.2); }
.chapter-nav__dot::before {
  content: attr(data-label);
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.chapter-nav__dot:hover::before { opacity: 1; }
@media (max-width: 720px) { .chapter-nav { display: none; } }

/* === Base Layout === */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  width: 100%;
}
.chapter {
  min-height: 100vh;
  padding: clamp(100px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: var(--text);
}
.chapter--light { background: var(--cream); color: var(--ink); }

.chapter__head { margin-bottom: clamp(48px, 6vw, 80px); }
.chapter__head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--silver); }
.chapter--light .eyebrow::before { background: var(--ink); }
.chapter--light .eyebrow { color: var(--muted-ink); }

/* Big condensed section titles */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 9.5vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; color: var(--silver); padding-right: 0.04em; }
.chapter--light .display em { color: rgba(14, 16, 24, 0.55); }

.question {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.question em { font-style: italic; font-weight: 400; }

.lead {
  margin-top: 28px;
  font-size: clamp(15px, 1.3vw, 18px);
  max-width: 560px;
  line-height: 1.6;
  color: var(--muted);
}
.chapter--light .lead { color: var(--muted-ink); }

/* Animated display title: letters rise when the title becomes visible */
.split-title .ch {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i) * 35ms);
}
.split-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.split-title.is-visible .ch { transform: translateY(0); }

/* === Reveal (scroll-driven) === */
.reveal {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.18s; }
.reveal--d3 { transition-delay: 0.28s; }

.fly-left,
.fly-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: transform, opacity;
}
.fly-left  { transform: translateX(-72px); }
.fly-right { transform: translateX(72px); }
.fly-left.is-visible, .fly-right.is-visible { opacity: 1; transform: translate(0); }

/* ====================================================
   01 — HERO (portrait centred, name split around the head)
   ==================================================== */
.hero {
  --name-size: min(25vh, 12vw);
  --head-gap: 21vh;            /* room for the head between first & last name */
  overflow: hidden;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse 55% 70% at 50% 34%, #232838 0%, #141724 45%, var(--navy) 78%);
}
@keyframes lift { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* Very subtle light behind head and shoulders → depth */
.hero__halo {
  position: absolute;
  left: 50%;
  top: 30%;
  width: min(120vh, 110vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  /* barely-there backlight; just enough to lift the silhouette off the background */
  background: radial-gradient(circle, rgba(226, 232, 245, 0.07) 0%, rgba(190, 200, 225, 0.025) 36%, transparent 64%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 2s var(--ease-out) 0.4s forwards;
}

/* Name sits behind the portrait (z-index 1 < 2) */
.hero__name {
  position: absolute;
  left: 0; right: 0;
  top: 16%;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr var(--head-gap) 1fr;
  align-items: end;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--name-size);
  line-height: 0.9;
  letter-spacing: -0.025em;
  pointer-events: none;
  will-change: transform;
}
.hero__name-word { display: block; overflow: hidden; padding: 0 0.06em 0.1em; }
.hero__name-word--first { grid-column: 1; justify-self: end; }
.hero__name-word--last  { grid-column: 3; justify-self: start; }
.hero__name-word em { font-style: italic; }
.hero__name-word > span {
  display: block;
  /* platinum sheen */
  background: var(--platinum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
  transform: translateY(110%);
  animation: lift 1.4s var(--ease-out) 0.9s forwards;
}
.hero__name-word--last > span { animation-delay: 1.02s; }

.hero-portrait {
  position: absolute;
  left: 50%;
  top: 6%;
  z-index: 2;
  height: 100%;
  /* box is 30% wider than the photo so the light rim is never clipped */
  aspect-ratio: 1443 / 1600;
  pointer-events: none;
  /* -51.9% centres the head; JS adds parallax via vars */
  transform: translateX(-51.9%) translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0) scale(var(--hero-s, 1));
  transform-origin: 50% 30%;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 94%);
}
.hero-portrait img {
  width: 76.9%;
  height: 100%;
  margin: 0 auto;
  display: block;
  user-select: none;
  opacity: 0;
  transform: translateY(60px);
  animation: portraitIn 1.6s var(--ease-out) 0.15s forwards;
}
@keyframes portraitIn { to { opacity: 1; transform: none; } }

/* Foreground UI */
.hero__ui {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vh, 52px) var(--pad) clamp(28px, 5vh, 56px);
  pointer-events: none;
}
.hero__ui a { pointer-events: auto; }
.hero__greet {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(11px, 0.95vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 34%;
  min-height: 3em;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.3s forwards;
}
.hero__greet .typer { color: var(--text); }
.hero__greet .typer::after { content: '|'; color: var(--silver); animation: blink 1s infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* Sub-line sits on the same grid as the name, so it reads as part of it */
.hero__sub {
  position: absolute;
  left: 0; right: 0;
  top: calc(16% + var(--name-size) * 1.04);
  display: grid;
  grid-template-columns: 1fr var(--head-gap) 1fr;
  align-items: start;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.5s forwards;
}
.hero__role {
  grid-column: 1;
  justify-self: end;
  text-align: right;
  max-width: 17em;
  padding-right: calc(var(--name-size) * 0.06);
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.hero__role em { font-family: var(--font-display); font-style: italic; font-size: 1.14em; color: var(--silver); }
.hero__place {
  grid-column: 3;
  justify-self: start;
  padding-left: calc(var(--name-size) * 0.06);
  /* same size as the role line opposite, so both frame the head equally */
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}

/* "Das erwartet dich": horizontal glass dock along the bottom */
.hero__bar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  padding: 8px 8px 8px clamp(22px, 2vw, 30px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 30px 70px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(16px);
  animation: barIn 1.1s var(--ease-out) 1.8s forwards;
}
.hero__bar::before {
  /* platinum light along the top edge */
  content: '';
  position: absolute;
  left: 10%; right: 10%; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}
@keyframes barIn { to { opacity: 1; transform: none; } }
.hero__bar-lead {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero__bar-lead em { font-style: italic; color: var(--silver); }
.hero__list { list-style: none; display: flex; height: 100%; }
.hero__list li {
  flex: 1;
  display: flex;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) forwards;
  animation-delay: calc(2.1s + var(--i) * 0.09s);
}
.hero__list a {
  position: relative;
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px clamp(14px, 1.6vw, 24px);
  white-space: nowrap;
}
.hero__list a::after {
  /* hairline that draws in on hover */
  content: '';
  position: absolute;
  left: clamp(14px, 1.6vw, 24px); right: clamp(14px, 1.6vw, 24px); bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.hero__list a:hover::after { transform: scaleX(1); }
.hero__list .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1;
  background: var(--platinum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__list .label {
  font-size: 14px;
  color: rgba(243, 242, 239, 0.78);
  transition: color 0.35s var(--ease);
}
.hero__list a:hover .label { color: var(--text); }

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--platinum);
  color: var(--brand-ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 20px -6px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.4s var(--ease);
}
.hero__cta .arrow { transition: transform 0.4s var(--ease); }
.hero__cta:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 30px -6px rgba(220, 228, 245, 0.25); }
.hero__cta:hover .arrow { transform: translateX(5px); }

/* Pill CTA: hairline platinum, fills on hover */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 2vh, 18px) clamp(26px, 2.4vw, 34px);
  border-radius: 999px;
  border: 1px solid rgba(243, 242, 239, 0.45);
  color: var(--text);
  font-size: clamp(14px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--platinum);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
  z-index: 0;
}
.btn > * , .btn { z-index: 1; }
.btn .arrow, .btn span { position: relative; z-index: 1; }
.btn:hover { color: var(--brand-ink); border-color: transparent; }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
@media (max-width: 1100px) {
  .hero { --name-size: min(18vh, 9.4vw); --head-gap: 24vh; }
  .hero__role { font-size: 15px; max-width: 15em; }
  .hero__bar-lead { display: none; }
  .hero__bar { grid-template-columns: 1fr auto; padding-left: 8px; }
  .hero__list li:first-child { border-left: none; }
}
@media (max-width: 768px) {
  .hero { --name-size: 21vw; }
  .hero__name { top: 12%; grid-template-columns: 1fr; justify-items: center; }
  .hero__name-word--first, .hero__name-word--last { grid-column: 1; justify-self: center; }
  .hero-portrait { height: 70%; top: 34%; }
  .hero__greet { max-width: none; text-align: center; }
  .hero__sub {
    top: auto;
    bottom: calc(clamp(28px, 5vh, 56px) + 84px);
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero__role, .hero__place { grid-column: 1; justify-self: center; text-align: center; padding: 0; }
  .hero__role { font-size: 18px; text-shadow: 0 2px 16px rgba(14, 16, 24, 0.9); }
  .hero__place { display: none; }
  .hero__bar { grid-template-columns: 1fr; padding: 8px; justify-items: stretch; }
  .hero__list { display: none; }
  .hero__cta { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__name-word > span, .hero-portrait img, .hero__greet, .hero__sub, .hero__bar, .hero__list li {
    animation: none; transform: none; opacity: 1; filter: none;
  }
}

/* ====================================================
   02 — ABOUT ME (photos)
   ==================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.about__placeholder {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-ink);
  border: 1px dashed var(--line-ink);
  padding: 28px;
  text-align: center;
}
.photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cream-2);
  clip-path: inset(100% 0 0 0 round 18px);
  transition: clip-path 1.2s var(--ease-out);
}
.photos.is-visible .photo { clip-path: inset(0 0 0 0 round 18px); }
.photos .photo:nth-child(2) { transition-delay: 0.15s; }
.photos .photo:nth-child(3) { transition-delay: 0.3s; }
.photo--tall { grid-row: span 2; min-height: 100%; }
.photo--wide { aspect-ratio: 4 / 3.4; }
.photo img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(var(--py, 0px)) scale(1.06);
  transition: scale 0.8s var(--ease);
  will-change: transform;
}
.photo:hover img { scale: 1.04; }
.photo figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(30, 33, 48, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 11px;
  border-radius: 999px;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* ====================================================
   03 — WHAT I'VE BUILT (project cards)
   ==================================================== */
.built__count {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.built__count::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7EE2A8;
  box-shadow: 0 0 10px rgba(126, 226, 168, 0.8);
}
@keyframes pulse { 50% { opacity: 0.35; } }

.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  padding: clamp(22px, 2vw, 30px);
  border-radius: 18px;
  background: var(--navy-2);
  border: 1px solid var(--line);
}
.pcard__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pcard__meta { min-height: 2.9em; }
.pcard__meta span:last-child { text-align: right; }
.pcard__title {
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 2.6vw, 42px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.pcard__teaser { flex: 1; font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
}
.pcard__more {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}
.pcard--cta { background: var(--platinum); border-color: transparent; }
.pcard--cta .pcard__title { color: var(--ink); }
.pcard--cta .pcard__teaser { color: var(--muted-ink); }
.pcard--cta .pcard__more { color: var(--ink); }

@media (max-width: 1200px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .projects { grid-template-columns: 1fr; } .pcard { min-height: 0; } }

/* ====================================================
   04 — CV (light, interactive, with drawing timeline)
   ==================================================== */
#cv { transition: background-color 0.65s var(--ease); }
.cv__stations { position: relative; }
.cv__line {
  position: absolute;
  left: -28px; top: 0; bottom: 0;
  width: 2px;
  background: var(--line-ink);
}
.cv__line::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: calc(var(--cv-progress, 0) * 100%);
  background: var(--ink);
}
@media (max-width: 1100px) { .cv__line { display: none; } }

.station { border-top: 1px solid var(--line-ink); overflow: hidden; position: relative; }
.station:last-child { border-bottom: 1px solid var(--line-ink); }

.station__head {
  display: grid;
  grid-template-columns: 180px 1fr 52px;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
  cursor: none;
  transition: padding 0.4s var(--ease);
}
@media (hover: none) { .station__head { cursor: pointer; } }
.station.is-open .station__head { padding: 28px 0 16px; }
.station__period { font-family: var(--font-mono);
  font-weight: 500; font-size: 13px; color: var(--muted-ink); letter-spacing: 0.08em; }
.station__company {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: 8px;
}
.station__role {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.station__role em { font-style: italic; }
.station__toggle {
  width: 36px; height: 36px;
  border: 1px solid rgba(30, 33, 48, 0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s var(--ease);
  margin-left: auto;
}
.station:hover .station__toggle { border-color: var(--ink); }
.station.is-open .station__toggle { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: rotate(45deg); }
.station__toggle::before { content: '+'; font-size: 20px; line-height: 1; }

.station__body { max-height: 0; overflow: hidden; transition: max-height 0.9s var(--ease); }
.station.is-open .station__body { max-height: 1600px; }

@keyframes stationSectionIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.station.is-open .station__about     { animation: stationSectionIn 0.55s var(--ease-out) 0.18s both; }
.station.is-open .station__learnings { animation: stationSectionIn 0.55s var(--ease-out) 0.22s both; }
.station.is-open .station__numbers   { animation: stationSectionIn 0.55s var(--ease-out) 0.28s both; }

.station__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "about learnings" "numbers learnings";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 4vw, 64px);
  padding: 28px 0 52px 220px;
  align-items: start;
}
.station__about { grid-area: about; padding-bottom: 24px; border-bottom: 1px solid var(--line-ink); }
.station__about p { font-size: clamp(13px, 1.1vw, 15px); line-height: 1.8; color: rgba(30, 33, 48, 0.72); font-weight: 300; }
.station__about p strong { font-weight: 500; color: var(--ink); }
.station__numbers { grid-area: numbers; padding-top: 24px; }
.num-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.num__value { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3vw, 44px); letter-spacing: -0.01em; line-height: 1; color: var(--ink); }
.num__value .unit { font-family: var(--font-mono);
  font-weight: 500; font-size: 0.32em; margin-left: 4px; letter-spacing: 0.05em; vertical-align: 0.4em; }
.num__label { font-family: var(--font-mono);
  font-weight: 500; font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted-ink); margin-top: 6px; line-height: 1.45; }
.station__learnings { grid-area: learnings; padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line-ink); }
.learning { padding: 14px 0; border-bottom: 1px solid rgba(30, 33, 48, 0.08); }
.learning:first-child { padding-top: 0; }
.learning:last-child { border-bottom: none; padding-bottom: 0; }
.learning__num { display: block; font-family: var(--font-mono);
  font-weight: 500; font-size: 10px; color: rgba(30, 33, 48, 0.4); letter-spacing: 0.1em; margin-bottom: 5px; }
.learning__key { display: block; font-weight: 500; font-size: clamp(13px, 1.1vw, 15px); letter-spacing: -0.01em; margin-bottom: 3px; }
.learning__desc { font-size: clamp(12px, 1.05vw, 14px); line-height: 1.65; color: rgba(30, 33, 48, 0.65); font-weight: 300; }

@media (max-width: 1100px) {
  .station__head { grid-template-columns: 120px 1fr 52px; gap: 24px; }
  .station__inner { padding-left: 0; }
}
@media (max-width: 700px) {
  .station__head { grid-template-columns: 1fr 44px; gap: 16px; }
  .station__period { display: none; }
  .station__inner { grid-template-columns: 1fr; grid-template-areas: "about" "numbers" "learnings"; }
  .station__learnings { padding: 20px 0 0; border-left: none; border-top: 1px solid var(--line-ink); margin-top: 24px; }
}
@media (max-width: 480px) {
  .station__role { font-size: clamp(17px, 5vw, 22px); }
  .station__head { padding: 20px 0; }
  .station__inner { padding: 16px 0 40px; }
  .num-grid { grid-template-columns: 1fr; }
}

/* ====================================================
   05 — CONTACT
   ==================================================== */
.contact-chapter { padding-bottom: clamp(72px, 10vh, 120px); overflow: hidden; }

.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: clamp(56px, 8vh, 96px);
}
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: -0.01em;
  font-size: clamp(72px, 11vw, 168px);
  line-height: 1;
  color: var(--text);
  padding-right: 0.35em;
  white-space: nowrap;
}
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(243, 242, 239, 0.5); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.contact__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.contact__lead em { font-style: italic; color: var(--silver); }
.contact__sub { margin-top: 20px; font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 520px; }

/* Rotating text badge around a mail button */
.badge {
  position: relative;
  width: clamp(150px, 15vw, 210px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-family: var(--font-mono);
  font-weight: 500; font-size: 8.4px; letter-spacing: 0.1em; fill: var(--text); text-transform: uppercase; }
.badge__btn {
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--platinum);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  font-size: 28px;
  transition: transform 0.5s var(--ease);
}
.badge:hover .badge__btn { transform: scale(1.1) rotate(-45deg); }

.contact__primary {
  margin-top: clamp(40px, 6vh, 64px);
  display: inline-flex;
  width: 100%;
  max-width: 760px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(239, 230, 213, 0.22);
  border-bottom: 1px solid rgba(239, 230, 213, 0.22);
  font-size: clamp(18px, 1.8vw, 26px);
  transition: padding 0.4s var(--ease);
}
.contact__primary:hover { padding-left: 16px; padding-right: 8px; }
.contact__primary .arrow { transition: transform 0.4s var(--ease); }
.contact__primary:hover .arrow { transform: translateX(8px); }

.contact__channels {
  margin-top: clamp(48px, 6vh, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.channel .label { font-family: var(--font-mono);
  font-weight: 500; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(239, 230, 213, 0.4); margin-bottom: 8px; display: block; }
.channel .value { font-size: 14px; color: rgba(239, 230, 213, 0.8); }
.channel .value a { border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.channel .value a:hover { border-bottom-color: rgba(239, 230, 213, 0.5); }
@media (max-width: 720px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__channels { grid-template-columns: repeat(2, 1fr); }
}

/* === Footer === */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px var(--pad);
  border-top: 1px solid var(--line);
  background: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(239, 230, 213, 0.4);
  flex-wrap: wrap;
  gap: 16px;
  text-transform: uppercase;
}
.footer a, .footer button { font-size: inherit; letter-spacing: inherit; text-transform: uppercase; transition: color 0.3s var(--ease); }
.footer a:hover, .footer button:hover { color: var(--text); }

/* ====================================================
   PROJECT DETAIL PAGE
   ==================================================== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 95;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--pad);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  color: var(--text);
}
.topbar a { display: inline-flex; align-items: center; gap: 10px; }

.case-hero { padding: clamp(120px, 16vh, 180px) 0 clamp(48px, 8vh, 80px); position: relative; z-index: 1; }
.case-hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.case-hero__title { font-size: clamp(64px, 11vw, 184px); color: var(--text); }
.case-hero__teaser { margin-top: 28px; max-width: 46ch; font-size: clamp(18px, 1.8vw, 26px); font-weight: 300; line-height: 1.35; letter-spacing: -0.01em; }
.case-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(40px, 6vh, 64px);
}
.fact { padding: 24px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact__label { font-family: var(--font-mono);
  font-weight: 500; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.fact__value { font-family: var(--font-display); font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; margin-top: 6px; color: var(--text); }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } .fact + .fact { padding-left: 0; border-left: none; border-top: 1px solid var(--line); } .fact { padding-bottom: 20px; } }

.case-section { padding: clamp(72px, 12vh, 140px) 0; position: relative; z-index: 1; }
.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); }
.case-cols h3, .case-result h3 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.case-cols h3::before, .case-result h3::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.case-cols p { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; font-weight: 300; letter-spacing: -0.01em; }
@media (max-width: 800px) { .case-cols { grid-template-columns: 1fr; } }

/* The flow: static numbered steps */
.step {
  display: grid;
  grid-template-columns: minmax(120px, 0.6fr) 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 5vh, 56px) 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-style: italic; font-size: clamp(64px, 8vw, 128px); line-height: 0.8; color: var(--silver); }
.step__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.2vw, 50px); letter-spacing: -0.01em; line-height: 1.05; color: var(--text); }
.step__text { margin-top: 14px; font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 46ch; line-height: 1.6; }
@media (max-width: 720px) { .step { grid-template-columns: 1fr; gap: 10px; } }

.case-result p.big {
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.metric {
  margin-top: clamp(40px, 6vh, 72px);
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.metric__value { font-family: var(--font-display); font-size: clamp(72px, 11vw, 184px); letter-spacing: -0.02em; line-height: 0.9; }
.metric__label { font-family: var(--font-mono);
  font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-ink); max-width: 24ch; }

.next {
  display: block;
  padding: clamp(72px, 12vh, 140px) 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}
.next__label { font-family: var(--font-mono);
  font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.next__title { margin-top: 12px; font-size: clamp(56px, 9vw, 144px); color: var(--text); display: flex; align-items: center; gap: 0.2em; }
.next__title .arrow { font-family: var(--font-sans); font-weight: 200; font-size: 0.5em; }

/* General mobile padding & typography */
@media (max-width: 480px) {
  :root { --pad: 18px; }
  .chapter { padding-top: clamp(72px, 14vw, 120px); }
}

@media print {
  .cursor, .progress, .chapter-nav, .page-backdrop, .topbar { display: none !important; }
  body { cursor: auto; }
  .chapter { min-height: auto !important; }
  .station__body { max-height: none !important; }
}

/* ====================================================
   Typography: Bricolage Grotesque everywhere
   Bold, tightly tracked headlines; accents in a light weight and silver.
   ==================================================== */
.display, .question, .hero__name, .hero__bar-lead, .hero__list .num,
.pcard__title, .station__role, .num__value, .marquee__track span,
.contact__lead, .fact__value, .step__num, .step__title, .metric__value,
.case-hero__title, .next__title, .case-result p.big {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: -0.045em;
}
.display em, .question em, .hero__bar-lead em, .pcard__title em,
.station__role em, .contact__lead em {
  font-style: normal;
  font-weight: 300;
}
.hero__name { line-height: 0.9; letter-spacing: -0.055em; }
.hero__name-word em { font-style: normal; font-weight: 700; }
.hero__role em { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 1em; letter-spacing: -0.02em; }
.display { line-height: 0.92; }
.pcard__title { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.02; letter-spacing: -0.035em; }
.station__role { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.03em; }
.contact__lead { line-height: 1; }
.step__title { line-height: 1.05; letter-spacing: -0.03em; }
.step__num, .hero__list .num { font-weight: 300; }
.marquee__track span:nth-child(even) { font-weight: 300; }
.case-result p.big { font-weight: 500; letter-spacing: -0.03em; }

/* Smaller display size for long titles in a half-width column */
.display--md { font-size: clamp(44px, 5.2vw, 84px); line-height: 0.98; }
.nowrap { white-space: nowrap; }

/* ====================================================
   02 — 5 THESEN ZU KI
   ==================================================== */
.chapter--raised { background: var(--navy-2); }
.theses { list-style: none; border-top: 1px solid var(--line); }
.thesis {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: baseline;
  padding: clamp(28px, 4.5vh, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.thesis__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--platinum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.thesis__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.thesis__title em { font-style: normal; font-weight: 300; color: var(--silver); }
.thesis__text { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) {
  .thesis { grid-template-columns: 56px 1fr; }
  .thesis__text { grid-column: 2; }
}

/* Five items in the hero bar */
.hero__list a { padding-left: clamp(12px, 1.2vw, 20px); padding-right: clamp(12px, 1.2vw, 20px); gap: 10px; }
.thesis__title em { display: block; }

/* ====================================================
   01 — MEIN WEG: scroll-driven story
   A sticky stage plays one scene per scroll step. Each station opens its
   own tile; text lines fade in like captions in a film.
   ==================================================== */
.journey { display: block; min-height: 0; padding-bottom: 0; }
.journey__head { padding-bottom: clamp(24px, 4vh, 48px); }

.story { position: relative; height: calc(var(--n) * 60vh + 100vh); }
.story__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0 var(--pad);
}
@media (min-width: 1100px) { .story__stage { padding-left: calc(var(--pad) + 230px); } }

.story__bgnum {
  position: absolute;
  right: -1vw;
  bottom: -8vh;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52vh;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.story__hint {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.4s var(--ease);
}

/* The path on the left */
.rail { position: absolute; left: var(--pad); top: 18vh; bottom: 18vh; width: 200px; list-style: none; }
.rail__track { position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.rail__fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--platinum); box-shadow: 0 0 12px rgba(220, 228, 245, 0.35); }
.rail__node { position: absolute; left: 0; top: calc(var(--at) * 100%); transform: translateY(-50%); display: flex; align-items: center; gap: 16px; cursor: pointer; }
.rail__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(243, 242, 239, 0.35);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.rail__node.is-reached .rail__dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 6px rgba(228, 231, 236, 0.1); }
.rail__label { font-size: 15px; color: var(--muted); line-height: 1.25; transition: color 0.4s var(--ease); }
.rail__label b { font-family: var(--font-display); font-weight: 300; margin-right: 6px; }
.rail__label small { display: block; font-size: 12px; color: rgba(243, 242, 239, 0.4); margin-top: 2px; }
.rail__node.is-current .rail__label { color: var(--text); }
@media (max-width: 1099px) { .rail { display: none; } }

/* The tile */
.tile {
  position: relative;
  width: min(1060px, 100%);
  height: min(640px, 76vh);
  border-radius: 28px;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 120px -30px rgba(0, 0, 0, 0.7);
}
.tile.is-opening { animation: tileOpen 1s var(--ease) both; }
@keyframes tileOpen {
  from { clip-path: inset(44% 34% 44% 34% round 28px); opacity: 0.3; }
  to   { clip-path: inset(0 0 0 0 round 28px); opacity: 1; }
}
.tile__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(22px, 3vw, 40px);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-ink);
}
.tile__bar b { color: var(--ink); font-weight: 600; }
.tile__count { font-variant-numeric: tabular-nums; }
.tile__progress { height: 2px; margin: 0 clamp(22px, 3vw, 40px); background: var(--line-ink); }
.tile__progress span { display: block; height: 100%; width: var(--sp, 0%); background: var(--ink); transition: width 0.6s var(--ease); }
.tile__scenes { position: absolute; inset: 62px 0 0 0; }

/* Scenes */
.scene {
  position: absolute;
  inset: 0;
  padding: clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.scene.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.scene.is-past { transform: translateY(-40px); }
.scene .ln { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.9s var(--ease); }
.scene.is-on .ln { opacity: 1; transform: none; transition-delay: calc(0.15s + var(--k) * 0.14s); }

.scene .kicker { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 18px; }
.scene .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.3vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  max-width: 20ch;
}
.scene .big em { font-style: normal; font-weight: 300; color: rgba(14, 16, 24, 0.5); }
.scene .big--sm { font-size: clamp(28px, 3.2vw, 48px); }
.scene .mega {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(88px, 13vw, 190px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.scene .mega small { font-size: 0.26em; font-weight: 400; letter-spacing: -0.02em; margin-left: 0.15em; }
.scene .sub { margin-top: 22px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; color: rgba(14, 16, 24, 0.66); max-width: 50ch; }
.scene .sub b { color: var(--ink); font-weight: 600; }
.scene--title .big { font-size: clamp(38px, 5.4vw, 84px); }

.scene .fix {
  margin-top: 28px;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.4;
  max-width: 56ch;
}
.scene .fix span { flex-shrink: 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-ink); color: var(--muted-ink); }
.chip.is-done { color: rgba(14, 16, 24, 0.35); text-decoration: line-through; }
.chip.is-cur { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* 80/20 bar */
.split { margin-top: 30px; display: flex; height: 60px; max-width: 640px; border-radius: 14px; overflow: hidden; background: rgba(14, 16, 24, 0.08); }
.split__ai { width: 0; background: var(--ink); color: var(--cream); display: flex; align-items: center; transition: width 1.4s var(--ease) 0.5s; }
.split__human { flex: 1; display: flex; align-items: center; justify-content: flex-end; color: var(--muted-ink); }
.split span { padding: 0 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.scene.is-on .split__ai { width: 80%; }

/* 1,000 dots — one per conversation */
.scene:has(.dots) { display: grid; grid-template-columns: 1.05fr 1fr; align-content: center; column-gap: clamp(24px, 4vw, 64px); }
.scene:has(.dots) > .ln { grid-column: 1; }
.scene:has(.dots) > .ln:has(.dots) { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.dots { display: grid; grid-template-columns: repeat(40, 1fr); gap: 4px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(14, 16, 24, 0.1); transition: background 0.5s ease; }
.scene.is-on .dots i { background: var(--ink); transition-delay: var(--d); }

.scene__cols { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.scene__photo { border-radius: 18px; overflow: hidden; }
.scene__photo img { width: 100%; height: min(46vh, 420px); object-fit: cover; object-position: 40% 50%; }

.next-link { margin-top: 40px; align-self: flex-start; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

@media (max-width: 760px) {
  .tile { height: 78vh; border-radius: 22px; }
  .tile__bar { padding: 16px 20px; font-size: 11px; }
  .tile__progress { margin: 0 20px; }
  .tile__scenes { inset: 52px 0 0 0; }
  .scene .big { font-size: clamp(28px, 8vw, 38px); }
  .scene--title .big { font-size: clamp(32px, 9.5vw, 44px); }
  .scene .mega { font-size: 27vw; }
  .chips { display: none; }
  .scene:has(.dots) { display: flex; }
  .dots { margin-top: 24px; grid-template-columns: repeat(40, 1fr); gap: 2px; }
  .scene__cols { grid-template-columns: 1fr; }
  .scene__photo img { height: 24vh; }
  .split { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .story { height: auto !important; }
  .story__stage { position: relative; height: auto; display: block; padding-top: 24px; padding-bottom: 48px; }
  .rail, .story__bgnum, .story__hint, .tile__bar, .tile__progress { display: none; }
  .tile { height: auto; }
  .tile__scenes { position: relative; inset: auto; }
  .scene, .scene .ln { position: relative; opacity: 1; transform: none; filter: none; transition: none; }
  .scene + .scene { border-top: 1px solid var(--line-ink); }
  .split__ai { width: 80%; }
  .dots i { background: var(--ink); }
}
@media (max-width: 760px) { .scene:has(.dots) .ln:has(.dots) { display: none; } }

/* --- Story v2: Vienna drone footage, red thread, denser scenes --- */
.story__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.story__shade {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--navy) 0%, rgba(14, 16, 24, 0.55) 18%, rgba(14, 16, 24, 0.55) 82%, var(--navy) 100%),
    rgba(14, 16, 24, 0.35);
}
.rail, .tile, .story__hint { z-index: 1; }
.rail__label, .rail__label small { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.tile { background: rgba(243, 242, 239, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* Red thread: three beats shown in every scene header */
.beats { display: flex; gap: 6px; list-style: none; }
.beats li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  color: var(--muted-ink); border: 1px solid transparent;
  transition: all 0.5s var(--ease);
}
.beats li span { font-weight: 600; }
.beats li.is-done { color: var(--ink); }
.beats li.is-on { background: var(--ink); color: var(--cream); }
.beats li + li::before { content: '→'; margin-right: 6px; color: rgba(14, 16, 24, 0.3); }
.beats li.is-on + li::before, .beats li + li.is-on::before { color: rgba(14, 16, 24, 0.3); }

.brandrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-ink); }
.scene__logo { width: 40px; height: auto; }
.facts3 { display: flex; gap: clamp(20px, 4vw, 64px); margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-ink); max-width: 720px; }
.facts3 dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts3 dd { margin-top: 6px; font-size: 13px; color: var(--muted-ink); }

.scene:has(.fails) { padding-top: 28px; padding-bottom: 28px; }
.scene .big--xs { font-size: clamp(24px, 2.4vw, 36px); max-width: none; }
.fails { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.fail {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px;
  padding: 16px 18px 16px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line-ink);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.8s var(--ease);
}
.scene.is-on .fail { opacity: 1; transform: none; transition-delay: calc(0.5s + var(--f) * 0.16s); }
.fail__n { font-family: var(--font-display); font-weight: 300; font-size: 28px; line-height: 1; letter-spacing: -0.04em; color: rgba(14, 16, 24, 0.35); }
.fail__t { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; margin-bottom: 8px; }
.fail__row { display: grid; grid-template-columns: 68px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; padding: 6px 0; }
.fail__row span {
  align-self: start;
  justify-self: start;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
}
.fail__row--p { color: rgba(14, 16, 24, 0.66); border-top: 1px solid var(--line-ink); }
.fail__row--p span { background: rgba(14, 16, 24, 0.07); color: var(--muted-ink); }
.fail__row--s { color: var(--ink); font-weight: 500; }
.fail__row--s span { background: var(--ink); color: var(--cream); }

@media (max-width: 760px) {
  .beats li { padding: 4px 8px; font-size: 10px; }
  .beats li:not(.is-on) { display: none; }
  .beats li + li::before { display: none; }
  .fails { grid-template-columns: 1fr; gap: 6px; margin-top: 14px; }
  .fail { grid-template-columns: 30px 1fr; padding: 10px 12px 8px 10px; }
  .fail__n { font-size: 20px; }
  .fail__t { font-size: 16px; margin-bottom: 2px; }
  .fail__row--p { display: none; }
  .fail__row { grid-template-columns: 1fr; gap: 0; font-size: 13px; padding: 2px 0; }
  .fail__row span { display: none; }
  .facts3 { gap: 18px; }
  .facts3 dt { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .story__video { display: none; } .fail { opacity: 1; transform: none; } }
.scene:has(.fails) { justify-content: flex-start; }
@media (min-width: 761px) and (max-height: 960px) {
  .tile { height: min(700px, 86vh); }
  .scene:has(.fails) { padding-top: 18px; }
  .scene:has(.fails) .kicker { margin-bottom: 10px; }
  .scene .big--xs { font-size: 26px; }
  .fails { margin-top: 14px; gap: 10px; }
  .fail { padding: 12px 16px 10px 12px; }
  .fail__t { font-size: 17px; margin-bottom: 4px; }
  .fail__row { font-size: 12.5px; line-height: 1.4; padding: 4px 0; }
}

/* Learnings as a comparison: failing vs. successful AI projects */
.scene:has(.vs) { justify-content: center; padding-top: 24px; padding-bottom: 24px; }
.vs { position: relative; margin-top: 22px; display: grid; grid-template-columns: 150px 1fr 1fr; }
.vs::after {
  /* dark panel behind the success column */
  content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: calc((100% - 150px) / 2);
  background: var(--ink); border-radius: 18px; z-index: 0;
}
.vs__head, .vs__row { display: contents; }
.vs__head > *, .vs__row > * { position: relative; z-index: 1; }
.vs__h { padding: 16px 22px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.vs__h--bad { color: var(--muted-ink); }
.vs__h--good { color: var(--cream); }
.vs__topic, .vs__bad, .vs__good {
  padding: 14px 22px;
  border-top: 1px solid var(--line-ink);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.8s var(--ease);
}
.scene.is-on .vs__row > * { opacity: 1; transform: none; transition-delay: calc(0.5s + var(--f) * 0.15s); }
.vs__topic { padding-left: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.vs__topic i { display: block; font-style: normal; font-weight: 300; font-size: 13px; color: var(--muted-ink); letter-spacing: 0; margin-bottom: 2px; }
.vs__bad { font-size: 16px; line-height: 1.45; color: rgba(14, 16, 24, 0.55); text-decoration: line-through; text-decoration-color: rgba(14, 16, 24, 0.25); }
.vs__good { font-size: 16px; line-height: 1.45; font-weight: 500; color: var(--cream); border-top-color: rgba(243, 242, 239, 0.12); }
@media (min-width: 761px) and (max-height: 960px) {
  .vs__topic, .vs__bad, .vs__good { padding-top: 10px; padding-bottom: 10px; }
  .vs__bad, .vs__good { font-size: 14.5px; }
  .vs__topic { font-size: 18px; }
}
@media (max-width: 760px) {
  .vs { grid-template-columns: 1fr; margin-top: 14px; }
  .vs::after, .vs__head { display: none; }
  .vs__row { display: block; margin-bottom: 8px; }
  .vs__topic, .vs__bad, .vs__good { border: none; padding: 0; }
  .vs__row { border-top: 1px solid var(--line-ink); padding-top: 8px; }
  .vs__topic { display: flex; gap: 8px; align-items: baseline; font-size: 16px; }
  .vs__topic i { font-size: 12px; margin: 0; }
  .vs__bad { font-size: 13px; margin-top: 2px; }
  .vs__good { font-size: 13px; margin-top: 4px; padding: 6px 10px; border-radius: 10px; background: var(--ink); }
}
@media (max-width: 760px) {
  .scene:has(.vs) { justify-content: flex-start; padding-top: 18px; }
  .vs__bad { display: none; }
  .vs__row { margin-bottom: 6px; }
}

/* Learnings headline: the scene's main statement */
.learn-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.learn-sub { margin-top: 12px; font-size: clamp(15px, 1.3vw, 19px); color: rgba(14, 16, 24, 0.6); }
.learn-sub b { color: var(--ink); font-weight: 600; }
@media (min-width: 761px) and (max-height: 960px) { .learn-title { font-size: 36px; } .learn-sub { font-size: 15px; margin-top: 8px; } }
@media (max-width: 760px) { .learn-title { font-size: 30px; } .learn-sub { font-size: 14px; } }

/* ====================================================
   Mein Weg v3: overview map → zoom into each station
   ==================================================== */
.story .rail { display: none; }
@media (min-width: 1100px) { .story__stage { padding-left: var(--pad); } }

.map {
  position: absolute;
  left: 50%; top: 50%;
  width: min(1280px, 88vw, 150vh);
  aspect-ratio: 1000 / 520;
  margin-left: calc(min(1280px, 88vw, 150vh) / -2);
  margin-top: calc(min(1280px, 88vw, 150vh) * -0.3);
  z-index: 1;
  color: rgba(243, 242, 239, 0.35);
  transition: transform 1.1s var(--ease), opacity 0.8s var(--ease), filter 0.8s var(--ease);
}
.stage-placeholder {}
#stage.is-zoom .map { opacity: 0.18; filter: blur(2px); }
.map__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__path {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 0.012 0.018; vector-effect: non-scaling-stroke;
  transition: color 0.6s ease;
}
/* segments light up as the story progresses */
.map[data-lit="1"] .map__path[data-seg="1"],
.map[data-lit="2"] .map__path[data-seg="1"], .map[data-lit="2"] .map__path[data-seg="2"],
.map[data-lit="3"] .map__path {
  color: var(--brand);
  stroke-dasharray: 1 0;
  animation: segDraw 1.2s var(--ease) both;
}
@keyframes segDraw { from { stroke-dasharray: 0 1; } to { stroke-dasharray: 1 0; } }

.node {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 0 clamp(10px, 1.6vw, 22px);
  border-radius: clamp(10px, 1.4vw, 20px);
  border: 1.5px solid rgba(243, 242, 239, 0.28);
  background: rgba(14, 16, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease, transform 0.5s var(--ease);
}
.node:hover { transform: translateY(-3px); }
.node.is-next { border-color: var(--brand); box-shadow: 0 0 0 6px rgba(228, 231, 236, 0.08), 0 20px 50px -20px rgba(0, 0, 0, 0.8); }
.node.is-done { background: rgba(243, 242, 239, 0.92); color: var(--ink); border-color: transparent; }
.node__year {
  position: absolute; left: 4px; bottom: calc(100% + 6px);
  font-size: clamp(10px, 1vw, 14px); letter-spacing: 0.06em; color: var(--muted); white-space: nowrap;
}
.node__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(14px, 1.9vw, 26px); letter-spacing: -0.03em; line-height: 1.05; }
.node__role { font-size: clamp(9px, 0.95vw, 13px); line-height: 1.3; opacity: 0.7; }
.node__logo { width: clamp(16px, 2vw, 26px); height: auto; margin-bottom: 2px; }
.node.is-done .node__role { opacity: 0.6; }
.map__today {
  position: absolute; left: 89%; top: 40.4%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 300; font-size: clamp(16px, 2.2vw, 30px); letter-spacing: -0.03em; color: var(--muted);
  transition: color 0.6s ease;
}
.map[data-lit="3"] .map__today { color: var(--text); font-weight: 700; }

/* Text-based AdVenture wordmark (until the logo file is supplied) */
.advlogo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.advlogo b { font-family: var(--font-display); font-weight: 800; font-size: clamp(14px, 1.9vw, 26px); letter-spacing: -0.03em; }
.advlogo small { font-size: 0.42em; letter-spacing: 0.42em; margin-top: 3px; font-size: clamp(6px, 0.6vw, 9px); }

.map__caps { position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 90px); z-index: 1; text-align: center; pointer-events: none; }
.map__cap {
  position: absolute; left: 50%; bottom: 0; width: min(760px, 90vw); transform: translate(-50%, 16px);
  font-size: clamp(17px, 1.7vw, 24px); color: var(--muted); opacity: 0;
  transition: opacity 0.6s ease, transform 0.8s var(--ease);
}
.map__cap b { color: var(--text); font-weight: 600; }
.map__cap.is-on { opacity: 1; transform: translate(-50%, 0); transition-delay: 0.3s; }
#stage.is-zoom .map__caps { opacity: 0; }

/* Tile only exists while zoomed in */
.tile { z-index: 2; transition: opacity 0.5s ease, transform 0.9s var(--ease); }
#stage.is-map .tile { opacity: 0; transform: scale(0.35); pointer-events: none; transition-delay: 0s; }
#stage.is-zoom .tile { opacity: 1; transform: none; transition-delay: 0.45s, 0.35s; }
.scene--map { display: none; }
.tile__station { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; letter-spacing: 0.14em; }
.tile__logo { height: 22px; width: auto; }
.tile__logo.advlogo { height: auto; color: var(--ink); }
.tile__logo.advlogo b { font-size: 18px; letter-spacing: -0.02em; }
.tile__logo.advlogo small { font-size: 6px; }
.tile .advlogo[hidden], .tile__logo[hidden] { display: none; }

.autos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.autos li {
  padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line-ink);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.8s var(--ease);
}
.scene.is-on .autos li { opacity: 1; transform: none; transition-delay: calc(0.5s + var(--f) * 0.14s); }
.autos b { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.03em; }
.autos b::before { content: '✓ '; color: rgba(14, 16, 24, 0.4); }
.autos span { font-size: 14px; line-height: 1.45; color: rgba(14, 16, 24, 0.65); }
.scene .mega--sm { font-size: clamp(52px, 6.6vw, 104px); white-space: nowrap; }
.mega__arrow { font-weight: 300; color: rgba(14, 16, 24, 0.35); }

@media (max-width: 1000px) { .autos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .map { width: 96vw; margin-left: -48vw; margin-top: -25vw; }
  .node { padding: 0 6px; border-radius: 8px; gap: 1px; }
  .node__role { display: none; }
  .node__year { font-size: 9px; bottom: calc(100% + 3px); }
  .node__name, .advlogo b { font-size: 12px; }
  .map__today { font-size: 13px; }
  .map__cap { font-size: 16px; }
  .autos { grid-template-columns: 1fr; gap: 6px; margin-top: 14px; }
  .autos li { padding: 10px 12px; }
  .autos span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .map { transform: none !important; opacity: 1 !important; filter: none !important; position: relative; left: auto; top: auto; margin: 0 auto 24px; }
  .map__caps, .scene--map { display: none; }
  #stage.is-map .tile, #stage.is-zoom .tile { opacity: 1; transform: none; }
}

.tile__station:has(.advlogo:not([hidden])) .tile__name { display: none; }
@media (max-width: 760px) { .scene .mega--sm { font-size: 13vw; } }
.tile__bar .advlogo { text-transform: none; }

/* ====================================================
   Mein Weg v4: scroll-scrubbed map zoom + normally scrolling stations
   ==================================================== */
.mapzoom { position: relative; height: 240vh; }
.mapzoom[data-from=""] { height: 220vh; }
.mapzoom[data-to=""] { height: 170vh; }
.mapzoom__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--navy); }
.mapzoom .map { transition: none; will-change: transform, opacity; }
.mapzoom .map__path { animation: none; }
.mapzoom.is-lit .map[data-lit="1"] .map__path[data-seg="1"],
.mapzoom.is-lit .map[data-lit="2"] .map__path[data-seg="1"], .mapzoom.is-lit .map[data-lit="2"] .map__path[data-seg="2"],
.mapzoom.is-lit .map[data-lit="3"] .map__path { animation: segDraw 0.9s var(--ease) both; }
.mapzoom:not(.is-lit) .map__path { color: rgba(243, 242, 239, 0.35); stroke-dasharray: 0.012 0.018; }
.mapzoom:not(.is-lit) .map[data-lit="2"] .map__path[data-seg="1"],
.mapzoom:not(.is-lit) .map[data-lit="3"] .map__path[data-seg="1"],
.mapzoom:not(.is-lit) .map[data-lit="3"] .map__path[data-seg="2"] { color: var(--brand); stroke-dasharray: 1 0; }

.mapzoom__cap {
  position: absolute; left: 50%; bottom: clamp(36px, 9vh, 90px); transform: translate(-50%, 12px);
  width: min(760px, 90vw); text-align: center;
  font-size: clamp(17px, 1.7vw, 24px); color: var(--muted);
  opacity: 0; transition: opacity 0.35s ease, transform 0.45s var(--ease);
}
.mapzoom__cap b { color: var(--text); font-weight: 600; }
.mapzoom.is-cap .mapzoom__cap { opacity: 1; transform: translate(-50%, 0); }
.mapzoom__cta { display: inline-block; margin-top: 18px; font-size: 16px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--text); }

/* Station: normal scrolling content over the video */
.stn { position: relative; padding: 18vh 0 22vh; }
.stn__bg { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; overflow: hidden; z-index: 0; }
.stn__bg video { width: 100%; height: 100%; object-fit: cover; }
.stn__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(14, 16, 24, 0.55) 22%, rgba(14, 16, 24, 0.55) 78%, var(--navy) 100%), rgba(14, 16, 24, 0.3);
}
.stn::before, .stn::after {
  /* solid navy at both ends so the map blocks meet a plain background */
  content: ''; position: absolute; left: 0; right: 0; height: 18vh; z-index: 1; pointer-events: none;
}
.stn::before { top: 0; background: linear-gradient(var(--navy), transparent); }
.stn::after { bottom: 0; background: linear-gradient(transparent, var(--navy)); }
.stn__chip {
  position: relative; z-index: 3;
  width: max-content; margin: 0 auto 6vh;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(243, 242, 239, 0.94); color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.stn__chip small { font-weight: 400; color: var(--muted-ink); letter-spacing: 0.04em; }
.stn__logo { height: 20px; width: auto; }
.stn__chip .advlogo b { font-size: 17px; }
.stn__chip .advlogo small { font-size: 6px; color: var(--ink); }
.stn__chip span:empty { display: none; }
.stn__panels { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6vh; padding: 0 var(--pad); }

.panel.scene {
  position: relative; inset: auto;
  width: min(1060px, 100%); margin: 0 auto;
  min-height: min(560px, 70vh);
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: 28px;
  background: rgba(243, 242, 239, 0.95);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
  opacity: 1; transform: none; filter: none; pointer-events: auto;
  transition: none;
}
.panel.scene .ln { transition: opacity 0.45s ease, transform 0.55s var(--ease); }
.panel.scene.is-on .ln { transition-delay: calc(var(--k) * 0.07s); }
.panel.scene.is-on .vs__row > *, .panel.scene.is-on .autos li { transition-delay: calc(0.2s + var(--f) * 0.08s); }
.panel.scene.is-on .split__ai { transition-delay: 0.2s; }

@media (max-width: 760px) {
  .mapzoom .map { width: 96vw; margin-left: -48vw; margin-top: -25vw; }
  .panel.scene { min-height: 0; border-radius: 20px; padding: 26px 22px; }
  .stn { padding: 14vh 0 18vh; }
}
@media (prefers-reduced-motion: reduce) {
  .mapzoom { height: auto; }
  .mapzoom__stage { position: relative; height: auto; padding: 48px 0; }
  .mapzoom .map { position: relative; left: auto; top: auto; margin: 0 auto; }
  .mapzoom__cap { position: relative; left: auto; bottom: auto; transform: none; opacity: 1; margin: 24px auto 0; }
  .stn__bg video { display: none; }
  .panel.scene .ln { opacity: 1; transform: none; }
}

/* ====================================================
   Mein Weg v5: each station is a card deck swapped by scroll
   ==================================================== */
.stn { padding: 0; height: calc(var(--n) * 85vh + 60vh); }
.stn::before, .stn::after { display: none; }
.stn__stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; perspective: 1600px; }
.stn__stage .stn__bg { position: absolute; inset: 0; height: auto; margin: 0; }
.stn__stage .stn__chip { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); margin: 0; }
.stn__deck { position: absolute; inset: 0; transform-style: preserve-3d; }
.stn__deck .panel.scene {
  position: absolute; left: 50%; top: 52%;
  width: min(1060px, calc(100% - 2 * var(--pad)));
  min-height: 0; height: min(600px, 72vh); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}
.stn__deck .panel.scene:has(.vs) { justify-content: flex-start; }
.stn__dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 20; }
.stn__dots i { width: 28px; height: 3px; border-radius: 2px; background: rgba(243, 242, 239, 0.25); transition: background 0.3s ease, width 0.3s var(--ease); }
.stn__dots i.is-on { background: var(--brand); width: 44px; }
@media (max-width: 760px) {
  .stn__deck .panel.scene { height: 74vh; top: 53%; }
}
@media (prefers-reduced-motion: reduce) {
  .stn { height: auto; }
  .stn__stage { position: relative; height: auto; overflow: visible; padding: 90px 0 60px; }
  .stn__deck { position: relative; display: flex; flex-direction: column; gap: 24px; }
  .stn__deck .panel.scene { position: relative; left: auto; top: auto; transform: none; height: auto; margin: 0 auto; }
  .stn__dots { display: none; }
}

/* Rotating role in the hero */
/* Typewriter cursor in the 'Mein Weg' title: inherits font, size and colour */
.way-typer::after { content: '|'; margin-left: 0.04em; animation: blink 1s infinite; }
@media (prefers-reduced-motion: reduce) { .way-typer::after { display: none; } }

/* ====================================================
   Flow chart v2: hairline connectors, glass nodes, light pulses
   ==================================================== */
.mapzoom__stage {
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(40, 46, 66, 0.55) 0%, transparent 70%),
    radial-gradient(circle, rgba(243, 242, 239, 0.07) 1px, transparent 1.2px) 0 0 / 28px 28px,
    var(--navy);
}
.map__lines .map__path {
  stroke-width: 1.25; stroke-dasharray: none !important; animation: none !important;
  stroke: rgba(243, 242, 239, 0.14); fill: none; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map__path--glow { stroke-width: 6 !important; opacity: 0; filter: url(#soft); }
.map__joint { fill: var(--navy); stroke: rgba(243, 242, 239, 0.28); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.map__pulse { fill: #fff; opacity: 0; filter: drop-shadow(0 0 4px #fff); }
.map__end { fill: rgba(243, 242, 239, 0.35); }
.map__end-halo { fill: none; stroke: rgba(243, 242, 239, 0.2); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }

/* lit segments: platinum line, soft glow, travelling light */
.mapzoom.is-lit .map[data-lit="1"] [data-seg="1"],
.mapzoom.is-lit .map[data-lit="2"] [data-seg="1"], .mapzoom.is-lit .map[data-lit="2"] [data-seg="2"],
.mapzoom.is-lit .map[data-lit="3"] [data-seg] { --on: 1; }
.map [data-seg] { --on: 0; }
.mapzoom .map__path:not(.map__path--glow) { stroke: rgba(243, 242, 239, calc(0.14 + var(--on) * 0.86)); transition: stroke 0.8s ease; }
.mapzoom .map__path--glow { stroke: rgba(220, 228, 245, 0.55); opacity: calc(var(--on) * 0.7); transition: opacity 0.8s ease; }
.mapzoom .map__pulse { opacity: calc(var(--on) * 0.95); transition: opacity 0.8s ease; }
.mapzoom.is-lit .map[data-lit="3"] .map__end { fill: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); }
.mapzoom.is-lit .map[data-lit="3"] .map__end-halo { animation: halo 2.4s ease-out infinite; stroke: rgba(255, 255, 255, 0.5); }
@keyframes halo { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* nodes: dark glass with a hairline gradient border */
.mapzoom .node {
  padding: clamp(10px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px);
  justify-content: space-between;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: clamp(12px, 1.3vw, 18px);
  background:
    linear-gradient(160deg, rgba(38, 43, 60, 0.92), rgba(18, 21, 31, 0.92)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.14)) border-box;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.mapzoom .node:hover { transform: translateY(-3px); }
.mapzoom .node.is-next {
  background:
    linear-gradient(160deg, rgba(44, 50, 70, 0.95), rgba(20, 23, 34, 0.95)) padding-box,
    linear-gradient(160deg, #fff, rgba(201, 206, 216, 0.4) 50%, #fff) border-box;
  box-shadow: 0 0 0 6px rgba(228, 231, 236, 0.05), 0 0 40px -6px rgba(220, 228, 245, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.mapzoom .node.is-done { color: var(--text); }
.mapzoom .node.is-done .node__no::after { content: ' ✓'; color: var(--brand); }
.node__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mapzoom .node__year { position: static; font-size: clamp(9px, 0.85vw, 12px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.node__no { font-family: var(--font-display); font-weight: 300; font-size: clamp(11px, 1.1vw, 16px); color: var(--silver); }
.node__brand { display: flex; align-items: center; gap: clamp(6px, 0.7vw, 10px); }
.mapzoom .node__logo { width: clamp(14px, 1.6vw, 22px); margin: 0; }
.mapzoom .node__name { font-size: clamp(14px, 1.9vw, 26px); }
.mapzoom .node__role { font-size: clamp(9px, 0.9vw, 12.5px); opacity: 1; color: var(--muted); }
.mapzoom .node--big .node__name { font-size: clamp(16px, 2.3vw, 32px); }
.mapzoom .advlogo { color: var(--text); }
.mapzoom .map__today {
  left: 89.8%; top: 40.4%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 2px;
  font-size: inherit; color: var(--text);
}
.map__today b { font-family: var(--font-display); font-weight: 700; font-size: clamp(14px, 1.8vw, 24px); letter-spacing: -0.03em; }
.map__today span { font-size: clamp(8px, 0.8vw, 11px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .mapzoom .node { padding: 5px 7px; border-radius: 8px; }
  .mapzoom .node__role, .mapzoom .node__year { display: none; }
  .mapzoom .node__name, .mapzoom .advlogo b { font-size: 11px; }
  .map__today span { display: none; }
  .map__today b { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .map__pulse { display: none; } }
.learn-sub { max-width: 62ch; line-height: 1.45; }
.stn__deck .panel.scene:has(.vs) { height: min(720px, 84vh); top: 54%; padding-top: clamp(22px, 3.5vh, 44px); padding-bottom: 16px; }
@media (min-width: 761px) and (max-height: 800px) {
  .stn__deck .panel.scene:has(.vs) .learn-title { font-size: 30px; }
  .stn__deck .panel.scene:has(.vs) .learn-sub { font-size: 14px; margin-top: 6px; }
  .stn__deck .panel.scene:has(.vs) .vs { margin-top: 12px; }
  .stn__deck .panel.scene:has(.vs) .vs__h { padding-top: 10px; padding-bottom: 8px; }
  .stn__deck .panel.scene:has(.vs) .vs__topic, .stn__deck .panel.scene:has(.vs) .vs__bad, .stn__deck .panel.scene:has(.vs) .vs__good { padding-top: 7px; padding-bottom: 7px; font-size: 13.5px; }
  .stn__deck .panel.scene:has(.vs) .vs__topic { font-size: 16px; }
}
.stn__deck .panel.scene:has(.vs) { justify-content: center; height: auto; max-height: 86vh; padding-top: clamp(28px, 4.5vh, 52px); padding-bottom: clamp(28px, 4.5vh, 52px); }
.node__advlogo { height: clamp(14px, 1.7vw, 24px); width: auto; display: block; }
.stn__chip .stn__logo--adv { height: 22px; }
@media (max-width: 760px) { .node__advlogo { height: 9px; } }
.scene__advlogo { height: clamp(34px, 4vw, 56px); width: auto; margin-bottom: 26px; }
/* All cards in a station deck share one size */
.stn__deck .panel.scene,
.stn__deck .panel.scene:has(.vs) { height: min(680px, 84vh); max-height: none; top: 53%; justify-content: center; }

/* Selbstständig: what the AI runs — a compact system panel */
.sysgrid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.sysgrid .big { max-width: 13ch; }
.sys { background: var(--ink); color: var(--cream); border-radius: 22px; padding: 10px 0 0; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.sys__h { display: flex; justify-content: space-between; padding: 12px 26px 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243, 242, 239, 0.45); }
.sys__list { list-style: none; }
.sys__row, .sys__qc {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  min-height: 76px; padding: 0 26px; border-top: 1px solid rgba(243, 242, 239, 0.1);
}
.sys__row { opacity: 0; transform: translateX(14px); transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.scene.is-on .sys__row { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--f) * 0.09s); }
.sys__n { font-family: var(--font-display); font-weight: 300; font-size: 15px; color: rgba(243, 242, 239, 0.4); }
.sys__t { display: flex; flex-direction: column; gap: 3px; }
.sys__t b { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.sys__t small { font-size: 13.5px; color: rgba(243, 242, 239, 0.55); }
.sys__s {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(243, 242, 239, 0.08); color: rgba(243, 242, 239, 0.8);
}
.sys__s i { width: 6px; height: 6px; border-radius: 50%; background: #7EE2A8; box-shadow: 0 0 8px rgba(126, 226, 168, 0.9); animation: pulse 2s ease-in-out infinite; }
.sys__qc { background: var(--cream); color: var(--ink); border-top: none; margin-top: 2px; }
.sys__qc .sys__n { color: rgba(14, 16, 24, 0.4); }
.sys__qc .sys__t small { color: rgba(14, 16, 24, 0.55); }
.sys__s--me { background: var(--ink); color: var(--cream); }
@media (min-width: 761px) and (max-height: 800px) { .sys__row, .sys__qc { min-height: 60px; } .sys__t b { font-size: 17px; } }
@media (max-width: 900px) {
  .sysgrid { grid-template-columns: 1fr; gap: 18px; }
  .sys__row, .sys__qc { min-height: 54px; padding: 0 16px; grid-template-columns: 28px 1fr auto; }
  .sys__h { padding: 8px 16px; }
  .sys__t b { font-size: 15px; }
  .sys__t small { display: none; }
}
.sys__row, .sys__qc { height: 72px; min-height: 0; }
.sys__t b, .sys__t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 761px) and (max-height: 800px) { .sys__row, .sys__qc { height: 60px; } }
@media (max-width: 900px) { .sys__row, .sys__qc { height: 52px; } }
/* Learnings headline uses the same scale as the other cards' headlines */
.scene .big.learn-title { font-size: clamp(32px, 4.3vw, 66px); max-width: none; line-height: 1.03; }
@media (min-width: 761px) and (max-height: 960px) { .scene .big.learn-title { font-size: clamp(32px, 4.3vw, 66px); } }
@media (max-width: 760px) { .scene .big.learn-title { font-size: clamp(28px, 8vw, 38px); } }
.stn__deck .panel.scene:has(.vs) .vs__topic, .stn__deck .panel.scene:has(.vs) .vs__bad, .stn__deck .panel.scene:has(.vs) .vs__good { padding-top: 9px; padding-bottom: 9px; }
.stn__deck .panel.scene:has(.vs) .big.learn-title { font-size: clamp(32px, 4.3vw, 66px); }
@media (max-width: 760px) {
  .stn__deck .panel.scene:has(.vs) .big.learn-title { font-size: clamp(28px, 8vw, 38px); }
  .stn__deck .panel.scene,
  .stn__deck .panel.scene:has(.vs) { height: min(740px, 86vh); }
}
@media (max-width: 760px) {
  .stn__deck .panel.scene:has(.vs) .vs__topic, .stn__deck .panel.scene:has(.vs) .vs__good { padding-top: 0; padding-bottom: 0; }
  .stn__deck .panel.scene:has(.vs) .vs__good { padding: 6px 10px; }
}
/* AdVenture: time-split bars inside the system panel */
.tb { padding: 16px 26px 18px; border-top: 1px solid rgba(243, 242, 239, 0.1); }
.tb__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.tb__label b { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.tb__label span { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.04em; }
.tb__bar { position: relative; display: flex; height: 38px; border-radius: 10px; overflow: hidden; background: rgba(243, 242, 239, 0.08); }
.tb__bar i {
  display: flex; align-items: center; padding-left: 12px; width: 0; flex-shrink: 0;
  font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--platinum); color: var(--ink); white-space: nowrap; overflow: hidden;
  transition: width 1.1s var(--ease);
}
.tb__bar span { flex: 1; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(243, 242, 239, 0.5); white-space: nowrap; }
.scene.is-on .tb__bar i { width: var(--w); transition-delay: calc(0.35s + var(--f) * 0.25s); }
.scene__advlogo { margin-bottom: 22px; }
@media (min-width: 761px) and (max-height: 800px) { .tb { padding: 10px 26px 12px; } .tb__bar { height: 30px; } .tb__label span { font-size: 22px; } }
@media (max-width: 900px) { .tb { padding: 10px 16px 12px; } .tb__bar { height: 28px; } .tb__bar span { display: none; } .tb__label span { font-size: 20px; } .tb__label b { font-size: 14px; } .scene__advlogo { height: 30px; margin-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .tb__bar i { width: var(--w); } }
.sysgrid .big, .scene--title .sysgrid .big { font-size: clamp(30px, 3.4vw, 50px); max-width: 14ch; }
.sysgrid .next-link { margin-top: 26px; display: inline-block; }
@media (max-width: 900px) { .sysgrid .big, .scene--title .sysgrid .big { font-size: clamp(28px, 8vw, 36px); } }

/* Editorial lists instead of UI panels: type, hairlines, nothing else */
.ed { border-left: 1px solid var(--line-ink); padding-left: clamp(24px, 3vw, 48px); }
.ed__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 10px; }
.ed__label--me { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ink); }
.ed__list { list-style: none; }
.ed__list li {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(22px, 2.3vw, 34px); line-height: 1.22; letter-spacing: -0.035em;
  color: rgba(14, 16, 24, 0.45);
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.scene.is-on .ed__list li { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--f) * 0.08s); }
.ed__me { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.2vw, 48px); line-height: 1; letter-spacing: -0.045em; color: var(--ink); }
.ed__sub { margin-top: 10px; font-size: 15px; color: var(--muted-ink); }

.ed--stat .ed__label { margin-bottom: 18px; }
.ed__stat { display: flex; align-items: baseline; gap: 0.25em; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.06em; line-height: 0.9; }
.ed__before { font-size: clamp(54px, 6vw, 96px); font-weight: 300; color: rgba(14, 16, 24, 0.35); }
.ed__arrow { font-size: clamp(28px, 3vw, 48px); font-weight: 300; color: rgba(14, 16, 24, 0.35); }
.ed__after { font-size: clamp(72px, 8vw, 132px); color: var(--ink); }
.ed__scale { position: relative; margin-top: 22px; height: 18px; }
.ed__w { position: absolute; left: 0; height: 1px; width: 0; transition: width 1.1s var(--ease); }
.ed__w--b { top: 2px; background: rgba(14, 16, 24, 0.3); }
.ed__w--a { top: 12px; height: 3px; background: var(--ink); }
.scene.is-on .ed__w--b { width: 70%; transition-delay: 0.3s; }
.scene.is-on .ed__w--a { width: 30%; transition-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) { .ed__w--b { width: 70%; } .ed__w--a { width: 30%; } }
@media (min-width: 761px) and (max-height: 800px) { .ed__list li { font-size: 22px; } .ed__me { font-size: 30px; } .ed__label--me { margin-top: 16px; padding-top: 14px; } }
@media (max-width: 900px) {
  .ed { border-left: none; padding-left: 0; border-top: 1px solid var(--line-ink); padding-top: 14px; }
  .ed__list li { font-size: 19px; }
  .ed__me { font-size: 26px; }
  .ed__label--me { margin-top: 12px; padding-top: 12px; }
  .ed__sub { font-size: 13px; }
}
.ed__stat { white-space: nowrap; }
.ed__before { font-size: clamp(44px, 4.6vw, 76px); }
.ed__after { font-size: clamp(60px, 6.4vw, 108px); }
@media (max-width: 900px) { .ed__before { font-size: 40px; } .ed__after { font-size: 58px; } .ed__arrow { font-size: 24px; } }

/* Hub diagram: inputs flow into one result (Selbstständig, AdVenture) */
.hub { background: #fff; border: 1px solid var(--line-ink); border-radius: 22px; padding: 18px 22px 22px; box-shadow: 0 24px 50px -30px rgba(14, 16, 24, 0.35); }
.hub__head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 14px; }
.hub__body { display: grid; grid-template-columns: minmax(0, 1.35fr) 0.55fr minmax(0, 1fr); align-items: stretch; }
.hub__ins { list-style: none; display: grid; gap: 8px; }
.hub__in {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 14px; background: var(--cream); border: 1px solid var(--line-ink);
  opacity: 0; transform: translateX(-10px); transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.scene.is-on .hub__in { opacity: 1; transform: none; transition-delay: calc(0.2s + var(--f) * 0.08s); }
.hub__in span { display: flex; flex-direction: column; min-width: 0; }
.hub__in b { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.02em; line-height: 1.15; }
.hub__in small { font-size: 12.5px; color: var(--muted-ink); }
.ic { width: 34px; height: 34px; flex-shrink: 0; padding: 7px; border-radius: 10px; background: #fff; border: 1px solid var(--line-ink); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hub__lines { width: 100%; height: 100%; overflow: visible; }
.hub__lines path { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.35; transition: stroke-dashoffset 0.9s var(--ease); }
.scene.is-on .hub__lines path { stroke-dashoffset: 0; transition-delay: calc(0.5s + var(--f) * 0.08s); }
.hub__out {
  align-self: center; display: flex; flex-direction: column; gap: 6px;
  padding: 20px; border-radius: 18px; background: var(--ink); color: var(--cream);
  box-shadow: 0 20px 40px -20px rgba(14, 16, 24, 0.6);
  opacity: 0; transform: scale(0.94); transition: opacity 0.5s ease, transform 0.7s var(--ease);
}
.scene.is-on .hub__out { opacity: 1; transform: none; transition-delay: 0.85s; }
.hub__out .ic { background: rgba(243, 242, 239, 0.1); border-color: rgba(243, 242, 239, 0.2); stroke: var(--cream); margin-bottom: 6px; }
.hub__out b { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.03em; line-height: 1.05; }
.hub__out small { font-size: 13px; color: rgba(243, 242, 239, 0.65); }
.hub__logo { height: 18px; width: auto; align-self: flex-start; margin-bottom: 8px; }

/* A workday as 10 blocks */
.day { margin-top: 14px; }
.day__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.day__label b { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }
.day__label span { font-size: 13px; color: var(--muted-ink); }
.day__blocks { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.day__blocks i, .day__legend i { display: block; height: 42px; border-radius: 8px; background: var(--cream); border: 1px solid var(--line-ink); }
.day__blocks i.is-org { background: var(--ink); border-color: var(--ink); transform: scaleY(0.2); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s ease; }
.scene.is-on .day__blocks i.is-org { transform: none; opacity: 1; transition-delay: calc(0.4s + var(--f) * 0.05s); }
.day__legend { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-ink); font-size: 13px; color: var(--muted-ink); flex-wrap: wrap; }
.day__legend span { display: inline-flex; align-items: center; gap: 8px; }
.day__legend i { width: 14px; height: 14px; border-radius: 4px; }
.day__legend i.is-org { background: var(--ink); border-color: var(--ink); }
.day__legend b { margin-left: auto; color: var(--ink); font-weight: 600; }

@media (min-width: 761px) and (max-height: 800px) {
  .hub { padding: 14px 18px 16px; } .hub__in { padding: 7px 10px; } .ic { width: 28px; height: 28px; padding: 5px; }
  .day__blocks i { height: 32px; }
}
@media (max-width: 900px) {
  .hub { padding: 12px 12px 14px; border-radius: 16px; }
  .hub__body { grid-template-columns: 1fr; gap: 8px; }
  .hub__lines { display: none; }
  .hub__ins { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hub__in { padding: 7px 8px; gap: 8px; } .hub__in small { display: none; } .hub__in b { font-size: 13.5px; }
  .ic { width: 26px; height: 26px; padding: 5px; }
  .hub__out { flex-direction: row; align-items: center; gap: 10px; padding: 12px 14px; }
  .hub__out .ic { margin: 0; } .hub__out b { font-size: 17px; } .hub__out small { display: none; }
  .hub__logo { display: none; }
  .day__blocks i { height: 26px; border-radius: 5px; } .day__blocks { gap: 3px; }
  .day__legend b { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hub__in, .hub__out, .day__blocks i.is-org { opacity: 1; transform: none; }
  .hub__lines path { stroke-dashoffset: 0; }
}
.sysgrid:has(.hub) { grid-template-columns: 0.85fr 1.25fr; }
.hub__in small { white-space: nowrap; }
@media (max-width: 900px) { .sysgrid:has(.hub) { grid-template-columns: 1fr; } }
.sysgrid:has(.hub) .big { font-size: clamp(30px, 3.1vw, 46px); max-width: 12ch; }
@media (max-width: 900px) { .hub__head span:last-child { display: none; } }

/* Station 02 intro: the trading pipeline as a 4-step chain */
.chain { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; border-top: 1px solid var(--line-ink); }
.chain li {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 0 0;
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.chain li::before { content: ''; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.chain li:not(:last-child)::after { content: '→'; position: absolute; right: 10px; top: 14px; color: rgba(14, 16, 24, 0.3); }
.scene.is-on .chain li { opacity: 1; transform: none; transition-delay: calc(0.4s + var(--f) * 0.12s); }
.chain span { font-size: 12px; color: var(--muted-ink); }
.chain b { font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 20px); letter-spacing: -0.025em; }
.chain small { font-size: 13px; color: var(--muted-ink); line-height: 1.4; padding-right: 18px; }
.chain__note { margin-top: 16px; font-size: 13px; color: var(--muted-ink); }
.scene--title .big { font-size: clamp(34px, 4.4vw, 66px); }
@media (min-width: 761px) and (max-height: 800px) { .chain { margin-top: 18px; } .chain small { display: none; } .scene .sub { margin-top: 14px; } }
@media (max-width: 760px) {
  .chain { grid-template-columns: 1fr 1fr; row-gap: 14px; margin-top: 18px; }
  .chain small, .chain li::after, .chain__note { display: none; }
}
.chain__title { margin-top: 30px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.chain__title + .chain { margin-top: 12px; }
@media (min-width: 761px) and (max-height: 800px) { .chain__title { margin-top: 16px; } }
@media (max-width: 760px) { .chain__title { margin-top: 16px; font-size: 11px; } }

/* ====================================================
   Mein Weg v6: sticky stacking cards over a slow-moving gradient
   ==================================================== */
.stn { height: auto; padding: 4vh 0 16vh; }
.stn__bg { position: sticky; top: 0; height: 100vh; height: 100dvh; margin-bottom: -100vh; overflow: hidden; z-index: 0; background: var(--navy); }
.stn__bg::after { background: linear-gradient(180deg, var(--navy) 0%, transparent 18%, transparent 82%, var(--navy) 100%); }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--1 { width: 90vmax; height: 90vmax; left: -30vmax; top: -35vmax; background: radial-gradient(circle, rgba(70, 86, 140, 0.55) 0%, transparent 62%); animation: drift1 38s ease-in-out infinite alternate; }
.blob--2 { width: 80vmax; height: 80vmax; right: -30vmax; bottom: -35vmax; background: radial-gradient(circle, rgba(150, 160, 190, 0.28) 0%, transparent 60%); animation: drift2 44s ease-in-out infinite alternate; }
.blob--3 { width: 60vmax; height: 60vmax; left: 30%; top: 20%; background: radial-gradient(circle, rgba(40, 52, 96, 0.6) 0%, transparent 65%); animation: drift3 52s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(22vmax, 14vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-24vmax, -10vmax) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-18vmax, 12vmax) scale(0.85); } }

.stn .stn__chip { position: sticky; top: 24px; z-index: 30; margin: 0 auto 4vh; transform: none; left: auto; }
.stn .stn__deck { position: relative; inset: auto; z-index: 2; transform-style: flat; padding: 0 var(--pad); }
.stn .stn__deck .panel.scene,
.stn .stn__deck .panel.scene:has(.vs) {
  position: sticky;
  left: auto;
  top: calc(max(88px, 50vh - min(340px, 41vh) + 14px) + var(--i, 0) * 12px);
  height: min(680px, 82vh);
  margin: 0 auto 32vh;
  transform: scale(var(--s, 1));
  transform-origin: 50% 0;
  opacity: 1; filter: none; visibility: visible;
  will-change: transform;
}
.stn .stn__deck .panel.scene:last-child { margin-bottom: 8vh; }
.stn .stn__deck .panel.scene::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: var(--navy); opacity: var(--d, 0);
}
@media (max-width: 760px) {
  .stn .stn__deck .panel.scene,
  .stn .stn__deck .panel.scene:has(.vs) { top: calc(84px + var(--i, 0) * 8px); height: min(740px, calc(100vh - 110px)); }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .stn .stn__deck .panel.scene { position: relative; top: auto; height: auto; margin-bottom: 24px; transform: none; }
}
.stn .stn__deck .panel.scene { background: #F1F0EC; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, 0.35), 0 40px 100px -30px rgba(0, 0, 0, 0.7); }

/* AdVenture intro + "per Knopfdruck" tiles */
.sysgrid--intro { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
.pain { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line-ink); border-left: 3px solid var(--ink); }
.pain__label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 6px; }
.pain__text { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; color: rgba(14, 16, 24, 0.75); }
.pain__text b { color: var(--ink); font-weight: 600; }
.sub--why { margin-top: 18px; font-size: clamp(14px, 1.1vw, 16px); }
.scene .big--sm em { display: inline; }
.tiles__label { margin-top: 26px; margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.btn-tile {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line-ink); box-shadow: 0 1px 0 rgba(14, 16, 24, 0.04), 0 10px 24px -18px rgba(14, 16, 24, 0.5);
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.scene.is-on .btn-tile { opacity: 1; transform: none; transition-delay: calc(0.3s + var(--f) * 0.07s); }
.btn-tile .ic { background: var(--ink); stroke: var(--cream); border-color: var(--ink); }
.btn-tile span { display: flex; flex-direction: column; min-width: 0; }
.btn-tile b { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.02em; line-height: 1.2; }
.btn-tile small { font-size: 12.5px; color: var(--muted-ink); line-height: 1.35; }
.tiles__note { margin-top: 16px; font-size: 13px; color: var(--muted-ink); }
@media (min-width: 761px) and (max-height: 800px) { .btn-tile { padding: 10px; } .tiles__label { margin-top: 16px; } .pain { padding: 12px 16px; margin-top: 14px; } }
@media (max-width: 900px) {
  .sysgrid--intro { grid-template-columns: 1fr; gap: 6px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 6px; }
  .btn-tile { padding: 8px; gap: 8px; } .btn-tile small { display: none; } .btn-tile b { font-size: 13px; }
  .pain { padding: 10px 12px; margin-top: 12px; } .pain__text { font-size: 13.5px; }
  .sub--why, .tiles__note { display: none; }
}
@media (prefers-reduced-motion: reduce) { .btn-tile { opacity: 1; transform: none; } }

/* Journey step controls */
.stepper {
  position: fixed; right: clamp(16px, 2.4vw, 36px); bottom: clamp(16px, 3vh, 32px); z-index: 120;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 6px; border-radius: 999px;
  background: rgba(20, 23, 34, 0.72); border: 1px solid rgba(243, 242, 239, 0.14);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
}
.stepper.is-on { opacity: 1; transform: none; pointer-events: auto; }
.stepper__btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text); background: rgba(243, 242, 239, 0.06); cursor: pointer;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.stepper__btn:hover { background: rgba(243, 242, 239, 0.16); }
.stepper__btn:active { transform: scale(0.94); }
.stepper__btn--next { background: var(--platinum); color: var(--ink); }
.stepper__btn--next:hover { background: var(--platinum); transform: translateY(1px); }
.stepper__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stepper__count { font-size: 11px; letter-spacing: 0.06em; color: var(--muted); font-variant-numeric: tabular-nums; padding: 2px 0; }
.stepper__count b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .stepper { right: 12px; bottom: 12px; } .stepper__btn { width: 40px; height: 40px; } }
/* Keep the last card's margin inside the deck so earlier cards stay stuck to the end */
.stn .stn__deck { display: flow-root; }
.stn .stn__deck .panel.scene:last-child { margin-bottom: 12vh; }
/* Sticky cards keep their 32vh bottom margin inside the deck; leave room for it after the last card */
.stn .stn__deck .panel.scene:last-child,
.stn .stn__deck .panel.scene:has(.vs):last-child { margin-bottom: calc(32vh + 40px); }
/* Tiles with impact line */
.btn-tile { flex-wrap: wrap; align-items: center; align-content: flex-start; }
.btn-tile__why { flex-basis: 100%; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-ink); font-size: 13.5px; line-height: 1.45; color: rgba(14, 16, 24, 0.72); }
.btn-tile small { font-size: 12px; }
@media (min-width: 761px) and (max-height: 800px) { .btn-tile__why { font-size: 12.5px; margin-top: 6px; padding-top: 6px; } .btn-tile small { display: none; } }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; gap: 5px; }
  .btn-tile { padding: 7px 10px; }
  .btn-tile .ic { display: none; }
  .btn-tile__why { margin-top: 2px; padding-top: 0; border: none; font-size: 12px; line-height: 1.35; }
}
.scene .big--os { font-size: clamp(28px, 3vw, 44px); max-width: 22ch; }
.btn-tile { padding: 12px 14px; }
@media (max-width: 900px) {
  .scene .big--os { font-size: 24px; }
  .scene:has(.big--os) .kicker { display: none; }
  .tiles__label { margin-top: 12px; margin-bottom: 8px; font-size: 10px; }
  .btn-tile { padding: 6px 10px; }
  .btn-tile b { font-size: 13px; }
  .btn-tile__why { font-size: 11.5px; margin-top: 1px !important; }
}
@media (min-width: 761px) and (max-height: 800px) { .btn-tile { padding: 9px 12px; } .scene .big--os { font-size: 30px; } }
/* On phones scrolling stays native (touch is already smooth); the stepper would cover the cards */
@media (max-width: 760px) { .stepper { display: none; } }

/* KI-Anwendungen grouped into three areas */
.pgroup + .pgroup { margin-top: clamp(56px, 8vh, 96px); }
.pgroup__head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: baseline; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.pgroup__no { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -0.04em; background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pgroup__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.04em; line-height: 1.05; }
.pgroup__sub { margin-top: 4px; font-size: 15px; color: var(--muted); }
.pgroup__count { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pgroup .projects { grid-template-columns: repeat(3, 1fr); }
.pgroup .pcard { min-height: 230px; }
.pgroup .pcard__title { margin-top: 28px; }
#apps-selbststaendig .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pgroup .projects, #apps-selbststaendig .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .pgroup .projects, #apps-selbststaendig .projects { grid-template-columns: 1fr; }
  .pgroup__head { grid-template-columns: auto 1fr; } .pgroup__count { grid-column: 2; }
  .pgroup .pcard { min-height: 0; }
}
.pgroups { display: block; }
.pgroup .pcard__meta span:last-child { text-align: left; }
.pgroup .pcard__meta { min-height: 0; }
/* Map blocks after a station overlap its end, so the map fades in over the last card
   instead of sliding up from below; more scroll length = slower, smoother zoom-out */
.mapzoom:not([data-from=""]) { margin-top: -100vh; height: 340vh; z-index: 5; }
.mapzoom[data-to=""] { height: 260vh; }
.mapzoom:not([data-from=""]) .mapzoom__stage { opacity: 0; }
.stn { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .mapzoom:not([data-from=""]) { margin-top: 0; } .mapzoom:not([data-from=""]) .mapzoom__stage { opacity: 1; } }
/* Start the map fade exactly when the last card comes to rest (station tail = 16vh padding + 32vh + 40px margin) */
.mapzoom:not([data-from=""]) { margin-top: calc(-148vh - 40px); }

/* KI-Anwendungen as three silos side by side */
.pgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.silo {
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(38, 43, 60, 0.85), rgba(18, 21, 31, 0.85)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.1)) border-box;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.silo__head { padding: 26px 26px 22px; border-bottom: 1px solid var(--line); background: rgba(243, 242, 239, 0.03); }
.silo__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; }
.silo__no { font-family: var(--font-display); font-weight: 300; font-size: 34px; letter-spacing: -0.04em; line-height: 1; background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.silo__count { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.silo__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.2vw, 34px); letter-spacing: -0.04em; line-height: 1.05; }
.silo__sub { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); min-height: 2.9em; }
.silo__list { list-style: none; flex: 1; }
.silo__list li + li { border-top: 1px solid var(--line); }
.silo__item {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  padding: 18px 26px; transition: background 0.3s ease;
}
.silo__item:hover { background: rgba(243, 242, 239, 0.04); }
.silo__name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.025em; }
.silo__teaser { grid-column: 1; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.silo__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); transition: all 0.3s var(--ease); }
.silo__item:hover .silo__go { background: var(--platinum); color: var(--ink); border-color: transparent; transform: translateX(3px); }
@media (max-width: 1100px) { .pgroups { grid-template-columns: 1fr; } .silo__sub { min-height: 0; } }

/* ====================================================
   AI-Hedge-Fund architecture diagram
   ==================================================== */
.arch .lead { max-width: 62ch; }
.arch__flow { position: relative; margin-top: clamp(40px, 6vh, 64px); display: grid; grid-template-columns: 0.9fr repeat(5, 1fr); gap: 14px; align-items: start; }
.arch__flow::before {
  /* the pipeline line behind the columns */
  content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 1px;
  background: linear-gradient(90deg, rgba(243, 242, 239, 0.08), rgba(243, 242, 239, 0.3), rgba(243, 242, 239, 0.08));
}
.arch__flow::after {
  /* a light pulse travelling along the pipeline */
  content: ''; position: absolute; top: 10px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 14px 3px rgba(220, 228, 245, 0.7);
  animation: archPulse 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes archPulse { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
.arch__col { position: relative; opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.8s var(--ease); transition-delay: calc(var(--s) * 0.12s); }
.arch.is-in .arch__col { opacity: 1; transform: none; }
.arch__step { display: flex; align-items: center; gap: 8px; height: 27px; margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.arch__step span { display: grid; place-items: center; min-width: 27px; height: 27px; padding: 0 6px; border-radius: 999px; background: var(--navy); border: 1px solid rgba(243, 242, 239, 0.35); color: var(--text); font-family: var(--font-display); letter-spacing: 0; }
.arch__card {
  padding: 16px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(38, 43, 60, 0.92), rgba(18, 21, 31, 0.92)) padding-box, linear-gradient(160deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.12)) border-box;
  border: 1px solid transparent; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9);
  display: flex; flex-direction: column; gap: 12px; min-height: 300px;
}
.arch__card--dark { background: linear-gradient(160deg, #F3F2EF, #DCDDE2) padding-box, linear-gradient(160deg, #fff, rgba(255,255,255,0.4)) border-box; color: var(--ink); }
.arch__card--dark .arch__note { color: rgba(14, 16, 24, 0.6); }
.arch__data { list-style: none; display: grid; gap: 8px; }
.arch__data li { padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(243, 242, 239, 0.22); }
.arch__data b, .arch__agents li, .arch__risk b, .arch__side b { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: -0.02em; }
.arch__data b { display: block; }
.arch__data span, .arch__agents small, .arch__risk small, .arch__side small, .arch__vs small { display: block; font-size: 12px; color: var(--muted); font-family: var(--font-sans); font-weight: 400; letter-spacing: 0; }
.arch__agents { list-style: none; display: grid; gap: 10px; }
.arch__agents li { position: relative; padding-left: 16px; }
.arch__agents .dot { position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.arch__out { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text); }
.arch__card--dark .arch__out { color: var(--ink); border-color: var(--line-ink); }
.arch__note { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.arch__role { font-size: 14px; line-height: 1.45; }
.arch__debate { display: grid; gap: 8px; }
.arch__side { padding: 10px 12px; border-radius: 12px; }
.arch__side--bull { background: rgba(126, 226, 168, 0.1); border: 1px solid rgba(126, 226, 168, 0.35); }
.arch__side--bear { background: rgba(240, 128, 128, 0.1); border: 1px solid rgba(240, 128, 128, 0.35); }
.arch__vs { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.arch__vs span::before, .arch__vs span::after { content: ' ⇅ '; color: var(--muted); }
.arch__signal { display: grid; gap: 6px; }
.arch__signal span { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.arch__signal .is-buy { border-color: rgba(126, 226, 168, 0.6); color: var(--text); background: rgba(126, 226, 168, 0.12); }
.arch__risk { list-style: none; display: grid; gap: 6px; }
.arch__risk li { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); }
.arch__exec { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--ink); color: var(--cream); font-size: 13.5px; font-weight: 600; }
.arch__exec i { width: 8px; height: 8px; border-radius: 50%; background: #7EE2A8; box-shadow: 0 0 10px #7EE2A8; animation: pulse 2s ease-in-out infinite; }

.arch__example { margin-top: clamp(40px, 6vh, 64px); padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(243, 242, 239, 0.03); }
.arch__ex-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.arch__run { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: run; }
.arch__run li { position: relative; padding: 0 18px; border-left: 1px solid var(--line); }
.arch__run li:first-child { padding-left: 0; border-left: none; }
.arch__run b { display: block; font-family: var(--font-display); font-size: 16px; letter-spacing: -0.02em; margin-bottom: 4px; }
.arch__run span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }

.stack__grid { margin-top: clamp(32px, 5vh, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); border-radius: 20px; overflow: hidden; }
.stack__item { background: var(--cream); padding: 22px; }
.stack__k { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-ink); }
.stack__v { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.stack__d { margin-top: 8px; font-size: 14px; line-height: 1.55; color: rgba(14, 16, 24, 0.7); }
.stack__src { margin-top: 18px; font-size: 12.5px; color: var(--muted-ink); }

@media (max-width: 1200px) {
  .arch__flow { grid-template-columns: repeat(3, 1fr); }
  .arch__flow::before, .arch__flow::after { display: none; }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .arch__run { grid-template-columns: 1fr; gap: 12px; }
  .arch__run li { padding: 0; border: none; }
}
@media (max-width: 700px) {
  .arch__flow { grid-template-columns: 1fr; }
  .arch__card { min-height: 0; }
  .stack__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .arch__col { opacity: 1; transform: none; } .arch__flow::after { display: none; } }

/* ====================================================
   Workflow pop-up
   ==================================================== */
html.wf-open, html.wf-open body { overflow: hidden; }
.wf { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: clamp(12px, 3vh, 36px) clamp(12px, 3vw, 40px); }
.wf__backdrop { position: absolute; inset: 0; background: rgba(8, 9, 14, 0.62); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); opacity: 0; transition: opacity 0.45s ease; }
.wf__panel {
  position: relative; width: min(1320px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 28px; color: var(--text);
  background: linear-gradient(160deg, #1A1E2B, #10131B) padding-box, linear-gradient(160deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.14)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateY(26px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.55s var(--ease);
  scrollbar-width: thin; scrollbar-color: rgba(243,242,239,0.2) transparent;
}
.wf.is-open .wf__backdrop { opacity: 1; }
.wf.is-open .wf__panel { opacity: 1; transform: none; }
.wf__close {
  position: sticky; top: 16px; float: right; margin: 16px 16px -60px 0; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(243, 242, 239, 0.08); border: 1px solid rgba(243, 242, 239, 0.16); color: var(--text);
  backdrop-filter: blur(10px); transition: background 0.25s ease, transform 0.3s var(--ease);
}
.wf__close:hover { background: rgba(243, 242, 239, 0.18); transform: rotate(90deg); }
.wf__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wf__body { padding: clamp(28px, 4vw, 56px); }
.wf__kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.wf__title { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 76px); line-height: 0.95; letter-spacing: -0.05em; }
.wf__teaser { margin-top: 14px; max-width: 60ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--muted); }
.wf__facts { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.wf__facts div { padding: 14px 16px 0 0; }
.wf__facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.wf__facts dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.wf__facts dd { margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.wf__section { margin-top: clamp(32px, 5vh, 52px); }
.wf__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wf__cols > div { padding: 22px; border-radius: 18px; background: rgba(243, 242, 239, 0.04); border: 1px solid var(--line); }
.wf__cols h3, .wf__label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.wf__cols p { font-size: 16px; line-height: 1.6; }
.wf__flow { list-style: none; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.wf__flow li {
  position: relative; padding: 18px; border-radius: 16px; background: rgba(243, 242, 239, 0.04); border: 1px solid var(--line);
  opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.6s var(--ease); transition-delay: calc(var(--f) * 0.1s);
}
.wf__flow.is-in li { opacity: 1; transform: none; }
.wf__flow li:not(:last-child)::after { content: '→'; position: absolute; right: -11px; top: 22px; color: var(--muted); font-size: 13px; z-index: 1; }
.wf__n { display: block; font-family: var(--font-display); font-weight: 300; font-size: 28px; letter-spacing: -0.04em; background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wf__flow b { display: block; margin-top: 10px; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }
.wf__flow p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.wf__result p { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; letter-spacing: -0.03em; max-width: 38ch; }
/* Architecture inside the pop-up */
.wf .case-section { padding: clamp(36px, 5vh, 56px) 0 0; }
.wf .case-section .container { max-width: none; padding: 0; }
.wf .stack.chapter--light { margin: clamp(36px, 5vh, 56px) calc(-1 * clamp(28px, 4vw, 56px)) calc(-1 * clamp(28px, 4vw, 56px)); padding: clamp(36px, 5vh, 56px) clamp(28px, 4vw, 56px); }
.wf .arch .display--md, .wf .stack .display--md { font-size: clamp(32px, 3.6vw, 52px); }
@media (max-width: 760px) {
  .wf { padding: 0; }
  .wf__panel { border-radius: 0; height: 100%; }
  .wf__facts, .wf__cols { grid-template-columns: 1fr; }
  .wf__facts div + div { padding-left: 0; border-left: none; }
  .wf__flow li:not(:last-child)::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wf__panel, .wf__backdrop { transition: none; } .wf__flow li { opacity: 1; transform: none; } }
.wf[hidden] { display: none; }

/* AI-Hedge-Fund flowchart (SVG) */
.fc { margin-top: clamp(32px, 5vh, 52px); overflow-x: auto; }
.fc__svg { display: block; width: 100%; min-width: 980px; height: auto; font-family: var(--font-sans); }
.fc__head { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--muted); }
.fc__no { fill: var(--text); font-family: var(--font-display); }
.fc__rule { stroke: rgba(243, 242, 239, 0.12); stroke-width: 1; }
.fc__node rect { fill: rgba(243, 242, 239, 0.05); stroke: rgba(243, 242, 239, 0.22); stroke-width: 1; }
.fc__t { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; fill: var(--text); }
.fc__s { font-size: 12.5px; fill: var(--muted); }
.fc__node--data rect { fill: none; stroke-dasharray: 4 4; }
.fc__node--bull rect { fill: rgba(126, 226, 168, 0.09); stroke: rgba(126, 226, 168, 0.5); }
.fc__node--bear rect { fill: rgba(240, 128, 128, 0.09); stroke: rgba(240, 128, 128, 0.5); }
.fc__node--mod rect { fill: rgba(243, 242, 239, 0.08); }
.fc__node--key rect { fill: rgba(243, 242, 239, 0.1); stroke: rgba(243, 242, 239, 0.55); }
.fc__node--exec rect { fill: #F3F2EF; stroke: none; }
.fc__node--exec .fc__t { fill: var(--ink); }
.fc__node--exec .fc__s { fill: rgba(14, 16, 24, 0.6); }
.fc__chips { font-size: 12px; fill: var(--muted); }
.fc__chips .is-on { fill: #7EE2A8; font-weight: 600; }
.fc__ln { fill: none; stroke: rgba(243, 242, 239, 0.55); stroke-width: 1.4; stroke-dasharray: 5 5; animation: fcFlow 1.4s linear infinite; }
.fc__ln--soft { stroke: rgba(243, 242, 239, 0.32); }
.fc__ln--loop { stroke: rgba(243, 242, 239, 0.4); animation-duration: 2.2s; }
@keyframes fcFlow { to { stroke-dashoffset: -20; } }
.fc__cap { font-size: 12px; fill: var(--muted); font-style: italic; }
.fc__m text { font-size: 12.5px; fill: var(--muted); }
.fc__m--code circle { fill: rgba(243, 242, 239, 0.35); }
.fc__m--small circle { fill: #8FB2DD; }
.fc__m--big circle { fill: #E2B26A; }
@media (prefers-reduced-motion: reduce) { .fc__ln { animation: none; } }

/* ====================================================
   Mein Weg v7: static map + click-to-open station viewer
   ==================================================== */
.journey .jr2 { position: relative; }
.jr2__stage {
  position: relative; height: min(78vh, 720px); overflow: hidden; border-radius: 28px; margin: 0 var(--pad);
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(40, 46, 66, 0.55) 0%, transparent 70%),
    radial-gradient(circle, rgba(243, 242, 239, 0.07) 1px, transparent 1.2px) 0 0 / 28px 28px,
    var(--navy);
  border: 1px solid var(--line);
}
.jr2 .map { transition: none; }
.jr2.is-lit .map__path:not(.map__path--glow) { stroke: #fff; }
.jr2.is-lit .map__path--glow { stroke: rgba(220, 228, 245, 0.55); opacity: 0.6; }
.jr2.is-lit .map__pulse { opacity: 0.95; }
.jr2.is-lit .map__end { fill: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); }
.jr2.is-lit .map__end-halo { animation: halo 2.4s ease-out infinite; stroke: rgba(255, 255, 255, 0.5); }
.jr2 .node { cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease); }
.jr2 .node::after {
  content: 'Öffnen →'; position: absolute; right: 12px; bottom: 10px;
  font-size: clamp(9px, 0.8vw, 11px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s ease, transform 0.35s var(--ease);
}
.jr2 .node:hover, .jr2 .node:focus-visible {
  transform: translateY(-4px) scale(1.02);
  background:
    linear-gradient(160deg, rgba(48, 54, 76, 0.95), rgba(22, 25, 37, 0.95)) padding-box,
    linear-gradient(160deg, #fff, rgba(201, 206, 216, 0.4) 50%, #fff) border-box;
  box-shadow: 0 0 0 6px rgba(228, 231, 236, 0.06), 0 0 40px -6px rgba(220, 228, 245, 0.3), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  outline: none;
}
.jr2 .node:hover::after { color: var(--text); transform: translateX(3px); }
.jr2 .node .node__no::after { content: '' !important; }
.jr2__hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.jr2__pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); animation: hintPulse 2s ease-out infinite; }
@keyframes hintPulse { to { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
.journey { padding-bottom: clamp(80px, 12vh, 140px); }

/* Station viewer */
html.st-open, html.st-open body { overflow: hidden; }
.st[hidden] { display: none; }
.st { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: clamp(10px, 2.5vh, 28px) clamp(10px, 2.5vw, 32px); }
.st__bg { position: absolute; inset: 0; background: rgba(9, 10, 15, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; opacity: 0; transition: opacity 0.5s ease; cursor: zoom-out; }
.st.is-open .st__bg { opacity: 1; }
.st__frame {
  position: relative; width: min(1180px, 100%); height: min(860px, 100%);
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
  transform-origin: 50% 50%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.st__frame.is-swap .st__viewport, .st__frame.is-swap .st__whywrap, .st__frame.is-swap .st__chipwrap { opacity: 0; transform: translateY(10px); }
.st__viewport, .st__whywrap, .st__chipwrap { transition: opacity 0.3s ease, transform 0.4s var(--ease); }
.st__top { display: flex; justify-content: space-between; align-items: center; }
.st__chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: rgba(243, 242, 239, 0.95); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }
.st__chip small { font-weight: 400; color: var(--muted-ink); }
.st__chip .stn__logo { height: 20px; width: auto; }
.st__chip .stn__logo--adv { height: 20px; }
.st__chip span:empty { display: none; }
.st__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(243, 242, 239, 0.08); border: 1px solid rgba(243, 242, 239, 0.18); color: var(--text); transition: background 0.25s ease, transform 0.3s var(--ease); }
.st__close:hover { background: rgba(243, 242, 239, 0.18); transform: rotate(90deg); }
.st__close svg, .st__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st__whywrap { font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 70ch; }
.st__whywrap b { color: var(--text); font-weight: 600; }
.st__viewport { position: relative; min-height: 0; }
.st__deck { position: absolute; inset: 0; }
.st .slide.scene {
  position: absolute; inset: 0; width: auto; height: auto; min-height: 0; margin: 0;
  display: flex; flex-direction: column; justify-content: center; overflow: auto;
  padding: clamp(24px, 4vw, 60px); border-radius: 26px;
  background: #F1F0EC; color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateX(6%) scale(0.98); filter: none; pointer-events: none;
  transition: opacity 0.55s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.st .slide.scene.is-before { transform: translateX(-6%) scale(0.98); }
.st .slide.scene.is-on { opacity: 1; transform: none; pointer-events: auto; }
.st .slide.scene:has(.vs) { justify-content: center; }
.st__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.st__btn { height: 48px; min-width: 48px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; background: rgba(243, 242, 239, 0.08); border: 1px solid rgba(243, 242, 239, 0.18); color: var(--text); font-size: 14px; font-weight: 600; transition: background 0.25s ease, transform 0.25s var(--ease), opacity 0.25s ease; }
.st__btn:hover { background: rgba(243, 242, 239, 0.16); }
.st__btn:disabled { opacity: 0.3; cursor: default; }
.st__btn--next { padding: 0 18px 0 22px; background: var(--platinum); color: var(--ink); border-color: transparent; }
.st__btn--next:hover { background: var(--platinum); transform: translateX(2px); }
.st__dots { display: flex; gap: 8px; }
.st__dots button { width: 26px; height: 4px; border-radius: 2px; border: none; padding: 0; cursor: pointer; background: rgba(243, 242, 239, 0.25); transition: width 0.3s var(--ease), background 0.3s ease; }
.st__dots button.is-on { width: 46px; background: #fff; }
@media (max-width: 760px) {
  .jr2__stage { height: 62vh; margin: 0 12px; border-radius: 20px; }
  .jr2 .node::after { display: none; }
  .st { padding: 0; }
  .st__frame { height: 100%; padding: 12px; gap: 10px; }
  .st__whywrap { font-size: 13.5px; }
  .st .slide.scene { border-radius: 18px; padding: 22px 18px; justify-content: flex-start; }
  #stNextLabel { display: none; }
}
@media (prefers-reduced-motion: reduce) { .st__frame, .st .slide.scene { transition: none; } }
/* v7 fixes: map flows inside its stage; viewer keeps the card area flexible */
.jr2__stage { height: auto; padding: clamp(56px, 8vh, 88px) clamp(20px, 5vw, 90px) clamp(48px, 7vh, 80px); }
.jr2 .map { position: relative; left: auto; top: auto; margin: 0 auto; width: min(1080px, 100%); }
.st__frame { display: flex; flex-direction: column; }
.st__viewport { flex: 1; }
.st__whywrap:empty { display: none; }
@media (max-width: 760px) { .jr2__stage { padding: 40px 10px 34px; } .jr2 .map { width: 100%; margin: 0; } }
@media (min-width: 761px) and (max-height: 800px) { .st .slide.scene { padding-top: 22px; padding-bottom: 22px; } .st .slide.scene .big.learn-title { font-size: 36px; } }
@media (max-width: 760px) { .st .slide.scene .big.learn-title { font-size: 26px; } }
/* Station change: the next node lights up on the map before zooming in */
.jr2 .node.is-target {
  transform: translateY(-4px) scale(1.04);
  background:
    linear-gradient(160deg, rgba(48, 54, 76, 0.95), rgba(22, 25, 37, 0.95)) padding-box,
    linear-gradient(160deg, #fff, rgba(201, 206, 216, 0.4) 50%, #fff) border-box;
  box-shadow: 0 0 0 8px rgba(228, 231, 236, 0.08), 0 0 60px -4px rgba(220, 228, 245, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.jr2__hint b { color: var(--text); font-weight: 600; }
.jr2__hint.is-travel { color: var(--text); font-size: clamp(16px, 1.4vw, 20px); }
.fc__node--veto rect { fill: rgba(240, 128, 128, 0.08); stroke: rgba(240, 128, 128, 0.45); }
.fc__li { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: -0.02em; fill: var(--text); }
.fc__s--sm { font-size: 11.5px; }
.fc__t--sm { font-size: 13.5px; }
.fc__dot { fill: #fff; }
.fc--plain { margin-top: clamp(24px, 4vh, 40px); }

/* KI-Anwendungen: same midnight base as "Mein Weg", cards in the diagram's glass style */
.apps { background: var(--navy); }
.apps .chapter__head { margin-bottom: clamp(36px, 5vh, 56px); }
.apps .pgroups { gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.apps .silo { background: none; border: none; box-shadow: none; border-radius: 0; overflow: visible; }
.apps .silo__head { background: none; padding: 0 0 18px; margin-bottom: 14px; border-bottom: 1px solid rgba(243, 242, 239, 0.35); }
.apps .silo__no { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 600; letter-spacing: 0.06em; font-family: var(--font-sans); }
.apps .silo__title { font-size: clamp(28px, 2.4vw, 38px); }
.apps .silo__sub { min-height: 2.9em; }
.apps .silo__list { display: grid; gap: 10px; }
.apps .silo__list li + li { border-top: none; }
.apps .silo__item {
  padding: 18px 20px; border-radius: 16px; border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(38, 43, 60, 0.92), rgba(18, 21, 31, 0.92)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.12)) border-box;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.apps .silo__item:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(160deg, rgba(48, 54, 76, 0.95), rgba(22, 25, 37, 0.95)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(201, 206, 216, 0.15) 50%, rgba(255, 255, 255, 0.4)) border-box;
}
@media (max-width: 1100px) { .apps .silo__sub { min-height: 0; } }
.fc__zone { fill: rgba(243, 242, 239, 0.025); stroke: rgba(243, 242, 239, 0.22); stroke-width: 1; stroke-dasharray: 6 6; }
.fc__zone-t { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--muted); }

/* Campaign generator: final creatives under the flowchart */
.cres { margin-top: clamp(36px, 6vh, 64px); }
.cres__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.cres__item { margin: 0; }
.cres__item img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(243, 242, 239, 0.14); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8); }
.cres__item figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; }
.cres__item figcaption b { font-weight: 600; color: var(--cream, #F3F2EF); }
.cres__item figcaption span { color: var(--muted); }
@media (max-width: 760px) { .cres__grid { grid-template-columns: 1fr; } }

/* ====================================================
   Flowchart engine (flows.js)
   ==================================================== */
.fx {
  position: relative; margin-top: clamp(24px, 4vh, 40px);
  padding: clamp(22px, 2.4vw, 36px) clamp(18px, 2.2vw, 32px) clamp(16px, 2vw, 24px);
  border-radius: 26px; border: 1px solid rgba(243, 242, 239, 0.08);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(142, 160, 220, 0.09), transparent 70%),
    radial-gradient(circle, rgba(243, 242, 239, 0.06) 1px, transparent 1.3px) 0 0 / 22px 22px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 80px -50px rgba(0, 0, 0, 0.9);
  overflow-x: auto; overflow-y: hidden;
}
.fx__svg { display: block; width: 100%; min-width: 1000px; height: auto; font-family: var(--font-sans); overflow: visible; }

.fx__no { font-family: var(--font-display); font-weight: 600; font-size: 13px; fill: var(--text); }
.fx__hd { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--muted); }
.fx__rail { stroke: rgba(243, 242, 239, 0.1); stroke-width: 1; }
.fx__tick { fill: #12151F; stroke: rgba(243, 242, 239, 0.5); stroke-width: 1; }

.fx__box { stroke-width: 1; }
.fx__glow { fill: rgba(126, 226, 168, 0.13); }
.fx__tile { fill: rgba(243, 242, 239, 0.06); stroke: rgba(243, 242, 239, 0.13); stroke-width: 1; }
.fx__ic { fill: none; stroke: rgba(243, 242, 239, 0.88); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fx__ic--sm { stroke: rgba(243, 242, 239, 0.6); stroke-width: 1.4; }
.fx__ic--z { stroke: rgba(243, 242, 239, 0.7); stroke-width: 1.4; }
.fx__t { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.02em; fill: var(--text); }
.fx__s { font-size: 12.5px; fill: var(--muted); }
.fx__s--sm { font-size: 11.5px; }
.fx__li { font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: -0.015em; fill: rgba(243, 242, 239, 0.92); }
.fx__dot { fill: rgba(243, 242, 239, 0.55); }
.fx__rule { stroke: rgba(243, 242, 239, 0.1); stroke-width: 1; }
.fx__note { font-size: 12px; fill: var(--muted); }

.fx__n--ai .fx__tile { fill: rgba(126, 226, 168, 0.12); stroke: rgba(126, 226, 168, 0.38); }
.fx__n--ai .fx__ic { stroke: #9BEFC0; }
.fx__n--human .fx__tile { fill: rgba(235, 200, 138, 0.12); stroke: rgba(235, 200, 138, 0.4); }
.fx__n--human .fx__ic { stroke: #EFCD92; }
.fx__n--db .fx__tile { fill: rgba(143, 178, 221, 0.13); stroke: rgba(143, 178, 221, 0.42); }
.fx__n--db .fx__ic { stroke: #A9C6EA; }
.fx__n--data .fx__box { fill: rgba(243, 242, 239, 0.012); stroke: rgba(243, 242, 239, 0.3); stroke-dasharray: 4 5; }
.fx__n--veto .fx__box { fill: rgba(240, 128, 128, 0.06); stroke: rgba(240, 128, 128, 0.4); }
.fx__n--veto .fx__tile { fill: rgba(240, 128, 128, 0.12); stroke: rgba(240, 128, 128, 0.35); }
.fx__n--veto .fx__ic { stroke: #F4A5A5; }
.fx__n--out .fx__box { fill: #F3F2EF; stroke: none; }
.fx__n--out .fx__t { fill: var(--ink); }
.fx__n--out .fx__s { fill: rgba(14, 16, 24, 0.6); }
.fx__n--out .fx__tile { fill: rgba(14, 16, 24, 0.06); stroke: rgba(14, 16, 24, 0.14); }
.fx__n--out .fx__ic { stroke: var(--ink); }

.fx__e { fill: none; stroke: rgba(243, 242, 239, 0.3); stroke-width: 1.3; stroke-dasharray: 100; stroke-dashoffset: 100; animation: fxDraw 1.1s cubic-bezier(0.6, 0, 0.2, 1) var(--d) forwards; }
.fx__e--loop { stroke-dasharray: 3 5; stroke-dashoffset: 0; animation: none; stroke: rgba(243, 242, 239, 0.36); }
.fx__eg { opacity: 0; animation: fxFade 0.4s ease var(--d) forwards; }
.fx__p { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 95; opacity: 0;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 8px rgba(200, 215, 255, 0.6));
  animation: fxRun 3.6s linear var(--pd) infinite both; }
.fx__p--ai { stroke: #B5F5D0; filter: drop-shadow(0 0 3px rgba(126, 226, 168, 1)) drop-shadow(0 0 9px rgba(126, 226, 168, 0.6)); }

.fx__pill { fill: #151926; stroke: rgba(243, 242, 239, 0.18); stroke-width: 1; }
.fx__lb { font-size: 11.5px; font-weight: 500; fill: rgba(243, 242, 239, 0.85); }
.fx__lb--plain { fill: var(--muted); }
.fx__lbg { opacity: 0; animation: fxFade 0.5s ease var(--d) forwards; }
.fx__zone { fill: rgba(243, 242, 239, 0.018); stroke: rgba(243, 242, 239, 0.16); stroke-width: 1; stroke-dasharray: 5 6; }
.fx__zpill { fill: #141824; stroke: rgba(243, 242, 239, 0.2); stroke-width: 1; }
.fx__zt { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; fill: rgba(243, 242, 239, 0.7); }
.fx__z { opacity: 0; animation: fxFade 0.8s ease 0.05s forwards; }

.fx__n { opacity: 0; transform-box: fill-box; animation: fxIn 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d) forwards; }
@keyframes fxIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fxFade { to { opacity: 1; } }
@keyframes fxDraw { to { stroke-dashoffset: 0; } }
@keyframes fxRun {
  0% { stroke-dashoffset: 100; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.fx__legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; margin-top: 16px; font-size: 12px; color: var(--muted); position: sticky; left: 0; }
.fx__legend span { display: inline-flex; align-items: center; gap: 8px; }
.fx__key { width: 9px; height: 9px; border-radius: 3px; }
.fx__key--ai { background: #8EEBB5; box-shadow: 0 0 10px rgba(126, 226, 168, 0.6); }
.fx__key--human { background: #EBC88A; }
.fx__key--db { background: #8FB2DD; }
.fx__key--out { background: #F3F2EF; }

@media (prefers-reduced-motion: reduce) {
  .fx__n, .fx__eg, .fx__lbg, .fx__z { animation: none; opacity: 1; }
  .fx__e { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; }
  .fx__p { display: none; }
}

/* ====================================================
   KI-Anwendungen: stacked cards
   ==================================================== */
/* flowchart used as a static preview inside cards */
.apv { pointer-events: none; }
.apv .fx { margin: 0; padding: 0; border: none; border-radius: 0; background: none; box-shadow: none; overflow: hidden; }
.apv .fx__svg { min-width: 0; }
.apv .fx__legend { display: none; }

/* --- glass card base shared by the variants --- */
.astack__card {
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(36, 41, 58, 0.96), rgba(17, 20, 30, 0.96)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.12)) border-box;
  box-shadow: 0 40px 80px -45px rgba(0, 0, 0, 0.95);
}

/* --- Stack --- */
.astack__list { list-style: none; display: grid; gap: clamp(18px, 3vh, 32px); }
.astack__item { position: sticky; top: calc(clamp(84px, 12vh, 120px) + var(--i) * 14px); }
.astack__card {
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 48px); align-items: center;
  min-height: min(470px, 64vh); padding: clamp(26px, 3vw, 44px); border-radius: 30px;
  background:
    linear-gradient(160deg, #222738, #12151F) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.12)) border-box;
}
.astack__info { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.astack__meta { display: flex; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.astack__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -0.045em; line-height: 1; }
.astack__teaser { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 40ch; }
.astack__cta { margin-top: 10px; }
.astack__pv { border-radius: 20px; padding: 14px; background: rgba(0, 0, 0, 0.18); border: 1px solid rgba(243, 242, 239, 0.06); }

@media (max-width: 960px) {
  .astack__card { grid-template-columns: 1fr; min-height: 0; }
  .astack__item { top: calc(76px + var(--i) * 8px); }
}

.astack__name { font-size: clamp(28px, 2.7vw, 42px); }
.astack__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.astack__card { transform-origin: 50% 0; transition: box-shadow 0.5s var(--ease); will-change: transform; }
.astack__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0B0D14; opacity: var(--dim, 0); pointer-events: none; }
.astack__card { position: relative; }
.astack__list { padding-bottom: 4vh; }
.astack__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--platinum); color: var(--ink); transition: transform 0.4s var(--ease); }
.astack__card:hover .astack__cta { transform: translateX(4px); }
.astack__card:hover { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 1); }

/* ====================================================
   Contact: same midnight + platinum + glass language as the rest
   ==================================================== */
.contact-chapter {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(142, 160, 220, 0.1), transparent 70%),
    radial-gradient(circle, rgba(243, 242, 239, 0.05) 1px, transparent 1.3px) 0 0 / 22px 22px,
    var(--navy);
}
.contact-chapter .marquee { border-color: rgba(243, 242, 239, 0.1); }
.contact-chapter .marquee__track span {
  font-style: normal; font-weight: 700; letter-spacing: -0.05em;
  background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-chapter .marquee__track span:nth-child(even) {
  background: none; color: transparent; font-weight: 300;
  -webkit-text-stroke: 1px rgba(201, 206, 216, 0.4);
}
.contact-chapter .contact__lead { font-weight: 700; letter-spacing: -0.045em; }
.contact-chapter .contact__lead em {
  font-style: normal; font-weight: 300;
  background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-chapter .badge text { fill: rgba(243, 242, 239, 0.7); }
.contact-chapter .badge__btn { color: var(--ink); box-shadow: 0 20px 50px -20px rgba(201, 206, 216, 0.45); }

/* e-mail as a glass bar */
.contact-chapter .contact__primary {
  max-width: none; padding: 22px 22px 22px 28px; border-radius: 22px; border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(36, 41, 58, 0.9), rgba(17, 20, 30, 0.9)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.14)) border-box;
  box-shadow: 0 40px 80px -45px rgba(0, 0, 0, 0.95);
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(20px, 2.2vw, 32px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.contact-chapter .contact__primary:hover { padding: 22px 22px 22px 28px; transform: translateY(-3px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 1); }
.contact-chapter .contact__primary .arrow {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--platinum); color: var(--ink); font-size: 22px; font-family: var(--font-sans);
}
.contact-chapter .contact__primary:hover .arrow { transform: rotate(-45deg); }

/* channels as glass tiles */
.contact-chapter .contact__channels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: none; padding-top: 0; margin-top: 14px; }
.contact-chapter .channel {
  padding: 20px 22px; border-radius: 18px;
  background: rgba(243, 242, 239, 0.03); border: 1px solid rgba(243, 242, 239, 0.1);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.contact-chapter .channel:hover { background: rgba(243, 242, 239, 0.06); border-color: rgba(243, 242, 239, 0.22); }
.contact-chapter .channel .label { font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.contact-chapter .channel .value { font-size: 16px; color: var(--text); }
.contact-chapter .channel .value a:hover { border-bottom-color: rgba(243, 242, 239, 0.5); }
@media (max-width: 720px) { .contact-chapter .contact__channels { grid-template-columns: 1fr; } }

.footer { color: var(--muted); border-top-color: rgba(243, 242, 239, 0.08); font-family: var(--font-sans); font-weight: 600; }

/* ====================================================
   KI-Anwendungen: horizontal slider
   ==================================================== */
.acar { position: relative; }
.acar__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.acar__tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid rgba(243, 242, 239, 0.14); background: rgba(243, 242, 239, 0.03); }
.acar__tab { padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.acar__tab:hover { color: var(--text); }
.acar__tab.is-on { background: var(--platinum); color: var(--ink); }
.acar__ctrl { display: flex; align-items: center; gap: 10px; }
.acar__count { margin-right: 8px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.acar__count b { color: var(--text); font-weight: 600; }
.acar__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(243, 242, 239, 0.22); color: var(--text);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.acar__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acar__btn:hover:not(:disabled) { background: var(--platinum); color: var(--ink); border-color: transparent; }
.acar__btn:disabled { opacity: 0.3; cursor: default; }

.acar__track {
  list-style: none; display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 0 30px; margin-right: calc(-1 * var(--pad));
  padding-right: var(--pad); outline: none;
}
.acar__track::-webkit-scrollbar { display: none; }
.acar__slide { flex: 0 0 min(1180px, 88%); scroll-snap-align: start; }
.acar__slide:last-child { margin-right: 12%; }
.acar__slide .astack__card { height: 100%; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), box-shadow 0.5s var(--ease); }
.acar__slide:not(.is-on) .astack__card { opacity: 0.45; transform: scale(0.97); cursor: pointer; }
.acar__slide:not(.is-on) .astack__cta { visibility: hidden; }

.acar__progress { height: 2px; border-radius: 2px; background: rgba(243, 242, 239, 0.1); overflow: hidden; }
.acar__progress i { display: block; height: 100%; background: var(--platinum); transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease); }

@media (max-width: 960px) {
  .acar__slide { flex-basis: 90%; }
  .acar__btn { width: 42px; height: 42px; }
}
@media (max-width: 560px) {
  .acar__bar { flex-direction: column; align-items: stretch; }
  .acar__tabs { justify-content: stretch; }
  .acar__tab { flex: 1; padding: 10px 12px; }
  .acar__ctrl { justify-content: space-between; }
}
@media (max-width: 560px) { .acar__ctrl { justify-content: flex-end; } .acar__count { margin-right: auto; } }

/* ====================================================
   CV: stacked deck with a timeline navigation (cv.js)
   ==================================================== */
.cvx .chapter__head { margin-bottom: clamp(32px, 5vh, 56px); }
.cvd { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

/* timeline nav */
.cvd__nav { list-style: none; position: relative; padding-top: 52px; }
.cvd__nav::before { content: ''; position: absolute; left: 6px; top: 64px; bottom: 14px; width: 1px; background: var(--line-ink); }
.cvd__stop {
  position: relative; display: grid; grid-template-columns: 26px 1fr; text-align: left; width: 100%;
  padding: 12px 0; color: var(--muted-ink); transition: color 0.35s var(--ease);
}
.cvd__dot { grid-row: 1 / span 3; margin-top: 5px; width: 13px; height: 13px; border-radius: 50%; background: #F3F2EF; border: 1px solid rgba(14, 16, 24, 0.3); transition: all 0.4s var(--ease); }
.cvd__when { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.cvd__co { margin-top: 3px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.025em; color: inherit; }
.cvd__ro { font-size: 13px; line-height: 1.35; margin-top: 2px; }
.cvd__stop:hover { color: var(--ink); }
.cvd__stop.is-past .cvd__dot { background: rgba(14, 16, 24, 0.35); border-color: transparent; }
.cvd__stop.is-on { color: var(--ink); }
.cvd__stop.is-on .cvd__dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(14, 16, 24, 0.1); }

/* deck */
.cvd__stage { min-width: 0; }
.cvd__deck { position: relative; margin-top: 52px; touch-action: pan-y; }
.cvd__card {
  position: absolute; left: 0; right: 0; top: 0; min-height: 100%;
  padding: clamp(26px, 3.2vw, 44px); border-radius: 30px; overflow: hidden;
  color: var(--text); border: 1px solid transparent;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(142, 160, 220, 0.12), transparent 70%) padding-box,
    linear-gradient(160deg, #242A3B, #10131C) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.14)) border-box;
  box-shadow: 0 50px 90px -45px rgba(14, 16, 24, 0.7);
  transform-origin: 50% 0;
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s var(--ease), filter 0.6s var(--ease);
}
.cvd__card[data-pos="1"] { transform: translateY(-24px) scale(0.95); filter: brightness(0.82); cursor: pointer; }
.cvd__card[data-pos="2"] { transform: translateY(-44px) scale(0.9); filter: brightness(0.66); opacity: 0.9; cursor: pointer; }
.cvd__card[data-pos="3"], .cvd__card[data-pos="far"] { transform: translateY(-58px) scale(0.85); opacity: 0; pointer-events: none; }
.cvd__card[data-pos="gone"] { transform: translate(-6%, 40px) rotate(-4deg) scale(0.96); opacity: 0; pointer-events: none; }
.cvd__card:not([data-pos="0"]) > *:not(.cvd__top) { visibility: hidden; }

.cvd__top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cvd__logo { flex: none; width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center; overflow: hidden; background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6); }
.cvd__logo img { width: 38px; height: 38px; object-fit: contain; }
.cvd__logo--wide { width: auto; min-width: 60px; padding: 0 16px; }
.cvd__logo--wide img { width: auto; height: 24px; max-width: 120px; }
.cvd__logo--full img { width: 100%; height: 100%; object-fit: cover; }
.cvd__logo--dark { background: rgba(243, 242, 239, 0.07); border: 1px solid rgba(243, 242, 239, 0.14); box-shadow: none; }
.cvd__id h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -0.03em; line-height: 1.1; }
.cvd__id p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cvd__pills { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.cvd__pill, .cvd__live { padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.cvd__pill { color: rgba(243, 242, 239, 0.85); background: rgba(243, 242, 239, 0.06); border: 1px solid rgba(243, 242, 239, 0.12); }
.cvd__live { display: inline-flex; align-items: center; gap: 7px; color: #9BEFC0; background: rgba(126, 226, 168, 0.1); border: 1px solid rgba(126, 226, 168, 0.3); }
.cvd__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #8EEBB5; box-shadow: 0 0 8px #8EEBB5; }

.cvd__title { margin-top: clamp(26px, 4vh, 40px); font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -0.05em; line-height: 1; max-width: 18ch; }
.cvd__title em { font-style: normal; font-weight: 300; background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cvd__intro { margin-top: 18px; max-width: 66ch; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.cvd__intro strong { color: rgba(243, 242, 239, 0.85); font-weight: 600; }
.cvd__about { margin-top: 14px; max-width: 64ch; font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.65; color: rgba(243, 242, 239, 0.75); }
.cvd__about strong { color: var(--text); font-weight: 600; }
.cvd__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.cvd__tags li { padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: rgba(243, 242, 239, 0.88); background: rgba(243, 242, 239, 0.05); border: 1px solid rgba(243, 242, 239, 0.1); }
.cvd__nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin-top: clamp(26px, 4vh, 40px); border-top: 1px solid rgba(243, 242, 239, 0.12); }
.cvd__num { padding: 22px 20px 0 0; }
.cvd__num + .cvd__num { padding-left: 20px; border-left: 1px solid rgba(243, 242, 239, 0.1); }
.cvd__nv { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -0.05em; line-height: 1; background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cvd__nv .u { font-size: 0.38em; letter-spacing: 0; margin-left: 4px; }
.cvd__nl { margin-top: 10px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.cvd__no { position: absolute; right: 28px; bottom: -18px; font-family: var(--font-display); font-weight: 800; font-size: 150px; letter-spacing: -0.06em; line-height: 1; color: rgba(243, 242, 239, 0.035); pointer-events: none; }

/* controls */
.cvd__ctrl { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.cvd__count { font-size: 14px; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.cvd__count b { color: var(--ink); font-weight: 600; }
.cvd__bar { flex: 1; height: 2px; border-radius: 2px; background: var(--line-ink); overflow: hidden; margin: 0 8px; }
.cvd__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform 0.6s var(--ease); }
.cvd__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(14, 16, 24, 0.22); color: var(--ink); transition: all 0.35s var(--ease); }
.cvd__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cvd__btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cvd__btn:disabled { opacity: 0.3; cursor: default; }

@media (max-width: 960px) {
  .cvd { grid-template-columns: 1fr; gap: 8px; }
  .cvd__nav { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 6px; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .cvd__nav::-webkit-scrollbar { display: none; }
  .cvd__nav::before { display: none; }
  .cvd__stop { display: block; white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-ink); }
  .cvd__stop .cvd__dot, .cvd__stop .cvd__ro, .cvd__stop .cvd__when { display: none; }
  .cvd__co { margin: 0; font-size: 14px; }
  .cvd__stop.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .cvd__deck { margin-top: 44px; }
  .cvd__pills { margin-left: 0; justify-content: flex-start; width: 100%; }
  .cvd__no { font-size: 100px; }
}
@media (prefers-reduced-motion: reduce) { .cvd__card { transition: opacity 0.2s linear; } }
.cvd__nv { white-space: nowrap; }

/* ====================================================
   Mein Weg: path of three stations → goal
   ==================================================== */
.jr2 .jr2__stage {
  position: relative; height: auto; min-height: 0; padding: clamp(28px, 4vw, 56px) clamp(18px, 3vw, 44px);
  border-radius: 30px; border: 1px solid rgba(243, 242, 239, 0.08); overflow: visible;
  background:
    radial-gradient(70% 70% at 50% 0%, rgba(142, 160, 220, 0.09), transparent 70%),
    radial-gradient(circle, rgba(243, 242, 239, 0.05) 1px, transparent 1.3px) 0 0 / 22px 22px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.wmap { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 0.78fr); align-items: center; }

/* station cards */
.wnode {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  min-height: 300px; padding: 24px; border-radius: 24px; cursor: pointer; text-align: left;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(38, 44, 62, 0.96), rgba(17, 20, 30, 0.96)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.14)) border-box;
  box-shadow: 0 40px 80px -45px rgba(0, 0, 0, 0.95);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.wnode:hover, .wnode:focus-visible { transform: translateY(-6px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(243, 242, 239, 0.25); outline: none; }
.wnode.is-next, .wnode.is-target { box-shadow: 0 0 0 1px rgba(243, 242, 239, 0.5), 0 0 40px -6px rgba(201, 206, 216, 0.45), 0 40px 80px -45px rgba(0, 0, 0, 0.95); }
.wnode__top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 26px; }
.wnode__no { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--muted); }
.wnode__when { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: rgba(243, 242, 239, 0.85); background: rgba(243, 242, 239, 0.06); border: 1px solid rgba(243, 242, 239, 0.12); white-space: nowrap; }
.wnode .cvd__logo { width: 52px; height: 52px; border-radius: 15px; }
.wnode .cvd__logo img { width: 32px; height: 32px; }
.wnode .cvd__logo--wide { width: auto; padding: 0 14px; }
.wnode .cvd__logo--wide img { width: auto; height: 20px; max-width: 104px; }
.wnode__name { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 1.9vw, 30px); letter-spacing: -0.04em; line-height: 1.05; color: var(--text); }
.wnode__role { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.wnode__cta {
  margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
}
.wnode__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.wnode:hover .wnode__cta svg { transform: translateX(4px); }

/* connectors with a travelling light */
.wmap__link { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.wmap__lbl { position: absolute; top: calc(50% - 28px); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.wmap__line { position: relative; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(243, 242, 239, 0.15), rgba(243, 242, 239, 0.6)); }
.wmap__line::after { content: ''; position: absolute; right: -1px; top: -3.5px; width: 7px; height: 7px; border-top: 1.5px solid rgba(243, 242, 239, 0.75); border-right: 1.5px solid rgba(243, 242, 239, 0.75); transform: rotate(45deg); }
.wmap__line i { position: absolute; top: -2px; left: 0; width: 14px; height: 5px; border-radius: 3px; background: #fff; box-shadow: 0 0 8px 2px rgba(220, 228, 245, 0.8); animation: wmapRun 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.wmap__link:nth-child(4) .wmap__line i { animation-delay: 0.8s; }
.wmap__link:nth-child(6) .wmap__line i { animation-delay: 1.6s; }
@keyframes wmapRun { 0% { left: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: calc(100% - 14px); opacity: 0; } }

/* goal */
.wmap__goal {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  min-height: 180px; padding: 24px; border-radius: 24px;
  background: var(--cream); color: var(--ink);
  box-shadow: 0 0 60px -10px rgba(201, 206, 216, 0.35), 0 40px 80px -45px rgba(0, 0, 0, 0.95);
}
.wmap__gdot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 0 rgba(14, 16, 24, 0.35); animation: cvxPulse2 2s ease-out infinite; }
@keyframes cvxPulse2 { 70% { box-shadow: 0 0 0 10px rgba(14, 16, 24, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 16, 24, 0); } }
.wmap__gk { margin-top: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(14, 16, 24, 0.55); }
.wmap__gt { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 1.7vw, 26px); letter-spacing: -0.04em; line-height: 1.05; }

.jr2 .jr2__hint { margin-top: 22px; }

@media (max-width: 1100px) {
  .wmap { grid-template-columns: 1fr; gap: 0; }
  .wmap__link { height: 56px; }
  .wmap__line { width: 1px; height: 100%; background: linear-gradient(180deg, rgba(243, 242, 239, 0.15), rgba(243, 242, 239, 0.6)); }
  .wmap__line::after { right: -3.5px; top: auto; bottom: -1px; transform: rotate(135deg); }
  .wmap__line i { left: -2px; top: 0; width: 5px; height: 14px; animation-name: wmapRunV; }
  @keyframes wmapRunV { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 14px); opacity: 0; } }
  .wmap__lbl { top: 50%; left: calc(50% + 14px); transform: translateY(-50%); }
  .wnode { min-height: 0; width: 100%; }
  .wmap__goal { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .wmap__line i, .wmap__gdot { animation: none; } }
.wmap { align-items: stretch; }
.wmap__item { display: flex; }
.wnode { width: 100%; }
.wmap__goal { align-self: center; }
/* CV deck v2: pile below, navigation inside each card */
.cvd__nav { padding-top: 0; }
.cvd__nav::before { top: 18px; }
.cvd__stop { cursor: pointer; border-radius: 14px; }
.cvd__stop:hover .cvd__dot { border-color: var(--ink); transform: scale(1.15); }
.cvd__deck { margin-top: 0; margin-bottom: 52px; }
.cvd__card { display: flex; flex-direction: column; transform-origin: 50% 100%; }
.cvd__card[data-pos="1"] { transform: translateY(22px) scale(0.95); }
.cvd__card[data-pos="2"] { transform: translateY(42px) scale(0.9); }
.cvd__card[data-pos="3"], .cvd__card[data-pos="far"] { transform: translateY(56px) scale(0.85); }
.cvd__card[data-pos="gone"] { transform: translate(-5%, -24px) rotate(-3deg) scale(0.97); }
.cvd__no { display: none; }
.cvd__foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(243, 242, 239, 0.12); }
.cvd__card > .cvd__foot { margin-top: auto; }
.cvd__card > :nth-last-child(3) { margin-bottom: 30px; }
.cvd__pos { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cvd__pos b { color: var(--text); font-weight: 600; }
.cvd__nav2 { display: flex; align-items: center; gap: 8px; }
.cvd__back, .cvd__next { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all 0.35s var(--ease); }
.cvd__back svg, .cvd__next svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.cvd__back { padding: 12px 16px; color: var(--muted); }
.cvd__back:hover { color: var(--text); background: rgba(243, 242, 239, 0.06); }
.cvd__back:hover svg { transform: translateX(-3px); }
.cvd__next { padding: 13px 20px; background: var(--platinum); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(201, 206, 216, 0.5); }
.cvd__next span { color: rgba(14, 16, 24, 0.6); }
.cvd__next b { font-weight: 700; }
.cvd__next:hover { transform: translateY(-2px); }
.cvd__next:hover svg { transform: translateX(3px); }
@media (max-width: 960px) { .cvd__deck { margin-top: 8px; margin-bottom: 44px; } .cvd__foot { justify-content: flex-end; } .cvd__pos { margin-right: auto; } }
@media (max-width: 480px) { .cvd__next span { display: none; } .cvd__back { padding: 12px 10px; } }

/* ====================================================
   Mein Weg: career curve + three acts
   ==================================================== */
.wmap.story { display: block; }
.story__chart { position: relative; container-type: inline-size; }
.story__svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-sans); }
.story__grid line { stroke: rgba(243, 242, 239, 0.08); stroke-width: 1; stroke-dasharray: 3 6; }
.story__grid .story__axis { stroke: rgba(243, 242, 239, 0.2); stroke-dasharray: none; }
.story__lvl { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; fill: rgba(243, 242, 239, 0.4); }
.story__yr { font-size: 13px; font-weight: 600; fill: rgba(243, 242, 239, 0.45); text-anchor: middle; }
.story__yr--now { fill: var(--text); }
.story__area { fill: url(#storyArea); opacity: 0; transition: opacity 1.2s ease 1.4s; }
.story__line { fill: none; stroke: url(#storyLine); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(220, 228, 245, 0.45)); transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
.story__spark { fill: #fff; filter: drop-shadow(0 0 6px #fff); opacity: 0; transition: opacity 0.6s ease 2.4s; }
.story__pt { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.4); transition: opacity 0.5s ease var(--d), transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) var(--d); }
.story__pt circle { fill: #fff; }
.story__pt .story__halo { fill: rgba(243, 242, 239, 0.12); stroke: rgba(243, 242, 239, 0.35); stroke-width: 1; }
.story__pt--goal circle:not(.story__halo) { filter: drop-shadow(0 0 10px #fff); }
.story__pt--goal .story__halo { animation: storyHalo 2.4s ease-out infinite; }
@keyframes storyHalo { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.story__pt--goal .story__halo { transform-box: fill-box; transform-origin: center; }
.story.is-in .story__line { stroke-dashoffset: 0; }
.story.is-in .story__area, .story.is-in .story__spark { opacity: 1; }
.story.is-in .story__pt { opacity: 1; transform: none; }

/* labels on the curve */
.story__tag {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; text-align: left; white-space: nowrap;
  border: 1px solid transparent;
  background: linear-gradient(160deg, rgba(40, 46, 64, 0.96), rgba(18, 21, 31, 0.96)) padding-box, linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.14)) border-box;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, calc(-100% - 26px));
  opacity: 0; transition: opacity 0.6s ease var(--d), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  cursor: pointer;
}
.story__tag--below { transform: translate(-50%, 26px); }
.story__tag--left { transform: translate(calc(-100% - 26px), -50%); }
.story.is-in .story__tag, .story.is-in .story__goal { opacity: 1; }
.story__tag .cvd__logo { width: 40px; height: 40px; border-radius: 12px; box-shadow: none; }
.story__tag .cvd__logo img { width: 24px; height: 24px; }
.story__tag .cvd__logo--wide { width: auto; padding: 0 10px; } .story__tag .cvd__logo--wide img { width: auto; height: 14px; }
.story__tag > span:last-child { display: flex; flex-direction: column; }
.story__tag b { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--text); }
.story__tag small { font-size: 12px; color: var(--muted); }
.story__goal {
  position: absolute; left: var(--x); top: var(--y); transform: translate(calc(-100% - 34px), -50%); text-align: right;
  opacity: 0; transition: opacity 0.8s ease 2.1s;
}
.story__goal small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.story__goal b { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2cqw, 30px); letter-spacing: -0.04em; line-height: 1; white-space: nowrap; background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* acts */
.story__acts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vh, 44px); }
.story__act {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  padding: 26px; border-radius: 24px; border: 1px solid transparent; cursor: pointer;
  background: linear-gradient(160deg, rgba(38, 44, 62, 0.92), rgba(17, 20, 30, 0.92)) padding-box, linear-gradient(160deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.12)) border-box;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.story__no { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.story__verb { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.05em; line-height: 1; color: var(--text); }
.story__txt { font-size: 15px; line-height: 1.6; color: rgba(243, 242, 239, 0.72); }
.story__txt b { color: var(--text); font-weight: 600; }
.story__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.story__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }

/* hover sync between curve label and act */
.story__act:hover, .story__act.is-hot, .story__act:focus-visible { transform: translateY(-5px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(243, 242, 239, 0.3); outline: none; }
.story__act:hover .story__go svg, .story__act.is-hot .story__go svg { transform: translateX(4px); }
.story__tag:hover, .story__tag.is-hot, .story__tag.is-target { box-shadow: 0 0 0 1px rgba(243, 242, 239, 0.55), 0 0 30px -4px rgba(201, 206, 216, 0.5); }

@media (max-width: 860px) {
  .story__tag, .story__goal { display: none; }
  .story__lvl { font-size: 22px; }
  .story__yr { font-size: 22px; }
  .story__acts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .story__line { transition: none; stroke-dashoffset: 0; }
  .story__area, .story__spark, .story__pt, .story__tag, .story__goal { transition: none; opacity: 1; transform: none; }
  .story__tag { transform: translate(-50%, calc(-100% - 26px)); }
}
.story__tag--left { transform: translate(calc(-100% - 26px), -22%); }
.story__goal { transform: translate(calc(-100% - 30px), -100%); }
@media (max-width: 860px) { .story__lvl, .story__yr { font-size: 34px; } .story__lvl { letter-spacing: 0.08em; } .story__line { stroke-width: 6; } }

/* ====================================================
   CV: accordion with a timeline rail (cv.js)
   ==================================================== */
.cva { list-style: none; position: relative; display: grid; gap: 12px; }
.cva::before { content: ''; position: absolute; left: 170px; top: 30px; bottom: 30px; width: 1px; background: var(--line-ink); }
.cva__item { position: relative; display: grid; grid-template-columns: 150px 40px minmax(0, 1fr); align-items: start; }
.cva__when { padding-top: 26px; display: flex; flex-direction: column; gap: 3px; text-align: right; }
.cva__when b { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cva__when span { font-size: 12.5px; color: var(--muted-ink); }
.cva__dot { justify-self: center; margin-top: 32px; position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: #F3F2EF; border: 1.5px solid rgba(14, 16, 24, 0.35); transition: all 0.4s var(--ease); }
.cva__item.is-open .cva__dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(14, 16, 24, 0.1); }

.cva__card {
  border-radius: 24px; background: #FBFAF8; border: 1px solid rgba(14, 16, 24, 0.07);
  box-shadow: 0 1px 0 #fff inset, 0 16px 40px -34px rgba(14, 16, 24, 0.5);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.4s var(--ease);
}
.cva__item:not(.is-open) .cva__card:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 26px 50px -30px rgba(14, 16, 24, 0.45); }
.cva__item.is-open .cva__card {
  border-color: transparent;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(142, 160, 220, 0.14), transparent 70%),
    linear-gradient(160deg, #252B3C, #10131C);
  box-shadow: 0 50px 90px -45px rgba(14, 16, 24, 0.75);
}

.cva__head { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto 38px; gap: 16px; align-items: center; padding: 18px 22px; text-align: left; cursor: pointer; color: var(--ink); border-radius: 24px; }
.cva__head .cvd__logo { width: 46px; height: 46px; border-radius: 13px; box-shadow: none; border: 1px solid rgba(14, 16, 24, 0.08); }
.cva__head .cvd__logo img { width: 28px; height: 28px; }
.cva__head .cvd__logo--wide { width: auto; padding: 0 11px; } .cva__head .cvd__logo--wide img { width: auto; height: 15px; max-width: 96px; }
.cva__head .cvd__logo--full img { width: 100%; height: 100%; }
.cva__head .cvd__logo--dark { background: #161A26; border-color: transparent; }
.cva__co { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cva__co b { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.7vw, 25px); letter-spacing: -0.035em; line-height: 1.12; transition: color 0.4s var(--ease); }
.cva__co > span { font-size: 13.5px; color: var(--muted-ink); transition: color 0.4s var(--ease); }
.cva__m { display: none; font-style: normal; }
.cva__badges { display: flex; gap: 6px; }
.cva__live, .cva__promo { padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.cva__live { display: inline-flex; align-items: center; gap: 6px; color: #1E7A4A; background: rgba(46, 170, 105, 0.12); }
.cva__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2EAA69; }
.cva__promo { color: var(--ink); border: 1px solid rgba(14, 16, 24, 0.16); }
.cva__key { display: flex; flex-direction: column; align-items: flex-end; text-align: right; transition: opacity 0.35s var(--ease); }
.cva__key b { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.05em; line-height: 1; }
.cva__key b .u { font-size: 0.45em; margin-left: 2px; letter-spacing: 0; }
.cva__key > span { margin-top: 3px; font-size: 11.5px; color: var(--muted-ink); max-width: 20ch; line-height: 1.3; }
.cva__tog { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(14, 16, 24, 0.18); transition: all 0.4s var(--ease); }
.cva__tog::before, .cva__tog::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.45s var(--ease); }
.cva__tog::after { transform: translate(-50%, -50%) rotate(90deg); }
.cva__head:hover .cva__tog { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* open state */
.cva__item.is-open .cva__head { color: var(--text); }
.cva__item.is-open .cva__co > span { color: var(--muted); }
.cva__item.is-open .cva__key { opacity: 0; pointer-events: none; }
.cva__item.is-open .cva__tog { border-color: rgba(243, 242, 239, 0.3); }
.cva__item.is-open .cva__tog::after { transform: translate(-50%, -50%) rotate(0); }
.cva__item.is-open .cva__head:hover .cva__tog { background: var(--platinum); color: var(--ink); border-color: transparent; }
.cva__item.is-open .cva__live { color: #9BEFC0; background: rgba(126, 226, 168, 0.12); }
.cva__item.is-open .cva__live::before { background: #8EEBB5; box-shadow: 0 0 8px #8EEBB5; }
.cva__item.is-open .cva__promo { color: rgba(243, 242, 239, 0.85); border-color: rgba(243, 242, 239, 0.2); }

.cva__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.cva__item.is-open .cva__body { grid-template-rows: 1fr; }
.cva__inner { overflow: hidden; }
.cva__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding: 6px 22px 28px 84px; opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.cva__item.is-open .cva__grid { opacity: 1; transform: none; transition-delay: 0.15s; }
.cva__grid:not(:has(.cva__nums)) { grid-template-columns: minmax(0, 1fr); }
.cva__intro { font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 64ch; margin-bottom: 10px; }
.cva__intro strong { color: rgba(243, 242, 239, 0.85); font-weight: 600; }
.cva__about { font-size: 15.5px; line-height: 1.65; color: rgba(243, 242, 239, 0.78); max-width: 64ch; }
.cva__about strong { color: var(--text); font-weight: 600; }
.cva__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.cva__tags li { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: rgba(243, 242, 239, 0.88); background: rgba(243, 242, 239, 0.06); border: 1px solid rgba(243, 242, 239, 0.1); }
.cva__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.cva__num { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: 16px; background: rgba(243, 242, 239, 0.04); border: 1px solid rgba(243, 242, 239, 0.08); }
.cva__num b { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.05em; line-height: 1; white-space: nowrap; background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cva__num b .u { font-size: 0.42em; margin-left: 3px; letter-spacing: 0; }
.cva__num > span { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.cva__nums:has(.cva__num:only-child) { grid-template-columns: 1fr; }

@media (max-width: 960px) {
  .cva::before, .cva__when, .cva__dot { display: none; }
  .cva__item { grid-template-columns: 1fr; }
  .cva__head { grid-template-columns: auto minmax(0, 1fr) 36px; gap: 12px; padding: 16px; }
  .cva__badges, .cva__key { display: none; }
  .cva__m { display: block; margin-top: 2px; }
  .cva__grid { grid-template-columns: 1fr; padding: 0 16px 22px; }
}
.cva__head { min-height: 86px; }
.cva__key > span { white-space: nowrap; max-width: none; }
.cva__nums:has(.cva__num:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cva__grid:has(.cva__num:nth-child(5)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
@media (max-width: 960px) { .cva__nums, .cva__nums:has(.cva__num:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cva__head { min-height: 0; } }
/* goal = next step, not yet reached: dashed path + open ring */
.story__next { fill: none; stroke: rgba(243, 242, 239, 0.55); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0; transition: opacity 0.8s ease 2.1s; }
.story.is-in .story__next { opacity: 1; }
.story__pt--now .story__halo { animation: storyHalo 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.story__pt--now circle:not(.story__halo) { filter: drop-shadow(0 0 10px #fff); }
.story__pt--goal .story__ring { fill: none; stroke: rgba(243, 242, 239, 0.75); stroke-width: 1.5; stroke-dasharray: 3 4; animation: storySpin 14s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes storySpin { to { transform: rotate(360deg); } }
.story__goal { transform: translate(calc(-100% - 26px), -82%); }
.story__goal b { background: none; color: transparent; -webkit-text-stroke: 1px rgba(243, 242, 239, 0.8); }
.story__goal b { -webkit-text-stroke: 0; color: rgba(243, 242, 239, 0.82); }
.cva__head { grid-template-columns: auto minmax(0, 1fr) auto 38px; }
@media (max-width: 960px) { .cva__head { grid-template-columns: auto minmax(0, 1fr) 36px; } }

/* Self-employed: candlestick icon in platinum */
.cvd__logo--icon { background: radial-gradient(120% 120% at 20% 0%, #2B3247, #0B0D14 70%); border: 1px solid rgba(243, 242, 239, 0.22) !important; }
.cvd__icon { width: 58%; height: 58%; fill: none; stroke: url(#platStroke); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cvd__logo--icon .cvd__icon { width: 70%; height: 70%; stroke-width: 2.2; }
.story__verb { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; }
/* CV rows: every logo in the same square tile so titles start at the same x */
.cva__head .cvd__logo, .cva__head .cvd__logo--wide { width: 50px; height: 50px; padding: 0; flex: none; }
.cva__head .cvd__logo img { width: 30px; height: 30px; object-fit: contain; }
.cva__head .cvd__logo--wide img { width: 42px; height: auto; max-width: none; }
.cva__head .cvd__logo--full img { width: 100%; height: 100%; object-fit: cover; }
.cva__head .cvd__logo--icon .cvd__icon { width: 68%; height: 68%; }
.cva__grid { padding-left: calc(22px + 50px + 16px); }
@media (max-width: 960px) { .cva__grid { padding-left: 16px; } }
.cva__head .cvd__logo, .cva__head .cvd__logo--wide { min-width: 0; max-width: 50px; box-sizing: border-box; }
.footer__legal { display: flex; gap: 22px; }
@media (max-width: 560px) { .footer { justify-content: center; text-align: center; } }

/* ---------- Mein Weg: mobile curve ---------- */
.story__svg--m, .story__mtags { display: none; }
.story__badge { display: none; }
@media (max-width: 860px) {
  .story__svg:not(.story__svg--m) { display: none; }
  .story__svg--m { display: block; }
  .story__mtags { display: block; position: absolute; inset: 0; pointer-events: none; }
  .story__svg--m .story__lvl, .story__svg--m .story__yr { font-size: 11px; }
  .story__svg--m .story__line { stroke-width: 2.4; }
  .story__mtag {
    position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, calc(-100% - 12px));
    pointer-events: auto; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer;
    opacity: 0; transition: opacity 0.6s ease;
  }
  .story.is-in .story__mtag { opacity: 1; }
  .story__mtag:nth-child(1) { transition-delay: .6s; } .story__mtag:nth-child(2) { transition-delay: 1.2s; } .story__mtag:nth-child(3) { transition-delay: 1.7s; }
  .story__mtag .cvd__logo { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.9); }
  .story__mtag .cvd__logo img { width: 21px; height: 21px; }
  .story__mtag .cvd__logo--wide { width: 34px; padding: 0; min-width: 0; } .story__mtag .cvd__logo--wide img { width: 28px; height: auto; max-width: none; }
  .story__mtag b { position: absolute; right: -6px; top: -6px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--ink); background: var(--platinum); }
  .story__mgoal { position: absolute; right: 2%; top: 1%; text-align: right; font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .8s ease 2.1s; }
  .story.is-in .story__mgoal { opacity: 1; }
  .story__mgoal b { display: block; margin-top: 3px; font-size: 14px; letter-spacing: -.02em; text-transform: none; color: rgba(243,242,239,.85); }
  .story__acts { gap: 12px; margin-top: 18px; }
  .story__act { padding: 20px; }
  .story__badge { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; font-style: normal; font-size: 10px; font-weight: 700; color: var(--ink); background: var(--platinum); vertical-align: -3px; letter-spacing: 0; }
  .story__verb { font-size: 28px; }
  .jr2 .jr2__stage { padding: 18px 14px 16px; border-radius: 22px; }
}
.story__svg--m .story__area { fill: url(#storyAreaM); }
.story__svg--m .story__line { stroke: url(#storyLineM); }
@media (max-width: 860px) { .story__mgoal { right: auto; left: 4%; top: 3%; text-align: left; } }

/* ---------- CV: PDF download ---------- */
.cv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.cv-dl {
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: #FBFAF8; border: 1px solid rgba(14, 16, 24, 0.08);
  box-shadow: 0 1px 0 #fff inset, 0 18px 40px -28px rgba(14, 16, 24, 0.5);
  color: var(--ink); text-decoration: none; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cv-dl:hover { transform: translateY(-3px); box-shadow: 0 1px 0 #fff inset, 0 26px 50px -26px rgba(14, 16, 24, 0.55); }
.cv-dl__doc { position: relative; width: 44px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); }
.cv-dl__doc svg { width: 26px; height: 26px; fill: none; stroke: rgba(243, 242, 239, 0.55); stroke-width: 1.4; stroke-linejoin: round; }
.cv-dl__doc b { position: absolute; bottom: 9px; font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; color: #fff; }
.cv-dl__txt { display: flex; flex-direction: column; gap: 2px; padding-right: 4px; }
.cv-dl__txt b { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.cv-dl__txt small { font-size: 12.5px; color: var(--muted-ink); }
.cv-dl__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); transition: transform 0.4s var(--ease); }
.cv-dl__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cv-dl:hover .cv-dl__go { transform: translateY(2px); }

/* ---------- CV: detail view on phones ---------- */
@media (max-width: 960px) {
  .cva__grid, .cva__grid:has(.cva__num:nth-child(5)), .cva__grid:not(:has(.cva__nums)) { grid-template-columns: minmax(0, 1fr); padding: 0 16px 22px; }
  .cva__nums, .cva__nums:has(.cva__num:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cva__num { padding: 14px; }
  .cva__num b { font-size: 26px; }
  .cva__about { font-size: 15px; }
  .cva__co b { font-size: 18px; }
}
@media (max-width: 560px) {
  .cv-dl { width: 100%; }
  .cv-dl__txt { flex: 1; }
}

/* ---------- Contact channels with icons ---------- */
.contact-chapter .channel { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.channel__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(243, 242, 239, 0.06); border: 1px solid rgba(243, 242, 239, 0.12); }
.channel__ic svg { width: 19px; height: 19px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.channel__ic svg.fill { fill: var(--text); stroke: none; }
.channel--link .channel__go { margin-left: auto; font-size: 18px; color: var(--muted); transition: transform 0.35s var(--ease), color 0.35s var(--ease); }
.channel--link:hover .channel__go { transform: translate(2px, -2px); color: var(--text); }
.channel--link[href*="linkedin"]:hover .channel__ic { background: #0A66C2; border-color: #0A66C2; }
.contact-chapter .channel .label { margin-bottom: 4px; }

/* ---------- Station viewer: phones ---------- */
@media (max-width: 760px) {
  .st__whywrap { display: none; }
  .st__frame { padding: 10px 10px 12px; }
  .st .slide.scene { padding: 24px 20px 28px; justify-content: flex-start; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .st .slide.scene::after { content: ''; position: sticky; display: block; bottom: -28px; margin: 0 -20px -28px; height: 28px; flex: none; background: linear-gradient(rgba(241,240,236,0), #F1F0EC); pointer-events: none; }
  .scene .kicker { font-size: 10.5px; margin-bottom: 12px; }
  .scene .big, .scene--title .big, .scene .big.learn-title, .sysgrid .big, .scene--title .sysgrid .big { font-size: 30px; line-height: 1.04; max-width: none; }
  .scene .big--sm { font-size: 27px; }
  .scene .sub { margin-top: 14px; font-size: 15px; }
  .facts3 { margin-top: 20px; gap: 14px; flex-wrap: wrap; }
  .facts3 dt { font-size: 24px; }
  .facts3 dd { font-size: 12px; }
  .split { height: 46px; margin-top: 20px; }
  .split span { padding: 0 12px; font-size: 10.5px; }
  /* learnings: topic + good practice only, compact */
  .learn-sub { font-size: 13.5px; }
  .vs { margin-top: 14px; }
  .vs__row .vs__good { font-size: 13.5px; padding: 10px 12px; }
  /* self-employed: chain as 2x2 */
  .chain__title { margin-top: 18px; font-size: 10.5px; }
  .chain { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .chain li { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid rgba(14,16,24,.07); }
  .chain li::before, .chain li::after { display: none !important; }
  .chain li b { font-size: 14px; }
  .chain li small { font-size: 11.5px; }
  /* hub stacked */
  .sysgrid { grid-template-columns: 1fr; gap: 18px; }
  .hub { padding: 14px; }
  .hub__body { grid-template-columns: 1fr; gap: 10px; }
  .hub__lines { display: none; }
  .hub__ins { grid-template-columns: 1fr 1fr; }
  /* adventure tiles: 2 columns */
  .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .btn-tile { padding: 12px; }
  .btn-tile b { font-size: 13.5px; }
  .btn-tile small { font-size: 11px; }
  .btn-tile__why { font-size: 11.5px; }
  .scene__advlogo { height: 26px; margin-bottom: 14px; }
  .pain { padding: 14px; }
  .pain__text { font-size: 13.5px; }
}

/* ---------- general mobile polish ---------- */
.fx__swipe { display: none; }
@media (max-width: 760px) {
  .fx__swipe { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
  .fx__swipe::before { content: '← →'; letter-spacing: 2px; }
  .contact-chapter .badge { display: none; }
  .contact-chapter .contact__primary { font-size: 19px; padding: 16px 14px 16px 20px; }
  .contact-chapter .contact__primary .arrow { width: 44px; height: 44px; }
  .footer { flex-direction: column; gap: 14px; }
  .footer__legal { order: 2; }
  #backToTop { order: 3; }
  .astack__card { min-height: 0; }
}
@media (max-width: 760px) { .st .slide.scene, .st .slide.scene:has(.vs), .scene:has(.vs), .scene:has(.fails) { justify-content: flex-start; } }

/* CV download: quiet text link */
.cv-dl { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 0 6px; border: none; border-radius: 0; background: none; box-shadow: none; position: relative; font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.cv-dl::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(14, 16, 24, 0.25); transform-origin: right; transition: background 0.4s var(--ease); }
.cv-dl::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); z-index: 1; }
.cv-dl:hover { transform: none; box-shadow: none; }
.cv-dl:hover::before { transform: scaleX(1); }
.cv-dl__a { display: inline-block; font-size: 15px; transition: transform 0.4s var(--ease); }
.cv-dl:hover .cv-dl__a { transform: translateY(3px); }
@media (max-width: 560px) { .cv-dl { width: auto; } }

/* KI cards on phones: flow preview as a framed miniature */
@media (max-width: 760px) {
  .acar__slide .astack__pv { display: block; margin-top: 4px; padding: 10px; border-radius: 16px; overflow: hidden; position: relative; }
  .acar__slide .astack__pv .apv { width: 100%; }
}

/* ---------- Station viewer on phones: v2 ---------- */
@media (max-width: 760px) {
  /* centre when it fits, start when it scrolls */
  .st .slide.scene, .st .slide.scene:has(.vs), .scene:has(.vs) { justify-content: safe center; padding: 26px 22px 30px; }
  .st .slide.scene { background: linear-gradient(180deg, #F6F5F2, #ECEBE6); border: 1px solid rgba(255,255,255,.6); }
  /* kicker as a small pill */
  .st .scene .kicker { align-self: flex-start; display: inline-block; padding: 6px 11px; border-radius: 999px; background: rgba(14,16,24,.06); font-size: 10px; letter-spacing: .14em; margin-bottom: 16px; }
  .st .scene .big em { display: block; margin-top: 2px; }
  .st .scene .sub { font-size: 15px; line-height: 1.55; color: rgba(14,16,24,.68); }
  /* facts as tiles */
  .st .facts3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; padding-top: 0; border-top: none; }
  .st .facts3 > div { padding: 12px 10px; border-radius: 14px; background: #fff; border: 1px solid rgba(14,16,24,.07); }
  .st .facts3 dt { font-size: 20px; white-space: nowrap; }
  .st .facts3 dd { font-size: 11px; line-height: 1.3; }
  /* 80/20 split as a proper bar */
  .st .split { height: 56px; border-radius: 16px; margin-top: 24px; }
  .st .split span { font-size: 11px; font-weight: 600; }
  /* learnings: numbered cards */
  .st .vs { display: grid !important; gap: 8px; }
  .st .vs::after, .st .vs__head { display: none !important; }
  .st .vs__row { display: grid !important; grid-template-columns: 30px 1fr; gap: 4px 10px; align-items: start; margin: 0; padding: 12px 12px 12px 10px; border: none; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 rgba(14,16,24,.04); }
  .st .vs__topic { grid-column: 2; padding: 0; border: none; font-size: 15px; }
  .st .vs__topic i { position: absolute; left: -40px; top: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; margin: 0; font-size: 11px; font-weight: 700; color: var(--cream); background: var(--ink); }
  .st .vs__good { grid-column: 2; padding: 0; margin: 0; border: none; background: none; color: rgba(14,16,24,.7); font-weight: 400; font-size: 13.5px; line-height: 1.45; }
  .st .learn-title em { display: inline; }
  /* chain tiles get a subtle number badge */
  .st .chain li span { display: inline-block; font-size: 10px; font-weight: 700; color: rgba(14,16,24,.45); }
  /* hub & tiles: white cards on the warm card */
  .st .hub { border-radius: 18px; box-shadow: 0 16px 34px -26px rgba(14,16,24,.5); }
  .st .btn-tile { border-radius: 14px; background: #fff; }
  .st .pain { border-radius: 14px; background: #fff; }
  .st .day { border-radius: 16px; }
}
@media (max-width: 760px) { .st__bg { background: #0B0D14; } }
.apv .fx__swipe, .aidx__peek .fx__swipe { display: none !important; }
@media (max-width: 760px) { .journey__head h2 .nowrap { white-space: normal; display: block; min-height: 2.06em; } .journey__head h2 { font-size: clamp(34px, 10vw, 44px); overflow-wrap: break-word; } }
