/* =============================================
   TM24 ANKAUF – BRAND UNITY
   Einheitliches Design für ALLE Bereiche
   Quelle: Hero-Design
   Farben: Blau #003B8F / Rot #E30613 / Dunkel #06122E
   ============================================= */

/* ===== GLOBALE FARBKORREKTUR ===== */
/* Altes Violett (#2E2BCB) → echtes TM24 Blau (#003B8F) */
:root {
    --tm-blue: #003b8f !important;
    --tm-blue-light: rgba(0, 59, 143, 0.08) !important;
    --tm-blue-hover: #002a6b !important;
    --tm-text-headline: #06122e !important;
    --tm-text-body: #1e293b !important;
}



/* ===== GLOBALE SECTION HEADLINES ===== */

/* --- WHY TM24 SECTION --- */
.why-tm24-section {
    background: #ffffff;
    border-top: 1px solid rgba(0, 59, 143, 0.06);
}

.why-tm24-head h2 {
    color: #06122e !important;
    font-size: clamp(30px, 3.5vw, 46px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
}

.why-tm24-head h2::after {
    background: linear-gradient(90deg, #003b8f 0%, #e30613 100%) !important;
}

.why-tm24-head p {
    color: #516174 !important;
    font-weight: 600 !important;
}

/* Cards */
.why-card {
    border-color: rgba(0, 59, 143, 0.10) !important;
    border-radius: 20px !important;
}

.why-card::before {
    background: linear-gradient(90deg, #003b8f 0%, #e30613 100%) !important;
}

.why-card h5 {
    color: #06122e !important;
    font-weight: 900 !important;
}

.why-card p {
    color: #516174 !important;
}

/* Icons – TM24 Blau */
.why-icon,
.why-icon.purple,
.why-icon.blue,
.why-icon.green {
    background: #003b8f !important;
    box-shadow: 0 12px 28px rgba(0, 59, 143, 0.22) !important;
    border-radius: 16px !important;
}

/* ===== WIZARD – STEPS BAR ===== */
.step-item.active {
    color: #003b8f !important;
    box-shadow: 0 4px 16px rgba(0, 59, 143, 0.15) !important;
    border-color: #003b8f !important;
}

.step-item.active .step-number {
    background: #003b8f !important;
}

.step-item.done {
    color: #16a34a !important;
    border-color: #16a34a !important;
}

.step-item.done .step-number {
    background: #16a34a !important;
}

/* ===== WIZARD – SECTION TITLE ===== */
.section-title h2 {
    color: #06122e !important;
    font-weight: 900 !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    letter-spacing: -0.03em !important;
}

/* ===== WIZARD – BRAND CARDS ===== */
.brand-card {
    border: 2px solid rgba(0, 59, 143, 0.10) !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 18px rgba(0, 31, 91, 0.05) !important;
    transition: all 0.25s ease !important;
}

.brand-card:hover {
    border-color: #003b8f !important;
    box-shadow: 0 10px 28px rgba(0, 59, 143, 0.14) !important;
    transform: translateY(-4px) !important;
}

/* ===== WIZARD – MODEL ITEMS ===== */
.model-item {
    border: 2px solid rgba(0, 59, 143, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 18px rgba(0, 31, 91, 0.05) !important;
}

.model-item:hover {
    border-color: #003b8f !important;
    box-shadow: 0 8px 20px rgba(0, 59, 143, 0.10) !important;
}

.model-price {
    color: #003b8f !important;
}

.model-icon {
    background: rgba(0, 59, 143, 0.06) !important;
    color: #003b8f !important;
    border-radius: 14px !important;
}

/* ===== WIZARD – MODEL SERIES ===== */
.model-series {
    border: 2px solid rgba(0, 59, 143, 0.10) !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 18px rgba(0, 31, 91, 0.05) !important;
}

.model-series:hover {
    border-color: rgba(0, 59, 143, 0.20) !important;
}

.model-series.open {
    border-color: #003b8f !important;
    box-shadow: 0 8px 24px rgba(0, 59, 143, 0.12) !important;
}

.model-series-icon {
    background: linear-gradient(135deg, rgba(0, 59, 143, 0.08), rgba(0, 59, 143, 0.04)) !important;
    color: #003b8f !important;
    border-radius: 14px !important;
}

.model-series.open .model-series-icon {
    background: linear-gradient(135deg, #003b8f 0%, #001f5b 100%) !important;
    color: #fff !important;
}

.model-series-price {
    color: #003b8f !important;
}

.model-series-arrow {
    background: rgba(0, 59, 143, 0.06) !important;
    color: #003b8f !important;
}

.model-series.open .model-series-arrow {
    background: #003b8f !important;
    color: #fff !important;
}

.model-series-name {
    color: #06122e !important;
}

.model-series-body .model-item:hover {
    background: rgba(0, 59, 143, 0.04) !important;
}

.model-icon-sm {
    background: rgba(0, 59, 143, 0.06) !important;
    color: #003b8f !important;
}

/* ===== WIZARD – ZUSTAND CARDS ===== */
.zustand-card {
    border: 2px solid rgba(0, 59, 143, 0.10) !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 18px rgba(0, 31, 91, 0.05) !important;
}

.zustand-card:hover {
    border-color: #003b8f !important;
    box-shadow: 0 8px 24px rgba(0, 59, 143, 0.12) !important;
}

.zustand-card.selected {
    border-color: #003b8f !important;
    background: rgba(0, 59, 143, 0.03) !important;
    box-shadow: 0 8px 24px rgba(0, 59, 143, 0.15) !important;
}

.zustand-emoji {
    background: rgba(0, 59, 143, 0.06) !important;
    color: #003b8f !important;
}

.zustand-label {
    color: #06122e !important;
    font-weight: 800 !important;
}

/* ===== WIZARD – PRODUKTLINIE ===== */
.wizard-linie-card {
    border: 2px solid rgba(0, 59, 143, 0.10) !important;
    border-radius: 22px !important;
    box-shadow: 0 6px 18px rgba(0, 31, 91, 0.05) !important;
}

.wizard-linie-card:hover {
    border-color: #003b8f !important;
    box-shadow: 0 10px 30px rgba(0, 59, 143, 0.14) !important;
}

.wizard-linie-icon {
    color: #003b8f !important;
}

.wizard-linie-name {
    color: #06122e !important;
}

/* ===== WIZARD – LIST ITEMS ===== */
.wizard-list-item {
    border: 2px solid rgba(0, 59, 143, 0.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 14px rgba(0, 31, 91, 0.04) !important;
}

.wizard-list-item:hover {
    border-color: #003b8f !important;
    box-shadow: 0 8px 22px rgba(0, 59, 143, 0.10) !important;
}

/* ===== WIZARD – BACK BUTTON ===== */
.wizard-back-btn {
    background: linear-gradient(135deg, #003b8f 0%, #001f5b 100%) !important;
    color: #ffffff !important;
}

.wizard-back-btn:hover {
    background: linear-gradient(135deg, #002a6b 0%, #001548 100%) !important;
    box-shadow: 0 6px 20px rgba(0, 59, 143, 0.30) !important;
    color: #ffffff !important;
}

/* ===== WIZARD – FRAGEN ===== */
.frage-btn.active {
    background: #003b8f !important;
    border-color: #003b8f !important;
    color: #fff !important;
}

.frage-select:focus {
    border-color: #003b8f !important;
}

/* ===== ALLGEMEINE BUTTONS ===== */
.btn-weiter,
.btn-primary,
#btn-fragen-weiter,
.ankauf-btn-primary,
.tm24-btn-primary {
    background: linear-gradient(135deg, #003b8f 0%, #001f5b 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 22px rgba(0, 59, 143, 0.22) !important;
    transition: all 0.25s ease !important;
}

.btn-weiter:hover,
.btn-primary:hover,
#btn-fragen-weiter:hover,
.ankauf-btn-primary:hover,
.tm24-btn-primary:hover {
    background: linear-gradient(135deg, #002a6b 0%, #001548 100%) !important;
    box-shadow: 0 10px 28px rgba(0, 59, 143, 0.30) !important;
    transform: translateY(-2px) !important;
}

/* ===== REVIEWS SECTION ===== */
.tm24-reviews-section {
    background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%) !important;
    border-top: 1px solid rgba(0, 59, 143, 0.06);
    border-bottom: 1px solid rgba(0, 59, 143, 0.06);
}

.tm24-reviews-head h2 {
    color: #06122e !important;
    font-size: clamp(30px, 3.5vw, 46px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
}

.tm24-reviews-head h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #003b8f 0%, #e30613 100%);
}

.tm24-review-card {
    border-color: rgba(0, 59, 143, 0.10) !important;
    box-shadow: 0 12px 32px rgba(0, 31, 92, 0.06) !important;
    border-radius: 20px !important;
}

.tm24-review-stars i {
    color: #f5a623 !important;
}

.tm24-review-text {
    color: #06122e !important;
}

.tm24-review-name {
    color: #003b8f !important;
}

.tm24-review-verified {
    color: #16a34a !important;
}

.tm24-review-summary strong {
    color: #003b8f !important;
}

/* ===== FAQ SECTION ===== */
.tm24-faq-section,
.faq-section {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 59, 143, 0.06);
}

.tm24-faq-section h2,
.tm24-faq-head h2,
.faq-section h2 {
    color: #06122e !important;
    font-size: clamp(30px, 3.5vw, 46px) !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
}

.tm24-faq-head h2::after,
.faq-section h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #003b8f 0%, #e30613 100%);
}

.tm24-faq-item,
.faq-item {
    border-color: rgba(0, 59, 143, 0.10) !important;
    border-radius: 16px !important;
}

.tm24-faq-item .faq-q,
.tm24-faq-item summary,
.faq-item .faq-q,
.faq-item summary {
    color: #06122e !important;
    font-weight: 800 !important;
}

.tm24-faq-item .faq-q:hover,
.faq-item .faq-q:hover,
.tm24-faq-item summary:hover,
.faq-item summary:hover {
    color: #003b8f !important;
}

/* ===== B2B SECTION ===== */
.b2b-banner {
    background: linear-gradient(160deg, #001f5b 0%, #002d7a 50%, #003b8f 100%) !important;
}

.b2b-banner-deco.b2b-deco-1 {
    background: radial-gradient(circle, rgba(0, 59, 143, 0.25), transparent 70%) !important;
}

.b2b-banner-deco.b2b-deco-2 {
    background: radial-gradient(circle, rgba(0, 31, 91, 0.20), transparent 70%) !important;
}

.b2b-banner-title {
    color: #ffffff !important;
}

.b2b-banner-list li {
    color: rgba(255, 255, 255, 0.85) !important;
}

.b2b-banner-badge {
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.b2b-banner-badge i {
    color: #e30613 !important;
}

.b2b-cta-btn {
    background: #ffffff !important;
    color: #001f5b !important;
}

.b2b-cta-btn:hover {
    color: #001f5b !important;
}

.b2b-cta-hint {
    color: rgba(255, 255, 255, 0.55) !important;
}

.b2b-check i {
    color: #4ade80 !important;
}

/* ===== SEO TEXT ===== */
.tm24-seo-section,
.seo-text-section {
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 59, 143, 0.06);
}

.tm24-seo-section h2,
.seo-text-section h2,
.tm24-seo-section h3,
.seo-text-section h3 {
    color: #06122e !important;
    font-weight: 900 !important;
}

/* ===== CHECKOUT ===== */
.checkout-card,
.preis-box,
.price-card,
.ankauf-checkout-card {
    border: 2px solid rgba(0, 59, 143, 0.10) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 24px rgba(0, 31, 91, 0.06) !important;
}

.checkout-label,
.preis-label {
    color: #06122e !important;
    font-weight: 800 !important;
}

.ankauf-price,
.checkout-price,
.preis-value {
    color: #003b8f !important;
    font-weight: 900 !important;
}

/* ===== FOOTER ===== */
.tm24-ankauf-footer {
    background: linear-gradient(180deg, #001f5b 0%, #00154a 100%) !important;
}

.tm24-ankauf-footer a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: color 0.2s ease;
}

.tm24-ankauf-footer a:hover {
    color: #ffffff !important;
}

/* ===== INFO-SECTION WRAPPER ===== */
.ankauf-info-section {
    background: #ffffff;
}

.ankauf-info-section a {
    color: #003b8f;
}

.ankauf-info-section a:hover {
    color: #e30613;
}

/* ===== SUCHFELD ===== */
.ankauf-search input,
.search-input,
#ankauf-search-input {
    border: 2px solid rgba(0, 59, 143, 0.15) !important;
    border-radius: 50px !important;
}

.ankauf-search input:focus,
.search-input:focus,
#ankauf-search-input:focus {
    border-color: #003b8f !important;
    box-shadow: 0 0 0 4px rgba(0, 59, 143, 0.10) !important;
}

/* ===== RESPONSIVE TEXTSCHUTZ ===== */
.model-name,
.model-series-name,
.wizard-linie-name,
.brand-text-fallback,
.zustand-label,
.wizard-list-item {
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    min-width: 0 !important;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    /* Cards nicht zu eng */
    .brand-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .zustand-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .wizard-produktlinie-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* Section titles kleiner */
    .section-title h2 {
        font-size: 22px !important;
    }

    /* Steps bar auf Mobile */
    .steps-bar {
        gap: 8px !important;
        padding: 0 12px !important;
    }

    .step-item {
        padding: 10px 14px !important;
        font-size: 11px !important;
    }

    .step-number {
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .brand-card {
        padding: 20px 12px !important;
    }

    /* Model items breiter */
    .model-item {
        padding: 14px 16px !important;
    }

    .model-series-header {
        padding: 14px 14px !important;
    }

    /* Buttons volle Breite */
    .wizard-back-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Wizard Linie kompakter */
    .wizard-linie-card {
        padding: 28px 20px 24px !important;
    }

    .wizard-linie-icon {
        width: 72px !important;
        height: 72px !important;
        font-size: 36px !important;
    }

    .wizard-linie-name {
        font-size: 20px !important;
    }
}

@media (max-width: 360px) {
    .brand-card {
        padding: 16px 8px !important;
    }

    .brand-logo {
        height: 40px !important;
    }

    .model-series-name {
        font-size: 14px !important;
    }

    .model-name {
        font-size: 14px !important;
    }

    .step-item {
        padding: 8px 10px !important;
        font-size: 10px !important;
    }
}

/* ===== CONTAINER SCHUTZ ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.container,
.ankauf-info-section {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Section Head bleibt zentriert */
.tm24-section-head {
    text-align: center !important;
}

.tm24-section-head__inner {
    text-align: center !important;
}

.tm24-section-head__logo-row {
    justify-content: center !important;
}

.tm24-section-badge {
    background: #003b8f !important;
    color: #fff !important;
}
