/* Gemeinsame Navigation auf den öffentlichen und persönlichen Seiten. */
@font-face {
  font-family: "NOWIK Press Sans";
  src: url("/fonts/NowikSans-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sw-sans: "NOWIK Press Sans", system-ui, sans-serif;
  --sw-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sw-graphit: #101112;
  --sw-graphit-hell: #202222;
  --sw-papier: #eeefeb;
  --sw-tinte: #191b1a;
  --sw-mast-text: #f5f4f0;
  --sw-mast-muted: #cccecb;
  --sw-mast-line: #363837;
}
header.sw-mast {
  display: block;
  position: relative;
  z-index: 8;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--sw-graphit);
  color: var(--sw-mast-text);
  border: 0;
  border-bottom: 1px solid var(--sw-mast-line);
  font: 500 1rem/1.5 var(--sw-sans);
  text-align: start;
}
.sw-mast .sw-mast-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.2vw, 48px);
  box-sizing: border-box;
  max-width: 1536px;
  min-height: 84px;
  --sw-mast-gutter: clamp(20px, 4vw, 64px);
  padding: max(12px, env(safe-area-inset-top, 0px)) var(--sw-mast-gutter) 12px;
  padding-left: max(var(--sw-mast-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--sw-mast-gutter), env(safe-area-inset-right, 0px));
  margin-inline: auto;
}
.sw-mast a {
  color: inherit;
  text-decoration: none;
}
.sw-mast a.sw-mast-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  color: var(--sw-mast-text);
  font: 760 1.45rem/1 var(--sw-sans);
  letter-spacing: -.065em;
  white-space: nowrap;
}
.sw-mast .sw-mast-nav,
.sw-mast .sw-mast-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 1.9vw, 29px);
  margin: 0;
  padding: 0;
}
.sw-mast .sw-mast-tools {
  margin-inline-start: auto;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: clamp(10px, 1.45vw, 22px);
}
.sw-mast .sw-mast-nav > a,
.sw-mast .sw-mast-tools > a,
.sw-mast .sw-mast-tools > button {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  color: var(--sw-mast-muted);
  font: 560 .95rem/1.4 var(--sw-sans);
}
.sw-mast .sw-mast-nav > a[aria-current="page"],
.sw-mast .sw-mast-nav > a:hover,
.sw-mast .sw-mast-tools > a:hover,
.sw-mast .sw-mast-tools > button:hover {
  color: var(--sw-mast-text);
  text-decoration: underline;
  text-underline-offset: .42em;
  text-decoration-thickness: 1.5px;
}
.sw-mast .sw-mast-tools > button {
  cursor: pointer;
  padding: 0;
  background: none;
  border: 0;
}
.sw-mast .sw-mast-tools :is(.sw-mast-cta, .sw-mast-register) {
  padding: 8px 15px;
  border-radius: 3px;
  background: var(--sw-mast-text);
  color: var(--sw-tinte);
  font-weight: 650;
}
.sw-mast .sw-mast-tools :is(.sw-mast-cta, .sw-mast-register):hover {
  background: var(--sw-mast-muted);
  color: var(--sw-tinte);
}
.sw-mast :is(a, button, summary):focus-visible {
  outline: 2px solid #9fc9e8;
  outline-offset: 3px;
}
.sw-mast [hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .sw-mast .sw-mast-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    --sw-mast-gutter: clamp(12px, 4vw, 25px);
    min-height: 0;
    gap: 0 8px;
    padding-top: max(8px, env(safe-area-inset-top, 0px));
    padding-bottom: 2px;
  }
  .sw-mast a.sw-mast-brand {
    font-size: min(1.23rem, 13vw);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  .sw-mast .sw-mast-nav {
    order: 2;
    flex-basis: 100%;
    justify-content: center;
    gap: clamp(13px, 5vw, 30px);
    border-top: 1px solid var(--sw-mast-line);
  }
  .sw-mast .sw-mast-tools {
    flex-shrink: 1;
    gap: 10px;
  }
  .sw-mast .sw-mast-nav > a,
  .sw-mast .sw-mast-tools > a,
  .sw-mast .sw-mast-tools > button {
    font-size: .875rem;
  }
  .sw-mast .sw-mast-tools :is(.sw-mast-cta, .sw-mast-register) {
    padding: 6px 10px;
  }
}
/* Querformat: Die Navigation passt in eine Zeile und darf bei großer Schrift umbrechen. */
@media (orientation: landscape) and (max-height: 540px) and (min-width: 510px) {
  .sw-mast .sw-mast-inner {
    --sw-mast-gutter: clamp(12px, 2.5vw, 32px);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    min-height: 52px;
    gap: 0 clamp(10px, 2vw, 24px);
    padding-block: max(3px, env(safe-area-inset-top, 0px)) 3px;
  }
  .sw-mast a.sw-mast-brand { font-size: 1.15rem; }
  .sw-mast .sw-mast-nav {
    order: 0;
    flex-basis: auto;
    justify-content: flex-start;
    gap: clamp(10px, 1.8vw, 22px);
    border-top: 0;
  }
  .sw-mast .sw-mast-tools { gap: 12px; }
  .sw-mast .sw-mast-nav > a,
  .sw-mast .sw-mast-tools > a,
  .sw-mast .sw-mast-tools > button { font-size: .875rem; }
}
@media print {
  header.sw-mast { display: none; }
}

.sw-weiter {
  margin: 0;
  background: var(--sw-graphit);
  color: var(--sw-mast-text);
  font: 1rem/1.6 var(--sw-sans);
}
.sw-weiter main {
  max-width: 62rem;
  margin: auto;
  padding: clamp(3rem, 9vw, 8rem) clamp(1rem, 5vw, 4rem);
}
.sw-weiter h1 {
  margin: 0;
  font: 400 clamp(2.6rem, 7vw, 5rem)/1.08 var(--sw-serif);
  letter-spacing: -.04em;
}
.sw-weiter main a { color: inherit; text-underline-offset: .25em; }
