:root {
  color-scheme: light dark;
  --papier: #fbf8f0;
  --tinte: #24272a;
  --leise: #625d53;
  --linie: #ddd5c4;
  --rand: #c2453b;
  --verweis: #1c4f8c;
  --kasten: #f3ecdc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #1d1c19;
    --tinte: #ebe6da;
    --leise: #aaa396;
    --linie: #3e3a32;
    --rand: #dd6e63;
    --verweis: #93b9ec;
    --kasten: #29271f;
  }
}

html {
  background: var(--papier);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.blatt {
  box-sizing: border-box;
  max-width: 45rem;
  min-height: 100vh;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem 2.5rem;
  border-left: 2px solid var(--rand);
}

.reiter {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 2.25rem;
  padding: 0 0 .5rem;
  list-style: none;
  border-bottom: 1px solid var(--linie);
}

.reiter a {
  display: inline-block;
  padding: .2rem .65rem;
  border: 1px solid var(--linie);
  border-radius: .45rem;
  font-size: .95rem;
  text-decoration: none;
}

.reiter a[aria-current="page"] {
  border-color: var(--rand);
  color: var(--tinte);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  margin: 0 0 .75rem;
  font-size: 2.3rem;
}

h2 {
  margin: 2.6rem 0 .7rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--linie);
  font-size: 1.45rem;
}

h3 {
  margin: 1.5rem 0 .35rem;
  font-size: 1.15rem;
}

p, ul, ol, table, address {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.2rem;
}

.stand {
  border-collapse: collapse;
  font-family: ui-monospace, Menlo, monospace;
  font-size: .95rem;
}

.stand th, .stand td {
  padding: .3rem 1.25rem .3rem 0;
  border-bottom: 1px dotted var(--linie);
  text-align: left;
  vertical-align: top;
}

.stand th {
  color: var(--leise);
  font-weight: 500;
}

.formate {
  width: 100%;
  border-collapse: collapse;
}

.formate th, .formate td {
  padding: .55rem .5rem .55rem 0;
  border-bottom: 1px solid var(--linie);
  text-align: left;
  vertical-align: top;
}

.formate th {
  width: 32%;
  padding-right: 1rem;
  font-weight: 600;
}

ul li::marker, ol li::marker {
  color: var(--rand);
}

li + li {
  margin-top: .35rem;
}

.merk {
  padding: .75rem 1rem;
  border: 1px dashed var(--rand);
  border-radius: .3rem;
  background: var(--kasten);
}

address {
  font-style: normal;
}

a {
  color: var(--verweis);
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

a:focus-visible {
  outline: 2px dashed var(--rand);
  outline-offset: 3px;
}

.fuss {
  margin-top: 3rem;
  padding-top: .9rem;
  border-top: 3px double var(--linie);
  color: var(--leise);
  font-size: .95rem;
}

@media (max-width: 30rem) {
  .blatt {
    padding-left: 1.25rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  .formate th {
    width: 38%;
  }
}
