/**
 * 6dates Sprach-Switcher — Pille unten links, dunkel/pink.
 * Klassennamen entsprechen inc/switcher.php (tb-lang-switcher beibehalten,
 * Styling auf 6dates-Marke #D20F41 / #14080A angepasst).
 */
#tb-lang-switcher {
  position: fixed;
  left: 18px;
  bottom: 20px;
  z-index: 9998;
  font: 600 12px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.tb-lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(13, 8, 8, .92);
  color: #fff;
  cursor: pointer;
  letter-spacing: .06em;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color .15s ease, transform .15s ease;
}
.tb-lang-switcher__btn:hover { border-color: #D20F41; transform: translateY(-1px); }
.tb-lang-switcher__btn svg { opacity: .7; transition: transform .15s ease; }
.tb-lang-switcher__btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.tb-lang-switcher__menu {
  list-style: none;
  margin: 0 0 8px;
  padding: 6px;
  position: absolute;
  bottom: 100%;
  left: 0;
  min-width: 184px;
  background: #14080A;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}
.tb-lang-switcher__menu[hidden] { display: none; }

.tb-lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: background .12s ease, color .12s ease;
}
.tb-lang-switcher__item:hover { background: rgba(210, 15, 65, .14); color: #fff; }
.tb-lang-switcher__item.is-active { background: #D20F41; color: #fff; }

.tb-lang-switcher__code {
  font-weight: 800;
  letter-spacing: .08em;
  min-width: 22px;
  color: inherit;
}
.tb-lang-switcher__label { font-weight: 500; color: inherit; opacity: .92; }

.tb-lang-switcher__sep {
  height: 1px;
  margin: 5px 4px;
  background: rgba(255, 255, 255, .1);
  list-style: none;
}
.tb-lang-switcher__item--add { color: rgba(255, 255, 255, .58); }
.tb-lang-switcher__item--add .tb-lang-switcher__code { color: #D20F41; font-size: 15px; }

@media (max-width: 600px) {
  #tb-lang-switcher { left: 10px; bottom: 84px; }
}
