/* --- BASIS & VARIABLEN --- */
:root {
    --primary: #FFD700;
    --secondary: #1A1A1D;
    --dark: #0F0F12;
    --white: #F4F4F4;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --sig-radius: 25px 0 25px 0;
}

*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box !important;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER & MEGA MENU --- */
header {
    position: fixed; top: 0; width: 100%; height: 80px;
    background: rgba(15, 15, 18, 0.95); backdrop-filter: blur(15px);
    z-index: 2000; border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

nav { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo { font-weight: 900; font-size: 1.4rem; text-decoration: none; color: var(--white); z-index: 2001; }
.logo span { color: var(--primary); }

.nav-menu { display: flex; list-style: none; height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link { padding: 0 25px; color: var(--white); text-decoration: none; font-weight: 600; height: 100%; display: flex; align-items: center; transition: var(--transition); }

/* Mega Menu Blur-Fade-In */
.mega-menu {
    position: absolute; top: 80px; left: 0; width: 100%;
    background: rgba(26, 26, 29, 0.98); backdrop-filter: blur(20px);
    visibility: hidden; opacity: 0; filter: blur(15px);
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.5s var(--transition), filter 0.5s ease, visibility 0.4s;
    padding: 60px 0; border-bottom: 3px solid var(--primary); box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.nav-item:hover .mega-menu { visibility: visible; opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }

.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mega-item { text-align: center; text-decoration: none; color: var(--white); }
.mega-item img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--sig-radius); margin-bottom: 10px; border: 1px solid rgba(255,215,0,0.2); }

/* --- HERO VIDEO SEKTION --- */
.hero { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
#hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; z-index: -1; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,15,18,0.4), var(--dark)); z-index: 0; }
.hero-content { position: relative; z-index: 1; }

.btn { padding: 16px 35px; border-radius: var(--sig-radius); font-weight: 800; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-block; border: none; transition: var(--transition); }
.btn-primary { background: var(--primary); color: var(--secondary); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255,215,0,0.4); }

/* --- SEKTIONEN & SLIDER --- */
section { padding: 100px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; text-align: center; font-weight: 900; }
.highlight { color: var(--primary); }

/* Logo Slider */
.slider { width: 100%; overflow: hidden; background: var(--bg-dark); padding: 40px 0; }
.slide-track { display: flex; width: calc(250px * 14); animation: scroll 30s linear infinite; }
.slide { width: 250px; display: flex; align-items: center; justify-content: center; font-weight: 800; opacity: 0.5; font-size: 1.5rem; color: var(--white); }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-250px * 7)); } }

/* Kontakt & Map */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-group { margin-bottom: 20px; }
input, textarea { width: 100%; padding: 15px; background: #252529; border: 1px solid #333; color: white; border-radius: 5px 0 5px 0; }
.map-full { width: 100%; height: 150px; filter: grayscale(1) invert(1); border: none; margin-top: 50px; }

/* Footer */
footer { background: #0a0a0c; padding: 80px 0 30px; border-top: 1px solid #222; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.newsletter input { width: auto; margin-right: 10px; }

/* Back to Top */
#backToTop { position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: var(--secondary); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; z-index: 1000; font-weight: bold; }

/* Mobile Optimierung */
@media (max-width: 992px) {
    .nav-menu, .mega-menu { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
}