/* ============================================================
   onemorebyte AG – Corporate Design CSS
   Farben: #4cae04 (grün), #2d3540 (dunkelgrau), #5e6772 (hellgrau), #ffffff
   Schrift: Inter, Segoe UI
   ============================================================ */

/* ── 1. CSS Reset & Basisstile ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #2d3540;
    background: #f5f6f7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* ── 2. Shell-Layout ────────────────────────────────────────── */
.omb-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
}

/* ── 3. Sidebar ─────────────────────────────────────────────── */
.omb-sidebar {
    width: 220px;
    background: #2d3540;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
}

/* ── 4. Sidebar Logo ────────────────────────────────────────── */
.omb-sidebar-logo {
    padding: 20px 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.omb-logo-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    margin-top: 10px;
    display: block;
}

.omb-logo-sub {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 1px;
    display: block;
}

/* ── 5. Logo-Balken ─────────────────────────────────────────── */
.omb-logo-bar {
    height: 3px;
    width: 32px;
    background: #4cae04;
    border-radius: 2px;
    margin-bottom: 10px;
}

/* ── 6. Nav Group Label ─────────────────────────────────────── */
.omb-nav-group-label {
    font-size: 10px;
    opacity: 0.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 16px 4px;
    display: block;
}

/* ── 7. Nav Button ──────────────────────────────────────────── */
.omb-nav-btn {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-radius: 6px;
    margin: 1px 8px;
    width: calc(100% - 16px);
    font-size: 14px;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease;
    text-decoration: none;
    line-height: 1.4;
}

.omb-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ── 8. Nav Button Active ───────────────────────────────────── */
.omb-nav-btn.active {
    background: rgba(76, 174, 4, 0.2);
    color: #4cae04;
}

.omb-nav-btn.active .omb-nav-icon {
    opacity: 1;
}

/* ── 9. Nav Icon ────────────────────────────────────────────── */
.omb-nav-icon {
    margin-right: 10px;
    opacity: 0.7;
    flex-shrink: 0;
    font-size: 16px;
}

/* ── 10. Sidebar Bottom ─────────────────────────────────────── */
.omb-sidebar-bottom {
    margin-top: auto;
    padding: 8px 0 12px;
}

/* ── 11. Sidebar Separator ──────────────────────────────────── */
.omb-sidebar-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 16px;
}

/* ── 12. Avatar ─────────────────────────────────────────────── */
.omb-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #4cae04;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}

/* ── 13. Logout Button ──────────────────────────────────────── */
.omb-logout-btn {
    opacity: 0.6;
    font-size: 13px;
}

.omb-logout-btn:hover {
    opacity: 1;
}

/* ── 14. Main Content Area ──────────────────────────────────── */
.omb-main {
    flex: 1;
    overflow: auto;
    background: #f5f6f7;
    min-width: 0;
}

/* ── 15. Page Wrapper ───────────────────────────────────────── */
.omb-page {
    padding: 0;
}

/* ── 16. Page Header ────────────────────────────────────────── */
.omb-page-header {
    padding: 20px 24px 14px;
    border-bottom: 1px solid #e0e0e0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* ── 17. Page Title ─────────────────────────────────────────── */
.omb-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3540;
    margin: 0;
    letter-spacing: -0.3px;
}

/* ── 18. Page Subtitle ──────────────────────────────────────── */
.omb-page-sub {
    font-size: 13px;
    opacity: 0.55;
    margin: 2px 0 0;
    color: #2d3540;
}

/* ── 19. Filter Bar ─────────────────────────────────────────── */
.omb-filter-bar {
    padding: 10px 24px;
    background: #f0f1f3;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* ── 20. Content Area ───────────────────────────────────────── */
.omb-content {
    padding: 24px;
}

/* ── 21. Formular-Elemente ──────────────────────────────────── */
.omb-input,
.omb-select,
.omb-textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    color: #2d3540;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    line-height: 1.5;
}

.omb-input:focus,
.omb-select:focus,
.omb-textarea:focus {
    border-color: #4cae04;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 174, 4, 0.12);
}

.omb-input::placeholder,
.omb-textarea::placeholder {
    color: #9e9e9e;
}

.omb-textarea {
    resize: vertical;
    min-height: 80px;
}

.omb-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235e6772' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ── 22. Button Basis ───────────────────────────────────────── */
.omb-btn {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-weight: 500;
    transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    line-height: 1.4;
}

.omb-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── 23. Button Primary ─────────────────────────────────────── */
.omb-btn-primary {
    background: #4cae04;
    color: #ffffff;
}

.omb-btn-primary:hover:not(:disabled) {
    background: #3d9203;
    box-shadow: 0 2px 6px rgba(76, 174, 4, 0.35);
}

/* ── 24. Button Secondary ───────────────────────────────────── */
.omb-btn-secondary {
    background: #e8e8e8;
    color: #2d3540;
}

.omb-btn-secondary:hover:not(:disabled) {
    background: #d8d8d8;
}

/* ── 25. Button Danger ──────────────────────────────────────── */
.omb-btn-danger {
    background: #e53935;
    color: #ffffff;
}

.omb-btn-danger:hover:not(:disabled) {
    background: #c62828;
}

/* ── 26. Badge ──────────────────────────────────────────────── */
.omb-badge {
    padding: 3px 9px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.6;
}

/* Badge-Farben nach Status */
.omb-badge-idee        { background: #9e9e9e; }
.omb-badge-konzept     { background: #5e6772; }
.omb-badge-prompt      { background: #1976d2; }
.omb-badge-erstversion { background: #7b1fa2; }
.omb-badge-lauffaehig  { background: #0097a7; }
.omb-badge-ausgerollt  { background: #4cae04; }
.omb-badge-archiviert  { background: #bdbdbd; }

/* Badge-Farben nach Priorität */
.omb-badge-niedrig  { background: #9e9e9e; }
.omb-badge-mittel   { background: #fb8c00; }
.omb-badge-hoch     { background: #e53935; }
.omb-badge-kritisch { background: #b71c1c; }

/* ── 27. Tabelle ────────────────────────────────────────────── */
.omb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ── 28. Tabellen-Kopf ──────────────────────────────────────── */
.omb-table th {
    background: #f5f6f7;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #5e6772;
    font-size: 12px;
    border-bottom: 2px solid #e0e0e0;
    white-space: nowrap;
}

/* ── 29. Tabellen-Zellen ────────────────────────────────────── */
.omb-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f1f3;
    vertical-align: middle;
    color: #2d3540;
}

/* ── 30. Tabellen-Hover ─────────────────────────────────────── */
.omb-table tr:hover {
    background: #fafafa;
}

/* ── 31. Letzte Tabellenzeile ───────────────────────────────── */
.omb-table tr:last-child td {
    border-bottom: none;
}

/* ── 32. Card ───────────────────────────────────────────────── */
.omb-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ── 33. Statistiken-Grid ───────────────────────────────────── */
.omb-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

/* ── 34. Statistik-Karte ────────────────────────────────────── */
.omb-stat-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ── 35. Statistik-Zahl ─────────────────────────────────────── */
.omb-stat-zahl {
    font-size: 36px;
    font-weight: 700;
    color: #4cae04;
    line-height: 1.1;
}

/* ── 36. Statistik-Beschriftung ─────────────────────────────── */
.omb-stat-label {
    font-size: 12px;
    color: #5e6772;
    margin-top: 4px;
}

/* ── 37. Leer-Zustand ───────────────────────────────────────── */
.omb-leer {
    text-align: center;
    padding: 60px 24px;
    color: #9e9e9e;
    font-size: 15px;
}

/* ── 38. Leer-Icon ──────────────────────────────────────────── */
.omb-leer-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

/* ── 39. Alert Basis ────────────────────────────────────────── */
.omb-alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 8px 0;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

/* ── 40. Alert Fehler ───────────────────────────────────────── */
.omb-alert-fehler {
    background: #fff3f3;
    border: 1px solid #ffcccc;
    color: #c62828;
}

/* ── 41. Alert Erfolg ───────────────────────────────────────── */
.omb-alert-erfolg {
    background: #f0fff0;
    border: 1px solid #c3e6cb;
    color: #2a6b00;
}

/* ── 42. Login-Seite ────────────────────────────────────────── */
.omb-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d3540 0%, #1a2030 100%);
}

/* ── 43. Login-Card ─────────────────────────────────────────── */
.omb-login-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px;
    width: 360px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ── 44. Login-Logo ─────────────────────────────────────────── */
.omb-login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.omb-login-logo .omb-logo-bar {
    margin: 0 auto 10px;
    width: 40px;
    height: 4px;
}

.omb-login-logo .omb-logo-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3540;
    display: block;
    margin-top: 0;
}

.omb-login-logo .omb-logo-sub {
    font-size: 11px;
    color: #5e6772;
    opacity: 0.7;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.omb-login-heading {
    font-size: 22px;
    font-weight: 700;
    color: #2d3540;
    margin: 0 0 24px;
    text-align: center;
}

.omb-login-form .omb-form-group {
    margin-bottom: 18px;
}

.omb-login-form .omb-input {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.omb-login-form .omb-input:focus {
    border-color: #4cae04;
    box-shadow: 0 0 0 3px rgba(76, 174, 4, 0.15);
}

.omb-btn-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    background: #4cae04;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s, transform 0.05s;
    font-family: inherit;
}

.omb-btn-full:hover:not(:disabled) {
    background: #3d9203;
}

.omb-btn-full:active:not(:disabled) {
    transform: translateY(1px);
}

.omb-btn-full:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.omb-login-version {
    text-align: center;
    font-size: 11px;
    color: #9e9e9e;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f1f3;
}

.omb-login-form .omb-alert-fehler {
    padding: 10px 12px;
    border-radius: 6px;
    margin: -4px 0 14px;
    font-size: 12.5px;
    background: #fff3f3;
    border: 1px solid #ffcccc;
    color: #c62828;
}

/* ── 45. Formular-Gruppe ────────────────────────────────────── */
.omb-form-group {
    margin-bottom: 16px;
}

/* ── 46. Label ──────────────────────────────────────────────── */
.omb-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #2d3540;
    margin-bottom: 5px;
}

/* ── 47. Spinner ────────────────────────────────────────────── */
.omb-spinner {
    border: 3px solid #f0f0f0;
    border-top: 3px solid #4cae04;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ── 48. Keyframes Spin ─────────────────────────────────────── */
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── 50. Detail-Grid ────────────────────────────────────────── */
.omb-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── 51. Detail-Label ───────────────────────────────────────── */
.omb-detail-label {
    font-size: 12px;
    color: #5e6772;
    font-weight: 600;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── 52. Detail-Wert ────────────────────────────────────────── */
.omb-detail-value {
    font-size: 14px;
    color: #2d3540;
    line-height: 1.5;
}

/* ── 53. Kommentar ──────────────────────────────────────────── */
.omb-kommentar {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
    border-left: 3px solid #4cae04;
}

/* ── 54. Kommentar Meta ─────────────────────────────────────── */
.omb-kommentar-meta {
    font-size: 11px;
    color: #9e9e9e;
    margin-bottom: 4px;
}

/* ── 55. Tag ────────────────────────────────────────────────── */
.omb-tag {
    background: #e8f5e9;
    color: #2a6b00;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 11px;
    margin: 2px;
    display: inline-block;
    font-weight: 500;
}

/* ── Hilfsklassen ───────────────────────────────────────────── */
.omb-mt-8  { margin-top: 8px; }
.omb-mt-16 { margin-top: 16px; }
.omb-mt-24 { margin-top: 24px; }
.omb-mb-8  { margin-bottom: 8px; }
.omb-mb-16 { margin-bottom: 16px; }
.omb-flex  { display: flex; }
.omb-flex-center { display: flex; align-items: center; }
.omb-gap-8 { gap: 8px; }
.omb-gap-16 { gap: 16px; }
.omb-w-full { width: 100%; }
.omb-text-right { text-align: right; }
.omb-text-muted { color: #9e9e9e; font-size: 13px; }

/* ── Tab-Leiste ─────────────────────────────────────────────── */
.omb-tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    background: #ffffff;
    padding: 0 24px;
}

.omb-tab {
    padding: 12px 20px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #5e6772;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.omb-tab:hover {
    color: #2d3540;
}

.omb-tab-aktiv {
    color: #4cae04;
    border-bottom-color: #4cae04;
    font-weight: 600;
}

/* ── Mobile-Hide Hilfklasse ─────────────────────────────────── */
@media (max-width: 768px) {
    .omb-mobile-hide {
        display: none;
    }
}

/* Tabellen-Wrapper für overflow */
.omb-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
}

/* Action-Buttons in Tabellenzeilen */
.omb-table-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
}

.omb-btn-sm {
    padding: 4px 12px;
    font-size: 12px;
}

/* Formular-Zeile nebeneinander */
.omb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Seiten-Navigation / Breadcrumb */
.omb-breadcrumb {
    font-size: 13px;
    color: #9e9e9e;
    margin-bottom: 4px;
}

.omb-breadcrumb a {
    color: #5e6772;
}

.omb-breadcrumb a:hover {
    color: #4cae04;
}

/* ── 49. Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .omb-shell {
        grid-template-columns: 1fr;
    }

    .omb-sidebar {
        display: none;
    }

    .omb-main {
        width: 100%;
    }

    .omb-content {
        padding: 16px;
    }

    .omb-page-header {
        padding: 14px 16px 10px;
    }

    .omb-filter-bar {
        padding: 8px 16px;
    }

    .omb-page-title {
        font-size: 18px;
    }

    .omb-detail-grid {
        grid-template-columns: 1fr;
    }

    .omb-form-row {
        grid-template-columns: 1fr;
    }

    .omb-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }

    .omb-stat-zahl {
        font-size: 28px;
    }

    .omb-login-card {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .omb-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .omb-table th,
    .omb-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* ── Projekt-Detail Layout ──────────────────────────────────── */
.detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
    padding: 20px 24px;
    align-items: start;
}

.detail-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.detail-card:last-child { margin-bottom: 0; }

.detail-card-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #9e9e9e;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.detail-kv-grid {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px 16px;
    align-items: start;
}

.detail-key {
    font-size: 12px;
    font-weight: 600;
    color: #5e6772;
    padding-top: 2px;
}

.detail-val {
    font-size: 14px;
    color: #2d3540;
}

.detail-tags {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f1f3;
}

.detail-text {
    font-size: 14px;
    color: #2d3540;
    line-height: 1.6;
    white-space: pre-wrap;
    margin: 0;
}

.detail-list {
    margin: 0;
    padding-left: 18px;
    font-size: 13.5px;
    line-height: 1.9;
    color: #2d3540;
}

.detail-side > .detail-card { margin-bottom: 16px; }

@media (max-width: 860px) {
    .detail-body { grid-template-columns: 1fr; }
    .detail-side { order: -1; }
}

/* ── Klickbare Tabellenzeile ────────────────────────────────── */
.proj-row {
    cursor: pointer;
}
.proj-row:hover td {
    background: #f0f7ec !important;
}

/* ── Nav-Icons (SVG) ────────────────────────────────────────── */
.omb-nav-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    opacity: 0.75;
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
}

.omb-nav-btn.active .omb-nav-icon,
.omb-nav-btn:hover .omb-nav-icon {
    opacity: 1;
}

/* ── Dashboard ──────────────────────────────────────────────── */
.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 14px;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
}

.dash-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3540;
    margin: 0;
}

.dash-subtitle {
    font-size: 13px;
    color: #5e6772;
    margin: 2px 0 0;
}

.dash-header-actions {
    display: flex;
    gap: 8px;
}

.dash-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #9e9e9e;
    padding: 20px 24px 8px;
}

/* Status-Kacheln – exakt wie in der Desktop-App */
.dash-status-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    padding: 0 24px;
}

.dash-status-card {
    border-radius: 10px;
    padding: 20px 16px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    text-align: center;
    user-select: none;
}

.dash-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.dash-status-card-label {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 8px;
    white-space: nowrap;
}

.dash-status-card-zahl {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

/* Zuletzt geänderte Projekte */
.dash-recent {
    margin: 0 24px 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

.dash-recent-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f1f3;
    cursor: pointer;
    transition: background 0.1s;
}

.dash-recent-row:last-child {
    border-bottom: none;
}

.dash-recent-row:hover {
    background: #fafafa;
}

.dash-recent-badge {
    padding: 3px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.dash-recent-titel {
    font-weight: 600;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-recent-meta {
    font-size: 12px;
    color: #9e9e9e;
    white-space: nowrap;
    flex-shrink: 0;
}

.dash-sep {
    margin: 0 4px;
    opacity: 0.4;
}

.dash-recent-pfeil {
    font-size: 18px;
    color: #ccc;
    flex-shrink: 0;
}

.dash-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 40px 24px;
    color: #9e9e9e;
}

.dash-leer {
    text-align: center;
    padding: 60px 24px;
}

.dash-leer-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.dash-leer h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3540;
}

.dash-leer p {
    color: #9e9e9e;
    margin-bottom: 20px;
}

.dash-leer-small {
    text-align: center;
    padding: 40px 24px;
    color: #9e9e9e;
}

/* Responsive Dashboard */
@media (max-width: 1200px) {
    .dash-status-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .dash-status-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .dash-status-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .dash-recent-meta { display: none; }
}
