/* =========================================================================
   HOCHSCHULBOTE — Design-System (modernes News-Magazin, mobile-first)
   Poppins fuer UI/Chrome, Newsreader (Serif) fuer Schlagzeilen + Artikeltext.
   Familienband zum Studienfluesterer-Kosmos: Blau #2478cd, helles Theme.
   6-Ressort-Farbsystem als Akzent (nie Flaeche).
   ========================================================================= */

/* ── Tokens ──────────────────────────────────────────────────────────── */
:root {
  --blue: #2478cd;
  --blue-strong: #1b5fa3;
  --blue-tint: #eaf2fb;
  --ink: #16181d;
  --text: #2b2f36;
  --text-2: #5b6470;
  --text-3: #667085;
  --text-faint: #98a0ac;
  --hairline: #e6e8ec;
  --hairline-strong: #d3d7dd;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --surface-3: #eef0f3;

  --rc: var(--blue);
  --rc-tint: var(--blue-tint);

  --sans: 'Poppins', 'Poppins Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Iowan Old Style', Charter, 'Times New Roman', serif;

  --fs-display: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
  --fs-h1: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);
  --fs-h3: clamp(1.25rem, 1.17rem + 0.35vw, 1.5rem);
  --fs-card: clamp(1.0625rem, 0.98rem + 0.5vw, 1.3125rem);
  --fs-dek: clamp(1.1875rem, 1.08rem + 0.5vw, 1.375rem);
  --fs-body: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;

  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-pill: 999px;
  --shadow-card: 0 6px 20px rgba(22,24,29,.08);
  --shadow-pop: 0 12px 34px rgba(22,24,29,.14);

  --wrap: 1200px;
  --wrap-wide: 1280px;
  --measure: 660px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --ease: cubic-bezier(.2,.6,.2,1);
  --t: .18s;
}

/* Ressort-Farbklassen (Single Source der Akzentfarbe pro Element) */
.r-fernstudium   { --rc:#2478cd; --rc-tint:#eaf2fb; }
.r-studium       { --rc:#0f766e; --rc-tint:#e5f1ef; }
.r-weiterbildung { --rc:#4d7c0f; --rc-tint:#eef4e2; }
.r-politik-recht { --rc:#b02a37; --rc-tint:#fbeaec; }
.r-anbieter      { --rc:#b45309; --rc-tint:#fbefe2; }
.r-meinung       { --rc:#7c3aed; --rc-tint:#f1eafc; }

/* ── Reset / Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  overflow-x: clip; font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  color: var(--text); background: var(--surface);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* Media-Wrapper: <picture> fuellt die aspect-ratio-Box. Bewusst NICHT
   display:contents, das bricht in Chrome das Paint der Bilder (leere Boxen). */
picture { display: block; }
.card__media > picture,
.lead__media > picture,
.article__hero .media > picture { display: block; width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-strong); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
::selection { background: var(--blue-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.15; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: var(--wrap-wide); margin-inline: auto; padding-inline: var(--gutter); }
.reading-col { max-width: none; margin-inline: 0; }
.band { padding-block: clamp(2.25rem, 6vw, 4.5rem); }
.band--alt { background: var(--surface-2); }
.band--tint { background: var(--blue-tint); }

/* Utility text bits */
.kicker { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--rc); margin: 0 0 .5rem; }
.kicker a { color: inherit; }
.kicker a:hover { text-decoration: underline; }
.accent-rule { width: 42px; height: 3px; background: var(--rc); border-radius: 3px; margin: 0 0 var(--s4); }
.meta { font-family: var(--sans); font-weight: 500; font-size: .8125rem; color: var(--text-3); display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-variant-numeric: tabular-nums; }
.meta .dot { color: var(--text-faint); }
.avatar { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-3); }

.btn { display: inline-flex; align-items: center; gap: .5rem; justify-content: center; font-family: var(--sans); font-weight: 600; font-size: .9375rem; letter-spacing: .01em; padding: .72rem 1.2rem; border-radius: var(--r-sm); transition: background var(--t), color var(--t), transform var(--t); line-height: 1; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-strong); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.btn--sm { padding: .5rem .9rem; font-size: .875rem; }
.btn--lg { padding: .85rem 1.5rem; font-size: 1rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-md); color: var(--ink); transition: background var(--t), color var(--t); }
.icon-btn:hover { background: var(--surface-2); color: var(--blue); }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); transition: transform .2s var(--ease); }
.masthead { border-bottom: 1px solid var(--hairline); background: var(--surface); }
.masthead__inner { display: flex; align-items: center; gap: .5rem; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.brand:hover { color: var(--ink); }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex: none; }
.brand__accent { color: var(--blue); }
.brand img, .drawer__brand img { height: 30px; width: auto; display: block; }
.masthead__right { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.masthead__links { display: none; align-items: center; gap: .35rem; }
.masthead__links a { font-family: var(--sans); font-weight: 500; font-size: .875rem; color: var(--text-2); padding: .5rem .7rem; border-radius: var(--r-pill); }
.masthead__links a:hover { color: var(--blue); background: var(--surface-2); }
.nav-toggle { margin-right: -.4rem; }

.chipbar { border-bottom: 1px solid var(--hairline); background: var(--surface); }
/* Mobil: umbrechende Ressort-Liste, kein Seitwaerts-Scrollen (alle sichtbar, aktives immer erkennbar) */
.chipbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; padding-block: .55rem;
}
/* Leicht abgerundete, klickbar wirkende Chips (6px wie die Buttons, keine runden Pills):
   dezenter Grund + Hairline; Hover = Ressort-Rahmen; aktiv = Ressort-Tint gefuellt. */
.chip { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: .38rem .7rem; font-family: var(--sans); font-weight: 600; font-size: .8125rem; letter-spacing: .02em; color: var(--text-2); white-space: nowrap; background: var(--surface-2); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--hairline); transition: color var(--t), background var(--t), box-shadow var(--t); }
.chip:hover { color: var(--rc); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rc); }
.chip.is-active { color: var(--rc); background: var(--rc-tint); box-shadow: inset 0 0 0 1px var(--rc); }
.chip--radar { color: var(--text-3); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .masthead__inner { height: 64px; }
  .brand { font-size: 1.45rem; }
  .brand img { height: 34px; }
  .masthead__links { display: flex; }
  /* Desktop: mehr Abstand + Tap-Hoehe, aber WEITER umbrechend (flex-wrap bleibt).
     So passt es auf breiten Screens in eine Zeile, laeuft aber bei knappen Breiten
     nie horizontal ueber, sondern bricht in eine zweite Zeile um. */
  .chipbar__inner { gap: .5rem .55rem; padding-block: .5rem; }
  .chip { min-height: 34px; }
}

.site-header.is-hidden { transform: translateY(-56px); }
@media (min-width: 900px) { .site-header.is-hidden { transform: translateY(-64px); } }
@media (prefers-reduced-motion: reduce) { .site-header.is-hidden { transform: none; } }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--blue); z-index: 130; transition: width .1s linear; }
@media (prefers-reduced-motion: reduce) { .progress { display: none; } }

/* ── Mobile-Overlay-Menue (editoriale typografische Liste) ────────────── */
.mob-nav { position: fixed; inset: 0; z-index: 250; background: var(--surface); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
.mob-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear 0s; }
.mob-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 56px; padding-inline: var(--gutter); background: var(--surface); border-bottom: 1px solid var(--hairline); flex-shrink: 0; }
.mob-header .brand img { height: 30px; width: auto; display: block; }
.mob-close { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; margin-right: -.5rem; background: none; border: 0; color: var(--ink); font-size: 1.4rem; cursor: pointer; transition: color var(--t); }
.mob-close:hover { color: var(--blue); }
.mob-body { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 34rem; margin: 0 auto; padding: var(--s5) var(--gutter) var(--s7); }
.mob-cta { width: 100%; justify-content: center; margin-bottom: var(--s5); }
.mob-link { display: flex; align-items: center; gap: .8rem; padding: 1rem .1rem; border-bottom: 1px solid var(--hairline); font-family: var(--sans); font-weight: 500; font-size: 1.125rem; color: var(--ink); transition: color var(--t); }
.mob-link:hover { color: var(--blue); }
.mob-link--home { font-weight: 600; }
.mob-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--rc); }
.mob-section-label { font-family: var(--sans); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; color: var(--text-3); margin: var(--s6) 0 .1rem; }
.mob-legal { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: var(--s7); }
.mob-legal a { font-family: var(--sans); font-size: .8125rem; color: var(--text-3); }
.mob-legal a:hover { color: var(--blue); }
.mob-legal-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); flex: none; }
@media (min-width: 900px) { .mob-nav { display: none; } }
/* Scroll-Lock bei offenem Mobil-Overlay: Klasse auf <html>, kein position:fixed.
   Auf Desktop wird der Lock automatisch aufgehoben, damit ein beim Vergroessern
   des Fensters offen gebliebenes Menue die Seite nicht einfriert (kein Reload noetig). */
html.nav-locked { overflow: hidden; }
@media (min-width: 900px) { html.nav-locked { overflow-x: clip; overflow-y: visible; } }

/* ── Cards ───────────────────────────────────────────────────────────── */
.card { display: flex; flex-direction: column; }
.card__media { position: relative; display: block; overflow: hidden; background: var(--surface-3); aspect-ratio: 16/9; }
/* Bild absolut in die (aspect-ratio- oder fix-hohe) Box: fuellt zuverlaessig beim
   Resize, ohne fragile Prozent-Hoehe. object-fit haelt das 16/9-Grid einheitlich. */
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__body { padding-top: var(--s3); display: flex; flex-direction: column; gap: .4rem; }
.card__title { font-family: var(--serif); font-weight: 600; font-size: var(--fs-card); line-height: 1.2; letter-spacing: -.005em; text-wrap: balance; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--rc); }
.card__teaser { font-family: var(--sans); font-size: 1rem; line-height: 1.55; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: .1rem; }
@media (min-width: 720px) { .card__media { border-radius: var(--r-md); } }
@media (min-width: 960px) {
  .card--hoverable .card__media img { transition: transform .4s var(--ease); }
  .card--hoverable:hover .card__media img { transform: scale(1.04); }
  .card--hoverable:hover .card__title a { color: var(--rc); }
}

.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--s6) var(--s5); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
/* Auto-fit: fuellt jede Zeile lueckenlos, egal wie viele Artikel (kein sparse Grid) */
.card-grid.card-grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card--compact { flex-direction: row; gap: var(--s3); align-items: flex-start; }
.card--compact .card__media { width: 84px; height: 84px; aspect-ratio: 1; border-radius: var(--r-sm); flex: none; }
.card--compact .card__body { padding-top: 0; }
.card--compact .card__title { font-size: 1.05rem; }

.section-head { display: flex; align-items: baseline; gap: var(--s4); margin: 0 0 var(--s5); }
.section-head__label { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--rc); }
.section-head__label--ink { color: var(--ink); }
.section-head__rule { flex: 1; height: 1px; background: var(--hairline-strong); align-self: center; }
.section-head__more { font-family: var(--sans); font-weight: 600; font-size: .8125rem; color: var(--text-2); white-space: nowrap; }
.section-head__more:hover { color: var(--rc); }

/* ── Lead (einspaltig, Banner-Bild oben: robust fuer lange Schlagzeilen) ─ */
.lead { display: block; }
.lead__media { display: block; overflow: hidden; background: var(--surface-3); border-radius: var(--r-md); }
.lead__media img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.lead > div { margin-top: var(--s4); }
.lead__title { font-family: var(--serif); font-weight: 600; font-size: var(--fs-display); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; margin-bottom: .5rem; }
.lead__title a { color: var(--ink); }
.lead__title a:hover { color: var(--rc); }
.lead__dek { font-family: var(--serif); font-style: italic; font-size: var(--fs-dek); line-height: 1.5; color: var(--text); max-width: 58ch; margin-bottom: .7rem; }
@media (min-width: 720px) { .lead__media img { aspect-ratio: 16/9; } }

/* ── Newsradar ───────────────────────────────────────────────────────── */
.newsradar { border-top: 3px solid var(--ink); padding-top: var(--s3); }
.newsradar__head { display: flex; align-items: center; gap: .55rem; margin-bottom: .3rem; }
.newsradar__title { font-family: var(--sans); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.newsradar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(36,120,205,.5); animation: nrpulse 2.2s infinite; flex: none; }
@keyframes nrpulse { 70% { box-shadow: 0 0 0 6px rgba(36,120,205,0);} 100% { box-shadow: 0 0 0 0 rgba(36,120,205,0);} }
@media (prefers-reduced-motion: reduce) { .newsradar__dot { animation: none; } }
.newsradar__sub { font-family: var(--sans); font-size: .8rem; color: var(--text-3); margin-bottom: var(--s3); line-height: 1.4; }
.nr-list { list-style: none; padding: 0; }
.nr-item { border-top: 1px solid var(--hairline); }
.nr-item:first-child { border-top: 0; }
.nr-link { display: block; padding: .8rem 0; }
.nr-meta { display: flex; gap: .5rem; align-items: baseline; font-size: .68rem; margin-bottom: .2rem; }
.nr-source { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.nr-time { color: var(--text-3); font-family: var(--sans); }
.nr-headline { font-family: var(--sans); font-weight: 500; font-size: .9rem; line-height: 1.4; color: var(--ink); }
.nr-link:hover .nr-headline { color: var(--blue); }
.nr-headline .ext { color: var(--text-faint); font-size: .8em; margin-left: .2rem; }
.newsradar__foot { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--hairline); font-size: .68rem; color: var(--text-3); line-height: 1.45; }
.newsradar__foot a { color: var(--text-2); font-weight: 600; }

.home-top { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .home-top { grid-template-columns: 1fr 340px; gap: var(--s7); align-items: start; } }
.home-main { display: flex; flex-direction: column; }

.topstories { display: grid; gap: 0; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--hairline-strong); }
.topstories .card { padding: var(--s4) 0; border-top: 1px solid var(--hairline); }
.topstories .card:first-child { padding-top: 0; border-top: 0; }
@media (min-width: 620px) { .topstories { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } .topstories .card { padding: 0; border-top: 0; } }

/* ── CTA-Band ────────────────────────────────────────────────────────── */
.cta-cards { display: grid; gap: var(--s5); }
@media (min-width: 780px) { .cta-cards { grid-template-columns: 1fr 1fr; } }
.cta-card { display: flex; flex-direction: column; align-items: flex-start; border-top: 2px solid var(--ink); padding-top: var(--s4); }
.cta-card h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: .5rem; }
.cta-card p { color: var(--text-2); margin-bottom: var(--s4); flex: 1; }
.cta-card .btn { width: auto; }
.cta-card .fineprint { font-size: .78rem; color: var(--text-3); margin-top: .7rem; margin-bottom: 0; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--surface-3); border-top: 1px solid var(--hairline); padding-block: var(--s7) var(--s5); }
.footer-top { display: grid; gap: var(--s6); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .brand { font-size: 1.35rem; margin-bottom: var(--s3); }
.footer-brand .brand img { height: 36px; }
.footer-tagline { font-family: var(--serif); font-style: italic; color: var(--text-2); font-size: .95rem; margin-bottom: var(--s3); max-width: 28ch; }
.footer-umbrella a { color: var(--text-3); font-size: .85rem; }
.footer-col h2 { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--s3); }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a, .footer-cc-link { color: var(--text-2); font-size: .9375rem; font-family: var(--sans); }
.footer-col a:hover, .footer-cc-link:hover { color: var(--blue); }
.footer-cc-link { text-align: left; padding: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; align-items: center; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--hairline); }
.footer-copy { color: var(--text-3); font-size: .85rem; }
.footer-legal { display: flex; gap: var(--s4); flex-wrap: wrap; }
.footer-legal a, .footer-legal .footer-cc-link { color: var(--text-3); font-size: .85rem; }

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.breadcrumb { font-family: var(--sans); font-weight: 500; font-size: .8125rem; color: var(--text-3); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: var(--s4); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--text-faint); font-size: .7em; }

/* ── Artikel: EINE Lesespalte, volle Breite, linksbündig (einheitlich) ─── */
.article { padding: var(--s5) 0 0; }
.article > .wrap { padding-bottom: var(--s8); }
.article__title { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; margin: .3rem 0 var(--s4); }
.article__dek { font-family: var(--serif); font-style: italic; font-size: var(--fs-dek); line-height: 1.5; color: var(--text); margin-bottom: var(--s5); }
.byline { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; padding-bottom: var(--s5); border-bottom: 1px solid var(--hairline); }
.byline__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; }
.byline__who { line-height: 1.3; }
.byline__name { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--ink); }
.byline__name a { color: var(--ink); }
.byline__name a:hover { color: var(--blue); }
.byline__meta { font-family: var(--sans); font-size: .8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.byline__share { margin-left: auto; display: flex; gap: .1rem; }
.byline__share .icon-btn { width: 38px; height: 38px; color: var(--text-2); }

.article__hero { margin: var(--s6) 0; }
/* Hero-Bild schlicht responsiv: width:100% + height:auto. KEINE Prozent-Hoehe-Kette
   (img/picture height:100% -> .media aspect-ratio), die Chrome beim Resize nicht neu
   berechnet ("Bild zieht sich breit / haengt bis Reload"), und KEIN object-fit-Paint.
   Das Bild skaliert einfach mit der Breite, in seinem natuerlichen Seitenverhaeltnis. */
.article__hero .media { overflow: hidden; background: var(--surface-3); border-radius: var(--r-md); }
.article__hero .media img { display: block; width: 100%; height: auto; }
.article__cap { margin: .6rem 0 0; font-family: var(--sans); font-size: .8125rem; color: var(--text-3); line-height: 1.4; }

/* "Das Wichtigste in Kürze": extrahierbarer Kern oben im Artikel (Snippets/GEO).
   Bewusst KEINE Callout-Box (keine Fläche, kein Radius, kein Balken) — nur die
   site-weite Akzentlinie + Kicker über einer randlosen, redaktionellen Liste. */
.summary-box { margin: var(--s5) 0 var(--s7); padding: 0 0 var(--s6); border-bottom: 1px solid var(--hairline); }
.summary-box__title { position: relative; font-family: var(--sans); font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rc); margin: 0 0 var(--s4); padding-top: calc(3px + var(--s3)); }
.summary-box__title::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 3px; background: var(--rc); border-radius: 3px; }
.summary-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.summary-box li { position: relative; padding-left: 1.4em; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.summary-box li::before { content: ""; position: absolute; left: .15em; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--rc); }

.prose { font-family: var(--serif); font-size: var(--fs-body); line-height: 1.72; color: var(--text); text-wrap: pretty; }
.prose > p { margin-bottom: 1.15em; }
.prose h2 { font-size: var(--fs-h2); margin: var(--s7) 0 var(--s3); line-height: 1.15; }
.prose h3 { font-size: var(--fs-h3); margin: var(--s6) 0 var(--s2); }
.prose a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose a:not(.btn):hover { color: var(--blue-strong); text-decoration-thickness: 2px; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote { margin: var(--s6) 0; padding-left: var(--s4); border-left: 3px solid var(--rc); font-style: italic; font-weight: 500; font-size: clamp(1.375rem, 1.2rem + 1vw, 1.875rem); line-height: 1.35; color: var(--ink); }
.prose figure { margin: var(--s6) 0; }
.prose figure img { border-radius: var(--r-md); width: 100%; }
.prose figcaption { font-family: var(--sans); font-size: .8125rem; color: var(--text-3); margin-top: .5rem; }

.infobox { margin: var(--s6) 0; background: var(--surface-2); border-left: 3px solid var(--rc); border-radius: var(--r-md); padding: var(--s5); font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--text); }
.infobox h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }

.article__tags { margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.article__tags .label { font-family: var(--sans); font-size: .8125rem; font-weight: 600; color: var(--text-3); margin-right: .2rem; }
.tag-pill { font-family: var(--sans); font-size: .8125rem; color: var(--text-2); background: var(--surface-2); padding: .35rem .7rem; border-radius: var(--r-sm); transition: background var(--t), color var(--t); }
.tag-pill:hover { color: var(--blue); background: var(--blue-tint); }

.authorbox { margin: var(--s7) 0 0; display: flex; gap: var(--s4); border-top: 1px solid var(--hairline); padding: var(--s5) 0 0; }
.authorbox__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-3); }
.authorbox__name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); margin-bottom: .1rem; }
.authorbox__role { font-family: var(--sans); font-size: .8125rem; color: var(--text-3); margin-bottom: .5rem; }
.authorbox__bio { font-family: var(--sans); font-size: .9375rem; color: var(--text-2); line-height: 1.55; margin-bottom: .5rem; }
.authorbox__links a { font-family: var(--sans); font-size: .85rem; font-weight: 600; margin-right: var(--s4); }

.guestbox { margin: var(--s5) 0 0; background: var(--rc-tint); border-left: 3px solid var(--rc); border-radius: var(--r-md); padding: var(--s5); }
.guest-badge { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rc); background: #fff; padding: .25rem .6rem; border-radius: var(--r-sm); margin-bottom: .5rem; }
.guestbox p { font-family: var(--sans); font-size: .9375rem; color: var(--text-2); line-height: 1.55; margin-bottom: .5rem; }

/* ── Ressort/Autor Hero + generische Seite ───────────────────────────── */
.page-hero { padding-block: var(--s6) var(--s5); }
.page-hero__kicker { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rc); }
.page-hero h1 { font-size: var(--fs-h1); margin: .3rem 0 .5rem; }
.page-hero__desc { font-family: var(--serif); font-style: italic; font-size: var(--fs-dek); color: var(--text-2); }

.page-body { max-width: none; margin-inline: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.page-body h1 { font-size: var(--fs-h1); margin-bottom: var(--s4); }
.page-body h1::before { content: ""; display: block; width: 42px; height: 3px; background: var(--rc); border-radius: 3px; margin-bottom: var(--s4); }
.page-body .lead-para { font-family: var(--serif); font-style: italic; font-size: var(--fs-dek); color: var(--text); margin-bottom: var(--s6); line-height: 1.5; }
.page-body h2 { font-size: var(--fs-h2); margin: var(--s6) 0 var(--s3); }
.page-body h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 700; color: var(--ink); margin: var(--s5) 0 var(--s2); }
.page-body p { margin-bottom: 1.1em; }
.page-body ul, .page-body ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.page-body li { margin-bottom: .45em; }
.page-body a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.page-body strong { color: var(--ink); font-weight: 600; }
.page-body .legal-meta { font-family: var(--sans); font-size: .85rem; color: var(--text-3); margin: 0 0 var(--s5); }
/* display:block + overflow-x:auto: die Tabelle scrollt bei schmalen Viewports in
   sich selbst, statt die Seite zu ueberlaufen und die rechte Spalte abzuschneiden. */
.page-body .legal-table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: var(--s4) 0 var(--s5); font-size: .95rem; }
.page-body .legal-table th, .page-body .legal-table td { text-align: left; padding: .55rem .75rem; border: 1px solid var(--hairline); vertical-align: top; }
.page-body .legal-table th { font-family: var(--sans); font-weight: 600; color: var(--ink); }
.page-body .legal-table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.page-body .steps { list-style: none; padding: 0; counter-reset: st; margin: var(--s5) 0; }
.page-body .steps li { position: relative; padding: 0 0 var(--s4) 3.2rem; margin-bottom: var(--s4); border-bottom: 1px solid var(--hairline); counter-increment: st; }
.page-body .steps li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.page-body .steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--sans); font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: center; }

/* ── Back-to-top / Reveal / Suche ────────────────────────────────────── */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t), transform var(--t), visibility var(--t); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue); color: #fff; }

.search-fold { min-height: calc(100vh - 7.25rem); min-height: calc(100svh - 7.25rem); display: flex; flex-direction: column; align-items: center; justify-content: safe center; padding: var(--s6) var(--gutter) var(--s8); }
.search-inner { width: 100%; max-width: 640px; text-align: center; }
.search-kicker { color: var(--blue); margin-bottom: .4rem; }
.search-title { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: 1.1; margin: 0 0 var(--s6); }
.search-hint { margin-top: var(--s5); font-size: .9rem; color: var(--text-3); }
#pf-search { text-align: left; }
:root { --pagefind-ui-scale: .85; --pagefind-ui-primary: #16181d; --pagefind-ui-text: #2b2f36; --pagefind-ui-background: #ffffff; --pagefind-ui-border: #d3d7dd; --pagefind-ui-tag: #eef0f3; --pagefind-ui-border-radius: 12px; --pagefind-ui-font: 'Poppins', sans-serif; }
#pf-search mark { background: var(--blue-tint); color: var(--blue-strong); }

.center { text-align: center; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
