/* ====== Karte ====== */
#teilnehmer-karte-map {
  width: 100%;
  height: 520px;
  border-radius: var(--border-radius);
  /* box-shadow: 0 2px 12px rgba(0,0,0,.15); */
  z-index: 0;
  position: relative;
}

/* Kartenkacheln in Schwarzweiß */
#teilnehmer-karte-map .leaflet-tile-pane {
  filter: grayscale(100%);
}

/* ====== Legende ====== */
.tk-legende {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: .9rem;
}
.tk-legende-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tk-legende-dot {
  width: 13px;
  height: 13px;
  border-radius: var(--border-radius);
  display: inline-block;
  border: 2px solid rgba(0,0,0,.15);
  flex-shrink: 0;
}

/* ====== Modal ====== */
.tk-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.tk-modal-overlay.tk-active {
  display: flex;
}
.tk-modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px 24px;
  max-width: 440px;
  width: 92%;
  position: relative;
  /* box-shadow: 0 8px 40px rgba(0,0,0,.22); */
  animation: tkFadeIn .18s ease;
}
@keyframes tkFadeIn {
  from { opacity:0; transform:translateY(-12px); }
  to   { opacity:1; transform:translateY(0); }
}
.tk-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
  line-height: 1;
  padding: 0;
}
.tk-modal-close:hover { color: #000; }
.tk-modal-badge {
  display: inline-block;
  padding: 3px 6px;
  border-radius: var(--border-radius);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.tk-modal h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}
.tk-modal-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 9px;
  font-size: .9rem;
  color: #333;
}
.tk-modal-icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.tk-modal-anmerkung {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  font-size: .87rem;
  color: #555;
  line-height: 1.55;
}
