/* Clarity – Video-Karten-Slider (draggo_clarity_videoslider) */
.cl-videoslider__head { margin-bottom: 40px; }
.cl-videoslider__slider { position: relative; overflow: hidden; border-radius: 30px; }
.cl-videoslider__slider .swiper-slide { height: auto; }
.cl-videoslider__stage { position: relative; height: 640px; overflow: hidden; border-radius: 30px; background: #020626; isolation: isolate; }
.cl-videoslider__stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(35deg, rgba(1, 3, 23, .78) 0%, rgba(1, 3, 23, .35) 45%, rgba(1, 3, 23, .05) 75%); }
.cl-videoslider__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s ease; }
.swiper-slide-active .cl-videoslider__bg, .cl-videoslider__slide:only-child .cl-videoslider__bg { transform: scale(1); }

/* Navy-Glaskarte unten links */
.cl-videoslider__card { position: absolute; left: 50px; bottom: 50px; z-index: 2; box-sizing: border-box; width: min(540px, calc(100% - 100px)); padding: 36px 40px 38px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; background: rgba(2, 6, 38, .62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(1, 3, 23, .35); }
.cl-videoslider__play { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: #e10419; color: #fff; text-decoration: none; box-shadow: 0 10px 26px rgba(225, 4, 25, .4); transition: background-color .3s, transform .3s; }
.cl-videoslider__play .cl-play-icon { width: 28px; height: 28px; margin-left: 4px; }
.cl-videoslider__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #e10419; opacity: 0; pointer-events: none; animation: cl-videoslider-pulse 2.2s ease-out infinite; }
.cl-videoslider__play:hover, .cl-videoslider__play:focus-visible { background: #8f0815; transform: translateY(-2px); }
.cl-videoslider__play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes cl-videoslider-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.cl-videoslider__title { margin: 24px 0 0; font-family: var(--cl-display); font-size: 30px; line-height: 38px; font-weight: 600; color: #fff; }
.cl-videoslider__title span { color: #ff2a3d; }
.cl-videoslider__list { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 20px 0 0; padding: 0; list-style: none; }
.cl-videoslider__list li { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--cl-sans); font-size: 17px; line-height: 24px; color: rgba(255, 255, 255, .9); }
.cl-videoslider__list li::before { content: ""; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: #e10419 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%23fff'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Schwebende Badges */
.cl-videoslider__badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; border-radius: 999px; background: #fff; box-shadow: 0 14px 34px rgba(1, 3, 23, .22); animation: cl-videoslider-float 6s ease-in-out infinite; }
.cl-videoslider__badge--left { top: 50px; left: 50px; }
.cl-videoslider__badge--right { right: 50px; bottom: 120px; animation-delay: -3s; }
.cl-videoslider__badge-img { flex: 0 0 52px; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: #f4f4f6; }
.cl-videoslider__badge-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-videoslider__badge-text { font-family: var(--cl-sans); font-size: 15px; line-height: 20px; font-weight: 600; color: #020626; white-space: nowrap; }
@keyframes cl-videoslider-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Punkte + Pfeile */
.cl-videoslider__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.cl-videoslider__dots { position: static; display: flex; flex-wrap: wrap; gap: 10px; width: auto; }
.cl-videoslider__dots .swiper-pagination-bullet { width: 12px; height: 12px; margin: 0 !important; border-radius: 999px; background: var(--cl-text); opacity: .45; transition: width .3s, background-color .3s, opacity .3s; cursor: pointer; }
.cl-videoslider__dots .swiper-pagination-bullet-active { width: 34px; background: #e10419; opacity: 1; }
.cl-sec--red .cl-videoslider__dots .swiper-pagination-bullet-active { background: #fff; }
.cl-videoslider__nav { display: flex; gap: 12px; }
.cl-videoslider__arrow { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: #e10419; color: #fff; cursor: pointer; transition: background-color .3s, transform .3s; }
.cl-videoslider__arrow svg { width: 22px; height: 22px; }
.cl-videoslider__prev svg { transform: rotate(180deg); }
.cl-videoslider__arrow:hover, .cl-videoslider__arrow:focus-visible { background: #8f0815; transform: translateY(-2px); }
.cl-sec--red .cl-videoslider__arrow { background: #fff; color: #e10419; }
.cl-sec--red .cl-videoslider__arrow:hover { background: #020626; color: #fff; }

/* Video-Dialog */
.cl-videoslider-dialog { width: min(90vw, 1100px); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.cl-videoslider-dialog::backdrop { background: rgba(1, 3, 23, .88); }
.cl-videoslider-dialog__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #000; }
.cl-videoslider-dialog__frame :is(iframe, video) { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cl-videoslider-dialog__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #e10419; color: #fff; font: 400 30px/44px sans-serif; cursor: pointer; }
.cl-videoslider-dialog__close:hover { background: #8f0815; }

/* Editor-Arbeitsfläche: kein JS → erster Slide statisch */
.draggo-canvas .cl-videoslider__slider .swiper-wrapper { display: block; }
.draggo-canvas .cl-videoslider__slider .swiper-slide:not(:first-child) { display: none; }
.draggo-canvas .cl-videoslider__bg { transform: none; }
.draggo-canvas .cl-videoslider__badge, .draggo-canvas .cl-videoslider__ring { animation: none; }
.draggo-canvas .cl-videoslider__title { margin: 24px 0 0; font-family: var(--cl-display); font-size: 30px; line-height: 38px; font-weight: 600; color: #fff; }
.draggo-canvas .cl-videoslider__list li { font-family: var(--cl-sans); font-size: 17px; line-height: 24px; color: rgba(255, 255, 255, .9); }

@media (max-width: 1199px) {
    .cl-videoslider__stage { height: 580px; }
    .cl-videoslider__badge--left { top: 36px; left: 36px; }
    .cl-videoslider__badge--right { right: 36px; bottom: auto; top: 36px; animation-delay: -3s; }
    .cl-videoslider__card { left: 36px; bottom: 36px; width: min(520px, calc(100% - 72px)); }
}
@media (max-width: 991px) {
    .cl-videoslider__title, .draggo-canvas .cl-videoslider__title { font-size: 26px; line-height: 34px; }
    .cl-videoslider__badge--right { display: none; }
}
@media (max-width: 767px) {
    .cl-videoslider__slider, .cl-videoslider__stage { border-radius: 20px; }
    .cl-videoslider__stage { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; height: auto; min-height: 520px; padding: 200px 14px 14px; box-sizing: border-box; }
    .cl-videoslider__stage::after { background: linear-gradient(0deg, rgba(1, 3, 23, .9) 0%, rgba(1, 3, 23, .4) 55%, rgba(1, 3, 23, .05) 100%); }
    .cl-videoslider__card { position: static; width: 100%; padding: 24px 22px 26px; }
    .cl-videoslider__play { width: 64px; height: 64px; }
    .cl-videoslider__title, .draggo-canvas .cl-videoslider__title { margin-top: 18px; font-size: 22px; line-height: 30px; }
    .cl-videoslider__list li, .draggo-canvas .cl-videoslider__list li { font-size: 16px; }
    .cl-videoslider__badges { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
    .cl-videoslider__badge, .cl-videoslider__badge--right { position: static; display: inline-flex; animation: none; max-width: 100%; }
    .cl-videoslider__badge-text { white-space: normal; }
    .cl-videoslider__controls { margin-top: 20px; }
    .cl-videoslider__arrow { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .cl-videoslider__badge, .cl-videoslider__ring { animation: none; }
}
