/* ======================= */
/* HEADER- UND NAVIGATION  */
/* ======================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 150px; /* Desktop-Default */
  z-index: 9999;
  background: linear-gradient(180deg, #000000 30%, #1a0f08 60%, #e9670a 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.logo {
  margin-right: 0; /* kein Negativ-Abstand */
}

.logo-img {
  max-height: 144px;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 30px; /* EINHEITLICHER Abstand zwischen allen Items */
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  transition: color 0.2s;
  line-height: 1.2;
  padding: 0; /* kein zusätzliches Padding */
}

.nav-menu a::after {
  content: "";
  display: block;
  width: 0;
  margin-top: 3px;
  height: 2px;
  background-color: #ff6b35;
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #ff6b35;
}

.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.lang-link {
  display: inline-block;
  width: 20px;
  height: 14px;
  margin-left: 10px;
  cursor: pointer;
}

.lang-icon {
  display: inline-block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.3);
  vertical-align: middle;
  position: relative;
  top: -9px;
}

/* ============================================= */
/* 📱📲💻🖥 RESPONSIVE BREAKPOINTS – 5 STUFEN BASIS */
/* ============================================= */

/* 📱 XS – Kleine Smartphones */
@media (max-width: 480px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }
  .nav-menu {
    gap: 12px;
    flex-wrap: wrap;
  }
  .nav-menu a {
    font-size: 0.85rem;
  }
  .lang-switch {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-left: 0;
  }
  .logo-img {
    max-width: 65%;
    margin: 0 auto;
  }
}

/* 📱 S – Normale Smartphones */
@media (min-width: 481px) and (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 12px;
  }
  .nav-menu {
    gap: 16px;
    flex-wrap: wrap;
  }
  .nav-menu a {
    font-size: 0.9rem;
  }
  .lang-switch {
    position: absolute;
    top: 10px;
    right: 10px;
  }
    .logo-img {
    max-width: 65%;
    margin: 0 auto;
  }
}

/* 📲 M – Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-menu {
    gap: 20px;
  }
  .nav-menu a {
    font-size: 0.95rem;
  }
}

/* 💻 L – Laptops */
@media (min-width: 1025px) and (max-width: 1440px) {
  .nav-menu {
    gap: 30px;
  }
}

/* 🖥 XL – große Desktops */
@media (min-width: 1441px) {
  .nav-menu {
    gap: 36px;
  }
}
