/* ============================================
   GRILL UND PARTYSERVICE MATTHIAS REIS
   Haupt-Stylesheet mit Mobile-Optimierung
   ============================================ */

/* Vollbild ohne Scrollleisten - SCHWARZER Hintergrund */
body, html {
    margin: 0;
    padding: 0;
    background-color: #000000 !important;
    min-height: 100vh;
    height: 100%;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

/* Neon-Texte fuer die Startseite */
.neon-container {
    position: relative;
    width: 100%;
    padding-top: clamp(140px, 20vw, 300px);
    z-index: 10;
}

.neon-text {
    font-size: clamp(3rem, 6vw, 6rem);
    color: #fff;
    text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    animation: glow 1.5s infinite alternate;
    margin: 0;
    padding: 0;
}

/* Leucht-Animation fuer Neon-Text */
@keyframes glow {
    0% { 
        text-shadow: 0 0 5px #880000, 0 0 10px #880000, 0 0 20px #880000, 0 0 40px #880000, 0 0 80px #880000; 
    }
    100% { 
        text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 40px #ff0000, 0 0 80px #ff0000, 0 0 160px #ff0000; 
    }
}

/* Top-Bar mit Logo */
#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(80px, 10vw, 150px);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    box-shadow: 2px 4px 8px rgba(255, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 20;
    box-sizing: border-box;
}

#top-bar-banner {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

/* Side-Bar / Menue - Desktop Version */
#side-bar {
    position: fixed;
    top: clamp(80px, 10vw, 150px);
    left: clamp(10px, 20vw, 300px);
    width: clamp(50%, 60vw, 60%);
    background: rgba(255, 255, 255, 0.05);
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(8px, 1vw, 12px);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    box-shadow: 2px 4px 8px rgba(255, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#glass-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Menue-Links Styling */
.menu-link {
    color: white;
    text-decoration: none;
    font-size: clamp(14px, 1.5vw, 24px);
    padding: 0 clamp(8px, 1.2vw, 20px);
    text-shadow: 2px 2px 0px black;
    transition: color 0.3s;
    white-space: nowrap;
}

.menu-link:hover { 
    color: red; 
}

/* Hamburger Menue Button - auf Desktop versteckt */
#menu-toggle {
    position: fixed;
    top: clamp(85px, 11vw, 160px);
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 2px 4px 8px rgba(255, 0, 0, 0.5);
    z-index: 30;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px;
}

#menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#menu-toggle:hover span {
    background: red;
}

/* Glascontainer fuer 'Ueber Uns' Seite */
#centered-glass-container {
    position: relative;
    z-index: 15;
    width: clamp(50%, 60vw, 60%);
    left: clamp(10px, 20vw, 300px);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: clamp(15px, 2vw, 20px);
    box-shadow: 2px 4px 8px rgba(255, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(150px, 18vw, 300px);
    box-sizing: border-box;
}

#welcome-text {
    color: white;
    font-size: clamp(16px, 1.8vw, 26px);
    text-align: center;
    text-shadow: 2px 4px 4px red;
    line-height: 1.5;
}

/* ============================================
   MOBILE OPTIMIERUNGEN
   Ab hier beginnen die responsiven Anpassungen
   ============================================ */

/* Tablets und kleinere Bildschirme - ab 900px wird Hamburger-Menue aktiviert */
@media screen and (max-width: 900px) {
    
    /* Hamburger Menue Button anzeigen */
    #menu-toggle {
        display: flex;
    }
    
    /* Desktop Navigation ausblenden und fuer Mobile vorbereiten */
    #side-bar {
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        transform: translateY(-200%);
        transition: transform 0.3s ease;
        border-radius: 0 0 18px 18px;
    }
    
    /* Navigation sichtbar machen wenn Hamburger-Menue geoeffnet */
    #side-bar.active {
        transform: translateY(0);
    }
    
    /* Menue-Links untereinander anordnen */
    #glass-box {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }
    
    .menu-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-link:last-child {
        border-bottom: none;
    }
    
    /* Neon Text mehr Platz nach unten geben */
    .neon-container {
        padding-top: clamp(110px, 16vw, 180px);
    }
    
    /* Zentrierter Glas-Container breiter machen */
    #centered-glass-container {
        width: 90%;
        left: 5%;
        margin-top: clamp(120px, 15vw, 200px);
    }
}

/* Smartphones - bis 480px Bildschirmbreite */
@media screen and (max-width: 480px) {
    
    /* Top-Bar kompakter gestalten */
    #top-bar {
        height: clamp(60px, 12vw, 100px);
    }
    
    #top-bar-banner {
        max-width: 75%;
    }
    
    /* Menue Button kleiner machen */
    #menu-toggle {
        top: clamp(65px, 13vw, 110px);
        right: 10px;
        width: 32px;
        height: 32px;
        gap: 3px;
        padding: 6px;
    }
    
    #menu-toggle span {
        width: 16px;
        height: 2px;
    }
    
    /* Neon-Text kleiner skalieren */
    .neon-text {
        font-size: clamp(2rem, 8vw, 4rem);
    }
    
    .neon-container {
        padding-top: clamp(100px, 18vw, 150px);
    }
    
    /* Navigation anpassen */
    #side-bar {
        top: 60px;
    }
    
    .menu-link {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    /* Zentrierter Glas-Container */
    #centered-glass-container {
        width: 95%;
        left: 2.5%;
        margin-top: clamp(100px, 18vw, 180px);
        padding: 15px 10px;
    }
    
    #welcome-text {
        font-size: clamp(14px, 3.5vw, 18px);
    }
}

/* Sehr kleine Smartphones - bis 360px Bildschirmbreite */
@media screen and (max-width: 360px) {
    
    /* Neon-Text noch kleiner */
    .neon-text {
        font-size: clamp(1.5rem, 10vw, 3rem);
    }
    
    /* Maximale Breite fuer Glas-Container */
    #centered-glass-container {
        width: 98%;
        left: 1%;
    }
}

/* Mobile Querformat (Landscape) - Anpassungen */
@media screen and (max-height: 500px) and (orientation: landscape) {
    
    /* Top-Bar kompakter im Querformat */
    #top-bar {
        height: clamp(50px, 8vh, 80px);
    }
    
    #top-bar-banner {
        max-width: 50%;
    }
    
    /* Hamburger Button anpassen */
    #menu-toggle {
        top: clamp(55px, 9vh, 90px);
        width: 30px;
        height: 30px;
    }
    
    /* Neon-Text weniger Abstand */
    .neon-container {
        padding-top: clamp(60px, 10vh, 100px);
    }
    
    .neon-text {
        font-size: clamp(1.5rem, 6vh, 3rem);
    }
    
    /* Navigation im Querformat */
    #side-bar {
        top: 50px;
    }
    
    .menu-link {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Hamburger Menue Animation beim Oeffnen (X-Form) */
#menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
