:root { --ctl-h: 44px; --g: 8px; --gruen: #2e6b3a; --rot: #eb5d48; --rand: #cfd8c4; --soft: #f1f3ed; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--soft); color: #1d1d1b; font-size: 16px; }
.kopf { background: var(--gruen); color: #fff; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top));
        display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 1000; }
.kopf img { width: 32px; height: 32px; border-radius: 8px; }
.kopf .titel { font-weight: 700; flex: 1; }
.kopf nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kopf nav a, .kopf nav button { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.5);
        border-radius: 6px; height: 34px; padding: 0 12px; text-decoration: none; font: inherit; font-size: 14px;
        display: inline-flex; align-items: center; cursor: pointer; }
.kopf form { margin: 0; }
main { max-width: 720px; margin: 0 auto; padding: 16px; display: grid; gap: 16px; }
main.breit { max-width: 1200px; }
.karte { background: #fff; border: 1px solid var(--rand); border-radius: 10px; padding: 16px; display: grid; gap: 12px; }
.karte h2 { font-size: 1.25rem; margin: 0; }
.karte h3 { font-size: 1.05rem; margin: 0; }
.hinweis { color: #5a6650; font-size: .92rem; margin: 0; }
.flash { padding: 12px 16px; border-radius: 10px; background: #e3f0dc; border: 1px solid #b9d6a8; }
.flash.fehler { background: #fdeae6; border-color: #f2b8ad; }
.fehlt { color: #b3321f; font-size: .9rem; }
label.feld { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
input[type=text], input[type=password], input[type=time], input[type=tel], select {
  height: var(--ctl-h); width: 100%; padding: 0 12px; font: inherit; border: 1px solid #aab59c; border-radius: 6px; background: #fff; }
.btn { height: var(--ctl-h); padding: 0 16px; border-radius: 6px; border: 1px solid var(--gruen); background: var(--gruen);
  color: #fff; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; text-decoration: none; gap: 8px; }
.btn.aus { background: #fff; color: var(--gruen); }
.btn.rot { background: var(--rot); border-color: var(--rot); }
.btn.klein { height: 34px; padding: 0 12px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: default; }
.reihe { display: flex; gap: var(--g); align-items: center; flex-wrap: wrap; }
.reihe > .grow { flex: 1; min-width: 160px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips label { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px;
  border: 1px solid #aab59c; border-radius: 999px; cursor: pointer; background: #fff; padding: 0 12px; font-weight: 600; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { background: var(--gruen); color: #fff; border-color: var(--gruen); }
.chips label:has(input:focus-visible) { outline: 2px solid #1d1d1b; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; }
.karte-map { height: 320px; border-radius: 10px; border: 1px solid var(--rand); }
.map-gross { height: 460px; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .8rem;
  font-weight: 700; background: #e3e7dc; }
.badge.wartet { background: #fff0c9; } .badge.frei { background: #d9efcc; } .badge.gesperrt { background: #fdd9d2; }
.weg { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--rand); border-radius: 10px; }
.weg .reihe { justify-content: space-between; }
.tabelle-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--rand); vertical-align: top; }
th { background: var(--soft); position: sticky; top: 0; white-space: nowrap; }
td.akt { white-space: nowrap; }
td.akt form { display: inline; }
.ziffer { text-align: right; font-variant-numeric: tabular-nums; }
.sr { position: absolute; left: -9999px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.treffer { display: grid; gap: 4px; }
.treffer button { text-align: left; height: auto; min-height: 40px; padding: 6px 12px; }
.ios-anleitung { background: #fff7e0; border: 1px solid #ecd58a; border-radius: 10px; padding: 12px; }
.ios-anleitung ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.map-popup b { display: block; }
@media (min-width: 900px) { .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } }
.filterlink { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border: 1px solid #aab59c;
  border-radius: 999px; background: #fff; color: inherit; text-decoration: none; font-weight: 600; }
.filterlink.an { background: var(--gruen); color: #fff; border-color: var(--gruen); }
[hidden] { display: none !important; }
