/* Schrift-Import erfolgt im <head> jeder Seite (mit preconnect für schnelleres Laden). */
/* =============================================================
   DBC CONSULTING – styles.css
   Typografie: Newsreader (Display) · IBM Plex Sans (Text)
               IBM Plex Mono (Daten, Codes, Labels)
   Farben ausschließlich aus der Marke: Navy / Teal / Gold
   ============================================================= */

:root {
  /* Marke */
  --navy: #0d1b2a;
  --navy-2: #142a3e;
  --teal: #2e7d7a;
  --gold: #daba73;

  /* Abgeleitete Töne */
  --navy-line: #23405a;
  --navy-soft: #11253a;
  --teal-deep: #24625f;
  --teal-bright: #4a9d99;
  --teal-pale: #e7f1f0;
  --gold-deep: #a8843a;
  --gold-pale: #f7f0df;

  --paper: #f7f8f7;
  --paper-2: #eef2f0;
  --white: #fff;
  --ink: #16232e;
  --muted: #5e6e79;
  --muted-dark: #93a8b5;
  --line: #d8e0e1;

  /* Von next/font gesetzt (--font-*); Fallback fuer Vorschau ohne Next. */
  --display: var(--font-display, "Newsreader"), Georgia, serif;
  --sans: var(--font-sans, "IBM Plex Sans"), system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--font-mono, "IBM Plex Mono"), ui-monospace, "SFMono-Regular", monospace;

  --pad: clamp(20px, 6vw, 96px);
  --sect: clamp(64px, 8vw, 120px);
  --wrap: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.68;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
section { scroll-margin-top: 86px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200; padding: 14px 22px;
  background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.7,.3,1); }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* -------------------------------------------------------------
   Typo-Rollen
   ------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.06; letter-spacing: -.028em; }
h1 { font-size: clamp(46px, 6.2vw, 92px); letter-spacing: -.04em; }
h2 { font-size: clamp(34px, 4.2vw, 62px); letter-spacing: -.034em; }
h3 { font-size: clamp(23px, 2.4vw, 34px); }
h4 { font-size: 21px; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.on-dark .eyebrow { color: var(--teal-bright); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.band { padding-block: var(--sect); }
.band-dark { background: var(--navy); color: #eef3f5; }
.band-mist { background: var(--paper-2); }
.hairline { height: 1px; border: 0; margin: 0; background: var(--line); }

/* -------------------------------------------------------------
   Buttons
   ------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; background: var(--teal); color: var(--white);
  border: 1px solid var(--teal); font-size: 14px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--teal-deep); border-color: var(--teal-deep); transform: translateY(-2px); }
.button.small { padding: 11px 20px; font-size: 13px; }
.button.gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.button.gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }
.button.ghost { background: transparent; border-color: #6f8b9d; color: inherit; }
.button.ghost:hover { background: rgba(255,255,255,.07); border-color: var(--gold); transform: translateY(-2px); }
.button.block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px;
  border-bottom: 1px solid var(--gold); font-size: 14px; font-weight: 600;
  transition: color .2s ease, gap .2s ease;
}
.link:hover { color: var(--teal); gap: 12px; }

/* -------------------------------------------------------------
   Navigation
   ------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,248,247,.93); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad);
  min-height: 76px; display: flex; align-items: center; gap: 26px;
}
.brand-logo { display: block; height: 52px; flex: none; }
.brand-logo img { height: 100%; width: auto; object-fit: contain; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav nav a:hover { color: var(--navy); border-color: var(--gold); }
.nav-toggle { display: none; margin-left: auto; padding: 10px 16px; background: none; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; cursor: pointer; }

@media (max-width: 1080px) {
  .nav nav { gap: 18px; }
  .nav nav a { font-size: 11px; }
}
@media (max-width: 920px) {
  .nav nav {
    display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0;
    padding: 6px var(--pad) 22px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 15px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav .button.small { display: none; }
}

/* -------------------------------------------------------------
   Hero
   ------------------------------------------------------------- */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(48px,6vw,92px) var(--pad) clamp(52px,6vw,88px);
  display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(32px,5vw,80px); align-items: start;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--teal); }
.lead { max-width: 30ch; margin: 30px 0 18px; font-size: clamp(19px,1.6vw,24px); font-weight: 600; line-height: 1.42; color: var(--navy); }
.hero-note { max-width: 52ch; margin: 0 0 34px; color: var(--muted); font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.proofline {
  display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 42px; padding-top: 24px;
  border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.proofline span { padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--line); }
.proofline span:last-child { border-right: 0; }

/* Evidenzkarte im Hero */
.hero-card {
  position: relative; padding: clamp(26px,2.6vw,36px); background: var(--navy); color: var(--white);
  box-shadow: 18px 18px 0 var(--gold);
}
.cardtop {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding-bottom: 22px; border-bottom: 1px solid var(--navy-line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark);
}
.cardtop b { color: var(--gold); font-weight: 500; }
.hero-card-main { padding-top: 26px; }
.hero-card-label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.number { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: clamp(66px,7vw,104px); line-height: .86; letter-spacing: -.04em; }
.number small { font-size: .3em; color: var(--gold); letter-spacing: 0; }
.hero-card-main > p { margin: 20px 0 0; max-width: 38ch; color: #b9c7d1; font-size: 14px; line-height: 1.6; }

/* Sparkline: dieselbe Datenreihe wie im großen Diagramm */
.spark { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--navy-line); }
.spark-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.spark-plot { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 54px; margin-top: 12px; }
.spark-plot i { flex: 1; background: linear-gradient(180deg, var(--teal-bright), var(--teal)); transition: height .8s cubic-bezier(.22,.7,.3,1); }
.spark-median { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--gold); }
.spark-median span { position: absolute; right: 0; top: -16px; font-family: var(--mono); font-size: 9px; color: var(--gold); letter-spacing: .08em; }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--navy-line); }
.metrics b { display: block; margin-bottom: 5px; font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--gold); }
.metrics span { display: block; font-size: 12px; line-height: 1.45; color: var(--muted-dark); }
.hero-disclaimer { margin: 20px 0 0; font-family: var(--mono); font-size: 10px; line-height: 1.55; color: #7a91a1; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { box-shadow: 12px 12px 0 var(--gold); }
  .lead { max-width: none; }
}

/* -------------------------------------------------------------
   Branchenband
   ------------------------------------------------------------- */
.industries {
  border-block: 1px solid var(--line); background: #f2f4f2;
}
.industries-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 20px var(--pad);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7d8a92;
}

/* -------------------------------------------------------------
   Split-Kopf
   ------------------------------------------------------------- */
.splithead { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px,4vw,80px); align-items: start; }
.splithead > div:last-child { padding-top: 10px; color: var(--muted); }
.band-dark .splithead > div:last-child { color: #b8c8d2; }
@media (max-width: 860px) { .splithead { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   Für wen
   ------------------------------------------------------------- */
.fit-columns { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(34px,4vw,56px); border: 1px solid var(--line); background: var(--white); }
.fit-columns article { padding: clamp(24px,2.6vw,36px); }
.fit-columns article + article { border-left: 1px solid var(--line); }
.fit-columns article > span {
  display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--teal);
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.fit-columns .fit-no > span { border-bottom-color: var(--gold); color: var(--gold-deep); }
.fit-columns ul { margin: 6px 0 0; padding: 0; list-style: none; }
.fit-columns li { position: relative; padding: 15px 0 15px 26px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.fit-columns li:last-child { border-bottom: 0; padding-bottom: 0; }
.fit-columns li::before { content: "✓"; position: absolute; left: 0; top: 15px; color: var(--teal); font-weight: 700; font-size: 13px; }
.fit-columns .fit-no li { color: var(--muted); }
.fit-columns .fit-no li::before { content: "–"; color: var(--gold-deep); }
@media (max-width: 760px) {
  .fit-columns { grid-template-columns: 1fr; }
  .fit-columns article + article { border-left: 0; border-top: 1px solid var(--line); }
}

/* -------------------------------------------------------------
   Verlustfelder
   ------------------------------------------------------------- */
.loss-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px,4vw,64px); align-items: start; margin-top: clamp(36px,4.5vw,60px); }
.loss-list { border-top: 1px solid var(--line); }
.loss-item {
  display: grid; grid-template-columns: 46px 1fr 22px; gap: 18px; align-items: start; width: 100%;
  padding: 24px 12px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .25s ease;
}
.loss-item:hover { background: #f0f4f2; }
.loss-item.active { background: linear-gradient(90deg, var(--teal-pale), transparent 92%); }
.loss-code {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--muted); transition: border-color .25s, color .25s, background .25s;
}
.loss-item.active .loss-code { background: var(--teal); border-color: var(--teal); color: var(--white); }
.loss-heading strong { display: block; margin-bottom: 7px; font-family: var(--display); font-size: clamp(21px,2vw,29px); font-weight: 500; letter-spacing: -.02em; color: var(--navy); }
.loss-item.active .loss-heading strong { color: var(--teal); }
.loss-heading small { display: block; max-width: 46ch; color: var(--muted); font-size: 14px; line-height: 1.5; }
.loss-item > b { padding-top: 8px; font-family: var(--display); font-size: 26px; font-weight: 400; color: var(--teal); }

.loss-detail { position: sticky; top: 100px; padding: clamp(26px,3vw,42px); background: var(--navy); color: var(--white); }
.loss-detail h3 { margin-bottom: 28px; font-weight: 400; line-height: 1.16; }
.detail-block { padding: 16px 0; border-top: 1px solid var(--navy-line); }
.detail-block span { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.detail-block p { margin: 9px 0 0; color: #c2d0d9; font-size: 14px; line-height: 1.55; }
.detail-copy { margin: 26px 0 0; color: #dfe8ed; font-size: 15px; line-height: 1.7; }
@media (max-width: 920px) {
  .loss-grid { grid-template-columns: 1fr; }
  .loss-detail { position: static; }
}

/* -------------------------------------------------------------
   Evidenz
   ------------------------------------------------------------- */
.evidence-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px,4vw,72px); align-items: start; }
@media (max-width: 1000px) { .evidence-grid { grid-template-columns: 1fr; } }
.on-top-note {
  margin: 26px 0; padding: 18px 22px; border-left: 2px solid var(--gold);
  background: rgba(255,255,255,.04); font-size: 14px; line-height: 1.65; color: #c2d0d9;
}
.on-top-note b { color: var(--gold); font-weight: 600; }
.evidence-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--navy-line); }
.evidence-kpis strong { display: block; margin-bottom: 6px; white-space: nowrap; font-family: var(--display); font-size: clamp(21px,2.1vw,29px); font-weight: 500; color: var(--gold); line-height: 1.05; }
.evidence-kpis span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; line-height: 1.5; color: var(--muted-dark); }
@media (max-width: 560px) { .evidence-kpis { grid-template-columns: 1fr 1fr; } }

.chart-heading {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--navy-line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
}
.chart-heading span { color: #cdd9e0; }
.chart-heading b { color: var(--gold); font-weight: 500; }

/* Signatur: Ledger mit Medianlinie */
.ledger { position: relative; margin-top: 20px; }
.median-rule { position: absolute; top: 0; bottom: 26px; width: 1px; border-left: 1px dashed var(--gold); z-index: 2; pointer-events: none; }
.median-rule span {
  position: absolute; top: -6px; left: 8px; white-space: nowrap;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.site-bar { display: grid; grid-template-columns: 74px 1fr 60px; gap: 16px; align-items: center; padding: 4px 0; }
.site-bar > span { font-family: var(--mono); font-size: 11px; color: var(--muted-dark); }
.site-bar > div { position: relative; height: 16px; background: #17293a; }
.site-bar > div > i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transition: width .9s cubic-bezier(.22,.7,.3,1); }
.site-bar > strong { font-family: var(--mono); font-size: 12px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.chart-note { margin-top: 16px; font-family: var(--mono); font-size: 10px; line-height: 1.6; color: var(--muted-dark); }
@media (max-width: 540px) { .site-bar { grid-template-columns: 56px 1fr 46px; gap: 10px; } }

.category-results { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(30px,4vw,72px); margin-top: clamp(52px,6vw,90px); align-items: start; }
@media (max-width: 1000px) { .category-results { grid-template-columns: 1fr; } }
.category-bars article { display: grid; grid-template-columns: 1.25fr 1.15fr auto; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--navy-line); }
.category-bars article:first-child { border-top: 0; }
.category-label { display: flex; gap: 14px; align-items: flex-start; }
.category-label > b { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--gold); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--gold); }
.category-label span { display: block; font-size: 16px; font-weight: 600; }
.category-label small { display: block; margin: 2px 0 6px; font-family: var(--mono); font-size: 10px; color: var(--muted-dark); }
.category-label em { display: block; font-style: normal; font-size: 12px; line-height: 1.5; color: #8fa5b3; }
.category-track { height: 16px; background: #17293a; }
.category-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); transition: width .9s cubic-bezier(.22,.7,.3,1); }
.category-track i.asset { background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.category-track i.organisation { background: linear-gradient(90deg, #52708a, #90a8ba); }
.category-bars article > strong { font-family: var(--mono); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .category-bars article { grid-template-columns: 1fr; gap: 12px; }
  .category-bars article > strong { text-align: right; }
}

.industry-results { margin-top: clamp(52px,6vw,90px); }
.industry-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 32px; border: 1px solid var(--navy-line); }
.industry-grid article { display: flex; flex-direction: column; padding: 28px 24px; border-right: 1px solid var(--navy-line); }
.industry-grid article:last-child { border-right: 0; }
.industry-grid span { margin-bottom: 16px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.industry-grid h4 { margin-bottom: 10px; font-weight: 500; }
.industry-grid strong { display: block; margin-bottom: 18px; font-family: var(--display); font-size: 25px; font-weight: 500; color: var(--teal-bright); }
.industry-grid p { margin-top: auto; font-size: 13px; line-height: 1.6; color: var(--muted-dark); }
@media (max-width: 1000px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid article { border-bottom: 1px solid var(--navy-line); }
  .industry-grid article:nth-child(2n) { border-right: 0; }
  .industry-grid article:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .industry-grid { grid-template-columns: 1fr; }
  .industry-grid article { border-right: 0; }
}

/* -------------------------------------------------------------
   Szenario
   ------------------------------------------------------------- */
.scenario { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(30px,4vw,72px); align-items: start; }
@media (max-width: 960px) { .scenario { grid-template-columns: 1fr; } }
.scenario-copy > p { color: var(--muted); }
.revenue-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.revenue-evidence strong { display: block; margin-bottom: 6px; font-family: var(--display); font-size: 30px; font-weight: 500; color: var(--teal); }
.revenue-evidence span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.scenario-copy label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.scenario-copy label strong { font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--teal); }
.scenario-copy .rate-label { margin-top: 26px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; background: var(--line); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); border: 3px solid var(--paper-2); box-shadow: 0 0 0 1px var(--teal); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); border: 3px solid var(--paper-2); box-shadow: 0 0 0 1px var(--teal); }
.range-scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.range-scale.rate-scale { justify-content: space-between; }

.scenario-chart { padding: clamp(24px,2.8vw,38px); background: var(--white); border: 1px solid var(--line); }
.histogram-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.histogram-heading b { color: var(--teal); font-weight: 500; }
.histogram { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; align-items: end; height: 210px; margin-top: 24px; }
.histogram-bin { display: flex; flex-direction: column; height: 100%; }
.histogram-bin > strong { margin-bottom: 8px; font-family: var(--mono); font-size: 12px; text-align: center; }
.histogram-bin > div { flex: 1; display: flex; align-items: flex-end; background: var(--paper-2); }
.histogram-bin i { display: block; width: 100%; background: linear-gradient(180deg, var(--gold), var(--teal)); transition: height .8s cubic-bezier(.22,.7,.3,1); }
.histogram-bin > span { margin-top: 9px; font-family: var(--mono); font-size: 10px; text-align: center; color: var(--muted); }
.histogram-note { margin: 18px 0 22px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.scenario-result { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px 28px; background: var(--navy); color: var(--white); }
.scenario-result span { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.scenario-result small { font-family: var(--mono); font-size: 12px; color: #c2d0d9; }
.scenario-result strong { font-family: var(--display); font-size: clamp(32px,3.6vw,46px); font-weight: 500; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.scenario-chart > p { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.scenario-cta { margin-top: 22px; width: 100%; }

/* -------------------------------------------------------------
   Prozess
   ------------------------------------------------------------- */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: clamp(36px,4.5vw,58px); }
.process-steps article { display: flex; flex-direction: column; min-height: 250px; padding: 30px 26px; background: var(--white); border: 1px solid var(--line); }
.process-steps article.featured { background: var(--teal); border-color: var(--teal); color: var(--white); }
.process-steps span { margin-bottom: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--gold-deep); }
.process-steps article.featured span { color: var(--gold); }
.process-steps h3 { margin-bottom: 12px; font-size: 26px; }
.process-steps p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.process-steps article.featured p { color: #d6eae8; }
.process-steps b { margin-top: auto; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--teal); }
.process-steps article.featured b { color: var(--gold); }
@media (max-width: 960px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } .process-steps article { min-height: 0; } }

.process-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.process-summary article { padding: 26px 28px; background: var(--navy); color: var(--white); }
.process-summary article + article { background: var(--navy-2); }
.process-summary span { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.process-summary strong { display: block; margin-bottom: 12px; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.25; }
.process-summary p { font-size: 14px; line-height: 1.6; color: #b9c7d1; }
@media (max-width: 760px) { .process-summary { grid-template-columns: 1fr; } }

.deliverables { display: grid; grid-template-columns: repeat(5,1fr); margin-top: 20px; border: 1px solid var(--line); border-left: 0; background: var(--teal-pale); }
.deliverables span { padding: 20px 16px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 11px; line-height: 1.5; text-align: center; letter-spacing: .04em; color: var(--teal-deep); }
@media (max-width: 900px) { .deliverables { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .deliverables { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   Investition
   ------------------------------------------------------------- */
.investment-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(34px,4vw,56px); }
.investment-cards article { display: flex; flex-direction: column; padding: clamp(26px,3vw,42px); background: var(--white); border: 1px solid var(--line); }
.investment-cards .investment-dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.investment-cards > article > span { margin-bottom: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.investment-cards .investment-dark > span { color: var(--gold); }
.investment-cards h3 { margin-bottom: 16px; }
.investment-cards p { font-size: 15px; line-height: 1.68; color: var(--muted); }
.investment-cards .investment-dark p { color: #c2d0d9; }
.investment-ratio { display: flex; align-items: baseline; gap: 16px; margin: 26px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.investment-dark .investment-ratio { border-top-color: var(--navy-line); }
.investment-ratio strong { font-family: var(--display); font-size: clamp(34px,4vw,50px); font-weight: 500; line-height: 1; color: var(--teal); }
.investment-dark .investment-ratio strong { color: var(--gold); }
.investment-ratio em { font-style: normal; font-size: 13px; line-height: 1.5; color: var(--muted); }
.investment-dark .investment-ratio em { color: var(--muted-dark); }
.investment-cards small { margin-top: auto; font-size: 13px; line-height: 1.6; color: var(--muted); }
.investment-dark small { color: var(--muted-dark); }
@media (max-width: 860px) { .investment-cards { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   Selbstcheck
   ------------------------------------------------------------- */
.selfcheck-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px,4vw,72px); align-items: start; }
@media (max-width: 900px) { .selfcheck-grid { grid-template-columns: 1fr; } }
.check-item {
  display: grid; grid-template-columns: 36px 1fr; gap: 18px; align-items: center; width: 100%;
  margin-bottom: 12px; padding: 20px 24px; text-align: left; background: var(--white);
  border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s;
}
.check-item:hover { border-color: var(--teal); }
.check-item.checked { border-color: var(--teal); background: var(--teal-pale); box-shadow: inset 3px 0 0 var(--teal); }
.check-item > span {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-family: var(--mono); font-size: 12px; font-weight: 600;
  transition: background .2s, color .2s;
}
.check-item.checked > span { background: var(--teal); color: var(--white); }
.check-item p { margin: 0; font-size: 15px; line-height: 1.55; }
.check-result { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 20px; padding: 26px 30px; background: var(--navy); color: var(--white); }
.check-result > strong { font-family: var(--display); font-size: 34px; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--gold); }
.check-result p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: #c2d0d9; }
.check-result a { display: inline-flex; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--gold); font-size: 14px; font-weight: 600; }
@media (max-width: 520px) { .check-result { grid-template-columns: 1fr; gap: 14px; } }

/* -------------------------------------------------------------
   Q&A
   ------------------------------------------------------------- */
.faq-list { max-width: 900px; margin: clamp(30px,4vw,52px) auto 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; padding: 24px 48px 24px 0; list-style: none; cursor: pointer;
  font-family: var(--display); font-size: clamp(19px,1.9vw,25px); font-weight: 500; letter-spacing: -.02em; color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--teal); }
.faq-list details[open] summary { color: var(--teal); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 48px 26px 0; font-size: 15px; line-height: 1.75; color: var(--muted); }

/* -------------------------------------------------------------
   Expertise
   ------------------------------------------------------------- */
.bio-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--gold); }
.bio-metrics span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }
.bio-metrics b { display: block; margin-bottom: 6px; font-family: var(--display); font-size: clamp(28px,3vw,40px); font-weight: 500; color: var(--teal); }
.implementation-note { margin-top: 28px; padding: 18px 22px; border-left: 2px solid var(--teal); background: var(--teal-pale); font-size: 14px; line-height: 1.65; color: var(--ink); }
.implementation-note b { color: var(--teal-deep); }
@media (max-width: 600px) { .bio-metrics { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------
   Kontakt
   ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,4vw,76px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-heading > p { color: #b9c7d1; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-dark); }
.fitcheck-promise { padding: clamp(24px,2.8vw,38px); border: 1px solid var(--navy-line); background: var(--navy-2); }
.fitcheck-promise h3 { margin-bottom: 24px; font-size: 25px; }
.fitcheck-promise > div { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--navy-line); }
.fitcheck-promise b { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--gold); }
.fitcheck-promise span { font-size: 14px; line-height: 1.6; color: #c8d5dd; }
.fitcheck-note { margin-top: 22px; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: var(--muted-dark); }

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
footer { padding: 50px 0 40px; background: var(--navy); border-top: 1px solid var(--navy-line); color: var(--muted-dark); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer-logo img { height: 52px; width: auto; }
.footer-claim { font-family: var(--mono); font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; font-size: 13px; }
.footer-links a { padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.footer-links a:hover { color: var(--white); border-bottom-color: var(--gold); }
.footer-copy { font-family: var(--mono); font-size: 11px; color: #63798a; }

/* Fließtext-Varianten der Abschnitte */
.evidence-intro, .category-intro, .industry-intro { margin-top: 20px; color: #b8c8d2; }
.industry-intro { max-width: 80ch; }
.scenario-intro { margin-top: 22px; color: var(--muted); }
.selfcheck-intro { margin-top: 22px; color: var(--muted); }
.contact-intro { margin-top: 22px; color: #b9c7d1; }


/* -------------------------------------------------------------
   Rechtstexte (Impressum, Datenschutz)
   ------------------------------------------------------------- */
.legal-nav { border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-nav .nav-inner { min-height: 76px; }
.legal-nav .back { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.legal-nav .back:hover { color: var(--teal); }

.legal { max-width: 820px; margin: 0 auto; padding: clamp(48px,7vw,96px) var(--pad) clamp(64px,8vw,120px); }
.legal h1 { margin-bottom: 14px; font-size: clamp(38px,4.6vw,64px); }
.legal .legal-updated { margin-bottom: 46px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal h2 { margin: 48px 0 16px; font-size: clamp(22px,2.4vw,30px); }
.legal h3 { margin: 30px 0 10px; font-size: 19px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--ink); }
.legal ul { margin: 0 0 1.05em; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal address { font-style: normal; line-height: 1.8; }
.legal a { border-bottom: 1px solid var(--gold); }
.legal a:hover { color: var(--teal); }
.legal-todo {
  display: block; margin: 26px 0; padding: 18px 22px;
  border-left: 3px solid var(--gold); background: var(--gold-pale);
  font-size: 14px; line-height: 1.65; color: #5b4712;
}
.legal-todo b { color: #4a3a0e; }
.legal mark { background: var(--gold-pale); padding: 1px 5px; font-family: var(--mono); font-size: .92em; color: #5b4712; }
