main.layout {
  flex: 1;
}

/* ===============================
   DESKTOP HEADER – FINAL & CLEAN
   =============================== */

.site-header {
  background: #0a2540;
  color: #ffffff;
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 72px; /* ← NICHT min-height */
  padding: 0 20px;
  overflow: hidden; /* ← jetzt erlaubt */
}

/* Logo-Link */
.site-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 1px;
}

/* SVG / IMG */
.site-logo {
  display: block;
  height: 48px;
  width: auto;
}

/* ===============================
   DESKTOP NAVIGATION
   =============================== */

.site-menu {
  background: #153e75;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;

  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-menu a:hover,
.site-menu a.active {
  border-bottom-color: #ffffff;
}

/* ===============================
   DESKTOP LANGUAGE SWITCH
   =============================== */

.lang-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch-wrapper img {
  width: 22px;
  height: 14px;
  border-radius: 3px;
  opacity: 0.7;
}

.lang-switch-wrapper a.active img {
  opacity: 1;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* ===============================
   DESKTOP DROPDOWN (MEHR)
   =============================== */

.nav-more {
  position: relative;
}

/* Button */
.nav-more-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

/* Hover / Focus */
.nav-more:hover .nav-more-btn,
.nav-more:focus-within .nav-more-btn {
  border-bottom-color: #ffffff;
}

/* Dropdown Menu */
.nav-more-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;

  min-width: 200px;
  background: #153e75;

  /* >>> ENTSCHEIDEND <<< */
  display: flex;
  flex-direction: column;

  list-style: none;
  margin: 0;
  padding: 8px 0;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-radius: 6px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);

  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;

  z-index: 999;
}

/* SHOW DROPDOWN */
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.nav-more-menu li {
  width: 100%; /* Absicherung */
}

.nav-more-menu li a {
  display: block;
  width: 100%; /* Volle Breite */
  padding: 10px 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
}

.nav-more-menu li a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Vereinheitlichung Navigation Typography */
.site-menu a,
.nav-more-btn {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.2;
  font-weight: 500;
}
.nav-more-btn {
  -webkit-font-smoothing: antialiased;
  appearance: none;
}
