/* =========================================================
   LINGDOM – Die Sprachenzeitung
   Zentrales Stylesheet für alle Seiten.
   Farben und Schriften werden oben in :root gepflegt.
   ========================================================= */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("../schriften/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; 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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../schriften/source-serif-4-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../schriften/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../schriften/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; 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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../schriften/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Grundwerte ---------- */
:root {
  --papier: #fbfaf7;
  --flaeche: #f2efe8;
  --text: #161616;
  --text-leise: #5b5852;
  --linie: #d8d4cb;
  --linie-stark: #161616;
  --akzent: #8f1d14;        /* Zeitungsrot für Dachzeilen und Links */
  --akzent-dunkel: #6e150e;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --breite: 1160px;
  --rand: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: -9999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; font-family: var(--sans); z-index: 10; }
.springen:focus { left: 8px; }

/* ---------- Kopfleiste ---------- */
.kopfleiste {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-leise);
  border-bottom: 1px solid var(--linie);
}
.kopfleiste .huelle { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.kopfleiste a { text-decoration: none; }
.kopfleiste a:hover { color: var(--text); }

/* ---------- Zeitungskopf ---------- */
.zeitungskopf { text-align: center; padding: 28px 0 18px; }
.zeitungskopf a { text-decoration: none; display: inline-flex; align-items: center; gap: 14px; }
.zeitungskopf img { width: 46px; height: auto; }
.zeitungskopf .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 62px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.zeitungskopf .unterzeile {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-leise);
}

/* ---------- Hauptnavigation ---------- */
.hauptnav { border-top: 3px double var(--linie-stark); border-bottom: 1px solid var(--linie-stark); }
.hauptnav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0 4px;
}
.hauptnav a {
  display: block; padding: 11px 14px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.hauptnav a:hover, .hauptnav a[aria-current="page"] { color: var(--akzent); }

/* ---------- Brotkrumen ---------- */
.brotkrumen { font-family: var(--sans); font-size: 13px; color: var(--text-leise); margin: 22px 0 0; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }
.brotkrumen span[aria-hidden] { margin: 0 6px; }

/* ---------- Artikel-Layout ---------- */
.artikel-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  margin: 18px 0 64px;
}
.artikel { max-width: 720px; }

.dachzeile {
  margin: 0 0 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--akzent);
}
.artikel h1 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.vorspann {
  margin: 16px 0 0;
  font-size: 21px; line-height: 1.45;
  color: #3b3934;
  text-wrap: pretty;
}
.metazeile {
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center;
  margin: 22px 0 28px; padding: 11px 0;
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
  font-family: var(--sans); font-size: 14px; color: var(--text-leise);
}
.metazeile .autor { color: var(--text); font-weight: 600; }
.metazeile .trenner { color: var(--linie); }

/* Artikelbild: bewusst klein, rechts im Text */
.artikelbild {
  float: right;
  width: 44%; max-width: 330px;
  margin: 6px 0 18px 30px;
}
.artikelbild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--flaeche); }
.artikelbild figcaption {
  margin-top: 7px;
  font-family: var(--sans); font-size: 13px; line-height: 1.4; color: var(--text-leise);
}
.artikelbild .bildnachweis { display: block; font-size: 11.5px; letter-spacing: 0.02em; margin-top: 2px; }

/* Fließtext */
.text { font-size: 18.5px; line-height: 1.68; }
.text::after { content: ""; display: table; clear: both; }
.text p { margin: 0 0 1.05em; }
.text h2 { font-size: 24px; line-height: 1.25; margin: 1.6em 0 0.5em; }
.text h3 { font-family: var(--sans); font-size: 17px; text-transform: uppercase; letter-spacing: 0.06em; margin: 1.6em 0 0.4em; }
.text a { color: var(--akzent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text a:hover { color: var(--akzent-dunkel); text-decoration-thickness: 2px; }
.text ul, .text ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.text li { margin-bottom: 0.5em; }
.text blockquote {
  margin: 1.4em 0; padding: 0 0 0 20px;
  border-left: 3px solid var(--akzent);
  font-style: italic; font-size: 20px; color: #3b3934;
}
.text .zwischenzeile { font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; margin-top: 1.6em; }

/* Tabellen im Text */
.tabelle { clear: both; margin: 1.6em 0; overflow-x: auto; }
.tabelle table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15.5px; line-height: 1.4; }
.tabelle caption { text-align: left; font-weight: 700; font-size: 15px; padding-bottom: 8px; }
.tabelle th, .tabelle td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle thead th { border-bottom: 2px solid var(--linie-stark); font-weight: 700; }
.tabelle td.zahl, .tabelle th.zahl { text-align: right; font-variant-numeric: tabular-nums; }
.tabelle .quelle { font-family: var(--sans); font-size: 13px; color: var(--text-leise); margin-top: 8px; }

/* Fuß des Artikels */
.artikelende {
  clear: both;
  margin-top: 36px; padding-top: 14px;
  border-top: 1px solid var(--linie-stark);
  font-family: var(--sans); font-size: 14px; color: var(--text-leise);
}
.schlagworte { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.schlagworte li { border: 1px solid var(--linie); padding: 3px 10px; font-size: 13px; color: var(--text); }

/* ---------- Seitenspalte ---------- */
.seitenspalte { font-family: var(--sans); }
.kasten { margin-bottom: 40px; }
.kasten h2 {
  margin: 0 0 4px; padding-bottom: 8px;
  border-bottom: 3px solid var(--linie-stark);
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { border-bottom: 1px solid var(--linie); }
.liste a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 13px 0; text-decoration: none; align-items: start; }
.liste img { width: 76px; height: 54px; object-fit: cover; background: var(--flaeche); }
.liste .rubrik { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--akzent); margin-bottom: 2px; }
.liste .titel { display: block; font-family: var(--serif); font-size: 16px; line-height: 1.3; font-weight: 600; }
.liste a:hover .titel { text-decoration: underline; text-underline-offset: 3px; }
.liste .datum { display: block; font-size: 12.5px; color: var(--text-leise); margin-top: 3px; }
.liste li[aria-current="page"] .titel { color: var(--text-leise); }

.rubrikliste { list-style: none; margin: 0; padding: 0; }
.rubrikliste a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--linie); text-decoration: none; font-size: 15px; }
.rubrikliste a:hover { color: var(--akzent); }
.rubrikliste .anzahl { color: var(--text-leise); font-variant-numeric: tabular-nums; }

/* ---------- Mehr zum Thema ---------- */
.mehr { border-top: 3px double var(--linie-stark); padding: 26px 0 56px; }
.mehr h2 { margin: 0 0 20px; font-family: var(--sans); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.karte a { text-decoration: none; display: block; }
.karte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 12px; background: var(--flaeche); }
.karte .rubrik { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--akzent); }
.karte h3 { margin: 4px 0 6px; font-size: 20px; line-height: 1.25; }
.karte a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.karte p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--text-leise); }

/* ---------- Fußzeile ---------- */
.fusszeile { background: var(--text); color: #e9e6df; font-family: var(--sans); font-size: 14px; }
.fusszeile .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.fusszeile .marke { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #fff; }
.fusszeile p { margin: 4px 0 0; color: #b7b2a8; }
.fusszeile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.fusszeile a { text-decoration: none; color: #e9e6df; }
.fusszeile a:hover { color: #fff; text-decoration: underline; }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  .artikel-raster { grid-template-columns: 1fr; gap: 24px; }
  .artikel { max-width: none; }
  .seitenspalte { border-top: 3px double var(--linie-stark); padding-top: 24px; }
  .karten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .kopfleiste .rechts { display: none; }
  .zeitungskopf { padding: 20px 0 14px; }
  .zeitungskopf img { width: 36px; }
  .hauptnav ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .hauptnav ul::-webkit-scrollbar { display: none; }
  .hauptnav a { white-space: nowrap; padding: 11px 12px; font-size: 13px; }
  .vorspann { font-size: 19px; }
  .text { font-size: 17.5px; }
  .artikelbild { float: none; width: 100%; max-width: none; margin: 0 0 22px; }
  .karten { grid-template-columns: 1fr; gap: 28px; }
}

@media print {
  .kopfleiste, .hauptnav, .seitenspalte, .mehr, .fusszeile { display: none; }
  .artikel-raster { display: block; }
  body { background: #fff; }
}

/* Kleinigkeiten */
.artikelende:not(:has(li)) { display: none; }
@media (max-width: 640px) { .metazeile .trenner { display: none; } }

/* =========================================================
   Übersichtsseiten: Startseite und Rubriken
   ========================================================= */
.uebersicht-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  margin: 28px 0 72px;
}
.seitenkopf { margin: 30px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--linie-stark); }
.seitenkopf h1 { margin: 0; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.012em; }
.seitenkopf .vorspann { max-width: 720px; }

.datumzeile { font-family: var(--sans); font-size: 13px; color: var(--text-leise); margin-top: 8px; }
.datumzeile .autor { color: var(--text); font-weight: 600; }

/* Aufmacher */
.aufmacher a { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; text-decoration: none; align-items: start; }
.aufmacher img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--flaeche); }
.aufmacher h2 { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.aufmacher p.teaser { margin: 0; font-size: 19px; line-height: 1.5; color: #3b3934; }
.aufmacher a:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.aufmacher { padding-bottom: 30px; border-bottom: 1px solid var(--linie-stark); }

/* Drei Meldungen unter dem Aufmacher */
.meldungen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 44px; margin: 0 0 12px; }
.meldungen .karte { position: relative; padding: 24px 0 26px; }
.meldungen .karte + .karte::before { content: ""; position: absolute; left: -22px; top: 24px; bottom: 26px; border-left: 1px solid var(--linie); }
.meldungen .karte h3 { font-size: 19px; }
.meldungen .karte p { font-size: 15px; }

/* Rubrikblöcke */
.rubrikblock { margin-top: 30px; }
.rubrikblock-kopf { display: flex; justify-content: space-between; align-items: baseline; border-top: 3px solid var(--linie-stark); padding-top: 9px; margin-bottom: 4px; }
.rubrikblock-kopf h2 { margin: 0; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.rubrikblock-kopf a { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--akzent); text-decoration: none; }
.rubrikblock-kopf a:hover { text-decoration: underline; }

/* Artikelzeilen (Rubrikblöcke und Rubrikseiten) */
.zeilen { list-style: none; margin: 0; padding: 0; }
.zeile { border-bottom: 1px solid var(--linie); }
.zeile a { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; padding: 20px 0; text-decoration: none; align-items: start; }
.zeile img { width: 180px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--flaeche); }
.zeile h3 { margin: 2px 0 6px; font-size: 22px; line-height: 1.22; }
.zeile p.teaser { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-leise); }
.zeile a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.zeilen.kompakt .zeile a { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 16px 0; }
.zeilen.kompakt .zeile img { width: 120px; }
.zeilen.kompakt .zeile h3 { font-size: 19px; }
.zeilen.kompakt .zeile p.teaser { font-size: 15px; }
.kicker { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--akzent); }
.leer { font-family: var(--sans); color: var(--text-leise); padding: 24px 0; }

.ueber p { font-family: var(--sans); font-size: 15px; line-height: 1.55; margin: 12px 0 0; color: #3b3934; }
.ueber a { color: var(--akzent); font-weight: 600; }

/* =========================================================
   Textseiten: Impressum, Datenschutz
   ========================================================= */
.textseite { max-width: 760px; margin: 40px 0 80px; }
.textseite h1 { margin: 0 0 8px; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.12; padding-bottom: 18px; border-bottom: 1px solid var(--linie-stark); }
.textseite .text { font-size: 17.5px; }
.textseite .text h2 { font-size: 22px; margin-top: 1.8em; }
.textseite .stand { font-family: var(--sans); font-size: 14px; color: var(--text-leise); }
.textseite .inhaltsverzeichnis { font-family: var(--sans); font-size: 15px; background: var(--flaeche); padding: 18px 22px 10px; margin: 20px 0 28px; }
.textseite .inhaltsverzeichnis ol { margin: 8px 0 8px; columns: 2; column-gap: 32px; }
.textseite .inhaltsverzeichnis li { margin-bottom: 4px; break-inside: avoid; }
.textseite address { font-style: normal; }

@media (max-width: 980px) {
  .uebersicht-raster { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .aufmacher a { grid-template-columns: 1fr; gap: 16px; }
  .meldungen { grid-template-columns: 1fr; }
  .meldungen .karte { padding: 20px 0; border-bottom: 1px solid var(--linie); }
  .meldungen .karte + .karte::before { display: none; }
  .meldungen .karte img { display: none; }
  .zeile a, .zeilen.kompakt .zeile a { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .zeile img, .zeilen.kompakt .zeile img { width: 104px; }
  .zeile h3, .zeilen.kompakt .zeile h3 { font-size: 18px; }
  .zeile p.teaser { display: none; }
  .textseite .inhaltsverzeichnis ol { columns: 1; }
}

/* =========================================================
   Anzeigenleiste (Sprachenstadt, Sprachenheim, languagecity)
   ========================================================= */
.partnerleiste { background: var(--flaeche); border-bottom: 1px solid var(--linie); font-family: var(--sans); font-size: 13.5px; line-height: 1.3; }
.partnerleiste .huelle { display: flex; align-items: center; gap: 18px; padding-top: 9px; padding-bottom: 9px; }
.partnerleiste .anzeige { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-leise); border: 1px solid var(--linie); padding: 2px 6px; }
.partner { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; min-width: 0; }
.partner li + li { border-left: 1px solid var(--linie); }
.partner a { display: block; padding: 2px 18px; text-decoration: none; }
.partner li:first-child a { padding-left: 0; }
.partner strong { display: block; font-weight: 700; color: var(--text); }
.partner span { display: block; color: var(--text-leise); font-size: 12.5px; }
.partner a:hover strong { color: var(--akzent); text-decoration: underline; text-underline-offset: 3px; }
.nachrichtenlink { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--akzent); text-decoration: none; padding: 7px 12px; border: 1px solid var(--akzent); background: var(--papier); }
.nachrichtenlink:hover { background: var(--akzent); color: #fff; }
.nachrichtenlink .punkt { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hauptnav a.extern::after { content: " ↗"; font-weight: 400; }

@media (max-width: 980px) {
  .partnerleiste .huelle { flex-wrap: wrap; row-gap: 8px; }
  .partnerleiste .anzeige { order: -2; }
  .nachrichtenlink { order: -1; margin-left: auto; }
  .partner { flex-basis: 100%; }
  .hauptnav ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .hauptnav ul::-webkit-scrollbar { display: none; }
  .hauptnav a { white-space: nowrap; }
}
@media (max-width: 640px) {
  .partnerleiste .huelle { gap: 10px; }
  .nachrichtenlink { margin-left: 0; flex: 1; justify-content: center; font-size: 13px; padding: 7px 10px; }
  .nachrichtenlink .lang { display: none; }
  .partner a { padding: 2px 12px; }
  .partner span { display: none; }
  .partner strong { font-size: 13px; }
}
