/* ------------------ FARBVARIABLEN NACH SCHWIERIGKEITSGRAD ------------------ */
.tour-hotspot-pin {
    --pin-color: red;
    --pin-color-hover: red;
}

.diff-cat-leicht {
    --pin-color: 107, 142, 35; /* --ast-global-color-0 */
    --pin-color-hover: 124, 169, 51; /* --ast-global-color-1 */
}

.diff-cat-mittel {
    --pin-color: 243, 156, 18; /* Orange */
    --pin-color-hover: 245, 172, 60;
}

.diff-cat-schwer {
    --pin-color: 0, 0, 0; /* Schwarz */
    --pin-color-hover: 38, 38, 38;
} 

.hotspots-container-wrapper {
    display: flex;
    justify-content: center;
}

.hotspots-container {
    display: block;
    position: relative;
    max-width: 800px;
    height: auto;
    margin: 0 40px;
}

.tour-hotspot-pin {
    position: absolute;
    display: flex;
    cursor: pointer;
    transform: translate(-50%, -100%);  
    z-index: 100;
    height: 35px;
}

.hotspot-icon-pin {
    position: relative; 
    width: 100%;
    font-size: 35px;
    color: RGB(var(--pin-color));
    z-index: 20; 
}

.tour-hotspot-pin:hover .hotspot-icon-pin { color: RGB(var(--pin-color-hover)); }
.tour-hotspot-pin:hover .hotspot-pulse-ring-base { background-color: rgba(var(--pin-color), 0.7); }

.hotspot-pin-title {
    position: absolute;
    width: 100%;
    max-height: 40px;    
    padding: 0 5px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    font-size: 10px;
    line-height: 15px;
    text-transform: uppercase;
    z-index: 10;
    word-break: break-word;
    hyphens: auto;
}

.tour-hotspot-pin.title-pos-right .hotspot-pin-title {
    text-align: left;
    left: 100%;
}

.tour-hotspot-pin.title-pos-left .hotspot-pin-title {
    text-align: right;
    left: 0;
    transform: translate(-100%, 0);
}

.hotspot-pulse-ring-base {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(var(--pin-color), 0.8);
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    z-index: 5;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hotspot-pulse-ring-base::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(1);
    box-shadow: 0 0 0 0 RGB(var(--pin-color));
    animation: pulse 2s infinite;
    z-index: 1;
}

.hotspot-pulse-ring-base::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid rgba(var(--pin-color), 0.5); 
    transform: scale(1);
    opacity: 1;
    animation: expandRing 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-delay: 0.2s;
    z-index: 2;
}

@media (max-width: 1024px) {
    .hotspot-icon-pin { font-size: 30px; }
    .tour-hotspot-pin{ height: 30px; }
    .hotspot-pin-title { font-size: 10px; max-height: 30px; line-height: 15px; }
}

@media (max-width: 768px) {
    .hotspots-container{ margin: 0 20px; }
    .hotspot-icon-pin { font-size: 20px; }
    .tour-hotspot-pin{ height: 20px; }
    .hotspot-pin-title { font-size: 6px; max-height: 20px; line-height: 10px; }
    .hotspot-pulse-ring-base { width: 12px; height: 12px; }
}

@media (max-width: 512px) {
    .hotspots-container{ margin: 0 20px; }
    .hotspot-icon-pin { font-size: 10px; }
    .tour-hotspot-pin{ height: 10px; }
    .hotspot-pin-title { font-size: 3.5px; max-height: 10px; line-height: 5px; padding: 0 2px; }
    .hotspot-pulse-ring-base { width: 7px; height: 7px; border-width: 1px;}
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(4); 
        opacity: 0;
    }
}

@keyframes expandRing {
    0% {
        transform: scale(1);
        opacity: 1;
        border-width: 2px;
    }
    100% {
        transform: scale(3.5);
        opacity: 0;
        border-width: 0px;
    }
}