/* Navigation*/
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Nur Root-Level als Flex */
.nav-root {
  display: flex;
  gap: var(--space-lg);
}

/* Submenu Grundstruktur */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 1000;
}

/* Dropdown sichtbar bei Hover */
.nav-item:hover > .submenu {
  display: block;
}


.nav-item {
  position: relative;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}


/* =============================
   LANGUAGE SWITCHER
============================= */

.language-switcher {
    display: flex;
    align-items: center;
}

.lang-list {
    display: flex;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-list a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 1;
    display: flex;
    align-items: center;
    line-height: 1;
}

.lang-list a.active-lang {
    font-weight: 600;
}

/* Flaggen-Icons: feste Größe, 1px grauer Rand für Kontrast auf dunklem Menü */
.lang-list img {
    display: block;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid #9ca3af;
    border-radius: 2px;
}
