/* Darfi — Erscheinungsbild „Weitblick“ wie die App (app/lib/design.dart): Petrol + Limette, Manrope + IBM Plex Sans */
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(schrift/manrope-700.ttf); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(schrift/manrope-800.ttf); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(schrift/ibmplexsans-400.ttf); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(schrift/ibmplexsans-600.ttf); }
:root {
  --petrol: #173e3e; --tinte: #193b3d; --tinte-2: #526762; --papier: #f4f6f3; --karte: #ffffff; --linie: #dfe5df;
  --limette: #dcf292; --minze: #e8f0e9; --kopf-text: #b9cdc8;
  --rot: #943b32; --warn: #795719; --gruen: #2f5d50; --info: #325d75;
  --punkt-rot: #c0503f; --punkt-gelb: #d9a21b; --punkt-gruen: #3f8a68; --punkt-info: #7d9690;
  --rund: 10px; --titel: Manrope, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 16px/1.5 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--tinte); text-decoration-color: var(--steuerung, #788b83); text-underline-offset: 3px; }
.kopf { background: var(--petrol); color: #fff; }
.kopf .innen { max-width: 980px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 24px var(--titel); letter-spacing: -.03em; }
.marke .zeichen { width: 23px; height: 28px; display: block; }
.marke .punkt-marke { color: var(--limette); }
.kopf .unter { color: var(--kopf-text); font-size: 14px; margin-left: auto; }
.kopf-suche { color: var(--limette); font-weight: 600; font-size: 14px; text-decoration: none; padding: 7px 14px;
  border: 1px solid rgba(220, 242, 146, .45); border-radius: 99px; white-space: nowrap; }
.kopf-suche:hover { background: rgba(220, 242, 146, .12); border-color: var(--limette); }
main { max-width: 980px; margin: 0 auto; padding: 20px 16px 40px; }
h1, h2, h3 { font-family: var(--titel); color: var(--tinte); }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: 16px; margin: 0 0 8px; font-weight: 700; }
.meta { color: var(--tinte-2); margin: 0 0 18px; }
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 16px; margin-bottom: 14px; }
/* Steckbrief-Abschnitte: zwei Spalten wie Zeitungsspalten (keine Leerflächen bei ungleich langen Karten) */
.raster { columns: 2 400px; column-gap: 14px; }
.raster .karte { margin: 0 0 14px; break-inside: avoid; }
.band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.band > div { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 10px 12px; }
.band b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--tinte-2); font-weight: 600; }
.band span { font: 700 18px var(--titel); }
.band .klein { margin-top: 2px; }
.bild { width: 100%; height: auto; border-radius: 8px; display: block; background: var(--minze); }
.klein { font-size: 13px; color: var(--tinte-2); }
.quelle { font-size: 12px; color: var(--info); margin-top: 10px; }
ul.hinweise { list-style: none; padding: 0; margin: 0; }
ul.hinweise li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--linie); }
ul.hinweise li:last-child { border-bottom: 0; }
.punkt { display: inline-block; flex: none; width: 11px; height: 11px; border-radius: 50%; margin-top: 7px; background: var(--punkt-info); }
.punkt.rot { background: var(--punkt-rot); } .punkt.gelb { background: var(--punkt-gelb); } .punkt.ok { background: var(--punkt-gruen); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
td { padding: 6px 4px; border-bottom: 1px solid var(--linie); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.zahl { text-align: right; white-space: nowrap; color: var(--tinte-2); }
dl.werte { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 8px 0 0; font-size: 15px; }
dl.werte dt { color: var(--tinte-2); }
dl.werte dd { margin: 0; }
.farbe { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.hinweis { background: #f5edd6; border: 1px solid #e9dbb3; border-radius: var(--rund); padding: 12px 14px; font-size: 14px; }
.knopf { display: inline-block; background: var(--petrol); color: #fff; font-weight: 600; padding: 11px 18px; border-radius: 12px; text-decoration: none; }
.knopf:hover { background: #0f2e2e; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; }
.kopf :focus-visible, .land-kopf :focus-visible, .app-band :focus-visible { outline-color: var(--limette); }
button.knopf { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.knopf.leise { background: var(--minze); color: var(--petrol); }
.formular { display: grid; gap: 14px; max-width: 380px; }
.formular label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.formular input { font: inherit; font-size: 17px; padding: 11px 12px; border: 1px solid var(--linie); border-radius: 10px; background: #fff; color: var(--tinte); width: 100%; }
.formular input:focus { outline: 2px solid var(--petrol); outline-offset: 1px; }
.formular .knopf { width: 100%; padding: 13px 18px; font-size: 17px; }
.meldung { border-radius: var(--rund); padding: 10px 12px; font-size: 14px; margin: 0 0 14px; }
.meldung.fehler { background: #f4e0dc; color: var(--rot); } .meldung.ok { background: #dcefe4; color: var(--gruen); }
ul.wege { list-style: none; padding: 0; margin: 0 0 16px; }
ul.wege a { display: block; padding: 13px 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
ul.wege b { display: block; font: 700 17px var(--titel); }
.kopf .knopf, .held-petrol .knopf { background: var(--limette); color: var(--petrol); }
.held { padding: 26px 0 8px; }
.held h1 { font-size: 40px; letter-spacing: -.04em; }
.held p { font-size: 18px; max-width: 640px; }
.fuss { border-top: 1px solid var(--linie); font-size: 13px; color: var(--info); }
.fuss .innen { max-width: 980px; margin: 0 auto; padding: 18px 16px 34px; }
.fuss p { margin: 0 0 8px; max-width: 760px; }
.fuss a { color: var(--info); }
.fuss-wege { display: flex; flex-wrap: wrap; gap: 4px 18px; }
details summary { cursor: pointer; font-size: 14px; color: var(--tinte-2); }
@media (max-width: 560px) { h1 { font-size: 23px; } .held h1 { font-size: 32px; } dl.werte { grid-template-columns: 1fr; } dl.werte dt { margin-top: 6px; } }

/* ---- Interner Bereich: gemeinsame Bausteine (vorher je Seite inline) ---- */
.reiter { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 16px; padding-bottom: 2px; }
.reiter a { flex: none; padding: 8px 14px; border-radius: 99px; background: var(--minze); color: var(--petrol); font-weight: 600; font-size: 14px; text-decoration: none; }
.reiter a[aria-current="page"] { background: var(--petrol); color: #fff; }
.reiter .rechts { margin-left: auto; }
.pille { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.p-gruen { background: #dcefe4; color: var(--gruen); } .p-blau { background: #dfeaf2; color: var(--info); }
.p-grau { background: #eceeec; color: var(--tinte-2); } .p-gelb { background: #f6ecd2; color: var(--warn); }
.p-rot { background: #f4e0dc; color: var(--rot); }
.stand-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 12px 0 14px; }
.stand-band > div, .stand-band > button { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 10px 12px; }
.stand-band > button { all: unset; box-sizing: border-box; cursor: pointer; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 10px 12px; }
.stand-band > button[aria-pressed="true"] { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); }
.stand-band b { display: block; font: 700 24px var(--titel); }
.stand-band span { font-size: 13px; color: var(--tinte-2); }
.stand-band .pille { white-space: normal; }
.q { font-size: 11px; color: var(--tinte-2); text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.tabelle-scroll { overflow-x: auto; }
table.daten { font-size: 14px; }
table.daten th, table.tab th { text-align: left; font-size: 12px; color: var(--tinte-2); font-weight: 600; border-bottom: 1px solid var(--linie); padding: 6px 8px; }
table.daten td { padding: 8px; }
table.daten ul { margin: 0; padding-left: 16px; } table.daten li { margin: 2px 0; }
table.tab td, table.tab th { padding: 6px 8px; }
table.tab td.zahl, table.tab th.zahl { text-align: right; }
.suche { width: 100%; padding: 8px 10px; border: 1px solid var(--linie); border-radius: 8px; font: inherit; margin: 6px 0 10px; }
@media (max-width: 720px) {   /* Handy: jede Gemeinde als Karte statt Tabellenzeile */
  table.daten, table.daten tbody, table.daten tr, table.daten td { display: block; width: auto; }
  table.daten tr:first-child { display: none; }
  table.daten tr[data-status] { border: 1px solid var(--linie); border-radius: var(--rund); padding: 8px 10px; margin-bottom: 8px; }
  table.daten tr[hidden] { display: none; }
  table.daten td { border: 0; padding: 3px 0; }
}
.landes { columns: 2 260px; font-size: 14px; } .landes h3 { font-size: 14px; margin: 0 0 4px; } .landes div { break-inside: avoid; margin-bottom: 10px; }
.landes ul { margin: 0; padding-left: 16px; color: var(--tinte-2); }
ol.punkte { list-style: none; padding: 0; margin: 0 0 8px; }
ol.punkte li { border-bottom: 1px solid var(--linie); padding: 10px 0; }
ol.punkte .kopfzeile { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
ol.punkte .nr { color: var(--tinte-2); font-size: 13px; margin-right: 4px; }
ol.punkte p { margin: 4px 0 0; font-size: 14px; color: var(--tinte-2); }
ol.punkte .wartet { color: var(--warn); }
.ziel { margin: -4px 0 6px; font-size: 14px; color: var(--tinte-2); }
details.fehler { margin: 8px 0; border: 1px solid var(--linie); border-radius: var(--rund); padding: 8px 12px; }
details.fehler summary { color: var(--tinte); }
details.fehler pre { white-space: pre-wrap; font-size: 12px; background: var(--papier); padding: 8px; border-radius: 8px; overflow-x: auto; }

/* Weitblick-Kopf „Land in Sicht“: Text über echter Flurkarte (VoGIS), die Grundlinien laufen über die ganze Breite.
   Szene 1080 × 220 dp (Mitte bei 180); auf dem Handy der mittlere Ausschnitt (slice), am Rand weich ausgeblendet. */
.land-kopf { --mh: clamp(220px, 61vw, 320px); position: relative; overflow: hidden; background: var(--petrol); color: #fff; }
.land-kopf .motiv { position: absolute; left: 0; right: 0; bottom: 0; height: var(--mh);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.land-kopf .motiv svg, img.motiv { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
img.motiv { position: absolute; left: 0; right: 0; bottom: 0; height: var(--mh); max-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.land-kopf .innen { position: relative; max-width: 980px; margin: 0 auto; padding: 18px 16px calc(var(--mh) * .46); min-height: var(--mh); }
.land-kopf h1 { color: #fff; font-size: 40px; letter-spacing: -.04em; margin: 0 0 8px; }
.land-kopf p { color: var(--kopf-text); font-size: 17px; max-width: 640px; margin: 0 0 6px; }
.land-kopf a { color: #fff; text-decoration-color: var(--limette); }
.land-kopf .ueberzeile { font-size: 14px; font-weight: 600; color: var(--limette); margin-bottom: 6px; }
.land-kopf .meta { margin: 0 0 6px; }
.land-kopf .quelle-kopf { font-size: 11px; opacity: .75; }
@media (max-width: 560px) { .land-kopf h1 { font-size: 30px; } .land-kopf p { font-size: 16px; } }
/* Breite Bildschirme: der Text steht in der oberen Hälfte, die Grundlinien laufen darunter und dahinter durch */
@media (min-width: 900px) {
  .land-kopf { --mh: 340px; }
  .land-kopf .innen { padding: 22px 16px 28px; min-height: var(--mh); }
  .land-kopf .innen > * { max-width: 520px; }
  .land-kopf h1 { font-size: 38px; }
  .land-kopf p { font-size: 16px; }
}

/* Suche (Webseite) */
/* Suchleiste: ein weißer Block, Beschriftung klein im Feld, Felder durch Linien getrennt, Knopf in der Leiste –
   alle Kanten fluchten. Handy: untereinander; ab 720 px: Gemeinde | Nummer oder Adresse | Suchen in einer Zeile. */
.suchformular { display: grid; background: var(--karte); border-radius: 20px; padding: 6px;
  box-shadow: 0 0 0 1px var(--linie), 0 14px 32px -20px rgba(23, 62, 62, .5); }
.suchformular label { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px;
  min-height: 66px; padding: 10px 16px; border-radius: 14px; cursor: text;
  font: 600 12px/1.2 "IBM Plex Sans", system-ui, sans-serif; color: var(--tinte-2); }
.suchformular label .klein { font-size: 12px; font-weight: 400; }
.suchformular label + label::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; border-top: 1px solid var(--linie); }
.suchformular label:focus-within { background: var(--minze); box-shadow: inset 0 0 0 2px var(--petrol); }
.suchformular label:focus-within::before, .suchformular label:focus-within + label::before { visibility: hidden; }
.suchformular input, .suchformular select { -webkit-appearance: none; appearance: none; width: 100%; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; color: var(--tinte); font: 400 17px/1.4 "IBM Plex Sans", system-ui, sans-serif;
  height: 26px; outline: none; }
.suchformular input::placeholder { color: #7f918b; opacity: 1; }
.suchformular select { cursor: pointer; padding-right: 26px; text-overflow: ellipsis;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23173e3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 16px; }
.suchformular input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
.suchformular .knopf { min-height: 54px; margin-top: 6px; padding: 0 30px; border-radius: 14px; font-size: 17px; font-weight: 700; }
.karte:has(> .suchformular) { background: none; border: 0; padding: 0; }
.suchkarte { margin-top: 18px; }
ul.treffer { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
ul.treffer a { display: grid; gap: 2px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 12px 14px; text-decoration: none; color: var(--tinte); }
ul.treffer a:hover, ul.treffer a:focus-visible { border-color: var(--petrol); background: var(--minze); }

/* ---- Startseite: Suche im Kopf wie in der App, darunter Beispiel-Steckbrief, Punkte, Abdeckung ---- */
.start-kopf .innen { padding-bottom: calc(var(--mh) * .58); }
.start-kopf h1 { font-size: clamp(44px, 11vw, 80px); line-height: .98; letter-spacing: -.05em; margin: 10px 0 14px; }
.start-kopf .unterzeile { font-size: 18px; line-height: 1.45; max-width: 560px; margin: 0 0 22px; }
.held-suche .suchformular { box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .55); }
.held-suche .knopf { background: var(--limette); color: var(--petrol); }
.held-suche .knopf:hover { background: #e9f8b6; }
.start-kopf .beispiel { font-size: 14px; margin: 14px 0 0; }
.start-kopf .beispiel a { color: #fff; text-decoration-color: var(--limette); }
@media (min-width: 720px) {
  .suchformular { grid-template-columns: minmax(210px, 1fr) 2.3fr auto; }
  .suchformular label + label::before { left: 0; right: auto; top: 14px; bottom: 14px; border-top: 0; border-left: 1px solid var(--linie); }
  .suchformular .knopf { margin: 0 0 0 6px; min-height: 0; }
}
@media (min-width: 900px) {
  .start-kopf { --mh: 360px; }
  .land-kopf.start-kopf .innen { padding: 34px 16px 200px; }
  .land-kopf.start-kopf .innen > * { max-width: 760px; }
  .land-kopf.start-kopf .innen > .held-suche { max-width: none; }
  .start-kopf h1 { font-size: 80px; }
  .start-kopf .unterzeile { font-size: 19px; }
}

main > section + section, main > section + .hinweis { margin-top: 44px; }
.vorschau h2, .ampel h2, .abdeckung h2, .app-band h2 { font-size: clamp(23px, 3.2vw, 30px); font-weight: 800; letter-spacing: -.035em;
  line-height: 1.15; margin: 0 0 10px; }
.vorschau { display: grid; gap: 22px; margin-top: 10px; }
.vorschau-bild { position: relative; margin: 0; }
.vorschau-bild img { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--minze); }
.vorschau-bild figcaption { font-size: 12px; color: var(--info); margin-top: 8px; }
.blick { position: relative; margin: -42px 12px 0; background: var(--karte); border-radius: 14px; padding: 12px 16px 6px;
  box-shadow: 0 14px 34px -12px rgba(23, 62, 62, .45); }
.blick-titel { font: 700 15px var(--titel); margin: 0 0 2px; }
.blick ul.hinweise li { font-size: 14px; padding: 6px 0; }
.blick .punkt { margin-top: 5px; }
.vorschau-text > p { color: var(--tinte-2); margin: 0 0 16px; max-width: 520px; }
dl.themen { margin: 0 0 20px; }
dl.themen dt { font: 700 16px var(--titel); padding-top: 10px; border-top: 1px solid var(--linie); }
dl.themen dd { margin: 2px 0 10px; color: var(--tinte-2); font-size: 15px; }
@media (min-width: 860px) {
  .vorschau { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
  .vorschau-bild img { aspect-ratio: 1; object-fit: cover; }
  .blick { position: absolute; left: 18px; bottom: 44px; margin: 0; max-width: 340px; }
}

.ampel { background: var(--minze); border-radius: 16px; padding: 22px 20px 10px; }
.ampel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 28px; }
.ampel li { display: flex; gap: 12px; }
.ampel li p { margin: 0 0 12px; font-size: 15px; }
.ampel .punkt { width: 13px; height: 13px; margin-top: 5px; }
@media (min-width: 720px) { .ampel { padding: 26px 28px 14px; } .ampel ul { grid-template-columns: 1fr 1fr; } }

.abdeckung > p { max-width: 640px; color: var(--tinte-2); }
ul.gemeinden-plan { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.gemeinden-plan li { background: var(--karte); border: 1px solid var(--linie); border-radius: 99px; padding: 6px 14px;
  font-weight: 600; font-size: 14px; }

.app-band { background: var(--petrol); color: var(--kopf-text); border-radius: 16px; padding: 24px 22px; }
.app-band h2 { color: #fff; }
.app-band p { margin: 0; max-width: 620px; }

/* ---- Steckbrief: Kennzahlen-Leiste ragt in den Kopf, Luftbild neben „Auf einen Blick“, Anteile als Balken ---- */
.steckbrief-kopf { --ueber: 34px; }
.steckbrief-kopf .motiv { bottom: var(--ueber); }
.land-kopf.steckbrief-kopf .innen { padding-bottom: calc(var(--mh) * .46 + var(--ueber)); min-height: calc(var(--mh) + var(--ueber)); }
.steckbrief-kopf h1 { font-size: clamp(32px, 6vw, 48px); }
.steckbrief-kopf .adresse { color: #fff; font: 700 19px/1.3 var(--titel); letter-spacing: -.01em; margin: 0 0 4px; }
@media (min-width: 900px) { .land-kopf.steckbrief-kopf .innen { padding-bottom: calc(28px + var(--ueber)); } }

.band { position: relative; z-index: 1; margin: -34px 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--karte); border-radius: 18px; padding: 6px;
  box-shadow: 0 0 0 1px var(--linie), 0 18px 36px -22px rgba(23, 62, 62, .55); }
.band > div { position: relative; background: none; border: 0; border-radius: 0; padding: 10px 14px; min-width: 0; }
.band b { font-size: 12px; letter-spacing: 0; text-transform: none; }
.band span { display: block; margin-top: 2px; font: 800 21px/1.2 var(--titel); letter-spacing: -.02em; overflow-wrap: break-word; }
.band > div:nth-child(even)::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; border-left: 1px solid var(--linie); }
.band > div:nth-child(n+3) { border-top: 1px solid var(--linie); }
@media (min-width: 600px) {
  .band { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 1fr; padding: 8px 6px; }
  .band > div { padding: 10px 18px; }
  .band > div:nth-child(n+3) { border-top: 0; }
  .band > div + div::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; border-left: 1px solid var(--linie); }
}

.ueberblick { display: grid; gap: 14px; margin-bottom: 14px; }
.luftbild { margin: 0; }
.luftbild .bild { border-radius: 16px; }
.luftbild .quelle { margin-top: 8px; }
.blick-karte { margin: 0; }
.blick-karte ul.hinweise li { font-size: 15px; }
ul.legende { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--linie);
  display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--tinte-2); }
ul.legende li { display: flex; align-items: center; gap: 6px; }
ul.legende .punkt { width: 9px; height: 9px; margin: 0; }
@media (min-width: 860px) {
  .ueberblick { grid-template-columns: 1.55fr 1fr; align-items: start; }
  .blick-karte { padding: 18px; }
}

table.eintraege td.ton { width: 18px; padding-right: 0; }
table.eintraege .punkt { margin-top: 6px; }
.anteil { display: inline-grid; gap: 5px; justify-items: end; }
.anteil i { position: relative; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--linie); overflow: hidden; }
.anteil i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--a); background: var(--petrol); border-radius: 2px; }
tr:has(.punkt.rot) .anteil i::before { background: var(--punkt-rot); }
tr:has(.punkt.gelb) .anteil i::before { background: var(--punkt-gelb); }
tr:has(.punkt.ok) .anteil i::before { background: var(--punkt-gruen); }
tr:has(.punkt:not(.rot):not(.gelb):not(.ok)) .anteil i::before { background: var(--punkt-info); }
p.leer { display: flex; gap: 8px; margin: 0; font-size: 14px; color: var(--tinte-2); }
p.leer .punkt { margin-top: 5px; }
details.quellen { margin-top: 12px; }
details.quellen summary { font-size: 12px; color: var(--info); }
details.quellen ul { margin: 6px 0 0; padding-left: 16px; font-size: 12px; color: var(--info); }
details.quellen li { margin: 2px 0; }
.zone + .zone { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linie); }
@media (min-width: 561px) {
  dl.werte { gap: 0 14px; }
  dl.werte dt, dl.werte dd { padding: 6px 0; border-top: 1px solid var(--linie); }
  dl.werte dt:first-of-type, dl.werte dt:first-of-type + dd { border-top: 0; }
}
.raster + .hinweis { margin-top: 0; }
p.anfrage { display: grid; gap: 6px; justify-items: start; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--linie); }
.knopf.leise:hover { background: #d7e6da; }

/* ---- App-Test: Seite /testen und Hinweise ---- */
.app-band .knopf { background: var(--limette); color: var(--petrol); margin-top: 16px; }
.app-band .knopf:hover { background: #e9f8b6; }
.app-band p + p { margin-top: 0; }
.app-hinweis { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: space-between;
  background: var(--petrol); color: var(--kopf-text); border-radius: 16px; padding: 16px 18px; margin: 0 0 14px; }
.app-hinweis p { margin: 0; max-width: 620px; font-size: 15px; }
.app-hinweis .knopf { background: var(--limette); color: var(--petrol); }
.app-hinweis .knopf:hover { background: #e9f8b6; }
.testen-kopf .innen { padding-bottom: calc(var(--mh) * .5); }
.testen-kopf .unterzeile { font-size: 18px; max-width: 600px; }
@media (min-width: 900px) { .land-kopf.testen-kopf .innen { padding-bottom: 150px; } .land-kopf.testen-kopf .innen > * { max-width: 640px; } }
ol.schritte { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
ol.schritte li { position: relative; margin: 0; padding: 18px 18px 20px 70px; display: flex; flex-direction: column; align-items: flex-start; }
ol.schritte .nr { position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid;
  place-items: center; background: var(--limette); color: var(--petrol); font: 800 18px var(--titel); }
ol.schritte h2 { margin: 6px 0 4px; }
ol.schritte p { margin: 0 0 14px; color: var(--tinte-2); }
ol.schritte .knopf { margin-top: auto; }
@media (min-width: 860px) {
  ol.schritte { grid-template-columns: repeat(3, 1fr); }
  ol.schritte li { padding: 66px 18px 20px; }
}
.fragen dl { margin: 0; display: grid; gap: 0 28px; }
.fragen dt { font: 700 16px var(--titel); padding-top: 12px; border-top: 1px solid var(--linie); }
.fragen dd { margin: 3px 0 12px; color: var(--tinte-2); }
@media (min-width: 720px) {   /* Frage links, Antwort rechts in derselben Zeile */
  .fragen dl { grid-template-columns: minmax(220px, 1fr) 2fr; }
  .fragen dt { grid-column: 1; padding: 12px 0; }
  .fragen dd { grid-column: 2; margin: 0; padding: 12px 0; border-top: 1px solid var(--linie); }
}
@media print { .app-hinweis { display: none; } }

/* ---- Druck (Steckbrief → A4 oder „Als PDF speichern“): weißes Blatt, schmaler Petrol-Kopf mit Zeichen, keine Knöpfe,
   Kopfgrafik und Schatten; Abschnitte zweispaltig, Karten brechen nicht mitten durch. ---- */
.nur-druck { display: none; }
@page { size: A4; margin: 12mm 13mm 14mm; }
@media print {
  html { font-size: 10pt; }
  body { background: #fff; font-size: 10pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .nur-druck { display: block; }
  .kopf { border-radius: 8px; }
  .kopf .innen { padding: 7px 12px; }
  .marke { font-size: 18px; } .marke .zeichen { width: 17px; height: 21px; }
  .kopf-suche, .anfrage, .fuss-wege, .land-kopf .motiv, .sprachwahl { display: none !important; }
  main, .kopf .innen, .land-kopf .innen, .fuss .innen { max-width: none; }
  main { padding: 0; }
  .land-kopf { background: none; color: var(--tinte); overflow: visible; }
  .land-kopf.steckbrief-kopf .innen, .land-kopf .innen { min-height: 0; padding: 12px 0 10px; }
  .land-kopf .innen > * { max-width: none; }
  .land-kopf h1 { color: var(--petrol); font-size: 26pt; margin: 0 0 2px; }
  .land-kopf .ueberzeile { color: var(--gruen); font-size: 9pt; margin: 0 0 2px; }
  .steckbrief-kopf .adresse { color: var(--tinte); font-size: 12pt; }
  .land-kopf p, .land-kopf .meta { color: var(--tinte-2); font-size: 10pt; }
  .land-kopf .quelle-kopf { display: none; }
  .band { margin: 0 0 10px; box-shadow: 0 0 0 1px var(--linie); border-radius: 10px; padding: 4px; break-inside: avoid; }
  .band { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 1fr; }
  .band > div { padding: 6px 12px; } .band > div:nth-child(n+3) { border-top: 0; }
  .band > div + div::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; border-left: 1px solid var(--linie); }
  .band span { font-size: 14pt; }
  .ueberblick { grid-template-columns: 1.35fr 1fr; gap: 10px; align-items: start; break-inside: avoid; margin-bottom: 10px; }
  .luftbild .bild { border-radius: 8px; }
  .karte { border-radius: 8px; padding: 10px 12px; box-shadow: none; }
  .blick-karte { padding: 10px 12px; }
  .blick-karte ul.hinweise li, ul.hinweise li { font-size: 9.5pt; padding: 4px 0; }
  h2 { font-size: 12pt; margin-bottom: 6px; }
  .raster { columns: 2; column-gap: 10px; }
  .raster .karte { margin-bottom: 10px; break-inside: auto; }
  .raster h2, .zone > b { break-after: avoid; }
  tr, li, dl.werte dt, dl.werte dd, .anteil, p.leer, .raster .hinweis { break-inside: avoid; }
  details.quellen { display: none; }
  details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; }
  table, dl.werte { font-size: 9.5pt; }
  td { padding: 3px 4px; }
  .klein, .quelle, details.quellen summary { font-size: 8pt; }
  .hinweis { font-size: 8.5pt; padding: 7px 10px; border-radius: 8px; break-inside: avoid; }
  .fuss { border: 0; font-size: 7.5pt; }
  .fuss .innen { padding: 8px 0 0; }
  a { text-decoration: none; }
}
