/*
 Theme Name:   Jäger Group Theme
 Theme URI:    https://www.jeagergroup.com
 Author:       Oliver FLeck
 Author URI:   https://www.oliverfleck.de
 Template:     generatepress
 Version:      0.1
*/


body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
}

img {
    -ms-interpolation-mode: bicubic;
    image-rendering: -webkit-optimize-contrast;
}

a:hover, a:focus, a:active {
    text-underline-offset: .20em;
}

b, strong {
    font-weight: 600;
}

.button-primary {
    color: var(--white) !important;
	}

footer a {color:#fff;}

:root {
    --nav-height: 70px;
}

.admin-bar {
    --nav-height: 102px;
}

.subnav {
    top: var(--nav-height) !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .subnav {
        top: 70px !important;
    }
}

.subnav a.active-anchor {
    color: var(--accent) !important;
}

@media (max-width: 1024px) {
    .subnav {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        display: block !important;
        scrollbar-width: none;
    }

    .subnav::-webkit-scrollbar {
        display: none;
    }

    .subnav > *, 
    .subnav ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content;
    }

    .subnav a {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 12px 20px;
        display: inline-block;
    }
}

:where(.gb-submenu-toggle) {
    width: 15px !important;
}

.gb-sub-menu .gb-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    column-gap: 10px;
    padding: 10px 15px !important;
}

/* 1. Der äußere Video-Container */
.background-video-container {
    position: relative;
    overflow: hidden;
    display: flex; /* Sorgt dafür, dass der Inhalt zentriert werden kann */
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Falls noch keine Höhe gesetzt wurde */
}

/* 2. Das Video selbst */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0; /* Hinterste Ebene */
}

/* 3. Das Gradient Overlay (Pseudo-Element) */
.background-video-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dein exakter Gradient */
    background-image: linear-gradient(211deg, #0D47F000 47%, #000000 100%);
    z-index: 1; /* Über dem Video */
    pointer-events: none; /* Verhindert, dass das Overlay Klicks auf den Button blockiert */
}

/* 4. Der Text-Inhalt */
.background-video-content {
    position: relative;
    z-index: 2; /* Vorderste Ebene */
}


.gb-sub-menu .menu-item {
    font-family: "Barlow", Sans-serif;
    font-size: 15px;
    font-weight: 500;    
	line-height: 20px;
}

.gb-sub-menu {
    left: 0px;
min-width:200px;}

.gb-menu-9a3c2209 .gb-sub-menu {
    right: 0px;
    min-width: 20px !important;
}
figcaption.gb-text {font-size:14px;font-style:italic;}

.gb-menu-9a3c2209 img, .gb-menu-5772abef img,
.gb-menu-d4a09c90 img, .gb-menu-d4a09c90 img{height:16px;}


@media (max-width: 1024px) {
.gb-menu-item .gb-menu-link {
    padding: 7px 10px;
}
	}

p {
    margin-bottom: .8em;
}


/* --- 1. HEADER-STYLING (GLAS-LOOK) --- */
.gb-site-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: -1;
    pointer-events: none;
    transition: background-color 0.3s ease-in-out; 
}

/* --- 2. HEADER WIRD WEISS (BEI JEDEM HOVER ÜBER DEN HEADER) --- */
.gb-site-header:hover::before,
.gb-site-header:has(.gb-menu-container--toggled)::before {
    background-color: rgb(255, 255, 255) !important;
}

/* --- 3. SEITEN-BLUR (NUR BEI DROPDOWNS ODER MOBIL OFFEN) --- */
#page, #content, footer {
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* Hier triggert der Blur NUR bei .menu-item-has-children */
@media (min-width: 1025px) {
body:has(.menu-item-has-children:hover) #page,
body:has(.gb-menu-container--toggled) #page,
body:has(.menu-item-has-children:hover) footer,
body:has(.gb-menu-container--toggled) footer {
    filter: blur(3px);
    opacity: 0.8;
    pointer-events: none;
}}

/* Dropdowns selbst solid weiß */
.gb-sub-menu {
    background-color: rgb(255, 255, 255) !important;
}

.subnav {
    transition: background-color 0.3s ease-in-out;
}
.subnav:hover {
    background-color: rgb(255, 255, 255) !important;
}

.rank-math-breadcrumb  {margin-bottom:-10px;font-weight:500;margin-top:-10px;}
.rank-math-breadcrumb a {color:#666666;font-weight:400}

.rank-math-breadcrumb .separator {
    font-size: 0;
    margin: 0 15px 0 10px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.rank-math-breadcrumb .separator::before {
    content: "";
    display: block;
    border-right: 1px solid #0032a0;
    border-top: 1px solid #0032a0;
    height: 5px;
    width: 5px;
    opacity: 0.5;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.rank-math-breadcrumb a, 
.rank-math-breadcrumb .last {
    font-size: 15px;
    text-decoration: none;
}

.clip-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-size: cover;
    background-position: center;
}

.container-a img {border-radius:3px;}
.container-a .card-a img {border-radius:3px 3px 0 0;}