/* Public Ankauf funnel: one direct search, compact identity choices and one-question flow. */
.ankauf-header .tm24-header-grid {
    grid-template-columns: minmax(0, 1fr) auto;
}
.tm24-direct-search {
    max-width: 760px;
    margin: 0 auto 30px;
    padding: 24px;
    border-radius: 18px;
    background: #f2f6fc;
}
.tm24-direct-search__label {
    display: block;
    color: #102d52;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.18;
}
.tm24-direct-search__hint {
    margin: 8px 0 16px;
    color: #355473;
    font-size: .95rem;
}
.tm24-direct-search__box {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    border: 2px solid #3867a0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(8, 49, 104, .08);
}
.tm24-direct-search__box:focus-within {
    border-color: #003b8f;
    box-shadow: 0 0 0 3px rgba(0, 59, 143, .15), 0 8px 22px rgba(8, 49, 104, .08);
}
.tm24-direct-search__box .suche-icon {
    position: static;
    transform: none;
    flex: none;
    margin-left: 18px;
    color: #003b8f;
    font-size: 19px;
}
.tm24-direct-search__box .suche-input,
.tm24-direct-search__box .suche-input:focus {
    width: 100%;
    min-width: 0;
    padding: 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #13263d;
    font-size: 1rem;
    box-shadow: none;
}
.tm24-direct-search__box .suche-input::placeholder { color: #526b86; opacity: 1; }
.tm24-direct-search__box .suche-ergebnisse {
    position: absolute;
    z-index: 50;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: min(60vh, 420px);
    overflow-y: auto;
    border: 1px solid #d5e0ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(11, 38, 69, .15);
}
.tm24-search-alternative {
    margin: 0 0 14px;
    text-align: center;
    color: #48617b;
    font-weight: 650;
}
.tm24-question-flow {
    margin: 18px 0 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #edf3fb;
}
.tm24-question-flow__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #244967;
    font-size: .89rem;
    font-weight: 700;
}
.tm24-question-flow__track {
    height: 5px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #c6d7e8;
}
.tm24-question-flow__track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #003b8f;
    transition: width 160ms cubic-bezier(.23, 1, .32, 1);
}
.tm24-question-flow__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}
.tm24-question-flow__actions button {
    min-height: 46px;
    padding: 9px 18px;
    border: 1px solid #8da9c8;
    border-radius: 10px;
    background: #fff;
    color: #003b8f;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.tm24-question-flow__actions button:last-child {
    margin-left: auto;
    border-color: #003b8f;
    background: #003b8f;
    color: #fff;
}
.tm24-question-flow__actions button:focus-visible {
    outline: 3px solid #003b8f;
    outline-offset: 3px;
}
.tm24-direct-search__box .suche-input:focus-visible {
    outline: 0;
    box-shadow: none;
}
#tm24-question-flow-error { margin: 12px 0 0; color: #a62428; font-weight: 650; }
#ankauf-fragen[data-question-flow="active"] .s3-grid { grid-template-columns: minmax(0, 1fr); }
#ankauf-fragen[data-question-flow="active"] .s3-grid > .s3-item[hidden],
#ankauf-fragen[data-question-flow="active"] .s3-grid[hidden],
#ankauf-fragen[data-question-flow="active"] #category-questionnaire[hidden],
#ankauf-fragen[data-question-flow="active"] .tm24-category-question[hidden] { display: none !important; }
#ankauf-fragen[data-question-flow="active"] .s3-item:not([hidden]),
#ankauf-fragen[data-question-flow="active"] .tm24-category-question:not([hidden]) {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid #d5e2ef;
    border-radius: 16px;
    background: #f9fbfe;
}
/* One visual rhythm for the guided condition questions, regardless of answer type. */
#schritt-3 #ankauf-fragen[data-question-flow="active"] {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: clamp(440px, calc(100svh - var(--tm24-question-top-offset, 140px) - var(--tm24-question-bottom-space, 32px)), 720px);
    overflow-anchor: none;
    padding: 0;
    padding-bottom: 24px;
    border: 0;
    background: transparent;
    box-shadow: none;
}
/* The legacy horizontal-overflow rule made body a non-scrolling overflow
   container, preventing the price summary from sticking to the viewport. */
html:has(> body.tm24-guided-questions),
body.tm24-guided-questions {
    overflow-x: clip;
    overflow-y: visible;
}
/* Stable question slot and navigation; the tallest answer may grow naturally. */
body.tm24-guided-questions #schritt-3 .s3-wrap {
    min-height: 0;
    overflow-anchor: none;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] > .s3-grid,
#schritt-3 #ankauf-fragen[data-question-flow="active"] > #category-questionnaire {
    flex: 1 0 auto;
    align-content: start;
    width: min(100%, 760px);
    margin-inline: auto;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] > .ankauf-fragen-card-titel,
#schritt-3 #ankauf-fragen[data-question-flow="active"] > .tm24-question-flow,
#schritt-3 #ankauf-fragen[data-question-flow="active"] > .tm24-question-flow__actions {
    width: min(100%, 760px);
    margin-inline: auto;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] > .ankauf-fragen-card-titel {
    margin-bottom: 12px;
    color: #102d52;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    line-height: 1.2;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-label,
#schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question label {
    color: #13263d;
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    line-height: 1.3;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-label:focus-visible {
    outline: 3px solid #003b8f;
    outline-offset: 4px;
    border-radius: 4px;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-label-soft {
    color: #48617b;
    font-size: .9rem;
    font-weight: 600;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-seg label,
#schritt-3 #ankauf-fragen[data-question-flow="active"] .zubehoer-chip,
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-defekt-chip {
    min-height: 52px;
    border-radius: 12px;
    font-size: 1rem;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-seg input:checked + label {
    background: #003b8f;
    border-color: #003b8f;
    color: #fff;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .zubehoer-chip:focus-within,
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-defekt-chip:focus-within {
    outline: 3px solid #003b8f;
    outline-offset: 2px;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-select,
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-textarea,
#schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question select {
    min-height: 48px;
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #aabed5;
    border-radius: 12px;
    background: #fff;
    color: #13263d;
    font-size: 1rem;
    font-weight: 600;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question select:focus-visible {
    outline: 3px solid #003b8f;
    outline-offset: 2px;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question label {
    display: block;
    margin-bottom: 12px;
    font-weight: 750;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] > .tm24-question-flow__actions {
    flex: 0 0 auto;
    margin-block: 20px 0;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] > .tm24-question-flow__actions button:disabled {
    opacity: .5;
    cursor: not-allowed;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-foto-slot {
    min-height: 128px;
    border-radius: 12px;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] #s3_foto_grid {
    gap: 12px !important;
}
#schritt-3 .s3-right {
    align-self: start;
    position: sticky;
    top: var(--tm24-question-top-offset, 16px);
}
#schritt-3 .s3-summary {
    max-height: none;
    overflow: visible;
}
#schritt-3 #s3_checklist > summary { cursor: pointer; font-size: 14px; font-weight: 750; color: #173a61; }
#schritt-3 #s3_checklist > summary:focus-visible { outline: 3px solid #003b8f; outline-offset: 4px; }
#schritt-3 #s3_checklist_items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.45;
}
#schritt-3 #s3_checklist_items > li {
    display: block;
    padding: 0;
    margin: 0;
    animation: none !important;
    transition: none;
    transform: none;
    opacity: 1;
    overflow-wrap: anywhere;
}
#schritt-3 #tm24-no-buy-actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#schritt-3 #tm24-no-buy-actions button {
    min-height: 48px !important;
    padding: 8px 12px;
    border: 1px solid #aabed5;
    border-radius: 8px;
    background: #fff !important;
    background-image: none !important;
    /* The legacy [onclick*="zurueck"] rule sets white !important. */
    color: #003b8f !important;
    -webkit-text-fill-color: currentColor;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
#schritt-3 #tm24-no-buy-actions button:hover { background: #edf3fb !important; border-color: #3867a0; }
#schritt-3 #tm24-no-buy-actions button:focus-visible { outline: 3px solid #003b8f; outline-offset: 3px; }
#schritt-3 #tm24-no-buy-actions button:disabled { cursor: not-allowed; opacity: .65; }

.tm24-search-contact { margin-top: 16px; padding: 18px 20px; border: 1px solid #c7d8eb; border-radius: 12px; background: #f2f6fb; color: #173a61; }
.tm24-search-contact[hidden] { display: none; }
.tm24-search-contact h3 { margin: 0 0 8px; font-size: 18px; color: #102d52; }
.tm24-search-contact p { margin: 0 0 14px; line-height: 1.5; }
.tm24-search-contact__links { display: flex; flex-wrap: wrap; gap: 10px; }
.tm24-search-contact__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 14px; border: 1px solid #003b8f; border-radius: 8px; color: #003b8f !important; background: #fff; font-weight: 700; text-decoration: none; }
.tm24-search-contact__links a:hover { background: #e5eef9; }
.tm24-search-contact__links a:focus-visible { outline: 3px solid #003b8f; outline-offset: 3px; }
@media (max-width: 390px) { .tm24-search-contact { padding: 16px; } .tm24-search-contact__links a { flex: 1 1 100%; justify-content: center; } }
@media (min-width: 769px) {
    #schritt-3 #s3_checklist:not([open]) > #s3_checklist_items { display: flex; }
    #schritt-3 #s3_checklist > summary { list-style: none; cursor: default; }
    #schritt-3 #s3_checklist > summary::-webkit-details-marker { display: none; }
}
.tm24-selected-device {
    margin: 0 0 18px;
    padding: 12px 16px;
    border-radius: 11px;
    background: #edf3fb;
    color: #173a61;
    font-size: .92rem;
}
.tm24-selected-device strong { display: block; margin-top: 3px; color: #102d52; font-size: 1rem; }
.tm24-selected-device { display: flow-root; }
.tm24-selected-device__image { float: right; width: 72px; height: 72px; margin-left: 12px; object-fit: contain; }
#modell-bereich .model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
    gap: 12px;
}
#modell-bereich .model-card {
    min-height: 124px;
    padding: 14px;
    border-radius: 13px;
    text-align: left;
}
#modell-bereich .model-card-image-wrap {
    height: 54px;
    min-height: 54px;
    margin-bottom: 8px;
}
#modell-bereich .model-card-image-wrap img { max-height: 54px; object-fit: contain; }
#modell-bereich .model-card-image-wrap .model-card-dot { width: 38px !important; height: 38px !important; flex-basis: 38px !important; }
#modell-bereich .model-card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
#modell-bereich .model-card-color { font-weight: 750; }
#modell-bereich .model-card-price { color: #47617c; font-size: .82rem; }
#modell-bereich .wizard-card--vertical { min-height: 0; }
#modell-bereich .wizard-card--vertical .wizard-card-cta { justify-content: flex-end; }
@media (max-width: 768px) {
    .ankauf-header .tm24-header-grid { grid-template-rows: auto auto; }
    .tm24-direct-search { margin: 0 12px 24px; padding: 18px; }
    .tm24-direct-search__box { min-height: 56px; }
    .tm24-question-flow { margin: 14px 0; }
    #modell-bereich .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #modell-bereich .model-card { min-height: 142px; }
    body.tm24-guided-questions #schritt-3 .s3-wrap {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-bottom: 72px;
    }
    body.tm24-guided-questions #schritt-3 .s3-right {
        display: none;
        position: fixed;
        z-index: 120;
        inset: auto 12px calc(76px + env(safe-area-inset-bottom));
        max-height: min(60svh, 480px);
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 14px;
        background: #fff;
        border: 1px solid #c8d8e9;
        box-shadow: 0 8px 24px rgba(16, 45, 82, .14);
    }
    body.tm24-guided-questions #schritt-3 .s3-right.is-summary-open { display: block; }
    body.tm24-guided-questions #schritt-3 .s3-summary { padding: 16px; border: 0; box-shadow: none; border-radius: 0; }
    body.tm24-guided-questions #schritt-3 .s3-summary-kicker,
    body.tm24-guided-questions #schritt-3 .s3-summary-price,
    body.tm24-guided-questions #schritt-3 .s3-summary-state,
    body.tm24-guided-questions #schritt-3 .s3-summary-note { display: none; }
    body.tm24-guided-questions #schritt-3 .s3-summary-list { display: none; }
    #schritt-3 #ankauf-fragen[data-question-flow="active"] {
        padding-bottom: 24px;
    }
    #schritt-3 #ankauf-fragen[data-question-flow="active"] > .tm24-question-flow__actions {
        margin-top: 20px;
        margin-bottom: 0;
    }
    #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #schritt-3 #ankauf-fragen[data-question-flow="active"] .zubehoer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-item:not([hidden]),
    #schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-category-question:not([hidden]) { padding: 18px; }
}
@media (max-width: 430px) {
    #schritt-3 #ankauf-fragen[data-question-flow="active"] .zubehoer-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 600px) {
    #schritt-3 #ankauf-fragen[data-question-flow="active"] #s3_foto_counter {
        flex-wrap: wrap;
        min-width: 0;
    }
    #schritt-3 #ankauf-fragen[data-question-flow="active"] #s3_foto_count {
        flex: 1 1 160px;
        min-width: 0;
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: anywhere;
        line-height: 1.45;
    }
    #schritt-3 #ankauf-fragen[data-question-flow="active"] #s3_foto_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    #schritt-3 #ankauf-fragen[data-question-flow="active"] .s3-foto-slot .slot-tag {
        max-width: calc(100% - 12px);
        padding: 3px 5px;
        font-size: 10px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }
}
@media (prefers-reduced-motion: reduce) {
.tm24-question-flow__track span { transition: none; }
}

.tm24-condition-change {
    display: block;
    margin: 0 0 14px;
    padding: 6px 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #003b8f;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
#zustand-titel { font-size: clamp(1.5rem, 3vw, 2rem) !important; }
.tm24-condition-device { margin: 6px 0 0; color: #48617b; font-size: .95rem; line-height: 1.45; }
body.tm24-guided-questions #btn-fragen-weiter,
body.tm24-guided-questions #ankauf-mobile-footer { display: none !important; }
@media (max-width: 768px) {
    /* Keep the already-updated price visible without a second Next action.
       The bar disappears automatically while step 3 is hidden for checkout. */
    body.tm24-guided-questions #schritt-3:not([style*="display: none"]):not([style*="display:none"]) + #ankauf-mobile-footer {
        display: block !important;
        padding: 7px 16px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid #c8d8e9 !important;
        box-shadow: 0 -3px 14px rgba(16, 45, 82, .08) !important;
    }
    body.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-inner {
        justify-content: space-between;
        gap: 8px;
    }
    body.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-inner > div:first-child {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 8px;
    }
    body.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-label {
        color: #47617c;
        font-weight: 700;
    }
    body.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-preis {
        color: #003b8f;
        font-size: 1.15rem;
    }
    body.tm24-guided-questions #ankauf-mobile-footer .ankauf-mobile-footer-cta {
        display: none !important;
    }
    #tm24-mobile-summary-toggle {
        min-height: 44px;
        flex-shrink: 0;
        padding: 8px 10px;
        border: 1px solid #aabed5;
        border-radius: 8px;
        background: #fff;
        color: #003b8f;
        font: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }
    #tm24-mobile-summary-toggle:focus-visible { outline: 3px solid #003b8f; outline-offset: 3px; }
}
#modell-bereich .wizard-back-btn, #modell-bereich .wizard-back-btn:hover {
    width: auto !important;
    min-width: 100px;
    min-height: 44px;
    margin: 0 0 12px;
    padding: 8px 12px;
    background: transparent !important;
    color: #003b8f !important;
    border: 1px solid #aabed5 !important;
    border-radius: 10px;
    box-shadow: none !important;
    transform: none;
}
.tm24-choice-question {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 750;
    line-height: 1.25;
    color: #13263d;
    margin: 24px 0 16px;
}
#modell-bereich .model-card { opacity: 1; }
#modell-bereich .model-card-bottom { flex-direction: column; align-items: flex-start; }
#modell-bereich .model-card-color { overflow-wrap: anywhere; }
#modell-bereich .model-card:hover { border-color: #3867a0; }
#modell-bereich .model-card:focus-visible { outline: 3px solid #003b8f; outline-offset: 3px; }
@media (max-width: 360px) {
    #modell-bereich .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #modell-bereich .model-card { padding: 10px; min-height: 124px; }
    .tm24-direct-search { margin-inline: 0; padding: 16px; }
}

/* Native repair follow-ups share the existing question shell and focus tokens. */
#schritt-3 .tm24-defect-followups[hidden],
#schritt-3 .tm24-defect-followups [hidden] { display: none !important; }
#schritt-3 .tm24-defect-followups { display: grid; gap: 20px; margin-top: 24px; }
#schritt-3 .tm24-defect-followup { min-width: 0; margin: 0; padding: 0; border: 0; }
#schritt-3 .tm24-defect-followup legend,
#schritt-3 .tm24-defect-field > label { margin-bottom: 10px; padding: 0; color: #13263d; font-size: 1rem; font-weight: 650; line-height: 1.45; }
#schritt-3 .tm24-defect-field > label { display: block; }
#schritt-3 .tm24-defect-cosmetics { display: grid; gap: 20px; border-top: 1px solid #dfe6f1; padding-top: 24px; }
#schritt-3 .tm24-defect-cosmetics h4 { margin: 0; font-size: 1.1rem; font-weight: 750; }
#schritt-3 .tm24-defect-cosmetics .s3-answer-hint { margin: -10px 0 0; color: #48617b; font-size: .95rem; line-height: 1.5; }
#schritt-3 .tm24-defect-separation { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; color: #13263d; font-size: 1rem; line-height: 1.5; cursor: pointer; }
#schritt-3 .tm24-defect-separation input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; accent-color: #003b8f; }
#schritt-3 .tm24-defect-separation:focus-within { outline: 3px solid #003b8f; outline-offset: 3px; border-radius: 4px; }
#schritt-3 .tm24-defect-followups .s3-select:focus-visible { outline: 3px solid #003b8f; outline-offset: 2px; }
@media (max-width: 767px) {
    #schritt-3 .tm24-defect-followups { gap: 18px; margin-top: 20px; }
    #schritt-3 .tm24-defect-cosmetics { gap: 18px; padding-top: 20px; }
}
.checkout-answer-summary { margin-top: 28px; padding-top: 24px; border-top: 1px solid #dfe6f1; }
.checkout-answer-summary h4 { margin: 0 0 16px; color: #13263d; font-size: 1.1rem; font-weight: 750; }
#checkout-answer-summary-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
#checkout-answer-summary-items li { min-width: 0; color: #48617b; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
#tm24-mobile-no-buy-reason[hidden] { display: none !important; }
#tm24-mobile-no-buy-reason { margin: 6px 0 0; color: #8b2424; font-size: .85rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
@media (max-width: 767px) {
    .checkout-answer-summary { margin-top: 24px; padding-top: 20px; }
    #checkout-answer-summary-items { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
/* Simple assessment uses the same question rhythm as condition selection. */
#schritt-3 .s3-cards,
#schritt-3 .s3-cards.has-sealed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#schritt-3 .s3-card > label { min-height: 174px; padding: 20px; gap: 12px; border-radius: 16px; box-shadow: none; transition: border-color 160ms ease-out, background-color 160ms ease-out; }
#schritt-3 .s3-card > label:hover { transform: none; }
#schritt-3 .s3-card input:checked + label { background: #edf3fb; box-shadow: none; }
#schritt-3 .s3-card-title { font-size: 1.12rem; font-weight: 750; line-height: 1.3; }
#schritt-3 .s3-card-desc { font-size: 1rem; line-height: 1.5; color: #48617b; }
#schritt-3 .s3-card-price { text-align: left; color: #003b8f; font-size: 1.45rem; font-weight: 750; }
#schritt-3 .tm24-category-question > fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
#schritt-3 .tm24-category-question legend { padding: 0; margin-bottom: 16px; color: #13263d; font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.3; font-weight: 750; }
#schritt-3 .tm24-answer-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#schritt-3 .tm24-answer-cards input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
#schritt-3 .tm24-answer-cards label { display: flex; align-items: center; justify-content: center; min-height: 56px; margin: 0; padding: 12px 16px; border: 1.5px solid #aabed5; border-radius: 12px; color: #13263d; background: #fff; font-size: 1rem; line-height: 1.45; font-weight: 650; cursor: pointer; transition: border-color 160ms ease-out, background-color 160ms ease-out; }
#schritt-3 .tm24-answer-cards input:checked + label { border-color: #003b8f; background: #003b8f; color: #fff; }
#schritt-3 .tm24-answer-cards input:focus-visible + label { outline: 3px solid #003b8f; outline-offset: 3px; }
#schritt-3 .tm24-unconfirmed-action { display: block; min-height: 44px; margin-top: 12px; padding: 8px 0; border: 0; background: transparent; color: #48617b; font: inherit; font-size: .95rem; line-height: 1.5; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#schritt-3 .tm24-unconfirmed-action:focus-visible { outline: 3px solid #003b8f; outline-offset: 4px; border-radius: 4px; }
#schritt-3 .s3-answer-hint { margin: 0 0 14px; color: #48617b; font-size: 1rem; line-height: 1.5; }
#schritt-3 #tm24-lock-steps { margin: 10px 0 0; font-weight: 400; }
#schritt-3 #defekt-wrap { min-width: 0; padding: 0; border: 0; }
#schritt-3 #defekt-wrap legend { margin-bottom: 10px; font-size: 1rem; font-weight: 650; }
#schritt-3 #preisbox-warnung { color: #48617b; background: transparent; border: 0; font-size: .95rem; line-height: 1.5; }
#schritt-3 #ankauf-preisbox[data-public-decision="NO_BUY"] #preisbox-warnung { color: #8b2424; }
@media (hover: hover) and (pointer: fine) {
    #schritt-3 .tm24-answer-cards input:not(:checked) + label:hover { border-color: #3867a0; background: #edf3fb; }
}
@media (max-width: 600px) {
    #schritt-3 .s3-cards,
    #schritt-3 .s3-cards.has-sealed { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    #schritt-3 .s3-card > label { min-height: 0; padding: 18px; }
    #schritt-3 .s3-card-price { font-size: 1.35rem; }
    #schritt-3 .tm24-answer-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    #schritt-3 .s3-card > label,
    #schritt-3 .tm24-answer-cards label { transition: none; }
}

/* One answer surface for every binary/general radio question. */
#schritt-3 .s3-seg.tm24-answer-cards { margin-top: 0; }
#schritt-3 .s3-seg.tm24-answer-cards input:checked + label { box-shadow: none; }
#schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-answer-cards label {
    min-height: 56px; padding: 12px 16px; font-size: 1rem; line-height: 1.45;
    border: 1.5px solid #aabed5; border-radius: 12px; color: #13263d; background: #fff;
}
#schritt-3 #ankauf-fragen[data-question-flow="active"] .tm24-answer-cards input:checked + label {
    border-color: #003b8f; background: #003b8f; color: #fff; box-shadow: none;
}
#schritt-3 .tm24-answer-cards.tm24-answer-cards--binary {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
#schritt-3 .tm24-condition-basis { margin: 0 0 16px; max-width: 70ch; }
#schritt-3 .zubehoer-chip { min-height: 56px; padding: 12px 14px; font-size: 1rem; line-height: 1.4; }
#schritt-3 .zubehoer-chip input[type="checkbox"] { width: 20px; height: 20px; }
