@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/dm-serif-display-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/dm-serif-display-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/dm-serif-display-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../assets/fonts/dm-serif-display-italic-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blatt: #FBFBF9;
  --tinte: #101114;
  --blei: #555A62;
  --rot: #B3261E;
  --linie: #D9DDE3;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Segoe UI", Arial, sans-serif;
  --rand-x: clamp(1rem, 4vw, 2.5rem);
  --nr: 3.5rem;
  --text: 40rem;
  --notiz: 15rem;
  --zeile: 2rem;
  --ring: url("data:image/svg+xml,%3Csvg xmlns='http://www%2Ew3%2Eorg/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M9 23C5 9 38 3 62 5c26 2 35 10 32 20-4 11-44 13-68 10C9 33 3 25 13 13' fill='none' stroke='%23B3261E' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 7rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--blatt);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-size-adjust: from-font;
}

a,
button,
input,
select,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgb(179 38 30 / .15);
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

a:hover {
  color: var(--rot);
}

:focus-visible {
  outline: 2px solid var(--rot);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .6rem 1rem;
  background: var(--tinte);
  color: var(--blatt);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: var(--blatt);
  border-bottom: 2px solid var(--tinte);
}

.marke {
  padding: .7rem var(--rand-x);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--linie);
}

.zugliste {
  overflow-x: auto;
  scrollbar-width: thin;
}

.zugliste ol {
  display: flex;
  margin: 0;
  padding: 0 calc(var(--rand-x) - .9rem);
  list-style: none;
  counter-reset: zug;
}

.zugliste li {
  counter-increment: zug;
  flex-shrink: 0;
}

.zugliste li + li {
  border-left: 1px solid var(--linie);
}

.zugliste a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .4rem;
  min-height: 44px;
  padding: .7rem .9rem;
  font-size: .98rem;
  text-decoration: none;
  white-space: nowrap;
}

.zugliste a::before {
  content: counter(zug) ".";
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--blei);
  font-variant-numeric: tabular-nums;
}

.zugliste a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: .3rem .1rem;
  background: var(--ring) no-repeat center / 100% 100%;
  pointer-events: none;
}

.zugliste a[aria-current="page"]::before {
  color: var(--rot);
}

@media (min-width: 1000px) {
  .kopf {
    flex-direction: row;
    align-items: stretch;
  }

  .marke {
    display: flex;
    align-items: center;
    border-bottom: 0;
    border-right: 2px solid var(--tinte);
  }

  .zugliste ol {
    padding: 0 .5rem;
  }

  .zugliste a {
    padding: 1rem 1.1rem;
  }
}

.formular {
  width: min(100% - 2 * var(--rand-x), 74rem);
  margin: clamp(1.5rem, 4vw, 3rem) auto clamp(2.5rem, 5vw, 4rem);
  border: 2px solid var(--tinte);
}

.formular-kopf {
  margin: 0;
  padding: .5rem 1rem;
  border-bottom: 1px solid var(--tinte);
  font-size: .9rem;
  color: var(--blei);
}

.feld-name {
  display: block;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--blei);
}

.feld-partie {
  display: grid;
  gap: .4rem 1rem;
  padding: 1rem 1rem 1.25rem;
  border-bottom: 1px solid var(--tinte);
}

.feld-partie h1 {
  margin: 0;
  line-height: 1;
}

.felder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--tinte);
}

.felder .feld {
  padding: .6rem 1rem .7rem;
  border-right: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  margin-bottom: -1px;
}

.felder dd {
  margin: .15rem 0 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
}

.feld-notiz {
  display: grid;
  gap: .4rem 1rem;
  padding: .75rem 1rem 1rem;
}

.lead {
  margin: 0;
  max-width: 44rem;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: var(--zeile);
  background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--zeile) - 1px), var(--linie) calc(var(--zeile) - 1px) var(--zeile));
}

@media (min-width: 700px) {
  .feld-partie,
  .feld-notiz {
    grid-template-columns: 6rem minmax(0, 1fr);
    align-items: baseline;
  }
}

.wrap,
.bogen {
  display: grid;
  grid-template-columns: [voll-start text-start] minmax(0, 1fr) [text-end rand-start] auto [rand-end voll-end];
  width: min(100% - 2 * var(--rand-x), 74rem);
  margin-inline: auto;
}

.wrap > *,
.bogen > * {
  grid-column: text;
  min-width: 0;
}

.bogen {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--linie);
}

.rand {
  grid-column: text;
  margin: 0 0 1.5rem;
  padding-left: .9rem;
  border-left: 2px solid var(--rot);
}

.rand p,
.rand figcaption {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--rot);
}

@media (min-width: 1000px) {
  .wrap,
  .bogen {
    grid-template-columns: [voll-start nr-start] var(--nr) [nr-end text-start] minmax(0, var(--text)) [text-end rand-start] var(--notiz) [rand-end voll-end];
    column-gap: 2rem;
    background: linear-gradient(var(--rot), var(--rot)) no-repeat calc(var(--nr) + 1rem) 0 / 1px 100%;
  }

  .rand {
    grid-column: rand;
    grid-row: 1 / span 3;
    align-self: start;
    padding-left: 0;
    padding-top: .5rem;
    border-left: 0;
  }
}

.prose {
  max-width: var(--text);
}

.prose h2 {
  margin-top: 2.5rem;
}

.prose h3 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: .5rem;
}

.tabelle-rahmen,
.table-box {
  grid-column: voll;
  margin-top: 1.5rem;
  overflow-x: auto;
  container-type: inline-size;
  background: var(--blatt);
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--tinte);
}

caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.5rem;
  padding-bottom: .6rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: .65rem .9rem;
  border-bottom: 1px solid var(--linie);
  border-right: 1px solid var(--linie);
}

thead th {
  font-size: .85rem;
  font-weight: 500;
  color: var(--blei);
  border-bottom: 1px solid var(--tinte);
}

tbody th {
  font-weight: 400;
}

.compare tbody th {
  font-family: var(--serif);
  font-size: 1.2rem;
  white-space: nowrap;
}

.liste .nr {
  width: 3.5rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--rot);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.liste thead .nr {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--blei);
}

.liste tbody th a {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.2;
  text-decoration: none;
}

.liste tbody th a:hover {
  text-decoration: underline;
}

.liste tbody th p {
  margin: .3rem 0 0;
  font-size: .95rem;
  color: var(--blei);
  max-width: 46rem;
}

.cookie-table tbody th {
  font-weight: 600;
}

@container (width < 640px) {
  table,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    padding: .6rem .9rem;
    border-bottom: 1px solid var(--linie);
  }

  th,
  td {
    border: 0;
    padding: .15rem 0;
  }

  td::before {
    display: block;
    font-size: .8rem;
    font-weight: 500;
    color: var(--blei);
  }

  .liste tr {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    column-gap: .6rem;
  }

  .liste .nr {
    grid-row: 1 / span 3;
    width: auto;
    text-align: left;
  }

  .liste td:not(.nr) {
    grid-column: 2;
    display: flex;
    gap: .5rem;
    font-size: .95rem;
  }

  .liste td:not(.nr)::before {
    display: inline;
  }

  .liste td:nth-of-type(2)::before {
    content: "Thema";
  }

  .liste td:nth-of-type(3)::before {
    content: "Stufe";
  }

  .compare td:nth-of-type(1)::before {
    content: "Typische Frage";
  }

  .compare td:nth-of-type(2)::before {
    content: "Beispiel";
  }

  .compare td:nth-of-type(3)::before {
    content: "Risiko";
  }

  .cookie-table td:nth-of-type(1)::before {
    content: "Zweck";
  }

  .cookie-table td:nth-of-type(2)::before {
    content: "Speicherdauer";
  }

  .cookie-table td:nth-of-type(3)::before {
    content: "Art";
  }
}

.rechner {
  grid-column: voll;
  display: grid;
  margin: 1.5rem 0;
  border: 2px solid var(--tinte);
  background: var(--blatt);
}

.regler {
  padding: 1rem;
  border-bottom: 1px solid var(--tinte);
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  margin-bottom: .3rem;
}

.field output {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--rot);
}

.field input {
  width: 100%;
  min-height: 44px;
  accent-color: var(--rot);
}

.field small {
  display: block;
  font-size: .9rem;
  color: var(--blei);
}

.total {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.total-text {
  display: block;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--blei);
}

.baum {
  margin: 0;
  padding: .75rem 1rem;
  overflow-x: auto;
}

.baum svg {
  width: 100%;
  min-width: 26rem;
  font-family: var(--sans);
}

.deutung {
  margin: 0;
  padding: .9rem 1rem;
  border-top: 1px solid var(--linie);
}

@media (min-width: 760px) {
  .rechner {
    grid-template-columns: 17rem minmax(0, 1fr);
  }

  .regler {
    border-bottom: 0;
    border-right: 1px solid var(--tinte);
  }

  .deutung {
    grid-column: 1 / -1;
  }
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 1.25rem 0 0;
  border: 2px solid var(--tinte);
}

.contact > div {
  padding: .6rem .9rem .7rem;
  border-right: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  margin-bottom: -1px;
}

.contact dt {
  font-size: .85rem;
  font-weight: 500;
  color: var(--blei);
}

.contact dd {
  margin: .15rem 0 0;
  overflow-wrap: anywhere;
}

.contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.anmerkung {
  width: min(100% - 2 * var(--rand-x), 74rem);
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: 1rem 0 1rem 1rem;
  border-left: 3px solid var(--rot);
  font-size: .95rem;
  color: var(--blei);
}

.anmerkung p {
  max-width: var(--text);
  margin: 0;
}

.anmerkung strong {
  color: var(--tinte);
}

.fuss {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--tinte);
}

.fuss-bogen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  width: min(100% - 2 * var(--rand-x), 74rem);
  margin: 1.5rem auto 0;
  border: 1px solid var(--tinte);
}

.fuss-feld {
  padding: .8rem 1rem 1rem;
  border-right: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  margin-bottom: -1px;
}

.fuss-feld .feld-name {
  margin: 0 0 .4rem;
}

.fuss-feld p {
  font-size: .95rem;
  color: var(--blei);
  margin-bottom: .6rem;
}

.fuss-marke {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
}

.fuss-feld .fuss-marke {
  color: var(--tinte);
}

.fuss-feld ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fuss-feld li a {
  display: inline-block;
  padding-block: .3rem;
  text-decoration: none;
}

.fuss-feld li a:hover,
.fuss-feld li a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--rot);
}

.foot-contact {
  font-style: normal;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.foot-contact a {
  display: inline-block;
  padding-block: .2rem;
}

.fuss-base {
  width: min(100% - 2 * var(--rand-x), 74rem);
  margin: 0 auto;
  padding: 1rem 0 1.5rem;
  font-size: .88rem;
  color: var(--blei);
}

.page-head {
  padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem;
}

.page-head .lead {
  max-width: var(--text);
}

.tag-line {
  display: block;
  margin-bottom: .5rem;
  font-size: .95rem;
  color: var(--blei);
}

.tag-line b {
  margin-left: .45rem;
  font-weight: 600;
  color: var(--rot);
}

.stamp {
  font-size: .9rem;
  color: var(--blei);
}

.block {
  padding-top: 2rem;
}

.pair {
  display: grid;
  gap: 1.5rem 2.5rem;
}

@media (min-width: 760px) {
  .pair {
    grid-template-columns: 1fr 1fr;
  }
}

.pair h2 {
  font-size: 1.6rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--tinte);
}

.charter {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  counter-reset: art;
  border-top: 2px solid var(--tinte);
}

.charter li {
  counter-increment: art;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  padding: .9rem 0;
  border-bottom: 1px solid var(--linie);
}

.charter li::before {
  content: "\00A7\2009" counter(art);
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--rot);
}

.charter li p {
  margin: 0;
}

.tools {
  grid-column: voll;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
  padding: .9rem 1rem;
  border: 2px solid var(--tinte);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.filters legend {
  float: left;
  width: 100%;
  margin-bottom: .3rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--blei);
}

.filters button {
  min-height: 44px;
  padding: .4rem .85rem;
  border: 1px solid var(--tinte);
  background: var(--blatt);
  color: var(--tinte);
  font: 500 .95rem/1 var(--sans);
  cursor: pointer;
}

.filters button:hover {
  border-color: var(--rot);
  color: var(--rot);
}

.filters button[aria-pressed="true"] {
  background: var(--tinte);
  border-color: var(--tinte);
  color: var(--blatt);
}

.sorter label {
  display: block;
  margin-bottom: .3rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--blei);
}

.sorter select {
  min-height: 44px;
  padding: .4rem 2rem .4rem .7rem;
  border: 1px solid var(--tinte);
  background: var(--blatt);
  color: var(--tinte);
  font: 500 .95rem var(--sans);
}

.catalog {
  grid-column: voll;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--tinte);
}

.catalog li {
  view-transition-name: match-element;
  display: grid;
  gap: .25rem 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--linie);
}

.catalog li[hidden] {
  display: none;
}

.catalog h2 {
  font-size: 1.5rem;
  margin: 0;
}

.catalog h2 a {
  text-decoration: none;
}

.catalog h2 a:hover {
  text-decoration: underline;
}

.catalog p {
  margin: 0;
  max-width: 44rem;
}

.catalog .tag-line {
  margin: 0;
}

.scale {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.25rem;
  margin: .3rem 0 0;
  font-size: .9rem;
  color: var(--blei);
}

.scale div {
  display: flex;
  gap: .35rem;
}

.scale dt {
  font-weight: 600;
}

.scale dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 760px) {
  .catalog li {
    grid-template-columns: 12rem minmax(0, 1fr);
  }

  .catalog .tag-line {
    grid-row: 1 / span 3;
    padding-top: .3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none;
  }
}

.article {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-top: 2px solid var(--tinte);
}

.article .wrap > figure:first-child {
  grid-column: text;
  margin: 0 0 1.5rem;
  max-width: 26rem;
}

.article .wrap > figure:first-child img {
  border: 1px solid var(--linie);
}

figcaption {
  margin-top: .5rem;
  font-size: .9rem;
  color: var(--blei);
}

.article .wrap > figure:first-child figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--rot);
}

@media (min-width: 1000px) {
  .article .wrap > figure:first-child {
    grid-column: rand;
    grid-row: 1 / span 4;
    max-width: none;
    margin: .4rem 0 0;
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  margin: 0 0 2rem;
  border: 1px solid var(--tinte);
  font-size: .9rem;
}

.facts div {
  padding: .45rem .7rem;
  border-right: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  margin-bottom: -1px;
}

.facts dt {
  color: var(--blei);
}

.facts dd {
  margin: 0;
  font-weight: 600;
}

.diagram {
  margin: 2rem 0;
  padding: 1rem;
  border: 1px solid var(--linie);
  overflow-x: auto;
}

.diagram svg {
  width: 100%;
  min-width: 30rem;
  font-family: var(--sans);
}

.options {
  grid-column: voll;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: opt;
  border: 2px solid var(--tinte);
}

.options > li {
  position: relative;
  padding: 3.6rem 1rem 1rem;
  border-right: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  margin-bottom: -1px;
  counter-increment: opt;
}

.options > li::before {
  content: counter(opt, upper-alpha);
  position: absolute;
  inset: 0 0 auto;
  padding: .5rem 1rem;
  border-bottom: 1px solid var(--tinte);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
}

.options > li.wahl::after {
  content: "";
  position: absolute;
  top: .3rem;
  left: .45rem;
  width: 2.4rem;
  height: 2.3rem;
  background: var(--ring) no-repeat center / 100% 100%;
}

.options h3 {
  font-size: 1.25rem;
  margin-bottom: .4rem;
}

.options p {
  margin: 0;
}

.source {
  margin-top: 2rem;
  padding-top: .8rem;
  border-top: 1px solid var(--tinte);
  font-size: .95rem;
  max-width: var(--text);
}

.term {
  text-decoration: underline dotted var(--rot) 2px;
  text-underline-offset: .22em;
  cursor: help;
}

.term:hover {
  color: var(--rot);
}

.card {
  width: min(32rem, calc(100% - 2rem));
  padding: 1.5rem;
  border: 2px solid var(--tinte);
  background: var(--blatt);
  color: var(--tinte);
}

.card:modal {
  overscroll-behavior: contain;
}

.card::backdrop {
  background: rgb(16 17 20 / .4);
  overflow: hidden;
  overscroll-behavior: contain;
}

.card h2 {
  font-size: 1.8rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--linie);
}

.card form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
}

.card form a {
  font-weight: 600;
}

.card button {
  min-height: 44px;
  padding: .4rem 1rem;
  border: 1px solid var(--tinte);
  background: var(--tinte);
  color: var(--blatt);
  font: 600 .95rem/1 var(--sans);
  cursor: pointer;
}

.card button:hover {
  background: var(--rot);
  border-color: var(--rot);
}

.glossary {
  margin-top: 1.5rem;
  border-top: 2px solid var(--tinte);
}

.glossary details {
  border-bottom: 1px solid var(--linie);
}

.glossary details:target summary {
  color: var(--rot);
}

.glossary summary {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding: .9rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.2;
}

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

.glossary summary::before {
  content: "+";
  flex-shrink: 0;
  inline-size: 1ch;
  font-family: var(--sans);
  color: var(--rot);
}

.glossary details[open] > summary::before {
  content: "\2212";
}

.glossary summary:hover {
  color: var(--rot);
}

.glossary .entry {
  padding: 0 0 1.2rem 1.9rem;
}

.glossary .entry p:last-child {
  margin-bottom: 0;
}

.example {
  font-size: .95rem;
  color: var(--blei);
}

.example b {
  color: var(--tinte);
}

details::details-content {
  overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
  details::details-content {
    interpolate-size: allow-keywords;
    transition: block-size .25s ease, content-visibility .25s allow-discrete;
  }

  details:not([open])::details-content {
    block-size: 0;
  }
}

.jobs {
  grid-column: voll;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--tinte);
}

.jobs > li {
  display: grid;
  gap: .5rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--linie);
}

@media (min-width: 900px) {
  .jobs > li {
    grid-template-columns: 14rem minmax(0, var(--text));
  }
}

.jobs .kind {
  margin: 0;
  font-weight: 600;
  color: var(--rot);
}

.jobs .kind span {
  display: block;
  font-weight: 400;
  color: var(--blei);
}

.jobs h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.jobs ul {
  margin: 0;
  padding-left: 1.2rem;
}

.apply {
  margin: 1rem 0 0;
  font-size: .95rem;
}

.apply a {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.lost {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: var(--rand-x);
}

.lost p {
  max-width: 30rem;
  color: var(--blei);
}

.lost .code {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 1;
  color: var(--rot);
}

.options,
.catalog,
.tools,
.jobs {
  position: relative;
  background: var(--blatt);
}
