/* Lösungsfinder · Phase 4.8 – Inline Product Interactions (nur /studio-v2/, alles unter .fl bzw. .finder-stage.is-live).
   Die Demo ist die Bühne: dieselbe 1-px-Haarlinie wie die Bildflächen, keine Browser-/Kartenhülle, kein Modal.
   Steuerung klein und direkt am Produkt. Zustandswechsel ≤ 250 ms. */

.fl {
  --fl-ink: #16191c; --fl-ink2: #30353a; --fl-mute: #6a7178; --fl-line: #e2e4e6; --fl-line2: #cdd1d5; --fl-soft: #f6f6f4;
  --fl-new: #4f79a8; --fl-work: #c58a1b; --fl-ok: #3d8b5a; --fl-off: #b3b8bd; --fl-warn: #8a5a0a; --fl-warnbg: #f7efdd;
  --fl-ui: "DM Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fl-t: .25s;
  position: relative; min-width: 0; width: 100%; display: grid; gap: 8px; align-content: start;
  font: 12.5px/1.35 var(--fl-ui); color: var(--fl-ink);
}
.fl *, .fl *::before, .fl *::after { box-sizing: border-box; }
.fl p, .fl h3, .fl h4, .fl ul, .fl ol, .fl blockquote { margin: 0; }
.finder-stage.is-live .st-vis { display: block; overflow: hidden; }

/* ---------- Steuerung am Produkt ---------- */
.fl-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.fl-ctl__b {
  display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 3px 11px 3px 6px; border: 1px solid var(--tl-line, #ddd);
  border-radius: 100px; background: none; cursor: pointer; font: var(--w-semi, 600) .76rem/1.2 "Outfit", sans-serif; color: var(--tl-mut, #666);
  transition: color var(--fl-t), border-color var(--fl-t), background var(--fl-t);
}
.fl-ctl--toggle .fl-ctl__b { padding: 3px 12px; }
.fl-ctl__n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1px var(--tl-line, #ddd); font-size: .68rem; }
.fl-ctl__b:hover { color: var(--tl, #111); }
.fl-ctl__b[aria-pressed="true"] { color: var(--tl, #111); border-color: var(--tl, #111); }
.fl-ctl__b[aria-pressed="true"] .fl-ctl__n { background: var(--gold, #d9a441); box-shadow: none; color: #17161a; }
.fl-ctl__b:focus-visible, .fl button:focus-visible, .fl input:focus-visible + span { outline: 2px solid var(--gold-ink, #8a6416); outline-offset: 2px; }
.fl-ctl--toggle { gap: 0; }
.fl-ctl--toggle .fl-ctl__b { border-radius: 0; }
.fl-ctl--toggle .fl-ctl__b:first-child { border-radius: 100px 0 0 100px; }
.fl-ctl--toggle .fl-ctl__b:last-child { border-radius: 0 100px 100px 0; margin-left: -1px; }
.fl-ctl--toggle .fl-ctl__b[aria-pressed="true"] { background: var(--tl, #111); color: var(--paper, #fff); position: relative; }

/* ---------- Produkt-Grundbausteine (aus den Demos) ---------- */
.fl-app { position: relative; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px var(--tl-line, #ddd); overflow: hidden; transform-origin: 0 0; }
.fl-bar { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px; border-bottom: 1px solid var(--fl-line); background: #fff; white-space: nowrap; overflow: hidden; }
.fl-bar--intern { background: var(--fl-soft); }
.fl-bar .fl-btn { margin-left: auto; }
.fl-wm { font: 700 14px/1 Georgia, "DM Serif Display", serif; }
.fl-logo { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; background: var(--fl-ink); color: #fff; font-size: 10px; font-weight: 700; }
.fl-mute { color: var(--fl-mute); }
.fl-small { font-size: 11px; }
.fl-who { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--fl-ink); }
td .fl-who { margin-left: 0; }
.fl-lbl { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fl-mute); }
.fl-h { font-weight: 600; font-size: 13.5px; margin-bottom: 8px !important; }
.fl-q { display: block; margin: 0 0 5px !important; font-weight: 600; font-size: 12px; color: var(--fl-ink2); }
.fl-q em { font-style: normal; font-weight: 600; color: var(--fl-ink); margin-left: 6px; }
.fl-name { font-weight: 700; font-size: 14px; margin-top: 2px !important; }
.fl-sb { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.fl-card { background: #fff; border: 1px solid var(--fl-line2); border-radius: 6px; padding: 10px 12px; min-width: 0; }
.fl-av { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: #e9e8e4; color: var(--fl-ink2); font: 700 9.5px/1 var(--fl-ui); font-style: normal; }
.fl-ic { width: 14px; height: 14px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fl-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--fl-line); background: #f6f6f5; border-radius: 3px; padding: 1px 7px; font-size: 11px; font-weight: 600; color: var(--fl-ink2); white-space: nowrap; }
.fl-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fl-off); }
.fl-chip.new::before { background: var(--fl-new); } .fl-chip.work::before { background: var(--fl-work); } .fl-chip.ok::before { background: var(--fl-ok); } .fl-chip.plain::before { display: none; }
.fl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 6px 14px; border-radius: 4px; border: 1px solid var(--fl-ink);
  background: var(--fl-ink); color: #fff; font: 600 12.5px/1.2 var(--fl-ui); white-space: nowrap; cursor: default;
}
button.fl-btn { cursor: pointer; }
.fl-btn.ghost { background: #fff; color: var(--fl-ink); border-color: var(--fl-line2); }
.fl-btn.sm { min-height: 24px; padding: 2px 9px; font-size: 11px; }
.fl-it { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid var(--fl-line); }
.fl-it:first-of-type { border-top: 0; }
.fl-it > div { min-width: 0; flex: 1; }
.fl-it small, .fl-msg small { display: block; color: var(--fl-mute); font-size: 11px; }
.fl-next { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 8px !important; font-size: 12px; }
.fl-next span { color: var(--fl-mute); }
.fl-tog { width: 28px; height: 16px; flex: none; border-radius: 10px; background: var(--fl-off); position: relative; }
.fl-tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left var(--fl-t); }
.fl-tog.on { background: var(--fl-ok); } .fl-tog.on::after { left: 14px; }
.fl-seg { display: flex; flex-wrap: wrap; border: 1px solid var(--fl-line2); border-radius: 5px; overflow: hidden; }
.fl-seg > * { flex: 1 1 auto; padding: 6px 10px; text-align: center; font: 500 12px/1.25 var(--fl-ui); color: var(--fl-ink2); background: #fff; border: 0; border-left: 1px solid var(--fl-line2); }
.fl-seg > *:first-child { border-left: 0; }
.fl-seg > .sel, .fl-seg > [aria-pressed="true"] { background: var(--fl-ink); color: #fff; font-weight: 600; }
.fl-seg--live > button { cursor: pointer; min-height: 34px; transition: background var(--fl-t), color var(--fl-t); }
.fl-seg--live > button:hover:not([aria-pressed="true"]) { background: var(--fl-soft); }
.fl-note { display: flex; align-items: center; gap: 6px; margin-top: 6px !important; font-size: 11.5px; color: var(--fl-mute); }
.fl-note.is-b { color: var(--fl-ink); }
.fl-note.warn { color: var(--fl-warn); }
.fl-note[hidden] { display: none; }

/* Zustände übereinander → konstante Höhe, Wechsel = Überblendung */
.fl-views { display: grid; }
.fl-view { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity var(--fl-t) ease, visibility 0s linear var(--fl-t); }
.fl-view.is-on { opacity: 1; visibility: visible; transition: opacity var(--fl-t) ease, visibility 0s; }

/* ---------- S4 LeadFlow ---------- */
.fl-form, .fl-lead, .fl-nf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 18px; padding: 12px 14px; align-content: start; }
.fl-steps { display: flex; gap: 4px; margin: 7px 0 10px; } .fl-steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--fl-line); } .fl-steps i.on { background: var(--fl-ink); }
.fl-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fl-opts span { padding: 8px 10px; border: 1px solid var(--fl-line2); border-radius: 5px; font-weight: 500; }
.fl-opts .sel { border-color: var(--fl-ink); box-shadow: inset 0 0 0 1px var(--fl-ink); font-weight: 600; }
.fl-form__b .fl-seg { margin-bottom: 10px; }
.fl-input { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--fl-line2); border-radius: 5px; margin-bottom: 12px; }
.fl-form__b .fl-btn { width: 100%; }
.fl-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin-top: 8px; }
.fl-kv span { color: var(--fl-mute); }
.fl-leadc { box-shadow: 0 0 0 2px rgba(217, 164, 65, .55); border-color: transparent; }
.fl-lead__aside { display: grid; align-content: start; gap: 10px; }
.fl-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 12px 14px; }
.fl-col { background: var(--fl-soft); border-radius: 5px; padding: 7px; min-width: 0; }
.fl-ch { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--fl-ink2); margin-bottom: 6px !important; }
.fl-ch em { font-style: normal; color: var(--fl-mute); }
.fl-k { background: #fff; border: 1px solid var(--fl-line2); border-radius: 4px; padding: 7px 8px; display: grid; gap: 2px; }
.fl-k b { font-size: 12px; } .fl-k > span { color: var(--fl-mute); font-size: 11.5px; }
.fl-k small { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 11px; color: var(--fl-ink2); }
.fl-k small.rem { color: var(--fl-warn); }
.fl-k.hi { box-shadow: 0 0 0 2px rgba(217, 164, 65, .7); border-color: transparent; }
.fl-col--solo { align-self: start; }

/* ---------- S5 Konfigurator ---------- */
.fl-cfg { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.fl-cfg__l { padding: 12px 14px; display: grid; gap: 12px; align-content: start; }
.fl-cfg__r { padding: 12px 14px; background: var(--fl-soft); border-left: 1px solid var(--fl-line); display: grid; gap: 8px; align-content: start; }
.fl-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.fl-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: none; cursor: pointer; --p: 55.6%; }
.fl-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--fl-ink) var(--p), var(--fl-line2) var(--p)); }
.fl-range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--fl-ink) var(--p), var(--fl-line2) var(--p)); }
.fl-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--fl-ink); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.fl-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--fl-ink); }
.fl-chk { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; cursor: pointer; font-weight: 500; }
.fl-chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--fl-ink); }
.fl-chk.is-off { color: var(--fl-off); cursor: not-allowed; }
.fl-sum, .fl-calc { display: grid; gap: 3px; }
.fl-sum div, .fl-calc div { display: flex; justify-content: space-between; gap: 10px; }
.fl-sum span { color: var(--fl-mute); }
.fl-sum b { text-align: right; }
.fl-calc { padding-top: 7px; border-top: 1px dashed var(--fl-line2); font-size: 11.5px; color: var(--fl-ink2); }
.fl-calc b { font-weight: 600; white-space: nowrap; }
.fl-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--fl-line2); }
.fl-price p { font: 700 22px/1.1 var(--fl-ui); margin-top: 3px !important; }
.fl-price small { font-size: 12px; font-weight: 500; color: var(--fl-mute); }
.fl-hint { font-size: 11px; }
@keyframes fl-pulse { from { background: rgba(217, 164, 65, .28); } to { background: transparent; } }
.fl-pulse { animation: fl-pulse .3s ease-out; border-radius: 3px; }

/* ---------- S6 Kundenportal ---------- */
.fl-pt { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
.fl-pt__l { display: grid; gap: 10px; align-content: start; }
.fl-prog { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.fl-prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--fl-line); overflow: hidden; }
.fl-prog i b { display: block; height: 100%; background: var(--fl-work); transition: width var(--fl-t) ease; }
.fl-tl { display: flex; flex-wrap: wrap; gap: 3px 10px; margin-top: 8px; font-size: 11px; color: var(--fl-mute); }
.fl-tl span { display: inline-flex; align-items: center; gap: 4px; }
.fl-tl span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--fl-off); }
.fl-tl .done { color: var(--fl-ink2); } .fl-tl .done::before { background: var(--fl-ok); box-shadow: none; }
.fl-tl .cur { color: var(--fl-ink); font-weight: 600; } .fl-tl .cur::before { background: var(--fl-work); box-shadow: none; }
.fl-msg { display: flex; gap: 9px; align-items: flex-start; }
.fl-docs { display: grid; gap: 0; align-content: start; }
.fl-docs > p { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-top: 1px solid var(--fl-line); }
.fl-docs > .fl-sb { padding-bottom: 6px; }
.fl-docs em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--fl-mute); }
.fl-docs .miss { color: var(--fl-warn); } .fl-docs .miss em { color: var(--fl-warn); }
.fl-seg--steps { margin-top: 2px; flex-wrap: wrap; }
.fl-seg--steps > button { flex: 1 1 auto; min-width: max-content; white-space: nowrap; padding: 6px 6px; font-size: 11px; }
.fl-seg--steps > button.done { background: #eef3ef; color: var(--fl-ink2); }
.fl-action { display: grid; gap: 6px; align-content: start; }
.fl-action .fl-btn { justify-self: start; margin-top: 4px; }

/* ---------- S7 Arbeitsbereich mit Hotspots ---------- */
.fl-ws { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .38fr); gap: 10px; padding: 10px 12px; }
.fl-ws__main, .fl-ws__side { display: grid; gap: 8px; align-content: start; min-width: 0; }
.fl-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fl-kpi > div { background: var(--fl-soft); border-radius: 5px; padding: 6px 9px; font-size: 11px; color: var(--fl-mute); }
.fl-kpi b { display: block; font-size: 14px; color: var(--fl-ink); }
.fl-tbl { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.fl-tbl th { position: relative; text-align: left; font-weight: 600; font-size: 10.5px; color: var(--fl-mute); text-transform: uppercase; letter-spacing: .06em; padding: 5px 6px; border-bottom: 1px solid var(--fl-line2); white-space: nowrap; }
.fl-tbl td { padding: 6px; border-bottom: 1px solid var(--fl-line); white-space: nowrap; }
.fl-nr { color: var(--fl-mute); }
.fl-tbl th.fl-th-dot { padding-left: 30px; }
@media (max-width: 899px) { .fl-tbl th.fl-th-dot { padding-left: 34px; } }
.fl-bn { display: grid; grid-template-columns: 56px minmax(0, 1fr) 14px; align-items: center; gap: 6px; margin-top: 5px !important; font-size: 11px; }
.fl-bn i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--fl-ink2) var(--w), transparent var(--w)); }
.fl-ws__side p small { display: block; font-size: 11px; color: var(--fl-mute); }
.fl-ws__side .fl-card > p { margin-top: 5px !important; }
.fl-dot {
  position: absolute; z-index: 3; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1.5px var(--gold, #d9a441), 0 2px 6px rgba(0,0,0,.12); color: #17161a; font: 700 11px/1 "Outfit", sans-serif; cursor: pointer;
  transition: background var(--fl-t), box-shadow var(--fl-t);
}
.fl-dot::after { content: ""; position: absolute; inset: -11px; border-radius: 50%; }
.fl-dot[aria-pressed="true"] { background: var(--gold, #d9a441); box-shadow: 0 0 0 3px rgba(217, 164, 65, .3); }
.fl--ablaeufe [data-spot] { transition: opacity var(--fl-t) ease, box-shadow var(--fl-t) ease, background var(--fl-t) ease; }
.fl--ablaeufe[data-state] [data-spot]:not(.is-spot) { opacity: .32; }
.fl--ablaeufe td.is-spot, .fl--ablaeufe th.is-spot { background: rgba(217, 164, 65, .1); }
.fl--ablaeufe .fl-card.is-spot, .fl--ablaeufe .fl-kpi.is-spot > div { box-shadow: 0 0 0 2px rgba(217, 164, 65, .7); border-color: transparent; }

/* ---------- S3 Mustermann-Leistungsseite ---------- */
.fl-seite { min-width: 0; }
.fl-frame { position: relative; width: 100%; aspect-ratio: 1200 / 750; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--tl-line, #ddd); }
.fl[data-state="seite"] .fl-frame { background: var(--fl-soft); }
.fl-lp { position: absolute; left: 0; top: 0; width: 1000px; transform-origin: 0 0; background: #fff; color: #16191c; font: 16px/1.45 var(--fl-ui); transition: transform var(--fl-t) ease; }
.fl-mark { transition: left var(--fl-t) ease, top var(--fl-t) ease, width var(--fl-t) ease, height var(--fl-t) ease, opacity var(--fl-t) ease; }
.fl-lp__nav { display: flex; align-items: baseline; gap: 10px; padding: 16px 32px; border-bottom: 1px solid #e4e2dc; }
.fl-lp__nav b { font: 700 22px/1 Georgia, serif; }
.fl-lp__nav small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #6a7178; }
.fl-lp__nav span { margin-left: 22px; color: #6a7178; font-size: 14px; }
.fl-lp__nav em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 14px; background: #16191c; color: #fff; padding: 8px 14px; border-radius: 4px; }
.fl-lp__b { padding: 26px 32px; border-bottom: 1px solid #efede8; }
.fl-lp__b h4 { font: 700 24px/1.2 Georgia, serif; margin-bottom: 12px; }
.fl-lp__hero { display: grid; grid-template-columns: minmax(0, 1fr) 44%; gap: 28px; align-items: center; background: #f7f5f0; }
.fl-lp__hero h3 { font: 700 38px/1.08 Georgia, serif; margin: 8px 0 12px; }
.fl-lp__hero img { width: 100%; height: 250px; object-fit: cover; border-radius: 4px; display: block; }
.fl-lp__eye { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6a7178; }
.fl-lp__cta { display: flex; gap: 10px; margin-top: 16px !important; }
.fl-lp__cta span { padding: 10px 16px; border-radius: 4px; background: #16191c; color: #fff; font-weight: 600; font-size: 15px; }
.fl-lp__cta span.ghost { background: transparent; color: #16191c; box-shadow: inset 0 0 0 1px #bfc3c7; }
.fl-lp__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fl-lp__cols ul { padding-left: 1.1em; }
.fl-lp__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fl-lp__photos img { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; display: block; }
.fl-lp__note { margin-top: 10px !important; color: #6a7178; font-size: 14px; }
.fl-lp__note em, .fl-lp__trust em { font-style: normal; font-size: 12px; padding: 1px 6px; border: 1px solid #e4e2dc; border-radius: 3px; margin-left: 6px; }
.fl-lp__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; counter-reset: s; }
.fl-lp__steps li { counter-increment: s; font-size: 14px; color: #30353a; }
.fl-lp__steps strong { display: block; color: #16191c; }
.fl-lp__steps strong::before { content: counter(s) " · "; color: #b8893b; }
.fl-lp__trust { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: center; }
.fl-lp__person { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; color: #6a7178; font-size: 14px; }
.fl-lp__person span { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e9e8e4; color: #30353a; font-weight: 700; }
.fl-lp__person b { color: #16191c; font-size: 16px; align-self: end; }
.fl-lp__trust blockquote { font: italic 18px/1.4 Georgia, serif; }
.fl-lp__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fl-lp__tags span { padding: 5px 12px; border: 1px solid #d8d5cd; border-radius: 100px; font-size: 14px; }
.fl-lp__tags.is-opt span.on { background: #16191c; color: #fff; border-color: #16191c; }
.fl-lp__q { font-weight: 600; margin: 10px 0 6px !important; font-size: 14px; }
.fl-lp__ask { border-bottom: 0; background: #f7f5f0; }

/* ---------- Seitenspalte bei Live-Flächen ---------- */
.finder-stage.is-live .fl-text-t { display: block; }
@media (min-width: 900px) {
  .finder-stage.is-live.is-breit { grid-template-rows: auto auto; align-content: start; }
  .finder-stage.is-live.is-breit.is-messen { grid-template-rows: minmax(0, 1fr) auto; }
  .finder-stage.is-live.is-breit .st-vis { height: auto; min-height: 0; }
  /* Füllen ohne Prozenthöhen: Kopfzeile + Rest (100 % hätte die 38-px-Kopfzeile doppelt gezählt → Clip unten). */
  .fl-app:has(> .fl-views) { display: flex; flex-direction: column; }
  .fl-app > .fl-views { flex: 1 1 auto; }
  .fl-view { display: flex; flex-direction: column; }
  .fl-view > .fl-pt, .fl-view > .fl-form, .fl-view > .fl-nf, .fl-view > .fl-lead { flex: 1 1 auto; }
  .fl-pt__l { grid-template-rows: auto minmax(0, 1fr); }
  .finder-stage.is-live.is-breit .st-side { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .finder-stage.is-live.is-breit .fl-text-t { grid-column: 2; grid-row: 1; }
  .finder-stage.is-live.is-breit .st-text { grid-column: 2; grid-row: 2 / span 2; min-height: 0; }
  .finder-stage.is-live.is-breit .st-satz { grid-column: 1; grid-row: 1 / span 2; }
  .finder-stage.is-live.is-breit .st-quelle { grid-column: 1; grid-row: 3; }
  .finder-stage.is-live.is-breit.is-kompakt .st-quelle { grid-row: 1; }
  .finder-stage.is-live:not(.is-breit) .st-vis { display: grid; align-content: start; gap: 8px; }
}

/* ---------- Mobil (Zustand 2 des Finders): Daumen-Bedienung, keine Seite breiter als der Viewport ---------- */
@media (max-width: 899px) {
  .fl { font-size: 12px; }
  .fl-ctl { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 1px; }
  .fl-ctl::-webkit-scrollbar { display: none; }
  .fl-ctl__b { flex: none; min-height: 44px; padding: 4px 12px 4px 7px; font-size: .8rem; }
  .fl-ctl--toggle .fl-ctl__b { flex: 1 1 50%; justify-content: center; }
  .fl-ctl:not(.fl-ctl--toggle) .fl-ctl__b:not([aria-pressed="true"]) .fl-ctl__t { display: none; }
  .fl-bar { min-height: 34px; padding: 6px 10px; }
  .fl-bar .fl-mute { overflow: hidden; text-overflow: ellipsis; }
  .fl-form, .fl-lead, .fl-nf { grid-template-columns: 1fr; padding: 10px; gap: 10px; }
  .fl-form__a .fl-steps { margin: 6px 0 8px; }
  .fl-form__a .fl-sb .fl-mute { display: none; }
  .fl-opts span { padding: 6px 8px; }
  .fl-input { margin-bottom: 8px; }
  .fl-board { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px; }
  .fl-board .fl-col:nth-child(n + 4) { display: none; }
  .fl-cfg { grid-template-columns: 1fr; }
  .fl-cfg__l { padding: 10px; gap: 8px; }
  .fl-cfg__r { padding: 10px; border-left: 0; border-top: 1px solid var(--fl-line); gap: 6px; }
  .fl-cfg__r .fl-h, .fl-sum { display: none; }
  .fl-seg--live > button { min-height: 44px; }
  .fl-range { height: 44px; }
  .fl-range::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -12px; }
  .fl-chk { min-height: 44px; }
  .fl-chk input { width: 22px; height: 22px; }
  .fl-pt { grid-template-columns: 1fr; padding: 10px; }
  .fl-view[data-view="kunde"] .fl-docs > p:nth-of-type(2), .fl-view[data-view="kunde"] .fl-docs > p:nth-of-type(3) { display: none; }
  .fl-seg--steps { flex-wrap: wrap; }
  .fl-seg--steps > button { flex: 1 1 30%; min-height: 40px; }
  .fl-action { display: none; }
  .fl-ws { grid-template-columns: 1fr; padding: 10px; }
  .fl-tbl .fl-nr, .fl-tbl .fl-nx { display: none; }
  .fl-tbl tbody tr:nth-child(n + 4) { display: none; }
  .fl-ws__side { grid-template-columns: 1fr 1fr; }
  .fl-dot { width: 26px; height: 26px; font-size: 12px; }
}
/* Mobil kompakt: nur das, was den Zustand erklärt – damit Richtwert und CTA nah bleiben (One-Screen-Konzept). */
@media (max-width: 899px) {
  .finder-stage.is-live .st-satz { display: none; }
  .finder-stage.is-live { gap: 10px; }
  .fl { gap: 6px; }
  .fl-btn { min-height: 44px; }
  /* S4 */
  .fl-form__a .fl-sb, .fl-form__b .fl-q:nth-of-type(2), .fl-form__b .fl-input, .fl-lead__aside, .fl-col--solo .fl-ch, .fl-col--solo .fl-k { display: none; }
  .fl-form, .fl-lead, .fl-nf { gap: 8px; }
  .fl-h { margin-bottom: 6px !important; }
  .fl-form__b .fl-seg { margin-bottom: 8px; }
  .fl-form__b .fl-seg > * { padding: 9px 6px; }
  .fl-col--solo { background: none; padding: 0; }
  .fl-col--solo .fl-next { margin-top: 0 !important; }
  .fl-nf .fl-it { padding: 4px 0; }
  /* S5 */
  .fl--preis .fl-bar, .fl--preis [role="group"] > .fl-q:not(.fl-q--keep), .fl--preis .fl-two .fl-fld:last-child > .fl-q, .fl--preis [data-o="staffel"], .fl--preis .fl-hint { display: none !important; }
  .fl--preis .fl-two { align-items: center; gap: 10px; }
  .fl--preis .fl-q { margin-bottom: 0 !important; }
  .fl--preis .fl-seg > button { padding: 6px 4px; font-size: 11.5px; }
  .fl-cfg__r { gap: 4px; }
  .fl-price { padding-top: 6px; }
  .fl-price p { font-size: 19px; }
  /* S6 */
  .fl-tl, .fl-view[data-view="kunde"] .fl-bar .fl-mute, .fl-view[data-view="betrieb"] .fl-sb > .fl-mute, .fl-view[data-view="betrieb"] .fl-it small { display: none; }
  .fl-pt { gap: 8px; }
  .fl-pt__l { gap: 8px; }
  .fl-card { padding: 8px 10px; }
  .fl-docs > p { padding: 4px 0; }
  .fl-prog { margin-top: 6px; }
  .fl-next { margin-top: 6px !important; }
  /* S7 */
  .fl-ws { gap: 8px; }
  .fl-kpi, .fl-view[data-view="betrieb"] [data-o="gesetzt"] { display: none; }
  .fl-kpi b { font-size: 13px; }
  .fl-tbl td { padding: 5px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .fl { --fl-t: 0s; }
  .fl-pulse { animation: none; }
}

/* ---------- Phase 4.10 · Mobil (≤ 767 px): Produktfläche im Ergebnis-Zustand ---------- */
@media (max-width: 767px) {
  /* Titel der Erklärung wiederholt nur die Beschriftung des aktiven Schalters (S4–S7); bei der Leistungsseite (Nummernreihe) steht er über dem Text */
  .finder-stage.is-live:not([data-live="gefunden"]) .fl-text-t { display: none; }
}

/* ---------- Phase 4.11 · Desktop: nach der Produktfläche steht EINE Annotation („4 · Titel“ + ein Satz) ----------
   Der Hebel-Satz (st-satz) wiederholt, was der Ergebnissatz oben schon sagt; Punkte laufen als Nummernreihe, ihr Titel steht über dem Text. */
@media (min-width: 900px) {
  .finder-stage .st-satz { display: none; }
  .finder-stage.is-live.is-breit .st-side, .finder-stage.is-breit .st-side { grid-template-columns: minmax(0, 1fr); row-gap: 3px; }
  .finder-stage.is-live.is-breit .fl-text-t, .finder-stage.is-live.is-breit .st-text, .finder-stage.is-live.is-breit .st-quelle,
  .finder-stage.is-live.is-breit.is-kompakt .st-quelle, .finder-stage.is-breit .st-text-t, .finder-stage.is-breit .st-text, .finder-stage.is-breit .st-quelle,
  .finder-stage.is-breit .st-punkte { grid-column: 1; grid-row: auto; }
  .finder-stage .st-text-t, .finder-stage.is-live .fl-text-t { display: block; margin-top: 2px; font-size: .86rem; }
  .finder-stage .st-text { min-height: 0; font-size: .86rem; }
  .finder-stage .st-punkte { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin-top: 0; }
  .finder-stage .st-punkt { width: auto; min-height: 32px; padding: 0; border: 0; }
  .finder-stage .st-punkt__nr { width: 28px; height: 28px; font-size: .74rem; }
  .finder-stage .st-punkt__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
