/* =============================================
   TM24 ANKAUF – HOW-IT-WORKS (Step-Pills)
   Klar, groß, lesbar, hochwertig
   ============================================= */

/* ===== SECTION ===== */
.how-it-works-section {
    padding: 56px 0 56px !important;
    background: linear-gradient(180deg, #f8f9ff 0%, #f0f2ff 100%) !important;
}

.how-it-works-section h2 {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
}

.how-sub {
    font-size: 16px !important;
    color: #475569 !important;
    margin-bottom: 40px !important;
}

/* ===== GRID: 3 Spalten ===== */
.how-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    max-width: 960px !important;
    margin: 0 auto !important;
}

/* ===== CARDS ===== */
.how-step {
    position: relative !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 22px 20px 20px !important;
    border: 1px solid rgba(46, 43, 203, 0.06) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    animation: fadeInUp 0.5s ease-out both !important;
}

.how-step:nth-child(2) { animation-delay: 0.08s; }
.how-step:nth-child(3) { animation-delay: 0.16s; }
.how-step:nth-child(4) { animation-delay: 0.24s; }
.how-step:nth-child(5) { animation-delay: 0.32s; }
.how-step:nth-child(6) { animation-delay: 0.40s; }

.how-step:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(46, 43, 203, 0.1) !important;
}

/* ===== STEP-PILL: GROSS, KLAR, LESBAR ===== */
.how-step-pill {
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #e0deff, #eae9ff) !important;
    color: #1e1b9e !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
    margin-bottom: 14px !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
}

/* ===== ALTEN SCHWEBENDEN KREIS VERSTECKEN ===== */
.how-step-nr {
    display: none !important;
}

/* ===== ICON: GROSS UND KLAR ===== */
.how-step i {
    font-size: 30px !important;
    color: #2e2bcb !important;
    margin-bottom: 14px !important;
    display: block !important;
}

/* ===== TITEL: KRÄFTIG, DUNKEL, BLICKFANG ===== */
.how-step h5 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

/* ===== TEXT: LESBAR, DUNKLERES GRAU ===== */
.how-step p {
    font-size: 13.5px !important;
    color: #334155 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* ===== PREIS-HINWEIS BOX ===== */
.price-hint-box {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    max-width: 800px !important;
    margin: 44px auto 0 !important;
    padding: 18px 24px !important;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.price-hint-box i {
    color: #2e2bcb;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.price-hint-box p {
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .how-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .how-it-works-section h2 {
        font-size: 24px !important;
    }

    .how-step i {
        font-size: 26px !important;
    }

    .how-step h5 {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .how-steps-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .how-step {
        padding: 18px 16px 16px !important;
    }

    .how-step-pill {
        font-size: 12px !important;
        padding: 5px 12px !important;
    }

    .how-step i {
        font-size: 24px !important;
    }

    .how-step h5 {
        font-size: 14px !important;
    }

    .how-step p {
        font-size: 12.5px !important;
    }

    .price-hint-box {
        flex-direction: column;
        gap: 8px;
    }
}
