/* Navbar Grund-Container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 10px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #007bff; /* Passend zum Blau der Buttons */
}

/* Logo Bereich */
.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  display: block;
  object-fit: contain;
  /* Falls das Logo bei 98px zu groß wirkt, kannst du hier max-height nutzen: */
  max-height: 70px;
  width: auto;
}

/* Navigations-Links */
.navbar-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.navbar-links li {
  margin: 0;
}

.navbar-links a {
  text-decoration: none;
  color: #495057;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover-Effekt */
.navbar-links a:hover {
  color: #007bff;
  background-color: #f0f7ff;
}

/* Aktiver Link (Angular RouterLinkActive Style) */
/* Falls du [routerLinkActive]="'active'" im HTML nutzt: */
.navbar-links a.active {
  color: #007bff;
  background-color: #e7f1ff;
}

/* Kleiner Indikator-Strich unter dem Text beim Hover */
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-links a:hover::after {
  width: 60%;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  .navbar-links {
    gap: 10px;
  }

  .navbar-logo img {
    max-height: 50px;
  }
}
