/* Dezente Sprachwahl im hellen Kopfbereich. */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  margin-right: 18px;
  padding: 4px;
  border: 1px solid rgba(6, 63, 91, 0.12);
  border-radius: 999px;
  background: rgba(244, 247, 249, 0.88);
}

.language-switcher button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  line-height: 1;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  border-color: rgba(239, 117, 0, 0.42);
  background: #fff;
  transform: translateY(-1px);
}

.language-switcher button:focus-visible {
  outline: 2px solid rgba(239, 117, 0, 0.28);
  outline-offset: 1px;
}

.language-switcher button[aria-pressed="true"] {
  border-color: rgba(6, 63, 91, 0.28);
  background: #fff;
  box-shadow: 0 2px 8px rgba(3, 44, 66, 0.1);
}

#google_translate_element,
.goog-te-balloon-frame,
#goog-gt-tt {
  display: none !important;
}

html.original-language .goog-te-banner-frame,
html.original-language .skiptranslate iframe {
  display: none !important;
}

html.original-language body {
  top: 0 !important;
}

@media (max-width: 1120px) {
  .language-switcher {
    margin-right: 12px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 7px;
  }

  .language-switcher {
    gap: 1px;
    margin-right: 0;
    padding: 3px;
  }

  .language-switcher button {
    width: 22px;
    height: 22px;
    font-size: .82rem;
  }

  .site-header .brand {
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
  }

  .site-header .brand-name {
    font-size: clamp(1.02rem, 4.8vw, 1.3rem);
    white-space: nowrap;
  }

  .menu-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }
}

/* Ausschliesslich die Untergrundfarbe der bestehenden Funktionsleiste. */
.contact-dock {
  background: linear-gradient(110deg,
    rgba(204, 211, 217, 0.92) 0%,
    rgba(192, 201, 208, 0.86) 72%,
    rgba(181, 191, 199, 0.8) 100%);
}
