:root {
    --bg: #050505;
    --accent: #ffffff;
    --gray: #1a1a1a;
    --glass: rgba(255, 255, 255, 0.05);
}

/* Reset & Basis */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed; 
    top: 0; 
    width: 100%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 15px 5%; 
    z-index: 2000; /* Erhöht damit sie über allem liegt */
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 5, 5, 0.8);
}

.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: 2px; }.logo { 
    font-weight: 900; 
    font-size: 1.6rem; 
    letter-spacing: 1px;
    z-index: 2001; 
}
.logo span { color: #555; }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: white; font-size: 0.8rem; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: #888; }

.btn-nav {
    background: white; color: black; padding: 10px 20px;
    border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 0.8rem;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: #111;
    padding: 15px; display: none; list-style: none; min-width: 180px;
    border-radius: 8px; border: 1px solid var(--glass);
}
.dropdown:hover .dropdown-menu { display: block; }

/* Burger Menu */
.burger { 
    display: none; 
    flex-direction: column; 
    gap: 6px; 
    cursor: pointer; 
    z-index: 2001;
    padding: 10px;
}
.burger span { 
    width: 30px; 
    height: 2px; 
    background: white; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border-radius: 2px;
}

/* Burger Animation wenn aktiv */
#navWrapper.active ~ .burger span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
#navWrapper.active ~ .burger span:nth-child(2) { opacity: 0; }
#navWrapper.active ~ .burger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero */
.hero {
    height: 100vh; display: flex; flex-direction: column; 
    justify-content: center; align-items: center;
    background: radial-gradient(circle at center, #111 0%, #050505 100%);
}
.reveal-text { font-size: clamp(3rem, 10vw, 8rem); font-weight: 900; text-align: center; line-height: 1; }
.hero-subtext { color: #888; margin-top: 20px; letter-spacing: 2px; text-transform: uppercase; font-size: 0.9rem; }

/* Galerie - Automatisches Karussell (Kein Pinning!) */
.gallery-section { 
    width: 100%; 
    overflow: hidden; 
    background: #050505; 
    padding: 80px 0; 
}
.section-title { padding-left: 5%; margin-bottom: 40px; font-size: 2rem; font-weight: 900; text-transform: uppercase; }

.horizontal-gallery { 
    display: flex; 
    overflow: hidden; 
}

.gallery-wrapper { 
    display: flex; 
    flex-wrap: nowrap; 
    gap: 20px; 
    will-change: transform; 
}

.item { 
    flex-shrink: 0; 
    width: 400px; 
    height: 550px; 
    border-radius: 15px; 
    overflow: hidden; 
    background: #111; 
}

.item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.5s ease; 
    filter: grayscale(30%); 
}

.item:hover img { 
    filter: grayscale(0%); 
    transform: scale(1.05); 
}

/* Kontaktformular */
.contact-section { padding: 100px 5%; background: #0a0a0a; border-top: 1px solid #111; }
.container { max-width: 1200px; margin: 0 auto; }

.contact-form {
    max-width: 800px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 20px;
}
.input-row { display: flex; gap: 20px; }

.contact-form input, .contact-form textarea {
    width: 100%; background: #111; border: 1px solid #333;
    padding: 18px; color: white; border-radius: 8px; font-family: inherit;
    transition: 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: white; outline: none; background: #151515;
}

.btn-submit {
    background: white; color: black; padding: 18px; 
    border: none; border-radius: 8px; font-weight: bold; cursor: pointer;
    transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-submit:hover { background: #ccc; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }

/* Footer */
.footer {
    background: #000; padding: 80px 5% 40px;
    border-top: 1px solid var(--glass);
}
.footer-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; margin-bottom: 50px;
}
.footer-logo { font-size: 1.5rem; font-weight: 900; }
.footer-logo span { color: #555; }
.footer-logo p { font-size: 0.8rem; color: #666; margin-top: 5px; }

.footer h4 { margin-bottom: 20px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; color: white; }
.footer p, .footer li { color: #888; font-size: 0.9rem; line-height: 1.8; list-style: none; }
.footer a { color: #888; text-decoration: none; transition: 0.3s; }
.footer a:hover { color: white; }

.footer-bottom {
    text-align: center; border-top: 1px solid #111;
    padding-top: 30px; color: #444; font-size: 0.75rem; letter-spacing: 1px;
}

/* Floating Contact & Chat */
.floating-contact { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 12px; z-index: 999; }

.wa-float, .ai-float { 
    padding: 14px 28px; border-radius: 50px; cursor: pointer; 
    font-weight: bold; text-decoration: none; font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: 0.3s;
    text-align: center;
}
.wa-float { background: #25D366; color: white; }
.ai-float { background: white; color: black; }
.wa-float:hover, .ai-float:hover { transform: translateY(-5px); }

/* KI Chat Popup */
.chat-popup {
    position: fixed; bottom: 110px; right: 30px; width: 350px; 
    background: #111; border: 1px solid #333; border-radius: 20px; 
    display: none; flex-direction: column; z-index: 1001;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    overflow: hidden;
}
.chat-popup.active { display: flex; animation: chatFade 0.4s ease; }

@keyframes chatFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.chat-header { background: #fff; color: #000; padding: 15px 20px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.chat-body { height: 350px; padding: 20px; overflow-y: auto; font-size: 0.9rem; line-height: 1.5; background: #050505; }
.chat-footer { padding: 15px; display: flex; border-top: 1px solid #222; background: #111; gap: 10px; }
.chat-footer input { flex: 1; background: #222; border: 1px solid #333; color: white; padding: 10px; border-radius: 8px; }
.chat-footer button { background: white; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; font-weight: bold; }

/* Cookie Banner */
.cookie-overlay { position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 9999; display: none; }
.cookie-box { background: #111; border: 1px solid #333; padding: 25px; border-radius: 15px; max-width: 450px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); }
.cookie-box h3 { margin-bottom: 10px; }
.cookie-box p { color: #888; font-size: 0.9rem; margin-bottom: 20px; }
.cookie-buttons { display: flex; gap: 10px; }
.btn-accept { background: white; color: black; border: none; padding: 12px 20px; cursor: pointer; border-radius: 8px; font-weight: bold; flex: 1; }
.btn-refuse { background: #222; color: white; border: none; padding: 12px 20px; cursor: pointer; border-radius: 8px; flex: 1; }

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .burger { display: flex; }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease-in-out;
        clip-path: circle(0% at 90% 5%); /* Innovativer Reveal-Effekt */
        pointer-events: none;
    }

    .nav-wrapper.active {
        clip-path: circle(150% at 90% 5%);
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .btn-nav {
        margin-top: 40px;
        padding: 15px 40px;
        font-size: 1rem;
    }
    
    .input-row { flex-direction: column; }
    .item { width: 300px; height: 400px; }
    .chat-popup { width: calc(100% - 40px); right: 20px; left: 20px; }
    .floating-contact { right: 20px; bottom: 20px; }
}