/* #39 Job-Karte — Container, Klick-zum-Laden-Overlay, Popup, Standort-Button.
   Nutzt die Werkstatt-Tokens aus app.css (mit Fallbacks). */
.gj-map {
  width: 100%;
  height: 480px;
  border: 1px solid var(--color-line, #d8d4cb);
  border-radius: 3px;
  background: #eef0f2;
  position: relative;
  z-index: 0;
}
.gj-map--mini { height: 260px; }

.gj-map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  background: #f7f8fa;
}
.gj-map-consent-text {
  max-width: 34rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-steel, #5c6470);
  margin: 0;
}
.gj-map-consent-btn {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-brand-500, #f2551c);
  border: none;
  border-radius: 3px;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition: filter 120ms ease;
}
.gj-map-consent-btn:hover { filter: brightness(0.94); }
.gj-map-consent-remember {
  font-size: 0.72rem;
  color: var(--color-steel, #5c6470);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Inline-SVG-Marker (kein weißer Leaflet-divIcon-Kasten) */
.gj-pin { background: transparent; border: 0; }
.gj-pin svg { display: block; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.35)); }

/* Gewerk-Legende */
.gj-legend {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-line, #d8d4cb);
  border-radius: 3px;
  padding: 0.4rem 0.55rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #17191f;
  max-width: 12rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.gj-legend-item { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.gj-legend-dot { width: 0.6rem; height: 0.6rem; border-radius: 9999px; flex: none; }

/* Popup */
.gj-pin-title { font-weight: 700; color: #17191f; text-decoration: none; }
.gj-pin-title:hover { color: var(--color-brand-500, #f2551c); text-decoration: underline; }
.gj-pin-meta { margin-top: 0.15rem; font-size: 0.78rem; color: var(--color-steel, #5c6470); }

/* Standort-Button (Leaflet-Control) */
.leaflet-bar a.gj-locate {
  font-size: 1.15rem;
  line-height: 30px;
  text-align: center;
  color: #17191f;
}
.leaflet-bar a.gj-locate.gj-locating { opacity: 0.4; }
