/* Leaflet-Customisations — Paper-Look statt Raster-Tiles. */

.leaflet-container {
  background: var(--paper);
  font-family: var(--font-body);
  outline: none;
}

/* Wir nutzen keine Raster-Tiles — nur GeoJSON-Polygone. Attribution-Box reduziert. */
.leaflet-control-attribution {
  background: transparent;
  color: var(--ink-faint);
  font-size: 11px;
  padding: 2px 6px;
}
.leaflet-control-attribution a { color: var(--rust-deep); }

/* Zoom-Buttons im Paper-Stil. */
.leaflet-touch .leaflet-bar a {
  width: 36px; height: 36px; line-height: 36px;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1rem;
}
.leaflet-touch .leaflet-bar a:hover { background: var(--paper-deep); color: var(--rust-deep); }
.leaflet-bar { box-shadow: var(--shadow-soft); border-radius: var(--radius-md); overflow: hidden; }

/* Country-Polygone */
.country-path {
  fill: var(--paper-deep);
  stroke: var(--line);
  stroke-width: 0.5;
  transition: fill 180ms var(--ease-out);
}
.country-path:hover, .country-path.is-active {
  fill: var(--paper-tint);
  cursor: pointer;
}

/* Marker-Cluster — Paper-Look */
.marker-cluster {
  background-clip: padding-box;
  border-radius: 999px;
}
.marker-cluster div {
  background: var(--rust);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  width: 32px; height: 32px;
  margin: 5px;
  display: grid; place-items: center;
}
.marker-cluster-small div { background: var(--olive); }
.marker-cluster-medium div { background: var(--ochre); color: var(--ink); }
.marker-cluster-large div { background: var(--rust-deep); }

/* Disaster-Pulse */
.disaster-marker {
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(184, 73, 42, 0.6);
  animation: disaster-pulse 2.4s var(--ease-out) infinite;
}
@keyframes disaster-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(184, 73, 42, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(184, 73, 42, 0); }
  100% { box-shadow: 0 0 0 0   rgba(184, 73, 42, 0); }
}

/* Layer-Control im Paper-Stil */
.leaflet-control-layers {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: var(--type-sm);
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}
.leaflet-control-layers label { padding: 0.2em 0; }

/* Popup */
.leaflet-popup-content-wrapper {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  font-family: var(--font-body);
}
.leaflet-popup-tip { background: var(--paper); }
