/**
 * Die Berater. Gemeinsame Gestalt fuer alle Seiten.
 *
 * Eigene Farben statt Theme-Variablen: der Baustein steht mitten im
 * Artikeltext und soll sich dort absetzen, ohne vom Theme abzuhaengen.
 * Zum Theme-Fallstrick siehe 01_STATUS.md: .site-main section setzt Weiss
 * mit hoeherer Spezifitaet. Deshalb hier bewusst ein div, kein section.
 *
 * Die drei Regeln, die vom Anker-Praefix abhaengen (scroll-margin,
 * hyphens in der Vergleichstabelle, Mindestbreite der Tabelle), stehen
 * nicht hier: die baut svb_anker_css() je Seite.
 */

.svb {
    background: linear-gradient(135deg, #fff0f7, #fce4ec);
    border: 1px solid #f0c0d8;
    border-radius: 16px;
    padding: 26px 24px 24px;
    margin: 38px 0;
}

.svb-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: #c8006e;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.svb-h2 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.svb-intro {
    font-size: 14px;
    color: #5a5159;
    line-height: 1.65;
    margin: 0 0 20px;
}

/* ---------------------------------------------------- Fortschritt */

.svb-fortschritt {
    height: 4px;
    background: rgba(200, 0, 110, .14);
    border-radius: 2px;
    overflow: hidden;
}

.svb-fortschritt-bar {
    height: 100%;
    background: #c8006e;
    border-radius: 2px;
    transition: width .35s ease;
}

.svb-schritt {
    font-size: 11px;
    font-weight: 600;
    color: #9a8f95;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 9px 0 14px;
}

/* ---------------------------------------------------- Frage */

.svb-karte { }

.svb-frage {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0 0 6px;
    color: #1a1a1a;
}

.svb-sub {
    font-size: 13px;
    color: #7d7279;
    margin: 0 0 16px;
    line-height: 1.6;
}

.svb-optionen {
    display: grid;
    gap: 10px;
}

.svb-opt {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #f0c0d8;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font: inherit;
    color: #1a1a1a;
    transition: border-color .15s ease, transform .1s ease;
}

.svb-opt:hover,
.svb-opt:focus-visible {
    border-color: #c8006e;
}

.svb-opt:active { transform: scale(.995); }

.svb-opt-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}

.svb-opt-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.svb-opt-text small {
    display: block;
    font-size: 12.5px;
    color: #8a7f86;
    margin-top: 2px;
    line-height: 1.45;
}

.svb-zurueck {
    margin-top: 14px;
    background: none;
    border: 0;
    padding: 4px 0;
    font: inherit;
    font-size: 13px;
    color: #9a8f95;
    cursor: pointer;
    text-decoration: underline;
}

/* ---------------------------------------------------- Ergebnis */

.svb-ergebnis-label {
    font-size: 11px;
    font-weight: 700;
    color: #c8006e;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.svb-ergebnis-name {
    font-size: 1.6rem;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.svb-ergebnis-kurz {
    font-size: 1.02rem;
    color: #2a2228;
    line-height: 1.6;
    margin: 0 0 12px;
}

.svb-ergebnis-warum {
    font-size: 14px;
    color: #5a5159;
    line-height: 1.7;
    margin: 0 0 18px;
}

.svb-sicher {
    background: #fff;
    border: 1px solid #f0c0d8;
    border-left: 3px solid #c8006e;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 0 0 18px;
}

.svb-sicher-titel {
    font-size: 11px;
    font-weight: 700;
    color: #c8006e;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.svb-sicher p {
    font-size: 13px;
    color: #4a4248;
    line-height: 1.65;
    margin: 0 0 7px;
}

.svb-sicher p:last-child { margin-bottom: 0; }

.svb-nachladen {
    font-size: 13px;
    color: #9a8f95;
    padding: 10px 0;
}

.svb-kein-produkt {
    font-size: 14px;
    color: #4a4248;
    line-height: 1.7;
    background: #fff;
    border: 1px solid #f0c0d8;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 0 0 16px;
}

.svb-alternative {
    font-size: 13.5px;
    color: #5a5159;
    line-height: 1.65;
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #f0c0d8;
}

.svb-alternative .svb-spring,
.svb-ueberstimmt .svb-spring,
.svb-fuss .svb-spring {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: #c8006e;
    cursor: pointer;
    text-decoration: underline;
}

.svb-fuss {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0c0d8;
}

/* Das Sprungziel ist ein echter Link auf die id im Artikel. Das Skript
   faengt den Klick ab und fuehrt nach, weil die Bilder nachladen. Ohne
   JavaScript springt der Browser selbst, nur ungenauer. */
.svb-mehr {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #c8006e;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
}

.svb-mehr:hover { text-decoration: underline; }

.svb-neu {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 13px;
    color: #9a8f95;
    cursor: pointer;
    text-decoration: underline;
    margin-left: auto;
}

/* Die Produktbox bringt ihre eigenen Abstaende mit, hier nur der Rahmen. */
.svb-produkt,
.svb-set { margin: 0 0 4px; }

@media (max-width: 480px) {
    .svb { padding: 20px 16px 18px; border-radius: 14px; }
    .svb-h2 { font-size: 1.3rem; }
    .svb-ergebnis-name { font-size: 1.4rem; }
    .svb-opt { padding: 13px 13px; gap: 11px; }
    .svb-neu { margin-left: 0; }
}

/* Wenn eine Sperre oder die Dauer das Motiv ueberstimmt hat. */
.svb-ueberstimmt {
    font-size: 13.5px;
    color: #5a5159;
    line-height: 1.7;
    background: rgba(255, 255, 255, .55);
    border-radius: 10px;
    padding: 11px 13px;
    margin: 0 0 18px;
}

.svb-ueberstimmt .svb-spring {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: #c8006e;
    cursor: pointer;
    text-decoration: underline;
}

/* Die Zeile, die nur erscheint, wenn das Ergebnis wirklich im Profil
   gelandet ist. Steht sie nicht da, wurde auch nichts gespeichert. */
.svb-gemerkt {
    font-size: 13px;
    color: #5a5159;
    line-height: 1.7;
    margin: 10px 0 0;
}

.svb-gemerkt a {
    color: #c8006e;
    font-weight: 600;
}

.svb-gemerkt[hidden] { display: none; }

/* Der naechste Schritt. Abgesetzt vom Ergebnis, aber im selben Kasten,
   damit es ein Angebot bleibt und keine Werbeflaeche wird. */
.svb-weiter {
    background: #fff;
    border: 1px solid #f0c0d8;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 18px 0 0;
}

.svb-weiter-titel {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.svb-weiter p {
    font-size: 13.5px;
    color: #5a5159;
    line-height: 1.65;
    margin: 0 0 14px;
}

.svb-weiter-btn {
    display: inline-block;
    background: #c8006e;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 10px 18px;
    border-radius: 24px;
}

.svb-weiter-btn:hover { background: #a80059; }

.svb-weiter-leise {
    display: inline-block;
    margin-left: 14px;
    font-size: 13px;
    color: #9a8f95;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .svb-weiter-btn { display: block; text-align: center; }
    .svb-weiter-leise { display: block; margin: 12px 0 0; text-align: center; }
}

/* ---------------------------------------------------- Die Rolle

   Steht die Rolle schon im Profil, wird sie gesagt statt gefragt. Der
   Weg zurueck steht leise daneben: er gilt nur fuer diesen Lauf und
   schreibt nichts ins Profil. */

.svb-rolle-bekannt {
    background: #fff;
    border: 1px solid #f0c0d8;
    border-radius: 12px;
    padding: 18px 20px;
}

.svb-rolle-satz {
    font-size: 15px;
    color: #2a2228;
    line-height: 1.65;
    margin: 0 0 16px;
}

/* Der Weiter-Knopf ist hier ein button, nicht der Link aus dem
   Weiter-Kasten. Die Browser-Vorgaben fuer button muessen deshalb weg. */
.svb-rolle-bekannt .svb-weiter-btn {
    border: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.svb-rolle-wechsel {
    display: inline-block;
    margin-left: 14px;
    background: none;
    border: 0;
    padding: 4px 0;
    font: inherit;
    font-size: 13px;
    color: #9a8f95;
    cursor: pointer;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .svb-rolle-bekannt .svb-weiter-btn { display: block; width: 100%; text-align: center; }
    .svb-rolle-wechsel { display: block; margin: 12px 0 0; width: 100%; text-align: center; }
}

/* Der Satz, der sagt, worauf sich der Vorschlag stuetzt. Er benennt nur,
   er waehlt nicht aus, siehe svb_akzent(). */
.svb-akzent {
    font-size: 13px;
    color: #5a5159;
    line-height: 1.7;
    font-style: italic;
    margin: 12px 0 0;
}

.svb-akzent[hidden] { display: none; }

/* Prämie und die festen Hinweise am Fuß des Ergebnisses. */
.svb-praemie { margin: 4px 0 0; }

.svb-hinweise {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #f0c0d8;
}

.svb-hinweise p {
    font-size: 12.5px;
    color: #7d7279;
    line-height: 1.6;
    margin: 0 0 6px;
}

.svb-hinweise p:last-child { margin-bottom: 0; }
