/* ============================================================
   Stat Cards – modern mit Icon-Slot und Accent-Gradient
   ============================================================ */

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: var(--space-5);
    box-shadow: var(--shadow-xs);
    transition: all 0.2s var(--ease);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    border-color: var(--gray-300);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gray-300);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0.4;
}

.stat-card-info::before { background: #0a0a0a; opacity: 1; }
.stat-card-primary::before { background: #0a0a0a; opacity: 1; }
.stat-card-success::before { background: #0a0a0a; opacity: 1; }

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-value {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-top: var(--space-2);
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.stat-subtitle {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: var(--space-1);
}

/* ============================================================
   Chart Bars – modern mit Gradient und Animation
   ============================================================ */

.chart-bar-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
    padding: 6px 0;
}

.chart-label {
    width: 120px;
    font-size: var(--text-sm);
    color: var(--text);
    font-weight: 500;
    text-align: right;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

.chart-bar-container {
    flex: 1;
    background: var(--bg-subtle);
    border-radius: 6px;
    height: 24px;
    overflow: hidden;
    position: relative;
}

.chart-bar {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: white;
    min-width: 36px;
    animation: barGrow 0.6s var(--ease) both;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    font-variant-numeric: tabular-nums;
}

@keyframes barGrow {
    from { width: 0 !important; opacity: 0; }
    to { opacity: 1; }
}

.chart-bar-neu,
.chart-bar-demo_bereit,
.chart-bar-brief_versendet,
.chart-bar-gescannt,
.chart-bar-opted_in,
.chart-bar-kontaktiert,
.chart-bar-in_gespraech,
.chart-bar-auftrag,
.chart-bar-freigabe,
.chart-bar-abgeschlossen,
.chart-bar-industry {
    background: #0a0a0a;
    color: #ffffff;
}

.chart-bar-inaktiv {
    background: repeating-linear-gradient(45deg, #0a0a0a, #0a0a0a 6px, #27272a 6px, #27272a 12px);
    color: #ffffff;
}

/* ============================================================
   Activity Feed
   ============================================================ */

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--text-sm);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0a0a0a;
    margin-top: 7px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #f4f4f5;
}

.activity-content {
    font-size: var(--text-sm);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    line-height: 1.5;
    flex: 1;
}

.activity-content strong {
    font-weight: 600;
    color: var(--text);
}
