body {
  margin: 0;
  font-family: Arial, sans-serif;
}

nav {
  background-color: white;
  position: relative;
  z-index: 1000; /* Damit es über Carousel & Overlays liegt */
}

.menu {
	position: relative; /* wichtig für z-index */
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.menu-left,
.menu-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu a {
  color: black;
  text-decoration: none;
  font-size: 24px;
  padding: 24px 25px;
  display: block;
  transition: color 0.3s, background-color 0.3s;
}

.menu a:hover {
  color: #00C6A7;
  background-color: transparent;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  top: 100%;
  left: 0;
  z-index: 1;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-content a {
  color: black;
}

.dropdown-content a:hover {
  color: turquoise;
}

.dropdown-content {
  display: none;
  flex-direction: column;
}

.dropdown.active .dropdown-content {
  display: flex;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  background: black;
  margin: 4px 0;
  width: 25px;
}

@media (max-width: 768px) {
  .menu-left,
  .menu-right {
    flex-direction: column;
    width: 100%;
    display: none;
  }
  

  .menu-left.active,
  .menu-right.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
  }

  .dropdown.active .dropdown-content {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
  }

  .dropdown.active .dropdown-content {
    display: flex;
  }
}
.dropdown .arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown.active .arrow {
  transform: rotate(180deg);
}

