/* =========================
   KOMPASS HOTSPOT
========================= */
.hotspot.compass {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  transform: translate(-50%, -50%);
  cursor: pointer;

  background: url("../../grunddaten/img/kompass.png") center/contain no-repeat;
  filter: drop-shadow(0 0 16px rgba(255,200,120,.9));
}

/* =========================
   TOOLTIP
========================= */
#tooltip {
  position: fixed;
  background: rgba(0,0,0,.85);
  color: #f0e6c8;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

/* =========================
   OVERLAY BASIS
========================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5000;
}

.overlay.active {
  display: flex;
}

/* =========================
   ROADTRIP MAP DESIGN
========================= */
.overlay.roadtrip-overlay .overlay-box {
  background: linear-gradient(#e6dcc8, #d8cbb0);
  border: 1px solid rgba(90,60,30,.4);
  box-shadow:
    inset 0 0 40px rgba(0,0,0,.25),
    0 20px 60px rgba(0,0,0,.6);
  padding: 26px 30px;
  width: 90%;
  max-width: 420px;
  color: #3b2b1a;
  font-family: Arial, Helvetica, sans-serif;
}

.route {
  margin-top: 24px;
  padding-left: 26px;
  position: relative;
}

.route::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(120,80,40,.4);
}

.stop {
  position: relative;
  margin-bottom: 14px;
  padding-left: 20px;
  font-size: 14px;
  color: #3b2b1a;
}

.stop .dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8b2e1c;
}

.stop.current .dot {
  background: #c0392b;
  box-shadow: 0 0 0 4px rgba(192,57,43,.25);
}

.stop.current .label {
  font-style: italic;
  opacity: .8;
}

.stop a {
  color: #3b2b1a;
  text-decoration: none;
}

.stop a:hover {
  color: #8b2e1c;
  padding-left: 4px;
  transition: padding .15s ease;
}

.overlay .close {
  margin-top: 22px;
  padding: 8px 16px;
  background: rgba(120,80,40,.15);
  border: 1px solid rgba(90,60,30,.5);
  color: #3b2b1a;
  cursor: pointer;
}
