/* --- NAVIGATION VARIABLEN --- */
:root {
    --oag-blue: #1d71b8;
    --oag-blue-dark: #0a2d4a;
    --oag-cyan: #00f2ff;
    --dark-bg: #050a0f;
}

/* --- NAVIGATION TRIGGER (PILLE) --- */
.nav-wrapper {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 5000;
}

.menu-trigger-pille {
    background: rgba(10, 45, 74, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--oag-cyan);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.menu-trigger-pille:hover {
    transform: scale(1.05);
}

/* Hamburger Icon */
.hamburger { display: flex; flex-direction: column; gap: 4px; }
.line { width: 22px; height: 3px; background: var(--oag-cyan); transition: 0.4s; }

/* Hamburger Animation bei Klasse .open */
.open .line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.open .line:nth-child(2) { opacity: 0; }
.open .line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.oag-label { 
    font-weight: 900; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
    color: #fff; 
}

/* --- MEGA OVERLAY (Das Menü) --- */
.nav-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark-bg);
    z-index: 4000;
    display: flex;
    align-items: center;
    /* Startet als unsichtbarer Punkt oben links bei der Pille */
    clip-path: circle(0% at 80px 50px);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-overlay.active { 
    clip-path: circle(150% at 80px 50px); 
}

.nav-bg-matrix {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--oag-blue-dark) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.nav-container {
    width: min(1600px, 100%);
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s 0.4s;
    z-index: 5;
}

.nav-overlay.active .nav-container { 
    opacity: 1; 
    transform: translateY(0); 
}

/* Links & Typography */
.main-links a {
    display: block; font-size: clamp(3rem, 6vw, 6rem); font-weight: 900;
    color: #fff; text-decoration: none; line-height: 1.1; margin-bottom: 20px;
    text-transform: uppercase; transition: 0.4s;
}

.main-links a:hover { color: var(--oag-cyan); padding-left: 30px; }

.sub-links h4 {
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 3px;
    color: var(--oag-cyan); margin-bottom: 30px; border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.sub-links ul { list-style: none; }
.sub-links li { margin-bottom: 15px; }
.sub-links a { text-decoration: none; color: #fff; font-size: 1.3rem; font-weight: 700; text-transform: uppercase; transition: 0.3s; }
.sub-links a:hover { color: var(--oag-cyan); }

/* Responsive */
@media (max-width: 1024px) {
    .nav-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .main-links a { font-size: clamp(2.5rem, 8vw, 4rem); }
}
