/*
 * Verkaufs-Bausteine (10.11.2026): Vorteile ggü. Konkurrenz (.bs-vorteile), Gratis-Gutachten (.bs-gutachten),
 * Makro-Risiko-Check (.rcw, JS risikocheck.js). Farben je Seite über --bs-* auf dem Elternelement anpassbar.
 */
:root {
  --bs-ink: #172033; --bs-muted: #5b6475; --bs-line: #e1e6ee; --bs-soft: #fafbfd;
  --bs-btn: #1f5fbf; --bs-btn-ink: #fff; --bs-grad: linear-gradient(135deg, #22b8cf, #2563eb, #7c3aed);
  --bs-gutachten: linear-gradient(135deg, #fff8e6, #fff); --bs-akzent: #ffbf1f; --bs-radius: 20px;
}
/* Seitenfarben: --bs-* am umgebenden Element (z. B. section.bs-wrap style="…") setzen – sie erben bis ins Quiz. */
.bs-wrap, .rcw { color: var(--bs-ink); box-sizing: border-box; }
.bs-wrap *, .rcw * { box-sizing: border-box; }
.bs-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0; }
.bs-kopf { text-align: center; max-width: 760px; margin: 0 auto; }
.bs-kopf .bs-label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bs-muted); }
.bs-kopf .bs-label::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--bs-akzent); }
.bs-kopf h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.bs-kopf p { margin: 0; color: var(--bs-muted); font-size: 17px; line-height: 1.6; }

/* Vorteile ggü. Konkurrenz */
.bs-vorteile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.bs-vorteile-grid article { position: relative; padding: 26px 26px 24px 82px; border: 1px solid var(--bs-line); border-radius: var(--bs-radius); background: var(--bs-soft); }
.bs-vorteile-grid article > span { position: absolute; left: 22px; top: 24px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; font-weight: 900; font-size: 15px; background: var(--bs-grad); }
.bs-vorteile-grid h3 { margin: 4px 0 8px; font-size: 19px; line-height: 1.3; }
.bs-vorteile-grid p { margin: 0; color: var(--bs-muted); font-size: 15px; line-height: 1.6; }

/* Gratis-Gutachten */
.bs-gutachten { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 34px 38px; border-radius: 22px; border: 1px solid var(--bs-line); background: var(--bs-gutachten); }
.bs-gutachten .bs-label { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bs-muted); display: inline-flex; gap: 10px; align-items: center; }
.bs-gutachten .bs-label::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--bs-akzent); }
.bs-gutachten h2 { margin: 6px 0 10px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.01em; }
.bs-gutachten p { margin: 0; color: var(--bs-muted); line-height: 1.6; }
.bs-gutachten p a { color: inherit; text-decoration: underline; }
.bs-gutachten .bs-klein { margin-top: 10px; font-size: 13px; }
.bs-btn, .rcw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border: 0; border-radius: 12px; background: var(--bs-btn); color: var(--bs-btn-ink); font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(15, 27, 45, .14); white-space: nowrap; }
.bs-btn:hover, .rcw-btn:hover { filter: brightness(1.08); text-decoration: none; }
.rcw-btn-hell { background: #fff; color: var(--bs-ink); border: 1.5px solid var(--bs-line); box-shadow: none; }

/* Risiko-Check */
.rcw-card { max-width: 820px; margin: 30px auto 0; padding: 30px 34px; border: 1px solid var(--bs-line); border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(15, 27, 45, .08); text-align: left; }
.rcw [hidden] { display: none !important; }
.rcw-progress { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--bs-muted); margin-bottom: 18px; }
.rcw-bar { flex: 1; height: 8px; border-radius: 4px; background: #e8ecf2; overflow: hidden; }
.rcw-bar i { display: block; height: 100%; width: 0; background: var(--bs-grad); transition: width .3s; }
.rcw-frage { margin: 0 0 18px; font-size: 22px; line-height: 1.3; }
.rcw-antworten { display: grid; gap: 10px; }
.rcw-antworten button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 15px 18px; border: 1.5px solid var(--bs-line); border-radius: 14px; background: var(--bs-soft); font: inherit; font-size: 16px; color: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.rcw-antworten button:hover, .rcw-antworten button:focus-visible { border-color: var(--bs-btn); background: #f1f6ff; outline: none; }
.rcw-antworten button span { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #e8ecf2; font-size: 13px; font-weight: 700; }
.rcw-zurueck { margin-top: 14px; background: none; border: 0; color: var(--bs-muted); font: inherit; font-size: 14px; cursor: pointer; padding: 4px 0; }
.rcw-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rcw-form .rcw-voll { grid-column: 1 / -1; }
.rcw-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--bs-muted); }
.rcw-form input[type=email], .rcw-form input[type=text] { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--bs-line); border-radius: 12px; background: #fff; color: var(--bs-ink); }
.rcw-form .rcw-check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--bs-ink); font-size: 15px; }
.rcw-form .rcw-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.rcw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rcw-senden { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rcw-hinweis { margin: 0; font-size: 12.5px; color: var(--bs-muted); }
.rcw-hinweis a { color: inherit; }
.rcw-fehler { color: #c0392b; font-size: 14px; }
.rcw-ergebnis { text-align: center; }
.rcw-ampel { display: inline-flex; gap: 10px; padding: 12px 16px; border-radius: 40px; background: #0f1b2d; margin-bottom: 16px; }
.rcw-ampel i { width: 26px; height: 26px; border-radius: 50%; background: #2b3a52; }
.rcw-ampel i.an.gruen { background: #2ecc71; box-shadow: 0 0 16px #2ecc71; }
.rcw-ampel i.an.gelb { background: #ffbf1f; box-shadow: 0 0 16px #ffbf1f; }
.rcw-ampel i.an.rot { background: #e74c3c; box-shadow: 0 0 16px #e74c3c; }
.rcw-ergebnis h3 { margin: 0 0 8px; font-size: 24px; }
.rcw-ergebnis p { margin: 0 auto 10px; max-width: 560px; color: var(--bs-muted); line-height: 1.6; }
.rcw-details { text-align: left; margin: 22px 0 6px; padding: 22px 24px; border: 1px solid var(--bs-line); border-radius: 16px; background: var(--bs-soft); }
.rcw-details h4 { margin: 0 0 10px; font-size: 17px; color: var(--bs-ink); }
.rcw-details h4 + .rcw-gutachten { margin-bottom: 18px; }
.rcw-ergebnis .rcw-gutachten p { max-width: none; margin: 0 0 10px; color: var(--bs-ink); text-align: left; font-size: 15px; line-height: 1.65; }
.rcw-empfehlungen { margin: 0; padding: 0; list-style: none; counter-reset: rcw; }
.rcw-empfehlungen li { counter-increment: rcw; position: relative; padding: 0 0 14px 42px; font-size: 15px; line-height: 1.55; }
.rcw-empfehlungen li::before { content: counter(rcw); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--bs-grad); color: #fff; font-weight: 800; font-size: 13px; }
.rcw-empfehlungen li b { display: block; margin-bottom: 2px; }
.rcw-empfehlungen li span { color: var(--bs-muted); }
.rcw-aktionen { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 820px) {
  .bs-wrap { padding: 40px 0; }
  .bs-vorteile-grid { grid-template-columns: 1fr; }
  .bs-vorteile-grid article { padding: 22px 18px 20px 74px; }
  .bs-vorteile-grid article > span { left: 18px; }
  .bs-gutachten { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .bs-gutachten .bs-btn { white-space: normal; width: 100%; text-align: center; }
  .rcw-card { padding: 22px 18px; }
  .rcw-frage { font-size: 19px; }
  .rcw-form { grid-template-columns: 1fr; }
  .rcw-btn { white-space: normal; }
}
