/* Omid Fard language switch. Isolated to avoid touching the existing design. */
.omid-lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  margin-left: 8px;
  white-space: nowrap;
}
.omid-lang-switch a {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  flex: 0 0 39px;
  width: 39px;
  height: 36px;
  padding: 0 !important;
  border-radius: 10px;
  background: rgba(150, 172, 209, .12);
  border: 1px solid rgba(173, 198, 233, .35);
  text-decoration: none !important;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 23px !important;
  line-height: 1 !important;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.omid-lang-switch a:hover {
  transform: translateY(-2px);
  background: rgba(139, 177, 232, .23);
}
.omid-lang-switch a:focus-visible {
  outline: 3px solid #69bfff;
  outline-offset: 3px;
}
.omid-lang-switch a.is-active {
  border-color: #80c7ff;
  background: rgba(89, 159, 255, .19);
}
/* Work with, rather than against, the existing menu and mobile layout. */
@media (max-width: 1180px) {
  header.site-header .header-cta { display: none; }
  header.site-header .nav { gap: 13px; }
}
@media (max-width: 960px) and (min-width: 761px) {
  header.site-header .menu-toggle { display: block; margin-left: auto; }
  header.site-header .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 16px 24px; background: #07182f; }
  header.site-header .nav.open { display: flex; }
  header.site-header .nav a { padding: 10px 0; }
}
@media (max-width: 760px) {
  header.site-header .brand { margin-right: auto; }
  header.site-header .omid-lang-switch { margin: 0 4px 0 0; order: 2; }
  header.site-header .menu-toggle { order: 3; }
  header.site-header .nav { order: 4; }
  .omid-lang-switch a { width: 35px; flex-basis: 35px; height: 34px; font-size: 21px !important; }
}
@media (max-width: 390px) {
  header.site-header { padding-left: 9px; padding-right: 9px; }
  header.site-header .brand { font-size: 15px; }
  header.site-header .omid-lang-switch { gap: 3px; }
}
/* The independent Rechnung page has a light header. */
.site-header .container .omid-lang-switch a {
  border-color: rgba(21, 99, 68, .25);
  background: rgba(18, 130, 87, .065);
}
.site-header .container .omid-lang-switch a.is-active {
  border-color: #087f52;
  background: rgba(18, 130, 87, .12);
}
/* Avoid costly horizontal scroll from longer German navigation labels. */
header.site-header, .site-header .container { min-width: 0; }
header.site-header .nav a { white-space: nowrap; }
