@charset "UTF-8";

#map-specialcontainer {
  position: fixed;
  top: 0.5rem;
  right: 3rem;
  left: calc(785px + 2.5rem);
  max-width: none;
  height: calc(100vh - 1rem);
  z-index: 99;
  opacity: 0;
  animation: sponsorFadeIn 2s ease-in-out forwards;
  border: 0 solid red;
  box-sizing: border-box;
  background: #fff;
  overflow: hidden;
}

#map-specialcontainer .map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-13);
}

#map-specialcontainer #map {
  width: 100%;
  height: 100%;
  margin-left: .625em;
  max-width: none;
  z-index: 1;
}

#map {
  width: calc(100% - 4rem);
  height: calc(100vh - 1rem);
  margin-left: .7rem;
  max-width: 800px;
  z-index: 0;
}

@keyframes sponsorFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================
   MAP SPECIAL CONTAINER – RESPONSIVE
========================= */

@media (max-width: 1400px) {
  #map-specialcontainer {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #map-specialcontainer {
    display: none !important;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {
  #map-specialcontainer {
    display: none !important;
  }
}

/* =========================
   LEAFLET CONTROLS
========================= */

.leaflet-left {
  left: auto !important;
  right: 0.5rem !important;
}

.leaflet-left .leaflet-control {
  margin-left: 0 !important;
  margin-right: 0.5rem !important;
}

.leaflet-top .leaflet-control {
  margin-top: 3px !important;
}

/* =========================
   CHROME / EDGE FIX:
   clickable profile name labels
========================= */

/* =========================
   MAP PROFILE LABELS
========================= */

.leaflet-marker-icon.map-label {
  overflow: visible !important;
  pointer-events: none !important;
  background: transparent !important;
  border: 0 !important;
  cursor: default !important;

  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: center !important;
}

.leaflet-marker-icon.map-label.leaflet-interactive {
  pointer-events: none !important;
  cursor: default !important;
}

.leaflet-marker-icon.map-label a.label-link {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  min-height: 0 !important;

  padding: 2px 5px 3px;
  box-sizing: border-box;

  pointer-events: auto !important;
  cursor: pointer !important;

  color: inherit;
  text-decoration: none;
  text-align: center !important;
}

.leaflet-marker-icon.map-label .name {
  display: inline-block;
  font-size: 0.72rem;
  line-height: 1.05;
  letter-spacing: 0.065rem;
  white-space: nowrap;
  pointer-events: auto !important;
}


.leaflet-marker-icon.map-label .distance {
  display: inline-block;
  margin-top: 0.08rem;
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.055rem;
  white-space: nowrap;
  pointer-events: auto !important;
}

.map-label.is-map-label-on-top {
  z-index: 1000000 !important;
}

.map-label.is-map-label-on-top .label-link,
.map-label.is-map-label-on-top .name {
  position: relative;
  z-index: 1000000;
}

/* Roter Ring / Kamerapunkt: kein Finger-Cursor */
.leaflet-interactive.kamerapunkt,
path.leaflet-interactive.kamerapunkt {
  cursor: default !important;
}

.map-label.is-map-label-on-top .label-link,
.map-label.is-map-label-on-top .name {
  position: relative;
  z-index: 1000000;
}

/* Nur echte Auswahl / Filtertreffer */
.leaflet-marker-icon.map-label .name.highlighted,
.leaflet-marker-icon.map-label .name.is-fav.highlighted {
  display: inline-block;
  padding: 2px 5px 3px;
  background: var(--color-19, #a00101);
  color: #fff !important;
  border-radius: 0;
}