/* Reflexa Vorbaurollladen-Modal (Layout wie fhreflexa). Achtung Theme: html{font-size:62.5%} -> 1rem = 10px, darum px. */
body.fhvb-offen { overflow: hidden; }

.fhvb-maske { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 2147483000; }
.fhvb-dialog {
    position: fixed; z-index: 2147483001; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 96vw; max-width: 1140px; height: 92vh; max-height: 900px;
    background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
    flex-direction: column; font-size: 15px; line-height: 1.45; color: #222; outline: none;
}
.fhvb-dialog h2 { font-size: 22px; margin: 0; padding-right: 40px; }
.fhvb-dialog h3 { font-size: 17px; margin: 22px 0 10px; }
.fhvb-dialog h3:first-child { margin-top: 0; }
.fhvb-dialog small, .fhvb-klein { font-size: 13px; color: #666; }

.fhvb-kopf { padding: 16px 22px 10px; border-bottom: 1px solid #e5e5e5; position: relative; }
.fhvb-zu { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 32px; line-height: 1; cursor: pointer; color: #555; }
.fhvb-dialog .fhvb-stepper { display: flex; flex-wrap: nowrap; width: 100% !important; max-width: none !important; gap: 8px; list-style: none; margin: 12px 0 4px; padding: 0; }
.fhvb-stepper li { flex: 0 0 auto; min-width: 150px; padding-right: 18px; display: flex; align-items: center; gap: 6px; border-bottom: 3px solid #ddd; padding-bottom: 6px; }
.fhvb-stepper li.aktiv { border-color: #ff790a; }
.fhvb-stepper li.fertig { border-color: #4caf50; }
.fhvb-stepper button { white-space: nowrap; border: 0; background: none; padding: 0; font-size: 15px; cursor: pointer; color: inherit; text-align: left; }
.fhvb-stepper button[disabled] { color: #aaa; cursor: default; }
.fhvb-nr { display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; background: #ddd; margin-right: 4px; font-weight: bold; }
.fhvb-stepper li.aktiv .fhvb-nr { background: #ff790a; color: #fff; }
.fhvb-stepper li.fertig .fhvb-nr { background: #4caf50; color: #fff; }
.fhvb-aendern { font-size: 13px; margin-left: auto; padding-left: 8px; white-space: nowrap; }
.fhvb-schrittinfo { font-size: 13px; color: #666; }
.fhvb-rechnet { color: #ff790a; }

.fhvb-body { flex: 1; display: flex; min-height: 0; }
.fhvb-inhalt { flex: 1; overflow-y: auto; padding: 18px 22px 30px; }
.fhvb-auswahl { width: 300px; flex: 0 0 300px; border-left: 1px solid #e5e5e5; background: #fafafa; overflow-y: auto; }
.fhvb-auswahl-inhalt { padding: 16px; }
.fhvb-auswahl h4 { font-size: 16px; margin: 0 0 10px; }
.fhvb-auswahl-toggle { display: none; }
.fhvb-bild { text-align: center; margin-bottom: 10px; }
.fhvb-bild img, .fhvb-bild svg { max-width: 100%; max-height: 220px; display: block; margin: 0 auto 4px; }
.fhvb-liste { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; }
.fhvb-liste li { padding: 3px 0; border-bottom: 1px dotted #ddd; }
.fhvb-preis { font-size: 26px; font-weight: bold; color: #ed532a; }
.fhvb-preis small { display: block; font-size: 12px; font-weight: normal; color: #666; }
.fhvb-umtausch { font-size: 13px; color: #555; margin: 8px 0 12px; }

.fhvb-systeme { display: grid; gap: 10px; }
.fhvb-system { display: grid; grid-template-columns: 26px 1fr; gap: 2px 8px; text-align: left; border: 2px solid #ddd; border-radius: 6px; background: #fff; padding: 12px; cursor: pointer; font-size: 15px; color: inherit; }
.fhvb-system.gewaehlt { border-color: #ff790a; background: #fff6ee; }
.fhvb-system.aus, .fhvb-gewebe.aus, .fhvb-check.aus { opacity: .45; cursor: not-allowed; }
.fhvb-radio { grid-row: span 2; width: 18px; height: 18px; border: 2px solid #999; border-radius: 50%; margin-top: 2px; }
.fhvb-system.gewaehlt .fhvb-radio { border-color: #ff790a; background: radial-gradient(#ff790a 45%, transparent 50%); }
.fhvb-system-titel { font-weight: bold; }
.fhvb-system-text { font-size: 14px; color: #555; }
.fhvb-empfohlen { font-style: normal; background: #4caf50; color: #fff; border-radius: 3px; padding: 1px 6px; font-size: 12px; margin-left: 6px; }

.fhvb-block { margin: 14px 0; }
.fhvb-block select, .fhvb-block input[type=text], .fhvb-block textarea { display: block; width: 100%; max-width: 460px; padding: 7px 9px; border: 1px solid #bbb; border-radius: 4px; font-size: 15px; margin: 4px 0; }
.fhvb-block textarea { max-width: none; }
.fhvb-dialog .fehlt { border-color: #e53935 !important; }

.fhvb-hinweis { border-left: 4px solid #2196f3; background: #eef6fd; padding: 9px 12px; margin: 10px 0; font-size: 14px; }
.fhvb-hinweis.warnung { border-color: #ff9800; background: #fff4e5; }
.fhvb-fehler { background: #ffebee; border: 1px solid #e57373; padding: 8px 12px; margin-bottom: 12px; }

.fhvb-wahl2 { display: grid; gap: 8px; margin: 10px 0; }
.fhvb-masse { border: 1px solid #e0e0e0; border-radius: 6px; padding: 12px 14px; margin: 16px 0; background: #fcfcfc; }
.fhvb-masse-titel { font-weight: bold; }
.fhvb-masse-gross { font-size: 16px; }
.fhvb-masstabelle { border-collapse: collapse; width: 100%; font-size: 14px; }
.fhvb-masstabelle td { padding: 4px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.fhvb-masstabelle td:first-child { color: #666; width: 40%; }
.fhvb-z-edit { margin-top: 8px; }
.fhvb-z-bild { width: 160px; height: 90px; display: block; }

.fhvb-btn { display: inline-block; border: 1px solid #bbb; background: #fff; border-radius: 4px; padding: 9px 16px; font-size: 15px; cursor: pointer; text-align: left; color: #222; }
.fhvb-btn.gewaehlt { border-color: #ff790a; background: #fff6ee; }
.fhvb-btn.primaer { background: #ff790a; border-color: #ff790a; color: #fff; }
.fhvb-btn.gross { width: 100%; text-align: center; font-weight: bold; padding: 12px; }
.fhvb-btn[disabled] { opacity: .45; cursor: not-allowed; }
/* "Uebernehmen" bleibt klickbar und nennt den Grund, sieht aber gesperrt aus */
.fhvb-btn.fhvb-gesperrt { opacity: .45; }
.fhvb-sperrhinweis { margin: 12px 0; }
.fhvb-sperrhinweis:focus { outline: 3px solid #ff790a; outline-offset: 2px; }
.fhvb-weiter { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
.fhvb-cta .fhvb-btn { flex: 1 1 240px; text-align: center; }

.fhvb-slider-rahmen { position: relative; padding: 0 34px; }
.fhvb-slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; }
.fhvb-pfeil { position: absolute; top: 40%; width: 30px; height: 44px; border: 1px solid #ccc; background: #fff; border-radius: 4px; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.fhvb-pfeil.links { left: 0; }
.fhvb-pfeil.rechts { right: 0; }
.fhvb-gewebe { flex: 0 0 200px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; text-align: left; border: 2px solid #ddd; border-radius: 6px; background: #fff; padding: 8px; cursor: pointer; font-size: 14px; color: inherit; }
.fhvb-gewebe.gewaehlt { border-color: #ff790a; background: #fff6ee; }
.fhvb-gewebe-bild { display: block; height: 110px; border-radius: 4px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.fhvb-masche { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); background-size: 5px 5px; }
.fhvb-gewebe-name { font-weight: bold; }
.fhvb-gewebe-text { color: #555; font-size: 13px; flex: 1; }
.fhvb-gewebe-preis { font-weight: bold; color: #ed532a; }
.fhvb-gewebe-grund, .fhvb-grund { color: #b26a00; font-size: 12px; }

.fhvb-farben { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fhvb-farbe { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; gap: 0 8px; align-items: center; border: 2px solid #ddd; border-radius: 6px; background: #fff; padding: 7px; cursor: pointer; text-align: left; font-size: 14px; color: inherit; }
.fhvb-farbe.gewaehlt { border-color: #ff790a; background: #fff6ee; }
.fhvb-punkt { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #999; }
.fhvb-punkt.regenbogen { background: conic-gradient(#e53935, #fdd835, #43a047, #1e88e5, #8e24aa, #e53935); }
.fhvb-farbe-name { font-weight: bold; }
.fhvb-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fhvb-chip { border: 2px solid #ddd; border-radius: 20px; background: #fff; padding: 6px 14px; cursor: pointer; font-size: 14px; color: inherit; }
.fhvb-chip.gewaehlt { border-color: #ff790a; background: #fff6ee; }
.fhvb-check { display: block; margin: 6px 0; cursor: pointer; font-weight: normal; }
.fhvb-dialog .fhvb-check input[type=checkbox] { display: inline-block !important; position: static !important; opacity: 1 !important; width: auto !important; height: auto !important; margin: 0 6px 0 0 !important; vertical-align: middle; }

@media (max-width: 767px) {
    .fhvb-dialog { width: 100vw; height: 100%; max-height: none; top: 0; left: 0; transform: none; border-radius: 0; font-size: 14px; }
    .fhvb-stepper li { flex: 1 1 0; min-width: 0; padding-right: 0; }
    .fhvb-stepper button { font-size: 12px; white-space: normal; }
    .fhvb-nr { width: 20px; height: 20px; line-height: 20px; margin-right: 2px; }
    .fhvb-aendern { display: none; }
    .fhvb-body { flex-direction: column; }
    .fhvb-inhalt { padding: 14px 14px 90px; }
    .fhvb-auswahl { position: absolute; left: 0; right: 0; bottom: 0; width: auto; flex: none; border-left: 0; border-top: 1px solid #ddd; max-height: 70%; box-shadow: 0 -4px 14px rgba(0,0,0,.12); }
    .fhvb-auswahl-toggle { display: flex; justify-content: space-between; width: 100%; border: 0; background: #fff; padding: 12px 14px; font-size: 15px; cursor: pointer; }
    .fhvb-auswahl .fhvb-auswahl-inhalt { display: none; }
    .fhvb-auswahl.offen .fhvb-auswahl-inhalt { display: block; }
    .fhvb-gewebe { flex-basis: 70%; }
    .fhvb-slider-rahmen { padding: 0; }
    .fhvb-pfeil { display: none; }
}

/* Kachel 16.2 im Konfigurator: Uebersicht des konfigurierten Insektenschutzes */
.fhvb-kachel-breit { flex: 0 0 100% !important; max-width: 100% !important; }
.fhvb-kachel { padding: 4px 16px 16px; font-size: 14px; line-height: 1.4; cursor: default; }
.fhvb-kachel-tab { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.fhvb-kachel-tab td { font-size: 14px !important; line-height: 1.4; padding: 4px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.fhvb-kachel-tab td:first-child { color: #666; width: 34%; }
.fhvb-kachel-summe td { font-weight: bold; border-bottom: 0; }
.fhvb-kachel-summe td:last-child { color: #ed532a; font-size: 16px; }
.fhvb-kachel-klein { font-size: 13px; color: #666; margin: 2px 0; }
.fhvb-kachel-aktionen { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fhvb-kachel .fhvb-btn { display: inline-block; border: 1px solid #bbb; background: #fff; border-radius: 4px; padding: 8px 14px; font-size: 14px; cursor: pointer; color: #222; }
.fhvb-kachel .fhvb-btn.primaer { background: #ff790a; border-color: #ff790a; color: #fff; }

/* Reflexa Wohnfuehlfarben: aufklappbare Liste unter den Standardfarben */
.fhvb-wf { margin: 12px 0 6px; border: 1px solid #e0e0e0; border-radius: 6px; padding: 8px 10px; background: #fcfcfc; }
.fhvb-wf-toggle { border: 0; background: none; padding: 4px 0; font-size: 15px; font-weight: bold; cursor: pointer; color: #222; }
.fhvb-wf-zeichen { display: inline-block; width: 22px; height: 22px; line-height: 20px; text-align: center; border: 1px solid #bbb; border-radius: 50%; margin-right: 6px; }
.fhvb-wf-gewaehlt { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; font-size: 14px; color: #ed532a; }
.fhvb-wf-inhalt { margin-top: 8px; }
.fhvb-wf-suche { flex: 1 1 200px; min-width: 160px; padding: 6px 10px; border: 1px solid #bbb; border-radius: 20px; font-size: 14px; }
.fhvb-wf-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; margin: 10px 0 6px; padding-right: 4px; }
.fhvb-wf-farbe { display: flex; align-items: center; gap: 8px; text-align: left; border: 2px solid #e2e2e2; border-radius: 5px; background: #fff; padding: 5px 7px; cursor: pointer; font-size: 13px; color: inherit; }
.fhvb-wf-farbe.gewaehlt { border-color: #ff790a; background: #fff6ee; }
.fhvb-punkt.klein { flex: 0 0 20px; width: 20px; height: 20px; display: inline-block; grid-row: auto; }

.fhvb-dialog .fhvb-preis small.fhvb-liefer, .fhvb-kachel .fhvb-liefer { color: #b26a00; font-weight: bold; margin-top: 4px; }

/* ---- Ergaenzungen Vorbaurollladen ---- */
.fhvb-dialog .fhvb-stepper li { flex: 1 1 0; min-width: 0; }
.fhvb-dialog .fhvb-stepper button { font-size: 12px; padding: 4px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fhvb-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fhvb-karten .fhvb-system { margin: 0; }
.fhvb-system small.fhvb-preisinfo { display: block; color: #FF790A; font-weight: bold; margin-top: 4px; }
.fhvb-masse-eingabe { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; }
.fhvb-masse-eingabe label { display: block; font-weight: bold; font-size: 13px; }
.fhvb-masse-eingabe input { width: 100%; box-sizing: border-box; padding: 7px 8px; border: 1px solid #bbb; border-radius: 4px; font-size: 15px; }
.fhvb-masse-eingabe small { color: #666; }
.fhvb-innen { border-left: 4px solid #FF790A; background: #fff6ee; padding: 8px 12px; margin: 10px 0; font-weight: bold; }
.fhvb-zeile { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; align-items: center; }
.fhvb-zeile > strong { min-width: 150px; }
.fhvb-preistab { width: 100%; border-collapse: collapse; margin: 8px 0; }
.fhvb-preistab td { padding: 5px 4px; border-bottom: 1px solid #eee; vertical-align: top; }
.fhvb-preistab td:last-child { text-align: right; white-space: nowrap; }
.fhvb-preistab tr.summe td { font-weight: bold; border-top: 2px solid #333; border-bottom: 0; font-size: 17px; }
.fhvb-gesperrt-grund { display: block; color: #a33; font-size: 12px; }
.fhvb-wf { max-height: 230px; overflow: auto; border: 1px solid #ddd; border-radius: 4px; padding: 8px; margin-top: 8px; }
.fhvb-p15 { border: 2px solid #FF790A; border-radius: 6px; padding: 12px 14px; margin: 12px 0; background: #fff; }
.fhvb-p15 h5 { margin: 0 0 8px; font-size: 16px; }
.fhvb-p15 table { border-collapse: collapse; width: 100%; font-size: 14px; }
.fhvb-p15 td { padding: 2px 8px 2px 0; vertical-align: top; }
.fhvb-p15 td:first-child { color: #666; white-space: nowrap; width: 1%; }
/* Angaben (Bezeichnung + Wert, 20px Abstand) und Preise stehen in zwei getrennten Tabellen */
.fhvb-p15 table.fhvb-p15-daten { width: auto; max-width: 100%; margin-bottom: 6px; }
.fhvb-p15 table.fhvb-p15-daten td { width: auto; text-align: left; }
.fhvb-p15 table.fhvb-p15-daten td:first-child { white-space: nowrap; padding-right: 20px; }
.fhvb-p15 .fhvb-p15-preis td { padding-top: 6px; }
.fhvb-p15 .fhvb-p15-preis td:last-child { text-align: right; white-space: nowrap; }
.fhvb-p15 .fhvb-p15-summe td { font-weight: bold; border-top: 1px solid #999; }
.fhvb-p15 .fhvb-p15-warn { color: #a33; font-weight: bold; }
.fhvb-p15-aktionen { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 800px) {
    .fhvb-dialog .fhvb-stepper button { font-size: 0; }
    .fhvb-dialog .fhvb-stepper button .fhvb-nr { font-size: 12px; }
}
.fhvb-system > *:not(.fhvb-radio) { grid-column: 2; }
.fhvb-dialog .fhvb-masstabelle .fhvb-aendern, .fhvb-dialog .fhvb-schrittinfo .fhvb-aendern { display: inline !important; margin-left: 6px; }
.fhvb-dialog .fhvb-chips { margin-bottom: 14px; }
.fhvb-system .fhvb-maxhoehe { display: block; margin-top: 4px; font-size: 13px; color: #333; }

/* ---- Schritt 1: Systemkarten mit Bild, Kurzliste, Details, Vergleich ---- */
.fhvb-vergleich-link { font-size: 13px; font-weight: normal; margin-left: 10px; text-decoration: underline; }
.fhvb-vergleich { overflow-x: auto; margin: 0 0 14px; border: 1px solid #ddd; border-radius: 6px; }
.fhvb-vergleich table { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 560px; }
.fhvb-vergleich th, .fhvb-vergleich td { padding: 6px 8px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.fhvb-vergleich th { background: #f3f3f3; }
.fhvb-vergleich td:first-child { color: #555; white-space: nowrap; }
.fhvb-syskarten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fhvb-syskarte { display: flex; flex-direction: column; border: 2px solid #ddd; border-radius: 6px; background: #fff; padding: 10px; min-width: 0; }
.fhvb-syskarte.gewaehlt { border-color: #ff790a; background: #fff6ee; }
.fhvb-syskarte.aus .fhvb-syskarte-bild, .fhvb-syskarte.aus .fhvb-syskarte-titel, .fhvb-syskarte.aus .fhvb-syskarte-kurz, .fhvb-syskarte.aus .fhvb-syskarte-liste { opacity: .45; }
.fhvb-syskarte-bild { background: #000; border-radius: 4px; text-align: center; min-height: 120px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fhvb-syskarte-bild img { display: block; max-width: 100%; height: auto; }
.fhvb-syskarte-titel { font-weight: bold; font-size: 17px; margin-top: 8px; }
.fhvb-syskarte-kurz { font-size: 13px; color: #444; margin-bottom: 6px; }
.fhvb-dialog ul.fhvb-syskarte-liste { margin: 0 0 8px; padding-left: 18px; font-size: 13px; list-style: disc; flex: 1 1 auto; }
.fhvb-syskarte-liste li { margin-bottom: 3px; }
.fhvb-syskarte-mehr { font-size: 13px; text-decoration: underline; margin-bottom: 8px; }
.fhvb-syskarte-grund { font-size: 12px; color: #a33; margin-bottom: 8px; }
.fhvb-syskarte-grund a { text-decoration: underline; }
.fhvb-syskarte .fhvb-btn { width: 100%; margin: 0; }
.fhvb-wischhinweis { display: none; }
.fhvb-sysdetail { position: relative; border: 1px solid #ddd; border-radius: 6px; background: #fafafa; padding: 14px 16px; margin-top: 12px; }
.fhvb-sysdetail h4 { margin: 0 34px 10px 0; font-size: 16px; }
.fhvb-dialog .fhvb-sysdetail-zu { position: absolute; top: 6px; right: 8px; }
.fhvb-sysdetail-inhalt { display: flex; gap: 18px; align-items: flex-start; }
.fhvb-sysdetail-bild { flex: 0 0 auto; max-width: 48%; background: #000; border-radius: 4px; overflow: hidden; }
.fhvb-sysdetail-bild img { display: block; max-width: 100%; height: auto; }
.fhvb-sysdetail-text { flex: 1 1 0; min-width: 0; font-size: 14px; }
.fhvb-dialog .fhvb-sysdetail-text ul { margin: 4px 0 12px; padding-left: 18px; list-style: disc; }
@media (max-width: 1000px) { .fhvb-syskarten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
    .fhvb-syskarten { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
    .fhvb-syskarte { flex: 0 0 78%; scroll-snap-align: start; }
    .fhvb-wischhinweis { display: block; }
    .fhvb-sysdetail-inhalt { flex-direction: column; }
    .fhvb-sysdetail-bild { max-width: 100%; }
}
.fhvb-dialog { -webkit-hyphens: manual; hyphens: manual; }
.fhvb-syskarte-bild { height: 200px; }
.fhvb-syskarte-bild img { max-height: 100%; width: auto; object-fit: contain; }
/* PNG-Bilder mit transparentem Hintergrund: heller statt schwarzer Bildgrund */
.fhvb-syskarte-bild, .fhvb-sysdetail-bild { background: #f4f5f6; }

/* ---- Systemkarten: klare Boxen, Auswahl mit orangem Rahmen und Fahne, Bild vollstaendig ---- */
.fhvb-dialog .fhvb-syskarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fhvb-dialog .fhvb-syskarte { position: relative; display: flex; flex-direction: column; border: 2px solid #cfd3d7; border-radius: 6px; background: #fff; padding: 14px; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.fhvb-dialog .fhvb-syskarte.gewaehlt { border: 3px solid #ff790a; padding: 13px; background: #fff; box-shadow: 0 2px 10px rgba(255, 121, 10, .25); }
.fhvb-dialog .fhvb-fahne { position: absolute; right: -6px; top: 18px; z-index: 2; line-height: 0; }
.fhvb-dialog .fhvb-syskarte-bild { height: auto; min-height: 0; background: #f4f5f6; border-radius: 4px; padding: 8px; display: block; text-align: center; overflow: visible; }
.fhvb-dialog .fhvb-syskarte-bild img { display: inline-block; max-width: 100%; width: auto; height: auto; max-height: none; object-fit: contain; }
.fhvb-dialog .fhvb-syskarte-titel { font-weight: bold; font-size: 18px; margin-top: 10px; }
.fhvb-dialog .fhvb-syskarte .fhvb-btn { margin-top: auto; }
.fhvb-dialog .fhvb-bild img { max-width: 100%; height: auto; }
@media (max-width: 800px) {
    .fhvb-dialog .fhvb-syskarten { display: flex; gap: 12px; }
    .fhvb-dialog .fhvb-syskarte { flex: 0 0 84%; }
}

/* ---- Zweites Fenster: Aufbau und Details eines Systems (liegt ueber dem Konfigurator) ---- */
.fhvb-dialog .fhvb-detailmaske { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); border-radius: 6px; z-index: 20; }
.fhvb-dialog .fhvb-detaildialog { position: absolute; z-index: 21; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(880px, 94%); max-height: 90%; display: flex; flex-direction: column; background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.fhvb-dialog .fhvb-detailkopf { position: relative; padding: 16px 56px 12px 20px; border-bottom: 1px solid #e3e3e3; }
.fhvb-dialog .fhvb-detailkopf h3 { margin: 0; font-size: 20px; }
.fhvb-dialog .fhvb-detailkopf h3 small { display: block; font-size: 14px; font-weight: normal; color: #555; margin-top: 2px; }
.fhvb-dialog .fhvb-detailkopf .fhvb-zu { position: absolute; top: 10px; right: 12px; }
.fhvb-dialog .fhvb-detailinhalt { padding: 16px 20px; overflow-y: auto; display: flex; gap: 20px; align-items: flex-start; }
.fhvb-dialog .fhvb-detailbild { flex: 0 0 auto; max-width: 46%; background: #f4f5f6; border-radius: 4px; padding: 8px; }
.fhvb-dialog .fhvb-detailbild img { display: block; max-width: 100%; height: auto; }
.fhvb-dialog .fhvb-detailtext { flex: 1 1 0; min-width: 0; font-size: 14px; }
.fhvb-dialog .fhvb-detailtext ul { margin: 4px 0 12px; padding-left: 18px; list-style: disc; }
.fhvb-dialog .fhvb-detailtext li { margin-bottom: 4px; }
.fhvb-dialog .fhvb-detailfuss { padding: 12px 20px; border-top: 1px solid #e3e3e3; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 800px) {
    .fhvb-dialog .fhvb-detaildialog { width: 96%; max-height: 94%; }
    .fhvb-dialog .fhvb-detailinhalt { flex-direction: column; }
    .fhvb-dialog .fhvb-detailbild { max-width: 100%; align-self: center; }
}
.fhvb-dialog .fhvb-detailtext p { font-size: 14px; line-height: 1.45; color: #222; margin: 0 0 12px; }
.fhvb-dialog .fhvb-liste li.fhvb-offen { color: #777; font-style: italic; }
.fhvb-dialog .fhvb-kabelbild { border: 1px solid #ddd; border-radius: 6px; background: #fff; padding: 10px; margin: 0 0 12px; }
.fhvb-dialog .fhvb-kabelbild img { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; }
.fhvb-dialog .fhvb-kabelbild small { display: block; margin-top: 8px; color: #555; }

/* ---- Zweites Fenster Kabelaustritt / Nothandkurbel + Kurzzeile in Schritt 5 ---- */
.fhvb-dialog .fhvb-motordialog { width: min(980px, 95%); max-height: 94%; }
.fhvb-dialog .fhvb-motorinhalt { display: block; }
.fhvb-dialog .fhvb-motorinhalt h4 { font-size: 16px; margin: 14px 0 8px; }
.fhvb-dialog .fhvb-motorinhalt .fhvb-innen { margin-top: 0; }
.fhvb-dialog .fhvb-motorwahl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border: 2px solid #ff790a; border-radius: 6px; background: #fff6ee; padding: 10px 14px; margin: 14px 0; }
.fhvb-dialog .fhvb-motorwahl .fhvb-btn { margin: 0; }
.fhvb-dialog .fhvb-motordialog .fhvb-kabelbild img { max-width: 700px; }
.fhvb-dialog .fhvb-chip .fhvb-empfohlen { font-style: normal; font-size: 11px; font-weight: bold; text-transform: uppercase; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: #2e7d32; color: #fff; }
.fhvb-dialog .fhvb-chip.empfohlen { border-color: #2e7d32; }
.fhvb-dialog .fhvb-chip.empfohlen.gewaehlt { border-color: #ff790a; }
.fhvb-dialog .fhvb-daemmung.aus .fhvb-zeile, .fhvb-dialog .fhvb-daemmung.aus .fhvb-check { opacity: .45; }
.fhvb-dialog .fhvb-daemmung .fhvb-chip small { font-weight: normal; color: #666; }
.fhvb-dialog .fhvb-fehlt-hinweis { display: inline-block; margin: 0 12px 0 0; padding: 6px 10px; background: #fff4e5; border-left: 4px solid #ff790a; border-radius: 3px; font-size: 14px; font-weight: bold; color: #7a3d00; vertical-align: middle; }
.fhvb-dialog p.fhvb-fehlt-hinweis { display: block; margin: 8px 0 0; }

/* Rabatt-Hinweis beim Preis (kleinere Schrift) */
.fhvb-dialog .fhvb-rabatt, .fhvb-dialog .fhvb-preis small.fhvb-rabatt { display: block; margin: 4px 0 0; font-size: 12px; line-height: 1.35; font-weight: normal; color: #666; }
.fhvb-dialog p.fhvb-rabatt { margin: 6px 0 10px; }

/* ---- Eigenstaendiger Vorbaurollladen (Artikel 187955): Einstieg, Masseingabe, Aufmasshilfe, Erfolg ---- */
.fhvb-einstieg { margin: 0 0 15px; }
.fhvb-einstieg .fhvb-einstieg-btn { width: 100%; }
.fhvb-einstieg small { display: block; margin-top: 6px; color: #555; }
.fhvb-dialog .fhvb-eingabe-eigen { border-color: #ff790a; }
.fhvb-dialog .fhvb-eingabe-eigen input:invalid { border-color: #c62828; }
.fhvb-dialog .fhvb-aufmass { margin: 12px 0 4px; max-width: 360px; }
.fhvb-dialog .fhvb-aufmass svg { display: block; width: 100%; height: auto; }
.fhvb-dialog .fhvb-erfolg { border: 2px solid #2e7d32; background: #f1f8f1; border-radius: 6px; padding: 16px 18px; margin: 0 0 16px; }
.fhvb-dialog .fhvb-erfolg h3 { color: #2e7d32; margin-top: 0; }
.fhvb-dialog .fhvb-erfolg-haken { vertical-align: -3px; margin-right: 4px; }
.fhvb-dialog a.fhvb-btn { text-decoration: none; }
