/* JPB Autologistik. Designsystem 2 (05.10.2026): Galerie bei Nacht.
   Dokumentation: marketing/jpb-autologistik/relaunch/designsystem.md */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Markenfarben (verbindlich) */
  --ivory: #F3F0E8;
  --charcoal: #202421;
  --forest: #263C33;
  --brass: #A58A59;
  --muted: #706F68;
  --line: #D8D3C8;
  /* Abgeleitet */
  --nacht: #141715;        /* tiefste Fläche, Kopf, Fuß, Rechner-Ergebnis */
  --nacht-2: #1B1F1C;      /* zweite dunkle Fläche */
  --ivory-tief: #EAE5D9;
  --feld: #FBF9F4;
  --gedimmt: #5C5B55;      /* 5,98:1 auf Elfenbein */
  --rahmen: #8C877B;       /* 3,14:1 auf Elfenbein */
  --messing-text: #7A6338; /* 5,03:1 auf Elfenbein */
  --messing-hell: #C2AE85; /* 8,33:1 auf Nacht */
  --nacht-text: #B9B6AC;   /* 8,9:1 auf Nacht */
  --linie-dunkel: rgba(243, 240, 232, .16);
  --fehler: #8A2B1F;
  --ok: #2F5A45;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --breite: 1360px;
  --rand: clamp(20px, 5vw, 72px);
  --abstand: clamp(80px, 11vw, 168px);
  --kopf-hoehe: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; line-height: 1.72;
  font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
main { display: block; }
main:focus { outline: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 1.6rem + 5vw, 6.4rem); font-weight: 350; line-height: .98; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 4.1rem); font-weight: 380; }
h3 { font-size: clamp(1.45rem, 1.25rem + .6vw, 1.85rem); font-weight: 500; line-height: 1.15; letter-spacing: 0; }
h4 { font-family: var(--sans); font-size: .82rem; font-weight: 500; }
p { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }
strong { font-weight: 600; }
small, .klein { font-size: .875rem; }

a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--rahmen); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }
.dunkel :focus-visible, .band :focus-visible, .fuss :focus-visible, .kopf :focus-visible,
.seitenkopf :focus-visible, .held :focus-visible, .bildband :focus-visible, .werkzeug-ergebnis :focus-visible,
.rechner-ausgabe :focus-visible { outline-color: var(--ivory); }

.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; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--charcoal); padding: 10px 16px; text-decoration: none; }
.sprung:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.schmal { max-width: 900px; }
.text { max-width: 66ch; }
.gedimmt { color: var(--gedimmt); }
.dach { display: block; font-family: var(--sans); font-size: .74rem; font-weight: 500; color: var(--messing-text); margin-bottom: 1.4rem; }
.vorspann { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.4; font-weight: 400; max-width: 38ch; }
.zahl { font-variant-numeric: tabular-nums lining-nums; }
.nur-druck { display: none; }
[hidden] { display: none !important; }

/* Dunkle Flächen: gemeinsame Farben */
.dunkel, .seitenkopf, .held, .bildband, .band, .fuss, .werkzeug-ergebnis, .rechner-ausgabe {
  --text-2: var(--nacht-text);
}
.dunkel .dach, .seitenkopf .dach, .held .dach, .bildband .dach, .band .dach, .fuss .dach,
.werkzeug-ergebnis .dach { color: var(--messing-hell); }
.dunkel .gedimmt, .seitenkopf .gedimmt, .bildband .gedimmt { color: var(--nacht-text); }
.dunkel a, .seitenkopf a, .held a, .bildband a, .band a, .fuss a { text-decoration-color: rgba(243, 240, 232, .4); }

/* Knöpfe: feine Kanten, Radius 0 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px; padding: .95rem 2rem;
  background: var(--charcoal); color: var(--ivory); border: 1px solid var(--charcoal);
  font: 500 .76rem/1.2 var(--sans); text-decoration: none; border-radius: 0; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--forest); border-color: var(--forest); }
.btn--linie { background: transparent; color: var(--charcoal); border-color: rgba(32, 36, 33, .55); }
.btn--linie:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.btn--hell { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn--hell:hover { background: transparent; color: var(--ivory); }
.dunkel .btn, .seitenkopf .btn, .held .btn, .bildband .btn, .werkzeug-ergebnis .btn, .rechner-ausgabe .btn { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.dunkel .btn:hover, .seitenkopf .btn:hover, .held .btn:hover, .bildband .btn:hover, .werkzeug-ergebnis .btn:hover, .rechner-ausgabe .btn:hover { background: var(--brass); border-color: var(--brass); color: var(--nacht); }
.dunkel .btn--linie, .seitenkopf .btn--linie, .held .btn--linie, .bildband .btn--linie, .werkzeug-ergebnis .btn--linie, .rechner-ausgabe .btn--linie { background: transparent; color: var(--ivory); border-color: rgba(243, 240, 232, .5); }
.dunkel .btn--linie:hover, .seitenkopf .btn--linie:hover, .held .btn--linie:hover, .bildband .btn--linie:hover, .werkzeug-ergebnis .btn--linie:hover, .rechner-ausgabe .btn--linie:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn--klein { min-height: 44px; padding: .7rem 1.25rem; font-size: .74rem; }
.btn[disabled], .btn[aria-disabled="true"],
.btn[disabled]:hover, .btn[aria-disabled="true"]:hover { cursor: not-allowed; background: transparent !important; color: var(--gedimmt) !important; border-color: var(--rahmen) !important; }
.werkzeug-ergebnis .btn[disabled], .rechner-ausgabe .btn[disabled],
.werkzeug-ergebnis .btn[disabled]:hover, .rechner-ausgabe .btn[disabled]:hover { color: var(--nacht-text) !important; border-color: rgba(243, 240, 232, .35) !important; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 2.4rem; }
.pfeil-link { display: inline-flex; align-items: center; gap: .8em; font-size: .76rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.pfeil-link::after { content: "→"; letter-spacing: 0; transition: transform .25s ease; }
.pfeil-link:hover::after { transform: translateX(4px); }

/* Kopf: liegt über dem dunklen Seitenkopf, wird beim Scrollen fest */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--ivory); background: transparent; border-bottom: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease; }
.kopf.kopf--fest, .kopf.nav-offen { background: rgba(20, 23, 21, .97); border-bottom-color: var(--linie-dunkel); }
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--kopf-hoehe); }
.logo { display: block; flex: none; text-decoration: none; }
.logo-bild { height: 34px; width: auto; }
.hauptnav { display: flex; align-items: center; gap: 30px; }
.nav-liste { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-punkt { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 2px 10px 12px; font-size: .74rem; font-weight: 500; text-decoration: none; }
.nav-link[aria-current] { color: var(--messing-hell); }
.nav-auf { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 40px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; opacity: .7; }
.nav-auf svg { width: 10px; height: 10px; transition: transform .2s ease; }
.nav-auf[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-anfrage { min-height: 44px; padding: .7rem 1.4rem; font-size: .7rem; background: transparent !important; color: var(--ivory) !important; border-color: rgba(243, 240, 232, .55) !important; }
.nav-anfrage:hover { background: var(--ivory) !important; color: var(--charcoal) !important; }
.menue { display: none; position: absolute; top: calc(100% + 14px); left: -6px; width: 360px; background: var(--nacht); border: 1px solid var(--linie-dunkel); border-top: 1px solid var(--brass); padding: 12px; }
.nav-punkt.offen .menue { display: block; }
.menue ul { list-style: none; margin: 0; padding: 0; }
.menue a { display: block; padding: 14px 16px; text-decoration: none; }
.menue a:hover, .menue a:focus-visible { background: var(--nacht-2); }
.menue-titel { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.menue-text { display: block; font-size: .85rem; color: var(--nacht-text); margin-top: 2px; }
.menue-knopf { display: none; }

@media (max-width: 1179px) {
  .menue-knopf { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; background: none; border: 0; font: 500 .72rem var(--sans); color: var(--ivory); cursor: pointer; }
  .menue-knopf-linien { position: relative; width: 24px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .menue-knopf[aria-expanded="true"] .menue-knopf-linien { border-color: transparent; }
  .menue-knopf[aria-expanded="true"] .menue-knopf-linien::before,
  .menue-knopf[aria-expanded="true"] .menue-knopf-linien::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid currentColor; transform: rotate(45deg); }
  .menue-knopf[aria-expanded="true"] .menue-knopf-linien::after { transform: rotate(-45deg); }
  .hauptnav { display: none; position: fixed; inset: var(--kopf-hoehe) 0 0 0; background: var(--nacht); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--rand) 48px; overflow-y: auto; border-top: 1px solid var(--linie-dunkel); }
  .kopf.nav-offen .hauptnav { display: flex; }
  .nav-liste { flex-direction: column; gap: 0; }
  .nav-punkt { flex-wrap: wrap; border-bottom: 1px solid var(--linie-dunkel); }
  .nav-link { flex: 1; padding: 20px 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .nav-auf { width: 48px; height: 48px; }
  .menue { position: static; width: 100%; border: 0; padding: 0 0 16px; background: transparent; }
  .menue a { padding: 10px 0; }
  .menue a:hover { background: transparent; }
  .menue-titel { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--nacht-text); }
  .menue-text { display: none; }
  .nav-anfrage { margin-top: 32px; min-height: 56px; }
  body.nav-gesperrt { overflow: hidden; }
}
@media (max-width: 420px) { .logo-bild { height: 28px; } }

.krumen { position: relative; z-index: 2; padding-top: 4px; margin-bottom: clamp(24px, 4vw, 48px); }
.krumen ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .7rem; font-weight: 500; color: var(--nacht-text); }
.krumen li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.krumen a { text-decoration: none; }
.krumen a:hover { color: var(--ivory); }

/* Startbild */
.held { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--nacht); color: var(--ivory); overflow: hidden; padding-block: calc(var(--kopf-hoehe) + 40px) clamp(48px, 8vh, 96px); }
.kopf-hintergrund, .band-hintergrund { position: absolute; inset: 0; z-index: 0; }
.kopf-hintergrund img, .band-hintergrund img { width: 100%; height: 100%; object-fit: cover; }
.held::after, .seitenkopf--bild::after, .bildband::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.held::after { background: linear-gradient(180deg, rgba(20, 23, 21, .55) 0%, rgba(20, 23, 21, 0) 22%, rgba(20, 23, 21, 0) 42%, rgba(20, 23, 21, .78) 82%, rgba(20, 23, 21, .92) 100%), linear-gradient(90deg, rgba(20, 23, 21, .7) 0%, rgba(20, 23, 21, 0) 55%); }
.held-inhalt { position: relative; z-index: 2; }
.held h1 { max-width: 11ch; margin-bottom: .35em; }
.held .vorspann { max-width: 36ch; color: rgba(243, 240, 232, .9); }
.held-zugaenge { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 0; margin-top: 2.6rem; border-top: 1px solid var(--linie-dunkel); }
.held-zugaenge a { display: block; padding: 20px 24px 6px 0; text-decoration: none; }
.held-zugaenge a + a { padding-left: 24px; border-left: 1px solid var(--linie-dunkel); }
.held-zugaenge strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.held-zugaenge strong::after { content: " →"; font-family: var(--sans); font-size: 1rem; color: var(--messing-hell); }
.held-zugaenge span { display: block; color: var(--nacht-text); font-size: .9rem; margin-top: 2px; }
@media (max-width: 600px) {
  .held { min-height: 92svh; }
  .held-zugaenge { grid-template-columns: 1fr; }
  .held-zugaenge a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie-dunkel); padding-top: 16px; }
}

/* Seitenkopf: immer dunkel, mit Bild als Bühne */
.seitenkopf { position: relative; background: var(--nacht); color: var(--ivory); padding-block: calc(var(--kopf-hoehe) + clamp(24px, 4vw, 48px)) clamp(56px, 7vw, 104px) !important; overflow: hidden; }
.seitenkopf--bild { min-height: clamp(560px, 82vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.seitenkopf--bild::after { background: linear-gradient(180deg, rgba(20, 23, 21, .7) 0%, rgba(20, 23, 21, .2) 26%, rgba(20, 23, 21, .35) 52%, rgba(20, 23, 21, .9) 100%), linear-gradient(90deg, rgba(20, 23, 21, .78) 0%, rgba(20, 23, 21, .15) 62%); }
.seitenkopf > .wrap, .seitenkopf > header, .seitenkopf > nav { position: relative; z-index: 2; }
.seitenkopf--bild > .krumen { margin-bottom: auto; }
.seitenkopf-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 112px); align-items: end; }
.seitenkopf h1 { max-width: 15ch; }
.seitenkopf .vorspann { margin-top: 1.4rem; color: rgba(243, 240, 232, .9); }
.seitenkopf .prosa { color: var(--nacht-text); }
.seitenkopf .prosa.gedimmt { font-size: .98rem; }
.eckdaten { background: rgba(20, 23, 21, .82); border-top: 1px solid var(--brass); padding: 8px 24px 4px; }
.eckdaten dl { margin: 0; }
.eckdaten div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--linie-dunkel); }
.eckdaten div:last-child { border-bottom: 0; }
.eckdaten dt { color: var(--nacht-text); font-size: .9rem; }
.eckdaten dd { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 900px) { .seitenkopf-raster { grid-template-columns: 1fr; } .seitenkopf--bild { min-height: 0; } }

/* Abschnitte */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--eng { padding-block: clamp(56px, 7vw, 96px); }
.abschnitt--tief { background: var(--ivory-tief); }
.dunkel { background: var(--nacht); color: var(--ivory); }
.dunkel .kopfzeile p, .dunkel p.gedimmt { color: var(--nacht-text); }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 72px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.kopfzeile h2 { margin: 0; }
.kopfzeile p { margin: 0; color: var(--gedimmt); max-width: 46ch; }
.raster-2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 8vw, 128px); }
.raster-2--gleich { grid-template-columns: 1fr 1fr; }
.raster-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); }
@media (max-width: 900px) {
  .kopfzeile, .raster-2, .raster-2--gleich { grid-template-columns: minmax(0, 1fr); }
  .raster-3 { grid-template-columns: 1fr; }
}
.prosa > :last-child { margin-bottom: 0; }
.prosa h2 { margin-top: clamp(48px, 6vw, 72px); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); }
.prosa > h2:first-child { margin-top: 0; }
.prosa h3 { margin-top: 1.8em; }
.prosa ul, .prosa ol { padding-left: 1.3em; }
.prosa ol { padding-left: 1.9em; }
.prosa li { margin-bottom: .5em; }
.prosa li::marker { color: var(--brass); }
.zitat-gross { font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 3rem); line-height: 1.18; font-weight: 400; font-style: italic; margin: 0; max-width: 20ch; }
.zitat-gross::before { content: ""; display: block; width: 48px; height: 1px; background: var(--brass); margin-bottom: 28px; }
blockquote.zitat { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); line-height: 1.3; font-weight: 400; }

/* Bilder */
.bild { position: relative; width: 100%; overflow: hidden; background: var(--nacht-2); }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild--offen { background-color: #2A2E2B; }
.seiten-bild { margin-top: 40px; max-width: 520px; }
.artikel-bild { max-width: var(--breite); margin: 0 auto clamp(48px, 6vw, 88px); width: calc(100% - 2 * var(--rand)); }
@media (max-width: 900px) { .seiten-bild { max-width: 100%; aspect-ratio: 3 / 2 !important; } }

/* Bildband über die volle Breite */
.bildband { position: relative; min-height: clamp(520px, 86vh, 900px); display: flex; align-items: flex-end; background: var(--nacht); color: var(--ivory); padding-block: clamp(72px, 10vw, 140px); overflow: hidden; }
.bildband::after { background: linear-gradient(180deg, rgba(20, 23, 21, .15) 0%, rgba(20, 23, 21, .2) 45%, rgba(20, 23, 21, .88) 100%), linear-gradient(270deg, rgba(20, 23, 21, .72) 0%, rgba(20, 23, 21, 0) 60%); }
.bildband--links::after { background: linear-gradient(180deg, rgba(20, 23, 21, .25) 0%, rgba(20, 23, 21, .25) 40%, rgba(20, 23, 21, .9) 100%), linear-gradient(90deg, rgba(20, 23, 21, .82) 0%, rgba(20, 23, 21, 0) 64%); }
.bildband-inhalt { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.bildband-inhalt > * { max-width: 38rem; }
.bildband--links .bildband-inhalt { align-items: flex-start; text-align: left; }
.bildband .vorspann { color: rgba(243, 240, 232, .92); }
.bildband p { color: var(--nacht-text); }
.bildband .btn-reihe { justify-content: inherit; }
@media (max-width: 700px) { .bildband-inhalt { align-items: flex-start; text-align: left; } }

/* Leistungen als Bildkarten */
.leistungskarten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(20px, 2.4vw, 36px); }
.karte { grid-column: span 2; display: flex; flex-direction: column; }
.karte--gross { grid-column: span 3; }
.karte-bild { display: block; overflow: hidden; text-decoration: none; }
.karte-bild .bild { aspect-ratio: 4 / 5; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.karte--gross .karte-bild .bild { aspect-ratio: 5 / 4; }
.karte:hover .karte-bild .bild { transform: scale(1.03); }
.karte-text { padding-top: 26px; display: flex; flex-direction: column; flex: 1; }
.karte-nr { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--messing-text); margin-bottom: 6px; }
.karte h3 { font-size: clamp(1.7rem, 1.35rem + 1vw, 2.35rem); font-weight: 400; margin-bottom: .45em; }
.karte h3 a { text-decoration: none; }
.karte h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.karte p { color: var(--gedimmt); }
.karte .leistung-preis { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); margin-bottom: 0; font-size: .86rem; }
.leistung-preis strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--charcoal); }
@media (max-width: 1000px) { .leistungskarten { grid-template-columns: repeat(2, minmax(0, 1fr)); } .karte, .karte--gross { grid-column: span 1; } .karte--gross .karte-bild .bild { aspect-ratio: 4 / 5; } }
@media (max-width: 640px) { .leistungskarten { grid-template-columns: 1fr; } .karte-bild .bild, .karte--gross .karte-bild .bild { aspect-ratio: 4 / 3; } }

/* Ältere Zeilenliste der Leistungen (Unterseiten) */
.leistungen { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--charcoal); }
.leistung { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 16px 48px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.leistung h3 { margin: 0; font-size: clamp(1.7rem, 1.35rem + 1vw, 2.3rem); font-weight: 400; }
.leistung h3 a { text-decoration: none; }
.leistung p { margin: 0; color: var(--gedimmt); }
@media (max-width: 900px) { .leistung { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; } }

/* Abläufe */
.ablauf { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.ablauf > li { counter-increment: schritt; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.ablauf > li::before { content: counter(schritt); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--messing-text); font-variant-numeric: lining-nums; }
.ablauf h3 { margin: 0; font-size: 1.55rem; }
.ablauf p { margin: 0; color: var(--gedimmt); }
.dunkel .ablauf > li { border-top-color: var(--linie-dunkel); }
.dunkel .ablauf > li::before { color: var(--messing-hell); }
.dunkel .ablauf p { color: var(--nacht-text); }

/* Listen */
.haken { list-style: none; padding: 0; margin: 0; }
.haken li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); margin: 0; }
.haken li:last-child { border-bottom: 1px solid var(--line); }
.haken li::before { content: ""; position: absolute; left: 2px; top: 1.25em; width: 14px; height: 1px; background: var(--brass); }
.dunkel .haken li { border-color: var(--linie-dunkel); }
.extern li::before { background: var(--rahmen); width: 8px; }
.zwei-listen { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
@media (max-width: 760px) { .zwei-listen { grid-template-columns: 1fr; } }
.zwei-listen h3 { font-family: var(--sans); font-size: .74rem; font-weight: 500; margin-bottom: 14px; }

/* Hinweise */
.hinweis { border-left: 1px solid var(--brass); background: var(--feld); padding: 20px 26px; margin: 1.8rem 0; }
.hinweis p:last-child { margin: 0; }
.hinweis--warnung { border-left: 2px solid var(--fehler); }
.hinweis--ok { border-left: 2px solid var(--ok); }
.dunkel .hinweis, .werkzeug-ergebnis .hinweis, .rechner-ausgabe .hinweis { background: rgba(243, 240, 232, .05); }

/* Tabellen */
.tabelle-rahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .97rem; }
.tabelle caption { text-align: left; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; padding-bottom: 14px; }
.tabelle th, .tabelle td { text-align: left; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabelle thead th { font-size: .7rem; font-weight: 500; color: var(--gedimmt); border-bottom-color: var(--charcoal); }
.tabelle td.zahl, .tabelle th.zahl { text-align: right; padding-right: 0; padding-left: 16px; white-space: nowrap; }
.tabelle tbody th { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.tabelle tbody th a { text-decoration: none; }
@media (max-width: 640px) {
  .tabelle--stapel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle--stapel tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tabelle--stapel th, .tabelle--stapel td { display: flex; justify-content: space-between; gap: 16px; border: 0; padding: 4px 0; }
  .tabelle--stapel td.zahl { text-align: right; }
  .tabelle--stapel td[data-label]::before { content: attr(data-label); color: var(--gedimmt); font-size: .85rem; text-align: left; white-space: normal; }
}
.tabelle-rahmen + p { margin-top: 28px; }

/* Preisblock */
.preisblock { border-top: 1px solid var(--brass); padding-top: 26px; }
.preisblock-wert { font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); font-weight: 400; line-height: 1.05; margin: 0 0 .35rem; }
.preisblock-zusatz { color: var(--gedimmt); margin: 0; }
.dunkel .preisblock-zusatz { color: var(--nacht-text); }

/* Fragen */
.fragen { border-top: 1px solid var(--charcoal); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.35rem, 1.2rem + .5vw, 1.65rem); font-weight: 500; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--brass); flex: none; transition: transform .25s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 28px; max-width: 68ch; color: var(--gedimmt); }
.faq-a p:last-child { margin: 0; }
.dunkel .fragen { border-top-color: var(--ivory); }
.dunkel .faq { border-bottom-color: var(--linie-dunkel); }
.dunkel .faq-a { color: var(--nacht-text); }

/* Band unten */
.band { background: var(--nacht); color: var(--ivory); padding-block: clamp(80px, 10vw, 144px); border-top: 1px solid var(--linie-dunkel); }
.band-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: end; }
.band h2 { margin-bottom: .4em; max-width: 16ch; }
.band p { color: var(--nacht-text); margin: 0; max-width: 50ch; }
.band-wege { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.band-wege .btn { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.band-wege .btn:hover { background: var(--brass); border-color: var(--brass); color: var(--nacht); }
.band-link { color: var(--ivory); font-family: var(--serif); font-size: 1.4rem; text-decoration: none; border-bottom: 1px solid var(--linie-dunkel); }
.band-link:hover { border-bottom-color: var(--ivory); }
@media (max-width: 900px) { .band-raster { grid-template-columns: 1fr; } }

/* Fuß */
.fuss { background: var(--nacht); color: var(--ivory); padding-block: clamp(72px, 8vw, 112px) 36px; font-size: .95rem; border-top: 1px solid var(--linie-dunkel); }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--messing-hell); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 10px; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 48px; }
.fuss-monogramm { height: 96px; width: auto; margin-bottom: 26px; }
.fuss-leitsatz { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.3; max-width: 18ch; }
.fuss-marke p:last-child { color: var(--nacht-text); }
.fuss-titel { font-family: var(--sans); font-size: .7rem; font-weight: 500; color: var(--messing-hell); margin-bottom: 18px; }
.fuss-recht { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--linie-dunkel); color: var(--nacht-text); font-size: .85rem; }
.fuss-recht p { margin: 0; }
.fuss-recht ul { display: flex; gap: 24px; }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fuss-raster { grid-template-columns: 1fr; } }

/* Person */
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 120px); align-items: center; }
.person-bild { aspect-ratio: 4 / 5; overflow: hidden; background: var(--nacht-2); }
.person-bild picture, .person-bild .bild { display: block; width: 100%; height: 100%; }
.person-bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf .person { align-items: end; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } .person-bild { max-width: 380px; } }

/* Formulare */
.formular { display: grid; gap: 24px; }
.feld { display: grid; gap: 8px; min-width: 0; }
.feld > label, .feld > .label, .gruppe > legend { font-size: .72rem; font-weight: 500; }
.feld > label .opt, .feld > .label .opt { letter-spacing: .06em; text-transform: none; font-size: .82rem; }
.opt { font-weight: 400; color: var(--gedimmt); }
.feld-hilfe { font-size: .86rem; color: var(--gedimmt); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="month"], input[type="search"], input[type="url"], select, textarea {
  width: 100%; min-width: 0; max-width: 100%; min-height: 54px; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--charcoal);
  background: var(--feld); border: 1px solid var(--rahmen); border-radius: 0; appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--charcoal); }
textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%23202421' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 11px; padding-right: 44px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 1px solid var(--charcoal); outline-offset: 0; border-color: var(--charcoal); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--fehler); border-width: 2px; }
.fehlertext { color: var(--fehler); font-size: .9rem; font-weight: 500; margin: 0; }
.fehlertext:empty { display: none; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.dreispaltig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.zweispaltig > *, .dreispaltig > * { min-width: 0; }
@media (max-width: 640px) { .zweispaltig, .dreispaltig { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .zweispaltig:not(.kompakt) { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.zweispaltig.kompakt { grid-template-columns: 1fr 1fr; gap: 14px; }
.dreispaltig.kompakt { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gruppe { border: 0; margin: 0; padding: 0; min-width: 0; }
.gruppe > legend { padding: 0; margin-bottom: 12px; }

/* Auswahl als Karten */
.wahl { display: flex; flex-wrap: wrap; gap: 10px; }
.wahl label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 20px; border: 1px solid var(--rahmen); background: var(--feld); cursor: pointer; font-weight: 400; transition: border-color .2s ease, background-color .2s ease; }
.wahl label:hover { border-color: var(--charcoal); }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl label:has(input:checked) { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.wahl label:has(input:focus-visible) { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.wahl--block { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.wahl--block label { align-items: flex-start; flex-direction: column; gap: 2px; padding: 18px 20px; }
.wahl--block label span { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.wahl--block small { font-size: .86rem; opacity: .8; }
.wahl--bild label { padding: 0 0 18px; overflow: hidden; background: var(--feld); }
.wahl--bild label > span, .wahl--bild label > small { padding-inline: 20px; }
.wahl-bild { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; filter: saturate(.85); transition: filter .3s ease, transform .6s ease; }
.wahl--bild label:has(input:checked) .wahl-bild { filter: none; }
.wahl--bild label:hover .wahl-bild { transform: scale(1.02); }
.wahl--bild label:has(input:checked) { background: var(--nacht); border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.haken-feld { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.haken-feld input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--charcoal); flex: none; }
.honig { position: absolute; left: -9999px; }
.formular-status { padding: 18px 20px; border: 1px solid var(--line); background: var(--feld); }
.formular-status:empty { display: none; }
.formular-status[data-art="fehler"] { border-color: var(--fehler); border-left-width: 2px; }
.formular-status[data-art="ok"] { border-color: var(--ok); border-left-width: 2px; }

/* Werkzeuge: helle Arbeitsfläche, dunkles Ergebnis */
.werkzeug { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(32px, 5vw, 80px); align-items: start; }
.werkzeug-eingaben { display: grid; gap: 40px; }
.werkzeug-block { border-top: 1px solid var(--charcoal); padding-top: 22px; display: grid; gap: 20px; }
fieldset.werkzeug-block { border: 0; border-top: 1px solid var(--charcoal); margin: 0; padding: 0; min-width: 0; }
fieldset.werkzeug-block > legend { float: left; width: 100%; padding: 24px 0 0; margin-bottom: 20px; }
fieldset.werkzeug-block > legend + * { clear: both; }
.block-titel, legend.block-titel, .gruppe > legend.block-titel { font-family: var(--serif); font-size: clamp(1.6rem, 1.35rem + .8vw, 2.1rem); font-weight: 400; letter-spacing: 0; text-transform: none; padding: 0; margin-bottom: 4px; }
.werkzeug-ergebnis { position: sticky; top: calc(var(--kopf-hoehe) + 24px); background: var(--nacht); color: var(--ivory); border-top: 1px solid var(--brass); padding: clamp(24px, 3vw, 40px); }
.werkzeug-ergebnis h2 { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.5rem); }
.werkzeug-ergebnis a { color: var(--ivory); }
.werkzeug-ergebnis .ergebnis-hinweis, .werkzeug-ergebnis .gedimmt, .werkzeug-ergebnis .leer-hinweis, .werkzeug-ergebnis p.klein { color: var(--nacht-text); }
.werkzeug-ergebnis .haken-feld input { accent-color: var(--brass); }
.werkzeug-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
@media (max-width: 960px) { .werkzeug { grid-template-columns: 1fr; } .werkzeug-ergebnis { position: static; } }
.ergebniszeilen { margin: 0; }
.ergebniszeilen > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ergebniszeilen dt { color: var(--gedimmt); }
.ergebniszeilen dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.ergebniszeilen .summe { border-bottom: 0; border-top: 1px solid var(--charcoal); margin-top: 8px; padding-top: 16px; align-items: baseline; }
.ergebniszeilen .summe dt { color: var(--charcoal); font-weight: 500; }
.ergebniszeilen .summe dd { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.werkzeug-ergebnis .ergebniszeilen > div, .rechner-ausgabe .ergebniszeilen > div { border-bottom-color: var(--linie-dunkel); }
.werkzeug-ergebnis .ergebniszeilen dt, .rechner-ausgabe .ergebniszeilen dt { color: var(--nacht-text); }
.werkzeug-ergebnis .ergebniszeilen .summe, .rechner-ausgabe .ergebniszeilen .summe { border-top-color: var(--brass); }
.werkzeug-ergebnis .ergebniszeilen .summe dt, .rechner-ausgabe .ergebniszeilen .summe dt { color: var(--ivory); }
.ergebnis-hinweis { font-size: .9rem; color: var(--gedimmt); margin: 18px 0 0; }
.leer-hinweis { color: var(--gedimmt); }

/* Transportrechner */
.rechner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(28px, 4vw, 64px); align-items: start; }
.rechner-ausgabe { position: sticky; top: calc(var(--kopf-hoehe) + 20px); background: var(--nacht); color: var(--ivory); padding: clamp(16px, 2vw, 28px); border-top: 1px solid var(--brass); }
.rechner-ausgabe .gedimmt, .rechner-ausgabe .klein, .rechner-ausgabe .offene-liste, .rechner-ausgabe .ergebnis-hinweis { color: var(--nacht-text); }
.rechner-ausgabe a { color: var(--ivory); }
.rechner-ausgabe .haken-feld input { accent-color: var(--brass); }
@media (max-width: 1000px) { .rechner { grid-template-columns: 1fr; } .rechner-ausgabe { position: static; } }
.rechner-karte { position: relative; aspect-ratio: 16 / 10; background: var(--nacht-2); border: 1px solid var(--linie-dunkel); overflow: hidden; }
.rechner-karte-hinweis { position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; padding: 28px; text-align: center; color: var(--nacht-text); }
.rechner-karte-hinweis p { margin: 0 auto; max-width: 42ch; }
.rechner-karte .maplibregl-map { position: absolute; inset: 0; }
.rechner-varianten { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.variante { border: 1px solid var(--linie-dunkel); background: var(--nacht-2); padding: 22px; display: grid; gap: 12px; align-content: start; }
.variante[data-gewaehlt="true"] { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.variante h2, .variante h3 { font-size: 1.6rem; font-weight: 500; margin: 0; }
.variante .ergebniszeilen > div { padding: 9px 0; font-size: .93rem; }
.variante .summe dd { font-size: 1.7rem; }
.strecken-info { margin: 18px 0 0; font-size: .95rem; color: var(--nacht-text); }
.rechner-ausgabe .individuell { background: rgba(243, 240, 232, .05); border-color: var(--brass); }
@media (max-width: 640px) { .rechner-varianten { grid-template-columns: 1fr; } .rechner-karte { aspect-ratio: 5 / 4; } }
.vorschlaege { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--charcoal); background: var(--feld); max-height: 320px; overflow-y: auto; }
.vorschlaege:empty { display: none; }
.vorschlaege li { padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--line); }
.vorschlaege li:last-child { border-bottom: 0; }
.vorschlaege li[aria-selected="true"], .vorschlaege li:hover { background: var(--ivory-tief); }
.vorschlaege small { display: block; color: var(--gedimmt); }
.ort-gewaehlt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--charcoal); color: var(--ivory); font-size: .95rem; }
.ort-gewaehlt button { background: none; border: 0; text-decoration: underline; cursor: pointer; font: inherit; color: inherit; padding: 4px; }
.kombi { position: relative; }
.adresse summary { cursor: pointer; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; padding: 4px 0; }
.offene-liste { columns: 2; column-gap: 32px; padding-left: 1.1em; font-size: .92rem; color: var(--gedimmt); }
@media (max-width: 640px) { .offene-liste { columns: 1; } }
.individuell { border: 1px solid var(--charcoal); background: var(--feld); padding: 22px 24px; margin-top: 24px; }
.individuell h2 { font-size: 1.6rem; margin-bottom: 8px; }
.maplibregl-ctrl-attrib { font-family: var(--sans); font-size: 11px; }

/* Ratgeber */
.seitenkopf--artikel { padding-bottom: clamp(56px, 7vw, 96px) !important; }
.artikel-kopf { padding-block: 0; }
.artikel-kopf h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5.2rem); max-width: 18ch; }
.artikel-kopf .vorspann { color: rgba(243, 240, 232, .9); max-width: 44ch; }
.artikel-meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 1.6rem; color: var(--nacht-text); font-size: .72rem; font-weight: 500; }
.artikel { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 120px); padding-block: var(--abstand); }
.toc { position: sticky; top: calc(var(--kopf-hoehe) + 28px); align-self: start; border-top: 1px solid var(--charcoal); padding-top: 18px; font-size: .95rem; }
.toc h2 { font-family: var(--sans); font-size: .7rem; font-weight: 500; margin-bottom: 14px; }
.toc ol { margin: 0; padding-left: 1.9em; }
.toc li { margin-bottom: 9px; }
.toc li::marker { color: var(--brass); font-family: var(--serif); }
.toc a { text-decoration-color: transparent; }
.toc a:hover { text-decoration-color: currentColor; }
.artikel-text { max-width: 68ch; }
.artikel-text h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); margin-top: 2.2em; }
.artikel-text h2:first-child { margin-top: 0; }
.artikel-text h3 { margin-top: 1.7em; }
.artikel-text ul, .artikel-text ol { padding-left: 1.3em; }
.artikel-text li { margin-bottom: .55em; }
.artikel-text li::marker { color: var(--brass); }
.artikel-text figure { margin: 2.4rem 0; }
.artikel-text figcaption { font-size: .88rem; color: var(--gedimmt); margin-top: 10px; }
@media (max-width: 960px) { .artikel { grid-template-columns: 1fr; } .toc { position: static; } }

.guide-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px clamp(24px, 3vw, 44px); }
.guide-karten li { display: flex; flex-direction: column; }
.guide-karten li > :last-child { margin-top: auto; }
.guide-karten .karte-bild { aspect-ratio: 4 / 3; margin-bottom: 24px; }
.guide-karten h3 { font-size: clamp(1.6rem, 1.35rem + .8vw, 2.1rem); font-weight: 400; }
.guide-karten h3 a { text-decoration: none; }
.guide-karten h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.guide-karten p { color: var(--gedimmt); }
@media (max-width: 900px) { .guide-karten { grid-template-columns: 1fr; } }
.dunkel .guide-karten p { color: var(--nacht-text); }

/* Checklisten mit drei Zuständen */
.checkliste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--charcoal); }
.check-zeile { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.check-nr { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--messing-text); font-variant-numeric: lining-nums tabular-nums; }
.check-text strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.check-text span { display: block; color: var(--gedimmt); font-size: .92rem; }
.status-wahl { display: inline-flex; border: 1px solid var(--rahmen); }
.status-wahl label { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 6px 14px; font-size: .78rem; font-weight: 500; letter-spacing: .06em; cursor: pointer; background: var(--feld); }
.status-wahl label + label { border-left: 1px solid var(--rahmen); }
.status-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.status-wahl label:has(input:checked) { background: var(--charcoal); color: var(--ivory); }
.status-wahl label:has(input[value="offen"]:checked) { background: var(--ivory-tief); color: var(--charcoal); }
.status-wahl label:has(input:focus-visible) { outline: 2px solid var(--charcoal); outline-offset: 2px; z-index: 1; }
@media (max-width: 720px) {
  .check-zeile { grid-template-columns: 36px minmax(0, 1fr); }
  .status-wahl { grid-column: 1 / -1; width: 100%; }
  .status-wahl label { flex: 1; justify-content: center; text-align: center; }
}
.fortschritt { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 18px 0; font-size: .97rem; }
.fortschritt strong { font-variant-numeric: tabular-nums; }
.aufgaben { padding-left: 1.9em; }
.aufgaben li { margin-bottom: .6em; }

/* Vergleich */
.vergleich-tabelle { min-width: 720px; margin-right: 16px; }
.vergleich-tabelle th[scope="row"] { width: 22%; font-family: var(--sans); font-size: .72rem; font-weight: 500; }
.vergleich-tabelle input, .vergleich-tabelle select, .vergleich-tabelle textarea { min-height: 44px; padding: 9px 11px; font-size: .95rem; }
.vergleich-tabelle textarea { min-height: 76px; }
.nachweis { display: block; margin-top: 6px; }
.scroll-hinweis { font-size: .86rem; color: var(--gedimmt); margin: 0 0 10px; }

/* Briefing */
.briefing { background: var(--feld); border: 1px solid var(--line); border-top: 1px solid var(--brass); padding: clamp(24px, 3vw, 44px); }
.briefing h2 { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.6rem); }
.briefing dl { margin: 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
.briefing dt, .briefing dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.briefing dt { color: var(--gedimmt); padding-right: 16px; font-size: .9rem; }
.briefing dd { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) { .briefing dl { grid-template-columns: 1fr; } .briefing dt { border-bottom: 0; padding-bottom: 0; } }
.schritte-anzeige { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; margin: 0 0 32px; font-size: .7rem; font-weight: 500; color: var(--gedimmt); }
.schritte-anzeige [aria-current] { color: var(--charcoal); border-bottom: 1px solid var(--brass); }

/* Akte */
.akte-eintraege { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.akte-eintrag { border: 1px solid var(--line); background: var(--feld); padding: 18px; display: grid; gap: 12px; }
.akte-eintrag-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.text-knopf { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .9rem; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.zeitleiste { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--brass); }
.zeitleiste li { position: relative; padding: 0 0 20px 22px; }
.zeitleiste li::before { content: ""; position: absolute; left: -4px; top: .6em; width: 7px; height: 7px; background: var(--brass); }

/* Kosten im Kaufbudget */
.kosten-position { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.kosten-position > label { display: block; font-size: .72rem; font-weight: 500; margin-bottom: 8px; }
.kosten-zeile { display: flex; gap: 16px; align-items: center; }
.kosten-zeile input[type="text"] { flex: 1 1 auto; }
.kosten-zeile .haken-feld { flex: none; margin: 0; }
.kosten-position .feld-hilfe { margin: 8px 0 0; }

/* Bewegung */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Druck */
.druck-kopf { display: none; }
@media print {
  @page { margin: 16mm 14mm; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .kopf, .fuss, .band, .krumen, .btn, .btn-reihe, .werkzeug-leiste, .sprung, .menue-knopf, .kein-druck, .rechner-karte, nav.toc,
  .kopf-hintergrund, .band-hintergrund, .bildband { display: none !important; }
  .nur-druck { display: block !important; }
  .seitenkopf, .held { background: none !important; color: #000 !important; min-height: 0 !important; padding: 0 0 6mm !important; }
  .seitenkopf::after, .held::after { display: none; }
  .abschnitt, .artikel-kopf { padding-block: 8mm; }
  .werkzeug, .rechner, .artikel, .raster-2 { display: block; }
  .werkzeug-ergebnis, .rechner-ausgabe { position: static; border: 1px solid #999; background: #fff; color: #000; break-inside: avoid; }
  .werkzeug-ergebnis *, .rechner-ausgabe *, .variante { color: #000 !important; background: #fff !important; }
  a { text-decoration: none; }
  .check-zeile, .ergebniszeilen > div, .akte-eintrag, tr { break-inside: avoid; }
  input, select, textarea { border: 0; border-bottom: 1px solid #999; background: none; min-height: 0; padding: 2px 0; }
  .status-wahl label { border: 1px solid #999; }
  .wahl-bild { display: none; }
  .druck-kopf { display: flex !important; justify-content: space-between; border-bottom: 1px solid #000; padding-bottom: 4mm; margin-bottom: 6mm; }
  .druck-kopf svg { height: 12mm; width: auto; }
}

/* Feinschliff nach erster Sichtprüfung */
body { font-size: 1.09rem; }
.held::after { background: linear-gradient(180deg, rgba(20, 23, 21, .6) 0%, rgba(20, 23, 21, 0) 20%, rgba(20, 23, 21, 0) 40%, rgba(20, 23, 21, .8) 82%, rgba(20, 23, 21, .94) 100%), linear-gradient(90deg, rgba(20, 23, 21, .88) 0%, rgba(20, 23, 21, .55) 34%, rgba(20, 23, 21, 0) 60%); }
.held .vorspann { max-width: 36ch; }
.bildband-inhalt > .btn-reihe { width: 100%; max-width: 38rem; justify-content: flex-end; }
.bildband--links .bildband-inhalt > .btn-reihe { justify-content: flex-start; }
.dunkel + .bildband, .bildband + .dunkel { border-top: 1px solid var(--linie-dunkel); }
@media (max-width: 700px) { .bildband-inhalt > .btn-reihe { justify-content: flex-start; } }
.seitenkopf > .krumen { padding-bottom: clamp(28px, 4vw, 56px); }
.rechner .wahl--bild { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rechner .wahl--bild .wahl-bild { aspect-ratio: 4 / 3; }
.rechner .wahl--bild label span { font-size: 1.15rem; }
.bildband--still { min-height: clamp(380px, 70vh, 760px); padding: 0; }
.bildband--still::after { background: linear-gradient(180deg, rgba(20, 23, 21, .25) 0%, rgba(20, 23, 21, 0) 30%, rgba(20, 23, 21, 0) 70%, rgba(20, 23, 21, .25) 100%); }
.wahl-bild { pointer-events: none; }

/* Mobil: Bild oben als Bühne, Text darunter auf Nacht */
@media (max-width: 700px) {
  .held, .seitenkopf--bild { display: block; min-height: 0; padding-top: 0 !important; }
  .held { padding-bottom: 56px; }
  .held > .kopf-hintergrund { position: relative; height: 68svh; min-height: 420px; }
  .seitenkopf--bild > .kopf-hintergrund { position: relative; height: 52svh; min-height: 340px; }
  .held::after, .seitenkopf--bild::after { inset: 0 0 auto 0; height: 68svh; min-height: 420px; background: linear-gradient(180deg, rgba(20, 23, 21, .7) 0%, rgba(20, 23, 21, 0) 26%, rgba(20, 23, 21, 0) 62%, rgba(20, 23, 21, 1) 100%); }
  .seitenkopf--bild::after { height: 52svh; min-height: 340px; }
  .held-inhalt { margin-top: -96px; }
  .held h1 { font-size: clamp(2.7rem, 11vw, 3.4rem); }
  .seitenkopf--bild > .krumen { display: none; }
  .seitenkopf--bild > .wrap:not(.krumen), .seitenkopf--bild > header { margin-top: -56px; }
  .seitenkopf--artikel.seitenkopf--bild > header { margin-top: -40px; }
}
main > .seitenkopf + .wrap, main > .seitenkopf + div.wrap { padding-block: clamp(56px, 7vw, 104px); }
[data-kaufbudget] .wahl--bild { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-kaufbudget] .wahl--bild label span { font-size: 1.1rem; }
@media (max-width: 520px) { [data-kaufbudget] .wahl--bild { grid-template-columns: 1fr; } }

/* Auszeichnungen ohne gesperrte Versalien (design-verbote.md) */
.dach { font-family: var(--serif); font-style: italic; font-size: 1.2rem; font-weight: 500; letter-spacing: 0; margin-bottom: .9rem; }
.btn { font-size: .95rem; letter-spacing: .01em; font-weight: 500; }
.btn--klein { font-size: .9rem; }
.nav-link { font-size: .95rem; font-weight: 400; }
.nav-anfrage { font-size: .9rem; }
.pfeil-link { font-size: .95rem; }
.krumen ol { font-size: .85rem; }
.feld > label, .feld > .label, .gruppe > legend, .kosten-position > label { font-size: .92rem; font-weight: 500; }
.tabelle thead th { font-size: .85rem; }
.fuss-titel, .toc h2 { font-family: var(--serif); font-style: italic; font-size: 1.2rem; font-weight: 500; }
.zwei-listen h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.artikel-meta, .schritte-anzeige { font-size: .9rem; }
.vergleich-tabelle th[scope="row"] { font-size: .9rem; font-weight: 500; }
.menue-knopf { font-size: .95rem; }
h4 { font-size: 1rem; }
.ablauf > li::before { font-size: 1.6rem; font-style: normal; }

/* Logo 3: Monogramm in Kartusche */
.logo-bild { height: 50px; }
.fuss-monogramm { height: 170px; }
@media (max-width: 420px) { .logo-bild { height: 42px; } }

/* Musterdossier des Scouts */
.dossier-seiten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.dossier-seite { margin: 0; }
.dossier-seite--gross { grid-column: span 3; }
.dossier-seite img { width: 100%; height: auto; display: block; border: 1px solid var(--linie-dunkel); }
.dossier-seite a { display: block; }
.dossier-seite p { margin: 10px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--nacht-text); }
@media (min-width: 1000px) { .dossier-seite--gross { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 640px) { .dossier-seiten { grid-template-columns: 1fr 1fr; } .dossier-seite--gross { grid-column: span 2; } }

/* Luxus-Recherche 05.10.2026: leiser, feiner, lesbarer */
h1 { font-size: clamp(2.5rem, 1.9rem + 3vw, 4.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
.held h1 { font-size: clamp(2.7rem, 2rem + 3.4vw, 5rem); }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.6rem); font-weight: 500; line-height: 1.12; }
h3 { font-weight: 500; }
body { font-size: 1.0625rem; line-height: 1.65; }
@media (min-width: 1000px) { body { font-size: 1.125rem; } }
main p, main li { max-width: 66ch; }
.tabelle li, .tabelle p, .wahl li, .leistungskarten p { max-width: none; }
.dach { font-family: var(--sans); font-style: normal; font-size: .9rem; font-weight: 500; letter-spacing: .01em; display: flex; align-items: center; gap: 14px; margin-bottom: 1.2rem; }
.dach::before { content: ""; flex: 0 0 32px; height: 1px; background: currentColor; opacity: .55; }
[style*="text-align:center"] .dach, .zentriert .dach { justify-content: center; }
.nav-tel { color: inherit; text-decoration: none; font-size: .95rem; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; padding: 10px 4px; }
.nav-tel:hover, .nav-tel:focus-visible { color: var(--messing-hell); }
@media (max-width: 1320px) and (min-width: 1180px) { .nav-tel { display: none; } }
@media (max-width: 1179px) { .nav-tel { margin-top: 24px; font-size: 1.1rem; padding: 12px 0; } }

/* Kaufbudget mit Importschätzung */
.zeile-zusatz { display: block; font-size: .85rem; margin-top: 2px; color: var(--gedimmt); }
.werkzeug-ergebnis .zeile-zusatz { color: var(--nacht-text); }
.zeile-zusatz a { color: inherit; }
.ergebniszeilen dt { min-width: 0; }
.eigene-werte > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 10px; }
.eigene-werte > summary::-webkit-details-marker { display: none; }
.eigene-werte > summary::after { content: "+"; margin-left: auto; font-family: var(--sans); font-weight: 400; }
.eigene-werte[open] > summary::after { content: "–"; }
.eigene-werte[open] > summary { margin-bottom: 1rem; }
.quellen { margin-top: 1.2rem; font-size: .88rem; }
.quellen summary { cursor: pointer; }
.quellen ul { margin: .8rem 0 0; padding-left: 1.1rem; overflow-wrap: anywhere; }
.quellen li { margin-bottom: .35rem; }
[data-kaufbudget] .haken-feld { margin-top: 1rem; }

/* ==========================================================================
   Veredelung 06.10.2026: helle Bildwelt, Magazin-Rhythmus
   ========================================================================== */

/* Bilder nie als leere Fläche: warmer Steinton als Platzhalter */
picture.bild, .bild, .kopf-hintergrund, .band-hintergrund, .auftakt-hintergrund { background-color: #DCD5C6; }
.bild img { display: block; }

/* Knöpfe als Familie: ruhige Satzschrift, gut lesbar */
.btn { font-size: .95rem; letter-spacing: .01em; min-height: 52px; padding: .9rem 1.9rem; }
.pfeil-link { font-size: .95rem; letter-spacing: .01em; }

/* Kopf über hellem Auftakt: dunkle Schrift, bis die Leiste fest wird */
.typ-start .kopf:not(.kopf--fest):not(.nav-offen) { color: var(--charcoal); }
.typ-start .kopf:not(.kopf--fest):not(.nav-offen) .nav-anfrage { color: var(--charcoal) !important; border-color: rgba(32, 36, 33, .5) !important; }
.typ-start .kopf:not(.kopf--fest):not(.nav-offen) .nav-anfrage:hover { background: var(--charcoal) !important; color: var(--ivory) !important; }
.typ-start .kopf:not(.kopf--fest):not(.nav-offen) .nav-link[aria-current] { color: var(--messing-text); }
.typ-start .kopf:not(.kopf--fest):not(.nav-offen) .nav-tel:hover { color: var(--messing-text); }

/* Auftakt: Fahrzeug im Tageslicht, Typografie auf der Steinwand */
.auftakt { position: relative; min-height: max(660px, min(100svh, 980px)); display: flex; align-items: center; overflow: hidden; background: var(--ivory); color: var(--charcoal); }
.auftakt-bild { position: absolute; inset: 0; }
.auftakt-hintergrund { position: absolute; inset: 0; display: block; }
.auftakt-hintergrund img { width: 100%; height: 100%; object-fit: cover; }
.auftakt-inhalt { position: relative; z-index: 1; padding-top: calc(var(--kopf-hoehe) + 24px); padding-bottom: 72px; }
.auftakt h1 { font-size: clamp(2.9rem, 1.4rem + 3.9vw, 5.6rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.015em; margin: 0 0 .5em; max-width: none; }
.auftakt h1 span { display: block; }
.auftakt-satz { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: #2E322F; max-width: 31ch; margin: 0; }
.auftakt-wege { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }
.auftakt-wege .btn--linie { background: rgba(243, 240, 232, .55); }
@media (min-width: 701px) {
  .auftakt-inhalt > * { max-width: min(46vw, 640px); }
}
@media (max-width: 700px) {
  .auftakt { display: block; min-height: 0; }
  .auftakt-bild { position: relative; height: 66svh; min-height: 440px; }
  .auftakt-inhalt { padding-top: 36px; padding-bottom: 56px; }
  .auftakt h1 { font-size: clamp(2.5rem, 10.4vw, 3.2rem); }
  .auftakt-wege .btn { flex: 1 1 100%; }
}

/* Suche und Verkauf: zwei abgestimmte Motive, das zweite versetzt */
.doppel { padding-bottom: clamp(64px, 8vw, 128px); }
.doppel-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 104px); align-items: start; }
.doppel-teil--versetzt { margin-top: clamp(80px, 12vw, 200px); }
.doppel-bild { display: block; overflow: hidden; margin-bottom: 32px; }
.doppel-bild .bild { aspect-ratio: 6 / 5; }
.doppel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.doppel-bild:hover img { transform: scale(1.025); }
.doppel-teil h3 { font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.7rem); font-weight: 500; line-height: 1.1; margin-bottom: .5em; max-width: 18ch; }
.doppel-teil h3 a { text-decoration: none; }
.doppel-teil p { color: var(--gedimmt); max-width: 44ch; }
@media (max-width: 760px) {
  .doppel-raster { grid-template-columns: 1fr; gap: 72px; }
  .doppel-teil--versetzt { margin-top: 0; }
  .doppel-bild .bild { aspect-ratio: 4 / 3; }
}

/* Details: Text und drei Nahaufnahmen */
.details-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.details-text h2 { max-width: 12ch; }
.details-text p { color: var(--gedimmt); max-width: 36ch; }
.details-bilder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); }
.details-bilder li:nth-child(2) { transform: translateY(clamp(20px, 3vw, 48px)); }
.details-bilder .bild { aspect-ratio: 4 / 5; }
.details-bilder img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .details-raster { grid-template-columns: 1fr; }
  .details-bilder li:nth-child(2) { transform: none; }
}

/* Weitere Leistungen kompakt */
.klein-titel { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.9rem); margin-bottom: 1.6rem; }
.kompakt { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.kompakt > li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding-top: 28px; align-items: start; }
.kompakt-bild { display: block; }
.kompakt-bild .bild { aspect-ratio: 1 / 1; }
.kompakt-bild img { width: 100%; height: 100%; object-fit: cover; }
.kompakt h3 { font-size: 1.45rem; font-weight: 500; margin: 0 0 .3em; }
.kompakt h3 a { text-decoration: none; }
.kompakt p { color: var(--gedimmt); font-size: 1rem; margin: 0; }
@media (max-width: 1000px) {
  .kompakt { grid-template-columns: 1fr; }
  .kompakt > li { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .kompakt > li { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; } }

/* Höhepunkt: ein Motiv, eine Aussage */
.hoehepunkt { position: relative; min-height: clamp(560px, 92vh, 980px); display: flex; align-items: flex-end; background: var(--nacht); color: var(--ivory); overflow: hidden; }
.hoehepunkt-bild { position: absolute; inset: 0; }
.hoehepunkt-bild .band-hintergrund img { object-position: 42% 60% !important; }
.hoehepunkt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 23, 21, 0) 40%, rgba(20, 23, 21, .78) 100%); pointer-events: none; }
.hoehepunkt-text { position: relative; z-index: 1; padding-block: 0 clamp(56px, 8vw, 112px); }
.hoehepunkt-text h2 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5rem); margin-bottom: .35em; }
.hoehepunkt-text .vorspann { max-width: 34ch; color: var(--ivory); }
.hoehepunkt-text p:not(.vorspann) { max-width: 52ch; color: #D4D0C5; }
@media (max-width: 700px) {
  .hoehepunkt { display: block; min-height: 0; background: var(--nacht); }
  .hoehepunkt-bild { position: relative; height: 56svh; min-height: 360px; }
  .hoehepunkt::after { display: none; }
  .hoehepunkt-text { padding-block: 40px 64px; }
}

/* Ansprechpartner hell, persönlich */
.person-abschnitt { background: var(--ivory); color: var(--charcoal); }
.person-abschnitt .person { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.person-abschnitt .person-bild { aspect-ratio: 4 / 5; background: #DCD5C6; max-width: 520px; }
.person-zitat { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.25; margin: .2em 0 1em; max-width: 24ch; }
.person-text p:not(.person-zitat) { color: var(--gedimmt); max-width: 52ch; }
.person-text .btn-reihe { align-items: center; gap: 20px 28px; }
@media (max-width: 760px) { .person-abschnitt .person { grid-template-columns: 1fr; } }

/* Wissen: ein Aufmacher, zwei kleinere Zugänge */
.wissen-raster { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.wissen-haupt-bild { display: block; overflow: hidden; margin-bottom: 28px; }
.wissen-haupt-bild .bild { aspect-ratio: 16 / 9; }
.wissen-haupt-bild img { width: 100%; height: 100%; object-fit: cover; }
.wissen-haupt h3 { font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem); font-weight: 500; margin-bottom: .45em; }
.wissen-haupt h3 a { text-decoration: none; }
.wissen-haupt p { color: var(--gedimmt); max-width: 54ch; }
.wissen-neben { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.wissen-neben > li { border-top: 1px solid var(--line); }
.wissen-neben > li > a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 22px 0; text-decoration: none; align-items: start; }
.wissen-neben-bild .bild { aspect-ratio: 1 / 1; }
.wissen-neben-bild img { width: 100%; height: 100%; object-fit: cover; }
.wissen-neben-text strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.15; margin-bottom: 4px; }
.wissen-neben-text > span { display: block; color: var(--gedimmt); font-size: .98rem; }
.wissen-neben > li > a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.wissen-neben-links { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 24px; }
@media (max-width: 900px) { .wissen-raster { grid-template-columns: 1fr; } }

/* Feinschliff Auftakt nach Sichtprüfung */
.typ-start .kopf:not(.kopf--fest):not(.nav-offen) { background: rgb(243, 240, 232); border-bottom-color: rgba(32, 36, 33, .08); }
.typ-start .kopf:not(.kopf--fest):not(.nav-offen) .menue-knopf { color: var(--charcoal); }
.auftakt h1 { font-size: clamp(2.1rem, 1rem + 3.4vw, 4.6rem); }
.auftakt .auftakt-satz { max-width: 30ch; }
@media (min-width: 701px) {
  .auftakt-inhalt > * { max-width: min(38vw, 600px); }
  .auftakt-hintergrund img { object-position: 72% 60% !important; }
}
@media (max-width: 700px) {
  .auftakt h1 { font-size: clamp(2.05rem, 9.1vw, 3rem); }
  .hoehepunkt-bild { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .hoehepunkt-bild .band-hintergrund { position: absolute; inset: 0; }
}
/* Höhepunkt: Bild ganz, Aussage darunter */
.hoehepunkt { display: block; min-height: 0; }
.hoehepunkt::after { display: none; }
.hoehepunkt-bild { position: relative; height: auto; min-height: 0; aspect-ratio: 21 / 9; max-height: 92vh; width: 100%; }
.hoehepunkt-bild .band-hintergrund { position: absolute; inset: 0; }
.hoehepunkt-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(40px, 6vw, 112px); align-items: start; padding-block: clamp(48px, 6vw, 96px) clamp(72px, 9vw, 136px); }
.hoehepunkt-text h2 { margin: 0; }
.hoehepunkt-text .vorspann { margin-top: .4em; }
@media (max-width: 860px) { .hoehepunkt-text { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .hoehepunkt-bild { aspect-ratio: 3 / 2; } .hoehepunkt-text { padding-block: 40px 64px; } }
.logo-bild { height: 56px; }
@media (max-width: 420px) { .logo-bild { height: 46px; } }

/* Transportrechner als Produkt: kompakter Kopf, drei Schritte */
.seitenkopf--kompakt { padding-block: calc(var(--kopf-hoehe) + clamp(20px, 3vw, 40px)) clamp(32px, 4vw, 48px) !important; }
.rechner-kopf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.rechner-kopf h1 { font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.7rem); margin-bottom: .3em; }
.rechner-kopf .vorspann { max-width: 48ch; }
.rechner-kopf-bild { justify-self: end; width: 100%; max-width: 460px; }
.rechner-kopf-bild .bild { aspect-ratio: 3 / 2; }
.rechner-kopf-bild img { width: 100%; height: 100%; object-fit: cover; }
.schrittfolge { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; }
.schrittfolge li { display: flex; align-items: center; }
.schrittfolge li + li::before { content: ""; width: clamp(20px, 3vw, 48px); height: 1px; background: var(--messing-hell); margin: 0 14px; opacity: .7; }
.schrittfolge a { color: var(--ivory); text-decoration: none; font-size: .98rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.schrittfolge a:hover, .schrittfolge a:focus-visible { border-bottom-color: var(--messing-hell); }
@media (max-width: 760px) { .rechner-kopf { grid-template-columns: 1fr; } .rechner-kopf-bild { display: none; } }
@media (max-width: 480px) { .schrittfolge li + li::before { width: 14px; margin: 0 8px; } .schrittfolge a { font-size: .9rem; } }

.rechner-bereich { padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 112px); }
.rechner--schritte { display: block; }
.rechner--schritte > form { display: grid; gap: clamp(16px, 2vw, 24px); }
.schritt { background: var(--feld); border-top: 1px solid var(--charcoal); padding: clamp(22px, 3.4vw, 48px); scroll-margin-top: calc(var(--kopf-hoehe) + 16px); }
.schritt-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 18px; margin-bottom: clamp(20px, 2.6vw, 32px); border-bottom: 1px solid var(--line); }
.schritt-kopf h2 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); font-weight: 500; margin: 0; }
.schritt-kopf p { margin: 0; color: var(--gedimmt); font-size: 1rem; }
.schritt .gruppe + .gruppe, .schritt .gruppe + details, .schritt details + .gruppe { margin-top: clamp(24px, 3vw, 36px); }
.schritt legend.block-titel { font-size: 1.35rem; font-weight: 500; margin-bottom: 14px; }
.strecke-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.strecke-felder { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; align-content: start; }
.strecke-raster .rechner-karte { aspect-ratio: auto; min-height: 340px; height: 100%; }
.strecken-info { margin: 20px 0 0; padding: 14px 18px; background: var(--ivory-tief); border-left: 2px solid var(--brass); color: var(--charcoal); font-size: 1rem; }
@media (max-width: 900px) { .strecke-raster { grid-template-columns: 1fr; } .strecke-raster .rechner-karte { min-height: 0; aspect-ratio: 4 / 3; } }
.wahl--paar { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.wahl--paar .wahl-bild { aspect-ratio: 3 / 2; }
@media (max-width: 520px) { .wahl--paar { grid-template-columns: 1fr !important; } }
.weitere-angaben { border: 0; border-top: 1px solid var(--line); padding-top: 18px; }
.weitere-angaben > summary { cursor: pointer; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; list-style: none; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.weitere-angaben > summary::-webkit-details-marker { display: none; }
.weitere-angaben > summary::after { content: "+"; margin-left: auto; font-family: var(--sans); font-size: 1.2rem; }
.weitere-angaben[open] > summary::after { content: "–"; }
.weitere-angaben > summary .opt { font-family: var(--sans); font-size: .92rem; }
.weitere-angaben[open] > summary { margin-bottom: 18px; }
.weitere-angaben > * + * { margin-top: 16px; }

.rechner--schritte .rechner-ausgabe { position: static; margin-top: clamp(16px, 2vw, 24px); padding: clamp(22px, 3.4vw, 48px); }
.rechner-ausgabe .schritt-kopf { border-bottom-color: var(--linie-dunkel); }
.rechner-ausgabe .schritt-kopf p { color: var(--nacht-text); }
.rechner--schritte .rechner-varianten { gap: clamp(14px, 2vw, 24px); margin-top: 0; }
.variante { padding: clamp(18px, 2.4vw, 28px); }
.variante-kopf { display: flex; align-items: center; gap: 16px; padding-bottom: 6px; }
.variante-bild { flex: 0 0 auto; width: 84px; aspect-ratio: 3 / 2; overflow: hidden; }
.variante-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.variante .ergebniszeilen > div.leer { border-bottom: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 14px; }
.variante .ergebniszeilen > div.leer dt { color: var(--nacht-text); font-size: .95rem; }
.variante .ergebniszeilen > div.leer dd { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ivory); text-align: left; }
.rechner-ausgabe .block-titel { font-size: 1.35rem; margin: 24px 0 8px; }
.rechner-ausgabe .individuell h3 { font-size: 1.5rem; margin-bottom: 8px; }
.erklaerungen { display: grid; gap: 0; }
.schritt.rechner-ausgabe { background: var(--nacht); color: var(--ivory); border-top: 1px solid var(--brass); }
.schritt.rechner-ausgabe .schritt-kopf h2 { color: var(--ivory); }
.seitenkopf--kompakt > .krumen { padding-bottom: 14px; }
.seitenkopf--kompakt .dach { display: none; }
.rechner-kopf h1 { font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.3rem); }
.rechner-kopf .vorspann { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); margin-bottom: 0; }
.schrittfolge { margin-top: 22px; }
.rechner-kopf-bild { max-width: 400px; }
.schritt .zweispaltig + fieldset.gruppe, .schritt fieldset.gruppe fieldset.gruppe { margin-top: 22px; }
.schritt fieldset.gruppe fieldset.gruppe > legend { font-weight: 500; font-size: .95rem; margin-bottom: 10px; }
.strecke-raster .rechner-karte { background: #E4DED1; border: 1px solid var(--line); }
.strecke-raster .rechner-karte-hinweis { color: var(--charcoal); }
.strecke-raster .rechner-karte-hinweis p:first-child strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.strecke-raster .rechner-karte-hinweis p:nth-child(2) { color: var(--gedimmt); font-size: .98rem; }
main p.strecken-info { max-width: none; }

/* Ratgeber wie im Magazin */
.kopf-hell .kopf:not(.kopf--fest):not(.nav-offen) { color: var(--charcoal); background: rgb(243, 240, 232); border-bottom-color: rgba(32, 36, 33, .08); }
.kopf-hell .kopf:not(.kopf--fest):not(.nav-offen) .nav-anfrage { color: var(--charcoal) !important; border-color: rgba(32, 36, 33, .5) !important; }
.kopf-hell .kopf:not(.kopf--fest):not(.nav-offen) .nav-anfrage:hover { background: var(--charcoal) !important; color: var(--ivory) !important; }
.kopf-hell .kopf:not(.kopf--fest):not(.nav-offen) .menue-knopf { color: var(--charcoal); }
.kopf-hell .kopf:not(.kopf--fest):not(.nav-offen) .nav-link[aria-current] { color: var(--messing-text); }
.artikel-auftakt { background: var(--ivory); color: var(--charcoal); padding-top: calc(var(--kopf-hoehe) + clamp(16px, 2vw, 28px)); }
.artikel-auftakt > .krumen { color: var(--gedimmt); padding-bottom: 8px; }
.artikel-auftakt > .krumen a { color: var(--gedimmt); }
.artikel-auftakt .artikel-kopf { padding-block: clamp(24px, 4vw, 56px) clamp(28px, 3vw, 44px) !important; }
.artikel-auftakt .artikel-kopf h1 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); max-width: 16ch; color: var(--charcoal); }
.artikel-auftakt .artikel-kopf .vorspann { color: #3A3E3B; max-width: 52ch; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.artikel-auftakt .artikel-meta { color: var(--gedimmt); }
.artikel-aufmacher { padding-bottom: clamp(40px, 5vw, 72px); }
.artikel-aufmacher .bild { aspect-ratio: 16 / 8; }
.artikel-aufmacher img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .artikel-aufmacher .bild { aspect-ratio: 4 / 3; } }
.artikel-figur { margin: clamp(32px, 4vw, 56px) 0; }
.artikel-figur .bild { aspect-ratio: 3 / 2; }
.artikel-figur img { width: 100%; height: 100%; object-fit: cover; }
.artikel-figur--hoch .bild { aspect-ratio: 4 / 3; }
.artikel-figur--paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.artikel-figur--paar .bild { aspect-ratio: 4 / 5; }
.artikel-figur--paar figcaption { grid-column: 1 / -1; }
.artikel-figur figcaption { font-size: .92rem; color: var(--gedimmt); margin-top: 12px; max-width: 60ch; }

/* Fotoliste: angenehm bedienbar */
.status-wahl label { min-height: 46px; padding: 8px 16px; font-size: .88rem; letter-spacing: 0; }
.artikel-auftakt .artikel-kopf { padding-top: clamp(16px, 2.4vw, 36px) !important; }
.artikel-auftakt .krumen ol { color: var(--gedimmt); }
.artikel-auftakt .krumen a:hover { color: var(--charcoal); }
@media (max-width: 420px) { .status-wahl label { padding: 8px 6px; font-size: .8rem; min-width: 0; } }

/* Seitenköpfe mit Bild als Magazin-Doppelseite: Text auf Nacht, Bild hell und unverdeckt */
body:has(.seitenkopf--bild) .kopf { background: rgba(20, 23, 21, .97); border-bottom-color: var(--linie-dunkel); }
@media (min-width: 901px) {
  .seitenkopf--bild {
    --links: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
    min-height: clamp(600px, 84vh, 860px); padding: var(--kopf-hoehe) 0 0 !important; align-items: stretch;
  }
  .seitenkopf--bild::after { display: none; }
  .seitenkopf--bild > .kopf-hintergrund { position: relative; inset: auto; grid-column: 2; grid-row: 1 / span 2; height: 100%; min-height: 100%; }
  .seitenkopf--bild > .krumen { grid-column: 1; grid-row: 1; max-width: none; margin: 0; padding: 24px clamp(28px, 4vw, 64px) 0 var(--links); }
  .seitenkopf--bild > .wrap:not(.krumen), .seitenkopf--bild > header { grid-column: 1; grid-row: 2; max-width: none; margin: 0; align-self: end; padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 64px) clamp(48px, 6vw, 88px) var(--links); }
  .seitenkopf--bild .seitenkopf-raster { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .seitenkopf--bild h1 { font-size: clamp(2.5rem, 1.4rem + 2.6vw, 4.2rem); }
  .seitenkopf--bild .vorspann { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); }
  .seitenkopf--bild .eckdaten { background: transparent; padding: 0; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .seitenkopf--bild::after { background: linear-gradient(180deg, rgba(20, 23, 21, .55) 0%, rgba(20, 23, 21, .25) 30%, rgba(20, 23, 21, .85) 100%); }
}
@media (max-width: 700px) {
  .seitenkopf--bild::after { background: linear-gradient(180deg, rgba(20, 23, 21, 0) 70%, rgba(20, 23, 21, .9) 100%); }
}

/* ==========================================================================
   Werkzeuge und Suche 06.10.2026: Beratung statt Formular
   ========================================================================== */
:root { --gruen: #263C33; --gruen-2: #2E4A3F; --gruen-text: #D9E2DC; --messing-linie: rgba(165, 138, 89, .55); }

/* Persönliche Fahrzeugsuche */
.suche-auftakt { background: var(--ivory); padding: calc(var(--kopf-hoehe) + clamp(32px, 5vw, 72px)) 0 clamp(64px, 8vw, 120px); }
.suche-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(16px, 2.2vw, 32px); }
.suche-text { grid-column: 1 / span 5; grid-row: 1; align-self: center; }
.suche-text h1 { font-size: clamp(2.6rem, 1.5rem + 3.2vw, 4.7rem); font-weight: 500; line-height: 1.04; margin: 0 0 .4em; }
.suche-unterzeile { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); line-height: 1.3; color: var(--charcoal); margin: 0 0 1em; max-width: 26ch; }
.suche-text > p:not(.suche-unterzeile) { color: var(--gedimmt); max-width: 44ch; }
.suche-text .btn-reihe { align-items: center; gap: 18px 28px; }
.suche-hauptbild { grid-column: 6 / -1; grid-row: 1; margin: 0; }
.suche-hauptbild .bild { aspect-ratio: 3 / 2; }
.suche-detail { grid-column: 2 / span 3; grid-row: 2; margin: 0; }
.suche-detail .bild { aspect-ratio: 4 / 5; }
.suche-hauptbild img, .suche-detail img, .dossier-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.suche-fakten { grid-column: 6 / -1; grid-row: 2; align-self: end; border-top: 1px solid var(--charcoal); padding-top: 24px; }
.suche-fakten-satz { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); line-height: 1.3; max-width: 30ch; margin: 0 0 24px; }
.suche-fakten-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 12px; }
.suche-fakten-liste dt { font-size: .88rem; color: var(--gedimmt); }
.suche-fakten-liste dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
@media (max-width: 900px) {
  .suche-raster { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .suche-text, .suche-hauptbild { grid-column: 1 / -1; grid-row: auto; }
  .suche-detail { grid-column: 1 / span 2; grid-row: auto; align-self: start; }
  .suche-fakten { grid-column: 3 / -1; grid-row: auto; align-self: start; padding-top: 16px; }
  .suche-fakten-liste { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .suche-hauptbild { margin-inline: calc(var(--rand) * -1); }
  .suche-detail { grid-column: 1 / span 3; }
  .suche-fakten { grid-column: 4 / -1; }
  .suche-fakten-satz { font-size: 1.15rem; }
  .suche-fakten-liste dd { font-size: 1.1rem; }
}
.suche-abschnittstitel { margin-bottom: clamp(32px, 4vw, 56px); }
.aspekte { list-style: none; margin: 0; padding: 0; }
.aspekte > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(32px, 5vw, 96px); padding: clamp(28px, 3.6vw, 48px) 0; border-top: 1px solid var(--line); }
.aspekte > li:last-child { border-bottom: 1px solid var(--line); }
.aspekte h3 { font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.4rem); font-weight: 500; margin: 0; max-width: 16ch; }
.aspekt-aussage { font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.3; margin: 0 0 .7em; color: var(--charcoal); }
.aspekte p:not(.aspekt-aussage) { color: var(--gedimmt); margin: 0; }
@media (max-width: 760px) { .aspekte > li { grid-template-columns: 1fr; } }

/* Dossier-Vorschau als echte Komponente */
.dossier { background: var(--feld); border: 1px solid var(--line); }
.dossier-muster-hinweis { margin: 0; max-width: none; padding: 12px clamp(20px, 3vw, 36px); background: var(--gruen); color: var(--gruen-text); font-size: .92rem; }
.dossier-muster-hinweis strong { color: var(--ivory); font-weight: 500; }
.dossier-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
.dossier-bild { grid-column: 1 / span 5; grid-row: 1 / span 2; margin: 0; position: relative; }
.dossier-bild .bild { height: 100%; min-height: 320px; }
.dossier-bild figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20, 23, 21, .78); color: var(--ivory); font-size: .78rem; padding: 4px 10px; }
.dossier-kopf { grid-column: 6 / -1; padding: clamp(22px, 3vw, 40px) clamp(20px, 3vw, 40px) 12px; }
.dossier-art { font-size: .9rem; color: var(--gedimmt); margin: 0 0 6px; }
.dossier-kopf h3 { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); font-weight: 500; margin: 0 0 18px; }
.dossier-eckdaten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.dossier-eckdaten dt { font-size: .85rem; color: var(--gedimmt); }
.dossier-eckdaten dd { margin: 2px 0 0; font-weight: 500; }
.dossier-teil { padding: clamp(20px, 2.6vw, 32px) clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); }
.dossier-teil h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin: 0 0 14px; }
.dossier-passung { grid-column: 6 / -1; border-top: 0; padding-top: 8px; }
.dossier-passung dl { margin: 0; display: grid; gap: 10px; }
.dossier-passung dl > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dossier-passung dt { color: var(--gedimmt); font-size: .95rem; }
.dossier-passung dd { margin: 0; font-size: .95rem; }
.marke { display: inline-block; min-width: 92px; margin-right: 10px; padding: 2px 10px; border: 1px solid currentColor; font-size: .8rem; font-weight: 500; text-align: center; }
.marke--passt { color: var(--gruen); }
.marke--abweichung { color: var(--messing-text); }
.marke--offen { color: var(--gedimmt); border-style: dashed; }
.dossier-raster > .dossier-teil:nth-of-type(3) { grid-column: 1 / span 4; }
.dossier-raster > .dossier-teil:nth-of-type(4) { grid-column: 5 / span 4; border-left: 1px solid var(--line); }
.dossier-schritt { grid-column: 9 / -1; background: var(--gruen); color: var(--ivory); border-top-color: var(--gruen); }
.dossier-schritt h4 { color: var(--ivory); }
.dossier-schritt p { color: var(--gruen-text); margin: 0; }
.dossier-nachweise, .dossier-fragen { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dossier-nachweise li { font-size: .97rem; }
.nachweis-art { display: block; font-size: .8rem; font-weight: 500; color: var(--gruen); margin-bottom: 2px; }
.nachweis-art--angabe { color: var(--messing-text); }
.dossier-fragen li { font-size: .97rem; padding-left: 18px; position: relative; }
.dossier-fragen li::before { content: "?"; position: absolute; left: 0; top: 0; font-family: var(--serif); color: var(--messing-text); }
@media (max-width: 900px) {
  .dossier-raster { grid-template-columns: 1fr; }
  .dossier-raster > * { grid-column: 1 / -1 !important; grid-row: auto !important; border-left: 0 !important; }
  .dossier-bild .bild { min-height: 0; aspect-ratio: 3 / 2; }
  .dossier-passung { border-top: 0; }
  .dossier-passung dl > div { grid-template-columns: 1fr; gap: 4px; }
}
.ablauf--kompakt > li { padding-block: 14px; }
.aspekte > li, .dossier li, .wissen-neben > li, .kompakt > li, .schrittfolge li { max-width: none; }
.dossier-raster > .dossier-teil:nth-of-type(3), .dossier-raster > .dossier-teil:nth-of-type(4) { grid-column: auto; border-left: 0; }
.dossier-nachweise-teil { grid-column: 1 / span 5 !important; }
.dossier-offen-teil { grid-column: 6 / span 4 !important; border-left: 1px solid var(--line) !important; }
.dossier-schritt { grid-column: 10 / -1 !important; }
.suche-detail { grid-column: 1 / span 4; }
#umfang-titel ~ .preisblock .preisblock-wert, .raster-2 .preisblock .preisblock-wert { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.2; }
@media (max-width: 900px) { .suche-detail { grid-column: 1 / span 2; } .dossier-offen-teil { border-left: 0 !important; } }
@media (max-width: 560px) { .suche-detail { grid-column: 1 / span 3; } }

/* Geführte Suchanfrage */
.sa { background: var(--ivory); padding: calc(var(--kopf-hoehe) + clamp(28px, 4vw, 56px)) 0 clamp(72px, 9vw, 128px); }
.sa-kopf { max-width: 760px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.sa-kopf h1 { font-size: clamp(2.4rem, 1.5rem + 2.8vw, 4.2rem); font-weight: 500; margin: 0 0 .3em; }
.sa-einleitung { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.35; color: #3A3E3B; max-width: 40ch; margin: 0; }
.sa-schritte { list-style: none; margin: 0 0 clamp(20px, 2.4vw, 32px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sa-schritte li { max-width: none; }
.sa-schritte button { width: 100%; text-align: left; background: none; border: 0; border-top: 2px solid transparent; margin-top: -1px; padding: 14px 12px 6px 0; font: 500 .98rem/1.3 var(--sans); color: var(--gedimmt); cursor: pointer; }
.sa-schritte button[aria-current="step"] { color: var(--charcoal); border-top-color: var(--brass); }
.sa-schritte li[data-erledigt="true"] button { color: var(--charcoal); }
.sa-schritte li[data-erledigt="true"] button::after { content: " · erledigt"; color: var(--messing-text); font-weight: 400; font-size: .85rem; }
.sa-schritte button:disabled { cursor: default; color: #8A877F; }
.sa-schritte button:not(:disabled):hover { color: var(--charcoal); }
.sa-raster { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.sa-form { background: var(--feld); border-top: 1px solid var(--charcoal); padding: clamp(22px, 3.4vw, 48px); }
.sa-schritt { border: 0; margin: 0; padding: 0; min-width: 0; }
.sa-frage { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 500; margin: 0 0 clamp(20px, 2.4vw, 32px); outline: none; }
.sa-segmente { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.sa-segment { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.sa-segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sa-segment .wahl-bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; pointer-events: none; background: #DCD5C6; }
.sa-segment-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; padding: 12px 14px 2px; }
.sa-segment small { padding: 0 14px 14px; color: var(--gedimmt); font-size: .86rem; line-height: 1.4; }
.sa-segment:hover { border-color: var(--rahmen); }
.sa-segment:has(input:checked) { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.sa-segment:has(input:checked)::before { content: "Gewählt"; position: absolute; top: 10px; left: 10px; background: var(--charcoal); color: var(--ivory); font-size: .78rem; font-weight: 500; padding: 3px 10px; z-index: 1; }
.sa-segment:has(input:checked) .sa-segment-name { box-shadow: inset 0 2px 0 var(--brass); }
.sa-segment:has(input:focus-visible) { outline: 2px solid var(--charcoal); outline-offset: 3px; }
@media (max-width: 760px) { .sa-segmente { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sa-felder { display: grid; gap: 18px; }
.sa-offen { margin-top: 4px; }
.sa-frageblock { margin-bottom: clamp(22px, 2.6vw, 32px); }
.sa-unterfrage { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin: 0 0 12px; max-width: none; }
.sa-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.sa-wahl--schmal { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sa-wahl label { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.sa-wahl input, .sa-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sa-wahl label span { font-weight: 500; }
.sa-wahl label small { color: var(--gedimmt); font-size: .86rem; }
.sa-wahl label:hover, .sa-chips label:hover { border-color: var(--rahmen); }
.sa-wahl label:has(input:checked) { border-color: var(--charcoal); background: var(--ivory); box-shadow: inset 3px 0 0 var(--brass); }
.sa-wahl label:has(input:checked) span::after { content: " · gewählt"; font-weight: 400; color: var(--messing-text); font-size: .85rem; }
.sa-wahl label:has(input:focus-visible), .sa-chips label:has(input:focus-visible) { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.sa-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sa-chips label { position: relative; padding: 10px 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .95rem; }
.sa-chips label:has(input:checked) { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.sa-folge { margin-top: 14px; }
.sa-betrag { position: relative; max-width: 420px; }
.sa-betrag input { width: 100%; font-family: var(--serif); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); padding: 12px 56px 12px 18px; min-height: 72px; }
.sa-waehrung { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.8rem; color: var(--gedimmt); }
.sa-betrag input:disabled { background: var(--ivory-tief); color: var(--gedimmt); }
.sa-vorschlaege { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.sa-vorschlaege button { background: transparent; border: 1px solid var(--rahmen); padding: 8px 14px; font: 500 .9rem var(--sans); color: var(--charcoal); cursor: pointer; }
.sa-vorschlaege button[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.sa-leiste { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); }
.sa-leiste [data-weiter], .sa-leiste [data-senden] { grid-column: 3; }
.sa-leiste [data-zurueck] { grid-column: 1; }
.sa-status { grid-column: 2; margin: 0; font-size: .95rem; color: var(--gedimmt); max-width: none; }
.sa-status[data-art="fehler"] { color: var(--fehler); }
@media (max-width: 640px) {
  .sa-leiste { grid-template-columns: 1fr 1fr; }
  .sa-status { grid-column: 1 / -1; grid-row: 1; }
  .sa-leiste [data-zurueck] { grid-column: 1; grid-row: 2; }
  .sa-leiste [data-weiter], .sa-leiste [data-senden] { grid-column: 2; grid-row: 2; }
  .sa-leiste .btn { padding-inline: 14px; }
  .sa-leiste [data-weiter], .sa-leiste [data-senden] { font-size: .9rem; }
}
/* Seitliches Suchprofil */
.sa-profil { position: sticky; top: calc(var(--kopf-hoehe) + 20px); background: var(--gruen); color: var(--ivory); }
.sa-profil-klapp > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 22px 24px 18px; border-bottom: 1px solid rgba(243, 240, 232, .16); font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.sa-profil-klapp > summary::-webkit-details-marker { display: none; }
.sa-profil-zahl { font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--gruen-text); }
.sa-profil-inhalt { padding: 6px 24px 24px; }
.sa-profil-leer { color: var(--gruen-text); font-size: .95rem; margin: 16px 0 0; }
.sa-profil-gruppe { padding-top: 16px; }
.sa-profil-gruppe h3 { font-family: var(--sans); font-size: .85rem; font-weight: 500; color: var(--messing-hell); margin: 0 0 8px; }
.sa-profil-gruppe dl { margin: 0; display: grid; gap: 8px; }
.sa-profil-gruppe dt { font-size: .82rem; color: var(--gruen-text); }
.sa-profil-gruppe dd { margin: 1px 0 0; font-size: .97rem; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .sa-raster { grid-template-columns: 1fr; }
  .sa-profil { position: static; order: -1; }
  .sa-profil-klapp > summary { font-size: 1.2rem; padding: 14px 18px; }
  .sa-profil-klapp > summary::after { content: "+"; font-family: var(--sans); font-size: 1.2rem; margin-left: 8px; }
  .sa-profil-klapp[open] > summary::after { content: "–"; }
  .sa-profil-inhalt { padding: 0 18px 18px; }
}
@media (max-width: 640px) { .sa-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sa-schritte li[data-erledigt="true"] button::after { content: ""; } }
/* Zusammenfassung und Erfolg */
.sa-zusammenfassung { display: grid; gap: 0; margin-bottom: 32px; border-top: 1px solid var(--line); }
.sa-zf-gruppe { padding: 18px 0; border-bottom: 1px solid var(--line); }
.sa-zf-gruppe header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.sa-zf-gruppe h3 { font-size: 1.3rem; font-weight: 500; margin: 0; }
.sa-zf-gruppe dl { margin: 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 20px; }
.sa-zf-gruppe dl > div { display: contents; }
.sa-zf-gruppe dt { color: var(--gedimmt); font-size: .95rem; }
.sa-zf-gruppe dd { margin: 0; overflow-wrap: anywhere; }
.sa-zf-leer { color: var(--gedimmt); margin: 0; font-size: .95rem; }
.sa-kontakt h3 { font-size: 1.5rem; font-weight: 500; margin: 0 0 16px; }
.sa-kontakt > .zweispaltig { margin-bottom: 20px; }
.sa-unverbindlich { font-size: .95rem; color: var(--gedimmt); border-left: 2px solid var(--brass); padding-left: 14px; margin: 8px 0 0; }
.sa-erfolg { background: var(--gruen); color: var(--ivory); padding: clamp(28px, 4vw, 56px); max-width: 820px; outline: none; }
.sa-erfolg h2 { color: var(--ivory); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); }
.sa-erfolg p { color: var(--gruen-text); }
.sa-erfolg .btn--linie { color: var(--ivory); border-color: rgba(243, 240, 232, .55); }
@media (max-width: 560px) { .sa-zf-gruppe dl { grid-template-columns: 1fr; gap: 2px; } .sa-zf-gruppe dd { margin-bottom: 8px; } }
/* Brotkrumen über hellen Seitenanfängen ohne Seitenkopf */
main > .krumen:first-child { padding-top: calc(var(--kopf-hoehe) + 18px); margin: 0; background: var(--ivory); max-width: none; padding-inline: max(var(--rand), calc((100% - var(--breite)) / 2 + var(--rand))); }
main > .krumen:first-child ol { color: var(--gedimmt); }
main > .krumen:first-child a:hover { color: var(--charcoal); }
main > .krumen:first-child + .suche-auftakt, main > .krumen:first-child + .sa { padding-top: clamp(28px, 4vw, 56px); }
.sa-segment small { overflow-wrap: anywhere; hyphens: auto; }

/* Gemeinsame Bausteine der Rechner: Auswahlkarten, Betragseingabe, Vorschläge */
.hr-leistungen, .kb-laender { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hr-leistungen label, .hr-schalter label, .kb-laender label { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.hr-leistungen input, .hr-schalter input, .kb-laender input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hr-l-name, .kb-land-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.hr-leistungen small, .kb-laender small { color: var(--gedimmt); font-size: .88rem; line-height: 1.4; }
.hr-leistungen label:hover, .hr-schalter label:hover, .kb-laender label:hover { border-color: var(--rahmen); }
.hr-leistungen label:has(input:checked), .hr-schalter label:has(input:checked), .kb-laender label:has(input:checked) { border-color: var(--charcoal); background: var(--ivory); box-shadow: inset 3px 0 0 var(--brass); }
.hr-leistungen label:has(input:checked) .hr-l-name::after, .kb-laender label:has(input:checked) .kb-land-name::after { content: " · gewählt"; font-family: var(--sans); font-size: .8rem; font-weight: 400; color: var(--messing-text); }
.hr-leistungen label:has(input:focus-visible), .hr-schalter label:has(input:focus-visible), .kb-laender label:has(input:focus-visible) { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.hr-schalter { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 10px; }
.hr-schalter label span { font-weight: 500; }
.hr-betrag, .kb-betrag { position: relative; max-width: 460px; }
.hr-betrag input, .kb-betrag input { width: 100%; font-family: var(--serif); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); padding: 12px 60px 12px 18px; min-height: 78px; background: #fff; }
.hr-betrag span, .kb-betrag .kb-waehrung { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.9rem; color: var(--gedimmt); pointer-events: none; }
.hr-beispiele, .kb-beispiele { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hr-beispiele button, .kb-beispiele button { background: transparent; border: 1px solid var(--rahmen); padding: 8px 14px; font: 500 .9rem var(--sans); color: var(--charcoal); cursor: pointer; }
.hr-beispiele button[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

/* Honorarrechner: die Rechnung zuerst */
.hr { background: var(--ivory); padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 112px); }
main > .krumen:first-child + .hr, main > .krumen:first-child + .kb { padding-top: clamp(24px, 3vw, 44px); }
.hr-kopf, .kb-kopf { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.hr-kopf h1, .kb-kopf h1 { font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.8rem); font-weight: 500; margin: 0 0 .3em; }
.hr-einleitung, .kb-einleitung { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.4; color: #3A3E3B; max-width: 46ch; margin: 0; }
.hr-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.hr-eingaben { background: var(--feld); border-top: 1px solid var(--charcoal); padding: clamp(22px, 3vw, 40px); display: grid; gap: clamp(26px, 3vw, 36px); }
.hr-block { border: 0; margin: 0; padding: 0; min-width: 0; }
.hr-frage { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); font-weight: 500; padding: 0; margin-bottom: 14px; }
.hr-ergebnis { position: sticky; top: calc(var(--kopf-hoehe) + 20px); background: var(--gruen); color: var(--ivory); padding: clamp(24px, 3vw, 40px); border-top: 1px solid var(--brass); }
.hr-ergebnis h2 { font-size: 1.3rem; font-weight: 500; color: var(--messing-hell); margin: 0 0 18px; font-family: var(--sans); }
.hr-gesamt { padding-bottom: 20px; border-bottom: 1px solid rgba(243, 240, 232, .2); }
.hr-gesamt-titel { margin: 0; font-size: 1rem; color: var(--gruen-text); }
.hr-gesamt-betrag { margin: 4px 0 2px; font-family: var(--serif); font-size: clamp(2.8rem, 2rem + 2.6vw, 4.2rem); font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--ivory); }
.hr-gesamt-zusatz { margin: 6px 0 0; font-size: .95rem; color: var(--gruen-text); }
.hr-zeilen { margin: 0; }
.hr-zeilen > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(243, 240, 232, .14); }
.hr-zeilen dt { color: var(--gruen-text); font-size: .98rem; }
.hr-zeilen dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.hr-hinweis { font-size: .92rem; color: var(--gruen-text); margin: 18px 0 0; max-width: none; }
.hr-leer { font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; margin: 0; color: var(--ivory); }
.hr-weiter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.hr-weiter .btn--hell:hover { background: var(--brass); border-color: var(--brass); color: var(--nacht); }
.hr-weiter .pfeil-link { color: var(--ivory); }
@media (max-width: 900px) { .hr-raster { grid-template-columns: 1fr; } .hr-ergebnis { position: static; } }
@media (max-width: 520px) { .hr-leistungen, .kb-laender { grid-template-columns: 1fr; } .hr-schalter { grid-template-columns: 1fr 1fr; } }
@media (min-width: 901px) {
  .hr-kopf, .kb-kopf { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px clamp(20px, 3vw, 40px); align-items: end; }
  .hr-kopf .dach, .kb-kopf .dach { grid-column: 1 / -1; }
  .hr-kopf h1, .kb-kopf h1 { margin: 0; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); }
  .hr-einleitung, .kb-einleitung { font-size: 1.15rem; padding-bottom: 6px; }
}

/* Kaufbudget-Planer: vom Kaufpreis zum Gesamtbudget */
.kb { background: var(--ivory); padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 112px); }
.kb-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.kb-eingaben { display: grid; gap: clamp(16px, 2vw, 22px); }
.kb-block { background: var(--feld); border: 0; border-top: 1px solid var(--charcoal); margin: 0; padding: clamp(22px, 3vw, 40px); min-width: 0; display: grid; gap: 18px; }
.kb-block[hidden] { display: none; }
.kb-block-titel { float: left; width: 100%; font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); font-weight: 500; padding: 0; margin-bottom: 6px; }
.kb-block-titel + * { clear: both; }
.kb-block-titel--klein { font-size: 1.4rem; }
.kb-frage { display: grid; gap: 10px; }
.kb-unterfrage { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin: 0; }
.kb-laender { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kb-land-name { font-size: 1.2rem; }
@media (max-width: 1180px) { .kb-laender { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kb-preiszeile { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; align-items: stretch; max-width: 600px; }
.kb-betrag input { padding-right: 18px; }
.kb-waehrung-feld { margin: 0; }
.kb-waehrung-feld select { height: 100%; min-height: 78px; font-size: 1.05rem; }
.kb-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kb-wahl label { position: relative; padding: 13px 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; transition: border-color .2s ease; }
.kb-wahl label[hidden] { display: none; }
.kb-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kb-wahl label:hover { border-color: var(--rahmen); }
.kb-wahl label:has(input:checked) { border-color: var(--charcoal); background: var(--ivory); box-shadow: inset 3px 0 0 var(--brass); }
.kb-wahl label:has(input:checked) span::after { content: " · gewählt"; font-weight: 400; font-size: .82rem; color: var(--messing-text); }
.kb-wahl label:has(input:focus-visible) { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.kb-details { border-top: 1px solid var(--line); padding-top: 12px; }
.kb-details > summary { cursor: pointer; font-weight: 500; font-size: .98rem; list-style: none; display: flex; justify-content: space-between; }
.kb-details > summary::-webkit-details-marker { display: none; }
.kb-details > summary::after { content: "+"; font-size: 1.1rem; }
.kb-details[open] > summary::after { content: "–"; }
.kb-details[open] > summary { margin-bottom: 14px; }
.kb-details[hidden] { display: none; }
@media (max-width: 520px) { .kb-preiszeile { grid-template-columns: 1fr 110px; } }
/* Ergebnis */
.kb-ergebnis { position: sticky; top: calc(var(--kopf-hoehe) + 20px); background: var(--gruen); color: var(--ivory); padding: clamp(24px, 3vw, 40px); border-top: 1px solid var(--brass); }
.kb-ergebnis > h2 { font-family: var(--sans); font-size: 1.25rem; font-weight: 500; color: var(--messing-hell); margin: 0 0 18px; }
.kb-leer p { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; margin: 0; color: var(--ivory); }
.kb-leer .kb-leer-hinweis { font-family: var(--sans); font-size: .95rem; color: var(--gruen-text); margin-top: 12px; }
.kb-summe-titel { margin: 0; color: var(--gruen-text); }
.kb-summe-betrag { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(2.6rem, 1.9rem + 2.2vw, 3.8rem); font-weight: 500; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }
.kb-summe-spanne { margin: 6px 0 0; font-size: .92rem; color: var(--gruen-text); }
.kb-balken { display: flex; gap: 2px; height: 10px; margin: 22px 0 12px; background: rgba(243, 240, 232, .1); }
.kb-balken-teil { flex-basis: 0; min-width: 3px; }
.kb-farbe-fahrzeug { background: #F3F0E8; }
.kb-farbe-logistik { background: #C2AE85; }
.kb-farbe-abgaben { background: #9DB3A7; }
.kb-farbe-jpb { background: #A58A59; }
.kb-farbe-reserve { background: #6E8A7C; }
.kb-legende { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--gruen-text); }
.kb-legende li { display: flex; align-items: baseline; gap: 8px; max-width: none; }
.kb-legende strong { color: var(--ivory); font-weight: 500; margin-left: auto; font-variant-numeric: tabular-nums; }
.kb-anteil { min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.kb-punkt { display: inline-block; width: 10px; height: 10px; flex: 0 0 auto; }
.kb-kategorie { border-top: 1px solid rgba(243, 240, 232, .2); margin-top: 16px; padding-top: 14px; }
.kb-kategorie h3 { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--ivory); margin: 0 0 6px; }
.kb-kat-summe { margin-left: auto; font-family: var(--sans); font-size: 1rem; font-variant-numeric: tabular-nums; }
.kb-kategorie dl { margin: 0; }
.kb-zeile { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(243, 240, 232, .1); }
.kb-zeile:last-child { border-bottom: 0; }
.kb-zeile dt { color: var(--gruen-text); font-size: .93rem; min-width: 0; }
.kb-zeile dd { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kb-zeile .zeile-zusatz { color: #B9C6BE; }
.kb-marke { display: inline-block; margin-right: 8px; padding: 0 6px; font-size: .72rem; font-weight: 500; line-height: 1.6; vertical-align: 2px; border: 1px solid rgba(243, 240, 232, .55); color: var(--ivory); }
.kb-marke--schaetzung { border-style: dotted; color: var(--gruen-text); }
.kb-marke--eigen { background: rgba(243, 240, 232, .14); }
.kb-marke--fest { border-color: var(--messing-hell); color: var(--messing-hell); }
.kb-marke--offen { border-style: dashed; color: var(--gruen-text); }
.kb-offen { margin-top: 18px; padding: 14px 16px; border: 1px dashed rgba(243, 240, 232, .35); }
.kb-offen h3 { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--ivory); margin: 0 0 8px; }
.kb-offen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.kb-offen li { max-width: none; }
.kb-offen a { color: var(--ivory); }
.kb-offen p { margin: 8px 0 0; font-size: .85rem; color: var(--gruen-text); }
.kb-quellen { margin-top: 16px; font-size: .86rem; color: var(--gruen-text); }
.kb-quellen summary { cursor: pointer; color: var(--ivory); }
.kb-quellen ul { padding-left: 1.1rem; overflow-wrap: anywhere; }
.kb-quellen li, .kb-quellen p { max-width: none; }
.kb-leiste { margin-top: 20px; flex-wrap: wrap; }
.kb-leiste .haken-feld input { accent-color: var(--brass); }
.kb-nebenaktionen { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--gruen-text); font-size: .9rem; }
.kb-speicher { color: var(--gruen-text); margin: 6px 0 0; }
.kb-ergebnis :focus-visible { outline-color: var(--ivory); }
@media (max-width: 1000px) { .kb-raster { grid-template-columns: 1fr; } .kb-ergebnis { position: static; } }
.kb-mini { display: none; }
@media (max-width: 1000px) {
  .kb-mini:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--rand) calc(12px + env(safe-area-inset-bottom)); background: var(--gruen); color: var(--ivory); border-top: 1px solid var(--brass); font-size: .9rem; }
  .kb-mini strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-left: 6px; }
  .kb-mini a { color: var(--ivory); white-space: nowrap; }
}

/* Transportrechner: zusammenhängender Ablauf */
.tr-schritte { position: sticky; top: var(--kopf-hoehe); z-index: 20; display: flex; gap: 0; margin: 0 0 clamp(14px, 2vw, 22px); background: var(--ivory-tief); border-bottom: 1px solid var(--line); }
.tr-schritte a { flex: 1; padding: 14px 4px 12px; text-align: center; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--gedimmt); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tr-schritte a + a { border-left: 1px solid var(--line); }
.tr-schritte a:hover { color: var(--charcoal); }
.tr-schritte a[aria-current="step"] { color: var(--charcoal); border-bottom-color: var(--brass); background: var(--feld); }
@media (max-width: 560px) { .tr-schritte a { font-size: .85rem; padding: 12px 2px 10px; } }
/* Route A nach B */
.route { position: relative; padding-left: 0; }
.route-marke { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 10px; border: 1px solid var(--charcoal); font-family: var(--serif); font-size: 1rem; font-weight: 600; line-height: 1; vertical-align: 1px; background: var(--feld); }
.route-punkt--b .route-marke { background: var(--charcoal); color: var(--ivory); }
.route-punkt { position: relative; }
.route-punkt--a::after { content: ""; position: absolute; left: 12px; top: 34px; bottom: -22px; border-left: 1px dashed var(--rahmen); pointer-events: none; }
.route-punkt input[data-ort] { font-size: 1.05rem; }
/* Kartenfläche vor dem Laden */
.strecke-raster .rechner-karte-hinweis { gap: 12px; }
.strecke-raster .rechner-karte-hinweis p:first-child strong { font-size: 1.6rem; }
.strecke-raster .rechner-karte-hinweis .btn { min-width: 200px; }
/* Transportart: Auswahl über Rahmen, Markierung und Beschriftung */
.wahl--paar label { position: relative; border: 1px solid var(--line); transition: border-color .2s ease; }
.wahl--paar label:has(input:checked) { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); background: var(--feld); color: var(--charcoal); }
.wahl--paar label:has(input:checked)::before { content: "Gewählt"; position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--charcoal); color: var(--ivory); font-size: .78rem; font-weight: 500; padding: 3px 10px; }
.wahl--paar label:has(input:checked) > span { box-shadow: inset 0 2px 0 var(--brass); }
.wahl--paar label:has(input:checked) small { color: var(--gedimmt); }
/* Ergebnis: Strecke und Variante zuerst */
.tr-haupt { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--linie-dunkel); }
.tr-route { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + .8vw, 1.9rem); line-height: 1.25; color: var(--ivory); max-width: none; }
.tr-route-km { display: block; font-family: var(--sans); font-size: .95rem; color: var(--nacht-text); margin-top: 4px; }
.tr-variante { margin: 12px 0 0; display: inline-block; padding: 3px 10px; border: 1px solid var(--messing-hell); color: var(--messing-hell); font-size: .85rem; font-weight: 500; }
.tr-wert { margin: 18px 0 0; display: flex; flex-direction: column; }
.tr-wert-titel { color: var(--nacht-text); font-size: .98rem; }
.tr-wert-betrag { font-family: var(--serif); font-size: clamp(2.6rem, 1.9rem + 2.2vw, 3.8rem); font-weight: 500; line-height: 1.05; color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }
.tr-wert--leer .tr-wert-betrag { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); color: var(--nacht-text); }
.tr-fehlt { margin: 10px 0 0; color: var(--nacht-text); }
.tr-fehlt a { color: var(--ivory); }
.tr-trennung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.tr-trennung > div { border-top: 1px solid var(--linie-dunkel); padding-top: 12px; }
.tr-trennung dt { color: var(--nacht-text); font-size: .92rem; }
.tr-trennung dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.tr-trennung dd.tr-trennung-info { font-size: .85rem; font-weight: 400; color: var(--nacht-text); }
.rechner--schritte .rechner-varianten { margin-top: 4px; }
.tr-aktion { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--linie-dunkel); }
.tr-aktion .haken-feld { flex: 1 1 320px; color: var(--nacht-text); }
.tr-aktion .btn--hell[disabled] { color: var(--nacht-text) !important; }
.tr-aktion .btn--hell:not([disabled]):hover { background: var(--brass); border-color: var(--brass); color: var(--nacht); }
.tr-neben { display: flex; gap: 22px; margin-top: 14px; color: var(--nacht-text); }
@media (max-width: 640px) { .tr-trennung { grid-template-columns: 1fr; } .tr-aktion .btn { width: 100%; } }
.route-punkt { padding-left: 44px; }
.route-marke { position: absolute; left: 0; top: 38px; margin: 0; width: 30px; height: 30px; }
.route-punkt--a::after { left: 15px; top: 72px; bottom: -40px; }
.tr-hinweis { margin: 0 0 22px; }
.tr-vergleich { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--linie-dunkel); }
.tr-vergleich-titel { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--messing-hell); margin: 0 0 14px; }
.variante h4 { font-size: 1.45rem; font-weight: 500; margin: 0; color: var(--ivory); }
.rechner-ausgabe [data-offen] .block-titel { margin-top: 0; }
/* Transportrechner: Kopf noch kompakter, Eingabe im ersten Bildschirm */
.seitenkopf--kompakt { padding-block: calc(var(--kopf-hoehe) + 12px) 28px !important; }
.seitenkopf--kompakt > .krumen { padding-bottom: 6px; margin-bottom: 8px; }
.rechner-kopf h1 { font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.rechner-kopf .vorspann { font-size: 1.1rem; }
.rechner-kopf-bild { max-width: 340px; }
.rechner-bereich { padding-top: 20px; }
.rechner--schritte .schritt { padding-top: clamp(18px, 2.4vw, 32px); }
.rechner--schritte .schritt-kopf { padding-bottom: 12px; margin-bottom: 20px; }
/* Auswahlkarten als Familie: Rahmen, Messingmarkierung, Beschriftung */
.wahl label { background: #fff; border-color: var(--line); }
.wahl label:hover { border-color: var(--rahmen); }
.wahl label:has(input:checked) { background: var(--ivory); color: var(--charcoal); border-color: var(--charcoal); box-shadow: inset 3px 0 0 var(--brass); }
.wahl label:has(input:checked) > span::after { content: " · gewählt"; font-family: var(--sans); font-size: .8rem; font-weight: 400; color: var(--messing-text); }
.wahl--block label:has(input:checked) small { opacity: 1; color: var(--gedimmt); }
.wahl--bild label { padding: 0 0 16px; overflow: hidden; }
.wahl--bild label > span, .wahl--bild label > small { padding-inline: 18px; }
.wahl--bild .wahl-bild { position: relative; z-index: 0; margin-bottom: 12px; }
.wahl--bild label:has(input:checked) { box-shadow: inset 0 0 0 1px var(--charcoal), inset 0 -3px 0 var(--brass); }
.wahl--bild label:has(input:checked)::before { content: "Gewählt"; position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--charcoal); color: var(--ivory); font-size: .78rem; font-weight: 500; padding: 3px 10px; }
.wahl--paar label:has(input:checked) > span { box-shadow: none; }
.werkzeug-ergebnis .wahl label:has(input:checked), .rechner-ausgabe .wahl label:has(input:checked) { background: var(--nacht-2); color: var(--ivory); }
@media (max-width: 900px) { .dossier-nachweise-teil, .dossier-offen-teil, .dossier-schritt { grid-column: 1 / -1 !important; } }
/* Logo 5: präzise Wortmarke */
.logo-bild { height: 40px; width: auto; }
.fuss-monogramm { height: auto; width: min(260px, 70%); }
@media (max-width: 420px) { .logo-bild { height: 34px; } }
.logo-bild { height: 44px; }
@media (max-width: 420px) { .logo-bild { height: 36px; } }

/* ==========================================================================
   Vier Welten 07.10.2026: filmische Bildsprache, Mosaik statt Kacheln
   ========================================================================== */
.welten { background: var(--nacht); color: var(--ivory); padding: clamp(72px, 9vw, 136px) 0 clamp(56px, 7vw, 104px); }
.welten-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.welten-kopf h2 { color: var(--ivory); font-size: clamp(2.4rem, 1.5rem + 2.8vw, 4.4rem); margin: 0; max-width: 14ch; }
.welten-kopf p { color: var(--nacht-text); margin: 0; max-width: 40ch; }
.welten-mosaik { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(70px, 7vw, 108px); gap: clamp(8px, 1vw, 14px); }
.welten-mosaik > li { position: relative; overflow: hidden; max-width: none; background: #1E2320; }
.w-oldtimer { grid-column: 1 / span 8; grid-row: span 5; }
.w-detail1 { grid-column: 9 / span 4; grid-row: span 5; }
.w-youngtimer { grid-column: 1 / span 5; grid-row: span 5; }
.w-sportwagen { grid-column: 6 / span 7; grid-row: span 5; }
.w-detail2 { grid-column: 1 / span 4; grid-row: span 5; }
.w-exoten { grid-column: 5 / span 8; grid-row: span 5; }
.welten-mosaik a { position: absolute; inset: 0; display: block; color: var(--ivory); text-decoration: none; }
.welten-mosaik .bild, .welten-mosaik .w-bild { position: absolute; inset: 0; display: block; height: 100%; }
.welten-mosaik img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.welten-mosaik a:hover img, .welten-mosaik a:focus-visible img { transform: scale(1.04); }
.welten-mosaik a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 23, 21, 0) 45%, rgba(20, 23, 21, .82) 100%); }
.w-text { position: absolute; left: clamp(16px, 2vw, 32px); right: 16px; bottom: clamp(14px, 1.8vw, 28px); z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.w-text strong { font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.2vw, 3.6rem); font-weight: 500; line-height: 1; }
.w-text > span { font-size: .98rem; color: #E2DED4; }
.w-text strong::after { content: " →"; font-family: var(--sans); font-size: .4em; vertical-align: middle; color: var(--messing-hell); transition: margin .3s ease; }
.welten-mosaik a:hover .w-text strong::after { margin-left: 6px; }
.welten-mosaik a:focus-visible { outline: 2px solid var(--ivory); outline-offset: -4px; }
.mosaik-hinweis { margin: 14px 0 0; font-size: .82rem; color: var(--nacht-text); max-width: none; }
@media (max-width: 760px) {
  .welten-mosaik { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 64px; }
  .w-oldtimer, .w-youngtimer, .w-sportwagen, .w-exoten { grid-column: 1 / -1; grid-row: span 4; }
  .w-detail1, .w-detail2 { display: none; }
}

/* Segmentseiten */
.typ-segment .kopf:not(.kopf--fest):not(.nav-offen) { background: linear-gradient(180deg, rgba(20, 23, 21, .55), rgba(20, 23, 21, 0)); }
.seg-auftakt { position: relative; min-height: max(620px, min(100svh, 960px)); display: flex; align-items: flex-end; background: var(--nacht); color: var(--ivory); overflow: hidden; }
.seg-auftakt-bild { position: absolute; inset: 0; }
.seg-hintergrund { position: absolute; inset: 0; display: block; }
.seg-hintergrund img { width: 100%; height: 100%; object-fit: cover; }
.seg-auftakt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 23, 21, .35) 0%, rgba(20, 23, 21, 0) 25%, rgba(20, 23, 21, 0) 50%, rgba(20, 23, 21, .88) 100%); pointer-events: none; }
.seg-auftakt-text { position: relative; z-index: 1; padding-block: calc(var(--kopf-hoehe) + 40px) clamp(48px, 7vw, 96px); }
.seg-auftakt-text h1 { color: var(--ivory); font-size: clamp(2.8rem, 1.4rem + 4.4vw, 6rem); font-weight: 500; line-height: 1; max-width: 14ch; margin: 0 0 .3em; }
.seg-auftakt-text .vorspann { color: #E6E2D8; max-width: 46ch; }
.seg-auftakt .dach { color: var(--messing-hell); }
@media (max-width: 700px) {
  .seg-auftakt { display: block; min-height: 0; }
  .seg-auftakt-bild { position: relative; height: 58svh; min-height: 380px; }
  .seg-auftakt::after { inset: 0 0 auto 0; height: 58svh; min-height: 380px; background: linear-gradient(180deg, rgba(20, 23, 21, .45) 0%, rgba(20, 23, 21, 0) 30%, rgba(20, 23, 21, 0) 70%, rgba(20, 23, 21, 1) 100%); }
  .seg-auftakt-text { padding-block: 8px 56px; margin-top: -40px; }
}
main > .krumen:first-child + .seg-auftakt { margin-top: 0; }
.typ-segment main > .krumen:first-child { display: none; }
.seg-mosaik-abschnitt { background: var(--nacht); padding-top: clamp(12px, 2vw, 24px); }
.mosaik { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(60px, 6vw, 96px); gap: clamp(8px, 1vw, 14px); }
.mosaik > li { overflow: hidden; max-width: none; background: #1E2320; }
.mosaik .bild { display: block; height: 100%; }
.mosaik img { width: 100%; height: 100%; object-fit: cover; }
.mosaik-hoch { grid-column: 1 / span 4; grid-row: span 7; }
.mosaik-breit { grid-column: 5 / span 8; grid-row: span 4; }
.mosaik-quer { grid-column: 5 / span 8; grid-row: span 3; }
@media (max-width: 700px) {
  .mosaik { grid-template-columns: 1fr 1fr; grid-auto-rows: 72px; }
  .mosaik-hoch { grid-column: 1; grid-row: span 4; }
  .mosaik-quer { grid-column: 2; grid-row: span 4; }
  .mosaik-breit { grid-column: 1 / -1; grid-row: span 3; grid-row-start: 5; }
}
.seg-titel { font-size: clamp(2rem, 1.4rem + 1.8vw, 3.2rem); margin-bottom: clamp(28px, 3.4vw, 48px); max-width: 20ch; }
.seg-punkte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: none; }
.seg-punkte > li { border-top: 1px solid var(--charcoal); padding-top: 22px; max-width: none; }
.seg-punkte h3 { font-size: clamp(1.6rem, 1.3rem + .9vw, 2.2rem); font-weight: 500; margin: 0 0 .5em; }
.seg-punkte p { color: var(--gedimmt); margin: 0; }
.seg-wege { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seg-wege > li { background: var(--feld); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 10px; max-width: none; }
.seg-wege h3 { font-size: 1.7rem; font-weight: 500; margin: 0; }
.seg-wege p { color: var(--gedimmt); margin: 0 0 8px; }
.seg-wege .pfeil-link { margin-top: auto; align-self: flex-start; }
.seg-segment { margin-top: 22px; color: var(--gedimmt); font-size: .95rem; }
@media (max-width: 860px) { .seg-punkte, .seg-wege { grid-template-columns: 1fr; } }
.seg-weitere { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seg-weitere > li { max-width: none; }
.seg-weitere a { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: var(--ivory); text-decoration: none; background: var(--nacht); }
.seg-weitere-bild .bild { position: absolute; inset: 0; height: 100%; }
.seg-weitere img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.seg-weitere a:hover img { transform: scale(1.04); }
.seg-weitere a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 23, 21, 0) 40%, rgba(20, 23, 21, .8) 100%); }
.seg-weitere-name { position: absolute; left: 18px; bottom: 14px; z-index: 1; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
@media (max-width: 700px) { .seg-weitere { grid-template-columns: 1fr; } }
@media (min-width: 701px) {
  .seg-auftakt::after { background: linear-gradient(90deg, rgba(20, 23, 21, .86) 0%, rgba(20, 23, 21, .55) 32%, rgba(20, 23, 21, 0) 56%), linear-gradient(180deg, rgba(20, 23, 21, .35) 0%, rgba(20, 23, 21, 0) 22%, rgba(20, 23, 21, 0) 70%, rgba(20, 23, 21, .6) 100%); }
  .seg-auftakt-text > * { max-width: min(40vw, 560px); }
  .seg-auftakt-text h1 { font-size: clamp(2.6rem, 1.2rem + 3.4vw, 5rem); }
  .seg-auftakt-text .vorspann { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
}
.seg-auftakt .btn--linie { color: var(--ivory); border-color: rgba(243, 240, 232, .6); background: transparent; }
.seg-auftakt .btn--linie:hover { background: var(--ivory); color: var(--charcoal); }
.seg-auftakt .btn--hell:hover { background: var(--brass); border-color: var(--brass); color: var(--nacht); }
@media (min-width: 901px) {
  .seg-auftakt-bild { left: 30%; }
  .seg-auftakt::after { background: linear-gradient(90deg, rgba(20, 23, 21, 1) 0%, rgba(20, 23, 21, 1) 30%, rgba(20, 23, 21, .55) 38%, rgba(20, 23, 21, 0) 52%), linear-gradient(180deg, rgba(20, 23, 21, .4) 0%, rgba(20, 23, 21, 0) 22%, rgba(20, 23, 21, 0) 75%, rgba(20, 23, 21, .55) 100%); }
  .seg-auftakt-text > * { max-width: min(34vw, 500px); }
}
@media (min-width: 901px) { .seg-auftakt-text > * { max-width: min(31vw, 480px); } }


/* ===== Kennzeichnung KI-Bilder (Art. 50 KI-VO, § 5 UWG). Auslöser: quelle im Manifest ===== */
.ki-etikett, picture[data-ki]::after {
  font: 500 .78rem/1.2 var(--sans); letter-spacing: 0; text-transform: none;
  color: var(--ivory); background: rgba(20, 23, 21, .82); padding: 5px 9px; border-radius: 0; pointer-events: none;
}
picture[data-ki]::after { content: attr(data-ki); position: absolute; top: 10px; left: 10px; z-index: 2; }
.ki-etikett--flaeche { position: absolute; top: 14px; left: var(--rand); z-index: 4; }
.ki-etikett--kopf { top: calc(var(--kopf-hoehe) + 12px); }
.wahl-bild-rahmen { position: relative; display: block; }
.ki-etikett--klein { position: absolute; top: 8px; left: 8px; font-size: .7rem; padding: 3px 7px; }
.ki-sammel { font-size: .86rem; color: var(--gedimmt); margin: 12px 0 0; }
.fuss-ki { margin: 56px 0 0; color: var(--nacht-text); font-size: .85rem; max-width: 80ch; }
.fuss-ki + .fuss-recht { margin-top: 20px; }
@media (max-width: 700px) {
  .held .ki-etikett--kopf, .seitenkopf--bild .ki-etikett--kopf, .seg-auftakt .ki-etikett--kopf { top: calc(var(--kopf-hoehe) + 8px); }
}
@media print { .ki-etikett, picture[data-ki]::after { background: #fff; color: #000; border: 1px solid #000; } }

/* ===== Feste Kontaktleiste auf dem Handy (design-verbote.md Abschnitt 2) ===== */
.kontaktleiste { display: none; }
@media (max-width: 700px) {
  .kontaktleiste { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--nacht); border-top: 1px solid var(--brass); padding-bottom: env(safe-area-inset-bottom); }
  .kontaktleiste a { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 12px;
    color: var(--ivory); text-decoration: none; font: 500 .9rem/1.2 var(--sans); text-align: center; }
  .kontaktleiste a + a { border-left: 1px solid var(--linie-dunkel); background: var(--ivory); color: var(--charcoal); }
  body.mit-leiste { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}
@media print { .kontaktleiste { display: none !important; } }

/* ===== Anzeigen-Seiten /direkt/ ===== */
.typ-direkt { background: var(--ivory); }
.dk-kopf { position: sticky; top: 0; z-index: 50; background: var(--ivory); color: var(--charcoal); border-bottom: 1px solid var(--line); }
.dk-kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.dk-logo .logo-bild { height: 28px; }
.dk-sprung { display: none; gap: 28px; }
.dk-sprung a { font-size: .86rem; text-decoration: none; color: var(--gedimmt); }
.dk-sprung a:hover { color: var(--charcoal); }
.dk-tel { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font: 500 .95rem/1.2 var(--sans); color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--brass); }
@media (min-width: 1000px) { .dk-sprung { display: flex; } }
@media (max-width: 420px) { .dk-tel-text { display: none; } .dk-logo .logo-bild { height: 24px; } }

.dk-auftakt { padding-block: clamp(28px, 5vw, 80px) clamp(40px, 6vw, 96px); }
.dk-auftakt-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.dk-auftakt .dach { margin-bottom: .9rem; }
.dk-auftakt h1 { font-size: clamp(2.15rem, 1.4rem + 3.2vw, 4.4rem); line-height: 1.02; margin-bottom: .45em; max-width: 18ch; }
.dk-vorspann { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.4; max-width: 44ch; margin: 0 0 1.4rem; }
.dk-preis { border-left: 1px solid var(--brass); padding: 4px 0 4px 18px; margin: 0 0 1.5rem; max-width: 52ch; }
.dk-preis-zeile { margin: 0 0 .35rem; font-size: 1.05rem; }
.dk-preis-zeile strong { font-weight: 500; }
.dk-preis-zusatz { margin: 0; font-size: .9rem; color: var(--gedimmt); }
.dk-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.dk-tel-link { font-size: .95rem; color: var(--charcoal); }
.dk-filter { margin: 1.2rem 0 0; font-size: .9rem; color: var(--gedimmt); }
.dk-auftakt-bild { margin: 0; }
.dk-auftakt-bild .bild { aspect-ratio: 4 / 5; }
.dk-auftakt-bild--dossier img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.dk-auftakt-bild figcaption { margin-top: 10px; font-size: .84rem; color: var(--gedimmt); }
@media (max-width: 860px) {
  .dk-auftakt-raster { grid-template-columns: 1fr; }
  .dk-auftakt-bild { display: none; }
}

.dk-person { border-block: 1px solid var(--line); background: var(--feld); }
.dk-person-zeile { display: flex; align-items: center; gap: 20px; padding-block: 20px; }
.dk-person-zeile p { margin: 0; max-width: 70ch; color: var(--gedimmt); }
.dk-person-zeile strong { color: var(--charcoal); font-weight: 500; }
.dk-person-bild { flex: none; width: 88px; }
.dk-person-bild .bild { aspect-ratio: 4 / 5; }

.dk-anfrage { background: var(--ivory-tief); padding-block: clamp(48px, 7vw, 104px); scroll-margin-top: 72px; }
.dk-anfrage-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.dk-anfrage-kopf h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); }
.dk-anfrage-kopf p { color: var(--gedimmt); max-width: 40ch; }
.dk-formular { background: var(--feld); border-top: 1px solid var(--brass); padding: clamp(20px, 3vw, 40px); }
.dk-schritt { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
.dk-schritt[hidden] { display: none; }
.dk-schritt-anzeige { margin: 0; font-size: .86rem; color: var(--messing-text); font-weight: 500; }
.dk-schritt-titel { font-size: 1.6rem; margin: 0; }
.dk-schritt-titel:focus { outline: none; }
.dk-fest { margin: 0; }
.dk-knoepfe { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.dk-ergaenzen summary { cursor: pointer; font-weight: 500; padding: 4px 0; }
.dk-ergaenzen[open] summary { margin-bottom: 12px; }
.dk-bedingung, .dk-grenze { margin: 0; }
@media (max-width: 860px) { .dk-anfrage-raster { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .dk-formular .zweispaltig { grid-template-columns: 1fr; } .dk-knoepfe .btn { flex: 1 1 100%; } }

.dk-ablauf { list-style: none; margin: 0; padding: 0; }
.dk-ablauf > li { padding: 22px 0; border-top: 1px solid var(--line); }
.dk-ablauf h3 { margin: 0 0 6px; font-size: 1.4rem; }
.dk-ablauf p { margin: 0; color: var(--gedimmt); max-width: 60ch; }
.dk-zusagen { margin-top: 2rem; }
.dk-zusagen h3 { font-family: var(--sans); font-size: .9rem; font-weight: 500; margin-bottom: 10px; }
.dk-muster-bild { margin: 0; }
.dk-muster-bild .bild { aspect-ratio: 3 / 2; }
.dk-zwei-listen { grid-template-columns: 1fr; gap: 28px; }
.dk-hilfen ul, .dk-hilfen-liste { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 0; }
.dk-hilfen li, .dk-hilfen-liste li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.dk-hilfen li a, .dk-hilfen-liste li a { font-family: var(--serif); font-size: 1.35rem; }
.dk-hilfen li span, .dk-hilfen-liste li span { color: var(--gedimmt); font-size: .95rem; }
.dk-dossier-seiten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dk-dossier-hinweis { color: var(--nacht-text); margin-top: 16px; }
.dk-schluss h2 { max-width: 20ch; }
.dk-schluss p { color: var(--nacht-text); max-width: 52ch; }
@media (max-width: 860px) { .dk-dossier-seiten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.dk-fuss { background: var(--nacht); color: var(--nacht-text); padding-block: 40px; font-size: .9rem; }
.dk-fuss p { margin: 0 0 12px; max-width: 90ch; }
.dk-fuss a { color: var(--ivory); }
.dk-fuss ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; padding: 0; }

/* Danke-Seiten */
.dk-danke-kopf { padding-bottom: clamp(40px, 5vw, 64px) !important; }
.dk-danke h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: 2.2rem; }
.dk-danke h2:first-child { margin-top: 0; }
.dk-danke-schritte { margin: 0; padding-left: 1.4em; }
.dk-danke-schritte li { margin-bottom: .6em; }
.dk-danke-schritte li::marker { color: var(--messing-text); }
.dk-danke-schritte p { margin: 0; }
.dk-danke-person { margin-top: 2.4rem; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .dk-auftakt { padding-top: 20px; }
  .dk-auftakt h1 { font-size: 2.05rem; }
  .dk-vorspann { font-size: 1.08rem; margin-bottom: 1rem; }
  .dk-preis { margin-bottom: 1.1rem; padding-left: 14px; }
  .dk-preis-zeile { font-size: 1rem; }
  .dk-preis-zusatz { font-size: .86rem; }
  .dk-person-bild { width: 64px; }
  .dk-person-zeile { gap: 14px; padding-block: 16px; }
  .dk-person-zeile p { font-size: .92rem; }
}

/* ===== Einwilligung für Werbemessung (Messstufe C) ===== */
.einwilligung { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--nacht); color: var(--ivory);
  border-top: 1px solid var(--brass); max-height: 85vh; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
.einwilligung[hidden] { display: none; }
.einwilligung-innen { padding-block: 22px 24px; max-width: 1100px; }
.einwilligung-titel { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin: 0 0 .5rem; color: var(--ivory); }
.einwilligung-titel:focus { outline: none; }
.einwilligung p { margin: 0 0 .7rem; font-size: .92rem; color: var(--nacht-text); max-width: 92ch; }
.einwilligung a { color: var(--ivory); }
.einwilligung-auswahl { border: 0; margin: 10px 0 6px; padding: 0; display: grid; gap: 12px; }
.einwilligung-auswahl[hidden] { display: none; }
.einwilligung-auswahl .haken-feld { font-size: .9rem; color: var(--nacht-text); }
.einwilligung-auswahl strong { color: var(--ivory); font-weight: 500; }
.einwilligung-auswahl input { accent-color: var(--brass); }
.einwilligung-knoepfe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; max-width: 760px; }
.einwilligung-knoepfe .btn { width: 100%; min-height: 48px; padding-inline: 12px; background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.einwilligung-knoepfe .btn:hover { background: var(--brass); border-color: var(--brass); color: var(--nacht); }
.einwilligung-knoepfe .btn[hidden] { display: none; }
@media (max-width: 560px) { .einwilligung-knoepfe { grid-template-columns: 1fr; } .einwilligung p { font-size: .86rem; } }
.fuss-einstellungen { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(243, 240, 232, .4); text-underline-offset: 3px; }
@media print { .einwilligung { display: none !important; } }

/* Handy: Hauptknopf im ersten Bildschirm (Start- und Segmentseiten, gemessen 31.10.2026) */
@media (max-width: 700px) {
  .auftakt-bild { height: 42svh; min-height: 280px; }
  .auftakt-inhalt { padding-top: 24px; }
  .auftakt h1 { font-size: clamp(2.3rem, 9.6vw, 3rem); }
  .auftakt-wege { margin-top: 1.6rem; }
  .seg-auftakt-bild, .seg-auftakt::after { height: 40svh; min-height: 270px; }
  .seg-auftakt-text h1 { font-size: clamp(2.3rem, 9.6vw, 3rem); }
  .seg-auftakt-text .vorspann { font-size: 1.1rem; }
  .seg-auftakt .btn-reihe { margin-top: 1.4rem; }
}
@media (max-width: 700px) {
  .seitenkopf--bild > .kopf-hintergrund, .seitenkopf--bild::after { height: 38svh; min-height: 260px; }
}
/* KI-Etikett in Auswahlkarten rechts, damit es die Marke „Gewählt“ links oben nicht verdeckt */
.wahl-bild-rahmen .ki-etikett--klein { left: auto; right: 8px; }
/* Handy: Suchanfrage und Kontakt kürzer bis zur Hauptaktion */
@media (max-width: 700px) {
  .sa-profil { order: 1; }
  .sa-segment small { display: none; }
  .sa-segment .wahl-bild { aspect-ratio: 16 / 10; }
  .sa-segment-name { font-size: 1.2rem; padding: 10px 12px 12px; }
  .typ-kontakt .seitenkopf--bild > .kopf-hintergrund, .typ-kontakt .seitenkopf--bild::after, .typ-kontakt .seitenkopf .ki-etikett { display: none; }
  .typ-kontakt .seitenkopf--bild { padding-top: calc(var(--kopf-hoehe) + 20px) !important; padding-bottom: 28px !important; }
  .typ-kontakt .seitenkopf .prosa .gedimmt { display: none; }
}

/* Prüfung 31.10.2026: Fokus auf dunklen Flächen, Kontaktleiste, KI-Etikett im Seitenkopf, Druck */
.dk-fuss :focus-visible, .einwilligung :focus-visible, .kontaktleiste a:first-child:focus-visible { outline-color: var(--ivory); }
.kontaktleiste a:focus-visible { outline-offset: -4px; }
@media (max-width: 700px) {
  html:has(body.mit-leiste) { scroll-padding-bottom: calc(56px + env(safe-area-inset-bottom) + 16px); }
  body.nav-gesperrt .kontaktleiste { display: none; }
}
@media (min-width: 901px) {
  /* Etikett in die Bildspalte, nicht über die Brotkrumen */
  .seitenkopf--bild > .ki-etikett--kopf { grid-column: 2; grid-row: 1; top: 16px; left: 16px; }
}
@media print {
  .kopf-hintergrund + .ki-etikett, .band-hintergrund + .ki-etikett, .auftakt-hintergrund + .ki-etikett,
  .seg-hintergrund + .ki-etikett, .wahl-bild-rahmen .ki-etikett { display: none !important; }
}
