.ketm-video-popup-trigger {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.ketm-video-popup-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}

.ketm-video-popup-trigger .play-icon {
    font-size: 64px;
    color: white;
    text-shadow: 0 0 10px black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ketm-video-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ketm-video-popup .popup-content {
    position: relative;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    max-width: 90%;
    width: 610px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.ketm-video-popup .popup-content iframe {
    width: 100%;
    height: 343px; /* 610px Breite mit 16:9 Verhältnis */
    border: none;
    border-radius: 5px;
}

.ketm-video-popup .close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    box-shadow: 0 0 5px #000;
}

.ketm-video-popup.hidden {
    display: none;
}

