/* =============================================================
   USP-Kompass — Gestaltung
   Farben und Schriften nach SmartVisions-Markenrichtlinie.
   ============================================================= */

:root {
  --navy: #0F2239;
  --deep: #1A3A5C;
  --petrol: #2E86AB;
  --amber: #F59E0B;
  --slate: #65758B;
  --mist: #F4F7FA;
  --white: #FFFFFF;
  --night: #070C14;

  --line: #DCE5EE;
  --line-soft: #EAF0F6;
  --petrol-wash: #EAF3F8;
  --amber-wash: #FEF5E3;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Lato', Calibri, 'Helvetica Neue', Arial, sans-serif;

  --r: 10px;
  --shadow: 0 1px 2px rgba(15, 34, 57, .06), 0 8px 24px -16px rgba(15, 34, 57, .35);
  --rail-w: 232px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--mist);
  padding-bottom: 76px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -.01em; }
h2 { font-size: 1.2rem; }
p { margin: 0; }

a { color: var(--petrol); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--white); padding: .6rem 1rem;
}
.skip:focus { left: 0; }

:where(button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2.5px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- Kopfzeile ---------- */

.masthead {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1rem, 3vw, 2rem);
  background: var(--navy);
  color: var(--white);
}
.masthead__brand { display: flex; align-items: center; gap: .6rem; }
.masthead__mark { width: 30px; height: 30px; color: var(--petrol); display: block; }
.masthead__mark svg { width: 100%; height: 100%; }
.masthead__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; }
.masthead__meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.masthead__crumb {
  font-size: .82rem; color: #A9BDD2; margin-right: .5rem;
  max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Gerüst ---------- */

.shell {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 2.2rem) clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.rail { position: sticky; top: 68px; }
.rail__list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.rail__item {
  display: flex; align-items: baseline; gap: .65rem;
  padding: .5rem .6rem .5rem .5rem;
  border-left: 2px solid var(--line);
  color: var(--slate);
  font-size: .9rem;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
  background: none; border-top: 0; border-right: 0; border-bottom: 0;
  width: 100%; text-align: left; font-family: inherit;
}
.rail__item:hover { color: var(--navy); background: rgba(46, 134, 171, .06); }
.rail__item[aria-current="step"] {
  border-left-color: var(--petrol);
  color: var(--navy); font-weight: 700;
}
.rail__item--done { color: var(--deep); border-left-color: #B7CFDE; }
.rail__num { font-size: .72rem; letter-spacing: .08em; color: var(--slate); min-width: 1.1em; }
.rail__item[aria-current="step"] .rail__num { color: var(--petrol); }
.rail__phase {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); margin: 1.1rem 0 .35rem .5rem;
}
.rail__phase:first-child { margin-top: 0; }
.rail__note { font-size: .78rem; color: var(--slate); margin-top: 1.4rem; padding-left: .5rem; line-height: 1.5; }

/* ---------- Schritte ---------- */

.step { animation: rise .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } html { scroll-behavior: auto; } }

.step__head { margin-bottom: 1.6rem; max-width: 62ch; }
.eyebrow {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--petrol); font-weight: 700; margin-bottom: .5rem;
}
.lede { color: var(--slate); font-size: 1.02rem; margin-top: .7rem; }

/* ---------- Bausteine ---------- */

.btn {
  font-family: var(--sans); font-size: .9rem; font-weight: 700;
  border-radius: 7px; padding: .55rem 1.05rem; cursor: pointer;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn--solid { background: var(--deep); color: var(--white); }
.btn--solid:hover { background: var(--navy); }
.btn--outline { background: var(--white); color: var(--deep); border-color: var(--line); }
.btn--outline:hover { border-color: var(--petrol); color: var(--petrol); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .82; }
.btn--ghost:hover { opacity: 1; }
.btn--sm { font-size: .78rem; padding: .32rem .7rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.3rem; box-shadow: var(--shadow);
}
.panel--flat { box-shadow: none; margin-top: 1.4rem; }
.panel__title { font-size: 1.05rem; margin-bottom: .9rem; }
.panel__hint { font-size: .85rem; color: var(--slate); margin-bottom: .9rem; }
.panelgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; }

.field { display: block; margin-bottom: 1rem; }
.field--inline { display: flex; align-items: center; gap: .7rem; margin: 0; }
.field__label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: .35rem; }
.field__hint { display: block; font-size: .78rem; color: var(--slate); margin-top: .35rem; }
.field__row { display: flex; gap: .5rem; }
.field__row--wrap { flex-wrap: wrap; }
.field__row > input, .field__row > select { flex: 1 1 12rem; }

input[type="text"], input[type="number"], input[type="password"], textarea, select {
  font-family: var(--sans); font-size: .92rem; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 7px;
  padding: .5rem .7rem; width: 100%; background: var(--white);
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--petrol); }
.input--num { max-width: 6rem; flex: 0 0 6rem; }
input[type="range"] { flex: 0 0 180px; accent-color: var(--petrol); padding: 0; border: 0; width: auto; }

.toolbar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.4rem; padding: .85rem 1.1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
}
.status { font-size: .85rem; color: var(--slate); }
.status--work { color: var(--petrol); font-weight: 700; }
.status--bad { color: #B2431F; font-weight: 700; }

.notice {
  border-left: 3px solid var(--petrol); background: var(--petrol-wash);
  padding: .8rem 1rem; border-radius: 0 7px 7px 0; font-size: .9rem; margin-bottom: 1.2rem;
}
.notice--warn { border-left-color: var(--amber); background: var(--amber-wash); }

.results { font-size: .88rem; }
.results:empty { display: none; }
.result-opt {
  display: block; width: 100%; text-align: left; font-family: inherit; font-size: .86rem;
  background: var(--mist); border: 1.5px solid transparent; border-radius: 7px;
  padding: .5rem .7rem; margin-bottom: .35rem; cursor: pointer; color: var(--navy);
}
.result-opt:hover { border-color: var(--petrol); }
.result-opt strong { display: block; }

.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%);
  background: var(--navy); color: var(--white); padding: .65rem 1.2rem;
  border-radius: 999px; font-size: .87rem; z-index: 60; box-shadow: var(--shadow);
}

/* ---------- Betriebstypen ---------- */

.typegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.typecard {
  display: flex; gap: .85rem; align-items: flex-start; text-align: left;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 1rem; cursor: pointer; font-family: inherit; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.typecard:hover { border-color: var(--petrol); transform: translateY(-2px); box-shadow: var(--shadow); }
.typecard[aria-checked="true"] { border-color: var(--deep); background: var(--petrol-wash); }
.typecard__icon { flex: 0 0 30px; height: 30px; color: var(--petrol); }
.typecard__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.typecard[aria-checked="true"] .typecard__icon { color: var(--deep); }
.typecard__label { font-weight: 700; font-size: .95rem; display: block; }
.typecard__hint { font-size: .8rem; color: var(--slate); }

/* ---------- Umfeld-Radar ---------- */

.radarwrap { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 1.2rem; margin-bottom: 1.4rem; }
.radar, .matrix {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow);
}
.radar figcaption, .matrix figcaption { margin-bottom: .8rem; }
.radar figcaption p, .matrix figcaption p { font-size: .84rem; color: var(--slate); margin-top: .3rem; max-width: 60ch; }
.radar__canvas svg, .matrix__canvas svg { width: 100%; height: auto; display: block; overflow: visible; }

.radar-ring { fill: none; stroke: var(--line-soft); }
.radar-spoke { stroke: var(--line-soft); }
.radar-band { font-size: 9px; fill: var(--slate); font-family: var(--sans); }
.radar-sector { font-size: 10px; fill: var(--slate); font-family: var(--sans); font-weight: 700; }
.radar-dot { fill: var(--petrol); fill-opacity: .55; stroke: var(--white); stroke-width: 1.5; cursor: pointer; transition: fill-opacity .12s; }
.radar-dot:hover { fill-opacity: .95; }
.radar-dot--on { fill: var(--amber); fill-opacity: .95; }
.radar-core { fill: var(--navy); }
.radar-core-label { font-size: 10px; fill: var(--navy); font-family: var(--sans); font-weight: 700; }

.compete { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; }
.compete h2 { font-size: 1rem; margin-bottom: .5rem; }
.compete__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--deep); }
.compete__label { font-size: .82rem; color: var(--slate); margin-bottom: .8rem; }
.compete__verdict { font-size: .86rem; padding: .55rem .7rem; border-radius: 7px; background: var(--mist); }
.compete__list { list-style: none; margin: .8rem 0 0; padding: 0; font-size: .8rem; color: var(--slate); }
.compete__list li { display: flex; justify-content: space-between; gap: .5rem; padding: .2rem 0; border-bottom: 1px solid var(--line-soft); }

/* ---------- Listen mit Auswahl ---------- */

.poilists { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.poigroup { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; }
.poigroup h3 { font-size: .98rem; margin-bottom: .1rem; }
.poigroup__count { font-size: .78rem; color: var(--slate); margin-bottom: .7rem; }
.poigroup ul { list-style: none; margin: 0; padding: 0; }

.pick {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .34rem 0; font-size: .88rem; cursor: pointer;
}
.pick input { margin: .32rem 0 0; accent-color: var(--petrol); flex: 0 0 auto; width: auto; }
.pick__name { font-weight: 700; }
.pick__meta { color: var(--slate); font-size: .78rem; }
.pick--muted .pick__name { font-weight: 400; }

.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.assetgroup { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; }
.assetgroup h3 { font-size: .98rem; margin-bottom: .7rem; }
.tagline { font-size: .72rem; color: var(--slate); }
.hit { background: var(--amber-wash); border-radius: 4px; padding: 0 .25rem; }

.personas { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: .8rem; }
.personacard {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: .9rem 1rem; cursor: pointer; transition: border-color .15s;
}
.personacard:hover { border-color: var(--petrol); }
.personacard[aria-checked="true"] { border-color: var(--deep); background: var(--petrol-wash); }
.personacard strong { display: block; font-size: .93rem; }
.personacard span { font-size: .82rem; color: var(--slate); }

/* ---------- USP-Karten: die Gleichung ---------- */

.cards { display: grid; gap: 1rem; }
.uspcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow);
  border-left: 4px solid var(--line);
  transition: border-left-color .2s;
}
.uspcard--on { border-left-color: var(--amber); }

.equation {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  margin-bottom: .9rem; font-size: .82rem;
}
.eqchip {
  display: inline-flex; flex-direction: column; gap: .1rem;
  background: var(--mist); border-radius: 7px; padding: .38rem .7rem;
  border: 1px solid var(--line-soft);
}
.eqchip small { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.eqchip b { font-weight: 700; font-size: .84rem; }
.eqop { color: var(--petrol); font-weight: 900; font-size: 1.1rem; }
.eqarrow { color: var(--slate); font-size: 1.1rem; }

.uspcard h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.uspcard__core { color: var(--slate); font-size: .93rem; margin-bottom: .9rem; }
.uspcard__for { font-size: .85rem; margin-bottom: .9rem; }
.uspcard__for b { color: var(--deep); }

.detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1rem 0; }
.detail h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin: 0 0 .35rem; }
.detail ul { margin: 0; padding-left: 1.1rem; font-size: .85rem; }
.detail li { margin-bottom: .2rem; }

.uspcard__foot { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: .85rem; }
.fitscore { font-size: .78rem; color: var(--slate); }
.fitscore b { font-family: var(--serif); font-size: 1.1rem; color: var(--deep); }

/* ---------- Bewertung ---------- */

.matrixwrap { margin-bottom: 1.4rem; }
.matrix-plot { fill: var(--mist); }
.matrix-axis { stroke: var(--line); }
.matrix-grid { stroke: #E2EAF2; }
.matrix-quad { font-size: 9.5px; fill: var(--slate); font-family: var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.matrix-quad--lead { fill: var(--deep); font-weight: 700; }
.matrix-axistitle { font-size: 10.5px; fill: var(--slate); font-family: var(--sans); font-weight: 700; }
.matrix-dot { fill: var(--petrol); stroke: var(--white); stroke-width: 2; }
.matrix-dot--top { fill: var(--amber); }
.matrix-num { font-size: 11px; font-weight: 900; font-family: var(--sans); fill: var(--white); }
.matrix-dot--top + .matrix-num { fill: var(--navy); }
.matrix-mark { cursor: default; }

.ratecard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; margin-bottom: .9rem; }
.ratecard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.ratecard__head h3 { font-size: 1.1rem; }
.ratecard__id { display: flex; gap: .7rem; align-items: baseline; }
.ratecard__num {
  flex: 0 0 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--petrol); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 900;
}
.ratecard__total { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; color: var(--deep); }
.criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem; }
.criterion label { display: block; font-size: .8rem; font-weight: 700; }
.criterion p { font-size: .76rem; color: var(--slate); margin-bottom: .3rem; }
.criterion__row { display: flex; align-items: center; gap: .6rem; }
.criterion input[type="range"] { flex: 1 1 auto; }
.criterion output { font-family: var(--serif); font-weight: 700; min-width: 1.2em; }

/* ---------- Ergebnis ---------- */

.resultdoc { display: grid; gap: 1.2rem; }
.statement {
  background: var(--deep); color: var(--white); border-radius: var(--r); padding: 1.8rem 2rem;
}
.statement .eyebrow { color: #8FC4DC; }
.statement__text {
  font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.4;
  border: 0; background: rgba(255, 255, 255, .07); color: var(--white);
  width: 100%; padding: .8rem; border-radius: 7px; resize: vertical;
}
.statement__text:focus { background: rgba(255, 255, 255, .13); }

.claims { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.claimcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; }
.claimcard h3 { font-size: .8rem; font-family: var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); }
.claimcard p.hint { font-size: .76rem; color: var(--slate); margin-bottom: .6rem; }
.claimcard textarea { font-family: var(--serif); font-size: 1.05rem; border-color: transparent; background: var(--mist); }

.roadmap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.5rem; }
.roadmap h2 { margin-bottom: .3rem; }
.roadmap ol { margin: .9rem 0 0; padding-left: 1.3rem; }
.roadmap li { margin-bottom: .5rem; font-size: .93rem; }
.roadmap li b { color: var(--deep); }

.proofbox { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.5rem; }
.proofbox ul { margin: .8rem 0 0; padding-left: 1.2rem; font-size: .93rem; }

/* ---------- Mitbewerb & Claims ---------- */

.complist { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .2rem 1.2rem; }

.bars { display: grid; gap: .3rem; }
.bar {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 3rem 7.5rem;
  align-items: center; gap: .7rem; font-size: .84rem;
}
.bar__label { font-weight: 700; }
.bar__track { background: var(--line-soft); border-radius: 999px; height: 12px; overflow: hidden; }
.bar__fill { display: block; height: 100%; background: var(--petrol); border-radius: 999px; }
.bar__value { color: var(--slate); font-size: .8rem; text-align: right; font-variant-numeric: tabular-nums; }
.bar__level { color: var(--slate); font-size: .78rem; }
.bar--free .bar__label { color: var(--deep); }
.bar--free .bar__track { background: var(--amber-wash); }
.bar--free .bar__level { color: #9A6206; font-weight: 700; }

.claimlist { list-style: none; margin: .5rem 0 0; padding: 0; }
.claimlist li {
  font-size: .84rem; padding: .3rem .6rem; margin-bottom: .3rem;
  background: var(--mist); border-left: 2px solid var(--line);
  border-radius: 0 5px 5px 0; color: var(--navy);
}

.occupancy { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; font-size: .78rem; }
.occupancy span { padding: .22rem .6rem; border-radius: 999px; }
.occupancy__free { background: var(--amber-wash); color: #7A4E05; font-weight: 700; }
.occupancy__taken { background: var(--mist); color: var(--slate); }

@media (max-width: 700px) {
  .bar { grid-template-columns: 1fr 3rem; grid-template-areas: 'label value' 'track track' 'level level'; }
  .bar__label { grid-area: label; }
  .bar__track { grid-area: track; }
  .bar__value { grid-area: value; }
  .bar__level { grid-area: level; }
}

/* ---------- Übergabe in den nächsten Schritt ---------- */

.handover {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.6rem; align-items: center;
  margin-top: 1.8rem; padding: 1.3rem 1.5rem;
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--petrol); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.handover--blocked { border-left-color: var(--amber); }
.handover__state h2 { font-size: 1rem; margin-bottom: .6rem; }
.handover__checks { list-style: none; margin: 0; padding: 0; }
.handover__checks li {
  display: flex; gap: .6rem; align-items: baseline;
  font-size: .89rem; padding: .16rem 0; color: var(--slate);
}
.handover__checks .is-ok { color: var(--navy); }
.handover__mark {
  flex: 0 0 1.25rem; height: 1.25rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 900; line-height: 1;
  background: var(--line-soft); color: var(--slate);
}
.is-ok .handover__mark { background: var(--petrol); color: var(--white); }
.is-block .handover__mark { background: var(--amber); color: var(--navy); }

.handover__go { text-align: right; }
.btn--go {
  background: var(--deep); color: var(--white);
  font-size: 1rem; padding: .8rem 1.5rem;
}
.btn--go:hover:not([disabled]) { background: var(--navy); }
.btn--go[disabled] { background: var(--slate); }
.handover__why { font-size: .8rem; color: var(--slate); margin-top: .5rem; max-width: 30ch; }

@media (max-width: 700px) {
  .handover { grid-template-columns: 1fr; }
  .handover__go { text-align: left; }
  .btn--go { width: 100%; }
  .handover__why { max-width: none; }
}

/* ---------- Anmeldeseite ---------- */

.gate {
  min-height: 100vh; padding: 0;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--deep) 100%);
}
.gatebox {
  width: min(420px, calc(100vw - 2rem));
  background: var(--white); border-radius: var(--r);
  padding: 2.4rem clamp(1.6rem, 5vw, 2.6rem) 1.8rem;
  box-shadow: 0 30px 70px -30px rgba(7, 12, 20, .7);
  text-align: center;
}
.gatebox__mark { display: block; width: 44px; height: 44px; margin: 0 auto .9rem; color: var(--petrol); }
.gatebox__mark svg { width: 100%; height: 100%; }
.gatebox h1 { font-size: 1.9rem; margin-bottom: .5rem; }
.gatebox__lede { font-size: .9rem; color: var(--slate); margin-bottom: 1.6rem; line-height: 1.55; }
.gatebox .field { text-align: left; margin-bottom: 1rem; }
.gatebox .btn--go { width: 100%; }
.gatebox__msg { font-size: .85rem; color: var(--slate); margin-top: .9rem; min-height: 1.2em; }
.gatebox__msg--bad { color: #B2431F; font-weight: 700; }
.gatebox__foot {
  display: flex; align-items: center; justify-content: center; gap: .38rem;
  margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line-soft);
  font-size: .8rem; color: var(--slate);
}

/* ---------- Seitenfuß & Impressum ---------- */

.sitefoot {
  display: flex; align-items: center; justify-content: center;
  gap: 1.4rem; flex-wrap: wrap;
  max-width: 1360px; margin: 0 auto;
  padding: 1.6rem clamp(1rem, 3vw, 2rem) 2.2rem;
  border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--slate);
}
.sitefoot__made { display: inline-flex; align-items: center; gap: .38rem; }
.heart {
  width: 1em; height: 1em; fill: #D93A3A;
  position: relative; top: .08em;
}
.sitefoot__link {
  background: none; border: 0; padding: 0;
  font-family: inherit; font-size: inherit; color: var(--petrol);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.sitefoot__link:hover { color: var(--deep); }

.legal {
  width: min(680px, calc(100vw - 2rem));
  max-height: 85vh;
  border: 0; border-radius: var(--r); padding: 0;
  box-shadow: 0 24px 60px -24px rgba(15, 34, 57, .5);
  color: var(--navy);
}
.legal::backdrop { background: rgba(7, 12, 20, .55); }
.legal__body { position: relative; padding: 2rem clamp(1.4rem, 4vw, 2.4rem) 2.4rem; }
.legal__body h2 { font-size: 1.9rem; margin-bottom: .2rem; }
.legal__body h3 {
  font-size: 1rem; margin: 1.6rem 0 .4rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line-soft);
}
.legal__body p { font-size: .89rem; line-height: 1.65; color: var(--slate); }
.legal__sub { font-size: .84rem; color: var(--slate); margin-bottom: 1.2rem; }

.legal__facts {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr);
  gap: .1rem 1rem; margin: 0; font-size: .89rem;
}
.legal__facts dt {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate); font-weight: 700; padding-top: .35rem;
}
.legal__facts dd { margin: 0; padding: .28rem 0; }

.legal__close {
  position: absolute; top: .9rem; right: 1.1rem;
  width: 2rem; height: 2rem; border: 0; border-radius: 50%;
  background: var(--mist); color: var(--slate);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.legal__close:hover { background: var(--line); color: var(--navy); }

@media (max-width: 520px) {
  .legal__facts { grid-template-columns: 1fr; gap: 0; }
  .legal__facts dt { padding-top: .8rem; }
}

/* ---------- Fußnavigation ---------- */

.stepnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 1.2rem;
  padding: .8rem clamp(1rem, 3vw, 2rem);
  background: var(--white); border-top: 1px solid var(--line);
}
.stepnav .btn--ghost { color: var(--deep); border-color: var(--line); }
.stepnav__progress { flex: 1 1 auto; height: 4px; background: var(--line-soft); border-radius: 999px; overflow: hidden; }
.stepnav__progress span { display: block; height: 100%; background: var(--petrol); width: 0; transition: width .3s; }

/* ---------- Schmale Fenster ---------- */

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .rail { position: static; }
  .rail__list { display: flex; flex-wrap: wrap; gap: .2rem; }
  .rail__item { width: auto; border-left: 0; border-bottom: 2px solid var(--line); }
  .rail__item[aria-current="step"] { border-bottom-color: var(--petrol); }
  .rail__phase { display: none; }
  .radarwrap { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .masthead { flex-direction: column; align-items: flex-start; }
  .masthead__crumb { max-width: 100%; }
}

/* ---------- Druck ---------- */

@media print {
  body { background: var(--white); padding: 0; }
  .masthead, .rail, .stepnav, .toolbar, .toast, .btn, .handover,
  .legal, .sitefoot__link { display: none !important; }
  .sitefoot { border-top: 1px solid var(--line); justify-content: flex-start; }
  .shell { display: block; padding: 0; max-width: none; }
  .step[hidden] { display: none; }
  .step__head h1 { font-size: 1.6rem; }
  .statement { background: var(--white); color: var(--navy); border: 2px solid var(--deep); }
  .statement .eyebrow { color: var(--petrol); }
  .statement__text { background: none; color: var(--navy); }
  .panel, .claimcard, .roadmap, .proofbox, .uspcard { box-shadow: none; break-inside: avoid; }
  textarea { border: 0; resize: none; }
}
