:root {
    --hauptfarbe: #00A2ED; --hauptfarbe-hover: #0081bd;
    --hintergrund: #f0f2f5; --card-bg: #ffffff;
    --text-dark: #1c1e21; --text-light: #606770;
    --success: #28a745; --danger: #dc3545; --shadow: 0 12px 28px rgba(0,0,0,0.06);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Segoe UI', sans-serif; background: var(--hintergrund); margin: 0; display: flex; justify-content: center; min-height: 100vh; }
.container { width: 100%; max-width: 900px; padding: 20px; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 30px; }
.modern-card { background: var(--card-bg); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); position: relative; transition: transform 0.2s; }
.card-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.card-label { font-size: 11px; color: var(--text-light); font-weight: 700; text-transform: uppercase; }
.card-value { font-size: 24px; font-weight: 800; color: var(--hauptfarbe); margin: 5px 0; }
.chart-container { background: var(--card-bg); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 30px; }

/* RANGE SELECTOR & PILLS */
.range-selector { display: flex; background: #e9ecef; padding: 3px; border-radius: 10px; }
.range-selector a { text-decoration: none; color: #666; padding: 5px 10px; font-size: 11px; font-weight: 700; border-radius: 8px; }
.range-selector a.active { background: white; color: var(--hauptfarbe); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

.chart-filter-btn { background: white !important; color: #333 !important; border: 1px solid #ddd; padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: bold; cursor: pointer; margin-right: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.chart-filter-btn.active { border-bottom: 2px solid var(--hauptfarbe); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* FORMS & BUTTONS */
input, select, textarea { width: 100%; padding: 12px; margin: 8px 0; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
button { background: var(--hauptfarbe); color: white; border: none; padding: 12px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.btn-setup { background: #f0f2f5; color: #333; padding: 6px 10px; font-size: 11px; width: auto; margin-top: 10px; }
.btn-copy { background: #f0f2f5; color: var(--hauptfarbe); font-size: 11px; margin-top: 5px; }
.btn-copied { background: var(--success) !important; color: white !important; }
.setup-area { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee; }

@media (max-width: 600px) { .status-grid { grid-template-columns: 1fr; } }