/* =========================
   📍 LOCATION
========================= */
/* 📦 Info Box */
.location-box {
    margin: 30px auto;
    padding: 20px;

    max-width: 500px;

    background: rgba(0,0,0,0.6);
    border: 1px solid #6D609D;
    border-radius: 10px;

    backdrop-filter: blur(10px);
}

.location-box h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.location-box p {
    color: #aaa;
    font-size: 14px;
}

/* 🗺️ Map */
.location-map {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.map-img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #6D609D;
}

/* 📍 Marker */
.map-marker {
    position: absolute;


    width: 30px;
    height: 30px;

    background: #b8aaff;
    border-radius: 50%;

    box-shadow: 0 0 15px #b8aaff;
    transform: translate(-50%, -50%);
}

.map-marker::before {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 12px;
    font-weight: bold;
    color: #000;
}

.map-marker.teleport.start{
    top: 30%;   /* 🔧 anpassen */
    left: 46%;  /* 🔧 anpassen */

    width: 16px;
    height: 16px;

    background: #4fc3ff;
    box-shadow: 0 0 15px #4fc3ff;
}

.map-marker.teleport.start::before {
    content: "1";
}

.map-marker.teleport.end{
    top: 62.5%;   /* 🔧 anpassen */
    left: 79.5%;  /* 🔧 anpassen */

    width: 16px;
    height: 16px;

    background: #4fc3ff;
    box-shadow: 0 0 15px #4fc3ff;
}

.map-marker.teleport.end::before {
    content: "2";
}

.map-marker.teleport.end::after,
.map-marker.teleport.start::after {
    border: 2px solid #4fc3ff;
}

.map-marker.destination {
    top: 68%;
    left: 90%;

    width: 30px;
    height: 30px;

    background: #b8aaff;
    box-shadow: 0 0 12px #b8aaff;
}

.map-marker.destination::before {
    content: "3";
}

.map-marker.destination::after {
    border: 2px solid #b8aaff;
}

.map-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    pointer-events: none;
}

.map-lines line {
    stroke-dasharray: 10;
    animation: moveLine 2s linear infinite;
}

@keyframes moveLine {
    from { stroke-dashoffset: 20; }
    to { stroke-dashoffset: 0; }
}

/* ✨ Puls Animation */
.map-marker::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: 50%;

    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.location-desc {
    max-width: 600px;
    margin: 20px auto;
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
}

.map-legend {
    position: absolute;
    top: 15px;
    left: 15px;

    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);

    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #6D609D;

    font-size: 16px;
    text-align: left;
}

.map-legend div {
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.start {
    background: #4fc3ff;
}

.legend-dot.mid {
    background: #4fc3ff;
}

.legend-dot.end {
    background: #b8aaff;
}