@font-face { font-family: "Courier Prime"; src: url(assets/CourierPrime-Bold.ttf); font-weight: 700; font-display: swap; }
:root { --rand: max(clamp(1.2rem, 5vw, 4rem), calc((100% - 1180px) / 2)); --papier: #F7F5F0; --blau: #1F3A5F; --tief: #152A45; --gold: #C8A27A; --tinte: #151413; --grau: #56606B; --linie: #DDD8CE; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body { margin: 0; background: var(--papier); color: var(--tinte); line-height: 1.6; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2, h3 { font-family: "Courier Prime", "Courier New", monospace; color: var(--blau); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.05rem, 4.7vw, 3.7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.01em; margin-bottom: 1.6rem; }
h3 { font-size: 1.12rem; margin-bottom: .4rem; }
p { margin: 0 0 .8rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sprungmarke { position: absolute; left: -999px; background: #fff; padding: .5rem 1rem; }
.sprungmarke:focus { left: 1rem; top: .5rem; z-index: 5; }

.kopf { display: flex; align-items: center; gap: 2rem; padding: 1.1rem clamp(1.2rem, 5vw, 4rem); position: sticky; top: 0; background: rgb(247 245 240 / .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); z-index: 3; }
.logo img { display: block; height: 42px; width: auto; }
.kopf nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .92rem; }
.kopf nav a { text-decoration: none; color: var(--blau); }
.kopf nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }

.knopf { display: inline-block; white-space: nowrap; background: var(--blau); color: var(--papier); font-weight: 600; text-decoration: none; padding: .8rem 1.5rem; border-radius: 4px; border: 2px solid var(--blau); transition: background .15s; }
.knopf:hover { background: var(--tief); }
.knopf.zweit { background: none; color: var(--blau); }
.knopf.zweit:hover { background: rgb(31 58 95 / .08); }
.knopf.klein { padding: .45rem 1rem; font-size: .9rem; }
.aktionen { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

.recht { padding: clamp(2.5rem, 6vw, 5rem) var(--rand); max-width: 56rem; margin: auto; }
.recht h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.6rem; }
.recht h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.recht p, .recht li { color: #2B2B2B; }
.recht ul { padding-left: 1.2rem; }
.held { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 8vw, 6.5rem) var(--rand); }
.fuehrung { font-size: 1.14rem; color: var(--grau); max-width: 38rem; margin-top: 1.2rem; }
.blatt { margin: 0; background: #fff; border: 1px solid var(--linie); padding: 2rem 2rem 2.4rem; box-shadow: 10px 10px 0 var(--blau); font-family: "Courier Prime", "Courier New", monospace; font-size: .92rem; transform: rotate(.6deg); }
.blatt-kopf { font-size: 1.15rem; color: var(--blau); border-bottom: 2px solid var(--blau); padding-bottom: .5rem; margin-bottom: 1rem; }
.zeile { margin-bottom: .55rem; color: #333; }
.zeile.top { color: var(--blau); margin-top: 1.1rem; }
.zeile.beschluss { background: #F6EFE5; padding: .35rem .6rem; border-left: 3px solid var(--gold); }
.stelle { display: block; color: #7B5A2E; font-size: .82rem; }
.cursor { display: inline-block; width: .6em; height: 1.05em; background: var(--gold); margin-left: .2em; vertical-align: -.15em; animation: blinken 1.1s steps(1) infinite; }
@keyframes blinken { 50% { opacity: 0; } }

.film { padding: clamp(1rem, 2.5vw, 2rem) var(--rand) 0; }
.film figure { margin: 0; }
.film video { display: block; width: min(100%, calc((100svh - 9rem) * 16 / 9)); height: auto; aspect-ratio: 16 / 9; margin-inline: auto; background: var(--tief); border-radius: 10px; box-shadow: 0 18px 40px -20px rgb(21 42 69 / .6), 0 2px 6px rgb(21 42 69 / .18); }
.film video p { padding: 1rem; color: var(--papier); }
.film figcaption { font-size: .82rem; color: var(--grau); margin-top: .7rem; text-align: center; }
.film figcaption a { display: block; color: var(--blau); text-underline-offset: 3px; }
@media (max-width: 880px) { .film { padding-top: .8rem; } .film video { border-radius: 6px; } }

.streifen { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--blau); color: var(--papier); padding: 2rem var(--rand); gap: 2rem; }
.streifen strong { display: block; font-family: "Courier Prime", "Courier New", monospace; font-size: 1.5rem; color: var(--gold); }
.streifen span { font-size: .93rem; }

.abschnitt { padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 5vw, 4rem); }
.abschnitt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.abschnitt.hell { background: #EFEBE2; }
.abschnitt.dunkel { background: var(--tief); color: var(--papier); }
.abschnitt.dunkel h2 { color: var(--papier); }
.abschnitt.dunkel .fuehrung { color: #C9D2DC; margin: 0 auto 2rem; max-width: 1180px; }

.schritte { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.nummer { display: block; font-family: "Courier Prime", "Courier New", monospace; font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: .6rem; }
.ergebnisse, .gruppen { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 3rem; }
.ergebnisse li, .gruppen li { border-top: 2px solid var(--blau); padding-top: .9rem; }
.ergebnisse p, .gruppen p, .schritte p { color: var(--grau); }
.merksatz { font-family: "Courier Prime", "Courier New", monospace; color: var(--blau); font-size: 1.15rem; margin-top: 2rem; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 1rem 1.4rem 1rem 0; border-bottom: 1px solid rgb(247 245 240 / .25); vertical-align: top; }
thead th { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
tbody th { font-family: "Courier Prime", "Courier New", monospace; white-space: nowrap; }

details { border-bottom: 1px solid var(--linie); padding: 1rem 0; }
#fragen details { border-color: #CFC9BC; }
summary { cursor: pointer; font-weight: 600; color: var(--blau); }
details p { margin-top: .7rem; color: var(--grau); max-width: 50rem; }

.abschluss { text-align: center; }
.abschluss .fuehrung { margin: 0 auto 1.6rem; }
.fuss { background: var(--tief); color: #C9D2DC; padding: 2.4rem clamp(1.2rem, 5vw, 4rem); display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; font-size: .85rem; }
.fuss img { height: 34px; width: auto; }
.fussnote { margin: 0; max-width: 46rem; }
.fuss nav { display: flex; gap: 1.2rem; }

@media (max-width: 880px) {
  .held, .streifen, .schritte, .ergebnisse, .gruppen, .fuss { grid-template-columns: 1fr; }
  .kopf nav { display: none; }
  .kopf .knopf { margin-left: auto; }
  thead { display: none; }
  table, tbody, tr, th, td { display: block; width: 100%; }
  tr { padding: .9rem 0; border-bottom: 1px solid rgb(247 245 240 / .25); }
  th, td { border: 0; padding: .15rem 0; }
  tbody th { white-space: normal; color: var(--gold); }
  .kopf { gap: .8rem; padding-inline: 1rem; }
  .logo img { height: 30px; }
  .kopf .knopf { padding: .4rem .7rem; font-size: .8rem; }
  .blatt { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cursor { animation: none; } }
.nach-rechts { margin-left: auto; }
