/* ============================================
   MAIN.CSS - GLOBALE STYLES FÜR ALLE SEITEN
   ============================================ */

/* Variablen - Einmal definiert, überall verfügbar */
:root {
    --bg: #0d0b1a;
    --bg2: #12102a;
    --card: #1a1730;
    --card2: #201d3a;
    --accent: #6c3fc5;
    --accent2: #8b5cf6;
    --cyan: #38bdf8;
    --text: #e2e0f0;
    --muted: #9490b5;
    --border: #2d2850;
    --radius: 16px;
    --radius-sm: 8px;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    background-color: var(--bg); 
    color: var(--text); 
    font-family: 'Nunito', sans-serif; 
    line-height: 1.7; 
    min-height: 100vh; 
}

/* ============================================
   NAVIGATION (für ALLE Seiten gleich)
   ============================================ */

nav {
    position: sticky; 
    top: 0; 
    z-index: 100;
    background: rgba(13,11,26,0.92); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 60px;
}

.nav-logo { 
    font-family: 'Rajdhani', sans-serif; 
    font-size: 1.4rem; 
    font-weight: 700; 
    color: var(--text); 
    text-decoration: none; 
    letter-spacing: 1px; 
}

.nav-logo span { 
    color: var(--accent2); 
}

.nav-links { 
    display: flex; 
    gap: 1.5rem; 
    list-style: none; 
}

.nav-links a { 
    color: var(--muted); 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: 600; 
    transition: color 0.2s; 
}

.nav-links a:hover, 
.nav-links a.active { 
    color: var(--text); 
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13,11,26,.98);
    backdrop-filter: blur(20px);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color .2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--accent2);
}

@media(max-width:650px) {
    .nav-links {
        display: none!important;
    }
    .hamburger {
        display: flex;
    }
}

/* ============================================
   PAGE HEADER (für ALLE Seiten gleich)
   ============================================ */

.page-header { 
    text-align: center; 
    padding: 4rem 2rem 2rem; 
    background: radial-gradient(ellipse at 50% 0%, rgba(108,63,197,0.15) 0%, transparent 70%); 
}

.page-header h1 { 
    font-family: 'Rajdhani', sans-serif; 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 700; 
    letter-spacing: 2px; 
    margin-bottom: 0.5rem; 
}

.page-header h1 span { 
    color: var(--accent2); 
}

.page-header p { 
    color: var(--muted); 
    font-size: 1rem; 
    max-width: 500px; 
    margin: 0 auto; 
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

main { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 2rem 1.5rem 4rem; 
}

/* ============================================
   FOOTER (für ALLE Seiten gleich)
   ============================================ */

footer { 
    text-align: center; 
    padding: 2rem; 
    border-top: 1px solid var(--border); 
    color: var(--muted); 
    font-size: 0.85rem; 
}

footer a { 
    color: var(--muted); 
    text-decoration: none; 
}

footer a:hover { 
    color: var(--text); 
}

/* ============================================
   HILFSKLASSEN
   ============================================ */

.section-label { 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    color: var(--accent2); 
    margin-bottom: 0.75rem; 
}

.team-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 1.5rem;
    margin-bottom: 3rem;
}