/* Einsatzgebiet – Feuerwehr Ludesch (passend zum Template ffl) */
.eg { --eg-rot: var(--rot, #d42a2f); --eg-tinte: var(--tinte, #1a1d22); --eg-grau: var(--grau, #626873); --eg-flaeche: var(--flaeche, #f5f6f8); --eg-linie: var(--linie, #e4e6ea);
	color: var(--eg-tinte); margin: 24px 0; }
.eg h3 { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px; }
.eg h4 { font-size: .9rem; font-weight: 700; margin: 18px 0 8px; color: var(--eg-grau); }
.eg .eg-zwischen { margin-top: 26px; }
.eg-leer { background: var(--eg-flaeche); border-radius: 14px; padding: 18px 20px; }

/* Kennzahlen */
.eg-kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.eg-zahl { background: #fff; border: 1px solid var(--eg-linie); border-top: 5px solid var(--eg-rot); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.eg-zahl b { font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.eg-zahl span { font-weight: 700; margin-top: 2px; }
.eg-zahl small { color: var(--eg-grau); font-size: .82rem; margin-top: 4px; }

/* Kaesten */
.eg-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eg-karte-box { background: var(--eg-flaeche); border-radius: 16px; padding: 20px clamp(16px, 3vw, 24px); min-width: 0; }
.eg-notiz { font-size: .9rem; color: var(--eg-grau); margin: 10px 0 0; }

/* Balken */
.eg-balken { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.eg-balken li { display: grid; grid-template-columns: minmax(0, 11em) 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.eg-b-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eg-b-spur { height: 10px; background: #fff; border-radius: 5px; overflow: hidden; }
.eg-b-spur i { display: block; height: 100%; background: var(--eg-rot); border-radius: 5px; }
.eg-b-wert { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; min-width: 3.2em; }
.eg-b-wert small { font-weight: 400; color: var(--eg-grau); }

/* Verlauf */
.eg-linie { width: 100%; height: auto; display: block; overflow: visible; }
.eg-l-linie { fill: none; stroke: var(--eg-rot); stroke-width: 2; stroke-linejoin: round; }
.eg-l-flaeche { fill: var(--eg-rot); opacity: .08; }
.eg-l-ende { fill: var(--eg-rot); stroke: #fff; stroke-width: 2; }
.eg-ziel { fill: transparent; }
.eg-ziel:hover { fill: rgba(212, 42, 47, .18); }
.eg-achse { display: flex; justify-content: space-between; font-size: .8rem; color: var(--eg-grau); margin-top: 2px; }

/* Zahlenpaare und Liste */
.eg-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.eg-paar div { background: #fff; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.eg-paar b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.eg-paar span { font-size: .85rem; color: var(--eg-grau); }
.eg-liste { list-style: none; margin: 0; padding: 0; }
.eg-liste li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--eg-linie); font-size: .92rem; }
.eg-liste b { font-variant-numeric: tabular-nums; }

/* Karte */
.eg-karte { margin: 16px 0 0; background: #fff; border: 1px solid var(--eg-linie); border-radius: 16px; padding: 14px; }
.eg-karte h3 { margin: 4px 4px 12px; }
.eg-karte-flaeche { position: relative; border-radius: 10px; overflow: hidden; background: #e9ece6; }
.eg-karte-flaeche > img { width: 100%; height: auto; display: block; }
.eg-zustimmung { position: absolute; inset: auto 0 0 0; background: rgba(20, 23, 28, .86); color: #fff; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.eg-zustimmung p { margin: 0; flex: 1 1 260px; font-size: .88rem; line-height: 1.4; }
.eg-laden { background: var(--eg-rot); color: #fff; border: 0; border-radius: 999px; padding: 10px 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.eg-laden:hover, .eg-laden:focus-visible { background: #fff; color: var(--eg-rot); }
.eg-merken { font-size: .8rem; display: inline-flex; gap: 6px; align-items: center; opacity: .9; }
.eg-karte.ist-laedt .eg-zustimmung { opacity: .6; pointer-events: none; }
.eg-karte.ist-fehler .eg-zustimmung p::after { content: " – Die Karte konnte nicht geladen werden."; color: #ffb4b4; }
.eg-leaflet { height: min(70vh, 560px); min-height: 360px; width: 100%; }
.eg-leaflet img { max-width: none !important; }
.eg-karte figcaption { font-size: .85rem; color: var(--eg-grau); padding: 10px 4px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.eg-lg { display: inline-flex; align-items: center; gap: 6px; }
.eg-lg i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #c9cdd3; }
.eg-lg-h { background: #d42a2f; } .eg-lg-r { background: #1e6fd9; }
.eg-lg-fw { background: #14171c; border-radius: 4px !important; }
.eg-lg-g { width: 22px !important; height: 0 !important; border: 0 !important; border-top: 3px dashed #d42a2f !important; border-radius: 0 !important; box-shadow: none !important; }
.eg-fw-icon span { display: block; width: 28px; height: 28px; border-radius: 6px; background: #14171c; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.eg-fw-icon span::after { content: ""; position: absolute; left: 8px; top: 7px; width: 12px; height: 12px; background: #d42a2f; clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.eg-standort { width: 34px; height: 34px; background: #fff; border: 2px solid rgba(0, 0, 0, .2); border-radius: 4px; cursor: pointer; display: grid; place-items: center; padding: 0; }
.eg-standort span { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #1e6fd9; box-shadow: 0 0 0 3px #fff inset; background: #1e6fd9; }
.eg-standort.ist-sucht span { animation: eg-puls 1s infinite; }
@keyframes eg-puls { 50% { opacity: .3; } }

.eg-quellen { font-size: .8rem; color: var(--eg-grau); margin-top: 14px; }

@media (max-width: 860px) {
	.eg-raster { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.eg-balken li { grid-template-columns: minmax(0, 8.5em) 1fr auto; gap: 8px; }
	.eg-paar { grid-template-columns: 1fr; }
}
.eg h3 .eg-stand { font-size: .72rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--eg-grau); margin-left: 6px; }
.eg-pop { font-size: .88rem; line-height: 1.45; }
.eg-pop small { color: #626873; }
