/* =============================================
   TM24 ANKAUF – WARUM TM24 (kompakt & lesbar)
   ============================================= */

.why-tm24-section {
    padding: 48px 0 48px;
    background: #fff;
}

/* ===== HEAD: kompakt, zentriert ===== */
.why-tm24-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 24px;
}

.why-tm24-head h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.why-tm24-head p {
    margin: 0 auto;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
    color: #475569;
}

/* ===== GRID: 4 Spalten ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== CARDS ===== */
.why-card {
    text-align: center;
    padding: 28px 20px 24px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition:
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== FARBIGE ICON-BOXEN ===== */
.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
    color: #fff;
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.why-icon.purple {
    background: linear-gradient(135deg, #6a5cff, #8b7fff);
    box-shadow: 0 5px 14px rgba(106, 92, 255, 0.22);
}

.why-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    box-shadow: 0 5px 14px rgba(59, 130, 246, 0.22);
}

.why-icon.green {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    box-shadow: 0 5px 14px rgba(34, 197, 94, 0.22);
}

.why-icon i {
    font-size: 20px;
    color: #fff;
}

/* ===== TITEL ===== */
.why-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* ===== TEXT ===== */
.why-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

/* ===== HOVER ===== */
@media (hover: hover) and (pointer: fine) {
    .why-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    }

    .why-card:hover .why-icon {
        transform: scale(1.07);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .why-tm24-head h2 {
        font-size: 26px;
    }

    .why-tm24-head p {
        font-size: 15px;
    }
}

@media (max-width: 500px) {
    .why-tm24-section {
        padding: 36px 0;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .why-card {
        padding: 20px 14px 18px;
    }

    .why-tm24-head h2 {
        font-size: 22px;
    }

    .why-card h5 {
        font-size: 14px;
    }
}
