/* SPREEZEITUNG – statische Fassung */

/* Erscheinungsdatum: in Artikeln sichtbar, in Übersichten ausgeblendet.
   Überall zeigen: nächste Zeile löschen. Überall ausblenden: ".karte .datum, .aufmacher .datum" durch ".datum" ersetzen. */
.karte .datum, .aufmacher .datum { display: none; }

:root {
  --rot: #b3121b;
  --rot-dunkel: #8e0e15;
  --grau: #8a8a8a;
  --tinte: #1a1a1a;
  --text: #2b2b2b;
  --leise: #666;
  --linie: #e2e2e2;
  --flaeche: #f6f5f2;
  --papier: #ffffff;
  --schrift-text: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --schrift-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--text); font: 17px/1.55 var(--schrift-ui); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--rot); }
.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 12px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; }

/* Kopf */
.kopf-oben { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 18px; }
.logo img { display: block; width: 460px; max-width: 100%; height: auto; }
.such-knopf { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--leise); font-size: 15px;
  border: 1px solid var(--linie); border-radius: 999px; padding: 7px 14px; }
.such-knopf:hover { color: var(--rot); border-color: var(--rot); }
.navi { background: var(--tinte); }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.navi ul::-webkit-scrollbar { display: none; }
.navi a { display: block; padding: 12px 14px; color: #fff; text-decoration: none; text-transform: uppercase;
  font: 600 14px/1 var(--schrift-ui); letter-spacing: .06em; white-space: nowrap; }
.navi li:first-child a { padding-left: 0; }
.navi a:hover, .navi a[aria-current] { color: #fff; box-shadow: inset 0 -3px 0 var(--rot); }

main { padding-top: 34px; padding-bottom: 56px; }

/* Bausteine */
.rubrik { display: inline-block; color: var(--rot); text-decoration: none; text-transform: uppercase;
  font: 700 12px/1.2 var(--schrift-ui); letter-spacing: .08em; margin-bottom: 6px; }
.meta { color: var(--leise); font-size: 14px; margin: 8px 0 0; }
.meta > span + span::before { content: " · "; }
.autor { font-weight: 600; }

/* Aufmacher */
.aufmacher { margin-bottom: 44px; }
.aufmacher-gross { display: grid; grid-template-columns: 1.6fr 1fr; background: var(--tinte); color: #fff; margin-bottom: 28px; }
.aufmacher-bild img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.aufmacher-text { padding: 28px 30px; align-self: center; }
.aufmacher-text h2 { font: 700 32px/1.15 var(--schrift-text); margin: 4px 0 14px; }
.aufmacher-text h2 a { text-decoration: none; }
.aufmacher-text h2 a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.aufmacher-text p { font: 17px/1.5 var(--schrift-text); color: #ddd; margin: 0; }
.aufmacher-text .rubrik { color: #ff6b6b; }
.aufmacher-text .meta { color: #aaa; font-family: var(--schrift-ui); font-size: 14px; margin-top: 14px; }

/* Raster & Karten */
.raster { display: grid; gap: 28px 24px; }
.raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karte-bild { display: block; margin-bottom: 12px; overflow: hidden; background: var(--flaeche); }
.karte-bild img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.karte-bild:hover img { transform: scale(1.03); }
.ohne-bild { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: #ecebe7;
  font: 800 20px/1 var(--schrift-ui); letter-spacing: .02em; color: var(--rot); opacity: .55; }
.ohne-bild span { color: var(--grau); }
.karte h3 { font: 700 19px/1.25 var(--schrift-text); margin: 0 0 8px; color: var(--tinte); }
.karte h3 a { text-decoration: none; }
.karte .anriss { margin: 0; font-size: 15px; line-height: 1.5; color: var(--leise);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Abschnitte */
.abschnitt { margin-top: 44px; }
.abschnitt-titel { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font: 700 24px/1.2 var(--schrift-text); color: var(--tinte); margin: 0 0 20px; padding-bottom: 8px; border-bottom: 3px solid var(--tinte); }
.abschnitt-titel a { text-decoration: none; }
.alle { font: 600 14px/1 var(--schrift-ui); color: var(--rot); white-space: nowrap; }
.titelliste { list-style: none; margin: 0; padding: 0; columns: 2 380px; column-gap: 40px; }
.titelliste li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--linie); font: 17px/1.35 var(--schrift-text); }
.titelliste li a:not(.rubrik) { text-decoration: none; color: var(--tinte); }
.titelliste .rubrik { display: block; margin-bottom: 2px; }

/* Artikel */
.artikel { max-width: 760px; margin: 0 auto; }
.artikel-kopf h1 { font: 700 40px/1.12 var(--schrift-text); color: var(--tinte); margin: 2px 0 16px; letter-spacing: -.01em; }
.lead { font: italic 21px/1.5 var(--schrift-text); color: #3a3a3a; margin: 0 0 12px; }
.titelbild { margin: 26px 0 8px; }
.titelbild img { display: block; width: 100%; }
.text { font: 19px/1.7 var(--schrift-text); color: var(--text); margin-top: 26px; overflow-wrap: break-word; }
.text::after { content: ""; display: table; clear: both; }
.text p { margin: 0 0 1.15em; }
.text a { color: var(--rot-dunkel); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.text h2, .text h3, .text h4 { font-family: var(--schrift-text); color: var(--tinte); line-height: 1.25; margin: 1.6em 0 .6em; }
.text strong { color: var(--tinte); }
.text blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--rot); font-style: italic; color: #444; }
.text ul, .text ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.text li { margin-bottom: .35em; }
.text img { display: block; }
.text table { border-collapse: collapse; width: 100%; font: 15px/1.4 var(--schrift-ui); margin: 1.2em 0; }
.text td, .text th { border: 1px solid var(--linie); padding: 6px 8px; vertical-align: top; }
.text figure { margin: 1.4em 0; }
.text figcaption { font: 14px/1.45 var(--schrift-ui); color: var(--leise); margin-top: 8px; }
.text .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 45%; }
.text .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 45%; }
.text .aligncenter, .text .alignnone { margin-left: auto; margin-right: auto; }
.text img.alignleft, .text img.alignright { max-width: 45%; }
.kasten { background: var(--flaeche); border-left: 4px solid var(--rot); padding: 16px 20px; margin: 1.4em 0; font-size: 17px; }
.kasten > :last-child { margin-bottom: 0; }
.kasten-titel { font: 700 15px/1.3 var(--schrift-ui); text-transform: uppercase; letter-spacing: .05em; color: var(--rot); }
.extern { font: 15px/1.5 var(--schrift-ui); background: var(--flaeche); padding: 12px 16px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 1.4em 0; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.eingebettet iframe { width: 100%; border: 0; display: block; max-height: 80vh; }
.audio audio, .videodatei video { width: 100%; }
.video { position: relative; background: #111; aspect-ratio: 16 / 9; margin: 1.4em 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.video-start { background: none; border: 0; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; font: 600 20px/1.2 var(--schrift-ui); }
.video-start span { background: var(--rot); padding: 12px 22px; border-radius: 4px; }
.video-start small { font-weight: 400; font-size: 13px; color: #bbb; max-width: 30em; text-align: center; padding: 0 12px; }
.video a { color: #bbb; font: 13px var(--schrift-ui); position: absolute; bottom: 10px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.verwandt { border-top: 1px solid var(--linie); padding-top: 8px; margin-top: 56px; }

/* Listen, Archiv */
.seiten-titel { font: 700 34px/1.15 var(--schrift-text); color: var(--tinte); margin: 0 0 26px; padding-bottom: 10px; border-bottom: 3px solid var(--tinte); }
.seiten-titel small { font: 400 16px var(--schrift-ui); color: var(--leise); }
.blaettern { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; font-weight: 600; }
.blaettern a { color: var(--rot); text-decoration: none; padding: 10px 16px; border: 1px solid var(--linie); }
.blaettern a:hover { border-color: var(--rot); }
.jahre { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.jahre a { display: flex; flex-direction: column; padding: 18px; background: var(--flaeche); text-decoration: none; }
.jahre strong { font: 700 28px/1 var(--schrift-text); color: var(--tinte); }
.jahre span { color: var(--leise); font-size: 14px; margin-top: 6px; }
.jahre a:hover { background: #efede8; }
.monat h2 { font: 700 22px var(--schrift-text); margin: 34px 0 6px; color: var(--tinte); }
.zurueck { margin: 0 0 8px; font-size: 15px; }
.zurueck a { color: var(--rot); text-decoration: none; }
.leer { max-width: 640px; }

/* Suche */
#suche { --pagefind-ui-primary: var(--rot); --pagefind-ui-font: var(--schrift-ui); --pagefind-ui-border-radius: 2px; max-width: 820px; }

/* Fuß */
.fuss { background: var(--tinte); color: #bbb; padding: 34px 0 40px; font-size: 15px; }
.fuss-logo { font: 800 26px/1 var(--schrift-ui); letter-spacing: .02em; color: var(--rot); text-decoration: none; }
.fuss-logo span { color: #9a9a9a; }
.fuss-logo:hover { color: var(--rot); }
.fuss p { margin: 8px 0 18px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { color: #ddd; }

/* Schmale Bildschirme */
@media (max-width: 1000px) {
  .raster-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raster-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aufmacher-gross { grid-template-columns: 1fr; }
  .aufmacher-text h2 { font-size: 27px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .rahmen { padding: 0 16px; }
  .kopf-oben { padding-top: 14px; padding-bottom: 12px; }
  .logo img { width: 230px; }
  .such-knopf span { display: none; }
  .such-knopf { padding: 8px; }
  .navi a { padding: 11px 10px; font-size: 13px; }
  .raster-4, .raster-3 { grid-template-columns: 1fr; gap: 18px; }
  /* kompakte Karten: Bild links, Text rechts */
  .karte:not(.karte-gross) { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
  .karte:not(.karte-gross) .karte-bild { margin: 0; }
  .karte:not(.karte-gross) .karte-bild img, .karte:not(.karte-gross) .ohne-bild { aspect-ratio: 1; }
  .karte:not(.karte-gross) .ohne-bild { font-size: 11px; }
  .karte:not(.karte-gross) h3 { font-size: 17px; margin-bottom: 4px; }
  .karte:not(.karte-gross) .anriss { -webkit-line-clamp: 2; font-size: 14px; }
  .navi ul { mask-image: linear-gradient(to right, #000 85%, transparent); -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); }
  .aufmacher-text { padding: 20px; }
  .aufmacher-text h2 { font-size: 24px; }
  .artikel-kopf h1 { font-size: 29px; }
  .lead { font-size: 19px; }
  .text { font-size: 18px; }
  .text .alignleft, .text .alignright, .text img.alignleft, .text img.alignright { float: none; max-width: 100%; margin: 1.2em 0; }
  .seiten-titel { font-size: 28px; }
  .titelliste { columns: 1; }
}

@media print {
  .kopf .navi, .such-knopf, .fuss, .verwandt, .video-start { display: none; }
  .text { font-size: 12pt; }
}
