/* --- 1. GRUNDEINSTELLUNGEN (VARS & RESET) --- */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --gta-green: #22c55e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; } /* Weiches Scrollen bei Klick auf Links */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 2. NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-img { height: 40px; width: auto; display: block; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-muted); position: relative; }
.nav-links a:hover { color: var(--text-main); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.mobile-only { display: none; } /* Nur auf Handy anzeigen */

.nav-right { display: flex; align-items: center; gap: 20px; }

/* Buttons */
.btn-cta {
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}
.btn-cta:hover { 
    background-color: var(--primary-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.4);
}

/* --- 3. HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.9)), url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effekt */
}

.hero-content { position: relative; z-index: 1; max-width: 800px; padding-top: 60px; }

.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(5px);
    color: var(--gta-green); padding: 6px 16px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; margin-bottom: 25px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.status-badge i { font-size: 0.6rem; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.hero-content h1 {
    font-size: 4.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; letter-spacing: -2px;
}
.hero-content h1 span {
    color: var(--primary);
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.2rem; color: var(--text-muted); max-width: 650px; margin: 0 auto 40px auto;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; }

.btn-outline {
    border: 2px solid rgba(255,255,255,0.2); color: var(--text-main);
    padding: 10px 25px; border-radius: 6px; font-weight: 700;
    backdrop-filter: blur(5px); transition: 0.3s;
}
.btn-outline:hover { border-color: var(--text-main); background: rgba(255,255,255,0.1); }

/* --- 4. FEATURES --- */
.features { padding: 100px 5%; background: var(--dark-bg); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.8rem; margin-bottom: 10px; font-weight: 800; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

.grid-3 {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.card {
    background: var(--card-bg); padding: 40px; border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.03); transition: 0.3s;
    position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-10px); border-color: rgba(99, 102, 241, 0.3); }
.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 25px; }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 700; }
.card p { color: var(--text-muted); }

/* --- 5. FRAKTIONEN --- */
.fractions { padding: 100px 5%; background: #131c2e; } 
.fraction-row { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.fraction-row:last-child { margin-bottom: 0; }
.fraction-row.reverse { flex-direction: row-reverse; }

.fraction-image {
    flex: 1; height: 400px;
    background-color: #000; /* Fallback Farbe */
    background-size: cover; background-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.fraction-content { flex: 1; }
.fraction-content h3 { font-size: 2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 15px; }
.fraction-content h3 i { color: var(--primary); }
.text-link { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.text-link:hover { gap: 15px; }

/* --- 6. TEAM --- */
.team { padding: 100px 5%; background: var(--dark-bg); }
.team-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px; text-align: center;
}
.team-card {
    background: var(--card-bg); padding: 30px; border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.03);
}
.avatar {
    width: 80px; height: 80px; background: var(--primary);
    border-radius: 50%; margin: 0 auto 20px auto;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800; color: white;
}
.role {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; margin-top: 10px;
}
.role-admin { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.role-mod { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }

/* --- 7. FOOTER --- */
footer {
    padding: 60px 5%; background: #0b1120; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; margin-bottom: 30px;
}
.footer-logo { font-size: 1.5rem; font-weight: 800; }
.footer-logo span { color: var(--primary); }
.footer-links a { margin: 0 15px; color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.socials a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border-radius: 50%; margin-left: 10px; }
.socials a:hover { background: var(--primary); }
.copyright { text-align: center; font-size: 0.85rem; color: #64748b; }

/* --- 8. MOBILE OPTIMIERUNG --- */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: white; }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    .nav-links {
        position: fixed; left: -100%; top: 70px; gap: 0;
        flex-direction: column; background: var(--card-bg); width: 100%;
        text-align: center; transition: 0.3s; border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active { left: 0; }
    .nav-links li { padding: 20px 0; width: 100%; }
    
    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-content h1 { font-size: 3rem; }
    .fraction-row, .fraction-row.reverse { flex-direction: column; }
    .fraction-image { width: 100%; height: 250px; }
    .footer-content { flex-direction: column; text-align: center; }
}