/* Navigation oben, wie die Reiterleiste von fastpal.com (app/_seiten/seiten-tabs.css). */
.st-tabs {
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.st-zeile {
  margin: 0 auto;
  padding: 0 24px;
  /* Breite wie der Inhalt der jeweiligen Seite, damit die Reiter buendig stehen. */
  max-width: var(--st-breite, 1160px);
  display: flex;
  align-items: center;
  gap: 16px;
}

.st-tabs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.st-tabs ul::-webkit-scrollbar {
  display: none;
}

.st-tabs li {
  flex: none;
}

/* nav.st-tabs: eine Stufe spezifischer als die Linkfarben der Seiten (.os-root a). */
nav.st-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 3px solid transparent;
  color: inherit;
  opacity: 0.72;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

nav.st-tabs a:hover {
  opacity: 1;
}

nav.st-tabs a[aria-current="page"] {
  border-bottom-color: currentColor;
  opacity: 1;
  font-weight: 600;
}

nav.st-tabs a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* DE | EN, wie auf victoria-patrick.de eine kleine Pille; die aktive Sprache gefuellt. */
.st-sprachwahl {
  flex: none;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  border-radius: 999px;
}

nav.st-tabs .st-sprachwahl a {
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

nav.st-tabs .st-sprachwahl a[aria-current="true"] {
  opacity: 1;
  font-weight: 600;
  background: color-mix(in srgb, currentColor 14%, transparent);
}

@media (max-width: 560px) {
  .st-zeile {
    gap: 10px;
    padding: 0 16px;
  }
  .st-tabs ul {
    gap: 20px;
  }

  nav.st-tabs a {
    font-size: 14px;
  }
}
