:root {
    /* === GLOBAL DARK MODE === */
    --bg-dark: #0f172a;       /* Das tiefe, cineastische Blau */
    --bg-light: #1e293b;      /* Für leicht abgehobene Karten/Elemente */
    --text-dark: #f8fafc;     /* Heller Text für dunklen Grund */
    --text-muted: #94a3b8;    /* Sanftes Grau für Subtexte */
    
    --primary: #00b4d8;
    --primary-dark: #0077b6;
    --accent: rgba(0, 180, 216, 0.1);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-lg: 32px;
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

/* === TYPOGRAFIE === */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; color: var(--text-dark); margin-bottom: 0.5em; }
p { color: var(--text-muted); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--text-dark); }

/* === GLOBALER HEADER (Floating & Abgerundet) === */
header, .main-header, .navbar {
    width: 90vw;
    max-width: 1200px;
    margin: 25px auto 0; /* Abstand nach oben */
    padding: 15px 35px;
    border-radius: 100px; /* Perfekt runde Ecken wie beim Slider */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000;
}

/* Header Links */
header a, .main-header a, .navbar a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 25px;
}
header a:hover { color: var(--primary); }

/* === PREMIUM GLASSMORPHISM (Dark Mode optimiert) === */
.premium-glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
}

/* === AMBIENT BLOBS === */
.ambient-blob {
    position: fixed;
    border-radius: 50%;
    z-index: 0;
    animation: float 20s infinite alternate ease-in-out;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.blob-1 { 
    top: -15%; left: -15%; width: 60vw; height: 60vw; 
    background: radial-gradient(circle, rgba(0, 180, 216, 0.4) 0%, rgba(0, 180, 216, 0) 70%); 
    animation-delay: 0s; 
}
.blob-2 { 
    bottom: -25%; right: -15%; width: 70vw; height: 70vw; 
    background: radial-gradient(circle, rgba(0, 119, 182, 0.4) 0%, rgba(0, 119, 182, 0) 70%); 
    animation-delay: -5s; 
}

@keyframes float {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(10vw, 15vh, 0) scale(1.2); }
}

/* === GLOBALE SCROLL REVEAL ANIMATIONEN === */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease); will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translateY(0); }
.stagger-item { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease); will-change: opacity, transform; }
.stagger-item.active { opacity: 1; transform: translateY(0); }