/* risikolebensversicherung-sofort-vergleich.de – Stylesheet (ohne Framework) */

:root {
  --blau: #5279a1;
  --blau-dunkel: #2c4a6b;
  --blau-tief: #1d3349;
  --blau-hell: #eef3f8;
  --blau-zart: #f6f9fc;
  --linie: #d6e0ea;
  --text: #1f2933;
  --text-leise: #52606d;
  --orange: #b9560f;
  --orange-dunkel: #96450b;
  --orange-hell: #fdf3ea;
  --rot: #b3261e;
  --gruen: #2e7d32;
  --radius: 10px;
  --schatten: 0 1px 2px rgba(29, 51, 73, .06), 0 4px 14px rgba(29, 51, 73, .07);
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
@media (min-width: 40em) { body { font-size: 1.0625rem; } }

img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3, h4 { color: var(--blau-dunkel); line-height: 1.25; font-weight: 650; margin: 1.6em 0 .55em; hyphens: manual; }
/* Überschriften: h3 nicht kleiner als der Fließtext (16 px bzw. 17 px). */
h1 { font-size: clamp(1.25rem, .985rem + 1.164vw, 1.725rem); margin: 0; }
h2 { font-size: clamp(1.05rem, .96rem + .4vw, 1.24rem); }
h3 { font-size: 1rem; }
@media (min-width: 40em) { h3 { font-size: 1.0625rem; } }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .3em; }
strong, b, .fett { font-weight: 650; }
small, .klein { font-size: .875em; }
a { color: #23578a; text-underline-offset: .15em; }
a:hover { color: var(--orange-dunkel); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2rem 0; }

.vh, .nur-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.springen { position: absolute; left: .5rem; top: -3rem; z-index: 100; background: var(--blau-tief); color: #fff; padding: .5rem 1rem; border-radius: 0 0 6px 6px; }
.springen:focus { top: 0; color: #fff; }
.spamschutz { display: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 40em) { .wrap { padding-inline: 1.5rem; } }

/* ---------- Kopf und Navigation ---------- */
.kopf { background: #fff; border-bottom: 1px solid var(--linie); }
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.marke { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--blau-dunkel); min-width: 0; }
.marke img { width: 44px; height: 44px; flex: none; }
.marke-text { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 1.05rem; color: #3d6590; }
.marke-text small { font-weight: 500; font-size: .8rem; color: var(--text-leise); }
.marke:hover .marke-text { color: var(--blau-dunkel); }
@media (min-width: 40em) {
  .marke img { width: 52px; height: 52px; }
  .marke-text { font-size: 1.3rem; }
  .marke-text small { font-size: .9rem; }
}

.menue-knopf {
  display: inline-flex; align-items: center; gap: .5rem; flex: none;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--blau-dunkel);
  background: var(--blau-hell); border: 1px solid var(--linie); border-radius: 8px;
  padding: .5rem .8rem; cursor: pointer;
}
.menue-knopf-striche, .menue-knopf-striche::before, .menue-knopf-striche::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s;
}
.menue-knopf-striche::before, .menue-knopf-striche::after { content: ""; position: absolute; left: 0; }
.menue-knopf-striche::before { top: -6px; }
.menue-knopf-striche::after { top: 6px; }
.menue-knopf[aria-expanded="true"] .menue-knopf-striche { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-knopf-striche::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-knopf-striche::after { transform: translateY(-6px) rotate(-45deg); }

/* Smartphone: Titel über die volle Breite, Menü-Schaltfläche rechts neben der Zusatzzeile */
.marke-text { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 39.99em) {
  .kopf-zeile { position: relative; padding-block: .6rem; }
  .marke-text small { display: flex; align-items: center; min-height: 2.25rem; }
  .menue-knopf { position: absolute; right: 1rem; bottom: .6rem; min-height: 2.25rem; padding: .3rem .7rem; font-size: .9rem; }
  .ohne-mobil { display: none; }
}
@media (max-width: 22.49em) {
  .menue-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menue-knopf { padding-inline: .6rem; }
}

.menue { background: var(--blau); }
.menue ul { list-style: none; margin-block: 0; padding-block: 0; }
.menue li { margin: 0; }
.menue a { display: block; color: #fff; text-decoration: none; font-weight: 500; padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.menue a:hover, .menue a[aria-current="page"] { color: #ffe2c2; }
.menue a[aria-current="page"] { font-weight: 650; }
.menue .menue-vergleich a { font-weight: 700; color: #ffd9b0; }
@media (max-width: 55.99em) {
  .menue { display: none; }
  .menue.offen { display: block; }
  .menue li:first-child a { border-top: 0; }
}
@media (min-width: 56em) {
  .menue-knopf { display: none; }
  .menue ul { display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
  .menue a { border: 0; padding: .7rem 0; position: relative; }
  .menue a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 2px; background: #ffd9b0; border-radius: 2px; }
  .menue .menue-vergleich a { padding-inline: .9rem; margin-inline-start: -.9rem; background: rgba(0, 0, 0, .14); border-radius: 0; }
}

/* ---------- Seitenkopf / Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: #3d6590 url(bilder/hg1.avif) center 75% / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(29, 51, 73, .72) 0%, rgba(44, 74, 107, .4) 55%, rgba(44, 74, 107, 0) 100%); }
.hero .wrap { position: relative; padding-block: 2.1rem 1.9rem; }
@media (min-width: 40em) { .hero .wrap { padding-block: 1.95rem 1.8rem; } }
.hero h1 { color: #fff; max-width: 30ch; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
@media (min-width: 56em) { .hero .wrap { padding-block: 3.15rem 2.85rem; } }

.seitenkopf { background: linear-gradient(135deg, var(--blau-hell) 0%, #dfe8f2 100%); border-bottom: 1px solid var(--linie); }
.seitenkopf .wrap { padding-block: 1.45rem 1.35rem; }
@media (min-width: 40em) { .seitenkopf .wrap { padding-block: 1.35rem 1.275rem; } }
@media (min-width: 56em) { .seitenkopf .wrap { padding-block: 1.95rem 1.8rem; } }

/* ---------- Inhalt ---------- */
main { display: block; }
.abschnitt { padding-block: 2rem; }
.abschnitt-hell { background: var(--blau-zart); border-block: 1px solid var(--linie); }
@media (min-width: 56em) { .abschnitt { padding-block: 2.8rem; } }
.abschnitt > .wrap > :first-child, .karte > :first-child, .artikel > :first-child, .spalte > :first-child { margin-top: 0; }
.karte > :last-child, .spalte > :last-child, .artikel > :last-child { margin-bottom: 0; }

.artikel { max-width: 50rem; }
.artikel .einleitung { font-size: 1.12em; color: var(--blau-dunkel); font-weight: 550; margin-bottom: 1.2em; }
.zentriert-block { margin-inline: auto; }

.raster { display: grid; gap: 1.25rem; }
@media (min-width: 40em) {
  .raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raster-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 56em) {
  .raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .raster-haupt { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .raster-haupt-breit { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: start; }
}

.medien::after { content: ""; display: table; clear: both; }
.medien > img { float: left; width: 4.5rem; margin: .25rem 1rem .5rem 0; }
.medien-titel { margin: 0 0 .9rem; }
@media (min-width: 40em) {
  .medien { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.5rem 2rem; align-items: start; }
  .medien > img { float: none; width: 100%; margin: 0; }
  .medien-titel { grid-column: 1 / -1; margin: 0; }
}

.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.2rem 1.25rem; box-shadow: var(--schatten); }
.karte-hell { background: var(--blau-hell); border-color: transparent; box-shadow: none; }
.karte-titel { font-size: 1em; font-weight: 650; color: var(--blau-dunkel); margin: 0 0 .6rem; }
@media (min-width: 40em) { .karte { padding: 1.5rem 1.6rem; } }

.tipp { background: var(--blau-hell); border-left: 5px solid var(--blau); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.25rem; }
@media (min-width: 40em) { .tipp { padding: 1.5rem 1.75rem; } }
.tipp-titel { font-weight: 700; color: var(--blau-dunkel); font-size: 1em; margin: 0 0 .5rem; }

.bild-rechts, .bild-links { display: none; }
@media (min-width: 36em) {
  .bild-rechts, .bild-links { display: block; max-width: 38%; border-radius: var(--radius); margin: .3rem 0 1rem 1.5rem; float: right; }
  .bild-links { float: left; margin: .3rem 1.5rem 1rem 0; }
}
.bild-klein-links { float: left; width: 4.5rem; margin: .25rem 1rem .5rem 0; }
@media (min-width: 40em) { .bild-klein-links { width: 6.5rem; margin-right: 1.4rem; } }
.bild-breit { display: block; border-radius: var(--radius); margin: 1rem 0 1.4rem; }
.bild-rahmen { border: 1px solid var(--linie); padding: .5rem; background: #fff; }
.klar { clear: both; }
.klarfix::after { content: ""; display: table; clear: both; }

/* Listen */
.liste-haken, .liste-minus { list-style: none; padding-left: 0; }
.liste-haken li, .liste-minus li { position: relative; padding-left: 1.75rem; }
.liste-haken li::before, .liste-minus li::before { position: absolute; left: 0; top: .05em; font-weight: 700; }
.liste-haken li::before { content: "✓"; color: var(--gruen); }
.liste-minus li::before { content: "–"; color: var(--rot); left: .2rem; }
.liste-pfeil { list-style: none; padding-left: 0; }
.liste-pfeil li { position: relative; padding-left: 1.4rem; }
.liste-pfeil li::before { content: ""; position: absolute; left: .1rem; top: .62em; width: .45rem; height: .45rem; border-top: 2px solid var(--blau); border-right: 2px solid var(--blau); transform: rotate(45deg); }

/* Akkordeon */
.akkordeon { display: grid; gap: .5rem; }
details { border: 1px solid var(--linie); border-radius: 8px; background: #fff; }
details > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: .75rem 2.75rem .75rem 1rem; font-weight: 600; color: var(--blau-dunkel);
  border-radius: 8px;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: .55rem; height: .55rem; margin-top: -.4rem;
  border-right: 2px solid var(--blau); border-bottom: 2px solid var(--blau); transform: rotate(45deg); transition: transform .2s;
}
details[open] > summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
details > summary:hover { background: var(--blau-zart); }
details[open] > summary { border-bottom: 1px solid var(--linie); border-radius: 8px 8px 0 0; }
details > :not(summary) { margin-inline: 1rem; }
details > :nth-child(2) { margin-top: .9rem; }
details > :last-child { margin-bottom: 1rem; }
details.schlicht { border: 0; background: none; }
details.schlicht > summary { padding: .3rem 0 .3rem 1.6rem; color: #23578a; font-weight: 600; }
details.schlicht > summary::after { left: .2rem; right: auto; }
details.schlicht[open] > summary { border: 0; }
details.schlicht > :not(summary) { margin-inline: 0; }

/* Tabellen */
.tabelle-rahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0 1.4rem; }
table { border-collapse: collapse; width: 100%; }
.tabelle th, .tabelle td { padding: .6rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tabelle thead th, .tabelle th[colspan] { background: var(--blau-hell); color: var(--blau-dunkel); font-weight: 650; }
.tabelle tbody tr:nth-child(even) { background: var(--blau-zart); }
.tabelle .zahl, .zahl { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabelle caption { text-align: left; font-weight: 650; color: var(--blau-dunkel); padding-bottom: .5rem; }

/* Knöpfe */
.knopf, .knopf-zweit, .knopf-leise {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: 8px; border: 2px solid transparent; cursor: pointer;
  min-height: 2.9rem; transition: background-color .15s, border-color .15s, color .15s;
}
.knopf { background: var(--orange); color: #fff; }
.knopf:hover { background: var(--orange-dunkel); color: #fff; }
.knopf-zweit { background: #fff; color: var(--blau-dunkel); border-color: var(--blau); }
.knopf-zweit:hover { background: var(--blau-hell); color: var(--blau-dunkel); }
.knopf-leise { background: transparent; color: #23578a; border-color: transparent; padding-inline: .6rem; }
.knopf-leise:hover { background: var(--blau-hell); color: var(--blau-dunkel); }
.knopf[disabled], .knopf-zweit[disabled] { opacity: .55; cursor: not-allowed; }
.knopf-klein { padding: .45rem .9rem; min-height: 2.3rem; font-size: .92em; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.knopf-reihe-mitte { justify-content: center; }
.zentriert { text-align: center; }

/* ---------- Fuß ---------- */
.fuss { background: var(--blau-tief); color: #c9d5e1; margin-top: 3rem; font-size: .95rem; }
.fuss a { color: #e3eaf2; text-decoration: none; }
.fuss a:hover { color: #ffd9b0; text-decoration: underline; }
.fuss-raster { display: grid; gap: 1.5rem; padding-block: 2.2rem 1.5rem; }
@media (min-width: 40em) { .fuss-raster { grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center; } }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin: 0 0 .35rem; }
.fuss .knopf-zweit { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); font-size: .95rem; }
.fuss .knopf-zweit:hover { background: rgba(255, 255, 255, .08); border-color: #fff; text-decoration: none; }
.fuss-unten { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 1rem; font-size: .85rem; color: #9fb2c6; text-align: right; }

.nach-oben {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--blau-dunkel); color: #fff; box-shadow: var(--schatten); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.nach-oben.sichtbar { opacity: .9; pointer-events: auto; }
.nach-oben:hover { background: var(--orange); }
.nach-oben::before { content: ""; width: .7rem; height: .7rem; border-left: 2.5px solid currentColor; border-top: 2.5px solid currentColor; transform: translateY(.18rem) rotate(45deg); }

/* ---------- Formulare ---------- */
fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 1.1rem; color: var(--blau-dunkel); padding: 0; margin-bottom: .8rem; }
.formular-kopf { font-weight: 700; font-size: 1.1rem; color: var(--blau-dunkel); }
.feld { margin-bottom: 1.1rem; }
.feld > label, .feld-titel { display: block; font-weight: 600; margin-bottom: .3rem; }
.pflicht { color: var(--rot); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  font: inherit; color: var(--text); width: 100%; max-width: 100%;
  padding: .6rem .75rem; border: 1px solid #9fb0c1; border-radius: 6px; background: #fff;
  min-height: 2.8rem;
}
select { padding-right: 2rem; }
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(82, 121, 161, .35); outline-offset: 0; border-color: var(--blau); }
input[readonly] { background: var(--blau-zart); }
.feld-kurz { max-width: 11rem; }
.feld-mittel { max-width: 22rem; }
.einheit { display: flex; align-items: center; gap: .5rem; }
.einheit input { max-width: 11rem; }
.einheit span { color: var(--text-leise); }
.hinweis { display: block; color: var(--text-leise); font-size: .875rem; line-height: 1.45; margin-top: .35rem; }
.feld-fehler { display: block; color: var(--rot); font-size: .9rem; font-weight: 600; margin-top: .35rem; }
[aria-invalid="true"] { border-color: var(--rot) !important; box-shadow: 0 0 0 1px var(--rot); }
.wahl { display: flex; flex-wrap: wrap; gap: .5rem; }
.wahl label { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid #9fb0c1; border-radius: 6px; padding: .55rem .9rem; cursor: pointer; background: #fff; font-weight: 500; min-height: 2.8rem; }
.wahl label:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); box-shadow: 0 0 0 1px var(--blau); }
.wahl input { accent-color: var(--blau); margin: 0; }
.wahl-spalte { flex-direction: column; align-items: stretch; }
.haken { display: flex; gap: .7rem; align-items: flex-start; margin: 1rem 0; }
.haken input { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .2rem; accent-color: var(--blau); }
.feld-raster { display: grid; gap: 0 1.5rem; }
@media (min-width: 40em) { .feld-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feld-voll { grid-column: 1 / -1; } }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { border-radius: 8px; padding: .9rem 1.1rem; margin: 0 0 1.2rem; border: 1px solid; }
.meldung-fehler { background: #fdecea; border-color: #f2b8b5; color: #7f1d1d; }
.meldung-hinweis { background: var(--orange-hell); border-color: #f0c9a6; color: #6b3507; font-weight: 600; }
.meldung-ok { background: #ecf6ec; border-color: #b9dcba; color: #1e4620; }

/* ---------- Vergleichsrechner ---------- */
.rechner-form { padding-block: 1.5rem; }
.rechner-form fieldset { border-top: 1px solid var(--linie); padding-top: 1.3rem; }
.rechner-form fieldset:first-of-type { border-top: 0; padding-top: 0; }
.rechner-schritt:focus, .rechner-form:focus { outline: none; }
.rot-text { color: var(--rot); }
.kombi-liste {
  list-style: none; margin: .25rem 0 0; padding: .25rem 0; max-height: 18rem; overflow-y: auto;
  border: 1px solid var(--blau); border-radius: 6px; background: #fff; box-shadow: var(--schatten);
}
.kombi-liste li { margin: 0; padding: .6rem .8rem; cursor: pointer; line-height: 1.35; }
.kombi-liste li:hover, .kombi-liste li.aktiv { background: var(--blau-hell); }
.kombi-liste li.aktiv { box-shadow: inset 3px 0 0 var(--blau); }
#beruf-status.ok { color: var(--gruen); font-weight: 600; }

.vorgaben { padding: 0; margin-bottom: 1.2rem; }
.vorgaben[open] > summary { border-bottom: 1px solid var(--linie); }
.vorgaben-liste, .daten-liste { display: grid; grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr); gap: .35rem 1.25rem; margin: 0 0 1.2rem; }
.vorgaben > .vorgaben-liste { margin: 1rem 1.2rem 1.2rem; }
.vorgaben-liste dt, .daten-liste dt { color: var(--text-leise); }
.vorgaben-liste dd, .daten-liste dd { margin: 0; font-weight: 550; }
@media (max-width: 29.99em) {
  .vorgaben-liste, .daten-liste { grid-template-columns: minmax(6.5rem, 38%) minmax(0, 1fr); gap: .45rem .8rem; font-size: .94rem; }
}

.rlv-status { background: var(--blau-zart); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.rlv-status.fertig { background: #ecf6ec; border-color: #b9dcba; }
.rlv-status-text { margin: 0 0 .6rem; font-weight: 600; color: var(--blau-dunkel); }
.rlv-status.fertig .rlv-status-text { margin: 0; color: #1e4620; }
.rlv-status progress { display: block; width: 100%; height: .55rem; border: 0; border-radius: 99px; overflow: hidden; background: #dbe5ef; -webkit-appearance: none; appearance: none; }
.rlv-status progress::-webkit-progress-bar { background: #dbe5ef; }
.rlv-status progress::-webkit-progress-value { background: var(--blau); transition: width .3s; }
.rlv-status progress::-moz-progress-bar { background: var(--blau); }
.rlv-wartend { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .88rem; color: var(--text-leise); margin: .7rem 0 0; }
.rlv-wartend:empty { display: none; }
.chip { background: #fff; border: 1px solid var(--linie); border-radius: 99px; padding: .05rem .6rem; }

.ergebnis-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .5rem 1rem; margin-bottom: .7rem; }
.ergebnis-titel { margin: 0; }
.sortierung { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--text-leise); }
.sortierung select { width: auto; min-height: 2.4rem; padding-block: .3rem; }
table.ergebnis { border: 1px solid var(--linie); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; }
.ergebnis th, .ergebnis td { padding: .75rem .85rem; border-bottom: 1px solid var(--linie); vertical-align: middle; text-align: left; }
.ergebnis thead th { background: var(--blau-hell); color: var(--blau-dunkel); font-weight: 650; font-size: .92rem; vertical-align: bottom; }
.ergebnis tbody tr:last-child td { border-bottom: 0; }
.ergebnis tbody tr:hover { background: var(--blau-zart); }
.ergebnis .sp-geld { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ergebnis .sp-aeu { text-align: center; }
.ergebnis .sp-aktion { text-align: right; width: 1%; }
.sortierknopf { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted; text-underline-offset: .2em; }
th[aria-sort="ascending"] .sortierknopf::after { content: " ▲"; font-size: .7em; }
th[aria-sort="descending"] .sortierknopf::after { content: " ▼"; font-size: .7em; }
.zw { display: block; font-weight: 400; font-size: .8rem; color: var(--text-leise); }
.tarif-name { margin-right: .35rem; }
.info-knopf {
  display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; vertical-align: middle;
  border-radius: 50%; border: 1.5px solid var(--blau); background: #fff; color: var(--blau);
  font: italic 700 .9rem/1 Georgia, "Times New Roman", serif; cursor: pointer;
}
.info-knopf:hover { background: var(--blau); color: #fff; }
.bemerkung { display: block; font-size: .85rem; color: var(--rot); margin-top: .3rem; line-height: 1.4; }
.aeu { display: inline-block; min-width: 2.9rem; text-align: center; border-radius: 99px; padding: .1rem .55rem; font-size: .8rem; font-weight: 650; }
.aeu-nein { background: #e3f1e4; color: #1e5a22; }
.aeu-jein { background: #fdf0d5; color: #7a4b00; }
.aeu-ja { background: #fbe3e1; color: #8a1c14; }
tr.neu { animation: neu 1.6s ease-out; }
@keyframes neu { from { background: #fff1cc; } to { background: transparent; } }
.aeu-legende { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem .8rem; align-items: baseline; font-size: .85rem; color: var(--text-leise); margin: 1rem 0 0; }
.aeu-legende dd { margin: 0; }
.ergebnis-hinweise { font-size: .92rem; color: var(--text-leise); margin-top: 1.5rem; }
.protokoll { white-space: pre-wrap; font-size: .75rem; background: #fff8e1; border: 1px dashed #c9a300; padding: .8rem; max-height: 20rem; overflow: auto; }
@media (max-width: 47.99em) {
  table.ergebnis, .ergebnis tbody { display: block; border: 0; background: none; overflow: visible; }
  .ergebnis thead { display: none; }
  .ergebnis tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: .9rem 1rem; margin-bottom: .75rem; box-shadow: var(--schatten); }
  .ergebnis tbody tr:hover { background: #fff; }
  .ergebnis td { display: block; padding: 0; border: 0; text-align: left !important; }
  .ergebnis td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem; color: var(--text-leise); }
  .ergebnis .sp-tarif { grid-column: 1 / -1; margin-bottom: .3rem; }
  .ergebnis .sp-aeu { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; }
  .ergebnis .sp-aeu::before { display: inline !important; }
  .ergebnis .sp-netto strong { font-size: 1.15rem; }
  .ergebnis .sp-aktion { grid-column: 1 / -1; width: auto; margin-top: .5rem; }
  .ergebnis .sp-aktion .knopf { width: 100%; }
}

.info-dialog { border: 0; border-radius: var(--radius); padding: 1.5rem; width: min(40rem, calc(100vw - 2rem)); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); color: var(--text); }
.info-dialog::backdrop { background: rgba(29, 51, 73, .5); }
.ankreuzliste { display: grid; gap: .25rem 1rem; margin-bottom: 1.2rem; }
@media (min-width: 40em) { .ankreuzliste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 56em) { .ankreuzliste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ankreuzliste label { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.4; padding: .2rem 0; }
.ankreuzliste input { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .15rem; accent-color: var(--blau); }
.vn-block { margin: 0 0 1.5rem; }
.vn-block > .feld-raster { margin: 1rem; }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; gap: 1.5rem; }
@media (min-width: 56em) { .kontakt-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem; align-items: start; } }

/* ---------- Druck ---------- */
@media print {
  .kopf .menue, .menue-knopf, .fuss, .nach-oben, .knopf-reihe, .springen { display: none !important; }
  .hero, .seitenkopf { background: none; color: #000; }
  .hero::before { display: none; }
  .hero h1 { color: #000; text-shadow: none; }
  details > :not(summary) { display: block; }
  a { color: #000; }
}
