/* Studi-Verlag. Mobile first. Look: Online-Magazin (Feuilleton). Palette und Schriften: siehe README-Entscheidungen im Repo.
   Gliederung: 1 Schriften, 2 Tokens, 3 Basis, 4 Seitenraster, 5 Magazinkopf, 6 Brotkrumen, 7 Karten, 8 Blockköpfe,
   9 Startseite, 10 Rubrikseiten, 11 Artikel, 12 Newsletter und Suche, 13 Fuß, 14 Druck, 15 Tools, 16 Ratgeber-Übersicht (muss zuletzt stehen). */

/* 1 Schriften (selbst gehostet) */
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-wght-normal.woff2?v=382475f3") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-wght-italic.woff2?v=b4f56ddc") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-400-latin.woff2?v=7d93459d") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-600-latin.woff2?v=f4e80d9d") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-700-latin.woff2?v=9338e65f") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* 2 Tokens */
:root {
  --banderole: #D9003A;
  --banderole-label: #FFD400;
  --bg: #F8F7F5;
  --flaeche: #FFFFFF;
  --text: #25292A;
  --regel: #25292A;
  --gedaempft: #5A6068;
  --linie: #E5E1DA;
  --primaer: #5818D9;
  --primaer-fuell: #5818D9;
  --auf-primaer: #FFFFFF;
  --akzent: #157A4D;
  --gold: #CAA84A;
  --fokus: #5818D9;
  /* dunkle Bänder (Tinte): Rubrikblock c, Fuß, Rechner-Link */
  --band: #25292A;
  --auf-band: #F3F1EC;
  --band-gedaempft: #BFC4C7;
  --band-linie: #454B4E;
  --ton-violett: #EFE9FC;
  /* Rubrik-Akzente: Textfarbe auf hellem Grund (AA) und helle Variante für dunkle Bänder */
  --c-politik: #5818D9;       --c-politik-hell: #C2AAFF;
  --c-campus: #157A4D;        --c-campus-hell: #5ED9A6;
  --c-geld: #806210;          --c-geld-hell: #E3C463;
  --c-klima: #0F6B4F;         --c-klima-hell: #4FD3A6;
  --c-gesellschaft: #3A1A8C;  --c-gesellschaft-hell: #B3A2F5;
  --c-ratgeber: #25292A;      --c-ratgeber-hell: #E4E1EC;
  --c-kultur: #7A2E8E;        --c-kultur-hell: #DF9BEF;
  --r: var(--primaer);
  --r-hell: var(--c-politik-hell);
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: 16px;
  --radius: 4px;
}
/* Farbschema (Chris 17.11.): folgt dem System; der Knopf neben der Suche setzt data-theme="light"|"dark" auf <html> (static/js/thema.js) */
:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121017;
    --flaeche: #1B1823;
    --text: #ECEAF2;
    --regel: #ECEAF2;
    --gedaempft: #AAA5B8;
    --linie: #332F40;
    --primaer: #B79BFF;
    --primaer-fuell: #6B2FF0;
    --akzent: #4FD39A;
    --fokus: #D7C6FF;
    --band: #0A090E;
    --auf-band: #ECEAF2;
    --band-gedaempft: #AAA5B8;
    --band-linie: #2E2A3A;
    --ton-violett: #1D1730;
    --c-politik: #B79BFF;
    --c-campus: #4FD39A;
    --c-geld: #E0BE5E;
    --c-klima: #3FCB9D;
    --c-gesellschaft: #A28CF0;
    --c-ratgeber: #D5D2E0;
    --c-kultur: #D88CEB;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121017;
  --flaeche: #1B1823;
  --text: #ECEAF2;
  --regel: #ECEAF2;
  --gedaempft: #AAA5B8;
  --linie: #332F40;
  --primaer: #B79BFF;
  --primaer-fuell: #6B2FF0;
  --akzent: #4FD39A;
  --fokus: #D7C6FF;
  --band: #0A090E;
  --auf-band: #ECEAF2;
  --band-gedaempft: #AAA5B8;
  --band-linie: #2E2A3A;
  --ton-violett: #1D1730;
  --c-politik: #B79BFF;
  --c-campus: #4FD39A;
  --c-geld: #E0BE5E;
  --c-klima: #3FCB9D;
  --c-gesellschaft: #A28CF0;
  --c-ratgeber: #D5D2E0;
  --c-kultur: #D88CEB;
}
/* Rubrikklassen setzen die Akzentfarbe --r (Dachzeilen, Linien, Initialen) */
.r-politik { --r: var(--c-politik); --r-hell: var(--c-politik-hell); }
.r-campus { --r: var(--c-campus); --r-hell: var(--c-campus-hell); }
.r-geld { --r: var(--c-geld); --r-hell: var(--c-geld-hell); }
.r-klima { --r: var(--c-klima); --r-hell: var(--c-klima-hell); }
.r-gesellschaft { --r: var(--c-gesellschaft); --r-hell: var(--c-gesellschaft-hell); }
.r-ratgeber { --r: var(--c-ratgeber); --r-hell: var(--c-ratgeber-hell); }
.r-kultur { --r: var(--c-kultur); --r-hell: var(--c-kultur-hell); }

/* 3 Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primaer); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 2px; }
/* Überschriften in der Serif; Poppins nur für Dachzeilen, Meta, Navigation und Buttons */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; font-optical-sizing: auto; text-wrap: balance; overflow-wrap: break-word; margin: 0 0 0.6em; }
.karte h3, .rechner-kachel h3, .dossier-liste h3, .rub-name, .artikel-kopf h1, .titel-text h2, .rg-tile__title { hyphens: auto; }
.klein { font-family: var(--sans); font-size: 0.8125rem; color: var(--gedaempft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--primaer-fuell); color: var(--auf-primaer); padding: 0.6rem 1rem; z-index: 100; font-family: var(--sans); }
.skip:focus { left: 8px; top: 8px; }
[hidden] { display: none !important; }
#inhalt:focus { outline: none; }
.leer { color: var(--gedaempft); font-family: var(--sans); }

/* 4 Seitenraster: .container für Unterseiten (mit Fußabstand), .wrap für Abschnitte der Startseite und Bänder */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 3rem; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.spalte-schmal { max-width: 720px; margin: 0 auto; }

/* 5 Magazinkopf: Masthead (scrollt weg) und Rubrik-Leiste zwischen Doppellinien (sticky) */
.marke { font-family: var(--serif); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--text); text-decoration: none; white-space: nowrap; font-optical-sizing: auto; }
.marke .strich { color: var(--primaer); }
.masthead { background: var(--bg); }
.masthead-in { display: none; max-width: 1200px; margin: 0 auto; padding: 1rem var(--gutter) 0.85rem; text-align: center; }
.masthead-start .masthead-in { display: block; padding-top: 1.25rem; }
.marke-gross { display: inline-block; font-size: clamp(2.2rem, 5vw, 3rem); }
.masthead-start .marke-gross { font-size: clamp(2.6rem, 8vw, 5.5rem); }
.masthead-zeile { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 1.25rem; margin: 0.7rem 0 0; font-family: var(--sans); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gedaempft); }
.stand { letter-spacing: 0.08em; }

.kopf { position: sticky; top: 0; z-index: 50; background: var(--bg); border-top: 3px double var(--regel); border-bottom: 3px double var(--regel); }
.kopf-in { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); min-height: 52px; display: flex; align-items: center; gap: 1rem; }
.marke-klein { font-size: 1.4rem; display: inline-flex; align-items: center; min-height: 44px; }
/* Mit JavaScript erscheint die kleine Marke erst, wenn die große aus dem Bild ist; ohne JavaScript ist sie immer da */
.js-kopf .kopf:not(.ist-fest) .marke-klein { visibility: hidden; }
.rubriken { display: none; }
.kopf-suche { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--text); text-decoration: none; padding: 0.5rem; min-height: 44px; }
.kopf-suche span { display: none; }
.menue summary { list-style: none; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.5rem 0.75rem; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--regel); border-radius: var(--radius); }
.menue summary::-webkit-details-marker { display: none; }
.menue[open] summary { border-color: var(--regel); box-shadow: inset 0 -3px 0 var(--gold); }
.menue-liste { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--linie); padding: 0.5rem var(--gutter) 1rem; display: grid; gap: 0; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.menue-liste a { font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; color: var(--text); text-decoration: none; padding: 0.75rem 0; border-bottom: 1px solid var(--linie); }
.menue-liste a:last-child { border-bottom: 0; }
.fortschritt { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.fortschritt span { display: block; height: 3px; background: var(--primaer-fuell); transform: scaleX(0); transform-origin: 0 50%; }

@media (min-width: 960px) {
  .masthead-in { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 1.25rem; text-align: left; }
  .masthead-start .masthead-in { display: block; text-align: center; padding-top: 1.5rem; }
  .masthead-zeile { margin: 0; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
  .masthead-start .masthead-zeile { margin-top: 0.9rem; flex-direction: row; justify-content: center; gap: 0.2rem 1.5rem; }
  .menue { display: none; }
  .kopf-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 1.25rem; }
  .rubriken { display: flex; justify-content: center; gap: 0.25rem clamp(0.9rem, 1.7vw, 1.6rem); }
  .rubriken a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); text-decoration: none; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
  .rubriken a:hover, .rubriken a[aria-current] { border-bottom-color: var(--r); }
  .kopf-suche span { display: inline; }
}

/* 6 Brotkrumen */
.krumen { font-family: var(--sans); font-size: 0.8125rem; margin: 1.25rem 0 1rem; color: var(--gedaempft); }
.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; }
.krumen li + li::before { content: "/"; margin-right: 0.5rem; color: var(--linie); }
.krumen a { color: var(--gedaempft); }

/* 7 Karten: ohne Kasten. Bild oben (3:2), Dachzeile in Rubrikfarbe, Serif-Titel, Teaser, kleine Meta.
   Varianten: .karte-gross (Aufmacher), .karte-liste (Thumbnail links), .karte-text (nur Text). */
.raster { display: grid; grid-template-columns: 1fr; gap: 2rem 1.5rem; }
.karte { position: relative; display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.karte-bild { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--linie); }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .karte-bild img, .titel-bild img, .rub-kachel img { transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
  .karte:hover .karte-bild img, .titel-story:hover .titel-bild img, .rub-kachel:hover img { transform: scale(1.04); }
}
.karte-inhalt { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.dach { font-family: var(--sans); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; line-height: 1.4; margin: 0; color: var(--r); }
.dach a, .dach span { color: inherit; text-decoration: none; }
.karte .dach a { position: relative; z-index: 1; }
.karte h3 { font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem); line-height: 1.18; margin: 0; }
.karte h3 a { color: var(--text); text-decoration: none; }
.karte h3 a:hover { text-decoration: underline; text-decoration-color: var(--r); text-decoration-thickness: 2px; }
.karte h3 a::after { content: ""; position: absolute; inset: 0; }
.teaser { font-size: 1rem; line-height: 1.5; margin: 0; color: var(--gedaempft); }
.autor { font-family: var(--sans); font-size: 0.75rem; color: var(--gedaempft); margin: 0.15rem 0 0; }
.karte-gross h3 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.4rem); line-height: 1.08; letter-spacing: -0.03em; }
.karte-gross .teaser { font-size: 1.0625rem; color: var(--text); }
.karte-liste { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.875rem; align-items: start; padding: 0.9rem 0; border-top: 1px solid var(--linie); }
.karte-liste .karte-bild { aspect-ratio: 1; }
.karte-liste h3 { font-size: 1.0625rem; line-height: 1.25; }
/* Variante ohne Bild: nur Text mit Trennlinie oben */
.karte.karte-text { padding-top: 0.9rem; border-top: 1px solid var(--regel); gap: 0.35rem; }

/* Tool-Kachel auf der Übersicht Ratgeber (Bild ohne Zuschnitt) */
.karte-tool .dach span { color: var(--akzent); }
.karte-tool .karte-bild { background: var(--flaeche); }
.karte-tool .karte-bild img { object-fit: contain; }

/* 8 Blockköpfe */
.block { margin-top: 3.5rem; }
.block-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 3px solid var(--regel); padding-top: 0.5rem; margin-bottom: 1.5rem; }
.block-kopf h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.block-kopf a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; }
.block-titel { margin-top: 2.5rem; }

/* 9 Startseite */
.intro { max-width: 46rem; margin: 1.5rem auto 0; padding: 1.1rem 0; text-align: center; font-style: italic; font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem); line-height: 1.5; text-wrap: pretty; border-block: 1px solid var(--regel); }

/* Titelgeschichte und Im Blick */
.titel-block { margin-top: 2rem; }
.titel-story { position: relative; display: grid; gap: 1.1rem; }
.titel-bild { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--linie); }
.titel-bild img { width: 100%; height: 100%; object-fit: cover; }
.titel-text h2 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin: 0.35rem 0 0.5em; }
.titel-text h2 a { color: var(--text); text-decoration: none; }
.titel-text h2 a::after { content: ""; position: absolute; inset: 0; }
.titel-text .dach a { position: relative; z-index: 1; }
.titel-text .teaser { font-size: 1.125rem; color: var(--text); }
.im-blick { margin-top: 2.25rem; border-top: 3px solid var(--regel); padding-top: 0.5rem; }
.im-blick h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); margin-bottom: 0.25rem; }
.blick-liste { display: grid; grid-template-columns: 1fr; column-gap: 1.75rem; }
.blick-liste .karte-liste:first-child { border-top: 0; }

/* Neu im Magazin: 1 groß, 2 mittel, 3 Text */
.neu-raster { display: grid; gap: 2rem; }
.neu-mittel, .neu-text { display: grid; gap: 2rem 1.5rem; align-content: start; }
.neu-text { gap: 1.25rem; }

/* Rubrik-Band: Illustrationen, auf Mobil horizontal scrollbar mit Einrasten */
.rubriken-band { margin-top: 3.5rem; }
.rub-liste { display: flex; gap: 1rem; list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; }
.rub-liste li { flex: 0 0 min(78%, 18rem); scroll-snap-align: start; }
.rub-kachel { display: flex; flex-direction: column; gap: 0.4rem; height: 100%; overflow: hidden; color: var(--text); text-decoration: none; border-bottom: 3px solid var(--r); padding-bottom: 0.9rem; }
.rub-kachel img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; background: var(--linie); margin-bottom: 0.35rem; }
.rub-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1.1; }
.rub-kachel:hover .rub-name { text-decoration: underline; text-decoration-color: var(--r); text-decoration-thickness: 2px; }
.rub-intro { font-size: 0.9375rem; line-height: 1.45; color: var(--gedaempft); }
.rub-anzahl { margin-top: auto; padding-top: 0.25rem; font-family: var(--sans); font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--r); }

/* Rubrikblöcke: a (1 groß + Liste), b (4 nebeneinander), c (dunkles Band) */
.rb { margin-top: 3.5rem; }
.rb-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--linie); margin-bottom: 1.5rem; }
.rb-kopf h2 { margin: 0 0 -1px; padding-bottom: 0.2em; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.6rem); letter-spacing: -0.03em; border-bottom: 4px solid var(--r); }
.rb-kopf a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--r); }
.rb-grid { display: grid; gap: 2rem 1.5rem; }
.rb-seite { display: grid; align-content: start; }
.rb-seite .karte-liste:first-child { border-top: 0; padding-top: 0; }

/* Dunkles Band: setzt die Token für helle Schrift auf Tinte */
.band-dunkel { background: var(--band); color: var(--auf-band); padding: 2.5rem 0 3rem; --text: var(--auf-band); --gedaempft: var(--band-gedaempft); --linie: var(--band-linie); --regel: var(--auf-band); }
.band-dunkel .rb-kopf h2 { color: var(--auf-band); border-bottom-color: var(--r-hell); }
.band-dunkel .rb-kopf a, .band-dunkel .dach { color: var(--r-hell); }
.band-dunkel .karte-gross .teaser { color: var(--auf-band); }
.band-dunkel .karte-bild { background: var(--band-linie); }

/* Dossier */
.dossier { margin-top: 3.5rem; padding: 2.5rem 0 3rem; background: var(--ton-violett); border-block: 1px solid var(--linie); }
.dossier-in { display: grid; gap: 2rem; }
.dossier-kopf h2 { margin: 0.25rem 0 0; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }
.dossier-kopf .dach { color: var(--primaer); }
.dossier-liste { list-style: none; counter-reset: dossier; margin: 0; padding: 0; }
.dossier-liste li { position: relative; counter-increment: dossier; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: 1rem; align-content: start; padding: 1rem 0; border-top: 1px solid var(--linie); }
.dossier-liste li:first-child { border-top: 0; padding-top: 0; }
.dossier-liste li::before { content: counter(dossier); grid-row: 1 / span 3; font-family: var(--serif); font-weight: 800; font-size: 3.2rem; line-height: 0.9; color: var(--gold); }
.dossier-liste li > * { grid-column: 2; }
.dossier-liste h3 { font-size: 1.25rem; line-height: 1.2; margin: 0.2rem 0 0.2rem; }
.dossier-liste h3 a { color: var(--text); text-decoration: none; }
.dossier-liste h3 a::after { content: ""; position: absolute; inset: 0; }
.dossier-liste h3 a:hover { text-decoration: underline; }
.dossier-liste .dach a { position: relative; z-index: 1; }

/* Rechner für dein Studium */
.rechner { margin-top: 3.5rem; }
.rechner-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.rechner-kachel { display: flex; flex-direction: column; gap: 0.3rem; height: 100%; padding-bottom: 0.9rem; color: var(--text); text-decoration: none; background: var(--flaeche); }
.rechner-kachel img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--flaeche); }
.rechner-kachel .dach { padding-inline: 0.85rem; color: var(--akzent); }
.rechner-kachel h3 { margin: 0; padding-inline: 0.85rem; font-size: clamp(0.875rem, 0.7rem + 0.6vw, 1.0625rem); line-height: 1.2; }
.rechner-kachel:hover h3 { text-decoration: underline; }
.rechner-alle { justify-content: center; align-items: center; text-align: center; padding: 1rem; color: var(--auf-band); background: var(--band); border-top-color: var(--gold); }
.rechner-alle h3 { padding: 0; }

@media (min-width: 640px) {
  .raster { grid-template-columns: repeat(2, 1fr); }
  .blick-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blick-liste .karte-liste:nth-child(-n + 2) { border-top: 0; }
  .neu-mittel { grid-template-columns: repeat(2, 1fr); }
  .neu-text { grid-template-columns: repeat(3, 1fr); }
  .rb-b .rb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  :root { --gutter: 24px; }
  .raster { grid-template-columns: repeat(3, 1fr); }
  .titel-story { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; align-items: center; }
  /* Titelzeile an die schmalere Textspalte koppeln, damit lange Wörter nicht mitten im Wort umbrechen */
  .titel-text h2 { font-size: clamp(2rem, 0.9rem + 1.9vw, 2.9rem); }
  .blick-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .blick-liste .karte-liste { border-top: 0; }
  .rub-liste { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem 1.5rem; margin: 0; padding: 0; overflow: visible; }
  .rub-liste li { grid-column: span 3; }
  .rub-liste li:nth-child(n + 5) { grid-column: span 4; }
  .rb-a .rb-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; }
  .rb-c .rb-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
  .dossier-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .dossier-kopf { grid-column: 1 / -1; }
  .rechner-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .rb-b .rb-grid { grid-template-columns: repeat(4, 1fr); }
  /* Vier Spalten sind schmal: kleinere Titel, damit Komposita wie Gleichstellungsbeauftragte in eine Zeile passen */
  .rb-b .karte h3 { font-size: 1.2rem; }
  .neu-raster { grid-template-columns: 5fr 4fr 3fr; gap: 2.5rem; }
  .neu-mittel { grid-template-columns: 1fr; }
  .neu-text { grid-template-columns: 1fr; padding-left: 1.75rem; border-left: 1px solid var(--linie); }
}

/* 10 Rubrikseiten: Band mit breiter Illustration, danach Aufmacher und Raster */
.rubrik-band { position: relative; overflow: hidden; background: var(--flaeche); background: color-mix(in srgb, var(--r) 6%, var(--bg)); border-bottom: 1px solid var(--linie); }
.rubrik-band-bild { width: 100%; height: 8rem; object-fit: cover; }
.rubrik-band-in { position: relative; padding-block: 0 1.75rem; }
.rubrik-band h1 { margin: 0 0 0.25em; font-size: clamp(2.5rem, 1rem + 6vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.rubrik-band .vorspann { max-width: 34rem; }
.rubrik-zahl { margin: 0; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--r); }
.rubrik-seite { padding-top: 2rem; }
.aufmacher { margin-bottom: 2.5rem; }
.filter { display: flex; gap: 0 1.5rem; flex-wrap: wrap; margin: 0 0 2rem; border-bottom: 1px solid var(--linie); }
/* Textreiter wie die Köpfe der Startseite: ohne Kasten, aktiv dunkle Schrift mit feiner Goldlinie */
.reiter { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; background: none; color: var(--gedaempft); border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 0.5rem 0.1rem; margin-bottom: -1px; min-height: 44px; cursor: pointer; }
.reiter:hover { color: var(--text); border-bottom-color: var(--linie); }
.reiter[aria-pressed="true"] { color: var(--text); font-weight: 700; border-bottom-color: var(--gold); }
.reiter:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
@media (min-width: 960px) {
  .rubrik-band-bild { position: absolute; top: 0; right: 0; width: min(62%, 760px); height: 100%; -webkit-mask-image: linear-gradient(to right, transparent 22%, #000 68%); mask-image: linear-gradient(to right, transparent 22%, #000 68%); }
  .rubrik-band-in { padding-block: 0.5rem 3rem; }
  .aufmacher .karte-gross { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; align-items: center; }
}

/* Kopf der Autor:innen-, Pflicht- und Werkzeugseiten */
.rubrik-kopf { padding: 0.5rem 0 1.5rem; }
.rubrik-kopf h1 { font-size: clamp(2.2rem, 1.4rem + 3.5vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; }

/* 11 Artikel: Magazinkopf mit Dachzeile, Headline, Vorspann, Byline, Bild */
.vorspann { font-style: italic; font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.45; margin: 0 0 1.25rem; }
.dachzeile { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 0.9rem; color: var(--r); }
.dachzeile a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.artikel-kopf { --breit: min(1000px, calc(100vw - 2 * var(--gutter))); }
.artikel-kopf h1 { font-size: clamp(1.75rem, 1.1rem + 3.6vw, 3.8rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 0.45em; }
.zeile { font-family: var(--sans); font-size: 0.8125rem; color: var(--gedaempft); margin: 0 0 1.75rem; padding: 0.75rem 0; border-block: 1px solid var(--regel); }
.zeile a { color: var(--text); font-weight: 600; }
/* Foto und Illustration sind breiter als die Textspalte (bis 1000 px) */
.artikel-bild { width: var(--breit); margin: 0 0 2rem calc((100% - var(--breit)) / 2); }
.artikel-bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--linie); }
.bildnachweis { font-family: var(--sans); font-size: 0.75rem; line-height: 1.4; color: var(--gedaempft); margin: 0.5rem 0 0; overflow-wrap: break-word; }
.bildnachweis a { color: var(--gedaempft); }
.entwurf { font-family: var(--sans); font-size: 0.875rem; background: #FFF7D6; color: #3d3200; border-left: 4px solid var(--gold); padding: 0.75rem 1rem; margin: 0 0 1.5rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .entwurf { background: #3a3210; color: #fbefb8; } }
:root[data-theme="dark"] .entwurf { background: #3a3210; color: #fbefb8; }
.kurz { background: var(--flaeche); background: color-mix(in srgb, var(--r) 7%, var(--flaeche)); border-left: 5px solid var(--r); padding: 1rem 1.25rem; margin: 0 0 2rem; }
.kurz h2 { font-family: var(--sans); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--r); margin-bottom: 0.5rem; }
.kurz ul { margin: 0; padding-left: 1.2rem; font-size: 1.0625rem; }
.kurz li { margin: 0.35rem 0; }
.inhalt { font-family: var(--sans); font-size: 0.9375rem; margin: 0 0 2rem; border: 1px solid var(--linie); border-radius: var(--radius); padding: 0.5rem 1rem 1rem; background: var(--flaeche); }
.inhalt h2 { font-family: var(--sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0.75rem 0 0.5rem; color: var(--gedaempft); }
.inhalt ol { list-style: none; margin: 0; padding: 0; }
.inhalt li { margin: 0.15rem 0; }
.inhalt li.l3 { padding-left: 1rem; font-size: 0.875rem; }
.inhalt a { display: inline-block; padding: 0.3rem 0; color: var(--text); text-decoration: none; }
.inhalt a:hover, .inhalt a[aria-current] { color: var(--r); text-decoration: underline; }

.text { font-size: 1.1875rem; line-height: 1.65; }
.text p { margin: 0 0 1.25rem; }
/* Initiale am ersten Absatz in der Rubrikfarbe */
.text > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-weight: 800; font-size: 4.4em; line-height: 0.8; padding: 0.07em 0.1em 0 0; color: var(--r); }
/* Rechtstexte ohne Schmuck-Initiale (Impressum beginnt mit „studiverlag.de“) */
.seite-recht .text > p:first-of-type::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.text h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin-top: 2.75rem; }
.text h3 { font-size: 1.3rem; margin-top: 2rem; }
.text ul, .text ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.text li { margin: 0.4rem 0; }
/* Pull-Quote mit Goldlinie */
.text blockquote { margin: 2.5rem 0; padding: 1.1rem 0 0; border-top: 4px solid var(--gold); font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem); line-height: 1.3; font-style: italic; font-weight: 600; letter-spacing: -0.01em; }
.text blockquote p { margin: 0; }
.text figure { margin: 2rem 0; }
.text figcaption { font-style: italic; font-size: 0.9375rem; color: var(--gedaempft); margin-top: 0.5rem; }
.text hr { border: 0; border-top: 1px solid var(--linie); margin: 2.5rem 0; }
.tabelle { overflow-x: auto; margin: 0 0 1.5rem; }
.tabelle table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 0.9375rem; }
.tabelle th, .tabelle td { border-bottom: 1px solid var(--linie); padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; }
.tabelle th { border-bottom: 2px solid var(--regel); }
code { font-size: 0.9em; background: var(--linie); padding: 0.1em 0.3em; border-radius: 3px; }

.faq { margin-top: 3rem; }
.faq details { border-top: 1px solid var(--linie); }
.faq details:last-of-type { border-bottom: 1px solid var(--linie); }
.faq summary { font-family: var(--sans); font-weight: 600; font-size: 1rem; cursor: pointer; padding: 1rem 2rem 1rem 0; position: relative; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.4rem; color: var(--primaer); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1rem; padding-right: 1rem; }
.quellen { margin-top: 2.5rem; font-family: var(--sans); font-size: 0.875rem; }
.quellen ol { padding-left: 1.2rem; }
.quellen li { margin: 0.4rem 0; overflow-wrap: anywhere; }
.autorenbox { margin-top: 2.5rem; padding: 1.25rem 0 0; border-top: 3px solid var(--regel); font-family: var(--sans); font-size: 0.9375rem; }
.autorenbox h2 { font-family: var(--sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gedaempft); }
.autorenbox p { margin: 0 0 0.5rem; }
.rg-tool-hinweis { font-family: var(--sans); font-size: 0.9375rem; background: var(--flaeche); border-left: 5px solid var(--akzent); padding: 0.875rem 1.25rem; margin: 2rem 0; }
.weiter { margin-top: 3.5rem; }
.weiter h2 { border-top: 3px solid var(--regel); padding-top: 0.5rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 1.5rem; }
.raster-text { margin-top: 2rem; }
.raster-text .karte { padding-top: 0.9rem; border-top: 1px solid var(--regel); }
@media (min-width: 640px) { .raster-text { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 1240px) {
  .artikel-seite .spalte-schmal { max-width: 1000px; }
  .artikel { display: grid; grid-template-columns: 220px minmax(0, 720px); column-gap: 60px; }
  .artikel > * { grid-column: 2; }
  .artikel > .artikel-kopf { grid-column: 1 / -1; grid-row: 1; }
  .artikel-bild { width: 100%; margin-left: 0; }
  .artikel > .inhalt { grid-column: 1; grid-row: 2 / span 12; position: sticky; top: 84px; align-self: start; margin: 0; background: transparent; border: 0; border-left: 2px solid var(--linie); border-radius: 0; padding: 0 0 0 1rem; max-height: calc(100vh - 110px); overflow: auto; }
}

/* 12 Newsletter, Suche */
.newsletter { position: relative; margin-top: 4rem; background: var(--ton-violett); color: var(--text); border: 1px solid var(--primaer); border-top: 4px solid var(--primaer); padding: 2rem var(--gutter); font-family: var(--sans); }
.newsletter h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; color: var(--primaer); }
.newsletter p { margin: 0 0 1rem; }
.newsletter .klein { color: var(--gedaempft); }
.newsletter label, .suche-form label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.4rem; }
.nl-zeile { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nl-zeile input { flex: 1 1 220px; min-height: 48px; padding: 0.5rem 0.9rem; font: inherit; font-size: 1rem; border: 2px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); color: var(--text); }
.nl-zeile button { min-height: 48px; padding: 0.5rem 1.4rem; font: inherit; font-weight: 700; border: 0; border-radius: var(--radius); background: var(--gold); color: #25292A; cursor: pointer; }
.nl-feld { display: block; width: 100%; min-height: 48px; padding: 0.5rem 0.9rem; font: inherit; font-size: 1rem; border: 2px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); color: var(--text); margin-bottom: 0.9rem; }
.nl-einwilligung { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.4rem 0 0.9rem; font-size: 0.875rem; }
.nl-einwilligung input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--primaer-fuell); }
.nl-einwilligung label { margin: 0; font-weight: 400; }
.nl-einwilligung a { color: var(--primaer); }
.nl-falle { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.seite .newsletter { margin-top: 2rem; }
@media (min-width: 960px) {
  .newsletter { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; padding: 2.75rem 2.5rem; }
  .newsletter h2, .newsletter > p { grid-column: 1; }
  .newsletter .nl-form { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.suche-form { margin: 1.5rem 0; }
.suche-form input { border: 2px solid var(--linie); background: var(--flaeche); color: var(--text); }
.suche-form button { background: var(--gold); color: #25292A; }
.treffer { list-style: none; padding: 0; font-family: var(--sans); }
.treffer li { padding: 1rem 0; border-top: 1px solid var(--linie); }
.treffer a { font-weight: 700; font-size: 1.125rem; }
.treffer p { margin: 0.25rem 0 0; font-size: 0.9375rem; color: var(--gedaempft); }

/* 13 Fuß: dunkles Band mit feiner Goldlinie */
.fuss { margin-top: 4rem; background: var(--band); color: var(--auf-band); border-top: 2px solid var(--gold); font-family: var(--sans); }
.fuss-in { max-width: 1200px; margin: 0 auto; padding: 2.5rem var(--gutter) 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fuss-in > div { grid-column: 1 / -1; }
.fuss h2 { font-family: var(--sans); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--band-gedaempft); }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--auf-band); font-size: 0.9375rem; }
.fuss .klein { color: var(--band-gedaempft); }
.marke-fuss { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); color: var(--auf-band); margin: 0 0 0.6rem; }
.marke-fuss .strich { color: var(--gold); }
.fuss-zeile { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 1.5rem; }
@media (min-width: 640px) {
  .fuss-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .fuss-in > div { grid-column: auto; }
  .newsletter { padding: 2rem; }
}

/* Team: Liste der weiteren Mitglieder */
.team-liste { list-style: none; padding: 0; margin: 0 0 1.25rem; font-family: var(--sans); }
.team-liste li { margin: 0; padding: 0.6rem 0; border-top: 1px solid var(--linie); }

/* 17.11. Chris: mobil zwei Karten nebeneinander (unter 640 px). Aufmacher und Fließtext-Listen bleiben einspaltig. */
@media (max-width: 639px) {
  .raster, .neu-mittel, .rb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.875rem; }
  .raster-text { grid-template-columns: minmax(0, 1fr); }
  .rb-haupt, .rb-seite { grid-column: 1 / -1; }
  .blick-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.875rem; row-gap: 1.25rem; }
  .blick-liste .karte-liste { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; padding: 0; border-top: 0; }
  .blick-liste .karte-liste .karte-bild { aspect-ratio: 3 / 2; }
  /* schmale Karten: kleinere Titel und Dachzeile, Teaser entfällt (Aufmacher und Textkarten behalten ihn) */
  .raster .karte:not(.karte-gross) h3, .neu-mittel .karte h3, .rb-grid .karte:not(.karte-gross) h3, .blick-liste h3 { font-size: 1rem; line-height: 1.22; }
  .raster:not(.raster-text) .karte:not(.karte-tool) .teaser, .neu-mittel .teaser, .rb-grid .karte:not(.karte-gross) .teaser { display: none; }
  .raster .karte:not(.karte-gross) .dach, .neu-mittel .dach, .rb-grid .karte:not(.karte-gross) .dach, .blick-liste .dach { font-size: 0.625rem; letter-spacing: 0.06em; }
  .raster .autor, .neu-mittel .autor, .rb-grid .karte:not(.karte-gross) .autor, .blick-liste .autor { font-size: 0.6875rem; }
  .karte-tool .teaser { font-size: 0.875rem; }
}

/* Seitenübersicht (Chris 17.11.): Rubrik-Kacheln, dann je Rubrik Artikel-Kacheln, Raster 2 / 3 / 4 / 5 Spalten */
.sm-rubriken { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.sm-rubriken .rub-kachel { padding-bottom: 0.7rem; }
.sm-rubriken .rub-kachel img { aspect-ratio: 3 / 2; }
.sm-rubriken .rub-name { font-size: 1.2rem; }
.sm-sektion { margin-top: 3rem; }
.sm-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.karte-kompakt { gap: 0.5rem; }
.karte-kompakt h3 { font-size: 1rem; line-height: 1.22; }
.karte-kompakt .dach { font-size: 0.625rem; }
.sm-verlag { margin-top: 3.5rem; border-top: 3px solid var(--regel); padding-top: 0.5rem; font-family: var(--sans); }
.sm-verlag h2 { font-family: var(--sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gedaempft); }
.sm-verlag ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; list-style: none; margin: 0; padding: 0; }
.sm-verlag a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 600; }
@media (min-width: 640px) {
  .sm-rubriken { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
}
@media (min-width: 960px) {
  .sm-rubriken { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
  .sm-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .sm-raster { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* 14 Druck */
@media print {
  .masthead, .kopf, .fuss, .newsletter, .weiter, .menue, .rechner, .dossier { display: none; }
  body { background: #fff; color: #000; }
  .text > p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
}

/* 15 Tools im Ratgeber (Kevin 10.11.2026) */
/* 17.11. Chris: Knöpfe und Reiter der Rechner wie auf der Startseite. Höhere Spezifität (body .st) schlägt tools.css, das der Import erzeugt. */
body .st .btn { border-radius: var(--radius); background: var(--gold); color: #25292A; border-color: var(--gold); }
body .st .btn:hover { background: var(--gold); color: #25292A; text-decoration: underline; }
body .st .btn-ghost { background: transparent; color: var(--text); border-color: var(--regel); }
body .st .btn-ghost:hover { background: transparent; color: var(--text); }
body .st .btn-green { background: var(--akzent); color: #FFFFFF; border-color: var(--akzent); }
body .st .btn-green:hover { background: var(--akzent); color: #FFFFFF; }
body .st .chip { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: var(--gedaempft); padding: 0 0.1rem; }
body .st .chip:hover { color: var(--text); border-bottom-color: var(--linie); }
body .st .chip[aria-pressed="true"] { background: none; color: var(--text); border-bottom-color: var(--gold); }
body .st .pill { border-radius: var(--radius); background: var(--ton-violett); color: var(--primaer); }
body .st .search input { border-radius: var(--radius); }
body .st .seg, body .st .seg span { border-radius: var(--radius); }
body .st .seg input:checked + span { background: var(--flaeche); color: var(--text); box-shadow: inset 0 -3px 0 var(--gold); }
body .st .result { background: var(--band); color: var(--auf-band); border-top: 4px solid var(--gold); box-shadow: none; }
body .st .result-label, body .st .result-stats dt { color: var(--band-gedaempft); }
.note-tools { font-family: var(--sans); font-size: 0.9375rem; color: var(--gedaempft); border-top: 1px solid var(--linie); margin-top: 2.5rem; padding-top: 1rem; }
.seite-tool .st { margin-top: 1rem; }

/* Ratgeber-Übersicht (16): Aufbau wie Cherry (Kevin 10.11.2026). Immer hell: in diesem Abschnitt keine Regel für den dunklen Modus. Muss der letzte Abschnitt der Datei sein. */
.rg-subnav ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; list-style: none; margin: 0 0 2rem; padding: 0; border-bottom: 1px solid var(--linie); }
.rg-subnav a { display: inline-flex; align-items: center; padding: 0.5rem 0.1rem; margin-bottom: -1px; min-height: 44px; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 3px solid transparent; }
.rg-subnav a:hover { border-bottom-color: var(--gold); }
.rg-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.rg-tiles__item { min-width: 0; }
.rg-tile { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1rem 1.125rem; color: inherit; text-decoration: none; background: var(--flaeche); border: 1px solid var(--linie); border-top: 3px solid var(--regel); border-radius: var(--radius); }
.rg-tile:hover .rg-tile__title { text-decoration: underline; }
.rg-tile__eyebrow { font-family: var(--sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primaer); overflow-wrap: anywhere; }
.rg-tile__title { font-family: var(--serif); font-size: 1.0625rem; font-weight: 700; line-height: 1.25; color: var(--text); margin: 0; overflow-wrap: break-word; hyphens: auto; }
.rg-tile__meta { margin-top: auto; font-family: var(--sans); font-size: 0.75rem; line-height: 1.5; color: var(--gedaempft); overflow-wrap: anywhere; }
/* Unter 30rem eine Spalte: zwei Spalten à 160 px sind zu schmal für deutsche Komposita */
@media (min-width: 30rem) { .rg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 36rem) { .rg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .rg-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 16.11. Chris: Breaking-News-Banderole (nur Startseite), knallig, läuft durch; bei reduzierter Bewegung steht sie */
.banderole { background: var(--banderole); color: #FFFFFF; font-family: var(--sans); font-weight: 700; font-size: 0.9375rem; border-bottom: 3px solid var(--banderole-label); }
.banderole-in { display: flex; align-items: stretch; }
.banderole-label { flex: none; margin: 0; padding: 0.6rem 0.9rem; background: var(--banderole-label); color: #121017; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 800; display: flex; align-items: center; }
.banderole-lauf { display: flex; overflow: hidden; min-width: 0; flex: 1; }
.banderole-lauf ul { display: flex; flex: none; margin: 0; padding: 0; list-style: none; animation: banderole-lauf 45s linear infinite; }
.banderole-lauf li { padding: 0.6rem 1.25rem; white-space: nowrap; }
.banderole-lauf li::before { content: "▶"; font-size: 0.6em; margin-right: 0.6rem; color: var(--banderole-label); vertical-align: 0.15em; }
.banderole a { color: #FFFFFF; text-decoration: none; }
.banderole a:hover, .banderole a:focus-visible { text-decoration: underline; }
.banderole:hover ul, .banderole:focus-within ul { animation-play-state: paused; }
@keyframes banderole-lauf { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .banderole-lauf { overflow-x: auto; }
  .banderole-lauf ul { animation: none; }
  .banderole-lauf ul[aria-hidden] { display: none; }
}

/* 16.11. Kevin: Suche geht genau dort auf, wo „Suche“ steht, und verdeckt nichts.
   Das Feld ersetzt den Link in seiner eigenen Spalte bzw. Flex-Position; die Treffer öffnen als Liste darunter.
   Mobil ersetzt das Feld während der Suche die kleine Marke, der Menü-Knopf bleibt sichtbar. */
.kopf-in { position: relative; }
.kopf-suchfeld { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; margin: 0 0 0 auto; }
.kopf-suchfeld[hidden] { display: none; }
.kopf.sucht .kopf-suche { display: none; }
.kopf.sucht .marke-klein { display: none; }
.kopf-lupe { position: absolute; left: 0.75rem; display: inline-flex; color: var(--gedaempft); pointer-events: none; }
.kopf-suchfeld input { width: 100%; min-width: 0; min-height: 44px; padding: 0.5rem 0.5rem 0.5rem 2.6rem; font-family: var(--sans); font-size: 1rem; border: 2px solid var(--regel); border-radius: var(--radius); background: var(--flaeche); color: var(--text); }
.kopf-suchfeld input { text-overflow: ellipsis; }
.kopf-suchfeld input:focus { outline: 3px solid var(--fokus); outline-offset: 2px; }
.kopf-treffer { position: absolute; z-index: 3; top: calc(100% + 8px); right: 0; width: min(520px, calc(100vw - 2 * var(--gutter))); margin: 0; padding: 0; list-style: none; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3); max-height: min(70vh, 520px); overflow-y: auto; font-family: var(--sans); }
.kopf-treffer:empty { display: none; }
.kopf-treffer li + li { border-top: 1px solid var(--linie); }
.kopf-treffer a { display: block; padding: 0.7rem 1rem 0.2rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 0.9375rem; line-height: 1.35; min-height: 44px; }
.kopf-treffer a:hover, .kopf-treffer a:focus-visible { color: var(--primaer); text-decoration: underline; }
.kopf-treffer p { margin: 0; padding: 0 1rem 0.7rem; font-size: 0.8125rem; color: var(--gedaempft); line-height: 1.4; }
.kopf-treffer .kein-treffer { padding: 0.8rem 1rem; color: var(--gedaempft); }
@media (max-width: 959px) {
  .kopf-treffer { right: auto; left: 0; width: calc(100vw - 2 * var(--gutter)); }
}
@media (min-width: 960px) {
  /* Spalte 3 des Kopf-Rasters: gleiche Stelle wie der Link, nie über der Rubrik-Navigation */
  .kopf-suchfeld { grid-column: 3; grid-row: 1; width: clamp(200px, 20vw, 260px); flex: none; margin: 0; }
  .kopf.sucht .marke-klein { display: inline-flex; }
}

/* 16.11. Handy: kleine Inline-Links (Rubrik-Dachzeile, Brotkrumen, Bildnachweis) sind auf dem Handy echte 44 px hoch.
   Keine negativen Ränder, damit sich Klickflächen nicht mit der Überschrift oder Nachbarlinks überlappen (Sonnet 16.11.). */
@media (max-width: 959px) {
  .dach a, .krumen a, .bildnachweis a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .dachzeile a { display: inline-flex; align-items: flex-end; min-height: 44px; min-width: 44px; }
  .kopf-suche { min-width: 44px; justify-content: center; }
  .zeile a, li.l2 a, li.l3 a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Banderole: Links auf voller Bandhöhe (44 px), auf allen Breiten */
.banderole-lauf li { padding: 0 1.25rem; display: flex; align-items: center; }
.banderole a { display: inline-flex; align-items: center; min-height: 44px; }
.marke-gross { min-height: 44px; }

/* Farbschema-Knopf neben der Suche (Chris 17.11.): ohne JavaScript unsichtbar (thema.js setzt .thema-js).
   Hell: Mond + „Dunkel“, Dunkel: Sonne + „Hell“; der Text erscheint ab 960 px wie bei „Suche“. */
.thema-knopf { display: none; align-items: center; justify-content: center; gap: 0.4rem; min-height: 44px; min-width: 44px; padding: 0.5rem; font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--text); background: none; border: 0; cursor: pointer; }
.thema-js .thema-knopf { display: inline-flex; }
.thema-knopf:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
.thema-knopf .ic-sonne, .thema-knopf span { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .thema-knopf .ic-mond { display: none; }
  :root:not([data-theme="light"]) .thema-knopf .ic-sonne { display: block; }
}
:root[data-theme="dark"] .thema-knopf .ic-mond { display: none; }
:root[data-theme="dark"] .thema-knopf .ic-sonne { display: block; }
@media (min-width: 960px) {
  .thema-knopf { grid-column: 4; grid-row: 1; }
  .thema-knopf .t-dunkel { display: inline; }
  :root[data-theme="dark"] .thema-knopf .t-dunkel { display: none; }
  :root[data-theme="dark"] .thema-knopf .t-hell { display: inline; }
}
@media (min-width: 960px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .thema-knopf .t-dunkel { display: none; }
  :root:not([data-theme="light"]) .thema-knopf .t-hell { display: inline; }
}

/* Suchvorschläge (Chris 17.11.): ruhige Textknöpfe, keine gefüllten Pillen */
.such-vorschlaege { font-family: var(--sans); }
.such-vorschlaege[hidden] { display: none; }
.such-vorschlaege p { margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gedaempft); }
.such-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.such-chips button, .suche-form .such-chips button { min-height: 44px; padding: 0.4rem 0.9rem; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--text); background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); cursor: pointer; }
.such-chips button:hover, .such-chips button:focus-visible { border-color: var(--regel); text-decoration: underline; text-underline-offset: 0.18em; }
.kopf-suchfeld .such-vorschlaege { position: absolute; z-index: 3; top: calc(100% + 8px); right: 0; width: min(520px, calc(100vw - 2 * var(--gutter))); padding: 1rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3); }
.suche-form .such-vorschlaege { margin-top: 1rem; }
@media (max-width: 959px) {
  .kopf-suchfeld .such-vorschlaege { right: auto; left: 0; width: calc(100vw - 2 * var(--gutter)); }
}
