  /* --- VARIABLEN & RESET (Globales Design) --- */
        :root {
            --bg-dark: #050505;
            --bg-gradient: linear-gradient(180deg, #050505 0%, #121212 100%);
            --accent-gradient: linear-gradient(135deg, #ffd27a 0%, #ffb86b 100%);
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.06);
            --glass-highlight: rgba(255, 255, 255, 0.1);
            --text-main: #eaeaea;
            --text-muted: #a0a0a0;
            --font-main: 'Inter', sans-serif;
            --container-width: 1100px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scrollbar-width: none;
            -ms-overflow-style: none;
            scroll-behavior: smooth;
        }
        
        html::-webkit-scrollbar {
            display: none;
        }

        body {
            min-height: 100vh;
            font-family: var(--font-main);
            background: var(--bg-gradient);
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* --- LAYOUT UTILITIES --- */
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.2s ease;
        }

        /* --- HEADER --- */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--glass-border);
            background: rgba(5, 5, 5, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .header-inner {
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 800;
            font-size: 1.25rem;
            letter-spacing: -0.02em;
        }
        
        .brand .logo {
            height: 32px;
            width: auto;
        }

        .nav {
            display: flex;
            gap: 4px;
        }

        .nav a {
            position: relative;
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.95rem;
            padding: 8px 16px;
            border-radius: 99px;
            transition: color 0.3s ease, background 0.3s ease;
        }

        .nav a:hover, .nav a.active {
            color: #fff;
            background: var(--glass-bg);
        }

        /* --- CONTENT PAGE STYLES --- */
        main {
            padding-top: 140px;
            padding-bottom: 80px;
        }

        h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 16px;
            background: linear-gradient(to bottom right, #ffffff, #b0b0b0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-top: 100px;
            text-align: center;
        }

        p.lead {
            color: var(--text-muted);
            margin-bottom: 60px;
            font-size: 1.1rem;
            max-width: 9000px;
            text-align: center;
        }

        /* --- TEAM LAYOUT --- */
        .team-structure {
            display: flex;
            flex-direction: column;
            gap: 48px;
        }

        .section-divider {
            margin-top: 40px;
            margin-bottom: 16px;
            text-align: center;
            position: relative;
        }
        
        .section-divider h2 {
            font-size: 1.5rem;
            color: #fff;
            display: inline-block;
            background: var(--bg-dark);
            padding: 0 16px;
            position: relative;
            z-index: 1;
        }

        .section-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--glass-border);
            z-index: 0;
        }

        .card {
            background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 32px;
            text-align: center;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer; /* Zeigt an, dass es klickbar ist */
        }

        .card:hover {
            transform: translateY(-6px);
            border-color: rgba(255, 210, 122, 0.3);
            box-shadow: 0 16px 40px -10px rgba(0,0,0,0.5);
            background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
        }

        .row-leaders {
            display: flex;
            justify-content: center;
            gap: 32px;
            flex-wrap: wrap;
        }

        .row-leaders .card {
            flex: 0 1 400px;
            min-width: 280px;
            border-color: rgba(255, 210, 122, 0.15);
        }

        .row-grid-4 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
            gap: 32px;
        }

        /* Avatar im Grid (Card) */
        .avatar {
            width: 96px;
            height: 96px;
            border-radius: 50%;
            margin-bottom: 20px;
            position: relative;
            background: linear-gradient(45deg, #2a2a2a, #333);
            border: 2px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .avatar-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* Pixelated rendering for Minecraft skins */
            image-rendering: pixelated; 
        }

        .avatar-fallback {
            font-size: 2rem;
            position: absolute;
            z-index: 0;
        }

        .card h3 {
            font-size: 1.5rem;
            margin-bottom: 8px;
            color: #fff;
            font-weight: 700;
        }

        .role-badge {
            display: inline-block;
            padding: 6px 14px;
            border-radius: 99px;
            font-size: 0.85rem;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            margin-bottom: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .role-leader { color: #ffd27a; border-color: rgba(255, 210, 122, 0.4); background: rgba(255, 210, 122, 0.05); }
        .role-co-leader { color: #ffb86b; border-color: rgba(255, 184, 107, 0.4); background: rgba(255, 184, 107, 0.05); }
        .role-management { color: #a29bfe; border-color: rgba(162, 155, 254, 0.4); background: rgba(162, 155, 254, 0.05); }
        .role-vip { color: #e056fd; border-color: rgba(224, 86, 253, 0.4); background: rgba(224, 86, 253, 0.05); }

        .card p {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .muted-note {
            display: block;
            margin-top: 60px;
            text-align: center;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.2);
            font-style: italic;
        }

        /* --- FOOTER --- */
        .site-footer {
            margin-top: 80px;
            border-top: 1px solid var(--glass-border);
            padding: 40px 0;
            background: rgba(0,0,0,0.2);
            text-align: center;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        /* =========================================
           NEUES POPUP / MODAL DESIGN
           ========================================= */
        
        /* Backdrop */
        .modal {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            display: flex; align-items: center; justify-content: center;
            z-index: 9999;
            opacity: 0; pointer-events: none;
            transition: opacity 0.3s ease;
        }
        
        .modal.open {
            opacity: 1; pointer-events: auto;
        }

        .modal-backdrop {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
        }

        /* Das eigentliche Fenster */
        .modal-panel {
            position: relative;
            width: 100%;
            max-width: 850px; /* Breiter für das Split-Layout */
            margin: 20px;
            background: #121212;
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
            overflow: hidden;
            transform: scale(0.95) translateY(20px);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10;
        }

        .modal.open .modal-panel {
            transform: scale(1) translateY(0);
        }

        /* Close Button (X) */
        button.modal-close-icon {
            position: absolute;
            top: 20px; right: 20px;
            background: rgba(0,0,0,0.3);
            border: none;
            color: #fff;
            width: 36px; height: 36px;
            border-radius: 50%;
            font-size: 18px;
            cursor: pointer;
            z-index: 20;
            display: flex; align-items: center; justify-content: center;
            transition: background 0.2s;
        }
        button.modal-close-icon:hover {
            background: rgba(255,255,255,0.2);
        }

        /* Layout Container im Modal */
        .modal-content {
            display: flex;
            min-height: 400px; /* Mindesthöhe */
        }

        /* LINKE SEITE: Skin Display */
        .modal-skin {
            flex: 0 0 40%; /* Nimmt 40% der Breite ein */
            background: radial-gradient(circle at center, #2a2a2a 0%, #0d0d0d 100%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            border-right: 1px solid rgba(255,255,255,0.05);
            overflow: hidden;
        }

        /* Optional: Ein farbiger Glow hinter dem Skin basierend auf Akzentfarbe */
        .modal-skin::before {
            content: '';
            position: absolute;
            width: 200px; height: 200px;
            background: var(--accent-gradient);
            filter: blur(80px);
            opacity: 0.15;
            border-radius: 50%;
        }

        .modal-avatar-large {
            position: relative;
            width: 55%; /* Skin kleiner gemacht (vorher 80%) */
            height: auto;
            max-height: 90%; /* Verhindert Überlauf */
            display: flex; /* Zentrierung */
            align-items: center;
            justify-content: center;
            z-index: 2;
            filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
        }

        .modal-avatar-large img {
            width: 100%;
            height: auto;
            max-height: 350px; /* Maximale Höhe des Skins */
            object-fit: contain;
            image-rendering: pixelated; /* Wichtig für Minecraft Skins */
            display: block;
        }

        /* RECHTE SEITE: Infos */
        .modal-info {
            flex: 1;
            padding: 48px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .modal-header {
            margin-bottom: 24px;
        }

        .modal-header h3 {
            font-size: 2.5rem;
            margin: 0 0 8px 0;
            line-height: 1.1;
            background: linear-gradient(to right, #fff, #bbb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .modal-header .role-badge {
            font-size: 0.9rem;
            margin: 0;
        }

        .modal-bio {
            color: var(--text-muted);
            font-size: 1.05rem;
            line-height: 1.6;
            margin-bottom: 32px;
            flex-grow: 1; /* Schiebt Metadaten nach unten */
        }

        .modal-meta {
            list-style: none;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 24px;
        }

        .modal-meta li {
            display: flex;
            align-items: center;
            color: #ccc;
            font-size: 0.95rem;
            gap: 10px;
        }

        .modal-meta li strong {
            color: #666;
            font-weight: 500;
            min-width: 90px;
        }
        
        /* Spezialstyling für Discord/Twitch */
        .modal-meta a, .modal-meta span.clickable {
            color: #ffd27a;
            cursor: pointer;
            transition: color 0.2s;
        }
        .modal-meta a:hover, .modal-meta span.clickable:hover {
            color: #fff;
            text-decoration: underline;
        }

        .btn-modal-close {
            margin-top: 24px;
            align-self: flex-start;
            background: rgba(255,255,255,0.05);
            color: #fff;
            border: 1px solid rgba(255,255,255,0.1);
            padding: 10px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.2s;
        }
        .btn-modal-close:hover {
            background: rgba(255,255,255,0.1);
        }

        /* Responsive Modal (Handy) */
        @media (max-width: 768px) {
            .header-inner { flex-direction: column; height: auto; padding: 16px 0; gap: 16px; }
            .nav { flex-wrap: wrap; justify-content: center; }
            main { padding-top: 160px; }
            h1 { font-size: 2.5rem; margin-top: 200px; }
            .row-leaders { flex-direction: column; }
            .row-leaders .card { width: 100%; flex: auto; }

            /* Modal Mobile */
            .modal-content { flex-direction: column; }
            .modal-skin { height: 250px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
            .modal-avatar-large { width: auto; height: 90%; }
            .modal-info { padding: 24px; }
            .modal-header h3 { font-size: 2rem; }
            .modal-panel { margin: 10px; max-height: 90vh; overflow-y: auto; }
        }
    