/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Oswald:wght@400;600&display=swap');

/* GRUNDLAGEN & FARBEN */
:root {
    --bg-dark: #030305;
    --text-light: #e5e7eb;
    --text-muted: #9ca3af;
    --accent-gradient: linear-gradient(135deg, #8b5cf6, #3b82f6);
    --accent-glow: rgba(139, 92, 246, 0.3);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden; /* Verhindert seitliches Wackeln auf Handys */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

h1, h2, h3, .font-heading {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* CONTAINER */
.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Seitenabstand Mobile */
}
@media (min-width: 768px) {
    .container-custom { padding: 0 3rem; }
}

/* BUTTONS */
.btn-glow {
    position: relative;
    background: var(--accent-gradient);
    color: white; padding: 1rem 2rem; font-weight: 600;
    font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
    border-radius: 4px; border: none; cursor: pointer; overflow: hidden;
    box-shadow: 0 10px 20px -10px var(--accent-glow);
    transition: all 0.3s ease; display: inline-block; text-align: center;
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 20px 30px -10px var(--accent-glow); }

.btn-ghost {
    color: white; padding: 1rem 2rem; font-weight: 600;
    font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 4px;
    transition: all 0.3s ease; backdrop-filter: blur(5px); display: inline-block; text-align: center;
}
.btn-ghost:hover { border-color: #8b5cf6; background: rgba(139, 92, 246, 0.1); }

/* Inputs */
input, textarea, select {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
    color: #fff !important; padding: 1rem; width: 100%; font-family: 'Inter', sans-serif;
    font-size: 16px; /* WICHTIG: Verhindert iOS Zoom beim Tippen */
    transition: all 0.3s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: #8b5cf6; background: rgba(139, 92, 246, 0.05) !important; }

/* TEXT EFFECTS */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block;
}

/* FEATURE BLOCK (Desktop Überlappung) */
.feature-block {
    position: relative; display: flex; flex-direction: column; gap: 2rem;
}
.img-parallax-container {
    overflow: hidden; border-radius: 12px; position: relative;
    width: 100%; aspect-ratio: 16/9;
}
.glass-card {
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem; border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Nur auf Desktop (ab 1024px) überlappen lassen */
@media (min-width: 1024px) {
    .feature-block { flex-direction: row; align-items: center; gap: 0; }
    .feature-block.reverse { flex-direction: row-reverse; }
    
    .feature-img-box { width: 60%; z-index: 1; }
    .feature-text-box { width: 50%; margin-left: -10%; z-index: 2; padding: 3rem; }
    .feature-block.reverse .feature-text-box { margin-left: 0; margin-right: -10%; }
}

/* MOBILE ANPASSUNGEN */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; line-height: 1.2 !important; }
    h2 { font-size: 2rem !important; }
    h3 { font-size: 1.5rem !important; }
    .btn-glow, .btn-ghost { width: 100%; margin-bottom: 0.5rem; }
    .glass-card { padding: 1.5rem; }
}

/* BILDER & ANIMATION */
.img-parallax { width: 100%; height: 110%; object-fit: cover; transition: transform 0.1s linear; }
.img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-dark), transparent); mix-blend-mode: multiply; z-index: 1; }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); }}
.hero-anim { opacity: 0; animation: fadeUp 1s ease-out forwards; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; } .delay-3 { animation-delay: 0.6s; }

/* Rechtstexte Style */
.legal-content h3 { color: white; margin-top: 2rem; margin-bottom: 1rem; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; }
.legal-content p, .legal-content ul { color: #9ca3af; margin-bottom: 1rem; line-height: 1.6; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; }
/* SAFE MOBILE MENU BACKGROUND */
#mobile-menu {
    background-color: #000000 !important; /* Erzwingt tiefes Schwarz */
    z-index: 40; /* Liegt unter dem Header, aber über dem Inhalt */
}
/* Damit der Header auch im offenen Zustand lesbar bleibt */
nav {
    z-index: 50;
}