/* =====================================================================================
   Aistblatt · Gestaltung
   Aufbau: Grundlagen · Kopf · Knöpfe · Karte · Titelseite · Der Weg einer Meldung · ruhige Abschnitte · Fuß
   Zeitungsgrammatik: kräftige Linie über jedem Abschnitt, Rubrik in Rot und Großbuchstaben, Spaltenlinien,
   Kanten statt runder Kissen. Eine Schrift (Schibsted Grotesk), eine Farbe (Zeitungsrot).
   ===================================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--schrift); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.behaelter { width: min(100% - 40px, var(--breite)); margin-inline: auto; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-klein); background: var(--text); color: #fff; }
.sprung:focus { top: 12px; }

.marke { display: block; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.marke-hell { color: var(--accent-auf-dunkel); }
.leise { color: var(--muted); }
.klein { font-size: 14px; }
h1 { font-size: clamp(36px, 4.3vw, 56px); line-height: 1.03; letter-spacing: -.032em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.07; letter-spacing: -.025em; font-weight: 760; text-wrap: balance; }
h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.012em; font-weight: 720; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 30; height: var(--kopf); background: rgba(242, 243, 243, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(19, 20, 22, .08); }
.kopf-innen { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 850; font-size: 23px; letter-spacing: -.04em; }
.logo-zeichen { width: 16px; height: 16px; background: var(--accent); flex: none; }
.menue { display: flex; gap: 24px; margin-left: 10px; }
.menue a { color: var(--text); text-decoration: none; font-weight: 580; font-size: 16px; padding: 10px 0; }
.menue a:hover { color: var(--accent); }
.kopf .knopf { margin-left: auto; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: var(--radius-klein); background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; transition: background .2s; }
.knopf:hover { background: var(--accent-tief); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 15px; }
.knopf-rand { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.knopf-rand:hover { background: var(--text); color: #fff; }
.knopf-hell { background: #fff; color: var(--text); }
.knopf-hell:hover { background: #e9ecee; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.textlink:hover { color: var(--accent); }

/* =====================================================================================
   Karte des Bezirks: SVG für Fläche und Linien, Orte und Namen als HTML darüber (immer scharf).
   Lage der Orte in Prozent derselben Fläche (viewBox 580 × 540).
   ===================================================================================== */
.karte { position: relative; aspect-ratio: 580 / 540; }
.karte-grund { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.k-land { fill: var(--land); stroke: var(--grenze); stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.k-fluss { fill: none; stroke: var(--fluss); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.k-fluss-gross { stroke-width: 3; }
.k-name { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; pointer-events: none; }
.k-name-fluss { font-style: italic; font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 13px; color: var(--fluss-text); }
.ort { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--ort); box-shadow: 0 0 0 2px #fff; }

/* Gemeinden mit Meldung: Link mit rotem Punkt und Namen */
.ort-meldung { width: auto; height: auto; margin: 0; background: none; box-shadow: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px; transform: translate(-15px, -50%); color: var(--text); font-size: 13px; font-weight: 680; line-height: 1.2; text-decoration: none; white-space: nowrap; border-radius: var(--radius-klein); z-index: 1; }
.ort-meldung::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #fff; transition: transform .2s; }
.ort-meldung span { padding: 1px 5px; border-radius: 3px; background: rgba(255, 255, 255, .88); transition: background .2s, color .2s; }
.ort-links { flex-direction: row-reverse; transform: translate(calc(-100% + 15px), -50%); }
.ort-unten { flex-direction: column; gap: 2px; transform: translate(-50%, -14px); }
.ort-meldung:hover::before, .ort-meldung[aria-current="true"]::before, .ort-meldung:target::before { transform: scale(1.3); }
.ort-meldung[aria-current="true"] span { background: var(--text); color: #fff; }
.ort-meldung:hover span { color: var(--accent); }
.ort-meldung[aria-current="true"]:hover span { color: #fff; }
.ort-meldung:focus-visible { outline-offset: 0; }

/* =====================================================================================
   1 · Titelseite (erster Bildschirm)
   Ein Blatt der aktuellen Ausgabe liegt auf dem Tisch. Die Maus neigt es leicht (js/titelblatt.js),
   die Karte zeigt, aus welchen Gemeinden diese Woche etwas im Blatt steht.
   Ohne JavaScript: alle zwölf Meldungen stehen untereinander neben der Karte.
   ===================================================================================== */
.titel { background: var(--surface-2); padding: 52px 0 76px; overflow: hidden; }
.titel-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.titel-text { max-width: 31rem; }
.einleitung { margin-top: 22px; font-size: 20px; color: var(--muted); }
.knoepfe { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.titel-hinweis { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 620; color: var(--muted); }
.titel-hinweis > span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-hell); }
.titel-hinweis > .hinweis-scroll::before { content: "↓"; width: auto; height: auto; background: none; box-shadow: none; color: var(--accent); font-weight: 800; }
.nur-finger { display: none; }
@media (hover: none) { .nur-maus { display: none; } .nur-finger { display: inline; } }

.blatt-raum { perspective: 1800px; }
.blatt-stapel { position: relative; transform: rotate(-1.1deg); transform-origin: 50% 45%; }
.blatt-stapel::before, .blatt-stapel::after { content: ""; position: absolute; inset: 0; background: #fbfbfa; box-shadow: 0 1px 2px rgba(19, 20, 22, .12); }
.blatt-stapel::before { transform: rotate(2.4deg) translate(10px, 6px); }
.blatt-stapel::after { transform: rotate(1.2deg) translate(4px, 3px); }
.blatt { position: relative; z-index: 1; padding: 20px 24px 14px; background: var(--surface); box-shadow: 0 1px 0 rgba(19, 20, 22, .05), 0 34px 70px -28px rgba(19, 20, 22, .45); }
.blatt-zeile { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.blatt-name { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; font-size: clamp(42px, 5.2vw, 68px); line-height: 1; font-weight: 900; letter-spacing: -.055em; }
.blatt-name::before { content: ""; width: .28em; height: .28em; background: var(--accent); }
.blatt-unter { margin-top: 6px; padding-bottom: 12px; border-bottom: 4px solid var(--linie); text-align: center; font-size: 13px; color: var(--muted); }
.blatt-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 22px; padding-top: 14px; }
.blatt-rubrik { font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.blatt-karte .karte { margin-top: 4px; }

.meldungen { border-left: 1px solid var(--border); padding-left: 20px; }
.meldungen li { padding: 2px 0 18px; scroll-margin-top: calc(var(--kopf) + 20px); }
.meldungen li + li { padding-top: 16px; border-top: 1px solid var(--border); }
.m-kopf { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.m-titel { margin-top: 8px; font-size: 22px; line-height: 1.14; letter-spacing: -.018em; font-weight: 760; text-wrap: balance; }
.m-text { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.m-seite { margin-top: 12px; font-size: 13px; font-weight: 750; letter-spacing: .04em; }
.m-weg { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--accent); }
.meldungen li:target { background: var(--accent-hell); }

.blatt-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--linie); font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.blaettern { display: flex; align-items: center; gap: 6px; }
.blaettern[hidden] { display: none; }
.blaettern-zahl { min-width: 4.2em; text-align: center; font-variant-numeric: tabular-nums; color: var(--text); }
.blaettern button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-klein); background: #fff; color: var(--text); font: inherit; font-size: 20px; font-weight: 700; cursor: pointer; }
.blaettern button:hover { border-color: var(--text); }

/* Mit JavaScript: immer nur eine Meldung, alle liegen in derselben Zelle (keine Sprünge in der Höhe) */
html.js .meldungen { display: grid; }
html.js .meldungen li { grid-area: 1 / 1; padding: 2px 0 0; border-top: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
html.js .meldungen li.ist-aktiv { opacity: 1; visibility: visible; transition: opacity .35s; }
html.js .meldungen li:target { background: none; }
html.js[data-bewegung="starr"] .meldungen li { transition: none; }

/* =====================================================================================
   2 · Der Weg einer Meldung
   Ohne JavaScript, in „starr" und bei „Bewegung reduzieren": die sechs Schritte untereinander,
   daneben die Karte fertig (Zustellung in alle 27 Gemeinden, Uhr Freitag 6 Uhr).
   Mit html.weg-an (js/weg.js): Die Karte bleibt stehen, das Scrollen schiebt die Woche weiter.
   ===================================================================================== */
.weg { padding: var(--abstand) 0 0; }
.abschnitt-kopf { max-width: 44rem; margin-bottom: 44px; padding-top: 16px; border-top: 4px solid var(--linie); }
.abschnitt-kopf .leise { margin-top: 16px; font-size: 19px; }
.weg-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.weg-buehne { grid-column: 2; grid-row: 1; overflow: hidden; position: sticky; top: calc(var(--kopf) + 20px); background: var(--surface); border-top: 4px solid var(--linie); padding: 14px 18px 18px; box-shadow: 0 24px 60px -36px rgba(19, 20, 22, .4); }
.weg-schritte { grid-column: 1; grid-row: 1; counter-reset: schritt; }

.weg-schritte li { position: relative; padding: 0 0 34px 64px; }
.weg-schritte li::before { counter-increment: schritt; content: counter(schritt); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--linie); font-weight: 800; font-size: 18px; background: var(--bg); }
.weg-schritte li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 6px; width: 1px; background: var(--border); }
.weg-schritte li:last-child::after { display: none; }
.schritt-zeit { display: block; font-size: 14px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.weg-schritte h3 { margin-top: 6px; }
.weg-schritte p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.weg-schritte .knopf { margin-top: 18px; }

/* Uhr über der Karte */
.w-uhr { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.w-zifferblatt { width: 42px; height: 42px; flex: none; }
.w-zifferblatt circle { fill: #fff; stroke: var(--linie); stroke-width: 2; }
.w-zifferblatt line { stroke: var(--linie); stroke-linecap: round; transform-origin: 20px 20px; }
.w-zeiger-h { stroke-width: 3; transform: rotate(180deg); }
.w-zeiger-m { stroke-width: 2; stroke: var(--accent) !important; }
.w-zeit { display: flex; flex-direction: column; line-height: 1.15; min-width: 9.5em; }
.w-zeit span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.w-zeit b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-woche { flex: 1; position: relative; padding-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.w-woche ol { display: grid; grid-template-columns: repeat(5, 1fr); }
.w-woche li { padding-left: 4px; border-left: 1px solid var(--border); }
.w-woche-balken { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--surface-2); overflow: hidden; }
.w-woche-balken i { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(.85); }

/* Karte der Bühne */
.weg-karte { margin: 12px auto 0; width: min(100%, calc((100vh - var(--kopf) - 150px) * 580 / 540)); width: min(100%, calc((100svh - var(--kopf) - 150px) * 580 / 540)); }
.weg-karte .karte-lage { position: absolute; inset: 0; transition: opacity .5s; }
.w-linie { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.w-anruf { stroke: var(--accent); stroke-width: 2.5; }
.w-fahrt { stroke: var(--linie); stroke-width: 4; }
.w-linz { stroke: var(--muted); stroke-width: 2.5; }
.w-lkw { stroke: var(--linie); stroke-width: 3.5; }
.w-zu { stroke: var(--accent); stroke-width: 2; opacity: .75; }
.w-auto { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.w-linz-punkt { fill: var(--linie); stroke: #fff; stroke-width: 3; }
.weg-karte .ort { background: var(--accent); }
.ort-redaktion { width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 2px; background: var(--linie) !important; }
.w-name { font-size: 12px; letter-spacing: .06em; color: var(--text); font-weight: 750; background: rgba(255, 255, 255, .9); padding: 2px 6px; border-radius: 3px; }
.w-name-redaktion { transform: translate(calc(-100% - 14px), -50%); }
.w-name-pregarten { transform: translate(14px, -50%); }
.w-name-linz { transform: translate(14px, -50%); }

/* Einblendungen auf der Karte */
.w-ueber { position: absolute; }
html.weg-an .w-ueber { opacity: 0; visibility: hidden; transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; }
.w-info { position: absolute; right: 0; bottom: 0; padding: 8px 12px; background: var(--linie); color: #fff; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; border-radius: var(--radius-klein); }

.w-notiz { left: 50%; top: 50%; width: min(330px, 88%); transform: translate(-50%, -46%); padding: 18px 20px 16px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--accent); box-shadow: 0 24px 50px -24px rgba(19, 20, 22, .45); }
.w-notiz-kopf { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.w-notiz-titel { margin-top: 4px; font-size: 19px; font-weight: 780; letter-spacing: -.01em; line-height: 1.2; }
.w-notiz ul { margin-top: 12px; }
.w-notiz li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 15px; }
.w-notiz li b { font-weight: 720; }
.w-notiz li small { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.w-haken { width: 18px; height: 18px; flex: none; align-self: center; display: grid; place-items: center; border: 2px solid var(--linie); font-size: 12px; font-weight: 900; line-height: 1; color: transparent; transition: background .25s, color .25s; }
.w-haken.an { background: var(--accent); border-color: var(--accent); color: #fff; }
.w-notiz-fuss { margin-top: 8px; font-size: 13px; color: var(--muted); }

.w-seite { left: 50%; top: 50%; height: 92%; aspect-ratio: 3 / 4; transform: translate(-50%, -48%); padding: 4% 5%; background: #fff; border: 1px solid var(--border); box-shadow: 0 24px 50px -24px rgba(19, 20, 22, .45); display: flex; flex-direction: column; gap: 3%; }
.w-seite-kopf { display: flex; justify-content: space-between; padding-bottom: 3%; border-bottom: 3px solid var(--linie); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.w-seite-kopf b { color: var(--accent); }
.w-seite-raster { flex: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4%; min-height: 0; }
.w-block { background: repeating-linear-gradient(#fff 0 6px, #e4e7e9 6px 9px); }
.w-block-foto { background: #dfe3e6; grid-column: span 2; }
.w-block-anzeige { grid-column: span 1; display: grid; place-items: center; border: 1px solid var(--border); background: #fafafa; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.w-artikel { grid-column: span 2; padding: 6%; background: var(--accent-hell); border: 2px solid var(--accent); display: flex; flex-direction: column; gap: 6px; transition: transform .1s linear; }
.w-artikel small { font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.w-artikel b { font-size: clamp(13px, 1.35vw, 18px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.w-artikel i { flex: 1; background: repeating-linear-gradient(transparent 0 5px, rgba(19, 20, 22, .14) 5px 8px); }

.w-druck { left: 4%; bottom: 13%; display: flex; align-items: flex-end; gap: 14px; }
.w-stapel { position: relative; width: 70px; height: 92px; }
.w-stapel i { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: repeating-linear-gradient(#fff 0 3px, #c9ced2 3px 4px); border: 1px solid #9aa1a8; transform-origin: 50% 100%; transform: scaleY(1); }
.w-druck-zahl { padding: 8px 12px; background: #fff; border: 1px solid var(--border); line-height: 1.15; }
.w-druck-zahl b { display: block; font-size: 28px; font-weight: 820; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-druck-zahl span { font-size: 13px; color: var(--muted); }
.w-epaper { left: 0; top: 0; padding: 8px 12px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 750; border-radius: var(--radius-klein); }

/* Ruhige Fassung (ohne weg-an): Zustellung fertig, sonst nichts eingeblendet */
html:not(.weg-an) .w-anruf, html:not(.weg-an) .w-fahrt, html:not(.weg-an) .w-linz, html:not(.weg-an) .w-auto, html:not(.weg-an) .w-ueber { display: none; }
html.weg-an .w-anruf, html.weg-an .w-fahrt, html.weg-an .w-linz, html.weg-an .w-auto { opacity: 0; }

/* ----- Mit Bewegung: die Woche läuft beim Scrollen ----- */
html.weg-an .weg-schritte { padding: 6vh 0 44vh; }
html.weg-an .weg-schritte li { min-height: 72vh; padding-bottom: 0; opacity: .32; transition: opacity .4s; }
html.weg-an .weg-schritte li.ist-aktiv { opacity: 1; }
html.weg-an .weg-schritte li::after { bottom: 0; }
html.weg-an .weg-karte .ort { background: var(--ort); transition: background .3s, transform .3s; }
html.weg-an .weg-karte .ort.an { background: var(--accent); transform: scale(1.25); }
html.weg-an .weg-karte .ort-redaktion { transform: none !important; }
html.weg-an .ort-pregarten { background: var(--accent); }
html.weg-an .w-zu { stroke-dashoffset: 1; }
html.weg-an .w-lkw { stroke-dashoffset: 1; }
html.weg-an .w-name-pregarten, html.weg-an .w-name-linz { opacity: 0; transition: opacity .4s; }

/* welche Ebene in welchem Schritt sichtbar ist */
html.weg-an [data-schritt="0"] .w-anruf, html.weg-an [data-schritt="1"] .w-anruf { opacity: 1; }
html.weg-an [data-schritt="1"] .w-fahrt, html.weg-an [data-schritt="1"] .w-auto { opacity: 1; }
html.weg-an [data-schritt="0"] .w-name-pregarten, html.weg-an [data-schritt="1"] .w-name-pregarten { opacity: 1; }
html.weg-an [data-schritt="4"] .w-linz, html.weg-an [data-schritt="4"] .w-name-linz, html.weg-an [data-schritt="5"] .w-name-linz { opacity: 1; }
html.weg-an [data-schritt="2"] .karte-lage, html.weg-an [data-schritt="3"] .karte-lage { opacity: .16; }
html.weg-an [data-schritt="4"] .karte-lage { opacity: .55; }
html.weg-an [data-schritt="2"] .w-notiz,
html.weg-an [data-schritt="3"] .w-seite,
html.weg-an [data-schritt="4"] .w-druck,
html.weg-an .w-epaper.an { opacity: 1; visibility: visible; transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
html.weg-an [data-schritt="2"] .w-notiz { transform: translate(-50%, -50%); }
html.weg-an [data-schritt="3"] .w-seite { transform: translate(-50%, -50%); }
.w-anruf, .w-fahrt, .w-linz, .w-auto { transition: opacity .4s; }

/* =====================================================================================
   3 · Ruhige Abschnitte
   ===================================================================================== */
/* Zahlen */
.zahlen { padding: var(--abstand) 0 0; }
.zahlen-liste { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 4px solid var(--linie); }
.zahlen-liste li { padding: 22px 24px 4px; border-left: 1px solid var(--border); }
.zahlen-liste li:first-child { border-left: 0; padding-left: 0; }
.zahlen-liste b { display: block; font-size: clamp(44px, 4.6vw, 60px); line-height: 1; letter-spacing: -.04em; font-weight: 820; font-variant-numeric: tabular-nums; }
.zahlen-liste span { display: block; margin-top: 12px; color: var(--muted); font-size: 16px; }

/* Grundsätze der Redaktion */
.grundsaetze { padding: var(--abstand) 0 0; }
.grundsaetze-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.bild-platzhalter { position: relative; display: grid; place-items: end start; aspect-ratio: var(--format, 4 / 5); padding: 18px; background-color: #dde1e4; background-image: radial-gradient(circle, rgba(19, 20, 22, .14) 1.1px, transparent 1.4px); background-size: 9px 9px; border-radius: var(--radius); }
.bild-platzhalter figcaption { padding: 7px 10px; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 650; border-radius: var(--radius-klein); }
.bild-karte { position: absolute; right: -18px; top: 28px; padding: 14px 18px; background: #fff; border-top: 4px solid var(--accent); box-shadow: 0 20px 44px -22px rgba(19, 20, 22, .45); }
.karte-klein { font-size: 13px; color: var(--muted); }
.karte-gross { font-size: 22px; font-weight: 780; letter-spacing: -.01em; }
.grundsaetze-bild { position: relative; }
.spalten { margin-top: 28px; columns: 2; column-gap: 40px; column-rule: 1px solid var(--border); }
.spalten p { break-inside: avoid; margin-bottom: 18px; color: var(--muted); font-size: 17px; }
.spalten p b { color: var(--text); }
.unterschrift { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--border); font-weight: 700; }

/* Abo */
.abo { padding: var(--abstand) 0 0; }
.abo-raster { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; align-items: stretch; }
.abo-kachel { display: flex; flex-direction: column; padding: 30px 28px 26px; background: var(--surface); border-top: 4px solid var(--linie); border-radius: 0 0 var(--radius) var(--radius); }
.abo-kachel h3 { font-size: 24px; }
.abo-schild { align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
.abo-preis { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.abo-preis b { font-size: 44px; line-height: 1; font-weight: 820; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.abo-preis span { color: var(--muted); font-size: 16px; }
.abo-kachel > p:not(.abo-preis):not(.abo-schild):not(.demo-meldung) { margin-top: 14px; color: var(--muted); font-size: 17px; }
.abo-liste { margin-top: 18px; }
.abo-liste li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--border); font-size: 16px; }
.abo-liste li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; background: var(--accent); }
.abo-kachel .knopf, .abo-kachel .textlink { margin-top: auto; }
.abo-kachel .abo-liste + .knopf, .abo-kachel .abo-liste + .textlink { margin-top: 24px; }
.abo-beides { background: var(--dunkel); color: var(--dunkel-text); border-top-color: var(--accent); }
.abo-beides .abo-preis span { color: var(--dunkel-leise); }
.abo-beides .abo-liste li { border-top-color: rgba(255, 255, 255, .14); }
.abo-beides .abo-liste li::before { background: var(--accent-auf-dunkel); }
.abo-beides .demo-meldung { color: var(--dunkel-text); }
.demo-meldung { margin-top: 10px; font-size: 14px; font-weight: 600; min-height: 1px; }
.abo-unten { margin-top: 20px; display: grid; grid-template-columns: 1.25fr 2fr; gap: 20px; }
.abo-probe { padding: 22px 26px; background: var(--accent-hell); border-left: 4px solid var(--accent); }
.abo-probe p + p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.abo-hinweis { padding: 22px 0; color: var(--muted); font-size: 16px; }

/* E-Paper */
.epaper { padding: var(--abstand) 0 0; }
.epaper-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.epaper-liste { margin-top: 24px; }
.epaper-liste li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--border); }
.epaper-liste b { font-weight: 760; }
.epaper-liste span { color: var(--muted); font-size: 17px; }
.tablet { width: min(100%, 420px); margin-inline: auto; padding: 16px; background: var(--dunkel); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(19, 20, 22, .55); }
.tablet-schirm { aspect-ratio: 3 / 4; padding: 7% 7% 0; background: #fff; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; gap: 3.5%; }
.tablet-kopf { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tablet-name { display: flex; align-items: center; justify-content: center; gap: 10px; padding-bottom: 4%; border-bottom: 3px solid var(--linie); font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.tablet-name::before { content: ""; width: .28em; height: .28em; background: var(--accent); }
.tablet-titel { font-size: clamp(16px, 1.6vw, 20px); font-weight: 780; line-height: 1.15; letter-spacing: -.015em; }
.tablet-foto { flex: 1; background-color: #dde1e4; background-image: radial-gradient(circle, rgba(19, 20, 22, .14) 1.1px, transparent 1.4px); background-size: 9px 9px; }
.tablet-zeilen { height: 18%; background: repeating-linear-gradient(#fff 0 7px, #e4e7e9 7px 10px); }

/* Leserpost */
.leserpost { padding: var(--abstand) 0 0; }
.leserpost-raster { display: grid; grid-template-columns: 1fr 1fr; }
.brief { padding: 28px 40px 8px 0; }
.brief + .brief { padding: 28px 0 8px 40px; border-left: 1px solid var(--border); }
.brief blockquote p { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.32; letter-spacing: -.015em; font-weight: 640; }
.brief figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }
.leserpost-titel { padding: 14px 0 0; border-top: 4px solid var(--linie); font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* Fragen */
.fragen { padding: var(--abstand) 0 0; }
.fragen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; }
.fragen-raster .abschnitt-kopf { margin-bottom: 0; }
.fragen-liste details { border-bottom: 1px solid var(--border); }
.fragen-liste details:first-child { border-top: 4px solid var(--linie); }
.fragen-liste summary { cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 19px; list-style: none; position: relative; }
.fragen-liste summary::-webkit-details-marker { display: none; }
.fragen-liste summary::after { content: "+"; position: absolute; right: 8px; top: 15px; font-size: 28px; font-weight: 400; color: var(--accent); }
.fragen-liste details[open] summary::after { content: "−"; }
.fragen-liste details p { padding: 0 0 22px; color: var(--muted); max-width: 42rem; }

/* Tipp an die Redaktion, Kontakt */
.tipp { margin-top: var(--abstand); padding: var(--abstand) 0; background: var(--dunkel); color: var(--dunkel-text); }
.tipp-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.tipp-text > p:not(.marke) { margin-top: 18px; color: var(--dunkel-leise); }
.kontakt-karten { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kontakt-karte { padding: 18px 20px; border-top: 2px solid var(--accent-auf-dunkel); background: rgba(255, 255, 255, .05); font-size: 16px; line-height: 1.6; }
.kontakt-karte .karte-klein { color: var(--dunkel-leise); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 12px; }
.kontakt-karte address { font-style: normal; }
.tipp a { color: var(--accent-auf-dunkel); }
.formular { padding: 30px; background: #fff; color: var(--text); border-top: 4px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); }
.feld { margin-bottom: 16px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feld label { display: block; margin-bottom: 6px; font-weight: 650; font-size: 15px; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #b9c0c6; border-radius: var(--radius-klein); background: #fff; color: var(--text); font: inherit; font-size: 17px; }
.feld-haken { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 14px; font-size: 16px; }
.feld-haken input { width: 22px; height: 22px; accent-color: var(--accent); }
.formular .knopf { width: 100%; }
.formular-meldung { margin-top: 12px; font-weight: 650; }
.formular .leise { margin-top: 12px; }

/* ---------- Fuß ---------- */
.fuss { padding: 56px 0 0; background: #0b0c0d; color: var(--dunkel-leise); font-size: 15px; }
.fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.fuss address { font-style: normal; }
.fuss a { color: var(--dunkel-text); }
.fuss-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 850; font-size: 22px; letter-spacing: -.04em; margin-bottom: 6px; }
.fuss-links a { display: inline-block; margin-right: 16px; padding: 10px 0; }
.fuss-demo { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.fuss-zeile { width: 100%; max-width: none; margin: 0; padding: 22px 20px 26px; text-align: center; font-size: 13px; color: #8d959d; }
.fuss-zeile a { color: #b3bac1; }

/* ---------- Auftritt beim Scrollen (mittel, dynamisch) ---------- */
html.js[data-bewegung="mittel"] [data-auftritt], html.js[data-bewegung="dynamisch"] [data-auftritt] { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1); }
html.js [data-auftritt].ist-da { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-auftritt] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .meldungen li { transition: none; }
}

/* ---------- Schmal ---------- */
@media (max-width: 980px) {
  .menue { display: none; }
  .titel-raster { grid-template-columns: 1fr; gap: 40px; }
  .titel-text { max-width: 36rem; }
  .grundsaetze-raster, .epaper-raster, .fragen-raster, .tipp-raster { grid-template-columns: 1fr; gap: 36px; }
  .abo-raster { grid-template-columns: 1fr 1fr; }
  .abo-beides { grid-column: span 2; }
  .abo-unten { grid-template-columns: 1fr; gap: 0; }
  .zahlen-liste { grid-template-columns: 1fr 1fr; }
  .zahlen-liste li:nth-child(3) { border-left: 0; padding-left: 0; }
  .grundsaetze-bild { max-width: 460px; }
}

/* Weg am schmalen Bildschirm: Karte oben, Schritte darunter */
@media (max-width: 820px) {
  .weg-raster { display: block; }
  .weg-buehne { position: relative; top: auto; margin-bottom: 32px; padding: 10px 12px 12px; }
  .weg-karte { max-width: 460px; }
  html.weg-an .weg-buehne { position: sticky; top: var(--kopf); z-index: 2; margin-inline: -20px; margin-bottom: 0; box-shadow: 0 14px 24px -18px rgba(19, 20, 22, .5); }
  html.weg-an .weg-karte { width: min(100%, calc((50svh - 70px) * 580 / 540)); }
  html.weg-an .weg-schritte { padding: 4vh 0 34vh; }
  html.weg-an .weg-schritte li { min-height: 56vh; }
  .w-name-redaktion { transform: translate(-50%, calc(-100% - 12px)); }
  .w-uhr { gap: 10px; padding-bottom: 8px; }
  .w-zifferblatt { width: 34px; height: 34px; }
  .w-zeit { min-width: 8.2em; }
  .w-zeit b { font-size: 19px; }
  .w-zeit span { font-size: 11px; }
  .w-woche { font-size: 10px; }
  .w-notiz { padding: 12px 14px; }
  .w-notiz-titel { font-size: 16px; }
  .w-notiz li { font-size: 13px; padding: 5px 0; }
  .w-notiz li small { display: none; }
  .w-druck-zahl b { font-size: 20px; }
  .w-stapel { width: 46px; height: 60px; }
  .w-info, .w-epaper { font-size: 12px; padding: 5px 8px; }
  .w-seite-kopf { font-size: 9px; }
  .w-artikel small { font-size: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .kopf-innen { gap: 14px; }
  .titel { padding: 32px 0 56px; }
  .einleitung { font-size: 18px; }
  .blatt { padding: 14px 14px 10px; }
  .blatt-zeile span:nth-child(3) { display: none; }
  .blatt-raster { grid-template-columns: 1fr; }
  .meldungen { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 6px; }
  .m-titel { font-size: 20px; }
  .ort-meldung { font-size: 12px; padding: 6px; gap: 4px; transform: translate(-12px, -50%); }
  .ort-meldung::before { width: 12px; height: 12px; }
  .ort-links { transform: translate(calc(-100% + 12px), -50%); }
  .ort-unten { transform: translate(-50%, -12px); }
  /* am Handy nur der Name der gewählten Gemeinde, sonst wird es im Süden eng */
  html.js .ort-meldung:not([aria-current="true"]):not(:hover):not(:focus-visible) span { display: none; }
  html.js .ort-meldung[aria-current="true"] { z-index: 2; }
  .k-name { font-size: 9px; }
  .k-name-fluss { font-size: 11px; }
  .weg-schritte li { padding-left: 54px; }
  .weg-schritte li::before { width: 36px; height: 36px; font-size: 16px; }
  .weg-schritte li::after { left: 18px; }
  .zahlen-liste li { padding: 18px 14px 4px; }
  .zahlen-liste li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .spalten { columns: 1; }
  .bild-karte { right: 12px; }
  .abo-raster { grid-template-columns: 1fr; }
  .abo-beides { grid-column: auto; }
  .epaper-liste li { grid-template-columns: 1fr; gap: 4px; }
  .leserpost-raster { grid-template-columns: 1fr; }
  .brief, .brief + .brief { padding: 24px 0 8px; border-left: 0; }
  .brief + .brief { border-top: 1px solid var(--border); }
  .kontakt-karten, .feld-paar { grid-template-columns: 1fr; }
  .formular { padding: 22px 18px; }
  .fuss-raster { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .kopf .knopf-klein { padding: 0 12px; font-size: 14px; }
  .logo { font-size: 21px; }
}
