/* Gemeinsame Sprachbuttons auf Hauptseite, Rechtsseiten und Kontakt. */
.ecas-language-switcher { display: flex; align-items: center; gap: 3px; flex: none; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", Arial, sans-serif; }
.ecas-language-switcher :is(button, a) {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; min-height: 24px; padding: 3px 6px;
  border: 1px solid rgba(240,246,255,.16); border-radius: 5px;
  background: rgba(1,10,22,.76); color: rgba(245,249,255,.78);
  font: inherit; font-size: .625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.ecas-language-switcher :is(button, a):hover,
.ecas-language-switcher :is(button, a)[aria-pressed="true"],
.ecas-language-switcher :is(button, a)[aria-current="page"] {
  color: #fff; border-color: rgba(240,246,255,.55); background: rgba(35,56,76,.92);
}
.ecas-language-switcher :is(button, a):focus-visible { outline: 2px solid #65b8ff; outline-offset: 3px; }
/* Gemeinsamer Unterseiten-Schriftzug; das Hauptlogo bleibt eigenständig. */
.ecas-subpage-brand {
  display: inline-flex; flex-direction: column; flex: 0 1 auto;
  width: max-content; max-width: 100%; min-width: 0;
  line-height: 1.25; color: #f5f7fc; text-decoration: none;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, "Noto Sans SC", sans-serif;
}
.ecas-subpage-brand strong { color: #f5f7fc; font-size: 2.1rem; letter-spacing: .16em; font-weight: 350; }
.ecas-subpage-brand .ecas-brand-name { color: #aebbcf; font-size: .69rem; letter-spacing: .08em; overflow-wrap: anywhere; }
.ecas-subpage-brand .ecas-brand-line { display: block; width: 100%; height: 2px; flex: none; margin-top: 8px; background: linear-gradient(90deg, #65b8ff, #ffc66b); }
.ecas-subpage-brand:focus-visible { outline: 2px solid #65b8ff; outline-offset: 5px; }
