/* =====================================================================
   style.css – Zuweiser-Seite des Ambulanten Krankenpflegedienstes Essler

   Angeglichen an pflegedienst-essler.de (24.10.2026, Plugin „Essler
   lokal“): DM Sans, Überschriften fast schwarz, Zwischenüberschriften
   blau, Karten mit Schatten statt Strich, Hauptknöpfe orange wie
   „Anrufen“ auf der Website. Die Verwaltung behält blaue Knöpfe. Alle Schriftfarben erreichen auf ihrem
   Untergrund mindestens 4,5 : 1. Status: Grün frei, Bernstein
   eingeschränkt, Blaugrau gestrichelt bald, Hellgrau nicht versorgt.

   Bewegung: nur kurze Übergänge, nichts bewegt sich dauerhaft. Bei
   „Bewegung reduzieren“ im Betriebssystem keine (Block am Ende).
   Der Teil „Verwaltung“ am Ende gilt nur für /verwaltung/.
   ================================================================== */

/* DM Sans wie auf pflegedienst-essler.de, variable Schrift (100–1000), vom eigenen Server */
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: normal; font-display: swap; src: url("../schriften/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: normal; font-display: swap; src: url("../schriften/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: italic; font-display: swap; src: url("../schriften/dm-sans-kursiv-latin.woff2") format("woff2"); }

:root {
  --blau:        #1c37a0;
  --blau-tief:   #122673;
  --blau-nacht:  #0d1b52;
  --blau-hell:   #e6eaf8;
  --blau-hell-2: #f3f5fc;
  --orange:      #e07b12;
  --orange-dunkel:#c46a0c;
  --orange-text: #a3540a;
  --papier:      #ffffff;
  --text:        #1b2027;
  --leise:       #5a6472;
  --linie:       #e3e7ec;
  --rahmen-feld: #98a3ba;

  --frei:        #2f7d4a;
  --frei-flaeche:#5aa874;
  --frei-hell:   #dff0e4;
  --eng:         #8a5300;
  --eng-flaeche: #f1b84b;
  --eng-hell:    #fcf0d6;
  --bald:        #56658a;
  --bald-flaeche:#cfd6ea;
  --aus-flaeche: #eef1f6;
  --alarm:       #a52b21;
  --alarm-hell:  #f9e0dc;

  --schrift: "DM Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --breite: 1180px;
  --rand: clamp(16px, 4vw, 32px);
  --band: clamp(48px, 7vw, 96px);
  --radius: 18px;
  --radius-klein: 12px;
  --schatten: 0 1px 2px rgb(18 38 115 / .05), 0 8px 24px -12px rgb(18 38 115 / .16);
  --knopf: var(--orange);
  --knopf-tief: var(--orange-dunkel);
  --fokus: 0 0 0 3px rgb(224 123 18 / .45);
  color-scheme: light;
}
.verwaltung { --knopf: var(--blau); --knopf-tief: var(--blau-tief); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--papier); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--blau); text-underline-offset: .18em; }
a:hover { color: var(--blau-tief); }
:focus-visible { outline: none; box-shadow: var(--fokus); border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--text); margin: 0 0 .5em; letter-spacing: -.03em; }
h3 { color: var(--blau); letter-spacing: -.015em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .78rem; letter-spacing: .07em; font-weight: 700; text-transform: uppercase; color: var(--leise); margin: 1.1rem 0 .4rem; }
p { margin: 0 0 1em; }
small { font-size: .86em; color: var(--leise); }
small.zeile { display: block; }
[hidden] { display: none !important; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }
.klein { font-size: .9rem; color: var(--leise); }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--blau); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 50; }
.sprung:focus { left: 8px; }

.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.ueber { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 .5rem; }
.einleitung { font-size: 1.15rem; max-width: 60ch; }
.band { padding: var(--band) 0; }
.band-hell { background: var(--blau-hell-2); }
.band-satz { max-width: 64ch; color: var(--leise); }

/* ── Knöpfe ─────────────────────────────────────────────────────── */
.knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: 0 1.25rem;
  font: inherit; font-weight: 700; font-size: 1rem; border-radius: 999px; border: 2px solid var(--blau); cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.knopf.voll { background: var(--knopf); border-color: var(--knopf); color: #fff; }
.knopf.voll:hover { background: var(--knopf-tief); border-color: var(--knopf-tief); color: #fff; }
body:not(.verwaltung) .knopf.voll { box-shadow: 0 6px 20px -6px rgb(224 123 18 / .7); }
body:not(.verwaltung) .knopf.voll:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blau); }
.knopf.rand { background: var(--papier); color: var(--blau); }
.knopf.rand:hover { background: var(--blau-hell); color: var(--blau-tief); }
.knopf.gross { min-height: 3.3rem; padding: 0 1.6rem; font-size: 1.05rem; }
.knopf.klein { min-height: 2.2rem; padding: 0 .9rem; font-size: .9rem; }
.knopf.warn { background: var(--papier); color: var(--alarm); border-color: #e3b7b1; }
.knopf.warn:hover { background: var(--alarm-hell); }

/* ── Kopf ───────────────────────────────────────────────────────── */
.test-leiste { background: #fff3c4; border-bottom: 1px solid #ecd27d; font-size: .9rem; padding: .45rem 0; }
.test-leiste .huelle { display: flex; gap: .5rem; align-items: center; }
.kopf { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; gap: 1.2rem; min-height: 72px; }
.marke { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.marke img { height: 46px; width: auto; display: block; }
.marke-text { font-weight: 700; color: var(--blau); border-left: 2px solid var(--linie); padding-left: .8rem; white-space: nowrap; }
.navi { display: flex; gap: .2rem; }
.navi a { white-space: nowrap; padding: .45rem .7rem; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 700; font-size: .95rem; }
.navi a:hover { background: var(--blau-hell); color: var(--blau-tief); }
.hotline { display: flex; align-items: center; gap: .55rem; background: var(--orange); color: #fff; text-decoration: none; padding: .45rem 1.1rem .45rem .9rem; border-radius: 999px; }
.hotline:hover { background: var(--orange-dunkel); color: #fff; }
.hotline span { display: flex; flex-direction: column; line-height: 1.15; }
.hotline small { color: #fff; font-size: .72rem; }
.hotline b { white-space: nowrap; }
@media (max-width: 1060px) { .navi { display: none; } }
@media (max-width: 560px) {
  .marke img { height: 36px; }
  .marke-text { display: none; }
  .hotline small { display: none; }
  .hotline { padding: .5rem .9rem; }
}

/* ── Gesamtlage ─────────────────────────────────────────────────── */
.lage { border-bottom: 1px solid var(--linie); padding: .75rem 0; }
.lage .huelle { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; flex-wrap: wrap; }
.lage-text { position: relative; display: flex; flex-direction: column; padding-left: 2.8rem; line-height: 1.4; }
.lage-text::before { content: "✓"; position: absolute; left: 0; top: .1rem; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 700; }
.lage-titel { font-size: 1.1rem; color: var(--text); }
.lage-zusatz { font-weight: 700; }
.lage-stand { font-size: .85rem; color: var(--leise); }
.lage-gut { background: var(--frei-hell); }
.lage-gut .lage-text::before { background: var(--frei); }
.lage-warn { background: var(--eng-hell); }
.lage-warn .lage-text::before { content: "!"; background: var(--eng); }
.lage-alarm { background: var(--alarm-hell); }
.lage-alarm .lage-text::before { content: "!"; background: var(--alarm); }

/* ── Einstieg ───────────────────────────────────────────────────── */
.start { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 64px); background: linear-gradient(180deg, var(--blau-hell-2), var(--papier)); }
.start .huelle { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem 3rem; align-items: end; }
.fakten { display: grid; gap: .8rem; margin: 0; }
.fakten div { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: .8rem 1rem; box-shadow: var(--schatten); }
.fakten dt { font-size: .85rem; font-weight: 700; color: var(--leise); display: flex; gap: .4rem; align-items: center; }
.fakten dd { margin: .1rem 0 0; font-weight: 700; }
@media (max-width: 860px) { .start .huelle { grid-template-columns: 1fr; } }

/* ── Karten, Felder ─────────────────────────────────────────────── */
.karte-weiss { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.6rem); box-shadow: var(--schatten); }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.felder .breit { grid-column: 1 / -1; }
/* Titel schmal, Vor- und Nachname gleich breit */
.felder-name { display: grid; grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 1.2rem; }
@media (max-width: 640px) { .felder-name { grid-template-columns: 1fr; } }
.feld { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.feld-name { font-weight: 700; font-size: .95rem; }
.feld-hilfe { font-size: .88rem; color: var(--leise); min-height: 1.2em; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=password], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--papier);
  border: 1.5px solid var(--rahmen-feld); border-radius: var(--radius-klein); padding: .6rem .75rem; min-height: 2.9rem; }
/* Einzeilige Felder überall gleich hoch: Auswahlliste, Datum und Textfeld bringen sonst je eigene Höhen mit */
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=password], input[type=number], select { height: 2.9rem; line-height: 1.3; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%230d1b52%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 1.1rem; }
input[type=date]::-webkit-date-and-time-value { text-align: left; }
::placeholder { color: var(--leise); opacity: .8; }
textarea { min-height: 6rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blau); box-shadow: var(--fokus); }
input[readonly] { background: var(--blau-hell-2); color: var(--leise); }
fieldset { border: 0; margin: 0 0 1.2rem; padding: 0; min-width: 0; }
fieldset.karte-weiss { padding: clamp(1rem, 2.5vw, 1.6rem); }
legend { font-weight: 700; font-size: 1.1rem; color: var(--blau); letter-spacing: -.015em; padding: 0 .3rem; }
@media (max-width: 640px) { .felder { grid-template-columns: 1fr; } }

/* ── Aufnahme-Check ─────────────────────────────────────────────── */
.schritte { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 1.6rem 0 1rem; }
.schritte li { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--leise); }
.schritte span { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--linie); background: var(--papier); }
.schritte li.an { color: var(--blau-nacht); }
.schritte li.an span { background: var(--blau); border-color: var(--blau); color: #fff; }
.check .felder { max-width: 44rem; }
.leistungen-titel { margin: 1.4rem 0 .7rem; }
.leistungswahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .3rem 1.2rem; }
.leistungen-nein { margin: .9rem 0 0; }
.leistungen-nein .ico { color: var(--alarm); }
.leistungswahl legend { font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; color: var(--leise); padding: 0; margin-bottom: .45rem; }
.wahl { display: flex; align-items: flex-start; gap: .65rem; padding: .65rem .8rem; margin-bottom: .45rem; line-height: 1.35;
  border: 1.5px solid var(--linie); border-radius: var(--radius-klein); background: var(--papier); cursor: pointer; transition: border-color .15s, background .15s; }
.wahl:hover { border-color: var(--rahmen-feld); }
.wahl input { flex: none; width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--blau); }
.wahl span { display: flex; flex-direction: column; }
.wahl:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); }
.wahl:focus-within { box-shadow: var(--fokus); }

.ergebnis { margin: 1.2rem 0; padding: 1.1rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--linie); border-left: 6px solid var(--blau); background: var(--blau-hell); scroll-margin-top: 96px; }
.ergebnis-titel { display: flex; gap: .5rem; align-items: center; font-size: 1.15rem; margin-bottom: .3rem; }
.ergebnis p { margin: .35rem 0 0; }
.ergebnis ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.ergebnis-ja { background: var(--frei-hell); border-left-color: var(--frei); }
.ergebnis-ja .ergebnis-titel .ico { color: var(--frei); }
.ergebnis-eingeschraenkt, .ergebnis-ort { background: var(--eng-hell); border-left-color: var(--eng); }
.ergebnis-nein { background: var(--alarm-hell); border-left-color: var(--alarm); }
.anfrage { margin-top: 1.4rem; scroll-margin-top: 96px; }
.einwilligung { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; margin: .4rem 0 0; }
.einwilligung input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; flex: none; accent-color: var(--blau); }

/* ── Versorgungsgebiet ──────────────────────────────────────────── */
.gebiet { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; align-items: start; margin-top: 1.6rem; }
@media (max-width: 900px) { .gebiet { grid-template-columns: 1fr; } }
.karte { position: relative; margin: 0; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: .8rem; box-shadow: var(--schatten); }
.k-tipp { position: absolute; z-index: 2; pointer-events: none; white-space: nowrap; background: var(--blau-nacht); color: #fff;
  padding: .3rem .6rem; border-radius: var(--radius-klein); font-size: .88rem; line-height: 1.3; box-shadow: var(--schatten); }
.k-tipp b { display: block; }
.k-tipp span { font-size: .8rem; opacity: .85; }
.karte svg { display: block; width: 100%; height: auto; }
.k-gemeinde { stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill .15s, stroke .15s; }
.k-gemeinde.k-aus { fill: var(--aus-flaeche); }
.k-gemeinde.k-frei { fill: var(--frei-flaeche); cursor: pointer; }
.k-gemeinde.k-eingeschraenkt { fill: var(--eng-flaeche); cursor: pointer; }
.k-gemeinde.k-bald { fill: var(--bald-flaeche); cursor: pointer; }
.k-gemeinde:focus, .k-gemeinde:focus-visible { outline: none; box-shadow: none; }
.k-rahmen { fill: none; stroke: var(--blau-nacht); stroke-width: 2.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.k-gemeinde.k-aus:hover { fill: #e2e7f0; }
.k-ort circle { fill: var(--blau-nacht); stroke: #fff; stroke-width: 1.5; }
.k-ort text { font-size: 11px; font-weight: 700; fill: var(--blau-nacht); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.k-ort { pointer-events: none; }
.k-ort.k-haupt text { font-size: 13px; }
.karte-info { margin: .6rem .2rem 0; min-height: 1.6em; font-weight: 700; color: var(--blau-nacht); }
.karte figcaption { font-size: .78rem; color: var(--leise); margin: .3rem .2rem 0; }
.gebiet-liste h3 { margin-top: 0; }
.gebiet-liste h3 ~ h3 { margin-top: 1.4rem; }
.orte { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.ort { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--linie); background: var(--papier); font-weight: 700; font-size: .95rem; transition: border-color .15s, background .15s; }
.ort.hervor { border-color: var(--blau-nacht); background: var(--blau-hell); }
.punkt { width: .7rem; height: .7rem; border-radius: 50%; flex: none; background: var(--frei-flaeche); display: inline-block; }
.k-frei .punkt, .punkt.k-frei { background: var(--frei-flaeche); }
.k-eingeschraenkt .punkt, .punkt.k-eingeschraenkt { background: var(--eng-flaeche); }
.k-bald .punkt, .punkt.k-bald { background: var(--bald-flaeche); border: 1.5px dashed var(--bald); }
.punkt.k-aus { background: var(--aus-flaeche); border: 1px solid var(--rahmen-feld); }
.ort.k-eingeschraenkt { background: var(--eng-hell); border-color: #ecd59a; }
.ort.k-bald { border-style: dashed; color: var(--leise); }
.legende { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .35rem; font-size: .92rem; }
.legende li { display: flex; align-items: center; gap: .55rem; }

/* ── Leistungen, Ablauf, Kontakt ────────────────────────────────── */
.zwei { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.4rem; align-items: start; margin-top: 1.6rem; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } }
.zwei h3 { display: flex; gap: .5rem; align-items: center; }
.zwei h3 + h4 { margin-top: .4rem; }
.liste { list-style: none; padding: 0; margin: 0; }
.liste li { position: relative; padding: .4rem 0 .4rem 1.7rem; border-bottom: 1px solid var(--linie); }
.liste li:last-child { border-bottom: 0; }
.liste li::before { position: absolute; left: 0; top: .4rem; font-weight: 700; }
.liste-ja li::before { content: "✓"; color: var(--frei); }
.liste-nein li::before { content: "✕"; color: var(--alarm); }
.ablauf { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; counter-reset: schritt; }
.ablauf li { counter-increment: schritt; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.ablauf li .ico { width: 2rem; height: 2rem; color: var(--blau); }
.ablauf li b::before { content: counter(schritt, decimal-leading-zero) "  "; color: var(--orange-text); }
.ablauf li span { color: var(--leise); }
@media (max-width: 860px) { .ablauf { grid-template-columns: 1fr; } }
.kontakt { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin: 1.6rem 0 0; }
.kontakt dt { display: flex; gap: .4rem; align-items: center; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--leise); }
.kontakt dd { margin: .2rem 0 0; font-weight: 700; }
.infoblatt-hinweis { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.4rem 0 0; }

/* ── Fuß ────────────────────────────────────────────────────────── */
.fuss { background: var(--blau-tief); color: rgb(255 255 255 / .78); padding: 2rem 0 5.5rem; font-size: .95rem; }
.fuss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.fuss-marke { display: flex; flex-direction: column; }
.fuss-marke b { color: #fff; }
.fuss-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.fuss a { color: #fff; }
.ohne-cookies { display: inline-flex; gap: .35rem; align-items: center; }
.handy-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: .6rem; padding: .6rem var(--rand) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgb(255 255 255 / .97); border-top: 1px solid var(--linie); }
.handy-leiste .knopf { flex: 1; }
@media (max-width: 720px) { .handy-leiste { display: flex; } }
/* Leiste unten erst, wenn die Knöpfe oben bzw. der Aufnahme-Check nicht mehr im Bild sind (seite.js) */
.handy-leiste { transition: transform .25s ease, opacity .25s ease; }
.handy-leiste.weg { transform: translateY(110%); opacity: 0; pointer-events: none; }
@media (min-width: 721px) { .fuss { padding-bottom: 2rem; } }

.seitenkopf { padding: clamp(40px, 6vw, 72px) 0 1rem; background: linear-gradient(180deg, var(--blau-hell-2), var(--papier)); }
.text-seite { max-width: 72ch; }
.text-seite h2 { font-size: 1.35rem; margin-top: 2rem; }

/* ── Verwaltung ─────────────────────────────────────────────────── */
.verwaltung { background: var(--blau-hell-2); }
.verwaltung .kopf .huelle { min-height: 64px; }
/* Leiste oben: Lage mit einem Klick, aktive Lage farbig */
.v-schnell { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin: 1.2rem 0 0; padding: .6rem .9rem;
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.v-schnell .feld-name { margin-right: .2rem; }
.v-schnell .klein { margin-left: .3rem; }
.v-schnell-knopf { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.2rem; padding: 0 .9rem; font: inherit; font-size: .9rem; font-weight: 700;
  color: var(--text); background: var(--papier); border: 1.5px solid var(--linie); border-radius: 999px; cursor: pointer; transition: border-color .15s, background .15s; }
.v-schnell-knopf:hover { border-color: var(--rahmen-feld); }
.v-schnell-knopf.gut[aria-pressed="true"] { background: var(--frei); border-color: var(--frei); color: #fff; }
.v-schnell-knopf.warn[aria-pressed="true"] { background: var(--eng-hell); border-color: var(--eng); color: var(--eng); }
.v-schnell-knopf.alarm[aria-pressed="true"] { background: var(--alarm); border-color: var(--alarm); color: #fff; }
.v-navi { display: flex; flex-wrap: wrap; gap: .3rem; margin: 1.2rem 0; }
.v-navi a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--text); background: var(--papier); border: 1px solid var(--linie); }
.v-navi a[aria-current="page"] { background: var(--blau); color: #fff; border-color: var(--blau); }
.v-navi .zahl { background: var(--orange); color: #fff; border-radius: 999px; padding: 0 .45rem; font-size: .8rem; }
.v-inhalt { padding-bottom: 4rem; }
.v-inhalt .karte-weiss { margin-bottom: 1.4rem; }
.v-inhalt h2 { font-size: 1.35rem; }
.v-karte-raster { display: grid; grid-template-columns: minmax(0, 640px) minmax(14rem, 1fr); gap: 1.6rem; align-items: start; }
.v-karte-raster .karte svg { max-height: 75vh; }
.v-karte-raster .klein { margin-top: 0; }
.v-karte-raster .legende { margin-top: 1rem; }
@media (max-width: 900px) { .v-karte-raster { grid-template-columns: 1fr; } }
.meldung { padding: .8rem 1rem; border-radius: var(--radius-klein); margin: 0 0 1rem; border-left: 5px solid var(--frei); background: var(--frei-hell); }
.meldung.warn { border-left-color: var(--alarm); background: var(--alarm-hell); }
.tabelle-rollt { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle th { text-align: left; font-size: .8rem; color: var(--leise); font-weight: 700; padding: .5rem .4rem; border-bottom: 2px solid var(--linie); white-space: nowrap; }
.tabelle td { padding: .45rem .4rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle input[type=text], .tabelle select { min-height: 2.4rem; height: 2.4rem; padding: .35rem .5rem; font-size: .95rem; }
.tabelle select { padding-right: 2rem; background-position: right .5rem center; background-size: .95rem; }
.tabelle .eng { width: 9rem; }
.tabelle .haken { width: 3rem; text-align: center; }
.tabelle .nr { width: 4.6rem; }
.tabelle input[type=number] { min-height: 2.4rem; height: 2.4rem; padding: .35rem .4rem; font-size: .95rem; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.tabelle input[type=number]::-webkit-inner-spin-button, .tabelle input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tabelle tr.neu td { background: var(--blau-hell-2); }
.tabelle details summary { cursor: pointer; color: var(--blau); font-weight: 700; white-space: nowrap; }
.tabelle details label { display: flex; gap: .4rem; align-items: center; font-size: .9rem; margin: .2rem 0; white-space: nowrap; }
.status-wahl { display: flex; gap: .3rem; flex-wrap: wrap; }
.status-wahl label { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border: 1.5px solid var(--linie); border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.status-wahl input { accent-color: var(--blau); }
.status-wahl label:has(input:checked) { border-color: var(--blau-nacht); background: var(--blau-hell); }
.pill { display: inline-block; padding: .05rem .55rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--blau-hell); color: var(--blau-tief); }
.pill.gut { background: var(--frei-hell); color: var(--frei); }
.pill.warn { background: var(--eng-hell); color: var(--eng); }
.pill.alarm { background: var(--alarm-hell); color: var(--alarm); }
.v-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
@media (max-width: 960px) { .v-zwei { grid-template-columns: 1fr; } }
.anfrage-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: baseline; }
.anfrage-daten { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: .8rem 0; }
.anfrage-daten dt { font-weight: 700; color: var(--leise); }
.anfrage-daten dd { margin: 0; }
.kopiertext { width: 100%; min-height: 9rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; }
.anmeldung { max-width: 26rem; margin: 3rem auto; }
.anmeldung .feld { margin-bottom: 1rem; }
.zeile-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.zeile-knoepfe form { margin: 0; }
.tabelle .rechts { text-align: right; }
.tabelle td.rechts form { margin: 0; }
/* Kleine Formulare in einer Zeile: Überschrift, zwei Felder, Knopf (Zugänge) */
.v-zeilenform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 9rem; gap: .6rem 1rem; align-items: end;
  margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--linie); }
.v-zeilenform h3 { grid-column: 1 / -1; margin: 0; font-size: 1.05rem; }
.v-zeilenform .knopf { width: 100%; }
@media (max-width: 700px) { .v-zeilenform { grid-template-columns: 1fr; } }
/* Zugeklappte Karte (Notzugang): im Alltag nur eine Zeile */
.v-klapp > summary { cursor: pointer; font-weight: 700; color: var(--blau-nacht); }
.v-klapp > summary .klein { font-weight: 400; }
.v-klapp[open] > summary { margin-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .kopf, .handy-leiste, .fuss, .v-navi, .v-schnell { display: none; }
}
.abstand-oben { margin-top: 1rem; }
.tabelle tr.hervor td { background: var(--eng-hell); }

/* Vorschläge beim Tippen (seite.js): Straße, Postleitzahl oder Ort */
.vorschlaege { position: absolute; left: 0; right: 0; z-index: 30; margin: 0; padding: .3rem 0; list-style: none;
  background: var(--papier); border: 1.5px solid var(--rahmen-feld); border-radius: var(--radius-klein);
  box-shadow: var(--schatten); max-height: 18rem; overflow-y: auto; }
.vorschlaege li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .75rem; cursor: pointer; font-weight: 400; }
.vorschlaege li span { color: var(--leise); font-size: .88rem; }
.vorschlaege li:hover, .vorschlaege li.aktiv { background: var(--blau-hell); }
.adresse-hinweis.gut { color: var(--frei); font-weight: 700; }
.adresse-hinweis.warn { color: var(--eng); font-weight: 700; }

/* Vorschau unter „Postleitzahl oder Ort“ (seite.js): eine Zeile, Farbpunkt wie in der Karte */
.plz-info { display: flex; align-items: center; gap: .55rem; margin: .5rem 0 0; font-size: .95rem; font-weight: 700; color: var(--leise); }
.plz-info:empty { display: none; }
.plz-info[data-stand]::before { content: ""; flex: none; width: .8rem; height: .8rem; border-radius: 50%; background: var(--aus-flaeche); border: 1px solid var(--rahmen-feld); }
.plz-info[data-stand="frei"] { color: var(--frei); }
.plz-info[data-stand="frei"]::before { background: var(--frei-flaeche); border-color: var(--frei-flaeche); }
.plz-info[data-stand="eingeschraenkt"] { color: var(--eng); }
.plz-info[data-stand="eingeschraenkt"]::before { background: var(--eng-flaeche); border-color: var(--eng-flaeche); }
.plz-info[data-stand="bald"]::before { background: var(--bald-flaeche); border: 1.5px dashed var(--bald); }
