/* Balkonkonfigurator – Oberfläche Variante C (11/2026) */
.bmk { display: flex; flex-direction: column; gap: 18px; font-size: 17px; }
.bmk-intro { margin: 0; color: #3d454d; }
.bmk-card { background: #fff; border: 1px solid #dde1e5; padding: 24px; }
.bmk-card h2 { margin: 0 0 18px; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 26px; text-transform: uppercase; }
.bmk-step { font-family: "IBM Plex Mono", monospace; font-size: 15px; color: #2f6b0c; margin-right: 10px; font-weight: 500; }
.bmk-mono { font-family: "IBM Plex Mono", monospace; font-weight: 500; }
.bmk-label { display: block; font-family: "IBM Plex Mono", monospace; font-size: 13px; color: #5b636b; text-transform: uppercase; margin: 6px 0 10px; }

/* 01 Modell */
.bmk-model { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 18px; }
.bmk-model-main { flex: 1 1 420px; min-width: 0; }
.bmk-model-main img { display: block; width: 100%; max-height: 380px; object-fit: cover; border: 1px solid #dde1e5; cursor: zoom-in; }
.bmk-model-cap { margin-top: 8px; font-size: 15px; color: #3d454d; }
.bmk-model-sub { flex: 1 1 260px; min-width: 0; }
#fs { display: block; font-size: 14px; }
#fs br, #fs u, #fs > b { display: none; }
#fs table, #fs tbody, #fs tr { display: contents; }
#fs .t_anz { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
#fs td { display: block; padding: 0; border: 0; }
#fs td a { display: block; border: 1px solid #dde1e5; }
#fs td a:hover { border-color: #7ed321; }
#fs img { display: block; width: 100% !important; height: 76px !important; object-fit: cover; }
.bmk-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; max-height: 330px; overflow-y: auto; padding: 2px; border-top: 1px solid #eef0f2; padding-top: 10px; }
.bmk-thumb { display: block; border: 1px solid #dde1e5; text-decoration: none; color: #1c2024; background: #fff; }
.bmk-thumb img { display: block; width: 100%; height: 70px; object-fit: cover; }
.bmk-thumb span { display: block; padding: 4px 6px; font-family: "IBM Plex Mono", monospace; font-size: 13px; }
.bmk-thumb:hover { border-color: #7ed321; }
.bmk-thumb.is-active { border: 2px solid #7ed321; background: #f3fbe9; }

/* 02 Maße */
.bmk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 16px; }
.bmk-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #3d454d; }
.bmk-field input, .bmk-field select { font-family: "IBM Plex Mono", monospace; font-size: 18px; border: 1px solid #b8bfc6; padding: 11px 12px; border-radius: 2px; background: #fff; width: 100%; min-width: 0; }
.bmk-field input:focus, .bmk-field select:focus, .bmk-mini input:focus { outline: 2px solid #7ed321; outline-offset: 0; border-color: #7ed321; }
.bmk-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.bmk-opt { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 10px 14px; border: 1px solid #dde1e5; cursor: pointer; background: #fff; }
.bmk-opt input[type=checkbox], .bmk-opt input[type=radio] { width: 20px; height: 20px; accent-color: #3d8a0f; flex: 0 0 auto; margin: 0; }
.bmk-opt:has(input:checked) { border-color: #7ed321; background: #f3fbe9; }
.bmk-opt-ecken { justify-content: space-between; flex-wrap: wrap; cursor: default; }
.bmk-opt-ecken > label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.bmk-stepper { display: flex; align-items: center; gap: 6px; }
.bmk-stepper button { width: 38px; height: 38px; border: 1px solid #b8bfc6; background: #fff; font-size: 20px; cursor: pointer; border-radius: 2px; }
.bmk-mini { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: #5b636b; }
.bmk-mini input { width: 46px; text-align: center; font-family: "IBM Plex Mono", monospace; font-size: 17px; border: 1px solid #b8bfc6; padding: 5px 0; border-radius: 2px; }
.bmk-opt-ecken:not(:has(#eck:checked)) .bmk-stepper { opacity: .45; }

/* 03 Montage */
.bmk-set { border: 0; margin: 0 0 14px; padding: 0; }
.bmk-set legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.bmk-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.bmk-opt-big { align-items: flex-start; }
.bmk-opt-big span { display: flex; flex-direction: column; gap: 2px; }
.bmk-opt-big small { font-size: 14px; color: #5b636b; }
.bmk-actions { margin-top: 6px; }
.bmk-btn { font: inherit; font-weight: 600; font-size: 18px; padding: 15px 26px; background: #7ed321; color: #14210d; border: 0; border-radius: 3px; cursor: pointer; }
.bmk-btn:hover { background: #6bbd17; }

/* 04 Ergebnis (Ausgabe von eintrag.php) */
.bmk-result { border-top: 4px solid #7ed321; }
.bmk-hint { margin: 0; color: #5b636b; }
.bmk-hs { overflow-x: auto; }
.bmk-hs table { border-collapse: collapse; width: 100%; background: transparent !important; }
.bmk-hs table[border] { border: 0 !important; }
.bmk-hs .textpav1 { width: 100%; font-size: 16px; }
.bmk-hs td.eintrag_td { display: inline-block; vertical-align: top; width: 100% !important; max-width: 520px; padding: 18px !important; border: 1px solid #dde1e5; margin: 0 12px 12px 0; background: #fff; }
.bmk-hs td { padding: 4px 6px; }
.bmk-hs td[align=right] { font-family: "IBM Plex Mono", monospace; white-space: nowrap; }
.bmk-hs b { font-weight: 600; }
.bmk-hs input[type=submit], .bmk-hs input[type=button] { font: inherit; font-weight: 600; font-size: 18px; padding: 14px 24px; background: #7ed321 !important; color: #14210d; border: 0; border-radius: 3px; cursor: pointer; }
.bmk-hs input[type=submit]:hover { background: #6bbd17 !important; }

@media (max-width: 600px) {
  .bmk-card { padding: 16px; }
  .bmk-model-main img { max-height: 240px; }
  .bmk-thumbs { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); max-height: 260px; }
  .bmk-btn { width: 100%; }
}

/* Schritt 2 (Angebotsanfrage) und 3 (Danke) */
.bmk-s2 { display: block; }
.bmk-s2 .bmk-back { margin: 0 0 20px; }
.bmk-btn-outline { font: inherit; font-weight: 600; padding: 10px 16px; border: 1px solid var(--bm-line, #dde1e5); border-radius: 3px; background: #fff; color: var(--bm-ink, #1c2024); cursor: pointer; }
.bmk-btn-outline:hover { border-color: var(--bm-green, #7ed321); }
.bmk-s2-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.bmk-s2 .bmk-card { margin-bottom: 20px; }
.bmk-s2-img img { display: block; width: 100%; height: auto; }
.bmk-sum { width: 100%; border-collapse: collapse; font-size: 16px; }
.bmk-sum td { padding: 7px 0; border-bottom: 1px solid var(--bm-line, #dde1e5); vertical-align: top; }
.bmk-sum td:first-child { color: var(--bm-muted, #5b636b); padding-right: 16px; width: 42%; }
.bmk-sum td.bmk-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bmk-sum tr.bmk-sum-sep td { border-bottom: 2px solid var(--bm-ink, #1c2024); padding: 0; }
.bmk-sum tr.bmk-sum-total td { font-weight: 700; font-size: 19px; color: var(--bm-ink, #1c2024); border-bottom: 0; padding-top: 10px; }
.bmk-sum tr.bmk-sum-total td.bmk-num { color: var(--bm-green-text, #2f6b0c); }
.bmk-note { font-size: 14px; color: var(--bm-muted, #5b636b); border-left: 3px solid var(--bm-line, #dde1e5); padding-left: 12px; margin: 0 0 20px; }
.bmk-f { display: grid; gap: 16px; margin-bottom: 16px; }
.bmk-f2 { grid-template-columns: 1fr 1fr; }
.bmk-f3 { grid-template-columns: 1fr 1fr 1fr; }
.bmk-s2-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--bm-ink2, #3d454d); }
.bmk-s2-form input[type=text], .bmk-s2-form input[type=tel], .bmk-s2-form input[type=email], .bmk-s2-form select, .bmk-s2-form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c4cad0; border-radius: 3px; background: #fff; width: 100%; box-sizing: border-box; color: var(--bm-ink, #1c2024); }
.bmk-s2-form input:focus, .bmk-s2-form select:focus, .bmk-s2-form textarea:focus { outline: 2px solid var(--bm-green, #7ed321); border-color: var(--bm-green, #7ed321); }
.bmk-s2-form label.bmk-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; margin: 8px 0; }
.bmk-s2-form label.bmk-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.bmk-err { display: block; color: #c62828; font-size: 14px; font-weight: 600; }
.bmk-done { border-left: 4px solid var(--bm-green, #7ed321); background: var(--bm-green-soft, #f3fbe9); }
@media (max-width: 760px) { .bmk-s2-grid, .bmk-f2, .bmk-f3 { grid-template-columns: 1fr; } }
