.navbar {
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 20px;
  align-items: center; /* wichtig: alles sauber vertikal */
  padding: 12px;
  background: #000000;
  border-bottom: 1px solid #999;
  z-index: 100;
   justify-content: space-between;
}

.navbar-logo a {
  text-decoration: none;
  color: rgb(236, 221, 236);
}

.navbar-user {
  margin-left: auto;
}

.navbar-logo h1 {
  margin: 0;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  
}

.navbar-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.navbar-links a {
  color: rgb(236, 221, 236);
  text-decoration: none;
  font-size: 18px;
  padding: 2px 6px;
  border: 1px solid transparent;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif

}

.navbar-links a:hover {
  border-color: rgb(236, 221, 236);
}


.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
 
}

/* Mobile */
@media (max-width: 600px) {
  .navbar-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    margin-left: auto;
  }

  .bar {
  width: 25px;
  height: 4px;
  background: rgb(236, 221, 236);
  transition: all 0.3s ease;
  border-radius: 2px;
}

  .navbar-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    width: 100%;
    background: #000;
    position: absolute;
    top: 52px;
    left: 0;
    padding: 10px;
    gap: 1px;
    

  }

  .navbar-links a {
  margin-left:auto;

}

  .navbar-links.active {
    display: flex;
  
  }
}

.bar {
  width: 25px;
  height: 4px;
  background: rgb(236, 221, 236);
}

.navbar-hamburger.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
.navbar-hamburger.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-user {
  font-size: 14px;
  color: rgb(236, 221, 236);
  margin-right: 10px;
}


