/* --- DivIcon marker (colored dot + subtle pulse) --- */
.nm-div-icon {
  /* Leaflet creates <div class="leaflet-div-icon nm-div-icon">: keep base clean */
  background: transparent;
  border: 0;
}
.nm-marker {
  position: relative;
  width: 18px;
  height: 18px;
  transform: translateZ(0); /* GPU hint */
}
.nm-marker .nm-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--nm, #999);
  box-shadow: 0 0 0 1px #fff; /* thin white outline for contrast */
}
.nm-marker .nm-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border: 2px solid var(--nm, #999);
  border-radius: 50%;
  opacity: .55;
  animation: nmPulse 1.6s ease-out infinite;
  pointer-events: none;
}
@keyframes nmPulse {
  0%   { transform: scale(0.6); opacity: .7; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* --- Popup: relation & chips (unchanged / refined) --- */
.leaflet-popup-content i { display: inline-block; }

/* Chips for Sales Authorizations */
.nm-chips {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nm-chip {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  line-height: 1.4;
  background: #fff;
  white-space: nowrap;
}

/* --- Contact lines in popup --- */
.nm-contact {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}
.nm-contact-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  column-gap: 8px;
}
.nm-contact-row svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: .75;
}
.nm-contact-row a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nm-contact-row a:hover {
  border-bottom-color: currentColor;
}

/* DivIcon Marker (farbiger Punkt + Puls) */
.nm-div-icon { background: transparent; border: 0; }
.nm-marker { position: relative; width: 18px; height: 18px; transform: translateZ(0); }
.nm-marker .nm-dot { position: absolute; inset: 0; border-radius: 50%; background: var(--nm,#999); box-shadow: 0 0 0 1px #fff; }
.nm-marker .nm-ring { position: absolute; left:50%; top:50%; width:18px; height:18px; margin:-9px 0 0 -9px; border:2px solid var(--nm,#999); border-radius:50%; opacity:.55; animation:nmPulse 1.6s ease-out infinite; pointer-events:none; }
@keyframes nmPulse { 0%{transform:scale(.6);opacity:.7;} 100%{transform:scale(1.8);opacity:0;} }

/* Popup: Relation + Chips */
.leaflet-popup-content i { display:inline-block; }
.nm-chips { margin-top:8px; display:flex; flex-wrap:wrap; gap:8px; }
.nm-chip { display:inline-block; padding:2px 12px; border-radius:999px; font-size:13.5px; line-height:1.4; background:#fff; white-space:nowrap; }
.nm-chip:nth-child(1){ background:#fff7ab; }
.nm-chip:nth-child(2){ background:#BFE6FE; }

/* Kontaktzeilen */
.nm-contact { margin-top:10px; display:grid; gap:6px; }
.nm-contact-row { display:grid; grid-template-columns:16px 1fr; align-items:center; column-gap:8px; }
.nm-contact-row svg { width:14px; height:14px; fill:currentColor; opacity:.75; }
.nm-contact-row a { text-decoration:none; border-bottom:1px solid transparent; }
.nm-contact-row a:hover { border-bottom-color:currentColor; }

/* Optional: Cluster-Farben branden
.marker-cluster-small  { background: rgba(235,97,0,.18); }
.marker-cluster-small div { background:#eb6100; color:#fff; }
*/