/*
Theme Name: Helm
Description: Privater Blog von Christopher Helm. Weiß, ruhig, Rubrikfarben. Alles aus WordPress-Standardfeldern.
Version: 3.0.0
Author: Christopher Helm
Text Domain: helm
*/

@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-style: normal; font-display: swap; src: url(fonts/source-serif-4-opsz-normal.woff2) format("woff2-variations"), url(fonts/source-serif-4-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-style: italic; font-display: swap; src: url(fonts/source-serif-4-opsz-italic.woff2) format("woff2-variations"), url(fonts/source-serif-4-opsz-italic.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }

:root {
  --text: #111111;
  --leise: #555555;
  --linie: #e3e3e3;
  --grund: #ffffff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: #111111;          /* Rubrikfarbe, wird je Kategorie gesetzt */
  --r-hell: #e8eef5;
  --breite: 1120px;
  --spalte: 640px;     /* Fließtext, ca. 70 Zeichen je Zeile */
  --randbreite: 320px; /* Randspalte, schließt rechts mit dem Kopf ab: 640 + 112 + 320 = 1072 */
  --abstand: 112px;
}

/* Rubrikfarben nach Kategorie-Slug. Neue Kategorie = eine Zeile hier. */
.r-recherche, .r-allgemein, .r-tagesthema { --r: #0b4f8a; --r-hell: #e3ecf5; }
.r-kommentar { --r: #8a3b12; --r-hell: #f6e9e1; }
.r-am-rand-gelesen, .r-am-rand-gesucht { --r: #4a6b5e; --r-hell: #e6efeb; }
.r-garten { --r: #55652c; --r-hell: #eef1e4; }
.r-seite { --r: #111111; --r-hell: #e9e9e9; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; background: var(--grund); color: var(--text); font-family: var(--serif); font-size: 19px; line-height: 1.65; }
a { color: var(--text); }
a:hover { color: var(--r); }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.sans { font-family: var(--sans); }
.kicker { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.kicker a { color: inherit; text-decoration: none; }

/* Kopf */
.seitenkopf { border-bottom: 1px solid var(--linie); }
.seitenkopf .innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.marke { font-size: 26px; font-weight: 700; text-decoration: none; line-height: 1.2; }
.hauptnav ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.hauptnav a { text-decoration: none; padding-bottom: 3px; }
.hauptnav .current-menu-item > a, .hauptnav .current-post-ancestor > a, .hauptnav .current-menu-parent > a { border-bottom: 3px solid var(--r); }

/* Kopf eines Beitrags: Fotostreifen (wenn vorhanden) + Farbbalken */
.streifen { position: relative; }
.streifen img { display: block; width: 100%; height: 200px; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.streifen .bildnachweis { position: absolute; right: 12px; top: 8px; z-index: 2; font-family: var(--sans); font-size: 11px; color: #fff; text-shadow: 0 0 3px rgba(0,0,0,.6); opacity: .85; }
.balken { background: var(--r); color: #fff; }
.balken .innen { padding-top: 32px; padding-bottom: 36px; }
.balken.ohne-bild .innen { padding-top: 56px; padding-bottom: 48px; }
.balken .text { max-width: 760px; }
.balken h1 { margin: 10px 0 16px; font-size: 44px; line-height: 1.1; font-weight: 700; }
.balken .vorspann { margin: 0; font-size: 22px; line-height: 1.5; color: rgba(255,255,255,.88); }
.balken a { color: #fff; }

/* Beitrag: Textspalte 700 + Randspalte 260 */
.beitrag-raster { max-width: var(--breite); margin: 0 auto; padding: 0 24px 72px; }
.beitrag-text { max-width: calc(var(--spalte) + var(--abstand) + var(--randbreite)); padding-right: calc(var(--abstand) + var(--randbreite)); }
.metazeile { margin-top: 24px; padding: 12px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--sans); font-size: 14px; color: var(--leise); }
.inhalt { margin-top: 32px; }
.inhalt > * { max-width: var(--spalte); }
.inhalt p { margin: 0 0 20px; }
.inhalt h2 { margin: 44px 0 12px; font-size: 27px; line-height: 1.25; font-weight: 700; scroll-margin-top: 16px; }
.inhalt h3 { margin: 32px 0 10px; font-size: 21px; line-height: 1.3; }
.inhalt h2 .anker { margin-left: 8px; font-family: var(--sans); font-size: 16px; font-weight: 400; color: #aaa; text-decoration: none; opacity: 0; }
.inhalt h2:hover .anker, .inhalt h2 .anker:focus { opacity: 1; }
.inhalt a { text-decoration: underline; text-decoration-color: #999; text-underline-offset: 2px; }
.inhalt a.intern { color: var(--r); text-decoration-color: currentColor; }
.inhalt .ziel { font-family: var(--sans); font-size: 13px; color: #666; white-space: nowrap; }
.inhalt blockquote { margin: 28px 0; padding: 0 0 0 20px; border-left: 3px solid var(--r); font-style: italic; }
.inhalt blockquote cite { display: block; margin-top: 6px; font-family: var(--sans); font-size: 14px; font-style: normal; color: var(--leise); }
.inhalt figure { margin: 28px 0; }
/* Bilder mit viel Weiß (Screenshots, Dokumente) brauchen eine Kante, sonst sieht man nicht, wo das Bild endet. */
.inhalt figure img, .inhalt p > img, .inhalt p > a > img { border: 1px solid #d6d6d6; background: #fff; }
.inhalt figcaption { font-family: var(--sans); font-size: 13px; color: var(--leise); margin-top: 6px; }
.inhalt ul, .inhalt ol { padding-left: 24px; margin: 0 0 20px; }
.inhalt table { border-collapse: collapse; font-family: var(--sans); font-size: 15px; width: 100%; margin: 0 0 24px; }
.inhalt th, .inhalt td { border-bottom: 1px solid var(--linie); padding: 6px 8px; text-align: left; vertical-align: top; }
.inhalt th { border-bottom: 1px solid var(--text); }
.inhalt hr { border: 0; border-top: 1px solid var(--linie); margin: 32px 0; }

/* Randspalte: alles, was dort steht, ist ein float nach rechts in den Rand */
.rand { float: right; clear: right; width: var(--randbreite); margin: 0 calc(-1 * (var(--abstand) + var(--randbreite))) 24px 0; font-size: 16px; line-height: 1.5; }
.rand h2, .rand .titel { margin: 0 0 8px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.rand-kasten { border-top: 2px solid var(--text); padding-top: 10px; }
.serie { border-top: 4px solid var(--r); padding-top: 10px; }
.serie .titel { color: var(--r); }
.serie .titel a { color: inherit; text-decoration: none; }
.serie .serie-zahl { margin: 0 0 6px; font-family: var(--sans); font-size: 12px; color: #666; }
.serie ol { list-style: none; margin: 0; padding: 0; line-height: 1.35; }
.serie li { padding: 8px 0 8px 10px; border-left: 3px solid var(--linie); }
.serie li.jetzt { border-left-color: var(--r); font-weight: 600; }
.serie li a { text-decoration: none; }
.serie .nr { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: #666; }
.toc ol { margin: 0; padding: 0 0 0 18px; font-family: var(--sans); font-size: 14px; line-height: 1.45; }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Link-Karten im Rand, auf Höhe des Absatzes */
.linkkarte { position: relative; padding: 2px 0 2px 26px; border-left: 0; transition: background .15s; }
.linkkarte .lk-nr, .inhalt sup.kn { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--r); }
.linkkarte .lk-nr { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border: 1px solid var(--r); border-radius: 50%; line-height: 16px; text-align: center; }
.inhalt sup.kn { margin-left: 2px; vertical-align: super; line-height: 0; }
.linkkarte a { display: block; text-decoration: none; }
.linkkarte .lk-site { display: block; font-family: var(--sans); font-size: 12px; color: #666; }
.linkkarte .lk-titel { display: block; font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.35; margin-top: 2px; }
.linkkarte .lk-text { display: block; font-family: var(--sans); font-size: 13px; line-height: 1.45; color: #444; margin-top: 4px; }
.linkkarte.intern .lk-site { color: var(--r); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; }
.linkkarte.aktiv { background: var(--r-hell); box-shadow: -8px 0 0 var(--r-hell), 8px 0 0 var(--r-hell); }

/* Hinweis, Quellen, Autor */
.hinweis { margin: 32px 0 0; padding-left: 14px; border-left: 3px solid var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.6; color: #333; max-width: 700px; }
.quellen { margin-top: 44px; max-width: var(--spalte); clear: none; }
.quellen h2 { margin: 0 0 10px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid var(--text); }
.quellen ol { margin: 0; padding-left: 22px; font-size: 16px; line-height: 1.5; color: #333; }
.quellen li { margin-bottom: 8px; }
.quellen a { text-decoration: none; }
.quellen a:hover { text-decoration: underline; }
.quellen .ziel { font-family: var(--sans); font-size: 13px; color: #666; }
.autor p { margin: 0; color: #333; }
.autor .mehr, .presse .mehr { display: inline-block; margin-top: 8px; font-family: var(--sans); font-size: 14px; }
.google-quelle { display: flex; gap: 8px; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid #efefef; font-family: var(--sans); font-size: 13px; line-height: 1.45; color: #444; text-decoration: none; }
.google-quelle .stern { color: var(--r); }
.google-quelle u { text-decoration: underline; }
.google-quelle small { display: block; color: #666; font-size: 13px; }
.schluss { clear: both; max-width: var(--spalte); }
.schlagwoerter { margin-top: 32px; font-family: var(--sans); font-size: 13px; color: var(--leise); }
.schlagwoerter a { color: var(--leise); }

/* Ähnliche Beiträge (YARPP) */
.verwandt { margin-top: 48px; border-top: 2px solid var(--text); padding-top: 10px; max-width: var(--spalte); }
.verwandt h2 { margin: 0 0 12px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.verwandt ul { list-style: none; margin: 0; padding: 0; }
.verwandt li { padding: 12px 0; border-bottom: 1px solid var(--linie); }
.verwandt a { text-decoration: none; font-weight: 600; font-size: 18px; line-height: 1.3; }
.verwandt .kicker { display: block; color: var(--r); margin-bottom: 2px; }

/* Startseite und Listen */
.liste { list-style: none; margin: 0; padding: 0; }
.liste > li { padding: 18px 0; border-bottom: 1px solid var(--linie); }
.liste > li:first-child { padding-top: 0; }
.liste .kicker { color: var(--r); }
.liste h2, .liste h3 { margin: 4px 0 6px; font-size: 24px; line-height: 1.25; }
.liste h2 a, .liste h3 a { text-decoration: none; }
.liste h2 a:hover, .liste h3 a:hover { text-decoration: underline; }
.liste p { margin: 0; font-size: 17px; line-height: 1.5; color: #333; }
.liste time { font-family: var(--sans); font-size: 13px; color: var(--leise); }
.spalte-titel { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--r); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--r); }
.liste.klein h3 { font-size: 17px; }
.liste.klein > li { padding: 12px 0; }
.blaettern { margin-top: 32px; font-family: var(--sans); font-size: 15px; display: flex; gap: 16px; flex-wrap: wrap; }
.blaettern .page-numbers { text-decoration: none; padding: 4px 8px; }
.blaettern .current { border-bottom: 2px solid var(--text); }
.widget { margin-bottom: 32px; border-top: 2px solid var(--text); padding-top: 10px; font-size: 16px; line-height: 1.5; }
.widget h2 { margin: 0 0 8px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }

/* Seiten (Über mich, Impressum) */
.seite-text .inhalt { padding-top: 32px; }

/* Fuß */
.seitenfuss { border-top: 1px solid var(--text); }
.seitenfuss ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 24px 0; list-style: none; font-family: var(--sans); font-size: 14px; }
.seitenfuss a { color: var(--leise); text-decoration: none; }
.seitenfuss a:hover { text-decoration: underline; }

/* Mobil und Tablet: Rand wird zu normalem Fluss, Link-Karten fallen weg (stehen unter Quellen) */
/* Seitenkasten: Autor, Presse-Monitor */
.seitenkasten.rand { margin-bottom: 32px; }
.seitenkasten .rand-kasten + .rand-kasten { margin-top: 32px; }
.seitenkasten.nur-schmal { display: none; }
.presse p { margin: 0; color: #333; }
.presse .knopf { display: inline-block; margin-top: 10px; padding: 10px 14px; border: 1px solid var(--text); font-family: var(--sans); font-size: 14px; font-weight: 500; text-decoration: none; }
.presse .knopf:hover { background: var(--text); color: #fff; }
.rand.serie, .rand.toc { margin-bottom: 32px; }

/* Bilder: Vollansicht */
.inhalt img[data-voll] { cursor: zoom-in; }
.bildansicht { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 24px; border: 0; background: rgba(255,255,255,.97); cursor: zoom-out; }
.bildansicht[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bildansicht::backdrop { background: rgba(255,255,255,.97); }
.bildansicht img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; box-shadow: 0 1px 12px rgba(0,0,0,.12); }
.bildansicht .unter { max-width: 760px; margin: 12px 0 0; font-family: var(--sans); font-size: 14px; color: var(--leise); text-align: center; }
.bildansicht .zu { position: absolute; top: 12px; right: 16px; border: 0; background: none; font: 400 32px/1 var(--sans); color: var(--text); cursor: pointer; }

@media (max-width: 1000px) {
  .seitenkasten.nur-breit { display: none; }
  .seitenkasten.nur-schmal { display: block; margin-top: 44px; }
  .beitrag-text { padding-right: 0; }
  .rand { float: none; width: auto; margin: 24px 0; max-width: var(--spalte); }
  .inhalt sup.kn { display: none; }
  .linkkarte { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 18px; }
  .streifen { display: none; }
  .balken h1 { font-size: 32px; }
  .balken .vorspann { font-size: 19px; }
  .balken.ohne-bild .innen { padding-top: 32px; padding-bottom: 32px; }
  .inhalt h2 { font-size: 23px; }
}

/* ---------- Startseite (Entwurf "Main") ---------- */
:root { --link: #0b4f8a; }
a:hover { color: var(--link); }
.seitenkopf.gross { border-bottom: 1px solid var(--text); }
.seitenkopf.gross .innen { display: block; padding-top: 28px; padding-bottom: 0; }
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.seitenkopf.gross .marke { font-size: 34px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.1; }
.kopfzeile .von { font-family: var(--sans); font-size: 14px; color: var(--leise); }
.kopfzeile .von a { color: var(--leise); }
.seitenkopf.gross .hauptnav { margin-top: 22px; padding: 12px 0; border-top: 1px solid var(--linie); }
.seitenkopf.gross .hauptnav ul { gap: 4px 28px; font-size: 15px; }
.seitenkopf.gross .hauptnav .menu-item-object-category > a { border-bottom: 3px solid var(--r); }
.seitenkopf.gross .hauptnav .menu-item-object-category + .kein-ressort { margin-left: auto; }
.hauptnav li[class*=" r-"] > a:hover { color: var(--text); border-bottom-color: var(--r); }

.start-raster { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 32px; padding-bottom: 64px; }
.start-raster .hauptspalte { flex: 999 1 560px; min-width: 0; }
.start-raster .seitenspalte { flex: 1 1 280px; min-width: 0; }

.aufmacher { padding-bottom: 28px; border-bottom: 1px solid var(--linie); }
.aufmacher > a { display: block; color: #fff; text-decoration: none; }
.aufmacher .streifen img { height: 170px; }
.aufmacher .streifen.mit-foto img { height: 260px; object-position: 50% 50%; }
.aufmacher .flaeche { background: var(--r); padding: 22px 28px 26px; }
.aufmacher .kicker { margin: 0; color: #fff; }
.aufmacher h2 { margin: 8px 0 12px; font-size: 38px; line-height: 1.12; font-weight: 700; color: #fff; }
.aufmacher > a:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.aufmacher .vorspann { margin: 0; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.9); }
.aufmacher .meta { margin: 14px 0 0; font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,.78); }
.aufmacher .serienzeile { margin: 0; background: var(--r); border-top: 1px solid rgba(255,255,255,.25); padding: 10px 28px 12px; font-family: var(--sans); font-size: 14px; color: rgba(255,255,255,.78); }
.aufmacher .serienzeile a { color: #fff; }

.rubrik-titel { margin: 0; padding-top: 10px; border-top: 4px solid var(--r); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--r); }
.rubrik-titel a { color: inherit; text-decoration: none; }
.rubrik { margin-top: 40px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.kachel { padding: 22px 0; border-bottom: 1px solid var(--linie); }
.kachel .kicker { margin: 0 0 6px; color: var(--r); }
.kachel h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.kachel h3 a { text-decoration: none; }
.kachel p { margin: 0; font-size: 16px; line-height: 1.5; color: #333; }
.kachel time { display: block; margin-top: 10px; font-family: var(--sans); font-size: 13px; color: #666; }
.r-kommentar .kachel h3 { font-style: italic; font-weight: 600; }
.rubrik .alle, .seitenspalte .alle { margin: 14px 0 0; font-family: var(--sans); font-size: 14px; font-weight: 500; }

.amrand-kopf { border-top: 4px solid var(--r); background: var(--r-hell); padding: 12px 14px 14px; }
.amrand-kopf h2 { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--r); }
.amrand-kopf h2 a { color: inherit; text-decoration: none; }
.amrand-kopf p { margin: 6px 0 0; font-family: var(--sans); font-size: 12px; line-height: 1.5; color: var(--leise); }
.seitenspalte .tag { margin-top: 18px; }
.seitenspalte .tag h3 { margin: 0; padding-bottom: 6px; border-bottom: 1px solid var(--linie); font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--leise); }
.seitenspalte ul, .kurzliste ul { list-style: none; margin: 0; padding: 0; }
.seitenspalte .tag li, .kurzliste li { padding: 9px 0; border-bottom: 1px solid #efefef; font-size: 16px; line-height: 1.35; }
.seitenspalte .tag a, .kurzliste a { text-decoration: none; }
.seitenkasten.start { margin-top: 40px; }
.seitenkasten.start .rand-kasten + .rand-kasten { margin-top: 40px; }
.seitenkasten.start, .seitenkasten.start p { font-size: 16px; line-height: 1.5; }
.rand-kasten .titel { margin: 0 0 8px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.nur-mobil { display: none; }
.kurzliste { margin-top: 28px; }
.archiv-raster { max-width: 800px; padding-top: 32px; padding-bottom: 64px; margin-left: max(0px, calc((100% - var(--breite)) / 2)); }

@media (max-width: 700px) {
  .nur-mobil { display: block; }
  .aufmacher .streifen { display: none; }
  .aufmacher .flaeche { padding: 20px 18px 22px; }
  .aufmacher h2 { font-size: 28px; }
  .seitenkopf.gross .marke { font-size: 26px; }
  .seitenkopf.gross .hauptnav .menu-item-object-category + .kein-ressort { margin-left: 0; }
}

/* Kopf auf Unterseiten: gleiche Zeile wie auf der Startseite, kleiner */
.marke-rahmen { margin: 0; font: inherit; }
.seitenkopf.unter .innen { padding-top: 18px; }
.seitenkopf.unter .marke { font-size: 26px; }
.seitenkopf.unter .hauptnav { margin-top: 14px; padding: 10px 0; }
.seitenkopf.unter .hauptnav ul { font-size: 14px; gap: 4px 24px; }

/* Brotkrumen über dem Titel */
.pfad ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.pfad li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.pfad a { text-decoration: none; }
.pfad a:hover { text-decoration: underline; color: #fff; }
.pfad .teil { opacity: .8; font-weight: 500; }

/* Ruhe-Runde nach Kritik (19.10.) */
.kacheln { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.kachel { display: flex; flex-direction: column; padding: 24px 0; }
.kachel .kicker { margin: 0 0 6px; font-size: 12px; line-height: 1.3; }
.kachel h3 { font-size: 22px; line-height: 1.22; text-wrap: balance; }
.kachel p { text-wrap: pretty; }
.kachel time { margin-top: auto; padding-top: 10px; }
/* Kommentar-Kacheln: gleiche Trennlinien wie die anderen Rubriken, erkennbar an kursivem Titel und Farbe. */
.serienkachel .teile { list-style: none; margin: 12px 0 0; padding: 0; font-family: var(--sans); font-size: 14px; line-height: 1.4; }
.serienkachel .teile li { display: flex; gap: 8px; padding: 5px 0; border-top: 1px solid #efefef; }
.serienkachel .teile .nr { flex: 0 0 22px; color: var(--r); font-weight: 600; }
.serienkachel .teile a { text-decoration: none; }
.serienkachel .teile a:hover { text-decoration: underline; color: var(--link); }
.aufmacher { border-bottom: 0; padding-bottom: 0; }
.aufmacher .flaeche { padding: 30px 32px 28px; }
.aufmacher h2 { font-size: 36px; }
.aufmacher .meta { font-size: 12px; }
.rubrik { margin-top: 44px; }
.rubrik .alle { text-align: right; margin-top: 10px; font-size: 13px; }
.rubrik .alle a, .seitenspalte .alle a { text-decoration: none; color: var(--r); }
.rubrik .alle a:hover, .seitenspalte .alle a:hover { text-decoration: underline; }
.seitenspalte .tag { margin-top: 16px; }
.seitenspalte .tag li { font-size: 15px; padding: 8px 0; border-bottom: 0; }
.seitenkasten.start { margin-top: 32px; }
.balken .text { max-width: var(--spalte); }
.balken h1 { font-size: 40px; }
.balken.ohne-bild .innen { padding-top: 40px; padding-bottom: 36px; }
.pfad { margin-bottom: 14px; }
.pfad + h1 { margin-top: 0; }
.metazeile { border-top: 0; margin-top: 20px; }

/* Bildmotiv: Muster aus Rubrikfarbe, über Fotos als Überlagerung */
.streifen { overflow: hidden; }
.streifen .muster { display: block; width: 100%; height: 200px; }
.streifen.mit-foto { background: var(--r-hell); }
.streifen.mit-foto img { mix-blend-mode: multiply; }
.beitragskopf .streifen.mit-foto img { height: auto; aspect-ratio: 9 / 4; max-height: clamp(240px, calc(100vh - 560px), 680px); object-position: 50% 50%; }  /* Titel und Textanfang bleiben im ersten Bild sichtbar */
.streifen .bildnachweis a { color: inherit; text-decoration: none; }
.streifen .bildnachweis a:hover { text-decoration: underline; }
.streifen .stempel { position: absolute; left: 0; bottom: 0; z-index: 2; display: block; }
.streifen.mit-foto::after { content: ""; position: absolute; inset: 0; background: var(--r); mix-blend-mode: screen; pointer-events: none; }
.streifen.mit-foto .muster { position: absolute; inset: 0; height: 100%; }
.aufmacher .streifen .muster { height: 170px; }
.aufmacher .streifen.mit-foto .muster { height: 100%; }

/* ---------- Überschriften auf Farbflächen: Sans, straff ---------- */
.balken h1 { font-family: "IBM Plex Sans", system-ui, sans-serif; font-weight: 600; font-size: 40px; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
.balken .vorspann { font-size: 20px; line-height: 1.5; color: #fff; opacity: .92; font-variation-settings: "opsz" 20; text-wrap: pretty; }
.pfad { letter-spacing: .08em; }
.aufmacher h2 { font-family: "IBM Plex Sans", system-ui, sans-serif; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }

/* ---------- Linkkarten neben ihrem Link (helm.js setzt .ausgerichtet, nur breit) ---------- */
.inhalt.ausgerichtet { position: relative; }
.inhalt.ausgerichtet > .linkkarte, .inhalt.ausgerichtet > .seitenkasten.rand { position: absolute; right: calc(-1 * (var(--abstand) + var(--randbreite))); width: var(--randbreite); max-width: none; margin: 0; float: none; }

/* ---------- Tabellen: auf schmalen Schirmen seitlich scrollen ---------- */
.inhalt .wp-block-table { overflow-x: auto; }

/* ---------- Suche im Kopf ---------- */
.hauptnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.hauptnav > ul, .hauptnav > div { flex: 1 1 auto; }
.suche input { width: 150px; padding: 4px 0 4px 22px; border: 0; border-bottom: 1px solid var(--linie); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23666' stroke-width='1.6'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath d='M9.5 9.5 13 13'/%3E%3C/svg%3E") no-repeat 0 50%; font: 14px var(--sans); color: var(--text); }
.suche input:focus { outline: none; border-bottom-color: var(--text); width: 220px; }
.suche input::placeholder { color: var(--leise); }

@media (max-width: 700px) {
  .balken h1 { font-size: 30px; letter-spacing: -.018em; }
  .balken .vorspann { font-size: 18px; }
  .suche input, .suche input:focus { width: 100%; }
  .suche { flex: 1 1 100%; }
}

/* ---------- Kopf auf Unterseiten: Luft zwischen Rubrik-Unterstreichung und Bildstreifen, keine zweite Linie ---------- */
.seitenkopf.gross.unter { border-bottom: 0; }
.seitenkopf.gross.unter .hauptnav { padding: 12px 0 22px; }
.seitenkopf.gross .hauptnav .menu-item-object-category > a { border-bottom-width: 2px; padding-bottom: 4px; }

/* ---------- Kopf mobil: eine wischbare Navigationszeile, Suche darunter ---------- */
@media (max-width: 700px) {
  .seitenkopf.gross .innen { padding-top: 18px; }
  .seitenkopf.gross .marke, .seitenkopf.gross.unter .marke { font-size: 22px; }
  .kopfzeile { gap: 4px; }
  .kopfzeile .von { font-size: 13px; }
  .seitenkopf.gross .hauptnav, .seitenkopf.gross.unter .hauptnav { margin-top: 12px; padding: 10px 0 14px; gap: 10px; }
  .hauptnav > ul, .hauptnav > div { flex: 1 1 100%; min-width: 0; }
  .seitenkopf .hauptnav ul { flex-wrap: nowrap; gap: 20px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .seitenkopf .hauptnav ul::-webkit-scrollbar { display: none; }
  .seitenkopf .hauptnav li:last-child { padding-right: 32px; }
  .seitenkopf.gross .hauptnav .menu-item-object-category + .kein-ressort { margin-left: 4px; }
  .aufmacher h2 { font-size: 26px; }
}

/* ---------- Tastatur: sichtbarer Fokus, Sprunglink ---------- */
:focus-visible { outline: 2px solid var(--r, var(--link)); outline-offset: 2px; }
.balken :focus-visible, .aufmacher :focus-visible { outline-color: #fff; }
.suche input:focus-visible { outline: none; border-bottom: 2px solid var(--text); }
a.sr-only:focus { position: fixed; left: 16px; top: 12px; z-index: 100; width: auto; height: auto; clip: auto; margin: 0; padding: 8px 14px; background: var(--text); color: #fff; font: 600 14px var(--sans); text-decoration: none; }
.inhalt img[data-voll][role="button"] { cursor: zoom-in; }

/* ---------- Runde 3: Startseite, Leerzustände, Fuß ---------- */
/* Startseite im selben Raster wie Beiträge: rechte Spalte = Randbreite */
.start-raster .hauptspalte { flex: 1 1 560px; }
.start-raster .seitenspalte { flex: 0 0 var(--randbreite); }
.seitenspalte { --r: #4a6b5e; }
/* Serie über die ganze Zeile, Teile in zwei Spalten: keine Lücke im Kachelraster */
.serienkachel { grid-column: 1 / -1; }
.serienkachel .teile { columns: 1; column-gap: 40px; }
.serienkachel .teile:has(li:nth-child(4)) { columns: 2; }
.serienkachel .teile li { break-inside: avoid; }
.kachel h3 a:hover, .archivliste h2 a:hover { color: var(--r); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.amrand-kopf p, .aufmacher .meta, .kachel .kicker { font-size: 13px; }
.archivliste .kicker a:hover { text-decoration: underline; }
/* Leerzustand bei Suche ohne Treffer und 404 */
.leer { padding: 8px 0 24px; max-width: var(--spalte); }
.leer > p { margin: 0 0 20px; font-size: 19px; line-height: 1.5; }
.suche.gross input { width: 100%; max-width: 420px; padding: 10px 0 10px 26px; font-size: 18px; background-position: 0 50%; border-bottom: 2px solid var(--text); }
.leer .rubriken { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; font: 500 15px var(--sans); }
.leer .rubriken a { text-decoration: none; border-bottom: 2px solid var(--r); padding-bottom: 3px; }
/* Fuß: Linie nur so breit wie der Inhalt, Name rechts */
.seitenfuss { border-top: 0; margin-top: 24px; }
.seitenfuss .innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 28px; border-top: 1px solid var(--text); }
.seitenfuss .recht { margin: 0; font: 13px var(--sans); color: var(--leise); }
.seitenfuss a { color: #555; }
@media (max-width: 700px) {
  /* Notizen stehen mobil als Kurzliste nach den Rubriken; unten nur noch die Kästen */
  .seitenspalte .amrand-kopf, .seitenspalte .tag, .seitenspalte > .alle { display: none; }
  .kurzliste .alle { margin: 12px 0 0; font: 500 14px var(--sans); }
  .rubrik .alle { text-align: left; }
  .serienkachel .teile { columns: 1; }
  .aufmacher .vorspann { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .seitenkopf.gross .marke, .seitenkopf.gross.unter .marke { font-size: 20px; letter-spacing: -.01em; }
  .suche input, .suche input:focus { font-size: 16px; }
  .seitenfuss .innen { display: block; }
  .seitenfuss .recht { padding-bottom: 24px; }
}


/* ---------- Runde 4: Kopf endet überall mit derselben Linie; Flächen bündig darunter ---------- */
.seitenkopf.gross, .seitenkopf.gross.unter { border-bottom: 1px solid var(--text); }
.seitenkopf.gross .hauptnav, .seitenkopf.gross.unter .hauptnav { padding: 12px 0 16px; }
.start-raster { padding-top: 28px; }
@media (max-width: 700px) {
  .seitenkopf.gross .hauptnav, .seitenkopf.gross.unter .hauptnav { padding: 10px 0 12px; }
  .seitenkopf .hauptnav ul { padding-bottom: 6px; margin-bottom: -4px; }
  .start-raster { padding-top: 24px; }
}
/* Linkziel im Fließtext leiser */
.inhalt .ziel { font-size: 12px; color: #8a8a8a; }
/* Code im Fließtext nicht größer als der Text */
.inhalt code { font-size: .85em; font-weight: 400; background: #f4f4f4; padding: 0 .25em; border-radius: 2px; }
/* Tabellen: kleiner und mit Scrollhinweis rechts */
.inhalt .wp-block-table { background: linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) right / 24px 100% no-repeat local, linear-gradient(to left, rgba(0,0,0,.12), rgba(0,0,0,0)) right / 10px 100% no-repeat scroll; }
@media (max-width: 700px) {
  .inhalt table { font-size: 14px; }
  .inhalt th, .inhalt td { padding: 6px; }
}
/* Linien am Beitragsende: eine Stärke */
.verwandt { border-top-width: 1px; }
.metazeile .autor a { color: inherit; }


/* ---------- Runde 5: Kachelpaar ruhiger (langer Titel kleiner, Anriss höchstens 4 Zeilen) ---------- */
.kachel:not(.serienkachel) > p:not(.kicker) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.kachel.titel-lang h3 { font-size: 20px; line-height: 1.25; }

/* Kurze Seiten: Fuß unten am Fenster statt in der Mitte */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > * { flex-shrink: 0; }
body > .seitenfuss { margin-top: auto; }

/* ---------- Runde 7: Grafik im Raster, aktive Rubrik, Menü mobil, Fußlinie ---------- */
.streifen.nur-muster { background: var(--r-hell); }
.streifen.nur-muster > .muster { max-width: calc(var(--breite) - 48px); margin: 0 auto; }
@media (max-width: 1167px) { .streifen.nur-muster > .muster { max-width: none; margin: 0 24px; width: auto; } }
.seitenkopf.gross .hauptnav .menu-item-object-category > a { border-bottom-color: color-mix(in srgb, var(--r) 30%, transparent); }
.seitenkopf.gross .hauptnav .menu-item-object-category.current-menu-item > a,
.seitenkopf.gross .hauptnav .menu-item-object-category.current-post-ancestor > a,
.seitenkopf.gross .hauptnav .menu-item-object-category.current-menu-parent > a,
.seitenkopf.gross .hauptnav .menu-item-object-category > a:hover { border-bottom-color: var(--r); }
.seitenfuss .innen { border-top: 0; background: linear-gradient(var(--text), var(--text)) 24px 0 / calc(100% - 48px) 1px no-repeat; }
@media (max-width: 700px) {
  .seitenkopf .hauptnav ul { flex-wrap: wrap; row-gap: 10px; column-gap: 18px; overflow: visible; white-space: normal; -webkit-mask-image: none; mask-image: none; }
  .seitenkopf .hauptnav li:last-child { padding-right: 0; }
  .seitenkopf .hauptnav li { white-space: nowrap; }
  /* Rubriken in der ersten Zeile, Über mich und Presse-Monitor in der zweiten */
  .seitenkopf .hauptnav ul, .seitenkopf.gross .hauptnav ul, .seitenkopf.unter .hauptnav ul { column-gap: 16px; row-gap: 5px; font-size: 14px; }
  .seitenkopf .hauptnav ul::before { content: ""; order: 1; flex-basis: 100%; height: 0; }
  .seitenkopf .hauptnav .kein-ressort { order: 2; }
  .seitenkopf.gross .hauptnav .menu-item-object-category + .kein-ressort { margin-left: 0; }
}

@media print {
  .seitenkopf, .seitenfuss, .rand, .verwandt { display: none; }
  .beitrag-text { padding-right: 0; }
  .balken { background: none; color: #000; }
  .balken .vorspann, .balken a { color: #000; }
}
.inhalt a.aktiv { background: var(--r-hell); }

/* ---------- Archivliste ---------- */
.balken .zaehler { margin: 18px 0 0; font-family: var(--sans); font-size: 13px; letter-spacing: .3px; color: #fff; opacity: .75; }
.archiv-raster { max-width: calc(var(--spalte) + 48px); }
.archivliste > li { padding: 26px 0 28px; border-bottom: 1px solid var(--linie); }
.archivliste > li:first-child { padding-top: 0; }
.archivliste > li:last-child { border-bottom: 0; }
.archivliste > li.jahr { padding: 34px 0 10px; border-bottom: 1px solid var(--text); }
.archivliste > li.jahr:first-child { padding-top: 0; }
.archivliste > li.jahr span { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; color: var(--leise); }
.archivliste > li.jahr + li { padding-top: 24px; }
.archivliste .kicker { margin: 0 0 6px; font-size: 11.5px; }
.archivliste .kicker a { color: var(--r); text-decoration: none; }
.archivliste .kicker a:hover { text-decoration: underline; }
.archivliste h2 { margin: 0 0 8px; font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -.2px; text-wrap: balance; }
.archivliste .anriss { font-size: 18px; line-height: 1.55; color: #3a3a3a; text-wrap: pretty; }
.archivliste .meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 0 14px; font-family: var(--sans); font-size: 13px; color: var(--leise); }
.archivliste .meta span + time, .archivliste .meta time + span { position: relative; }
.archivliste .meta time + span::before { content: ""; position: absolute; left: -8px; top: .6em; width: 2px; height: 2px; border-radius: 50%; background: currentColor; }
.archivliste time { font-size: 13px; }
.blaettern { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--text); justify-content: space-between; gap: 6px; }
.blaettern .page-numbers { padding: 4px 6px; color: var(--leise); }
.blaettern a.page-numbers:hover { color: var(--r); }
.blaettern .current { color: var(--text); font-weight: 600; border-bottom-width: 1px; }
.blaettern .dots { padding: 4px 0; }
@media (max-width: 700px) {
  .archivliste h2 { font-size: 23px; }
  .archivliste .anriss { font-size: 17px; }
  .archivliste > li { padding: 22px 0 24px; }
  .blaettern .page-numbers:not(.prev):not(.next):not(.current) { display: none; }
}
/* Newsletter-Kasten im Text (helm_brief_einfuegen). MailPoet bringt Inline-Stile mit, darum !important. */
.brief-kasten { clear: none; margin: 8px 0 36px; padding: 12px 0 16px; border-top: 2px solid var(--text); border-bottom: 1px solid var(--linie); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.inhalt .brief-kasten p, .start-raster .brief-kasten p { margin: 0 0 12px; }
.start-raster .brief-kasten { margin: 28px 0 8px; }
.brief-kasten .titel { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.brief-kasten .klein { margin: 8px 0 0 !important; font-size: 13px; color: var(--leise); }
.brief-kasten .mailpoet_form, .brief-kasten form.mailpoet_form { padding: 0 !important; margin: 0; background: none !important; }
.brief-kasten form.mailpoet_form { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.brief-kasten .mailpoet_paragraph { margin: 0 !important; line-height: normal; }
.brief-kasten .mailpoet_paragraph:has(.mailpoet_text) { flex: 1 1 240px; }
.brief-kasten .mailpoet_paragraph:has(.mailpoet_submit) { flex: 0 0 auto; }
.brief-kasten .mailpoet_paragraph:has(.mailpoet_message), .brief-kasten .mailpoet_message { flex: 1 0 100%; padding: 0 !important; }
.brief-kasten input.mailpoet_text { width: 100% !important; padding: 10px 12px !important; border: 1px solid var(--leise); border-radius: 0; font: inherit; background: transparent; color: inherit; }
.brief-kasten input.mailpoet_submit { width: auto !important; padding: 10px 18px !important; border: 1px solid var(--text) !important; border-radius: 0; background: var(--text); color: var(--grund, #fff); font: inherit; font-weight: 600; cursor: pointer; }
.brief-kasten input.mailpoet_submit:hover { opacity: .85; }
