/* Einsatzkarte */
.ffhi-map { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid #E2DED7; background: #E9E6DF; font-family: inherit; touch-action: none; }
.ffhi-map-pane { position: absolute; inset: 0; cursor: grab; }
.ffhi-map-pane:active { cursor: grabbing; }
.ffhi-map-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; user-select: none; -webkit-user-drag: none; }
.ffhi-map-pins { position: absolute; inset: 0; pointer-events: none; }
.ffhi-pin {
	position: absolute; left: -14px; top: -14px;
	width: 28px; height: 28px; padding: 0;
	border: 3px solid #fff; border-radius: 50%;
	background: #A3121A; color: #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,.35);
	font: 700 13px/1 system-ui, sans-serif;
	cursor: pointer; pointer-events: auto;
}
.ffhi-pin--multi { left: -17px; top: -17px; width: 34px; height: 34px; font-size: 14px; }
.ffhi-pin--area { background: #fff; color: #A3121A; border-color: #A3121A; }
.ffhi-pin--area:not(.ffhi-pin--multi) { left: -11px; top: -11px; width: 22px; height: 22px; }
.ffhi-pin:focus-visible { outline: 3px solid #1B1D1F; outline-offset: 2px; }
.ffhi-map-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.ffhi-map-zoom button { width: 44px; height: 44px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #1B1D1F; font: 600 22px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.ffhi-map-attr { position: absolute; right: 0; bottom: 0; z-index: 2; padding: 2px 6px; background: rgba(255,255,255,.85); font-size: 11px; color: #333; }
.ffhi-map-attr a { color: #333; }
.ffhi-map-hint { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 6px 10px; background: rgba(27,29,31,.85); color: #fff; border-radius: 6px; font-size: 13px; pointer-events: none; }
.ffhi-map-popup { position: absolute; z-index: 3; width: 260px; max-height: 240px; overflow: auto; padding: 12px 14px; background: #fff; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-size: 14px; line-height: 1.4; color: #1B1D1F; }
.ffhi-map-popup ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ffhi-map-popup li span { display: block; color: #5A5A5A; font-size: 13px; }
.ffhi-map-popup a { font-weight: 600; color: #A3121A; }
.ffhi-map-note { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: #5A5A5A; }
.ffhi-map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: #5A5A5A; margin: 0 0 12px; }
.ffhi-legend-pin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: #A3121A; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); vertical-align: middle; }
.ffhi-legend-pin--area { background: #fff; border-color: #A3121A; margin-left: 8px; }
.ffhi-map-close { position: absolute; right: 4px; top: 2px; width: 32px; height: 32px; border: 0; background: none; font-size: 22px; cursor: pointer; color: #5A5A5A; }
.ffhi-map-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; background: repeating-linear-gradient(135deg, #E6E2DB 0, #E6E2DB 12px, #DEDAD2 12px, #DEDAD2 24px); color: #1B1D1F; }
.ffhi-map-gate p { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.5; }
.ffhi-map-gate label { font-size: 14px; display: flex; gap: 6px; align-items: center; }
.ffhi-map-gate .btn { min-height: 48px; padding: 12px 24px; border: 0; border-radius: 6px; background: #A3121A; color: #fff; font: 600 16px/1 inherit; font-family: inherit; cursor: pointer; }

/* Statistik */
.ffhi-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.ffhi-stat-card { background: #fff; border: 1px solid #E2DED7; border-radius: 8px; padding: 18px 20px; min-width: 0; }
.ffhi-stat-card h3 { margin: 0 0 12px; font-size: 22px; }
.ffhi-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ffhi-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; font-size: 15px; }
.ffhi-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ffhi-bar-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.ffhi-bar-track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: #EFECE6; overflow: hidden; }
.ffhi-bar-fill { display: block; height: 100%; border-radius: 4px; background: #A3121A; }
.ffhi-bar-label a { color: inherit; text-decoration: underline; text-decoration-color: #D9D4CC; text-underline-offset: 3px; }
.ffhi-bar-label a:hover { color: #A3121A; text-decoration-color: currentColor; }
a.ffhi-month { color: inherit; text-decoration: none; }
a.ffhi-month:hover i { background: #7E0E14; }
.ffhi-bars-more { margin-top: 10px; }
.ffhi-bars-more > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--ffhi-accent, #A3121A); list-style: none; }
.ffhi-bars-more > summary::-webkit-details-marker { display: none; }
.ffhi-bars-more > summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.ffhi-bars-more[open] > summary::before { transform: rotate(-135deg) translateY(-2px); }
.ffhi-bars-more .ffhi-more-hide, .ffhi-bars-more[open] .ffhi-more-show { display: none; }
.ffhi-bars-more[open] .ffhi-more-hide { display: inline; }
.ffhi-bars-more > summary:hover { text-decoration: underline; }
.ffhi-bars-more > summary:focus-visible { outline: 2px solid #A3121A; outline-offset: 2px; }
.ffhi-bars-more[open] > summary { margin-bottom: 8px; }
.ffhi-bar-sub { grid-column: 1 / -1; font-size: 12px; color: #5A5A5A; }
.ffhi-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; height: 140px; }
.ffhi-month { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; font-size: 11px; color: #5A5A5A; }
.ffhi-month b { font-size: 12px; color: #1B1D1F; }
.ffhi-month i { display: block; width: 100%; max-width: 28px; min-height: 2px; border-radius: 3px 3px 0 0; background: #A3121A; }
.ffhi-stat-total { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.ffhi-stat-note { margin: 0 0 12px; font-size: 13px; color: #5A5A5A; }
.ffhi-stat-total strong { font-size: 44px; line-height: 1; font-weight: 800; }

/* Ausgeblendete Felder (Straße/Rhein-km) wirklich ausblenden */
.ffhi-geo [hidden] { display: none !important; }
