/* ==========================================================================
   RCG Consult – Design System
   Look: ruhig, präzise, hochwertig. Tinte + Papier + Messing.
   Keine externen Ressourcen (DSGVO-freundlich, keine Cookie-Banner-Pflicht).
   Optional: eigene Webfonts selbst hosten (z. B. "Fraunces" + "Inter")
   unter /assets/fonts/ und unten in --font-display / --font-body voranstellen.
   ========================================================================== */

:root {
  --ink: #0e1b2c;
  --ink-2: #16273d;
  --ink-3: #20344f;
  --paper: #f6f3ee;
  --paper-2: #ede8df;
  --white: #ffffff;
  --text: #0e1b2c;
  --muted: #586273;
  --muted-on-ink: #a9b4c4;
  --line: rgba(14, 27, 44, 0.12);
  --line-on-ink: rgba(255, 255, 255, 0.12);
  --accent: #b88d4f;        /* Messing – Flächen, Linien, Akzente auf Dunkel */
  --accent-ink: #84602b;    /* Messing dunkel – Text auf Hell (Kontrast ≥ 4.5:1) */
  --accent-soft: #f1e6d4;
  --success: #2f6b4f;
  --danger: #a23b2a;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(14, 27, 44, .06), 0 12px 32px -12px rgba(14, 27, 44, .18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 64ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-ink .eyebrow { color: var(--accent); }
em.serif { font-family: var(--font-display); font-style: italic; }
.accent { color: var(--accent-ink); }
.on-ink .accent { color: var(--accent); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.on-ink { background: var(--ink); color: #fff; }
.on-ink .lead, .on-ink .muted { color: var(--muted-on-ink); }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split > *, .grid > * { min-width: 0; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: #c99d5e; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.on-ink .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.on-ink .btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.micro { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.on-ink .micro { color: var(--muted-on-ink); }
.micro svg { display: inline; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header--ink { background: rgba(14, 27, 44, .92); color: #fff; }
.site-header--ink.is-scrolled { border-bottom-color: var(--line-on-ink); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo__mark { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: .04em; }
.logo__mark span { color: var(--accent); }
.logo__sub { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; opacity: .7; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a { text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .82; transition: opacity .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-size: .9rem; text-decoration: none; opacity: .8; white-space: nowrap; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 1060px) { .nav__phone { display: none; } }
@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0; padding: 16px var(--gutter) 28px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .site-header--ink .nav.is-open .nav__links { background: var(--ink); border-bottom-color: var(--line-on-ink); }
  .site-header { background: var(--paper); }
  .site-header--ink { background: var(--ink); }
  .nav.is-open .nav__links a { font-size: 1.15rem; padding: 10px 0; display: block; }
  .nav.is-open .nav__links .nav__mobile-cta { display: block; margin-top: 12px; width: 100%; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav__mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 104px); }
.hero.on-ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-on-ink) 1px, transparent 1px), linear-gradient(90deg, var(--line-on-ink) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); opacity: .5;
}
.hero .container { position: relative; }
.hero h1 { max-width: 18ch; font-size: clamp(2.3rem, 4.3vw, 3.6rem); }
.hero h1 .line2 { color: var(--muted-on-ink); display: block; }
.hero .lead { margin: 20px 0 24px; }
.benefits { list-style: none; display: grid; gap: 12px; margin: 0 0 36px; }
.benefits li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.benefits svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.benefits strong { font-weight: 600; }
.hero--page { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hero--page h1 { max-width: 20ch; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }

/* Förder-Architektur Visual */
.stack-card {
  background: var(--ink-2); border: 1px solid var(--line-on-ink); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.stack-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.stack-card__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); }
.stack-card__total { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.stack-bar { display: flex; height: 14px; border-radius: 2px; overflow: hidden; margin: 18px 0 22px; gap: 2px; }
.stack-bar span { display: block; height: 100%; }
.stack-list { list-style: none; display: grid; gap: 12px; }
.stack-list li { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; font-size: .95rem; }
.stack-list .dot { width: 12px; height: 12px; border-radius: 2px; }
.stack-list .val { font-variant-numeric: tabular-nums; font-weight: 600; }
.stack-list .sub { display: block; font-size: .8rem; color: var(--muted-on-ink); }
.stack-card__foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-on-ink); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.stack-card__foot strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); font-weight: 500; }
.stack-card__note { font-size: .75rem; color: var(--muted-on-ink); margin-top: 14px; }
.c1 { background: var(--accent); } .c2 { background: #d9bf93; } .c3 { background: #7f97b5; } .c4 { background: #3a4f6c; }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line-on-ink); background: var(--ink); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-right: 1px solid var(--line-on-ink); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: 8px; }
.stat__num small { font-size: .5em; color: var(--accent); margin-left: 4px; }
.stat__label { font-size: .88rem; color: var(--muted-on-ink); line-height: 1.4; }
.section--white .stat, .section--paper2 .stat, .stats--light .stat { border-color: var(--line); }
.stats--light .stat__label { color: var(--muted); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-on-ink); }
  .stats--light .stat:nth-child(-n+2) { border-bottom-color: var(--line); }
}
.programs { display: flex; flex-wrap: wrap; gap: 10px 36px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line-on-ink); }
.programs__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); }
.programs__item { font-family: var(--font-display); font-size: 1.1rem; opacity: .75; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); height: 100%;
}
.card--paper { background: var(--paper); }
.card--ink { background: var(--ink-2); border-color: var(--line-on-ink); color: #fff; }
.card__num { font-family: var(--font-display); font-size: .95rem; color: var(--accent-ink); margin-bottom: 18px; display: block; }
.card--ink .card__num { color: var(--accent); }
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 22px; }
.card .icon svg { width: 22px; height: 22px; }
.card--ink .icon { background: rgba(184,141,79,.15); color: var(--accent); }

.pain { border-left: 2px solid var(--accent); padding: 4px 0 4px 24px; }
.pain h3 { font-size: 1.25rem; }
.pain p { color: var(--muted); margin: 0; }
.pull-quote { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.3; max-width: 26ch; margin: 0; }
.pull-quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 18px; }

/* Prinzipien */
.principles { list-style: none; counter-reset: p; display: grid; gap: 0; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line-on-ink); }
.principles li:last-child { border-bottom: 1px solid var(--line-on-ink); }
.principles li::before { content: "0" counter(p); font-family: var(--font-display); color: var(--accent); font-size: 1.4rem; }
.principles h3 { margin-bottom: 6px; font-size: 1.3rem; }
.principles p { margin: 0; color: var(--muted-on-ink); }

/* Pakete */
.package { display: flex; flex-direction: column; position: relative; }
.package--featured { border: 1px solid var(--ink); box-shadow: var(--shadow); }
.package__badge { position: absolute; top: -12px; left: 32px; background: var(--ink); color: #fff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; }
.package__step { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.package h3 { margin: 10px 0 10px; font-size: 1.6rem; }
.package__price { font-family: var(--font-display); font-size: 1.35rem; margin: 18px 0 4px; }
.package__price small { font-family: var(--font-body); font-size: .82rem; color: var(--muted); display: block; margin-top: 2px; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 22px 0 28px; }
.checklist li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: .96rem; }
.checklist svg { width: 18px; height: 18px; color: var(--accent-ink); margin-top: 4px; }
.on-ink .checklist svg, .card--ink .checklist svg { color: var(--accent); }
.package .btn { margin-top: auto; }
.package__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); margin-top: 6px; }

/* Themenfelder */
.topics { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.topic { padding: 28px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.topic h4 { margin-bottom: 8px; }
.topic p { font-size: .9rem; color: var(--muted); margin: 0; }
.topic .tag { display: inline-block; font-size: .72rem; color: var(--accent-ink); font-weight: 600; letter-spacing: .06em; margin-top: 12px; }
@media (max-width: 1060px) { .topics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .topics { grid-template-columns: 1fr; } }

/* Prozess */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process li { padding: 0 20px 0 0; position: relative; }
.process li::before { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 1px; background: var(--line); }
.process li:last-child::before { display: none; }
.process__dot { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--font-display); background: var(--paper); position: relative; margin-bottom: 22px; }
.process li:first-child .process__dot { background: var(--ink); color: #fff; }
.process h3 { font-size: 1.15rem; margin-bottom: 6px; }
.process .when { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; display: block; margin-bottom: 8px; }
.process p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 28px; }
  .process li { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 0; }
  .process li::before { top: 40px; bottom: -28px; left: 19px; right: auto; width: 1px; height: auto; }
  .process__dot { margin: 0; }
}

/* Cases & Testimonials */
.case { display: flex; flex-direction: column; }
.case__meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.case__result { display: flex; gap: 28px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 18px 0; }
.case__result div { min-width: 90px; }
.case__result strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.case__result span { font-size: .8rem; color: var(--muted); }
.card--ink .case__result { border-color: var(--line-on-ink); }
.card--ink .case__result span, .card--ink .case__meta { color: var(--muted-on-ink); }
.testimonial { margin: 0; }
.testimonial blockquote { margin: 0 0 22px; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; }
.testimonial figcaption { display: flex; gap: 14px; align-items: center; font-size: .9rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--ink); flex: none; }
.testimonial figcaption span { color: var(--muted); display: block; font-size: .85rem; }

/* Fit-Check */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.fit > div { padding: clamp(24px, 3.4vw, 40px); }
.fit > div + div { border-left: 1px solid var(--line); background: var(--paper); }
.fit h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.fit ul { list-style: none; display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: .97rem; }
.fit li svg { width: 18px; height: 18px; margin-top: 4px; }
.fit .yes svg { color: var(--success); }
.fit .no svg { color: var(--danger); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } .fit > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font-family: var(--font-display); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 1.5rem; color: var(--accent-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 72ch; }

/* Vergleichstabelle */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; background: var(--paper); }
.compare thead th.hl { background: var(--ink); color: #fff; }
.compare td.hl { background: rgba(184,141,79,.08); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }

/* CTA-Block */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 22ch; margin: 0 auto 18px; }
.cta-final .lead { margin: 0 auto 36px; }
.cta-final .btn-row { justify-content: center; }

/* Team */
.member { text-align: left; }
.member__img { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--paper-2), #d9d2c5); border-radius: var(--radius-lg); margin-bottom: 18px; display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; color: rgba(14,27,44,.35); }
.member h3 { margin-bottom: 2px; font-size: 1.25rem; }
.member .role { font-size: .9rem; color: var(--accent-ink); font-weight: 600; margin-bottom: 10px; display: block; }
.member p { font-size: .93rem; color: var(--muted); }

/* ---------- Formulare & Funnel ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(14,27,44,.22); border-radius: var(--radius);
  background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184,141,79,.25); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .85rem; color: var(--muted); align-items: start; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.funnel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.funnel__progress { height: 4px; background: var(--paper-2); }
.funnel__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.funnel__body { padding: clamp(24px, 4vw, 48px); }
.funnel__count { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.funnel__step { display: none; }
.funnel__step.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.funnel__step h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.funnel__step > p { color: var(--muted); }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 8px; }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid rgba(14,27,44,.2); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background .15s; font-weight: 600; height: 100%; }
.option span small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.option input:checked + span { border-color: var(--ink); background: rgba(184,141,79,.1); box-shadow: inset 0 0 0 1px var(--ink); }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.funnel__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.funnel { scroll-margin-top: 96px; }
.funnel__back { white-space: nowrap; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px 0; font-weight: 600; }
.funnel__back[hidden] { display: block; visibility: hidden; }
.funnel__error { color: var(--danger); font-size: .9rem; min-height: 1.4em; margin-top: 10px; }
.result { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); margin: 22px 0; }
.result__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); }
.result__range { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--accent); line-height: 1.1; margin: 8px 0 12px; }
.result p { color: var(--muted-on-ink); font-size: .92rem; margin: 0; }
.notice { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 14px 18px; font-size: .92rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 16px 0; }
.notice--warn { border-color: var(--danger); background: #f7e6e2; }

.side-list { list-style: none; display: grid; gap: 22px; }
.side-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.side-list .icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(184,141,79,.15); color: var(--accent); }
.side-list .icon svg { width: 20px; height: 20px; }
.side-list h4 { margin-bottom: 4px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.side-list p { margin: 0; font-size: .93rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-ink); padding: 72px 0 32px; font-size: .93rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-on-ink); }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid .logo { color: #fff; margin-bottom: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 24px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile Sticky CTA */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(14,27,44,.96);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { flex: 1; padding: 13px 10px; font-size: .9rem; }
  body.has-sticky { padding-bottom: 0; }
}

/* Legal-Seiten */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Platzhalter-Markierung: Seite mit ?platzhalter aufrufen, um alle zu ersetzenden Inhalte gelb zu sehen */
body.show-ph [data-ph] { outline: 2px dashed #e0b400; outline-offset: 2px; background: rgba(255, 220, 0, .18) !important; }

/* Förder-Check Seitenleiste: startet unterhalb des dunklen Hero */
.check-aside { padding-top: 170px; }
@media (max-width: 960px) { .check-aside { padding-top: 0; } }

/* ==========================================================================
   RailCross – Ergänzungen
   ========================================================================== */
.logo__sub { white-space: nowrap; }
@media (max-width: 359px) { .logo__sub { display: none; } }
@media (max-width: 520px) { .logo__sub { font-size: .6rem; letter-spacing: .18em; } }

/* Kreuzungs-Dossier (Hero-Visual) */
.dossier { background: var(--ink-2); border: 1px solid var(--line-on-ink); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.dossier__head { display: flex; justify-content: space-between; gap: 12px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 14px; }
.dossier__plan { background: #0b1624; border: 1px solid var(--line-on-ink); border-radius: var(--radius); margin-bottom: 18px; }
.dossier__plan svg { width: 100%; height: auto; }
.status { list-style: none; display: grid; gap: 10px; }
.status li { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; font-size: .93rem; }
.status .st { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.status .st svg { width: 12px; height: 12px; }
.status .ok { background: rgba(84, 160, 120, .2); color: #7cc49d; }
.status .run { background: rgba(184, 141, 79, .2); color: var(--accent); }
.status .run::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.status small { color: var(--muted-on-ink); font-size: .78rem; }
.dossier__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-on-ink); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dossier__foot strong { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: #7cc49d; }

/* Zielgruppen */
.audiences { display: flex; flex-wrap: wrap; gap: 10px; }
.audiences span { border: 1px solid var(--line-on-ink); border-radius: 999px; padding: 7px 16px; font-size: .88rem; color: #fff; opacity: .85; }

/* Glossar */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; }
.glossary div { padding: 22px 0; border-top: 1px solid var(--line); }
.glossary dt { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.glossary dt abbr { text-decoration: none; color: var(--accent-ink); margin-right: 8px; }
.glossary dd { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .glossary { grid-template-columns: 1fr; } }

/* Check-Ergebnis */
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-on-ink); border-radius: var(--radius-lg); overflow: hidden; margin: 22px 0 16px; }
.result-grid > div { background: var(--ink); color: #fff; padding: 20px; }
.result-grid .result__label { display: block; margin-bottom: 8px; }
.result-grid strong { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; display: block; }
.lvl-niedrig { color: #7cc49d; } .lvl-mittel { color: var(--accent); } .lvl-hoch { color: #e58a74; }
@media (max-width: 560px) { .result-grid { grid-template-columns: 1fr; } }
.hints { list-style: none; display: grid; gap: 10px; margin: 0 0 16px; }
.hints li { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; font-size: .93rem; border-radius: 0 var(--radius) var(--radius) 0; }
.hints li.warn { border-color: var(--danger); background: #f7e6e2; }

/* Szenario-Karten */
.scenario__tag { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 2px; margin-bottom: 16px; }
