/* 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 + CURRENCY SWITCHER
============================= */

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

.language-switcher__row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.currency-switcher {
    margin: 0;
}

.currency-switcher__label {
    margin: 0;
}

.currency-switcher select {
    appearance: auto;
    min-width: 4.75rem;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.35);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.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;
}
