/* Sticky-Bar */
.sticky-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 10px 20px 5px 20px;
  flex-wrap: wrap;
  z-index: 1000;
}
.sb-logo a {
  color: var(--text-light);
  font-weight: bold;
  font-size: 1.2rem;
}

.bw-header {
  background: var(--bg-dark);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.bw-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.bw-logo img {
  height: 40px;
}

/* Flügel-Logo für Mobil ausblenden */
.wingLogo {
  display: none;
}

@media screen and (min-width: 500px) {
  .wingLogo {
    display: inline-block;
    height: 30px;
  }
}


.bw-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.bw-icon {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: all 0.3s ease;
}

.bw-nav {
  display: flex;
  flex-grow: 1;
  justify-content: center;
}

.bw-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.bw-menu li {
  position: relative;
}

.bw-menu a {
  color: var(--text-light);
  text-decoration: none;
  padding: 10px;
  display: block;
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  min-width: 250px;
  z-index: 999;
}

.bw-menu li a {
  padding: 10px 15px;
}



/* Social Icons in Sticky Bar */
.social-icons {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.social-icons a {
  margin-right: 8px;
}
.social-icons img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 768px) {
  .bw-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .bw-toggle {
    display: flex;
    margin-left: auto;
  }

  .bw-nav {
    display: none;
    width: 100%;
  }

  .bw-nav.open {
    display: block;
    width: 100%;
  }

  .bw-menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .bw-menu li {
    width: 100%;
  }

  .dropdown {
    position: static;
    background: #222;
    width: 100%;
  }

  .bw-toggle.open .bw-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .bw-toggle.open .bw-icon:nth-child(2) {
    opacity: 0;
  }

  .bw-toggle.open .bw-icon:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}