/* Karten-Bedienung (MapLibre). Die Seitenabschnitte der Kartenseite (.mvm-seo-*)
   stehen seit 2026-09-30 in scss/map-page.scss -> muvamo-map-page.css. */

/**
 * muvamo-maplibre.css — Klassen-Parität für die MapLibre-Demo (/map-demo/).
 *
 * Unser Map-Styling in main.scss/muvamo.css hängt an Mapbox' generierten Klassen
 * (`mapboxgl-ctrl`, `mapboxgl-marker`, …). MapLibre generiert dieselben Elemente
 * mit `maplibregl-*`-Präfix, deshalb greift dort nichts davon. Diese Datei
 * spiegelt genau die betroffenen Regeln — 1:1 dieselben Werte wie in muvamo.css,
 * nur mit MapLibre-Präfix. Sie wird ausschliesslich auf /map-demo/ geladen.
 *
 * Produktiv-Gegenstücke (Stand 2026-07-29): scss/main.scss Zeilen ~3755, ~3765,
 * ~3789, ~3793, ~4205, ~8014, ~9712. Ändert sich dort etwas, hier nachziehen —
 * oder, wenn MapLibre produktiv wird, die Selektoren in main.scss um die
 * maplibre-Variante ergänzen und diese Datei löschen.
 */

/* main.scss ~4205: .mapboxgl-control-container */
.maplibregl-control-container {
  z-index: 9999;
}

/* main.scss ~3765: Control-Ecken über die Karte, unter Menü/Suche */
.maplibregl-ctrl-bottom,
.maplibregl-ctrl-bottom-left,
.maplibregl-ctrl-bottom-right,
.maplibregl-ctrl-left,
.maplibregl-ctrl-right,
.maplibregl-ctrl-top,
.maplibregl-ctrl-top-left,
.maplibregl-ctrl-top-right {
  z-index: 999 !important;
}

/* main.scss ~3789: Button-Grösse der Control-Gruppen (Zoom, Suche, Filter, GPS) */
.maplibregl-ctrl-group button {
  height: 40px !important;
  width: 40px !important;
}

/* main.scss ~3793: Icon-Font in unseren eigenen Controls */
.maplibregl-ctrl .et-pb-icon {
  font-size: var(--mv-fs-2);
  color: var(--mv-blue);
}

/* main.scss ~8014: GPS-Punkt über den Basemap-Layern, unter den Markern.
   MapLibre kennt keine gemeinsame `maplibregl-user-location`-Klasse, sondern nur
   die beiden konkreten Elemente — deshalb hier zwei Selektoren statt einem. */
.maplibregl-user-location-dot,
.maplibregl-user-location-accuracy-circle {
  z-index: 145;
}

/* main.scss ~3755: Mapbox' Gesten-Overlay wird produktiv ausgeblendet.
   MapLibres Pendant heisst .maplibregl-cooperative-gesture-screen — die
   cooperativeGestures-Logik selbst bleibt aktiv, nur der Hinweis-Layer geht weg. */
.maplibregl-cooperative-gesture-screen {
  z-index: var(--mv-z-overlay) !important;
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
  display: none !important;
  visibility: hidden !important;
}

/* main.scss ~9712: Itinerary-Übersicht zeigt Spot-Marker erst ab Zoom 12.5 */
.muvamo_itinerary_map:not(.itz-show-markers) .maplibregl-marker {
  display: none !important;
}

/* Attribution muss sichtbar bleiben (© OpenFreeMap © OpenMapTiles © OSM).
   Die Bottom-Card-Leiste liegt auf z-index 9999 und würde sie sonst je nach
   Kartenhöhe überdecken. */
.maplibregl-ctrl-bottom-right {
  z-index: var(--mv-z-dialog) !important;
}

.maplibregl-ctrl-attrib {
  font-size: var(--mv-fs-1);
}

/* ------------------------------------------------------------------------
 * Performance-Build (muvamo-maplibre.js, P8): Marker-Scaling über EINE
 * CSS-Variable am #map statt eines Inline-transform je Marker.
 * Spezifität (1,2,0) schlägt `.muvamoMarkerOuter .muvamoMarker:hover` wie
 * vorher der Inline-Style; das `transform: scale(1)!important` des Highlights
 * gewinnt weiterhin. Ohne .mvm-scale (Marker-Spread > 50 km) gilt das
 * Standard-CSS wie in der Produktiv-Karte ohne Scaling.
 * ---------------------------------------------------------------------- */
#map .muvamoMarkerOuter .muvamoMarker {
  transform-origin: center bottom;
}

#map.mvm-scale .muvamoMarkerOuter .muvamoMarker {
  transform: scale(var(--mvm-marker-scale, 1));
}

/* Mindestgrößen (UX-Build, #map.mvm-ci): Symbol-Marker ohne Foto nie unter 0.75,
   Foto-Marker nie unter 0.5 - sonst werden sie rausgezoomt zu namenlosen Punkten.
   Werte gespiegelt in MVM_MIN_SCALE (muvamo-maplibre.js, Kollisionsprüfung). */
#map.mvm-ci.mvm-scale .muvamoMarkerOuter .muvamoMarker.size1,
#map.mvm-ci.mvm-scale .muvamoMarkerOuter .muvamoMarker.size0 {
  transform: scale(max(var(--mvm-marker-scale, 1), 0.75));
}

#map.mvm-ci.mvm-scale .muvamoMarkerOuter .muvamoMarker.size2,
#map.mvm-ci.mvm-scale .muvamoMarkerOuter .muvamoMarker.size3 {
  transform: scale(max(var(--mvm-marker-scale, 1), 0.5));
}

/* Blickrichtungs-Kegel am GPS-Punkt (assets/muvamo-maplibre-heading.js): unter dem
   Standortpunkt (z-index 145, s. o.), über den Muvamo-Markern. */
.muvamo-user-heading {
  z-index: 144;
  pointer-events: none;
  width: 110px;
  height: 110px;
}

.muvamo-user-heading svg {
  display: block;
}

/* ==========================================================================
 * UX-Umbau A/B (2026-09-25) - NUR optimierter Build: muvamo-maplibre.js setzt
 * #map.mvm-ci (CI-Look) und .mvm-hier (Zoom-Rangfolge, Vollbild + Modal).
 * Baseline und Produktiv-Karte sind nicht betroffen.
 * ========================================================================== */

/* A2: Rangfolge per Kollision (.mvm-collide aus declutterMarkers()) + feste
   Zoom-Schwelle nur für Hotels (z14); Fotopunkte size0 seit 2026-09-26 ohne Schwelle (Wunsch: POIs immer sichtbar).
   !important, weil filterMarkers() Inline-display setzt.
   Mit aktivem Filter (.mvm-filtered) ist alles Gefilterte sichtbar; das gerade
   ausgewählte Popup (.highlight) ist immer sichtbar. In der Übersicht bleiben
   einzeln stehende Spots (.mvm-solo) und Guide-Icons (.mvm-guide) sichtbar. */
#map.mvm-hier:not(.mvm-overview) .muvamoMarkerOuter.mvm-collide:not(.highlight):not(.mvm-guide),
#map.mvm-hier:not(.mvm-filtered):not(.mvm-z14) .muvamoMarkerOuter.mvm-hotel:not(.highlight):not(.mvm-solo),
#map.mvm-hier.mvm-overview .muvamoMarkerOuter:not(.highlight):not(.mvm-solo):not(.mvm-guide):not(.mvm-imploding) {
  display: none !important;
}

/* Must-Sees + Awards verschwinden nie (declutterMarkers): bei Platzmangel
   kleiner Fotopunkt statt ausgeblendet. Spezifität schlägt die Scale-Regeln. */
#map.mvm-ci.mvm-scale .muvamoMarkerOuter.mvm-mini .muvamoMarker,
#map.mvm-ci .muvamoMarkerOuter.mvm-mini .muvamoMarker {
  transform: scale(0.36) !important;
}

#map.mvm-ci .muvamoMarkerOuter.mvm-mini.mvm-size1 .muvamoMarker {
  transform: scale(0.68) !important;
}

#map.mvm-ci .muvamoMarkerOuter.mvm-mini:not(.highlight) {
  z-index: 95 !important;
}

/* B: Steuerelemente - runde weiße Knöpfe, weicher Schatten, CI-Blau */
#map.mvm-ci .maplibregl-ctrl-top-left .maplibregl-ctrl,
#map.mvm-ci .maplibregl-ctrl-top-right .maplibregl-ctrl {
  margin: var(--mv-space-3) var(--mv-space-3) 0;
}

/* KEIN overflow:hidden - das Filter-Dropdown hängt IN der Control-Gruppe
   (addFilterDropdowns: .after() am Filter-Knopf) und würde abgeschnitten. */
#map.mvm-ci .maplibregl-ctrl-group {
  border: 0;
  border-radius: var(--mv-radius-card);
  box-shadow: 0 6px 18px rgba(38, 50, 80, 0.16);
  background: var(--mv-white);
}

#map.mvm-ci .maplibregl-ctrl-group button:first-child {
  border-radius: var(--mv-radius-card) var(--mv-radius-card) 0 0;
}

#map.mvm-ci .maplibregl-ctrl-group button:last-of-type {
  border-radius: 0 0 var(--mv-radius-card) var(--mv-radius-card);
}

#map.mvm-ci .maplibregl-ctrl-group button:only-of-type {
  border-radius: var(--mv-radius-card);
}

/* Zoom-Gruppe: nach „−“ folgt der (ungedreht versteckte) Kompass - „−“ ist dann
   optisch der letzte Knopf und braucht die runden Ecken (Hover war sonst eckig) */
#map.mvm-ci:not(.mvm-rotated) .maplibregl-ctrl-zoom-out {
  border-radius: 0 0 var(--mv-radius-card) var(--mv-radius-card);
}

#map.mvm-ci .maplibregl-ctrl-group button {
  width: 44px !important;
  height: var(--mv-tap) !important;
}

#map.mvm-ci .maplibregl-ctrl-group button + button {
  border-top: var(--mv-border) solid #eef0f5;
}

#map:not(.mvm-touch).mvm-ci .maplibregl-ctrl-group button:hover {
  background-color: var(--mv-peach-light);
}

/* GPS-Symbol (schwarzes SVG aus MapLibre) im Ruhezustand in Muvamo-Blau */
#map.mvm-ci .maplibregl-ctrl-geolocate:not(.maplibregl-ctrl-geolocate-active):not(.maplibregl-ctrl-geolocate-background):not(.maplibregl-ctrl-geolocate-waiting) .maplibregl-ctrl-icon {
  filter: invert(45%) sepia(19%) saturate(1395%) hue-rotate(187deg) brightness(92%) contrast(88%);
}

/* aktiver Filter: Pfirsich statt Vollblau (CI-Akzent) */
#map.mvm-ci .muvamo_filter.loaded {
  background-color: var(--mv-peach) !important;
}

#map.mvm-ci .muvamo_filter.loaded .et-pb-icon {
  color: var(--mv-blue) !important;
}

/* Suche */
#map.mvm-ci #mapsearch input {
  top: 12px;
  left: 68px;
  height: var(--mv-tap);
  border-radius: var(--mv-radius-card);
  box-shadow: 0 6px 18px rgba(38, 50, 80, 0.16);
  padding: 0 var(--mv-space-4);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: var(--mv-fs-2);
}

#map.mvm-ci .muvamo_autocomplete_result.map {
  border-radius: var(--mv-radius-card);
  box-shadow: 0 10px 28px rgba(38, 50, 80, 0.18);
  overflow: hidden;
}

/* Filter-Dropdowns */
#map.mvm-ci .muvamo_filter_dropdown,
#map.mvm-ci .muvamo_filter_dropdown_2 {
  border: 0;
  border-radius: var(--mv-radius-card);
  box-shadow: 0 10px 28px rgba(38, 50, 80, 0.18);
  top: 58px;
}

#map:not(.mvm-touch).mvm-ci .muvamo_filter_dropdown li:hover,
#map:not(.mvm-touch).mvm-ci .muvamo_filter_dropdown_2 li:hover {
  background-color: var(--mv-peach-light);
}

/* Tooltip */
#map.mvm-ci #marker-tooltip {
  border-radius: var(--mv-radius-s);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-weight: var(--mv-fw-semi);
  box-shadow: 0 6px 16px rgba(38, 50, 80, 0.18);
}

/* Popup (ausgewählter Marker) */
#map.mvm-ci .muvamoMarkerOuter.highlight .muvamoMarker {
  border-radius: var(--mv-radius-card);
  box-shadow: 0 14px 34px rgba(38, 50, 80, 0.24);
}

#map.mvm-ci .muvamoMarkerOuter.highlight .muvamoMarker .thumb,
#map.mvm-ci .muvamoMarkerOuter.highlight .muvamoMarker .mapswiper {
  border-radius: var(--mv-radius-m);
  overflow: hidden;
}

#map.mvm-ci .muvamoMarkerOuter.highlight .muvamoMarker .details .title {
  font-size: var(--mv-fs-2);
  color: #2f3b55;
}

#map.mvm-ci .muvamoMarkerOuter.highlight .muvamoMarker .muvamo_button.muvamo_photo_button {
  background-color: var(--mv-blue) !important;
  color: var(--mv-white) !important;
  border-radius: var(--mv-radius-pill);
  padding: 7px var(--mv-space-4) !important;
  font-size: var(--mv-fs-1) !important;
  font-weight: var(--mv-fw-bold);
  border: 0;
}

#map:not(.mvm-touch).mvm-ci .muvamoMarkerOuter.highlight .muvamoMarker .muvamo_button.muvamo_photo_button:hover {
  background-color: #4a69a6 !important;
}

/* Bottom-Leiste */
#map.mvm-ci .map_bottom_menu_marker {
  border-radius: var(--mv-radius-card);
  padding: var(--mv-space-1);
  box-shadow: 0 6px 16px rgba(38, 50, 80, 0.14);
}

#map.mvm-ci .map_bottom_menu_marker .thumb {
  border-radius: var(--mv-radius-s);
}

#map.mvm-ci .map_bottom_menu_marker .title {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  color: #2f3b55;
  line-height: 1.25;
  /* Abstand zum Hover-Ring (Michael, 21.11.2026: Text klebte beim Überfahren am Rand) */
  padding-inline: var(--mv-space-1);
}

#map.mvm-ci .map_bottom_menu_marker.active .title {
  color: var(--mv-white);
}

/* Leistenkarten-Zustände wie die Marker (Michael 2026-10-06): Hover = weiß bleiben + dunkelblauer
   Rand (wie der Marker-Hover-Ring; vorher pfirsichfarbener Hintergrund aus der allgemeinen
   .openMap:hover-Regel), aktiv = dunkelblau gefüllt (wie der Auswahl-Pin, vorher CI-blau).
   Touch ohne Hover-Rand. */
#map.mvm-ci .map_bottom_menu_marker.openMap:hover {
  background-color: var(--mv-white) !important;
}
#map.mvm-ci:not(.mvm-touch) .map_bottom_menu_marker:hover {
  /* Ring INNEN (im weißen Innenabstand): außen schnitt der scrollende Leisten-Container
     ihn oben ab. Ohne Gebiets-Streifen, sonst doppelte Linie oben. */
  box-shadow: inset 0 0 0 2.5px #3d4a75, 0 6px 16px rgba(38, 50, 80, 0.14);
}
#map.mvm-ci .map_bottom_menu_marker.active,
#map.mvm-ci .map_bottom_menu_marker.mvm-bar-inarea.active,
#map.mvm-ci .map_bottom_menu_marker.active.openMap:hover {
  background-color: #3d4a75 !important;
  color: var(--mv-white);
  box-shadow: 0 6px 16px rgba(38, 50, 80, 0.14);
}

@media (max-width: 980px) {
  #map.mvm-ci .map_bottom_menu_marker {
    border-radius: var(--mv-radius-s);
    padding: var(--mv-space-1);
  }

  #map.mvm-ci .map_bottom_menu_marker .thumb {
    border-radius: var(--mv-radius-s);
  }

  #map.mvm-ci .map_bottom_menu_marker .title {
    font-size: var(--mv-fs-1);
  }
}

/* Übersicht: Einzel-Spots und Guide-Icons in fester, lesbarer Größe - das
   Zoom-Scaling (bis 0.25) machte aus kleinen Restaurant-Markern namenlose rote
   Punkte (Feedback Michael 2026-09-25: "Zum Martin Sepp ... rote Punkte ohne
   irgendwas"). Spezifität schlägt die .mvm-scale-Regel. */
#map.mvm-ci.mvm-overview .muvamoMarkerOuter.mvm-solo .muvamoMarker,
#map.mvm-ci.mvm-overview .muvamoMarkerOuter.mvm-guide .muvamoMarker {
  transform: scale(0.62) !important;
}

/* Symbol-Marker ohne Foto (size0/size1) sind von Haus aus kleiner - in der
   Übersicht etwas größer, damit das Kategorie-Symbol erkennbar bleibt. */
#map.mvm-ci.mvm-overview .muvamoMarkerOuter.mvm-solo.mvm-size1 .muvamoMarker,
#map.mvm-ci.mvm-overview .muvamoMarkerOuter.mvm-solo.mvm-size0 .muvamoMarker {
  transform: scale(0.85) !important;
}

/* ------------------------------------------------------------------------
 * Bereichs-Karten der Übersicht (A4, muvamo-maplibre.js setupCityAreas()):
 * kompakt, eine Zeile - Foto mit Anzahl-Badge + Name. Nur unter z12.5
 * (.mvm-overview). Im Stadt-Modus (Marker .mvm-city-collapsed: Karten würden sich
 * berühren) nur die Stadt-Karte. Das äußere Element trägt MapLibres
 * Positions-Transform - Hover-Effekte deshalb nur am Kind.
 * ---------------------------------------------------------------------- */
#map .mvm-area-marker {
  z-index: 120;
  cursor: pointer;
}

/* Bereichs-Karten nur in der Übersicht; Stadt-Karten steuert das JS je Stadt
   (.mvm-area-hidden), sie bleiben auch in der Europa-Ansicht sichtbar. */
#map .mvm-area-marker.mvm-area-hidden:not(.mvm-area-leaving) {
  display: none;
}

#map .mvm-area-marker.mvm-area-leaving {
  pointer-events: none;
}

/* Marker einer Stadt im Stadt-Modus (rausgezoomt / Stadt nicht geladen) und
   Guide-Icons, die eine Stadt-Karte ersetzt */
#map .muvamoMarkerOuter.mvm-city-collapsed:not(.highlight),
#map .muvamoMarkerOuter.mvm-guide-replaced {
  display: none !important;
}

/* Europa-Ansicht: Stadt-Karte noch kleiner */
#map .mvm-area.mvm-tiny {
  transform: scale(0.72);
}

#map:not(.mvm-touch) .mvm-area-marker:hover {
  z-index: var(--mv-z-header) !important;
}

#map .mvm-area {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  padding: var(--mv-space-1) var(--mv-space-3) var(--mv-space-1) var(--mv-space-1);
  background: var(--mv-white);
  border: var(--mv-border-strong) solid var(--area-color, var(--mv-blue));
  border-radius: var(--mv-radius-pill);
  box-shadow: 0 6px 18px rgba(38, 50, 80, 0.2);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  white-space: nowrap;
  transition: transform var(--mv-dur-fast) ease, box-shadow var(--mv-dur-fast) ease;
}

#map:not(.mvm-touch) .mvm-area:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(38, 50, 80, 0.26);
}

#map .mvm-area-photo {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
}

/* Gebiet ohne Spots/POIs (Malta 2026-09-30): Namensmarke = Punkt in Gebietsfarbe +
   Name/Kurztext, ohne Foto und Zahl; Klick öffnet die Gebietsseite */
#map .mvm-area-empty .mvm-area-photo {
  width: 14px;
  height: 14px;
  border-radius: var(--mv-radius-round);
  background: var(--area-color, var(--mv-blue));
  box-shadow: 0 0 0 2.5px var(--mv-white), 0 2px 6px rgba(38, 50, 80, 0.3);
}

#map .mvm-area-empty .mvm-area-initial,
#map .mvm-area-empty .mvm-area-badge,
#map .mvm-area-empty .mvm-tag-n {
  display: none !important;
}

#map .mvm-area-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--mv-radius-round);
  background: var(--mv-peach);
}

/* Bereich/Stadt ohne Foto (z.B. Malta: Spots noch ohne Beitragsbild) */
#map .mvm-area-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: var(--mv-radius-round);
  background: var(--area-color, var(--mv-blue));
  color: var(--mv-white);
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
}

#map .map_bottom_menu_marker .thumb .mvm-noimg {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e9eef8, var(--mv-peach));
}

/* Hotel without a photo (hotel-finder-40, Michael 20.11.2026): text tile on the same colour area, price level large,
   kind of house below. Navy on the light end #e9eef8 13,4:1, on peach 10,7:1. Only with data-hfpreis/data-hfart. */
#map .map_bottom_menu_marker .thumb .mvm-noimg.mvm-hftile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--mv-space-1);
  box-sizing: border-box;
  padding: var(--mv-space-5) var(--mv-space-3) var(--mv-space-4);
  color: var(--mv-navy);
  text-align: center;
}

#map .mvm-hftile-preis {
  font-family: var(--mv-font-display);
  font-size: var(--mv-fs-5);
  line-height: var(--mv-lh-tight);
  letter-spacing: var(--mv-tracking-caps);
}

#map .mvm-hftile-art {
  max-width: 100%;
  overflow: hidden;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: var(--mv-lh-head);
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 980px) {
  #map .mvm-hftile-preis {
    font-size: var(--mv-fs-4);
  }
}

/* small tile: the hotel symbol would sit on the kind of house; the text names the hotel already */
@media (max-width: 767px) {
  #map .thumb:has(.mvm-hftile) .icon_overlay {
    display: none;
  }

  #map .map_bottom_menu_marker .thumb .mvm-noimg.mvm-hftile {
    padding: var(--mv-space-2);
  }
}

#map .mvm-area-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 19px;
  height: 19px;
  padding: 0 var(--mv-space-1);
  box-sizing: border-box;
  border: var(--mv-border-strong) solid var(--mv-white);
  border-radius: var(--mv-radius-s);
  background: var(--area-color, var(--mv-blue));
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 15px;
  text-align: center;
}

#map .mvm-area-name {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  color: #2f3b55;
}

/* Kompakte Foto-Blase: Karte würde eine größere berühren -> nur Foto + Anzahl,
   Name beim Hover (dann liegt die Karte ganz oben, siehe :hover z-index). */
#map .mvm-area.mvm-compact {
  gap: 0;
  padding: var(--mv-space-1);
}

#map .mvm-area.mvm-compact .mvm-area-name {
  display: none;
}

#map:not(.mvm-touch) .mvm-area-marker:hover .mvm-area.mvm-compact {
  gap: var(--mv-space-2);
  padding: var(--mv-space-1) var(--mv-space-3) var(--mv-space-1) var(--mv-space-1);
}

#map:not(.mvm-touch) .mvm-area-marker:hover .mvm-area.mvm-compact .mvm-area-name {
  display: inline;
}

/* Stadt-Karte als "Stadt-Pin": runde Foto-Blase mit Anzahl + kleines Namens-
   Etikett darunter (Feedback Michael: Pill mit Bild + Text war für eine ganze
   Stadt zu groß). Das Etikett liegt absolut unter dem Foto, damit der Marker-
   Anker (center) auf dem Foto bleibt. Europa: < z7.5 kleiner (.mvm-compact),
   < z5.5 ohne Etikett (.mvm-tiny) - Wien und Salzburg lägen sonst übereinander. */
#map .mvm-area-city,
#map:not(.mvm-touch) .mvm-area-marker:hover .mvm-area-city.mvm-compact {
  position: relative;
  gap: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

#map:not(.mvm-touch) .mvm-area-city:hover {
  box-shadow: none;
}

#map .mvm-area-city .mvm-area-photo {
  width: 40px;
  height: 40px;
}

#map .mvm-area-city .mvm-area-photo img {
  box-sizing: border-box;
  border: 3px solid var(--mv-white);
  box-shadow: 0 0 0 2px var(--area-color, var(--mv-blue)), 0 6px 16px rgba(38, 50, 80, 0.28);
}

#map .mvm-area-city .mvm-area-name,
#map .mvm-area-city.mvm-compact .mvm-area-name,
#map:not(.mvm-touch) .mvm-area-marker:hover .mvm-area-city.mvm-compact .mvm-area-name {
  display: block;
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  padding: 1px var(--mv-space-2);
  background: var(--mv-white);
  border-radius: var(--mv-radius-pill);
  box-shadow: 0 2px 8px rgba(38, 50, 80, 0.2);
  font-size: var(--mv-fs-1);
  line-height: 17px;
}

#map .mvm-area-city.mvm-compact .mvm-area-photo {
  width: 32px;
  height: 32px;
}

#map .mvm-area-city.mvm-compact .mvm-area-name {
  font-size: var(--mv-fs-1);
  line-height: 15px;
  padding: 0 var(--mv-space-1);
}

#map .mvm-area-city.mvm-tiny .mvm-area-name {
  display: none;   /* Hover zeigt ihn (Regel oben ist spezifischer) */
}

/* ------------------------------------------------------------------------
 * Bereichskarte mit Charakter-Zeile + Highlight-Panel (onAreaCardClick,
 * Leiste): Name + "Kaiserliches Wien & Kaffeehäuser"; Klick lässt aufplatzen,
 * die Übersicht über den Inhalt zeigt die Fotoleiste (decorateBar/updateBar).
 * ---------------------------------------------------------------------- */
#map .mvm-area-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

#map .mvm-area-tag {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  color: #5b6680;
  white-space: nowrap;
}

#map .mvm-area.mvm-compact .mvm-area-tag {
  display: none;
}

@media (max-width: 599px) {
  #map .mvm-area-tag {
    display: none;
  }
}

/* Übersicht: kompakte Karten klappen beim Hover NICHT auf (Name steht in der Leiste) */
#map:not(.mvm-touch).mvm-overview .mvm-area-marker:not(.mvm-city-marker):hover .mvm-area.mvm-compact {
  gap: 0;
  padding: var(--mv-space-1);
}

#map:not(.mvm-touch).mvm-overview .mvm-area-marker:not(.mvm-city-marker):hover .mvm-area.mvm-compact .mvm-area-name {
  display: none;
}

/* ------------------------------------------------------------------------
 * Fotoleiste (decorateBar): Spot-Karten mit Streifen + Etikett ihres Bereichs
 * ---------------------------------------------------------------------- */
/* Spot-Karten: Streifen + Etikett ihres Bereichs */
#map.mvm-ci .map_bottom_menu_marker.mvm-bar-inarea {
  box-shadow: inset 0 3px 0 var(--area-color, var(--mv-blue)), 0 6px 16px rgba(38, 50, 80, 0.14);
}

#map .mvm-bar-arealbl {
  position: absolute;
  top: 6px;
  left: 6px;
  max-width: calc(100% - 12px);
  padding: 0 var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: var(--area-color, var(--mv-blue));
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  #map .mvm-bar-arealbl {
    top: 3px;
    left: 3px;
    max-width: calc(100% - 6px);
    padding: 0 var(--mv-space-1);
    font-size: var(--mv-fs-1);
    line-height: 13px;
  }
}

/* Spot-Popup: Bereich als Chip über dem Titel */
#map .mvm-pop-area {
  display: inline-block;
  margin-bottom: var(--mv-space-1);
  padding: 0 var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: var(--area-color, var(--mv-blue));
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 17px;
}

/* ------------------------------------------------------------------------
 * Normale Spots (size1) als kleiner runder Punkt ohne Tropfen-Spitze
 * (2026-09-26; Must-See/Award-Look mit Goldring/Abzeichen und ausgeblendete
 * Tour-Stationen wurden verworfen - POIs und Stationen bleiben immer sichtbar).
 * ---------------------------------------------------------------------- */
#map.mvm-ci .muvamoMarkerOuter.mvm-size1:not(.highlight) .muvamoMarker .icon {
  width: 24px;
  height: 24px;
  padding: var(--mv-space-1);
}

#map.mvm-ci .muvamoMarkerOuter.mvm-size1:not(.highlight) .muvamoMarker {
  border: var(--mv-border-strong) solid var(--mv-white);
  box-shadow: 0 2px 6px rgba(38, 50, 80, 0.28);
}

#map.mvm-ci .muvamoMarkerOuter.mvm-size1:not(.highlight) .muvamoMarker::after {
  display: none;
}

/* Hotels (bleiben HTML-Marker, anchor bottom): Ring gold statt blau, ohne Spitze und mittig
   auf dem Ort wie alle Foto-Marker der Kartenebene (Michael 2026-10-06). translate (eigene
   Eigenschaft) statt transform - die Position setzt MapLibre am äußeren Element. Ausgewählt
   gilt weiter der normale Auswahl-Pin. */
#map.mvm-ci .muvamoMarkerOuter.mvm-hotel:not(.highlight) .muvamoMarker {
  background-color: #a8842c;
  translate: 0 50%;
}
#map.mvm-ci .muvamoMarkerOuter.mvm-hotel:not(.highlight) .muvamoMarker::after {
  display: none;
}

/* Hotel aus der Liste der Hotelseite ohne Foto (hotel-finder-41, Michael 20.11.2026; Klasse .mvm-hf-dot nur mit
   data-hfcard): Symbolpunkt wie die Punkte der Kartenebene (24 + weißer Rand 2, Symbol weiß, Schatten), Fläche in der
   Hotelfarbe des Abzeichens. Vorher blieb der Foto-Marker ohne Foto 0 px groß: sichtbar war nur das Abzeichen, und der
   Hover-Ring lag als kleines dunkles Quadrat daneben. Hover-Ring, Namensschild und Auswahl-Pin gelten wie bei allen. */
#map.mvm-ci .muvamoMarkerOuter.mvm-hf-dot:not(.highlight) .muvamoMarker {
  border: var(--mv-border-strong) solid var(--mv-white);
  background-color: var(--mv-white);
}

#map.mvm-ci .muvamoMarkerOuter.mvm-hf-dot:not(.highlight):not(.hovered) .muvamoMarker {
  box-shadow: var(--mv-shadow-float);
}

#map.mvm-ci .muvamoMarkerOuter.mvm-hf-dot:not(.highlight) .muvamoMarker .image {
  display: none;
}

#map.mvm-ci .muvamoMarkerOuter.mvm-hf-dot:not(.highlight) .muvamoMarker .icon {
  position: static;
  width: var(--mv-space-5);
  height: var(--mv-space-5);
  margin: 0;
  padding: var(--mv-space-1);
}

/* Größe wie die Symbolpunkte (nie unter 0,75), nicht wie Foto-Marker (0,5) */
#map.mvm-ci.mvm-scale .muvamoMarkerOuter.mvm-hf-dot .muvamoMarker.size3 {
  transform: scale(max(var(--mvm-marker-scale, 1), 0.75));
}

/* ------------------------------------------------------------------------
 * Handy-Spotkarte (openSpotSheet): Panel von unten, nicht modal. Der
 * gewählte Marker bleibt ein Pin mit Ring (.mvm-sheet-pin) statt Popup.
 * ---------------------------------------------------------------------- */
#map .mvm-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--mv-z-overlay);
  height: var(--sheet-h, 62%);
  max-height: calc(100% - 8px);
  display: flex;
  flex-direction: column;
  background: var(--mv-white);
  border-radius: var(--mv-radius-card) var(--mv-radius-card) 0 0;
  box-shadow: 0 -8px 28px rgba(38, 50, 80, 0.22);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  color: #2f3b55;
  transform: translateY(105%);
  /* geschlossen unsichtbar, erst nach dem Wegfahren (Michael 25.11.2026: beim Ziehen des Fensters über 768 px wechselt die
     versteckte Lage von links nach unten, die Karte rutschte sichtbar durchs Bild) */
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

#map .mvm-sheet.mvm-sheet-open {
  transform: translateY(var(--sheet-y, 0px));
  visibility: visible;
  transition: transform 0.25s ease, visibility 0s;
}

/* halbe Höhe: Inhalt scrollt nicht, Wischen nach oben vergrößert */
#map .mvm-sheet.mvm-sheet-half .mvm-sheet-scroll,
#map .mvm-sheet.mvm-sheet-min .mvm-sheet-scroll {
  overflow-y: hidden;
}

/* schmale Leiste der Spot-Karte (18.11.2026): ein Tipp darauf öffnet sie wieder */
#map .mvm-sheet.mvm-sheet-min [data-sheet-peek] {
  cursor: pointer;
}

#map .mvm-sheet-handle {
  cursor: pointer;
}

/* Hotels am Ende der Leiste, auch wenn danach eine Stadt nachgeladen wird (Michael 29.11.2026) */
#map .map_bottom_menu_marker.mvm-bar-hotel {
  order: 1;
}

#map.mvm-sheet-on .map_bottom_menu {
  visibility: hidden;
}

#map .mvm-sheet-handle {
  flex: none;
  width: 42px;
  height: 5px;
  margin: var(--mv-space-2) auto var(--mv-space-1);
  border-radius: var(--mv-radius-xs);
  background: #d5d9e3;
}

/* dasselbe X im Routen-Blatt am Handy (Michael, 29.11.2026) */
#map .mvm-sheet-close,
#map.mvm-rtm-headon .mvm-rtm .mvm-rtm-top .mvm-rtm-x {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: #f1f3f8;
  color: #5b6680;
  font-size: var(--mv-fs-4);
  line-height: 32px;
  cursor: pointer;
}

#map .mvm-sheet-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2px var(--mv-space-4) var(--mv-space-3);
}

#map .mvm-sheet-top {
  display: flex;
  gap: var(--mv-space-2);
  align-items: center;
  padding-right: var(--mv-space-6);
}

#map .mvm-sheet-img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: var(--mv-radius-s);
  object-fit: cover;
}

#map .mvm-sheet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mv-space-1);
  margin-bottom: var(--mv-space-1);
}

#map .mvm-sheet-chip {
  padding: 0 var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: var(--area-color, var(--mv-blue));
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 18px;
}

#map .mvm-sheet-cat {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 18px;
  color: #8a93a8;
}

#map .mvm-sheet-title {
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#map .mvm-sheet-meta {
  margin-top: var(--mv-space-1);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  color: var(--mv-blue);
}

/* Tour-Kennzahlen unter dem Titel (Stopps · km · Gehzeit), 2026-10-02 */
#map .mvm-sheet-tourstats {
  color: #4a5570;
}

#map .mvm-sheet-tourstats .fa-person-walking {
  margin-right: var(--mv-space-1);
  color: var(--mv-blue);
}

#map .mvm-sheet-text {
  margin-top: var(--mv-space-1);
  font-size: var(--mv-fs-2);
  line-height: var(--mv-lh-box);
  color: #4a5570;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hotel aus der Liste der Hotelseite ohne Foto (hotel-finder-37, 20.11.2026): Preisstufe, Art, Kurzzeile */
#map .mvm-sheet-hf {
  margin-top: var(--mv-space-2);
}

#map .mvm-sheet-hf-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--mv-space-2);
  font-size: var(--mv-fs-1);
  color: var(--mv-muted);
}

#map .mvm-sheet-hf .mvm-hf-preis {
  padding: 0 var(--mv-space-2);
  border: var(--mv-border) solid var(--mv-hairline);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-white);
  color: var(--mv-ink);
  font-weight: var(--mv-fw-bold);
  font-variant-numeric: tabular-nums;
}

#map .mvm-sheet-hf-zeile {
  margin: var(--mv-space-2) 0 0;
  padding: 0;
  font-size: var(--mv-fs-2);
  line-height: var(--mv-lh-box);
  color: var(--mv-ink);
}

/* Knöpfe des Kartenfensters (Michael, 11.11.2026): nie zweizeilig; passen beide nebeneinander, bleiben sie
   nebeneinander, sonst untereinander über die volle Breite. Über den Platz, nicht über eine feste Breite, damit es
   in allen Sprachen und im schmalen Fenster am Desktop gilt. */
#map .mvm-sheet-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mv-space-2);
  margin-top: var(--mv-space-2);
}

/* Hotels: Affiliate-Hinweis unter dem Knopf (Michael 2026-10-07) */
#map .mvm-sheet-affnote {
  margin-top: var(--mv-space-1);
  font-size: var(--mv-fs-1);
  line-height: 1.35;
  color: #6b7590;
}

#map .mvm-sheet-btn {
  flex: 1 1 auto;
  white-space: nowrap;
  padding: var(--mv-space-2) var(--mv-space-3);
  border-radius: var(--mv-radius-pill);
  background: #eef2fa;
  color: var(--mv-blue);
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
  text-align: center;
  text-decoration: none;
}

/* drei Knöpfe (Michael 29.11.2026): der erste über die ganze Breite, die übrigen darunter zu gleichen Teilen */
#map .mvm-btns-3 > .mvm-sheet-btn { flex-basis: 30%; }
#map .mvm-btns-3 > .mvm-sheet-btn:first-child { flex-basis: 100%; }

#map .mvm-sheet-btn-route,
#map .mvm-sheet-btn-main {
  background: var(--mv-blue);
  color: var(--mv-white);
}

#map .mvm-sheet-near {
  margin-top: var(--mv-space-2);
}

#map .mvm-sheet-near-head {
  margin-bottom: var(--mv-space-1);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  color: #8a93a8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#map .mvm-sheet-near ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#map .mvm-sheet-near-item {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  padding: var(--mv-space-1) 0;
  border-top: var(--mv-border) solid #f0f2f7;
  cursor: pointer;
}

#map .mvm-sheet-near-item img,
#map .mvm-sheet-near-dot {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--mv-radius-round);
  object-fit: cover;
  background: #eef2fa;
}

/* spotblatt (22.11.2026): Stationen einer Tour, nummeriert wie die Tour-Marker */
#map .mvm-sheet-stop-num {
  flex: none;
  min-width: var(--mv-space-5);
  height: var(--mv-space-5);
  padding: 0 var(--mv-space-1);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-blue);
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: var(--mv-space-5);
  text-align: center;
}

/* spotblatt: im halben Handy-Blatt zieht ein Tipp auf Kurztext, Titel oder Bild das Blatt auf */
@media (max-width: 767px) {
  #map .mvm-sheet.mvm-sheet-half .mvm-sheet-expand {
    cursor: pointer;
  }
}

#map .mvm-sheet-near-title {
  flex: 1;
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
  line-height: 1.2;
}

#map .mvm-sheet-near-min {
  flex: none;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  color: var(--mv-blue);
}

/* gewählter Marker im Panel-Modus: klarer "ausgewählt"-Pin statt Popup
   (blauer Punkt mit weißem Kern + Spitze; Inhalt des Markers ausgeblendet) */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin {
  z-index: 1100 !important;
}

/* gleiche Form wie ein normaler Foto-Marker (runder Rahmen + kurze Spitze,
   die in den Kreis übergeht), nur in Auswahl-Blau und etwas größer */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin .muvamoMarker {
  width: 52px;
  height: 52px;
  padding: var(--mv-space-1);
  gap: 0;
  border: 0;
  border-radius: var(--mv-radius-round);
  box-sizing: border-box;
  background-color: #3d4a75;   /* Zustandsfarbe Auswahl/Hover (2026-10-06), CI-blau ist jetzt Things */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transform: none !important;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin .muvamoMarker > * {
  display: none !important;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin .muvamoMarker::before {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: var(--mv-radius-round);
  background: var(--mv-white) var(--pin-img, none) center / cover no-repeat;
}

/* ohne Foto: Kategorie-Symbol weiß auf Auswahl-Blau */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-noimg .muvamoMarker {
  width: 44px;
  height: var(--mv-tap);
  padding: var(--mv-space-3);
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-noimg .muvamoMarker::before {
  background: var(--mv-white);
  -webkit-mask: var(--pin-icon) no-repeat center / contain;
  mask: var(--pin-icon) no-repeat center / contain;
  border-radius: 0;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin .muvamoMarker::after {
  display: block;
  top: 95%;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #3d4a75 !important;
}

/* ------------------------------------------------------------------------
 * Leiste -> Karte: pulsierender Ort (pulseAt) + Gehzeit auf Leistenkarten
 * ---------------------------------------------------------------------- */
/* Ort einer Leistenkarte: Foto-Pin mit Spitze + ein sanfter Ring; die
   Bereichskarten treten währenddessen zurück (.mvm-pulse-on) */
/* Ort einer Leistenkarte: gleiche Form wie ein normaler Foto-Marker (Rahmen
   in Bereichsfarbe + Spitze aus dem Kreis), dazu ein dezenter Ring; die
   Bereichskarten treten währenddessen zurück (.mvm-pulse-on) */
#map .mvm-pulse {
  position: relative;
  z-index: 1200;
  width: 46px;
  height: 54px;
  pointer-events: none;
}

#map .mvm-pulse-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  padding: var(--mv-space-1);
  box-sizing: border-box;
  border-radius: var(--mv-radius-round);
  background: var(--pulse-color, var(--mv-blue));
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

#map .mvm-pulse-photo::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--mv-radius-round);
  background: var(--mv-white) var(--pulse-img, none) center / cover no-repeat;
}

#map .mvm-pulse-photo.mvm-pulse-nophoto::before {
  background: var(--mv-white);
  transform: scale(0.4);
}

#map .mvm-pulse-photo::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 95%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid var(--pulse-color, var(--mv-blue));
}

#map .mvm-pulse-ring {
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border: var(--mv-border-strong) solid var(--pulse-color, var(--mv-blue));
  border-radius: var(--mv-radius-round);
  animation: mvm-pulse 1.6s ease-out infinite;
}

#map .mvm-pulse.mvm-pulse-pop .mvm-pulse-photo {
  animation: mvm-pulse-pop 0.28s cubic-bezier(.2, 1.4, .4, 1);
  transform-origin: 50% 110%;
}

@keyframes mvm-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.2); opacity: 0; }
}

@keyframes mvm-pulse-pop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Alle Treffer der Suche auf der Karte (mvm-found-on, 16.11.2026): die Gebietsmarken gehen ganz weg, durch eine blasse
   Marke schienen die Zeichen der Treffer durch (Michael). visibility, weil MapLibre opacity inline am Marker setzt */
#map.mvm-found-on .mvm-area-marker { visibility: hidden; }
/* auch mit einer Linie auf der Karte (mvm-line-on, 15.11.2026); die HTML-Marker der Spots nimmt dann mvm-practical-on mit */
#map.mvm-line-on .mvm-area-marker,
#map.mvm-pulse-on .mvm-area-marker {
  opacity: 0.35 !important;   /* MapLibre setzt opacity inline am Marker */
  transition: opacity var(--mv-dur-fast) ease;
}

#map .mvm-area-marker {
  transition: opacity var(--mv-dur-fast) ease;
}

@media (prefers-reduced-motion: reduce) {
  #map .mvm-pulse-ring,
  #map .mvm-pulse.mvm-pulse-pop .mvm-pulse-photo {
    animation: none;
  }
}

/* Routen-Modus der Leiste (syncBarRoute, 2026-10-06): Stationsnummer oben links, Farben wie
   das Nummern-Etikett am Kartenmarker (drawGlNum); Tour-Karten zeigen sich auch, wenn ein
   Filter-Chip sie ausblendet (die Karte zeigt die Stationen im Fokus ja auch) */
#map .mvm-bar-num {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 20px;
  padding: 0 var(--mv-space-1);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-peach);
  color: #3d4a75;
  box-shadow: 0 1px 2px rgba(38, 50, 80, 0.25);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 20px;
  text-align: center;
  box-sizing: border-box;
}
#map .map_bottom_menu_marker.hidden.mvm-bar-route {
  display: block !important;
}
/* Gebiets-Etikett rückt neben die Nummer */
#map .thumb:has(.mvm-bar-num) .mvm-bar-arealbl {
  left: 32px;
  max-width: calc(100% - 38px);
}
@media (max-width: 980px) {
  #map .mvm-bar-num {
    top: 3px;
    left: 3px;
    min-width: 16px;
    padding: 0 var(--mv-space-1);
    font-size: var(--mv-fs-1);
    line-height: 16px;
  }
  #map .thumb:has(.mvm-bar-num) .mvm-bar-arealbl {
    left: 22px;
    max-width: calc(100% - 25px);
  }
}

#map .mvm-bar-walk {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 0 var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: rgba(38, 50, 80, 0.78);
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 16px;
}

@media (max-width: 980px) {
  #map .mvm-bar-walk {
    top: auto;
    bottom: 3px;
    right: 3px;
    padding: 0 var(--mv-space-1);
    font-size: var(--mv-fs-1);
    line-height: 13px;
  }
}

/* Kopfzeile im Leistenbild (barTopRow): Desktop = Gebiets-Etikett links + Gehzeit/km rechts
   in einer Flex-Zeile, das Etikett bekommt genau den Restplatz und endet mit „…“ statt unter
   das Kärtchen zu laufen (Michael 2026-10-07). Handy: Zeile löst sich auf (display:contents),
   Etikett/Kärtchen behalten ihre eigene Lage (Kärtchen unten rechts). */
#map .mvm-bar-top {
  display: contents;
}
@media (min-width: 981px) {
  #map .thumb .mvm-bar-top {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    display: flex;
    align-items: flex-start;
    gap: var(--mv-space-1);
  }
  #map .thumb:has(.mvm-bar-num) .mvm-bar-top {
    left: 32px;
  }
  #map .thumb .mvm-bar-top .mvm-bar-arealbl,
  #map .thumb .mvm-bar-top .mvm-bar-walk {
    position: static;
  }
  #map .thumb .mvm-bar-top .mvm-bar-arealbl {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
  }
  #map .thumb .mvm-bar-top .mvm-bar-walk {
    flex: none;
    margin-left: auto;
  }
}

/* offenes Panel: Karten-Info-Knopf (Attribution) lag über dem letzten Eintrag */
/* (früher: rechts unten bei offenem Panel ausgeblendet - seit 2026-09-29 sitzen
   GPS/Zoom dort und rutschen per layoutCornerCtrls über das Panel) */

/* ------------------------------------------------------------------------
 * Filter-Chips (buildChips/setChip) + Ebene "Praktisches" (WC, Trinkwasser)
 * ---------------------------------------------------------------------- */
#map .mvm-chips {
  position: absolute;
  z-index: 9998;
  top: 12px;
  left: 70px;
  right: 70px;
  display: flex;
  gap: var(--mv-space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px var(--mv-space-2);
  -webkit-overflow-scrolling: touch;
}

#map .mvm-chips::-webkit-scrollbar {
  display: none;
}

#map .mvm-chip-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--mv-space-1);
  height: 36px;
  padding: 0 var(--mv-space-3) 0 var(--mv-space-2);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: var(--mv-white);
  box-shadow: 0 3px 10px rgba(38, 50, 80, 0.18);
  color: #2f3b55;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

/* Kategorie-Symbol in Kategoriefarbe (wie auf der Karte) */
#map .mvm-chip-ic {
  flex: none;
  width: 16px;
  height: 16px;
  background: var(--chip-color, var(--mv-blue));
  -webkit-mask: var(--chip-icon) no-repeat center / contain;
  mask: var(--chip-icon) no-repeat center / contain;
}

/* Kategorie gewählt (Michael, 20.11.2026): Dunkelblau gefüllt wie die Filter-Kachel (nicht Schwarz, Michael), sie bestimmt die ganze Karte */
#map .mvm-chip-btn.mvm-chip-on {
  background: var(--mv-navy);
  color: var(--mv-white);
}
/* Trennstrich zwischen Kategorien (eine gilt) und Eigenschaften (kombinierbar), 20.11.2026 */
#map .mvm-chips .mvm-chip-sep {
  flex: none;
  align-self: center;
  width: var(--mv-border-strong);
  height: var(--mv-space-5);
  margin: 0 var(--mv-space-1);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-navy);
  opacity: 0.35;
}

#map .mvm-chip-btn.mvm-chip-on .mvm-chip-ic {
  background: var(--mv-white);
}

/* WC / Trinkwasser / Bankomat: runder Punkt mit zentriertem Zeichen */
#map .mvm-chip-btn.mvm-chip-practical::before {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--mv-radius-round);
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1;
}

#map .mvm-chip-btn.mvm-chip-wc { --chip-color: #3d8a99; margin-left: var(--mv-space-2); }
#map .mvm-chip-btn.mvm-chip-wc-bar { margin-left: 0; }   /* WC in der Leiste (seit 25.11.2026) ohne Extra-Abstand */
/* WC: die Buchstaben brauchen mehr Raum im Kreis (Michael, 15.11.2026), der Kreis ist deshalb größer als bei den anderen */
#map .mvm-chip-btn.mvm-chip-wc::before { content: 'WC'; background: var(--chip-color); width: var(--mv-space-5); height: var(--mv-space-5); font-size: calc(var(--mv-fs-1) * 0.8); }
/* Liste "In diesem Ausschnitt" zu den eingeschalteten Arten (15.11.2026): Karte links unter der Leiste */
#map .mvm-pr-list {
  position: absolute;
  z-index: var(--mv-z-sticky);
  top: var(--mv-space-8);
  left: var(--mv-space-3);
  width: min(calc(100% - var(--mv-space-5)), calc(var(--mv-space-9) * 3.5));
  max-height: 55%;
  display: flex;
  flex-direction: column;
  border-radius: var(--mv-radius-card);
  background: var(--mv-white);
  box-shadow: var(--mv-shadow-float);
  overflow: hidden;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
}
#map[data-mvm-scrollpage]:not(.mvm-fs) .mvm-pr-list, #map.muvamo_inline_map:not(.mvm-fs) .mvm-pr-list { display: none; }
#map .mvm-pr-list-head { display: flex; align-items: center; justify-content: space-between; gap: var(--mv-space-2); width: 100%; padding: var(--mv-space-3) var(--mv-space-4); border: 0; background: none; font: inherit; font-size: var(--mv-fs-1-5); font-weight: var(--mv-fw-bold); color: var(--mv-ink); cursor: pointer; text-align: left; }
#map .mvm-pr-list-n { flex: none; min-width: var(--mv-space-5); padding: 0 var(--mv-space-2); border-radius: var(--mv-radius-pill); background: var(--mv-linen); font-size: var(--mv-fs-1); line-height: var(--mv-space-5); text-align: center; }
#map .mvm-pr-list ul { margin: 0; padding: 0 var(--mv-space-2) var(--mv-space-2); list-style: none; overflow-y: auto; }
#map .mvm-pr-list.is-closed ul { display: none; }
/* Handy (Michael, 16.11.2026): zugeklappt und als Knopf "Nearest to me" nur so breit wie der Inhalt, damit nichts unter
   dem Filter-Knopf rechts liegt; aufgeklappt bleibt rechts der Platz des Filter-Knopfs frei */
@media (max-width: 767px) {
  #map .mvm-pr-list { width: auto; max-width: calc(100% - var(--mv-space-3) - var(--mv-tap) - var(--mv-space-5)); border-radius: var(--mv-radius-pill); }
  #map .mvm-pr-list:not(.is-closed):not(.is-gps-off) { width: calc(100% - var(--mv-space-3) - var(--mv-tap) - var(--mv-space-5)); border-radius: var(--mv-radius-card); max-height: 45%; }
  #map .mvm-pr-list-head { padding: var(--mv-space-2) var(--mv-space-3); min-height: var(--mv-tap); }
}
/* ohne eigenen Standort nur der Knopf "Nearest to me" (16.11.2026) */
#map .mvm-pr-list.is-gps-off ul, #map .mvm-pr-list.is-gps-off .mvm-pr-list-n { display: none; }
#map .mvm-pr-list.is-gps-off .mvm-pr-list-head i { margin-right: var(--mv-space-2); color: var(--mv-blue); }
#map .mvm-pr-row { display: flex; align-items: center; gap: var(--mv-space-3); width: 100%; padding: var(--mv-space-2); border: 0; border-radius: var(--mv-radius-s); background: none; font: inherit; color: var(--mv-ink); text-align: left; cursor: pointer; }
@media (hover: hover) { #map .mvm-pr-row:hover { background: var(--mv-linen); } }
#map .mvm-pr-row:focus-visible, #map .mvm-pr-list-head:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map .mvm-pr-dot { flex: none; display: flex; align-items: center; justify-content: center; width: var(--mv-space-5); height: var(--mv-space-5); border-radius: var(--mv-radius-round); background: var(--chip-color); color: var(--mv-white); }
#map .mvm-pr-dot svg { width: var(--mv-space-4); height: var(--mv-space-4); }
#map .mvm-pr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--mv-border-strong); }
#map .mvm-pr-t { font-size: var(--mv-fs-1-5); font-weight: var(--mv-fw-bold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#map .mvm-pr-s { font-size: var(--mv-fs-1); color: var(--mv-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#map .mvm-pr-tag { flex: none; padding: var(--mv-border-strong) var(--mv-space-2); border-radius: var(--mv-radius-pill); background: var(--mv-linen); font-size: var(--mv-fs-1); font-weight: var(--mv-fw-bold); color: var(--mv-muted); text-transform: uppercase; }
#map .mvm-pr-tag.is-open { background: var(--mv-success); color: var(--mv-white); }
#map .mvm-pr-more { padding: var(--mv-space-2); font-size: var(--mv-fs-1); color: var(--mv-muted); }
/* Demo weiterer nützlicher Punkte (15.11.2026): Farbe und Zeichen setzt das Kartenskript am Knopf (PRACTICAL) */
#map .mvm-chip-btn.mvm-chip-pic::before { content: ''; background: var(--chip-color) var(--chip-ic) center / var(--mv-space-3) var(--mv-space-3) no-repeat; }

#map .mvm-chip-btn.mvm-chip-practical.mvm-chip-on::before {
  box-shadow: 0 0 0 2px var(--mv-white);
}

@media (max-width: 980px) {
  #map .mvm-chips {
    top: 10px;
    left: 64px;
    right: 64px;
  }

  #map .mvm-chip-btn {
    height: 34px;
    padding: 0 var(--mv-space-3);
    font-size: var(--mv-fs-1);
  }
}

#map .mvm-practical-popup .maplibregl-popup-content {
  padding: 10px 28px 10px var(--mv-space-3);
  border-radius: var(--mv-radius-m);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: var(--mv-fs-1);
  color: #2f3b55;
}

#map .mvm-practical-popup a {
  display: inline-block;
  margin-top: var(--mv-space-1);
  color: var(--mv-blue);
  font-weight: var(--mv-fw-bold);
}

/* Panel: Hinweis aus den Spot-Notifications (z.B. geschlossen) */
#map .mvm-sheet-notice {
  display: inline-block;
  margin-top: var(--mv-space-1);
  padding: 1px var(--mv-space-2);
  border-radius: var(--mv-radius-xs);
  background: #fdf1e3;
  color: #9a5a12;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
}

#map .mvm-sheet-notice--high {
  background: #fbe6e6;
  color: #a33a3a;
}

/* ------------------------------------------------------------------------
 * Desktop-Seitenleiste (openSpotSheet, Vollbildkarte >= 768 px): links wie
 * bei Google Maps, gleicher Inhalt wie das Handy-Panel.
 * ---------------------------------------------------------------------- */
@media (min-width: 768px) {
  #map .mvm-sheet {
    left: 12px;
    top: 12px;
    /* unten immer 12 px Luft - auch am iPad, wo die Karte unter die Safari-Leiste
       reicht (--mvm-under), sonst lief die Leiste bis unter den Rand (Michael 2026-09-30) */
    bottom: calc(12px + var(--mvm-under, 0px) + env(safe-area-inset-bottom, 0px));
    right: auto;
    width: 380px;
    height: auto;
    max-height: none;
    border-radius: var(--mv-radius-card);
    box-shadow: 0 8px 30px rgba(38, 50, 80, 0.25);
    transform: translateX(calc(-100% - 24px));
  }

  #map .mvm-sheet.mvm-sheet-open {
    transform: translateX(0);
  }

  #map .mvm-sheet-handle {
    display: none;
  }

  #map .mvm-sheet-close {
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 6px rgba(38, 50, 80, 0.2);
  }

  #map .mvm-sheet-scroll {
    height: 100%;
    padding: 0 0 var(--mv-space-4);
  }

  #map .mvm-sheet-top {
    flex-direction: column;
    align-items: stretch;
    gap: var(--mv-space-3);
    padding: 0;
  }

  #map .mvm-sheet-img {
    width: 100%;
    height: 210px;
    border-radius: var(--mv-radius-card) var(--mv-radius-card) 0 0;
  }

  #map .mvm-sheet-head,
  #map .mvm-sheet-text,
  #map .mvm-sheet-hf,
  #map .mvm-sheet-sdslot2,
  #map .mvm-sheet-buttons,
  #map .mvm-sheet-near,
  #map .mvm-sheet-affnote {
    margin-left: var(--mv-space-4);
    margin-right: var(--mv-space-4);
  }

  #map .mvm-sheet-title {
    font-size: var(--mv-fs-3);
    -webkit-line-clamp: 3;
  }

  #map .mvm-sheet-text {
    font-size: var(--mv-fs-2); line-height: var(--mv-lh-box);
    -webkit-line-clamp: 6;
  }

  #map:not(.mvm-touch) .mvm-sheet-near-item:hover {
    background: #f5f7fb;
  }

  /* Leiste, Chips und Knöpfe rücken neben die Seitenleiste */
  #map.mvm-sheet-on .map_bottom_menu {
    visibility: visible;
    left: 404px;
    max-width: calc(100% - 434px);
  }

  #map.mvm-sheet-on .mvm-chips {
    left: 460px;
  }

  #map.mvm-sheet-on .maplibregl-ctrl-top-left {
    left: 392px;
  }

  #map.mvm-sheet-on .maplibregl-ctrl-bottom-right {
    visibility: visible;
  }
}

/* Ausgewählter Pin: pulsierender Halo + Namens-Etikett, damit am Desktop
   (Seitenleiste) sofort klar ist, welcher Ort offen ist */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin {
  z-index: 1100 !important;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin .muvamoMarker {
  animation: mvm-pin-halo 1.8s ease-out infinite;
}

@keyframes mvm-pin-halo {
  0% { box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(61, 74, 117, 0.55); }
  70% { box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), 0 0 0 16px rgba(61, 74, 117, 0); }
  100% { box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(61, 74, 117, 0); }
}

#map .mvm-pin-label {
  display: none;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin .mvm-pin-label {
  display: block;
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  padding: var(--mv-space-1) var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: #3d4a75;
  color: var(--mv-white);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 17px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(38, 50, 80, 0.3);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #map .muvamoMarkerOuter.highlight.mvm-sheet-pin .muvamoMarker {
    animation: none;
  }
}

/* ------------------------------------------------------------------------
 * Spotkarte erweitert (2026-09-27): Galerie, Abzeichen, Aktionen, Bereich
 * ---------------------------------------------------------------------- */
#map .mvm-sheet-gallery {
  position: relative;
  flex: none;
}

#map .mvm-sheet-gal-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--mv-radius-card) var(--mv-radius-card) 0 0;
}

#map .mvm-sheet-gal-track::-webkit-scrollbar {
  display: none;
}

#map .mvm-sheet-gal-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 230px;
  object-fit: cover;
  scroll-snap-align: start;
  background: #eef2fa;
}

#map .mvm-sheet-gal-btn {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  padding: 0;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: rgba(255, 255, 255, 0.9);
  color: #2f3b55;
  font-size: var(--mv-fs-4);
  line-height: 30px;
  box-shadow: 0 2px 6px rgba(38, 50, 80, 0.25);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--mv-dur-fast) ease;
}

#map:not(.mvm-touch) .mvm-sheet-gallery:hover .mvm-sheet-gal-btn {
  opacity: 1;
}

#map .mvm-sheet-gal-btn.mvm-prev { left: 10px; }
#map .mvm-sheet-gal-btn.mvm-next { right: 10px; }

#map .mvm-sheet-gal-count {
  position: absolute;
  right: 54px;
  top: 14px;
  padding: 1px var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: rgba(38, 50, 80, 0.7);
  color: var(--mv-white);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 18px;
}

#map .mvm-sheet-badge {
  padding: 0 var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 18px;
  color: var(--mv-white);
}

#map .mvm-badge-must { background: #e0a526; }
#map .mvm-badge-award { background: #2f3b55; }

#map .mvm-sheet-actions {
  display: flex;
  gap: var(--mv-space-4);
  margin: var(--mv-space-2) 18px 0;
}

#map .mvm-sheet-act {
  padding: 0;
  border: 0;
  background: none;
  color: var(--mv-blue);
  font-family: inherit;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  text-decoration: none;
  cursor: pointer;
}

#map .mvm-sheet-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--mv-space-1);
  width: calc(100% - 36px);
  margin: var(--mv-space-3) var(--mv-space-4) 0;
  padding: var(--mv-space-3) 14px;
  border: 0;
  border-left: 4px solid var(--area-color, var(--mv-blue));
  border-radius: var(--mv-radius-s);
  background: #f5f7fb;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

#map .mvm-sheet-area-name {
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
  color: var(--area-color, var(--mv-blue));
}

#map .mvm-sheet-area-tag {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  color: #5b6680;
}

#map .mvm-sheet-area-go {
  margin-top: var(--mv-space-1);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  color: var(--area-color, var(--mv-blue));
}

@media (max-width: 767px) {
  #map .mvm-sheet-actions {
    margin: var(--mv-space-2) 0 0;
  }
}

@media (min-width: 768px) {
  #map .mvm-sheet-top {
    padding-top: var(--mv-space-3);
  }

  #map .mvm-sheet-text {
    -webkit-line-clamp: unset;
    display: block;
  }
}

/* Auswahl deutlicher: übrige Marker treten zurück (nur Deckkraft - billig),
   der gewählte Pin ist größer */
/* !important: MapLibre setzt die Deckkraft der Marker inline */
#map.mvm-sheet-on .muvamoMarkerOuter:not(.highlight):not(.mvm-nb) {
  opacity: 0.4 !important;
  transition: opacity var(--mv-dur-base) ease;
}

#map:not(.mvm-touch).mvm-sheet-on .muvamoMarkerOuter:not(.highlight):hover {
  opacity: 1 !important;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin:not(.mvm-pin-noimg) .muvamoMarker {
  width: 60px;
  height: 60px;
}

/* Performance: das Produktiv-CSS gibt JEDEM Marker zwei eigene Compositor-
   Ebenen (will-change + translateZ auf äußerem UND innerem Element, ~520
   Ebenen). Das innere braucht keine dauerhafte Ebene - Animationen fordern sie
   bei Bedarf selbst an. Spart Commit/Layerize, vor allem am Übergang. */
#map .muvamoMarkerOuter .muvamoMarker {
  will-change: auto;
}

/* Kategorie-/Must-See-/Award-Symbole im Foto (globale Klassen icon_overlay /
   award_overlay wie auf der ganzen Seite); über der Galerie, nicht klickbar */
#map .mvm-sheet-gallery .icon_overlay,
#map .mvm-sheet-gallery .award_overlay {
  z-index: 2;
  pointer-events: none;
}

#map .mvm-sheet-gallery .award_overlay {
  display: flex;
}

#map .mvm-sheet-imgwrap {
  position: relative;
  flex: none;
  line-height: 0;
}

#map .mvm-sheet-imgwrap .icon_overlay,
#map .mvm-sheet-imgwrap .award_overlay {
  padding: var(--mv-space-1);
}

#map .mvm-sheet-imgwrap .award_overlay {
  display: flex;
}

#map .mvm-sheet-imgwrap .muvamo_cat_overlay_image_mask {
  width: 13px !important;
  height: 13px !important;
}

#map .mvm-sheet-imgwrap .icon_overlay .muvamo_cat_overlay {
  padding: var(--mv-space-1);
}

/* Tickets & Reservierung (schlicht: Liste ohne Kasten/Überschrift, eine Zeile je
   Angebot mit Symbol, Titel, Unterzeile und Pfeil; Symbole wie im Ticket-Kasten
   der Spotseiten) */
#map .mvm-sheet-tickets:empty {
  display: none;
}

#map .mvm-sheet-tickets {
  margin: var(--mv-space-3) var(--mv-space-4) 0;
}

#map .mvm-ticket-text {
  margin-bottom: var(--mv-space-1);
  font-size: var(--mv-fs-1);
  line-height: 1.4;
  color: #5b6680;
}

#map .mvm-ticket-row {
  display: flex;
  align-items: center;
  gap: var(--mv-space-3);
  padding: var(--mv-space-2) var(--mv-space-1);
  border-top: var(--mv-border) solid #edf0f6;
  color: #2f3b55;
  text-decoration: none;
}

#map .mvm-ticket-row:last-child {
  border-bottom: var(--mv-border) solid #edf0f6;
}

#map:not(.mvm-touch) .mvm-ticket-row:hover {
  background: #f7f9fc;
}

#map .mvm-ticket-ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--mv-radius-round);
  background: #eef2fa;
  position: relative;
}

#map .mvm-ticket-ic::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--mv-blue);
  -webkit-mask: var(--ic, url(https://www.muvamo.com/wp-content/uploads/2024/01/ticket.svg)) no-repeat center / contain;
  mask: var(--ic, url(https://www.muvamo.com/wp-content/uploads/2024/01/ticket.svg)) no-repeat center / contain;
}

#map .mvm-ticket-pass .mvm-ticket-ic { background: #fbf3dc; --ic: url(https://www.muvamo.com/wp-content/uploads/2024/01/pass.svg); }
#map .mvm-ticket-pass .mvm-ticket-ic::after { background: #b8860b; }
#map .mvm-ticket-table .mvm-ticket-ic { --ic: url(https://www.muvamo.com/wp-content/uploads/2023/07/eat.svg); }

#map .mvm-ticket-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--mv-space-1);
  min-width: 0;
}

#map .mvm-ticket-txt strong {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1.25;
}

#map .mvm-ticket-txt small {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  color: #8a93a8;
}

#map .mvm-ticket-go {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--mv-blue);
}

@media (max-width: 767px) {
  #map .mvm-sheet-tickets {
    margin: var(--mv-space-2) 0 0;
  }
}

/* Bereich links oben im Galerie-Foto (wie das Etikett der Leistenkarten) */
#map .mvm-sheet-gallery .mvm-gal-area {
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 0 var(--mv-space-2);
  font-size: var(--mv-fs-1);
  line-height: 20px;
  pointer-events: none;
}

/* Einheitlicher Hover für alle Marker (HTML wie Kartenpunkte): statt
   Vergrößern ein weißer Rand + CI-blauer Ring - Vergrößern ging bei den
   Kartenpunkten nicht und löste bei HTML-Markern ein Neuzeichnen aus */
#map .muvamoMarkerOuter.hovered:not(.highlight) .muvamoMarker {
  scale: 1 !important;
  box-shadow: 0 0 0 3px var(--mv-white), 0 0 0 5.5px #3d4a75, 0 4px 12px rgba(38, 50, 80, 0.3);
}

#map .muvamoMarkerOuter.hovered:not(.highlight) {
  z-index: 140 !important;
}

/* ------------------------------------------------------------------------
 * Auswahl-Pin für Marker der Kartenebene (2026-09-27): die Marker sind jetzt
 * Kreise MITTIG auf dem Ort -> auch der gewählte Marker sitzt mittig (keine
 * Spitze, um die halbe Höhe nach unten versetzt; der Marker selbst ist unten
 * verankert), blauer Auswahl-Rahmen + Puls wie bisher, Kategorie-Abzeichen oben
 * rechts wie beim Kartenmarker, Name darunter.
 * ---------------------------------------------------------------------- */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center .muvamoMarker {
  translate: 0 50%;
  width: var(--pin-size, 60px);
  height: var(--pin-size, 60px);
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center .muvamoMarker::after {
  display: none !important;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center .mvm-pin-label {
  top: calc(150% + 8px);
}

#map .mvm-pin-badge {
  display: none;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center .mvm-pin-badge:not([hidden]) {
  display: block;
  position: absolute;
  z-index: 150;   /* über dem Marker (z-index 90, beim Hover 140 aus muvamo.css - sonst
                     verschwand das Abzeichen beim Überfahren, Michael 2026-10-02) */
  /* wie im Kartenbild: Mitte bei (+0,43 / -0,22) x Durchmesser; Kreismitte
     liegt bei 100 % Höhe (um die halbe Höhe versetzt) */
  left: calc(50% + var(--pin-size, 60px) * 0.43 - 12px);
  top: calc(100% - var(--pin-size, 60px) * 0.22 - 12px);
  width: 24px;
  height: 24px;
  border-radius: var(--mv-radius-round);
  background: var(--badge-color, var(--mv-blue));
  box-shadow: 0 1px 4px rgba(38, 50, 80, 0.3);
  pointer-events: none;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center .mvm-pin-badge:not([hidden])::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--mv-white);
  -webkit-mask: var(--pin-icon) no-repeat center / contain;
  mask: var(--pin-icon) no-repeat center / contain;
}

/* Hover in der Leiste: pulsierender Ring um den (hervorgehobenen) Marker,
   gleiche Wellen wie der Auswahl-Pin; Größe/Versatz setzt showHalo() */
#map .mvm-halo {
  z-index: 1150;
  border-radius: var(--mv-radius-round);
  pointer-events: none;
  box-shadow: 0 0 0 2.5px #3d4a75;
}

#map .mvm-halo.mvm-halo-go {
  animation: mvm-halo-wave 1.4s ease-out infinite;
}

@keyframes mvm-halo-wave {
  0% { box-shadow: 0 0 0 2.5px #3d4a75, 0 0 0 2.5px rgba(61, 74, 117, 0.6); }
  70% { box-shadow: 0 0 0 2.5px #3d4a75, 0 0 0 18px rgba(61, 74, 117, 0); }
  100% { box-shadow: 0 0 0 2.5px #3d4a75, 0 0 0 18px rgba(61, 74, 117, 0); }
}

@media (prefers-reduced-motion: reduce) {
  #map .mvm-halo.mvm-halo-go { animation: none; }
}

/* Touch-Geräte (hover: none): keine Hover-Vergrößerung der Produktiv-Marker */
#map.mvm-touch:not(.mvm-scale) .muvamoMarkerOuter .muvamoMarker:hover {
  transform: none;
}

/* Aufplatzen mit Markern der Kartenebene: kurzlebige Flug-Kopie (glFlyStart) */
#map .mvm-fly {
  z-index: 5;
  pointer-events: none;
}

#map .mvm-fly-in {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: var(--mv-radius-round);
  box-shadow: 0 3px 8px rgba(38, 50, 80, 0.3);
}

#map .mvm-fly-in img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--mv-radius-round);
  object-fit: cover;
}

/* Aufplatzen: Flug-Kopie eines Punkts (Kategoriefarbe, weißer Rand, Symbol) */
#map .mvm-fly-in.mvm-fly-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--mv-border-strong) solid var(--mv-white);
}

#map .mvm-fly-dot span {
  width: 52%;
  height: 52%;
  background: var(--mv-white);
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}

/* iOS-Safari: Karte läuft unter der Adressleiste weiter (--mvm-under aus
   setFullMapHeight, sonst 0) - Bedienelemente unten rücken darüber */
#map .map_bottom_menu,
#map .maplibregl-ctrl-bottom-left,
#map .maplibregl-ctrl-bottom-right {
  /* + Home-/Gestenleiste (Android-Chrome randlos, iOS-Home-Bildschirm-App) */
  translate: 0 calc(-1 * (var(--mvm-under, 0px) + env(safe-area-inset-bottom, 0px)));
}

@media (max-width: 767px) {
  #map .mvm-sheet {
    padding-bottom: var(--mvm-under, 0px);
    box-sizing: border-box;
  }
}

/* Panel: Scrollen bleibt im Panel, nie die Seite */
#map .mvm-sheet {
  overscroll-behavior: contain;
}

/* ------------------------------------------------------------------------
 * Bereichskarten ohne Rahmen (Michael 2026-09-27, Variante 4a + c): rundes Foto
 * mit Anzahl mittig auf dem Bereich, Name (+ Charakter-Zeile) als freier Text
 * mit weißem Schein daneben. updateAreaCards wählt je nach Platz: rechts,
 * links (.mvm-lbl-left), ohne Charakter-Zeile (.mvm-notag), kleiner Name unter
 * dem Foto (.mvm-compact) oder nur das Foto (.mvm-noname). !important, weil die
 * älteren Karten-/Hover-Regeln spezifischer sind.
 * ---------------------------------------------------------------------- */
#map .mvm-area-lbl .mvm-area {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  gap: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

#map .mvm-area-lbl .mvm-area-photo {
  width: 38px;
  height: 38px;
}

#map .mvm-area-lbl .mvm-area-photo img,
#map .mvm-area-lbl .mvm-area-initial {
  box-sizing: border-box;
  border: var(--mv-border-strong) solid var(--mv-white);
  box-shadow: 0 0 0 2px var(--area-color, var(--mv-blue)), 0 4px 12px rgba(38, 50, 80, 0.3);
}

#map .mvm-area-lbl .mvm-area-text {
  position: absolute;
  top: 50%;
  left: calc(100% + 6px);
  transform: translateY(-50%);
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  pointer-events: none;
  /* schmaler, scharfer Rand in der Papierfarbe der Karte (wie die Orts- und
     Straßennamen) statt weißem Weichzeichner-Fleck (Michael 2026-09-28) */
  text-shadow: 1px 0 0 #f8f3ec, -1px 0 0 #f8f3ec, 0 1px 0 #f8f3ec, 0 -1px 0 #f8f3ec,
               1px 1px 0 #f8f3ec, -1px -1px 0 #f8f3ec, 1px -1px 0 #f8f3ec, -1px 1px 0 #f8f3ec,
               0 0 3px rgba(248, 243, 236, 0.9);
}

#map .mvm-area-lbl .mvm-area-name {
  display: block !important;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  color: #2f3b55;
}

#map .mvm-area-lbl .mvm-area-tag {
  display: block !important;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  color: #5b6680;
}

#map .mvm-area-lbl .mvm-lbl-left .mvm-area-text {
  left: auto;
  right: calc(100% + 6px);
  align-items: flex-end;
  text-align: right;
}

#map .mvm-area-lbl .mvm-notag .mvm-area-tag {
  display: none !important;
}

/* Name über dem Foto */
#map .mvm-area-lbl .mvm-lbl-top .mvm-area-text {
  top: auto;
  bottom: calc(100% + 4px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  align-items: center;
}

/* zusammengeklappt: kleiner, dezenter Name unter dem Foto */
#map .mvm-area-lbl .mvm-compact .mvm-area-text {
  top: calc(100% + 3px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  align-items: center;
}

#map .mvm-area-lbl .mvm-compact.mvm-lbl-top .mvm-area-text {
  top: auto;
  bottom: calc(100% + 3px);
}

#map .mvm-area-lbl .mvm-compact .mvm-area-name {
  font-size: var(--mv-fs-1);
  color: #5b6680;
}

#map .mvm-area-lbl .mvm-compact .mvm-area-tag,
#map .mvm-area-lbl .mvm-noname .mvm-area-text {
  display: none !important;
}

/* ohne Platz: Name nur beim Hover (Maus) */
#map:not(.mvm-touch) .mvm-area-lbl:hover .mvm-noname .mvm-area-text {
  display: flex !important;
}

#map:not(.mvm-touch) .mvm-area-lbl:hover .mvm-area-photo img {
  box-shadow: 0 0 0 2px var(--area-color, var(--mv-blue)), 0 6px 16px rgba(38, 50, 80, 0.4);
}

/* Auswahl-Etikett langer Namen (Variante 1c): Hauptname höchstens 2 Zeilen,
   bei Unter-Spots der Tourname klein und einzeilig darunter */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin .mvm-pin-label {
  width: max-content;
  max-width: 210px;
  white-space: normal;
  text-align: center;
  border-radius: var(--mv-radius-m);
  padding: 3px 10px var(--mv-space-1);
}

#map .mvm-pin-main {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#map .mvm-pin-sub {
  display: block;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  line-height: 14px;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* WC/Wasser/Bankomat-Chip aktiv: HTML-Marker treten wie die Kartenmarker zurück */
/* ein Ort von muvamo, den die Suche gefunden hat (mvm-found, 16.11.2026), bleibt voll */
#map.mvm-practical-on .muvamoMarkerOuter:not(.highlight):not(.mvm-found) {
  opacity: 0.45 !important;
}
/* "Practical" und Suche als eigener Kartenmodus (Michael, 23.11.2026): was nicht passt, ganz aus wie bei einem Filter;
   !important wie oben gegen die Deckkraft aus Zoom und Kollision */
#map.mvm-pract-mode .muvamoMarkerOuter:not(.highlight):not(.mvm-found),
#map.mvm-found-on .muvamoMarkerOuter:not(.highlight):not(.mvm-found) {
  opacity: 0 !important;
  pointer-events: none;
}
/* zurückgenommen bei aktivem Filter (MVM_FILTER_DIM, 22.11.2026): blass und nicht anklickbar; !important wie oben gegen die
   Deckkraft aus Zoom und Kollision */
#map .muvamoMarkerOuter.mvm-fdim:not(.highlight) {
  opacity: 0.35 !important;   /* Begründung: gegen die Deckkraft aus Zoom und Kollision (inline) */
  pointer-events: none;
}

/* Charakter-Zeile: Text höchstens 170 px mit "…", die Gesamtzahl dahinter wird nie abgeschnitten */
#map .mvm-area-lbl .mvm-area-tag {
  display: flex !important;
  white-space: nowrap;
}

#map .mvm-area-lbl .mvm-notag .mvm-area-tag,
#map .mvm-area-lbl .mvm-compact .mvm-area-tag {
  display: none !important;
}

#map .mvm-tag-txt {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#map .mvm-tag-n {
  flex: none;
  color: #8a93a8;
}

/* Bereichs-Zähler: Stern + Highlights groß, übrige Spots klein unten rechts */
#map .mvm-area-lbl .mvm-area-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--mv-space-1);
  white-space: nowrap;
}

#map .mvm-badge-star {
  font-size: var(--mv-fs-1);
  line-height: 1;
}

#map .mvm-area-badge2 {
  position: absolute;
  right: -10px;
  bottom: -5px;
  padding: 0 var(--mv-space-1);
  height: 15px;
  border: 1.5px solid var(--mv-white);
  border-radius: var(--mv-radius-s);
  background: var(--mv-white);
  color: #5b6680;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 12px;
  box-shadow: 0 1px 4px rgba(38, 50, 80, 0.3);
  white-space: nowrap;
}

#map .mvm-area-badge2[hidden] {
  display: none;
}

/* Verbindungslinie zwischen den Stufen */

/* Stern-Zähler im Foto-Kreis (Michael): kleines Etikett mittig auf dem unteren
   Rand des Fotos, halb im Kreis - kein Platzbedarf rechts oben mehr */
#map .mvm-area-lbl .mvm-area-badge {
  top: auto;
  right: auto;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  min-width: 0;
  height: 16px;
  padding: 0 var(--mv-space-1);
  border-width: 1.5px;
  font-size: var(--mv-fs-1);
  line-height: 13px;
}

/* Nachschärfung (Michael): Zähler GANZ im Foto-Kreis (kompakt), unten im Bild */
#map .mvm-area-lbl .mvm-area-photo {
  overflow: hidden;
  border-radius: var(--mv-radius-round);
}

#map .mvm-area-lbl .mvm-area-badge {
  bottom: 3px;
  height: 13px;
  padding: 0 var(--mv-space-1);
  border: 0;
  border-radius: var(--mv-radius-s);
  font-size: var(--mv-fs-1);
  line-height: 13px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

#map .mvm-area-lbl .mvm-badge-star {
  font-size: 7.5px;
}

/* Ring + Schatten des Fotos jetzt am Rahmen des (beschnittenen) Foto-Containers */
#map .mvm-area-lbl .mvm-area-photo img,
#map .mvm-area-lbl .mvm-area-initial {
  box-shadow: none;
}

#map .mvm-area-lbl .mvm-area-photo {
  box-shadow: 0 0 0 2px var(--mv-white), 0 0 0 4px var(--area-color, var(--mv-blue)), 0 4px 12px rgba(38, 50, 80, 0.3);
}

#map .mvm-area-lbl .mvm-area-photo img {
  border: 0;
}

#map .mvm-area-lbl .mvm-area-photo {
  display: block;   /* span: ohne block kein runder Rahmen (Schatten zerfiel in Klammern) */
}

/* Gesamtzahl dezent im Foto (Michael): kein hartes Etikett, sondern ein weicher
   dunkler Verlauf am unteren Fotorand mit kleiner weißer Zahl */
#map .mvm-area-lbl .mvm-area-badge {
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: auto;
  height: 17px;
  padding: var(--mv-space-1) 0 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(to top, rgba(20, 28, 45, 0.62), rgba(20, 28, 45, 0));
  box-shadow: none;
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 14px;
  text-align: center;
  justify-content: center;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.45);
}

#map .mvm-area-lbl .mvm-tag-n {
  display: none;
}

/* Tour ausgewählt (nur Linie, Michael 2026-09-28): kleines Start-Fähnchen
   statt Foto-Pin; Name der Tour bleibt darunter */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center.mvm-pin-start .muvamoMarker {
  padding: var(--mv-space-2);
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center.mvm-pin-start .mvm-pin-label {
  top: calc(150% + 4px);
}

/* Zoom-Knöpfe (Desktop, seit dem Wegfall der Stufenleiter 2026-09-28):
   Symbole in CI-Blau wie der Standort-Knopf */
#map.mvm-ci .maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon,
#map.mvm-ci .maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon {
  filter: invert(45%) sepia(19%) saturate(1395%) hue-rotate(187deg) brightness(92%) contrast(88%);
}

/* HTML-Marker (Hotels, Guides) sitzen über dem Ort (Anker unten): Auswahl-Pin
   an derselben Stelle statt um die halbe Höhe nach unten (sprang, 2026-09-28) */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center.mvm-pin-anchored .muvamoMarker {
  translate: 0 0;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center.mvm-pin-anchored .mvm-pin-label {
  top: calc(100% + 8px);
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center.mvm-pin-anchored .mvm-pin-badge:not([hidden]) {
  top: calc(100% - var(--pin-size, 60px) * 0.72 - 12px);
}

/* Pass-Chip außerhalb der Pass-Stadt ausgeblendet (updatePassChip) */
#map .mvm-chip-btn[hidden] {
  display: none !important;
}


/* Suche offen (Michael 2026-09-28: Chips verdeckten das Suchfeld): das
   Eingabefeld (z-index 999 aus muvamo.css) lag unter der Chip-Leiste (9998).
   Solange die Suche offen ist, ersetzt sie die Chip-Zeile. Per :has, damit
   jeder Weg zum Schließen (Knopf, Treffer, Escape) mitgenommen wird. */
#map:not(.mvm-search-pills):has(#mapsearch[style*="block"]) .mvm-chips {
  visibility: hidden;
}
/* Laptop mit Platz neben dem Suchfeld (Michael, 16.11.2026): die Filter bleiben und rücken neben das Feld; den Versatz
   misst die Karte (mvmSearchOpened) */
#map.mvm-search-pills:has(#mapsearch[style*="block"]) .mvm-chips {
  margin-left: var(--mvm-search-shift, 0);
}


#map.mvm-ci #mapsearch input,
#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map {
  z-index: var(--mv-z-toast) !important;
}

#map.mvm-ci #mapsearch input {
  width: min(420px, calc(100% - 140px)) !important;
}

/* Kartensuche: Gebiet als kleine zweite Zeile */
#map.mvm-ci #mapsearch .mvm-search-area {
  display: block;
  margin-top: var(--mv-border-strong);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  color: var(--area-color, #5b6680);
}
/* Entfernung von dir hinter dem Gebiet, leise wie die zweite Zeile der fremden Treffer (23.11.2026) */
#map.mvm-ci #mapsearch .mvm-search-dist {
  font-weight: var(--mv-fw-text);
  color: var(--mv-muted);
}

/* Trefferliste der Kartensuche: direkt unter dem Suchfeld, gleiche Kante und
   Breite, Karten-Look statt alter Mini-Liste (Michael 2026-09-28) */
#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map {
  position: absolute;
  top: 64px;
  left: 68px;
  width: min(420px, calc(100% - 140px)) !important;
  max-height: calc(100% - 64px - 170px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-sizing: border-box;
  contain: paint;
  overscroll-behavior: contain;
  padding: var(--mv-space-1);
  background: var(--mv-white);
  border: 0;
  border-radius: var(--mv-radius-card);
  box-shadow: 0 10px 28px rgba(38, 50, 80, 0.18);
}

#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map .muvamo_autocomplete_result_element_outer,
#map.mvm-ci .mvm-gs-hn-list .muvamo_autocomplete_result_element_outer {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  padding: 7px var(--mv-space-2) !important;
  border-radius: var(--mv-radius-s);
  text-decoration: none;
}

#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map .muvamo_autocomplete_result_element_outer.marked,
#map:not(.mvm-touch).mvm-ci #mapsearch .muvamo_autocomplete_result.map .muvamo_autocomplete_result_element_outer:hover,
#map.mvm-ci .mvm-gs-hn-list .muvamo_autocomplete_result_element_outer.marked,
#map:not(.mvm-touch).mvm-ci .mvm-gs-hn-list .muvamo_autocomplete_result_element_outer:hover {
  background: #f6f1eb;
}

#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map .muvamo_autocomplete_image,
#map.mvm-ci .mvm-gs-hn-list .muvamo_autocomplete_image {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px;
  border-radius: var(--mv-radius-s);
  overflow: hidden;
  background: #efe7dd;
}

#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map .muvamo_autocomplete_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map .muvamo_autocomplete_text,
#map.mvm-ci .mvm-gs-hn-list .muvamo_autocomplete_text {
  padding: 0 !important;
  font-size: var(--mv-fs-2) !important;
  font-weight: var(--mv-fw-semi);
  line-height: var(--mv-lh-head) !important; /* kompakter (Michael, 23.11.2026); !important gegen muvamo.css */
  color: #2f3b55;
}

/* Handy: Titel höchstens zwei Zeilen, damit 6 Treffer ohne Scrollen passen */
@media (max-width: 767px) {
  #map.mvm-ci #mapsearch .mvm-search-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

/* Suchleiste (Feld + X + Treffer als Einheit, 2026-09-28): rückt mit der
   Seitenleiste nach rechts wie die Knöpfe; Treffer hängen direkt darunter */
#map.mvm-ci #mapsearch .mvm-search-bar {
  position: absolute;
  top: 12px;
  left: 68px;
  width: min(420px, calc(100% - 140px));
  z-index: var(--mv-z-toast);
  transition: left 0.25s ease;
}

#map.mvm-ci #mapsearch .mvm-search-bar input {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  padding-right: var(--mv-space-7);
  box-sizing: border-box;
}

#map.mvm-ci #mapsearch .mvm-search-x {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 10005;   /* über dem Feld (z-index 10002 !important, siehe oben) */
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: #f1f3f8;
  color: #5b6680;
  font-size: var(--mv-fs-4);
  line-height: 32px;
  cursor: pointer;
}

#map:not(.mvm-touch).mvm-ci #mapsearch .mvm-search-x:hover {
  background: #e6e9f1;
  color: #2f3b55;
}

#map.mvm-ci #mapsearch .mvm-search-bar .muvamo_autocomplete_result.map {
  top: 52px;
  left: 0;
  width: 100% !important;
  max-height: min(520px, 60vh) !important;
}

/* Kartensuche mit Gruppen (15.11.2026): "On muvamo", "Hotels", "Addresses and stations"; Überschrift klein und
   ruhig, fremde Treffer mit Zeichen der Art statt Bild, Art und Adresszeile als zweite Zeile; Ladezustand und
   Leerzustand als eine graue Zeile unter den Treffern, damit die Liste oben nicht springt */
#map.mvm-ci #mapsearch .mvm-sg + .mvm-sg,
#map.mvm-ci #mapsearch .mvm-sg + .mvm-sg-wait { margin-top: var(--mv-space-1); padding-top: var(--mv-space-1); border-top: var(--mv-border) solid var(--mv-hairline); }
#map.mvm-ci #mapsearch .mvm-sg-h {
  padding: var(--mv-space-2) var(--mv-space-2) var(--mv-space-1);
  font-size: var(--mv-fs-1); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-head);
  letter-spacing: var(--mv-tracking-caps); text-transform: uppercase; color: var(--mv-muted);
}
#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map .mvm-geo-ico,
#map.mvm-ci .mvm-gs-hn-list .mvm-geo-ico {
  display: flex; align-items: center; justify-content: center; background: var(--mv-linen); color: var(--mv-ink);
}
#map.mvm-ci #mapsearch .mvm-geo-sub,
#map.mvm-ci .mvm-gs-hn-list .mvm-geo-sub { display: block; margin-top: var(--mv-border-strong); font-size: var(--mv-fs-1); font-weight: var(--mv-fw-text); color: var(--mv-muted); }
#map.mvm-ci #mapsearch .mvm-sg-wait,
#map.mvm-ci #mapsearch .mvm-sg-none,
#map.mvm-ci .mvm-gs-hn-list .mvm-sg-wait,
#map.mvm-ci .mvm-gs-hn-list .mvm-sg-none {
  display: flex; align-items: center; gap: var(--mv-space-2); min-height: var(--mv-tap);
  padding: var(--mv-space-2); font-size: var(--mv-fs-1-5); line-height: var(--mv-lh-head); color: var(--mv-muted);
}
#map.mvm-ci #mapsearch .mvm-sg-dot,
#map.mvm-ci .mvm-gs-hn-list .mvm-sg-dot {
  flex: none; width: var(--mv-space-3); height: var(--mv-space-3); border-radius: var(--mv-radius-round);
  border: var(--mv-border-strong) solid var(--mv-hairline); border-top-color: var(--mv-muted);
  animation: mvm-sg-spin 0.9s linear infinite;
}
@keyframes mvm-sg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #map.mvm-ci #mapsearch .mvm-sg-dot, #map.mvm-ci .mvm-gs-hn-list .mvm-sg-dot { animation: none; } }
#map .mvm-sr-live { position: absolute; width: var(--mv-border); height: var(--mv-border); overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* kleine Karte eines fremden Treffers: Quelle klein unten, Liste "What's nearby" */
#map .mvm-geo-card .mvm-geo-dot { display: flex; align-items: center; justify-content: center; color: var(--mv-ink); }
#map .mvm-geo-card .mvm-geo-dot svg { width: var(--mv-space-5); height: var(--mv-space-5); }
/* Zeichen aus Font Awesome (16.11.2026) in der Größe der gezeichneten davor */
#map .mvm-geo-card .mvm-geo-dot i, #map .mvm-sheet-geo .mvm-gs-ico i, #map #mapsearch .mvm-geo-ico i, #map .mvm-gs-hn-list .mvm-geo-ico i { font-size: var(--mv-fs-3); line-height: 1; }
#map .mvm-geo-ring .mvm-geo-ring-in i { font-size: var(--mv-fs-1); line-height: 1; }
#map .mvm-geo-card .mvm-geo-src { margin-top: var(--mv-space-3); font-size: var(--mv-fs-1); line-height: var(--mv-lh-head); color: var(--mv-muted); }
#map .mvm-geo-card .mvm-geo-src a { color: inherit; }
#map .mvm-geo-card .mvm-geo-near { margin-top: var(--mv-space-3); }
#map .mvm-geo-card .mvm-geo-near ul { margin: 0; padding: 0; list-style: none; }
#map .mvm-geo-card .mvm-geo-near p { font-size: var(--mv-fs-1-5); color: var(--mv-muted); }
#map .mvm-geo-card .mvm-geo-near-b {
  display: flex; width: 100%; min-height: var(--mv-tap); align-items: center; justify-content: space-between; gap: var(--mv-space-2);
  padding: var(--mv-space-2); border: 0; border-radius: var(--mv-radius-s); background: transparent; color: var(--mv-ink);
  font: inherit; font-size: var(--mv-fs-2); font-weight: var(--mv-fw-semi); text-align: left; cursor: pointer;
}
#map .mvm-geo-card .mvm-geo-near-b:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
@media (hover: hover) { #map .mvm-geo-card .mvm-geo-near-b:hover { background: var(--mv-veil-hover); } }
#map .mvm-geo-card .mvm-geo-near-d { flex: none; font-size: var(--mv-fs-1-5); font-weight: var(--mv-fw-text); color: var(--mv-muted); }
#map .mvm-geo-near-hl { z-index: var(--mv-z-raised); }
#map .mvm-geo-near-hl > * { box-shadow: var(--mv-focus-ring); border-radius: var(--mv-radius-round); }
/* WC, Trinkwasser, Bankomat (15.11.2026): Ring um das Zeichen der Karte statt einer zweiten Nadel, wie die Hervorhebung
   der Orte in der Nähe; Klicks gehen durch auf das Zeichen */
#map .mvm-geo-ring { width: var(--mv-space-5); height: var(--mv-space-5); border-radius: var(--mv-radius-round); box-shadow: var(--mv-focus-ring); pointer-events: none; }
/* Hover über einem Zeichen: heller Ring mit Schatten, das gewählte Zeichen behält den dunklen Ring */
/* das gewählte Zeichen im Ring selbst, damit es beim Hinauszoomen stehen bleibt */
#map .mvm-geo-ring .mvm-geo-ring-in { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: var(--mv-radius-round); background: var(--chip-color); color: var(--mv-white); }
#map .mvm-geo-ring .mvm-geo-ring-in svg { width: var(--mv-space-4); height: var(--mv-space-4); }
#map .mvm-geo-ring.mvm-geo-ring-hover { box-shadow: 0 0 0 var(--mv-border-strong) var(--mv-white), var(--mv-shadow-float); }
/* Hover über einem kleinen Punkt (Suche, Practical herausgezoomt; 17.11.2026): der Ring passt zum Punkt, nicht zum Zeichen */
#map .mvm-geo-ring.mvm-geo-ring-hover.mvm-geo-ring-dot { width: var(--mv-space-3); height: var(--mv-space-3); }

@media (min-width: 768px) {
  #map.mvm-ci.mvm-sheet-on #mapsearch .mvm-search-bar {
    left: 460px;
    width: min(420px, calc(100% - 532px));
  }
}

/* Tour-Stationen: vorige / nächste Station mit Gehzeit (2026-09-28) */
#map .mvm-tournav {
  margin: var(--mv-space-3) 0 var(--mv-space-1);
  display: grid;
  gap: var(--mv-space-1);
}

#map .mvm-tournav-count {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  letter-spacing: 0.04em;
  color: #5b6680;
}

#map .mvm-tournav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mv-space-2);
}

#map .mvm-tournav-btn {
  display: flex;
  align-items: center;
  gap: var(--mv-space-1);
  min-width: 0;
  padding: var(--mv-space-2) 10px;
  border: 0;
  border-radius: var(--mv-radius-m);
  background: #eef2fa;
  color: #2f3b55;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

#map .mvm-tournav-next {
  justify-content: flex-end;
  text-align: right;
}

#map:not(.mvm-touch) .mvm-tournav-btn[data-trigger]:hover {
  background: #e0e8f7;
}

#map .mvm-tournav-btn:focus-visible {
  outline: var(--mv-border-strong) solid var(--mv-blue);
  outline-offset: 2px;
}

#map .mvm-tournav-end {
  justify-content: center;
  background: #f6f1eb;
  color: #8f8279;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  cursor: default;
}

#map .mvm-tournav-arrow {
  flex: none;
  font-size: var(--mv-fs-4);
  line-height: 1;
  color: var(--mv-blue);
}

#map .mvm-tournav-txt {
  display: grid;
  min-width: 0;
}

#map .mvm-tournav-name {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#map .mvm-tournav-min {
  font-size: var(--mv-fs-1);
  color: #5b6680;
}

@media (min-width: 768px) {
  #map .mvm-tournav {
    margin-left: var(--mv-space-4);
    margin-right: var(--mv-space-4);
  }
}

/* Voller Text (formatiert): Absätze, Links, Listen; beim Laden Platzhalter
   statt gekürztem Text, dann weich eingeblendet (2026-09-28) */
#map .mvm-sheet-text.mvm-text-rich {
  display: block;
  -webkit-line-clamp: unset;
}

#map .mvm-sheet-text.mvm-text-rich p {
  margin: 0 0 var(--mv-space-2);
}

#map .mvm-sheet-text.mvm-text-rich p:last-child {
  margin-bottom: 0;
}

#map .mvm-sheet-text.mvm-text-rich ul,
#map .mvm-sheet-text.mvm-text-rich ol {
  margin: 0 0 var(--mv-space-2);
  padding-left: var(--mv-space-4);
}

#map .mvm-sheet-text.mvm-text-rich a {
  color: var(--mv-blue);
  text-decoration: underline;
}

#map .mvm-sheet-text.mvm-text-loading {
  display: block;
  color: transparent;
  min-height: 3.9em;
  background:
    linear-gradient(#eef0f5, #eef0f5) 0 0.25em / 100% 0.8em no-repeat,
    linear-gradient(#eef0f5, #eef0f5) 0 1.55em / 92% 0.8em no-repeat,
    linear-gradient(#eef0f5, #eef0f5) 0 2.85em / 64% 0.8em no-repeat;
  border-radius: var(--mv-radius-xs);
  overflow: hidden;
  max-height: 3.9em;
}

#map .mvm-sheet-text.mvm-text-fade {
  animation: mvm-text-in 0.25s ease;
}

@keyframes mvm-text-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #map .mvm-sheet-text.mvm-text-fade { animation: none; }
}

/* Handy: im halben Panel 3 Zeilen Vorschau (weich auslaufend), ganz aufgezogen alles */
@media (max-width: 767px) {
  #map .mvm-sheet.mvm-sheet-half .mvm-sheet-text {
    display: block;
    -webkit-line-clamp: unset;
    max-height: 4.4em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 60%, transparent);
    mask-image: linear-gradient(#000 60%, transparent);
  }

  #map .mvm-sheet.mvm-sheet-full .mvm-sheet-text {
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
  }
}

/* ------------------------------------------------------------------------
 * Tour-Werkzeuge (2026-09-28): Übersicht in der Kartenecke, Tour-Modus-Banner
 * ---------------------------------------------------------------------- */
#map .mvm-tourbox {
  position: absolute;
  z-index: 9990;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  flex-wrap: wrap;
  max-width: calc(100% - 140px);
  padding: var(--mv-space-2) var(--mv-space-2) var(--mv-space-2) 14px;
  background: var(--mv-white);
  border-radius: var(--mv-radius-card);
  box-shadow: 0 6px 18px rgba(38, 50, 80, 0.16);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  color: #2f3b55;
}

#map .mvm-tourbox-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mv-space-1) var(--mv-space-2);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  color: #5b6680;
}

#map .mvm-tourbox-facts strong {
  color: #2f3b55;
  font-weight: var(--mv-fw-bold);
}

#map .mvm-tourbox-go {
  border: 0;
  border-radius: var(--mv-radius-pill);
  padding: var(--mv-space-2) var(--mv-space-3);
  background: var(--mv-blue);
  color: var(--mv-white);
  font: 700 13px/1 'Quicksand', Helvetica, Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

#map:not(.mvm-touch) .mvm-tourbox-go:hover {
  background: #4a69a8;
}

/* „Tour starten“ nur als Knopf, ohne Kasten/Infos (2026-10-01) */
#map .mvm-tourbox.mvm-tourbox-start {
  padding: 0;
  background: none;
  box-shadow: none;
}
#map .mvm-tourbox-start .mvm-tourbox-go {
  padding: 11px var(--mv-space-4);
  font-size: var(--mv-fs-2);
  box-shadow: 0 4px 14px rgba(38, 50, 80, 0.22);
}
#map .mvm-tourbox-start .mvm-tourbox-go i {
  margin-right: var(--mv-space-1);
  font-size: var(--mv-fs-1);
}

#map.mvm-tourmode-on .mvm-tourbox:not(.mvm-tourbar) {
  display: none;
}

/* Tour-Seite, Handy: mitlaufender „Tour starten“-Knopf statt Eckknopf (2026-10-02),
   Aussehen wie „Open map“ der Kartenseite (.mvm-seo-sticky); im Vollbild aus */
.mvm-tour-sticky {
  display: none;
}

@media (max-width: 767px) {
  html:not(.mvm-fs-on) .mvm-tour-sticky {
    position: fixed;
    z-index: 9000;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: var(--mv-space-2);
    padding: var(--mv-space-3) var(--mv-space-5);
    border: 0;
    border-radius: var(--mv-radius-pill);
    background: var(--mv-blue);
    color: var(--mv-white);
    font: 700 15px 'Quicksand', Helvetica, Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(38, 50, 80, 0.35);
  }
  html:not(.mvm-fs-on) .mvm-tour-sticky i {
    font-size: var(--mv-fs-1);
  }
  html.mvm-has-toursticky:not(.mvm-fs-on) #map .mvm-tourbox-start {
    display: none;
  }
}

@media (max-width: 767px) {
  #map .mvm-tourbox:not(.mvm-tourbox-start) {
    padding: var(--mv-space-1) var(--mv-space-1) var(--mv-space-1) var(--mv-space-2);
  }
  #map .mvm-tourbox {
    left: 12px;
    max-width: calc(100% - 84px);
  }

}

/* ------------------------------------------------------------------------
 * Tour-Panel (Michael 2026-09-29): EINE Komponente für den Tour-Modus -
 * Kopf (Fortschritt + Beenden mit Rückfrage), Inhalt der gezeigten Station
 * (Du bist hier / Nächste Station / Vorschau + Zurück zu mir), unten fest die
 * Navigation für den Daumen. Handy: Höhe in drei Stufen (renderTourPanel /
 * tourPanelLayout), Wischen nach unten klappt zusammen, schließt nie.
 * ---------------------------------------------------------------------- */
#map .mvm-sheet.mvm-sheet-tp {
  transition: transform 0.25s ease, height 0.25s ease, visibility 0s linear 0.25s;
}

/* offen sofort sichtbar (die verzögerte Sichtbarkeit gilt nur fürs Wegfahren, siehe #map .mvm-sheet) */
#map .mvm-sheet.mvm-sheet-tp.mvm-sheet-open {
  transition: transform 0.25s ease, height 0.25s ease, visibility 0s;
}

#map .mvm-sheet.mvm-sheet-tp .mvm-sheet-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 var(--mv-space-4) var(--mv-space-2);
}

#map .mvm-tp-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--mv-space-3);
  padding: 2px var(--mv-space-3) 10px var(--mv-space-4);
}

#map .mvm-tp-prog {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: var(--mv-space-1);
}

#map .mvm-tp-count {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6680;
}

#map .mvm-tp-bar {
  display: block;
  height: 4px;
  border-radius: var(--mv-radius-xs);
  background: #e6e9f1;
  overflow: hidden;
}

#map .mvm-tp-bar i {
  display: block;
  height: 100%;
  border-radius: var(--mv-radius-xs);
  background: var(--mv-blue);
  transition: width 0.4s ease;
}

#map .mvm-sheet-tp button {
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  cursor: pointer;
}

#map .mvm-tp-end {
  flex: none;
  padding: var(--mv-space-2) var(--mv-space-3);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: #f1f3f8;
  color: #5b6680;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1;
}

#map .mvm-tp-confirm {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--mv-space-2);
  margin: 0 var(--mv-space-3) 10px;
  padding: 10px var(--mv-space-3) var(--mv-space-3);
  border-radius: var(--mv-radius-card);
  background: #fdf1e7;
  color: #7a4a2a;
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
}

#map .mvm-tp-confirm span {
  flex: 1 1 100%;
}

#map .mvm-tp-confirm button {
  flex: 1;
  padding: var(--mv-space-2);
  border: 0;
  border-radius: var(--mv-radius-s);
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
}

#map .mvm-tp-goon {
  background: var(--mv-blue);
  color: var(--mv-white);
}

#map .mvm-tp-endyes {
  background: var(--mv-white);
  color: #b3402f;
  box-shadow: inset 0 0 0 1.5px #e7b8ae;
}

#map .mvm-tp-status {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  min-height: 30px;
  margin: 2px 0 var(--mv-space-2);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3f6fc0;
}

#map .mvm-tp-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: var(--mv-radius-round);
  background: #2f9bf0;
  box-shadow: 0 0 0 3px rgba(47, 155, 240, 0.25);
}

#map .mvm-tp-status--next {
  color: #c4692c;
}

#map .mvm-tp-status--next .mvm-tp-dot {
  background: #ee9a5d;
  box-shadow: 0 0 0 3px rgba(238, 154, 93, 0.28);
}

#map .mvm-tp-status--preview {
  color: #7b849b;
}

#map .mvm-tp-status--preview .mvm-tp-dot {
  background: #a9b0c2;
  box-shadow: none;
}

#map .mvm-tp-me {
  margin-left: auto;
  padding: 7px var(--mv-space-3);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: #eaf0fb;
  color: #3f5f9f;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  letter-spacing: 0;
  text-transform: none;
}

/* „Weg zum Start“ auf der Start-Karte, weit weg vom Start (Michael 28.11.2026): wie „How do I get there?“ der Tour-Seite */
#map .mvm-tp-waystart {
  display: inline-flex;
  align-items: center;
  gap: var(--mv-space-2);
  min-height: var(--mv-tap);
  margin: 0 0 var(--mv-space-3);
  padding: var(--mv-space-2) var(--mv-space-4);
  border: 0;
  border-radius: var(--mv-radius-m);
  background: var(--mv-peach);
  color: var(--mv-ink);
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-image var(--mv-dur-fast);
}

#map .mvm-tp-waystart svg {
  flex: none;
}

#map .mvm-tp-waystart:hover {
  background-image: linear-gradient(var(--mv-veil-hover), var(--mv-veil-hover));
}

#map .mvm-tp-waystart:active {
  background-image: linear-gradient(var(--mv-veil-press), var(--mv-veil-press));
}

#map .mvm-tp-waystart:focus-visible {
  outline: none;
  box-shadow: var(--mv-focus-ring);
}

#map .mvm-tp-top {
  display: flex;
  align-items: center;
  gap: var(--mv-space-3);
  margin-bottom: var(--mv-space-2);
}

#map .mvm-tp-img {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: var(--mv-radius-m);
  object-fit: cover;
}

#map .mvm-tp-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mv-space-4);
  margin: 10px 0 var(--mv-space-1);
}

#map .mvm-tp-nav {
  flex: none;
  display: flex;
  align-items: stretch;
  gap: var(--mv-space-1);
  margin: var(--mv-space-1) 10px 10px;
  padding: var(--mv-space-1);
  border-radius: var(--mv-radius-card);
  background: #2e3c5c;
  color: var(--mv-white);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
}

#map .mvm-tp-nav button {
  border: 0;
  color: inherit;
}

#map .mvm-tp-prev,
#map .mvm-tp-next {
  flex: none;
  width: 46px;
  border-radius: var(--mv-radius-m);
  background: rgba(255, 255, 255, 0.12);
  font-size: var(--mv-fs-4);
  line-height: 1;
}

#map .mvm-tp-prev[disabled],
#map .mvm-tp-next[disabled] {
  opacity: 0.28;
  cursor: default;
}

#map .mvm-tp-navmain {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: var(--mv-space-1);
  padding: 6px var(--mv-space-2);
  border-radius: var(--mv-radius-m);
  background: transparent;
  text-align: center;
}

#map .mvm-tp-navlbl {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mv-peach);
}

#map .mvm-tp-navmain strong {
  font-size: var(--mv-fs-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#map .mvm-tp-navdist {
  font-size: var(--mv-fs-1);
  color: #cfd6e6;
}

#map .mvm-tp-navmsg {
  padding: var(--mv-space-3) var(--mv-space-2);
}

/* Einstiegsfrage als Overlay über der Karte (2026-10-04) */
#map .mvm-tp-choiceov {
  position: absolute;
  inset: 0;
  z-index: 10050;   /* über Panel (10000) und Kartenknöpfen (10001) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--mv-space-4);
  background: rgba(23, 33, 54, 0.45);
  animation: mvm-chov-in var(--mv-dur-base) ease both;
}
@keyframes mvm-chov-in { from { opacity: 0; } to { opacity: 1; } }
#map .mvm-tp-chbox {
  display: grid;
  gap: var(--mv-space-2);
  width: 100%;
  max-width: 400px;
  padding: 20px var(--mv-space-4) 10px;
  border-radius: 20px;
  background: var(--mv-white);
  box-shadow: 0 18px 50px rgba(20, 30, 50, 0.35);
  color: #2f3b55;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  animation: mvm-chbox-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes mvm-chbox-in { from { transform: translateY(12px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
#map .mvm-tp-chtour {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b849b;
  text-align: center;
}
#map .mvm-tp-chq2 {
  margin-bottom: var(--mv-space-1);
  font-size: var(--mv-fs-3);
  font-weight: var(--mv-fw-bold);
  text-align: center;
}
#map .mvm-tp-chbox .mvm-tp-choose {
  display: flex;
  align-items: center;
  gap: var(--mv-space-3);
  width: 100%;
  padding: var(--mv-space-2);
  border: 0;
  border-radius: var(--mv-radius-card);
  background: var(--mv-blue);
  color: var(--mv-white);
  text-align: left;
  font-family: inherit;
}
#map .mvm-tp-chbox .mvm-tp-choose.mvm-tp-choose-2 {
  background: #eef2fa;
  color: #2f3b55;
}
#map .mvm-tp-chimg {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: var(--mv-radius-s);
  object-fit: cover;
}
#map .mvm-tp-chbox .mvm-tp-flagimg { font-size: var(--mv-fs-3); }
#map .mvm-tp-chtxt {
  display: grid;
  gap: var(--mv-space-1);
  min-width: 0;
}
#map .mvm-tp-chbox .mvm-tp-navlbl {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.85;
}
#map .mvm-tp-chbox .mvm-tp-choose strong {
  font-size: var(--mv-fs-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#map .mvm-tp-chbox .mvm-tp-navdist {
  font-size: var(--mv-fs-1);
  color: inherit;
  opacity: 0.85;
}
#map .mvm-tp-chcancel {
  justify-self: center;
  padding: 6px var(--mv-space-3);
  border: 0;
  background: none;
  color: var(--mv-blue);
  font: 700 14px/1.2 'Quicksand', Helvetica, Arial, sans-serif;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  #map .mvm-tp-choiceov, #map .mvm-tp-chbox { animation: none; }
}

/* Einstieg mittendrin (Michael 2026-09-30): Frage + zwei Optionen im Daumenbereich */
#map .mvm-tp-choice {
  flex: 1;
  display: grid;
  gap: var(--mv-space-1);
  padding: var(--mv-space-1) 2px 2px;
}

#map .mvm-tp-chq {
  padding: var(--mv-space-1) var(--mv-space-1) var(--mv-space-1);
  font-size: var(--mv-fs-2); line-height: var(--mv-lh-box);
  font-weight: var(--mv-fw-bold);
  text-align: center;
}

#map .mvm-tp-choose {
  display: grid;
  gap: var(--mv-space-1);
  padding: var(--mv-space-2) 10px;
  border-radius: var(--mv-radius-m);
  background: var(--mv-blue);
  text-align: center;
  cursor: pointer;
}

#map .mvm-tp-choose.mvm-tp-choose-2 {
  background: rgba(255, 255, 255, 0.12);
}

#map .mvm-tp-choose strong {
  font-size: var(--mv-fs-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#map:not(.mvm-touch) .mvm-tp-choose:hover {
  filter: brightness(1.08);
}

/* Tour-Card: „Tour starten“ + „Mehr Infos“ nebeneinander */
#map .mvm-act-starttour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mv-space-2);
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

#map:not(.mvm-touch) .mvm-tp-end:hover {
  background: #e6e9f1;
}

#map:not(.mvm-touch) .mvm-tp-prev:not([disabled]):hover,
#map:not(.mvm-touch) .mvm-tp-next:not([disabled]):hover,
#map:not(.mvm-touch) button.mvm-tp-navmain:hover {
  background: rgba(255, 255, 255, 0.2);
}

#map .mvm-sheet-tp .mvm-sheet-text,
#map .mvm-sheet-tp .mvm-tp-title {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* halb offen: Text läuft weich aus statt hart abgeschnitten */
#map .mvm-sheet.mvm-sheet-tp.mvm-sheet-half:not(.mvm-tp-min) .mvm-sheet-scroll {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 26px), transparent);
}

/* zusammengeklappt: nur Kopf + Navigation */
#map .mvm-sheet.mvm-tp-min .mvm-sheet-scroll {
  visibility: hidden;
}

@media (min-width: 768px) {
  #map .mvm-sheet-tp .mvm-sheet-text {
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
  }

  #map .mvm-sheet.mvm-sheet-tp .mvm-sheet-scroll {
    height: auto;
    padding: 0 18px var(--mv-space-3);
  }

  #map .mvm-sheet-tp .mvm-tp-head {
    padding: var(--mv-space-4) var(--mv-space-3) var(--mv-space-3) 18px;
  }

  #map .mvm-tp-top {
    flex-direction: column;
    align-items: stretch;
  }

  #map .mvm-tp-img {
    width: 100%;
    height: 190px;
  }

  #map .mvm-tp-nav {
    margin: var(--mv-space-1) var(--mv-space-3) var(--mv-space-3);
  }
}

/* ------------------------------------------------------------------------
 * Vollbild für alle MapLibre-Karten (mapFsEnter/mapFsExit, Michael
 * 2026-09-29; zuerst Tourmodus): Karte über der ganzen Seite (auch über
 * muvamo-Kopf + WP-Adminleiste), Seite scrollt nicht, Bilderleiste unten
 * entfällt im Tourmodus (das Tour-Panel zeigt alles).
 * ---------------------------------------------------------------------- */
/* Scroll-Sperre erst, wenn das Vollbild ganz offen ist (mvm-fs-lock): sofort
   gesetzt ließ sie die klebende Navigation hinter der wachsenden Karte
   umspringen (Michael 2026-09-29: „nicht smooth“) */
html.mvm-fs-lock,
html.mvm-fs-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

/* Scrollleiste verschwindet beim Öffnen -> die Seite dahinter bekommt ihre
   Breite als Abstand rechts, damit sie hinter der wachsenden Karte nicht
   verrutscht (scrollbar-gutter ging nicht: der Streifen lag ÜBER der Karte) */
html.mvm-fs-lock body {
  padding-right: var(--mvm-sbw, 0px) !important;
}

/* abgedunkelter Hintergrund hinter der wachsenden Karte (fsBackdrop), nur noch beim
   Aufziehen der eingebetteten Karte; aus einem Element der Seite blendet die Karte
   ohne Abdunklung ein (Michael 25.10.2026) */
.mvm-fs-bd {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(24, 32, 52, 0.32);
  pointer-events: none;
}

#map.mvm-fs {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  /* iOS: unter die schwebende Safari-Leiste weiter (--mvm-under, sonst 0) */
  height: calc(100dvh + var(--mvm-under, 0px)) !important;
  height: var(--mvm-fs-h, calc(100dvh + var(--mvm-under, 0px))) !important;   /* iOS: Pixel aus JS (fsUnderUpdate) */
  max-height: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  z-index: 1000000 !important;
}

/* iOS offen: als Seiteninhalt statt fixed, sonst schneidet Safari unten an der
   Leiste ab (fsDocPin) */
#map.mvm-fs.mvm-fs-doc {
  position: absolute !important;
  top: var(--mvm-fs-top, 0px) !important;
  bottom: auto !important;
}

#map.mvm-tourmode-on .map_bottom_menu {
  display: none !important;
}

/* WP-Adminleiste und Vorschau-Schild (nur eingeloggt) lägen sonst über der
   Vollbild-Karte bzw. der Tour-Navigation */
html.mvm-fs-lock #wpadminbar,   /* erst ganz offen - sonst springt die Seite dahinter um 32 px */
html.mvm-fs-on .mvm-preview-badge,
body:has(.mvm-fs-shell) .mvm-preview-badge {
  display: none !important;
}

/* Fokus-Leiste: rechts großes X (beendet Vollbild/Tour) - die Kartenknöpfe
   rücken darunter. Das muvamo-Logo links wurde 2026-09-30 entfernt (Michael:
   gleiche Funktion wie X, Platz) - die Chips beginnen im Vollbild ganz links. */
#map .mvm-tf-top {
  position: absolute;
  z-index: var(--mv-z-toast);
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

#map.mvm-fs .mvm-chips {
  left: 12px;
}

@media (max-width: 980px) {
  #map.mvm-fs .mvm-chips {
    left: 10px;
  }
}

#map .mvm-tf-top button {
  pointer-events: auto;
  width: 48px;
  height: var(--mv-control-h);
  padding: 0;
  border: 0;
  border-radius: var(--mv-radius-card);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(38, 50, 80, 0.25);
}

#map .mvm-tf-x {
  background: #2e3c5c;
  color: var(--mv-white);
  font: 400 30px/48px 'Quicksand', Helvetica, Arial, sans-serif;
}

#map:not(.mvm-touch) .mvm-tf-x:hover {
  background: #3b4b70;
}

#map.mvm-fs .maplibregl-ctrl-top-left,
#map.mvm-fs .maplibregl-ctrl-top-right {
  top: calc(env(safe-area-inset-top, 0px) + 64px);
}

@media (max-width: 767px) {
  /* Inhalt endet über der Safari-Leiste: --mvm-under (iOS: Karte läuft darunter
     weiter, 157 px am iPhone 2026-09-30) - vorher nur die Home-Leiste (~34 px),
     dadurch lagen Tour-Navigation und Card-Ende unter der Leiste (Michael) */
  #map.mvm-fs .mvm-sheet {
    padding-bottom: max(var(--mvm-under, 0px), env(safe-area-inset-bottom, 0px));
  }
}

/* Vollbild-Knopf (⤢) eingebetteter Karten - im Vollbild übernimmt das X */
#map .mvm-fs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f3b55;
}

#map.mvm-fs .mvm-fs-ctrl {
  display: none;
}

/* Desktop/Tablet: Seitenleiste im Vollbild über die ganze Höhe (Michael
   2026-09-30, seit das Logo weg ist) - die Chips beginnen dann rechts daneben */
@media (min-width: 768px) {
  #map.mvm-fs .mvm-sheet {
    top: calc(env(safe-area-inset-top, 0px) + 12px);
  }

  #map.mvm-fs.mvm-sheet-on .mvm-chips {
    left: 404px;
  }
}

/* Popup-Karten: das Popup selbst (Rahmen, eigenes X) bleibt unter dem Vollbild */
html.mvm-fs-on .jquery-modal.blocker {
  background: transparent;
}

/* Popup-Karte: das Popup ist nur Behälter - sichtbar ist allein die Karte, die
   einblendet (Michael 2026-09-29: erst Popup, dann Karte wirkte unruhig; seit
   25.10.2026 Einblenden statt Aufziehen aus dem Knopf). Klappt das Vollbild nicht, nimmt mvmFsEnterSoon die Klasse weg.
   Die Regeln dazu (#openMapsModal.mvm-fs-modal, Blocker) stehen seit 25.10.2026 in
   muvamo.css: diese Datei kommt erst mit der Kartenbibliothek, beim ersten Klick war
   das Popup bis dahin als weiße Fläche zu sehen. */

/* Tourmodus: gewählte Station dezent - kaum größer, ohne Puls und Namensschild
   (den Namen zeigt das Tour-Panel) */
#map.mvm-tourmode-on .muvamoMarkerOuter.highlight.mvm-sheet-pin .muvamoMarker {
  padding: var(--mv-space-1);
  animation: none;
}

/* ohne Foto: Symbol wie am Kartenmarker halb so groß wie der Kreis - mit den 3 px
   für Fotos füllte es den ganzen Pin (Michael 2026-09-30: „zu großes Icon“) */
#map.mvm-tourmode-on .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-noimg .muvamoMarker {
  padding: calc(var(--pin-size, 44px) * 0.25);
}

#map.mvm-tourmode-on .muvamoMarkerOuter.highlight.mvm-sheet-pin .mvm-pin-label {
  display: none !important;
}

/* Status „Gerade besucht“ (Station verlassen) */
#map .mvm-tp-status--visited {
  color: #7b849b;
}

#map .mvm-tp-status--visited .mvm-tp-dot {
  background: #a9b0c2;
  box-shadow: none;
}

/* Hülle beim Öffnen einer Popup-Karte (mvmFsShell): steht seit 25.10.2026 in muvamo.css
   (muss vor dieser Datei da sein, s. oben) */

/* ------------------------------------------------------------------------
 * Bedienelemente einheitlich (Michael 2026-09-29): rechts oben ⤢ bzw. X +
 * Filter, links oben Suche (+ muvamo im Vollbild), rechts unten GPS mit +/−
 * (Desktop) und Kompass (nur gedreht) - rutscht über Fotoleiste/Panel
 * (layoutCornerCtrls setzt --mvm-br), Info (i) links unten.
 * ---------------------------------------------------------------------- */
#map .maplibregl-ctrl-bottom-right {
  bottom: var(--mvm-br, 0px);
  transition: bottom 0.25s ease;
}

#map .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group {
  margin: 0 var(--mv-space-3) var(--mv-space-3) 0;
}

#map .maplibregl-ctrl-bottom-left {
  z-index: var(--mv-z-dialog) !important;
  /* über Fotoleiste bzw. Handy-Panel/Tour-Panel (layoutCornerCtrls setzt --mvm-bl) */
  bottom: var(--mvm-bl, 0px);
  transition: bottom 0.25s ease;
}

#map:not(.mvm-rotated) .maplibregl-ctrl-compass {
  display: none;
}

/* Handy ohne Zoom-Knöpfe: Gruppe nur zeigen, wenn der Kompass gebraucht wird */
#map:not(.mvm-rotated) .mvm-nav-ctrl:not(:has(.maplibregl-ctrl-zoom-in)) {
  display: none;
}

/* Tour-Übersicht: links oben (dort sitzt nichts mehr); im Vollbild neben dem
   muvamo-Knopf */
#map.mvm-fs .mvm-tourbox {
  left: 12px;   /* seit das Logo weg ist (2026-09-30) ganz links */
}

@media (max-width: 767px) {
  #map.mvm-fs .mvm-tourbox {
    max-width: calc(100% - 84px);
  }
}

/* Info (i) muss sichtbar bleiben (Lizenzangabe): bei offener Desktop-Seitenleiste
   rechts daneben */
@media (min-width: 768px) {
  #map.mvm-sheet-on .maplibregl-ctrl-bottom-left {
    left: 392px;
  }
}

#map.muvamo_fullmap[data-mvm-scrollpage]:not(.mvm-fs) {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 40px -22px rgba(38, 50, 80, 0.3), 0 0 0 1px rgba(38, 50, 80, 0.06);   /* nur nach unten: seitlich lief er in den Spalt zur Gebiets-Spalte (Linie) */
}

/* Eingebettete Karte = Vorschau (Michael 2026-09-29): keine Filter-Chips, keine
   Suche, kein Filter-Knopf - alles erst im Vollbild. Übrig: Vollbild (⤢), Zoom
   (Desktop), Standort. Am Handy öffnet der erste Tipp ohnehin das Vollbild. */
#map[data-mvm-scrollpage]:not(.mvm-fs) .mvm-chips,
#map.muvamo_inline_map:not(.mvm-fs) .mvm-chips,
#map[data-mvm-scrollpage]:not(.mvm-fs) .maplibregl-ctrl-group:has(> .maplibregl-ctrl-search),
#map.muvamo_inline_map:not(.mvm-fs) .maplibregl-ctrl-group:has(> .maplibregl-ctrl-search),
#map[data-mvm-scrollpage]:not(.mvm-fs) .mapbox-filter,
#map.muvamo_inline_map:not(.mvm-fs) .mapbox-filter,
#map[data-mvm-scrollpage]:not(.mvm-fs) .muvamo_filter_clear,
#map.muvamo_inline_map:not(.mvm-fs) .muvamo_filter_clear,
#map[data-mvm-scrollpage]:not(.mvm-fs) #mapsearch,
#map.muvamo_inline_map:not(.mvm-fs) #mapsearch,
#map[data-mvm-scrollpage]:not(.mvm-fs) .mvm-chip-search,
#map.muvamo_inline_map:not(.mvm-fs) .mvm-chip-search {
  display: none !important;
}

/* eingebettet ohne Fotoleiste (die Karten darunter übernehmen), im Vollbild wieder da */
#map[data-mvm-scrollpage]:not(.mvm-fs) .map_bottom_menu {
  display: none !important;
}

@media (max-width: 767px) {

  #map.muvamo_fullmap[data-mvm-scrollpage]:not(.mvm-fs) {
    border-radius: var(--mv-radius-card);
  }
}

/* Gebietskarten + Gebietsflächen: Zoom-Zeiger (Klick zoomt ins Gebiet) */
#map .mvm-area-lbl,
#map .mvm-area-lbl * {
  cursor: zoom-in !important;
}

/* Kartenseite eingebettet: der Vollbild-Knopf ragt ~22 px in die Karte -
   Copyright-Hinweis (aufgeklappt lang) darüber heben (Michael 2026-09-29) */
#map[data-mvm-scrollpage]:not(.mvm-fs) .maplibregl-ctrl-bottom-left {
  bottom: max(28px, var(--mvm-bl, 0px));
}

/* aufgeklappter Copyright-Hinweis bricht vor den Knöpfen rechts unten um
   (lief am Handy unter den GPS-Knopf) */
#map .maplibregl-ctrl-bottom-left {
  right: 70px;
}

/* Vollbild-Animation (fsFlip): Ecken als registrierte Variablen, damit sie sich
   animieren lassen - das Vollbild-CSS setzt den Radius sonst mit !important auf 0 */
@property --mvm-fs-rx {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

@property --mvm-fs-ry {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

#map.mvm-fs.mvm-fs-anim {
  border-radius: var(--mvm-fs-rx) / var(--mvm-fs-ry) !important;
  overflow: hidden !important;
  will-change: transform;
}

/* SEO-Kartenseite: Kartenbereich hat schon VOR dem Skript die richtige Höhe
   (gleiche Formel wie setFullMapHeight - kein Springen beim Laden, CLS) und
   eine Kartenfarbe mit sanftem Schimmer, bis die Karte gezeichnet ist
   (Klasse mvm-ready beim ersten load). Michael 2026-09-29 */
#map.muvamo_fullmap[data-mvm-scrollpage]:not(.mvm-fs) {
  height: clamp(380px, 66vh, 720px);
  height: clamp(380px, 66svh, 720px);
}

@media (min-width: 1100px) {
  #map.muvamo_fullmap[data-mvm-scrollpage]:not(.mvm-fs) {
    height: auto;
    aspect-ratio: 3 / 2;
    min-height: 420px;
    max-height: min(82vh, 820px);
    max-height: min(82svh, 820px);   /* stabil beim Scrollen (iOS-Leiste) */
  }
}

#map.muvamo_fullmap[data-mvm-scrollpage]:not(.mvm-ready) {
  background: linear-gradient(100deg, #efe7db 30%, #f8f3ec 50%, #efe7db 70%) 0 0 / 300% 100%;
  animation: mvm-map-shimmer 1.6s ease-in-out infinite;
}

#map.muvamo_fullmap[data-mvm-scrollpage].mvm-ready {
  background: #f8f3ec;
}

@keyframes mvm-map-shimmer {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  #map.muvamo_fullmap[data-mvm-scrollpage]:not(.mvm-ready) {
    animation: none;
  }
}

/* Gebietskarten der Übersicht aus - hier stehen die Baustein-Marker */
#map[data-mvm-itinerary] .mvm-area-lbl {
  display: none !important;
}

/* Baustein-Marker: Nummer im Farbkreis + Name (beim Hineinzoomen nur die Nummer) */
.mvm-it-mk {
  display: inline-flex;
  align-items: center;
  gap: var(--mv-space-2);
  padding: var(--mv-space-1) var(--mv-space-3) var(--mv-space-1) var(--mv-space-1);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: var(--mv-white);
  box-shadow: 0 6px 18px rgba(38, 50, 80, 0.22), 0 0 0 2px var(--c);
  font: 700 13.5px 'Quicksand', Helvetica, Arial, sans-serif;
  color: #26324f;
  white-space: nowrap;
  cursor: pointer;
  /* KEINE transition auf transform: MapLibre setzt die Marker-Position per
     transform - sonst „schwimmen“ die Marker beim Ziehen hinterher */
  transition: box-shadow var(--mv-dur-fast) ease;
}

.mvm-it-mk:hover {
  box-shadow: 0 8px 22px rgba(38, 50, 80, 0.28), 0 0 0 3px var(--c);
}

.mvm-it-mk-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--mv-radius-round);
  background: var(--c);
  color: var(--mv-white);
  font-size: var(--mv-fs-2);
}

.mvm-it-mk-l {
  display: inline-flex;
  align-items: center;
  gap: var(--mv-space-1);
}

.mvm-it-mk-l i {
  color: var(--c);
  font-size: var(--mv-fs-1);
}

#map.mvm-it-compact .mvm-it-mk,
#map:not(.mvm-fs).mvm-touch .mvm-it-mk {
  padding: var(--mv-space-1);
}

#map.mvm-it-compact .mvm-it-mk-l,
#map:not(.mvm-fs).mvm-touch .mvm-it-mk-l {
  display: none;
}

/* Chips + Bausteine unter der Karte */
.mvm-it-body {
  padding-top: var(--mv-space-4) !important;
}

.mvm-it-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mv-space-2);
}

.mvm-it-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--mv-space-2);
  padding: var(--mv-space-1) var(--mv-space-3) var(--mv-space-1) var(--mv-space-1);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-white);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, var(--mv-white));
  color: #26324f !important;
  font: 700 14px 'Quicksand', Helvetica, Arial, sans-serif;
  text-decoration: none !important;
  transition: background var(--mv-dur-fast) ease;
}

.mvm-it-chip:hover {
  background: color-mix(in srgb, var(--c) 10%, var(--mv-white));
}

.mvm-it-chip i {
  color: var(--c);
}

.mvm-it-num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--mv-radius-round);
  background: var(--c);
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
}

.mvm-it-blockslist [id^="block-"] {
  scroll-margin-top: 110px;
}

/* überdeckte Beschriftung: nur die Nummer (itinInit/declutter) */
.mvm-it-mk.mvm-it-mk--nl {
  padding: var(--mv-space-1);
}

.mvm-it-mk.mvm-it-mk--nl .mvm-it-mk-l {
  display: none;
}

.mvm-it-mk:hover {
  z-index: 5;
}

/* Itinerary-Karte als Bild (mode=itinerary3) */
.mvm-it-imgwrap {
  padding-bottom: 0 !important;
}

.mvm-it-figure {
  max-width: 860px;
  margin: 0 !important;
}

.mvm-it-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--mv-radius-card);
  box-shadow: 0 24px 40px -22px rgba(38, 50, 80, 0.3), 0 0 0 1px rgba(38, 50, 80, 0.06);
}

/* Knöpfe unten (GPS/Zoom rechts, Info links): bei groß gezogenem Panel nicht
   mitwandern (layoutCornerCtrls → mvm-corner-off) */
#map .maplibregl-ctrl-bottom-right,
#map .maplibregl-ctrl-bottom-left {
  transition: bottom 0.25s ease, opacity 0.18s ease;
}

/* groß gezogen: Knöpfe bleiben stehen und werden vom Panel verdeckt (Michael:
   nicht ausblenden) - unter das Panel (z 10000) legen */
#map.mvm-corner-off .maplibregl-ctrl-bottom-right,
#map.mvm-corner-off .maplibregl-ctrl-bottom-left {
  z-index: 9990 !important;
}

/* X der Spot-Karte: Trefferfläche 44 px (Apple-Mindestmaß), sichtbar bleibt 32 px */
#map .mvm-sheet-close::after,
#map.mvm-rtm-headon .mvm-rtm .mvm-rtm-top .mvm-rtm-x::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--mv-radius-round);
}

/* Diagnose ?debug=fs (Vollbild-Höhen auf iOS) */
#map .mvm-fs-debug {
  position: absolute;
  z-index: 2000;
  left: 8px;
  right: 8px;
  top: 96px;
  padding: 6px var(--mv-space-2);
  border-radius: var(--mv-radius-s);
  background: rgba(0, 0, 0, 0.72);
  white-space: pre-line;
  color: var(--mv-white);
  font: 600 11px/1.35 ui-monospace, Menlo, monospace;
  pointer-events: none;
}


/* ------------------------------------------------------------------------
 * Suche in der Chipreihe (Michael 2026-09-30): Lupe als festes erstes Element
 * links (.mvm-chip-search, buildChips), die Chips wischen rechts daneben; Tipp =
 * die Reihe wird zum Suchfeld (Chips + Lupe weg, X im Feld schließt). Der
 * Such-Knopf in der Ecke entfällt überall, wo es Chips gibt (.mvm-has-cs).
 * ---------------------------------------------------------------------- */
#map .mvm-chip-search {
  position: absolute;
  z-index: 9998;
  top: 14px;
  left: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: var(--mv-white);
  box-shadow: 0 3px 10px rgba(38, 50, 80, 0.18);
  color: var(--mv-blue);
  font-size: var(--mv-fs-2);
  line-height: 36px;
  text-align: center;
  cursor: pointer;
}

#map:not(.mvm-touch) .mvm-chip-search:hover {
  background: #f5f7fb;
}

#map.mvm-has-cs .maplibregl-ctrl-group:has(> .maplibregl-ctrl-search) {
  display: none !important;
}

#map.mvm-has-cs .mvm-chips {
  left: 56px;
}

#map:has(#mapsearch[style*="block"]) .mvm-chip-search {
  visibility: hidden;
}

/* Suchfeld an der Stelle der Chipreihe */
#map.mvm-ci.mvm-has-cs #mapsearch .mvm-search-bar {
  top: 12px;
  left: 12px;
  width: min(420px, calc(100% - 84px));
}

@media (max-width: 980px) {
  #map .mvm-chip-search {
    top: 12px;
    left: 10px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: var(--mv-fs-2);
  }

  #map.mvm-has-cs .mvm-chips {
    left: 50px;
  }

  #map.mvm-ci.mvm-has-cs #mapsearch .mvm-search-bar {
    top: 10px;
    left: 10px;
    width: calc(100% - 80px);
  }
}

/* Desktop/Tablet mit offener Seitenleiste: Lupe, Chips und Suchfeld daneben */
@media (min-width: 768px) {
  #map.mvm-has-cs.mvm-sheet-on .mvm-chip-search {
    left: 404px;
  }

  #map.mvm-has-cs.mvm-sheet-on .mvm-chips {
    left: 448px;
  }

  #map.mvm-ci.mvm-has-cs.mvm-sheet-on #mapsearch .mvm-search-bar {
    left: 404px;
    width: min(420px, calc(100% - 476px));
  }
}


/* ------------------------------------------------------------------------
 * Tour zeichnet sich selbst: Geh-Männchen an der Spitze (tourDrawOn). Nie eine
 * transition auf transform am Marker selbst (MapLibre positioniert per transform)
 * - Aus-Blenden nur über opacity des inneren Elements.
 * ---------------------------------------------------------------------- */
#map .mvm-walker {
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 9;
}

#map .mvm-walker span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--mv-radius-round);
  background: var(--c, var(--mv-blue));
  border: 2.5px solid var(--mv-white);
  box-shadow: 0 3px 10px rgba(38, 50, 80, 0.35);
  box-sizing: border-box;
  color: var(--mv-white);
  font-size: var(--mv-fs-2);
  transition: opacity 0.4s ease;
}

#map .mvm-walker.mvm-walker-out span {
  opacity: 0;
}

/* Tour-Modus (auch aus der vollen Karte gestartet, 2026-09-30): Chips, Suche und
   Filter treten ab - sie änderten die Auswahl unter der laufenden Tour. */
#map.mvm-tourmode-on .mvm-chips,
#map.mvm-tourmode-on .mvm-chip-search,
#map.mvm-tourmode-on #mapsearch,
#map.mvm-tourmode-on .maplibregl-ctrl-group:has(> .maplibregl-ctrl-search),
#map.mvm-tourmode-on .mapbox-filter,
#map.mvm-tourmode-on .muvamo_filter_clear {
  display: none !important;
}

/* Tour-Stationen ohne Foto (2026-09-30, Mönchsberg Walk): Mini-Routenkarte
   (SVG, fillRouteCards zeichnet sie in der tatsächlichen Größe) statt Bild -
   gleiche Maße wie das Bild an derselben Stelle. */
#map .mvm-rc {
  display: block;
  overflow: hidden;
  line-height: 0;
}
#map .mvm-rc .mvm-rc-svg {
  display: block;
  width: 100%;
  height: 100%;
}
#map .map_bottom_menu_marker .thumb .mvm-rc-bar {
  width: 100%;
  aspect-ratio: 16 / 9;
}
#map .mvm-rc-gal .mvm-rc-fill {
  width: 100%;
  height: 230px;
}
#map .muvamo_autocomplete_image .mvm-rc-fill {
  width: 100%;
  height: 100%;
}

/* Pfeile als Font-Awesome-Winkel statt Unicode „‹ ›“ (2026-09-30: am iPhone nicht
   sichtbar - Unicode-Symbole rendert iOS unzuverlässig; nur FA/SVG verwenden) */
#map .mvm-tournav-arrow { font-size: var(--mv-fs-2); }
#map .mvm-tp-prev, #map .mvm-tp-next { font-size: var(--mv-fs-3); }
#map .mvm-sheet-gal-btn { font-size: var(--mv-fs-2); }
#map .mvm-sheet-area-go .fa-chevron-right { font-size: 0.85em; margin-left: var(--mv-space-1); }

/* Vollbild: klebende Stadt-/Abschnittsleiste der Seite ausblenden - sie liegen an der
   Oberkante hinter der Karte, und Safari 26 färbt seine Statusleiste nach ihnen
   (blau statt Kartenfarbe, Michael 2026-09-30) */
html.mvm-fs-on #muvamo-placebar,
html.mvm-fs-on #muvamo_scrollheader_outer {
  visibility: hidden !important;
}

/* Stationsnummer am Auswahl-Pin (Tour-Stationen), wie die Nummer am Kartenmarker:
   pfirsichfarbener Chip unten mittig über dem Kreisrand (2026-09-30) */
#map .mvm-pin-num {
  display: none;
}

#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-center .mvm-pin-num:not([hidden]) {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 150;   /* über dem Hover-z-index 140 */
  left: 50%;
  top: calc(100% + var(--pin-size, 60px) / 2 - 10px);
  translate: -50% 0;
  min-width: 22px;
  height: 22px;
  padding: 0 var(--mv-space-1);
  box-sizing: border-box;
  border-radius: var(--mv-radius-m);
  background: var(--mv-peach);
  color: #3d4a75;
  font: 700 12.5px/1 'Quicksand', Helvetica, Arial, sans-serif;
  box-shadow: 0 1px 4px rgba(38, 50, 80, 0.3);
  pointer-events: none;
}

/* Tour-Modus: Essen & Trinken am aktuellen Wegstück bzw. „Zum Ausklang“ - als
   Karte in Weg-Orange (Michael 2026-09-30: vorher zu dezent), antippen = Vorschau */
#map .mvm-tp-eat {
  flex: none;
  display: grid;
  gap: var(--mv-space-1);
  margin: 0 var(--mv-space-2) var(--mv-space-1);
}
#map .mvm-tp-eat[hidden] {
  display: none;
}
#map .mvm-tp-eatbtn {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  min-width: 0;
  padding: var(--mv-space-2) var(--mv-space-2) var(--mv-space-2) var(--mv-space-2);
  border: 1.5px solid #ee9a5d;
  border-radius: var(--mv-radius-card);
  background: #fff4ec;
  color: #2f3b55;
  font: 500 13px/1.25 'Quicksand', Helvetica, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(238, 154, 93, 0.18);
}
#map .mvm-tp-eatimg {
  flex: none;
  width: 44px;
  height: var(--mv-tap);
  border-radius: var(--mv-radius-s);
  object-fit: cover;
}
#map .mvm-tp-eatico {
  display: grid;
  place-items: center;
  background: #ee9a5d;
  color: var(--mv-white);
  font-size: var(--mv-fs-3);
}
#map .mvm-tp-eattxt {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
}
#map .mvm-tp-eatlbl {
  color: #c96f2e;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#map .mvm-tp-eatlbl i {
  margin-right: var(--mv-space-1);
}
#map .mvm-tp-eattxt strong {
  font-size: var(--mv-fs-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#map .mvm-tp-eatoff {
  color: #5b6680;
  font-size: var(--mv-fs-1);
}
#map .mvm-tp-eatgo {
  flex: none;
  color: #ee9a5d;
  font-size: var(--mv-fs-2);
}
#map:not(.mvm-touch) .mvm-tp-eatbtn:hover {
  background: #ffeadb;
}

/* Start-/Ziel-Karte: Tourname als Überschrift, darunter Start-/Zielpunkt mit Fahne;
   am Ziel „Tour geschafft“ in Grün wie „Angekommen“ (2026-10-04) */
#map .mvm-tp-ttl {
  min-width: 0;
}
#map .mvm-tp-sub {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  margin-top: var(--mv-space-1);
  font-size: var(--mv-fs-2); line-height: var(--mv-lh-box);
  color: #5d6780;
}
#map .mvm-tp-sub i {
  flex: none;
  color: var(--mv-blue);
  font-size: var(--mv-fs-1);
}
#map .mvm-tp-done {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  margin: 0 0 var(--mv-space-2);
  padding: var(--mv-space-2) var(--mv-space-3);
  border-radius: var(--mv-radius-m);
  background: rgba(79, 138, 76, 0.12);
  color: #3f7a3c;
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
}
/* Start-/Ziel-Karte im Tour-Panel (eigener Start bzw. eigenes Ziel, 2026-09-30):
   Fahnen-Kachel an der Stelle des Fotos */
#map .mvm-tp-flagimg {
  display: grid;
  place-items: center;
  flex: none;
  background: #eef2fa;
  color: var(--mv-blue);
  font-size: var(--mv-fs-4);
}

/* Zwischenüberschriften im Text der Start-/Ziel-Karte („Where to go from here“) */
#map .mvm-sheet-text .mvm-text-h {
  margin: 14px 0 var(--mv-space-1);
}

/* „Zurück zum Ziel“ - Spot aus der Ziel-Karte geöffnet (2026-10-01) */
#map .mvm-tp-back {
  display: inline-flex;
  align-items: center;
  gap: var(--mv-space-1);
  padding: 6px var(--mv-space-3) 6px var(--mv-space-2);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: #eef2fa;
  color: #3d4a75;
  font: 700 13px/1 'Quicksand', Helvetica, Arial, sans-serif;
  cursor: pointer;
}
#map .mvm-tp-back i {
  font-size: var(--mv-fs-1);
  color: var(--mv-blue);
}

/* Optionen am Ziel (2026-10-01): Namensschild je Option + kleine Info-Blase */
.mvm-endopt-lbl {
  max-width: 150px;
  padding: 3px var(--mv-space-2);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 5px rgba(38, 50, 80, 0.28);
  color: #2f3b55;
  font: 700 11.5px/1.25 'Quicksand', Helvetica, Arial, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.mvm-endopt-lbl.mvm-endopt-route {
  background: #2e3c5c;
  color: var(--mv-white);
}
.mvm-endopt-lbl i { margin-right: var(--mv-space-1); }
.mvm-endbub {
  position: relative;
  width: 250px;
  padding: var(--mv-space-2);
  border-radius: var(--mv-radius-card);
  background: var(--mv-white);
  box-shadow: 0 6px 22px rgba(38, 50, 80, 0.3);
  color: #2f3b55;
  font: 500 13px/1.35 'Quicksand', Helvetica, Arial, sans-serif;
  z-index: 5;
}
.mvm-endbub::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  translate: -50% 0;
  border: 8px solid transparent;
  border-bottom: 0;
  border-top-color: var(--mv-white);
}
.mvm-endbub-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: #eef2fa;
  color: #3d4a75;
  cursor: pointer;
}
.mvm-endbub-top {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  padding-right: var(--mv-space-5);
}
.mvm-endbub-top img,
.mvm-endbub-ico {
  flex: none;
  width: 48px;
  height: var(--mv-control-h);
  border-radius: var(--mv-radius-s);
  object-fit: cover;
}
.mvm-endbub-ico {
  display: grid;
  place-items: center;
  background: #eef2fa;
  color: var(--mv-blue);
  font-size: var(--mv-fs-3);
}
.mvm-endbub-txt {
  display: grid;
  min-width: 0;
}
.mvm-endbub-txt strong {
  font-size: var(--mv-fs-2);
  line-height: 1.25;
}
.mvm-endbub-txt span {
  color: #5b6680;
  font-size: var(--mv-fs-1);
}
.mvm-endbub-ex {
  margin: var(--mv-space-2) 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #3d4a75;
}
.mvm-endbub-act {
  display: flex;
  gap: var(--mv-space-2);
  margin-top: var(--mv-space-2);
}
.mvm-endbub-act:empty { display: none; }
.mvm-endbub-start,
.mvm-endbub-more {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mv-space-1);
  padding: var(--mv-space-2) 10px;
  border: 0;
  border-radius: var(--mv-radius-pill);
  font: 700 13px/1 'Quicksand', Helvetica, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.mvm-endbub-start { background: var(--mv-blue); color: var(--mv-white); }
.mvm-endbub-more { background: #eef2fa; color: #3d4a75; }

/* X auf der Ziel-Karte (Tour beenden) */
#map .mvm-tp-close {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: #eef2fa;
  color: #3d4a75;
  font-size: var(--mv-fs-2);
  cursor: pointer;
}
.mvm-endbub-txt strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tour-Modus 2026-10-01: Restzeit, Zurück-Chip, Ankunft, Abseits-Hinweis, Vorschau */
#map .mvm-tp-remain {
  font-weight: var(--mv-fw-semi);
  letter-spacing: 0;
  text-transform: none;
  color: #5b6680;
}
#map .mvm-tp-backme {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Ziel eines Spots (Michael 24.11.2026): kleine Markierung am Tor, Eingang oder nächsten Zugang nach dem Tipp auf eine Fläche */
.mvm-ziel-dot {
  width: var(--mv-space-3);
  height: var(--mv-space-3);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-ink);   /* nicht Blau: das ist der eigene Standort */
  box-shadow: 0 0 0 var(--mv-space-1) var(--mv-white), var(--mv-shadow-float);
  pointer-events: none;
}
/* Ankunft dezent (2026-10-01): grüne Wellen um die Station + Status „✓ Angekommen“ */
.mvm-arrive-ripple {
  position: relative;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.mvm-arrive-ripple i {
  position: absolute;
  left: -24px;
  top: -24px;
  width: 48px;
  height: var(--mv-control-h);
  border: 3px solid #4f8a4c;
  border-radius: var(--mv-radius-round);
  opacity: 0;
  animation: mvm-ripple 1.6s ease-out 3 both;
}
.mvm-arrive-ripple i:nth-child(2) { animation-delay: 0.3s; }
.mvm-arrive-ripple i:nth-child(3) { animation-delay: 0.6s; }
@keyframes mvm-ripple { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
#map .mvm-tp-status--arrived {
  color: #3f7a3c;
  animation: mvm-arrived-flash 2.6s ease both;
  border-radius: var(--mv-radius-pill);
  margin-left: -8px;
  padding-left: var(--mv-space-2);
}
@keyframes mvm-arrived-flash { 0% { background: rgba(79, 138, 76, 0); } 15% { background: rgba(79, 138, 76, 0.16); } 80% { background: rgba(79, 138, 76, 0.16); } 100% { background: rgba(79, 138, 76, 0); } }
#map .mvm-tp-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: var(--mv-radius-round);
  background: #4f8a4c;
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  animation: mvm-check-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.4) both;
}
@keyframes mvm-check-pop { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .mvm-arrive-ripple i, #map .mvm-tp-check, #map .mvm-tp-status--arrived { animation: none; }
}

/* Tour läuft: Leiste oben links statt „Tour starten“ (2026-10-01) */
#map .mvm-tourbar .mvm-tourbar-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: var(--mv-space-2);
  border-radius: var(--mv-radius-round);
  background: #4f8a4c;
  vertical-align: 1px;
  animation: mvm-tourbar-pulse 1.8s ease-in-out infinite;
}
@keyframes mvm-tourbar-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
#map .mvm-tourbar .mvm-tourbar-end,
#map .mvm-tourbar .mvm-tourbar-no {
  background: #eef2fa;
  color: #3d4a75;
}
#map .mvm-tourbar .mvm-tourbar-yes {
  background: #b5483c;
}
#map .mvm-tourbar-end i { margin-right: var(--mv-space-1); font-size: var(--mv-fs-1); }
/* Vollbild per X verlassen, Tour läuft weiter: „Fortsetzen“ + Beenden als Symbol (2026-10-01) */
#map .mvm-tourbar:has(.mvm-tourbar-resume) { flex-wrap: nowrap; gap: var(--mv-space-2); }
#map .mvm-tourbar .mvm-tourbar-resume { white-space: nowrap; }
#map .mvm-tourbar .mvm-tourbar-resume i { margin-right: var(--mv-space-1); }
#map .mvm-tourbar > .mvm-tourbar-dot { margin-right: 0; flex: none; }
#map .mvm-tourbar .mvm-tourbar-endico { padding-left: var(--mv-space-2); padding-right: var(--mv-space-2); }
#map .mvm-tourbar .mvm-tourbar-endico i { margin-right: 0; }
#map.mvm-tour-paused .mvm-sheet-tp { display: none !important; }
/* Desktop/iPad (Seitenleiste links): Tour-Leiste rechts neben die Leiste statt darunter
   (Michael 2026-10-01: „auf Web wird der Stopp-Knopf von der Sidebar verdeckt“) */
@media (min-width: 768px) {
  #map.mvm-sheet-on:not(.mvm-tour-paused) .mvm-tourbar {
    left: 404px;
  }
}
/* Mobile Card/Tour-Panel: Gesten gehören uns, nicht Safari (2026-10-01: „große Sprünge“ -
   Safari scrollte Seite/Leiste mit, sobald das erste touchmove nicht verhindert war).
   Frei: Galerie waagrecht, Inhalt in voller Höhe senkrecht. */
@media (max-width: 767px) {
  #map .mvm-sheet { touch-action: none; overscroll-behavior: contain; }
  #map .mvm-sheet .mvm-sheet-gal-track { touch-action: pan-x; }
  #map .mvm-sheet.mvm-sheet-full .mvm-sheet-scroll { touch-action: pan-y; overscroll-behavior: contain; }
  #map .mvm-sheet.mvm-sheet-full .mvm-sheet-scroll .mvm-sheet-gal-track { touch-action: pan-x pan-y; }
}

/* „Teil der Tour“ in der Spot-Card (2026-10-02): je Tour eine Zeile „Stop 10 · Tourname ›“,
   Antippen zeigt die Tour; mehr als zwei Touren hinter „+N weitere“ */
#map .mvm-sheet-tours {
  display: flex;
  flex-direction: column;
  gap: var(--mv-space-1);
  margin: var(--mv-space-2) 0 var(--mv-space-1);
}
#map .mvm-sheet-tourrow {
  display: flex;
  align-items: center;
  gap: var(--mv-space-2);
  width: 100%;
  padding: var(--mv-space-2) var(--mv-space-3);
  border: var(--mv-border) solid #dfe5f2;
  border-radius: var(--mv-radius-m);
  background: #f5f8fd;
  color: #2f3b55;
  font: var(--mv-fw-semi) var(--mv-fs-2)/1.25 'Quicksand', Helvetica, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
#map .mvm-sheet-tourrow > i:first-child { color: var(--mv-blue); font-size: var(--mv-fs-2); flex: none; }
#map .mvm-sheet-tourrow-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#map .mvm-sheet-tourrow-txt strong { color: var(--mv-blue); font-weight: var(--mv-fw-bold); }
/* Tour-Hinweis außerhalb des Routen-Modus (2026-10-07): dezent, ohne Kasten-Fläche und Fettung */
#map .mvm-sheet-tourrow.mvm-sheet-tourrow-quiet { background: transparent; border-color: #e6eaf2; font-weight: var(--mv-fw-text); color: #4a5570; }
#map .mvm-sheet-tourrow-quiet .mvm-sheet-tourrow-lbl { color: #8a93a8; }
#map .mvm-sheet-tourrow-quiet > i:first-child { color: #8a93a8; }
#map .mvm-sheet-tourrow-go { flex: none; color: #8a93a8; font-size: var(--mv-fs-1); }
#map:not(.mvm-touch) .mvm-sheet-tourrow:hover { background: #eaf0fa; }
/* Zeile + ▶ „Tour ab dieser Station starten“ (2026-10-04) */
#map .mvm-sheet-tourline { display: flex; gap: var(--mv-space-1); align-items: stretch; }
#map .mvm-sheet-tourline .mvm-sheet-tourrow { flex: 1; min-width: 0; width: auto; }
#map .mvm-sheet-tourstart {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  border: 0;
  border-radius: var(--mv-radius-m);
  background: var(--mv-blue);
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  cursor: pointer;
}
#map:not(.mvm-touch) .mvm-sheet-tourstart:hover { background: #4a69a6; }
/* ▶ bei Touren außerhalb des Kontexts (2026-10-07): umrandet statt gefüllt, die gewählte Tour bleibt vorn */
#map .mvm-sheet-tourstart.mvm-sheet-tourstart-quiet { background: var(--mv-white); color: var(--mv-blue); box-shadow: inset 0 0 0 1px #c9d4ea; }
#map:not(.mvm-touch) .mvm-sheet-tourstart.mvm-sheet-tourstart-quiet:hover { background: #eaf0fa; }
#map .mvm-sheet-tourrow-more { display: none; }
#map .mvm-sheet-tours-all .mvm-sheet-tourrow-more { display: flex; }
#map .mvm-sheet-tourmore {
  align-self: flex-start;
  padding: 2px var(--mv-space-1);
  border: 0;
  background: none;
  color: var(--mv-blue);
  font: var(--mv-fw-bold) var(--mv-fs-2)/1.2 'Quicksand', Helvetica, Arial, sans-serif;
  cursor: pointer;
}
@media (min-width: 768px) {
  #map .mvm-sheet-tours { margin-left: var(--mv-space-4); margin-right: var(--mv-space-4); }
}

/* Quellenhinweis statt ⓘ (2026-10-04): Zeile links unten in der Karte (Vollbild, Popup,
   Vollbild-Kartenseite); eingebettete Karten zeigen ihn als Bildunterschrift darunter */
#map .mvm-credit {
  margin: 0 0 var(--mv-space-1) var(--mv-space-2);
  padding: 2px var(--mv-space-2);
  border-radius: var(--mv-radius-s);
  background: rgba(255, 255, 255, 0.78);
  color: #6b7385;
  font: 500 10.5px/1.45 'Quicksand', Helvetica, Arial, sans-serif;
  box-shadow: none;
}
#map .mvm-credit a, .mvm-map-credit a { white-space: nowrap; }   /* nur zwischen den Quellen umbrechen */
#map .mvm-credit a { color: inherit; text-decoration: none; }
@media (max-width: 600px) {
  #map .mvm-credit { margin-left: var(--mv-space-1); padding: var(--mv-space-1) var(--mv-space-1); font-size: var(--mv-fs-1); letter-spacing: -0.01em; }
}
#map:not(.mvm-touch) .mvm-credit a:hover { text-decoration: underline; }
#map.muvamo_inline_map:not(.mvm-fs):not(.modalMap) .mvm-credit,
#map[data-mvm-scrollpage]:not(.mvm-fs) .mvm-credit {
  display: none;
}
.mvm-map-credit {
  margin: var(--mv-space-2) 6px 0;
  color: #8a8f9c;
  font: 500 12px/1.5 'Quicksand', Helvetica, Arial, sans-serif;
}
/* Kartenseite (Michael 2026-10-04: zu knapp am Vollbild-Knopf, der zur Hälfte unter der
   Karte herausragt): Desktop rechtsbündig + etwas tiefer, Handy zentriert mit mehr Luft */
.mvm-map-credit--page { margin: 40px var(--mv-space-1) 0; text-align: right; }
.mvm-map-credit .mvm-nw { white-space: nowrap; }   /* „Relief © Mapterhorn“ nicht trennen */
@media (max-width: 767px) {
  .mvm-map-credit--page { margin-top: var(--mv-space-7); text-align: center; }
}
.mvm-map-credit a { color: inherit; text-decoration: none; border-bottom: var(--mv-border) dotted rgba(138, 143, 156, 0.6); }
.mvm-map-credit a:hover { color: var(--mv-blue); border-bottom-color: currentColor; }

/* „+ Quellen“ und Fenster „Kartenquellen“ (2026-10-04) */
#map .mvm-credit-more {
  padding: 0;
  border: 0;
  background: none;
  color: var(--mv-blue);
  font: inherit;
  font-weight: var(--mv-fw-bold);
  white-space: nowrap;
  cursor: pointer;
}
#map .mvm-credit-pop {
  position: absolute;
  left: 8px;
  bottom: calc(100% + 6px);
  z-index: var(--mv-z-toast);
  width: min(330px, calc(100vw - 32px));
  padding: var(--mv-space-3) 14px 10px;
  border-radius: var(--mv-radius-card);
  background: var(--mv-white);
  box-shadow: 0 12px 34px rgba(20, 30, 50, 0.25);
  color: #2f3b55;
  font: 500 12.5px/1.4 'Quicksand', Helvetica, Arial, sans-serif;
  pointer-events: auto;
}
#map .mvm-credit-pop.is-sheet {
  position: absolute;
  z-index: var(--mv-z-toast);
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: none;
  max-height: 80%;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: var(--mv-space-4) var(--mv-space-4) max(var(--mv-space-4), var(--mvm-under, 0px), env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  border-radius: var(--mv-radius-card) var(--mv-radius-card) 0 0;
}
#map .mvm-credit-pophead { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--mv-space-1); }
#map .mvm-credit-pophead strong { font-size: var(--mv-fs-2); }
#map .mvm-credit-popx { width: 28px; height: 28px; border: 0; border-radius: var(--mv-radius-round); background: #eef2fa; color: #3f5f9f; cursor: pointer; }
#map .mvm-credit-pop ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--mv-space-2); }
#map .mvm-credit-pop li { display: grid; gap: var(--mv-space-1); padding: 0; }
#map .mvm-credit-pop li a { color: #2f3b55; font-weight: var(--mv-fw-bold); text-decoration: none; }
#map:not(.mvm-touch) .mvm-credit-pop li a:hover { color: var(--mv-blue); text-decoration: underline; }
#map .mvm-credit-pop li span { color: #7b849b; font-size: var(--mv-fs-1); }

/* Punkte ohne Kategorie (Ratgeber-Seiten mit Google-Orten, z. B. Day trips from Salzburg):
   Standardfarbe statt durchsichtig - :where() = Spezifität 0, echte Kategorien gewinnen (2026-10-05) */
:where(#map .colorCat, .map_bottom_menu .colorCat) {
  --category-color: #587abc;
}

/* Stadt als Bezugspunkt auf einfachen Karten (addPlainCityRef, 2026-10-05): ohne Zähler */
#map .mvm-cityref .mvm-area-badge { display: none; }

/* Randhinweis beim Leisten-Hover auf einen Spot außerhalb des Bildes (2026-10-07):
   Zustandsfarbe Dunkelblau wie Hover/Auswahl, Pfeil zeigt zum Spot */
#map .mvm-edge-hint {
  position: absolute;
  z-index: 1150;
  display: flex;
  align-items: center;
  gap: var(--mv-space-1);
  max-width: 260px;
  padding: 5px 11px 5px var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: #3d4a75;
  color: var(--mv-white);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(38, 50, 80, 0.3);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--mv-dur-fast) ease;
}
#map .mvm-edge-hint.mvm-edge-on {
  opacity: 1;
  visibility: visible;
}
#map .mvm-edge-hint .mvm-edge-arrow {
  flex: none;
  font-size: var(--mv-fs-1);
}
#map .mvm-edge-hint .mvm-edge-txt {
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (prefers-reduced-motion: reduce) {
  #map .mvm-edge-hint { transition: none; }
}

/* Etikett „In der Nähe“ über der Leiste, solange die GPS-Nähe-Liste gilt (2026-10-07) */
#map .mvm-near-chip {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: var(--mv-space-1);
  padding: var(--mv-space-1) 11px var(--mv-space-1) 9px;
  border-radius: var(--mv-radius-pill);
  background: var(--mv-white);
  color: #3d4a75;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(38, 50, 80, 0.2);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--mv-dur-base) ease;
}
#map .mvm-near-chip.mvm-near-on {
  opacity: 1;
  visibility: visible;
}
#map .mvm-near-chip i {
  color: var(--mv-blue);
  font-size: var(--mv-fs-1);
}
#map.mvm-tourmode-on .mvm-near-chip {
  display: none;
}

/* Abschnitts-Karten in der GPS-Leiste: „In walking distance“ + „Top highlights“
   (barSepPlace, 2026-10-07). Schmale Karte in Leistenhöhe, nicht klickbar. */
#map .mvm-bar-sep {
  flex: 0 0 96px;
  width: 96px;
  margin-right: var(--mv-space-4);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--mv-space-1);
  padding: 6px var(--mv-space-2);
  border-radius: var(--mv-radius-card);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(38, 50, 80, 0.14);
  color: #3d4a75;
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  text-align: center;
  pointer-events: none;
}
/* Symbole der Abschnitts-Karten: Font Awesome (Fußgänger, Stern) in Muvamo-Blau */
#map .mvm-bar-sep i {
  color: var(--mv-blue);
  font-size: var(--mv-fs-2);
}
#map .mvm-bar-sep strong {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1.2;
}
#map .mvm-bar-sep small {
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  line-height: 1.2;
  color: #6b7590;
}
@media (min-width: 981px) and (max-width: 1400px) {
  #map .mvm-bar-sep { margin-right: var(--mv-space-2); }
}
@media (max-width: 980px) {
  #map .mvm-bar-sep {
    flex-basis: 72px;
    width: 72px;
    margin-right: var(--mv-space-1);
    padding: var(--mv-space-1) 5px;
    border-radius: var(--mv-radius-s);
  }
  #map .mvm-bar-sep strong { font-size: var(--mv-fs-1); }
  #map .mvm-bar-sep small { font-size: var(--mv-fs-1); }
}
@media (prefers-reduced-motion: reduce) {
  #map .mvm-near-chip { transition: none; }
}

/* Animationen geglättet (Michael 2026-10-07): Leistenkarten-Zustände blenden über statt zu
   springen (Hover-Ring innen, Auswahl-Füllung), Tooltip erscheint weich, Randhinweis gleitet
   von Karte zu Karte. Gleiche Kurve wie Kamera/Leiste (cubic-bezier .4,0,.2,1). */
#map.mvm-ci .map_bottom_menu_marker {
  transition: box-shadow 0.18s cubic-bezier(.4, 0, .2, 1), background-color 0.22s cubic-bezier(.4, 0, .2, 1);
}
#map.mvm-ci .map_bottom_menu_marker .title {
  transition: color 0.22s cubic-bezier(.4, 0, .2, 1);
}
#map #marker-tooltip {
  animation: mvm-tip-in 0.14s cubic-bezier(.4, 0, .2, 1);
}
@keyframes mvm-tip-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
#map .mvm-edge-hint.mvm-edge-glide {
  transition: opacity var(--mv-dur-fast) ease, left 0.22s cubic-bezier(.4, 0, .2, 1), top 0.22s cubic-bezier(.4, 0, .2, 1);
}
@media (prefers-reduced-motion: reduce) {
  #map.mvm-ci .map_bottom_menu_marker,
  #map.mvm-ci .map_bottom_menu_marker .title,
  #map .mvm-edge-hint.mvm-edge-glide { transition: none; }
  #map #marker-tooltip { animation: none; }
}

/* Leiste mit neuem Inhalt (barSwap, 2026-10-07): sofort weg, dann weich von leicht unten
   einblenden - statt hart an den Anfang zu springen */
#map .map_bottom_menu {
  transition: opacity 0.24s cubic-bezier(.4, 0, .2, 1), transform 0.24s cubic-bezier(.4, 0, .2, 1);
}
#map .map_bottom_menu.mvm-bar-swap {
  opacity: 0;
  transform: translateY(10px);
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  #map .map_bottom_menu { transition: none; }
}

/* Eigene Stammdaten (13.10.2026): Chips "Open now" / "Indoors" in der bestehenden Leiste. Gewählt = Marken-Blau
   (ein Blau), Fokus = dunkler Rahmen mit weißem Ring, lädt = gedämpft; Spots ohne Zeiten bleiben bei "Open now"
   auf der Karte, abgeblendet (Zähler-Etikett seit 2026-11-04 weg). */
#map .mvm-chip-btn.mvm-chip-cond {
  --chip-color: var(--mv-blue);
  padding: 0 var(--mv-space-3);
  color: var(--mv-ink);
  transition: background-color var(--mv-dur-fast);
}
/* Eigenschaft gewählt (Michael, 20.11.2026): hell mit blauem Rand, das Häkchen ersetzt das eigene Zeichen ("kommt dazu") */
#map .mvm-chip-btn.mvm-chip-cond.mvm-chip-on {
  background: var(--mv-blue-tint);
  box-shadow: inset 0 0 0 var(--mv-border-strong) var(--mv-blue), var(--mv-shadow-float);
  color: var(--mv-ink);
}
#map .mvm-chip-btn.mvm-chip-cond.mvm-chip-on .mvm-chip-ic {
  background: var(--mv-blue);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.6 1.6 5.8 5.8L20.3 8.6 18.7 7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.6 1.6 5.8 5.8L20.3 8.6 18.7 7z'/%3E%3C/svg%3E");
}
#map .mvm-chip-btn.mvm-chip-cond:hover {
  background-image: linear-gradient(var(--mv-veil-hover), var(--mv-veil-hover));
}
#map .mvm-chip-btn.mvm-chip-cond:active {
  background-image: linear-gradient(var(--mv-veil-press), var(--mv-veil-press));
}
#map .mvm-chip-btn.mvm-chip-cond:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--mv-white), 0 0 0 5px var(--mv-ink);
}
#map .mvm-chip-btn.mvm-chip-cond[aria-busy="true"] {
  opacity: 0.6;
  cursor: progress;
}
#map .mvm-chip-btn.mvm-chip-cond {
  padding-left: var(--mv-space-2);
}
/* Ohne bestätigte Zeiten (Michael, 25.11.2026): kein Grau mehr, der Ort bleibt in Farbe; die Karte unten sagt es in
   einer Zeile unter dem Namen */
/* Ohne bestätigte Zeiten am Marker (Michael, 25.11.2026): kleines graues "?" oben rechts, skaliert mit dem Marker */
#map .muvamoMarkerOuter.mvm-sd-unknown .muvamoMarker { position: relative; }
#map .muvamoMarker .mvm-sd-unk-b {
  position: absolute;
  top: calc(var(--mv-space-1) * -1);
  right: calc(var(--mv-space-1) * -1);
  z-index: 2;
  width: var(--mv-space-4);
  height: var(--mv-space-4);
  border-radius: var(--mv-radius-round);
  background: var(--mv-muted);
  color: var(--mv-white);
  border: var(--mv-border) solid var(--mv-white);
  box-sizing: border-box;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: calc(var(--mv-space-4) - 2 * var(--mv-border));
  text-align: center;
  pointer-events: none;
}
#map .map_bottom_menu_marker .mvm-sd-unk-t {
  display: block;
  align-self: stretch;   /* bündig unter dem Namen, wie dessen Innenabstand */
  margin: 0;
  padding: 0 var(--mv-space-1);
  color: var(--mv-muted);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-text);
  text-align: start;
  line-height: var(--mv-lh-head);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Knopf „How do I get there?“ in der Spotkarte (Routen-Modus, Demo 19.10.2026): als <button> wie die Links daneben */
#map button.mvm-sheet-btn {
  border: 0;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}

/* Directions von der Spotseite (Michael 25.10.2026, Runde 4): bis der Routen-Modus steht, zeigt die Seitenleiste nur
   einen Ladekreis statt der Spotkarte (muvamo-maplibre.js mvmRouteButton, Klasse mvm-sheet-rtwait). Kreis in
   Nebentext-Grau mit Marken-Blau, still bei „weniger Bewegung“. */
#map .mvm-sheet.mvm-sheet-rtwait > * {
  visibility: hidden;
}
#map .mvm-sheet.mvm-sheet-rtwait::after {
  content: "";
  position: absolute;
  top: 48px;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border: 3px solid var(--mv-hairline);
  border-top-color: var(--mv-blue);
  border-radius: var(--mv-radius-round);
  animation: mvm-rtwait-spin 0.8s linear infinite;
}
@keyframes mvm-rtwait-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #map .mvm-sheet.mvm-sheet-rtwait::after { animation: none; }
}

/* Stammdaten in der Seitenleiste (04.11.2026, Michael): Status jetzt, Eintritt frei, Anreise; Etiketten und Linienkästen
   wie auf der Spotseite (assets/muvamo-stammdaten.css), hier nur der kleine Satz, den die Karte braucht */
#map .mvm-sheet-sd {
  display: flex;
  flex-direction: column;
  gap: var(--mv-space-1);
  margin: var(--mv-space-2) 0 0;
  color: var(--mv-ink);
  font-size: var(--mv-fs-2);
  line-height: var(--mv-lh-box);
}
#map .mvm-sheet-sd p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--mv-space-1);
  margin: 0;
  padding: 0;   /* das Theme gibt Absätzen unten Abstand */
}
#map .mvm-sheet-sd .mvm-sd-status[hidden] {
  display: none;
}
#map .mvm-sheet-sd--anreise {
  margin: 10px 0 var(--mv-space-3);
}
#map .mvm-sheet-sd-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--mv-space-1) var(--mv-space-2);
}
#map .mvm-sheet-sd .mvm-ic {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
#map .mvm-sheet-sd .mvm-sd-tag {
  display: inline-block;
  padding: var(--mv-space-1) var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-linen);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: var(--mv-lh-box);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#map .mvm-sheet-sd .mvm-sd-tag.is-plain {
  letter-spacing: 0;
  text-transform: none;
}
#map .mvm-sheet-sd .mvm-sd-tag.is-open {
  background: var(--mv-success);
  color: var(--mv-white);
}
#map .mvm-sheet-sd .mvm-sd-tag.is-notice {
  background: var(--mv-error);
  color: var(--mv-white);
}
#map .mvm-sheet-sd .mvm-spotmap-rows {
  display: flex;
  flex-direction: column;
  gap: var(--mv-space-1);
}
#map .mvm-sheet-sd .mvm-spotmap-ub {
  flex-wrap: nowrap;
  align-items: flex-start;
}
#map .mvm-sheet-sd .mvm-spotmap-mode {
  display: inline-flex;
  flex: none;
  width: 18px;
  justify-content: center;
  margin-top: var(--mv-space-1);
}
#map .mvm-sheet-sd .mvm-line,
#map .mvm-sheet-geo .mvm-gs-lines .mvm-line,
#map .mvm-sheet-geo .mvm-gs-notices .mvm-line,
#map .mvm-sheet-geo .mvm-gs-deps .mvm-line {
  display: inline-block;
  min-width: 24px;
  height: 18px;
  padding: 0 var(--mv-space-1);
  border-radius: var(--mv-radius-xs);
  background: var(--u, var(--mv-ink));
  color: var(--ut, var(--mv-white));   /* --ut: Schriftfarbe aus dem Fahrplan (Linien einer Haltestelle, 15.11.2026) */
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 18px;
  letter-spacing: 0.02em;
  text-align: center;
  vertical-align: 1px;
  white-space: nowrap;
}

/* Hauptticket in der Seitenleiste (04.11.2026, Michael): erste Ticket-Zeile wie die übrigen, rechts der Preis,
   "Recommended" als kleines Etikett hinter dem Namen (nur GetYourGuide-Tour, die dem Hauptticket entspricht) */
#map .mvm-ticket-price {
  flex: none;
  color: var(--mv-ink);
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-bold);
  white-space: nowrap;
}
#map .mvm-ticket-rec {
  display: inline-block;
  align-self: flex-start;   /* die Textspalte der Zeile ist eine Flex-Spalte */
  margin: var(--mv-space-1) 0;
  padding: 1px var(--mv-space-2);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-linen);
  color: var(--mv-ink);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: var(--mv-lh-box);
  vertical-align: 1px;
}

/* Platzhalter der nachgeladenen Teile im Seitenpanel (Michael, 04.11.2026: Layout springt nicht):
   graue Zeilen wie beim Kurztext, Höhe wie der spätere Inhalt (gemessen: Status 21 px, Anreise
   eine Zeile 20 px, eine Ticketzeile 60 px); ohne Daten fällt der Platz beim Laden weg */
#map .mvm-sheet-sdslot.mvm-slot-loading {
  height: 21px;
  margin-top: var(--mv-space-2);
  background: linear-gradient(#eef0f5, #eef0f5) 0 3px / 46% 15px no-repeat;
  border-radius: var(--mv-radius-xs);
}

#map .mvm-sheet-sdslot2.mvm-slot-loading {
  height: 20px;
  margin: 10px 0 var(--mv-space-3);
  background: linear-gradient(#eef0f5, #eef0f5) 0 3px / 62% 14px no-repeat;
  border-radius: var(--mv-radius-xs);
}

#map .mvm-sheet-tickets.mvm-slot-loading,
#map .mvm-sheet-tickets.mvm-slot-loading:empty {
  display: block;
  height: 60px;
  background:
    radial-gradient(circle closest-side, #eef0f5 98%, transparent 100%) 2px 12px / 36px 36px no-repeat,
    linear-gradient(#eef0f5, #eef0f5) 50px 15px / 55% 14px no-repeat,
    linear-gradient(#eef0f5, #eef0f5) 50px 35px / 35% 11px no-repeat;
}

/* arrow buttons over the ends of the card bar, desktop only (initBarNav in muvamo-maplibre.js, Michael 2026-11-06) */
#map .mvm-barnav {
  position: absolute;
  z-index: var(--mv-z-overlay);
  width: 44px;
  height: var(--mv-tap);
  padding: 0;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: var(--mv-white);
  color: var(--mv-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--mv-dur-fast), color var(--mv-dur-fast);
}
#map .mvm-barnav[hidden] { display: none; }
#map .mvm-barnav:hover:not([aria-disabled="true"]) { background: var(--mv-blue); color: var(--mv-white); }
#map .mvm-barnav[aria-disabled="true"] { color: #c4c7ce; cursor: default; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
#map .mvm-barnav:focus-visible { outline: var(--mv-border-strong) solid var(--mv-blue); outline-offset: 2px; }
@media (max-width: 980px), (hover: none) {
  #map .mvm-barnav { display: none; }
}
@media (min-width: 981px) and (hover: hover) {
  /* with the buttons: a free margin of 56 px at both ends, the cards end there sharply (initBarNav) */
  #map .map_bottom_menu.mvm-bar-nav-on {
    padding-left: 56px;
    padding-right: 56px;
    scroll-padding-inline: 56px;
    clip-path: inset(0 56px);
    /* keine CSS-Rastung (Michael 20.11.2026: Trackpad stockte), das Einrasten macht initBarNav nach dem Wischen */
  }
}

/* Griff der Vollbild-Karte am Handy (Michael, 13.11.2026, mvmSwipeClose() in muvamo.js): oben in der Mitte über der
   Kartenleiste, nur im Vollbild; Wischen nach unten schließt die Karte wie das X. */
#map > .mvm-grip { display: none; }
@media (max-width: 767px) {
  #map.mvm-fs > .mvm-grip {
    display: flex;
    position: absolute;
    z-index: var(--mv-z-toast);
    top: env(safe-area-inset-top, 0px);
    left: 50%;
    width: var(--mv-space-9);
    height: var(--mv-space-3);
    transform: translateX(-50%);
  }
  #map.mvm-fs > .mvm-grip::before {
    background: var(--mv-navy);
    opacity: 0.45;
  }
}

/* Seitenleiste eines fremden Orts (15.11.2026, mvmGeoSheet): dieselbe Hülle und dieselben Bausteine wie die
   Seitenleiste eines Orts von muvamo, aber ruhiger: kein Foto oben, Zeichen der Art statt Bild, Sachangaben auf
   Leinen, Quelle sichtbar. Vorgaben: docs/fremde-orte-befund.md, Abschnitt "Seitenleiste". */
#map .mvm-sheet-geo .mvm-gs-head { display: flex; gap: var(--mv-space-3); align-items: flex-start; padding: var(--mv-space-2) var(--mv-space-7) 0 0; }
#map .mvm-sheet-geo .mvm-gs-ico {
  flex: none; display: flex; align-items: center; justify-content: center; width: var(--mv-tap); height: var(--mv-tap);
  border-radius: var(--mv-radius-round); background: var(--mv-linen); color: var(--mv-ink);
}
#map .mvm-sheet-geo .mvm-gs-ico svg { width: var(--mv-space-5); height: var(--mv-space-5); }
#map .mvm-sheet-geo .mvm-gs-headtxt { min-width: 0; }
#map .mvm-sheet-geo .mvm-gs-title { margin: 0; padding: 0; font-size: var(--mv-fs-3); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-head); color: var(--mv-ink); overflow-wrap: anywhere; }
#map .mvm-sheet-geo .mvm-gs-title:focus { outline: none; }
/* der Titel bekommt den Fokus nur per Skript (tabindex -1, beim Öffnen): nie ein Rahmen, auch nicht nach einer
   Eingabe in die Suche, nach der Browser auch Skript-Fokus als :focus-visible zeigen (15.11.2026, Michael) */
#map .mvm-sheet-geo .mvm-gs-title:focus-visible { box-shadow: none; }
#map .mvm-sheet-geo .mvm-gs-kind,
#map .mvm-sheet-geo .mvm-gs-addr { margin: var(--mv-space-1) 0 0; padding: 0; font-size: var(--mv-fs-1-5); line-height: var(--mv-lh-head); color: var(--mv-muted); }
#map .mvm-sheet-geo .mvm-gs-kind { font-weight: var(--mv-fw-semi); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-addr:empty { display: none; }
#map .mvm-sheet-geo .mvm-gs-acts { margin-top: var(--mv-space-3); }
#map .mvm-sheet-geo .mvm-gs-acts .mvm-sheet-btn { min-height: var(--mv-tap); display: inline-flex; align-items: center; justify-content: center; }
#map .mvm-sheet-geo .mvm-gs-more:empty { display: none; }
/* Other popular options: Auszeichnung und ein Satz (29.11.2026) */
#map .mvm-sheet-geo .mvm-gs-kn-l { margin: 0; padding: 0; font-size: var(--mv-fs-1-5); line-height: var(--mv-lh-head); color: var(--mv-muted); }
#map .mvm-sheet-geo .mvm-gs-kn-aw { margin-top: var(--mv-space-4); line-height: 0; }
#map .mvm-sheet-geo .mvm-gs-kn-tag {
  display: inline-block; padding: var(--mv-space-1) var(--mv-space-3); border-radius: var(--mv-radius-pill); background: var(--mv-peach-light);
  font-size: var(--mv-fs-1); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-box); color: var(--mv-ink);
}
#map .mvm-sheet-geo .mvm-gs-kn-d { margin: var(--mv-space-3) 0 0; padding: 0; font-size: var(--mv-fs-2); line-height: var(--mv-lh-box); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-fig { margin: var(--mv-space-4) 0 0; }
#map .mvm-sheet-geo .mvm-gs-fig img {
  display: block; width: 100%; height: var(--mv-band-h); object-fit: cover; border-radius: var(--mv-radius-card); background: var(--mv-linen);
}
#map .mvm-sheet-geo .mvm-gs-fig figcaption { margin-top: var(--mv-space-1); font-size: var(--mv-fs-1); line-height: var(--mv-lh-head); color: var(--mv-muted); }
#map .mvm-sheet-geo .mvm-gs-fig a,
#map .mvm-sheet-geo .mvm-gs-quote a,
#map .mvm-sheet-geo .mvm-gs-foot a,
#map .mvm-sheet-geo .mvm-gs-row a { color: inherit; text-decoration: underline; }
#map .mvm-sheet-geo .mvm-gs-quote { margin: var(--mv-space-3) 0 0; padding: 0 0 0 var(--mv-space-3); border-left: var(--mv-border-strong) solid var(--mv-hairline); }
#map .mvm-sheet-geo .mvm-gs-quote p { margin: 0; padding: 0; font-size: var(--mv-fs-1-5); line-height: var(--mv-lh-box); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-quote footer { margin-top: var(--mv-space-1); font-size: var(--mv-fs-1); color: var(--mv-muted); }
#map .mvm-sheet-geo .mvm-gs-hist { margin: var(--mv-space-2) 0 0; padding: 0; font-size: var(--mv-fs-1-5); color: var(--mv-muted); }
#map .mvm-sheet-geo .mvm-gs-good { margin-top: var(--mv-space-4); padding: var(--mv-space-3) var(--mv-space-4); border-radius: var(--mv-radius-card); background: var(--mv-linen); }
#map .mvm-sheet-geo .mvm-gs-h { margin: 0 0 var(--mv-space-1); padding: 0; font-size: var(--mv-fs-2); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-head); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-good ul { margin: 0; padding: 0; list-style: none; }
#map .mvm-sheet-geo .mvm-gs-row { padding: var(--mv-space-2) 0; border-top: var(--mv-border) solid var(--mv-hairline); font-size: var(--mv-fs-1-5); line-height: var(--mv-lh-head); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-row:first-child { border-top: 0; }
#map .mvm-sheet-geo .mvm-gs-kn-rest .mvm-gs-row:first-child { border-top: var(--mv-border) solid var(--mv-hairline); }
#map .mvm-sheet-geo .mvm-gs-row a { display: inline-flex; align-items: center; min-height: var(--mv-tap); }
#map .mvm-sheet-geo .mvm-gs-raw { color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-week summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--mv-space-2); min-height: var(--mv-tap);
  cursor: pointer; list-style: none; font-family: var(--mv-font-body); font-size: var(--mv-fs-1-5); color: var(--mv-ink);
}
#map .mvm-sheet-geo .mvm-gs-week summary::-webkit-details-marker { display: none; }
#map .mvm-sheet-geo .mvm-gs-week summary:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); border-radius: var(--mv-radius-xs); }
#map .mvm-sheet-geo .mvm-gs-wk { flex: none; font-weight: var(--mv-fw-bold); color: var(--mv-blue); text-decoration: underline; }
#map .mvm-sheet-geo .mvm-gs-week[open] .mvm-gs-wk { display: none; }
#map .mvm-sheet-geo .mvm-sd-tag {
  display: inline-block; padding: var(--mv-space-1) var(--mv-space-2); border-radius: var(--mv-radius-pill); background: var(--mv-white);
  font-size: var(--mv-fs-1); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-box); letter-spacing: var(--mv-tracking-caps); text-transform: uppercase;
}
#map .mvm-sheet-geo .mvm-sd-tag.is-open { background: var(--mv-success); color: var(--mv-white); }
#map .mvm-sheet-geo .mvm-gs-week table { width: 100%; font-family: var(--mv-font-body); margin-top: var(--mv-space-1); border-collapse: collapse; font-size: var(--mv-fs-1-5); }
#map .mvm-sheet-geo .mvm-gs-week th,
#map .mvm-sheet-geo .mvm-gs-week td { padding: var(--mv-space-1) 0; border: 0; text-align: left; font-weight: var(--mv-fw-text); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-week td { text-align: right; }
#map .mvm-sheet-geo .mvm-gs-week tr.is-today th,
#map .mvm-sheet-geo .mvm-gs-week tr.is-today td { font-weight: var(--mv-fw-bold); }
#map .mvm-sheet-geo .mvm-gs-vh { position: absolute; width: var(--mv-border); height: var(--mv-border); overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Störungen der Wiener Linien an einer Haltestelle (16.11.2026) */
#map .mvm-sheet-geo .mvm-gs-wl a { color: inherit; text-decoration: underline; }
#map .mvm-sheet-geo .mvm-gs-notice + .mvm-gs-notice { margin-top: var(--mv-space-3); padding-top: var(--mv-space-3); border-top: var(--mv-border) solid var(--mv-hairline); }
#map .mvm-sheet-geo .mvm-gs-notice-h { display: flex; align-items: center; flex-wrap: wrap; gap: var(--mv-space-2); margin: 0; padding: 0; font-size: var(--mv-fs-1-5); line-height: var(--mv-lh-head); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-notice-h i { color: var(--mv-muted); }
#map .mvm-sheet-geo .mvm-gs-notice-t { font-weight: var(--mv-fw-semi); }
#map .mvm-sheet-geo .mvm-gs-notice details { margin: 0; padding: 0; }
#map .mvm-sheet-geo .mvm-gs-notices .mvm-gs-wl { margin-top: var(--mv-space-2); }
#map .mvm-sheet-geo .mvm-gs-notice summary { margin-top: var(--mv-space-2); font-family: inherit; font-size: var(--mv-fs-1); font-weight: var(--mv-fw-text); color: var(--mv-muted); cursor: pointer; }
#map .mvm-sheet-geo .mvm-gs-notice summary:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map .mvm-sheet-geo .mvm-gs-notice details p { margin: var(--mv-space-2) 0 0; padding: 0; font-size: var(--mv-fs-1-5); line-height: var(--mv-lh-body); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-osm { margin: var(--mv-space-2) 0 0; padding: 0; font-size: var(--mv-fs-1); line-height: var(--mv-lh-head); color: var(--mv-muted); }
#map .mvm-sheet-geo .mvm-sheet-near { margin-top: var(--mv-space-5); }
#map .mvm-sheet-geo .mvm-sheet-near-item { min-height: var(--mv-tap); }
#map .mvm-sheet-geo .mvm-sheet-near-item:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); border-radius: var(--mv-radius-s); }
#map .mvm-sheet-geo .mvm-gs-foot { margin: var(--mv-space-5) 0 0; padding: var(--mv-space-3) 0 0; border-top: var(--mv-border) solid var(--mv-hairline); font-size: var(--mv-fs-1); line-height: var(--mv-lh-head); color: var(--mv-muted); }
/* kleine Karte am Handy: der Name führt zur Seitenleiste */
#map .mvm-geo-card .mvm-geo-n-b { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--mv-hairline); text-underline-offset: var(--mv-space-1); }
#map .mvm-geo-card .mvm-geo-n-b:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); border-radius: var(--mv-radius-xs); }
/* Seitenleiste am Desktop: der Inhalt der Leiste hat dort keinen Innenabstand (Galerie randlos), die Blöcke rücken
   ein wie Kopf, Knöpfe und Listen der Orte von muvamo */
@media (min-width: 768px) {
  #map .mvm-sheet-geo .mvm-gs-head { padding-top: var(--mv-space-4); }
  #map .mvm-sheet-geo .mvm-gs-head,
  #map .mvm-sheet-geo .mvm-gs-more,
  #map .mvm-sheet-geo .mvm-gs-kn-aw,
  #map .mvm-sheet-geo .mvm-gs-kn-d,
  #map .mvm-sheet-geo .mvm-gs-modes,
  #map .mvm-sheet-geo .mvm-gs-bikes,
  #map .mvm-sheet-geo .mvm-gs-lines,
  #map .mvm-sheet-geo .mvm-gs-deps,
  #map .mvm-sheet-geo .mvm-gs-notices,
  #map .mvm-sheet-geo .mvm-gs-hn,
  #map .mvm-sheet-geo .mvm-gs-foot { margin-left: var(--mv-space-4); margin-right: var(--mv-space-4); }
}
#map .mvm-sheet-geo .mvm-gs-row:has(a) { padding-top: 0; padding-bottom: 0; }
/* Verkehrsmittel einer Haltestelle: derselbe Kasten wie "Good to know", ohne Überschrift */
#map .mvm-sheet-geo .mvm-gs-modes { padding-top: var(--mv-space-1); padding-bottom: var(--mv-space-1); }
/* Seitenleiste eines fremden Orts am Desktop: volle Höhe wie bei einem Ort von muvamo, auch bei wenig Inhalt; die
   Quellenzeile steht dann ganz unten (Michael, 30.11.2026; vorher Höhe nach Inhalt) */
@media (min-width: 768px) {
  #map .mvm-sheet-geo .mvm-sheet-scroll { display: flex; flex-direction: column; box-sizing: border-box; }
  #map .mvm-sheet-geo .mvm-sheet-scroll > * { flex: none; }
  #map .mvm-sheet-geo .mvm-sheet-scroll > .mvm-gs-foot { margin-top: auto; }
  #map .mvm-sheet-geo .mvm-sheet-scroll > :has(+ .mvm-gs-foot) { margin-bottom: var(--mv-space-5); }
}

/* Linien einer Haltestelle (15.11.2026): Plaketten .mvm-line wie an der nächsten Haltestelle eines Orts von muvamo,
   ruhiger Umbruch, "+n" grau dahinter */
#map .mvm-sheet-geo .mvm-gs-lines { padding-top: var(--mv-space-3); padding-bottom: var(--mv-space-3); }
#map .mvm-sheet-geo .mvm-gs-lines p { margin: 0; display: flex; flex-wrap: wrap; gap: var(--mv-space-1); align-items: center; }
#map .mvm-sheet-geo .mvm-gs-lines .mvm-line { vertical-align: 0; }
/* Nächste Abfahrten einer Haltestelle (15.11.2026): Plakette, Richtung, Minuten; Live-Zeiten in Marken-Blau */
#map .mvm-sheet-geo .mvm-gs-dep { display: flex; align-items: center; gap: var(--mv-space-2); }
#map .mvm-sheet-geo .mvm-gs-dep .mvm-line { flex: none; vertical-align: 0; }
#map .mvm-sheet-geo .mvm-gs-notices .mvm-line { flex: none; vertical-align: 0; }
#map .mvm-sheet-geo .mvm-gs-dep-to { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#map .mvm-sheet-geo .mvm-gs-dep-t { flex: none; font-weight: var(--mv-fw-bold); font-variant-numeric: tabular-nums; }
#map .mvm-sheet-geo .mvm-gs-dep-t.is-live { color: var(--mv-blue); }
/* Radverleih live (17.11.2026): die Zahl der freien Räder im Blatt */
#map .mvm-sheet-geo .mvm-gs-bikes-n { font-weight: var(--mv-fw-bold); }
/* Anleitung in drei Schritten: Zahlen vor den Zeilen, sonst wie die Zeilen von "Good to know" */
#map .mvm-sheet-geo .mvm-gs-steps { margin: 0; padding: 0 0 0 var(--mv-space-5); list-style: decimal; }
#map .mvm-sheet-geo .mvm-gs-steps > li { display: list-item; list-style: inherit; }
#map .mvm-sheet-geo .mvm-gs-bikes-n.is-none { color: var(--mv-muted); }
/* Stadtlinien | Züge (17.11.2026): Umschalter über der Liste der Abfahrten, nur an Stationen mit beidem */
#map .mvm-sheet-geo .mvm-gs-deptabs { display: flex; gap: var(--mv-space-1); margin: var(--mv-space-2) 0; padding: var(--mv-space-1); border-radius: var(--mv-radius-pill); background: var(--mv-linen); }
#map .mvm-sheet-geo .mvm-gs-deptab { flex: 1; min-height: var(--mv-space-6); padding: 0 var(--mv-space-3); border: 0; border-radius: var(--mv-radius-pill); background: none; font: inherit; font-size: var(--mv-fs-1-5); font-weight: var(--mv-fw-bold); color: inherit; cursor: pointer; }
#map .mvm-sheet-geo .mvm-gs-deptab[aria-pressed="true"] { background: var(--mv-white); box-shadow: var(--mv-shadow-float); }
#map .mvm-sheet-geo .mvm-gs-deptab:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map .mvm-sheet-geo .mvm-gs-dep-pl { flex: none; font-size: var(--mv-fs-1); color: var(--mv-muted); white-space: nowrap; }   /* eigenes Feld: das Gleis wird nie abgeschnitten, das Ziel kürzt */
/* Zeile als Knopf: zeigt die Linie auf der Karte; gewählt mit Fläche */
#map .mvm-sheet-geo .mvm-gs-dep-li { padding: 0; }
/* Platzhalter, bis die Abfahrten da sind (Michael, 16.11.2026): echte Zeilen ohne Inhalt, damit das Blatt nicht springt */
#map .mvm-sheet-geo .mvm-gs-deps-wait .mvm-gs-dep-b { cursor: default; }
#map .mvm-sheet-geo .mvm-gs-deps-wait .mvm-line { background: var(--mv-hairline); color: transparent; }
#map .mvm-sheet-geo .mvm-gs-deps-wait i { display: inline-block; vertical-align: middle; height: var(--mv-space-2); border-radius: var(--mv-radius-s); background: var(--mv-hairline); }
#map .mvm-sheet-geo .mvm-gs-deps-wait .mvm-gs-dep-to i { width: 55%; }
#map .mvm-sheet-geo .mvm-gs-deps-wait .mvm-gs-dep-t i { width: var(--mv-space-7); }
#map .mvm-sheet-geo .mvm-gs-deps-wait ul { animation: mvm-tourbar-pulse 1.6s var(--mv-ease) infinite; }
@media (prefers-reduced-motion: reduce) { #map .mvm-sheet-geo .mvm-gs-deps-wait ul { animation: none; } }
#map .mvm-sheet-geo .mvm-gs-dep-b { width: 100%; padding: var(--mv-space-2) var(--mv-space-1); border: 0; border-radius: var(--mv-radius-s); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) { #map .mvm-sheet-geo .mvm-gs-dep-b:hover { background: var(--mv-veil-hover); } }
#map .mvm-sheet-geo .mvm-gs-dep-b[aria-pressed="true"] { background: var(--mv-white); }
#map .mvm-sheet-geo .mvm-gs-dep-b:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map .mvm-sheet-geo .mvm-gs-lines-more { font-size: var(--mv-fs-1); font-weight: var(--mv-fw-bold); color: var(--mv-muted); }

/* Feld "House number" in der Seitenleiste einer Straße (15.11.2026): Formularfeld des Skills (Beschriftung darüber,
   48 px, Rand in Nebentext, Rundung 12 px), Vorschläge als Zeilen der Kartensuche direkt darunter im Fluss */
#map .mvm-sheet-geo .mvm-gs-hn { margin-top: var(--mv-space-4); }
#map.mvm-ci .mvm-sheet-geo .mvm-gs-hn-list { border: 0; outline: none; }
#map .mvm-sheet-geo .mvm-gs-hn label { display: block; margin-bottom: var(--mv-space-1); font-size: var(--mv-fs-1-5); font-weight: var(--mv-fw-bold); color: var(--mv-ink); }
#map .mvm-sheet-geo .mvm-gs-hn input {
  box-sizing: border-box; width: 100%; height: var(--mv-space-7); padding: 0 var(--mv-space-3);
  border: var(--mv-border) solid var(--mv-muted); border-radius: var(--mv-radius-m); background: var(--mv-white);
  font-size: var(--mv-fs-3); color: var(--mv-ink);
}
#map .mvm-sheet-geo .mvm-gs-hn input:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map.mvm-ci .mvm-sheet-geo .mvm-gs-hn-list { position: static; margin-top: var(--mv-space-1); padding: 0; background: none; box-shadow: none; }
#map.mvm-ci .mvm-sheet-geo .mvm-gs-hn-list:not([hidden]) { display: block; }
#map.mvm-ci .mvm-sheet-geo .mvm-gs-hn-list[hidden] { display: none; }

/* Handy (Michael, 16.11.2026) -------------------------------------------------------------------------------
   1. Karten unten größer und ohne Gebietsmarke (die farbige Linie oben an der Karte nennt das Gebiet weiter)
   2. obere Reihe auf einer Höhe: X so hoch wie eine Tippfläche, Lupe, Filterreihe und Suchfeld mittig dazu
   3. offene Suche über die ganze Breite, X und Filterknopf weg (zwei X nebeneinander) */
@media (max-width: 767px) {
  #map.mvm-ci .map_bottom_menu_marker { width: calc(var(--mv-space-9) + var(--mv-space-7)); flex-basis: calc(var(--mv-space-9) + var(--mv-space-7)); margin-right: var(--mv-space-2); }
  #map.mvm-ci .map_bottom_menu_marker .mvm-bar-arealbl { display: none; }
  #map.mvm-fs .mvm-tf-top button { width: var(--mv-tap); height: var(--mv-tap); }
  #map.mvm-fs .mvm-tf-x { line-height: var(--mv-tap); }
  #map.mvm-fs.mvm-has-cs .mvm-chips { top: calc(env(safe-area-inset-top, 0px) + var(--mv-space-4)); }
  /* the magnifier on the line of the chips: the chip row has 2 px padding on top (Michael 23.11.2026, "not inline") */
  #map.mvm-fs.mvm-has-cs .mvm-chip-search { top: calc(env(safe-area-inset-top, 0px) + var(--mv-space-4) + var(--mv-border-strong)); }
  #map.mvm-fs.mvm-ci.mvm-has-cs #mapsearch .mvm-search-bar { top: calc(env(safe-area-inset-top, 0px) + var(--mv-space-3)); }
  #map.mvm-ci.mvm-has-cs:has(#mapsearch[style*="block"]) #mapsearch .mvm-search-bar { width: calc(100% - 2 * var(--mv-space-3)); left: var(--mv-space-3); }
  #map:has(#mapsearch[style*="block"]) .mvm-tf-top,
  #map:has(#mapsearch[style*="block"]) .mapbox-filter { visibility: hidden; }
}

/* Leiste "In der Nähe" (Michael, 16.11.2026): an der Stelle der Leiste der Orte von muvamo, solange der Filter "Practical"
   oder die Suche nach einer Art an ist (mvmNearShow). Kopfkarte mit Art und X, daneben die Treffer zum Wischen:
   fremde Orte kompakt mit Zeichen, Orte von muvamo mit Foto. */
#map.mvm-near-on .map_bottom_menu { visibility: hidden; }
#map .mvm-near-bar {
  position: absolute;
  z-index: var(--mv-z-sticky);
  left: var(--mv-space-5);
  bottom: var(--mv-space-5);
  max-width: calc(100% - 2 * var(--mv-space-5));
  display: flex;
  align-items: stretch;
  gap: var(--mv-space-2);
  font-family: 'Quicksand', Helvetica, Arial, sans-serif;
  color: var(--mv-ink);
}
#map .mvm-near-bar[hidden] { display: none; }
#map[data-mvm-scrollpage]:not(.mvm-fs) .mvm-near-bar, #map.muvamo_inline_map:not(.mvm-fs) .mvm-near-bar, #map.mvm-tourmode-on .mvm-near-bar { display: none; }
#map .mvm-near-bar ul { display: flex; gap: var(--mv-space-2); min-width: 0; margin: 0; padding: var(--mv-space-1) var(--mv-space-1) var(--mv-space-2); list-style: none; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
#map .mvm-near-bar ul::-webkit-scrollbar { display: none; }
#map .mvm-near-bar li { flex: none; scroll-snap-align: start; }
#map .mvm-near-head,
#map .mvm-near-card {
  display: flex;
  align-items: center;
  gap: var(--mv-space-3);
  box-sizing: border-box;
  height: var(--mv-space-8);
  border: 0;
  border-radius: var(--mv-radius-card);
  background: var(--mv-white);
  box-shadow: var(--mv-shadow-float);
  font: inherit;
  color: inherit;
  text-align: left;
}
#map .mvm-near-head { flex: none; margin: var(--mv-space-1) 0 var(--mv-space-2); padding: 0 var(--mv-space-1) 0 var(--mv-space-3); background: var(--mv-navy); color: var(--mv-white); }   /* muvamo-Dunkelblau wie die Filter-Kachel (20.11.2026) */
#map .mvm-near-head .mvm-near-pic { background: transparent; color: var(--mv-white); width: auto; }
#map .mvm-near-head .mvm-near-s { color: inherit; opacity: 0.8; }
#map .mvm-near-head .mvm-near-txt { max-width: var(--mv-space-9); }
#map .mvm-near-x { flex: none; display: flex; align-items: center; justify-content: center; width: var(--mv-tap); height: var(--mv-tap); padding: 0; border: 0; border-radius: var(--mv-radius-round); background: none; color: inherit; cursor: pointer; }
#map .mvm-near-x:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map .mvm-near-card { width: calc(var(--mv-space-9) * 2 + var(--mv-space-5)); padding: 0 var(--mv-space-3) 0 var(--mv-space-2); cursor: pointer; }
#map .mvm-near-card.is-wait { cursor: default; }
#map .mvm-near-card:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map .mvm-near-card.is-on { box-shadow: inset 0 0 0 var(--mv-border-strong) var(--mv-ink), var(--mv-shadow-float); }
@media (hover: hover) { #map .mvm-near-card:not(.is-wait):hover { background: var(--mv-linen); } }
#map .mvm-near-pic { flex: none; display: flex; align-items: center; justify-content: center; width: var(--mv-space-7); height: var(--mv-space-7); border-radius: var(--mv-radius-s); background: var(--chip-color, var(--mv-linen)); color: var(--mv-ink); overflow: hidden; }
#map .mvm-near-pic[style] { color: var(--mv-white); }
#map .mvm-near-pic i { font-size: var(--mv-fs-3); line-height: 1; }
#map .mvm-near-pic svg { width: var(--mv-space-5); height: var(--mv-space-5); }
#map .mvm-near-pic img { width: 100%; height: 100%; object-fit: cover; }
#map .mvm-near-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--mv-border-strong); }
#map .mvm-near-t { max-width: 100%; font-size: var(--mv-fs-1-5); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#map .mvm-near-s { max-width: 100%; font-size: var(--mv-fs-1); line-height: var(--mv-lh-head); color: var(--mv-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#map .mvm-near-tag { font-size: var(--mv-fs-1); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-head); color: var(--mv-muted); }
#map .mvm-near-tag.is-open { color: var(--mv-success); }
#map .mvm-near-none { display: flex; align-items: center; height: var(--mv-space-8); padding: 0 var(--mv-space-4); border-radius: var(--mv-radius-card); background: var(--mv-white); box-shadow: var(--mv-shadow-float); font-size: var(--mv-fs-1-5); color: var(--mv-muted); }
#map .mvm-near-card.is-wait i { display: inline-block; vertical-align: middle; width: var(--mv-space-9); height: var(--mv-space-2); border-radius: var(--mv-radius-s); background: var(--mv-hairline); }
#map .mvm-near-card.is-wait .mvm-near-s i { width: var(--mv-space-8); }
/* Laptop mit offener Seitenleiste: neben der Seitenleiste, wie die Leiste der Orte */
@media (min-width: 768px) {
  #map.mvm-sheet-on .mvm-near-bar { left: calc(var(--mv-space-9) * 4 + var(--mv-space-5)); max-width: calc(100% - var(--mv-space-9) * 4 - 2 * var(--mv-space-5)); }
}
/* Handy: am Rand wie die Leiste der Orte; unter dem offenen Blatt nicht zu sehen */
@media (max-width: 767px) {
  #map .mvm-near-bar { left: var(--mv-space-3); max-width: calc(100% - var(--mv-space-3)); }
  #map.mvm-sheet-on .mvm-near-bar { visibility: hidden; }
  /* die Kopfkarte liegt als Pille über den Karten, damit zwei Karten nebeneinander Platz haben */
  #map .mvm-near-bar { flex-direction: column; align-items: flex-start; gap: 0; width: calc(100% - var(--mv-space-3)); }
  #map .mvm-near-bar ul { max-width: 100%; box-sizing: border-box; padding-right: var(--mv-space-3); }
  #map .mvm-near-head { height: var(--mv-tap); margin: 0 0 var(--mv-space-1) var(--mv-space-1); border-radius: var(--mv-radius-pill); gap: var(--mv-space-2); }
  #map .mvm-near-head .mvm-near-pic { display: none; }
  #map .mvm-near-head .mvm-near-txt { flex-direction: row; align-items: baseline; gap: var(--mv-space-2); max-width: calc(var(--mv-space-9) * 2); }
  #map .mvm-near-card { width: calc(var(--mv-space-9) + var(--mv-space-8) + var(--mv-space-4)); }
}

/* Flughafen (16.11.2026): Zeichen auf der Karte in jeder Zoomstufe, dunkle Pille mit Flugzeug und Kürzel */
/* dezenter seit 18.11.2026 (Michael): weiß mit dunklem Zeichen wie die Knöpfe der Karte, statt schwarzer Pille */
#map .mvm-air-sign { display: flex; align-items: center; gap: var(--mv-space-1); height: var(--mv-space-6); padding: 0 var(--mv-space-3); border: var(--mv-border) solid var(--mv-hairline); border-radius: var(--mv-radius-pill); background: var(--mv-white); color: var(--mv-ink); box-shadow: var(--mv-shadow-float); font: inherit; font-family: 'Quicksand', Helvetica, Arial, sans-serif; font-size: var(--mv-fs-1); font-weight: var(--mv-fw-bold); line-height: 1; cursor: pointer; }
#map .mvm-air-sign i { font-size: var(--mv-fs-1-5); }
#map .mvm-air-sign:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map[data-mvm-scrollpage]:not(.mvm-fs) .mvm-air-sign, #map.muvamo_inline_map:not(.mvm-fs) .mvm-air-sign, #map.mvm-tourmode-on .mvm-air-sign { display: none; }
#map .mvm-air-edge { position: absolute; z-index: var(--mv-z-sticky); transform: translate(-50%, -50%); }
#map .mvm-air-edge[hidden] { display: none; }
#map .mvm-air-edge .mvm-air-arrow { font-size: var(--mv-fs-1); }
#map .mvm-air-sign .mvm-air-name { font-weight: var(--mv-fw-bold); }
#map .mvm-air-edge .mvm-air-arrow { display: inline-flex; align-items: center; justify-content: center; width: var(--mv-space-3); height: var(--mv-space-3); color: var(--mv-muted); }
#map .mvm-air-edge .mvm-air-arrow::before { content: ''; border-left: var(--mv-space-3) solid currentColor; border-top: var(--mv-space-1) solid transparent; border-bottom: var(--mv-space-1) solid transparent; }
/* Handy: nur das Zeichen im Kreis, der Name steht im Blatt nach dem Antippen (aria-label trägt ihn weiter) */
@media (max-width: 767px) {
  #map .mvm-air-sign { justify-content: center; min-width: var(--mv-space-6); padding: 0 var(--mv-space-2); }
  #map .mvm-air-sign .mvm-air-name { display: none; }
  #map .mvm-air-sign i { font-size: var(--mv-fs-1); }
}
#map.mvm-sheet-on .mvm-air-edge, #map.mvm-near-on .mvm-air-edge, #map:has(#mapsearch[style*="block"]) .mvm-air-edge { display: none; }

/* Offene Handy-Karte (Michael 19.11.2026, wie Google Maps ruhiger): GPS-Knopf aus, Quellenzeile
   eingeklappt auf ein (i) über der Karte. Ganz weg darf sie nicht: OSMF verlangt, dass die Lizenz
   auffindbar bleibt, solange Karte zu sehen ist; Einklappen auf ein (i) ist ausdrücklich erlaubt */
#map .mvm-credit-i { display: none; }
#map.mvm-card-calm .maplibregl-ctrl-bottom-right { opacity: 0; visibility: hidden; pointer-events: none; }
#map.mvm-credit-min .mvm-credit { padding: 0; background: none; }
#map.mvm-credit-min .mvm-credit-txt { display: none; }
#map.mvm-credit-min .mvm-credit-i {
  display: grid; place-items: center; position: relative;
  width: var(--mv-tap-min); height: var(--mv-tap-min); padding: 0;
  border: 0; border-radius: var(--mv-radius-round);
  background: var(--mv-white); color: var(--mv-muted); box-shadow: var(--mv-shadow-float);
  font: var(--mv-fw-bold) var(--mv-fs-1)/1 var(--mv-font-body); cursor: pointer;
}
#map.mvm-credit-min .mvm-credit-i::after { content: ''; position: absolute; inset: calc((var(--mv-tap-min) - var(--mv-tap)) / 2); }
#map.mvm-credit-min .mvm-credit-i:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }

/* Kachel der aktiven Filter (Michael, 20.11.2026, mvmFilterTile in muvamo-maplibre.js): erste Kachel der Leiste in
   Kachelgröße (Breite und Höhe übernimmt das Skript von der ersten Karte), gebaut wie der Kopf der Suche: dunkle Fläche,
   Name des Filters bzw. "3 filters", Zahl der Orte, X hebt auf. Ohne aktiven Filter gibt es sie nicht.
   Bleibt links stehen, die Karten laufen darunter durch (Michael, 20.11.2026); left 0 = Innenkante der Leiste (neben dem freien Rand der Pfeile). */
#map .map_bottom_menu .mvm-ftile {
  position: sticky;
  left: 0;
  z-index: var(--mv-z-dropdown);
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--mv-space-1);
  box-sizing: border-box;
  min-width: var(--mv-space-9);
  padding: var(--mv-space-3) var(--mv-space-4);
  border-radius: var(--mv-radius-card);
  background: var(--mv-navy);   /* muvamo-Dunkelblau statt Schwarz (Michael, 20.11.2026) */
  box-shadow: var(--mv-shadow-float);
  color: var(--mv-white);
  font-family: var(--mv-font-body);
}
/* Karten ziehen links vorbei: links eckig wie die Schnittkante der Leiste */
#map .map_bottom_menu .mvm-ftile.mvm-ftile-stuck { border-top-left-radius: 0; border-bottom-left-radius: 0; }
#map .mvm-ftile-t { max-width: 100%; font-size: var(--mv-fs-3); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#map .mvm-ftile-a { max-width: 100%; font-size: var(--mv-fs-1-5); font-weight: var(--mv-fw-bold); line-height: var(--mv-lh-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#map .mvm-ftile-a[hidden] { display: none; }
#map .mvm-ftile-s { font-size: var(--mv-fs-1-5); line-height: var(--mv-lh-head); opacity: 0.8; }
#map .mvm-ftile-x { position: absolute; top: var(--mv-space-1); right: var(--mv-space-1); display: flex; align-items: center; justify-content: center; width: var(--mv-tap); height: var(--mv-tap); padding: 0; border: 0; border-radius: var(--mv-radius-round); background: none; color: inherit; cursor: pointer; }
#map .mvm-ftile-x:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }

/* Weitere beliebte Orte (Michael, 20.11.2026): eigene Kacheln und Trenner nach unseren Spots, Punkte auf der Karte */
#map .map_bottom_menu_marker .thumb .mvm-noimg.mvm-known-tile { background: var(--mv-linen); color: var(--mv-muted); gap: var(--mv-space-2); }
#map .map_bottom_menu_marker .thumb .mvm-known-tile .mvm-known-ico { display: flex; align-items: center; justify-content: center; width: var(--mv-space-7); height: var(--mv-space-7); border-radius: var(--mv-radius-round); background: var(--mv-white); color: var(--known-color, var(--mv-navy)); }
#map .map_bottom_menu_marker .thumb .mvm-known-tile .mvm-known-ico i { font-size: var(--mv-fs-3); }

/* Umschalter "Alle n Orte" / "Nur Orte von muvamo" neben der Kopfkarte der Treffer (Michael, 20.11.2026) */
#map .mvm-near-top { display: contents; }
#map .mvm-near-all { flex: none; align-self: center; display: inline-flex; align-items: center; gap: var(--mv-space-2); height: var(--mv-tap); margin: var(--mv-space-1) 0 var(--mv-space-2); padding: 0 var(--mv-space-4); border: 0; border-radius: var(--mv-radius-pill); background: var(--mv-blue-tint); box-shadow: inset 0 0 0 var(--mv-border-strong) var(--mv-blue), var(--mv-shadow-float); color: var(--mv-navy); font: inherit; font-size: var(--mv-fs-1-5); font-weight: var(--mv-fw-bold); white-space: nowrap; cursor: pointer; }
#map .mvm-near-all.is-on { background: var(--mv-white); box-shadow: inset 0 0 0 var(--mv-border-strong) var(--mv-hairline), var(--mv-shadow-float); }
#map .mvm-near-all i { font-size: var(--mv-fs-1); }
#map .mvm-near-all:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
@media (max-width: 767px) {
  #map .mvm-near-top { display: flex; align-items: center; gap: var(--mv-space-2); }
  #map .mvm-near-top .mvm-near-all { margin: 0 0 var(--mv-space-1); }
}

/* Schnellwahl der Kategorie ganz oben in der Suche (Michael, 21.11.2026): Zeichen in der Farbe des Chips */
#map.mvm-ci #mapsearch .muvamo_autocomplete_result.map .mvm-chip-row .mvm-geo-ico[style] { background: var(--chip-color); color: var(--mv-white); }

/* Touren des Spots unter den Knöpfen (Michael 23.11.2026, Runde 18): voller Name, darf umbrechen */
#map .mvm-sheet-tourrow-txt { overflow: visible; text-overflow: clip; white-space: normal; }

/* "Other popular options" (Michael, 23.11.2026): Schalter mit Beschriftung im Kopf der Treffer und Zeile zum
   Aufklappen am Ende der Liste; gilt für die Leiste am Computer und das Blatt am Handy */
#map .mvm-sw { flex: none; position: relative; display: inline-block; width: calc(var(--mv-space-6) + var(--mv-space-1)); height: calc(var(--mv-space-4) + var(--mv-space-1)); border-radius: var(--mv-radius-pill); background: var(--mv-hairline); transition: background var(--mv-dur-base) var(--mv-ease); }
#map .mvm-sw span { position: absolute; top: var(--mv-border-strong); left: var(--mv-border-strong); width: var(--mv-space-4); height: var(--mv-space-4); border-radius: var(--mv-radius-round); background: var(--mv-white); box-shadow: var(--mv-shadow-float); transition: transform var(--mv-dur-base) var(--mv-ease); }
#map .is-sw.is-on .mvm-sw { background: var(--mv-blue); }
#map .is-sw.is-on .mvm-sw span { transform: translateX(var(--mv-space-4)); }
#map .mvm-near-all.is-sw, #map .mvm-hl-all.is-sw { white-space: nowrap; padding-left: var(--mv-space-3); background: var(--mv-white); box-shadow: inset 0 0 0 var(--mv-border-strong) var(--mv-hairline); }
#map .mvm-near-all.is-sw { box-shadow: inset 0 0 0 var(--mv-border-strong) var(--mv-hairline), var(--mv-shadow-float); }
#map .mvm-near-all.is-sw.is-on, #map .mvm-hl-all.is-sw.is-on { background: var(--mv-blue-tint); }
@media (prefers-reduced-motion: reduce) { #map .mvm-sw, #map .mvm-sw span { transition: none; } }

/* Karte eines weiteren Orts berührt: sein Punkt über den Fotos unserer Spots (Michael, 29.11.2026) */
#map .mvm-known-mark { z-index: 146; width: var(--mv-space-5); height: var(--mv-space-5); box-sizing: border-box; border: var(--mv-space-1) solid var(--mv-white); border-radius: var(--mv-radius-round); background: var(--known-color); box-shadow: var(--mv-shadow-float); pointer-events: none; }
/* Trenner zwischen unseren Orten und den weiteren (Michael, 29.11.2026): Linie mit Überschrift, keine Karte */
#map .map_bottom_menu .mvm-known-div { flex: none; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: var(--mv-space-1); box-sizing: border-box; width: calc(var(--mv-space-9) * 2); padding: var(--mv-space-3) var(--mv-space-4); margin: var(--mv-space-1) var(--mv-space-4) var(--mv-space-2) 0; border-left: var(--mv-space-1) solid var(--mv-navy); border-radius: var(--mv-radius-s); background: var(--mv-linen); box-shadow: var(--mv-shadow-float); color: var(--mv-navy); font-family: var(--mv-font-body); line-height: var(--mv-lh-head); }
#map .map_bottom_menu .mvm-known-div strong { font-size: var(--mv-fs-2); font-weight: var(--mv-fw-bold); }
#map .map_bottom_menu .mvm-known-div span { font-size: var(--mv-fs-1-5); color: var(--mv-ink); }
/* Schalter in der dunklen Filter-Kachel am Computer */
#map .mvm-ftile-sw { display: inline-flex; align-items: center; gap: var(--mv-space-2); margin-top: var(--mv-space-2); padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: var(--mv-fs-1); font-weight: var(--mv-fw-bold); white-space: nowrap; cursor: pointer; }
#map .mvm-ftile-sw[hidden] { display: none; }
#map .mvm-ftile-sw .mvm-sw { background: var(--mv-muted); }
#map .mvm-ftile-sw.is-on .mvm-sw { background: var(--mv-blue); }
#map .mvm-ftile-sw:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
/* Suchfeld am Computer so hoch wie die Chips daneben (Michael, 23.11.2026); am Handy bleibt die volle Tippfläche */
@media (min-width: 981px) {
  #map.mvm-ci #mapsearch .mvm-search-bar, #map.mvm-ci.mvm-has-cs #mapsearch .mvm-search-bar { top: calc(var(--mv-space-3) + var(--mv-border-strong)); }
  #map.mvm-ci #mapsearch .mvm-search-bar input { height: calc(var(--mv-space-6) + var(--mv-space-1)); }
  #map.mvm-ci #mapsearch .mvm-search-x { top: var(--mv-space-1); right: var(--mv-space-1); width: calc(var(--mv-space-5) + var(--mv-space-1)); height: calc(var(--mv-space-5) + var(--mv-space-1)); line-height: calc(var(--mv-space-5) + var(--mv-space-1)); font-size: var(--mv-fs-3); }
  #map.mvm-ci #mapsearch .mvm-search-bar .muvamo_autocomplete_result.map { top: calc(var(--mv-space-6) + var(--mv-space-1) + var(--mv-space-2)); }
}

/* Handy: Schalter "More places" kompakt in der Kopfzeile neben "Clear filter" (Michael, 23.11.2026) */
#map .mvm-hl-head > .mvm-hl-all.is-sw, #map .mvm-hl-head > .mvm-hl-all.is-sw.is-on { flex: none; margin: 0; padding: 0 var(--mv-space-1); gap: var(--mv-space-2); background: none; box-shadow: none; font-size: var(--mv-fs-1-5); }
#map .mvm-hl-head > .mvm-hl-all.is-sw:focus-visible { box-shadow: var(--mv-focus-ring); }
#map .mvm-hl-head:has(> .mvm-hl-all.is-sw:not([hidden])) .mvm-hl-sub { white-space: nowrap; }
/* Zähler "46 muvamo + 35 weitere" darf vor dem Plus umbrechen (29.11.2026) */
#map .mvm-hl-head:has(> .mvm-hl-all.is-sw.is-on:not([hidden])) .mvm-hl-sub { white-space: normal; }
#map .mvm-hl-all.is-sw { touch-action: none; }

/* Textfelder der Karte ohne Ring bei Maus und Finger (Michael, 23.11.2026: "braucht es das Highlighting?"); ein Textfeld
   gilt nach jedem Antippen als :focus-visible, darum zählt die Klasse html.mvm-kbd (Tab an, Zeiger aus, muvamo-maplibre.js) */
html:not(.mvm-kbd) #map input:focus-visible { outline: none; }

/* Kopf der Karte (Michael, 24.11.2026, seit 25.11.2026 Standard, mvmKopfInit setzt .mvm-kopf2): Suchleiste immer sichtbar, darin der
   Stand (Suchwort oder aktiver Filter, ein X); links in derselben Zeile der Pfeil "Close map" statt X rechts oben.
   --mvm-kopf-x0 linker Rand der Zeile, --mvm-kopf-l Breite des Pfeils plus Lücke (misst die Karte),
   --mvm-kopf-w Breite der Suchleiste am Computer, --mvm-kopf-h Höhe der Zeile (wie das Suchfeld) */
#map.mvm-kopf2.mvm-fs {
  --mvm-kopf-x0: var(--mv-space-3);
  --mvm-kopf-l: calc(var(--mv-tap) + var(--mv-space-2));
  --mvm-kopf-w: calc(var(--mv-space-9) * 3 + var(--mv-space-8));
  --mvm-kopf-h: var(--mv-tap);
  --mvm-kopf-top: calc(env(safe-area-inset-top, 0px) + var(--mv-space-3));
}
@media (min-width: 768px) {
  #map.mvm-kopf2.mvm-fs.mvm-sheet-on { --mvm-kopf-x0: calc(var(--mv-space-9) * 4 + var(--mv-space-4) + var(--mv-space-1)); }
}
@media (min-width: 981px) {
  #map.mvm-kopf2.mvm-fs {
    --mvm-kopf-h: calc(var(--mv-space-6) + var(--mv-space-1));
    --mvm-kopf-top: calc(env(safe-area-inset-top, 0px) + var(--mv-space-3) + var(--mv-border-strong));
  }
}
#map.mvm-kopf2 .mvm-tf-top,
#map.mvm-kopf2 .mvm-kopf-back,
#map.mvm-kopf2.mvm-fs .mvm-chip-search { display: none; }
#map.mvm-kopf2.mvm-fs .mvm-kopf-back {
  position: absolute;
  z-index: var(--mv-z-toast);
  top: var(--mvm-kopf-top);
  left: var(--mvm-kopf-x0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--mv-space-2);
  min-width: var(--mvm-kopf-h);
  height: var(--mvm-kopf-h);
  padding: 0 var(--mv-space-4) 0 var(--mv-space-3);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: var(--mv-white);
  box-shadow: var(--mv-shadow-float);
  color: var(--mv-ink);
  font: inherit;
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-semi);
  white-space: nowrap;
  cursor: pointer;
}
@media (hover: hover) { #map.mvm-kopf2.mvm-fs .mvm-kopf-back:hover { background: var(--mv-grey-light); } }
#map.mvm-kopf2.mvm-fs .mvm-kopf-back:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
/* die Suchleiste bleibt stehen; muvamo-maplibre.js schaltet ihr display per style (offen oder zu als Zustand der Suche),
   darum !important */
#map.mvm-kopf2.mvm-fs #mapsearch { display: block !important; }   /* !important: schlägt das style display: none der Suche */
#map.mvm-kopf2.mvm-fs.mvm-ci.mvm-has-cs:has(#mapsearch) #mapsearch .mvm-search-bar {
  top: var(--mvm-kopf-top);
  left: calc(var(--mvm-kopf-x0) + var(--mvm-kopf-l));
  width: var(--mvm-kopf-w);
  margin-left: 0;
}
/* zu und ohne Filter: nichts zu löschen, kein X; mit Filter steht sein Name als Platzhalter in Schriftfarbe */
#map.mvm-kopf2.mvm-fs:not(.mvm-kopf-on) #mapsearch:not([style*="block"]) .mvm-search-x { display: none; }
/* zu: keine Trefferliste und keine Hilfe darunter (die Hilfe füllt sich, sobald die Leiste sichtbar ist) */
#map.mvm-kopf2.mvm-fs #mapsearch:not([style*="block"]) .muvamo_autocomplete_result.map { display: none !important; }   /* !important: schlägt das style display: block der Liste */
#map.mvm-kopf2.mvm-fs.mvm-kopf-on #mapsearch:not([style*="block"]) input::placeholder { color: inherit; opacity: 1; }
@media (min-width: 768px) {
  /* Filter in derselben Zeile rechts neben der Suchleiste, auch während der Suche */
  #map.mvm-kopf2.mvm-fs.mvm-has-cs:has(#mapsearch) .mvm-chips {
    left: calc(var(--mvm-kopf-x0) + var(--mvm-kopf-l) + var(--mvm-kopf-w) + var(--mv-space-2));
    margin-left: 0;
    visibility: visible;
  }
}
@media (max-width: 767px) {
  /* Handy: Pfeil nur als Zeichen, Suchleiste bis zum rechten Rand, Filter eine Zeile tiefer ab dem linken Rand */
  #map.mvm-kopf2.mvm-fs .mvm-kopf-back { width: var(--mvm-kopf-h); padding: 0; }
  #map.mvm-kopf2.mvm-fs .mvm-kopf-back-t { display: none; }
  #map.mvm-kopf2.mvm-fs.mvm-ci.mvm-has-cs:has(#mapsearch) #mapsearch .mvm-search-bar { width: auto; right: var(--mv-space-3); }
  #map.mvm-kopf2.mvm-fs.mvm-has-cs:has(#mapsearch) .mvm-chips {
    top: calc(var(--mvm-kopf-top) + var(--mvm-kopf-h) + var(--mv-space-2) - var(--mv-border-strong));
    /* über die volle Breite, die erste Pill bündig mit Pfeil und Leiste (Michael, 24.11.2026) */
    left: 0;
    right: 0;
    margin-left: 0;
    padding: var(--mv-border-strong) var(--mv-space-3) var(--mv-space-2);
    scroll-padding-inline: var(--mv-space-3);
  }
}
/* Computer: Pfeil links weg, Karte schließen rechts oben im Stil des Vollbild-Knopfs (Michael, 24.11.2026) */
#map.mvm-kopf2 .mvm-kopf-xc { display: none; }
#map.mvm-kopf2 .muvamo_filter_clear { display: none !important; }   /* !important: das alte Menü blendet seinen Zähler per style ein; im Demo-Kopf zählt die Pill "Filters" */
@media (min-width: 768px) {
  #map.mvm-kopf2.mvm-fs .mvm-kopf-back { display: none; }
  #map.mvm-kopf2.mvm-fs .mvm-kopf-xc { display: block; position: absolute; z-index: var(--mv-z-toast); top: var(--mvm-kopf-top); right: var(--mv-space-3); margin: 0; }
  #map.mvm-kopf2.mvm-fs .mvm-kopf-xc .mvm-fs-btn { width: var(--mvm-kopf-h); height: var(--mvm-kopf-h); }
  /* die Filter enden vor dem Knopf */
  #map.mvm-kopf2.mvm-fs.mvm-has-cs:has(#mapsearch) .mvm-chips { right: calc(var(--mv-space-3) + var(--mvm-kopf-h) + var(--mv-space-2)); }
}
/* Filter-Knopf rechts in der Suchleiste (Michael, 24.11.2026), das X links daneben; die Reihe zeigt nur die Arten,
   alle Eigenschaften (auch "Open now") und der Trichter wandern ins Blatt */
#map.mvm-kopf2 .mapbox-filter,
#map.mvm-kopf2 .mvm-chips .mvm-chip-cond,
#map.mvm-kopf2 .mvm-chips .mvm-chip-sep { display: none; }
/* Highlights bleibt vorne in der Reihe, obwohl er seit 25.11.2026 eine kombinierbare Eigenschaft ist (Michael) */
#map.mvm-kopf2 .mvm-chips .mvm-chip-cond.mvm-chip-highlights,
#map.mvm-kopf2 .mvm-chips .mvm-chip-cond.mvm-chip-open { display: inline-flex; }   /* Open now daneben seit 25.11.2026 */
#map.mvm-kopf2 .mvm-kopf-fb { display: none; }
#map.mvm-kopf2.mvm-fs .mvm-kopf-fb {
  position: absolute;
  z-index: calc(var(--mv-z-toast) + 4);
  top: var(--mv-space-1);
  right: var(--mv-space-1);
  display: grid;
  place-items: center;
  width: calc(var(--mvm-kopf-h) - var(--mv-space-2));
  height: calc(var(--mvm-kopf-h) - var(--mv-space-2));
  padding: 0;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: none;
  color: var(--mv-ink);
  cursor: pointer;
}
@media (hover: hover) { #map.mvm-kopf2.mvm-fs .mvm-kopf-fb:hover { background: var(--mv-grey-light); } }
#map.mvm-kopf2.mvm-fs .mvm-kopf-fb:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
#map.mvm-kopf2.mvm-fs .mvm-kopf-fb.is-on { color: var(--mv-navy); }
#map.mvm-kopf2.mvm-fs.mvm-ci #mapsearch .mvm-search-x { right: calc(var(--mvm-kopf-h) - var(--mv-space-1)); }
#map.mvm-kopf2.mvm-fs.mvm-ci.mvm-has-cs:has(#mapsearch) #mapsearch .mvm-search-bar input { padding-right: calc(var(--mvm-kopf-h) * 2); }
#map.mvm-kopf2 .mvm-kopf-fn {
  position: absolute;
  top: calc(var(--mv-space-1) * -1);
  right: calc(var(--mv-space-1) * -1);
  min-width: var(--mv-space-4);
  height: var(--mv-space-4);
  padding: 0 var(--mv-space-1);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-navy);
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: var(--mv-space-4);
  text-align: center;
}
#map.mvm-kopf2 .mvm-kopf-fn[hidden] { display: none; }
/* das Blatt: am Computer unter der Pill, am Handy von unten (Vorbilder AllTrails, Klook, ClassPass) */
#map.mvm-kopf2 .mvm-kopf-fp {
  position: absolute;
  z-index: var(--mv-z-toast);
  top: calc(var(--mvm-kopf-top, var(--mv-space-3)) + var(--mvm-kopf-h, var(--mv-tap)) + var(--mv-space-2));
  left: var(--mvm-kopf-fpx, var(--mv-space-3));
  width: calc(var(--mv-space-9) * 4);
  max-height: calc(100% - var(--mvm-kopf-top, var(--mv-space-3)) - var(--mvm-kopf-h, var(--mv-tap)) - var(--mv-space-2) - var(--mv-space-5));
  display: flex;
  flex-direction: column;
  border-radius: var(--mv-radius-card);
  background: var(--mv-white);
  box-shadow: var(--mv-shadow-float);
  color: var(--mv-ink);
  overflow: hidden;
}
#map.mvm-kopf2 .mvm-kopf-fp[hidden] { display: none; }
#map.mvm-kopf2 .mvm-kopf-fp-h {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--mv-space-3) var(--mv-space-3) var(--mv-space-2) var(--mv-space-4);
}
#map.mvm-kopf2 .mvm-kopf-fp-h b { font-size: var(--mv-fs-3); font-weight: var(--mv-fw-bold); }
#map.mvm-kopf2 .mvm-kopf-fp-x {
  display: grid;   /* Zeichen als SVG genau mittig (das Schriftzeichen × saß zu tief, Michael 24.11.2026) */
  place-items: center;
  width: var(--mv-space-6);
  height: var(--mv-space-6);
  padding: 0;
  border: 0;
  border-radius: var(--mv-radius-round);
  background: var(--mv-grey-light);
  color: var(--mv-muted);
  font-size: var(--mv-fs-4);
  line-height: 1;
  cursor: pointer;
}
#map.mvm-kopf2 .mvm-kopf-fp-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--mv-space-4) var(--mv-space-4); }
#map.mvm-kopf2 .mvm-kopf-fp-t { display: flex; align-items: center; gap: var(--mv-space-2); margin: var(--mv-space-4) 0 var(--mv-space-2); padding: 0; font-size: var(--mv-fs-2); font-weight: var(--mv-fw-bold); }
#map.mvm-kopf2 .mvm-kopf-fp-b > .mvm-kopf-fp-t:first-child { margin-top: var(--mv-space-1); }
/* Zeichen der Art im farbigen Kreis (Farbe und Zeichen aus dem alten Menü, Eigenschaften in Dunkelblau) */
#map.mvm-kopf2 .mvm-kopf-fp-i {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--mv-space-5);
  height: var(--mv-space-5);
  border-radius: var(--mv-radius-round);
  background: var(--fp-col, var(--mv-navy));
}
#map.mvm-kopf2 .mvm-kopf-fp-i::after {
  content: "";
  width: var(--mv-space-3);
  height: var(--mv-space-3);
  background: var(--mv-white);
  -webkit-mask: var(--fp-ico) no-repeat center / contain;
  mask: var(--fp-ico) no-repeat center / contain;
}
#map.mvm-kopf2 .mvm-kopf-fp-g { display: flex; flex-wrap: wrap; gap: var(--mv-space-2) var(--mv-space-1); }
#map.mvm-kopf2 .mvm-kopf-ft,
#map.mvm-kopf2 .mvm-kopf-fm {
  min-height: calc(var(--mv-space-5) + var(--mv-space-1));
  padding: var(--mv-space-1) var(--mv-space-3);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: var(--mv-grey-light);
  color: var(--mv-ink);
  font: inherit;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  cursor: pointer;
}
#map.mvm-kopf2 .mvm-kopf-ft.is-on { background: var(--mv-navy); color: var(--mv-white); }
/* Zahl der Orte im Tag, leiser als der Name */
#map.mvm-kopf2 .mvm-kopf-fc { margin-left: var(--mv-space-1); color: var(--mv-muted); font-weight: var(--mv-fw-text); }
#map.mvm-kopf2 .mvm-kopf-ft.is-on .mvm-kopf-fc { color: inherit; opacity: 0.75; }
/* Kategorien als Reiter über ihren Schlagworten (Michael, 25.11.2026): Zeichen über dem Namen, damit am Handy fünf
   nebeneinander passen; die Reihe wischt seitlich und bleibt beim Blättern oben stehen; gewählt = Strich unten */
#map.mvm-kopf2 .mvm-kopf-tabs {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  gap: 0;
  margin: calc(var(--mv-space-3) * -1) calc(var(--mv-space-3) * -1) 0;
  padding: var(--mv-space-1) var(--mv-space-2) 0;
  border-radius: var(--mv-radius-m) var(--mv-radius-m) 0 0;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--mv-linen);
  box-shadow: inset 0 calc(var(--mv-border) * -1) 0 var(--mv-hairline);
}
#map.mvm-kopf2 .mvm-kopf-tabs::-webkit-scrollbar { display: none; }
#map.mvm-kopf2 .mvm-kopf-tab {
  flex: 1 1 auto;   /* alle fünf Reiter passen in die Standardbreite der Box, ohne Wischen (Michael, 25.11.2026) */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--mv-space-1);
  min-width: 0;
  min-height: var(--mv-tap);
  padding: var(--mv-space-2) var(--mv-space-1);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: inset 0 0 0 transparent;
  color: var(--mv-muted);
  font: inherit;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  cursor: pointer;
}
/* Lange Namen in DE/FR/ES/IT (Michael, 25.11.2026): höchstens zwei Zeilen, mittig, statt sich zu überlappen */
#map.mvm-kopf2 .mvm-kopf-tab-t {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: var(--mv-lh-head);
  overflow-wrap: normal;
  hyphens: manual;   /* nur an Leerzeichen umbrechen, nie mitten im Wort ("Ho-tels") */
}
#map.mvm-kopf2 .mvm-kopf-tabs .mvm-kopf-tab { min-width: min-content; }
#map.mvm-kopf2 .mvm-kopf-tab.is-on { color: var(--mv-ink); box-shadow: inset 0 calc(var(--mv-border-strong) * -1) 0 var(--mv-ink); }
#map.mvm-kopf2 .mvm-kopf-tab-i {
  width: var(--mv-space-5);
  height: var(--mv-space-5);
  background: var(--fp-col, var(--mv-navy));
  -webkit-mask: var(--fp-ico) no-repeat center / contain;
  mask: var(--fp-ico) no-repeat center / contain;
}
#map.mvm-kopf2 .mvm-kopf-tab:not(.is-on) .mvm-kopf-tab-i { opacity: 0.7; }
#map.mvm-kopf2 .mvm-kopf-tabp { padding-top: var(--mv-space-3); }
#map.mvm-kopf2 .mvm-kopf-tabh { margin: 0; padding: 0; color: var(--mv-muted); font-size: var(--mv-fs-1-5); }
@media (hover: hover) {
  #map.mvm-kopf2 .mvm-kopf-tab:not(.is-on):hover { color: var(--mv-ink); }
}
/* Abschnitte als Kästen (Michael, 25.11.2026): Leinen-Fläche, Tags darin weiß */
#map.mvm-kopf2 .mvm-kopf-fp-s {
  margin-top: var(--mv-space-3);
  padding: var(--mv-space-3);
  border-radius: var(--mv-radius-m);
  background: var(--mv-linen);
}
#map.mvm-kopf2 .mvm-kopf-fp-b > .mvm-kopf-fp-s:first-child { margin-top: var(--mv-space-1); }
#map.mvm-kopf2 .mvm-kopf-fp-s > .mvm-kopf-fp-t { margin-top: 0; }
#map.mvm-kopf2 .mvm-kopf-fp-s .mvm-kopf-ft { background: var(--mv-white); }
#map.mvm-kopf2 .mvm-kopf-fp-s .mvm-kopf-ft.is-on { background: var(--mv-navy); }
@media (hover: hover) {
  #map.mvm-kopf2 .mvm-kopf-fp-s .mvm-kopf-ft:not(.is-on):hover { background: var(--mv-grey-light); }
}
#map.mvm-kopf2 .mvm-kopf-fm { background: none; box-shadow: inset 0 0 0 var(--mv-border) var(--mv-blue); color: var(--mv-blue); }
#map.mvm-kopf2 .mvm-kopf-fp-f {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mv-space-3);
  padding: var(--mv-space-3) var(--mv-space-4);
  box-shadow: 0 calc(var(--mv-border) * -1) 0 var(--mv-grey-light);
}
#map.mvm-kopf2 .mvm-kopf-fp-c { padding: 0; border: 0; background: none; color: var(--mv-ink); font: inherit; font-size: var(--mv-fs-2); font-weight: var(--mv-fw-semi); text-decoration: underline; cursor: pointer; }
#map.mvm-kopf2 .mvm-kopf-fp-ok {
  height: var(--mv-tap);
  padding: 0 var(--mv-space-5);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: var(--mv-blue);
  color: var(--mv-white);
  font: inherit;
  font-size: var(--mv-fs-2);
  font-weight: var(--mv-fw-semi);
  white-space: nowrap;
  cursor: pointer;
}
#map.mvm-kopf2 .mvm-kopf-fp button:focus-visible { outline: none; box-shadow: var(--mv-focus-ring); }
@media (hover: hover) {
  #map.mvm-kopf2 .mvm-kopf-ft:not(.is-on):hover { background: var(--mv-linen); }
}
@media (max-width: 767px) {
  #map.mvm-kopf2 .mvm-kopf-fp {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 85%;
    border-radius: var(--mv-radius-card) var(--mv-radius-card) 0 0;
    box-shadow: var(--mv-shadow-float), 0 0 0 100vmax color-mix(in srgb, var(--mv-navy) 35%, transparent);
  }
  #map.mvm-kopf2 .mvm-kopf-fp-f { padding-bottom: max(var(--mv-space-3), var(--mvm-under, 0px), env(safe-area-inset-bottom, 0px)); }
}
/* Die Tour hat ihren eigenen Ausgang: Pfeil, Suchleiste mit Filter-Knopf, Blatt und Schließen treten ab (Michael,
   24.11.2026). Routen und Navigation behalten den Kopf der Karte (Michael, 29.11.2026, muvamo-routing-map.css) */
#map.mvm-kopf2.mvm-tourmode-on .mvm-kopf-back,
#map.mvm-kopf2.mvm-tourmode-on .mvm-kopf-xc,
#map.mvm-kopf2.mvm-tourmode-on .mvm-kopf-fp { display: none; }
#map.mvm-kopf2.mvm-fs.mvm-tourmode-on #mapsearch { display: none !important; }   /* !important: schlägt das immer sichtbare display: block !important oben */

/* Event-Abzeichen (includes/event-abzeichen.php, Michael 25.11.2026):
   kleiner Kalender oben rechts am Foto-Punkt eines Spots, an dem gerade ein Event läuft.
   Sitzt in .muvamoMarker und skaliert so mit dem Punkt; bleibt auch am ausgewählten Punkt (Michael 25.11.2026, Runde 2). */
#map .muvamoMarkerOuter.mvm-ev .muvamoMarker {
  overflow: visible;
}
#map .muvamoMarkerOuter .mvm-ev-badge {
  position: absolute;
  top: calc(var(--mv-space-1) * -1);
  left: calc(var(--mv-space-1) * -1);
  z-index: var(--mv-z-raised);
  width: var(--mv-space-5);
  height: var(--mv-space-5);
  padding: var(--mv-space-1);
  box-sizing: border-box;
  border-radius: var(--mv-radius-round);
  background: var(--mv-white);
  color: var(--mv-day-2);
  box-shadow: var(--mv-shadow-float);
  pointer-events: none;
}
/* gewählter Punkt (Auswahl-Pin blendet alle Kinder aus): das Abzeichen bleibt, gespiegelt zum Kategorie-Symbol rechts */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin .muvamoMarker > .mvm-ev-badge {
  display: block !important;   /* !important: schlägt "Inhalt des Markers ausgeblendet" (.mvm-sheet-pin .muvamoMarker > *) */
}
/* Event-Ansicht (Chip "Events", mvmEvModeApply): am Auswahl-Pin trägt das Abzeichen schon die Event-Art */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-evm .muvamoMarker > .mvm-ev-badge {
  display: none !important; /* schlägt die Ausnahme oben für Pins mit Event (gleiche Spezifität + Klasse) */
}
#map .muvamoMarkerOuter .mvm-ev-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Events in der Spotkarte (Michael 25.11.2026, Runde 2): Zeilen im Stil der Ticket-Zeilen
   direkt unter Tickets und Pass; Antippen öffnet die Event-Karte (.mvm-evc) im selben Blatt */
#map .mvm-sheet-ev {
  margin-top: var(--mv-space-3);
}
#map .mvm-sheet-tickets:not(:empty) + .mvm-sheet-ev {
  margin-top: 0;
}
#map .mvm-sheet-tickets:not(:empty) + .mvm-sheet-ev .mvm-ticket-row:first-child {
  border-top: 0;
}
#map .mvm-sheet-ev-row {
  width: 100%;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
#map .mvm-sheet-ev-row:focus-visible,
#map .mvm-evc-back:focus-visible {
  outline: none;
  box-shadow: var(--mv-focus-ring);
}
#map .mvm-sheet-ev-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--mv-space-6);
  height: var(--mv-space-6);
  border-radius: var(--mv-radius-round);
  background: var(--mv-peach-light);
  color: var(--mv-day-2);
}
#map .mvm-sheet-ev-ic svg {
  width: var(--mv-space-4);
  height: var(--mv-space-4);
}

/* Event-Karte (mvmEvCardHtml, Runde 3: aus den Bausteinen der Spot-Karte): blendet den Inhalt des Spots aus,
   "‹ Spotname" steht als Chip über dem Namen und führt zurück */
#map .mvm-sheet-evopen .mvm-sheet-scroll > :not(.mvm-evc-part) {
  display: none;
}
#map .mvm-evc-back {
  display: inline-flex;
  align-items: center;
  gap: var(--mv-space-1);
  max-width: 100%;
  padding: var(--mv-space-1) var(--mv-space-3) var(--mv-space-1) var(--mv-space-2);
  border: 0;
  border-radius: var(--mv-radius-pill);
  background: var(--mv-grey-light);
  color: var(--mv-ink);
  font: inherit;
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-semi);
  cursor: pointer;
}
#map .mvm-evc-back span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Abstand wie zwischen den Blöcken der Spot-Karte: Tipp und Angaben nicht direkt an den Knöpfen */
#map .mvm-evc-tip.mvm-evc-part {
  margin-top: var(--mv-space-4);
}
#map .mvm-evc-facts.mvm-evc-part {
  margin-top: var(--mv-space-3);
  margin-bottom: var(--mv-space-4);
}
/* Auswahl-Pin eines Events ohne Spot und ohne Foto: Rostrot wie sein Kartenpunkt statt Marken-Blau */
#map .muvamoMarkerOuter.highlight.mvm-sheet-pin.mvm-pin-noimg .muvamoMarker.mvm-evcat {
  background-color: var(--mv-day-2);
}
/* Leiste unten in der Event-Ansicht: ein Spot, dessen Events schon an einer anderen Karte stehen (mvmEvModeApply) */
#map .map_bottom_menu_marker.mvm-evdup {
  display: none !important; /* gegen das display, das Filter und Ausschnitt inline setzen */
}
/* Leiste unten: Event ohne Spot und ohne Bild, Zeichen auf Pfirsich (mvmEvModeApply) */
#map .map_bottom_menu_marker .thumb .mvm-noimg.mvm-evtile {
  display: grid;
  place-items: center;
  background: var(--mv-peach-light);
  color: var(--mv-day-2);
}
#map .map_bottom_menu_marker .thumb .mvm-noimg.mvm-evtile svg {
  width: var(--mv-space-6);
  height: var(--mv-space-6);
}
/* Auswahl-Pin: Zahl der Events am Spot unten rechts am Abzeichen (wie im Kartenbild, glPhoto) */
#map .mvm-pin-badge .mvm-pin-evn {
  position: absolute;
  right: calc(var(--mv-space-2) * -1);
  bottom: calc(var(--mv-space-2) * -1);
  min-width: var(--mv-space-4);
  height: var(--mv-space-4);
  border: var(--mv-border) solid var(--mv-white);
  border-radius: var(--mv-radius-pill);
  background: var(--mv-navy);
  color: var(--mv-white);
  font-size: var(--mv-fs-1);
  font-weight: var(--mv-fw-bold);
  line-height: 1;
  display: grid;
  place-items: center;
}
/* Zeichen der Event-Art im Foto auf Rostrot statt Kategoriefarbe */
#map .mvm-evc-ov .muvamo_cat_overlay {
  background-color: var(--mv-day-2);
}
/* ohne Bild: Zeichen auf Pfirsich an der Stelle des Vorschaubilds (wie die Kachel der Leiste) */
#map .mvm-sheet-imgwrap.mvm-evc-noimg {
  display: grid;
  place-items: center;
  background: var(--mv-peach-light);
  color: var(--mv-day-2);
}
#map .mvm-sheet-imgwrap.mvm-evc-noimg svg {
  width: var(--mv-space-6);
  height: var(--mv-space-6);
}
#map .mvm-evc-tip {
  padding: var(--mv-space-3) var(--mv-space-4);
  border-radius: var(--mv-radius-m);
  background: var(--mv-peach-light);
  font-size: var(--mv-fs-1-5);
  line-height: var(--mv-lh-box);
}
#map .mvm-evc-tip strong {
  display: block;
  color: var(--mv-day-2);
  font-weight: var(--mv-fw-bold);
}
#map .mvm-evc-facts:empty {
  display: none;
}
#map .mvm-evc-fact {
  display: flex;
  align-items: flex-start;
  gap: var(--mv-space-3);
  padding: var(--mv-space-2) 0;
  border-top: var(--mv-border) solid var(--mv-hairline);
  font-size: var(--mv-fs-1-5);
  line-height: var(--mv-lh-head);
}
#map .mvm-evc-fact:last-child {
  border-bottom: var(--mv-border) solid var(--mv-hairline);
}
#map .mvm-evc-fact i {
  flex: none;
  width: var(--mv-space-4);
  margin-top: var(--mv-space-1);
  color: var(--mv-muted);
  text-align: center;
}
#map .mvm-evc-fact small {
  display: block;
  color: var(--mv-muted);
  font-size: var(--mv-fs-1);
}

/* Spotkarte ab 768 px: Seitenrand einmal zentral statt je Block (Michael 25.11.2026: neue Blöcke klebten am Rand,
   weil sie in der Liste der Ränder fehlten). Jedes Kind des Scrollbereichs bekommt den Standardrand, nur Galerie und
   Kopf (Foto randlos, Kopf mit eigenem Rand) nicht */
@media (min-width: 768px) {
  #map .mvm-sheet:not(.mvm-sheet-geo) .mvm-sheet-scroll > :not(.mvm-sheet-gallery):not(.mvm-sheet-top) {
    margin-left: var(--mv-space-4);
    margin-right: var(--mv-space-4);
  }
}

/* Events ohne Spot (Regel Michael 25.11.2026): echte Kartenpunkte wie ein Spot ohne Foto (data-type
   mvm-evcat), Farbe Rostrot wie Abzeichen und Event-Zeilen; Symbol Kalender aus data-icon */
#map .muvamoMarker.mvm-evcat .icon {
  background-color: var(--mv-day-2);
}


/* Hotel-Gold auf der Karte dunkler (Michael, 25.11.2026): Punkte, Fotos und Karten der Hotels in #map; die Seiten behalten
   das helle Kategorie-Gold aus muvamo.css */
#map .colorCat.category19,
#map .colorCat.category88 { --category-color: var(--mv-hotel-map); }
/* Art beim Essen (Food, Cafés, Bars) über den Schlagworten, mit Linie abgesetzt (Michael, 28.11.2026) */
#map.mvm-kopf2 .mvm-kopf-fp-art {
  margin-bottom: var(--mv-space-3);
  padding-bottom: var(--mv-space-3);
  border-bottom: var(--mv-border) solid var(--mv-grey-light);
}
