@media screen and (max-width: 768px) {
  .ww_menu_list {
    background-color: #1e3a8a !important; /* Dunkelblau */
  }
}

header {
  background: rgba(16,32,64,0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px rgba(0,0,0,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.3rem 2rem;
  /* Optional: leichte Rundung */
  border-radius: 0 0 18px 18px;
}

.main-menu a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.13rem;
  transition:
    color 0.22s,
    background 0.22s,
    box-shadow 0.36s,
    transform 0.21s;
  padding: 8px 18px;
  border-radius: 9px;
  position: relative;
  box-shadow: 0 0 0 rgba(59,1306,0.0);
}

.main-menu a:hover,
.main-menu a:focus {
  background: rgba(59,130,246,0.85);
  color: #fff;
  box-shadow:
    0 0 18px 5px #3B82F6,
    0 2px 20px 6px rgba(59,130,246,0.22);
  transform: translateY(-2px) scale(1.05);
  outline: none;
  text-shadow: 0 2px 12px #fff8, 0 1px 1px #3B82F6;
}

/* Optional: aktives Menü markieren */
.main-menu a.active,
.main-menu a[aria-current="page"] {
  background: #3B82F6;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 18px 0 rgba(59,130,246,0.23);
}

@media (max-width: 900px) {
  .main-menu {
    gap: 1.2rem;
    padding: 1rem 1rem;
    font-size: 1rem;
  }
  .main-menu a {
    font-size: 1rem;
    padding: 8px 13px;
  }
}

@media (max-width: 600px) {
  .main-menu {
    gap: 0.6rem;
    padding: 0.8rem 0.4rem;
  }
  .main-menu a {
    font-size: 0.98rem;
    padding: 7px 8px;
  }
}

@media (max-width: 500px) {
  .main-menu {
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .main-menu a {
    font-size: 0.92rem;
    padding: 6px 5px;
  }
}

.ww_menu_list .ww_menu_item_link:hover,
.ww_menu_list .ww_menu_item_link:focus,
.ww_submenu_auto .ww_menu_item_link:hover,
.ww_submenu_auto .ww_menu_item_link:focus {
  background: linear-gradient(90deg, #3B82F6 60%, #60a5fa 100%);
  color: #fff !important;
  box-shadow: 0 0 18px 2px #3B82F6, 0 0 6px #60a5fa;
  transform: scale(1.08);
  border-radius: 8px;
  border: 2px solid #60a5fa;
  transition:
    background 0.25s cubic-bezier(0.4, 0.2, 0.2, 1),
    color 0.15s,
    box-shadow 0.25s,
    transform 0.2s;
  z-index: 2;
}

.ww_menu_list .ww_menu_item_link,
.ww_submenu_auto .ww_menu_item_link {
  transition:
    background 0.25s cubic-bezier(0.4, 0.2, 0.2, 1),
    color 0.15s,
    box-shadow 0.25s,
    transform 0.2s;
}

/* Elfsight Language Mode soll immer rechts oben bleiben */
.elfsight-app-c3174671-f457-43dd-a85c-f49ed90e91dc {
  position: fixed !important;
  top: 20px;
  right: 20px;
  z-index: 9999 !important;
}

/* LOGO */
.logo img {
    width: 70px; /* oder eine andere gewünschte Breite */
    height: auto; /* behält das Seitenverhältnis bei */
    margin-top: 10px;
    margin-right: 30px;
    margin-left: 0;
    padding-left: 0;
}

@media (max-width: 600px) {
    .logo img {
        display: none;
        width: 40px;
        margin-right: 2px;
    }
}