/* Thüringer Kleinstädte: Ergänzungen zu basis.css (= stil.css der Bergdörfer, beim Bau mitkopiert).
   Prof. Dr. Reinhard König in Zusammenarbeit mit Claude von Anthropic · CC BY 4.0 */

/* ÖPNV-Halte: Kreis = Bus/Tram, Quadrat = Bahn; Größe nach Abfahrten 6–20 Uhr */
.plan #oepnv-halte .halt > * { fill: #fff; stroke: #25278a; stroke-width: 8; }
.plan #oepnv-halte .halt.bahn > * { fill: #25278a; stroke: #fff; }
.plan #oepnv-halte .halt { cursor: help; }
.kennzahl { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 14px; margin: 0; }
.kennzahl dt { color: var(--leise); } .kennzahl dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 13px; }
.rangbalken { display: grid; grid-template-columns: 1fr 6rem 2.5rem; gap: 3px 10px; align-items: center; font-size: 13px; }
.rangbalken .spur { height: 8px; background: var(--flaeche); } .rangbalken .spur i { display: block; height: 100%; background: var(--akzent); border-radius: 0 3px 3px 0; }
.rangbalken .wert { text-align: right; font-family: var(--mono); }
.wand-ebene .schild.rang { font: 400 13px/1.2 var(--schrift); color: var(--tinte); }

/* Gebäude nach Nutzung: dieselben Pfade, nur eingefärbt (Gruppen n-<klasse> in plan.svg) */
.plan.e-nutzung #gebaeude, .einzel-plan.e-nutzung #gebaeude { display: inline; }
.plan.e-nutzung .n-wohnen { fill: #5b5b63; } .plan.e-nutzung .n-mischung { fill: #c9748a; } .plan.e-nutzung .n-handel { fill: #d1495b; }
.plan.e-nutzung .n-oeffentlich { fill: #2e86ab; } .plan.e-nutzung .n-religion { fill: #7b4fb5; } .plan.e-nutzung .n-gewerbe { fill: #8d6e63; }
.plan.e-nutzung .n-landwirtschaft { fill: #5f9a43; } .plan.e-nutzung .n-neben { fill: #c4c4ca; } .plan.e-nutzung .n-unbekannt { fill: #9a9aa2; }

/* Ebenen über dem Plan */
.plan #wahllokale .lokal circle { stroke: #fff; stroke-width: 7; }
.plan #wahllokale .lokal.mehrdeutig circle { stroke-dasharray: 14 8; }
.plan #wahllokale .lokal text { font: 500 34px/1 var(--mono); fill: #fff; text-anchor: middle; paint-order: stroke; stroke: rgba(0,0,0,.55); stroke-width: 5px; pointer-events: none; }
.plan #wahllokale .lokal.hervor circle { stroke: #ff0; stroke-width: 14; }
.plan #wahllokale .lokal { cursor: help; }
.box .ebenen-leiste .legende-nutzung { display: none; }

i.rund { border-radius: 50%; display: inline-block; width: 11px; height: 11px; margin-right: 4px; vertical-align: -1px; }
.legende-nutzung i.rund { border: 0; }

/* Ergebnis der Gemeinde als Balken (Parteifarbe am Balken, Text in Textfarbe) */
.balken { display: grid; gap: 4px; max-width: 640px; }
.balken-zeile { display: grid; grid-template-columns: 11rem 1fr 4.5rem; align-items: center; gap: 10px; font-size: 14px; }
.balken-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.balken-spur { height: 12px; background: var(--flaeche); }
.balken-spur i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.balken-wert { text-align: right; font-family: var(--mono); font-size: 13px; }

/* Tabelle der Wahlbezirke */
.tabelle-rahmen { overflow-x: auto; max-height: 70vh; overflow-y: auto; border: 1px solid var(--linie); }
.tabelle { border-collapse: collapse; font-size: 13px; width: 100%; }
.tabelle th, .tabelle td { padding: 4px 8px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.tabelle th { position: sticky; top: 0; background: var(--grund); font-weight: 500; white-space: nowrap; }
.tabelle .zahl { text-align: right; font-family: var(--mono); white-space: nowrap; }
.tabelle tr.ohne-ort td { color: var(--leise); }
.tabelle tbody tr:hover td { background: var(--flaeche); }
.kenn.spalten { columns: 3 12rem; }
.kenn.klein { font-size: 13px; }
.einzel-seite .zent-wahl { margin: 4px 0 10px 24px; }
.einzel-seite .zent-wahl label { display: block; }
.einzel-unten section { margin-bottom: 14px; }
.kennzahl-gross { margin: 0 0 6px; font-size: 15px; } .kennzahl-gross b { font: 500 32px/1 var(--schrift); }
