.map-section .map-group {
  display: flex;
  flex: 1;
  justify-content: space-between !important;
  gap: 5rem;
  max-width: calc(100vw - var(--wp--preset--spacing--50));
}

.map-container {
  max-width: 800px;
  width: 100%;
}

.location-marker {
  transition: opacity 0.2s;
}

.location-marker:hover circle {
  opacity: 1;
  filter: brightness(1.2);
}

.location-card {
  transition: all 0.3s ease;
}

.pulse-ring {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

.map-container #deutschland {
  transform: scale(0.7) !important;
  transform-origin: top !important;
}

.map-container #osterreich {
  transform: scale(0.7) !important;
  transform-origin: 75% center !important;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.08;
    transform: scale(1);
  }
  50% {
    opacity: 0.15;
    transform: scale(1.1);
  }
}

/* Map Tooltip */
#map-tooltip {
  display: none;
  position: fixed;
  width: 300px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 15px;
  z-index: 1000;
  box-sizing: border-box;
}

#map-tooltip button {
  position: absolute;
  right: 10px;
  top: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}

#tooltip-title {
  font-weight: bold;
  font-size: large;
  margin-bottom: 10px;
  color: #333;
  padding-right: 30px;
}

/* Marker glow effect */
.location-marker circle:nth-child(2) {
  filter: drop-shadow(0 0 10px #b3b470);
}

/* ----- Tablet and Mobile View (<1366px) ----- */
@media screen and (max-width: 1365px) {
  .map-section .map-group {
    display: flex;
    flex-direction: column;
    margin: auto !important;
  }
}

/* ----- Mobile View (<768px) ----- */
@media screen and (max-width: 767px) {
  .map-section {
    padding-left: var(--wp--preset--spacing--50) !important;
  }
}
