/* gerum.org – Design v2 (ASSET_VERSION 7). Schriften: Newsreader + Inter (SIL OFL 1.1), selbst gehostet. */
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #f7f5f0; --paper: #ffffff; --bg-2: #efebe3; --line: #e2ddd3; --line-strong: #cfc8ba;
  --text: #16181c; --text-soft: #2b2f36; --muted: #5c626c; --faint: #8a8f97;
  --accent: #9a7a3a; --accent-strong: #7a5f2a; --accent-soft: #efe4cc;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1200px; --narrow: 680px; --header-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11"; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-strong); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.wrap-narrow { width: min(var(--narrow), 100% - 3rem); margin-inline: auto; }
.faint { color: var(--faint); } .muted { color: var(--muted); }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(247,245,240,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar { width: min(var(--wrap), 100% - 3rem); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
.brand .crest { width: auto; height: 38px; }
.site-header nav { display: flex; gap: clamp(1.1rem, 3vw, 2rem); }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .875rem; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

/* Meta-Zeile */
.meta { margin: 0 0 .7rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; font-size: .75rem; font-weight: 500; letter-spacing: .02em; color: var(--faint); }
.meta .cat { color: var(--accent-strong); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
.meta .art { color: var(--muted); border: 1px solid var(--line-strong); border-radius: 3px; padding: .1rem .45rem; font-size: .68rem; }
.meta .art::before { content: none !important; }
.meta > * + *::before { content: none; }
.meta time::before, .meta > span:not(.badge):not(.cat):not(.ad)::before { content: "·"; margin-right: .75rem; color: var(--line-strong); }
.meta .cat + time::before { content: "·"; }
.badge, .meta .ad { display: inline-block; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .16rem .5rem; border-radius: 3px; background: var(--bg-2); color: var(--muted); }
.badge.ok { background: #e3efe6; color: #2f6b45; }
.badge.ann { background: var(--accent-soft); color: var(--accent-strong); }
.badge.rum { background: #f6e6d6; color: #8a4f1c; }
.meta .ad { background: #fff3d6; color: #7a5600; }
.meta .upd { font-size: .75rem; }

/* Startseite */
.section { padding-top: clamp(1.75rem, 4vw, 3rem); }
.section-label { margin: 0 0 1.4rem; padding-top: .9rem; border-top: 2px solid var(--text); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); display: flex; justify-content: space-between; }
.section-label.spaced { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }
.feature-img, .card-img { display: block; overflow: hidden; border-radius: 3px; background: var(--bg-2); }
.feature-img.presse, .card-img.presse { background: #fff; }
.feature-img img, .card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.feature-img.presse img, .card-img.presse img { object-fit: contain; }
.feature:hover .feature-img img, .card:hover .card-img img { transform: scale(1.02); }
.feature h3 { margin: 0 0 .9rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -.018em; text-wrap: balance; font-variation-settings: "opsz" 72; }
.feature h3 a, .card h3 a { color: var(--text); text-decoration: none; }
.feature h3 a:hover, .card h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.feature-lead { margin: 0 0 1.3rem; color: var(--text-soft); font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: .15rem; }
.more:hover { color: var(--accent-strong); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 2.75rem) clamp(1.25rem, 2.2vw, 2rem); }
.card { display: flex; flex-direction: column; }
.card .meta { margin-top: .95rem; }
.card h3 { margin: 0 0 .5rem; font-family: var(--serif); font-weight: 500; font-size: 1.36rem; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
.excerpt { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-text { padding: 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.all-link { margin: 2.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.all-link a { text-decoration: none; color: var(--text); } .all-link a:hover { color: var(--accent-strong); }
.contact { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.contact-lead { margin: 0 0 .4rem; color: var(--muted); }
.mail { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--text); text-decoration: none; border-bottom: 2px solid var(--accent); }

/* Fuß */
.site-footer { margin-top: 0; border-top: 1px solid var(--line); background: #efebe3; padding: 2.5rem 0 3rem; color: var(--muted); font-size: .85rem; }
.foot { display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; gap: 1rem; align-items: flex-start; }
.crest-foot { width: auto; height: 46px; opacity: .9; }
.foot p { margin: 0; line-height: 1.6; } .foot strong { color: var(--text); font-weight: 600; }
.foot a { color: var(--muted); }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: .35rem 2.2rem; }
.foot nav a { text-decoration: none; } .foot nav a:hover { color: var(--text); text-decoration: underline; }

/* Beitrag */
.post-head { padding-top: clamp(2rem, 5vw, 3.75rem); }
.post-head h1 { margin: .4rem 0 1rem; font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; font-variation-settings: "opsz" 72; }
.lead { margin: 0; color: var(--text-soft); font-family: var(--serif); font-size: clamp(1.18rem, 2vw, 1.38rem); line-height: 1.45; }
.post-figure { width: min(1000px, 100% - 3rem); margin: clamp(1.75rem, 4vw, 2.75rem) auto; }
.post-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; background: var(--bg-2); }
.post-figure.presse img { object-fit: contain; background: #fff; }
.post-figure figcaption { margin-top: .6rem; color: var(--faint); font-size: .78rem; line-height: 1.45; }
.post-sep { height: 1px; background: var(--line); margin: 2rem auto; }
.prose { font-family: var(--serif); font-size: 1.22rem; line-height: 1.62; color: var(--text-soft); padding-bottom: 2.5rem; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 2em 0 .55em; font-family: var(--sans); font-weight: 700; font-size: 1.22rem; line-height: 1.3; letter-spacing: -.01em; color: var(--text); }
.prose h2.small-h { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2.4em; }
.prose h3 { margin: 1.6em 0 .4em; font-family: var(--sans); font-size: 1.02rem; font-weight: 650; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { color: var(--text); text-decoration-color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding-left: 1.1rem; border-left: 3px solid var(--accent); font-style: italic; font-size: 1.32rem; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-family: var(--sans); font-size: .92rem; line-height: 1.5; }
.prose th, .prose td { padding: .7rem .9rem .7rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { width: 30%; color: var(--text); font-weight: 600; } .prose td { color: var(--text-soft); font-variant-numeric: tabular-nums; }
.note, .box { font-family: var(--sans); font-size: .95rem; line-height: 1.55; }
.note { margin: 0 0 1.6rem; padding: .85rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; color: var(--muted); }
.note p, .box p { margin: 0; }
.box { margin: 0 0 1.8rem; padding: 1.1rem 1.3rem; background: var(--paper); border-left: 3px solid var(--accent); }
.box-title { font-size: .7rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: .4rem !important; }
.box.verdict { margin-top: 2.2rem; }
.prose .specs-wrap { margin: 0 0 2em; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper); }
.prose table.specs { margin: 0; }
.prose table.specs th, .prose table.specs td { padding: .6rem .95rem; }
.prose table.specs tr:last-child th, .prose table.specs tr:last-child td { border-bottom: 0; }
.prose table.specs th { width: 34%; background: #faf8f4; font-weight: 600; font-size: .86rem; color: var(--muted); }
.markt { margin: 2.4rem 0 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.markt h2 { margin-top: 0; }
.markt-punkt { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 .8rem; }
.markt-list { list-style: none; margin: 1.1rem 0 1.3rem; padding: 0; display: grid; gap: .75rem; }
.markt-list li { padding: .95rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.markt-list p { margin: .35rem 0 0; font-family: var(--sans); font-size: .93rem; line-height: 1.55; color: var(--text-soft); }
.m-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; font-family: var(--sans); font-size: .98rem; }
.markt-list .src { margin-left: .3rem; font-size: .82rem; color: var(--accent-strong); }
.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; margin: 2.4rem 0 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: .9rem; }
.byline-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.byline-name { font-weight: 600; color: var(--text); }
.byline time { color: var(--faint); margin-left: auto; font-size: .82rem; }
.sources { font-family: var(--sans); font-size: .85rem; line-height: 1.5; color: var(--muted); padding-left: 1.1em; }
.sources a { color: var(--muted); word-break: break-word; }
.pn-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem 0 4rem; }
.pn { display: block; padding: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; transition: border-color .2s; }
.pn:hover { border-color: var(--accent); color: var(--text); }
.pn span { display: block; margin-bottom: .3rem; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); }
.pn.next { grid-column: 2; text-align: right; } .pn.prev { grid-column: 1; grid-row: 1; }

/* Unterseiten */
.page { padding: clamp(2rem, 5vw, 3.75rem) 0 4rem; min-height: 60vh; }
.page .prose { font-size: 1.15rem; }
.page .prose h1, .page-title { margin: .3rem 0 1.2rem; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.02em; color: var(--text); }
.kicker { margin: 0; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); }
.page .lead { margin-bottom: 1.5rem; }
.year { margin: 2.4rem 0 .3rem; padding-top: .8rem; border-top: 2px solid var(--text); font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--text); }
.archive { list-style: none; margin: 0; padding: 0; }
.archive li { display: grid; grid-template-columns: 8.5rem 1fr auto; gap: .2rem 1.2rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.archive time { color: var(--faint); font-size: .82rem; font-variant-numeric: tabular-nums; }
.archive a { color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.archive a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.archive .cat { color: var(--accent-strong); font-size: .68rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }

.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  :root { --header-h: 54px; }
  .wrap, .wrap-narrow, .bar, .post-figure { width: calc(100% - 2.5rem); }
  .brand .crest { height: 34px; }
  .site-header nav { gap: 1.1rem; } .site-header nav a { font-size: .84rem; }
  .grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature h3 { font-size: 1.95rem; } .feature-lead { font-size: 1.1rem; }
  .prose { font-size: 1.12rem; } .prose th { width: 38%; }
  .prose table.specs th, .prose table.specs td { display: block; width: auto; }
  .prose table.specs th { border-bottom: 0; padding-bottom: .1rem; } .prose table.specs td { padding-top: .15rem; }
  .pn-wrap { grid-template-columns: 1fr; } .pn.next, .pn.prev { grid-column: 1; grid-row: auto; text-align: left; }
  .archive li { grid-template-columns: 1fr; gap: .1rem; }
  .byline time { margin-left: 0; }
  .foot nav { grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } .js .reveal { opacity: 1; transform: none; } }
@media (forced-colors: active) { .pn, .note, .box, .badge { border: 1px solid CanvasText; } }

/* v4 (ASSET_VERSION 8): dynamisches Wappen auf der Startseite.
   --p (0 = ganz oben, 1 = gescrollt) setzt main.js; Skalierung nur per transform -> kein Layout-Sprung. */
.brand .crest { height: 40px; }
.home { --smax: 4; --p: 0; }
.js .home .brand { position: relative; z-index: 2; }
.js .home .brand .crest { transform-origin: 0 0; transform: scale(calc(var(--smax) - (var(--smax) - 1) * var(--p))); will-change: transform; }
.js .home .brand::after { content: ""; position: absolute; inset: 0; }
.js .home .site-header { border-bottom-color: rgba(226,221,211, var(--p)); }
@media (min-width: 961px) { .js .home .feature { margin-left: 150px; } }
@media (max-width: 960px) {
  .home { --smax: 2.65; }
  .brand .crest { height: 34px; }
  .js .home #beitraege { padding-top: calc(clamp(1.75rem, 4vw, 3rem) + 62px); }
}
@media (prefers-reduced-motion: reduce) { .js .home .brand .crest { transition: transform 0s; } }

/* v7 (ASSET_VERSION 9): Rubriken, laufende Liste, Einschuebe */
.site-header nav.rubriken { gap: clamp(1rem, 2.4vw, 1.9rem); }
.meta a.cat { text-decoration: none; }
.meta a.cat:hover { text-decoration: underline; }
.liste { display: flex; flex-direction: column; }
.item { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.5rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.item:first-child { padding-top: .2rem; }
.item-text { grid-template-columns: 1fr; }
.item-img { display: block; overflow: hidden; border-radius: 3px; background: var(--bg-2); }
.item-img.presse { background: #fff; }
.item-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.item-img.presse img { object-fit: contain; }
.item h3 { margin: 0 0 .4rem; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; }
.item h3 a { color: var(--text); text-decoration: none; }
.item h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.item .meta { margin-bottom: .45rem; }
.item .excerpt { -webkit-line-clamp: 2; font-size: .95rem; }
.einschub { margin: 1.6rem 0; padding: 1.4rem 1.5rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 3px; }
.einschub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; }
.einschub-head h2 { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.einschub-head a { font-size: .85rem; font-weight: 600; color: var(--accent-strong); text-decoration: none; }
.einschub .card h3 { font-size: 1.15rem; }
.einschub .excerpt { display: none; }
.mehr-wrap { margin: 2rem 0 0; text-align: center; }
.mehr-btn { display: inline-block; padding: .8rem 1.6rem; border: 1px solid var(--text); border-radius: 3px; color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 600; transition: background .2s, color .2s; }
.mehr-btn:hover { background: var(--text); color: #fff; }
.rubrik-head { margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--text); }
.rubrik-head .page-title { margin-bottom: .4rem; }
.rubrik-desc { margin: 0; color: var(--muted); }
.rubrik-page .feature { margin-bottom: 2rem; }
.rubrik-page .liste { border-top: 1px solid var(--line); padding-top: 1rem; }
@media (max-width: 960px) {
  .site-header nav.rubriken { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 1.5rem; margin-left: 1rem; }
  .site-header nav.rubriken::-webkit-scrollbar { display: none; }
  .site-header nav.rubriken a { white-space: nowrap; }
}
@media (max-width: 600px) {
  .item { grid-template-columns: 112px minmax(0, 1fr); gap: .9rem; padding: 1.1rem 0; }
  .item h3 { font-size: 1.12rem; }
  .item .excerpt { display: none; }
  .item .meta .art { display: none; }
  .einschub { padding: 1.1rem 1rem 1.2rem; margin-inline: -.25rem; }
  .einschub .grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .einschub .card { display: grid; grid-template-columns: 112px 1fr; gap: 0 .9rem; }
  .einschub .card-img { grid-row: span 2; }
  .einschub .card .meta { margin-top: 0; }
}
[hidden] { display: none !important; }
@media (max-width: 960px) { .js .home .site-header nav.rubriken { transform: translateX(calc(44px * (1 - var(--p)))); } }
@media (max-width: 600px) { .einschub .card .meta .badge { display: none; } }
@media (max-width: 600px) {
  .einschub .card-text { display: block; padding: .9rem 1rem; }
  .einschub .card-text .meta { margin-bottom: .3rem; }
  .item .meta time::before, .einschub .meta time::before { content: none; }
}
