/* 2026-09-23: Sprachwechsel bleibt kompakt und funktioniert auch ohne JavaScript. */
.language-picker {
  position: relative;
  flex: 0 0 auto;
  color: inherit;
  font-size: 13px;
  line-height: 1.4;
}
.language-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 40px;
  padding: 8px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:focus-visible,
.language-options a:focus-visible {
  outline: 2px solid #238c62;
  outline-offset: 3px;
}
.language-options {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 200;
  display: grid;
  min-width: 190px;
  max-height: min(400px, 65vh);
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  color: #17233a;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgb(15 23 42 / 12%);
}
.language-picker:not([open]) > .language-options { display: none; }
.language-options a {
  display: block;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  border-radius: 3px;
}
.language-options a:hover,
.language-options a[aria-current="page"] { background: #e4f5ed; color: #216346; }
.mobile-nav .language-picker { width: 100%; border-top: 1px solid #dbe2eb; margin-top: 8px; }
.mobile-nav .language-options { position: static; max-height: none; box-shadow: none; border: 0; }
.localization-media-note {
  padding-top: 16px;
  padding-bottom: 24px;
  color: #52627a;
  font-size: 12px;
  line-height: 1.6;
}
.localization-legal-note { max-width: 24ch; font-size: 12px; line-height: 1.5; opacity: .8; }
.language-fallback { font-size: .82em; opacity: .8; white-space: nowrap; }
.localized-checkout { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.localized-checkout h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.25; }
.localized-checkout p { line-height: 1.7; }
.localized-checkout .btn { white-space: normal; text-align: center; }
.localized-upgrade-handoff { grid-template-columns: 1fr; }
.localized-upgrade-handoff #pro-card-info[hidden] { display: none; }
[lang="pl"] h1, [lang="ro"] h1, [lang="nl"] h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 1100px) {
  .language-picker summary { padding: 12px; min-height: 44px; }
  .mobile-nav .language-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .mobile-nav .language-options { grid-template-columns: 1fr; }
}
