/* Language switcher (PL · EN · DE) — header pill and row in the mobile menu. */
.lang, .menu-lang { display: flex; align-items: center; gap: 2px; }
.lang a, .menu-lang a {
  display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0 8px;
  border-radius: 999px; text-decoration: none; color: #fff; opacity: .78;
  font: 700 13px/1 var(--head); letter-spacing: .04em;
  transition: background .2s, opacity .2s, color .2s;
}
.lang a:hover, .menu-lang a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.lang a[aria-current="true"], .menu-lang a[aria-current="true"] { background: var(--lime); color: var(--ink); opacity: 1; }

/* Header: a subtle glass pill right before the CTA. */
.nav .lang {
  flex: none; margin-left: auto; padding: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
}
.nav .lang + .cta-sm { margin-left: 0; }
@media (min-width: 900px) {
  .nav .lang { margin-left: 8px; }
  .nav .lang + .cta-sm { margin-left: 4px; }
}
/* Narrow desktop: tighten nav links so links, switcher and CTA fit on one line. */
@media (min-width: 900px) and (max-width: 1179px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 10px 9px; font-size: 14px; white-space: nowrap; }
  .brand { font-size: 19px; }
}
@media (min-width: 900px) and (max-width: 1039px) {
  .nav-in { gap: 4px; }
  .nav-links a { padding: 10px 5px; font-size: 13px; }
  .brand { gap: 8px; font-size: 17px; }
  .lang a { padding: 0 4px; font-size: 12px; }
  .nav .cta-sm { padding: 12px 14px; font-size: 14px; }
}
/* Phones: switcher lives only in the menu. */
@media (max-width: 559px) {
  .nav .lang { display: none; }
  .nav .lang + .cta-sm { margin-left: auto; }
}

/* Mobile menu: a row of three pills at the bottom. */
.menu .menu-lang { justify-content: center; gap: 8px; padding: 10px 8px 4px; }
.menu .menu-lang a { min-width: 52px; min-height: 40px; font-size: 15px; justify-content: center; background: rgba(255, 255, 255, .06); }
.menu .menu-lang a::after { content: none; }
.menu .menu-lang a[aria-current="true"] { background: var(--lime); color: var(--ink); }
