.course-slider-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.video-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.video-slide {
    flex: 0 0 100%; /* Jedes Video nimmt 100% des Containers ein */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 45px 10px;
	border-top: 5px solid #FF7F7F;
	border-bottom: 5px solid #FF7F7F;
}

.video-slide h3{
	margin-bottom: 30px;
}
.video-slide video {
    max-width: 100%; /* Das Video skaliert auf die Containerbreite */
    height: auto;
	filter: brightness(1.1)
}

.video-buttons {
    margin-bottom: 45px;
    text-align: center;
}

.video-buttons button {
    margin: 5px;
    padding: 10px 15px;
    background-color: #48639C;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.video-buttons button:hover {
    background-color: #005177;
}



.video-button.completed {
    background-color: #B0A7A7; /* grün z.B. für „erledigt“ #4CAF50 */
    color: white;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #ddd;
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
	margin-bottom: 30px;
}

.progress-bar-inner {
    height: 100%;
    width: 0%;
    background-color: #4CAF50;
    text-align: center;
    line-height: 20px;
    color: white;
    font-weight: bold;
}




.video-wrap {
    position: relative;
}

.course-video-overlay[hidden] {
    display: none !important;
}

.course-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.course-video-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(2px);
}

.course-video-overlay__panel {
    position: relative;
    z-index: 2;
    width: min(860px, 96%);
    max-height: 88%;
    overflow: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.course-video-overlay__title {
    margin: 0 0 14px;
}

.course-video-overlay__content {
    margin-bottom: 18px;
}

.course-video-overlay__actions {
    display: flex;
    justify-content: flex-end;
}

.course-video-overlay__close {
    cursor: pointer;
}

.course-video-overlay__iframe-wrap {
    width: 100%;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.course-video-overlay__iframe {
    display: block;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    border: 0;
}

@media (max-width: 767px) {
    .course-video-overlay {
        padding: 12px;
    }

    .course-video-overlay__panel {
        width: 100%;
        max-height: 92%;
        padding: 16px;
        border-radius: 14px;
    }

    .course-video-overlay__iframe {
        height: 62vh;
        min-height: 300px;
    }
}