feat(karte): lokale Deutschland-Basemap statt OpenStreetMap-Kacheln (keine externen CDN)

- static/geo/deutschland-bundeslaender.geojson (BKG, vereinfacht, ~40KB)
- map.js: Tile-Layer entfernt, Bundeslaender-GeoJSON per same-origin fetch
  als Vektor-Hintergrund; Detail-Minikarte als Deutschland-Locator
- hugo.toml: OSM tileURL entfernt, Attribution nur noch als Text
- CSS: neutraler Kartenhintergrund statt Tile-Grau
- Ergebnis: 0 externe Requests (per Playwright-Netzwerk-Audit verifiziert)
This commit is contained in:
maik
2026-08-19 13:16:16 +02:00
parent 7d2949bf42
commit bfcb2ce6c0
6 changed files with 73 additions and 20 deletions
+3 -1
View File
@@ -474,9 +474,11 @@ a:hover { color: var(--op-blau-dunkel); }
width: 100%;
height: 560px;
border: 2px solid var(--op-blau);
background: var(--op-papier);
background: #d9e1ea; /* neutrale Fläche „ausserhalb DE" (kein Tile-Grau) */
z-index: 0; /* unter der Sticky-Navbar halten */
}
/* Leaflet-eigener Container-Hintergrund (ohne Tiles) an den Hausstil angleichen */
.op-map .leaflet-container { background: #d9e1ea; }
.op-map--klein { height: 320px; }
/* Leaflet-Popup im Hausstil: Bild oben, gelber Body (wie im Original) */