/* ==========================================
   Pattern: Facts Band
   ========================================== */

/* ------------------------------------------
   Basis – eigenständig, ohne Überlappung
   ------------------------------------------ */

.ls-facts-band {
    position: relative;
    z-index: 3;
    padding: 24px 24px;
    background: transparent;
}

/* Gemeinsamer Container */

.ls-facts-shell {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 16px;
    background: rgba(8, 16, 24, .96);
    border: 1px solid rgba(57, 211, 217, .22);
    border-radius: 18px;
    box-shadow:
            0 12px 45px rgba(6, 16, 24, .14),
            0 0 35px rgba(57, 211, 217, .08);
}

/* Drei Karten */

.ls-facts-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 320px));
    gap: 16px;
    align-items: stretch;
}

.ls-facts-columns > .wp-block-column {
    display: flex;
    min-width: 0;
}

.ls-facts-card {
    min-height: 118px;
    flex: 1;
    background: rgba(13, 24, 35, .88);
    border-color: rgba(255, 255, 255, .12);
}

/* Icons */

.ls-facts-card .ls-icon {
    width: 24px;
    height: 24px;
    margin: 0 0 14px !important;
}

/* Beschriftungen */

.ls-fact-label {
    margin-bottom: 8px !important;
    color: rgba(255, 255, 255, .62) !important;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .18em;
    text-transform: uppercase;
}

/* Werte */

.ls-fact-value {
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
}


/* ==========================================
   Variante: Überlappung mit Hero
   Zusatzklasse: ls-overlap-hero
   ========================================== */

.ls-facts-band.ls-overlap-hero {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0px;
}

/*
 * Der Container wird um ca. ein Drittel seiner Höhe nach oben verschoben.
 * Die negative Margin erzeugt die Überlappung und zieht den folgenden Inhalt entsprechend nach oben.
 */

.ls-facts-band.ls-overlap-hero .ls-facts-shell {
    margin-top: -72px;
}


/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1400px) {
    .ls-facts-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ls-facts-shell {
        width: 100%;
        max-width: 900px;
    }

    .ls-facts-band.ls-overlap-hero .ls-facts-shell {
        margin-top: -60px;
    }
}

@media (max-width: 760px) {
    .ls-facts-band {
        padding: 24px 28px 0;
    }

    .ls-facts-band.ls-overlap-hero {
        padding-top: 24px;
        padding-bottom: 0;
    }

    .ls-facts-band.ls-overlap-hero .ls-facts-shell {
        margin-top: 0 !important;
    }

    .ls-facts-shell {
        padding: 10px;
    }

    .ls-facts-columns {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ls-facts-card {
        min-height: 0;
        height: auto;
        padding: 14px 16px;
    }

    .ls-facts-card .ls-icon {
        width: 18px;
        height: 18px;
        margin-bottom: 8px !important;
    }

    .ls-fact-label {
        margin-bottom: 5px !important;
    }
}
