/* ===== NAVIGATION ===== */
.mod_navigation {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Rotis Sans Serif', sans-serif;
}

/* Unsichtbare Elemente - Accessibility */
.mod_navigation .invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Haupt-Navigationsliste */
.mod_navigation .level_1 {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3rem; /* Gleicher Abstand zwischen allen Items */
  flex-wrap: wrap;
}

/* Listenelemente - natürliche Breite behalten */
.mod_navigation .level_1 li {
  position: relative;
  flex: 0 0 auto; /* Nicht wachsen, natürliche Breite behalten */
}

/* Trennlinien (|) zwischen den Items */
.mod_navigation .level_1 li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -1.5rem; /* Hälfte von gap (3rem / 2) */
  top: 50%;
  transform: translateY(-50%);
  color: #d1d5db; /* Heller Grauton für Trennlinien */
  font-size: 1.2rem;
  font-weight: 300;
  pointer-events: none;
}

/* Links und Active-Text */
.mod_navigation .level_1 a,
.mod_navigation .level_1 strong {
  display: inline-block;
  text-decoration: none;
  color: #959BA1; /* Hellgrau #959BA1 */
  font-weight: 400;
  font-size: 1.5rem; /* Größere Schrift */
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Active State (aktuell ausgewählte Seite) */
.mod_navigation .level_1 .active strong {
  color: #231F20; /* Schwarz #000000 */
  font-weight: 600;
}

/* Hover Effekt */
.mod_navigation .level_1 a:hover {
  color: #231F20; /* Schwarz #000000 bei Hover */
}

/* Focus für Accessibility */
.mod_navigation .level_1 a:focus {
  outline: 2px solid #231F20;
  outline-offset: 6px;
  color: #231F20;
  border-radius: 3px;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .mod_navigation .level_1 {
    gap: 2rem;
  }
  
  .mod_navigation .level_1 li:not(:last-child)::after {
    right: -1rem; /* Angepasst an gap */
  }
  
  .mod_navigation .level_1 a,
  .mod_navigation .level_1 strong {
    font-size: 1.3rem;
  }
}

/* Mobile (horizontal noch möglich) */
@media (max-width: 768px) {
  .mod_navigation {
    padding: 1.5rem 1rem;
  }
  
  .mod_navigation .level_1 {
    gap: 1.5rem;
    justify-content: center;
  }
  
  .mod_navigation .level_1 li:not(:last-child)::after {
    right: -0.75rem;
    font-size: 1rem;
  }
  
  .mod_navigation .level_1 a,
  .mod_navigation .level_1 strong {
    font-size: 1.1rem;
  }
}

/* Mobile (vertikal bei sehr kleinen Bildschirmen) */
@media (max-width: 640px) {
  .mod_navigation .level_1 {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Trennlinien entfernen bei vertikaler Anordnung */
  .mod_navigation .level_1 li:not(:last-child)::after {
    content: none;
  }
  
  /* Alternative Trennung mit Linie */
  .mod_navigation .level_1 li:not(:last-child) {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    text-align: center;
  }
  
  .mod_navigation .level_1 li {
    width: 100%;
  }
  
  .mod_navigation .level_1 a,
  .mod_navigation .level_1 strong {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    width: 100%;
  }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
  .mod_navigation {
    padding: 1rem 0.75rem;
  }
  
  .mod_navigation .level_1 {
    gap: 0.75rem;
  }
  
  .mod_navigation .level_1 a,
  .mod_navigation .level_1 strong {
    font-size: 1.1rem;
  }
  
  .mod_navigation .level_1 li:not(:last-child) {
    padding-bottom: 0.75rem;
  }
}

/* ===== ZUSÄTZLICHE OPTIONEN ===== */

/* Wenn .active auf einem Link statt strong ist */
.mod_navigation .level_1 .active a {
  color: #231F20;
  font-weight: 600;
  pointer-events: none;
  cursor: default;
}

/* Smooth Hover mit leichter Skalierung (optional) */
.mod_navigation .level_1 a {
  transition: all 0.3s ease;
}
.mod_navigation .level_1 a:hover {
  transform: translateY(-1px); /* Leichter Lift-Effekt */
}

/* Aktiven Zustand deutlicher machen (optional) */
.mod_navigation .level_1 .active strong {
  position: relative;
}
.mod_navigation .level_1 .active strong::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #231F20;
}



