/**
 * Key Metrics Styles
 */

.metrics-header {
    margin-bottom: 2em;
}

.metric-item {
    padding: 1.5em 1em;

    transition: transform 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
}

.metric-label {
    font-size: 1.2em;
    font-weight: 500;
    color: #000;
    line-height: 1.4;
    min-height: 3.4em; /* Platz für 2 Zeilen (1.4em * 2 + margin) */
    display: flex;
    align-items: flex-end;
}

.metric-suffix {
    font-size: 0.85em;
    font-weight: 300;
    margin-left: 0.2em;
}

.metric-value {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1;
    color: #000;
    min-height: 1.2em;
}

/* Responsive adjustments */
@media screen and (max-width: 1023px) {
    .metric-value {
        font-size: 3em;
    }
}

@media screen and (max-width: 767px) {
    .metric-value {
        font-size: 2.5em;
    }
    
    .metric-item {
        padding: 1em 0.5em;
    }
}

@media screen and (max-width: 567px) {
    .metric-value {
        font-size: 2em;
    }
}

/* Animation states */
.metric-value:not(.counted):not(.metric-value-static) {
    opacity: 0.9;
}

.metric-value.counted,
.metric-value.metric-value-static {
    opacity: 1;
    transition: opacity 0.3s ease;
}
