* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  background: url('/assets/images/hintergrund.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

.hero {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 30px;
  max-width: 800px;
  width: 90%;
  border-radius: 16px;
  text-align: center;
}


.hero h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
}

.hero button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 24px;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  margin-bottom: 30px;
  transition: background 0.3s ease;
}

.hero button:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gallery {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.photo {
  width: 200px;
  height: 150px;
  overflow: hidden;
  border-radius: 12px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 360px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 10;
  border-radius: 0;
}

.sidebar h1 {
  font-size: 38px;
  line-height: 1.2;
  color: #fff;
}

.sidebar nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  color: #ddd;
}
.nav-group {
  display: flex;
  flex-direction: column;
}

.nav-group .sub-nav {
  margin-left: 16px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-group .sub-nav a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
  padding-left: 6px;
  transition: color 0.2s ease;
}

.nav-group .sub-nav a:hover {
  color: #fff;
}

.main-content {
  margin-left: 390px;
  padding: 0;
  flex: 1;
  position: relative;
  height: 100vh;
}
.sidebar-title {
  text-align: center;
  line-height: 1.2;
}

.sidebar-title h1 {
  font-size: 28px;
  white-space: nowrap;
  color: white;
  margin: 0;
}

.sidebar-title p {
  font-size: 16px;
  color: #ccc;
  margin-top: 4px;
}

.instagram-button {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 24px;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}

.instagram-button:hover {
  background: rgba(255, 255, 255, 0.25);
}

#mobileMenuButton {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 40px;
  z-index: 9999;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 12px;
  border-radius: 5px;
  display: none; /* Standardmäßig ausgeblendet */
  cursor: pointer;
  transition: top 0.3s ease;
}
/* Standard: Overlay und Mobile-Button verstecken */
#myNav {
  display: none;
}

/* Overlay-Stil im geschlossenen Zustand */
#myNav.overlay {
  height: 100%;
  width: 0; /* wichtig: geschlossen = 0 */
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

/* Inhalt des Overlays */
#myNav .overlay-content {
  position: relative;
  top: 10%;
  width: 100%;
  margin-top: 30px;
}

.overlay a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  color: #111;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.overlay a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

#myNav a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #f1f1f1;
  display: block;
  transition: 0.3s;
}

#myNav a:hover,
#myNav a:focus {
  color: #ffcc00;
}

#myNav .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* Mobil: Overlay + Button anzeigen, Sidebar ausblenden */
@media screen and (max-width: 768px) {
  #myNav,
  #mobileMenuButton {
    display: block;
  }

  aside.sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0; /* kein Platz für Sidebar auf Mobil */
  }
}


