/* Standort-Map Container + Brand-Pin */

.standort-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
}

.standort-map .leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  background: #F4EFE6;
}

/* Tooltip für die Region */
.standort-tooltip {
  background: var(--ink, #1A1916) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(20, 19, 18, 0.18) !important;
}
.standort-tooltip::before { display: none !important; }

/* Popup-Styling */
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.5;
}
.leaflet-popup-content { margin: 12px 14px; }

/* Attribution */
.leaflet-control-attribution {
  font-size: 11px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(4px);
}
.leaflet-control-attribution a { color: var(--ink-soft, #5C584F) !important; }

/* Zoom-Buttons im Brand-Stil */
.leaflet-control-zoom a {
  background: var(--bg-surface, #fff) !important;
  color: var(--ink, #1A1916) !important;
  border-color: var(--border, #E4E1DA) !important;
}
.leaflet-control-zoom a:hover { background: var(--bg-subtle, #F2EEE6) !important; }

/* Fallback (vor Consent) — statisches Bild + „Karte aktivieren"-Overlay */
.standort-map-fallback {
  position: absolute;
  inset: 0;
  display: block;
}
.standort-map-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
}
.standort-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(to bottom, rgba(20, 19, 18, 0) 30%, rgba(20, 19, 18, 0.55));
  text-align: center;
}
.standort-map-notice {
  max-width: 360px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.standort-map-notice a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.standort-map-notice a:hover { opacity: 0.85; }
