.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;
  height: 120px;

  background: #000000;

  display: flex;
  align-items: center;
  padding: 0 20px;

  overflow: visible;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, var(--header-dark));

  z-index: 0;
  pointer-events: none;
}

.header > * {
  position: relative;
  z-index: 1;
}

:root {
  --header-dark: 0;
}

/* Logo */
.logo {
  height: 300px;
  width: auto;
  margin-left: 20px;
}

/* RECHTE GRUPPE */
.header-right {
  margin-left: auto;
  margin-right: 40px;

  display: flex;
  align-items: center;
  gap: 20px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 16px;
}

/* Links */
.nav a {
  color: #ffffff;
  text-decoration: none;
}

/* Trennstrich */
.divider {
  color: #ff6a00;
}

/* Download Button */
.download-btn {
  background: #ff6a00;
  color: #000000;

  padding: 10px 20px;
  border-radius: 8px;

  font-weight: 700;
  cursor: pointer;
}

.download-btn:hover {
  background: #ff8a00;
}

/* Icon */
.icon-link {
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}

.icon-user {
  height: 30px;
  width: auto;

  color: #ffffff;
  cursor: pointer;
}



/* Dropdown Container */
.nav-dropdown {
  position: relative;
  padding: 8px 12px;
}

/* Glass Effekt über Button (oben eckig, KEINE Mindestbreite hier) */
.nav-dropdown:hover,
.nav-dropdown.active {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 0;
}

/* Button */
.nav-btn {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;

  transition: transform 0.15s ease;
}

.nav-btn:hover {
  transform: scale(1.08);
}

/* Dropdown Menü */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  width: max-content;   /* passt sich Inhalt an */
  min-width: 180px;     /* Mindestbreite (HIER richtig) */

  padding: 12px;

  display: none;
  flex-direction: column;
  gap: 10px;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 0 0 14px 14px;

  z-index: 9999;

  align-items: center;   /* <-- sorgt für horizontale Zentrierung */
}

/* Links im Dropdown */
.dropdown-menu a {
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;

  text-align: center;    /* <-- Text mittig */
  width: 100%;           /* <-- wichtig für echtes Zentrieren */

}

.dropdown-menu a:hover {
  color: #ff6a00;
}

/* Anzeigen */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  display: flex;
}