/* Karlchens Runde – Stylesheet
   Farben: Tischgrün (Filz), Kartenkarton, Herzrot, Kreuzschwarz, Bleistiftgrau. */

@font-face {
  font-family: 'Literata';
  src: url('/assets/fonts/literata.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Literata';
  src: url('/assets/fonts/literata-italic.woff2') format('woff2');
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --gruen: #1b3a2f;
  --gruen-tief: #10261e;
  --gruen-filz: #24493b;
  --gruen-hell: #dfe8e0;
  --papier: #faf6ec;
  --karton: #f0e8d6;
  --kartenweiss: #fffdf7;
  --rot: #a8231c;
  --rot-hell: #f6e3df;
  --tinte: #1d1d1b;
  --blei: #555a51;
  --linie: #d8cdb4;
  --holz: #6a4128;

  --card-red: #b0261d;
  --card-black: #1d1d1b;

  --schrift: 'Literata', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --ui: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --rand: clamp(1rem, 4vw, 2.5rem);
  --breite: 74rem;
  --text: 40rem;
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

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

a { color: var(--gruen); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rot); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 3px;
  border-radius: 3px;
}
main:focus { outline: none; }

h1, h2, h3 {
  font-family: var(--schrift);
  line-height: 1.15;
  letter-spacing: -.012em;
  text-wrap: balance;
  hyphens: manual;
  -webkit-hyphens: manual;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.75rem); font-weight: 650; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 620; margin: 2.2em 0 .6em; }
h3 { font-size: 1.3rem; font-weight: 650; margin: 1.8em 0 .4em; letter-spacing: 0; }
p { margin: 0 0 1.1em; }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.sprung {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--kartenweiss); color: var(--tinte); padding: .6rem 1rem;
  font-family: var(--ui); font-size: 1rem; border-radius: 6px;
}
.sprung:focus { top: 1rem; }

.rahmen { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }

/* ------------------------------------------------------------------ Kopf */

.kopf { background: var(--gruen-tief); color: var(--papier); }
.kopf-innen {
  max-width: var(--breite); margin-inline: auto; padding: .9rem var(--rand);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem;
}
.marke {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--papier); text-decoration: none;
}
.marke:hover { color: var(--papier); }
.marke-zeichen { width: 1.7rem; height: 2.2rem; flex: none; }
.marke-zeichen rect { fill: var(--kartenweiss); }
.marke-zeichen use { fill: var(--gruen-tief); }
.marke-name { font-size: 1.35rem; font-weight: 650; letter-spacing: -.01em; }

.hauptnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; margin: 0; padding: 0; }
.hauptnav a {
  display: inline-block; padding: .45rem 0;
  font-family: var(--ui); font-size: 1rem; font-weight: 500;
  color: var(--papier); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.hauptnav a:hover { color: #fff; border-bottom-color: rgba(250, 246, 236, .5); }
.hauptnav a[aria-current='page'], .hauptnav a.im-bereich { border-bottom-color: var(--card-red); }
.kopf :focus-visible { outline-color: #f1c9c3; }

@media (max-width: 560px) {
  .kopf-innen { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .hauptnav ul { gap: .1rem 1.2rem; }
}

/* ------------------------------------------------------------------ Brotkrumen */

.brotkrumen ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; margin: 1.4rem 0 0; padding: 0;
  font-family: var(--ui); font-size: .9rem; color: var(--blei);
}
.brotkrumen li + li::before { content: '/'; margin: 0 .45rem 0 .25rem; color: var(--linie); }
.brotkrumen a { color: var(--blei); }

/* ------------------------------------------------------------------ Knöpfe */

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.9rem; padding: .6rem 1.35rem; border-radius: 999px;
  font-family: var(--ui); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 2px solid currentColor;
}
.knopf-voll { background: var(--papier); color: var(--gruen-tief); border-color: var(--papier); }
.knopf-voll:hover { background: #fff; color: var(--gruen-tief); border-color: #fff; }
.knopf-linie { color: var(--papier); }
.knopf-linie:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.knopf-gruen { background: var(--gruen); color: var(--papier); border-color: var(--gruen); }
.knopf-gruen:hover { background: var(--gruen-tief); border-color: var(--gruen-tief); color: #fff; }

/* ------------------------------------------------------------------ Startseite: Willkommen am Tisch */

.tisch {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 70% 40%, rgba(255, 255, 255, .06), transparent 70%),
    var(--gruen);
  color: var(--papier);
  border-bottom: 14px solid var(--holz);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.tisch-innen {
  max-width: var(--breite); margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) var(--rand) 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; align-items: end;
}
.tisch-text { padding-bottom: clamp(2.5rem, 6vw, 5rem); max-width: 34rem; }
.tisch h1 {
  font-size: clamp(2.8rem, 1.6rem + 5vw, 5.2rem); font-weight: 680; line-height: 1;
  letter-spacing: -.025em; margin-bottom: .3em; color: #fff;
}
.untertitel { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-style: italic; color: #e9e1cd; margin-bottom: 1.4em; }
.tisch-einladung { font-size: 1.15rem; color: #f3eee2; max-width: 32rem; hyphens: manual; -webkit-hyphens: manual; }
.tisch-knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.tisch-bild { position: relative; align-self: end; justify-self: center; width: min(100%, 30rem); }
.tisch-bild .karlchen { margin: 0; }
.tisch-bild .blatt { position: absolute; left: -18%; bottom: -1.6rem; width: 50%; transform: rotate(-8deg); }

@media (max-width: 820px) {
  .tisch-innen { grid-template-columns: 1fr; }
  .tisch-text { padding-bottom: 0; }
  .tisch-bild { width: min(100%, 24rem); }
}

/* Karlchen und Sprechblase */
.karlchen { position: relative; margin: 0; }
.karlchen img { width: 100%; }
.sprechblase {
  position: relative; display: inline-block; margin: 0 0 .9rem;
  background: var(--kartenweiss); color: var(--tinte);
  padding: .6rem 1.1rem; border-radius: 1.2rem;
  font-size: 1.1rem; font-style: italic; line-height: 1.35;
  border: 2px solid var(--tinte);
}
.sprechblase::after {
  content: ''; position: absolute; bottom: -12px; left: 2.2rem;
  width: 18px; height: 18px; background: var(--kartenweiss);
  border-right: 2px solid var(--tinte); border-bottom: 2px solid var(--tinte);
  transform: skewX(-20deg) rotate(45deg);
}
.karlchen-begruessen .sprechblase { font-size: 1.25rem; margin-left: 12%; }
/* Illustration als Bild: breiter, Tisch sitzt auf der Holzkante */
.tisch-bild:has(.karlchen-bild) { width: min(100%, 40rem); }
.karlchen-bild.karlchen-begruessen .sprechblase { margin-left: 30%; margin-bottom: .2rem; }
@media (max-width: 820px) { .tisch-bild:has(.karlchen-bild) { width: min(100%, 34rem); } }

/* Aufgefächertes Blatt */
.blatt { display: flex; justify-content: center; padding-top: 1rem; }
.blatt-karte {
  width: 26%; margin-inline: -5%;
  transform-origin: 50% 120%;
  transform: rotate(calc(var(--i) * 9deg)) translateY(calc(var(--i) * var(--i) * 3px));
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3));
}
@media (prefers-reduced-motion: no-preference) {
  .blatt-karte { animation: austeilen .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc((var(--i) + 2) * 70ms); }
  @keyframes austeilen {
    from { transform: rotate(0) translateY(40px); opacity: 0; }
  }
}

/* Spielkarten allgemein */
.karte { display: block; }
.karte-flaeche { fill: var(--kartenweiss); stroke: #b9ad94; stroke-width: 1.5; }
.karte text { font-family: var(--schrift); }
/* Illustrierte Karten: weiße Bildecken abrunden wie beim gezeichneten Blatt */
img.karte-bild { width: 100%; height: auto; border-radius: 7% / 5%; background: var(--kartenweiss); }

/* ------------------------------------------------------------------ Startseiten-Abschnitte */

.abschnitt { padding-block: clamp(3rem, 7vw, 5.5rem); }
.abschnitt h2 { margin-top: 0; }
.abschnitt-kopf { max-width: 40rem; margin-bottom: 2.2rem; }
.abschnitt-kopf p { color: var(--blei); font-size: 1.15rem; }
.abschnitt-karton { background: var(--karton); }

.einstiege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.2rem; list-style: none; margin: 0; padding: 0; }
.einstieg { border-top: 3px solid var(--tinte); padding-top: 1.1rem; }
.einstieg.rot { border-top-color: var(--card-red); }
.einstieg svg { width: 1.6rem; height: 1.6rem; fill: var(--tinte); }
.einstieg.rot svg { fill: var(--card-red); }
.einstieg h3 { margin: .5rem 0 .4rem; font-size: 1.4rem; }
.einstieg h3 a { text-decoration: none; color: var(--tinte); }
.einstieg h3 a:hover { color: var(--rot); text-decoration: underline; }
.einstieg p { color: var(--blei); margin: 0; font-size: 1.05rem; }
@media (max-width: 760px) { .einstiege { grid-template-columns: 1fr; } }

.kultur-paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.kultur-stueck {
  display: flex; flex-direction: column; gap: .6rem;
  padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius);
  text-decoration: none; min-height: 17rem;
}
.kultur-stueck.dunkel { background: var(--gruen); color: var(--papier); }
.kultur-stueck.hell { background: var(--kartenweiss); color: var(--tinte); border: 1px solid var(--linie); }
.kultur-stueck svg { width: 2rem; height: 2rem; }
.kultur-stueck.dunkel svg { fill: #f1c9c3; }
.kultur-stueck.hell svg { fill: var(--card-red); }
.kultur-titel { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); font-weight: 650; line-height: 1.15; letter-spacing: -.01em; }
.kultur-text { font-size: 1.05rem; opacity: .9; }
.kultur-weiter { margin-top: auto; font-family: var(--ui); font-weight: 600; font-size: 1rem; text-decoration: underline; text-underline-offset: .2em; }
.kultur-stueck:hover .kultur-titel { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
@media (max-width: 760px) { .kultur-paar { grid-template-columns: 1fr; } }

.zubehoer-hinweis { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.zubehoer-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.zubehoer-liste li { padding: .8rem 0; border-bottom: 1px solid var(--linie); }
.zubehoer-liste strong { display: block; font-size: 1.1rem; }
.zubehoer-liste span { color: var(--blei); font-size: 1rem; }
@media (max-width: 760px) { .zubehoer-hinweis { grid-template-columns: 1fr; } }

.ueber { max-width: 42rem; }
.ueber h2 { margin-top: 0; }

/* ------------------------------------------------------------------ Seitenkopf und Artikel */

.seitenkopf, .artikel-kopf { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 1rem; }
.seitenkopf h1, .artikel-kopf h1 { max-width: 22ch; }
.vorspann { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); line-height: 1.55; color: #3b3e37; max-width: 40rem; }
.artikel-meta { font-family: var(--ui); font-size: .92rem; color: var(--blei); }

.artikel-raster { display: block; padding-bottom: 3rem; }
.fliesstext { max-width: var(--text); min-width: 0; }
.fliesstext > h2:first-child { margin-top: 1rem; }
.fliesstext ul, .fliesstext ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.fliesstext li { margin-bottom: .35em; }
.fliesstext li::marker { color: var(--gruen); }
.fliesstext strong { font-weight: 650; }

@media (min-width: 1000px) {
  .mit-verzeichnis .artikel-raster { display: grid; grid-template-columns: 15rem minmax(0, var(--text)); gap: 4rem; }
  .inhalt-verzeichnis { position: sticky; top: 1.5rem; align-self: start; max-height: calc(100vh - 3rem); overflow: auto; }
}

.inhalt-verzeichnis {
  font-family: var(--ui); font-size: .95rem; line-height: 1.4;
  margin: 1rem 0 2rem;
}
.inhalt-verzeichnis summary { font-weight: 650; cursor: pointer; padding: .3rem 0; }
.inhalt-verzeichnis ol { list-style: none; margin: .5rem 0 0; padding: 0; border-left: 2px solid var(--linie); }
.inhalt-verzeichnis li { margin: 0; }
.inhalt-verzeichnis a { display: block; padding: .35rem 0 .35rem .9rem; color: var(--blei); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.inhalt-verzeichnis a:hover { color: var(--tinte); border-left-color: var(--rot); }
@media (max-width: 999px) {
  .inhalt-verzeichnis { background: var(--kartenweiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: .6rem 1rem; }
}

/* Karlchen im Artikel */
.karlchen-erklaeren, .karlchen-erzaehlen { max-width: 15rem; }
.karlchen-erklaeren .sprechblase, .karlchen-erzaehlen .sprechblase { font-size: 1rem; }
@media (min-width: 700px) {
  .fliesstext .karlchen { float: right; width: 14rem; margin: 0 -1rem 1rem 1.8rem; shape-outside: margin-box; }
}
@media (max-width: 699px) {
  .fliesstext .karlchen { margin: 1.5rem auto; }
}

/* Regelkästen: Turnierregel und Hausregel klar getrennt */
.regel {
  margin: 1.6rem 0; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  font-size: 1.05rem;
}
.regel > :last-child { margin-bottom: 0; }
.regel-art { display: block; font-family: var(--ui); font-size: .9rem; font-weight: 700; margin-bottom: .35rem; }
.regel-turnier { background: var(--gruen-hell); border-left: 5px solid var(--gruen); }
.regel-turnier .regel-art { color: var(--gruen); }
.regel-haus { background: var(--kartenweiss); border: 2px dashed #c98b84; }
.regel-haus .regel-art { color: var(--rot); }
.merke { background: var(--kartenweiss); border: 1px solid var(--linie); }
.merke .regel-art { color: var(--tinte); }

/* Tabellen */
.tabelle { overflow-x: auto; margin: 1.4rem 0 1.8rem; }
.tabelle:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
caption { text-align: left; font-family: var(--ui); font-size: .92rem; color: var(--blei); padding-bottom: .5rem; caption-side: top; }
th, td { text-align: left; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
thead th { font-family: var(--ui); font-size: .92rem; border-bottom: 2px solid var(--tinte); }
td.zahl, th.zahl { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; padding-left: .8rem; }
tfoot td { font-weight: 650; border-bottom: none; border-top: 2px solid var(--tinte); }

/* Trumpfleiter */
.trumpfleiter { margin: 1.8rem 0 2.2rem; clear: both; }
.tl-liste {
  list-style: none; margin: 0; padding: .6rem .2rem 1rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 5.2rem; gap: .7rem;
  overflow-x: auto; scroll-snap-type: x proximity;
}
.fliesstext .tl-liste { padding-left: .2rem; }
.tl-liste li { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.25; }
.tl-liste .karte { width: 100%; filter: drop-shadow(0 2px 3px rgba(40, 30, 10, .18)); margin-bottom: .45rem; }
.tl-rang { font-family: var(--ui); font-size: .8rem; color: var(--blei); }
.tl-name { font-size: .85rem; font-weight: 650; hyphens: manual; }
.tl-spitz { font-size: .8rem; font-style: italic; color: var(--rot); }
.trumpfleiter figcaption { font-family: var(--ui); font-size: .92rem; color: var(--blei); line-height: 1.5; }
@media (min-width: 1000px) {
  .mit-verzeichnis .trumpfleiter { margin-right: calc(-1 * (100vw - var(--text)) / 6); }
}

.kartenreihe { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; }
.kartenreihe .karte { width: 4.2rem; filter: drop-shadow(0 2px 3px rgba(40, 30, 10, .18)); }

/* Fußnoten und Quellen */
.fn { line-height: 0; font-family: var(--ui); font-size: .7em; margin-left: .1em; }
.fn a { text-decoration: none; padding: 0 .1em; }
.quellen { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--linie); font-size: .95rem; line-height: 1.55; color: #3b3e37; }
.quellen h2 { font-size: 1.3rem; margin-top: .5rem; }
.quellen ol { padding-left: 1.6rem; }
.quellen li { margin-bottom: .6em; overflow-wrap: anywhere; }
.quellen li:target { background: var(--rot-hell); }

/* Teaser */
.teaser-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem 1.5rem; }
.teaser {
  display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-content: start;
  padding: 1.2rem 1.3rem; background: var(--kartenweiss); border: 1px solid var(--linie); border-radius: var(--radius);
  text-decoration: none; color: var(--tinte);
}
.teaser:hover { border-color: var(--gruen); color: var(--tinte); }
.teaser:hover .teaser-titel { text-decoration: underline; }
.teaser-symbol { grid-row: span 2; width: 1.5rem; height: 1.5rem; fill: var(--gruen); margin-top: .3rem; }
.teaser-titel { font-size: 1.2rem; font-weight: 650; line-height: 1.25; }
.teaser-text { color: var(--blei); font-size: 1rem; line-height: 1.5; }
.weiterlesen { padding: 1rem 0 4rem; }
.weiterlesen h2 { margin-top: 0; }

/* Spielkultur-Übersicht */
.hub-raster { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; padding-bottom: 4rem; }
.hub-liste { display: grid; gap: 1.5rem; }
.hub-seite .karlchen-erzaehlen { max-width: 17rem; margin-inline: auto; }
@media (max-width: 800px) { .hub-raster { grid-template-columns: 1fr; } .hub-seite .karlchen-erzaehlen { order: -1; max-width: 13rem; } }

/* Produkte */
.offenlegung {
  margin: 1.5rem 0 2rem; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--karton); font-size: 1rem; line-height: 1.55;
}
.offenlegung p { margin: 0; }
.produktliste { display: grid; gap: 1.2rem; margin: 1.4rem 0 2.4rem; }
.produkt {
  padding: 1.3rem 1.4rem 1.1rem; background: var(--kartenweiss);
  border: 1px solid var(--linie); border-radius: var(--radius);
}
.produkt h3 { margin: 0; font-size: 1.25rem; }
.produkt-herkunft { font-family: var(--ui); font-size: .92rem; color: var(--blei); margin: .15rem 0 .8rem; }
.produkt p { font-size: 1.02rem; }
.produkt-fakten { font-size: .98rem; color: #3b3e37; }
.produkt-passt { background: var(--papier); padding: .6rem .8rem; border-radius: 6px; }
.produkt-link { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1rem 0 .4rem; }
.knopf-haendler { min-height: 2.6rem; font-size: .98rem; background: var(--gruen); color: var(--papier); border-color: var(--gruen); }
.knopf-haendler:hover { background: var(--gruen-tief); border-color: var(--gruen-tief); color: #fff; }
.werbelink { font-family: var(--ui); font-size: .85rem; border: 1px solid var(--blei); color: var(--blei); padding: .1rem .5rem; border-radius: 4px; }
.produkt-stand { font-family: var(--ui); font-size: .82rem; color: var(--blei); margin: 0; }

/* Offene Punkte in Rechtstexten */
.offen { background: #fff2b8; padding: 0 .25em; border-radius: 3px; }
.hinweis-offen { background: #fff7d6; border: 1px solid #e2c766; padding: .8rem 1rem; border-radius: var(--radius); font-size: 1rem; }

code { font-size: .88em; background: var(--karton); padding: .1em .3em; border-radius: 4px; }

/* ------------------------------------------------------------------ Fuß */

.fuss { background: var(--gruen-tief); color: #e5dfcf; margin-top: 0; font-size: 1rem; }
.fuss-innen {
  max-width: var(--breite); margin-inline: auto; padding: 3rem var(--rand) 1.5rem;
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem;
}
.fuss-name { font-size: 1.3rem; font-weight: 650; color: #fff; margin-bottom: .3rem; }
.fuss-titel { font-family: var(--ui); font-weight: 650; font-size: .95rem; color: #fff; margin-bottom: .5rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .35rem; }
.fuss a { color: #e5dfcf; }
.fuss a:hover { color: #fff; }
.fuss a[aria-current='page'] { color: #fff; font-weight: 650; }
.fuss a.im-bereich { color: #fff; }
.fuss :focus-visible { outline-color: #f1c9c3; }
.fuss-notiz {
  max-width: var(--breite); margin: 0 auto; padding: 1.2rem var(--rand) 2rem;
  font-family: var(--ui); font-size: .85rem; color: #b8c2b9; border-top: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 700px) { .fuss-innen { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }

/* Übergang am Seitenende ohne doppelte Abstände */
.seite-home main > :last-child { margin-bottom: 0; }

@media print {
  .kopf, .fuss, .inhalt-verzeichnis, .sprung, .karlchen { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  a { color: inherit; }
}

/* Zeitleiste (Geschichte) */
.zeitleiste { list-style: none; margin: 1.8rem 0 2rem; padding: 0; position: relative; }
.zeitleiste::before { content: ''; position: absolute; left: .45rem; top: .6rem; bottom: .6rem; width: 2px; background: var(--linie); }
.zeitleiste li { position: relative; padding-left: 2.2rem; margin: 0 0 1.4rem; }
.zeitleiste li::before {
  content: ''; position: absolute; left: 0; top: .45rem; width: 1rem; height: 1rem;
  background: var(--papier); border: 3px solid var(--gruen); border-radius: 50%;
}
.zl-zeit { font-family: var(--ui); font-weight: 700; font-size: .95rem; color: var(--gruen); margin: 0 0 .2rem; }
.zl-text p { margin: 0; }

/* Glossar */
.glossar { margin: 1.2rem 0 1.6rem; border-top: 1px solid var(--linie); }
.glossar dt { font-weight: 650; padding-top: .8rem; }
.glossar dd { margin: .1rem 0 0; padding-bottom: .8rem; border-bottom: 1px solid var(--linie); color: #3b3e37; }
@media (min-width: 640px) {
  .glossar { display: grid; grid-template-columns: 11rem 1fr; }
  .glossar dt, .glossar dd { padding-block: .8rem; border-bottom: 1px solid var(--linie); margin: 0; }
}
.glossar dt { scroll-margin-top: 1.5rem; }
.glossar dt:target, .glossar dt:target + dd { background: var(--gruen-hell); }
.marke-haus {
  display: inline-block; font-family: var(--ui); font-size: .72rem; font-weight: 600;
  letter-spacing: .02em; padding: .05rem .4rem; border: 1px dashed var(--blei);
  border-radius: 4px; color: var(--blei); vertical-align: .1em; white-space: nowrap;
}

/* Nur im Druck sichtbar bzw. ausgeblendet */
.nur-druck { display: none; }

/* Druck: sauberes A4-Blatt ohne Navigation */
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; color: #000 !important; }
  body { font-size: 11pt; }
  .sprung, .kopf, .fuss, .brotkrumen, .inhalt-verzeichnis, .weiterlesen, .kein-druck, .offenlegung, .produkt { display: none !important; }
  .nur-druck { display: block !important; }
  a { color: inherit !important; text-decoration: none !important; }
  .artikel-raster, .rahmen { display: block !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
  table, figure, .regel, tr { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; color: #000 !important; }
  .regel { border: 1px solid #000 !important; background: #fff !important; }
}

/* Punktezettel */
.punktezettel table { width: 100%; table-layout: fixed; }
.punktezettel th:first-child { width: 3.2rem; }
.punktezettel th:last-child { width: 24%; }
.punktezettel tbody td, .punktezettel tbody th, .punktezettel tfoot td, .punktezettel tfoot th { height: 1.9rem; border: 1px solid var(--linie); }
.punktezettel thead th { font-size: .9rem; }
.zettel-hinweis, .spielwerte-klein { font-size: .9rem; }
@media print {
  .punktezettel tbody td, .punktezettel tbody th, .punktezettel tfoot td, .punktezettel tfoot th { height: 7mm; border: 1px solid #000 !important; padding: 0 2mm; }
  .punktezettel caption { font-size: 11pt; text-align: left; margin-bottom: 2mm; }
  .zettel-seite .artikel-kopf { display: none !important; }
  .druckseite .quellen, .druckseite .artikel-meta, .druckseite .vorspann { display: none !important; }
  .zettel-hinweis, .spielwerte-klein, .zettel-fuss { font-size: 8.5pt; margin: 2mm 0; }
  .spielwerte-klein table, .spielwerte-klein td, .spielwerte-klein caption { font-size: 8.5pt; line-height: 1.3; }
  .spielwerte-klein td { border: 1px solid #999 !important; padding: 1mm 2mm; }
  .spielwerte-klein td.zahl { white-space: nowrap; width: 9mm; }
  .tabelle { overflow: visible !important; }
}

/* Spickzettel */
.spickzettel section { margin-bottom: 1.2rem; }
.sz-trumpf { columns: 2; column-gap: 2rem; padding-left: 1.6rem; }
.sz-linien { line-height: 2; overflow-wrap: anywhere; }
@media print {
  .spickzettel { columns: 2; column-gap: 7mm; font-size: 8.6pt; line-height: 1.3; }
  .spickzettel section { break-inside: avoid; margin: 0 0 3mm; }
  .spickzettel h2 { font-size: 10pt; margin: 0 0 1mm; }
  .spickzettel ul, .spickzettel ol { margin: 0; padding-left: 4mm; }
  .spickzettel p { margin: 0 0 1mm; }
  .spickzettel .tabelle { margin: 1mm 0; }
  .spickzettel table, .spickzettel thead th { font-size: inherit; line-height: inherit; }
  .spickzettel td, .spickzettel th { padding: .3mm 1.5mm; }
  .sz-trumpf { columns: 2; column-gap: 4mm; padding-left: 5mm; }
  .druckseite .artikel-kopf h1 { font-size: 15pt; margin: 0 0 2mm; }
  .spick-titel { font-size: 9pt; margin: 0 0 3mm; }
}
