  html { scroll-behavior: smooth; scroll-padding-top: 70px; }
  body { background: var(--color-bg); overflow-x: hidden; }

  /* step color system - runs through the whole site */
  :root {
    --s1: #179C7D; --s1t: rgba(23,156,125,0.15);
    --s2: #0E6E8F; --s2t: rgba(14,110,143,0.15);
    --s3: #6D44C8; --s3t: rgba(109,68,200,0.13);
    --s4: #B97309; --s4t: rgba(185,115,9,0.15);
    --t1: #E2F2EC; --t2: #E0ECF3; --t3: #ECE6F7; --t4: #F7EFDE; --tn: #F1F4F3;
  }
  #wer-wir-sind { --sc: #2C7A6B; --sct: rgba(44,122,107,0.14); }
  #reise        { --sc: var(--s1); --sct: var(--s1t); }
  #level-check  { --sc: var(--s1); --sct: var(--s1t); }
  #umsetzung    { --sc: var(--s2); --sct: var(--s2t); }
  #schulungen   { --sc: var(--s3); --sct: var(--s3t); }
  #check        { --sc: var(--s4); --sct: var(--s4t); }

  /* ==========================================================
     NAV + JOURNEY STEPPER
     ========================================================== */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
    padding: 10px var(--space-5);
    transition: background var(--transition), box-shadow var(--transition);
    border-bottom: 1px solid transparent;
  }
  .nav.solid {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-bottom-color: var(--color-divider);
    box-shadow: var(--shadow-sm);
  }
  .nav-left { display: flex; align-items: center; gap: var(--space-3); }
  .nav-left { cursor: pointer; }
  .nav-left .logo { height: 48px; width: auto; background: #fff; border-radius: 0; padding: 7px 12px; box-shadow: 0 1px 4px rgba(15,50,45,0.18); }
  .nav-brand-title { font-weight: 700; font-size: 0.92rem; line-height: 1.1; }
  .nav-brand-sub { font-size: 0.75rem; color: var(--color-text-muted); line-height: 1.1; }
  .nav-links { display: flex; align-items: center; gap: 2px; }
  .nav-links a, .navlink {
    font-size: 0.9rem; font-weight: 600; color: var(--color-text-muted);
    padding: 7px 12px; border-radius: var(--radius-pill);
    transition: all var(--transition); position: relative;
  }
  .nav-links a:hover, .navlink:hover { color: var(--color-text); background: var(--color-bg-soft); }
  .nav-links a.active { color: var(--color-primary-dark); }
  .nav-links a.active::after { content:''; position:absolute; left:12px; right:12px; bottom:2px; height:2px; border-radius:2px; background: var(--color-primary); }
  .nav-right { display: flex; align-items: center; gap: var(--space-3); }
  .nav .back-link { font-size: 0.84rem; color: var(--color-text-muted); }
  .nav .btn { padding: 8px 16px; font-size: 0.9rem; }
  .nav.over-hero:not(.solid) .nav-brand-title,
  .nav.over-hero:not(.solid) .nav-brand-sub,
  .nav.over-hero:not(.solid) .nav-links a,
  .nav.over-hero:not(.solid) .navlink,
  .nav.over-hero:not(.solid) .back-link { color: rgba(255,255,255,0.92); }
  .nav.over-hero:not(.solid) .nav-links a:hover,
  .nav.over-hero:not(.solid) .navlink:hover { background: rgba(255,255,255,0.14); }
  /* logo sits on its own white chip - always readable on dark hero AND solid nav */
  @media (max-width: 980px) { .nav-links { display: none; } .nav-brand-sub { display: none; } }

  /* ==========================================================
     HERO - dark gradient + converging triangle
     ========================================================== */
  .hero { position: relative; min-height: 80vh; display: flex; align-items: center; color: #fff; overflow: hidden;
    background:
      linear-gradient(180deg, rgba(15,43,35,0) 64%, #0F2B23 100%),
      radial-gradient(ellipse at 78% 38%, rgba(23,156,125,0.28), transparent 55%),
      radial-gradient(ellipse at 15% 85%, rgba(43,143,224,0.14), transparent 50%),
      linear-gradient(135deg, #0B1D18 0%, #0F2B23 55%, #14463A 100%);
  }
  .hero-inner {
    position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%;
    padding: 90px var(--space-5) var(--space-7);
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-7); align-items: center;
  }
  @media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; text-align: center; } .hero-tri { margin: 0 auto; } }
  .hero-eyebrow { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7FD6C2; margin-bottom: var(--space-3); animation: fadeUp 900ms ease 100ms both; }
  .hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.07; letter-spacing: -0.025em; margin-bottom: var(--space-4); animation: fadeUp 900ms ease 200ms both; }
  .hero .lead { color: rgba(255,255,255,0.9); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 46ch; margin-bottom: var(--space-5); animation: fadeUp 900ms ease 420ms both; }
  @media (max-width: 880px) { .hero .lead { margin-left: auto; margin-right: auto; } .hero .cta-row { justify-content: center; } }
  .hero .cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; animation: fadeUp 900ms ease 640ms both; }
  .hero .btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.45); }
  .hero .btn-secondary:hover { background: rgba(255,255,255,0.18); }
  .hero .micro { margin-top: var(--space-4); font-size: 0.84rem; color: rgba(255,255,255,0.72); animation: fadeUp 900ms ease 800ms both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }

  .hero-tri { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); animation: fadeUp 900ms ease 500ms both; }
  .tri-svg { width: min(440px, 82vw); height: auto; overflow: visible; }
  .tri-cap { font-size: 0.86rem; color: rgba(255,255,255,0.75); text-align: center; max-width: 40ch; line-height: 1.45; animation: fadeUp 700ms ease 1600ms both; }
  .tri-grid { fill: none; stroke: rgba(255,255,255,0.16); stroke-width: 1.2; }
  .tri-axis { stroke: rgba(255,255,255,0.28); stroke-width: 1.2; }
  .tri-shape { fill: rgba(23,156,125,0.4); stroke: #fff; stroke-width: 2.5; transform-origin: center; transform-box: fill-box; animation: triGrow 1100ms cubic-bezier(0.22,1,0.36,1) 600ms both; }
  .tri-dot { fill: #fff; opacity: 0; animation: triDot 500ms ease both; }
  .tri-dot.d1 { animation-delay: 1400ms; } .tri-dot.d2 { animation-delay: 1550ms; } .tri-dot.d3 { animation-delay: 1700ms; }
  .tri-label { fill: rgba(255,255,255,0.92); font-size: 13px; font-weight: 700; opacity: 0; animation: fadeUp 600ms ease both; }
  .tri-label.l1 { animation-delay: 1000ms; } .tri-label.l2 { animation-delay: 1150ms; } .tri-label.l3 { animation-delay: 1300ms; }
  .tri-ring { fill: none; stroke: rgba(255,255,255,0.45); stroke-width: 1.5; opacity: 0; transform-origin: center; transform-box: fill-box; animation: triRing 2600ms ease-out 1200ms infinite; }
  @keyframes triGrow { from { transform: scale(0.05); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  @keyframes triDot { from { opacity: 0; } to { opacity: 1; } }
  @keyframes triRing { 0% { transform: scale(0.25); opacity: 0.5; } 100% { transform: scale(1.18); opacity: 0; } }
  /* data streams converging into the triangle */
  .conv { fill: rgba(255,255,255,0.65); }
  .conv circle { animation: convMove 4.5s linear infinite; }
  @keyframes convMove {
    0% { opacity: 0; }
    12% { opacity: 0.9; }
    78% { opacity: 0.55; }
    100% { opacity: 0; }
  }

  /* ==========================================================
     SHARED: reveal, chapter shells, step headers
     ========================================================== */
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 750ms ease, transform 750ms ease; }
  [data-reveal].in { opacity: 1; transform: translateY(0); }
  .chapter { padding: var(--space-5) 0 var(--space-6); }
  .ch-head { text-align: center; max-width: 780px; margin: 0 auto var(--space-5); padding: 0 var(--space-5); }
  .ch-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: var(--space-3); }
  .ch-head p { font-size: 1.05rem; }

  /* ===== JOURNEY LINE - one continuous "roter Faden" through the journey ===== */
  .jtrack { position: relative; isolation: isolate; }
  .jtrack > * { position: relative; z-index: 1; }
  .jtrack::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; margin-left: -1px; z-index: 0; pointer-events: none;
    background: rgba(20,60,50,0.13);
  }
  /* the line fades out softly where the journey ends (check section) */
  #check.jtrack::before { background: linear-gradient(180deg, rgba(20,60,50,0.13) 0%, rgba(20,60,50,0.13) 55%, transparent 100%); }

  .step-header { display: flex; flex-direction: column; align-items: center; margin-bottom: var(--space-4); }
  .step-header .thread {
    width: 3px; height: 40px; border-radius: 2px;
    background: linear-gradient(180deg, transparent, var(--sc, var(--color-primary)));
    transform: scaleY(0); transform-origin: top;
    transition: transform 800ms cubic-bezier(0.4,0,0.2,1) 120ms;
  }
  .step-header.in .thread { transform: scaleY(1); }
  .step-header .node {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--sc, var(--color-primary)); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.5rem;
    box-shadow: 0 0 0 8px var(--sct, var(--color-primary-tint)), var(--shadow-md);
    margin: var(--space-1) 0 var(--space-2);
    transform: scale(0.4); opacity: 0;
    transition: transform 520ms cubic-bezier(0.34,1.56,0.64,1) 560ms, opacity 360ms ease 560ms;
  }
  .step-header.in .node { transform: scale(1); opacity: 1; }
  /* prominent step name - a solid pill sitting ON the line (also hides the track behind it) */
  .step-header .step-eyebrow {
    font-size: 0.98rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
    color: #fff; background: var(--sc, var(--color-primary));
    padding: 9px 22px; border-radius: var(--radius-pill); box-shadow: var(--shadow-md);
    opacity: 0; transform: translateY(6px); transition: opacity 400ms ease 720ms, transform 400ms ease 720ms;
  }
  .step-header.in .step-eyebrow { opacity: 1; transform: none; }
  /* chapter intro = an opaque card on the line (so the continuous track never cuts text) */
  .jtrack .ch-head {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
    max-width: min(680px, calc(100% - 2 * var(--space-5))); padding: 20px var(--space-5);
  }

  /* color zones: per-section background tints with long soft transitions */
  #level-check  { background: linear-gradient(180deg, var(--t1) 0%, var(--t1) 74%, var(--t2) 100%); }
  #umsetzung    { background: linear-gradient(180deg, var(--t2) 0%, var(--t2) 74%, var(--t3) 100%); }
  #schulungen   { background: linear-gradient(180deg, var(--t3) 0%, var(--t3) 74%, var(--t4) 100%); }
  #check        { background: linear-gradient(180deg, var(--t4) 0%, var(--t4) 74%, var(--tn) 100%); }
  #referenzen   { background: linear-gradient(180deg, var(--tn) 0%, #F7FAF9 60%, #DCE9E5 100%); }
  .bridge-dark  { height: 60px; background: linear-gradient(180deg, #DCE9E5 0%, #143C32 78%, #0F2B23 100%); }

  /* ── Wer-wir-sind zoom intro ── */
  #wer-wir-sind { background: linear-gradient(180deg, #0F2B23 0%, #14463A 30%, #1C5848 60%, #2C7A6B 86%, #DCEEE8 100%); color: #fff; padding-top: var(--space-8); }
  #wer-wir-sind .ch-head h2 { color: #fff; }
  #wer-wir-sind .ch-head .eyebrow { color: #7FD6C2; }
  .scnz { position: relative; height: 200vh; }
  .wws-brand { text-align: center; margin: var(--space-2) auto var(--space-6); }
  .wws-logo { height: 58px; width: auto; background: #fff; border-radius: 0; padding: 10px 18px; box-shadow: 0 2px 12px rgba(15,50,45,0.20); display: inline-block; }
  .wws-fhg { margin-top: var(--space-3); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.66); }
  .zoom-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
  .zoom-stage { position: relative; width: min(680px, 88vw); height: 440px; }
  .zoom-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.72); transition: opacity 380ms ease, transform 750ms cubic-bezier(0.4,0,0.2,1); pointer-events: none; }
  .zoom-layer.on { opacity: 1; transform: scale(1); }
  .zoom-layer.past { opacity: 0; transform: scale(1.55); }
  /* tightly-cropped wide Fraunhofer logo - same width footprint as the illustrations on the other cards */
  .zoom-card .zc-logo { width: min(320px, 84%); height: auto; display: block; margin: var(--space-4) auto var(--space-5); }
  /* zoom-level illustrations: Gesellschaft skyline → Institut campus → Abteilung building */
  .lvl-illu { width: min(300px, 82%); height: 104px; margin: 0 auto var(--space-4); }
  .lvl-illu .b-far  { fill: #BFE3D8; }
  .lvl-illu .b-mid  { fill: #5FBBA6; }
  .lvl-illu .b-near { fill: var(--color-primary); }
  .lvl-illu .win rect { fill: rgba(255,255,255,0.92); }
  .lvl-illu .win-lit rect { fill: #FFE38A; }
  .lvl-illu .door { fill: rgba(255,255,255,0.9); }
  .lvl-illu .ground { stroke: var(--color-border); stroke-width: 2; }
  .zoom-card { background: rgba(255,255,255,0.97); color: var(--color-text); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: var(--space-6) var(--space-7); max-width: 460px; text-align: center; }
  .zoom-card .zc-photo { width: calc(100% + 2 * var(--space-7)); max-width: none; margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-7)) var(--space-4); height: 170px; object-fit: cover; display: block; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  @media (max-width: 620px) { .zoom-card .zc-photo { width: calc(100% + 2 * var(--space-5)); margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4); height: 130px; } }
  .zoom-card .zc-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary-dark); background: var(--color-primary-tint); border-radius: var(--radius-pill); padding: 5px 14px; margin-bottom: var(--space-3); }
  .zoom-card h3 { font-size: 1.5rem; margin-bottom: var(--space-2); }
  .zoom-card p { font-size: 0.98rem; }
  .zoom-captions { position: relative; height: 70px; margin-top: var(--space-5); width: min(680px, 88vw); }
  .zoom-cap { position: absolute; inset: 0; text-align: center; opacity: 0; transform: translateY(10px); transition: all 500ms ease; color: rgba(255,255,255,0.95); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
  .zoom-cap.on { opacity: 1; transform: none; }
  .zoom-prog { position: absolute; bottom: var(--space-5); left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
  .zoom-prog i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: all var(--transition); }
  .zoom-prog i.on { background: #fff; width: 22px; border-radius: 4px; }
  @media (max-width: 620px) {
    .zoom-stage { height: 340px; }
    .zoom-captions { height: 130px; }
    .zoom-cap { font-size: 0.92rem; }
    .zoom-card { padding: var(--space-5); }
    .zoom-card h3 { font-size: 1.25rem; }
  }

  /* ==========================================================
     JOURNEY BAND
     ========================================================== */
  .reise { background: linear-gradient(180deg, #DCEEE8 0%, var(--t1) 100%); padding: 40px 0 var(--space-6); }
  .reise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); max-width: 1100px; margin: 0 auto; padding: 0 var(--space-5); }
  @media (max-width: 880px) { .reise-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .reise-grid { grid-template-columns: 1fr; } }
  .reise-step { position: relative; display: flex; flex-direction: column; background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-top: 4px solid var(--sc); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); cursor: pointer; transition: all var(--transition); overflow: hidden; }
  .reise-step:nth-child(1) { --sc: var(--s1); --sct: var(--s1t); }
  .reise-step:nth-child(2) { --sc: var(--s2); --sct: var(--s2t); }
  .reise-step:nth-child(3) { --sc: var(--s3); --sct: var(--s3t); }
  .reise-step:nth-child(4) { --sc: var(--s4); --sct: var(--s4t); }
  .reise-step .ri { width: 52px; height: 52px; border-radius: 14px; background: var(--sct); color: var(--sc); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--space-3); }
  /* illustrated header - stylized 3D render per step, full-bleed at card top */
  .reise-step .rs-img { height: 138px; margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-4)) var(--space-4); background-size: cover; background-position: center; background-color: var(--sct); border-radius: calc(var(--radius-lg) - 4px) calc(var(--radius-lg) - 4px) 0 0; border-bottom: 3px solid var(--sc); }
  .reise-step h4 { font-size: 1.02rem; margin-bottom: 4px; }
  .reise-step h4 .stepno { color: var(--sc); margin-right: 6px; }
  .reise-step p { font-size: 0.85rem; flex: 1; }
  .reise-step .rmeta { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); font-size: 0.8rem; font-weight: 700; color: var(--sc); }
  .reise-3 { grid-template-columns: repeat(3, 1fr); max-width: 920px; position: relative; }
  .reise-3 .reise-step:nth-child(1) { --sc: var(--s1); --sct: var(--s1t); }
  .reise-3 .reise-step:nth-child(2) { --sc: var(--s2); --sct: var(--s2t); }
  .reise-3 .reise-step:nth-child(3) { --sc: var(--s3); --sct: var(--s3t); }
  /* pinned reveal: section stays centered, the 3 cards pop in one after another on scroll */
  .reise { padding: 0; }
  .reise-scroll { position: relative; height: 180vh; }
  /* ponytail: on phones the 3 stacked cards outgrow the viewport; the pin then degrades to a scroll-reveal (updateReise uses the pin height) */
  .reise-pin { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-6) 0; }
  .reise-3 .reise-step { z-index: 1; opacity: 0; transform: translateY(24px); transition: opacity 520ms ease, transform 520ms ease; }
  .reise-3 .reise-step.in { opacity: 1; transform: none; }
  .reise-rail { position: absolute; top: 42px; left: 17%; right: 17%; height: 3px; border-radius: 2px; z-index: 0;
    background: linear-gradient(90deg, var(--s1), var(--s2) 50%, var(--s3)); transform: scaleX(0); transform-origin: left;
    transition: transform 1000ms cubic-bezier(0.4,0,0.2,1) 120ms; }
  .reise-rail.in { transform: scaleX(1); }
  @media (max-width: 600px) { .reise-3 { grid-template-columns: 1fr; } .reise-rail { display: none; } }
  /* stacked cards outgrow a phone viewport: no pin there, updateReise() then has no scrub range and shows all cards */
  @media (max-width: 880px), (max-height: 640px) {
    .reise-scroll { height: auto; }
    .reise-pin { position: static; min-height: 0; }
  }

  /* ==========================================================
     SCENE SYSTEM v4 - steps left, stage right, scroll-driven
     ========================================================== */
  .scn { position: relative; }
  .scn-p2 { height: 180vh; }
  .scn-p3 { height: 230vh; }
  .scn-p4 { height: 280vh; }
  /* sticky pin fills the viewport and centers the scene vertically */
  .scn .scene2 { position: sticky; top: 0; min-height: 100vh; align-content: center; box-sizing: border-box; padding-top: 70px; padding-bottom: var(--space-5); }
  .scene2 { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-5); display: grid; grid-template-columns: minmax(280px, 0.85fr) 1.15fr; gap: var(--space-5); align-items: center; }
  @media (max-width: 880px) { .scene2 { grid-template-columns: 1fr; } }
  .s2-steps { display: flex; flex-direction: column; gap: var(--space-3); justify-content: center; }
  .s2-step {
    text-align: left; background: var(--color-bg-card);
    border: 1.5px solid var(--color-border); border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    cursor: pointer; transition: all var(--transition);
    display: flex; gap: var(--space-3); align-items: flex-start;
    position: relative; overflow: hidden;
  }
  .s2-step:hover { border-color: var(--color-primary-light); }
  .s2-step .sn { width: 28px; height: 28px; border-radius: 50%; background: var(--color-bg-soft); border: 1.5px solid var(--color-border); color: var(--color-text-muted); font-weight: 800; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition); margin-top: 2px; }
  .s2-step h5 { font-size: 1rem; margin-bottom: 3px; color: var(--color-text); }
  .s2-step p { font-size: 0.88rem; line-height: 1.45; }
  .s2-step .benefit { display: none; margin-top: 7px; font-size: 0.86rem; font-weight: 700; color: var(--sc, var(--color-primary-dark)); }
  .s2-step .benefit::before { content: '→ '; }
  /* accordion: collapse non-active phases to a slim title row */
  .s2-step { transition: all var(--transition); }
  .s2-step:not(.active) { padding-top: 11px; padding-bottom: 11px; }
  .s2-step:not(.active) p { display: none; }
  .s2-step:not(.active) h5 { margin-bottom: 0; font-size: 0.95rem; color: var(--color-text-muted); }
  .s2-step.passed:not(.active) h5 { color: var(--color-text); }
  .s2-step.active { border-color: var(--sc, var(--color-primary)); box-shadow: 0 0 0 3px var(--sct, var(--color-primary-tint)), var(--shadow-md); }
  .s2-step.active .sn { background: var(--sc, var(--color-primary)); border-color: var(--sc, var(--color-primary)); color: #fff; }
  .s2-step.active .benefit { display: block; }
  .s2-step.passed .sn { background: #fff; border-color: var(--sc, var(--color-primary)); color: var(--sc, var(--color-primary-dark)); }
  /* the active step's text, cloned by site.js for the stacked layout (site.css <=880px); the desktop accordion shows it in place */
  .s2-current { display: none; }

  .s2-stage {
    position: relative; min-height: min(500px, calc(100vh - 150px)); overflow: hidden;
    border: 1.5px solid var(--color-border); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
  }
  .s2-stage { background: radial-gradient(ellipse at 25% 0%, var(--sct, rgba(23,156,125,0.12)), transparent 60%), radial-gradient(ellipse at 90% 100%, var(--sct, rgba(23,156,125,0.08)), transparent 55%), #fff; }

  [data-from] { opacity: 0; transform: translateY(16px); transition: opacity 550ms ease, transform 550ms ease; }
  [data-from].on { opacity: 1; transform: translateY(0); }
  .beat-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: var(--space-4); padding: var(--space-4); pointer-events: none; }
  /* --k is set per stage by fitStages(): 1 on desktop, smaller when the beat's artifacts would overflow the stage */
  .beat-layer { transform: scale(var(--k, 1)); }
  .beat-layer[data-from] { transform: translateY(16px) scale(var(--k, 1)); }
  .beat-layer[data-from].on { transform: scale(var(--k, 1)); }
  .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
  .on .stagger > *, .stagger.on > * { opacity: 1; transform: none; }
  .stagger > *:nth-child(2) { transition-delay: 150ms; }
  .stagger > *:nth-child(3) { transition-delay: 300ms; }
  .stagger > *:nth-child(4) { transition-delay: 450ms; }

  /* "Beispiel" pill for every concrete artifact */
  .ex-ribbon { position: absolute; top: 8px; right: 10px; background: #FFB938; color: #5C3D00; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); z-index: 7; pointer-events: none; }
  .ex-ribbon.static { position: static; flex-shrink: 0; }
  .ex-inline { display: inline-block; vertical-align: 2px; background: #FFB938; color: #5C3D00; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); margin-left: 8px; }

  /* shared artifact look */
  .artifact { position: relative; background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
  /* photo card - a real photo framed like the other artifacts */
  .photo-card { position: relative; background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; }
  .photo-card img { display: block; width: 100%; max-width: none; object-fit: cover; }
  .photo-card .pc-cap { padding: 7px 12px; font-size: 0.74rem; font-weight: 700; color: var(--color-text-muted); background: #fff; border-top: 1px solid var(--color-divider); overflow-wrap: anywhere; }
  /* the phone photo band (site.js builds it under body.scene-photos; the phone block below shows it) */
  .beat-photo { display: none; }
  .art-head { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--color-divider); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-primary-dark); }
  .art-head .dot3 { display: inline-flex; gap: 4px; margin-right: 2px; }
  .art-head .dot3 i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-divider); }

  .steckbrief { width: min(290px, 47vw); overflow: hidden; }
  .steckbrief .sb-body { padding: var(--space-4) var(--space-5); }
  .sb-row { display: flex; gap: 10px; padding: 7px 0; font-size: 0.88rem; border-bottom: 1px dashed var(--color-divider); }
  .sb-row:last-child { border-bottom: 0; }
  .sb-row .k { width: 92px; flex-shrink: 0; color: var(--color-text-muted); font-weight: 600; font-size: 0.78rem; padding-top: 2px; }
  .sb-row .v { color: var(--color-text); font-weight: 600; }
  .checklist { width: min(230px, 42vw); }
  .checklist ul { list-style: none; padding: var(--space-4) var(--space-5); }
  .checklist li { display: flex; gap: 10px; align-items: start; padding: 7px 0; font-size: 0.88rem; font-weight: 600; color: var(--color-text); }
  .checklist .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 0.7rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

  .quote-stack { display: flex; flex-direction: column; gap: var(--space-3); width: min(420px, 85vw); position: relative; }
  .iq { background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-4) var(--space-5); }
  .iq .qt { font-size: 0.98rem; font-weight: 600; line-height: 1.45; color: var(--color-text); }
  .iq .qt::before { content: '„'; color: var(--color-primary); font-weight: 800; }
  .iq .qt::after { content: '“'; color: var(--color-primary); font-weight: 800; }
  .iq .who { margin-top: 6px; font-size: 0.8rem; font-weight: 700; color: var(--color-text-muted); }
  .badge-float { position: absolute; top: var(--space-4); left: var(--space-4); background: var(--color-primary); color: #fff; border-radius: var(--radius-pill); padding: 6px 14px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; box-shadow: var(--shadow-md); z-index: 6; }

  .report-cover { width: min(230px, 60vw); overflow: hidden; }
  .report-cover .rc-band { height: 50px; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); display: flex; align-items: center; padding: 0 var(--space-4); color: #fff; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.04em; }
  .report-cover .rc-body { padding: var(--space-4); }
  .report-cover ul { list-style: none; }
  .report-cover li { font-size: 0.84rem; font-weight: 600; padding: 5px 0; color: var(--color-text); }
  .report-cover li::before { content: '✓ '; color: var(--color-primary); font-weight: 800; }
  .problem-table { width: min(300px, 78vw); overflow: hidden; }
  .problem-table table { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
  .problem-table th { text-align: left; padding: 6px 10px; color: var(--color-text-muted); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1.5px solid var(--color-border); }
  .problem-table td { padding: 6px 10px; border-bottom: 1px solid var(--color-divider); color: var(--color-text); }
  .problem-table .uc { font-weight: 800; color: var(--color-primary-dark); white-space: nowrap; }
  .mini-road { width: min(240px, 62vw); padding: var(--space-4); }
  .mini-road .mr-title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-primary-dark); margin-bottom: var(--space-2); }
  .mini-road svg { width: 100%; height: auto; }
  /* result buildup flow (scene beat 4) + mini-visuals (also reused in the example report) */
  .result-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); width: 100%; position: relative; }
  .rf-title { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-primary-dark); background: var(--color-primary-tint); padding: 5px 16px; border-radius: var(--radius-pill); margin-bottom: 2px; }
  .result-flow { display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .rf-tile { background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: 0 1px 4px rgba(15,50,45,0.08); padding: 9px 14px; width: min(212px, 80vw); display: flex; flex-direction: column; }
  .rf-cap { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 800; color: var(--color-text); margin-bottom: var(--space-2); }
  .rf-cap .rf-n { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.74rem; }
  .rf-table { display: flex; flex-direction: column; gap: 5px; }
  .rf-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.84rem; padding: 6px 11px; background: var(--color-bg-soft); border-radius: var(--radius-sm); color: var(--color-text); }
  .rf-row b { color: var(--color-primary-dark); }
  .rf-down { font-size: 1.2rem; font-weight: 800; color: var(--color-primary); line-height: 1; }
  .mini-mx, .mini-road-svg { width: 100%; height: auto; display: block; }
  .mini-mx .mm-ax { font-size: 10px; font-weight: 700; fill: #5B6B6A; }
  .mini-mx .mm-n { font-size: 12px; font-weight: 800; fill: #fff; }
  .mini-road-svg .mr-lbl { font-size: 10px; font-weight: 700; fill: #5B6B6A; }
  .rep-viz { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3); max-width: 360px; }
  .draw-line { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1100ms ease 250ms; }
  .on .draw-line { stroke-dashoffset: 0; }

  /* S3 artifacts */
  .uc-pick-row { display: flex; gap: var(--space-3); align-items: stretch; flex-wrap: wrap; justify-content: center; }
  .uc-pick { width: 190px; background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-4); position: relative; }
  .uc-pick .un { font-size: 0.68rem; font-weight: 800; color: var(--color-text-muted); letter-spacing: 0.06em; }
  .uc-pick h5 { font-size: 0.92rem; margin: 4px 0 6px; line-height: 1.3; }
  .uc-pick .um { font-size: 0.76rem; color: var(--color-text-muted); }
  .uc-pick.chosen { border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-tint), var(--shadow-lg); transform: translateY(-6px); }
  .uc-pick.chosen .pick-mark { position: absolute; top: -11px; right: -9px; width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
  .uc-pick.chosen .pick-badge { position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); background: var(--color-primary-dark); color: #fff; border-radius: var(--radius-pill); padding: 3px 12px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; }
  .uc-pick:not(.chosen) { opacity: 0.5; }

  .dash { width: min(400px, 86vw); overflow: hidden; }
  .dash .dh { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--color-divider); }
  .dash .dh .t { font-size: 0.8rem; font-weight: 800; color: var(--color-text); }
  .dash .dh .live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 800; color: var(--color-primary-dark); }
  .dash .dh .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 4px rgba(23,156,125,0.2); }
  .dash .db { padding: var(--space-4); }
  .dash .kpis { display: flex; gap: var(--space-2); margin-bottom: var(--space-3); }
  .dash .kpi { flex: 1; background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 8px 10px; text-align: center; }
  .dash .kpi .v { font-size: 1.05rem; font-weight: 800; color: var(--color-primary-dark); }
  .dash .kpi .l { font-size: 0.62rem; font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
  .dash .reason { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; font-size: 0.76rem; font-weight: 600; }
  .dash .reason .rl { width: 108px; flex-shrink: 0; color: var(--color-text); }
  .dash .reason .bar-track { flex: 1; height: 8px; }
  .dash .reason .rv { width: 36px; text-align: right; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
  .dash-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius-pill); padding: 4px 12px; font-size: 0.7rem; font-weight: 800; }
  .dash-badge.igcv { background: var(--color-primary-tint); color: var(--color-primary-dark); border: 1px solid var(--color-primary-light); }
  .dash-badge.team { background: #FFF7E6; color: #92600A; border: 1px solid #F2D9A4; }
  .rollout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); width: min(520px, 88vw); }
  .ro-tile { background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 10px 12px; }
  .ro-tile .rt { font-size: 0.7rem; font-weight: 800; color: var(--color-text); margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; }
  .ro-tile .rt i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); }
  .ro-tile .bar-track { height: 6px; margin-bottom: 4px; }
  .ro-tile .ro-note { font-size: 0.68rem; font-weight: 600; color: var(--color-text-muted); margin-top: 5px; }
  @media (max-width: 640px) { .rollout-grid { grid-template-columns: repeat(2, 1fr); } }
  /* rollout: breitet sich vom Pilot (Halle 2, oben Mitte) auf alle Hallen aus */
  .rollout-grid.spread .ro-tile { opacity: 0; }
  .rollout-grid.spread .ro-tile .bar-fill { transform: scaleX(0); transform-origin: left; }
  .on .rollout-grid.spread .ro-tile { animation: roIn 0.45s cubic-bezier(.2,.7,.3,1) both; }
  .on .rollout-grid.spread .ro-tile .bar-fill { animation: roBar 0.55s ease both; }
  @keyframes roIn { from { opacity: 0; transform: scale(0.86) translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes roBar { to { transform: scaleX(1); } }
  /* ripple outward from the pilot (Halle 2 = 2nd tile) */
  .on .rollout-grid.spread .ro-tile:nth-child(2),
  .on .rollout-grid.spread .ro-tile:nth-child(2) .bar-fill { animation-delay: 0.1s; }
  .on .rollout-grid.spread .ro-tile:nth-child(1), .on .rollout-grid.spread .ro-tile:nth-child(1) .bar-fill,
  .on .rollout-grid.spread .ro-tile:nth-child(3), .on .rollout-grid.spread .ro-tile:nth-child(3) .bar-fill,
  .on .rollout-grid.spread .ro-tile:nth-child(5), .on .rollout-grid.spread .ro-tile:nth-child(5) .bar-fill { animation-delay: 0.55s; }
  .on .rollout-grid.spread .ro-tile:nth-child(4), .on .rollout-grid.spread .ro-tile:nth-child(4) .bar-fill,
  .on .rollout-grid.spread .ro-tile:nth-child(6), .on .rollout-grid.spread .ro-tile:nth-child(6) .bar-fill { animation-delay: 1s; }

  /* S4 artifacts */
  .train-plan { width: min(270px, 72vw); }
  .train-plan ul { list-style: none; padding: var(--space-4) var(--space-5); }
  .train-plan li { display: flex; gap: 10px; padding: 6px 0; font-size: 0.86rem; font-weight: 600; align-items: start; }
  .avatar-row { display: flex; gap: var(--space-3); }
  .tavatar { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; box-shadow: var(--shadow-md); border: 3px solid #fff; position: relative; }
  .tavatar .tick { position: absolute; bottom: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 0.66rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; opacity: 0; transform: scale(0); transition: all 400ms cubic-bezier(0.34,1.56,0.64,1) 400ms; }
  .on .tavatar .tick { opacity: 1; transform: scale(1); }
  .stamp { position: absolute; bottom: 14%; left: 50%; border: 3px solid var(--color-primary); color: var(--color-primary-dark); background: rgba(255,255,255,0.95); border-radius: var(--radius-md); padding: 8px 18px; font-size: 1rem; font-weight: 800; letter-spacing: 0.03em; z-index: 6; }
  .stamp[data-from] { transform: translateX(-50%) rotate(-5deg) scale(0); transition: transform 500ms cubic-bezier(0.34,1.56,0.64,1) 300ms, opacity 200ms; }
  .stamp[data-from].on { transform: translateX(-50%) rotate(-5deg) scale(1); }

  /* S1 phone (looping swipe in beat 1, result in beat 2) */
  .phone { position: relative; width: 240px; height: min(420px, max(340px, calc(100vh - 320px))); background: #10201B; border-radius: 34px; padding: 12px; box-shadow: var(--shadow-lg); flex-shrink: 0; }
  .phone-screen { position: relative; width: 100%; height: 100%; background: linear-gradient(180deg, #F5F8F7, #EAF6F3); border-radius: 23px; overflow: hidden; display: flex; flex-direction: column; }
  .phone-top { padding: 12px 14px 6px; }
  .phone-top .pt-title { font-size: 0.72rem; font-weight: 700; color: var(--color-text); }
  .phone-top .bar-track { height: 5px; margin-top: 6px; }
  .pscreen { position: absolute; inset: 42px 0 0 0; padding: 8px 12px 12px; }
  .pcard { position: absolute; inset: 8px 12px 12px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
  .pcard .pimg { height: 78px; margin: -14px -14px 10px; flex-shrink: 0; }
  .pcard .pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pcard .htag { align-self: flex-start; padding: 3px 9px; border-radius: var(--radius-pill); font-size: 0.58rem; font-weight: 700; text-transform: uppercase; }
  .pcard { border: 1px solid #DCE5E1; }
  .pcard .ptext { font-size: 0.88rem; font-weight: 700; line-height: 1.4; color: #0E1F19; }
  .pcard .pthumbs { display: flex; justify-content: space-between; font-size: 1.05rem; opacity: 0.85; }
  .pcard.loop-a { animation: ploop 7s ease-in-out infinite; }
  .pcard.loop-b { animation: ploop 7s ease-in-out 3.5s infinite; }
  @keyframes ploop {
    0%, 6%   { transform: translateY(12px) scale(0.95); opacity: 0; z-index: 1; }
    12%, 38% { transform: none; opacity: 1; z-index: 3; }
    46%      { transform: translateX(125%) rotate(16deg); opacity: 0; z-index: 3; }
    47%, 100%{ transform: translateY(12px) scale(0.95); opacity: 0; z-index: 1; }
  }
  .presult { display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
  .presult .pr-row { display: flex; align-items: center; gap: 7px; }
  .presult .pr-row .pl { font-size: 0.58rem; font-weight: 800; width: 52px; color: var(--color-text-muted); text-transform: uppercase; }
  .presult .pr-row .bar-track { flex: 1; height: 7px; }
  .presult .reco { margin-top: 6px; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: #fff; border-radius: 12px; padding: 11px; }
  .presult .reco .rl { font-size: 0.56rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.85; }
  .presult .reco .rv { font-size: 0.84rem; font-weight: 800; margin-top: 2px; }
  .presult .reco .rs { font-size: 0.64rem; opacity: 0.9; margin-top: 3px; }
  .side-chips { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
  .side-chips .tagchip { background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 0.82rem; font-weight: 700; color: var(--color-text); box-shadow: var(--shadow-sm); }

  /* ==========================================================
     STEP 2 below scene: THREE CHECK CARDS
     ========================================================== */
  /* Level-Check Eckdaten - Preis klar sichtbar im Scrollytelling */
  .lc-eckdaten { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; max-width: 760px; margin: 0 auto var(--space-6); padding: 0 var(--space-5); }
  .lc-eckdaten .ed { flex: 1 1 200px; max-width: 240px; background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-4); text-align: center; }
  .lc-eckdaten .ed-k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 4px; }
  .lc-eckdaten .ed-v { font-size: 1.5rem; font-weight: 800; color: var(--color-text); letter-spacing: -0.01em; }
  .lc-eckdaten .ed-l { font-size: 0.82rem; color: var(--color-text-muted); font-weight: 600; margin-top: 3px; }
  .lc-eckdaten .ed.price { background: var(--sc, var(--color-primary)); border-color: var(--sc, var(--color-primary)); box-shadow: var(--shadow-md); }
  .lc-eckdaten .ed.price .ed-k { color: rgba(255,255,255,0.85); }
  .lc-eckdaten .ed.price .ed-v { color: #fff; font-size: 1.7rem; }
  .lc-eckdaten .ed.price .ed-l { color: rgba(255,255,255,0.9); }
  @media (max-width: 620px) { .lc-eckdaten .ed { flex-basis: 45%; } }
  .lc-eckdaten .ed { opacity: 0; transform: translateY(24px) scale(0.95); transition: opacity 460ms ease, transform 460ms cubic-bezier(.2,.7,.3,1); }
  .lc-eckdaten .ed.show { opacity: 1; transform: none; }
  /* funding incentive line under the Eckdaten */
  .lc-funding { max-width: min(760px, calc(100% - 2 * var(--space-5))); margin: calc(-1 * var(--space-3)) auto var(--space-6); padding: 11px var(--space-5); text-align: center;
    background: var(--color-primary-tint); border: 1px solid var(--color-primary-light); border-radius: var(--radius-md);
    font-size: 0.9rem; color: var(--color-primary-dark); line-height: 1.45; }
  .lc-funding strong { font-weight: 800; }
  /* after a pinned scene: on desktop the pin ends before its wrapper, the hint closes that gap; stacked pins end flush */
  .lc-funding.after-scene { margin-top: -80px; }
  @media (max-width: 880px) { .lc-funding.after-scene { margin-top: var(--space-5); } }

  .lc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); max-width: 1100px; margin: 0 auto var(--space-5); padding: 0 var(--space-5); }
  @media (max-width: 880px) { .lc-cards { grid-template-columns: 1fr; } }
  .lc-card {
    text-align: left; background: var(--color-bg-card);
    border: 1.5px solid var(--color-border); border-radius: var(--radius-xl);
    padding: var(--space-5); box-shadow: var(--shadow-card);
    cursor: pointer; transition: all var(--transition); position: relative;
    display: flex; flex-direction: column;
  }
  /* photographic header per flavor, full-bleed at card top, thin theme-color divider */
  .lc-card .lc-img { height: 148px; margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4); background-size: cover; background-position: center; background-color: var(--color-bg-soft); border-radius: calc(var(--radius-xl) - 2px) calc(var(--radius-xl) - 2px) 0 0; border-bottom: 3px solid var(--fc); }
  .lc-card.co { --fc: #1D6BB0; }
  .lc-card.wm { --fc: #6D44C8; }
  .lc-card.ki { --fc: #B73838; }
  .lc-card h3 { font-size: 1.18rem; margin-bottom: var(--space-2); }
  .lc-card .lc-line { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: var(--space-3); flex: 1; }
  .lc-card .lc-facts { display: flex; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); font-size: 0.82rem; font-weight: 700; color: var(--color-text); flex-wrap: wrap; }
  .lc-card .lc-fit { padding-top: var(--space-3); border-top: 1px solid var(--color-divider); font-size: 0.84rem; font-weight: 700; line-height: 1.4; }
  .lc-card.co .lc-fit { color: #1D6BB0; }
  .lc-card.wm .lc-fit { color: #6D44C8; }
  .lc-card.ki .lc-fit { color: #B73838; }
  /* shared-facts pill - opaque so the journey line tucks behind it, prominent enough not to get lost */
  .lc-shared { width: fit-content; max-width: 92%; text-align: center; font-size: 0.92rem; font-weight: 700; color: var(--color-text); margin: calc(-1 * var(--space-2)) auto var(--space-6); padding: 11px var(--space-5); background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); line-height: 1.4; }
  .lc-shared strong { color: var(--color-primary-dark); }
  @media (max-width: 560px) { .lc-shared { border-radius: var(--radius-lg); } }
  .lc-kicker { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 4px; }
  .lc-card.active { border-width: 2px; }
  .lc-card.active.co { border-color: #1D6BB0; box-shadow: 0 0 0 4px rgba(43,143,224,0.12), var(--shadow-lg); }
  .lc-card.active.wm { border-color: #6D44C8; box-shadow: 0 0 0 4px rgba(139,92,246,0.12), var(--shadow-lg); }
  .lc-card.active.ki { border-color: #B73838; box-shadow: 0 0 0 4px rgba(229,75,75,0.12), var(--shadow-lg); }
  .lc-card .reco-star { display: none; position: absolute; top: -12px; left: var(--space-4); background: var(--color-primary); color: #fff; border-radius: var(--radius-pill); padding: 4px 12px; font-size: 0.72rem; font-weight: 800; box-shadow: var(--shadow-md); }
  .lc-card.recommended .reco-star { display: inline-flex; }

  .lc-detailpanel { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-5); }
  .lc-cards > .lc-detailpanel { padding: 0; }
  .lc-detail-box { background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: var(--space-6); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-6); }
  @media (max-width: 880px) { .lc-detail-box { grid-template-columns: 1fr; } }
  .lc-detail-box h3 { font-size: 1.35rem; margin-bottom: var(--space-2); }
  .lc-detail-box .lc-claim { font-size: 0.98rem; color: var(--color-text-muted); margin-bottom: var(--space-4); }
  .lc-refline { display: block; width: 100%; background: none; border: 0; border-top: 1px solid var(--color-divider); padding: 14px 0 0; margin-top: var(--space-4); text-align: left; font-family: inherit; font-size: 0.88rem; color: var(--color-text-muted); cursor: pointer; }
  .lc-refline strong { color: var(--color-primary-dark); font-weight: 700; }
  .lc-refline:hover strong { text-decoration: underline; }
  .lc-qs { list-style: none; margin-bottom: var(--space-4); }
  .lc-qs li { padding: 7px 0 7px 26px; position: relative; font-size: 0.95rem; color: var(--color-text); line-height: 1.45; }
  .lc-qs li::before { content: '→'; position: absolute; left: 0; font-weight: 800; color: var(--color-primary); }
  .lc-note-inline { font-size: 0.86rem; color: var(--color-text-muted); background: var(--color-primary-tint); border: 1px solid var(--color-primary-light); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-4); }
  .lc-cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
  .lc-art h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: var(--space-3); }
  .lc-art .block + h4 { margin-top: var(--space-5); }
  .scale-row { margin-bottom: var(--space-3); }
  .scale-row:last-child { margin-bottom: 0; }
  .scale-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
  .scale-head .n { font-weight: 600; font-size: 0.9rem; }
  .scale-head .v { font-weight: 800; font-size: 0.84rem; color: var(--color-primary-dark); font-variant-numeric: tabular-nums; }
  .scale-track { position: relative; height: 10px; background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-pill); }
  .scale-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; width: 0; transition: width 900ms cubic-bezier(0.22,1,0.36,1); }
  .scale-ticks { display: flex; justify-content: space-between; font-size: 0.62rem; color: var(--color-text-muted); margin-top: 3px; padding: 0 2px; }
  .uc-mini { border: 1.5px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); background: var(--color-bg-soft); }
  .uc-mini .uct { font-weight: 700; font-size: 0.98rem; }
  .uc-mini .ucs { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: var(--space-3); }
  .uc-mini ul { list-style: none; }
  .uc-mini li { font-size: 0.84rem; padding: 3px 0 3px 18px; position: relative; color: var(--color-text); }
  .uc-mini li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--color-primary); }

  /* interactive matrix */
  .matrix-block { max-width: 1100px; margin: var(--space-6) auto 0; padding: 0 var(--space-5); }
  .matrix-card { background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: var(--space-6); }
  .matrix-card h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: var(--space-3); }
  .matrix-wrap { position: relative; }
  .matrix-wrap svg { width: 100%; height: auto; display: block; }
  .mx-dot { cursor: pointer; }
  .mx-dot circle.body { transition: filter 200ms ease; filter: drop-shadow(0 2px 3px rgba(15,50,45,0.25)); }
  .mx-dot:hover circle.body { filter: drop-shadow(0 4px 8px rgba(15,50,45,0.4)); }
  .mx-dot { opacity: 0; }
  .matrix-wrap.in .mx-dot { animation: dotIn 500ms cubic-bezier(0.34,1.56,0.64,1) both; }
  @keyframes dotIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
  .matrix-tip {
    position: absolute; z-index: 10; width: 240px;
    background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); padding: var(--space-3) var(--space-4);
    pointer-events: none; opacity: 0; transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .matrix-tip.show { opacity: 1; transform: translateY(0); }
  .matrix-tip .mt-name { font-weight: 800; font-size: 0.9rem; margin-bottom: 3px; }
  .matrix-tip .mt-desc { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.4; margin-bottom: 6px; }
  .matrix-tip .mt-meta { font-size: 0.76rem; font-weight: 700; color: var(--color-primary-dark); }
  .mx-legend { display: flex; gap: var(--space-4); justify-content: center; margin-top: var(--space-3); flex-wrap: wrap; }
  .mx-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--color-text-muted); }
  .mx-legend .mx-leg-label { color: var(--color-text); font-weight: 700; }
  .mx-legend i { width: 11px; height: 11px; border-radius: 50%; }
  .mx-hint { text-align: center; font-size: 0.8rem; color: var(--color-text-muted); margin-top: var(--space-2); }

  /* ==========================================================
     STEP 3 + 4 supporting blocks
     ========================================================== */
  .k3-cards { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: var(--space-3); max-width: 1080px; margin: var(--space-7) auto 0; padding: 0 var(--space-5); align-items: stretch; }
  @media (max-width: 880px) { .k3-cards { grid-template-columns: 1fr; } .k3-arrow { transform: rotate(90deg); justify-self: center; } }
  .k3-card { background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-card); }
  .k3-card .ph { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary-dark); }
  .k3-card h4 { font-size: 1.05rem; margin: var(--space-2) 0; }
  .k3-card p { font-size: 0.9rem; }
  .k3-arrow { align-self: center; font-size: 1.4rem; color: var(--color-text-muted); font-weight: 800; }
  .funding-band { max-width: 1080px; margin: var(--space-6) auto 0; padding: var(--space-4) var(--space-5); display: flex; gap: var(--space-4); align-items: center; background: var(--color-primary-tint); border: 1.5px solid var(--color-primary-light); border-left: 4px solid var(--color-primary); border-radius: var(--radius-md); }
  .funding-band p { color: var(--color-text); font-size: 0.95rem; }
  .funding-band a { font-weight: 700; text-decoration: underline; cursor: pointer; white-space: nowrap; }

  .train-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); max-width: 1100px; margin: var(--space-7) auto 0; padding: 0 var(--space-5); }
  @media (max-width: 980px) { .train-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .train-grid { grid-template-columns: 1fr; } }
  .train-card { background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-card); transition: all var(--transition); }
  .train-card .ti { font-size: 1.6rem; margin-bottom: var(--space-3); }
  .train-card h4 { font-size: 1rem; margin-bottom: var(--space-2); }
  .train-card p { font-size: 0.85rem; }
  .train-card .tm { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); font-size: 0.78rem; font-weight: 700; color: var(--color-primary-dark); }
  .lvp-note { text-align: center; margin-top: var(--space-5); font-size: 0.92rem; color: var(--color-text-muted); padding: 0 var(--space-5); }

  /* ==========================================================
     AUS DER PRAXIS + KONTAKT (dark)
     ========================================================== */
  .logo-band { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; max-width: 980px; margin: 0 auto var(--space-6); padding: 0 var(--space-5); }
  .mono-logo { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); font-weight: 700; color: var(--color-text-muted); font-size: 0.9rem; }
  .mono-logo .mm { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 800; color: #fff; }
  .mono-logo img { height: 30px; width: auto; max-width: 150px; object-fit: contain; display: block; }
  .fictive-note { text-align: center; font-size: 0.76rem; color: var(--color-text-muted); margin: calc(-1 * var(--space-4)) 0 var(--space-6); }
  .quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); max-width: 1100px; margin: 0 auto var(--space-6); padding: 0 var(--space-5); }
  @media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }
  .quote-card { background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
  .quote-card .q { font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--color-text); flex: 1; }
  .quote-card .q::before { content: '„'; color: var(--color-primary); font-size: 1.6rem; font-weight: 800; }
  .quote-card .who { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); font-size: 0.84rem; color: var(--color-text-muted); }
  .quote-card .who strong { color: var(--color-text); display: block; }
  /* Kundenstimmen mit zwei Stationen (Level-Check -> Umsetzung), Logo im Kopf */
  .quote-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 540px)); justify-content: center; gap: var(--space-5); max-width: 1100px; margin: 0 auto var(--space-6); padding: 0 var(--space-5); }
  @media (max-width: 880px) { .quote-row { grid-template-columns: 1fr; } }
  .quote-story { padding: var(--space-5) var(--space-6); background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
  .quote-story .qs-head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
  .quote-story .qs-head img { height: 34px; width: auto; max-width: 130px; object-fit: contain; }
  .quote-story .qs-co strong { display: block; font-size: 1rem; color: var(--color-text); }
  .quote-story .qs-co span { font-size: 0.86rem; color: var(--color-text-muted); }
  .quote-story .qs-quotes { display: grid; grid-template-columns: 1fr; gap: var(--space-4); flex: 1; }
  .quote-story .qs-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-primary-dark); background: var(--color-primary-tint); border-radius: var(--radius-pill); padding: 4px 11px; margin-bottom: var(--space-2); }
  .quote-story .qs-q p { font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--color-text); }
  .quote-story .qs-who { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-divider); font-size: 0.86rem; color: var(--color-text-muted); }
  .quote-story .qs-who strong { color: var(--color-text); }
  .quote-card .kpi { margin-top: var(--space-2); font-size: 0.95rem; font-weight: 800; color: var(--color-primary-dark); }
  .ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); max-width: 1100px; margin: 0 auto; padding: 0 var(--space-5); }
  @media (max-width: 880px) { .ref-grid { grid-template-columns: 1fr; } }
  .ref-card { background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; cursor: pointer; transition: all var(--transition); display: flex; flex-direction: column; }
  .ref-card-img { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; background-color: var(--color-bg-soft); }
  .ref-card-img::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,25,20,0.30) 0%, rgba(10,25,20,0.04) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.5) 100%); }
  .ref-card-tag { position: absolute; bottom: 12px; left: 12px; background: #fff; color: var(--color-primary-dark); padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700; z-index: 1; border: 1px solid rgba(10,25,20,0.10); box-shadow: 0 2px 8px rgba(0,0,0,0.28); }
  .type-badge { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; z-index: 1; border: 1px solid rgba(255,255,255,0.35); box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
  .type-badge.lc { background: var(--s2); }
  .type-badge.ums { background: var(--s3); }
  .type-badge.fs { background: var(--s4); }
  .logo-chip { position: absolute; top: 12px; right: 12px; z-index: 1; background: #fff; border: 1px solid rgba(10,25,20,0.12); border-radius: 8px; padding: 5px 9px; box-shadow: 0 2px 10px rgba(0,0,0,0.30); display: inline-flex; align-items: center; }
  .logo-chip img { height: 18px; width: auto; max-width: 92px; object-fit: contain; display: block; }
  /* runde/quadratische Logos (z. B. BMW) brauchen mehr Höhe als breite Wortmarken */
  .logo-chip.sq img { height: 32px; }
  .ref-card-body { padding: var(--space-4); flex: 1; display: flex; flex-direction: column; }
  .ref-card-title { font-size: 1.02rem; font-weight: 700; margin-bottom: var(--space-2); line-height: 1.3; }
  .ref-card-kpi { font-size: 0.92rem; font-weight: 700; color: var(--color-primary-dark); line-height: 1.45; }
  .ref-card-meta { margin-top: 6px; font-size: 0.82rem; color: var(--color-text-muted); }
  /* margin-top:auto pinnt die Zeile an den Kartenboden, damit Strich + Link in jeder Zeile bündig sind */
  .ref-card-more { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--color-divider); font-size: 0.84rem; font-weight: 600; color: var(--color-primary-dark); display: flex; justify-content: space-between; }
  .ref-card-meta { margin-bottom: var(--space-3); }
  .k5-cta { display: flex; justify-content: center; margin-top: var(--space-6); }

  .k6 { background:
      radial-gradient(ellipse at 80% 0%, rgba(23,156,125,0.25), transparent 55%),
      linear-gradient(160deg, #0F2B23 0%, #14463A 100%);
  }
  .k6 .ch-head h2 { color: #fff; }
  .k6 .ch-head p { color: rgba(255,255,255,0.82); }
  .k6 .eyebrow { color: #7FD6C2; }
  .lead-person { max-width: 720px; margin: 0 auto var(--space-4); padding: 0 var(--space-5); }
  .lead-card { background: var(--color-bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: var(--space-5) var(--space-6); display: flex; align-items: center; gap: var(--space-5); }
  @media (max-width: 600px) { .lead-card { flex-direction: column; text-align: center; } }
  .pavatar { width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; color: #fff; }
  .pavatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .lead-card h4 { font-size: 1.1rem; }
  .lead-card .role { font-size: 0.86rem; color: var(--color-text-muted); margin-top: 2px; }
  .lead-card .pcontact { margin-top: var(--space-2); font-size: 0.84rem; line-height: 1.6; }
  .lead-card .pcontact a { display: block; color: var(--color-primary-dark); font-weight: 600; }
  .people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); max-width: 980px; margin: 0 auto var(--space-6); padding: 0 var(--space-5); }
  .people-grid.pg-2 { grid-template-columns: repeat(2, 1fr); max-width: 660px; }
  @media (max-width: 760px) { .people-grid, .people-grid.pg-2 { grid-template-columns: 1fr; } }
  .person { background: var(--color-bg-card); border-radius: var(--radius-lg); padding: var(--space-5); text-align: center; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
  .person .pavatar { width: 64px; height: 64px; margin: 0 auto var(--space-3); font-size: 1.15rem; }
  .person h4 { font-size: 1rem; }
  .person .role { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 2px; line-height: 1.35; min-height: 2.7em; }
  @media (max-width: 760px) { .person .role { min-height: 0; } }
  .person .topic { align-self: center; margin-top: var(--space-3); font-size: 0.78rem; font-weight: 700; }
  .person .pcontact { margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--color-divider); font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.6; }
  /* topic tag keeps a consistent gap above the pinned contact block */
  .person .topic { margin-bottom: var(--space-3); }
  .person .pcontact a { display: block; color: var(--color-primary-dark); font-weight: 600; }
  .contact-wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--space-5); }
  .contact-form { background: var(--color-bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: var(--space-6); }
  .contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  @media (max-width: 520px) { .contact-form .form-row { grid-template-columns: 1fr; } }
  .contact-form label { display: block; margin-bottom: var(--space-3); }
  .contact-form label span { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 4px; }
  .contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 10px 12px; border-radius: var(--radius-md); border: 1.5px solid var(--color-border); font-family: inherit; font-size: 0.95rem; background: #fff; }
  .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
  .contact-form textarea { min-height: 84px; resize: vertical; }
  .form-privacy { font-size: 0.78rem; color: var(--color-text-muted); line-height: 1.5; margin-bottom: var(--space-3); }
  .form-privacy a { color: var(--color-primary-dark); font-weight: 600; text-decoration: underline; cursor: pointer; }
  .contact-micro { text-align: center; margin-top: var(--space-3); font-size: 0.86rem; color: rgba(255,255,255,0.78); }

  .footer { background: #0B1D18; color: rgba(255,255,255,0.7); padding: var(--space-6) var(--space-5); text-align: center; font-size: 0.86rem; }
  .footer a { color: rgba(255,255,255,0.85); margin: 0 var(--space-2); }

  /* ==========================================================
     OVERLAYS + MODAL
     ========================================================== */
  .overlay { position: fixed; inset: 0; z-index: 100; background: linear-gradient(180deg, #F5F8F7 0%, #EAF6F3 100%); display: none; flex-direction: column; }
  .overlay.open { display: flex; }
  body.locked { overflow: hidden; }
  .ov-bar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--color-divider); background: rgba(255,255,255,0.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); flex-shrink: 0; }
  .ov-bar .ov-title { font-weight: 700; font-size: 0.95rem; }
  .ov-bar .ov-title span { color: var(--color-text-muted); font-weight: 400; }
  .ov-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 600; color: var(--color-text); background: var(--color-bg); border: 1.5px solid var(--color-border); transition: all var(--transition); }
  .ov-back:hover { background: var(--color-bg-soft); border-color: var(--color-primary-light); }
  .ov-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: var(--space-6) var(--space-5); }
  .ov-stage { max-width: 1080px; margin: 0 auto; }
  .ov-note { max-width: 1080px; margin: 0 auto var(--space-5); padding: var(--space-3) var(--space-4); display: flex; gap: var(--space-3); align-items: center; background: var(--color-primary-tint); border: 1px solid var(--color-primary-light); border-radius: var(--radius-md); font-size: 0.9rem; color: var(--color-primary-dark); }

  .deck-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: var(--space-6); align-items: start; }
  @media (max-width: 880px) { .deck-layout { grid-template-columns: 1fr; } }
  .progress-mini { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
  .progress-mini .count { font-size: 0.9rem; font-weight: 600; color: var(--color-text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
  /* Deck-Spalte über das Live-Panel heben: die wegfliegende Karte muss VOR den Balken landen */
  .deck-layout > div:first-child { position: relative; z-index: 2; }
  .deck-wrap { position: relative; height: 440px; }
  .card-stack { position: relative; width: 100%; height: 100%; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y pinch-zoom; }
  .card-stack img { pointer-events: none; -webkit-user-drag: none; }
  .swipe-card { position: absolute; inset: 0; background: var(--color-bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); border: 1.5px solid var(--color-border); cursor: grab; overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), opacity var(--transition), inset var(--transition); backface-visibility: hidden; }
  .swipe-card.dragging { cursor: grabbing; transition: none; will-change: transform; }
  .swipe-card.fly-right { transform: translateX(140%) rotate(20deg); opacity: 0; }
  .swipe-card.fly-left { transform: translateX(-140%) rotate(-20deg); opacity: 0; }
  .swipe-card.flying { pointer-events: none; }
  .swipe-card.back { inset: 0 14px; transform: translateY(12px); opacity: 0.55; pointer-events: none; }
  .swipe-card.back2 { inset: 0 28px; transform: translateY(24px); opacity: 0.3; }
  .swipe-card.back .sc-inner > *, .swipe-card.back .sc-proj-body > * { visibility: hidden; }
  .swipe-card .kind-pill { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.94); }
  .swipe-card .kind-pill.co { color: #1D6BB0; } .swipe-card .kind-pill.wm { color: #6D44C8; } .swipe-card .kind-pill.ki { color: #B73838; }
  .sc-inner { flex: 1; display: flex; flex-direction: column; padding: var(--space-6); }
  .swipe-card .prompt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-muted); margin: var(--space-5) 0 var(--space-3); }
  .swipe-card .statement { flex: 1; display: flex; align-items: center; font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
  .swipe-card .sc-img { height: 168px; background-size: cover; background-position: center; position: relative; flex-shrink: 0; background-color: var(--color-bg-soft); }
  .swipe-card .sc-img::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%); }
  .sc-proj-body { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; flex: 1; }
  .sc-proj-body .prompt { margin-top: 0; }
  /* why this project was picked (one chip, brand .tag colours) */
  .sc-reason { display: block; align-self: flex-start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: -6px 0 var(--space-3); }
  .sc-proj-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
  .sc-proj-kpi { font-size: 0.92rem; font-weight: 700; color: var(--color-primary-dark); line-height: 1.45; }
  .sc-proj-meta { font-size: 0.84rem; color: var(--color-text-muted); margin-top: 4px; }
  /* statement cards get an axis-colored icon banner so they don't look empty */
  .swipe-card .sc-stmt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .swipe-card .sc-figure.sc-fallback { display: none; }
  .swipe-card.noimg .sc-stmt-img { display: none; }
  .swipe-card.noimg .sc-figure.sc-fallback { display: flex; }
  .swipe-card .sc-figure { height: 116px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
  .swipe-card .sc-figure svg { width: 48px; height: 48px; color: #fff; }
  .swipe-card .sc-figure.co { background: linear-gradient(135deg, #2B8FE0, #1D6BB0); }
  .swipe-card .sc-figure.wm { background: linear-gradient(135deg, #8B5CF6, #6D44C8); }
  .swipe-card .sc-figure.ki { background: linear-gradient(135deg, #E54B4B, #B73838); }
  .swipe-card .statement { font-size: 1.25rem; }
  /* "Projekt ansehen" link inside project cards */
  .sc-detail { margin-top: auto; align-self: flex-start; position: relative; z-index: 4; background: none; border: 0; padding: 10px 0 0; font-size: 0.88rem; font-weight: 800; color: var(--color-primary-dark); cursor: pointer; }
  .sc-detail:hover { text-decoration: underline; }
  .swipe-card .deco { position: absolute; top: 22px; padding: 6px 14px; border-radius: var(--radius-md); font-weight: 800; font-size: 1rem; border: 3px solid; opacity: 0; transition: opacity 80ms linear; pointer-events: none; z-index: 10; background: rgba(255,255,255,0.92); }
  .swipe-card .deco-yes { right: 22px; color: var(--color-primary); border-color: var(--color-primary); transform: rotate(12deg); }
  .swipe-card .deco-no { left: 22px; color: #B91C1C; border-color: #B91C1C; transform: rotate(-12deg); }
  /* past the swipe threshold: stamp snaps, matching button glows */
  .swipe-card.armed .deco-yes { transform: rotate(12deg) scale(1.1); }
  .swipe-card.armed .deco-no { transform: rotate(-12deg) scale(1.1); }
  .deck-actions .btn.armed { animation: pulse-glow 700ms ease-out; }
  .deck-actions { display: flex; justify-content: center; align-items: center; gap: var(--space-5); margin-top: var(--space-5); }
  .deck-actions .btn { flex: none; }
  .deck-actions .btn-skip { color: var(--color-text-muted); font-size: 0.88rem; padding: 8px 14px; border-radius: var(--radius-pill); }
  .deck-actions .btn-skip:hover { background: var(--color-bg-soft); color: var(--color-text); }
  .live-panel { background: var(--color-bg-card); border-radius: var(--radius-lg); border: 1.5px solid var(--color-border); box-shadow: var(--shadow-card); padding: var(--space-5); }
  .live-panel h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: var(--space-4); }
  .live-panel .axis-row { margin-bottom: var(--space-4); }
  .live-panel .axis-row .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-2); }
  .live-panel .axis-row .name { font-weight: 600; font-size: 0.92rem; }
  .live-panel .axis-row .val { font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
  .live-panel .liked { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-divider); font-size: 0.86rem; color: var(--color-text-muted); }
  .live-panel .liked strong { color: var(--color-text); }

  .ov-result-head { text-align: center; max-width: 680px; margin: 0 auto var(--space-5); }
  .result-note { font-size: 0.88rem; color: var(--color-text-muted); margin-top: var(--space-3); }
  .result-cards { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-5); align-items: start; }
  @media (max-width: 880px) { .result-cards { grid-template-columns: 1fr; } }
  .card-lc { background: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark)); color: #fff; border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
  .card-lc::after { content:''; position:absolute; right:-40px; top:-40px; width:200px; height:200px; background: rgba(255,255,255,0.08); border-radius:50%; }
  .card-lc .label { font-size: 0.78rem; opacity: 0.88; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
  .card-lc h3 { color: #fff; margin-top: var(--space-2); font-size: 1.5rem; }
  .card-lc p { color: rgba(255,255,255,0.94); margin-top: var(--space-3); }
  .card-lc .meta { display: flex; gap: var(--space-5); margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,0.22); font-size: 0.9rem; }
  .card-lc .meta .k { opacity: 0.78; font-size: 0.76rem; } .card-lc .meta .v { font-weight: 700; margin-top: 2px; }
  .card-lc .lc-cta { margin-top: var(--space-5); display: flex; gap: var(--space-3); flex-wrap: wrap; }
  .card-lc .lc-cta .btn { background: #fff; color: var(--color-primary-dark); }
  .card-lc .lc-cta .btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.65); }
  .scores-card { background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: var(--space-5); }
  .scores-card h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: var(--space-4); }
  /* result triangle - same metaphor as the hero radar */
  .res-tri { width: 100%; height: auto; display: block; margin-top: var(--space-2); }
  .res-tri .rt-grid { fill: none; stroke: var(--color-divider); stroke-width: 1.2; }
  .res-tri .rt-axis { stroke: var(--color-border); stroke-width: 1.2; }
  .res-tri .rt-shape { fill: rgba(23,156,125,0.24); stroke: var(--color-primary); stroke-width: 2.5; transition: all 700ms cubic-bezier(0.22,1,0.36,1); }
  /* the Luecke between the achieved profile and the full triangle, tinted as a warning */
  .res-tri .rt-gap { fill: rgba(224,122,63,0.18); stroke: none; }
  .res-tri .rt-lbl { font-size: 11px; font-weight: 700; fill: var(--color-text-muted); }
  .res-tri .rt-val { font-size: 12px; font-weight: 800; }
  .ov-result-actions { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
  .res-projects { margin-top: var(--space-6); }
  .res-projects > h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: var(--space-4); }
  .res-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  @media (max-width: 900px) { .res-projects-grid { grid-template-columns: 1fr; } }
  .res-contact { max-width: 720px; margin: var(--space-6) auto 0; }
  .res-contact > h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: var(--space-4); }

  .search-box { display: flex; align-items: center; gap: var(--space-3); max-width: 560px; margin: 0 auto var(--space-4); background: var(--color-bg-card); border: 1.5px solid var(--color-border); border-radius: var(--radius-pill); padding: 11px 20px; box-shadow: var(--shadow-sm); transition: all var(--transition); }
  .search-box:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-tint); }
  .search-box svg { color: var(--color-text-muted); flex-shrink: 0; }
  .search-box input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 0.98rem; background: transparent; color: var(--color-text); }
  .filter-bar { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; margin-bottom: var(--space-4); }
  .chip { padding: 7px 16px; border-radius: var(--radius-pill); background: var(--color-bg-card); border: 1.5px solid var(--color-border); font-size: 0.88rem; font-weight: 600; color: var(--color-text-muted); cursor: pointer; transition: all var(--transition); }
  .chip:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
  .chip.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
  .ref-count { text-align: center; font-size: 0.86rem; color: var(--color-text-muted); margin-bottom: var(--space-4); }
  .ref-empty { text-align: center; color: var(--color-text-muted); padding: var(--space-7) var(--space-5); }
  #gal-grid { padding: 0; }

  .faq-wrap { max-width: 720px; margin: 0 auto; }
  .faq-item { border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg-card); margin-bottom: var(--space-3); overflow: hidden; }
  .faq-q { width: 100%; text-align: left; padding: var(--space-4) var(--space-5); font-weight: 600; font-size: 1rem; color: var(--color-text); display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
  .faq-q .pm { color: var(--color-primary); font-size: 1.4rem; line-height: 1; transition: transform var(--transition); flex-shrink: 0; }
  .faq-item.open .faq-q .pm { transform: rotate(45deg); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition-slow); }
  .faq-a p { padding: 0 var(--space-5) var(--space-4); font-size: 0.96rem; }
  /* legal overlays: Impressum / Datenschutz */
  .legal { max-width: 760px; margin: 0 auto; font-size: 0.94rem; line-height: 1.65; color: var(--color-text); }
  .legal h3 { font-size: 1.2rem; margin: 0 0 var(--space-4); }
  .legal h4 { font-size: 1.02rem; margin: var(--space-5) 0 var(--space-2); color: var(--color-primary-dark); }
  .legal h5 { font-size: 0.95rem; margin: var(--space-4) 0 var(--space-1); }
  .legal p { margin-bottom: var(--space-3); }
  .legal ul { margin: 0 0 var(--space-3); padding-left: var(--space-5); }
  .legal li { margin-bottom: 6px; }
  .legal a { color: var(--color-primary-dark); font-weight: 600; word-break: break-word; }
  .legal .addr { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); margin-bottom: var(--space-3); }

  .modal { position: fixed; inset: 0; z-index: 120; display: none; }
  .modal.open { display: block; }
  .modal-backdrop { position: absolute; inset: 0; background: rgba(15,35,30,0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .modal-panel { position: absolute; inset: 0; margin: auto; max-width: 940px; width: calc(100% - var(--space-5)); max-height: calc(100% - var(--space-6)); background: var(--color-bg); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; animation: modalIn 300ms cubic-bezier(0.22,1,0.36,1); }
  @keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
  .modal-close { position: absolute; top: var(--space-4); right: var(--space-4); z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.94); box-shadow: var(--shadow-md); font-size: 0.9rem; font-weight: 600; color: var(--color-text); }
  .modal-close:hover { background: #fff; }
  .modal-scroll { overflow-y: auto; }
  .md-hero { height: 200px; background-size: cover; background-position: center; position: relative; }
  .md-hero::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,25,20,0.25) 0%, rgba(10,25,20,0.42) 45%, rgba(10,25,20,0.78) 100%); }
  .md-hero-cap { position: absolute; bottom: var(--space-4); left: var(--space-6); right: var(--space-6); color: #fff; z-index: 1; }
  .md-hero-cap .tag { background: rgba(255,255,255,0.92); margin-bottom: var(--space-2); }
  .md-hero-cap h2 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.9rem); }
  .md-hero .md-symbol { position: absolute; right: 12px; bottom: 10px; z-index: 1; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(255,255,255,0.88); background: rgba(10,25,20,0.4); padding: 3px 9px; border-radius: var(--radius-pill); }
  .md-body { padding: var(--space-6); }
  .md-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
  .md-chip { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 6px 14px; font-size: 0.84rem; }
  .md-chip strong { color: var(--color-text); }
  /* report chapters as distinct colored cards */
  .md-block { position: relative; background: #fff; border: 1px solid var(--color-border); border-left: 5px solid var(--ch, var(--color-primary)); border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-4); box-shadow: 0 1px 3px rgba(15,50,45,0.06); }
  .md-block > h4 { display: flex; align-items: center; gap: 10px; font-size: 1.06rem; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--color-text); margin-bottom: var(--space-3); }
  .md-block > h4 .ch-num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ch, var(--color-primary)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 800; }
  /* Zielbild: before → after */
  .gap-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: var(--space-3); margin-top: var(--space-3); }
  .gap-cell { border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 0.9rem; line-height: 1.45; }
  .gap-cell.now { background: var(--color-bg-soft); border: 1px solid var(--color-border); color: var(--color-text-muted); }
  .gap-cell.target { background: rgba(23,156,125,0.10); border: 1px solid rgba(23,156,125,0.35); color: var(--color-text); }
  .gap-cell .gl { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
  .gap-cell.now .gl { color: var(--color-text-muted); }
  .gap-cell.target .gl { color: var(--color-primary-dark); }
  .gap-arrow { align-self: center; font-size: 1.5rem; color: var(--color-primary); font-weight: 800; }
  @media (max-width: 640px){ .gap-grid { grid-template-columns: 1fr; } .gap-arrow { transform: rotate(90deg); justify-self: center; } }
  /* scale legend under reifegrad */
  .scale-legend { margin-top: var(--space-3); font-size: 0.8rem; color: var(--color-text-muted); background: var(--color-bg-soft); border-radius: var(--radius-sm); padding: 9px 13px; }
  /* interactive matrix & roadmap in the report */
  .rmx-wrap, .rrm-wrap { position: relative; max-width: 470px; margin: var(--space-3) auto 0; }
  .rmx-svg, .rrm-svg { width: 100%; height: auto; display: block; }
  .rmx-dot, .rrm-node { cursor: pointer; }
  .rmx-dot circle, .rrm-node circle { transition: transform 0.12s ease; transform-box: fill-box; transform-origin: center; }
  .rmx-ax { font-size: 10px; font-weight: 700; fill: #5B6B6A; }
  .rrm-lbl { font-size: 10px; font-weight: 800; fill: var(--color-primary-dark); }
  .rrm-hz { font-size: 9px; font-weight: 700; fill: #5B6B6A; }
  .rmx-tip, .rrm-tip { position: absolute; z-index: 5; width: 222px; max-width: 80%; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(15,50,45,0.18); padding: 10px 13px; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity 0.12s, transform 0.12s; }
  .rmx-tip.show, .rrm-tip.show { opacity: 1; transform: none; }
  .rt-name { font-weight: 800; font-size: 0.9rem; color: var(--color-text); margin-bottom: 3px; }
  .rt-desc { font-size: 0.82rem; color: var(--color-text); line-height: 1.42; }
  .rt-meta { font-size: 0.76rem; color: var(--color-primary-dark); font-weight: 700; margin-top: 6px; }
  /* KI report: Use-Cases mit Forschungsgrad der benötigten Technologie */
  .uc-fg-list { display: flex; flex-direction: column; gap: var(--space-4); }
  .uc-fg-head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
  .uc-fg-n { flex: none; width: 23px; height: 23px; border-radius: 50%; background: var(--color-primary-dark); color: #fff; font-size: 0.78rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
  .uc-fg-name { font-weight: 700; font-size: 0.94rem; color: var(--color-text); }
  .uc-fg-track { position: relative; height: 8px; background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: 999px; }
  .uc-fg-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #B97309, #179C7D); }
  .uc-fg-marker { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #117560; transform: translate(-50%,-50%); box-shadow: 0 1px 3px rgba(15,50,45,0.25); }
  .uc-fg-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--color-text-muted); margin-top: 4px; }
  .md-block p { color: var(--color-text); font-size: 0.98rem; }
  .md-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  @media (max-width: 680px) { .md-two { grid-template-columns: 1fr; } }
  .md-list { list-style: none; }
  .md-list li { position: relative; padding: 6px 0 6px 22px; font-size: 0.94rem; color: var(--color-text); }
  .md-list li::before { content:''; position:absolute; left:4px; top:14px; width:7px; height:7px; border-radius:2px; background: var(--color-primary); }
  .mat { background: var(--color-bg-soft); border: 1.5px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); }
  .mat-row { margin-bottom: var(--space-5); } .mat-row:last-child { margin-bottom: 0; }
  .mat-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-2); }
  .mat-name { font-weight: 600; font-size: 0.94rem; }
  .mat-delta { font-size: 0.84rem; font-weight: 700; font-variant-numeric: tabular-nums; }
  .mat-delta .start { color: var(--color-text-muted); } .mat-delta .arrow { color: var(--color-text-muted); margin: 0 4px; } .mat-delta .end { color: var(--color-primary-dark); }
  .mat-track { position: relative; height: 12px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-pill); overflow: hidden; }
  .mat-fill-start { position: absolute; inset: 0 auto 0 0; height: 100%; background: repeating-linear-gradient(45deg, rgba(91,107,106,0.25), rgba(91,107,106,0.25) 4px, transparent 4px, transparent 8px); }
  .mat-fill-end { position: absolute; inset: 0 auto 0 0; height: 100%; border-radius: var(--radius-pill); width: 0; transition: width 900ms cubic-bezier(0.22,1,0.36,1); }
  .mat-marker { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--color-text-muted); }
  .md-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  @media (max-width: 680px) { .md-kpis { grid-template-columns: repeat(2, 1fr); } }
  .kpi-tile { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); text-align: center; }
  .kpi-tile .v { font-size: 1.4rem; font-weight: 800; color: var(--color-primary-dark); }
  .kpi-tile .l { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 2px; }
  /* Ergebnis-Kacheln (qualitativ, ohne erfundene Zahlen) */
  .out-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: var(--space-3); }
  .out-tile { background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); }
  .out-tile .ol { font-weight: 800; font-size: 0.96rem; color: var(--color-primary-dark); }
  .out-tile .os { font-size: 0.86rem; color: var(--color-text); margin-top: 5px; line-height: 1.45; }
  .md-impact { font-size: 1.08rem; font-weight: 700; line-height: 1.5; color: var(--color-text); margin-bottom: var(--space-4); }
  .md-techrow { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
  .md-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--space-3); }
  .md-gallery img { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--color-border); background: #fff; display: block; }
  /* Foto-Galerien mit gemischten Seitenverhältnissen: einheitlich auf 16:9 beschneiden */
  .md-gallery.uniform img { aspect-ratio: 16 / 9; object-fit: cover; }
  .md-fig { margin: 0; }
  .md-fig figcaption { font-size: 0.76rem; color: var(--color-text-muted); margin-top: 5px; line-height: 1.4; }
  /* Querverweis Level-Check ↔ Umsetzungsprojekt */
  .md-link-proj { display: flex; align-items: center; gap: var(--space-4); width: 100%; text-align: left; background: var(--color-primary-tint); border: 1.5px solid var(--color-primary-light); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); cursor: pointer; margin-bottom: var(--space-4); transition: all var(--transition); font-family: inherit; }
  .md-link-proj .mlp-k { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-primary-dark); }
  .md-link-proj .mlp-t { font-size: 0.98rem; font-weight: 700; color: var(--color-text); margin-top: 2px; }
  .md-link-proj .mlp-a { margin-left: auto; font-size: 1.2rem; color: var(--color-primary-dark); font-weight: 800; }
  .md-foot { margin-top: var(--space-4); font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.6; }
  /* Kundenzitat im Projekt-Detail */
  .md-quoteblock { background: var(--color-primary-tint); border: 1.5px solid var(--color-primary-light); border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-4); }
  .md-quoteblock .mq-text { font-size: 1.12rem; font-weight: 600; line-height: 1.5; color: var(--color-text); }
  .md-quoteblock .mq-text::before { content: ''; }
  .md-quoteblock .mq-who { margin-top: var(--space-3); font-size: 0.84rem; color: var(--color-text-muted); }
  .md-quoteblock .mq-who strong { color: var(--color-text); display: block; }
  .md-cta { display: flex; justify-content: flex-end; gap: var(--space-3); margin-top: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--color-divider); }
  .ch-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
  .ch-table th { text-align: left; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); padding: 8px 10px; border-bottom: 1.5px solid var(--color-border); }
  .ch-table td { padding: 9px 10px; border-bottom: 1px solid var(--color-divider); color: var(--color-text); vertical-align: top; }
  .ch-table .ucref { font-weight: 700; color: var(--color-primary-dark); white-space: nowrap; }

  /* persistent CTA inside the pinned check scene + the way back into a finished check */
  .s2-steps .s2-cta { align-self: center; margin-top: var(--space-2); }
  .lc-back-link { margin-bottom: var(--space-3); font-weight: 700; }
  .back-to-result { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; box-shadow: var(--shadow-lg); }
  .back-to-result[hidden] { display: none; }  /* .btn's display would otherwise beat the hidden attribute */
  .btr .footer { padding-bottom: 88px; }
  /* fitStages() measures with pre-animation transforms neutralised */
  .s2-stage.measuring .stagger > *, .s2-stage.measuring [data-from] { transform: none !important; transition: none !important; }
  .s2-stage.settling .stagger > *, .s2-stage.settling [data-from] { transition: none !important; }

  /* ==========================================================
     MOBILE / TABLET - scoped blocks only; desktop rendering unchanged
     ========================================================== */
  .nav-burger, .nav-m { display: none; }
  /* the hero-less example report: keep the heading clear of the close pill */
  .modal-scroll > .md-body:first-child { padding-top: 64px; }
  /* touch: no background-scroll leak behind open overlays, long e-mails wrap */
  .overlay.open, .modal.open { touch-action: pinch-zoom; }
  .ov-body, .modal-scroll { overscroll-behavior: contain; }
  .pcontact a { overflow-wrap: anywhere; }
  .swipe-card, .s2-step, .reise-step, .lc-card, .ref-card, .chip, .faq-q { -webkit-tap-highlight-color: transparent; }

  /* lift-on-hover only where a pointer can hover (touch would keep the lifted state) */
  @media (hover: hover) {
    .reise-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .lc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
    .train-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-light); }
    .btn-yes:hover { transform: translateY(-2px) scale(1.04); }
    .btn-no:hover { transform: translateY(-2px) scale(1.04); background: #FEF2F2; }
    .rmx-dot:hover circle, .rrm-node:hover circle { transform: scale(1.16); }
    .md-link-proj:hover { border-color: var(--color-primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
  }
  /* 16px stops the iOS auto-zoom on focus */
  @media (pointer: coarse) {
    .contact-form input, .contact-form select, .contact-form textarea, .search-box input { font-size: 16px; }
  }

  /* burger + dropdown panel (the bar keeps logo, FAQ, CTA) */
  @media (max-width: 980px) {
    .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-md); color: var(--color-text); }
    .nav.over-hero:not(.solid) .nav-burger { color: #fff; }
    .nav.menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; padding: var(--space-3) var(--space-4) var(--space-4); background: var(--color-bg); border-bottom: 1px solid var(--color-divider); box-shadow: var(--shadow-md); max-height: calc(100vh - 100%); max-height: calc(100svh - 100%); overflow-y: auto; overscroll-behavior: contain; }
    .nav.over-hero:not(.solid).menu-open .nav-links { background: #0F2B23; }
    .nav.menu-open .nav-links a, .nav.menu-open .nav-links .navlink { padding: 12px 14px; font-size: 1rem; text-align: left; }
    .nav.menu-open .nav-links a.active::after { display: none; }
    .nav.menu-open .nav-links .btn { margin-top: var(--space-2); }
  }

  /* stacked pinned scene: a fixed stepper (1 2 3 4, only the colour moves), the active step's text, the stage takes the rest */
  @media (max-width: 880px) {
    .scn .scene2 { height: 100vh; height: 100svh; min-height: 0; grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding-top: 62px; padding-bottom: 8px; overflow: hidden; }
    .s2-stage { min-height: 0; align-self: stretch; }
    /* badge keeps its own strip above the beat content instead of floating over it */
    .badge-float { top: 8px; left: 8px; padding: 4px 10px; font-size: 0.7rem; }
    /* tablets keep the desktop composition width (centered, wider than the stage) and fitStages() scales it down;
       the layer only leaves room at the top while a floating badge is on, so beats without one sit centered */
    .beat-layer { top: 0; left: min(0px, calc((100% - 589px) / 2)); right: min(0px, calc((100% - 589px) / 2)); flex-wrap: wrap; align-content: center; }
    .s2-stage:has(> .badge-float.on) .beat-layer { top: 36px; }
    .s2-steps { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
    /* every step is a numbered circle in a fixed row: grey ahead, outlined behind, filled now */
    .s2-step, .s2-step:not(.active) { flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border-radius: 50%; align-items: center; justify-content: center; }
    .s2-step > div { display: none; }
    .s2-step .sn { width: auto; height: auto; margin: 0; background: none; border: 0; color: var(--color-text-muted); font-size: 1rem; }
    .s2-step.passed { border-color: var(--sc, var(--color-primary)); }
    .s2-step.passed .sn { color: var(--sc, var(--color-primary-dark)); }
    .s2-step.active { background: var(--sc, var(--color-primary)); }
    .s2-step.active .sn { color: #fff; }
    /* the active step's text (cloned into .s2-current by site.js) sits under the row, full width */
    .s2-current { display: block; flex: 1 1 100%; order: 1; background: var(--color-bg-card); border: 1.5px solid var(--sc, var(--color-primary)); border-radius: var(--radius-lg); box-shadow: 0 0 0 3px var(--sct, var(--color-primary-tint)), var(--shadow-md); padding: 8px 12px; text-align: left; }
    .s2-cur-item { display: none; }
    .s2-cur-item.active { display: block; }
    .s2-cur-item h5 { font-size: 1rem; margin-bottom: 2px; color: var(--color-text); }
    .s2-cur-item p { font-size: 0.86rem; line-height: 1.4; }
    .s2-cur-item .benefit { margin-top: 5px; font-size: 0.86rem; font-weight: 700; color: var(--sc, var(--color-primary-dark)); }
    .s2-cur-item .benefit::before { content: '→ '; }
    .s2-steps .s2-cta { flex: 1 1 100%; order: 2; margin-top: 0; }
    .deck-wrap { height: clamp(280px, 62vh, 440px); height: clamp(280px, 62dvh, 440px); }
  }

  /* phones: one readable artifact per beat instead of a scaled-down desktop composition (photos are decoration there) */
  @media (max-width: 640px) {
    .beat-layer { left: 0; right: 0; padding: var(--space-3); }
    /* the inline flex rows/columns of site.html span the stage, so their 100%-wide artifacts really are stage-wide */
    .beat-layer > * { flex-wrap: wrap !important; }
    .beat-layer > div:not(.phone) { width: 100% !important; }
    .beat-layer > div:has(> .side-chips) { justify-items: center !important; }
    /* floating badges sit centered above the beat */
    .badge-float { left: 0; right: 0; margin: 0 auto; width: fit-content; }
    .beat-layer .photo-card, .beat-layer .checklist { display: none; }
    /* composition widths are inline in site.html, hence !important */
    .beat-layer .steckbrief, .beat-layer .quote-stack, .beat-layer .problem-table, .beat-layer .dash, .beat-layer .train-plan, .beat-layer .rollout-grid { width: 100% !important; max-width: 360px; }
    .beat-layer .uc-pick-row { width: 100%; }
    .beat-layer .uc-pick { width: 100%; max-width: 300px; }
    /* result flow (Level-Check beat 4): the problem list on top, matrix and roadmap side by side - half the height of the desktop column */
    .beat-layer .result-wrap { width: 100% !important; }
    .beat-layer .result-wrap > .ex-ribbon { top: -10px !important; right: 4px !important; }
    .beat-layer .result-flow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); width: 100%; }
    .beat-layer .result-flow .rf-tile { width: auto; }
    .beat-layer .result-flow .rf-tile:first-child { grid-column: 1 / -1; }
    .beat-layer .result-flow .rf-down { display: none; }
    /* the Schulungen stamp gets its own strip under the beat instead of covering the dashboard */
    .s2-stage:has(> .stamp) .beat-layer { bottom: 64px; }
    .s2-stage > .stamp { bottom: 18px; font-size: 0.9rem; padding: 6px 14px; white-space: nowrap; }
    /* ribbon and artifact title share the top edge: keep them apart */
    .artifact > .ex-ribbon + .art-head { padding-right: 90px; }
    /* the check scene: the chips form one small row under the phone mock instead of a column beside it */
    .beat-layer:has(> .phone) { gap: var(--space-2); }
    .beat-layer .side-chips { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px 10px; }
    .beat-layer .side-chips .tagchip { font-size: 0.78rem; padding: 2px 4px; background: none; border: 0; box-shadow: none; color: var(--color-text-muted); }
    /* 1: the gauge question reads as a sentence, not as a spaced-out caps block */
    .lc-art h4 { text-transform: none; letter-spacing: 0.01em; font-size: 0.92rem; font-weight: 700; line-height: 1.35; text-wrap: balance; }
  }

  /* body.scene-photos: the beat's photo returns as a band across the top of the stage (site.js builds it from the photo card);
     caption and floating badge sit on the photo, the beat content keeps the rest. Remove the body class to switch it off. */
  @media (max-width: 640px) and (min-height: 501px) {
    body.scene-photos .s2-stage { --strip: clamp(64px, 21%, 96px); }
    body.scene-photos .s2-stage > .beat-photo { display: block; position: absolute; top: 0; left: 0; right: 0; height: var(--strip); overflow: hidden; z-index: 5; background: var(--color-divider); border-bottom: 1px solid var(--color-border); pointer-events: none; }
    body.scene-photos .s2-stage > .beat-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
    body.scene-photos .s2-stage > .beat-photo .bp-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 7px; font-size: 0.72rem; font-weight: 700; line-height: 1.3; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.6); background: linear-gradient(to top, rgba(0,0,0,0.66), rgba(0,0,0,0.42) 50%, rgba(0,0,0,0)); text-wrap: balance; transition: opacity 300ms ease, visibility 300ms; }
    /* bands crossfade in place instead of sliding up like the artifacts */
    body.scene-photos .s2-stage > .beat-photo[data-from] { transform: none; transition: opacity 550ms ease; }
    body.scene-photos .s2-stage > .beat-photo[data-from].on { transform: none; }
    body.scene-photos .s2-stage:has(> .beat-photo) .beat-layer { top: var(--strip); bottom: 0; }
    /* Schulungen: the stamp lands on the photo (no extra strip under the beat), the caption gives way to it */
    body.scene-photos .s2-stage:has(> .beat-photo) > .stamp[data-from] { top: calc(var(--strip) / 2); bottom: auto; transform: translate(-50%, -50%) rotate(-5deg) scale(0); }
    body.scene-photos .s2-stage:has(> .beat-photo) > .stamp[data-from].on { transform: translate(-50%, -50%) rotate(-5deg) scale(1); }
    body.scene-photos .s2-stage:has(> .stamp.on) > .beat-photo .bp-cap { opacity: 0; visibility: hidden; }
    /* the tallest artifacts give back some of the band's height: tighter rows, same content */
    body.scene-photos .beat-layer .iq { padding: 10px 14px; }
    body.scene-photos .beat-layer .quote-stack { gap: var(--space-2); }
    body.scene-photos .beat-layer .sb-row { padding: 5px 0; }
    body.scene-photos .beat-layer .problem-table th, body.scene-photos .beat-layer .problem-table td { padding: 5px 8px; }
    body.scene-photos .beat-layer .train-plan li { padding: 4px 0; }
    body.scene-photos .beat-layer .train-plan ul { padding: var(--space-3) var(--space-4); }
    body.scene-photos .beat-layer .dash .db { padding: var(--space-3); }
  }

  /* phones: FAQ + CTA move into the panel, smaller logo chip, tighter overlays */
  @media (max-width: 480px) {
    .nav { padding: 10px var(--space-4); }
    .nav-right > .navlink, .nav-right > .btn { display: none; }
    .nav.menu-open .nav-m { display: inline-flex; }
    .nav-left .logo { height: 40px; padding: 5px 9px; }
    .lc-eckdaten .ed { flex-basis: 100%; max-width: none; }
    .ov-bar { gap: var(--space-2); padding: var(--space-3) var(--space-4); }
    .ov-bar .ov-title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ov-back { flex-shrink: 0; white-space: nowrap; padding: 8px 12px; }
    .ov-body { padding: var(--space-5) var(--space-4); }
    .modal-panel { width: calc(100% - var(--space-3)); }
    .md-body { padding: var(--space-4); }
    .md-block { padding: var(--space-4); }
    .btn { white-space: normal; }
    .ov-result-actions, .md-cta, .card-lc .meta { flex-wrap: wrap; }
    .ch-table td { overflow-wrap: anywhere; }  /* the report table's min-content beats 375px otherwise */
    .ch-table th { overflow-wrap: normal; word-break: keep-all; }
  }
  @media (max-width: 360px) {
    .deck-actions { gap: var(--space-4); }
  }
  /* short phones (320x568): the active step keeps only its benefit line so the stage stays legible */
  @media (max-width: 480px) and (max-height: 600px) {
    .s2-step.active p:not(.benefit), .s2-cur-item p:not(.benefit) { display: none; }
  }

  /* short landscape phones: two columns again, less height everywhere */
  @media (max-height: 500px) and (orientation: landscape) {
    .hero-inner { grid-template-columns: 1.05fr 0.95fr; text-align: left; gap: var(--space-5); padding-top: 100px; }
    .hero .lead { margin-left: 0; margin-right: 0; }
    .hero .cta-row { justify-content: flex-start; }
    .tri-svg { width: min(280px, 38vw); }
    .zoom-stage { height: 250px; }
    .zoom-card { padding: var(--space-4) var(--space-5); }
    .zoom-card h3 { font-size: 1.15rem; }
    .zoom-card .zc-photo { display: none; }
    .zoom-captions { height: 50px; margin-top: var(--space-2); }
    .zoom-cap { font-size: 0.88rem; }
    .zoom-prog { bottom: var(--space-2); }
    .scn .scene2 { height: 100vh; height: 100svh; min-height: 0; grid-template-columns: minmax(190px, 0.7fr) 1.3fr; grid-template-rows: minmax(0, 1fr); gap: var(--space-3); padding-top: 60px; padding-bottom: var(--space-3); overflow: hidden; }
    .s2-steps { flex-direction: column; flex-wrap: nowrap; gap: 6px; min-height: 0; }
    .s2-step { padding: 8px 12px; }
    .s2-step:not(.active) > div { display: none; }
    .s2-step.active { flex: 0 0 auto; order: 0; }
    .s2-step.active p:not(.benefit) { display: none; }
    .s2-steps .s2-cta { flex: 0 0 auto; order: 0; margin-top: 0; }
    .s2-stage { min-height: 0; align-self: stretch; }
    .badge-float { top: 8px; left: 8px; padding: 4px 10px; font-size: 0.7rem; }
    .beat-layer { top: 36px; left: min(0px, calc((100% - 589px) / 2)); right: min(0px, calc((100% - 589px) / 2)); }
    .deck-wrap { height: 280px; }
    .swipe-card .sc-img, .swipe-card .sc-figure { height: 90px; }
  }
  @media (max-height: 500px) and (orientation: landscape) and (max-width: 880px) {
    .s2-steps { flex-direction: row; flex-wrap: wrap; align-content: start; gap: var(--space-2); }
    .s2-step, .s2-step:not(.active) { padding: 0; width: 40px; height: 40px; }
    .s2-current { flex: 1 1 100%; order: 1; padding: 8px 12px; }
    .s2-cur-item p:not(.benefit) { display: none; }
    .s2-steps .s2-cta { flex: 1 1 100%; order: 2; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
  }
