* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f4f4f4;
}
.back-to-main {
  background: #1a1a1a;
  color: #ddd;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
}
.back-to-main a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}
.back-to-main a:hover { color: #f68563; }

.info-bar {
  background: #023b5c;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}
.map-wrap {
  position: relative;
  max-width: 1078px;
  margin: 0 auto;
  line-height: 0;
}
.map-wrap img.map-bg {
  width: 100%;
  height: auto;
  display: block;
}
.hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  z-index: 5;
  cursor: pointer;
}
.hotspot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0px rgb(255, 0, 0);
  animation: pulse-ring 2s infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0px rgb(255, 0, 0); }
  100% { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); }
}
.hotspot .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 40px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
  transition: transform 0.15s ease;
}
.hotspot .pin path { fill: rgba(246, 51, 5, 0.95); transition: fill 0.15s ease; }
.hotspot:hover .pin { transform: translate(-50%, -50%) scale(1.12); }
.hotspot:hover .pin path { fill: #4988ab; }

/* Original-Breakpoint: kleinere Marker auf schmalen Bildschirmen */
@media screen and (min-width: 100px) and (max-width: 767px) {
  .hotspot::after { width: 30px; height: 30px; }
  .hotspot .pin { width: 15px; height: 20px; }
}
.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: #fff transparent transparent transparent;
}
.hotspot:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-12px);
}
footer {
  background: #023b5c;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}
