/* CRMLinks – Stylesheet
   Farbwelt und Schrift orientiert an crmblog.de: monochrome Basis, Manrope,
   dazu ein ruhiger Akzent. Keine Abhängigkeiten, keine Frameworks.

   Manrope ist selbst gehostet – es geht keine Anfrage an Google.
   SIL Open Font License 1.1, © 2019 The Manrope Project Authors.
   Variable Fassung: ein Datei-Paar deckt alle Schnitte von 200 bis 800 ab. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Basis */
  --ink: #252525;
  --ink-strong: #15171a;
  /* Fließtext deutlich dunkler als zuvor (#67717a): Beschreibungen sind
     das, was auf dieser Seite tatsächlich gelesen wird, und saßen bei
     4,9:1 hart an der Grenze. Jetzt 7,6:1 auf Weiß. */
  /* Fließtext: alles, was wirklich gelesen wird. 11:1 auf Weiß. */
  --body: #333c45;
  --muted: #4a5560;
  --muted-soft: #5a646e;
  --line: #e4e7ea;
  --line-soft: #eef0f3;
  --surface: #f8f9fb;
  --surface-sunk: #f2f4f7;
  --paper: #ffffff;

  /* Wortmarke: exakt das Blau aus der CRMBlog-Logografik. Steht bewusst
     neben --accent und nicht darin: die Marke soll auf dem Originalton
     sitzen, während die Seite mit dem ruhiger gestellten Akzent arbeitet,
     der auch in großen Flächen und auf Knöpfen funktioniert. */
  --brand: #1E08FF;

  /* Akzent: ruhiger gestellte Variante des Blaus aus der Vorlage */
  --accent: #2733cc;
  --accent-ink: #1d2699;
  --accent-wash: #eef0ff;
  --warm: #d98a0b;
  /* Als Schrift ist der Warmton zu hell – eigene, dunklere Variante. */
  --warm-ink: #8a5a12;

  --focus: #2733cc;

  --radius: 10px;
  --radius-lg: 16px;

  --shadow-card: 0 1px 2px rgba(21, 23, 26, .04), 0 8px 24px -16px rgba(21, 23, 26, .18);
  --shadow-lift: 0 2px 4px rgba(21, 23, 26, .06), 0 18px 40px -22px rgba(21, 23, 26, .26);

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: var(--font-display);

  --page: 1140px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8eaed;
    --ink-strong: #f6f7f9;
    --body: #d4dae1;
    --muted: #b7bfc8;
    --muted-soft: #9aa3ad;
    --line: #2b2f36;
    --line-soft: #23272d;
    --surface: #191c21;
    --surface-sunk: #15181c;
    --paper: #111418;
    /* Auf dunklem Grund ist #1E08FF zu dunkel für lesbaren Kontrast.
       Gleicher Farbton, höhere Helligkeit. */
    --brand: #8f7dff;
    --accent: #93a0ff;
    --accent-ink: #b9c2ff;
    --accent-wash: #1b2040;
    --warm: #e5a43a;
    --warm-ink: #e8b35a;
    --focus: #93a0ff;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -16px rgba(0, 0, 0, .6);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .45), 0 18px 40px -22px rgba(0, 0, 0, .7);
  }
}

:root[data-theme="dark"] {
  --ink: #e8eaed;
  --ink-strong: #f6f7f9;
  --body: #d4dae1;
  --muted: #b7bfc8;
  --muted-soft: #9aa3ad;
  --line: #2b2f36;
  --line-soft: #23272d;
  --surface: #191c21;
  --surface-sunk: #15181c;
  --paper: #111418;
  --brand: #8f7dff;
  --accent: #93a0ff;
  --accent-ink: #b9c2ff;
  --accent-wash: #1b2040;
  --warm: #e5a43a;
  --warm-ink: #e8b35a;
  --focus: #93a0ff;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -16px rgba(0, 0, 0, .6);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .45), 0 18px 40px -22px rgba(0, 0, 0, .7);
}

/* dark mode: Seitenhintergrund */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { background: #0e1114; }
}
:root[data-theme="dark"] body { background: #0e1114; }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-strong);
  letter-spacing: -.024em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 2px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink-strong); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius) 0; z-index: 100;
}
.skip:focus { left: 0; top: 0; }

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper, #fff) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
body { background: var(--paper); }

.site-header__inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 66px;
}

/* Wortmarke nach dem Vorbild des CRMBlog-Logos: Versalien, beide Teile im
   selben Blau, die Trennung läuft über den Schnitt statt über die Farbe.
   Die Versalien tragen etwas enger und brauchen etwas Laufweite nach innen. */
.brand {
  display: inline-flex; align-items: baseline; gap: 0;
  font-family: var(--font-display);
  font-size: 1.42rem; letter-spacing: -.035em;
  color: var(--brand); text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--brand); }
.brand b { font-weight: 800; }
.brand span { font-weight: 400; }

.site-nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
}
.site-nav a {
  font-size: .88rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 7px 10px; border-radius: 7px;
}
.site-nav a:hover { color: var(--ink-strong); background: var(--surface-sunk); }
.site-nav a[aria-current="page"] { color: var(--ink-strong); background: var(--surface-sunk); }

.theme-toggle {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px;
  background: transparent; color: var(--muted);
  cursor: pointer; padding: 0;
}
.theme-toggle:hover { color: var(--ink-strong); border-color: var(--muted-soft); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

.header-search {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface);
  padding: 6px 9px 6px 11px;
  font-size: .86rem; color: var(--muted); text-decoration: none;
  cursor: pointer;
}
.header-search:hover { color: var(--ink-strong); border-color: var(--muted-soft); background: var(--surface-sunk); }
.header-search svg { width: 15px; height: 15px; flex: none; }
.header-search kbd {
  font: inherit; font-size: .68rem; line-height: 1;
  border: 1px solid var(--line); border-radius: 4px;
  padding: 3px 5px; background: var(--paper); color: var(--muted-soft);
}
.site-nav { margin-left: 0; }
.site-header__inner > .site-nav { margin-left: 18px; }

/* ---------- Overlay-Suche ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: color-mix(in srgb, #0e1114 42%, transparent);
  backdrop-filter: blur(3px);
  display: flex; justify-content: center;
  padding: 10vh 16px 16px;
  overscroll-behavior: contain;
}
.overlay[hidden] { display: none; }
.overlay__sheet {
  width: min(680px, 100%); max-height: 74vh;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.overlay__field {
  display: flex; align-items: center; gap: 11px;
  padding: 0 14px; border-bottom: 1px solid var(--line);
  flex: none;
}
.overlay__field > svg { width: 18px; height: 18px; color: var(--muted-soft); flex: none; }
.overlay__field input {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 1.02rem; padding: 16px 0;
}
.overlay__field input:focus { outline: none; }
.overlay__field button {
  border: 0; background: transparent; cursor: pointer; padding: 4px;
}
.overlay__field kbd {
  font: inherit; font-size: .68rem; color: var(--muted-soft);
  border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px;
}
.overlay__results { overflow-y: auto; padding: 6px; flex: 1 1 auto; }
.hit {
  display: block; padding: 11px 12px; border-radius: 9px;
  text-decoration: none; color: inherit;
}
.hit:hover, .hit[aria-selected="true"] { background: var(--surface-sunk); color: inherit; }
.hit__top { display: flex; align-items: baseline; gap: 9px; }
.hit__name { font-weight: 700; color: var(--ink-strong); font-size: .97rem; }
.hit__rubric {
  font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: hsl(var(--hue, 222) 48% 46%);
}
.hit__host { margin-left: auto; font-size: .76rem; color: var(--muted-soft); }
.hit__text {
  margin: 3px 0 0; font-size: .85rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.overlay__foot {
  flex: none; margin: 0; padding: 11px 16px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
  font-size: .8rem; color: var(--muted-soft);
  background: var(--surface);
}
.overlay__foot a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; }
.overlay__foot a:hover { text-decoration: underline; }
.overlay__foot svg { width: 13px; height: 13px; }
.overlay__empty { padding: 30px 16px; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- Hero ---------- */

.hero { padding: 56px 0 34px; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  max-width: 17ch;
}
@media (min-width: 860px) { .hero h1 { max-width: 28ch; } }
.hero__lead {
  margin-top: 16px; max-width: 62ch;
  font-size: 1.08rem; line-height: 1.6; color: var(--body);
}
.hero__meta {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: .84rem; color: var(--muted-soft);
}
.hero__meta strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Suche ---------- */

.search {
  position: relative;
  margin: 26px 0 0;
}
.search__field {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  padding: 0 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.search__field:focus-within {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.search__field svg { width: 18px; height: 18px; color: var(--muted-soft); flex: none; }
.search input {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 1rem;
  padding: 13px 0;
}
.search input:focus { outline: none; }
.search input::placeholder { color: var(--muted-soft); }
.search__kbd {
  flex: none; font-size: .68rem; color: var(--muted-soft);
  border: 1px solid var(--line); border-radius: 5px;
  padding: 2px 6px; background: var(--paper);
  font-family: var(--font-body); letter-spacing: .02em;
}
.search__clear {
  flex: none; border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font-size: .8rem; padding: 4px 2px;
  display: none;
}
.search--active .search__clear { display: block; }
.search--active .search__kbd { display: none; }

.filters {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.chip {
  font: inherit; font-size: .82rem; font-weight: 500;
  border: 1px solid var(--line); border-radius: 100px;
  background: transparent; color: var(--muted);
  padding: 6px 13px; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.chip:hover { color: var(--ink-strong); border-color: var(--muted-soft); }
.chip[aria-pressed="true"] {
  background: var(--ink-strong); border-color: var(--ink-strong);
  color: #fff;
}
:root[data-theme="dark"] .chip[aria-pressed="true"] { color: #111418; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chip[aria-pressed="true"] { color: #111418; }
}
.chip__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: hsl(var(--hue, 222) 62% 52%);
  flex: none;
}
.chip[aria-pressed="true"] .chip__dot { background: currentColor; }
.chip__n { font-variant-numeric: tabular-nums; font-size: .76rem; color: var(--muted); }
.chip[aria-pressed="true"] .chip__n { color: inherit; opacity: .75; }

.search-status {
  margin-top: 14px; font-size: .86rem; color: var(--muted);
  min-height: 1.3em;
}
.search-status b { color: var(--ink-strong); font-weight: 600; }

/* ---------- Rubriken & Raster ---------- */

main { padding-bottom: 72px; }

.section { margin-top: 44px; scroll-margin-top: 86px; }
.search { scroll-margin-top: 86px; }
.note { scroll-margin-top: 86px; }
.section__head {
  display: flex; align-items: flex-end; gap: 16px;
  padding-bottom: 14px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.section__title {
  font-size: 1.44rem;
  display: flex; align-items: center; gap: 11px;
}
.section__title .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: hsl(var(--hue, 222) 62% 52%);
  flex: none;
}
.section__desc {
  margin: 6px 0 0; font-size: .92rem; color: var(--muted); max-width: 70ch;
}
.section__count {
  margin-left: auto; flex: none;
  font-size: .8rem; color: var(--muted-soft);
  font-variant-numeric: tabular-nums;
  padding-bottom: 3px;
}
.section__all {
  margin-left: auto; flex: none; padding-bottom: 3px;
  font-size: .84rem; text-decoration: none; font-weight: 500;
}
.section__all:hover { text-decoration: underline; }
.section__all svg { width: 13px; height: 13px; vertical-align: -1px; }
.section__all { display: inline-flex; align-items: center; gap: 6px; }

.grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(298px, 1fr));
}

/* ---------- "Ich möchte …" ---------- */

.intent {
  margin-top: 46px;
  padding: 26px 28px 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 0% 0%, var(--accent-wash) 0%, transparent 58%),
    var(--surface);
}
.intent__lead {
  font-size: 1.3rem; margin-bottom: 15px;
  color: var(--ink-strong);
}
.intent__options { display: flex; flex-wrap: wrap; gap: 8px; }
.intent__option {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 9px 8px 15px;
  font-size: .91rem; font-weight: 500; color: var(--ink);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s, color .15s;
}
.intent__option:hover {
  color: var(--ink-strong);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent);
  transform: translateY(-1px);
}
.intent__n {
  font-size: .74rem; font-variant-numeric: tabular-nums;
  color: var(--muted-soft);
  background: var(--surface-sunk); border-radius: 100px;
  padding: 2px 8px; min-width: 24px; text-align: center;
}
.intent__option:hover .intent__n { color: var(--accent-ink); background: var(--accent-wash); }

.intent__foot {
  margin: 16px 0 0; font-size: .86rem; color: var(--muted-soft);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.intent__foot a { font-weight: 500; text-decoration: none; }
.intent__foot a:hover { text-decoration: underline; }

.intent-active {
  margin: 12px 0 0; font-size: .86rem; color: var(--muted);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.intent-active[hidden] { display: none; }
.intent-active b { color: var(--ink-strong); font-weight: 600; }
.intent-active button {
  font: inherit; font-size: .82rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: 100px;
  background: transparent; color: var(--muted); padding: 3px 11px;
}
.intent-active button:hover { color: var(--ink-strong); border-color: var(--muted-soft); }

/* ---------- Sortierung ---------- */

.sorter {
  margin-top: 14px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.sorter__label {
  font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-soft); margin-right: 4px;
}
.seg {
  font: inherit; font-size: .83rem; font-weight: 500;
  border: 1px solid var(--line); border-radius: 7px;
  background: transparent; color: var(--muted);
  padding: 6px 12px; cursor: pointer;
}
.seg:hover:not(:disabled) { color: var(--ink-strong); border-color: var(--muted-soft); }
.seg[aria-pressed="true"] {
  background: var(--ink-strong); border-color: var(--ink-strong); color: var(--paper);
}
:root[data-theme="dark"] .seg[aria-pressed="true"] { color: #111418; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .seg[aria-pressed="true"] { color: #111418; }
}
.seg:disabled { opacity: .45; cursor: not-allowed; }

.rows--flat .row__rank {
  flex: none; width: 30px;
  font-variant-numeric: tabular-nums; font-weight: 700;
  color: var(--muted-soft); font-size: .92rem; padding-top: 2px;
}

/* ---------- Kurator ---------- */

.curator {
  margin-top: 60px;
  display: flex; gap: 24px; align-items: flex-start;
  padding: 26px 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
  scroll-margin-top: 86px;
}
.curator__photo {
  flex: none; width: 88px; height: 88px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--paper);
  box-shadow: 0 2px 10px -4px rgba(21, 23, 26, .4);
}
.curator__body { min-width: 0; }
.curator__kicker {
  margin: 0 0 3px; font-size: .7rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted-soft);
}
.curator h2 { font-size: 1.16rem; margin-bottom: 9px; }
.curator p { color: var(--muted); font-size: .93rem; max-width: 70ch; }
.curator__links { margin-top: 12px; display: flex; gap: 9px; font-size: .88rem; }
.curator__links a { font-weight: 500; text-decoration: none; }
.curator__links a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .curator { flex-direction: column; gap: 16px; padding: 22px 20px; }
  .curator__photo { width: 70px; height: 70px; }
  .intent { padding: 22px 20px; }
}

/* ---------- Über mich ---------- */

.vita {
  display: flex; align-items: center; gap: 24px;
  padding: 26px 0 8px;
}
.vita__photo {
  width: 104px; height: 104px; flex: none;
  border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
}
.vita__intro { min-width: 0; }
.vita__intro h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.vita__lead {
  margin-top: 12px; max-width: 62ch;
  color: var(--body); font-size: 1.04rem; line-height: 1.66;
}

/* Fließtext ohne Kacheln: die einzige Seite, auf der am Stück gelesen wird. */
.prose { margin-top: 38px; max-width: 68ch; }
.prose h2 {
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 1.12rem; letter-spacing: -.01em;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { margin-top: 13px; color: var(--body); line-height: 1.72; }
.prose a { color: var(--ink-strong); text-underline-offset: 3px; }

@media (max-width: 560px) {
  .vita { flex-direction: column; align-items: flex-start; gap: 18px; }
  .vita__photo { width: 84px; height: 84px; }
}

/* ---------- Rubrikgruppen ---------- */

/* Mehrere Rubriken, die zusammengehören (E-Mail-Design, Deliverability und
   Werkzeuge gehören alle zum E-Mail-Marketing), stehen auf der Startseite
   unter einer gemeinsamen Zeile. Eine Linie statt eines Kastens: sie bündelt,
   ohne eine zweite Rahmenebene über die Kacheln zu legen. */
.group { margin-top: 30px; }
.group + .group,
.tiles + .group { margin-top: 34px; }

.group__title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted);
}
.group__line {
  width: 22px; height: 2px; flex: none; border-radius: 2px;
  background: var(--ink-strong);
}
.group__title a { color: inherit; text-decoration: none; }
.group__title a:hover { color: var(--ink-strong); text-decoration: underline; }
.grouphead a { color: inherit; text-decoration: none; }
.grouphead a:hover { text-decoration: underline; }

.group__n {
  margin-left: auto; flex: none;
  font-weight: 450; letter-spacing: .02em; text-transform: none;
  font-size: .8rem; color: var(--muted-soft);
}

/* Gruppenüberschrift in der Gesamtliste */
.grouphead {
  margin: 44px 0 -6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: -.01em;
}
.grouphead:first-of-type { margin-top: 36px; }

.crumbs__group { color: var(--muted); }

/* Einleitungstext auf Rubrik- und Gruppenseiten. Trägt die Begriffe, nach
   denen gesucht wird, und sagt der Leserin, was sie hier erwartet. */
.intro {
  margin-top: 22px;
  max-width: 68ch;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}
.intro p { color: var(--body); font-size: 1.01rem; line-height: 1.68; }

@media (max-width: 560px) {
  .group__n { display: none; }
}

/* ---------- Rubriken-Kacheln ---------- */

.tiles {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(282px, 1fr));
}

.tile {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 190px;
  /* Ohne das kann die Kachel nicht unter ihre Inhaltsbreite schrumpfen, und
     die Namenszeile mit nowrap sprengt auf schmalen Bildschirmen das Raster. */
  min-width: 0;
  padding: 20px 21px 18px;
  border: 1px solid var(--line); border-radius: 15px;
  background: var(--paper);
  text-decoration: none; color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Eine sehr leichte Tönung in der Rubrikfarbe, die beim Überfahren aufzieht.
   Als eigene Ebene, damit die Schrift davon unberührt bleibt. */
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(118% 86% at 88% 0%,
    hsl(var(--hue, 222) 72% 58% / .13) 0%, transparent 62%);
  opacity: 0; transition: opacity .25s ease;
}
.tile:hover {
  color: inherit;
  border-color: hsl(var(--hue, 222) 48% 62% / .55);
  box-shadow: 0 2px 4px hsl(var(--hue, 222) 40% 30% / .05),
              0 16px 34px -20px hsl(var(--hue, 222) 45% 35% / .4);
  transform: translateY(-2px);
}
.tile:hover::after { opacity: 1; }
.tile:focus-visible { outline: 2px solid hsl(var(--hue, 222) 55% 52%); outline-offset: 3px; }

.tile__top { display: flex; align-items: flex-start; margin-bottom: 15px; }

.tile__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: hsl(var(--hue, 222) 62% 52% / .1);
  color: hsl(var(--hue, 222) 55% 42%);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.tile:hover .tile__icon {
  background: hsl(var(--hue, 222) 62% 50% / .17);
  transform: scale(1.04);
}
.tile__glyph { width: 21px; height: 21px; }
.tile__icon .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }

.tile__n {
  margin-left: auto; padding-top: 2px;
  font-size: 1.44rem; font-weight: 800; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: var(--muted-soft);
  opacity: .5;
  transition: color .25s ease, opacity .25s ease;
}
.tile:hover .tile__n { color: hsl(var(--hue, 222) 48% 46%); opacity: .9; }

.tile__name {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -.028em;
  color: var(--ink-strong); line-height: 1.25;
  margin-bottom: 6px;
}
.tile__desc {
  font-size: 16px; line-height: 24px; color: var(--body);
  text-wrap: pretty;
}

.tile__foot {
  margin-top: auto; padding-top: 15px;
  min-width: 0;
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line-soft);
}
.tile__names {
  min-width: 0; flex: 1 1 auto;
  font-size: .76rem; color: var(--muted-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tile__sep { margin: 0 6px; opacity: .55; }
.tile__arrow {
  flex: none; display: grid; place-items: center;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--surface-sunk); color: var(--muted-soft);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.tile__arrow svg { width: 13px; height: 13px; }
.tile:hover .tile__arrow {
  background: hsl(var(--hue, 222) 62% 52%);
  color: #fff;
  transform: translateX(2px);
}

/* Im dunklen Modus tragen dieselben Farbwerte nicht: Das Symbol braucht mehr
   Helligkeit, die Zahl mehr Deckkraft. */
:root[data-theme="dark"] .tile__icon {
  background: hsl(var(--hue, 222) 55% 60% / .14);
  color: hsl(var(--hue, 222) 62% 70%);
}
:root[data-theme="dark"] .tile:hover .tile__icon { background: hsl(var(--hue, 222) 58% 60% / .22); }
:root[data-theme="dark"] .tile__n { opacity: .62; }
:root[data-theme="dark"] .tile:hover .tile__n { color: hsl(var(--hue, 222) 58% 68%); opacity: 1; }
:root[data-theme="dark"] .tile:hover {
  border-color: hsl(var(--hue, 222) 45% 55% / .5);
  box-shadow: 0 16px 34px -20px #000;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tile__icon {
    background: hsl(var(--hue, 222) 55% 60% / .14);
    color: hsl(var(--hue, 222) 62% 70%);
  }
  :root:not([data-theme="light"]) .tile:hover .tile__icon { background: hsl(var(--hue, 222) 58% 60% / .22); }
  :root:not([data-theme="light"]) .tile__n { opacity: .62; }
  :root:not([data-theme="light"]) .tile:hover .tile__n { color: hsl(var(--hue, 222) 58% 68%); opacity: 1; }
  :root:not([data-theme="light"]) .tile:hover {
    border-color: hsl(var(--hue, 222) 45% 55% / .5);
    box-shadow: 0 16px 34px -20px #000;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tile, .tile__icon, .tile__arrow, .tile__n, .tile::after { transition: none; }
  .tile:hover { transform: none; }
  .tile:hover .tile__icon { transform: none; }
  .tile:hover .tile__arrow { transform: none; }
}

@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
}

/* ---------- Schaltfläche ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink-strong); color: var(--paper);
  border: 1px solid var(--ink-strong); border-radius: 8px;
  padding: 9px 15px;
  font-size: .87rem; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn svg { width: 13px; height: 13px; }
:root[data-theme="dark"] .btn { color: #111418; }
:root[data-theme="dark"] .btn:hover { color: #111418; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn,
  :root:not([data-theme="light"]) .btn:hover { color: #111418; }
}

/* ---------- Abo-Links ---------- */

.subs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: 14px; padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}
.subs__label {
  width: 100%; margin-bottom: 2px;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-soft);
}
.sub {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 5px 11px 5px 9px;
  font-size: .78rem; font-weight: 500; color: var(--muted);
  text-decoration: none; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.sub__icon { display: grid; place-items: center; flex: none; }
.sub__icon svg { width: 14px; height: 14px; }
.sub:hover { color: var(--ink-strong); border-color: var(--muted-soft); background: var(--surface); }
.sub--apple:hover { color: #9333ea; border-color: #9333ea; background: color-mix(in srgb, #9333ea 8%, transparent); }
.sub--spotify:hover { color: #1a9e4b; border-color: #1a9e4b; background: color-mix(in srgb, #1a9e4b 8%, transparent); }
.sub--youtube:hover { color: #d62b1f; border-color: #d62b1f; background: color-mix(in srgb, #d62b1f 8%, transparent); }
.sub--rss:hover { color: #d9810b; border-color: #d9810b; background: color-mix(in srgb, #d9810b 8%, transparent); }

.row .subs { margin-top: 10px; padding-top: 0; border-top: 0; }
.row .subs__label { display: none; }

/* ---------- Karte ---------- */

.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.card:hover {
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--ink) 18%, var(--line));
  transform: translateY(-2px);
}
.card:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

.card__shot {
  display: block; position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-sunk);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.card__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block;
  transition: transform .4s ease;
}
.card:hover .card__shot img { transform: scale(1.025); }

/* Platzhalter, solange kein Screenshot vorliegt */
.shot-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px 20px;
  background:
    radial-gradient(130% 100% at 100% 0%, hsl(var(--hue, 222) 54% 94%) 0%, transparent 60%),
    linear-gradient(170deg, var(--surface) 0%, var(--surface-sunk) 100%);
}
:root[data-theme="dark"] .shot-fallback {
  background:
    radial-gradient(130% 100% at 100% 0%, hsl(var(--hue, 222) 34% 22%) 0%, transparent 60%),
    linear-gradient(170deg, var(--surface) 0%, var(--surface-sunk) 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-fallback {
    background:
      radial-gradient(130% 100% at 100% 0%, hsl(var(--hue, 222) 34% 22%) 0%, transparent 60%),
      linear-gradient(170deg, var(--surface) 0%, var(--surface-sunk) 100%);
  }
  :root:not([data-theme="light"]) .shot-fallback__tag { color: hsl(var(--hue, 222) 56% 72%); }
  :root:not([data-theme="light"]) .rubric-nav a[aria-current="page"],
  :root:not([data-theme="light"]) .chip[aria-pressed="true"] { color: #111418; }
}
:root[data-theme="dark"] .shot-fallback__tag { color: hsl(var(--hue, 222) 56% 72%); }
.shot-fallback__host {
  font-family: var(--font-display);
  font-size: 1.18rem; color: var(--ink-strong);
  line-height: 1.2; word-break: break-word;
}
.shot-fallback__tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: hsl(var(--hue, 222) 48% 40%);
}
.shot-fallback::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: hsl(var(--hue, 222) 62% 52%);
  opacity: .5;
}

.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }

.card__kicker {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 9px;
  font-size: .71rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-soft);
}
.card__kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: hsl(var(--hue, 222) 62% 52%); flex: none;
}
.lang {
  border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 5px; font-size: .64rem; letter-spacing: .05em;
  color: var(--muted); white-space: nowrap;
}
.lang--new {
  border-color: color-mix(in srgb, #4ca36a 55%, transparent);
  /* #3c8c5a erreichte nur 4,1:1 – als kleine Schrift zu wenig. */
  color: #2f7247; background: color-mix(in srgb, #4ca36a 11%, transparent);
}
:root[data-theme="dark"] .lang--new { color: #7fd3a0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lang--new { color: #7fd3a0; }
}
.card__rubric {
  display: inline-flex; align-items: center; gap: 8px;
  color: inherit; text-decoration: none;
}
.card__rubric:hover { color: var(--ink-strong); }

.card__title { font-size: 1.22rem; margin-bottom: 8px; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--accent-ink); }

.card__host {
  font-size: .8rem; color: var(--muted-soft);
  margin-bottom: 11px; word-break: break-all;
}
/* Maße wie der Teasertext auf zeit.de: 16px, Zeilenhöhe 24px.
   Die Schrift dort ist TabletGothic und lizenzpflichtig – hier läuft
   weiter Manrope, das wir selbst hosten dürfen. */
.card__text { font-size: 16px; line-height: 24px; color: var(--body); margin: 0; }
.card__text strong { color: var(--ink); font-weight: 600; }

.card__fresh {
  margin: 12px 0 2px; font-size: .78rem; line-height: 1.5; color: var(--muted-soft);
  display: flex; align-items: flex-start; gap: 7px; flex: none;
}
.card__fresh::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none;
  margin-top: .48em;
  background: #4ca36a; box-shadow: 0 0 0 2.5px color-mix(in srgb, #4ca36a 22%, transparent);
}

.card__foot {
  margin-top: auto; padding-top: 16px; flex: none;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 12px;
  font-size: .8rem; color: var(--muted-soft);
}
.card__clicks {
  margin-left: auto; font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 5px;
}
.card__clicks[hidden] { display: none; }
.card__clicks svg { width: 13px; height: 13px; opacity: .7; }

mark {
  background: color-mix(in srgb, var(--warm) 32%, transparent);
  color: inherit; border-radius: 2px; padding: 0 1px;
}

/* ---------- Zuletzt erschienen ---------- */

.feed {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.feed[hidden] { display: none; }
.feed__title {
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted-soft); margin-bottom: 4px;
}
.feed__list { list-style: none; margin: 0; padding: 0; counter-reset: feed; }
.feed__item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: baseline; gap: 0 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.feed__item:last-child { border-bottom: 0; padding-bottom: 4px; }
.feed__num {
  font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums;
  color: hsl(var(--hue, 222) 50% 52%);
  opacity: .75;
}
.feed__link {
  font-size: 1rem; font-weight: 600; line-height: 1.4;
  color: var(--ink-strong); text-decoration: none;
  text-wrap: pretty;
}
.feed__link:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.feed__meta {
  grid-column: 3; justify-self: end;
  font-size: .76rem; color: var(--muted-soft);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.feed__foot { margin: 14px 0 0; font-size: .74rem; color: var(--muted-soft); }

@media (max-width: 560px) {
  .feed__item { grid-template-columns: 22px minmax(0, 1fr); gap: 0 10px; }
  .feed__meta { grid-column: 2; justify-self: start; margin-top: 3px; }
}

/* ---------- Hinweis bei nicht erreichbarer Quelle ---------- */

.offline {
  margin: 20px 0 0; padding: 13px 17px;
  border: 1px solid color-mix(in srgb, var(--warm) 45%, var(--line));
  border-left-width: 3px; border-radius: 9px;
  background: color-mix(in srgb, var(--warm) 7%, transparent);
  font-size: .9rem; color: var(--ink);
}
.is-offline .detail__shot { filter: grayscale(1); opacity: .6; }

/* ---------- Kachel für Personen ---------- */

.shot-person {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 18px 22px; text-align: center;
  background:
    radial-gradient(90% 90% at 50% 18%, hsl(var(--hue, 330) 50% 95%) 0%, transparent 62%),
    linear-gradient(170deg, var(--surface) 0%, var(--surface-sunk) 100%);
}
.shot-person__mono {
  width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em;
  color: hsl(var(--hue, 330) 42% 42%);
}
.shot-person__role { font-size: .82rem; color: var(--muted); max-width: 28ch; line-height: 1.4; }
.shot-person::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: hsl(var(--hue, 330) 62% 52%); opacity: .5;
}
:root[data-theme="dark"] .shot-person {
  background:
    radial-gradient(90% 90% at 50% 18%, hsl(var(--hue, 330) 32% 22%) 0%, transparent 62%),
    linear-gradient(170deg, var(--surface) 0%, var(--surface-sunk) 100%);
}
:root[data-theme="dark"] .shot-person__mono { color: hsl(var(--hue, 330) 55% 74%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-person {
    background:
      radial-gradient(90% 90% at 50% 18%, hsl(var(--hue, 330) 32% 22%) 0%, transparent 62%),
      linear-gradient(170deg, var(--surface) 0%, var(--surface-sunk) 100%);
  }
  :root:not([data-theme="light"]) .shot-person__mono { color: hsl(var(--hue, 330) 55% 74%); }
}

/* ---------- Detailseite ---------- */

.detail { padding-top: 22px; }
.detail__kicker {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-bottom: 11px;
  font-size: .71rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-soft);
}
.detail__head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.detail__host { margin: 9px 0 0; color: var(--muted-soft); font-size: .92rem; word-break: break-all; }

.detail__grid {
  margin-top: 28px;
  display: grid; gap: 30px;
  grid-template-columns: minmax(0, 1fr) 282px;
  align-items: start;
}
.detail__shot {
  display: block; position: relative;
  aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface-sunk);
}
.detail__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.detail__text { margin-top: 22px; font-size: 1.04rem; }
.detail__text p { color: var(--ink); }
.detail__actions {
  margin-top: 22px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted-soft);
}
.btn--lg { padding: 12px 20px; font-size: .94rem; border-radius: 9px; }

.detail__side {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: 20px 22px;
  position: sticky; top: 86px;
}
.detail__sideheading {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-soft); margin-bottom: 13px;
}
.facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.facts dt {
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted-soft); margin-top: 13px;
}
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 3px 0 0; font-size: .91rem; color: var(--ink); word-break: break-word; }
.facts dd a { text-decoration: none; }
.facts dd a:hover { text-decoration: underline; }
.facts__note { color: var(--muted-soft); font-size: .78rem; display: block; }
.facts__sep { color: var(--muted-soft); }

.tagrow { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .76rem; color: var(--muted); text-decoration: none;
  border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px;
}
.tag:hover { color: var(--ink-strong); border-color: var(--muted-soft); background: var(--surface); }

.detail .subs { margin-top: 22px; }
.detail .feed + .subs { border-top: 0; padding-top: 0; margin-top: 20px; }

@media (max-width: 860px) {
  .detail__grid { grid-template-columns: 1fr; gap: 24px; }
  .detail__side { position: static; }
}

.card__more {
  font-size: .82rem; color: var(--muted); text-decoration: none;
}
.card__more:hover { color: var(--ink-strong); text-decoration: underline; }
.row__out {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 5px;
  color: var(--muted-soft); flex: none;
}
.row__out:hover { color: var(--accent); background: var(--surface-sunk); }
.row__out svg { width: 12px; height: 12px; }
.row__badges { display: flex; gap: 5px; flex-wrap: wrap; }
.lang--host {
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

/* ---------- Listenansicht (alle.html) ---------- */

.section--list { margin-top: 36px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 17px 2px 17px 14px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.row::before {
  content: ""; position: absolute; inset: 17px auto 17px 0; width: 3px;
  border-radius: 2px; background: hsl(var(--hue, 222) 62% 52%); opacity: .3;
}
.row:hover::before { opacity: 1; }
.row__main { flex: 1 1 auto; min-width: 0; }
.row__title { font-size: 1.04rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row__title a { color: inherit; text-decoration: none; }
.row__title a:hover { color: var(--accent-ink); text-decoration: underline; }
.row__text { margin: 0; font-size: 16px; line-height: 24px; color: var(--body); }
.row__meta {
  flex: 0 0 196px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  font-size: .78rem; color: var(--muted-soft);
  padding-top: 3px;
}
.row__rubric {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); text-decoration: none;
}
.row__rubric:hover { color: var(--ink-strong); text-decoration: underline; }
.row__rubric .dot { width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--hue, 222) 62% 52%); flex: none; }
.row__host { word-break: break-all; }

/* Die Adresse eines Eintrags führt überall direkt zur Website. Dezent
   gehalten: sie soll klickbar sein, aber der Überschrift nicht die
   Aufmerksamkeit nehmen. Unterstrichen erst beim Darüberfahren, weil sonst
   jede Karte zwei konkurrierende Links zeigt. */
.host-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.host-link:hover,
.host-link:focus-visible {
  color: var(--accent-ink, var(--accent));
  border-bottom-color: currentColor;
}
.section__title a { color: inherit; text-decoration: none; }
.section__title a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .row { flex-direction: column; gap: 10px; }
  .row__meta { flex: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
}

/* ---------- leere Suche ---------- */

.empty {
  margin-top: 40px; padding: 44px 24px; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty h2 { font-size: 1.24rem; margin-bottom: 8px; }
.empty p { color: var(--muted); font-size: .94rem; max-width: 46ch; margin-inline: auto; }

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

.note {
  margin-top: 64px; padding: 30px 32px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.note h2 { font-size: 1.2rem; margin-bottom: 10px; }
.note p { color: var(--muted); font-size: .95rem; max-width: 72ch; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  font-size: .86rem; color: var(--muted-soft);
}
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink-strong); text-decoration: underline; }
.site-footer__legal { margin-left: auto; display: flex; gap: 18px; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */

.prose { max-width: 70ch; padding-bottom: 40px; }
.prose .page-head { padding-top: 44px; }
.prose h2 {
  font-size: 1.1rem; margin: 34px 0 10px;
  font-weight: 700; letter-spacing: -.01em;
}
.prose p { color: var(--muted); font-size: .97rem; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86em; background: var(--surface-sunk);
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px;
  color: var(--ink);
}
.prose em { color: var(--warm-ink); font-style: normal; font-weight: 600; }

/* ---------- Rubrikseite ---------- */

.crumbs { padding-top: 28px; font-size: .84rem; color: var(--muted-soft); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink-strong); text-decoration: underline; }
.page-head { padding: 18px 0 8px; }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); display: flex; align-items: center; gap: 13px; }
.page-head h1 .dot { width: 11px; height: 11px; border-radius: 50%; background: hsl(var(--hue, 222) 62% 52%); flex: none; }
.page-head__lead { margin-top: 14px; max-width: 64ch; color: var(--body); font-size: 1.04rem; line-height: 1.6; }

.rubric-nav { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 7px; }
.rubric-nav a {
  font-size: .82rem; font-weight: 500; text-decoration: none;
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px;
}
.rubric-nav a:hover { color: var(--ink-strong); border-color: var(--muted-soft); }
.rubric-nav a[aria-current="page"] { background: var(--ink-strong); border-color: var(--ink-strong); color: #fff; }
:root[data-theme="dark"] .rubric-nav a[aria-current="page"] { color: #111418; }
.rubric-nav .chip__dot { width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--hue, 222) 62% 52%); }
.rubric-nav a[aria-current="page"] .chip__dot { background: currentColor; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 38px 0 26px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .section { margin-top: 42px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section__count, .section__all { margin-left: 0; }
  .site-nav { display: none; }
  .theme-toggle { margin-left: auto; }
  .note { padding: 24px 20px; }
  .site-footer__legal { margin-left: 0; }
}

@media print {
  .site-header, .search, .filters, .theme-toggle { display: none; }
  .card { break-inside: avoid; box-shadow: none; }
}

/* ---------- Barrierefreiheit (bewusst am Ende, damit es greift) ---------- */

/* Links in gedämpftem Fließtext brauchen eine Unterstreichung, weil Farbe
   allein dort den Kontrast zum Umfeld nicht trägt (WCAG 1.4.1). */
.crumbs a, .site-footer a, .curator__links a, .note a, .prose p a, .intent__foot a,
.facts dd a, .overlay__foot a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}


/* ---------- Werbekennzeichnung, Mehr-Knopf, Fußzeilen-Wortmarke ---------- */

/* Provisionslinks müssen als solche erkennbar sein. Warnfarbe wäre zu laut –
   es ist eine Information, keine Warnung –, aber auch nicht so leise, dass
   man sie überliest. */
.lang--ad {
  color: var(--warm-ink);
  border-color: color-mix(in srgb, var(--warm) 42%, var(--line));
  background: color-mix(in srgb, var(--warm) 8%, transparent);
}

/* In der Gesamtliste führt der Titel nach außen, "Mehr" auf die Einzelseite. */
.row__more {
  margin-left: 10px;
  font-size: .82rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
  white-space: nowrap;
}
.row__more::after { content: " →"; }
.row__more:hover, .row__more:focus-visible { color: var(--accent-ink, var(--accent)); }

/* Wortmarke im Fuß: gleiche Schreibweise wie im Kopf, nur kleiner. */
.brand--foot { font-size: inherit; letter-spacing: -.02em; }

/* ---------- Porträt im Kopfbereich der Startseite ---------- */

/* Steht neben Überschrift und Vorspann, nicht darüber: Wer die Seite öffnet,
   sucht die Quellen, nicht mich. Klein genug, dass es die Überschrift nicht
   schlägt, groß genug, dass man das Gesicht erkennt. */
.hero { display: flex; align-items: flex-start; gap: 38px; }
.hero__text { min-width: 0; flex: 1; }

.hero__me {
  flex: none; display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-decoration: none; color: var(--muted);
  padding-top: 6px;
}
.hero__me img {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
  transition: border-color .15s ease;
}
.hero__me-label {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  font-size: .78rem; line-height: 1.3; text-align: center;
}
.hero__me-label strong { color: var(--ink); font-weight: 600; font-size: .84rem; }
.hero__me:hover img,
.hero__me:focus-visible img { border-color: var(--accent); }
.hero__me:hover .hero__me-label strong { text-decoration: underline; }

@media (max-width: 640px) {
  /* Auf schmalen Geräten unter den Text, sonst drückt es die Überschrift
     auf zwei Wörter pro Zeile. */
  .hero { flex-direction: row-reverse; justify-content: flex-end; gap: 18px;
          flex-wrap: wrap; align-items: center; }
  .hero__text { flex: 1 1 100%; order: 2; }
  .hero__me { flex-direction: row; gap: 12px; order: 1; padding-top: 0; }
  .hero__me img { width: 56px; height: 56px; }
  .hero__me-label { align-items: flex-start; text-align: left; }
}
