/* =====================================================================
   VSL DMT — OPT-IN-PAGE ("Brutalist Prospekt")
   Eigenständiges Stylesheet, NUR von / (index.html) geladen.
   Die übrigen Seiten nutzen weiter assets/style.css.

   Regeln, die hier absichtlich gelten:
   - border-radius: 0. Überall. Keine Karten, nur Linien und Flächen.
   - Keine Schatten, keine Blurs, keine Gradients, keine Fade-in-Animationen.
   - Alle Zahlen in Mono, alle Mikro-Labels in Mono-Versalien.
   - Neon nur als Marker (CTA, Highlight, Paragraphen-Nummer) — nie flächig.
   ===================================================================== */

:root {
  --paper: #ffffff;
  --paper-alt: #f1f1ee;
  --ink: #000000;
  --ink-2: #3d3d3d;
  --ink-3: #6b6b6b;
  --rule: #000000;
  --rule-soft: #cfcfc9;
  --neon: #e1ff20;
  --risk: #b3200e;

  --w-thin: 1px;
  --w-thick: 3px;

  --maxw: 1180px;
  --gut: 24px;

  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* height:auto ist Pflicht — sonst gewinnt das height-Attribut im HTML
   und Bilder mit width/height-Angabe werden gestreckt. */
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Nichts ist rund. */
* { border-radius: 0 !important; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* --------------------------------------------------------------- Typo */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.022em; }

h1 {
  font-size: clamp(2.65rem, 8.2vw, 6.2rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
h2 {
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -.028em;
}
h3 {
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.006em;
}

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.06rem, 1.7vw, 1.32rem);
  line-height: 1.48;
  max-width: 54ch;
}

/* Mikro-Label: Mono, Versalien, gesperrt */
.micro {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.4;
}
.micro-2 { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.dim { color: var(--ink-3); }

/* Neon-Marker hinter Text */
mark, .mark {
  background: var(--neon);
  color: var(--ink);
  padding: 0 .12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --------------------------------------------------------------- Rules */
.rule { border: 0; border-top: var(--w-thin) solid var(--rule); margin: 0; }
.rule-thick { border: 0; border-top: var(--w-thick) solid var(--rule); margin: 0; }
.rule-double {
  border: 0;
  border-top: var(--w-thick) solid var(--rule);
  border-bottom: var(--w-thin) solid var(--rule);
  height: 4px;
  margin: 0;
}

/* --------------------------------------------------------- Dokumentkopf */
.doc-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--w-thin) solid var(--rule);
}
.doc-head .bar {
  border-top: var(--w-thick) solid var(--rule);
}
.doc-head .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
}
.doc-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.doc-id b { font-weight: 600; }
.doc-id .sep { color: var(--rule-soft); }
.doc-head .right { display: flex; align-items: center; gap: 18px; }
.doc-head a.jump {
  text-decoration: none;
  border-bottom: var(--w-thin) solid var(--rule);
  padding-bottom: 1px;
}
.doc-head a.jump:hover { background: var(--neon); }

/* ------------------------------------------------------------ Sections */
.sec { padding: 62px 0; border-top: var(--w-thin) solid var(--rule); }
.sec.first { border-top: 0; padding-top: 46px; }
.sec.alt { background: var(--paper-alt); }
.sec.tight { padding: 40px 0; }

/* § 01 — Paragraphenmarke */
.sec-mark {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}
.sec-mark .par {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  background: var(--ink);
  color: var(--neon);
  padding: 4px 8px 3px;
  flex: none;
}
.sec-mark .t {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- Hero */
.hero-top {
  display: grid;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}
.hero-kicker { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 26px; }
.hero-kicker span { display: inline-flex; align-items: center; gap: 8px; }
.hero-kicker span::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--ink);
  flex: none;
}
.hero-kicker span.hot::before { background: var(--neon); outline: 1px solid var(--ink); }

h1 .brk { display: block; }

/* --------------------------------------------------------- Datenzeilen */
.rows { margin: 0; }
.row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: var(--w-thin) solid var(--rule-soft);
}
.row:first-child { border-top: var(--w-thin) solid var(--rule); }
.row .k {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-2);
  flex: none;
}
.row .fill {
  flex: 1;
  border-bottom: var(--w-thin) dotted var(--rule-soft);
  transform: translateY(-4px);
  min-width: 18px;
}
.row .v {
  font-family: var(--mono);
  font-size: .92rem;
  font-weight: 500;
  text-align: right;
  flex: none;
}
.row .v.big { font-size: 1.06rem; font-weight: 600; }

/* ------------------------------------------------------------- Module */
.mods { border-top: var(--w-thin) solid var(--rule); }
.mod {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0 18px;
  padding: 22px 0;
  border-bottom: var(--w-thin) solid var(--rule-soft);
}
.mod:last-child { border-bottom: 0; }
.mod .n {
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 600;
  padding-top: 2px;
}
.mod .head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 5px;
}
.mod .rt {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.mod p { margin: 0; font-size: .95rem; color: var(--ink-2); max-width: 62ch; }

/* ------------------------------------------------------------ Tabellen */
.tbl-scroll { overflow-x: auto; }
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
table.tbl th, table.tbl td {
  text-align: left;
  padding: 13px 14px 13px 0;
  border-bottom: var(--w-thin) solid var(--rule-soft);
  vertical-align: top;
}
table.tbl thead th {
  font-family: var(--mono);
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  border-top: var(--w-thin) solid var(--rule);
  border-bottom: var(--w-thin) solid var(--rule);
  color: var(--ink);
  white-space: nowrap;
}
table.tbl td:last-child, table.tbl th:last-child { padding-right: 0; }
table.tbl .r { text-align: right; white-space: nowrap; }
table.tbl .who { font-weight: 600; white-space: nowrap; }
table.tbl .res { font-family: var(--mono); font-weight: 600; }
table.tbl tbody tr:hover { background: var(--neon); }
.sec.alt table.tbl tbody tr:hover { background: var(--paper); }

.fn {
  font-family: var(--mono);
  font-size: .7rem;
  vertical-align: super;
  line-height: 0;
  color: var(--ink-2);
}

/* ------------------------------------------------------------ Anbieter */
.provider { display: grid; gap: 30px; align-items: start; }
.provider figure { margin: 0; border: var(--w-thin) solid var(--rule); }
.provider figure img { width: 100%; filter: grayscale(1) contrast(1.06); }
.provider figcaption {
  border-top: var(--w-thin) solid var(--rule);
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.seal {
  display: flex;
  align-items: center;
  gap: 18px;
  border: var(--w-thin) solid var(--rule);
  padding: 14px 16px;
  margin-top: 22px;
}
.seal img { width: 120px; flex: none; }
.seal p { margin: 0; font-family: var(--mono); font-size: .74rem; line-height: 1.5; letter-spacing: .02em; }

/* --------------------------------------------------------------- Zitate */
.quotes { display: grid; gap: 0; border-top: var(--w-thin) solid var(--rule); }
.q {
  padding: 26px 0;
  border-bottom: var(--w-thin) solid var(--rule-soft);
  display: grid;
  gap: 6px 26px;
}
.q blockquote {
  margin: 0;
  font-size: clamp(1.06rem, 1.9vw, 1.3rem);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -.012em;
  max-width: 46ch;
}
.q blockquote::before { content: "\201E"; }
.q blockquote::after { content: "\201C"; }
.q .by { font-family: var(--mono); font-size: .74rem; letter-spacing: .11em; text-transform: uppercase; }
.q .by span { display: block; color: var(--ink-3); letter-spacing: .06em; }

/* ---------------------------------------------------------------- Form */
.access {
  border: var(--w-thick) solid var(--rule);
  background: var(--paper);
}
.access-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: var(--w-thin) solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}
.access-head .t {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.access-head .c { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--neon); }
.access-body { padding: 26px 18px 22px; }

.fsteps { display: flex; gap: 0; border: var(--w-thin) solid var(--rule); margin-bottom: 24px; }
.fsteps i {
  flex: 1;
  height: 16px;
  border-right: var(--w-thin) solid var(--rule);
  position: relative;
}
.fsteps i:last-child { border-right: 0; }
.fsteps i.on { background: var(--neon); }
.fsteps i::after {
  content: attr(data-s);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 600;
  color: var(--ink-3);
}
.fsteps i.on::after { color: var(--ink); }

.fstep { display: none; }
.fstep.on { display: block; }

.field { margin-bottom: 20px; }
.field > label, .field .lbl {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--rule);
  padding: 9px 2px;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; background: var(--neon); }
.input.err { border-bottom-color: var(--risk); background: #fff0ee; }

select.input {
  font-family: var(--mono);
  font-size: .95rem;
  padding-right: 22px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 11px) calc(50% + 1px), calc(100% - 6px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
select.input:focus { background-color: var(--neon); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phone-row { display: grid; grid-template-columns: 112px 1fr; gap: 14px; }

.errmsg {
  display: none;
  font-family: var(--mono);
  font-size: .76rem;
  line-height: 1.45;
  color: var(--risk);
  border-left: 3px solid var(--risk);
  padding: 6px 0 6px 10px;
  margin: -8px 0 16px;
}
.errmsg.on { display: block; }

.note {
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 18px;
}

.btn {
  display: block;
  width: 100%;
  font-family: var(--mono);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  padding: 17px 18px;
  border: var(--w-thin) solid var(--rule);
  background: var(--neon);
  color: var(--ink);
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--neon); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--neon); color: var(--ink); }
.btn.inline { display: inline-block; width: auto; padding: 14px 26px; }

.legal {
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 16px 0 0;
}
.legal a { color: var(--ink-2); }

.done { text-align: left; }
.done .stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: var(--w-thick) solid var(--ink);
  color: var(--ink);
  background: var(--neon);
  padding: 8px 14px;
  margin-bottom: 18px;
  transform: rotate(-1.5deg);
}

/* ----------------------------------------------------------------- FAQ */
.faq-list { border-top: var(--w-thin) solid var(--rule); }
details.faq { border-bottom: var(--w-thin) solid var(--rule-soft); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.008em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { background: var(--neon); }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 17px;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 500;
}
details.faq[open] summary::after { content: "\2212"; }
details.faq .answer { padding: 0 0 20px; color: var(--ink-2); font-size: .95rem; max-width: 68ch; }

/* ----------------------------------------------------------- Fußnoten */
.footnotes { border-top: var(--w-thin) solid var(--rule); padding-top: 20px; }
.footnotes ol { margin: 0; padding-left: 22px; }
.footnotes li {
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 8px;
  max-width: 88ch;
}

.risk {
  border: var(--w-thin) solid var(--rule);
  border-left: 6px solid var(--risk);
  padding: 18px 20px;
  margin-top: 26px;
}
.risk .h {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--risk);
  margin-bottom: 8px;
}
.risk p {
  font-family: var(--mono);
  font-size: .71rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 .7em;
  max-width: 92ch;
}

/* -------------------------------------------------------------- Footer */
footer {
  border-top: var(--w-thick) solid var(--rule);
  padding: 26px 0 40px;
}
footer .f-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: baseline;
  justify-content: space-between;
}
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; border-bottom: var(--w-thin) solid var(--rule-soft); }
footer a:hover { border-bottom-color: var(--rule); background: var(--neon); }

/* -------------------------------------------------------- Sticky-Leiste */
.sticky {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--paper);
  border-top: var(--w-thick) solid var(--rule);
  transform: translateY(101%);
  transition: transform .18s linear;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sticky.on { transform: none; }
.sticky .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.sticky .txt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.sticky .btn { width: auto; padding: 12px 22px; flex: none; }

/* ---------------------------------------------------------- Responsive */
@media (min-width: 720px) {
  .provider { grid-template-columns: 280px 1fr; gap: 38px; }
  .q { grid-template-columns: 1fr 220px; align-items: start; }
  .q .by { text-align: right; }
}
@media (min-width: 900px) {
  :root { --gut: 30px; }
  .sec { padding: 84px 0; }
  .sec.tight { padding: 52px 0; }
  .hero-top { grid-template-columns: 1.35fr 1fr; gap: 52px; }
  .access-body { padding: 32px 26px 26px; }
  .split {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0;
  }
  .split > .l { padding-right: 46px; }
  .split > .r {
    border-left: var(--w-thin) solid var(--rule);
    padding-left: 30px;
    align-self: start;
    position: sticky;
    top: 74px;
  }
}
@media (max-width: 620px) {
  .two { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: 96px 1fr; }
  .hide-s { display: none !important; }
  .doc-id .sep { display: none; }
  .sticky .txt { display: none; }
  .sticky .btn { width: 100%; }
  .seal { flex-direction: column; align-items: flex-start; }

  /* Datenzeilen stapeln — die Führungspunkte-Optik funktioniert erst,
     wenn Label und Wert genug Platz in einer Zeile haben. */
  .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 12px 0;
  }
  .row .fill { display: none; }
  .row .v { text-align: left; font-size: 1rem; }
  .row .v.big { font-size: 1.15rem; }

  /* Tabellen: Kopfzeile weg, Zeilen als Block */
  table.tbl thead { display: none; }
  table.tbl, table.tbl tbody, table.tbl tr, table.tbl td { display: block; width: 100%; }
  table.tbl tr {
    border-bottom: var(--w-thin) solid var(--rule-soft);
    padding: 14px 0;
  }
  table.tbl tr:first-child { border-top: var(--w-thin) solid var(--rule); }
  table.tbl td { border: 0; padding: 0 0 3px; }
  table.tbl td.r { text-align: left; padding-top: 5px; white-space: normal; }
  table.tbl td.res::before {
    content: "Ergebnis: ";
    font-family: var(--sans);
    font-weight: 400;
    color: var(--ink-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky { transition: none; }
}
