.copyright {
    position: absolute;
    z-index: 10;
    right: 30px;
    bottom: 20px;
    color: white;
    opacity: 0.7;
    font-size: 16px;
    font-style: italic;
}

.copyright.black {
    color: black;
}

@media (max-width: 640px) {
    .copyright {
        bottom: 10px;
        right: 10px;
        font-size: 12px;
    }

}


.teaser-img .copyright {
    position: relative !important;
    color: black !important;
    right: auto !important;
    display: block !important;
    bottom: auto !important;
    width: 100%;
    text-align: right;
}

.teaser-img .slider-image-video .copyright,
.teaser-img.detail-news-teaser .copyright {
    background: #ececec;
    opacity: 1 !important;
    padding-right: 10px;
}

/* Accessibility: WCAG AA contrast fix for .label2.bg_red (#ef2323 on white = 4.2:1, below 4.5:1 threshold) */
.label2.bg_red {
    background-color: #c41a1a;
}

/* Accessibility: white text on image teasers - add dark background so contrast is computable (WCAG AA) */
/* .teaser-text.medium {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
} */

.teaser-text.medium h1,
.teaser-text.medium h2,
.teaser-text.medium h3,
.teaser-text.medium h4,
.teaser-text.medium h5,
.teaser-text.medium h6,
.teaser-text.medium .textlink {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Accessibility: sendungen page - white textlink on image, add dark underlay for WCAG AA contrast */
/* .teaser-text.clean {
    background: rgba(0, 0, 0, 0.65);
    padding-left: 10px !important;
    padding-right: 10px;
} */

.teaser-text.clean .textlink {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* Accessibility: a.button uses #ef2323 (contrast 4.2:1) — darken to #c41a1a (contrast 6.1:1) for WCAG AA */
a.button {
    background-color: #c41a1a;
    border-color: #c41a1a;
}

/* Accessibility: utility class to hide labels visually but keep them for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Accessibility: .txt-grey uses #999 (contrast 2.85:1) — darken to #767676 (contrast 4.54:1) for WCAG AA */
.txt-grey {
    color: #696969;
}

/* Accessibility: pager current page indicator — darken red background for WCAG AA contrast */
.pager li.current,
.news-list-view .pager ul li.current {
    background-color: #c41a1a !important;
    color: #ffffff !important;
}

/* Accessibility: pager prev/next links — darken red color for WCAG AA contrast on white background */
.pager a.prev,
.pager a.next {
    color: #c41a1a;
}

/* News pager: hide the prev/next links ("Neuere" / "Ältere" with arrows), only the page numbers are shown */
.pager > a.prev,
.pager > a.next {
    display: none;
}

/* News pager: page numbers always centered, regardless of the (hidden) prev/next links */
.news-list-view .pager > ul,
.news-list-view .pager > ul:first-child {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
}

/* Accessibility: submenu active link — #ef2323 on #12121a = 4.34:1, below AA threshold.
   Brighten red for dark background context (contrast 5.15:1) */
.header-desktop .main-navigation li a:hover,
.header-desktop .main-navigation li.active a,
.navi_content li.active a {
    color: #ff3333 !important;
}

/* Cookie consent: Show the native checkbox for ConsentManager lazy load wrapper */
input.cmpcheckboxpreview {
    display: inline-block !important;
    opacity: 1 !important;
    position: static !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    opacity: 1 !important;
    position: static !important;
    visibility: visible !important;
    clip: auto !important;
    clip-path: none !important;
    background: initial !important;
    border: initial !important;
}
/* Hide default unstyled button from accessible-slick CDN */
.slick-autoplay-toggle-button {
    display: none !important;
}

/* Slider Play/Pause toggle button for WCAG 2.2.2 */
.slider-autoplay-toggle {
    position: absolute;
    bottom: 12px;
    right: 20px;
    z-index: 100;
    width: 32px;
    height: 32px;
    background: rgba(18, 18, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.slider-autoplay-toggle:hover {
    background: rgba(235, 0, 40, 0.85);
    border-color: #eb0028;
}

.slider-autoplay-toggle:focus {
    outline: 2px dotted #ffffff !important;
    outline-offset: 2px !important;
}

.slider-autoplay-toggle .icon-pause,
.slider-autoplay-toggle .icon-play {
    display: block;
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

.slider-autoplay-toggle.is-paused .icon-pause {
    display: none;
}

.slider-autoplay-toggle:not(.is-paused) .icon-play {
    display: none;
}

@media screen and (max-width: 767px) {
    .slider-autoplay-toggle {
        bottom: 8px;
        right: 12px;
        width: 28px;
        height: 28px;
    }
    .slider-autoplay-toggle .icon-pause,
    .slider-autoplay-toggle .icon-play {
        width: 12px;
        height: 12px;
    }
}

/* Footer partner logos: keep all logos in a single line at all screen resolutions */
footer.site-footer .partner {
    padding-left: 10px;
    padding-right: 10px;
}

footer.site-footer .partner-wrapper {
    width: auto !important;
}

footer.site-footer ul.partner-logos {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

footer.site-footer ul.partner-logos li {
    display: inline-block !important;
    float: none !important;
    margin: 0 8px !important;
    flex-shrink: 0;
}

footer.site-footer ul.partner-logos li.single {
    display: inline-block !important;
}

@media screen and (min-width: 600px) {
    footer.site-footer .partner-wrapper .partner {
        text-align: right;
    }
    footer.site-footer ul.partner-logos {
        justify-content: flex-end;
    }
}

@media screen and (max-width: 480px) {
    footer.site-footer ul.partner-logos li {
        margin: 0 5px !important;
    }
}