/* Gemeinsame Stile für /betriebe/ und /orte/ (ergänzt css/style.css) */
.orte-main { padding-bottom: 48px; }
.krumen { font-size: .9rem; color: var(--muted); margin: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.krumen a { color: var(--muted); }
.orte-main h1 { color: var(--blue); font-size: clamp(1.7rem, 4.5vw, 2.5rem); line-height: 1.15; margin: 8px 0 4px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.orte-main h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.orte-main h3 { font-size: 1rem; margin: 16px 0 6px; color: var(--muted); }
.untertitel { color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.lead { font-size: 1.05rem; max-width: 48em; }
.klein, .zusatz, .anzahl { color: var(--muted); font-size: .9rem; }
.anzahl { font-weight: 500; }
.leer { color: var(--muted); font-style: italic; }

.zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px 28px; align-items: start; }

.fakten { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.fakten dt { color: var(--muted); font-size: .9rem; }
.fakten dd { margin: 0; overflow-wrap: anywhere; }

.ok-karte { height: 360px; border-radius: var(--radius); border: 1px solid var(--border); z-index: 0; margin: 12px 0; }
.leaflet-container { font: inherit; }

.oz { border-collapse: collapse; min-width: 260px; }
.oz th, .oz td { text-align: left; padding: 5px 14px 5px 0; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.oz th { font-weight: 500; color: var(--muted); }
.oz tr.heute th, .oz tr.heute td { font-weight: 700; color: var(--text); }
.jetzt { font-weight: 600; margin: 0 0 8px; }
.jetzt .auf { color: var(--green); }
.jetzt .zu { color: var(--text); }

.eintraege { list-style: none; padding: 0; margin: 0; }
.eintraege li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.eintraege li:last-child { border-bottom: 0; }
.eintraege .zusatz { margin-left: 6px; }
.spalten { columns: 3 180px; padding-left: 18px; margin: 0; }
.spalten li { break-inside: avoid; padding: 2px 0; }
.sprung { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 12px 0; }

.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0; }
.kachel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; }
.kachel .zahl { font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.kachel span:last-child { color: var(--muted); font-size: .9rem; }

.korrektur { background: var(--wheat-soft); border-left: 5px solid var(--wheat); border-radius: 8px; padding: 6px 18px 14px; margin-top: 32px; }
.korrektur h2 { margin-top: 12px; }
.schritte li { margin-bottom: 6px; }
.quelle { color: var(--muted); font-size: .9rem; margin-top: 36px; }

/* Betriebe-Karte */
.suche { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin: 18px 0 12px; }
.suche label { display: flex; flex-direction: column; font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; gap: 4px; }
.suche input[type=search], .suche select { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; padding: 7px 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); min-width: 0; }
.suche input[type=search] { width: min(320px, 100%); }
.suche .schalter { flex-direction: row; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--text); font-weight: 600; padding: 7px 0; }
.suche .schalter input { width: 18px; height: 18px; accent-color: var(--blue); }
.treffer { margin: 8px 0; }
.ergebnisse { list-style: none; padding: 0; margin: 12px 0; }
.ergebnisse li { padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ergebnisse .info { color: var(--muted); font-size: .9rem; }
.ergebnisse .offen { color: var(--green); font-weight: 600; font-size: .85rem; }
.mehr { font: inherit; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--blue); background: none; color: var(--blue); font-weight: 600; cursor: pointer; }
input:focus-visible, select:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cluster { background: rgba(13,74,143,.88); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.gemeinden li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Karten-Check */
.check { list-style: none; padding: 0; margin: 8px 0 14px; }
.check li { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.check .mark { display: inline-block; width: 1.4em; font-weight: 700; }
.check .ok .mark { color: var(--green); }
.check .fehlt .mark { color: var(--text); }
.check .hilfe { display: block; margin-left: 1.4em; color: var(--muted); font-size: .9rem; }
.check code, .eintraege code { font-size: .85em; background: rgba(0,0,0,.06); padding: 0 4px; border-radius: 4px; }
.aktionen { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.aktionen .btn { display: inline-block; }
.kc-liste li > a { align-self: center; font-weight: 600; }

/* Tabellen */
.tabelle-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--border); border-radius: var(--radius); }
.tabelle-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
table.daten { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-size: .95rem; }
table.daten th, table.daten td { text-align: right; padding: 7px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.daten th:first-child, table.daten td:first-child, table.daten tbody th { text-align: left; }
table.daten thead th { position: sticky; top: 0; background: var(--card); font-size: .8rem; color: var(--muted); font-weight: 600; white-space: normal; vertical-align: bottom; }
table.daten tbody th { font-weight: 500; }
table.daten tbody tr:hover { background: rgba(13,74,143,.05); }
table.leben tbody th .zusatz { font-size: .8rem; }

/* Leben: Filter */
.suche .haken { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; flex-basis: 100%; }
.suche .haken legend { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 0; margin-bottom: 4px; }
.suche .haken legend select { text-transform: none; padding: 2px 4px; font-size: .9rem; }
.suche .haken .schalter { padding: 2px 0; font-weight: 500; }
#karten-check, section[id] { scroll-margin-top: 90px; }

/* Regional einkaufen */
.aufruf { background: var(--wheat-soft); border-left: 5px solid var(--wheat); border-radius: 8px; padding: 12px 16px; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.reg-liste { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.reg-karte { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 90px; }
.reg-karte:target { outline: 3px solid var(--green); }
.reg-karte h3 { margin: 0; font-size: 1.1rem; color: var(--text); overflow-wrap: anywhere; }
.reg-karte .info { margin: 0; color: var(--muted); font-size: .92rem; }
.reg-karte .art, .reg-karte .bio, .reg-karte .neu { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.reg-karte .bio { color: var(--green); }
.reg-karte.ausser-saison { opacity: .7; }
.reg-karte .auf { color: var(--green); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.knopf { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; font-size: .9rem; text-decoration: none; }
.knopf:hover { background: var(--blue); color: var(--bg); }
.knoepfe .knopf:first-child { background: var(--blue); color: var(--bg); }
.cluster.gruen { background: rgba(46,125,50,.9); }
table.saison td, table.saison th { text-align: center; padding: 6px 4px; }
table.saison tbody th { text-align: left; white-space: nowrap; }
table.saison td.an { color: var(--green); }

table.daten.links th, table.daten.links td { text-align: left; white-space: normal; vertical-align: top; }

/* Ratskarte */
.rk-liste { list-style: none; padding: 0; margin: 12px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.rk-liste li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; }
.rk-liste p { margin: 2px 0; }
.rk-titel { font-weight: 600; overflow-wrap: anywhere; }
.rk-ziel { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.aufruf.block { display: block; }
#rk-filter label { min-width: 0; max-width: 100%; } #rk-filter select { max-width: 100%; }

/* Veranstaltungen */
.vk-liste { list-style: none; padding: 0; margin: 12px 0 32px; display: flex; flex-direction: column; gap: 10px; }
.vk-monat h2 { margin: 18px 0 2px; font-size: 1.2rem; }
.vk-termin { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; }
.vk-termin h3 { margin: 2px 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.vk-termin p { margin: 2px 0; }
.vk-zeit { font-weight: 600; color: var(--muted); font-size: .92rem; }
.vk-ort { overflow-wrap: anywhere; }
.vk-art { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-left: 8px; color: var(--blue); }
.spalten { columns: 14rem; padding-left: 1.2em; }
.termine-box .termine-liste { padding-left: 1.2em; }
.termine-box .termine-liste li { margin: 4px 0; overflow-wrap: anywhere; }
.termine-box .leer { list-style: none; margin-left: -1.2em; color: var(--muted); }
#vk-filter label { min-width: 0; max-width: 100%; } #vk-filter select { max-width: 100%; }
.url-lang { overflow-wrap: anywhere; word-break: break-all; }
