@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("schriften/figtree-latin.woff2") format("woff2");
  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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("schriften/figtree-latin-ext.woff2") format("woff2");
  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: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("schriften/caprasimo-latin.woff2") format("woff2");
  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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caprasimo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("schriften/caprasimo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@page { size: A4 portrait; margin: 14mm 15mm 12mm; }

:root {
  --ink: #1c2b22;
  --soft: #5c6b62;
  --accent: #2f6b4f;
  --sand: #e4efe8;
  --linie: #d3e0d8;
  --gold: #c9a66b;
  --rot: #b4451f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #e8ece9;
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 10pt;
  line-height: 1.45;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.leiste {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
}

.leiste p { margin: 0; flex: 1; min-width: 200px; }

.leiste button {
  font: inherit;
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  cursor: pointer;
}

.leiste button:hover { background: #f3f6f4; }

.blatt {
  background: #fff;
  width: 210mm;
  min-height: 297mm;
  margin: 18px auto;
  padding: 14mm 15mm 12mm;
  box-shadow: 0 2px 16px rgba(20, 40, 30, 0.14);
}

.kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12pt;
  border-bottom: 2.5pt solid var(--accent);
  padding-bottom: 5pt;
}

.marke {
  font-family: "Caprasimo", Georgia, serif;
  font-size: 21pt;
  line-height: 1;
  color: var(--accent);
}

.marke .punkt { color: var(--gold); }

.marke .endung { color: var(--accent); }

.kopf .rechts { text-align: right; font-size: 8.5pt; color: var(--soft); }

h1 { font-size: 26pt; font-weight: 800; margin: 12pt 0 1pt; letter-spacing: -0.01em; }

.blatt-liste h1 { font-size: 17pt; margin-top: 7pt; }

.blatt-liste .unterzeile { font-size: 9.5pt; margin-bottom: 8pt; }

.unterzeile { color: var(--soft); font-size: 11.5pt; margin: 0 0 18pt; }

.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7pt; margin-bottom: 17pt; }

.zahl { background: var(--sand); border-radius: 8pt; padding: 14pt 4pt; text-align: center; }

.zahl strong { display: block; font-size: 30pt; font-weight: 800; color: var(--accent); line-height: 1.05; }

.zahl span { font-size: 8.5pt; color: var(--soft); }

.sieger {
  background: #fff6e0;
  border: 1pt solid #e8d5a8;
  border-radius: 8pt;
  padding: 12pt 14pt;
  margin-bottom: 18pt;
  font-size: 13pt;
}

.sieger strong { font-weight: 800; }

h2 {
  font-size: 9pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin: 0 0 5pt;
  padding-bottom: 2.5pt;
  border-bottom: 1pt solid var(--linie);
}

.block { margin-bottom: 17pt; break-inside: avoid; }

table { width: 100%; border-collapse: collapse; }

.rang td { padding: 5.2pt 0; font-size: 11pt; border-bottom: 0.5pt solid #edf2ef; }

.rang tr:last-child td { border-bottom: none; }

.rang thead td {
  font-size: 7.5pt;
  font-weight: 600;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1pt solid var(--linie);
  padding-bottom: 2pt;
}

.rang .platz { width: 15pt; color: var(--soft); font-variant-numeric: tabular-nums; }

.rang .name { font-weight: 650; }

.rang .zahl-sp { width: 52pt; text-align: right; font-variant-numeric: tabular-nums; }

.rang .stark { color: var(--accent); font-weight: 750; }

.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 13pt; }

.abzeichen { display: grid; grid-template-columns: 1fr 1fr; gap: 5pt 14pt; }

.ab { display: flex; gap: 6pt; align-items: baseline; font-size: 9.5pt; line-height: 1.3; }

.ab .z { font-size: 12pt; }

.ab .oben { display: block; }

.ab .n { font-weight: 700; }

.ab .w { display: block; font-size: 8.5pt; line-height: 1.3; color: var(--soft); }

.balkenliste p { margin: 0 0 5pt; display: flex; align-items: center; gap: 6pt; font-size: 9.5pt; }

.balkenliste .wort { width: 78pt; font-weight: 600; }

.balken { flex: 1; height: 7pt; background: #edf2ef; border-radius: 3.5pt; overflow: hidden; }

.balken i { display: block; height: 100%; background: var(--accent); border-radius: 3.5pt; }

.balkenliste .wert { width: 30pt; text-align: right; color: var(--soft); font-variant-numeric: tabular-nums; }

.gruppe { margin-bottom: 6pt; break-inside: auto; }

.gruppe h3 { font-size: 10.5pt; font-weight: 800; color: var(--accent); margin: 0 0 2pt; break-after: avoid; break-inside: avoid; }

.gruppe h3 span { font-size: 9pt; font-weight: 600; color: var(--soft); }

.arten-fluss { column-count: 2; column-gap: 16pt; column-fill: balance; }

.art-eintrag {
  break-inside: avoid;
  padding: 1.3pt 0 1.7pt;
  border-bottom: 0.5pt solid #f0f4f1;
}

.art-oben {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6pt;
  margin: 0;
  line-height: 1.2;
}

.arten .art { font-size: 9.5pt; font-weight: 650; }

.arten .latin { margin: 0; font-size: 8pt; font-style: italic; line-height: 1.15; color: var(--soft); }

.arten .finder { font-size: 8.5pt; text-align: right; }

.arten .erst { color: var(--accent); font-weight: 700; white-space: nowrap; }

.arten .weitere { color: var(--soft); }

.rl { color: var(--rot); font-size: 8pt; margin-left: 3pt; vertical-align: 1pt; }

.hinweis {
  background: var(--sand);
  border-radius: 7pt;
  padding: 7pt 10pt;
  margin-top: 3pt;
  font-size: 9pt;
  break-inside: avoid;
}

.hinweis strong { color: var(--rot); }

.fuss {
  display: flex;
  justify-content: space-between;
  gap: 12pt;
  margin-top: 11pt;
  padding-top: 6pt;
  border-top: 1pt solid var(--linie);
  font-size: 7.8pt;
  color: var(--soft);
}

.leer { max-width: 30em; margin: 60px auto; text-align: center; color: var(--soft); }

.leer h1 { font-size: 20pt; color: var(--ink); }

.leer a { color: var(--accent); }

@media print {
  body { background: #fff; }
  .leiste { display: none; }
  .blatt { width: auto; min-height: 0; margin: 0; padding: 0; box-shadow: none; break-after: page; }
  .blatt:last-of-type { break-after: auto; }
}

@media screen and (max-width: 230mm) {
  .blatt { width: auto; max-width: 210mm; padding: 20px; }
}
