/*
Theme Name: cobblestone
Theme URI: http://www.cobblestone.de
Template: formota
Author: cobblestone
Author URI: http://www.cobblestone.de
Version: 1.7.8.1733169101
Updated: 2024-12-02 20:51:41
*/

/* Individuelle Video Popup Anpassungen */
.video-popup {
    display: none;
    position: fixed;
    z-index: 900 !important;
    /* UNTER dem Sticky Header (Header hat typisch z-index 1000-9999) */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: flex-start !important;
    /* Start von oben, um padding-top wirken zu lassen */
    padding: 100px 20px 20px 20px !important;
    /* 100px Abstand oben für Sticky Header, 20px an den Seiten */
    box-sizing: border-box;
}

.video-popup-content {
    position: relative;
    width: auto;
    /* Auto width - wird durch aspect-ratio und max-height berechnet */
    max-width: min(90vw, 1400px);
    /* Maximal 90% der Viewport-Breite oder 1400px */
    height: auto;
    max-height: calc(100vh - 140px);
    /* Maximale Höhe: volle Viewport-Höhe minus Header-Abstand (100px) und Innenabstand (40px) */
    aspect-ratio: 16 / 9;
    /* 16:9 Seitenverhältnis - Breite passt sich automatisch an Höhe an */
    background-color: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin: auto;
    /* Vertikal und horizontal zentriert im verfügbaren Raum */
}

#videoPopupIframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.video-popup-close {
    position: absolute !important;
    /* Absolute positioning innerhalb des Popup-Containers */
    top: 4px !important;
    /* 4px Abstand vom oberen Rand */
    right: 4px !important;
    /* 4px Abstand vom rechten Rand */
    width: 44px !important;
    height: 44px !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    font-size: 24px;
    text-align: center;
    line-height: 44px;
    border-radius: 0 !important;
    /* Quadratische Form */
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10 !important;
    /* Relativ hoch innerhalb des Popup-Kontexts */
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.video-popup-close:hover {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.1);
}

/* Fokus-Styling für Accessibility */
.video-popup-close:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8) !important;
    outline-offset: 2px !important;
}

/* Video Thumbnail mit Hover-Video und Overlay */
.video-item .video-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
}

.video-item .video-thumbnail,
.video-item .thumbnail-image,
.video-item .video-thumbnail-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.video-item .video-thumbnail-video {
    opacity: 0;
    transition: opacity 0.5s ease-in-out 0.3s;
    /* Sanfter Fade-in mit 300ms Verzögerung - verhindert Hover-Flackern */
    pointer-events: none;
    z-index: 2;
    background-color: #000;
    /* Schwarzer Hintergrund für sanfteren Übergang */
}

/* Iframe innerhalb des Hover-Videos */
.video-item .video-thumbnail-video iframe {
    opacity: 0;
    transition: opacity 0.4s ease-in-out 0.2s;
    /* Iframe fädet ein sobald geladen */
}

.video-item .video-image:hover .video-thumbnail-video {
    opacity: 1;
}

.video-item .video-image:hover .video-thumbnail-video iframe {
    opacity: 1;
}

.video-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 3;
}

.video-item .video-image:hover .overlay {
    opacity: 1;
}

.video-item .film-name {
    color: white;
    font-size: 24px;
    text-align: center;
    margin: 0;
}

/* Individuelle Menü-Anpassungen */
header.haru-main-header .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu>li>a:before {
    height: 0px !important;
}

.header-2 .haru-header-nav-wrap .header-nav-above .header-center .header-navigation .menu-wrap .haru-main-menu li a {
    font-size: 14px;
    letter-spacing: 0px;
    font-weight: 400;
}

header.haru-main-header .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu>li:hover>a {
    color: #000000;
}

header.haru-main-header.header-sticky.sticky.sticky_dark .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu>li.current-menu-item>a {
    color: #D62828;
}

header.haru-main-header.header-sticky.sticky.sticky_light .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu>li>a:hover {
    color: #000000;
}

body.single-haru_director .haru-main-menu li a[href*="/directors"] {
    color: #D62828 !important;
    font-weight: bold;
}

header.haru-main-header.header-sticky.sticky.sticky_light .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu>li.current-menu-item>a {
    color: #D62828;
}

header.haru-main-header .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu li.current-menu-item>a {
    color: #D62828;
}

header.haru-main-header.headroom--pinned:not(.headroom--top).sticky_dark,
header.haru-main-header.header-sticky.sticky.sticky_dark .haru-header-nav-wrap {
    background-color: #121212;
}

header.haru-main-header .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu li a.active {
    color: #D62828;
}

.video-category a,
.video-title a {
    pointer-events: none;
}

.video-popup .popup-content .popup-header .popup-header-info .popup-video-category a,
.video-popup .popup-content .popup-header .popup-header-info .popup-title {
    display: none !important;
}

/* VIDEO THUMBNAIL (16:9 mit Hover-Video) */
.video-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
}

.video-thumbnail,
.thumbnail-image,
.video-thumbnail-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.video-thumbnail-video {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: 2;
}

.video-image:hover .video-thumbnail-video {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.5);
}

.video-image:hover .overlay {
    opacity: 1;
}

.film-name {
    color: white;
    font-size: 24px;
    text-align: center;
    margin: 0;
}

/* Video-Filter: kein Underline, Hover grau, Active rot */
.video-shortcode-wrapper.grid .video-content .video-filter.style_1 a,
.video-shortcode-wrapper.masonry .video-content .video-filter.style_1 a {
    text-decoration: none !important;
    /* übernimmt das Basis-Styling aus der Original-Datei e.css](file-service://file-5KpyBXLuZCfZ54NvykYcUn) */
}

.video-shortcode-wrapper.grid .video-content .video-filter.style_1 a:hover,
.video-shortcode-wrapper.masonry .video-content .video-filter.style_1 a:hover {
    text-decoration: none !important;
    color: #757575 !important;
    /* genau das Grau der Director-Kategorie links e.css](file-service://file-5KpyBXLuZCfZ54NvykYcUn) */
}

.video-shortcode-wrapper.grid .video-content .video-filter.style_1 a.selected,
.video-shortcode-wrapper.masonry .video-content .video-filter.style_1 a.selected {
    text-decoration: none !important;
    color: #D62828 !important;
    /* hier Rot für den aktiven Filter (ersetzt das default #333) e.css](file-service://file-5KpyBXLuZCfZ54NvykYcUn) */
}

/* =====================================================
   Film-Popup Schließen-Button Fix - Responsive Anpassungen
   ===================================================== */

/* Sichere Popup-Container Positionierung */
.video-popup {
    z-index: 900 !important;
    /* UNTER dem Sticky Header */
    padding-top: 100px !important;
    /* Abstand zum Sticky Header */
    align-items: flex-start !important;
}

.video-popup-content {
    margin: auto;
    /* Zentriert im verfügbaren Raum */
    max-height: calc(100vh - 140px);
    /* Maximale Höhe berücksichtigt Header-Abstand */
}

/* Für Tablets und kleinere Desktop-Fenster */
@media (max-height: 700px) {
    .video-popup {
        padding-top: 80px !important;
        /* Reduzierter Abstand bei kleinerer Höhe */
    }

    .video-popup-content {
        max-height: calc(100vh - 110px);
    }

    .video-popup-close {
        top: 4px !important;
        right: 4px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px;
        font-size: 20px;
    }
}

/* Für sehr kleine Fensterhöhen (Landscape Mobile, kleine Laptop-Fenster) */
@media (max-height: 500px) {
    .video-popup {
        padding-top: 60px !important;
        /* Minimaler Abstand bei sehr kleiner Höhe */
    }

    .video-popup-content {
        max-height: calc(100vh - 80px);
    }

    .video-popup-close {
        top: 4px !important;
        right: 4px !important;
        width: 36px !important;
        height: 36px !important;
        line-height: 36px;
        font-size: 18px;
    }
}

/* Für mobile Geräte */
@media (max-width: 768px) {
    .video-popup {
        padding: 90px 15px 15px 15px !important;
    }

    .video-popup-content {
        max-width: 95vw;
        /* Mehr Platz auf mobilen Geräten */
    }

    .video-popup-close {
        top: 4px !important;
        right: 4px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px;
    }
}

/* Für sehr schmale Fenster */
@media (max-width: 480px) {
    .video-popup {
        padding: 80px 10px 10px 10px !important;
    }

    .video-popup-content {
        max-width: 96vw;
        /* Maximale Breite für sehr schmale Fenster */
    }

    .video-popup-close {
        top: 4px !important;
        right: 4px !important;
    }
}

/* Touch-Geräte: Größerer Button für bessere Bedienbarkeit */
@media (hover: none) and (pointer: coarse) {
    .video-popup-close {
        width: 48px !important;
        height: 48px !important;
        line-height: 48px;
    }
}

/* =====================================================
   Direction-Aware Hover Effect for Directors Page
   Rote Overlay gleitet von Maus-Eintrittsrichtung ein
   ===================================================== */

/* CRITICAL: Override parent theme's style_3 hover behavior
   Parent theme (formota/style.css line 24157) forces opacity:1 on :hover
   This breaks our JavaScript-controlled directional animation
   We need equal specificity + !important to override it */

/* Disable parent theme's automatic opacity change on hover */
.director-shortcode-wrapper.grid .director-content .director-list .director-item.style_3:hover .director-image-link::before,
.director-shortcode-wrapper.masonry .director-content .director-list .director-item.style_3:hover .director-image-link::before {
    opacity: 0 !important;
}

/* ONLY allow opacity change when JavaScript adds hover-active class */
.director-shortcode-wrapper.grid .director-content .director-list .director-item.style_3 .director-image-link.hover-active::before,
.director-shortcode-wrapper.masonry .director-content .director-list .director-item.style_3 .director-image-link.hover-active::before,
.director-shortcode-wrapper.grid .director-content .director-list .director-item.style_3 .director-image-link.hover-active::after,
.director-shortcode-wrapper.masonry .director-content .director-list .director-item.style_3 .director-image-link.hover-active::after {
    opacity: 1 !important;
}

/* Ensure our red overlay takes precedence over parent theme's gray overlay */
.director-shortcode-wrapper.grid .director-content .director-list .director-item.style_3 .director-image-link::before,
.director-shortcode-wrapper.masonry .director-content .director-list .director-item.style_3 .director-image-link::before {
    background-color: rgba(214, 40, 40, 0.6) !important;
    mix-blend-mode: overlay !important;
    z-index: 5 !important;
}


.director-item {
    position: relative;
    overflow: hidden;
}

.director-image-link {
    position: relative;
    overflow: hidden;
    display: block !important;
    cursor: pointer !important;
    z-index: 1;
    /* Establish stacking context */
}

/* Rote Overlay - initial versteckt - HOCHSPEZIFISCH für alle Browser */
/* COMMON PROPERTIES for both layers */
.director-shortcode-wrapper .director-content .director-list .director-item .director-image-link::before,
.director-shortcode-wrapper .director-content .director-list .director-item.style_3 .director-image-link::before,
.director-item .director-image-link::before,
.director-shortcode-wrapper .director-content .director-list .director-item .director-image-link::after,
.director-shortcode-wrapper .director-content .director-list .director-item.style_3 .director-image-link::after,
.director-item .director-image-link::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 5 !important;

    -webkit-transition: transform 0.3s ease-out, opacity 0.3s ease-out !important;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out !important;
    opacity: 0 !important;
}

/* Layer 1 - Contrast (Soft Light) */
.director-shortcode-wrapper .director-content .director-list .director-item .director-image-link::before,
.director-shortcode-wrapper .director-content .director-list .director-item.style_3 .director-image-link::before,
.director-item .director-image-link::before {
    background-color: rgba(214, 40, 40, 0.5) !important;
    /* Adjusted opacity often needed for soft-light */
    mix-blend-mode: soft-light !important;
}

/* Layer 2 - Color / Presence (Normal) */
.director-shortcode-wrapper .director-content .director-list .director-item .director-image-link::after,
.director-shortcode-wrapper .director-content .director-list .director-item.style_3 .director-image-link::after,
.director-item .director-image-link::after {
    background-color: rgba(214, 40, 40, 0.3) !important;
    mix-blend-mode: normal !important;
}


/* Directional slide states - JavaScript fügt diese Klassen hinzu */
.director-shortcode-wrapper .director-image-link.from-top::before,
.director-item .director-image-link.from-top::before,
.director-shortcode-wrapper .director-image-link.from-top::after,
.director-item .director-image-link.from-top::after {
    -webkit-transform: translateY(-100%) !important;
    transform: translateY(-100%) !important;
}

.director-shortcode-wrapper .director-image-link.from-right::before,
.director-item .director-image-link.from-right::before,
.director-shortcode-wrapper .director-image-link.from-right::after,
.director-item .director-image-link.from-right::after {
    -webkit-transform: translateX(100%) !important;
    transform: translateX(100%) !important;
}

.director-shortcode-wrapper .director-image-link.from-bottom::before,
.director-item .director-image-link.from-bottom::before,
.director-shortcode-wrapper .director-image-link.from-bottom::after,
.director-item .director-image-link.from-bottom::after {
    -webkit-transform: translateY(100%) !important;
    transform: translateY(100%) !important;
}

.director-shortcode-wrapper .director-image-link.from-left::before,
.director-item .director-image-link.from-left::before,
.director-shortcode-wrapper .director-image-link.from-left::after,
.director-item .director-image-link.from-left::after {
    -webkit-transform: translateX(-100%) !important;
    transform: translateX(-100%) !important;
}

/* Hover state - Overlay gleitet ein */
.director-shortcode-wrapper .director-image-link.hover-active::before,
.director-item .director-image-link.hover-active::before,
.director-shortcode-wrapper .director-image-link.hover-active::after,
.director-item .director-image-link.hover-active::after {
    -webkit-transform: translate(0, 0) !important;
    transform: translate(0, 0) !important;
    opacity: 1 !important;
}

/* Ensure meta information stays on top */
.director-meta {
    position: relative;
    z-index: 10;
}

/* =====================================================
   MERGED CUSTOM CSS FROM CUSTOMIZER (Color Corrected)
   ===================================================== */

/*=====================================================
  GLOBAL FONT SIZE REDUCTION
=====================================================*/
html {
    font-size: 90%;
}

body {
    font-size: 1rem;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

/* Headings */
h1 {
    font-size: 2.1rem;
}

h2 {
    font-size: 1.7rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}


/*=====================================================
  MENU – Underline/Before entfernen + Farben
=====================================================*/
header.haru-main-header .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu>li>a:before {
    height: 0 !important;
}

/* Header-2 Menu Typography */
.header-2 .haru-header-nav-wrap .header-nav-above .header-center .header-navigation .menu-wrap .haru-main-menu li a {
    font-size: 14px;
    letter-spacing: 0;
    font-weight: 400;
}

/* Hover / Active Farben */
header.haru-main-header .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu>li:hover>a {
    color: #000000;
}

header.haru-main-header .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu li a.active {
    color: #D62828;
}

header.haru-main-header .haru-header-nav-wrap .header-navigation .menu-wrap .haru-main-menu li.current-menu-item>a {
    color: #D62828;
}

/* Sticky dark background */
header.haru-main-header.header-sticky.sticky.sticky_dark .haru-header-nav-wrap {
    background-color: #121212;
}

header.haru-main-header.headroom--pinned:not(.headroom--top).sticky_dark {
    background-color: #121212;
}

/* Directors Link highlight */
body.single-haru_director .haru-main-menu li a[href*="/directors"] {
    color: #D62828 !important;
    font-weight: bold;
}


/*=====================================================
  VIDEO FILTER / TITLES
=====================================================*/
.video-shortcode-wrapper.grid .video-content .video-list .video-item.style_2 .video-meta .video-title a,
.video-shortcode-wrapper.masonry .video-content .video-list .video-item.style_2 .video-meta .video-title a,
.video-shortcode-wrapper.grid_special .video-content .video-list .video-item.style_2 .video-meta .video-title a,
.video-shortcode-ajax.grid .video-content .video-list .video-item.style_2 .video-meta .video-title a,
.video-shortcode-ajax.masonry .video-content .video-list .video-item.style_2 .video-meta .video-title a,
.video-shortcode-ajax.grid_special .video-content .video-list .video-item.style_2 .video-meta .video-title a {
    font-size: 15px;
    letter-spacing: 0;
}

.video-shortcode-wrapper.grid .video-content .video-filter.style_1 li a.active,
.video-shortcode-wrapper.masonry .video-content .video-filter.style_1 li a.active {
    color: #D62828;
    font-weight: bold;
    border-bottom: 2px solid #D62828;
}

/* Titel: 1 Zeile … */
.video-meta .video-title a,
.video-title a {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}


/*=====================================================
  FOOTER Social Icons
=====================================================*/
.footer-social-shortcode-wrap.style_3 .footer-social-content .social-list li a {
    display: inline-flex !important;
    width: 3rem !important;
    height: 3rem !important;
    margin: 0 0.8rem !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social-shortcode-wrap.style_3 .footer-social-content .social-list li a i,
.footer-social-shortcode-wrap.style_3 .footer-social-content .social-list li a svg,
.footer-social-shortcode-wrap.style_3 .footer-social-content .social-list li a img {
    font-size: 2.6rem !important;
    width: 2.2rem !important;
    height: 2.2rem !important;
}


/*=====================================================
  GALLERY Border (nur .gallery-with-border)
=====================================================*/
.gallery-with-border {
    gap: 8px;
}

.gallery-with-border .gallery-item {
    margin: 0 !important;
    padding: 5px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .0);
    transition: box-shadow .2s ease;
}

.gallery-with-border .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-with-border .gallery-item:hover {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .12);
}

@media (max-width:480px) {
    .gallery-with-border .gallery-item {
        padding: 4px;
        border-radius: 4px;
    }
}

/* Packery style_1: nur Zoom */
html body .gallery-creative-shortcode-wrap.packery .gallery-list .gallery-item.style_1 {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: hidden;
}

html body .gallery-creative-shortcode-wrap.packery .gallery-list .gallery-item.style_1 img {
    transform: scale(1);
    transition: transform 0.5s ease;
}

html body .gallery-creative-shortcode-wrap.packery .gallery-list .gallery-item.style_1:hover img {
    transform: scale(1.03);
}


/*=====================================================
  CROSS-BROWSER FONT / RENDER NORMALIZATION
=====================================================*/
html,
body {
    font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
}

p,
a,
li,
span,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    line-height: 1.4;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    text-rendering: inherit;
}


/*=====================================================
  FIREFOX: Subpixel gaps fix (Gallery/Team)
=====================================================*/
.teammember-shortcode-wrap.grid .team-item,
.gallery-creative-shortcode-wrap .gallery-item {
    box-sizing: border-box;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.teammember-shortcode-wrap.grid .team-item img,
.gallery-creative-shortcode-wrap .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
}

@-moz-document url-prefix() {

    .gallery-creative-shortcode-wrap .gallery-list,
    .teammember-shortcode-wrap.grid .teammember-list {
        margin: -0.5px !important;
    }

    .gallery-creative-shortcode-wrap .gallery-list .gallery-item,
    .teammember-shortcode-wrap.grid .teammember-list .team-item {
        outline: 1px solid transparent;
    }

    .gallery-creative-shortcode-wrap .gallery-list .gallery-item img,
    .teammember-shortcode-wrap.grid .team-item .team-image img {
        transform: scale(1.002);
        transform-origin: center center;
    }
}

/*=====================================================
  HEADER-2 LOGO: kein Versatz (Normal + Sticky kompatibel)
=====================================================*/
.header-2 .haru-header-nav-wrap .header-nav-above .header-center .header-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 100% !important;
    /* statt 105px */
    padding: 0 !important;
    /* killt den Shift */
    line-height: 1 !important;
}


/* erst alles aus */
.header-2 .header-logo a {
    display: none !important;
}

/* Desktop */
.header-2 .header-logo a.logo,
.header-2 .header-logo a.logo-retina {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Sticky bevorzugt sticky-logo */
.header-2 header.haru-main-header.header-sticky .header-logo a.logo,
.header-2 header.haru-main-header.header-sticky .header-logo a.logo-retina {
    display: none !important;
}

.header-2 header.haru-main-header.header-sticky .header-logo a.logo-sticky {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mobile bevorzugt mobile-logo */
@media (max-width:991px) {
    .header-2 .haru-header-nav-wrap .header-nav-above .header-center .header-logo {
        height: 80px !important;
    }

    .header-2 .header-logo a.logo,
    .header-2 .header-logo a.logo-retina,
    .header-2 .header-logo a.logo-sticky {
        display: none !important;
    }

    .header-2 .header-logo a.logo-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Bildgröße stabil */
.header-2 .header-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 51px !important;
    /* Reduced by 25% (was 68px) */
    min-height: 21px !important;
    /* Reduced by 25% (was 28px) */
    max-width: 100% !important;
    min-width: 90px !important;
    /* Reduced by 25% (was 120px) */
    object-fit: contain !important;
    transform: none !important;
}

@media (max-width:991px) {
    .header-2 .header-logo img {
        max-height: 27px !important;
        /* Reduced by 25% (was 36px) */
        min-height: 18px !important;
        /* Reduced by 25% (was 24px) */
        min-width: 72px !important;
        /* Reduced by 25% (was 96px) */
    }
}


/*=====================================================
  HEADER-2: Logo wirklich in Browser-Mitte (NON-sticky)
=====================================================*/
@media (min-width:992px) {
    .header-2 .haru-header-nav-wrap .header-nav-above {
        position: relative !important;
    }

    .header-2 .haru-header-nav-wrap .header-nav-above .header-center {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        width: auto !important;
    }
}


/*=====================================================
  HEADER: Jump fix (Safari-safe)
=====================================================*/
header.haru-main-header,
header.haru-main-header.header-sticky,
header.haru-main-header.header-sticky.sticky_dark,
header.haru-main-header.header-sticky.sticky_light {
    min-height: 90px;
    transition: none !important;
    border: none !important;
}

header.haru-main-header .haru-header-nav-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transition: none !important;
}


/*=====================================================
  STICKY: Haru nav-sticky + headroom--pinned sauber zentriert
=====================================================*/
:root {
    --cb-sticky-h: 60px;
}

/* Sticky in ALLEN Browsern wirklich "fixed" + sichtbar (Safari-safe) */
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: 0 !important;
    z-index: 9999 !important;
    transform: none !important;
    -webkit-transform: none !important;
}

/* Adminbar Offset (WP) */
body.admin-bar .header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) {
    top: var(--wp-admin--admin-bar--height, 32px) !important;
}

@media (max-width: 782px) {
    body.admin-bar .header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) {
        top: 46px !important;
    }
}

/* Sticky Wrapper Höhe */
.header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky,
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .haru-header-nav-wrap {
    height: var(--cb-sticky-h) !important;
    min-height: var(--cb-sticky-h) !important;
    display: flex !important;
    align-items: center !important;
}

/* Zeile left/center/right */
.header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .header-nav-above,
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .header-nav-above {
    height: var(--cb-sticky-h) !important;
    min-height: var(--cb-sticky-h) !important;
    display: flex !important;
    align-items: center !important;
}

/* In Sticky: KEIN absolute center mehr (sonst drift/scale) */
@media (min-width:992px) {

    .header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .header-center,
    .header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .header-center {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        top: auto !important;
    }
}

/* Menü-Container: Offsets raus */
.header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .header-navigation,
.header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .menu-wrap,
.header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky ul.haru-main-menu,
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .header-navigation,
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .menu-wrap,
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) ul.haru-main-menu {
    position: relative !important;
    top: 0 !important;
    margin: 0 !important;
    transform: none !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

/* Links vertikal mittig */
.header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .menu-wrap .haru-main-menu>li>a,
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .menu-wrap .haru-main-menu>li>a {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Bootstrap navbar padding kill (falls aktiv) */
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .navbar-nav>li>a,
.header-2 header.haru-main-header.header-sticky .navbar-nav>li>a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Logo im Sticky: exakt mittig */
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .header-logo,
.header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .header-logo {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    top: 0 !important;
    transform: none !important;
}

/* Logo-Bild im Sticky stabil */
.header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .header-logo img,
.header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .header-logo img {
    height: 26px !important;
    /* Reduced by 25% (was 34px) */
    max-height: 26px !important;
    /* Reduced by 25% (was 34px) */
    width: auto !important;
}

/* =====================================================
   FINAL FIX — Header-2
   Logo EXAKT in der Browser-Mitte (Normal + Sticky)
   auch wenn Haru im Container layoutet
   ===================================================== */

@media (min-width: 992px) {

    /* 1) Die Header-Zeile auf volle Viewport-Breite ziehen */
    .header-2 .haru-header-nav-wrap .header-nav-above,
    .header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .header-nav-above,
    .header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .header-nav-above,
    .header-2 .haru-header-nav-wrap .haru-header-nav-above,
    .header-2 header.haru-main-header.headroom--pinned:not(.headroom--top) .haru-header-nav-above,
    .header-2 header.haru-main-header .haru-header-nav-wrap.nav-sticky .haru-header-nav-above {
        position: relative !important;

        width: 100vw !important;
        /* <-- entscheidend */
        left: 50% !important;
        /* <-- zentriert den 100vw-Block */
        transform: translateX(-50%) !important;

        display: flex !important;
        align-items: center !important;
    }

    /* 2) Left/Right normal im Flow lassen */
    /* 1) Make Header-Center the main flex container (it contains menus + logo) */
    .header-2 .header-nav-above .header-center,
    .header-2 .haru-header-nav-above .header-center {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        position: relative !important;
        padding: 0 !important;
        /* Reset absolute positioning */
        left: auto !important;
        top: auto !important;
        transform: none !important;
        height: 100% !important;
    }

    /* 2) REAL MENU CONTAINERS (.menu-left, .menu-right) - Force Equal Widths */
    .header-2 .header-center .menu-left,
    .header-2 .header-center .menu-right {
        flex: 1 1 0% !important;
        /* Critical: Both take exactly equal available space */
        width: 0 !important;
        /* Force flex-basis to 0 to ensure equality */
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* 3) Align Menu Content */
    /* Left Menu -> Align Right (towards logo) */
    .header-2 .header-center .menu-left,
    .header-2 .header-center .menu-left .menu-wrap,
    .header-2 .header-center .menu-left ul {
        justify-content: flex-end !important;
        text-align: right !important;
        padding-right: 14px !important;
        /* Standardized to match filters (14px) */
        white-space: nowrap !important;
    }

    /* Right Menu -> Align Left (towards logo) */
    .header-2 .header-center .menu-right,
    .header-2 .header-center .menu-right .menu-wrap,
    .header-2 .header-center .menu-right ul {
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 14px !important;
        /* Standardized to match filters (14px) */
        white-space: nowrap !important;
    }

    /* 4) Logo Container - Natural Size, No Growth */
    .header-2 .header-center .header-logo-wrap,
    .header-2 .header-center .header-logo {
        flex: 0 0 auto !important;
        width: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: static !important;
        /* Keep in flow */
        transform: none !important;
    }

    /* 5) Hide the spacer columns to avoid confusion/width issues */
    .header-2 .header-nav-above .header-left,
    .header-2 .header-nav-above .header-right {
        display: none !important;
    }
}

/* Optional: verhindert, dass Menüs ins Logo laufen */
@media (min-width: 992px) {

    .header-2 .header-nav-above .header-left,
    .header-2 .header-nav-above .header-right,
    .header-2 .haru-header-nav-above .header-left,
    .header-2 .haru-header-nav-above .header-right {
        overflow: hidden !important;
    }
}

/* =====================================================
   RESTORED MISSING DIRECTOR FILTER & STYLE_3 RULES
   (From wpbakery-custom-css-UPDATED.css)
   ===================================================== */

/* Basislink-Stil: kein Underline, normales Gewicht */
ul.director-filter[data-option-key="filter"] li a {
    position: relative;
    text-decoration: none !important;
    font-weight: 400 !important;
    color: #636363;
    /* Standard-Textfarbe */
    transition: color 0.3s;
}

/* Pseudo-Underline entfernen */
ul.director-filter[data-option-key="filter"] li a::before,
ul.director-filter[data-option-key="filter"] li a::after {
    display: none !important;
    content: none !important;
}

/* Hover (nur für nicht-aktive) → dunkleres Grau */
ul.director-filter[data-option-key="filter"] li:not(.is-active) a:hover {
    color: #444444 !important;
}

/* Active & Hover-on-active → Rot */
ul.director-filter[data-option-key="filter"] li.is-active a,
ul.director-filter[data-option-key="filter"] li.is-active a:hover,
ul.director-filter[data-option-key="filter"] li a.active,
ul.director-filter[data-option-key="filter"] li a.active:hover,
ul.director-filter[data-option-key="filter"] li a.selected,
ul.director-filter[data-option-key="filter"] li a.selected:hover {
    color: #D62828 !important;
    font-weight: 500 !important;
}

/* 2) Style-3 Grid & Interaktionen */
.director-item.style_3 {
    padding: 10px;
    text-align: center;
}

.director-item.style_3 .director-image {
    position: relative;
    overflow: hidden;
}

.director-item.style_3 .director-image img {
    width: 100%;
    display: block;
    transition: transform 0.8s;
    pointer-events: none;
}

.director-item.style_3:hover .director-image img {
    transform: scale(1.03);
}

.director-item.style_3 .director-social {
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 100%;
    padding-left: 30px;
    list-style: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.director-item.style_3:hover .director-social {
    opacity: 1;
}

.director-item.style_3 .director-social li a {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    transition: color 0.3s, left 0.3s;
    position: relative;
    left: -19px;
}

.director-item.style_3 .director-social li a i {
    margin-right: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.director-item.style_3 .director-social li a:hover {
    color: #D8B069;
    left: 0;
    text-decoration: underline;
}

.director-item.style_3 .director-social li a:hover i {
    opacity: 1;
}

.director-item.style_3 .director-meta {
    margin-top: 5px;
    position: relative;
    z-index: 10;
}

.director-item.style_3 .director-title {
    font-size: 15px;
    font-weight: 300;
    color: #b4b4b4;
    text-transform: uppercase;
    transition: color 0.3s;
}

.director-item.style_3 .director-title a:hover {
    color: #333333;
}

.director-item.style_3 .director-category a {
    font-size: 10px;
    font-style: oblique;
    font-family: "Libre Franklin", sans-serif;
    pointer-events: none;
    display: block;
    margin-bottom: 25px;
}

@media (max-width: 991px) {
    .director-item.style_3 .director-category a {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .director-content .director-list.columns-5 .director-item {
        width: 50%;
    }
}

/* Nur das erste Listenelement (ALL) in uppercase setzen */
ul.director-filter[data-option-key="filter"] li:first-child a {
    text-transform: uppercase;
}


/* =====================================================
   STANDARDIZATION: Menu & Filter Fonts
   Ensure they match perfectly (Responsive Scaling, Normal Case)
   ===================================================== */
.header-2 .haru-header-nav-wrap .header-nav-above .header-center .header-navigation .menu-wrap .haru-main-menu li a,
ul.director-filter[data-option-key="filter"] li a,
.video-shortcode-wrapper.grid .video-content .video-filter.style_1 li a,
.video-shortcode-wrapper.masonry .video-content .video-filter.style_1 li a {
    font-size: clamp(10px, 1.25vw, 15px) !important;
    /* Scale between 10px and 15px based on viewport */
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

ul.director-filter[data-option-key="filter"] li:first-child a {
    text-transform: uppercase !important;
    /* Preserve "ALL" uppercase if desired, or remove to make it "All" */
}