/* fundamentalproblems.org — Gestaltung der Fundamental Problems Registry.
   Unterprojekt von leibnITs.org: dieselbe Schrift (EB Garamond, lokal), derselbe
   Pergamentgrund, dasselbe Kupfer als Akzent — damit die Verwandtschaft sichtbar
   ist. Eigenstaendig ist das Leitelement: das Register. Zahlenwerte stehen in
   Festbreite (Datenanmutung, CODATA), Prosa in der Serife.

   Der Satzspiegel ist bewusst BREITER als bei den Parallelprojekten
   (naturalphilosophyreview.org und classicsreview.org: 46rem; leibnits.org:
   62rem). Hier: 72rem im Regelfall, 84rem fuer das Register, 46rem fuer
   fortlaufende Prosa — ein Registereintrag ist eine Tabelle, kein Aufsatz.

   Keine Ressource von einem fremden Server: Schrift und Formelsetzer liegen
   lokal (Weisung vom 2026-12-04). Hell und dunkel nach Systemeinstellung. */

@font-face {
  font-family: "EB Garamond"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("schriften/eb-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("schriften/eb-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("schriften/eb-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond"; font-style: italic; font-weight: 400;
  font-display: swap; src: url("schriften/eb-garamond-latin-400-italic.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --grund: #f7f3ea;
  --flaeche: #fffdf8;
  --schrift: #16181c;
  --leise: #6d665a;
  --sehr-leise: #8f8878;
  --linie: #e3dccc;
  --linie-fein: #eee8da;
  --akzent: #8a5520;          /* Kupfer — wie leibnits.org */
  --akzent-stark: #a3671f;
  --akzent-hell: #f1e7d6;
  --tinte: #1d4e5f;           /* Teal — Messwerte, Echo auf die Review-Seiten */
  --tinte-hell: #e6eef0;
  --rot: #8c2f22;             /* widerlegt */
  --rot-hell: #f4e3e0;
  --gruen: #2f5d3a;           /* bestaetigt, steht */
  --gruen-hell: #e3eee5;
  --band: #14161a;            /* dunkles Band am Kopf */
  --kasten: #f2ede1;
  --schatten: 0 1px 2px rgba(22,24,28,.05), 0 8px 24px rgba(22,24,28,.06);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #121318;
    --flaeche: #191b21;
    --schrift: #ece6da;
    --leise: #9b9387;
    --sehr-leise: #7d7568;
    --linie: #2c2f37;
    --linie-fein: #23262d;
    --akzent: #d8a05c;
    --akzent-stark: #e8b472;
    --akzent-hell: #2a2218;
    --tinte: #7fc2d4;
    --tinte-hell: #18292f;
    --rot: #e09182;
    --rot-hell: #2e1d1a;
    --gruen: #8fc49c;
    --gruen-hell: #1a2720;
    --band: #0d0e12;
    --kasten: #1d1f26;
    --schatten: 0 1px 2px rgba(0,0,0,.45), 0 8px 24px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--schrift);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.rahmen { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.rahmen.weit { max-width: 84rem; }
.rahmen.schmal { max-width: 46rem; }
a { color: var(--akzent); text-underline-offset: 0.16em; text-decoration-thickness: 1px; }
a:hover { color: var(--akzent-stark); }
img { max-width: 100%; height: auto; display: block; }
abbr[title] { text-decoration: none; border: 0; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; border-radius: 2px; }
.ueberspringen {
  position: absolute; left: -9999px; top: 0; background: var(--akzent);
  color: var(--flaeche); padding: 0.6rem 1rem; z-index: 20; text-decoration: none;
}
.ueberspringen:focus { left: 0; }

/* ---- Kopfzeile ------------------------------------------------------ */
header.kopf {
  border-top: 3px solid var(--akzent);
  border-bottom: 1px solid var(--linie);
  background: color-mix(in srgb, var(--flaeche) 86%, transparent);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
header.kopf .rahmen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.marke { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.marke .zeichen { width: 2rem; height: 2rem; color: var(--akzent); flex: none; }
.wortmarke {
  font-weight: 500; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--schrift); font-size: 1.22rem; display: block;
}
.wortmarke .reg {
  display: block; font-size: 0.62em; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--leise); font-weight: 400;
}
nav.haupt { font-size: 0.78rem; display: flex; gap: 1.3rem; flex-wrap: wrap; }
nav.haupt a {
  color: var(--leise); text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.14em; padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}
nav.haupt a:hover, nav.haupt a[aria-current] { color: var(--akzent); border-bottom-color: var(--akzent); }

/* ---- Band am Kopf (statt eines Bildes: Typographie) ----------------- */
.band {
  background: var(--band); color: #f3ece0;
  border-bottom: 3px solid var(--akzent);
  padding: clamp(2.4rem, 5.5vw, 4rem) 0 clamp(1.8rem, 4vw, 2.6rem);
}
.band .dach {
  margin: 0 0 0.9rem; font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: #c9a06a;
}
.band .dach a { color: inherit; text-decoration-color: rgba(201,160,106,.5); }
.band h1 {
  margin: 0; font-weight: 500; letter-spacing: -0.018em;
  font-size: clamp(2.1rem, 5.6vw, 3.5rem); line-height: 1.08;
}
.band h1 .zweit { color: #c9a06a; }
.band .vorspann {
  margin: 1.1rem 0 0; max-width: 46rem; color: #d7cfc1;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
}
.band .vorspann strong { color: #fffdf8; font-weight: 500; }
.band .knoepfe { margin-top: 1.7rem; }
.band .leiste {
  margin: clamp(1.8rem, 4vw, 2.6rem) 0 0; padding-top: 1.4rem;
  border-top: 1px solid rgba(243,236,224,.14);
  display: grid; gap: 0.9rem 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}
/* Zuerst der Name des Problems, darunter Kennung und gemessener Wert. */
.band .leiste li { font-size: 0.78rem; color: #9b9284; letter-spacing: 0.02em; }
.band .leiste b {
  display: block; font-size: 1.08rem; line-height: 1.25;
  font-weight: 500; color: #f3ece0; letter-spacing: -0.005em; margin-bottom: 0.35rem;
}
.band .leiste .wert {
  display: block; font-family: var(--mono); font-size: 0.76rem;
  color: #b9b0a2; white-space: normal;
}
.band .leiste .kenn { color: #c9a06a; letter-spacing: 0.08em; }

/* Kopfband der Unterseiten */
.band.klein { padding: clamp(1.8rem, 4vw, 2.6rem) 0 clamp(1.4rem, 3vw, 2rem); }
.band.klein h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
.band .kennzeile { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.band .kennung {
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.06em;
  color: #f3ece0; background: rgba(243,236,224,.1);
  border: 1px solid rgba(201,160,106,.45); border-radius: 0.3rem;
  padding: 0.2rem 0.6rem;
}

/* ---- Knoepfe -------------------------------------------------------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.knopf {
  display: inline-block; text-decoration: none; font-size: 0.95rem;
  padding: 0.55rem 1.3rem; border-radius: 999px;
  border: 1px solid var(--akzent); color: var(--akzent);
  letter-spacing: 0.02em; transition: background .15s ease, color .15s ease;
}
.knopf:hover { background: var(--akzent); color: var(--flaeche); }
.knopf.voll { background: var(--akzent); color: #1a1208; border-color: var(--akzent); }
.knopf.voll:hover { background: var(--akzent-stark); border-color: var(--akzent-stark); }
.band .knopf { border-color: #c9a06a; color: #e8d6bd; }
.band .knopf:hover { background: #c9a06a; color: #14161a; }
.band .knopf.voll { background: #c9a06a; color: #14161a; }

/* ---- Abschnitte ----------------------------------------------------- */
section { scroll-margin-top: 4.5rem; padding: clamp(2.4rem, 5.5vw, 4rem) 0; }
section.getoent { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
h2.ueber {
  font-size: 0.78rem; letter-spacing: 0.17em; text-transform: uppercase;
  font-weight: 500; color: var(--akzent); margin: 0 0 0.6rem;
}
.gross {
  font-size: clamp(1.45rem, 3.2vw, 2rem); line-height: 1.28; font-weight: 400;
  margin: 0 0 1.2rem; letter-spacing: -0.012em; max-width: 34ch;
}
section p { margin: 0 0 1.1rem; max-width: 46rem; }
p.leise, .leise { color: var(--leise); }
p.klein, .klein { font-size: 0.9rem; }
.mono { font-family: var(--mono); font-size: 0.94em; }
.wert { font-family: var(--mono); color: var(--tinte); white-space: nowrap; }
mark { background: var(--akzent-hell); color: inherit; padding: 0 0.15em; }

/* ---- Standmarken ---------------------------------------------------- */
.stand {
  display: inline-block; font-size: 0.6875rem; text-transform: uppercase;
  letter-spacing: 0.13em; padding: 0.2rem 0.65rem; border-radius: 999px;
  background: var(--akzent-hell); color: var(--akzent); white-space: nowrap;
  border: 1px solid transparent;
}
.stand.offen { background: var(--akzent-hell); color: var(--akzent); }
.stand.widerlegt { background: var(--rot-hell); color: var(--rot); }
.stand.steht { background: var(--gruen-hell); color: var(--gruen); }
.stand.teil { background: var(--tinte-hell); color: var(--tinte); }
.stand.ruht { background: var(--kasten); color: var(--leise); }
.stand.fit { background: var(--kasten); color: var(--sehr-leise); border-color: var(--linie); }

/* ---- Das Register --------------------------------------------------- */
#register .rahmen { max-width: 84rem; }
.register { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.register li {
  background: var(--grund); border: 1px solid var(--linie); border-radius: 0.6rem;
  padding: 1.5rem 1.6rem 1.3rem; box-shadow: var(--schatten); position: relative;
  transition: border-color .15s ease, transform .15s ease;
  display: flex; flex-direction: column; min-height: 100%;
}
section.getoent .register li { background: var(--grund); }
.register li:hover { border-color: var(--akzent); transform: translateY(-2px); }
.register .kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.register .kennung {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--leise);
}
.register h3 { margin: 0.55rem 0 0.7rem; font-size: 1.32rem; font-weight: 500; line-height: 1.22; }
.register h3 a { color: var(--schrift); text-decoration: none; }
.register li:hover h3 a { color: var(--akzent); }
.register .formel {
  margin: 0 0 0.5rem; padding: 0.7rem 0.9rem; background: var(--kasten);
  border-left: 2px solid var(--akzent); border-radius: 0.2rem;
  font-size: 0.95rem; overflow-x: auto;
}
.register .zahl {
  font-family: var(--mono); font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--tinte); margin: 0.2rem 0 0.1rem; line-height: 1.2; word-break: break-word;
}
.register .einheit { font-size: 0.8rem; color: var(--leise); font-family: var(--serif); }
.register p.frage { font-size: 0.975rem; color: var(--leise); margin: 0.8rem 0 1rem; max-width: none; }
.register p.frage strong { color: var(--schrift); font-weight: 500; }
.register .zaehler {
  list-style: none; display: flex; gap: 1.6rem; margin: 0 0 1rem; padding: 0.9rem 0 0;
  border-top: 1px solid var(--linie-fein); flex-wrap: wrap;
}
.register .zaehler li {
  all: unset; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--leise);
}
.register .zaehler b {
  display: block; font-family: var(--mono); font-size: 1.3rem; font-weight: 400;
  color: var(--schrift); letter-spacing: 0; margin-bottom: 0.1rem;
}
.register .weiter { margin-top: auto; }
.weiter { font-size: 0.9rem; text-decoration: none; letter-spacing: 0.02em; }
.weiter::after { content: " \2192"; }

/* Zweispaltiger Abschnitt: links Ueberschrift und Leitsatz, rechts der Text.
   Nutzt die zusaetzliche Breite, ohne die Zeilenlaenge zu vergroessern. */
.doppel .rahmen {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.doppel .seitenkopf { position: sticky; top: 5.5rem; }
.doppel .seitenkopf .gross { margin-bottom: 0; }
.doppel .seitenleib > :last-child { margin-bottom: 0; }
.doppel .seitenleib p { max-width: 42rem; }

.nachsatz { margin-top: 2.6rem; font-size: 1.0625rem; font-weight: 600; }

/* Kuenftige Eintraege */
.kuenftig { list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem; }
.kuenftig li {
  font-size: 0.875rem; color: var(--leise); background: var(--kasten);
  border: 1px solid var(--linie); border-radius: 999px; padding: 0.3rem 0.85rem;
}
.kuenftig li .nr { font-family: var(--mono); font-size: 0.78em; color: var(--sehr-leise); margin-right: 0.4rem; }

/* ---- Regeln, Karten ------------------------------------------------- */
.regeln { list-style: none; margin: 2rem 0 0; padding: 0; display: grid;
  gap: 1.8rem 3rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.regeln.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.regeln h3 { margin: 0 0 0.4rem; font-size: 1.0625rem; font-weight: 500; }
.regeln h3::before {
  content: ""; display: block; width: 1.6rem; height: 2px;
  background: var(--akzent); margin-bottom: 0.7rem;
}
.regeln p { font-size: 0.9375rem; color: var(--leise); margin: 0; max-width: none; }
.regeln .nr { font-family: var(--mono); font-size: 0.78rem; color: var(--sehr-leise); }

/* ---- Problemseite: zwei Spalten ------------------------------------- */
.problem { display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) 21rem; align-items: start;
  padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.problem > article > :first-child { margin-top: 0; }
.problem h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 500; letter-spacing: -0.01em;
  margin: 2.6rem 0 0.9rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--linie);
}
.problem h3 { font-size: 1.0625rem; font-weight: 600; margin: 1.8rem 0 0.5rem; }
.problem p { margin: 0 0 1.05rem; max-width: 42rem; }
.problem ul, .problem ol { max-width: 42rem; padding-left: 1.3rem; }
.problem li { margin-bottom: 0.5rem; }

/* Steckkarte */
.steckkarte {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.6rem;
  padding: 1.3rem 1.4rem; box-shadow: var(--schatten);
  position: sticky; top: 5rem; font-size: 0.95rem;
}
.steckkarte h2 {
  font-size: 0.72rem; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--akzent); margin: 0 0 1rem; font-weight: 500;
}
.steckkarte dl { margin: 0; }
.steckkarte dt {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--leise); margin-top: 1rem;
}
.steckkarte dt:first-child { margin-top: 0; }
.steckkarte dd { margin: 0.25rem 0 0; }
.steckkarte .gross-zahl {
  font-family: var(--mono); font-size: 1.12rem; color: var(--tinte); line-height: 1.35;
  word-break: break-word;
}
.steckkarte .formel { font-size: 0.9rem; overflow-x: auto; }
.steckkarte ul { list-style: none; margin: 0.3rem 0 0; padding: 0; font-size: 0.9rem; }
.steckkarte ul li { margin-bottom: 0.3rem; }

/* ---- Eintragsliste (Loesungsversuche) ------------------------------- */
.eintraege { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; max-width: none; }
.eintraege > li {
  display: grid; gap: 0.3rem 1.3rem;
  grid-template-columns: 8.5rem minmax(0, 1fr) 8.5rem;
  padding: 1rem 0; border-top: 1px solid var(--linie-fein); align-items: start;
  margin: 0;
}
.eintraege > li:first-child { border-top: 1px solid var(--linie); }
.eintraege > li:last-child { border-bottom: 1px solid var(--linie); }
.eintraege .jahr {
  font-family: var(--mono); font-size: 0.82rem; color: var(--leise);
  letter-spacing: 0.02em; padding-top: 0.15rem;
}
.eintraege .jahr b { display: block; color: var(--schrift); font-weight: 500;
  font-family: var(--serif); font-size: 1.02rem; letter-spacing: 0; }
.eintraege .sache { font-size: 0.975rem; }
.eintraege .sache p { margin: 0 0 0.5rem; max-width: 42rem; }
.eintraege .sache p:last-child { margin-bottom: 0; }
.eintraege .sache .warum { color: var(--leise); }
.eintraege .sache .warum b { color: var(--schrift); font-weight: 500; }
.eintraege .marke { text-align: right; padding-top: 0.2rem; }

/* Kasten fuer Hinweise */
.kasten {
  background: var(--kasten); border: 1px solid var(--linie); border-left: 3px solid var(--akzent);
  border-radius: 0.3rem; padding: 1.1rem 1.3rem; margin: 1.6rem 0; font-size: 0.975rem;
  max-width: 46rem;
}
.kasten p { margin: 0 0 0.7rem; max-width: none; }
.kasten p:last-child { margin-bottom: 0; }
.kasten h3 { margin: 0 0 0.5rem; font-size: 0.95rem; font-weight: 600; }
.kasten.warnung { border-left-color: var(--rot); }

/* Formelblock */
.formelblock {
  margin: 1.4rem 0; padding: 1rem 1.2rem; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 0.4rem; overflow-x: auto;
  max-width: 46rem;
}
.formelblock .bz { font-size: 0.85rem; color: var(--leise); margin: 0.4rem 0 0; }

/* Quellenliste */
.quellen { list-style: none; margin: 1.2rem 0 0; padding: 0; font-size: 0.95rem; max-width: 46rem; }
.quellen li { margin-bottom: 0.7rem; padding-left: 1.4rem; text-indent: -1.4rem; color: var(--leise); }
.quellen li b { color: var(--schrift); font-weight: 500; }

/* ---- Fliesstext der Nebenseiten ------------------------------------- */
main.text { padding: clamp(2.2rem, 5vw, 3.5rem) 0 2.5rem; }
main.text h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); font-weight: 400; margin: 0 0 1.4rem; letter-spacing: -0.012em; }
main.text h2 { font-size: 1.22rem; font-weight: 500; margin: 2.4rem 0 0.8rem; }
main.text h3 { font-size: 1.02rem; font-weight: 600; margin: 1.6rem 0 0.5rem; }
main.text p, main.text li { max-width: 46rem; }
main.text .quelle { font-size: 0.9rem; color: var(--leise); }
main.text ol, main.text ul { padding-left: 1.3rem; }
main.text li { margin-bottom: 0.55rem; }

/* ---- Kontakt, Fuss -------------------------------------------------- */
.kontakt { text-align: center; }
.kontakt .gross { margin-left: auto; margin-right: auto; }
.kontakt p { max-width: 38rem; margin-left: auto; margin-right: auto; color: var(--leise); }
.post { font-size: clamp(1.1rem, 3vw, 1.4rem); word-break: break-word; }

.geschwister { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr)); }
.geschwister li {
  border: 1px solid var(--linie); border-radius: 0.5rem; padding: 1.1rem 1.2rem;
  background: var(--grund); font-size: 0.925rem; color: var(--leise);
}
.geschwister h3 { margin: 0 0 0.4rem; font-size: 1.02rem; font-weight: 500; }
.geschwister h3 a { color: var(--schrift); text-decoration: none; }
.geschwister li:hover h3 a { color: var(--akzent); }
.geschwister p { margin: 0; max-width: none; }

footer {
  border-top: 1px solid var(--linie); background: var(--flaeche);
  padding: 2rem 0 3rem; font-size: 0.8125rem; color: var(--leise);
}
footer .rahmen { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; align-items: baseline; justify-content: space-between; }
footer a { color: var(--leise); }
footer a:hover { color: var(--akzent); }
footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---- Enge Schirme --------------------------------------------------- */
@media (max-width: 76rem) {
  .problem { grid-template-columns: minmax(0, 1fr) 18rem; }
}
@media (max-width: 66rem) {
  .register { grid-template-columns: minmax(0, 1fr); }
  .geschwister { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .regeln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 66rem) {
  .doppel .rahmen { grid-template-columns: minmax(0, 1fr); }
  .doppel .seitenkopf { position: static; }
}
@media (max-width: 58rem) {
  .problem { grid-template-columns: minmax(0, 1fr); }
  .steckkarte { position: static; order: -1; }
  .band .leiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  header.kopf { position: static; }
  nav.haupt { gap: 1rem; font-size: 0.72rem; }
}
@media (max-width: 46rem) {
  /* Kopfzeile stapeln: die Wortmarke bleibt einzeilig, die Navigation
     steht darunter ueber die ganze Breite. */
  header.kopf .rahmen { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .marke { flex: 1 1 100%; }
  nav.haupt { flex: 1 1 100%; gap: 0.9rem; font-size: 0.7rem; }
  .regeln, .regeln.zwei { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .eintraege > li { grid-template-columns: minmax(0, 1fr); }
  .eintraege .marke { text-align: left; padding-top: 0; }
  .eintraege .jahr b { display: inline; margin-right: 0.5rem; }
}
@media (max-width: 30rem) {
  body { font-size: 1.0625rem; }
  .geschwister { grid-template-columns: minmax(0, 1fr); }
  .register li { padding: 1.2rem 1.1rem; }
  .band .leiste { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- Druck ---------------------------------------------------------- */
@media print {
  header.kopf, footer nav, .knoepfe, .ueberspringen { display: none; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .band { background: #fff; color: #000; border-bottom: 1pt solid #000; }
  .band h1 .zweit, .band .dach, .band .vorspann { color: #000; }
  .steckkarte { position: static; box-shadow: none; }
  .problem { grid-template-columns: minmax(0, 1fr); }
  a { color: #000; }
}
