:root {
    --bg-dark: #030303;
    --sidebar-bg: #080808;
    --card-bg: rgba(20, 20, 20, 0.6);
    --accent: #00ff88; /* Emerald Neon */
    --accent-glow: rgba(0, 255, 136, 0.15);
    --text-main: #f0f0f0;
    --text-dim: #9aa0a6;
    --border: rgba(255, 255, 255, 0.05);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', system-ui, sans-serif; 
}

body { 
    background: var(--bg-dark); 
    color: var(--text-main); 
    display: flex; 
    min-height: 100vh; 
    overflow-x: hidden; 
    position: relative; /* Wichtig für das Hintergrund-Leuchten */
}

/* --- Pulsierendes Hintergrund-Leuchten --- */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60vw; /* Leicht vergrößert für einen weicheren Effekt */
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.06) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    z-index: -1; 
    pointer-events: none; 
    animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}
/* ----------------------------------------- */

/* Sidebar Navigation */
.sidebar {
    width: 280px; 
    background: var(--sidebar-bg); 
    border-right: 1px solid var(--border);
    padding: 30px 20px; 
    display: flex; 
    flex-direction: column; 
    position: fixed; 
    height: 100vh; 
    z-index: 100;
}

.brand { 
    font-size: 1.8rem; 
    font-weight: 800; 
    margin-bottom: 50px; 
    letter-spacing: -1px; 
}

/* Optional: Leichte Puls-Animation auch für das Logo hinzugefügt */
.brand span { 
    color: var(--accent); 
    text-shadow: 0 0 15px var(--accent-glow); 
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.1); }
    100% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.4); }
}

.nav-link {
    padding: 14px 20px; 
    color: var(--text-dim); 
    text-decoration: none; 
    border-radius: 12px;
    margin-bottom: 8px; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    display: flex; 
    align-items: center;
}

.nav-link:hover, .nav-link.active { 
    background: var(--accent-glow); 
    color: var(--accent); 
    border-left: 3px solid var(--accent); 
}

/* Main Content Area */
.main-wrapper { 
    margin-left: 280px; 
    flex: 1; 
    padding: 40px 5%; 
    width: calc(100% - 280px); 
}

.page-header { 
    margin-bottom: 40px; 
    border-bottom: 1px solid var(--border); 
    padding-bottom: 20px; 
}

.page-title { 
    font-size: 2.5rem; 
    font-weight: 800; 
    letter-spacing: -1px; 
}

.page-desc { 
    color: var(--text-dim); 
    font-size: 1.1rem; 
    margin-top: 10px; 
}

/* Bento Grid System */
.bento-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 24px; 
}

.bento-card {
    background: var(--card-bg); 
    backdrop-filter: blur(12px); 
    border: 1px solid var(--border);
    border-radius: 24px; 
    padding: 32px; 
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(0, 255, 136, 0.4); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 136, 0.1); 
}

.bento-card.wide { 
    grid-column: 1 / -1; 
}

/* Tags & Typography */
.badge { 
    display: inline-block; 
    padding: 6px 14px; 
    background: #111; 
    color: var(--accent); 
    border: 1px solid var(--accent); 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    margin-bottom: 15px; 
}

.badge.danger { 
    color: #ff4444; 
    border-color: #ff4444; 
}

.card-title { 
    font-size: 1.5rem; 
    margin-bottom: 12px; 
}

.card-text { 
    color: var(--text-dim); 
    line-height: 1.6; 
    font-size: 0.95rem; 
    margin-bottom: 15px; 
}

.data-list { 
    list-style: none; 
    border-top: 1px solid var(--border); 
    padding-top: 15px; 
    margin-top: 15px; 
}

.data-list li { 
    margin-bottom: 10px; 
    font-size: 0.9rem; 
    color: #ddd; 
}

.data-list strong { 
    color: var(--accent); 
}

/* Mobile Menu Button */
.mobile-toggle { 
    display: none; 
    position: fixed; 
    top: 20px; 
    right: 20px; 
    z-index: 1000; 
    background: var(--sidebar-bg); 
    border: 1px solid var(--border); 
    color: white; 
    padding: 10px; 
    border-radius: 8px; 
    cursor: pointer; 
}

@media (max-width: 900px) {
    .sidebar { 
        transform: translateX(-100%); 
        transition: transform 0.3s ease; 
    }
    .sidebar.open { 
        transform: translateX(0); 
    }
    .main-wrapper { 
        margin-left: 0; 
        width: 100%; 
        padding: 80px 5% 40px; 
    }
    .mobile-toggle { 
        display: block; 
    }
}