/*
 * Karten (ADR-082/084, MapLibre) – abgeleitet aus dem Designsystem: Karte wie Firmenkarten (Linie #DCE1E3, r 10),
 * Punkte Petrol #1D4E5A mit weißem Rand, gekennzeichnete Einträge Ocker #DFA13A, Popup wie Dropdown (sh-2).
 */
.oaf-map { margin: 0 0 16px; font-family: var(--oaf-font, "Geist", system-ui, sans-serif); }
.oaf-map__canvas { height: 520px; border: 1px solid #DCE1E3; border-radius: 10px; overflow: hidden; background: #E7EBEA; z-index: 0; }
.oaf-map__canvas[hidden] { display: none; }
@media (max-width: 767px) { .oaf-map__canvas { height: 380px; } }
.oaf-map__note { margin: 6px 2px 0; font-size: 13px; color: #55626A; }

.oaf-pin,
.oaf-map button.oaf-pin,
.oaf-map button.oaf-pin:hover,
.oaf-map button.oaf-pin:focus { display: block; width: 22px; height: 22px; min-width: 0; min-height: 0; margin: 0; padding: 0; background: none; border: 0; border-radius: 50%; box-shadow: none; cursor: pointer; line-height: 0; }
.oaf-map button.oaf-pin:hover span { transform: scale(1.15); }
.oaf-pin span { transition: transform .12s ease; }
span.oaf-pin { cursor: default; }
.oaf-pin span { display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: #1D4E5A; border: 3px solid #FFFFFF; box-shadow: 0 1px 4px rgba(20, 28, 31, .35); box-sizing: border-box; }
.oaf-pin--s span { background: #DFA13A; }
/* Gruppen (ADR-085): Kreis mit Zahl, Petrol mit weißem Rand und hellem Hof; Größe nach Anzahl; Ocker-Ring, wenn ein gekennzeichneter Eintrag dabei ist */
.oaf-map button.oaf-cluster,
.oaf-map button.oaf-cluster:hover,
.oaf-map button.oaf-cluster:focus { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; min-width: 0; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 3px solid #FFFFFF; background: #1D4E5A; color: #FFFFFF; box-shadow: 0 0 0 5px rgba(29, 78, 90, .18), 0 1px 4px rgba(20, 28, 31, .3); font: 600 13px/1 var(--oaf-font, "Geist", system-ui, sans-serif); cursor: pointer; transition: background-color .12s ease; } /* nie „transform“ animieren: MapLibre verschiebt Marker per transform – sonst schwingen die Kreise beim Ziehen nach */
.oaf-map button.oaf-cluster--m { width: 40px; height: 40px; font-size: 14px; }
.oaf-map button.oaf-cluster--l { width: 48px; height: 48px; font-size: 15px; }
.oaf-map button.oaf-cluster--s { box-shadow: 0 0 0 4px #DFA13A, 0 1px 4px rgba(20, 28, 31, .3); }
.oaf-map button.oaf-cluster:hover { background: #153B45; }
.oaf-map button.oaf-cluster span { transition: transform .12s ease; }
.oaf-map button.oaf-cluster:hover span { transform: scale(1.1); }
.oaf-map button.oaf-cluster:focus-visible { outline: 2px solid #2B7A8C; outline-offset: 4px; }
.oaf-pin:focus-visible span { outline: 2px solid #2B7A8C; outline-offset: 2px; }

.oaf-map .maplibregl-popup-content { padding: 12px 30px 12px 14px; border-radius: 10px; box-shadow: 0 12px 32px rgba(20, 28, 31, .16); font: 400 14px/1.4 var(--oaf-font, "Geist", system-ui, sans-serif); color: #141C1F; }
.oaf-map .maplibregl-popup-close-button { width: 28px; height: 28px; font-size: 20px; line-height: 1; color: #55626A; border-radius: 0 10px 0 6px; background: none; border: 0; }
.oaf-map .maplibregl-popup-close-button:hover { background: #F0F2F1; color: #141C1F; }
.oaf-mpop { display: flex; flex-direction: column; gap: 3px; }
.oaf-mpop__tag { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 1px 6px; border: 1px solid #141C1F; border-radius: 4px; margin-bottom: 2px; }
.oaf-map a.oaf-mpop__name { font-weight: 600; font-size: 15px; color: #141C1F; text-decoration: none; }
.oaf-map a.oaf-mpop__name:hover { text-decoration: underline; }
.oaf-mpop__stars { color: #C17E12; font-weight: 600; }
.oaf-mpop__muted { color: #55626A; font-size: 13px; }
.oaf-mpop__links { margin-top: 4px; font-size: 13px; }
.oaf-map .oaf-mpop__links a { color: #1D4E5A; text-decoration: underline; text-underline-offset: 3px; }
.oaf-map .maplibregl-ctrl-attrib { font-size: 10.5px; }
.oaf-map .maplibregl-ctrl-group { border-radius: 6px; box-shadow: 0 1px 4px rgba(20, 28, 31, .18); }
.oaf-map .maplibregl-ctrl-group button,
.oaf-map .maplibregl-ctrl-group button:focus,
.oaf-map .maplibregl-ctrl button.maplibregl-ctrl-attrib-button { width: 32px; height: 32px; min-width: 0; min-height: 0; margin: 0; padding: 0; background-color: #FFFFFF; color: #141C1F; border: 0; border-radius: 0; box-shadow: none; }
.oaf-map .maplibregl-ctrl button.maplibregl-ctrl-attrib-button { width: 24px; height: 24px; background-color: transparent; }
.oaf-map .maplibregl-ctrl-group button + button { border-top: 1px solid #DCE1E3; }
.oaf-map .maplibregl-ctrl-group button:hover { background-color: #F0F2F1; }
.oaf-map .maplibregl-canvas:focus-visible { outline: 2px solid #2B7A8C; outline-offset: -2px; }

/* Profil: gezeichnet, sobald sichtbar */
.oaf-map--profile .oaf-map__canvas { height: 280px; }

/* Live-Abgleich (ADR-083): kurzer Hinweis während des Ladens */
.oaf-map.is-loading .oaf-map__canvas { box-shadow: 0 0 0 2px rgba(29, 78, 90, .25); }
.oaf-map.is-loading .oaf-map__note::after { content: " · wird aktualisiert …"; }
.oaf-map__more { margin: 4px 2px 16px; font-size: 14px; color: #55626A; }
