/* ============================================================
     Bridgemaker Home — Visual Design Study v2
     Off-white default. Kasane Light (Brandbook-konform).
     Interaktive Karten. Refined UI-Mockups.
     ============================================================ */

  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  body {
    margin: 0;
    font: 400 16px/1.6 'Inter', sans-serif;
    color: var(--charcoal);
    background: var(--off-white);
    text-wrap: pretty;
  }
  a { color: inherit; text-decoration: none; }

  /* ---------- Header ---------- */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 64px;
    background: rgba(245, 241, 235, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(28, 28, 30, 0.04);
  }
  .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .nav-brand img { height: 16px; display: block; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font: 500 13px/1 'Inter', sans-serif;
  }
  .nav-links a {
    color: var(--charcoal);
    opacity: 0.65;
    transition: opacity 150ms;
  }
  .nav-links a:hover { opacity: 1; }
  .nav-links a.is-active { opacity: 1; }
  .nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--charcoal);
    color: var(--off-white) !important;
    opacity: 1 !important;
    font-weight: 500;
  }
  .nav-cta:hover { background: #000; }

  /* ---------- Page shell ---------- */
  .shell { padding-top: 64px; }
  .section { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--off-white);
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 32px 80px;
    min-height: calc(100vh - 64px);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 32px;
  }

  /* Kasane Light — Brandbook-konform */
  .kasane {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }
  .kasane-drift {
    position: absolute;
    inset: 0;
    filter: blur(50px);
    animation: kasaneDrift 24s ease-in-out infinite;
    background:
      radial-gradient(ellipse 70% 60% at 15% 85%, rgba(196,177,220,0.55) 0%, transparent 55%),
      radial-gradient(ellipse 60% 70% at 80% 15%, rgba(212,128,154,0.30) 0%, transparent 50%),
      radial-gradient(ellipse 50% 50% at 45% 45%, rgba(237,227,245,0.50) 0%, transparent 45%),
      radial-gradient(ellipse 60% 50% at 85% 75%, rgba(126,196,190,0.25) 0%, transparent 45%),
      radial-gradient(ellipse 40% 40% at 30% 20%, rgba(168,184,154,0.25) 0%, transparent 40%);
  }
  .kasane-noise {
    position: absolute; inset: 0;
    opacity: 0.02;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  @keyframes kasaneDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.04); }
  }
  @media (prefers-reduced-motion: reduce) {
    .kasane-drift { animation: none; }
  }

  .hero-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-eyebrow {
    font: 500 12px/1.4 'Inter', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
  }
  .hero-meta-top {
    font: 500 12px/1.4 'JetBrains Mono', monospace;
    color: var(--mid);
  }

  .hero-body {
    align-self: center;
    max-width: 1100px;
  }
  .hero-title {
    font: 600 96px/1.0 'Inter', sans-serif;
    letter-spacing: -3.5px;
    color: var(--charcoal);
    margin: 0;
  }
  .hero-sub {
    margin-top: 32px;
    font-size: 20px;
    line-height: 1.5;
    color: var(--dark);
    max-width: 600px;
  }
  .hero-ctas {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font: 500 14px/1 'Inter', sans-serif;
    border: 0;
    cursor: pointer;
    transition: background-color 150ms, color 150ms, transform 150ms;
    text-decoration: none;
    white-space: nowrap;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--charcoal); color: var(--off-white); }
  .btn-primary:hover { background: #000; }
  .btn-secondary {
    background: transparent; color: var(--charcoal);
    box-shadow: inset 0 0 0 1px rgba(28,28,30,0.2);
  }
  .btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--charcoal); background: rgba(28,28,30,0.04); }
  .btn-arrow::after {
    content: '→';
    font-size: 16px;
    margin-left: 2px;
  }

  .hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(28,28,30,0.08);
    font: 500 12px/1.5 'JetBrains Mono', monospace;
    color: var(--mid);
    flex-wrap: wrap;
  }
  .hero-promise {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }
  .hero-promise-item strong {
    color: var(--charcoal);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    display: block;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 4px;
  }

  /* ---------- Section spacing ---------- */
  .sec-pad { padding-top: 80px; padding-bottom: 0; }
  .sec-pad-lg { padding-top: 112px; padding-bottom: 0; }

  .sec-eyebrow {
    font: 500 12px/1.4 'Inter', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 24px;
  }
  .sec-title {
    font: 600 56px/1.05 'Inter', sans-serif;
    letter-spacing: -2px;
    color: var(--charcoal);
    margin: 0;
    max-width: 800px;
  }
  .sec-lead {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.55;
    color: var(--dark);
    max-width: 640px;
  }

  /* ---------- Interactive 3-cards (flex-based, no text reflow) ---------- */
  .stack {
    display: flex;
    gap: 12px;
    margin-top: 56px;
    align-items: stretch;
  }
  .scard {
    flex: 1;
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    min-height: 480px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: flex 600ms cubic-bezier(0.22, 1, 0.36, 1), background-color 300ms ease;
  }
  .scard.is-active { flex: 1.6; }
  .scard-text {
    width: 320px;
    max-width: 100%;
  }
  .scard-num {
    font: 500 11px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    color: var(--light);
  }
  .scard-h {
    font: 600 28px/1.15 'Inter', sans-serif;
    letter-spacing: -0.8px;
    color: var(--charcoal);
    margin: 16px 0 0;
  }
  .scard-p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--mid);
  }
  .scard-mock {
    margin-top: 32px;
    width: 320px;
    max-width: 100%;
    align-self: flex-start;
    transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .scard.is-active .scard-mock {
    width: 440px;
  }

  /* Card surfaces */
  .scard-mauve { background: var(--surface-mauve); }
  .scard-mauve .scard-num { color: var(--bm-deep-plum); }
  .scard-dark { background: var(--charcoal); }
  .scard-dark .scard-h { color: var(--off-white); }
  .scard-dark .scard-p { color: rgba(245,241,235,0.65); }
  .scard-dark .scard-num { color: rgba(245,241,235,0.4); }

  /* ---------- Refined mini-UI mockups (inside cards) ---------- */
  .ui-mock {
    width: 100%;
    background: var(--off-white);
    border-radius: 12px;
    box-shadow: 0 1px 0 rgba(28,28,30,0.04), 0 12px 32px rgba(28,28,30,0.06);
    padding: 16px;
    font-family: 'Inter', sans-serif;
  }
  .ui-mock-dark {
    background: #232325;
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 12px 32px rgba(0,0,0,0.4);
  }
  .ui-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
  .ui-row + .ui-row { border-top: 1px solid rgba(28,28,30,0.06); }
  .ui-mock-dark .ui-row + .ui-row { border-top-color: rgba(255,255,255,0.06); }
  .ui-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bm-purple); flex-shrink: 0; }
  .ui-dot.dot-teal { background: var(--bm-teal); }
  .ui-dot.dot-berry { background: var(--bm-berry); }
  .ui-label { font: 500 11px/1.2 'Inter', sans-serif; color: var(--charcoal); flex: 1; }
  .ui-mock-dark .ui-label { color: var(--off-white); }
  .ui-value { font: 500 11px/1 'JetBrains Mono', monospace; color: var(--mid); }
  .ui-mock-dark .ui-value { color: rgba(245,241,235,0.55); }
  .ui-bar {
    height: 3px;
    flex: 1;
    background: rgba(28,28,30,0.08);
    border-radius: 99px;
    position: relative;
    overflow: hidden;
  }
  .ui-mock-dark .ui-bar { background: rgba(255,255,255,0.08); }
  .ui-bar i {
    position: absolute; top: 0; left: 0; bottom: 0;
    background: var(--bm-purple);
    border-radius: 99px;
  }
  .ui-bar i.teal { background: var(--bm-teal); }
  .ui-bar i.berry { background: var(--bm-berry); }

  /* Timeline-style mock */
  .ui-timeline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
  }
  .ui-stop {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font: 500 10px/1 'JetBrains Mono', monospace;
    color: var(--mid);
  }
  .ui-stop-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(28,28,30,0.15);
    background: var(--off-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    color: var(--mid);
  }
  .ui-stop.active .ui-stop-dot {
    background: var(--bm-purple);
    border-color: var(--bm-purple);
    color: var(--off-white);
  }
  .ui-stop.done .ui-stop-dot {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--off-white);
  }
  .ui-track {
    height: 1px;
    flex: 1;
    background: rgba(28,28,30,0.12);
    margin-top: -16px;
  }

  /* Chart mock */
  .ui-chart {
    height: 80px;
    position: relative;
    margin-top: 4px;
  }
  .ui-chart svg { display: block; width: 100%; height: 100%; }

  /* ---------- Section: Matrix (Vier Hebel) ---------- */
  .matrix-card {
    margin-top: 56px;
    background: var(--white);
    border-radius: 32px;
    padding: 48px;
    position: relative;
    overflow: hidden;
  }
  .matrix-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    margin: 48px 0 32px;
  }
  .matrix-label {
    position: absolute;
    font: 500 10px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light);
    pointer-events: none;
  }
  .matrix-label-top { top: -24px; left: 50%; transform: translateX(-50%); }
  .matrix-label-bottom { bottom: -24px; left: 50%; transform: translateX(-50%); }
  .matrix-label-left { left: -24px; top: 50%; transform: translateX(-100%) translateY(-50%) rotate(-90deg); white-space: nowrap; }
  .matrix-label-right { right: -24px; top: 50%; transform: translateX(100%) translateY(-50%) rotate(90deg); white-space: nowrap; }

  .quad {
    padding: 28px 32px;
    min-height: 200px;
    position: relative;
    z-index: 2;
  }
  .quad.tl { border-right: 1.5px solid var(--off-white); border-bottom: 1.5px solid var(--off-white); }
  .quad.tr { border-bottom: 1.5px solid var(--off-white); text-align: right; }
  .quad.bl { border-right: 1.5px solid var(--off-white); }
  .quad.br { text-align: right; }

  .quad-tag {
    font: 500 10px/1 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 10px;
  }
  .quad-h {
    font: 600 20px/1.2 'Inter', sans-serif;
    letter-spacing: -0.4px;
    color: var(--charcoal);
    margin: 0 0 10px;
  }
  .quad-p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--mid);
    margin: 0 0 16px;
    max-width: 280px;
  }
  .quad.tr .quad-p, .quad.br .quad-p { margin-left: auto; }

  .chain {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    font: 500 11px/1 'JetBrains Mono', monospace;
  }
  .quad.tr .chain, .quad.br .chain { justify-content: flex-end; }
  .chain-pill {
    padding: 5px 9px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 10px;
  }
  .chain-pill.entry { background: var(--bm-rose-tint); color: var(--bm-deep-berry); }
  .chain-pill.service { background: var(--bm-purple-tint); color: var(--bm-deep-plum); }
  .chain-pill.kpi { background: var(--bm-teal-tint); color: var(--bm-deep-teal); }
  .chain-arr { color: var(--soft); padding: 0 2px; font-size: 10px; }

  .matrix-hub {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
  }
  .matrix-hub-circle {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--charcoal);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(28,28,30,0.16);
  }
  .matrix-hub-circle img { width: 48px; height: auto; }

  .matrix-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--surface-stone);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 20px;
  }
  .matrix-footer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--mid);
    max-width: 520px;
  }
  .matrix-footer p strong { color: var(--charcoal); font-weight: 600; }

  /* ---------- Track Record ---------- */
  .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
  }
  .stat {
    padding: 32px 0;
    border-top: 1px solid var(--charcoal);
  }
  .stat-num {
    font: 500 72px/0.95 'Inter', sans-serif;
    letter-spacing: -3px;
    color: var(--charcoal);
  }
  .stat-num small {
    font-size: 36px;
    letter-spacing: -1px;
    color: var(--mid);
    font-weight: 400;
  }
  .stat-label {
    margin-top: 16px;
    font: 500 11px/1.4 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
  }
  .stat-note {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--mid);
    max-width: 280px;
  }

  /* ---------- Logo wall ---------- */
  .logos-label {
    margin-top: 48px;
    font: 500 11px/1.4 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 24px;
  }
  .logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }
  .logo-cell {
    aspect-ratio: 16/8;
    border-right: 1px solid var(--surface-stone);
    border-bottom: 1px solid var(--surface-stone);
    display: flex; align-items: center; justify-content: center;
    font: 500 11px/1 'JetBrains Mono', monospace;
    color: var(--soft);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .logo-cell:nth-child(6n) { border-right: 0; }
  .logo-cell:nth-last-child(-n+6) { border-bottom: 0; }

  /* ---------- Cases ---------- */
  .cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 56px;
  }
  .case {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 200ms ease;
  }
  .case:hover { transform: translateY(-2px); }
  .case-visual {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
  }
  .case-visual-1 {
    background:
      radial-gradient(ellipse 80% 60% at 30% 30%, rgba(196,177,220,0.6), transparent 60%),
      radial-gradient(ellipse 70% 50% at 80% 80%, rgba(237,227,245,0.8), transparent 50%),
      var(--surface-mauve);
  }
  .case-visual-2 {
    background:
      radial-gradient(ellipse 70% 60% at 80% 30%, rgba(126,196,190,0.5), transparent 60%),
      radial-gradient(ellipse 60% 50% at 20% 70%, rgba(224,242,240,0.7), transparent 50%),
      var(--surface-sage);
  }
  .case-visual-3 {
    background:
      radial-gradient(ellipse 70% 60% at 50% 30%, rgba(212,128,154,0.4), transparent 60%),
      radial-gradient(ellipse 60% 60% at 30% 80%, rgba(245,224,232,0.8), transparent 55%),
      var(--surface-sand);
  }
  .case-mock {
    position: absolute;
    inset: 32px 32px 0 32px;
    bottom: 0;
    transform: translateY(20px);
  }
  .case-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
  .case-tag {
    display: inline-flex; align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font: 500 11px/1.4 'Inter', sans-serif;
    margin-bottom: 16px;
  }
  .case-tag-purple { background: var(--bm-purple-tint); color: var(--bm-deep-plum); }
  .case-tag-teal { background: var(--bm-teal-tint); color: var(--bm-deep-teal); }
  .case-tag-berry { background: var(--bm-rose-tint); color: var(--bm-deep-berry); }
  .case-h {
    font: 600 19px/1.3 'Inter', sans-serif;
    letter-spacing: -0.3px;
    color: var(--charcoal);
    margin: 0 0 8px;
  }
  .case-p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--mid);
    margin: 0;
    flex: 1;
  }
  .case-kpi {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--surface-stone);
    font: 500 12px/1.4 'JetBrains Mono', monospace;
    color: var(--charcoal);
    display: flex; justify-content: space-between;
  }
  .case-kpi strong { color: var(--bm-purple); font-weight: 500; }
  .case-tag-teal + .case-h + .case-p + .case-kpi strong { color: var(--bm-deep-teal); }
  .case-tag-berry + .case-h + .case-p + .case-kpi strong { color: var(--bm-deep-berry); }

  /* ---------- Quotes ---------- */
  .quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 56px;
  }
  .quote {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .quote-text {
    font: 500 22px/1.4 'Inter', sans-serif;
    letter-spacing: -0.3px;
    color: var(--charcoal);
    margin: 0;
  }
  .quote-text::before {
    content: '„';
    color: var(--bm-purple);
    font-weight: 600;
  }
  .quote-text::after {
    content: '"';
    color: var(--bm-purple);
    font-weight: 600;
  }
  .quote-attr {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--surface-stone);
    display: flex; gap: 12px; align-items: center;
  }
  .quote-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface-stone);
    display: flex; align-items: center; justify-content: center;
    font: 500 10px/1 'JetBrains Mono', monospace;
    color: var(--soft);
    letter-spacing: 0.1em;
  }
  .quote-attr-text { font-size: 13px; line-height: 1.4; }
  .quote-attr-text strong { display: block; color: var(--charcoal); font-weight: 600; }
  .quote-attr-text span { color: var(--mid); }

  /* ---------- CTA ---------- */
  .cta {
    margin-top: 120px;
    background: var(--charcoal);
    color: var(--off-white);
    border-radius: 32px;
    padding: 80px 64px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .cta-kasane {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
  }
  .cta-kasane-drift {
    position: absolute; inset: 0;
    filter: blur(40px);
    animation: kasaneDrift 20s ease-in-out infinite reverse;
    background:
      radial-gradient(ellipse 80% 60% at 20% 80%, rgba(138,48,80,0.45) 0%, transparent 60%),
      radial-gradient(ellipse 70% 80% at 75% 20%, rgba(107,74,148,0.55) 0%, transparent 55%),
      radial-gradient(ellipse 50% 50% at 50% 50%, rgba(144,112,184,0.25) 0%, transparent 50%),
      radial-gradient(ellipse 60% 70% at 10% 30%, rgba(74,45,107,0.55) 0%, transparent 50%);
  }
  .cta-inner { position: relative; z-index: 2; }
  .cta-eyebrow {
    font: 500 12px/1 'Inter', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bm-lavender-on-dark);
    margin-bottom: 20px;
  }
  .cta-title {
    font: 600 64px/1 'Inter', sans-serif;
    letter-spacing: -2.4px;
    margin: 0;
    max-width: 760px;
  }
  .cta-sub {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(245,241,235,0.7);
    max-width: 560px;
  }
  .cta-row {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .btn-on-dark { background: var(--off-white); color: var(--charcoal); }
  .btn-on-dark:hover { background: var(--white); }
  .btn-on-dark-secondary {
    background: transparent;
    color: var(--off-white);
    box-shadow: inset 0 0 0 1px rgba(245,241,235,0.32);
  }
  .btn-on-dark-secondary:hover {
    box-shadow: inset 0 0 0 1px var(--bm-lavender-on-dark);
    background: rgba(245,241,235,0.06);
  }

  /* ---------- Footer ---------- */
  .footer {
    padding: 64px 32px 32px;
  }
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--surface-stone);
  }
  .footer-brand img { height: 18px; }
  .footer-brand p {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--mid);
    max-width: 280px;
  }
  .footer-col h4 {
    font: 500 11px/1.4 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light);
    margin: 0 0 16px;
  }
  .footer-col a {
    display: block;
    font-size: 13px;
    line-height: 2;
    color: var(--charcoal);
    transition: color 150ms;
  }
  .footer-col a:hover { color: var(--bm-purple); }
  .footer-bottom {
    max-width: 1280px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--light);
  }
  .footer-bottom a { color: var(--light); }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .hero-inner { padding: 32px 24px 64px; }
    .hero-title { font-size: 56px; letter-spacing: -1.8px; }
    .sec-title { font-size: 36px; letter-spacing: -1.2px; }
    .stack { flex-direction: column; }
    .scard, .scard.is-active { flex: 1; }
    .scard-text, .scard-mock, .scard.is-active .scard-mock { width: 100%; }
    .matrix-card { padding: 24px; }
    .matrix-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, auto); }
    .quad { border-right: 0 !important; border-bottom: 1.5px solid var(--off-white); text-align: left !important; min-height: auto; }
    .quad.tr .chain, .quad.br .chain { justify-content: flex-start; }
    .quad.tr .quad-p, .quad.br .quad-p { margin-left: 0; }
    .matrix-hub { display: none; }
    .matrix-label { display: none; }
    .stats-row { grid-template-columns: 1fr; }
    .logos { grid-template-columns: repeat(2, 1fr); }
    .logo-cell:nth-child(6n) { border-right: 1px solid var(--surface-stone); }
    .logo-cell:nth-child(2n) { border-right: 0; }
    .logo-cell:nth-last-child(-n+6) { border-bottom: 1px solid var(--surface-stone); }
    .logo-cell:nth-last-child(-n+2) { border-bottom: 0; }
    .cases-grid { grid-template-columns: 1fr; }
    .quotes { grid-template-columns: 1fr; }
    .cta { padding: 48px 32px; }
    .cta-title { font-size: 40px; letter-spacing: -1.2px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
  }

/* ============================================================
   Hover-Overrides: kein Underline auf Buttons/Cards
   (tokens.css setzt a:hover { text-decoration: underline })
   ============================================================ */
.btn:hover,
.nav-cta:hover,
.case:hover,
.case:hover *,
.scard:hover,
.pfad:hover,
.stelle:hover,
.person-link:hover {
  text-decoration: none !important;
}
.nav-links a:hover { text-decoration: none; }


/* ============================================================
   Vier Hebel — Story-Reihe auf Home
   Vier vertikale Module, alternierendes 2-Spalter-Layout.
   Matrix selbst lebt auf /leistungen.
   ============================================================ */
.story-row { margin-top: 48px; }
.story-module {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid rgba(28, 28, 30, 0.08);
}
.story-module:last-child {
  border-bottom: 1px solid rgba(28, 28, 30, 0.08);
}
.story-module.reverse {
  grid-template-columns: 8fr 4fr;
}
.story-module.reverse .story-text { order: 2; }
.story-module.reverse .story-mock { order: 1; }

.story-eyebrow {
  font: 500 11px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}
.story-eyebrow .num {
  color: var(--bm-purple);
  margin-right: 8px;
}
.story-h {
  font: 600 32px/1.1 'Inter', sans-serif;
  letter-spacing: -1px;
  color: var(--charcoal);
  margin: 0 0 20px;
}
.story-p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--dark);
  margin: 0 0 24px;
  max-width: 480px;
}
.story-chain {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font: 500 12px/1 'JetBrains Mono', monospace;
  margin-bottom: 28px;
}
.story-chain .pill {
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.story-chain .pill.entry { background: var(--bm-rose-tint); color: var(--bm-deep-berry); }
.story-chain .pill.service { background: var(--bm-purple-tint); color: var(--bm-deep-plum); }
.story-chain .pill.kpi { background: var(--bm-teal-tint); color: var(--bm-deep-teal); }
.story-chain .arr { color: var(--soft); padding: 0 2px; }
.story-link {
  font: 500 14px/1 'Inter', sans-serif;
  color: var(--bm-purple);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 200ms ease, color 200ms ease;
}
.story-link::after { content: '→'; }
.story-link:hover { gap: 10px; color: var(--bm-deep-plum); }

.story-mock {
  aspect-ratio: 16/10;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-mock-1 { background: radial-gradient(ellipse 80% 60% at 25% 30%, rgba(196,177,220,0.5), transparent 60%), radial-gradient(ellipse 60% 50% at 80% 80%, rgba(237,227,245,0.7), transparent 50%), var(--surface-mauve); }
.story-mock-2 { background: radial-gradient(ellipse 70% 60% at 80% 30%, rgba(126,196,190,0.45), transparent 60%), radial-gradient(ellipse 60% 50% at 20% 70%, rgba(224,242,240,0.6), transparent 50%), var(--surface-sage); }
.story-mock-3 { background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(212,128,154,0.35), transparent 60%), radial-gradient(ellipse 60% 60% at 30% 80%, rgba(245,224,232,0.7), transparent 55%), var(--surface-sand); }
.story-mock-4 { background: radial-gradient(ellipse 80% 60% at 80% 30%, rgba(168,184,154,0.4), transparent 60%), radial-gradient(ellipse 60% 50% at 20% 80%, rgba(226,232,220,0.65), transparent 50%), var(--surface-stone); }

.story-mock .ui-mock {
  width: 100%;
  max-width: 360px;
  background: var(--off-white);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(28,28,30,0.04), 0 16px 40px rgba(28,28,30,0.08);
  padding: 20px;
}

/* Striped placeholder — wie in den Wireframes (.bm-ph) */
.bm-ph-stripe {
  background: repeating-linear-gradient(135deg, #E8E5DF 0 12px, #DDD9D2 12px 24px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 11px/1.4 'JetBrains Mono', monospace;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.story-mock .bm-ph-stripe {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 20px;
}
.case-visual .bm-ph-stripe {
  position: absolute;
  inset: 0;
  border-radius: 0;
}

@media (max-width: 900px) {
  .story-module, .story-module.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .story-module.reverse .story-text { order: 1; }
  .story-module.reverse .story-mock { order: 2; }
  .story-h { font-size: 32px; letter-spacing: -1px; }
  .story-mock { aspect-ratio: 4/3; padding: 32px; }
}
