@import url("/schriften/schriften.css");

/* ============================================================
   wolf-mv.de — Gestaltungsraster (Design A „Land & Klarheit“,
   Variante Bildkarte mit Serif-Überschriften)
   Farben: Landesmarke M-V (Vollton, keine Verläufe), Petrol als
   Wolf-Akzent. Kontraste geprüft, Werte in doku/gestaltung.md
   ============================================================ */

:root {
  --wasserblau: #025f90;      /* Überschriften, Links, Footer — 6,9:1 auf Weiß */
  --wasserblau-tief: #02456a; /* Hover */
  --himmelblau: #0a9fd9;      /* nur Flächen und Linien — 3,0:1, keine Textfarbe */
  --petrol: #007872;          /* Wolf-Akzent: Primärknöpfe, Icons — 5,3:1 auf Weiß */
  --petrol-tief: #005c57;
  --eisblau: #cae7ee;
  --fond: #e5f3f7;            /* Eisblau 50 % — helle Kachelflächen */
  --hellgrau: #ededea;
  --grau-flaeche: #f6f7f8;
  --linie: #d5dee3;
  --linie-kraeftig: #b9c6cd;
  --tinte: #1b2a33;           /* Fließtext — 14,7:1 */
  --grau: #4a5860;            /* Nebentext — 7,3:1 */
  --weiss: #ffffff;
  --gelb: #f2b703;
  --rot: #ab192c;

  --schrift-titel: "Source Serif 4", Georgia, "Times New Roman", serif;
  --schrift-text: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;

  --breite: 1280px;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --luft: clamp(2.5rem, 6vw, 4.5rem);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

/* ---------- Sprungmarken ---------- */
.sprungmarke {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--wasserblau); color: var(--weiss);
  font-weight: 700; padding: 0.85rem 1.3rem; text-decoration: none;
}
.sprungmarke:focus { left: 0.5rem; top: 0.5rem; }
.visuell-versteckt { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Grundelemente ---------- */
a { color: var(--wasserblau); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wasserblau-tief); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--schrift-titel); color: var(--wasserblau); line-height: 1.15; text-wrap: balance; margin: 0 0 0.6em; font-weight: 600; }
/* Lange deutsche Komposita in großen Überschriften (z. B. „Herdenschutzmaßnahmen“) dürfen auf schmalen
   Bildschirmen trennen statt über den Rand zu ragen. */
h1, h2, h3, h4 { overflow-wrap: break-word; }
h1, h2 { -webkit-hyphens: auto; hyphens: auto; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); font-weight: 600; line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-top: 2em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.45rem); margin-top: 1.6em; }
h4 { font-size: 1.15rem; margin-top: 1.4em; font-family: var(--schrift-text); font-weight: 700; }
h2:first-child, h3:first-child { margin-top: 0; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.35em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--petrol); }
hr { border: none; border-top: 1px solid var(--linie); margin: 2.5rem 0; }
strong { font-weight: 700; }
img, video { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
figure { margin: 0 0 1.6em; }
figure img { width: 100%; border-radius: var(--radius); }
figcaption { font-size: 0.92rem; line-height: 1.5; color: var(--grau); margin-top: 0.55em; }
blockquote { margin: 0 0 1.4em; padding: 0.2em 0 0.2em 1.2em; border-left: 4px solid var(--himmelblau); color: var(--grau); }
.ikon { flex: none; vertical-align: -3px; }
a.extern:not(.mk)::after, a[rel="external"]:not(.knopf):not(.aktion):not(.mk)::after { content: " ↗"; font-size: 0.85em; }
.format, .bemerkung { color: var(--grau); font-size: 0.92em; }
.bemerkung { display: block; }
.quelle { font-size: 0.92rem; color: var(--grau); }
.einleitung { font-size: 1.2rem; line-height: 1.6; color: #2c3a44; }
.hinweis { border-left: 4px solid var(--gelb); background: #fff8e4; padding: 0.9rem 1.2rem; margin: 0 0 1.4em; border-radius: 0 var(--radius) var(--radius) 0; }
.hinweis p:last-child { margin-bottom: 0; }

/* ---------- Tabellen ---------- */
.tabelle-rollbar { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--radius); margin: 0 0 1.6em; background: var(--weiss); }
table { border-collapse: collapse; width: 100%; background: var(--weiss); font-size: 0.98rem; }
caption { caption-side: top; text-align: left; padding: 0.85em 1em; background: var(--grau-flaeche); border-bottom: 1px solid var(--linie); font-size: 0.95rem; color: var(--grau); }
th, td { text-align: left; padding: 0.65em 0.9em; border-bottom: 1px solid var(--linie); vertical-align: top; }
thead th { background: var(--hellgrau); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grau); font-weight: 700; }
tbody th[scope="row"] { font-weight: 700; color: var(--tinte); white-space: nowrap; }
tfoot th, tfoot td { background: var(--fond); font-weight: 700; border-bottom: none; }
th.zahl, td.zahl { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: none; }

/* ---------- Gerüst ---------- */
.mitte { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }

.kopf { background: var(--weiss); }
.kopf-oben { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.9rem; }
.marke { display: block; flex: none; }
.marke img { height: 78px; width: auto; }
.kopf-titel { margin: 0 auto 0 0; display: flex; flex-direction: column; gap: 0.1rem; }
.kopf-name { font-family: var(--schrift-titel); font-size: 1.5rem; font-weight: 600; color: var(--wasserblau); line-height: 1.2; }
.kopf-unter { font-size: 0.9rem; color: var(--grau); }
.kopf-werkzeuge { display: flex; align-items: center; gap: 0.9rem; }

.suche { display: flex; align-items: stretch; border: 1px solid var(--linie-kraeftig); border-radius: var(--radius); overflow: hidden; background: var(--weiss); }
.suche input { border: none; padding: 0 0.9rem; min-width: 11rem; font: inherit; font-size: 1rem; min-height: 46px; color: var(--tinte); }
.suche input::placeholder { color: var(--grau); opacity: 1; }
.suche button { border: none; background: var(--fond); color: var(--wasserblau); min-width: 46px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.suche button:hover { background: var(--eisblau); }
.suche :focus-visible { outline-offset: -3px; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.6rem 1.4rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2;
  background: var(--petrol); color: var(--weiss); border: 2px solid var(--petrol); cursor: pointer; font-family: inherit;
}
.knopf:hover { background: var(--petrol-tief); border-color: var(--petrol-tief); color: var(--weiss); }
.knopf-blau { background: var(--wasserblau); border-color: var(--wasserblau); }
.knopf-blau:hover { background: var(--wasserblau-tief); border-color: var(--wasserblau-tief); }
.knopf-linie { background: var(--weiss); color: var(--wasserblau); border-color: var(--wasserblau); }
.knopf-linie:hover { background: var(--fond); color: var(--wasserblau-tief); }
.knopf-weiss { background: var(--weiss); color: var(--petrol); border-color: var(--weiss); }
.knopf-weiss:hover { background: var(--fond); border-color: var(--fond); color: var(--petrol-tief); }
.knopf svg { flex: none; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }

.navzeile { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: var(--weiss); }
.navzeile-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 2rem; }
.menue-schalter { display: none; }
.hauptmenue > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.hauptmenue li { margin: 0; position: relative; }
.hauptmenue > ul > li > a { display: flex; align-items: center; min-height: 56px; text-decoration: none; font-weight: 700; color: var(--wasserblau); border-bottom: 4px solid transparent; padding-top: 4px; }
.hauptmenue > ul > li > a:hover { color: var(--petrol); }
.hauptmenue > ul > li > a.aktiv, .hauptmenue > ul > li > a[aria-current] { color: var(--petrol); border-bottom-color: var(--petrol); }
.hauptmenue ul ul {
  list-style: none; margin: 0; padding: 0.4rem 0; position: absolute; left: -0.9rem; top: 100%; min-width: 17rem; z-index: 20;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 28px rgba(2, 95, 144, 0.14); display: none;
}
.hauptmenue li:hover > ul, .hauptmenue li:focus-within > ul { display: block; }
.hauptmenue ul ul a { display: block; padding: 0.6rem 1.1rem; text-decoration: none; color: var(--tinte); }
.hauptmenue ul ul a:hover { background: var(--fond); color: var(--wasserblau); }
.hauptmenue ul ul a[aria-current] { font-weight: 700; color: var(--petrol); }
.hotline { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; color: var(--wasserblau); white-space: nowrap; min-height: 44px; }
.hotline-nummer { font-size: 1.1rem; }
.hotline:hover { color: var(--petrol); }

/* ---------- Brotkrumen ---------- */
.krumen { background: var(--grau-flaeche); border-bottom: 1px solid var(--linie); }
.krumen ol { list-style: none; margin: 0; padding-block: 0.65rem; display: flex; flex-wrap: wrap; gap: 0.35rem 0.6rem; align-items: center; font-size: 0.9rem; color: var(--grau); }
.krumen li { margin: 0; }
.krumen li + li::before { content: "/"; margin-right: 0.6rem; color: var(--linie-kraeftig); }
.krumen [aria-current] { color: var(--tinte); }

/* ---------- Seitenkopf ---------- */
.seitenkopf { padding-block: var(--luft) 1rem; }
.seitenkopf-mit-bild { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.seitenkopf-text { display: flex; flex-direction: column; gap: 0.6rem; }
.obertitel { margin: 0; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grau); font-weight: 700; }
.seitenkopf h1 { margin-bottom: 0; }
.untertitel { margin: 0; font-family: var(--schrift-titel); font-size: 1.35rem; color: var(--petrol); }
.seitenkopf .einleitung { margin: 0.4rem 0 0; }
.seitenkopf-bild { margin: 0; position: relative; }
.seitenkopf-bild img { width: 100%; height: clamp(16rem, 32vw, 26rem); object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }
.seitenkopf-bild figcaption, figcaption.nachweis { position: absolute; right: 0.75rem; bottom: 0.75rem; margin: 0; font-size: 0.78rem; color: var(--weiss); background: rgba(27, 42, 51, 0.72); padding: 0.2rem 0.55rem; border-radius: 3px; }

/* ---------- Inhalt ---------- */
.inhalt { padding-block: 2rem var(--luft); }
.inhalt > :last-child { margin-bottom: 0; }
/* Text läuft über die volle Inhaltsbreite (Wunsch des Auftraggebers, 07.09.2026) — keine Zeilenlängenbegrenzung. */
.inhalt .breit, .inhalt .breit * { max-width: none; }
.abschnitt { padding-block: clamp(2rem, 4vw, 3rem); }
/* Vollflächige Bänder: Fläche wird per border-image seitlich über die Box hinaus gemalt. Das ist reine
   Darstellung (kein Layout), erzeugt also keinen seitlichen Rollbalken – anders als 100vw, das unter Windows
   die Breite der Bildlaufleiste mitzählt. Einfarbig nach Landesmarke (Vollton). */
.abschnitt-fond { border-image: linear-gradient(var(--fond) 0 0) fill 0 / / 0 100vw; }
.abschnitt-grau { border-image: linear-gradient(var(--grau-flaeche) 0 0) fill 0 / / 0 100vw; }
.kopfzeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.kopfzeile h2 { margin: 0; }
.kopfzeile p { margin: 0.3rem 0 0; color: var(--grau); }

/* Grundregel: Kacheln in einer Reihe sind immer gleich hoch — Raster strecken (align-items: stretch), Karten sind Flex-Spalten, die Abschlusszeile sitzt unten (margin-top: auto). */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); margin: 0 0 1.6em; align-items: stretch; }
.raster-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); margin: 0 0 1.6em; align-items: stretch; }
.spalten { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; margin-bottom: 1.6em; }
.spalten > * > :first-child { margin-top: 0; }

.karte { display: flex; flex-direction: column; gap: 0.7rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem; }
.karte h3, .karte h2 { margin: 0; font-size: 1.3rem; }
.karte p { margin: 0; color: var(--grau); font-size: 1rem; max-width: none; }
.karte .weiter { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; text-decoration: none; color: var(--petrol); }
.karte .weiter:hover { text-decoration: underline; }
.karte-petrol { background: var(--petrol); border-color: var(--petrol); }
.karte-petrol h3, .karte-petrol p, .karte-petrol .weiter { color: var(--weiss); }
.karte-petrol .ikon-kreis { background: rgba(255,255,255,0.16); color: var(--weiss); }
.karte-rand-blau { border-top: 5px solid var(--himmelblau); }
.karte-rand-petrol { border-top: 5px solid var(--petrol); }
.karte-liste { list-style: none; padding: 0; margin: 0; }
.karte-liste li { margin: 0; }
.karte-liste a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--linie); text-decoration: none; font-weight: 700; }
.karte-liste a:hover { color: var(--petrol); }
.ikon-kreis { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--fond); color: var(--petrol); flex: none; }
.ikon-kreis svg { width: 24px; height: 24px; }
.karte-kopf { display: flex; align-items: center; gap: 0.8rem; }
.etikett { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--wasserblau); }
.etikett-petrol { color: var(--petrol); }

/* Schnellaktionen (Startseite) */
.aktionen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.25rem; }
.aktion { display: flex; flex-direction: column; gap: 0.6rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; color: var(--tinte); }
.aktion:hover { border-color: var(--petrol); color: var(--tinte); }
.aktion h3, .aktion h2 { margin: 0.3rem 0 0; font-size: 1.3rem; }
.aktion p { margin: 0; color: var(--grau); font-size: 1rem; }
.aktion .weiter { margin-top: auto; padding-top: 0.4rem; color: var(--petrol); font-weight: 700; display: inline-flex; gap: 0.5rem; align-items: center; }
.aktion:hover .weiter { text-decoration: underline; }

/* Kennzahlen */
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.25rem; margin: 0 0 0.8rem; }
.kennzahl { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.4rem 1.5rem; background: var(--weiss); border: 1px solid var(--linie); border-left: 5px solid var(--himmelblau); border-radius: var(--radius); }
.kennzahl-petrol { border-left-color: var(--petrol); }
.kennzahl .zahl { font-family: var(--schrift-titel); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; line-height: 1; color: var(--wasserblau); font-variant-numeric: tabular-nums; }
.kennzahl .name { font-weight: 700; font-size: 1.05rem; margin-top: 0.3rem; }
.kennzahl .stand { font-size: 0.86rem; color: var(--grau); }

/* Schrittfolge */
.schritte { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; counter-reset: schritt; }
.schritte li { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; counter-increment: schritt; }
.schritte li::before { content: counter(schritt); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--petrol); color: var(--petrol); font-weight: 700; font-size: 1.2rem; font-family: var(--schrift-titel); }
.schritte h3 { margin: 0.2rem 0 0; font-size: 1.2rem; }
.schritte p { margin: 0; color: var(--grau); font-size: 1rem; max-width: none; }
.schritte-liste { display: flex; flex-direction: column; gap: 1.2rem; }
.schritte-liste li { flex-direction: row; align-items: flex-start; gap: 1rem; }
.schritte-liste li::before { flex: none; }

/* FAQ als Akkordeon */
.faq { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); margin: 0 0 0.75rem; max-width: none; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; min-height: 56px; cursor: pointer; font-weight: 700; font-size: 1.1rem; color: var(--wasserblau); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--petrol); flex: none; font-family: var(--schrift-titel); }
.faq[open] summary::after { content: "–"; }
.faq summary:hover { background: var(--grau-flaeche); }
.faq > div { padding: 0 1.3rem 1.2rem; }
.faq > div > :last-child { margin-bottom: 0; }
.faq h3 { font-size: 1.1rem; font-family: var(--schrift-text); margin: 0; }
.datentabelle { margin: 0.8rem 0 1.6rem; }
.datentabelle summary { cursor: pointer; font-weight: 700; color: var(--wasserblau); padding: 0.4rem 0; }
.datentabelle table { margin-top: 0.6rem; border: 1px solid var(--linie); }

/* Balkendiagramm (inline SVG) */
.balken-rahmen { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.2rem 1.4rem 0.8rem; display: flex; flex-direction: column; margin: 0 0 1.6em; }
.balken-rahmen h3 { margin: 0 0 0.2rem; font-size: 1.15rem; }
.balken-rahmen .quelle { margin: 0 0 0.8rem; }
.balken-rahmen .datentabelle { margin: auto 0 0; }
.dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; margin: 0 0 1.6em; }
.dash .balken-rahmen { margin: 0; }
.balken-hell { fill: var(--eisblau); }
.balken-klein { font-size: 13px; }
.legende { display: flex; align-items: center; gap: 0.5rem 0.6rem; flex-wrap: wrap; font-size: 0.92rem; color: var(--grau); margin: 0.4rem 0 0.4rem; }
.legende-feld { display: inline-block; width: 1.1rem; height: 0.8rem; border-radius: 2px; }
.balken-wert-bg { background: var(--petrol); } .balken-hell-bg { background: var(--eisblau); }
.balken { width: 100%; height: auto; display: block; font-family: var(--schrift-text); }
.balken-wert { fill: var(--petrol); }
.balken-leer { fill: var(--linie); }
.balken-zahl { font-size: 18px; font-weight: 700; fill: var(--wasserblau); }
.balken-monat { font-size: 15px; fill: var(--grau); }
.balken-achse { stroke: var(--linie); stroke-width: 1; }

/* Landkreise */
.landkreise { list-style: none; margin: 0 0 1.6em; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; max-width: none; }
.landkreise li { margin: 0; display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(4rem, 1.2fr) 3rem; align-items: center; gap: 1rem; padding: 0.8rem 1.1rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.lk-name { font-weight: 700; }
.lk-balken { display: block; height: 10px; border-radius: 3px; background: var(--himmelblau); width: calc(var(--anteil, 0) * 100%); min-width: 6px; }
.lk-zahl { font-family: var(--schrift-titel); font-size: 1.4rem; font-weight: 700; color: var(--wasserblau); text-align: right; font-variant-numeric: tabular-nums; }

/* Fotofallen */
.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 1.6rem 1.25rem; margin: 0 0 1.6em; }
.clip { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.clip video, .clip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #1b2a33; }
.clip figcaption { display: flex; flex-direction: column; gap: 0.15rem; margin: 0; color: var(--tinte); font-size: 1rem; }
.clip-art { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--petrol); }
.clip-titel { font-weight: 700; }
.clip-text { color: var(--grau); }

/* Download-Center */
.filter { margin: 0 0 1.2rem; }
.filter fieldset { border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: end; background: var(--grau-flaeche); }
.filter legend { font-weight: 700; color: var(--wasserblau); padding: 0 0.4rem; }
.filter label { font-weight: 700; font-size: 0.95rem; display: flex; flex-direction: column; gap: 0.3rem; }
.filter select, .filter input { font: inherit; min-height: 44px; padding: 0.4rem 0.7rem; border: 1px solid var(--linie-kraeftig); border-radius: var(--radius); background: var(--weiss); color: var(--tinte); min-width: 14rem; }
.filter-status { font-size: 0.95rem; color: var(--grau); min-height: 1.4em; }
a.dokument { display: inline-flex; align-items: flex-start; gap: 0.5rem; font-weight: 700; }
.dok-liste { list-style: none; margin: 0 0 1.2em; padding: 0; display: flex; flex-direction: column; }
.dok-liste li { margin: 0; border-top: 1px solid var(--linie); }
.dok-liste li:first-child { border-top: none; }
.dok-zeile { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.9rem; align-items: start; padding: 0.85rem 0; text-decoration: none; color: var(--tinte); }
.dok-zeile:hover .dok-titel, .dok-zeile:focus-visible .dok-titel { text-decoration: underline; color: var(--petrol); }
.dok-symbol { display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: var(--radius); background: var(--fond); color: var(--petrol); }
.dok-titel { font-weight: 700; color: var(--wasserblau); display: block; }
.dok-meta { display: block; font-size: 0.88rem; color: var(--grau); margin-top: 0.15rem; }
.karte .dok-liste { margin: 0; }
.dokumente { list-style: none; padding: 0; }
.dokumente li { margin: 0 0 0.7rem; }
tr[hidden] { display: none; }

/* Suche */
.suchergebnisse { list-style: none; padding: 0; max-width: none; }
.suchergebnisse li { margin: 0 0 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--linie); }
.suchergebnisse h2, .suchergebnisse h3 { font-size: 1.25rem; margin: 0 0 0.3rem; }
.suchergebnisse p { margin: 0; color: var(--grau); }
.seitenliste { list-style: none; padding: 0; max-width: none; }
.seitenliste li { margin: 0 0 0.6rem; }
.seitenliste-beschr { color: var(--grau); }

/* Kartenkacheln (Verbreitung) */
.kacheln-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 1.25rem; align-items: stretch; margin: 0 0 1.6em; }
.kachel-karte { padding: 0; overflow: hidden; }
.kachel-bild { display: block; background: var(--fond); padding: 1rem; }
.kachel-bild img { width: 100%; height: 260px; object-fit: contain; display: block; border-radius: 0; }
.kachel-bild:hover img { opacity: 0.92; }
.kachel-text { flex: 1; padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.kachel-text > .quelle:last-child { margin-top: auto; }
.kachel-text p { color: var(--tinte); }
.kachel-text .faq { margin: 0; }
.kachel-text .faq summary { min-height: 44px; padding: 0.4rem 1rem; font-size: 1rem; }
.kachel-text .faq > div { padding: 0 1rem 1rem; }
.kachel-text .faq p { max-width: none; }

/* Bildtrenner */
.bildtrenner { position: relative; margin: 0 0 var(--luft); }
.bildtrenner img { width: 100%; height: clamp(18rem, 40vw, 32rem); object-fit: cover; object-position: 50% 45%; border-radius: var(--radius); }
.bildtrenner-karte { position: relative; margin: -4rem 0 0 clamp(1rem, 4vw, 3rem); max-width: 34rem; background: var(--weiss); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 0.8rem; border: 1px solid var(--linie); }
.bildtrenner-karte h2 { margin: 0; }
.bildtrenner-karte p { margin: 0; color: var(--grau); }

/* Banner (Hotline) */
.banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--wasserblau); color: var(--weiss); border-radius: var(--radius); padding: 1.3rem 1.8rem; margin: 0 0 1.8em; max-width: none; }
.banner p { margin: 0; color: var(--weiss); max-width: none; }
.banner strong { font-size: 1.15rem; }
.banner .knopf-weiss { color: var(--wasserblau); }
.banner .knopf-weiss:hover { color: var(--wasserblau-tief); }
.banner-text { display: flex; align-items: center; gap: 1rem; }
.banner .ikon-kreis { background: rgba(255,255,255,0.16); color: var(--weiss); }

/* Hero (Startseite, Variante Bildkarte) */
.hero { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.hero-bild { margin: 0; position: relative; }
.hero-bild img { width: 100%; height: clamp(20rem, 46vw, 38rem); object-fit: cover; object-position: 62% 42%; border-radius: var(--radius); }
.hero .mitte { position: relative; }
.hero-karte {
  position: relative; background: var(--weiss); border-left: 8px solid var(--petrol); border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.8rem); max-width: 46rem;
  margin: clamp(-6rem, -8vw, -3rem) 0 0 clamp(0rem, 3vw, 3rem);
  box-shadow: 0 18px 40px rgba(2, 95, 144, 0.14); display: flex; flex-direction: column; gap: 1rem;
}
.hero-karte h1 { margin: 0; }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--grau); margin: 0; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.4rem; }

/* Aufruf zur Wolfsdatenbank */
.cta { background: var(--petrol); color: var(--weiss); margin-top: var(--luft); }
.cta .mitte { padding-block: clamp(2.2rem, 5vw, 3.2rem); display: flex; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.cta h2 { color: var(--weiss); margin: 0 0 0.4rem; }
.cta p { margin: 0; font-size: 1.1rem; }

/* ---------- Fußzeile ---------- */
.fuss { position: relative; overflow: hidden; background: var(--wasserblau); color: var(--weiss); padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; }
.fuss a { color: var(--eisblau); }
.fuss a:hover { color: var(--weiss); }
.fuss a:focus-visible { outline-color: var(--weiss); }
.fuss h2 { color: var(--weiss); font-size: 1.15rem; margin: 0 0 0.9rem; font-family: var(--schrift-text); font-weight: 700; }
.fuss p { font-size: 0.98rem; line-height: 1.6; margin-bottom: 0.9rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.fuss li { margin: 0; }
.fuss-gross { font-family: var(--schrift-titel); font-size: 1.5rem; font-weight: 700; color: var(--weiss) !important; text-decoration: none; }
.fuss-spalten { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 2.5rem; }
.fuss-unten { position: relative; z-index: 1; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 2rem; font-size: 0.86rem; color: var(--eisblau); }
.fuss-unten p { margin: 0; }
.wasserzeichen { position: absolute; right: -2rem; bottom: -4rem; width: 26rem; height: auto; opacity: 0.12; filter: brightness(0) invert(1); pointer-events: none; }

/* ---------- Portrait-Seite (Magazin) ---------- */
.magazin-hero { position: relative; margin: 0 0 2.5rem; }
.magazin-hero img { width: 100%; height: clamp(18rem, 40vw, 34rem); object-fit: cover; object-position: 55% 40%; border-radius: var(--radius); }
.magazin-karte { position: relative; margin: -5rem 0 0 clamp(0rem, 3vw, 3rem); max-width: 36rem; background: var(--weiss); border-left: 8px solid var(--petrol); border-radius: 0 var(--radius) var(--radius) 0; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 18px 40px rgba(2, 95, 144, 0.14); display: flex; flex-direction: column; gap: 0.5rem; }
.magazin-karte h1 { margin: 0; }
.magazin-karte p { margin: 0; }
.nachweis-zeile { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--grau); text-align: right; }
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.25rem; margin: 0 0 1rem; align-items: stretch; }
.fakt { background: var(--weiss); border: 1px solid var(--linie); border-left: 5px solid var(--petrol); border-radius: var(--radius); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.2rem; }
.fakt .zahl { font-family: var(--schrift-titel); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; color: var(--wasserblau); line-height: 1.05; font-variant-numeric: tabular-nums; }
.fakt .name { font-weight: 700; }
.fakt .kontext { font-size: 0.9rem; color: var(--grau); }
.kapitel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; padding: clamp(2rem, 4vw, 3rem) 0; }
.kapitel.umgekehrt > figure { order: -1; }
.kapitel h2 { margin-top: 0; }
.kapitel figure { margin: 0; }
.kapitel figure img { width: 100%; height: clamp(14rem, 26vw, 22rem); object-fit: cover; border-radius: var(--radius); }
.kapitel figure.hochformat img { height: auto; object-fit: unset; }

.band-fond { border-image: linear-gradient(var(--fond) 0 0) fill 0 / / 0 100vw; }
.band .kapitel { border-top: none; }
.zitat { font-family: var(--schrift-titel); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; color: var(--wasserblau); border-left: 6px solid var(--petrol); padding-left: 1.2rem; margin: 1.5rem 0 0; }
.steckbrief-rahmen { background: var(--grau-flaeche); border-radius: var(--radius); padding: 1.4rem 2rem; margin: 0 0 1.6em; }
.steckbrief { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); gap: 0.2rem 2.5rem; margin: 0; }
.steckbrief div { display: grid; grid-template-columns: 10rem 1fr; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px solid var(--linie); }
.steckbrief dt { font-weight: 700; color: var(--wasserblau); }
.steckbrief dd { margin: 0; }

/* ---------- Projekte, Faktenkarten, Galerien, Zeitleiste ---------- */
.inhaltsnav { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.inhaltsnav li { margin: 0; }
.inhaltsnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border: 1px solid var(--linie-kraeftig); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--wasserblau); background: var(--weiss); }
.inhaltsnav a:hover { border-color: var(--petrol); color: var(--petrol); }
.projekt { padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--linie); }
.projekt-kopf { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.projekt-kopf h2 { margin: 0; }
.projekt-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.projekt-raster > ul { margin-top: 0; }
.fakten-karte { background: var(--fond); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.fakten-karte h3 { margin: 0 0 0.6rem; font-size: 1.05rem; font-family: var(--schrift-text); }
.fakten-karte dl { margin: 0; display: grid; grid-template-columns: 8rem 1fr; gap: 0.35rem 0.8rem; }
.fakten-karte dt { font-weight: 700; color: var(--wasserblau); }
.fakten-karte dd { margin: 0; }
.fakten-karte .dok-liste { margin-top: 0.8rem; }
.fakten-karte .dok-liste li { border-top-color: var(--linie-kraeftig); }
.partner { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0.8rem 0 0; }
.partner li { margin: 0; }
.partner a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.3rem 0.9rem; border: 1px solid var(--linie-kraeftig); border-radius: 999px; text-decoration: none; font-size: 0.95rem; color: var(--wasserblau); background: var(--weiss); }
.partner a:hover { border-color: var(--petrol); color: var(--petrol); }
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1rem; margin: 1.5rem 0 0; }
.galerie-2 { grid-template-columns: 1fr; margin: 0; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); }
.kontakt-karte { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; background: var(--weiss); border: 1px solid var(--linie); border-left: 5px solid var(--himmelblau); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 0 0 1.6em; }
.kontakt-karte p { margin: 0 0 0.4rem; }
.zeitleiste { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.25rem; counter-reset: none; }
.zeitleiste li { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.3rem 1.5rem; background: var(--weiss); border: 1px solid var(--linie); border-top: 5px solid var(--petrol); border-radius: var(--radius); }
.zeitleiste .zeit { font-family: var(--schrift-titel); font-size: 1.6rem; font-weight: 700; color: var(--wasserblau); }
.zeitleiste h3 { margin: 0; font-size: 1.15rem; }
.zeitleiste p { margin: 0; color: var(--grau); }
.linkliste { list-style: none; padding: 0; margin: 0.4rem 0 0; display: flex; flex-direction: column; gap: 0.7rem; color: var(--tinte); }
.linkliste li { margin: 0; }
.linkliste a { font-weight: 700; }
.literatur li { margin-bottom: 0.7em; }

/* ---------- Wolf erkennen: Schnellcheck und Merkmalkacheln ---------- */
.schnellcheck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 2rem; align-items: stretch; }
.check { background: var(--fond); border-radius: var(--radius); padding: 1.2rem 1.4rem; display: flex; gap: 0.9rem; align-items: flex-start; }
.check .nr { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--petrol); color: var(--petrol); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--schrift-titel); }
.check p { margin: 0; }
.merkmale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 1.6em; align-items: stretch; }
.merkmal { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.merkmal img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.merkmal-bild { display: block; }
.merkmal > div { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.merkmal h2 { margin: 0; font-size: 1.35rem; }
.merkmal ul { margin: 0; padding-left: 1.2em; color: var(--tinte); }
.merkmal details { margin-top: auto; }
.merkmal summary { cursor: pointer; font-weight: 700; color: var(--petrol); min-height: 44px; display: flex; align-items: center; }
.merkmal summary:hover { text-decoration: underline; }

/* ---------- Merkmalsgrafik (Woran erkenne ich einen Wolf?) ---------- */
.merkmalgrafik { margin: 0; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 0.6rem 0.8rem 0.8rem; }
.merkmalgrafik svg { width: 100%; height: auto; display: block; font-family: var(--schrift-text); }
.mg-linie path { stroke: var(--petrol); stroke-width: 2; fill: none; stroke-dasharray: 4 4; }
.mg-linie circle { fill: var(--petrol); }
.mg-text text { font-size: 17px; font-weight: 700; fill: var(--wasserblau); }
.mg-mass path { stroke: var(--grau); stroke-width: 1.5; fill: none; color: var(--grau); }
.mg-mass text { font-size: 15px; fill: var(--grau); }
.merkmalgrafik figcaption { margin-top: 0.6rem; }
.mg-liste { margin: 0.6rem 0 0; padding-left: 1.2em; color: var(--tinte); font-size: 0.98rem; columns: 2; column-gap: 2rem; }
.mg-liste li { break-inside: avoid; }
.kapitel-grafik { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
@media (max-width: 34rem) { .mg-liste { columns: 1; } .merkmalgrafik svg { display: none; } }

/* ---------- Adresskarten und Vergleichstabelle ---------- */
.adresse-karte { display: flex; flex-direction: column; gap: 0.3rem; background: var(--weiss); border: 1px solid var(--linie); border-left: 5px solid var(--himmelblau); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin: 0 0 1.4em; }
.adresse-karte p { margin: 0 0 0.4rem; }
.adresse-karte p:last-child { margin-bottom: 0; }
.vergleich thead th { text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--wasserblau); }
.vergleich thead th .format { display: block; font-weight: 400; text-transform: none; }
.vergleich tbody th { white-space: normal; font-family: var(--schrift-titel); font-size: 1.1rem; color: var(--wasserblau); width: 14rem; }
.vergleich td:nth-child(2) { background: #f2f9fb; }

/* ---------- Meldungen ----------
   Herkunft ist sichtbar: intern (Petrol, Haus) = Meldung auf wolf-mv.de,
   extern (Wasserblau, Pfeil) = Pressemitteilung des Ministeriums. */
.meldungskarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: 1.25rem; align-items: stretch; margin: 0 0 1.5rem; }
.mk { display: flex; flex-direction: column; gap: 0.6rem; background: var(--weiss); border: 1px solid var(--linie); border-top: 5px solid var(--petrol); border-radius: var(--radius); padding: 1.3rem 1.5rem 1.5rem; text-decoration: none; color: var(--tinte); }
.mk:hover { border-color: var(--petrol); }
.mk.extern { border-top-color: var(--himmelblau); }
.mk.extern:hover { border-color: var(--wasserblau); }
.mk-herkunft { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; color: var(--petrol); }
.mk.extern .mk-herkunft { color: var(--wasserblau); }
.mk time { font-size: 0.9rem; color: var(--grau); }
.mk h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.mk p { margin: 0; color: var(--grau); font-size: 0.98rem; }
.mk .mk-nachtrag { color: var(--tinte); font-size: 0.92rem; background: var(--fond); border-left: 3px solid var(--petrol); padding: 0.45rem 0.7rem; }
.mk .weiter { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--petrol); }
.mk.extern .weiter { color: var(--wasserblau); }
.mk:hover .weiter { text-decoration: underline; }
.quellen-zeile { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; align-items: center; margin: 0; }
.quellen-zeile a { font-weight: 700; }
.dok-band { background: var(--fond); border-radius: var(--radius); padding: 1.4rem 1.7rem 1.6rem; }
.dok-band .kopfzeile { margin-bottom: 0.6rem; }
.dok-band .dok-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin: 0; }
.dok-band .dok-liste li:nth-child(-n+2) { border-top: none; }
.dok-band .dok-symbol { background: var(--weiss); }

/* ---------- Lichtkasten (vergrößerte Bilder) ---------- */
.lichtkasten-link { cursor: zoom-in; }
.lichtkasten { border: none; padding: 0; background: var(--weiss); border-radius: var(--radius); width: min(96vw, 1400px); max-height: 96vh; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.lichtkasten::backdrop { background: rgba(27, 42, 51, 0.82); }
.lichtkasten[open] { display: flex; flex-direction: column; }
.lichtkasten-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.6rem 0.6rem 1.2rem; border-bottom: 1px solid var(--linie); }
.lichtkasten-zaehler { font-size: 0.95rem; color: var(--grau); }
.lichtkasten figure { margin: 0; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; min-height: 0; overflow: auto; }
.lichtkasten img { max-width: 100%; max-height: min(78vh, 1400px); width: auto; height: auto; object-fit: contain; border-radius: 0; }
.lichtkasten figcaption { color: var(--tinte); font-size: 1rem; text-align: center; margin: 0; }
.lichtkasten-nav { display: flex; justify-content: space-between; padding: 0 0.6rem 0.6rem; }
.lichtkasten-knopf { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--linie-kraeftig); border-radius: var(--radius); background: var(--weiss); color: var(--wasserblau); cursor: pointer; }
.lichtkasten-knopf:hover { background: var(--fond); color: var(--petrol); border-color: var(--petrol); }
.lichtkasten-knopf[hidden] { display: none; }

/* ---------- Leichte Sprache ---------- */
.leichte-sprache .inhalt { font-size: 1.25rem; line-height: 1.8; }
.leichte-sprache h2 { font-family: var(--schrift-text); }

/* ============================================================
   Schmale Bildschirme
   ============================================================ */
@media (max-width: 62rem) {
  .spalten { grid-template-columns: 1fr; }
  .merkmale, .schnellcheck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seitenkopf-mit-bild { grid-template-columns: 1fr; }
  .kopf-titel { display: none; }
}
@media (max-width: 56rem) {
  /* Kopfzeile bricht um: Zeichen, Datenbank und Menü oben, Suche darunter über die volle Breite.
     Die innere Werkzeugleiste wird dafür aufgelöst, damit ihre Teile am Umbruch der Kopfzeile teilnehmen. */
  .kopf-oben { flex-wrap: wrap; gap: 0.8rem 0.6rem; }
  .marke img { height: 58px; }
  .kopf-werkzeuge { display: contents; }
  .knopf-datenbank { order: 1; margin-left: auto; padding-inline: 0.9rem; }
  .menue-schalter { order: 2; }
  .suche { order: 3; flex: 1 1 100%; }
  .suche input { flex: 1 1 auto; width: auto; min-width: 0; }
  .menue-schalter {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0.5rem 0.9rem;
    background: var(--wasserblau); color: var(--weiss); border: none; border-radius: var(--radius);
    font-family: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer;
  }
  .navzeile-innen { flex-direction: column; align-items: stretch; gap: 0; position: relative; }
  .hauptmenue { display: none; }
  .hauptmenue.offen { display: block; }
  .hauptmenue > ul { flex-direction: column; gap: 0; }
  .hauptmenue li { border-top: 1px solid var(--linie); }
  .hauptmenue > ul > li:first-child { border-top: none; }
  .hauptmenue > ul > li > a { min-height: 48px; padding: 0.5rem 0; border-bottom: none; border-left: 5px solid transparent; padding-left: 0.8rem; }
  .hauptmenue > ul > li > a.aktiv, .hauptmenue > ul > li > a[aria-current] { border-left-color: var(--petrol); background: var(--fond); }
  .hauptmenue ul ul { position: static; display: block; min-width: 0; border: none; box-shadow: none; background: var(--grau-flaeche); padding: 0; border-radius: 0; }
  .hauptmenue ul ul li { border-top: 1px solid var(--linie); }
  .hauptmenue ul ul a { padding: 0.75rem 0 0.75rem 2rem; min-height: 46px; }
  .hotline { justify-content: center; border-top: 1px solid var(--linie); padding: 0.4rem 0; }
  .hero-karte { margin-left: 0; margin-top: -2rem; border-left-width: 6px; }
  .bildtrenner-karte { margin-left: 0; margin-top: -2rem; }
  .cta .mitte { flex-direction: column; align-items: flex-start; }
  .kapitel, .projekt-raster, .merkmale, .schnellcheck, .dash, .dok-band .dok-liste { grid-template-columns: 1fr; }
  .dok-band .dok-liste li:nth-child(2) { border-top: 1px solid var(--linie); }
  .fakten-karte dl { grid-template-columns: 1fr; gap: 0.1rem 0; }
  .kontakt-karte { grid-template-columns: 1fr; }
  .kapitel.umgekehrt > figure { order: 0; }
  .magazin-karte { margin-left: 0; margin-top: -2rem; border-left-width: 6px; }
  .steckbrief div { grid-template-columns: 1fr; gap: 0.15rem; }
  .banner { flex-direction: column; align-items: flex-start; }
  .landkreise li { grid-template-columns: 1fr 3rem; }
  .landkreise .lk-balken { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
  /* Handy: oben Landeszeichen und Menü, darunter Datenbank und Suche. Der leere Umbruch-Baustein
     erzwingt die neue Zeile, die Abstände übernehmen die Elemente der zweiten Zeile selbst. */
  .kopf-oben { row-gap: 0; }
  .kopf-oben::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .menue-schalter { order: 1; margin-left: auto; }
  .knopf-datenbank { order: 3; margin-left: 0; margin-top: 0.7rem; }
  .suche { order: 4; flex: 1 1 8rem; margin-top: 0.7rem; }
  .hero-knoepfe .knopf, .knoepfe .knopf { width: 100%; }
  .wasserzeichen { width: 16rem; right: -3rem; }
  .kennzahlen { grid-template-columns: 1fr 1fr; }
  .kennzahlen-3 { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
}
@media (max-width: 22.5rem) {
  .knopf-datenbank { flex: 1 1 100%; justify-content: center; }
  .kennzahlen { grid-template-columns: 1fr; }
}

/* ============================================================
   Druckausgabe
   ============================================================ */
@media print {
  :root { --tinte: #000; --grau: #333; --wasserblau: #0b3550; --linie: #bbb; }
  body { font-size: 11pt; line-height: 1.5; background: #fff; }
  .navzeile, .menue-schalter, .krumen, .cta, .fuss, .sprungmarke, .kopf-werkzeuge, .filter, video, .lichtkasten { display: none; }
  .kopf { border-bottom: 2px solid #0b3550; }
  .mitte { max-width: none; padding-inline: 0; }
  .hero-bild img, .seitenkopf-bild img { height: 6cm; }
  .hero-karte, .bildtrenner-karte { box-shadow: none; margin: 0.4cm 0 0; max-width: none; padding: 0; border: none; }
  .spalten, .raster, .raster-2, .kennzahlen, .aktionen, .clips { display: block; }
  figure, table, .tabelle-rollbar, .karte, .kennzahl, address { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  .inhalt p, .inhalt ul, .inhalt ol, .inhalt h2, .inhalt h3 { max-width: none; }
  a { color: #000; text-decoration: underline; }
  .inhalt a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; word-break: break-all; }
  .knopf { border: 1px solid #000; background: none; color: #000; }
  @page { margin: 1.8cm 1.6cm; }
}

/* verlinkte Hotline im Fließtext */
.hotline-link { font-weight: 700; white-space: nowrap; }
