.quizb12-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.quizb12-intro {
    margin-bottom: 1.5rem;
}

.quizb12-subtitle {
    font-weight: bold;
}

.quizb12-progress {
    text-align: right;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.quizb12-progress--hidden {
    visibility: hidden;
}

.quizb12-error-message {
    background: #f8dbe7;
    color: #C60166;
    border: 1px solid #C60166;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 1rem;
}

.quizb12-question {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.quizb12-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    cursor: pointer;
}

.quizb12-option input[type="radio"] {
    margin-top: 0.2rem;
}

.quizb12-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.quizb12-nav .quizb12-next,
.quizb12-nav .quizb12-submit {
    margin-left: auto;
}

/* Vorauswahl-Schritt (data-step="0"): Antworten als Pillen-Buttons nebeneinander,
   im Look des Hauptnavigations-Rollovers von b12_ankermann_dragees/Public/Css/
   css-hu.css (".navbar-default .navbar-nav > li:not(.active):not(:last-child)"):
   umrandete Pille per inset box-shadow, auf Hover/Focus gefuellter Pink-Verlauf
   wie der aktive Menuepunkt. Klick waehlt die Antwort UND springt sofort zur
   naechsten Frage (siehe quiz-stepper.js) - deshalb kein separater Weiter-Button
   fuer diesen Schritt. */
.quizb12-preselection-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

.quizb12-pill-option {
    position: relative;
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    border-radius: 27px;
    box-shadow: inset 0 0 0 2px #C60166;
    color: #C60166;
    font-weight: bold;
    line-height: 1.3;
    overflow-wrap: break-word;
    hyphens: auto;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

@media (max-width: 767.98px) {
    .quizb12-preselection-options {
        flex-direction: column;
        gap: 6px;
    }

    .quizb12-pill-option {
        flex: 1 1 auto;
        width: 100%;
        padding: 10px 6px;
        font-size: 16px;
    }
}

.quizb12-pill-option:hover,
.quizb12-pill-option:focus-within {
    background: linear-gradient(180deg, #e30074 0%, #c50065 100%);
    box-shadow: none;
    color: #fff;
}

.quizb12-pill-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quizb12-result-text {
    margin-top: 1rem;
}

.quizb12-nav--result {
    justify-content: flex-end;
    margin-top: 1.5rem;
}
