/* Haustürlotse – Designsystem „Hanseatisch“ (Spec Website v2 Redesign, Abschnitt 2).
   Eine Akzentfarbe (Messing), keine Verläufe, Bewegung nur als Antwort auf eine Aktion.
   Messing (#9C7A3C, 4,0:1 auf Weiß) nie für kleinen Text, nur für Linien, Symbole und Fokus. */
:root {
  --navy: #16324F; --navy-tief: #0F2438; --messing: #9C7A3C; --messing-hell: #C9A465; --nebel: #EDF1F4;
  --text: #1B2733; --grau: #566372; --linie: #D5DDE3; --feld: #788796; --fehler: #B42318;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, Cambria, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1120px; --rand: 36px; --kopf: 72px;
  color-scheme: light;
}
@media (max-width: 959px) { :root { --kopf: 64px; } }
@media (max-width: 639px) { :root { --rand: 18px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--kopf) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(22, 50, 79, .12); }
@media (min-width: 768px) { html:has(.filterleiste) { scroll-padding-top: calc(var(--kopf) + 96px); } }
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.6 var(--sans); }
@media (max-width: 639px) { body { font-size: 16px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.3vw, 50px); line-height: 1.08; font-weight: 500; }
h2 { font-size: clamp(26px, 2.8vw, 32px); line-height: 1.15; font-weight: 500; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
figure { margin: 0; }
figcaption { margin: 8px 2px 0; text-align: right; font-size: 12.5px; color: var(--grau); }
:focus-visible { outline: 2px solid var(--messing); outline-offset: 3px; }
.auf-navy :focus-visible, .leiste :focus-visible, .fuss :focus-visible { outline-color: var(--messing-hell); }
[hidden] { display: none !important; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding-inline: var(--rand); }
.abschnitt { padding-block: 56px 60px; }
.nebel { background: var(--nebel); }
.kopfzeile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 26px; }
.einleitung { font-size: 18px; color: var(--grau); max-width: 46ch; }
.klein { font-size: 14px; color: var(--grau); }
@media (max-width: 639px) { .abschnitt { padding-block: 34px 38px; } .einleitung { font-size: 16.5px; } }

/* Sprunglink, nur bei Tastaturfokus sichtbar */
.sprunglink { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.sprunglink:focus { top: 12px; }

/* Knöpfe und Verweise: Ecken 6 px, Hover dunkler, Klick 1 px tiefer */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; font: 600 15.5px/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s ease, transform .1s ease; }
.knopf:hover { background: var(--navy-tief); }
.knopf:disabled { opacity: .7; cursor: progress; }
.knopf:active { transform: translateY(1px); }
.knopf.zweit { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.knopf.zweit:hover { background: var(--nebel); }
.knopf.klein { min-height: 44px; padding: 8px 14px; font-size: 14.5px; }
.auf-navy .knopf { background: #fff; color: var(--navy); }
.auf-navy .knopf:hover { background: var(--nebel); }
.auf-navy .knopf.zweit { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.auf-navy .knopf.zweit:hover { background: rgba(255, 255, 255, .08); }
.aktion { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--messing); text-decoration-thickness: 2px; }
.textlink:hover { text-decoration-color: var(--navy); }
.symbol { width: 30px; height: 30px; color: var(--navy); flex: none; }
.symbol .m { stroke: var(--messing); }

/* Vertrauensleiste */
.leiste { background: var(--navy); color: #E7EDF3; font-size: 13px; line-height: 1.3; }
.leiste .rahmen { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px; padding-block: 8px; }
.leiste .rahmen > span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--messing-hell); transform: rotate(45deg); margin-right: 8px; vertical-align: 1px; }
@media (max-width: 639px) {
  .leiste { font-size: 12px; }
  .leiste .rahmen { gap: 2px 16px; padding-block: 6px; }
  .leiste .nur-breit { display: none; }
}

/* Kopf: bleibt stehen. Am Handy „Anfragen“ und „Menü“, ohne JavaScript stehen die Links untereinander. */
.kopf { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: var(--kopf); }
.marke { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; color: var(--navy); white-space: nowrap; text-decoration: none; }
.marke em { font-style: normal; color: var(--messing); }
.marke svg { width: 23px; height: 23px; flex: none; }
.hauptmenue { display: flex; align-items: center; gap: 24px; font-size: 15.5px; }
.hauptmenue a:not(.knopf) { text-decoration: none; padding: 6px 0; }
.hauptmenue a:not(.knopf):hover { color: var(--navy); box-shadow: inset 0 -2px 0 var(--linie); }
.hauptmenue a[aria-current] { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--messing); }
.hauptmenue .menue-hinweis, .kopf-knoepfe { display: none; }
.menueknopf { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font: 600 14.5px var(--sans); color: var(--navy); background: #fff; border: 1.5px solid var(--linie); border-radius: 6px; cursor: pointer; }
.menueknopf svg { width: 18px; height: 18px; }
.menueknopf .zu, .kopf.offen .menueknopf .auf { display: none; }
.kopf.offen .menueknopf .zu { display: block; }
@media (max-width: 959px) {
  .kopf-innen { flex-wrap: wrap; }
  .kopf-innen { gap: 8px; }
  .marke { font-size: 19px; gap: 7px; }
  .marke svg { width: 19px; height: 19px; }
  .kopf-knoepfe { display: flex; gap: 8px; align-items: center; }
  .kopf-knoepfe .knopf.klein { padding: 8px 11px; font-size: 14px; }
  .menueknopf { gap: 5px; padding: 0 9px; font-size: 14px; }
  .menueknopf svg { width: 16px; height: 16px; }
  .hauptmenue { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-inline: calc(-1 * var(--rand)); border-top: 1px solid var(--linie); font-size: 16.5px; }
  .hauptmenue a:not(.knopf) { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 12px var(--rand); border-bottom: 1px solid var(--linie); font-weight: 500; }
  .hauptmenue a:not(.knopf)::after { content: "›"; color: var(--messing); font-size: 20px; }
  .hauptmenue a[aria-current] { box-shadow: inset 3px 0 0 var(--messing); }
  .hauptmenue .knopf { margin: 16px var(--rand) 0; }
  .hauptmenue .menue-hinweis { display: block; margin: 10px var(--rand) 16px; font-size: 12.5px; color: var(--grau); text-align: center; }
  .js .hauptmenue { display: none; }
  .js .kopf.offen .hauptmenue { display: flex; }
  .kopf.offen { max-height: 100vh; overflow-y: auto; }
  .seite-konfigurator .kopf-anfrage, .kopf.offen .kopf-anfrage { display: none; }
}

/* Pfad (Brotkrumen) */
.pfad ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 18px 0 0; font-size: 14px; color: var(--grau); }
.pfad li + li::before { content: "/"; margin-right: 6px; }
.pfad a { color: var(--grau); }

/* Aufmacher der Startseite */
.aufmacher .rahmen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; padding-block: 52px 60px; }
.aufmacher h1 { margin-bottom: 20px; }
.aufmacher .einleitung { margin-bottom: 28px; max-width: 44ch; }
.bildrahmen { padding: 10px; border: 1px solid var(--messing); border-radius: 4px; }
.aufmacher-bild .bildrahmen > img { width: 100%; height: clamp(360px, 42vw, 540px); object-fit: cover; object-position: center 60%; border-radius: 2px; }
.aufmacher-bild .buehne { height: clamp(360px, 42vw, 540px); }
.aufmacher-bild .buehne img { height: calc(100% - 30px); }
@media (max-width: 959px) {
  .aufmacher .rahmen { grid-template-columns: 1fr; gap: 0; padding-block: 26px 34px; }
  .aufmacher-text { display: contents; }
  .aufmacher h1 { order: 1; margin-bottom: 18px; }
  .aufmacher-bild { order: 2; }
  .aufmacher .einleitung { order: 3; margin: 18px 0 22px; }
  .aufmacher .aktion { order: 4; }
  .aufmacher .aktion .knopf { flex: 1 1 auto; }
  .aufmacher-bild .buehne { height: 320px; }
  .aufmacher-bild .bildrahmen > img { height: auto; aspect-ratio: 5 / 4; }
}

/* Bühne: Tür auf Nebel, unten die Navy-Linie */
.buehne { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-top: 30px; background: var(--nebel); border-bottom: 2px solid var(--navy); border-radius: 2px 2px 0 0; }
.buehne img { width: auto; box-shadow: 0 14px 30px rgba(22, 50, 79, .18); }

/* Ihr Weg: nummerierte Schritte an einer gestrichelten Messinglinie */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; }
.schritte::before { content: ""; position: absolute; left: 15px; right: 15px; top: 15px; border-top: 1.5px dashed var(--messing); }
.schritt { position: relative; }
.schritt-nr { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.schritt strong { display: block; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.schritt > span:last-child { display: block; font-size: 15px; color: var(--grau); line-height: 1.5; }
@media (max-width: 767px) {
  .schritte { grid-template-columns: 1fr; gap: 16px; }
  .schritte::before { left: 15px; right: auto; top: 15px; bottom: 15px; border-top: 0; border-left: 1.5px dashed var(--messing); }
  .schritt { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 0 14px; }
  .schritt-nr { grid-row: span 2; margin: 0; }
}
/* Ablauf im Detail: senkrecht, mit mehr Text */
.artikel .ablauf { list-style: none; margin: 34px 0 10px; padding: 0; position: relative; display: grid; gap: 34px; max-width: 68ch; }
.ablauf::before { content: ""; position: absolute; left: 15px; top: 15px; bottom: 15px; border-left: 1.5px dashed var(--messing); }
.ablauf li { position: relative; display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 4px 18px; }
.ablauf .schritt-nr { grid-row: span 3; margin: 0; }
.artikel .ablauf h2, .artikel .ablauf h3 { font-size: clamp(22px, 2.4vw, 26px); margin: 1px 0 6px; }
.artikel .ablauf p { margin: 0 0 8px; }

/* Türreihe: Türen ohne Karten auf einer durchgehenden Linie (Rechner 4, Tablet 3, Handy 2) */
.tuerreihe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; row-gap: 44px; }
.tuer { display: block; padding: 0 15px; text-decoration: none; }
.tuer-bild { display: flex; justify-content: center; align-items: flex-end; margin: 0 -15px; padding: 0 15px; border-bottom: 2px solid var(--navy); }
.tuer img { width: 100%; transition: transform .2s ease; }
.tuer:hover img { transform: translateY(-4px); }
.tuer-name { display: block; margin-top: 12px; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--navy); }
.tuer:hover .tuer-name { text-decoration: underline; text-decoration-color: var(--messing); text-underline-offset: 4px; }
.tuer-merkmale { display: block; font-size: 14px; line-height: 1.4; color: var(--grau); }
.tuerreihe + .tuerreihe { margin-top: 40px; }
@media (max-width: 1023px) { .tuerreihe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .tuerreihe { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .tuer { padding: 0 9px; }
  .tuer-bild { margin: 0 -9px; padding: 0 9px; }
  .tuer-name { font-size: 18px; }
}

/* Merkmale mit Symbol */
.ausstattung { border-top: 1px solid var(--linie); }
.zweispaltig { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.zweispaltig .intro p { color: var(--grau); margin: 16px 0 20px; max-width: 40ch; }
.merkmale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.merkmal { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--linie); }
.merkmal strong { display: block; color: var(--navy); font-size: 16.5px; line-height: 1.35; margin-bottom: 3px; }
.merkmal span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--grau); }
@media (max-width: 959px) { .zweispaltig { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 639px) { .merkmale { grid-template-columns: 1fr; } }

/* Blick in den Konfigurator (Startseite, rein schmückend) */
.konf-teaser .rahmen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.konf-teaser p { color: var(--grau); margin: 16px 0 24px; max-width: 42ch; }
.teaser-buehne { background: #fff; border-radius: 10px; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; box-shadow: 0 1px 0 var(--linie); }
.teaser-szene { height: 300px; border-radius: 6px; background: linear-gradient(#d9dcd8, #cfd3cf 70%, #b9bdb8 70%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 30px; }
.teaser-szene img { height: 230px; width: auto; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.teaser-wahl { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.teaser-wahl b { font-size: 12px; color: var(--grau); font-weight: 600; margin-top: 4px; }
.chip { border: 1.5px solid var(--linie); border-radius: 6px; padding: 6px 8px; }
.chip.an { border-color: var(--navy); color: var(--navy); font-weight: 600; }
.farbpunkte { display: flex; gap: 6px; }
.farbpunkte i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
@media (max-width: 959px) { .konf-teaser .rahmen { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 639px) { .teaser-buehne { grid-template-columns: 1fr; } .teaser-wahl { display: none; } }

/* Häufige Fragen */
.fragen details { border-top: 1px solid var(--linie); padding: 16px 0; }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--navy); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font: 400 24px/1 var(--sans); color: var(--messing); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin-top: 10px; color: var(--grau); max-width: 62ch; }

/* Abschluss in Navy */
.abschluss { background: var(--navy); color: #fff; }
.abschluss .rahmen { padding-block: 56px 60px; display: flex; justify-content: space-between; align-items: center; gap: 24px 32px; flex-wrap: wrap; }
.abschluss h2 { color: #fff; }
.abschluss p { color: #D9E1E8; margin-top: 12px; max-width: 48ch; }

/* Modellübersicht: Filterleiste bleibt unter dem Kopf stehen (am Handy nicht, sie wäre zu hoch) */
.kopfbereich { padding-block: 40px 22px; }
.kopfbereich p { color: var(--grau); margin-top: 12px; max-width: 60ch; }
.filterleiste { position: sticky; top: var(--kopf); z-index: 20; background: rgba(255, 255, 255, .97); border-block: 1px solid var(--linie); }
.filterleiste .rahmen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 12px; }
.filtergruppe { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.filtertitel { font-size: 14px; font-weight: 600; color: var(--grau); }
.segment { display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--linie); border-radius: 6px; overflow: hidden; }
.segment button { min-height: 40px; padding: 0 13px; font: 500 14.5px var(--sans); background: #fff; color: var(--text); border: 0; border-left: 1.5px solid var(--linie); cursor: pointer; }
.segment button:first-child { border-left: 0; }
.segment button:hover { background: var(--nebel); }
.segment button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.segment button:focus-visible { outline-offset: -4px; outline-color: var(--messing-hell); }
.treffer { margin-left: auto; font-size: 14.5px; color: var(--grau); }
.treffer b { color: var(--navy); }
.tuerwand { padding-block: 36px 56px; }
.leer { padding-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--grau); }
@media (max-width: 767px) {
  .filterleiste { position: static; }
  .segment button { padding: 0 10px; font-size: 14px; }
  .treffer { margin-left: 0; flex-basis: 100%; }
}

/* Modellseite */
.modell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-block: 22px 56px; }
.galerie .buehne { min-height: 504px; padding-top: 34px; }
.galerie .buehne img { height: 470px; }
.lupe { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; font-size: 13.5px; font-weight: 600; color: var(--navy); background: #fff; border-radius: 6px; text-decoration: none; }
.lupe svg { width: 16px; height: 16px; }
.galerie .ki img { width: 100%; border-radius: 2px; }
.galerie .ki + .ki, .galerie .ansicht + .ansicht { margin-top: 18px; }
.ansichten { margin-top: 14px; }
.info .unterzeile { font-size: 18px; color: var(--grau); margin: 8px 0 18px; }
.info .text { max-width: 52ch; margin-bottom: 24px; }
.zusagen { list-style: none; margin: 18px 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; color: var(--grau); }
.zusagen li { display: flex; align-items: center; gap: 7px; }
.zusagen .symbol { width: 20px; height: 20px; }
.merkmalstabelle { margin: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); border-top: 1px solid var(--linie); }
.merkmalstabelle dt, .merkmalstabelle dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--linie); font-size: 15.5px; }
.merkmalstabelle dt { color: var(--grau); padding-right: 12px; }
.blaetterleiste { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; font-size: 15px; }
.blaettern { color: var(--navy); font-weight: 600; text-decoration: none; padding: 8px 0; }
.blaettern:hover { text-decoration: underline; text-decoration-color: var(--messing); text-underline-offset: 4px; }
.blaettern.nachher { margin-left: auto; }
.aehnlich { border-top: 1px solid var(--linie); }
.aehnlich h2 { margin-bottom: 26px; }
@media (max-width: 959px) {
  .modell { grid-template-columns: 1fr; gap: 24px; padding-block: 14px 34px; }
  .galerie .buehne { min-height: 0; }
  .galerie .buehne img { height: 330px; }
  .info .aktion .knopf { flex: 1 1 100%; }
  .merkmalstabelle { grid-template-columns: 118px minmax(0, 1fr); }
  .merkmalstabelle dt, .merkmalstabelle dd { font-size: 15px; }
}

/* Bild vergrößern (Dialog) */
.bildansicht { border: 0; padding: 0; background: transparent; max-width: min(96vw, 900px); max-height: 96vh; overscroll-behavior: contain; }
.bildansicht::backdrop { background: rgba(15, 36, 56, .82); }
.bildansicht img { max-height: calc(94vh - 64px); width: auto; margin: 0 auto; background: #fff; }
.bildansicht form { display: flex; justify-content: flex-end; margin-bottom: 8px; }

/* Konfigurator */
.konf-titel { padding-block: 28px 20px; }
.konf-titel p { color: var(--grau); margin-top: 6px; }
.arbeitsflaeche { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 56px; }
.konf-links { position: sticky; top: calc(var(--kopf) + 12px); display: flex; flex-direction: column; gap: 14px; }
.konf-buehne { position: relative; height: clamp(380px, 58vh, 520px); border-radius: 10px 10px 0 0; overflow: hidden; background: #cfd6da; }
.konf-buehne canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.konf-buehne #kbild-gross { height: 100%; width: auto; margin: 0 auto; background: #fff; }
.konf-hinweis { position: absolute; top: 14px; font-size: 12.5px; line-height: 1.3; color: #fff; background: rgba(15, 36, 56, .6); padding: 4px 9px; border-radius: 5px; pointer-events: none; }
.konf-hinweis.links { left: 14px; }
.konf-hinweis.rechts { right: 14px; }
.vorschau-leiste { margin-top: -14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; background: var(--nebel); border-radius: 0 0 10px 10px; padding: 10px 12px; font-size: 13px; }
.vorschau-gruppe { display: flex; align-items: center; gap: 6px; }
.vorschau-titel { color: var(--grau); font-weight: 600; }
.mini { display: inline-flex; border: 1.5px solid var(--linie); border-radius: 6px; overflow: hidden; background: #fff; }
.mini button { min-height: 32px; padding: 0 9px; font: 500 13px var(--sans); color: var(--text); background: #fff; border: 0; border-left: 1.5px solid var(--linie); cursor: pointer; }
.mini button:first-child { border-left: 0; }
.mini button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.mini button:focus-visible { outline-offset: -4px; outline-color: var(--messing-hell); }
.zusammenfassung { border: 1px solid var(--linie); border-radius: 10px; padding: 18px 20px; background: #fff; }
.zusammenfassung h2 { font-size: 21px; margin-bottom: 10px; }
.zusammenfassung ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 18px; font-size: 14.5px; }
.zusammenfassung li span { color: var(--grau); }
.preiszeile { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--linie); padding-top: 14px; flex-wrap: wrap; }
.preiszeile p { font-size: 14px; color: var(--grau); max-width: 34ch; }
.preiszeile strong { display: block; color: var(--navy); font-size: 15.5px; }
.konf-schritt { border-top: 1px solid var(--linie); padding: 20px 0 6px; }
.konf-schritt:first-child { border-top: 0; padding-top: 0; }
.schritt-titel { display: flex; align-items: center; gap: 12px; font-size: 21px; margin-bottom: 14px; }
.schritt-titel b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 14px var(--sans); flex: none; }
.gruppe { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.gruppe legend, .modellwahl label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.optionen { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 14px; font: 500 15px/1.25 var(--sans); color: var(--text); background: #fff; border: 1.5px solid var(--linie); border-radius: 6px; cursor: pointer; text-align: left; }
.opt:hover { border-color: var(--feld); }
.opt[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); color: var(--navy); font-weight: 600; }
.opt[aria-pressed="true"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--messing); flex: none; }
.opt.karte { flex-direction: column; align-items: flex-start; gap: 0; min-width: 190px; }
.opt.karte::before { display: none; }
.opt small { display: block; font-weight: 400; color: var(--grau); font-size: 12.5px; }
.wahl { display: inline-flex; align-items: flex-start; gap: 4px; }
.infoknopf { flex: none; width: 26px; height: 26px; margin-top: 9px; border-radius: 50%; border: 1.5px solid var(--linie); background: #fff; color: var(--navy); font: italic 700 13px/1 var(--serif); cursor: pointer; }
.infoknopf:hover, .infoknopf:focus-visible { border-color: var(--navy); }
.erklaerung { width: min(92vw, 480px); border: 0; border-radius: 6px; padding: 18px 20px 22px; }
.erklaerung::backdrop { background: rgba(15, 36, 56, .6); }
.erklaerung form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.erklaerung img { display: block; max-height: 300px; width: auto; max-width: 100%; margin: 0 auto 14px; }
.erklaerung h3 { margin-bottom: 8px; }
legend .infoknopf { margin: 0 0 0 4px; vertical-align: middle; }
.griffe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.griffe .wahl { display: flex; }
.griffe .wahl > .opt { flex: 1; }
.opt.griffkarte { flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 10px 8px; }
.opt.griffkarte::before { display: none; }
/* Katalogbild ist ein schmaler Türstreifen (1 : 5) mit Griff im gleichen Maßstab: hoch zeigen, damit der Griff lesbar ist */
.opt.griffkarte img { height: 220px; width: auto; max-width: 100%; }
.opt.griffkarte b { font-size: 13.5px; }
.opt.griffkarte span { font-weight: 400; font-size: 12px; color: var(--grau); }
.farbfeld small { display: block; font-weight: 400; font-size: 11.5px; color: var(--grau); }
@media (max-width: 639px) { .griffe { grid-template-columns: repeat(2, minmax(0, 1fr)); } .opt.griffkarte img { height: 190px; } }
.modellwahl { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--linie); border-radius: 8px; padding: 10px 12px; }
.modellwahl img { height: 88px; width: auto; border-radius: 3px; }
.modellwahl .auswahl { flex: 1; min-width: 0; }
.modellwahl select { width: 100%; min-height: 44px; padding: 0 10px; font: 600 17px var(--sans); color: var(--navy); background: #fff; border: 1.5px solid var(--feld); border-radius: 6px; }
.modellwahl .textlink { display: inline-block; margin-top: 6px; font-size: 14px; }
.masse { display: flex; flex-wrap: wrap; gap: 12px; }
.masse label { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; }
.einheit { display: flex; align-items: center; height: 48px; border: 1.5px solid var(--feld); border-radius: 6px; overflow: hidden; }
.einheit input { width: 110px; height: 100%; padding: 0 12px; border: 0; font: 400 16px var(--sans); color: var(--text); }
.einheit input:focus-visible { outline-offset: -3px; }
.einheit span { display: flex; align-items: center; height: 100%; padding: 0 12px; background: var(--nebel); color: var(--grau); font-weight: 400; }
.farben { display: flex; flex-wrap: wrap; gap: 12px; }
.farbfeld { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 74px; min-height: 44px; padding: 4px 0; font: 500 12.5px/1.25 var(--sans); color: var(--grau); text-align: center; background: none; border: 0; cursor: pointer; }
.farbfeld i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }
.farbfeld[aria-pressed="true"] { color: var(--navy); font-weight: 600; }
.farbfeld[aria-pressed="true"] i { outline: 2px solid var(--navy); outline-offset: 3px; }
.konf-leiste { display: none; }
@media (max-width: 959px) {
  .arbeitsflaeche { grid-template-columns: 1fr; gap: 20px; padding-bottom: 34px; }
  .konf-links { display: contents; }
  .konf-buehne { order: 1; height: 360px; border-radius: 0; margin-inline: calc(-1 * var(--rand)); }
  .vorschau-leiste { order: 2; margin: -20px calc(-1 * var(--rand)) 0; border-radius: 0; }
  .konf-rechts { order: 3; }
  .zusammenfassung { order: 4; }
  .konf-leiste { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; justify-content: space-between; align-items: center; gap: 10px; padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -6px 16px rgba(15, 36, 56, .08); }
  .konf-leiste p { font-size: 13px; line-height: 1.3; color: var(--grau); }
  .konf-leiste b { display: block; font-size: 14.5px; color: var(--navy); }
  body.seite-konfigurator { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 639px) { .zusammenfassung ul { grid-template-columns: 1fr; } .opt.karte { min-width: 0; flex: 1 1 100%; } }

/* Textseiten: Ratgeber, Ablauf, Rechtliches */
.artikel { max-width: 72ch; padding-block: 34px 60px; }
.artikel h1 { margin-bottom: 14px; }
.artikel h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 38px 0 12px; }
.artikel p, .artikel ul, .artikel ol { margin: 0 0 14px; }
.artikel li { margin-bottom: 6px; }
.artikel .einleitung { max-width: 60ch; margin-bottom: 10px; }
.artikel .aktion { margin-top: 24px; }
.quellen { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--linie); font-size: 13.5px; color: var(--grau); }
.hinweis-entwurf { background: #FBF3E4; border-left: 4px solid var(--messing); padding: 10px 14px; }
.tabelle { overflow-x: auto; margin: 0 0 14px; }
.tabelle table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linie); }
.tabelle th { color: var(--grau); font-weight: 600; font-size: 14px; }
.skizze { margin: 18px 0 22px; padding: 16px; background: var(--nebel); border-radius: 8px; }
.skizze svg { width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.skizze-text { font: 600 14px var(--sans); fill: var(--navy); stroke: none; }
.skizze figcaption { text-align: center; font-size: 14px; }
.ratgeber-flaechen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ratgeber-flaeche { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; height: 100%; padding: 22px; border: 1px solid var(--linie); border-radius: 8px; text-decoration: none; transition: border-color .15s ease; }
.ratgeber-flaeche:hover { border-color: var(--navy); }
.ratgeber-flaeche strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.ratgeber-flaeche span { display: block; font-size: 15px; color: var(--grau); }
.weitere { margin-top: 44px; }
.flaechen { padding-block: 8px 60px; }
.weitere h2 { margin-top: 0; }
@media (max-width: 639px) { .ratgeber-flaechen { grid-template-columns: 1fr; } .ratgeber-flaeche { padding: 18px; } }

/* Anfrage */
.anfrage-seite { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 34px 60px; }
.anfrage-seite h1 { margin-bottom: 14px; }
.anfrage-seite .einleitung { margin-bottom: 26px; max-width: 56ch; }
.formular-eingaben { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
#versand-ausweg { margin-top: 20px; }
#versand-ausweg .aktion { margin-top: 14px; }
#anfrage-erfolg:focus { outline: 2px solid var(--navy); outline-offset: 5px; }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 22px; }
.feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feld.breit { grid-column: 1 / -1; }
/* Pflichtset der Linien ohne Konfigurator: Felder reihen sich ins Formularraster ein ([hidden] gewinnt per !important). */
#linie-felder { display: contents; }
.feld label { font-size: 15px; font-weight: 600; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.4 var(--sans); color: var(--text); background: #fff; border: 1px solid var(--feld); border-radius: 6px; }
.feld textarea { min-height: 150px; resize: vertical; }
.feld [aria-invalid="true"] { border: 1.5px solid var(--fehler); }
.feldfehler { font-size: 13.5px; color: var(--fehler); }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; }
.haken input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.formmeldung { margin-top: 14px; padding: 12px 14px; background: var(--nebel); border-radius: 6px; }
.seitenkasten { background: var(--nebel); border-radius: 10px; padding: 24px; }
.seitenkasten h2 { font-size: 22px; margin-bottom: 14px; }
.seitenkasten ol { margin: 0 0 18px; padding-left: 20px; }
.seitenkasten li { margin-bottom: 8px; }
.seitenkasten .zusagen { margin: 16px 0 0; flex-direction: column; }
.seitenkasten .kontakt { margin-top: 16px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 959px) { .anfrage-seite { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 639px) { .felder { grid-template-columns: 1fr; } }

/* Fuß in Navy tief, drei Spalten */
.fuss { background: var(--navy-tief); color: #D9E1E8; font-size: 14.5px; }
.fuss .rahmen { padding-block: 40px 22px; }
.fuss-spalten { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.fuss .marke { color: #fff; }
.fuss .marke em { color: var(--messing-hell); }
.fuss p { margin-top: 12px; max-width: 36ch; line-height: 1.55; }
.fuss-titel { margin: 0 0 10px; font: 600 14.5px var(--sans); letter-spacing: 0; color: #fff; }
.fuss nav a { display: block; padding: 4px 0; text-decoration: none; }
.fuss nav a:hover { color: #fff; text-decoration: underline; }
.fuss-zeile { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #AEBBC7; }
@media (max-width: 767px) { .fuss-spalten { grid-template-columns: 1fr 1fr; } .fuss-spalten > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .tuer:hover img, .knopf:active { transform: none; }
}

/* Konfigurator: Gesamtmaß, Aufteilung, Mindestmaß (Spec Konfigurator Katalogmodelle in 3D, Abschnitt 3) */
.konf-schritt .feldfehler { display: block; margin-top: 6px; }
.konf-schritt .feldhinweis { display: block; margin-top: 6px; font-size: 13.5px; color: var(--navy); }
.teilfeld { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 14px; margin-top: 10px; }
.teil-tuer { font: 600 14px/1.3 var(--sans); color: var(--navy); padding-bottom: 12px; }
.konf-schritt .einheit:has(input[aria-invalid="true"]) { border-color: var(--fehler); }
.teilfeld label { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; }
.tuergroesse { font: 600 14px/1.3 var(--sans); color: var(--navy); margin: 8px 0 0; }
.tuergroesse:empty { display: none; }
a.knopf[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
/* Gesperrte Anfrage (DK V-34): Grund unter dem Knopf, in der Handy-Leiste statt „Preis auf Anfrage“. */
.anfrage-grund { margin: 10px 0 0; }
.konf-leiste .gesperrt { color: var(--fehler); font-weight: 600; }
/* Abschluss nach Schritt 4 (DK V-02), nur am Desktop: am Handy folgen „Ihre Tür“ und die Leiste direkt. */
.konf-abschluss { border-top: 1px solid var(--linie); padding-top: 18px; }
.konf-abschluss p:first-child { font-size: 15px; color: var(--grau); margin-bottom: 12px; max-width: 46ch; }
@media (max-width: 959px) { .konf-abschluss { display: none; } }
.konf-ohne-3d { position: absolute; right: 14px; bottom: 14px; margin: 0; font-size: 12.5px; color: #fff; background: rgba(15, 36, 56, .6); padding: 4px 9px; border-radius: 5px; }
.aufmacher-bild figcaption a { color: inherit; }
.echte-fotos { margin-top: 26px; }
.echte-fotos h2 { font-size: 20px; margin-bottom: 4px; }
.fotoreihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.fotoreihe a { display: block; text-decoration: none; color: var(--grau); font-size: 12px; }
.fotoreihe img { width: 100%; height: 128px; object-fit: cover; border-radius: 3px; }
.fotoreihe span { display: block; margin-top: 4px; }

/* Modellseite: Dokumentreihenfolge bleibt auch auf kleinen Bildschirmen erhalten. */
.modell { row-gap: 20px; align-items: start; }
.modell > .echte-fotos, .modell > .blaetterleiste { margin-top: 0; }
.modell-kopf .unterzeile, .modell-aktion .zusagen { margin-bottom: 0; }
.variante { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.variante legend { padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.variante label { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15.5px; cursor: pointer; }
.variante input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--navy); }
.variante .klein { margin: 4px 0 0; }
@media (min-width: 960px) {
  .modell-kopf { grid-column: 2; grid-row: 1; }
  .modell > .galerie { grid-column: 1; grid-row: 1 / 4; }
  .modell-aktion { grid-column: 2; grid-row: 2; }
  .modell-ausstattung { grid-column: 2; grid-row: 3; }
  .modell > .echte-fotos { grid-column: 1; grid-row: 4; }
  .modell > .blaetterleiste { grid-column: 2; grid-row: 4; }
}

/* Anfrage und Konfigurationshilfe: vorhandene Farben und Bedienelemente weiterverwenden. */
.din-skizze { display: block; width: min(100%, 420px); height: auto; margin: 12px 0; color: var(--navy); }
.gruppe > .klein { margin: 8px 0 12px; }
.konfiguration-text { white-space: pre-line; overflow-wrap: anywhere; margin-bottom: 16px; }
#anfrage-konfiguration { margin-bottom: 24px; }
#konfiguration-link { width: 100%; padding: 10px; margin: 10px 0; color: var(--text); border: 1px solid var(--feld); }
#konfiguration-meldung, #entwurf-meldung { margin-top: 10px; }
/* Die vollständige Zusammenfassung muss auch in niedrigen Desktopfenstern erreichbar bleiben. */
.konf-links { position: static; }

/* Montage im Raum Kassel (/montage/): Leistungsbild mit KI-Hinweis im Bild, Formular nutzt .felder/.feld. */
.montage-bild { position: relative; margin: 26px 0 8px; }
.montage-bild img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 8px; }
.montage-bild figcaption { position: absolute; right: 12px; bottom: 10px; margin: 0; font-size: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.montage .ratgeber-flaechen { margin-top: 18px; }
.montage-formular { margin-top: 18px; }
.montage-formular .feld small { font-size: 13.5px; color: var(--grau); }
.montage-honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.montage h2[id] { scroll-margin-top: 96px; }
