/* Karte (Content Block hilzinger/osmmap): Vorschau vor der Aktivierung, danach Leaflet */
.osmmap {
    position: relative;
    z-index: 0; /* eigener Stapelkontext: Leaflet-Ebenen (z-index bis 1000) bleiben unter dem Seitenkopf */
    width: 100%;
}

.osmmap-preview,
.osmmap-map {
    width: 100%;
    height: 100%;
}

.osmmap-preview {
    background-position: center;
    background-size: cover;
}

.osmmap-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
}

.osmmap-overlay h3 {
    color: #fff;
}

/* Canvas begrenzt Bilder auf max-width: 100 % – das zerschneidet die Kartenkacheln */
.osmmap-map img {
    max-width: none;
}
