.glass-container {
  /* Glass Layer */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(10, 14, 20, 0.55) 100%
  );
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  /* Border + Glow */
  border: 1px solid rgba(0, 245, 181, 0.25);
  box-shadow:
    0 4px 25px rgba(0, 0, 0, 0.25),
    inset 0 0 20px rgba(0, 232, 255, 0.05);

  border-radius: 60px;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass-container:hover {
  border-color: rgba(0, 232, 255, 0.35);
  box-shadow:
    0 6px 30px rgba(0, 0, 0, 0.3),
    inset 0 0 30px rgba(0, 232, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(10, 14, 20, 0.65) 100%
  );
}

/* === Floating, centered, glassy header === */
.header {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  z-index: 20;
}

/* === Inner container with enhanced glass effect === */
.header-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1rem 3rem;
}

/* === Logo === */
.logo img {
  height: 38px;
  transition: height 0.3s ease;
}

/* === Navigation === */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--hyper-cyan);
}

/* === CTA Button === */
.nav .cta, .footer .cta {
  background: linear-gradient(90deg, var(--neon-mint), var(--hyper-cyan));
  color: #000;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav .cta:hover, .footer .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 232, 255, 0.4);
  color: #000;
}

/* === Language switcher dropdown styles === */
.language-switcher {
  position: relative;
  display: inline-block;
}
.language-current {
  background: transparent;
  border: none;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.language-menu {
  position: absolute;
  right: 0;
  top: 140%;
  background: var(--bg-dark, #0a0e14);
  padding: 0.4rem;
  border-radius: 8px;
  min-width: 4rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display: none; /* toggled by JS */
  z-index: 30;
}
.language-menu li { list-style: none; }
.language-menu a { display: block; padding: 0.4rem 0.6rem; color: inherit; text-decoration: none; }
.language-menu a:hover { background: rgba(255,255,255,0.02); color: var(--hyper-cyan); border-radius: 6px; }


#menu-toggle-container {
  position: fixed;
  z-index: 30;
  top: 0.25rem;
  left: 0.25rem;
  padding: 0.5rem;
}

#menu-toggle {
  color: var(--text);
  background: 0;
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  margin: 0;
  cursor: pointer;
  transition: 250ms scale ease, 250ms rotate ease;
}

html.sidebar-open #menu-toggle {
    rotate: 180deg;
}

#sidebar {
  translate: -100%;
  position: fixed;
  flex: 0;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 20;
  width: 320px;
  background: radial-gradient(circle at 20% 20%, rgba(0, 232, 255, 0.06), transparent 70% 70%), radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.04), transparent 70%), #0A0E14;
  border-right: solid 1px gray;
  border-radius: 0;
  padding: 1rem;
  padding-top: 4rem;
  margin: 0;
  overflow: auto;
  scrollbar-width: thin;
  transition: 250ms translate ease-in-out;
}

html.sidebar-open #sidebar {
  translate: 0;
}

/* === Responsive Sidebar and Menu Behavior === */
@media (min-width: 1024px) {
  #menu-toggle-container {
    display: none;
  }
  #sidebar {
    translate: -100%;
  }
}
@media (max-width: 1023px) {
  .nav {
    display: none;
  }
  .header {
    position: absolute;
    top: 1rem;
  }
  .header .glass-container {
    all: unset;
  }
}

#sidebar nav ul {
  list-style: none;           /* Bullet Points entfernen */
  margin: 0;
  padding: 0;
}

#sidebar nav ul li {
  margin: 0;                  /* Grundabstand resetten */
}

#sidebar nav ul li a {
  display: block;             /* Macht den ganzen Bereich klickbar */
  padding: 14px 20px;         /* Fingerfreundlicher Abstand */
  font-size: 18px;            /* Größerer Text für mobile UX */
  text-decoration: none;
  color: inherit;             /* oder deine Wunschfarbe */
}

#sidebar nav ul li + li a {
  margin-top: 4px;            /* leichter Abstand zwischen Einträgen */
}

#sidebar-language-link .active {
  color: var(--hyper-cyan);
}
