/* --- 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;
            display: flex;
            flex-direction: column;
            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;
        }

        ul {
            list-style: none;
        }

        /* --- 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 STYLES --- */
        main {
            padding-top: 140px;
            padding-bottom: 80px;
           
        }

        h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 24px;
            background: linear-gradient(to bottom right, #ffffff, #b0b0b0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-top: 100px;
            text-align: center;
        }

        h2 {
            font-size: 1.75rem;
            margin-top: 48px;
            margin-bottom: 16px;
            color: #fff;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 8px;
            display: inline-block;
        }

        p {
            color: var(--text-muted);
            margin-bottom: 16px;
            font-size: 1.05rem;
            max-width: 800px;
        }

        p.footer{
            max-width: 100%;
        }

        /* --- BUTTONS --- */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
            border: 1px solid transparent;
        }

        .btn:active {
            transform: scale(0.96);
        }

        .btn.primary {
            background: var(--accent-gradient);
            color: #101010;
            box-shadow: 0 4px 12px rgba(255, 184, 107, 0.2);
        }

        .btn.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 184, 107, 0.3);
        }

        .btn.secondary {
            background: var(--glass-bg);
            border-color: var(--glass-border);
            color: #fff;
        }

        .btn.secondary:hover {
            background: var(--glass-highlight);
            transform: translateY(-2px);
        }

        .btn.ghost {
            background: transparent;
            border: 1px solid var(--glass-border);
            color: var(--text-muted);
        }
        
        .btn.ghost:hover {
            border-color: #fff;
            color: #fff;
            background: rgba(255,255,255,0.05);
        }

        .cta {
            margin-top: 24px;
            display: flex;
            gap: 16px;
        }

        .rules-intro {
            background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
            border: 1px solid var(--glass-border);
            padding: 32px;
            border-radius: 16px;
            margin-bottom: 40px;
        }
        
        .rules-intro .lead {
            margin-bottom: 24px;
            color: #fff;
        }

        .content-list li {
            position: relative;
            padding-left: 24px;
            margin-bottom: 12px;
            color: var(--text-muted);
        }
        .content-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #ffd27a;
            font-weight: bold;
        }

        /* --- 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;
        }

        /* =========================================
           MODERNES MODAL DESIGN (Wie Team-Seite)
           ========================================= */
        
        /* 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: 800px; /* Gute Lesebreite */
            max-height: 85vh; /* Nicht höher als der Screen */
            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);
            display: flex;
            flex-direction: column;
            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);
        }

        /* Inhalt des Modals */
        .modal-body {
            padding: 48px;
            overflow-y: auto; /* Scrollbar nur hier drin */
            color: var(--text-muted);
            
            /* Custom Scrollbar */
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.1) transparent;
        }

        .modal-body::-webkit-scrollbar {
            width: 6px;
        }
        .modal-body::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.1);
            border-radius: 3px;
        }

        /* Typografie im Modal */
        .modal-body h2 {
            font-size: 2rem;
            color: #ffd27a;
            margin-top: 0;
            margin-bottom: 24px;
            border-bottom: none;
            background: linear-gradient(to right, #ffd27a, #fad281);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: block;
        }

        .modal-body h3 {
            font-size: 1.1rem;
            color: #ffd27a;
            margin-top: 32px;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .modal-body p {
            margin-bottom: 12px;
            line-height: 1.7;
            font-size: 1rem;
        }

        .modal-body hr {
            border: 0;
            height: 1px;
            background: rgba(255,255,255,0.06);
            margin: 40px 0;
        }

        .opsucht {
            background: rgba(255, 210, 122, 0.05);
            border: 1px solid rgba(255, 210, 122, 0.1);
            padding: 16px;
            border-radius: 12px;
            margin-top: 20px;
        }

        /* Responsive */
        @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; }
            .modal-panel { margin: 10px; max-height: 90vh; }
            .modal-body { padding: 24px; }
        }