/* dasZeitung.de 2.0 – eine Zeitungsseite, nur schärfer.
   Ur-DNA 2009: Originallogo (logoz.jpg), Schiefer #34425b für Titel, Blau #0066ff nur für Links.
   Schrift: Source Serif 4 (OFL, eigener Server); Nebeninfos in der Systemschrift. Kein Gedöns. */
@font-face { font-family: "Source Serif"; src: url(schriften/SourceSerif4-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(schriften/SourceSerif4-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(schriften/SourceSerif4-Bold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
:root {
  --text: #1d2129; --titel: #34425b; --leise: #6f7783; --linie: #d9dde3; --blau: #0066ff; --grund: #fff; --papier: #f6f6f4;
  --serif: "Source Serif", "Times New Roman", Times, serif;
  --sans: ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --breit: 72rem; --spalte: 38rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #e3e6eb; --titel: #c9d3e3; --leise: #8b93a0; --linie: #2a313c; --blau: #6aa5ff; --grund: #0f1217; --papier: #161a21; }
}
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; hanging-punctuation: first last; }
body { margin: 0; background: var(--grund); color: var(--text); font: 1.125rem/1.6 var(--serif);
  font-kerning: normal; font-variant-ligatures: common-ligatures; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blau); }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
main, footer { width: min(100% - 2.5rem, var(--spalte)); margin-inline: auto; }
main.blatt, main.ausgabe { width: min(100% - 2.5rem, var(--breit)); }

/* ---------- Zeitungskopf: Logo mittig, Datumszeile zwischen Linien ---------- */
.kopf { width: min(100% - 2.5rem, var(--breit)); margin: clamp(1.8rem, 6vw, 3.2rem) auto 0; text-align: center; }
.marke { display: inline-block; view-transition-name: marke; }
.marke img { display: block; width: clamp(200px, 40vw, 330px); height: auto; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .marke img { filter: invert(1); mix-blend-mode: screen; } }
.dateline { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .5rem 0;
  border-top: 1px solid var(--text); border-bottom: 3px double var(--text);
  font: 500 .66rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.dateline span { white-space: nowrap; }
.dateline span:nth-child(2) { color: var(--leise); }
.kopf.klein .marke img { width: clamp(170px, 30vw, 230px); }
@media (max-width: 40rem) { .dateline span:nth-child(2) { display: none; } .dateline { font-size: .6rem; letter-spacing: .08em; } }

/* ---------- Titelseite ---------- */
.aufmacher { padding: clamp(1.8rem, 5vw, 3rem) 0 2.2rem; border-bottom: 1px solid var(--text); }
.aufmacher h2 { margin: 0; max-width: 20ch; font: 700 clamp(2.3rem, 6.2vw, 4.6rem)/1.02 var(--serif); letter-spacing: -.025em; color: var(--titel); text-wrap: balance; }
.aufmacher .vorspann { max-width: 40rem; margin: 1rem 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.45; }
.aufmacher .bild img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; margin-top: 1.8rem; }
.dach { margin: 0 0 .5rem; font: 600 .66rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.meta { margin: .6rem 0 0; font: .7rem/1.4 var(--sans); color: var(--leise); }
.trenner { display: flex; align-items: center; gap: 1rem; margin: 2.6rem 0 1.6rem; font: 600 .66rem/1 var(--sans);
  letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.trenner::before, .trenner::after { content: ""; flex: 1; border-top: 1px solid var(--linie); }
.spalten { columns: 3 17rem; column-gap: 2.4rem; column-rule: 1px solid var(--linie); }
.meldung { break-inside: avoid; margin: 0 0 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--linie); }
.meldung img { display: block; width: 100%; height: auto; margin-bottom: .8rem; }
.meldung h3 { margin: 0; font: 700 1.3rem/1.18 var(--serif); letter-spacing: -.01em; color: var(--titel); text-wrap: balance; }
.meldung h3 a:hover { color: var(--blau); }
.meldung .meta { margin: .35rem 0 .5rem; }
.auszug { margin: 0; font-size: .98rem; line-height: 1.55; text-align: justify; hyphens: auto; }
.weiter { font: 600 .72rem/1 var(--sans); color: var(--blau); white-space: nowrap; }
.fusszeile { display: grid; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 3px double var(--text);
  font: .78rem/1.7 var(--sans); color: var(--leise); }
.fusszeile p { margin: 0; }
.fusszeile b { color: var(--text); margin-right: .4rem; }
.fusszeile a { margin-right: .5rem; }
.fusszeile input { width: min(100%, 20rem); padding: .45rem 0; border: 0; border-bottom: 1px solid var(--linie); background: transparent;
  color: var(--text); font: 1rem/1.3 var(--serif); border-radius: 0; }
.fusszeile input:focus { outline: none; border-bottom-color: var(--blau); }
.treffer { list-style: none; margin: .3rem 0 0; padding: 0; font: 1rem/1.5 var(--serif); color: var(--text); }
.treffer a { display: block; padding: .2rem 0; }

/* ---------- Artikel ---------- */
article.h-entry:not(.meldung):not(.aufmacher) { margin-top: clamp(2.2rem, 7vw, 4rem); }
h1 { margin: 0; font: 700 clamp(2.2rem, 7vw, 3.5rem)/1.04 var(--serif); letter-spacing: -.025em; color: var(--titel); text-wrap: balance;
  view-transition-name: titel; }
.vorspann { margin: 1rem 0 0; font-size: 1.3rem; line-height: 1.45; text-wrap: pretty; }
.byline { display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin: 1.4rem 0 0; padding: .7rem 0; border-block: 1px solid var(--linie);
  font: .72rem/1.5 var(--sans); color: var(--leise); }
.byline b { font-weight: 600; color: var(--text); }
.werkzeuge { display: flex; gap: 1.1rem; margin: .6rem 0 2.4rem; font: .72rem/1 var(--sans); color: var(--leise); }
.werkzeuge button { all: unset; cursor: pointer; }
.werkzeuge button:hover, .werkzeuge button:focus-visible { color: var(--blau); }
.e-content p { margin: 0 0 1.1rem; text-wrap: pretty; hyphens: auto; }
.e-content a, .vorspann a, .info a, .seite a { color: var(--blau); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.e-content > p:first-of-type::first-letter { float: left; margin: .07em .08em 0 0; font: 700 3.2em/.82 var(--serif); color: var(--titel); }
.e-content > p:last-of-type::after { content: " ■"; font-size: .65em; color: var(--titel); }
.e-content h2 { margin: 2.4rem 0 .6rem; font: 700 1.25rem/1.3 var(--serif); color: var(--titel); }
blockquote { margin: 2.4rem 0; padding: 1.2rem 0; border-block: 1px solid var(--text); font: italic 1.6rem/1.3 var(--serif); color: var(--titel); text-wrap: balance; }
blockquote cite { display: block; margin-top: .6rem; font: normal .7rem/1.3 var(--sans); letter-spacing: .04em; color: var(--leise); }
.info { margin: 2.2rem 0; padding: 1rem 1.2rem; background: var(--papier); font: .92rem/1.55 var(--sans); }
.info b { display: block; margin-bottom: .3rem; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
figure { margin: 2.4rem 0; }
.randlos { width: min(100vw, 60rem); margin-inline: 50%; translate: -50%; }
.randlos img { display: block; width: 100%; height: auto; }
figcaption { width: min(100% - 2.5rem, var(--spalte)); margin: .6rem auto 0; font: .72rem/1.45 var(--sans); color: var(--leise); }
.credit { float: right; margin-left: 1rem; font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }
.e-content img:not(.klein) { max-width: 100%; height: auto; }
.e-content p:has(> img) { margin: 2rem 0; }
.kontakt { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .35rem; margin: 2rem 0; }
.kontakt img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.inhalt { margin: 0 0 2.4rem; padding: 0; list-style: none; font: .82rem/1.9 var(--sans); color: var(--leise); counter-reset: k; }
.inhalt li::before { counter-increment: k; content: counter(k) "  "; }
.korrektur { margin: 2.4rem 0 0; padding-top: .8rem; border-top: 1px solid var(--linie); font: .72rem/1.5 var(--sans); color: var(--leise); }
.schlagworte { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: 1.4rem; font: .72rem/1 var(--sans); color: var(--leise); }
.schlagworte span::before { content: "# "; }
.rubrik { margin: 3rem 0 .6rem; padding-top: .6rem; border-top: 3px double var(--text); font: 600 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste a { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.liste time, .liste .nr { font: .7rem/1 var(--sans); color: var(--leise); font-variant-numeric: tabular-nums; }
.liste .t { font-size: 1.02rem; line-height: 1.35; }
.blaettern { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: .8rem; border-top: 3px double var(--text); font: .78rem/1.4 var(--sans); }
.blaettern span { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); }
.blaettern a:last-child { text-align: right; }

/* Diskussion von damals */
.diskussion { margin-top: 3rem; }
.diskussion h2 { padding-top: .6rem; border-top: 3px double var(--text); font: 600 .66rem/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--text) !important; }
.diskussion ol { list-style: none; margin: 0; padding: 0; }
.diskussion li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--linie); font-size: 1rem; }
.diskussion li > * { grid-column: 2; }
.diskussion li img { grid-column: 1; grid-row: 1 / span 9; width: 2.6rem; height: auto; filter: grayscale(1); }
.diskussion .wer { margin: 0 0 .3rem; font: .72rem/1.4 var(--sans); color: var(--leise); }
.diskussion .wer b { color: var(--text); }
.diskussion p { margin: 0 0 .5rem; }
.e-content .diskussion p::after { content: none; }

/* Lesefortschritt ohne JavaScript */
.fortschritt { position: fixed; inset: 0 0 auto; z-index: 9; height: 2px; background: var(--titel); transform-origin: 0 50%;
  animation: lesen linear both; animation-timeline: scroll(root); }
@keyframes lesen { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports not (animation-timeline: scroll()) { .fortschritt { display: none; } }

/* Textseiten, Autor, Formular */
.seite .e-content > p:first-of-type::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
.seite .e-content > p:last-of-type::after { content: none; }
.seite h2 { margin: 2.2rem 0 .5rem; font: 700 1.2rem/1.3 var(--serif); color: var(--titel); }
.seite .liste a { grid-template-columns: 9rem 1fr; }
.autor .portrait { width: 7rem; height: 7rem; object-fit: cover; border-radius: 50%; filter: grayscale(1); margin-bottom: 1rem; }
.formular { display: grid; gap: 1.1rem; margin-top: 2rem; font: .85rem/1.4 var(--sans); }
.formular label { display: grid; gap: .35rem; }
.formular small { color: var(--leise); }
.formular input, .formular select, .formular textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--linie); border-radius: 2px;
  background: var(--grund); color: var(--text); font: 1rem/1.4 var(--serif); }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 2px solid var(--blau); outline-offset: 0; border-color: transparent; }
.formular .haken { display: flex; gap: .6rem; align-items: flex-start; color: var(--leise); }
.formular .haken input { width: auto; margin-top: .15rem; accent-color: var(--blau); }
.formular .ehrlich { position: absolute; left: -9999px; }
.formular button { justify-self: start; padding: .85rem 1.4rem; border: 0; background: var(--titel); color: var(--grund); font: 600 .82rem/1 var(--sans); cursor: pointer; }
.formular button:hover { background: var(--blau); }
.danke { padding: 1rem 1.2rem; background: var(--papier); }

/* Fuß */
footer { margin-block: clamp(3.5rem, 10vw, 6rem) 2.5rem; padding-top: 1rem; border-top: 1px solid var(--linie);
  display: flex; gap: .5rem 1.2rem; flex-wrap: wrap; font: .7rem/1 var(--sans); color: var(--leise); }
main.blatt + footer, main.ausgabe + footer { width: min(100% - 2.5rem, var(--breit)); }
footer a:hover { color: var(--text); }
footer .rechts { margin-left: auto; }
.kolophon { flex-basis: 100%; margin: 1.4rem 0 0; font: .64rem/1.6 var(--sans); letter-spacing: .04em; color: var(--leise); }

/* ---------- Monatsausgabe ---------- */
.ausgabe h1 { margin: .3rem 0 1.6rem; padding-bottom: .8rem; border-bottom: 1px solid var(--text); }
.ausgabe .spalten { columns: 2 18rem; }
.ausgabe article { break-inside: avoid-column; margin: 0 0 2rem; }
.ausgabe h2 { margin: 0 0 .3rem; font: 700 1.4rem/1.15 var(--serif); color: var(--titel); }
.ausgabe .meta { margin: 0 0 .6rem; }
.ausgabe p { margin: 0 0 .7rem; font-size: 1rem; hyphens: auto; text-align: justify; }
.ausgabe img { max-width: 100%; height: auto; }
.ausgabe .kontakt { grid-template-columns: repeat(4, 1fr); }
.druckknopf { font: 600 .78rem/1 var(--sans); color: var(--blau); background: none; border: 0; cursor: pointer; padding: 0; }

@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  body { font-size: 9.5pt; color: #000; background: #fff; }
  .fortschritt, .werkzeuge, .mehr, .blaettern, footer, .fusszeile, .druckknopf { display: none !important; }
  .marke img { mix-blend-mode: normal; filter: none; }
  .randlos { width: 100%; margin: 0; translate: none; }
  a { color: #000; text-decoration: none; }
  main, main.ausgabe, main.blatt { width: 100%; margin: 0; }
}

/* Titelseite als Strom: alle Artikel vollständig untereinander */
.strom { padding: 2.6rem 0 2.4rem; border-bottom: 3px double var(--text); }
.strom.erster { padding-top: clamp(2rem, 6vw, 3.4rem); }
.strom h2 { margin: 0; font: 700 clamp(1.9rem, 5vw, 2.8rem)/1.06 var(--serif); letter-spacing: -.02em; color: var(--titel); text-wrap: balance; }
.strom.erster h2 { font-size: clamp(2.4rem, 7vw, 3.8rem); }
.strom h2 a:hover { color: var(--blau); }
.strom .meta { margin: .6rem 0 1.4rem; }
.strom .e-content > p:first-of-type::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
.strom .e-content > p:last-of-type::after { content: none; }
.strom .e-content { font-size: 1.06rem; }
.trenner + .strom { padding-top: 1rem; }

/* Handy: Titelseite knapp halten – Auszüge auf vier Zeilen, Bilder nur beim Aufmacher */
@media (max-width: 40rem) {
  .auszug { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
  .auszug .weiter { display: none; }
  .meldung img { display: none; }
  .meldung { margin-bottom: 1.2rem; padding-bottom: 1.2rem; }
  .meldung h3 { font-size: 1.2rem; }
}

/* ---------- Navigation: Ressortleiste, Suche, Menü (wie ein Zeitungsportal, ohne Gedöns) ---------- */
.navi { display: flex; align-items: center; gap: .4rem; border-bottom: 1px solid var(--linie); text-align: left; position: relative; }
.ressortleiste { display: flex; gap: 1.5rem; flex: 1; margin: 0; padding: .75rem 0; list-style: none; overflow-x: auto; scrollbar-width: none;
  font: 600 .8rem/1 var(--sans); white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ressortleiste::-webkit-scrollbar { display: none; }
.ressortleiste a { display: inline-block; padding: .25rem 0; color: var(--text); border-bottom: 2px solid transparent; }
.ressortleiste a:hover { color: var(--titel); border-bottom-color: var(--linie); }
.ressortleiste a[aria-current] { border-bottom-color: var(--titel); }
.suchknopf { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; color: var(--text); }
.menue summary { display: grid; place-content: center; gap: 4px; width: 2.6rem; height: 2.6rem; cursor: pointer; list-style: none; }
.menue summary::-webkit-details-marker { display: none; }
.menue summary span { display: block; width: 18px; height: 1.6px; background: var(--text); transition: transform .2s, opacity .2s; }
.menue[open] summary span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menue[open] summary span:nth-child(2) { opacity: 0; }
.menue[open] summary span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.menue ul { position: absolute; right: 0; top: 100%; z-index: 10; min-width: 15rem; margin: 0; padding: .6rem 0; list-style: none;
  background: var(--grund); border: 1px solid var(--linie); border-top: 2px solid var(--titel); box-shadow: 0 12px 30px rgb(0 0 0 / .08);
  font: .88rem/1 var(--sans); }
.menue li a { display: block; padding: .7rem 1.2rem; }
.menue li a:hover { background: var(--papier); color: var(--titel); }
.ressorttitel { margin: clamp(1.6rem, 5vw, 2.6rem) 0 1.6rem; padding-bottom: .8rem; border-bottom: 1px solid var(--text); font: 700 clamp(2rem, 5vw, 3rem)/1.05 var(--serif); color: var(--titel); }
.suchseite input { width: 100%; padding: .7rem 0; border: 0; border-bottom: 2px solid var(--text); background: transparent; color: var(--text); font: 1.4rem/1.3 var(--serif); border-radius: 0; }
.suchseite input:focus { outline: none; border-bottom-color: var(--blau); }
.suchseite .treffer { margin-top: 1rem; }
.suchseite .treffer a { padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.leer { color: var(--leise); }
@media (max-width: 40rem) { .ressortleiste { gap: 1.1rem; font-size: .78rem; } }

/* Städte und Redaktion */
.staedteliste { list-style: none; margin: 1.6rem 0; padding: 0; border-top: 1px solid var(--text); }
.staedteliste li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
.stadtname { font: 700 1.4rem/1.2 var(--serif); color: var(--titel); }
.staedteliste .meta { margin: 0; }
.staedteliste .meta a, .stadtteam a { color: var(--blau); }
.stadtteam { margin: -.6rem 0 1.8rem; font: .85rem/1.5 var(--sans); color: var(--leise); }
.seite h3 { margin: 1.8rem 0 .3rem; font: 700 1.1rem/1.3 var(--serif); }
.seite h3 a { color: var(--titel) !important; text-decoration: none !important; }
.gesucht { color: var(--blau); }
.grundsaetze { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.grundsaetze li { margin-bottom: .5rem; }
.ort { font-weight: 600; color: var(--text); }
.formular .wahl { display: grid; gap: .5rem; margin: 0; padding: 0; border: 0; }
.formular .wahl legend { margin-bottom: .4rem; font-weight: 600; }
.formular .wahl label { display: flex; gap: .5rem; align-items: center; }
.formular .wahl input { width: auto; accent-color: var(--titel); }

/* Minimaler (28.11.): kürzere Auszüge, weniger Linien, mehr Luft */
.auszug { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.meldung { margin-bottom: 1.8rem; padding-bottom: 0; border-bottom: 0; }
.meldung .meta { margin: .3rem 0 .45rem; }
.spalten { column-gap: 3rem; }
.trenner { margin: 3rem 0 2rem; }
.dateline { justify-content: space-between; }
.navi { border-bottom: 0; }
.ressortleiste { gap: 1.8rem; -webkit-mask-image: none; mask-image: none; }
footer { gap: .5rem 1.4rem; }
