.animated-map {
    height: 650px;
    position: relative;
    overflow: hidden;
}

.animated-map-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CARD */
.animated-map-card {
    width: 480px;
    min-height: 220px;
    margin-left: 0px;
    border-radius: 10px;
    opacity: 0.9;
}

/* SLIDE TEXT */
.stage-text-box .stage-headline {
    font-size: 2.0rem;
    font-weight: 500;
}

/* SLIDE ROW LAYOUT */
.slide-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* TEXT */
.slide-row p {
    margin: 0;
    line-height: 1.5;
}

/* CONTROLS SPACING FIX */
.animated-map-controls {
    gap: 18px; /* Abstand zwischen Buttons */
}

/* BUTTON STYLE */
.circle-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; 
    line-height: 0; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
}

/* HOVER */
.circle-btn:hover {
    transform: scale(1.05);
}

/* TIMELINE */
.timeline {
  position: absolute !important;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px !important;
  background: rgba(255, 255, 255, 0.25);
  z-index: 15;
  cursor: pointer;
}

.timeline-bar {
  height: 100%;
  width: 0;
  background: #65b32e;
  transition: width 0.2s linear;
}

/* MOBILE OPTIMIZATION */

@media (min-width: 960px) {
    .animated-map .uk-grid {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .animated-map {
        height: 520px;
    }
    .animated-map-card {
        width: 100%;
        min-height: 180px;
        margin-left: 0;
    }
    .uk-position-cover .uk-container {
        padding: 0 15px;
    }
    .animated-map-controls {
        gap: 10px;
    }
    .circle-btn {
        width: 52px;
        height: 52px;
    }
    .timeline {
        bottom: 0 !important;
        top: auto !important;
        transform: none !important;
    }

    .stage-text-box .stage-headline {
    font-size: 1.5rem;
    }
}