/* Mobile-Menü Styling */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
    z-index: 900; /* Unter dem Menü, aber über dem Content */
  }

  .hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
  }
}

/* Mobile Navigation - Hauptcontainer */
.mobileNav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #0D1733; /* Dunkelblau passend zum Design */
  z-index: 1500; /* Höher als das Overlay */
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 5px 0 15px rgba(0,0,0,0.3);
  padding: 0;
}

/* Menü beim Einblenden */
.mobileNav.show {
  left: 0;
}

/* Close Button - absolut positioniert */
.closeNav-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 2;
}

/* Haupt-Content-Container */
.navContent {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-top: 20px; /* Platz für den X-Button */
}

/* Navigation Links Container - am Anfang */
.mobileNav .navLinks {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  padding-top: 30px; /* Extra-Abstand von oben */
}

/* Einzelne Navigation Links */
.mobileNav .navLinks a {
  display: block;
  padding: 12px 0;
  margin: 0;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  transition: all 0.2s ease;
  font-weight: normal;
}

/* Der letzte Link ohne Rahmen */
.mobileNav .navLinks a:last-child {
  border-bottom: none;
}

/* Hover-Effekt */
.mobileNav .navLinks a:hover,
.mobileNav .navLinks a:active {
  background-color: rgba(255, 255, 255, 0.08);
  padding-left: 5px;
}

/* Telefon-Button im Menü */
.mobileNav .navButton {
  padding: 20px;
  text-align: center;
  margin-top: 30px;
}

/* Logo-Container - ganz unten */
.navLogo-container {
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

/* Overlay hinter dem Menü */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

/* Overlay für das Video */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Volle Bildschirmhöhe */
  background-color: rgba(0, 0, 0, 0.4); /* Leicht durchsichtig */
  z-index: 1; /* Über dem Video, aber unter den anderen Elementen */
}
