/* Screenshot-ähnliche Zahlenleiste */
.info-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.info-stats-item {
    position: relative;
    text-align: center;
}

.info-stats-item:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 24%;
    bottom: 24%;
    left: 0;
    width: 1px;
    background-color: currentColor;
    opacity: 0.16;
}

.info-stats-number {
    margin: 0 0 0.35rem;
    font-size: 300%;
    font-weight: 700;
    color: var(--brand-secondary-color);
}

.info-stats-label {
    margin: 0;
    font-size: 100%;
    font-weight: 500;
    color: inherit;
    width: 50%;
    margin: 0 auto;
}

@media(max-width:1480px){

    .info-stats-label{width:75%;}
    
}

/* Tablet */
@media (max-width: 991.98px) {
    .info-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-stats-item:nth-child(odd)::before {
        display: none;
    }

    .info-stats-item:nth-child(n + 3) {
        border-top: 1px solid currentColor;
        border-top-color: color-mix(in srgb, currentColor 16%, transparent);
    }
}

/* Fallback, falls color-mix nicht verfügbar ist */
@supports not (color: color-mix(in srgb, black 10%, transparent)) {
    @media (max-width: 991.98px) {
        .info-stats-item:nth-child(n + 3) {
            border-top-color: rgba(20, 33, 61, 0.16);
        }
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .info-stats-grid {
        grid-template-columns: 1fr;
    }

    .info-stats-item {
        padding: 2rem 1rem;
    }

    .info-stats-item::before {
        display: none;
    }

    .info-stats-item + .info-stats-item {
        border-top: 1px solid currentColor;
        border-top-color: rgba(20, 33, 61, 0.16);
    }
}