/* Rentenpost: Website-Stil. Farben und Schriften aus human-output/dna/rentenpost/resultado/DNA.md */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Arimo"; src: url("../fonts/Arimo-Variable.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/Caveat-Variable.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  /* Marke */
  --tinte: #1B2A41;
  --tinte-hell: #2A3D5C;
  --tinte-tief: #131E30;
  --papier: #F6F3EC;
  --rotstift: #D0312D;
  --frist: #F7D547;
  --gruen: #2E7D4F;
  --amtsgrau: #6B7480;
  /* Fläche: Off-White mit einem Hauch Tinte, kein Creme */
  --grund: #F3F5F8;
  --linie: #CDD3DC;
  --text: #1B2A41;
  --text-leise: #4A5463;     /* 7,6:1 auf --grund */
  --auf-tinte: #F6F3EC;
  --auf-tinte-leise: #C3CAD6; /* 8,9:1 auf --tinte */

  /* Schrift */
  --f-titel: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-brief: "Arimo", Arial, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;

  --t-klein: 1.0625rem;   /* 17 px */
  --t-text: 1.25rem;      /* 20 px, Grundschrift für 60+ */
  --t-gross: 1.5rem;
  --t-h3: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  --t-h2: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --t-h1: clamp(2.7rem, 1.7rem + 4.6vw, 5.25rem);

  /* Abstand (4er-Raster) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --abschnitt: clamp(4rem, 2.5rem + 6vw, 8rem);
  --rand: clamp(1rem, 0.5rem + 3vw, 3rem);
  --breite: 74rem;

  --radius: 6px;
  --schatten-papier: 0 1px 2px rgb(19 30 48 / 0.18), 0 12px 32px -8px rgb(19 30 48 / 0.35);
  --ease: cubic-bezier(0.25, 1, 0.5, 1); /* ease-out-quart */

  /* z-Ebenen */
  --z-sticky: 20; --z-overlay: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font-family: var(--f-text); font-size: var(--t-text); line-height: 1.6;
  font-kerning: normal; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--rotstift); }
:focus-visible { outline: 3px solid var(--frist); outline-offset: 3px; border-radius: 2px; }
.auf-tinte :focus-visible, .kopf :focus-visible { outline-color: var(--frist); }
.grund :focus-visible { outline-color: var(--tinte); }

h1, h2, h3 { font-family: var(--f-titel); font-weight: 800; line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.12; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--t-gross); line-height: 1.5; max-width: 34ch; }
.klein { font-size: var(--t-klein); }
.leise { color: var(--text-leise); }
.zahl { font-variant-numeric: tabular-nums; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: var(--abschnitt); }
.auf-tinte { background: var(--tinte); color: var(--auf-tinte); }
.auf-tinte .leise { color: var(--auf-tinte-leise); }

.skip { position: absolute; left: var(--s-4); top: -4rem; background: var(--frist); color: var(--tinte); padding: var(--s-3) var(--s-4); font-weight: 600; z-index: var(--z-overlay); }
.skip:focus { top: var(--s-4); }

/* Knöpfe: mindestens 56 px hoch */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 3.5rem; padding: 0.7rem 1.6rem; border-radius: var(--radius);
  font: 600 var(--t-text)/1.2 var(--f-text); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.knopf:active { transform: translateY(1px); }
.knopf-voll { background: var(--tinte); color: var(--auf-tinte); }
.knopf-voll:hover { background: var(--tinte-hell); }
.auf-tinte .knopf-voll, .kopf .knopf-voll { background: var(--papier); color: var(--tinte); }
.auf-tinte .knopf-voll:hover { background: #fff; }
.knopf-rand { background: transparent; color: inherit; border-color: currentColor; }
.knopf-rand:hover { background: rgb(27 42 65 / 0.06); }
.auf-tinte .knopf-rand:hover { background: rgb(246 243 236 / 0.08); }
.knopf .pfeil { transition: transform 200ms var(--ease); }
.knopf:hover .pfeil { transform: translateX(4px); }
.knopf[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* Kopfzeile */
.kopf { background: var(--tinte); color: var(--auf-tinte); position: sticky; top: 0; z-index: var(--z-sticky); border-bottom: 1px solid rgb(246 243 236 / 0.12); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 4.5rem; }
.marke { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.marke img { width: 2.75rem; height: 2.75rem; border-radius: 8px; background: var(--tinte-tief); }
.marke span { font: 800 1.85rem/1 var(--f-titel); letter-spacing: -0.01em; }
.kopf nav ul { display: flex; gap: var(--s-5); list-style: none; margin: 0; padding: 0; align-items: center; }
.kopf nav a { text-decoration: none; font-weight: 500; padding-block: var(--s-2); }
.kopf nav a:hover { text-decoration: underline; text-decoration-color: var(--frist); }
.kopf .knopf { min-height: 3rem; padding: 0.5rem 1.1rem; font-size: var(--t-klein); }
@media (max-width: 60rem) { .kopf nav .nav-link { display: none; } }

/* Hero */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 2rem + 7vw, 8rem); overflow: hidden; }
.hero .huelle { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero .lead { margin-top: var(--s-5); color: var(--auf-tinte-leise); max-width: 36ch; }
.hero .lead strong { color: var(--auf-tinte); font-weight: 600; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }
.hero-belege { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-6) 0 0; padding: 0; list-style: none; font-size: var(--t-klein); color: var(--auf-tinte-leise); }
.hero-belege li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero-belege li::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 2px solid var(--frist); }
@media (max-width: 56rem) {
  .hero .huelle { grid-template-columns: minmax(0, 1fr); }
  .hero-bild { order: 2; max-width: 34rem; }
}

/* Nachgestellter Brief (Muster) */
.brief {
  position: relative; background: var(--papier); color: #1d2430; font-family: var(--f-brief);
  font-size: 0.95rem; line-height: 1.45; padding: 2.75rem 2rem 2.25rem; border-radius: 3px;
  box-shadow: var(--schatten-papier); transform: rotate(-1.6deg);
}
.brief .absender { font-size: 0.72rem; color: #5b6472; border-bottom: 1px solid #c9cdd3; padding-bottom: 0.2rem; margin-bottom: 0.6rem; }
.brief .anschrift { font-size: 0.9rem; margin-bottom: 1.4rem; }
.brief .betreff { font-weight: 700; font-size: 1.02rem; margin-bottom: 0.9rem; }
.brief table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.brief td { padding: 0.32rem 0; border-bottom: 1px dotted #c3c8cf; }
.brief td:last-child { text-align: right; white-space: nowrap; }
.brief .summe td { font-weight: 700; border-bottom: none; padding-top: 0.6rem; position: relative; }
.brief .rechtsbehelf { margin-top: 1rem; font-size: 0.78rem; color: #4a5260; }
.brief .stempel {
  position: absolute; left: 2rem; top: 0.85rem; font: 700 0.7rem/1 var(--f-text); letter-spacing: 0.06em;
  color: var(--amtsgrau); border: 1.5px solid var(--amtsgrau); padding: 0.25rem 0.45rem; border-radius: 3px; transform: rotate(-2deg);
}
.kreis { position: absolute; pointer-events: none; overflow: visible; }
.kreis path { fill: none; stroke: var(--rotstift); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.hand { font-family: var(--f-hand); font-weight: 700; color: var(--rotstift); line-height: 1; }
.zettel {
  position: absolute; background: var(--frist); color: var(--tinte); font-family: var(--f-hand); font-weight: 700;
  line-height: 1.05; padding: 0.8rem 0.9rem 0.9rem; width: 9.5rem; box-shadow: 0 10px 20px -8px rgb(19 30 48 / 0.55);
  transform: rotate(4deg);
}
.zettel b { display: block; font-size: 1.15rem; font-weight: 600; }
.zettel span { font-size: 1.6rem; }

.hero-bild { position: relative; padding: 1.5rem 2.5rem 3.5rem 0.5rem; }
.hero-bild .kreis { left: 55%; bottom: 23%; width: 50%; height: 12.5%; }
.hero-bild .notiz { position: absolute; right: -0.25rem; bottom: 4%; font-size: 1.7rem; transform: rotate(-4deg); }
.hero-bild .zettel { right: -0.75rem; top: -0.25rem; }
.hero-bild .muster-hinweis { position: absolute; left: 0.5rem; bottom: 0; font-size: 0.9rem; color: var(--auf-tinte-leise); }

/* Animation: Stift zieht den Kreis (0,6 s), Zettel legt sich */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-bild .kreis path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ziehen 700ms var(--ease) 650ms forwards; }
  .js .hero-bild .notiz { animation: auf 500ms var(--ease) 900ms backwards; }
  .js .hero-bild .zettel { animation: kleben 600ms var(--ease) 250ms both; }
  .js .hero-bild .brief { animation: hinlegen 700ms var(--ease) both; }
}
@keyframes ziehen { to { stroke-dashoffset: 0; } }
@keyframes auf { from { transform: translateY(6px) rotate(-4deg); } to { transform: rotate(-4deg); } }
@keyframes kleben { from { transform: translateY(-14px) rotate(9deg); } to { transform: rotate(4deg); } }
@keyframes hinlegen { from { transform: translateY(18px) rotate(-3deg); } to { transform: rotate(-1.6deg); } }

/* Abschnittsköpfe */
.kopfzeile { display: grid; gap: var(--s-4); max-width: 46rem; margin-bottom: var(--s-7); }
.kopfzeile p { font-size: var(--t-gross); line-height: 1.5; color: var(--text-leise); }
.auf-tinte .kopfzeile p { color: var(--auf-tinte-leise); }

/* Post-Check */
.check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 60rem) { .check { grid-template-columns: minmax(0, 1fr); } }
.check-intro .kopfzeile { margin-bottom: var(--s-5); }
.check-intro ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-3); font-size: var(--t-klein); color: var(--text-leise); }
.check-intro li { position: relative; padding-left: 1.75rem; }
.check-intro li::before { content: "✓"; position: absolute; left: 0; color: var(--gruen); font-weight: 700; }

.formular {
  background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  box-shadow: 0 1px 0 var(--linie), 0 24px 48px -32px rgb(19 30 48 / 0.35);
}
.fortschritt { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); font-size: var(--t-klein); color: var(--text-leise); }
.balken { flex: 1; height: 8px; background: #E4E8EE; border-radius: 99px; overflow: hidden; }
.balken i { display: block; height: 100%; width: 0; background: var(--tinte); border-radius: 99px; transition: width 300ms var(--ease); }
.frage legend { font: 700 var(--t-h3)/1.15 var(--f-titel); padding: 0; margin-bottom: var(--s-2); }
.frage .hilfe { color: var(--text-leise); font-size: var(--t-klein); margin-bottom: var(--s-5); }
.frage fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.optionen { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--s-3); }
.optionen.jahrgaenge { grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr)); }
.option {
  min-height: 3.75rem; padding: 0.8rem 1rem; text-align: left; border-radius: var(--radius);
  font: 500 var(--t-text)/1.25 var(--f-text); background: var(--grund); color: var(--text);
  border: 2px solid var(--linie); cursor: pointer; transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
.jahrgaenge .option { text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.option:hover { border-color: var(--tinte); background: #fff; }
.option[aria-pressed="true"] { border-color: var(--tinte); background: var(--tinte); color: var(--auf-tinte); }
.option small { display: block; font-size: var(--t-klein); color: var(--text-leise); font-weight: 400; margin-top: 0.15rem; }
.option[aria-pressed="true"] small { color: var(--auf-tinte-leise); }
.formular-fuss { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); margin-top: var(--s-6); flex-wrap: wrap; }
.zurueck { background: none; border: 0; padding: var(--s-3) 0; font: 500 var(--t-klein) var(--f-text); color: var(--text); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; min-height: 2.75rem; }
.zurueck[hidden] { display: inline-block; visibility: hidden; }

/* Ergebnis: drei Briefe */
.ergebnis h3 { margin-bottom: var(--s-2); }
.ergebnis > .hilfe { color: var(--text-leise); font-size: var(--t-klein); margin-bottom: var(--s-5); }
.termine { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.termin {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s-4) var(--s-5); align-items: start;
  background: var(--papier); border-radius: 4px; padding: var(--s-5); box-shadow: 0 1px 2px rgb(19 30 48 / 0.12), 0 8px 20px -12px rgb(19 30 48 / 0.35);
}
.termin .datum { background: var(--frist); color: var(--tinte); font-family: var(--f-hand); font-weight: 700; text-align: center; padding: 0.55rem 0.4rem 0.6rem; transform: rotate(-2deg); line-height: 1; }
.termin .datum b { display: block; font-size: 2.1rem; }
.termin .datum span { font-size: 1.3rem; }
.termin h4 { font: 700 1.55rem/1.15 var(--f-titel); margin: 0 0 var(--s-2); }
.termin .von { font-size: var(--t-klein); color: var(--text-leise); margin-bottom: var(--s-3); }
.termin .pruefen { margin: 0 0 var(--s-3); }
.termin .frist-text { font-weight: 600; }
.termin .quelle { margin-top: var(--s-3); font-size: 1rem; color: var(--text-leise); }
.termin .quelle a { color: inherit; }
.marke-vorschlag { display: inline-block; font: 600 0.95rem/1 var(--f-text); color: #fff; background: var(--amtsgrau); border-radius: 99px; padding: 0.3rem 0.65rem; margin-left: var(--s-2); vertical-align: 0.2em; }
@media (max-width: 34rem) { .termin { grid-template-columns: minmax(0, 1fr); } .termin .datum { justify-self: start; min-width: 7rem; } }
@media (prefers-reduced-motion: no-preference) {
  .termin { animation: rein 480ms var(--ease); }
  .termin:nth-child(2) { animation-delay: 110ms; }
  .termin:nth-child(3) { animation-delay: 220ms; }
}
@keyframes rein { from { transform: translateY(12px); } to { transform: none; } }
.weiter { margin-top: var(--s-6); padding: var(--s-5); border: 2px dashed var(--tinte); border-radius: 8px; display: grid; gap: var(--s-4); }
.weiter p { font-size: var(--t-text); }

/* Was eine verpasste Frist kostet: Kontoauszug */
.auszug { border-top: 3px solid var(--tinte); }
.auszug-zeile { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.4fr) minmax(10rem, 1fr); gap: var(--s-4) var(--s-6); padding-block: var(--s-6); border-bottom: 1px solid var(--linie); align-items: baseline; }
.auszug-zeile h3 { font-size: var(--t-h3); }
.auszug-zeile .betrag { font: 800 clamp(2rem, 1.6rem + 1.6vw, 2.9rem)/1 var(--f-titel); color: var(--rotstift); text-align: right; font-variant-numeric: tabular-nums; }
.auszug-zeile .betrag small { display: block; font: 500 var(--t-klein)/1.3 var(--f-text); color: var(--text-leise); margin-top: var(--s-2); }
.auszug-zeile .beleg { display: block; margin-top: var(--s-3); font-size: 1rem; color: var(--text-leise); }
@media (max-width: 52rem) {
  .auszug-zeile { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .auszug-zeile .betrag { text-align: left; order: -1; }
}
.auszug-fuss { margin-top: var(--s-5); color: var(--text-leise); font-size: var(--t-klein); max-width: 60ch; }

/* Inhalt des Plans */
.inhalt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 60rem) { .inhalt { grid-template-columns: minmax(0, 1fr); } }
.seiten-liste { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.seiten-liste li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-5); border-top: 1px solid rgb(246 243 236 / 0.16); }
.seiten-liste li::before { content: counter(s); font: 800 2.2rem/1 var(--f-titel); color: var(--frist); }
.seiten-liste h3 { font-size: 1.7rem; margin-bottom: var(--s-2); }
.seiten-liste p { color: var(--auf-tinte-leise); }
.vorschau { position: sticky; top: 6.5rem; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; gap: var(--s-4); }
.vorschau figure { margin: 0; }
.vorschau img { width: 100%; border-radius: 3px; box-shadow: var(--schatten-papier); background: #fff; }
.vorschau figcaption { font-size: 1rem; color: var(--auf-tinte-leise); margin-top: var(--s-2); }
.vorschau .v1 { grid-column: 1 / 5; grid-row: 1 / 3; transform: rotate(-1.2deg); }
.vorschau .v2 { grid-column: 5 / 7; transform: rotate(1.5deg); }
.vorschau .v3 { grid-column: 5 / 7; transform: rotate(-0.8deg); }
@media (max-width: 60rem) { .vorschau { position: static; } }

/* Für wen */
.wer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--s-7) clamp(2rem, 1rem + 4vw, 5rem); }
.wer h3 { margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 3px solid var(--tinte); }
.wer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-4); }
.wer li { display: grid; grid-template-columns: 1.6rem 1fr; gap: var(--s-3); }
.wer li::before { content: ""; width: 1.1rem; height: 1.1rem; margin-top: 0.35rem; border: 2px solid var(--tinte); border-radius: 3px; }

/* Prüfen statt glauben */
.belegt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (max-width: 60rem) { .belegt { grid-template-columns: minmax(0, 1fr); } }
.siegel-reihe { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-6); }
.siegel { width: 8.5rem; height: 8.5rem; border-radius: 50%; display: grid; place-items: center; text-align: center; font: 800 1.35rem/1 var(--f-titel); text-transform: uppercase; letter-spacing: 0.02em; border: 4px double currentColor; transform: rotate(-8deg); padding: 0.75rem; }
.siegel.ja { color: #7CC79A; } .siegel.nein { color: #FF8A84; } .siegel.vorschlag { color: var(--auf-tinte-leise); }
.quellenzeile { background: var(--papier); color: #1d2430; border-radius: 4px; padding: var(--s-5) var(--s-6); box-shadow: var(--schatten-papier); font-family: var(--f-brief); font-size: 1.05rem; transform: rotate(0.8deg); }
.quellenzeile .wert { font: 800 2.4rem/1 var(--f-titel); color: var(--tinte); display: block; margin-bottom: var(--s-2); }
.quellenzeile .hand { font-size: 1.6rem; display: block; margin-top: var(--s-3); }
.drv-hinweis { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgb(246 243 236 / 0.2); color: var(--auf-tinte-leise); max-width: 55ch; }
.drv-hinweis a { color: var(--auf-tinte); }

/* Preis */
.preis-block { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 60rem) { .preis-block { grid-template-columns: minmax(0, 1fr); } }
.angebot { background: #fff; border: 2px solid var(--tinte); border-radius: 12px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.angebot h3 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); }
.angebot .betrag { display: flex; align-items: baseline; gap: var(--s-4); margin: var(--s-5) 0 var(--s-2); flex-wrap: wrap; }
.angebot .betrag b { font: 800 clamp(3.2rem, 2.6rem + 2.5vw, 4.5rem)/1 var(--f-titel); font-variant-numeric: tabular-nums; }
.angebot .betrag span { color: var(--text-leise); font-size: var(--t-klein); }
.angebot ul { list-style: none; margin: var(--s-5) 0 var(--s-6); padding: 0; display: grid; gap: var(--s-3); }
.angebot li { display: grid; grid-template-columns: 1.6rem 1fr; gap: var(--s-3); }
.angebot li::before { content: "✓"; color: var(--gruen); font-weight: 700; }
.angebot .knopf { width: 100%; font-size: 1.35rem; min-height: 4rem; }
.zahlarten { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); padding: 0; list-style: none; justify-content: center; }
.zahlarten li { font-size: 0.95rem; border: 1px solid var(--linie); border-radius: 4px; padding: 0.2rem 0.55rem; color: var(--text-leise); }
.widerruf-hinweis { margin-top: var(--s-4); font-size: 1rem; color: var(--text-leise); }
.kasse-meldung { margin-top: var(--s-4); padding: var(--s-4); background: #FFF6CF; border: 1px solid #E9C93A; border-radius: 6px; font-size: var(--t-klein); }
.garantie { display: grid; grid-template-columns: auto 1fr; gap: var(--s-5); align-items: start; }
.garantie .tage { width: 7.5rem; height: 7.5rem; border-radius: 50%; border: 4px double var(--gruen); color: var(--gruen); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); }
.garantie .tage b { font: 800 2.8rem/0.9 var(--f-titel); display: block; }
.garantie .tage span { font: 700 1rem/1 var(--f-titel); letter-spacing: 0.08em; }
.garantie h3 { margin-bottom: var(--s-3); }
.garantie p + p { margin-top: var(--s-3); }

/* Fragen */
.fragen { max-width: 52rem; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen details:first-of-type { border-top: 3px solid var(--tinte); }
.fragen summary { list-style: none; cursor: pointer; padding: var(--s-5) 3rem var(--s-5) 0; position: relative; font: 700 1.55rem/1.2 var(--f-titel); min-height: 3.5rem; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font: 600 2.2rem/1 var(--f-text); transition: transform 200ms var(--ease); }
.fragen details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fragen details > div { padding: 0 0 var(--s-6); max-width: 65ch; display: grid; gap: var(--s-3); }

/* Schluss */
.schluss { text-align: left; }
.schluss .huelle { display: grid; gap: var(--s-5); justify-items: start; }
.schluss h2 { max-width: 18ch; }

/* Fuß */
.fuss { background: var(--tinte-tief); color: var(--auf-tinte-leise); padding-block: var(--s-8) var(--s-7); font-size: var(--t-klein); }
.fuss .huelle { display: grid; gap: var(--s-5); }
.fuss .hinweis { max-width: 75ch; }
.fuss .hinweis b { color: var(--auf-tinte); }
.fuss nav ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: 0; padding: 0; }
.fuss a { color: var(--auf-tinte); }
.fuss .stand { color: var(--auf-tinte-leise); }

/* Rechtstexte */
.rechtstext { padding-block: var(--s-8) var(--abschnitt); }
.rechtstext .huelle { max-width: 48rem; }
.rechtstext h1 { font-size: var(--t-h2); margin-bottom: var(--s-5); }
.rechtstext h2 { font-size: 1.9rem; margin: var(--s-7) 0 var(--s-3); }
.rechtstext h3 { font-size: 1.45rem; margin: var(--s-5) 0 var(--s-2); }
.rechtstext p, .rechtstext li { max-width: 68ch; }
.rechtstext p + p { margin-top: var(--s-3); }
.rechtstext ul { padding-left: 1.3rem; }
.ausfuellen { background: #FFF1A8; outline: 2px dashed #B8961A; padding: 0 0.25rem; font-weight: 600; }
.vorlage-hinweis { background: #FFF6CF; border: 1px solid #E9C93A; padding: var(--s-4) var(--s-5); border-radius: 6px; margin-bottom: var(--s-6); font-size: var(--t-klein); }
.muster-formular { border: 2px solid var(--tinte); padding: var(--s-5); border-radius: 6px; background: #fff; font-family: var(--f-brief); font-size: 1.05rem; }

/* Verkauf: zweiter Weg im Hero, Ablauf, Vergleich, Frist-Hinweis, Kaufleiste, gesperrte Termine */
.hero-kauf { margin-top: var(--s-5); font-size: var(--t-klein); color: var(--auf-tinte-leise); }
.hero-kauf a { color: var(--frist); font-weight: 600; }
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--s-6); counter-reset: a; }
.ablauf li { counter-increment: a; display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-5); border-top: 3px solid var(--tinte); }
.ablauf li::before { content: counter(a); font: 800 3.2rem/1 var(--f-titel); color: var(--tinte); }
.ablauf b { font: 700 1.7rem/1.15 var(--f-titel); }
.ablauf span { color: var(--text-leise); }
.vergleich { font-size: var(--t-klein); color: var(--text-leise); margin-top: var(--s-2); }
.naechste-frist { display: inline-flex; gap: var(--s-2); align-items: center; background: var(--frist); color: var(--tinte); font: 700 1.25rem/1.2 var(--f-hand); padding: 0.45rem 0.9rem; transform: rotate(-1.5deg); margin-bottom: var(--s-4); font-family: var(--f-hand); font-size: 1.5rem; }
.kaufleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: none; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) var(--rand); background: var(--tinte); color: var(--auf-tinte); box-shadow: 0 -8px 24px -12px rgb(19 30 48 / 0.6); font-size: 1.05rem; line-height: 1.3; }
.kaufleiste .knopf { min-height: 3.25rem; padding: 0.5rem 1.25rem; }
@media (max-width: 48rem) { .kaufleiste:not([hidden]) { display: flex; } body { padding-bottom: 5.5rem; } }
.gesperrt { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.gesperrt li { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); background: #fff; border: 1px solid var(--linie); border-radius: 6px; }
.gesperrt .d { font: 700 1.05rem/1.2 var(--f-titel); color: var(--text-leise); font-variant-numeric: tabular-nums; }
.gesperrt .t { font-weight: 500; }
.gesperrt .t small { display: block; color: transparent; text-shadow: 0 0 9px rgb(27 42 65 / 0.55); user-select: none; font-size: 1rem; }
.gesperrt .schloss { font-size: 0.95rem; color: var(--text-leise); white-space: nowrap; }
.ihr-plan { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-4) 0; padding: 0; list-style: none; }
.ihr-plan li { font-weight: 600; }
.ihr-plan li b { font: 800 1.8rem/1 var(--f-titel); color: var(--tinte); margin-right: 0.3rem; }
@media (max-width: 34rem) { .gesperrt li { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 30rem) {
  .kopf .knopf [data-preis] { display: none; }
  .marke span { font-size: 1.6rem; }
  .marke img { width: 2.4rem; height: 2.4rem; }
}

[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

.zustimmung { display: grid; grid-template-columns: 1.6rem 1fr; gap: var(--s-3); align-items: start; margin-bottom: var(--s-4); padding: var(--s-4); background: var(--grund); border-radius: 8px; font-size: 1.05rem; line-height: 1.45; cursor: pointer; }
.zustimmung input { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; accent-color: var(--tinte); }
.zustimmung-hinweis { margin-top: var(--s-3); color: var(--rotstift); font-weight: 600; font-size: var(--t-klein); }
