/**
 * Utrecht CS Niet-Rijdende Diensten - Stylesheet v2
 * Mobile-first, dark/light mode, geen modal/claim styles
 */

/* ============================================
   CSS Variables
   ============================================ */

:root,
[data-theme="dark"] {
    --u-bg: #0f0f1a;
    --u-bg-card: #1a1f2e;
    --u-bg-card-hover: #1f2538;
    --u-bg-header: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --u-bg-stats: #141824;
    --u-text: #c9d1d9;
    --u-text-secondary: #8b949e;
    --u-text-muted: #545d68;
    --u-text-bright: #e6edf3;
    --u-text-heading: #f0f6fc;
    --u-border: rgba(255, 255, 255, 0.06);
    --u-border-card: rgba(255, 255, 255, 0.08);
    --u-accent: #3b82f6;
    --u-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --u-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.25);

    --u-niet-rijdend: #ef4444;
    --u-niet-rijdend-bg: rgba(239, 68, 68, 0.08);
    --u-niet-rijdend-border: rgba(239, 68, 68, 0.25);
    --u-rijdend: #22c55e;
    --u-rijdend-bg: rgba(34, 197, 94, 0.08);
    --u-rijdend-border: rgba(34, 197, 94, 0.25);
    --u-onbekend: #6b7280;
    --u-onbekend-bg: rgba(107, 114, 128, 0.08);
    --u-onbekend-border: rgba(107, 114, 128, 0.25);
    --u-binnenkort: #f59e0b;
}

[data-theme="light"] {
    --u-bg: #f0f2f5;
    --u-bg-card: #ffffff;
    --u-bg-card-hover: #f8f9fa;
    --u-bg-header: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --u-bg-stats: #ffffff;
    --u-text: #1f2328;
    --u-text-secondary: #656d76;
    --u-text-muted: #8b949e;
    --u-text-bright: #1f2328;
    --u-text-heading: #ffffff;
    --u-border: rgba(0, 0, 0, 0.07);
    --u-border-card: rgba(0, 0, 0, 0.08);
    --u-accent: #2563eb;
    --u-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --u-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);

    --u-niet-rijdend: #dc2626;
    --u-niet-rijdend-bg: rgba(220, 38, 38, 0.06);
    --u-niet-rijdend-border: rgba(220, 38, 38, 0.2);
    --u-rijdend: #16a34a;
    --u-rijdend-bg: rgba(22, 163, 74, 0.06);
    --u-rijdend-border: rgba(22, 163, 74, 0.2);
    --u-onbekend: #9ca3af;
    --u-onbekend-bg: rgba(156, 163, 175, 0.06);
    --u-onbekend-border: rgba(156, 163, 175, 0.2);
    --u-binnenkort: #d97706;
}

/* ============================================
   Base
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--u-bg);
    color: var(--u-text);
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 72px;
}

/* ============================================
   Header
   ============================================ */

.header {
    background: var(--u-bg-header);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    max-width: 800px;
    margin: 0 auto;
}

.header-back {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
}
.header-back:hover { color: #fff; background: rgba(255,255,255,0.1); }

.header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    flex: 1;
    min-width: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-clock {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.connection-status {
    display: flex;
    align-items: center;
    padding: 4px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--u-onbekend);
    transition: background 0.3s;
}

.status-dot.connected {
    background: var(--u-rijdend);
    box-shadow: 0 0 6px var(--u-rijdend);
}

.status-dot.disconnected {
    background: var(--u-niet-rijdend);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0;
}
.theme-toggle-btn:hover { background: rgba(255, 255, 255, 0.25); }

/* ============================================
   Stats Bar
   ============================================ */

.stats-bar {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    font-family: inherit;
    opacity: 0.55;
}

.stat-pill:hover { opacity: 0.85; }

.stat-tab-active { opacity: 1 !important; box-shadow: 0 0 0 2px currentColor; }

.stat-alle {
    background: var(--u-card-bg, rgba(255,255,255,0.06));
    border-color: var(--u-border, rgba(255,255,255,0.15));
    color: var(--u-text, #e2e8f0);
}

.stat-count {
    font-size: 1.05rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.stat-label { opacity: 0.8; }

.stat-probleem {
    background: var(--u-niet-rijdend-bg);
    border-color: var(--u-niet-rijdend-border);
    color: var(--u-niet-rijdend);
}

.stat-ok {
    background: var(--u-rijdend-bg);
    border-color: var(--u-rijdend-border);
    color: var(--u-rijdend);
}

.stat-onbekend {
    background: var(--u-onbekend-bg);
    border-color: var(--u-onbekend-border);
    color: var(--u-onbekend);
}

/* ============================================
   Main Content
   ============================================ */

.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 12px 24px;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: var(--u-text-secondary);
}

.loading-spinner-sm {
    width: 32px;
    height: 32px;
    border: 3px solid var(--u-border);
    border-top-color: var(--u-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 12px;
    color: var(--u-text-muted);
    text-align: center;
}

/* ============================================
   Section Headers
   ============================================ */

.dienst-section {
    margin-bottom: 16px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px 12px 0 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.section-header h2 {
    font-size: 0.95rem;
    font-weight: 700;
    flex: 1;
}

.section-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.section-icon-svg {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    font-variant-numeric: tabular-nums;
}

.section-info {
    font-size: 0.78rem;
    color: var(--u-text-muted);
    padding: 6px 14px 8px;
    line-height: 1.4;
    border-left: 1px solid var(--u-border-card);
    border-right: 1px solid var(--u-border-card);
    background: var(--u-bg-card);
}

/* Probleem */
.section-header-probleem {
    background: var(--u-niet-rijdend-bg);
    color: var(--u-niet-rijdend);
    border: 1px solid var(--u-niet-rijdend-border);
    border-bottom: none;
}
.section-header-probleem .section-icon {
    background: var(--u-niet-rijdend);
    color: white;
}
.section-header-probleem .section-badge {
    background: var(--u-niet-rijdend);
    color: white;
}

/* OK */
.section-header-ok {
    background: var(--u-rijdend-bg);
    color: var(--u-rijdend);
    border: 1px solid var(--u-rijdend-border);
    border-bottom: none;
}
.section-header-ok .section-icon-svg {
    background: var(--u-rijdend);
    color: white;
    padding: 4px;
}
.section-header-ok .section-badge {
    background: var(--u-rijdend);
    color: white;
}

/* Onbekend */
.section-header-onbekend {
    background: var(--u-onbekend-bg);
    color: var(--u-onbekend);
    border: 1px solid var(--u-onbekend-border);
    border-bottom: none;
}
.section-header-onbekend .section-icon {
    background: var(--u-onbekend);
    color: white;
}
.section-header-onbekend .section-badge {
    background: var(--u-onbekend);
    color: white;
}

/* ============================================
   Dienst Cards
   ============================================ */

.dienst-cards {
    border: 1px solid var(--u-border-card);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.dienst-card {
    display: flex;
    align-items: stretch;
    background: var(--u-bg-card);
    border-bottom: 1px solid var(--u-border);
    transition: background 0.2s;
    min-height: 72px;
}

.dienst-card:last-child { border-bottom: none; }
.dienst-card:active { background: var(--u-bg-card-hover); }

/* Wissel lijnen links */
.card-lijnen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 56px;
    padding: 8px 4px;
    flex-shrink: 0;
}

.lijn-badge {
    width: 40px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: white;
    background: var(--u-accent);
}

.lijn-in {
    opacity: 0.6;
    font-size: 0.8rem;
    height: 28px;
    width: 36px;
    border-radius: 6px;
}

.lijn-uit {
    font-size: 1rem;
}

.lijn-arrow {
    font-size: 0.7rem;
    opacity: 0.4;
    line-height: 1;
}

.card-arrow-sm {
    opacity: 0.4;
    font-size: 0.75rem;
    margin: 0 2px;
}

.card-dienst-over {
    font-weight: 800;
}

.card-meta {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 2px;
}

.card-probleem .lijn-badge { background: var(--u-niet-rijdend); }
.card-ok .lijn-badge { background: var(--u-rijdend); }
.card-onbekend .lijn-badge { background: var(--u-onbekend); }

/* Card content */
.card-content {
    flex: 1;
    padding: 10px 8px 10px 4px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.card-top {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.card-dienst {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--u-text-bright);
}

a.card-dienst-link {
    text-decoration: none;
    border-bottom: 1px dashed rgba(59, 130, 246, 0.5);
    transition: color 0.15s, border-color 0.15s;
}

a.card-dienst-link:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.card-omloop {
    font-size: 0.75rem;
    color: var(--u-text-muted);
    background: var(--u-border);
    padding: 1px 6px;
    border-radius: 4px;
}

a.card-omloop-link {
    text-decoration: none;
    color: var(--u-text-secondary);
    background: var(--u-border);
    padding: 1px 8px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

a.card-omloop-link:hover {
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.08);
}

.card-route {
    font-size: 0.82rem;
    color: var(--u-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-route .arrow {
    color: var(--u-text-muted);
    margin: 0 3px;
}

/* Card right info */
.card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 8px 12px 8px 4px;
    flex-shrink: 0;
    gap: 4px;
}

.card-time {
    font-size: 1.05rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--u-text-bright);
}

.card-eta {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.eta-positive {
    background: var(--u-rijdend-bg);
    color: var(--u-rijdend);
}

.eta-negative {
    background: var(--u-niet-rijdend-bg);
    color: var(--u-niet-rijdend);
}

.card-delay {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.delay-ontime {
    background: var(--u-rijdend-bg);
    color: var(--u-rijdend);
}
.delay-late {
    background: var(--u-niet-rijdend-bg);
    color: var(--u-niet-rijdend);
}
.delay-early {
    background: rgba(59, 130, 246, 0.12);
    color: var(--u-accent);
}

.card-perron {
    font-size: 0.72rem;
    color: var(--u-text-muted);
    font-weight: 600;
}

/* Eerdere ritten indicator */
.card-eerdere {
    font-size: 0.72rem;
    color: var(--u-niet-rijdend);
    opacity: 0.85;
    margin-top: 2px;
}

/* Urgency indicator */
.card-urgent {
    border-left: 3px solid var(--u-niet-rijdend);
    animation: urgent-pulse 2s ease-in-out infinite;
}

@keyframes urgent-pulse {
    0%, 100% { border-left-color: var(--u-niet-rijdend); }
    50% { border-left-color: transparent; }
}

/* Badges */
.card-nu-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--u-niet-rijdend);
    color: white;
    animation: blink-badge 1.5s ease-in-out infinite;
}

@keyframes blink-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.card-binnenkort-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--u-binnenkort);
    color: white;
}

.card-geen-chauffeur-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.15);
    color: var(--u-niet-rijdend);
    border: 1px solid var(--u-niet-rijdend-border);
}

/* ============================================
   Offline Banner
   ============================================ */

.offline-banner {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--u-niet-rijdend);
    color: white;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============================================
   Bottom Navigation
   ============================================ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--u-bg-card);
    border-top: 1px solid var(--u-border);
    display: flex;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px 6px;
    color: var(--u-text-muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    gap: 2px;
    transition: color 0.2s;
    min-height: 56px;
}

.bottom-nav-item.active {
    color: var(--u-accent);
}

.bottom-nav-item:hover {
    color: var(--u-text);
    text-decoration: none;
}

@media (min-width: 769px) {
    .bottom-nav { display: none; }
    body { padding-bottom: 24px; }
}

/* ============================================
   Animations
   ============================================ */

.card-enter {
    animation: card-fade-in 0.3s ease-out;
}

@keyframes card-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.count-change {
    animation: count-bump 0.3s ease-out;
}

@keyframes count-bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--u-text-muted);
    border-radius: 3px;
}

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

/* ============================================
   Alarm Panel
   ============================================ */

.alarm-panel {
    background: var(--u-bg-card);
    border-bottom: 1px solid var(--u-border);
    padding: 0;
}

.alarm-summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--u-text-secondary);
    user-select: none;
}

.alarm-summary::-webkit-details-marker { display: none; }

.alarm-summary::after {
    content: '▾';
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

#alarmDetails[open] .alarm-summary::after {
    transform: rotate(180deg);
}

.alarm-active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.alarm-body {
    padding: 0 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alarm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--u-bg);
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid var(--u-border);
}

.alarm-row-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.alarm-row-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--u-text-bright);
}

.alarm-row-desc {
    font-size: 0.78rem;
    color: var(--u-text-muted);
}

.alarm-min-input-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--u-text-muted);
    flex-wrap: wrap;
    margin-top: 4px;
}

.alarm-min-input {
    width: 52px;
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid var(--u-border);
    background: var(--u-bg-card);
    color: var(--u-text-bright);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
}
.alarm-min-input::-webkit-inner-spin-button,
.alarm-min-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Toggle switch (Utrecht variante) */
.notif-toggle-u {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.notif-toggle-u input { opacity: 0; width: 0; height: 0; }

.slider-u {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--u-text-muted);
    border-radius: 24px;
    transition: background 0.2s;
}

.slider-u:before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}

.notif-toggle-u input:checked + .slider-u { background: #3b82f6; }
.notif-toggle-u input:checked + .slider-u:before { transform: translateX(18px); }

/* Action buttons */
.alarm-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.alarm-test-btn {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.alarm-test-btn:hover { background: rgba(59, 130, 246, 0.2); }

.alarm-perm-btn {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.alarm-perm-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* In-page alarm alert */
.u-alarm-alert {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 200;
    background: #ef4444;
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    animation: alarm-slide-in 0.3s ease-out;
}

@keyframes alarm-slide-in {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.u-alarm-alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    width: 100%;
}

.u-alarm-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.u-alarm-text {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

.u-alarm-dismiss {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 380px) {
    .stat-pill { padding: 6px 10px; font-size: 0.78rem; }
    .stat-count { font-size: 0.95rem; }
    .card-time { font-size: 0.95rem; }
    .lijn-badge { width: 40px; height: 40px; font-size: 1rem; }
    .card-lijn { min-width: 50px; }
}

@media (min-width: 600px) {
    .stats-bar { justify-content: center; }
    .dienst-card { min-height: 76px; }
}
