/* Epitome Kabinett · Sprachwaehler (Laufzeit-Schicht). Neutrales, dunkles Design,
   bewusst zurueckhaltend; fixe Position oben rechts, SPA-resistent. */
.epi-lang {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 2147483000;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}
.epi-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #e8eefc;
  background: rgba(14, 20, 34, 0.82);
  border: 1px solid rgba(120, 150, 210, 0.35);
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: border-color .15s ease, background .15s ease;
}
.epi-lang__btn:hover { border-color: rgba(150, 180, 240, 0.65); background: rgba(20, 28, 46, 0.92); }
.epi-lang__btn:focus-visible { outline: 2px solid #6ea8ff; outline-offset: 2px; }
.epi-lang__globe { font-size: 15px; color: #7fb0ff; }
.epi-lang__cur { font-weight: 600; letter-spacing: .04em; }

.epi-lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: rgba(12, 18, 30, 0.97);
  border: 1px solid rgba(120, 150, 210, 0.35);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.epi-lang__opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  color: #d7e1f5;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}
.epi-lang__opt:hover { background: rgba(90, 130, 210, 0.22); color: #fff; }
.epi-lang__opt.is-active { background: rgba(90, 130, 210, 0.32); color: #fff; }
.epi-lang__code {
  display: inline-block;
  min-width: 26px;
  padding: 2px 5px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #bcd0f5;
  background: rgba(90, 120, 190, 0.25);
  border-radius: 5px;
}
.epi-lang__opt.is-active .epi-lang__code { color: #fff; background: rgba(110, 150, 240, 0.55); }

@media (max-width: 600px) {
  .epi-lang { top: 8px; right: 8px; font-size: 13px; }
  .epi-lang__btn { padding: 5px 8px; }
}
@media print { .epi-lang { display: none; } }
