/* ============================================================
   IMMOCODEX — Homepage Stylesheet · V3 (Premium / editorial)
   Baut auf den Design-System-Tokens (colors_and_type.css) auf.
   Leitbild: Investor-Report trifft Architektur-Magazin.
   Ruhige Flächen (Creme + Weiß), Silber als Statement, Kupfer als Hairline.
   ============================================================ */
:root {
  --accent:      var(--color-copper, #B87333);
  --accent-dark: var(--color-copper-dark, #956025);
  --espresso:    var(--color-espresso, #2A1F14);
  --creme:       var(--color-creme, #F5EFE6);
  --white:       var(--color-white, #FFFFFF);
  --leinen:      var(--color-leinen, #EDE4D6);
  --sand:        var(--color-sand, #C4A882);
  --mid:         var(--color-mid-brown, #9A7B5A);
  --warm-silver: var(--color-warm-silver, #C4C0BB);
  --cool-silver: var(--color-cool-silver, #B8BEC4);
  --tint:        var(--color-leinen, #EDE4D6);

  --line:        rgba(42, 31, 20, 0.12);
  --line-soft:   rgba(42, 31, 20, 0.08);
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 1px 4px rgba(42,31,20,0.06);
  --shadow-md: 0 2px 16px rgba(42,31,20,0.08);
  --wrap: 1180px;
  --nav-h: 59px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px; line-height: 1.65;
  color: var(--espresso); background: var(--creme);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 44px; }
.band { position: relative; padding: 128px 0; }
.bg-creme  { background: var(--creme); }
.bg-white  { background: var(--white); }
.bg-silver { background: var(--warm-silver); }
.bg-tint   { background: var(--tint); }
/* sanfte Hairline-Trennung zwischen gleichfarbigen Bändern */
.band + .band.bg-creme, .band + .band.bg-white { border-top: 1px solid var(--line-soft); }

/* ── Editoriale Section-Heads mit Nummer ─────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow .no { font-variant-numeric: tabular-nums; opacity: 0.95; }
.eyebrow .ln { width: 26px; height: 1px; background: var(--accent); opacity: 0.6; }
.section-head { max-width: 720px; margin: 0 0 64px; }
.section-head.center { margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 {
  font-size: clamp(32px, 3.8vw, 48px); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.025em; color: var(--espresso);
  text-wrap: balance;
}
.section-head p {
  margin-top: 20px; font-size: 18px; color: var(--mid);
  line-height: 1.65; max-width: 600px;
}
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 6px; border: none;
  cursor: pointer; text-decoration: none;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--espresso); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn--lg { padding: 18px 40px; font-size: 14px; }

/* ============================================================
   HEADER
   ============================================================ */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--creme) 88%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 44px; max-width: 1320px; margin: 0 auto; gap: 32px; }
.nav-inner .logo { height: 22px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-menu a.nav-link { font-size: 14px; font-weight: 600; color: var(--espresso); text-decoration: none; opacity: 0.72; transition: opacity .15s, color .15s; }
.nav-menu a.nav-link:hover { opacity: 1; color: var(--accent-dark); }
@media (max-width: 1040px) { .nav-menu .nav-link { display: none; } }

/* ============================================================
   01 · HERO  ·  zwei Varianten (body[data-hero])
   Ziel: alles über der Falte — Headline, Bild, Beleg, ohne Scrollen.
   ============================================================ */
.hero { padding: 0; overflow: hidden; display: flex; align-items: center; min-height: calc(100svh - var(--nav-h)); }
.hero .dots { position: absolute; top: 40px; right: 0; width: 300px; height: 220px; background-image: radial-gradient(var(--sand) 1.4px, transparent 1.4px); background-size: 22px 22px; opacity: 0.34; pointer-events: none; -webkit-mask-image: linear-gradient(to left,#000,transparent); mask-image: linear-gradient(to left,#000,transparent); }
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,0.98fr); align-items: start; gap: clamp(30px, 3.6vw, 62px); padding-top: clamp(28px, 4svh, 52px); padding-bottom: clamp(28px, 4svh, 52px); }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); margin-bottom: clamp(16px, 2.2svh, 24px); }
.hero-eyebrow .ln { display: block; width: 34px; height: 2px; background: var(--accent); }
.hero-copy h1 { font-size: clamp(33px, 3.45vw, 55px); font-weight: 800; line-height: 1.03; letter-spacing: -0.032em; text-wrap: balance; max-width: 17ch; }
.hero-copy h1 .ul { box-shadow: inset 0 -0.09em 0 var(--accent); }
.hero-copy .sub { margin-top: clamp(16px, 2.2svh, 24px); font-size: clamp(15.5px, 1.12vw, 18px); line-height: 1.6; color: var(--mid); max-width: 44ch; }
.hero-copy .actions { margin-top: clamp(20px, 2.8svh, 32px); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); text-decoration: none; padding-bottom: 5px; border-bottom: 2px solid var(--accent); transition: color .15s ease, gap .15s ease; }
.hero-link:hover { color: var(--espresso); gap: 13px; }
.hero-link svg { width: 15px; height: 15px; }
.hero-copy .trust { margin-top: clamp(16px, 2.2svh, 26px); font-size: 13px; font-weight: 600; color: var(--mid); display: flex; align-items: center; gap: 9px; }
.hero-copy .trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.hero-proof { display: none; list-style: none; margin: clamp(20px, 3svh, 32px) 0 0; padding-top: clamp(18px, 2.4svh, 26px); border-top: 1px solid var(--line-soft); grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hero-proof li { display: flex; flex-direction: column; gap: 5px; }
.hero-proof b { font-size: clamp(26px, 2.3vw, 36px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--espresso); font-variant-numeric: tabular-nums; }
.hero-proof span { font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--mid); }
.hero-figure { position: relative; margin-top: 0; }
.hero-figure .frame { border-radius: 8px; overflow: hidden; border: 1px solid var(--line-soft); }
.hero-figure img { display: block; width: 100%; height: clamp(300px, 62svh, 620px); object-fit: cover; object-position: 50% 40%; }
.hero-figure .caption { margin-top: 13px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); display: flex; align-items: center; gap: 8px; }
.hero-figure .caption svg { width: 14px; height: 14px; color: var(--accent); }

/* ── Variante B · Editorial: Bild randlos rechts, Belegzahlen im ersten Blick ── */
body[data-hero="editorial"] .hero { align-items: stretch; }
body[data-hero="editorial"] .hero .dots { display: none; }
body[data-hero="editorial"] .hero-grid { max-width: none; padding: 0; grid-template-columns: minmax(0,1fr) minmax(0,0.86fr); gap: 0; align-items: center; }body[data-hero="editorial"] .hero-copy { padding: clamp(34px,5svh,68px) clamp(34px,4vw,64px) clamp(34px,5svh,68px) max(44px, calc((100vw - var(--wrap)) / 2 + 44px)); }
body[data-hero="editorial"] .hero-copy h1 { font-size: clamp(30px, 2.9vw, 46px); max-width: 17ch; }
body[data-hero="editorial"] .hero-copy .sub { max-width: 42ch; }
body[data-hero="editorial"] .hero-copy .trust { display: none; }
body[data-hero="editorial"] .hero-proof { display: grid; }
body[data-hero="editorial"] .hero-figure { align-self: stretch; }
body[data-hero="editorial"] .hero-figure .frame { height: 100%; border-radius: 0; border: none; border-left: 1px solid var(--line-soft); }
body[data-hero="editorial"] .hero-figure img { height: 100%; min-height: calc(100svh - var(--nav-h)); object-position: 50% 45%; }
body[data-hero="editorial"] .hero-figure .caption { position: absolute; left: 20px; bottom: 20px; margin: 0; padding: 9px 15px; border-radius: 5px; background: color-mix(in srgb, var(--creme) 92%, transparent); backdrop-filter: blur(8px); }

/* ============================================================
   KENNZAHLEN-LEISTE
   ============================================================ */
.kpi-x-band { padding: 92px 0; }
.kpi-x-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.kpi-x-head p { font-size: 14px; color: var(--mid); font-weight: 600; }
.kpi-x-box { background: var(--tint); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.kpi-x-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpi-x { appearance: none; -webkit-appearance: none; background: none; border: none; border-left: 1px solid rgba(42,31,20,0.12); border-top: 3px solid transparent; cursor: pointer; text-align: left; padding: 34px 28px 30px; font-family: var(--font); transition: background .15s ease, border-color .15s ease; }
.kpi-x:first-child { border-left: none; }
.kpi-x .v { display: block; white-space: nowrap; font-size: clamp(38px, 4.4vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--espresso); font-variant-numeric: tabular-nums; }
.kpi-x .v .pre { font-size: 0.30em; font-weight: 700; color: var(--mid); vertical-align: middle; margin-right: 7px; letter-spacing: 0; }
.kpi-x .v small { font-size: 0.34em; font-weight: 800; color: var(--accent); letter-spacing: 0; }
.kpi-x .k { display: block; margin-top: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); transition: color .15s ease; }
.kpi-x:hover { background: rgba(255,255,255,0.40); }
.kpi-x.active { background: rgba(255,255,255,0.66); border-top-color: var(--accent); }
.kpi-x.active .k { color: var(--accent-dark); }
.kpi-x-detail { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border-top: 1px solid var(--line-soft); }
.kpi-x-detail .ico { width: 44px; height: 44px; border-radius: 8px; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kpi-x-detail .ico svg { width: 22px; height: 22px; }
.kpi-x-detail p { font-size: 16px; color: var(--espresso); line-height: 1.5; }
@media (max-width: 820px) { .kpi-x-row { grid-template-columns: 1fr 1fr; } .kpi-x:nth-child(odd) { border-left: none; } .kpi-x:nth-child(n+3) { border-top: 1px solid rgba(42,31,20,0.12); } .kpi-x.active { border-top-color: var(--accent); } .kpi-x .v { font-size: clamp(34px, 8vw, 56px); } }

/* ============================================================
   02 · DAS PROBLEM
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.problem-copy h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.problem-copy p { margin-top: 18px; font-size: 17px; color: var(--mid); line-height: 1.7; }
.problem-copy .punch { margin-top: 24px; font-size: 20px; font-weight: 700; color: var(--espresso); border-left: 3px solid var(--accent); padding-left: 20px; line-height: 1.4; }
.taxbar-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; padding: 38px 40px; }
.taxbar-card .lab { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }
.taxbar { margin-top: 20px; }
.taxbar .track { display: flex; height: 64px; border-radius: 7px; overflow: hidden; }
.taxbar .seg { display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; }
.taxbar .net { flex: 58; background: var(--accent); color: #fff; }
.taxbar .gone { flex: 42; background: var(--warm-silver); color: var(--espresso); }
.taxbar .legend { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); }
.taxbar-card .fine { margin-top: 18px; font-size: 12px; color: var(--sand); line-height: 1.5; }

/* ============================================================
   03 · STEUER-HEBEL
   ============================================================ */
.lever { text-align: center; }
.lever .lead { max-width: 680px; margin: 18px auto 0; font-size: 18.5px; color: var(--mid); line-height: 1.6; }
.lever-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 56px 0 28px; border: 1px solid color-mix(in srgb, var(--espresso) 12%, transparent); border-radius: 10px; overflow: hidden; background: var(--warm-silver); }
.lever-card { padding: 46px 34px; }
.lever-card:nth-child(1) { background: var(--accent); }
.lever-card:nth-child(2) { background: var(--warm-silver); }
.lever-card:nth-child(3) { background: color-mix(in srgb, var(--warm-silver) 76%, var(--espresso)); }
/* Karte 1 (Kupfer) — helle Schrift */
.lever-card:nth-child(1) .v, .lever-card:nth-child(1) .v .cur, .lever-card:nth-child(1) .k { color: var(--creme); }
.lever-card:nth-child(1) .pre { color: var(--creme); opacity: 0.9; }
/* Karte 3 (dunkles Grau) — dunkle Schrift */
.lever-card:nth-child(3) .v, .lever-card:nth-child(3) .v .cur, .lever-card:nth-child(3) .pre, .lever-card:nth-child(3) .k { color: var(--espresso); }
.lever-card .v { font-size: clamp(38px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; color: var(--accent-dark); line-height: 1; font-variant-numeric: tabular-nums; }
.lever-card .v .cur { color: var(--accent-dark); }
.lever-card .pre { font-size: 14px; font-weight: 600; color: var(--accent-dark); opacity: 0.85; display: block; margin-bottom: 10px; }
.lever-card .k { margin-top: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }
.lever .fine { margin-top: 16px; font-size: 12.5px; color: var(--mid); }
.lever .actions { margin-top: 34px; }
@media (max-width: 820px) { .lever-grid { grid-template-columns: 1fr; } }

/* Rechner-Slider (Variante) */
.calc { display: none; max-width: 720px; margin: 48px auto 0; background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; padding: 36px 40px; text-align: left; }
body[data-calc="on"] .calc { display: block; }
body[data-calc="on"] .lever-grid { margin-bottom: 0; }
.calc .crow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc .crow .cl { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mid); }
.calc .crow .cv { font-size: 22px; font-weight: 800; color: var(--accent-dark); font-variant-numeric: tabular-nums; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 5px; background: var(--leinen); outline: none; margin: 14px 0 4px; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: none; border-radius: 50%; background: var(--accent); cursor: pointer; }
.calc .crange { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--sand); }
.calc .cout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.calc .cout .co { text-align: center; }
.calc .cout .co .n { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; color: var(--espresso); font-variant-numeric: tabular-nums; }
.calc .cout .co .l { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--mid); }

/* ============================================================
   04 · PROJEKTE — Handschrift + Daten-Overlay
   ============================================================ */
.proj-top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 56px; }
.proj-top .pt-left h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.proj-top .pt-left .eyebrow { margin-bottom: 20px; }
.proj-top .pt-left p { margin-top: 18px; font-size: 17px; color: var(--mid); line-height: 1.7; max-width: 440px; }
.pillars { display: flex; flex-direction: column; gap: 26px; }
.pillar { display: flex; gap: 18px; }
.pillar .ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 8px; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.pillar .ico svg { width: 22px; height: 22px; }
.pillar h4 { font-size: 18px; font-weight: 800; margin-bottom: 7px; letter-spacing: -0.01em; }
.pillar p { font-size: 15px; color: var(--mid); line-height: 1.6; }
.proj-showcase { }
.ps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.ps-head .ps-ey { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.ps-head .ps-name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-top: 7px; }
.ps-yield { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); text-align: right; white-space: nowrap; }
.ps-yield b { display: block; font-size: 24px; font-weight: 800; color: var(--accent-dark); letter-spacing: -0.02em; text-transform: none; margin-top: 4px; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj-shot { position: relative; margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-soft); }
.proj-shot img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .5s ease; }
.proj-shot:hover img { transform: scale(1.045); }
.proj-shot figcaption { position: absolute; left: 0; bottom: 0; padding: 9px 15px; background: color-mix(in srgb, var(--espresso) 82%, transparent); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.proj-data { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; background: var(--white); }
.proj-data .pd { padding: 22px 24px; border-left: 1px solid var(--line-soft); }
.proj-data .pd:first-child { border-left: none; }
.proj-data .pv { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--espresso); }
.proj-data .pl { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); }
@media (max-width: 820px) { .proj-data { grid-template-columns: 1fr 1fr; } .proj-data .pd:nth-child(odd) { border-left: none; } .proj-data .pd:nth-child(n+3) { border-top: 1px solid var(--line-soft); } }

/* Beispielrechnung (in Abschnitt 03 integriert) */
.proj-calc { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line-soft); }
.pc-list { display: flex; flex-direction: column; }
.pc-row { display: flex; align-items: baseline; gap: 14px; padding: 14px 4px; }
.pc-l { font-size: 15px; font-weight: 600; color: var(--mid); }
.pc-lead { flex: 1 1 auto; min-width: 22px; align-self: stretch; border-bottom: 1px dotted color-mix(in srgb, var(--espresso) 26%, transparent); transform: translateY(-6px); }
.pc-v { flex: 0 0 150px; text-align: right; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--espresso); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-row.pos .pc-v, .pc-row.pos .pc-l { color: var(--accent-dark); }
.pc-row.pos .pc-lead { border-bottom-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.pc-foot { margin-top: 30px; }
.pc-ey { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pc-note { font-size: 16px; color: var(--espresso); line-height: 1.65; max-width: none; }
@media (max-width: 640px) { .pc-row { gap: 10px; } .pc-lead { min-width: 14px; } }

/* Foto-Platzhalter */
.ph { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, rgba(42,31,20,0.022) 0 10px, transparent 10px 20px), var(--leinen); color: var(--mid); }
.ph .ph-in { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; }
.ph .ph-in svg { width: 24px; height: 24px; opacity: .55; }
.ph .ph-in span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: .7; }

/* ============================================================
   05 · RECHENBEISPIEL
   ============================================================ */
.example-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.example-media { position: relative; min-height: 480px; }
.example-media .ph { width: 100%; height: 100%; }
.example-media .badge { position: absolute; top: 18px; left: 18px; background: var(--accent); color: #fff; padding: 7px 14px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; z-index: 2; }
.example-body { padding: 48px 50px; }
.example-body h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.example-body .meta { margin-top: 8px; font-size: 14.5px; color: var(--mid); line-height: 1.5; }
.example-table { width: 100%; border-collapse: collapse; margin-top: 26px; }
.example-table td { padding: 13px 0; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.example-table td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.example-table tr.pos td:last-child { color: var(--accent-dark); }
.example-take { margin-top: 26px; border-left: 3px solid var(--accent); padding-left: 20px; font-size: 15.5px; line-height: 1.55; }
.example-take b { color: var(--accent-dark); }
.example-body .fine { margin-top: 18px; font-size: 12px; color: var(--sand); }
@media (max-width: 920px) { .example-grid { grid-template-columns: 1fr; } .example-media { min-height: 300px; } }

/* ============================================================
   06 · WAS WIR ÜBERNEHMEN
   ============================================================ */
.take-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; background: var(--white); }
.take-card { padding: 34px 32px; border-left: 1px solid var(--line-soft); border-top: 1px solid var(--line-soft); }
.take-card:nth-child(-n+3) { border-top: none; }
.take-card:nth-child(3n+1) { border-left: none; }
.take-card .ico { width: 42px; height: 42px; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.take-card .ico svg { width: 21px; height: 21px; }
.take-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 9px; letter-spacing: -0.01em; }
.take-card p { font-size: 14.5px; color: var(--mid); line-height: 1.55; }
@media (max-width: 820px) { .take-grid { grid-template-columns: 1fr; } .take-card { border-left: none; } .take-card:nth-child(-n+3) { border-top: 1px solid var(--line-soft); } .take-card:first-child { border-top: none; } }
.longterm { margin-top: 26px; background: color-mix(in srgb, var(--warm-silver) 32%, var(--white)); border: 1px solid var(--line-soft); border-left: 3px solid var(--accent); border-radius: 10px; padding: 42px 48px; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 52px; align-items: center; }
.longterm .lt-ico { width: 46px; height: 46px; border-radius: 8px; background: var(--white); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.longterm .lt-ico svg { width: 24px; height: 24px; }
.longterm .lt-left .eyebrow { display: block; margin-bottom: 12px; }
.longterm h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.longterm p { font-size: 16.5px; color: var(--mid); line-height: 1.65; }
@media (max-width: 820px) { .longterm { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; } }

/* ============================================================
   07 · FÜR WEN
   ============================================================ */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fit-col { background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 10px; padding: 40px 42px; }
.fit-col.accent { background: color-mix(in srgb, var(--accent) 12%, var(--white)); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-left: 3px solid var(--accent); }
.fit-col h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.01em; }
.fit-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.fit-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.fit-list li svg { width: 21px; height: 21px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   08 · WARUM METROPOLREGION NÜRNBERG + SCHAUBILD
   ============================================================ */
#nuernberg { position: relative; background: var(--creme); overflow: hidden; }
#nuernberg .nbg-bg { position: absolute; inset: 0; background: url('assets/nuernberg-altstadt.jpg') center 55%/cover no-repeat; }
#nuernberg .nbg-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(245,239,230,0.92) 0%, rgba(245,239,230,0.80) 46%, rgba(245,239,230,0.52) 100%); }
#nuernberg .wrap { position: relative; z-index: 1; }
.nbg-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.nbg-copy h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.nbg-copy .eyebrow { margin-bottom: 20px; }
.nbg-copy p { margin-top: 18px; font-size: 17px; color: var(--espresso); line-height: 1.7; max-width: 470px; }
.nbg-stats { display: flex; flex-direction: column; margin-top: 36px; max-width: 470px; }
.nbg-stat { display: flex; align-items: baseline; gap: 22px; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.nbg-stat:last-child { border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.nbg-stat .v { flex: 0 0 132px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; transform-origin: left center; }
.nbg-stat .v.bump { animation: statbump .42s cubic-bezier(.2,.7,.3,1); }
@keyframes statbump { 0% { transform: scale(1); } 35% { transform: scale(1.11); } 100% { transform: scale(1); } }
.nbg-stat .v small { font-size: 0.46em; color: var(--accent); font-weight: 800; }
.nbg-stat .k { margin-top: 0; font-size: 14px; font-weight: 600; color: var(--espresso); max-width: none; }

/* Schaubild */
.map-card { background: rgba(245,239,230,0.82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); border: 1px solid rgba(255,255,255,0.5); border-radius: 12px; padding: 30px 32px; box-shadow: 0 12px 40px rgba(42,31,20,0.10); }
.map-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.map-head .ti { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.map-head .leg { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--mid); display: flex; align-items: center; gap: 7px; }
.map-head .leg .dt { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.nbg-svg { width: 100%; height: auto; display: block; }
.nbg-svg .ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0.22; }
.nbg-svg .ring.r2 { opacity: 0.15; }
.nbg-svg .ring.r3 { opacity: 0.09; }
.nbg-svg .peg { fill: none; stroke: var(--accent); stroke-width: 2.4; opacity: 0.30; stroke-linecap: round; }
.nbg-svg .dist { cursor: pointer; }
.nbg-svg .core { cursor: pointer; }
.nbg-svg .dist .d { fill: var(--white); stroke: var(--accent); stroke-width: 1.6; transition: all .15s; }
.nbg-svg .dist .l { font-size: 11.5px; font-weight: 600; fill: var(--mid); transition: fill .15s; }
.nbg-svg .dist:hover .d, .nbg-svg .dist.active .d { fill: var(--accent); r: 6.5; }
.nbg-svg .dist:hover .l, .nbg-svg .dist.active .l { fill: var(--espresso); font-weight: 700; }
.nbg-svg .core .ch { fill: var(--accent); }
.nbg-svg .core .cr { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0.5; }
.nbg-svg .core .cl { font-size: 15px; font-weight: 800; fill: var(--espresso); letter-spacing: -0.01em; }
.nbg-svg .core .cs { font-size: 10px; font-weight: 700; fill: var(--accent); letter-spacing: 0.14em; text-transform: uppercase; }
.nbg-svg .pulse { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .nbg-svg .pulse { animation: pinpulse 2.6s ease-out infinite; } }
@keyframes pinpulse { 0% { r: 8; opacity: .5; } 70% { r: 30; opacity: 0; } 100% { opacity: 0; } }
.map-info { margin-top: 18px; border-top: 1px solid var(--line-soft); padding-top: 18px; display: flex; gap: 15px; min-height: 72px; }
.map-info .mk { width: 38px; height: 38px; border-radius: 8px; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; }
.map-info h4 { font-size: 16px; font-weight: 800; color: var(--espresso); }
.map-info h4 small { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; margin-left: 8px; }
.map-info p { font-size: 13.5px; color: var(--mid); line-height: 1.5; margin-top: 3px; }
.map-hint { margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }
@media (max-width: 980px) { .nbg-svg { max-width: 460px; margin: 0 auto; } }

/* ============================================================
   09 · TEAM
   ============================================================ */
.team-intro { max-width: 760px; margin: 0 0 52px; }
.team-intro .eyebrow { margin-bottom: 20px; }
.team-intro h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.team-intro p { margin-top: 20px; font-size: 18px; color: var(--mid); line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line-soft); }
.member .ph { width: 100%; height: 100%; }
.member .ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px; background: linear-gradient(to top, rgba(42,31,20,0.90) 0%, rgba(42,31,20,0.40) 56%, transparent 100%); color: #fff; }
.member .ov .role { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); }
.member .ov h4 { font-size: 18px; font-weight: 800; margin: 5px 0 7px; }
.member .ov .spec { font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,0.82); margin-bottom: 10px; }
.member .ov .contact { display: flex; flex-direction: column; gap: 4px; }
.member .ov .contact a { font-size: 12px; color: rgba(255,255,255,0.86); text-decoration: none; display: flex; align-items: center; gap: 7px; }
.member .ov .contact a:hover { color: #fff; }
.member .ov .contact svg { width: 13px; height: 13px; color: var(--accent); }
.member.recruit { background: var(--accent); display: flex; flex-direction: column; justify-content: space-between; padding: 26px 24px; color: #fff; }
.member.recruit .rk { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: .92; }
.member.recruit .rk svg { width: 20px; height: 20px; }
.member.recruit h4 { font-size: 22px; font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }
.member.recruit a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; opacity: .92; display: inline-flex; align-items: center; gap: 7px; }
.member.recruit a:hover { opacity: 1; }
@media (max-width: 980px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   10 · KUNDENSTIMMEN — Investor-Feeling
   ============================================================ */
.test-feat { background: var(--white); border: 1px solid var(--line-soft); border-radius: 12px; display: grid; grid-template-columns: 340px 1fr; overflow: hidden; margin-bottom: 24px; }
.test-feat .tf-media { position: relative; }
.test-feat .tf-media img, .test-feat .tf-media .ph { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: 50% 30%; }
.test-feat .tf-media .ibadge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; padding: 6px 13px; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.test-feat .tf-body { padding: 48px 52px; position: relative; display: flex; flex-direction: column; }
.test-feat .tf-body .bigq { position: absolute; top: 26px; right: 40px; font-family: Georgia, serif; font-size: 130px; line-height: 1; color: var(--leinen); font-weight: 900; }
.test-feat .tf-body .q { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; position: relative; z-index: 2; }
.test-feat .tf-body .q .hl { color: var(--accent-dark); }
.test-feat .tf-body .who { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 14px; }
.test-feat .tf-body .who .av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.test-feat .tf-body .who .av-ph { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; background: var(--leinen); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; }
.test-feat .tf-body .who .nm { font-size: 15px; font-weight: 800; color: var(--espresso); }
.test-feat .tf-body .who .rl { font-size: 12.5px; color: var(--mid); margin-top: 2px; }
.test-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.test-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; padding: 32px 34px; display: flex; flex-direction: column; }
.test-card .badge { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 4px 9px; margin-bottom: 18px; }
.test-card .q { font-size: 16px; line-height: 1.65; color: var(--espresso); flex: 1; }
.test-card .q .hl { color: var(--accent-dark); font-weight: 600; }
.test-card .who { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.test-card .who img, .test-card .who .av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--leinen); }
.test-card .who .nm { font-size: 14px; font-weight: 800; }
.test-card .who .rl { font-size: 11.5px; color: var(--mid); margin-top: 2px; }
@media (max-width: 820px) { .test-feat { grid-template-columns: 1fr; } .test-row { grid-template-columns: 1fr; } }

/* ============================================================
   11 · ABSCHLUSS-CTA / CALENDLY
   ============================================================ */
.cta-head { max-width: 660px; margin: 0 auto 46px; text-align: center; }
.cta-head .eyebrow { margin-bottom: 18px; }
.cta-head h2 { font-size: clamp(32px, 3.8vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.cta-head .meta { margin-top: 16px; font-size: 16px; color: var(--espresso); opacity: 0.72; }
.cal-widget { max-width: 940px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; text-align: left; display: grid; grid-template-columns: 300px 1fr; box-shadow: var(--shadow-md); }
.cal-info { padding: 34px 32px; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.cal-info .host { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); }
.cal-info .host img { width: 26px; height: 26px; }
.cal-info h3 { font-size: 22px; font-weight: 800; margin: 24px 0 18px; line-height: 1.2; letter-spacing: -0.01em; }
.cal-info .row { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--espresso); margin-bottom: 12px; }
.cal-info .row svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.cal-info .desc { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 13.5px; line-height: 1.6; color: var(--mid); }
.cal-sched { padding: 32px 34px; display: grid; grid-template-columns: 1fr 156px; gap: 30px; }
.cal-month .mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-month .mhead .lbl { font-size: 16px; font-weight: 800; }
.cal-month .mhead .navs { display: flex; gap: 6px; }
.cal-month .mhead button { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--espresso); }
.cal-month .mhead button:hover { border-color: var(--accent); color: var(--accent); }
.cal-month .mhead svg { width: 16px; height: 16px; }
.cal-dow { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-bottom: 8px; }
.cal-dow span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid); }
.cal-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.cal-days .d { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; border-radius: 6px; cursor: pointer; }
.cal-days .d.avail { background: var(--tint); color: var(--accent-dark); }
.cal-days .d.avail:hover { background: var(--accent); color: #fff; }
.cal-days .d.sel { background: var(--accent); color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.cal-days .d.muted { color: #C9C4BC; cursor: default; }
.cal-times { display: flex; flex-direction: column; }
.cal-times .tlbl { font-size: 12px; font-weight: 700; color: var(--mid); margin-bottom: 12px; }
.cal-times .tlbl b { color: var(--espresso); }
.cal-times .slot { border: 1px solid var(--line); border-radius: 6px; padding: 11px 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--accent-dark); margin-bottom: 9px; cursor: pointer; transition: background-color .12s, color .12s, border-color .12s; }
.cal-times .slot:hover { border-color: var(--accent); }
.cal-times .slot.on { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 820px) { .cal-widget { grid-template-columns: 1fr; } .cal-info { border-right: none; border-bottom: 1px solid var(--line-soft); } .cal-sched { grid-template-columns: 1fr; } }

/* ============================================================
   12 · FAQ
   ============================================================ */
.faq-list { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 52px; align-items: start; }
.faq-item { border-bottom: 1px solid rgba(42,31,20,0.14); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 2px; font-family: var(--font); font-size: 16.5px; font-weight: 700; color: var(--espresso); letter-spacing: -0.01em; }
.faq-q .ic { flex-shrink: 0; width: 23px; height: 23px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; transition: transform .25s, background .15s, color .15s; }
.faq-q .ic svg { width: 15px; height: 15px; }
.faq-item.open .faq-q .ic { background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 2px 18px; font-size: 14.5px; color: var(--mid); line-height: 1.6; max-width: none; }
.faq-item.open .faq-a { max-height: 400px; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; column-gap: 0; } }

/* ============================================================
   09 · COMING SOON / PIPELINE
   ============================================================ */
#pipeline .pipe { max-width: 680px; margin: 54px auto 0; position: relative; }
.pipe-list { list-style: none; margin: 0; padding: 0; }
.pipe-item { display: flex; align-items: center; gap: 18px; }
.pipe-node { flex: 0 0 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--accent); position: relative; z-index: 2; }
.pipe-addr { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; letter-spacing: -0.025em; color: var(--espresso); line-height: 1.1; }
.pipe-meta { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.pipe-rail { display: none; }

/* hidden start state — only when JS is active and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  body[data-js="on"] .pipe-item { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(var(--fs, 1)); transition: opacity .55s cubic-bezier(.2,.7,.3,1), transform .55s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--i) * 0.13s); }
  body[data-js="on"] .pipe.in .pipe-item { opacity: 1; transform: none; }
}

/* ── Variante LINIE (Route) ── default ── */
body[data-pipe="line"] .pipe { padding-left: 4px; }
body[data-pipe="line"] .pipe-rail { display: block; position: absolute; left: 6px; top: 22px; bottom: 22px; width: 2px; background: var(--line-soft); overflow: hidden; }
body[data-pipe="line"] .pipe-progress { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 1.5s ease; }
body[data-pipe="line"] .pipe.in .pipe-progress { transform: scaleY(1); }
body[data-pipe="line"] .pipe-item { padding: 15px 0; --fx: -26px; --fy: 0; }

/* ── Variante LISTE (Zeilen) ── */
body[data-pipe="stack"] .pipe-rail { display: none; }
body[data-pipe="stack"] .pipe-node { flex-basis: 8px; width: 8px; height: 8px; background: var(--accent); border: none; }
body[data-pipe="stack"] .pipe-item { padding: 18px 4px; border-bottom: 1px solid var(--line-soft); --fx: 0; --fy: 14px; }
body[data-pipe="stack"] .pipe-item:first-child { border-top: 1px solid var(--line-soft); }

/* ── Variante CHIPS (Pillen) ── */
body[data-pipe="chips"] .pipe { max-width: 820px; }
body[data-pipe="chips"] .pipe-rail { display: none; }
body[data-pipe="chips"] .pipe-list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
body[data-pipe="chips"] .pipe-item { gap: 12px; background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 999px; padding: 14px 24px; --fs: 0.9; --fx: 0; --fy: 16px; box-shadow: 0 3px 14px rgba(42,31,20,0.06);
  transition-property: opacity, transform, box-shadow, border-color;
  transition-duration: .6s, .6s, .22s, .22s;
  transition-timing-function: cubic-bezier(.2,.75,.3,1), cubic-bezier(.2,.75,.3,1), ease, ease;
  transition-delay: calc(var(--i) * 0.13s), calc(var(--i) * 0.13s), 0s, 0s; }
body[data-pipe="chips"] .pipe-item:nth-child(odd) { --fx: -46px; }
body[data-pipe="chips"] .pipe-item:nth-child(even) { --fx: 46px; }
body[data-pipe="chips"] .pipe.in .pipe-item:hover { box-shadow: 0 9px 24px rgba(42,31,20,0.16); border-color: var(--accent); }
body[data-pipe="chips"] .pipe-node { flex-basis: 9px; width: 9px; height: 9px; }
body[data-pipe="chips"] .pipe-addr { font-size: clamp(17px, 1.9vw, 21px); }
body[data-pipe="chips"] .pipe-meta { display: none; }
/* jede Chip ein eigener Flächenton */
body[data-pipe="chips"] .pipe-item:nth-child(1) { background: #EDE4D6; }
body[data-pipe="chips"] .pipe-item:nth-child(2) { background: #F5EFE6; }
body[data-pipe="chips"] .pipe-item:nth-child(3) { background: #F9F0E8; }
body[data-pipe="chips"] .pipe-item:nth-child(4) { background: #ECEAE3; }
body[data-pipe="chips"] .pipe-item:nth-child(5) { background: #E8E9E6; }
body[data-pipe="chips"] .pipe-item:nth-child(6) { background: #E6E7E4; }
body[data-pipe="chips"] .pipe-item:nth-child(7) { background: #F0E7DA; }

/* ── Variante KARTE (Pins fallen ein) ── */
.pipe-map { display: none; }
body[data-pipe="map"] .pipe { max-width: 760px; }
body[data-pipe="map"] .pipe-rail { display: none; }
body[data-pipe="map"] .pipe-map { display: block; position: absolute; inset: 0; pointer-events: none; }
body[data-pipe="map"] .pm-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid var(--line-soft); border-radius: 50%; }
body[data-pipe="map"] .pm-ring.r1 { width: 130px; height: 130px; }
body[data-pipe="map"] .pm-ring.r2 { width: 280px; height: 280px; }
body[data-pipe="map"] .pm-ring.r3 { width: 440px; height: 440px; }
body[data-pipe="map"] .pm-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); }
body[data-pipe="map"] .pipe-list { position: relative; height: 480px; }
body[data-pipe="map"] .pipe-item { position: absolute; left: var(--x); top: var(--y); width: auto; gap: 0; flex-direction: column; align-items: center; --fx: 0; --fy: -28px; }
body[data-pipe="map"] .pipe-node { width: 18px; height: 18px; background: var(--accent); border: 2px solid var(--white); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 8px rgba(42,31,20,0.28); margin-bottom: 7px; }
body[data-pipe="map"] .pipe-addr { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; background: var(--white); border: 1px solid var(--line-soft); border-radius: 6px; padding: 5px 11px; white-space: nowrap; box-shadow: 0 2px 10px rgba(42,31,20,0.10); }
body[data-pipe="map"] .pipe-meta { display: none; }
@media (max-width: 640px) { body[data-pipe="map"] .pipe-addr { font-size: 11px; padding: 3px 7px; } body[data-pipe="map"] .pm-ring.r3 { width: 320px; height: 320px; } }

/* Fallback: ohne Tweak-Attribut wie Linie behandeln */
body:not([data-pipe]) .pipe-rail { display: block; position: absolute; left: 6px; top: 22px; bottom: 22px; width: 2px; background: var(--line-soft); overflow: hidden; }
body:not([data-pipe]) .pipe-progress { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 1.5s ease; }
body:not([data-pipe]) .pipe.in .pipe-progress { transform: scaleY(1); }
body:not([data-pipe]) .pipe-item { padding: 15px 0; --fx: -26px; --fy: 0; }

@media print { .pipe-item { opacity: 1 !important; transform: none !important; } .pipe-progress { transform: scaleY(1) !important; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer.foot { background: var(--warm-silver); padding: 56px 0 40px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-inner img { height: 26px; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { font-size: 14px; color: var(--espresso); text-decoration: none; opacity: 0.78; }
.foot-links a:hover { color: var(--accent-dark); opacity: 1; }
.foot-copy { width: 100%; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(42,31,20,0.16); font-size: 13px; color: var(--espresso); opacity: 0.62; }

/* ============================================================
   SCROLL-FADE-IN (Variante)
   ============================================================ */
body[data-fade="on"] .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
body[data-fade="on"] .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { body[data-fade="on"] .reveal { opacity: 1 !important; transform: none !important; } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-grid, body[data-hero="editorial"] .hero-grid { grid-template-columns: 1fr; gap: 34px; max-width: var(--wrap); margin: 0 auto; padding: 56px 44px; }
  body[data-hero="editorial"] .hero-figure .frame { border-radius: 8px; border: 1px solid var(--line-soft); }
  body[data-hero="editorial"] .hero-figure img, .hero-figure img { height: clamp(260px, 42svh, 400px); min-height: 0; }
  body[data-hero="editorial"] .hero-figure .caption { position: static; margin-top: 13px; padding: 0; background: none; backdrop-filter: none; }
  .hero-copy h1, body[data-hero="editorial"] .hero-copy h1 { max-width: 22ch; }
  .problem-grid, .proj-top, .nbg-grid { grid-template-columns: 1fr; gap: 40px; }
  .proj-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .band { padding: 84px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .hero-grid, body[data-hero="editorial"] .hero-grid { padding: 44px 22px; }
  .hero-proof, body[data-hero="editorial"] .hero-proof { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
  .team-grid { grid-template-columns: 1fr; }
  .calc .cout { grid-template-columns: 1fr; gap: 14px; }
}
