@font-face {
  font-family: "Lexend";
  src: url("../fonts/lexend-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

@font-face {
  font-family: "Lexend";
  src: url("../fonts/lexend-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+1E00-1E9F, U+1EF2-1EFF;
}

:root {
  --schwarz: #000;
  --weiss: #fff;
  --grau-hell: #f3f3f3;
  --grau-linie: #d9d9d9;
  --grau-text: #5c5c5c;
  --grau-auf-schwarz: #b4b4b4;
  --kopf: 80px;
  --leiste: 43px;
  --rand: clamp(20px, 4vw, 56px);
  --breite: 1360px;
  --abstand: clamp(80px, 11vw, 168px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: var(--weiss);
}

::-webkit-scrollbar-thumb {
  min-height: 56px;
  border: 4px solid var(--weiss);
  border-radius: 14px;
  background: var(--schwarz);
}

::-webkit-scrollbar-thumb:hover {
  border-width: 3px;
}

/* Firefox */
@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-color: var(--schwarz) var(--weiss);
    scrollbar-width: thin;
  }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--schwarz);
  font: 400 1.0625rem/1.6 "Lexend", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance;
}

.wrap {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}

.sprung {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px 20px;
  background: var(--weiss);
  color: var(--schwarz);
}

.sprung:focus {
  top: 8px;
}

.titel-xl {
  font-size: clamp(2.75rem, 8vw, 7.25rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.titel-l {
  font-size: clamp(2.375rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.titel-name {
  font-size: clamp(2rem, 4.5vw, 4.25rem);
}

.titel-m {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.vorspann {
  max-width: 35em;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  font-weight: 300;
  line-height: 1.5;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid var(--schwarz);
  border-radius: 100px;
  background: var(--schwarz);
  color: var(--weiss);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}

.knopf:hover {
  background: var(--weiss);
  color: var(--schwarz);
}

.knopf-hell {
  border-color: var(--weiss);
  background: var(--weiss);
  color: var(--schwarz);
}

.knopf-hell:hover {
  background: transparent;
  color: var(--weiss);
}

.knopf-rand {
  background: transparent;
  color: var(--schwarz);
}

.knopf-rand:hover {
  background: var(--schwarz);
  color: var(--weiss);
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Kopfbereich */

.leiste {
  background: var(--schwarz);
  color: var(--weiss);
  font-size: 0.875rem;
}

.leiste .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 10px;
}

.leiste a {
  text-decoration: none;
}

.leiste a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.leiste-rechts {
  display: flex;
  gap: 28px;
}

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--weiss);
}

.kopf .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--kopf);
}

.marke {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 14px;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.marke img {
  width: 62px;
}

.kopf .marke {
  align-self: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a:not(.knopf) {
  text-decoration: none;
}

.nav a:not(.knopf):hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.nav .knopf {
  min-height: 44px;
  padding: 8px 22px;
}

.menue {
  display: none;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--schwarz);
  border-radius: 100px;
  background: none;
  font-weight: 500;
  cursor: pointer;
}

/* Einstieg */

.buehne {
  position: relative;
}

.einstieg {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(28px, 4vh, 48px);
  min-height: calc(100svh - var(--kopf) - var(--leiste));
  padding-block: clamp(12px, 3vh, 32px) clamp(28px, 5vh, 52px);
}

.einstieg-text {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 96px);
}

.einstieg h1 {
  max-width: 11em;
}

.einstieg .knoepfe {
  margin-top: 24px;
}

.zeichen {
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  max-height: max(180px, calc(100svh - var(--kopf) - var(--leiste) - 10vh - 200px));
  overflow: visible;
}

.zeichen-linie {
  fill: none;
  stroke: var(--schwarz);
  stroke-width: 3;
  stroke-dasharray: 1 2;
  animation: zeichnen 1.5s cubic-bezier(0.6, 0, 0.2, 1) both;
}

.zeichen-flaeche {
  animation: fuellen 0.6s 1.2s ease-out both;
}

@keyframes zeichnen {
  from { stroke-dashoffset: 1.01; }
  to { stroke-dashoffset: 0; }
}

@keyframes fuellen {
  from { opacity: 0; }
}

/* PLAXIA */

.plaxia {
  position: relative;
  overflow: hidden;
  background: var(--schwarz);
  color: var(--weiss);
}

.plaxia-bild {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 45%, rgba(0, 0, 0, 0.3) 65%, #000),
    url("../img/plaxia-stadt.webp") center / cover no-repeat;
}

.plaxia-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: calc(100svh - var(--kopf));
  padding-block: clamp(32px, 7vh, 80px) clamp(32px, 6vh, 64px);
}

.plaxia h1,
.plaxia h2 {
  font-size: clamp(3.5rem, 11.4vw, 11.25rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-align: center;
}

.plaxia-fuss {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
}

.plaxia-fuss .knoepfe {
  flex: none;
}

/* Der Punkt im Logo öffnet sich beim Scrollen zur PLAXIA-Stadt, siehe main.js */

.auftakt {
  position: relative;
}

.anker {
  position: absolute;
  bottom: 0;
  height: calc(100svh - var(--kopf));
  scroll-margin-top: calc(var(--kopf) - 96px);
}

.oeffnet {
  height: calc(220svh - var(--kopf));
}

.oeffnet .buehne {
  position: sticky;
  top: var(--kopf);
  height: calc(100svh - var(--kopf));
  overflow: hidden;
}

.oeffnet .plaxia {
  position: absolute;
  inset: 0;
}

/* PLAXIA App */

.app {
  position: relative;
  margin-top: -1px;
  background: var(--schwarz);
  color: var(--weiss);
}

.app .wrap {
  display: grid;
  grid-template: "kopf handy wahl" auto "kopf handy text" 1fr ". hinweis ." auto / minmax(0, 1fr) clamp(290px, 25vw, 348px) minmax(0, 1fr);
  gap: 24px clamp(40px, 7vw, 120px);
  padding-block: clamp(64px, 7vw, 104px);
}

.app-kopf {
  grid-area: kopf;
}

.app-kopf .vorspann {
  margin-top: 24px;
  color: var(--grau-auf-schwarz);
}

.app-wahl {
  grid-area: wahl;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-wahl button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: #7d7d7d;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: color 0.2s;
}

.app-wahl button:hover,
.app-wahl button[aria-selected="true"] {
  color: var(--weiss);
}

.app-ansicht {
  display: contents;
}

.app-ansicht[hidden] {
  display: none;
}

.app-ansicht p {
  grid-area: text;
  max-width: 24em;
  color: var(--grau-auf-schwarz);
}

.handy {
  grid-area: handy;
  overflow: hidden;
  padding: 9px;
  border: 2px solid #4c4c4c;
  border-radius: 48px;
  background: #101010;
}

.handy img {
  width: 100%;
  border-radius: 37px;
}

.app-hinweis {
  grid-area: hinweis;
  text-align: center;
  color: var(--grau-auf-schwarz);
  font-size: 0.8125rem;
}

/* MXVNRestream */

.restream {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px clamp(40px, 7vw, 112px);
  padding-block: var(--abstand);
}

.restream .vorspann {
  margin-top: 24px;
}

.restream .knopf {
  margin-top: 36px;
}

.verteiler {
  padding: clamp(20px, 3vw, 44px);
  border-radius: 32px;
  background: var(--grau-hell);
}

.verteiler-feld {
  display: grid;
  grid-template-columns: auto minmax(32px, 1fr) minmax(150px, 220px);
  align-items: center;
}

.quelle {
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--schwarz);
  color: var(--weiss);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
}

.leitungen {
  width: 100%;
  height: 398px;
}

.leitungen path {
  fill: none;
  stroke: var(--schwarz);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.2s;
}

.leitungen path.aus {
  stroke: var(--grau-linie);
}

.ziele {
  display: grid;
  gap: 12px;
}

.ziel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  background: var(--weiss);
  font-weight: 500;
  cursor: pointer;
}

.schalter {
  position: relative;
  width: 42px;
  height: 26px;
  border-radius: 26px;
  background: var(--schwarz);
  transition: background-color 0.2s;
}

.schalter::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--weiss);
  transition: left 0.2s;
}

.ziel[aria-checked="false"] .schalter {
  background: #8a8a8a;
}

.ziel[aria-checked="false"] .schalter::after {
  left: 4px;
}

.verteiler-stand {
  margin-top: 28px;
  color: var(--grau-text);
  font-size: 0.9375rem;
}

/* EinfxchMxrvin */

.kanal {
  padding-top: 96px;
}

.kanal-feld {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: min(580px, 49vw);
  border-radius: 32px;
  background: var(--schwarz);
  color: var(--weiss);
}

.kanal-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4.5vw, 64px);
  padding-right: 0;
}

.kanal-text .vorspann {
  max-width: 25em;
  margin-block: 24px 32px;
  color: var(--grau-auf-schwarz);
}

.knopf-linie {
  border-color: var(--weiss);
  background: transparent;
}

.kanal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-top: 40px;
  list-style: none;
}

.kanal-links a {
  display: inline-block;
  padding-block: 8px;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.kanal-links a:hover {
  text-decoration-thickness: 2px;
}

/* Der weiße Kreis greift den Punkt aus dem Logo auf, der Kopf ragt oben aus dem Feld */
.kanal-figur {
  position: relative;
}

.kanal-figur::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(94%, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--weiss);
  transform: translate(-50%, -50%);
}

.kanal-figur img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: min(calc(100% + 72px), 56vw);
  transform: translateX(-50%);
}

/* Minecraft-Modelle */

.modelle {
  padding-block: 20px var(--abstand);
}

.modelle-feld {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px clamp(32px, 5vw, 80px);
  padding: clamp(28px, 3.4vw, 48px) clamp(28px, 4.5vw, 64px);
  border: 1px solid var(--schwarz);
  border-radius: 32px;
}

.modelle-feld p {
  max-width: 34em;
}

/* Leistungen */

.leistungen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 48px clamp(40px, 7vw, 112px);
  padding-bottom: var(--abstand);
}

.leistungen > div > p {
  max-width: 27em;
  margin-top: 24px;
  color: var(--grau-text);
}

.leistungen dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8px 32px;
  padding-block: 30px;
  border-top: 1px solid var(--schwarz);
}

.leistungen dl > div:last-child {
  border-bottom: 1px solid var(--schwarz);
}

.leistungen dt {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.leistungen dd {
  color: var(--grau-text);
}

/* Unterseiten */

main > .plaxia .plaxia-text {
  min-height: calc(100svh - var(--kopf) - var(--leiste));
}

.abschnitt {
  padding-top: var(--abstand);
}

.leistungen .knopf {
  margin-top: 32px;
}

.leistungen dd a,
.leistungen > div > p a {
  color: var(--schwarz);
  text-underline-offset: 4px;
}

.leistungen dd.adresse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--schwarz);
  font-size: 1.375rem;
  line-height: 1.3;
}

.kopieren {
  min-height: 40px;
  min-width: 100px;
  padding: 6px 16px;
  border: 1px solid var(--schwarz);
  border-radius: 100px;
  background: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.kopieren:hover {
  background: var(--schwarz);
  color: var(--weiss);
}

.schritte {
  list-style: none;
  counter-reset: schritt;
}

.schritte li {
  position: relative;
  padding: 24px 0 24px 64px;
  border-top: 1px solid currentColor;
  counter-increment: schritt;
}

.schritte li:last-child {
  border-bottom: 1px solid currentColor;
}

.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
}

code {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--grau-hell);
  color: var(--schwarz);
  font-family: Consolas, Menlo, monospace;
  font-size: 0.9375em;
  overflow-wrap: anywhere;
}

.app-info .wrap {
  grid-template: none / minmax(0, 1fr) clamp(290px, 25vw, 348px);
  align-items: center;
}

.app-info .vorspann {
  margin-top: 24px;
  color: var(--grau-auf-schwarz);
}

.app-info h3 {
  margin-block: 48px 20px;
  font-size: 1.375rem;
}

.app-info .schritte {
  max-width: 34em;
}

.app-info .handy,
.app-info .app-hinweis {
  grid-area: auto;
}

.app-info .app-hinweis {
  margin-top: 16px;
}

.app-hilfe {
  max-width: 38em;
  margin-top: 28px;
  color: var(--grau-auf-schwarz);
}

.app-hilfe a {
  color: var(--weiss);
  text-underline-offset: 4px;
}

.kanal-kopf .kanal-feld {
  min-height: min(640px, 49vw);
}

.wege-liste {
  list-style: none;
}

.wege-liste a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 4px 32px;
  padding-block: 22px;
  border-top: 1px solid var(--schwarz);
  color: var(--grau-text);
  text-decoration: none;
}

.wege-liste li:last-child a {
  border-bottom: 1px solid var(--schwarz);
}

.wege-liste span {
  color: var(--schwarz);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.wege-liste a:hover span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.seiten-kopf {
  padding-block: clamp(40px, 5vw, 72px) var(--abstand);
}

.titel-lang {
  font-size: clamp(2rem, 11vw, 10.5rem);
}

.seiten-kopf-text {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 6vw, 96px);
  margin-top: clamp(28px, 3.5vw, 48px);
}

.klein {
  margin-top: 16px;
  color: var(--grau-text);
  font-size: 0.9375rem;
}

.fenster {
  margin: clamp(40px, 5vw, 72px) 0 0;
}

.fenster img {
  width: 100%;
  border: clamp(6px, 0.9vw, 12px) solid var(--schwarz);
  border-radius: clamp(14px, 2.4vw, 32px);
}

.fenster figcaption {
  margin-top: 14px;
  color: var(--grau-text);
  font-size: 0.8125rem;
}

.fragen details {
  border-top: 1px solid var(--schwarz);
}

.fragen details:last-child {
  border-bottom: 1px solid var(--schwarz);
}

.fragen summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.fragen summary::-webkit-details-marker {
  display: none;
}

.fragen summary::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 18px no-repeat;
}

.fragen [open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat;
}

.fragen details p {
  max-width: 38em;
  padding: 0 48px 28px 0;
  color: var(--grau-text);
}

.fragen a {
  color: var(--schwarz);
  text-underline-offset: 4px;
}

.app-laden {
  margin-top: 32px;
}

.app-laden p {
  margin-top: 14px;
  color: var(--grau-auf-schwarz);
  font-size: 0.9375rem;
}

/* Fehlerseite: der Punkt ist aus dem Logo gerollt */

.fehler {
  padding-block: clamp(40px, 6vw, 88px) var(--abstand);
}

.fehler svg {
  width: min(100%, 760px);
  margin-bottom: clamp(40px, 5vw, 72px);
}

.fehler-luecke {
  fill: none;
  stroke: var(--schwarz);
  stroke-width: 4;
  stroke-dasharray: 12 10;
}

.fehler .vorspann {
  margin-block: 24px 32px;
}

/* Kontakt */

.kontakt {
  background: var(--schwarz);
  color: var(--weiss);
}

.kontakt .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 56px clamp(40px, 7vw, 112px);
  padding-block: var(--abstand);
}

.kontakt .vorspann {
  margin-block: 24px 32px;
  color: var(--grau-auf-schwarz);
}

.wege > div {
  padding-block: 20px;
  border-top: 1px solid #444;
}

.wege dt {
  color: var(--grau-auf-schwarz);
  font-size: 0.9375rem;
}

.wege dd {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  overflow-wrap: anywhere;
}

.wege a {
  text-decoration: none;
}

.wege a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Fuß */

.fuss {
  padding-block: clamp(48px, 6vw, 88px) 36px;
  font-size: 0.9375rem;
}

.fuss-spalten {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px 32px;
}

.fuss h2 {
  margin-bottom: 14px;
  font-size: 0.9375rem;
}

.fuss ul {
  list-style: none;
}

.fuss li a {
  display: inline-block;
  padding-block: 5px;
  color: var(--grau-text);
  text-decoration: none;
}

.fuss li a:hover,
.fuss li a[aria-current] {
  color: var(--schwarz);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fuss-ende {
  display: flex;
  justify-content: space-between;
  gap: 16px 48px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--grau-linie);
  color: var(--grau-text);
  font-size: 0.8125rem;
}

/* Rechtstexte */

.recht-kopf {
  padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px);
}

.recht-wahl {
  display: inline-flex;
  margin-top: 36px;
  padding: 5px;
  border-radius: 100px;
  background: var(--schwarz);
  color: var(--weiss);
}

.recht-wahl a {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.recht-wahl a[aria-current] {
  background: var(--weiss);
  color: var(--schwarz);
}

.recht-wahl a:focus-visible {
  outline-offset: -5px;
}

.recht {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr);
  gap: 48px clamp(40px, 7vw, 112px);
  padding-bottom: var(--abstand);
}

.recht-inhalt {
  position: sticky;
  top: 112px;
  align-self: start;
  max-height: calc(100vh - 136px);
  overflow-y: auto;
  font-size: 0.9375rem;
}

.recht-inhalt ol {
  list-style: none;
}

.recht-inhalt a {
  display: inline-block;
  padding-block: 5px;
  color: var(--grau-text);
  text-decoration: none;
}

.recht-inhalt a:hover {
  color: var(--schwarz);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.recht-text {
  max-width: 44em;
}

.recht-text section + section {
  margin-top: 56px;
}

.recht-text h2 {
  hyphens: auto;
  margin-bottom: 16px;
  font-size: 1.625rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.recht-text h3 {
  margin: 28px 0 8px;
  font-size: 1.0625rem;
}

.recht-text p + p,
.recht-text p + ul,
.recht-text ul + p,
.recht-text p + address,
.recht-text address + p {
  margin-top: 14px;
}

.recht-text address {
  font-style: normal;
}

.recht-text ul {
  padding-left: 1.25em;
}

.recht-text li + li {
  margin-top: 6px;
}

.recht-text a {
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.formular {
  margin-top: 24px;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--schwarz);
  border-radius: 20px;
}

.formular h3 {
  margin-top: 0;
}

@media (max-width: 1000px) {
  .einstieg-text,
  .restream,
  .leistungen,
  .kontakt .wrap,
  .recht {
    grid-template-columns: minmax(0, 1fr);
  }

  .seiten-kopf-text {
    grid-template-columns: minmax(0, 1fr);
  }

  .modelle-feld {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .einstieg {
    justify-content: center;
    gap: clamp(28px, 6svh, 72px);
  }

  .einstieg h1 {
    max-width: 8em;
    font-size: clamp(2.375rem, min(13.6vw, 6.6svh), 7rem);
  }

  .app .wrap {
    grid-template: "kopf" auto "wahl" auto "handy" auto "text" auto "hinweis" auto / minmax(0, 1fr);
    justify-items: center;
    gap: 28px;
    text-align: center;
  }

  .app-wahl {
    flex-direction: row;
    padding: 5px;
    border-radius: 100px;
    background: #262626;
  }

  .app-wahl button {
    padding: 10px clamp(11px, 3.6vw, 24px);
    border-radius: 100px;
    color: var(--weiss);
    font-size: clamp(0.8125rem, 4vw, 1rem);
    letter-spacing: 0;
  }

  .app-wahl button[aria-selected="true"] {
    background: var(--weiss);
    color: var(--schwarz);
  }

  .app-info .wrap {
    grid-template: none / minmax(0, 1fr);
    justify-items: stretch;
    gap: 48px;
    text-align: left;
  }

  .handy {
    width: min(100%, 320px);
  }

  .app-info .handy {
    margin-inline: auto;
  }

  .app-ansicht p {
    min-height: 4.8em;
  }

  .recht-inhalt {
    position: static;
    max-height: none;
  }

  .recht-inhalt ol {
    columns: 2;
    column-gap: 32px;
  }
}

@media (max-width: 800px) {
  .leiste-rechts {
    display: none;
  }

  :root {
    --kopf: 68px;
  }

  .plaxia-fuss {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .plaxia-fuss .knoepfe {
    justify-content: center;
  }

  .nav {
    gap: 20px;
  }

  .js .menue {
    display: block;
  }

  .js .nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--rand) 28px;
    border-bottom: 1px solid var(--schwarz);
    background: var(--weiss);
  }

  .js .nav.offen {
    display: flex;
  }

  .js .nav a:not(.knopf) {
    padding-block: 14px;
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .js .nav .knopf {
    min-height: 52px;
    margin-top: 16px;
  }

  .kanal {
    padding-top: 0;
  }

  .kanal-feld {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .kanal-text {
    padding-right: clamp(28px, 4.5vw, 64px);
    padding-bottom: 0;
  }

  .kanal-figur {
    height: 420px;
    margin-top: 32px;
  }

  .kanal-figur::before {
    width: 304px;
  }

  .kanal-figur img {
    height: 100%;
  }

  .fuss-spalten {
    grid-template-columns: 1fr 1fr;
  }

  .fuss-spalten .marke {
    grid-column: 1 / -1;
  }

  .fuss-ende {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .verteiler {
    padding: 14px;
  }

  .verteiler-feld {
    grid-template-columns: auto minmax(20px, 1fr) minmax(170px, 200px);
  }

  .quelle {
    width: clamp(58px, 19vw, 76px);
  }

  .ziel {
    padding-inline: 14px 12px;
  }

  .marke {
    gap: 10px;
    font-size: 1.0625rem;
  }

  .marke img {
    width: 50px;
  }

  .leistungen dl > div,
  .wege-liste a {
    grid-template-columns: minmax(0, 1fr);
  }

  .recht-wahl a {
    padding-inline: clamp(9px, 3.6vw, 15px);
    font-size: clamp(0.8125rem, 4vw, 0.9375rem);
  }

  .recht-inhalt ol {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .leiste,
  .kopf,
  .recht-wahl,
  .recht-inhalt,
  .fuss {
    display: none;
  }

  .recht {
    display: block;
  }
}
