/**
 * ge-map.css — Gallium Estate Interactive Map
 * Ausgelagert aus template-parts/interactive-map.php (v71 Fix)
 * Dunkle + helle Map-Varianten, Pins, Tooltips, Responsive
 */

/* ══════════════════════════════════════════════
   INTERACTIVE MAP — Original dunkel Navy-Design
══════════════════════════════════════════════ */
.ge-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, #071020, #0a1828, #060e1c);
  border-radius: 24px;
  border: 1px solid rgba(201,168,106,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.3);
  overflow: visible;
}
.ge-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,106,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,106,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  border-radius: 24px;
  overflow: hidden;
}
.ge-map-title {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: 13px; font-weight: 300;
  color: rgba(201,168,106,.35);
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ge-map-radius {
  position: absolute;
  left: 48%; top: 52%;
  width: 58%; aspect-ratio: 1;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px dashed rgba(201,168,106,.18);
  background: radial-gradient(circle, rgba(201,168,106,.025) 0%, transparent 70%);
  pointer-events: none;
}
.ge-map-radius2 {
  position: absolute;
  left: 48%; top: 52%;
  width: 30%; aspect-ratio: 1;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1px dashed rgba(201,168,106,.06);
  pointer-events: none;
}

/* ── Pins ── */
.ge-pin {
  position: absolute;
  transform: translate(-50%,-50%);
  cursor: pointer;
  z-index: 10;
}
.ge-pin__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold, #C9A86A);
  box-shadow: 0 0 8px rgba(201,168,106,.5);
  position: relative; z-index: 2;
  transition: transform .2s;
}
.ge-pin__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 24px; height: 24px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,106,.4);
  animation: ge-pin-ring 2.8s ease infinite;
  pointer-events: none;
}
@keyframes ge-pin-ring {
  0%   { transform: translate(-50%,-50%) scale(1);   opacity: .6; }
  100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0; }
}
.ge-pin--main .ge-pin__dot {
  width: 16px; height: 16px;
  background: var(--gold-l, #E8D090);
  box-shadow: 0 0 20px rgba(201,168,106,.6);
}
.ge-pin:hover .ge-pin__dot { transform: scale(1.5); }
.ge-pin__lbl {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  font-size: 9.5px; font-weight: 600;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
  letter-spacing: .08em;
}
.ge-pin.active .ge-pin__lbl { color: var(--gold-d, #9A7030); }

/* ── Info-Karte ── */
.ge-map-card {
  position: absolute;
  background: rgba(4,10,22,.95);
  border: 1px solid rgba(201,168,106,.25);
  border-radius: 14px;
  padding: 18px 22px;
  min-width: 240px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  backdrop-filter: blur(16px);
  transform: translateY(4px) scale(.97);
}
.ge-map-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ge-map-card__city {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: 22px; font-weight: 300;
  color: var(--gold-l, #E8D090);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,106,.12);
}
.ge-map-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px; padding: 5px 0;
}
.ge-map-card__lbl { font-size: 11px; color: rgba(255,255,255,.3); }
.ge-map-card__val { font-size: 12px; font-weight: 600; color: #fff; }
.ge-map-card__val--gold { color: var(--gold-l, #E8D090); }

/* ── Legende ── */
.ge-map-legend {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(4,10,22,.9);
  border: 1px solid rgba(201,168,106,.15);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.ge-map-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: rgba(255,255,255,.55);
}
.ge-map-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── v74: Neue Klassen aus interactive-map.php inline-styles ─────────────── */
.ge-map-card__val--trend { color: #4ade80; }
.ge-map-card__row--hidden { display: none; }
.ge-map-card__val--infra {
  font-size: 11px;
  line-height: 1.4;
  white-space: normal;
  max-width: 140px;
  display: block;
}
.ge-map-card__typ {
  display: none;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  color: rgba(255,255,255,.35);
  line-height: 1.5;
}
.ge-map-card__cta-row {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(201,168,106,.1);
}
.ge-map-card__cta-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--gold, #C9A86A), var(--gold-d, #9A7030));
  color: #fff;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 7px;
  font-family: var(--sans, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: opacity .2s;
}
.ge-map-card__cta-btn:hover { opacity: .82; }
.ge-map-legend-dot--main {
  background: var(--gold-l, #E8D090);
  box-shadow: 0 0 6px var(--gold, #C9A86A);
}
.ge-map-legend-dot--secondary {
  background: var(--gold, #C9A86A);
  opacity: .7;
}
