
/* ============================================================
   JOBANO HEADER – AGGRESSIV GEGEN ELEMENTOR/THEME CSS
============================================================ */

.jbh-admin-warning{
    padding:14px 16px!important;
    margin:10px!important;
    background:#fff5f5!important;
    color:#7a2020!important;
    border:1px solid #e1b5b5!important;
    font:14px/1.5 Arial,sans-serif!important;
}

/* Platzhalter */
.jbh-spacer{
    width:100%!important;
    height:100px!important;
    min-height:100px!important;
    max-height:100px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}

/* Root */
#jbh-header.jbh-header{
    --jbh-dark:#10251A!important;
    --jbh-dark-green:#005227!important;
    --jbh-green:#77AD3C!important;
    --jbh-light-green:#9FC85F!important;
    --jbh-bg:#F1FAF8!important;

    --e-global-color-primary:#005227!important;
    --e-global-color-secondary:#10251A!important;
    --e-global-color-text:#34443B!important;
    --e-global-color-accent:#77AD3C!important;

    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    bottom:auto!important;
    z-index:2147483000!important;

    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;

    margin:0!important;
    padding:0!important;

    background:#F1FAF8!important;
    background-color:#F1FAF8!important;
    background-image:none!important;

    border:0!important;
    border-bottom:1px solid rgba(0,82,39,0)!important;
    border-radius:0!important;

    outline:0!important;
    box-shadow:none!important;

    transform:none!important;
    filter:none!important;
    opacity:1!important;
    overflow:visible!important;
    isolation:isolate!important;

    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;

    transition:
        background-color .35s ease,
        border-color .35s ease,
        box-shadow .35s ease!important;
}

#jbh-header,
#jbh-header *,
#jbh-header *::before,
#jbh-header *::after{
    box-sizing:border-box!important;
}

/* Aggressiver Reset */
#jbh-header a,
#jbh-header button{
    -webkit-appearance:none!important;
    appearance:none!important;
    text-decoration:none!important;
    text-decoration-line:none!important;
    text-transform:none!important;
    box-shadow:none!important;
    text-shadow:none!important;
    filter:none!important;
    -webkit-tap-highlight-color:transparent!important;
}

#jbh-header button{
    font:inherit!important;
}

#jbh-header ul,
#jbh-header ol,
#jbh-header li{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}

#jbh-header.jbh-is-sticky{
    background:rgba(255,255,255,.94)!important;
    background-color:rgba(255,255,255,.94)!important;
    border-bottom-color:rgba(0,82,39,.09)!important;
    box-shadow:0 10px 38px rgba(7,44,25,.10)!important;
    -webkit-backdrop-filter:blur(18px) saturate(160%)!important;
    backdrop-filter:blur(18px) saturate(160%)!important;
}

/* Inner */
#jbh-header .jbh-inner{
    position:relative!important;
    width:min(1380px,calc(100% - 64px))!important;
    max-width:1380px!important;
    height:100px!important;
    min-height:100px!important;

    margin:0 auto!important;
    padding:0!important;

    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;

    background:transparent!important;
    border:0!important;
    box-shadow:none!important;

    transition:height .35s cubic-bezier(.2,.75,.25,1),min-height .35s cubic-bezier(.2,.75,.25,1)!important;
}

#jbh-header.jbh-is-sticky .jbh-inner{
    height:72px!important;
    min-height:72px!important;
}

/* Logo – fast maximale Zeilenhöhe */
#jbh-header .jbh-logo{
    position:relative!important;

    width:300px!important;
    height:92px!important;
    max-width:300px!important;
    max-height:92px!important;

    flex:0 0 300px!important;

    display:block!important;
    margin:0!important;
    padding:0!important;

    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;

    transition:
        width .35s ease,
        height .35s ease,
        max-width .35s ease,
        max-height .35s ease,
        flex-basis .35s ease!important;
}

#jbh-header .jbh-logo img{
    position:absolute!important;
    left:0!important;
    top:50%!important;

    width:auto!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    min-width:0!important;

    display:block!important;

    margin:0!important;
    padding:0!important;

    object-fit:contain!important;
    object-position:left center!important;

    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    filter:none!important;

    transition:
        opacity .25s ease,
        transform .35s ease,
        visibility .25s ease!important;
}

#jbh-header .jbh-logo-normal{
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(-50%) scale(1)!important;
}

#jbh-header .jbh-logo-sticky{
    opacity:0!important;
    visibility:hidden!important;
    transform:translateY(-50%) scale(.95)!important;
}

#jbh-header.jbh-is-sticky .jbh-logo{
    width:220px!important;
    height:64px!important;
    max-width:220px!important;
    max-height:64px!important;
    flex:0 0 220px!important;
}

#jbh-header.jbh-is-sticky .jbh-logo-normal{
    opacity:0!important;
    visibility:hidden!important;
    transform:translateY(-50%) scale(.94)!important;
}

#jbh-header.jbh-is-sticky .jbh-logo-sticky{
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(-50%) scale(1)!important;
}

/* Navigation */
#jbh-header .jbh-navigation{
    height:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:18px!important;
    flex:1 1 auto!important;
    margin:0 0 0 auto!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}

#jbh-header .jbh-nav{
    height:100%!important;
    display:flex!important;
    align-items:stretch!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
}

#jbh-header .jbh-menu{
    height:100%!important;
    display:flex!important;
    align-items:stretch!important;
    gap:3px!important;
    margin:0!important;
    padding:0!important;
}

#jbh-header .jbh-menu > li{
    position:relative!important;
    height:100%!important;
    display:flex!important;
    align-items:center!important;
    background:transparent!important;
}

/* Top-Level Links */
#jbh-header .jbh-menu > li > a{
    position:relative!important;
    height:100%!important;
    display:flex!important;
    align-items:center!important;

    padding:0 15px!important;

    color:#34443B!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;

    border:0!important;
    border-bottom:1px solid transparent!important;
    border-radius:0!important;

    box-shadow:none!important;
    outline:0!important;

    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    font-size:13px!important;
    line-height:1!important;
    font-weight:500!important;
    letter-spacing:0!important;
    white-space:nowrap!important;

    transition:color .22s ease,border-color .22s ease!important;
}

/* Elementor/Theme Pseudo-Layer entfernen */
#jbh-header .jbh-menu > li > a::before,
#jbh-header .jbh-menu > li > a::after{
    content:none!important;
    display:none!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}

/* Hover / Active nur Jobano */
#jbh-header .jbh-menu > li > a:hover,
#jbh-header .jbh-menu > li:hover > a,
#jbh-header .jbh-menu > li.current-menu-item > a,
#jbh-header .jbh-menu > li.current-menu-parent > a,
#jbh-header .jbh-menu > li.current-menu-ancestor > a,
#jbh-header .jbh-menu > li > a:focus,
#jbh-header .jbh-menu > li > a:active{
    color:#005227!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border-bottom-color:#77AD3C!important;
    box-shadow:none!important;
}

/* JS-erzeugter Toggle */
#jbh-header .jbh-sub-toggle{
    width:25px!important;
    height:42px!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 25px!important;

    margin:0 0 0 -12px!important;
    padding:0!important;

    color:#405249!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;

    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    outline:0!important;

    cursor:pointer!important;
}

#jbh-header .jbh-sub-toggle::before,
#jbh-header .jbh-sub-toggle::after{
    content:none!important;
    display:none!important;
}

#jbh-header .jbh-sub-toggle svg{
    width:12px!important;
    height:12px!important;
    display:block!important;

    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;

    transition:transform .25s ease!important;
}

#jbh-header .menu-item-has-children:hover > .jbh-sub-toggle svg,
#jbh-header .menu-item-has-children.jbh-sub-open > .jbh-sub-toggle svg{
    transform:rotate(180deg)!important;
}

/* Desktop Submenu */
#jbh-header .sub-menu{
    position:absolute!important;

    top:calc(100% - 12px)!important;
    left:0!important;

    width:330px!important;
    min-width:330px!important;
    height:auto!important;

    display:block!important;

    margin:0!important;
    padding:12px!important;

    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;

    transform:translateY(10px)!important;

    background:#FFFFFF!important;
    background-color:#FFFFFF!important;
    background-image:none!important;

    border:1px solid rgba(0,82,39,.10)!important;
    border-radius:18px!important;

    box-shadow:0 24px 65px rgba(8,48,28,.13)!important;

    overflow:visible!important;

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease!important;
}

#jbh-header .menu-item-has-children:hover > .sub-menu,
#jbh-header .menu-item-has-children:focus-within > .sub-menu,
#jbh-header .menu-item-has-children.jbh-sub-open > .sub-menu{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
}

#jbh-header .sub-menu > li{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    background:transparent!important;
}

#jbh-header .sub-menu > li > a{
    width:100%!important;
    min-height:48px!important;

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

    padding:11px 13px!important;

    color:#34443B!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;

    border:0!important;
    border-radius:12px!important;
    box-shadow:none!important;

    font-size:12px!important;
    line-height:1.4!important;
    font-weight:550!important;

    transition:background-color .2s ease,color .2s ease!important;
}

#jbh-header .sub-menu > li > a::before,
#jbh-header .sub-menu > li > a::after{
    content:none!important;
    display:none!important;
}

#jbh-header .sub-menu > li > a:hover,
#jbh-header .sub-menu > li.current-menu-item > a,
#jbh-header .sub-menu > li > a:focus,
#jbh-header .sub-menu > li > a:active{
    color:#005227!important;
    background:#F1F8F3!important;
    background-color:#F1F8F3!important;
    background-image:none!important;
    box-shadow:none!important;
}

#jbh-header .sub-menu .menu-item-has-children > .sub-menu{
    top:0!important;
    left:calc(100% + 10px)!important;
}

/* Kontakt */
#jbh-header .jbh-contact{
    min-height:48px!important;

    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:12px!important;

    flex:0 0 auto!important;

    padding:5px 6px 5px 18px!important;

    color:#FFFFFF!important;

    background:#005227!important;
    background-color:#005227!important;
    background-image:none!important;

    border:0!important;
    border-radius:999px!important;
    box-shadow:none!important;
    outline:0!important;

    font-size:12px!important;
    font-weight:650!important;
    line-height:1!important;

    transition:background-color .22s ease,transform .22s ease!important;
}

#jbh-header .jbh-contact::before,
#jbh-header .jbh-contact::after{
    content:none!important;
    display:none!important;
}

#jbh-header .jbh-contact:hover,
#jbh-header .jbh-contact:focus,
#jbh-header .jbh-contact:active{
    color:#FFFFFF!important;
    background:#063F23!important;
    background-color:#063F23!important;
    background-image:none!important;
    transform:translateY(-2px)!important;
    box-shadow:none!important;
}

#jbh-header .jbh-contact-icon{
    width:36px!important;
    height:36px!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 36px!important;

    color:#005227!important;
    background:#9FC85F!important;
    background-color:#9FC85F!important;

    border-radius:50%!important;
}

#jbh-header .jbh-contact-icon svg{
    width:15px!important;
    height:15px!important;
    display:block!important;

    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.9!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

/* Burger */
#jbh-header .jbh-burger{
    position:relative!important;

    width:48px!important;
    height:48px!important;

    display:none!important;
    flex:0 0 48px!important;

    margin:0 0 0 auto!important;
    padding:0!important;

    background:#FFFFFF!important;
    background-color:#FFFFFF!important;
    background-image:none!important;

    border:1px solid rgba(0,82,39,.12)!important;
    border-radius:50%!important;

    box-shadow:none!important;
    outline:0!important;

    cursor:pointer!important;
}

#jbh-header .jbh-burger::before,
#jbh-header .jbh-burger::after{
    content:none!important;
    display:none!important;
}

#jbh-header .jbh-burger > span{
    position:absolute!important;
    left:14px!important;

    width:18px!important;
    height:1.5px!important;

    display:block!important;

    margin:0!important;
    padding:0!important;

    background:#10251A!important;
    background-color:#10251A!important;

    border:0!important;
    border-radius:4px!important;

    transition:top .25s ease,transform .25s ease,opacity .2s ease!important;
}

#jbh-header .jbh-burger > span:nth-child(1){top:17px!important;}
#jbh-header .jbh-burger > span:nth-child(2){top:23px!important;}
#jbh-header .jbh-burger > span:nth-child(3){top:29px!important;}

#jbh-header .jbh-burger.jbh-open > span:nth-child(1){
    top:23px!important;
    transform:rotate(45deg)!important;
}

#jbh-header .jbh-burger.jbh-open > span:nth-child(2){
    opacity:0!important;
}

#jbh-header .jbh-burger.jbh-open > span:nth-child(3){
    top:23px!important;
    transform:rotate(-45deg)!important;
}

/* Accessibility */
#jbh-header a:focus-visible,
#jbh-header button:focus-visible{
    outline:2px solid #77AD3C!important;
    outline-offset:3px!important;
    box-shadow:none!important;
}

/* WordPress Admin Bar */
body.admin-bar #jbh-header{
    top:32px!important;
}

@media(max-width:782px){
    body.admin-bar #jbh-header{
        top:46px!important;
    }
}

/* Tablet / Mobil */
@media(max-width:1080px){

    .jbh-spacer{
        height:86px!important;
        min-height:86px!important;
        max-height:86px!important;
    }

    #jbh-header .jbh-inner{
        width:calc(100% - 38px)!important;
        height:86px!important;
        min-height:86px!important;
    }

    #jbh-header.jbh-is-sticky .jbh-inner{
        height:66px!important;
        min-height:66px!important;
    }

    #jbh-header .jbh-logo{
        width:250px!important;
        height:80px!important;
        max-width:250px!important;
        max-height:80px!important;
        flex:0 0 250px!important;
    }

    #jbh-header.jbh-is-sticky .jbh-logo{
        width:195px!important;
        height:58px!important;
        max-width:195px!important;
        max-height:58px!important;
        flex:0 0 195px!important;
    }

    #jbh-header .jbh-burger{
        display:block!important;
    }

    #jbh-header .jbh-navigation{
        position:absolute!important;
        top:100%!important;
        left:0!important;
        right:0!important;

        width:100%!important;
        height:auto!important;
        max-height:0!important;

        display:block!important;

        margin:0!important;
        padding:0!important;

        opacity:0!important;
        visibility:hidden!important;
        overflow:hidden!important;

        background:#FFFFFF!important;
        background-color:#FFFFFF!important;
        background-image:none!important;

        border:0!important;
        border-top:1px solid rgba(0,82,39,.08)!important;
        border-radius:0!important;

        box-shadow:0 25px 60px rgba(8,45,27,.12)!important;

        transition:max-height .4s ease,opacity .25s ease,visibility .25s ease!important;
    }

    #jbh-header .jbh-navigation.jbh-open{
        max-height:calc(100dvh - 66px)!important;
        opacity:1!important;
        visibility:visible!important;
        overflow-y:auto!important;
    }

    #jbh-header .jbh-nav{
        width:min(720px,calc(100% - 38px))!important;
        height:auto!important;
        display:block!important;

        margin:0 auto!important;
        padding:14px 0 0!important;
    }

    #jbh-header .jbh-menu{
        width:100%!important;
        height:auto!important;
        display:block!important;
    }

    #jbh-header .jbh-menu > li{
        width:100%!important;
        height:auto!important;

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

        border:0!important;
        border-bottom:1px solid #E5EDE8!important;
    }

    #jbh-header .jbh-menu > li > a{
        min-height:59px!important;
        height:auto!important;
        flex:1 1 auto!important;

        padding:0!important;

        color:#173326!important;
        background:transparent!important;

        font-size:16px!important;

        border:0!important;
        border-radius:0!important;
        box-shadow:none!important;
    }

    #jbh-header .jbh-menu > li > a:hover,
    #jbh-header .jbh-menu > li > a:focus,
    #jbh-header .jbh-menu > li > a:active,
    #jbh-header .jbh-menu > li.current-menu-item > a,
    #jbh-header .jbh-menu > li.current-menu-parent > a{
        color:#005227!important;
        background:transparent!important;
        border:0!important;
    }

    #jbh-header .jbh-sub-toggle{
        width:52px!important;
        height:52px!important;
        flex:0 0 52px!important;

        margin:0!important;

        border-radius:50%!important;
    }

    #jbh-header .jbh-sub-toggle svg{
        width:16px!important;
        height:16px!important;
    }

    /* Mobile Submenu: nur Klick, kein Hover */
    #jbh-header .sub-menu{
        position:static!important;

        top:auto!important;
        left:auto!important;

        width:100%!important;
        min-width:100%!important;
        max-height:0!important;

        display:block!important;
        flex:0 0 100%!important;

        margin:0!important;
        padding:0!important;

        opacity:1!important;
        visibility:visible!important;
        pointer-events:none!important;

        overflow:hidden!important;

        transform:none!important;

        background:transparent!important;
        background-color:transparent!important;

        border:0!important;
        border-radius:0!important;

        box-shadow:none!important;

        transition:max-height .32s ease!important;
    }

    #jbh-header .menu-item-has-children:hover > .sub-menu,
    #jbh-header .menu-item-has-children:focus-within > .sub-menu{
        max-height:0!important;
        pointer-events:none!important;
    }

    #jbh-header .menu-item-has-children.jbh-sub-open > .sub-menu{
        max-height:900px!important;
        pointer-events:auto!important;
    }

    #jbh-header .sub-menu > li > a{
        min-height:45px!important;
        padding:9px 15px 9px 19px!important;

        color:#607068!important;
        background:transparent!important;

        font-size:13px!important;

        border-radius:9px!important;
    }

    #jbh-header .sub-menu > li > a:hover,
    #jbh-header .sub-menu > li > a:focus,
    #jbh-header .sub-menu > li > a:active{
        color:#005227!important;
        background:#F1F8F3!important;
    }

    #jbh-header .jbh-contact{
        width:min(720px,calc(100% - 38px))!important;
        min-height:58px!important;

        display:flex!important;
        justify-content:space-between!important;

        margin:22px auto 28px!important;
        padding:6px 7px 6px 20px!important;

        font-size:14px!important;
    }
}

/* Kleines Smartphone */
@media(max-width:520px){

    .jbh-spacer{
        height:76px!important;
        min-height:76px!important;
        max-height:76px!important;
    }

    #jbh-header .jbh-inner{
        width:calc(100% - 26px)!important;
        height:76px!important;
        min-height:76px!important;
    }

    #jbh-header.jbh-is-sticky .jbh-inner{
        height:62px!important;
        min-height:62px!important;
    }

    #jbh-header .jbh-logo{
        width:min(235px,calc(100vw - 86px))!important;
        height:70px!important;
        max-width:calc(100vw - 86px)!important;
        max-height:70px!important;
        flex:0 1 auto!important;
    }

    #jbh-header.jbh-is-sticky .jbh-logo{
        width:min(180px,calc(100vw - 86px))!important;
        height:54px!important;
        max-width:calc(100vw - 86px)!important;
        max-height:54px!important;
        flex:0 1 auto!important;
    }

    #jbh-header .jbh-burger{
        width:44px!important;
        height:44px!important;
        flex:0 0 44px!important;
    }

    #jbh-header .jbh-burger > span{
        left:13px!important;
        width:17px!important;
    }

    #jbh-header .jbh-burger > span:nth-child(1){top:15px!important;}
    #jbh-header .jbh-burger > span:nth-child(2){top:21px!important;}
    #jbh-header .jbh-burger > span:nth-child(3){top:27px!important;}

    #jbh-header .jbh-burger.jbh-open > span:nth-child(1),
    #jbh-header .jbh-burger.jbh-open > span:nth-child(3){
        top:21px!important;
    }
}

@media(prefers-reduced-motion:reduce){
    #jbh-header *,
    #jbh-header *::before,
    #jbh-header *::after{
        transition-duration:.01ms!important;
    }
}

/* ============================================================
   GTRANSLATE – HEADER INTEGRATION
============================================================ */
#jbh-header .jbh-language{
    position:relative!important;
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:5px 10px!important;
    background:rgba(255,255,255,.76)!important;
    border:1px solid rgba(0,82,39,.11)!important;
    border-radius:999px!important;
    box-shadow:0 7px 22px rgba(8,45,27,.055)!important;
    transition:border-color .22s ease,background-color .22s ease,box-shadow .22s ease!important;
}

#jbh-header .jbh-language:hover,
#jbh-header .jbh-language:focus-within{
    background:#FFFFFF!important;
    border-color:rgba(0,82,39,.22)!important;
    box-shadow:0 9px 25px rgba(8,45,27,.09)!important;
}

#jbh-header .jbh-language-icon{
    width:28px!important;
    height:28px!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 28px!important;
    color:#005227!important;
    background:#E6F2E8!important;
    border-radius:50%!important;
}

#jbh-header .jbh-language-icon svg{
    width:15px!important;
    height:15px!important;
    display:block!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.6!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}

#jbh-header .jbh-language-widget{
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:0!important;
    line-height:1!important;
}

/* GTranslate: klassisches Select */
#jbh-header .jbh-language-widget select,
#jbh-header .jbh-language-widget .gt_selector{
    width:auto!important;
    min-width:92px!important;
    max-width:150px!important;
    height:32px!important;
    min-height:32px!important;
    margin:0!important;
    padding:0 25px 0 5px!important;
    color:#173326!important;
    background-color:transparent!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    box-shadow:none!important;
    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:600!important;
    line-height:32px!important;
    cursor:pointer!important;
}

/* GTranslate: Flaggen / Links */
#jbh-header .jbh-language-widget .gtranslate_wrapper,
#jbh-header .jbh-language-widget .gt_switcher,
#jbh-header .jbh-language-widget .switcher,
#jbh-header .jbh-language-widget .gt_options,
#jbh-header .jbh-language-widget > div{
    margin:0!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
}

#jbh-header .jbh-language-widget a.glink,
#jbh-header .jbh-language-widget .gt_switcher a,
#jbh-header .jbh-language-widget .switcher a{
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    min-height:30px!important;
    margin:0!important;
    padding:3px 5px!important;
    color:#173326!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:600!important;
    line-height:1.2!important;
}

#jbh-header .jbh-language-widget a.glink:hover,
#jbh-header .jbh-language-widget .gt_switcher a:hover,
#jbh-header .jbh-language-widget .switcher a:hover{
    color:#005227!important;
    background:transparent!important;
}

#jbh-header .jbh-language-widget img{
    width:auto!important;
    height:18px!important;
    max-width:26px!important;
    display:inline-block!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:2px!important;
    box-shadow:none!important;
    object-fit:contain!important;
}

/* GTranslate Dropdown darf über dem Header liegen */
#jbh-header .jbh-language-widget .gt_options,
#jbh-header .jbh-language-widget .switcher .option,
#jbh-header .jbh-language-widget .gt_switcher .gt_option{
    z-index:2147483001!important;
}

@media(max-width:1220px) and (min-width:1081px){
    #jbh-header .jbh-navigation{
        gap:10px!important;
    }

    #jbh-header .jbh-menu > li > a{
        padding-left:10px!important;
        padding-right:10px!important;
    }

    #jbh-header .jbh-language{
        padding-left:7px!important;
        padding-right:7px!important;
    }

    #jbh-header .jbh-language-icon{
        width:26px!important;
        height:26px!important;
        flex-basis:26px!important;
    }
}

@media(max-width:1080px){
    #jbh-header .jbh-language{
        width:min(720px,calc(100% - 38px))!important;
        min-height:56px!important;
        display:flex!important;
        justify-content:flex-start!important;
        gap:11px!important;
        margin:18px auto 0!important;
        padding:6px 14px!important;
        background:#F4F9F5!important;
        border-color:#E1EBE4!important;
        border-radius:14px!important;
        box-shadow:none!important;
    }

    #jbh-header .jbh-language-icon{
        width:34px!important;
        height:34px!important;
        flex-basis:34px!important;
    }

    #jbh-header .jbh-language-icon svg{
        width:17px!important;
        height:17px!important;
    }

    #jbh-header .jbh-language-widget{
        flex:1 1 auto!important;
        justify-content:flex-start!important;
    }

    #jbh-header .jbh-language-widget select,
    #jbh-header .jbh-language-widget .gt_selector{
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
        height:40px!important;
        min-height:40px!important;
        font-size:14px!important;
        line-height:40px!important;
    }

    #jbh-header .jbh-language-widget a.glink,
    #jbh-header .jbh-language-widget .gt_switcher a,
    #jbh-header .jbh-language-widget .switcher a{
        font-size:14px!important;
    }

    #jbh-header .jbh-contact{
        margin-top:14px!important;
    }
}

@media(prefers-reduced-motion:reduce){
    #jbh-header .jbh-language,
    #jbh-header .jbh-language *{
        transition-duration:.01ms!important;
    }
}


/* ============================================================
   GTRANSLATE PREMIUM DROPDOWN FIX – V1.1.1
   ============================================================ */

#jbh-header .jbh-language,
#jbh-header .jbh-language-widget{
    overflow:visible!important;
}

/* Switcher-Grundgerüst */
#jbh-header .jbh-language-widget .switcher{
    position:relative!important;
    width:auto!important;
    min-width:0!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    font-size:12px!important;
    line-height:1!important;
}

/* Aktuell ausgewählte Sprache */
#jbh-header .jbh-language-widget .switcher .selected{
    position:relative!important;
    width:auto!important;
    min-width:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    z-index:2!important;
}

#jbh-header .jbh-language-widget .switcher .selected a{
    position:relative!important;
    width:auto!important;
    min-width:88px!important;
    height:32px!important;
    min-height:32px!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0 24px 0 4px!important;

    color:#173326!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;

    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:600!important;
    line-height:1!important;
    text-decoration:none!important;
}

/* eigener dezenter Pfeil */
#jbh-header .jbh-language-widget .switcher .selected a:after{
    content:""!important;
    position:absolute!important;
    top:50%!important;
    right:5px!important;

    width:7px!important;
    height:7px!important;

    background:none!important;
    border:0!important;
    border-right:1.5px solid #52705F!important;
    border-bottom:1.5px solid #52705F!important;

    transform:translateY(-65%) rotate(45deg)!important;
    transform-origin:center!important;
}

/* Flagge aktuelle Sprache */
#jbh-header .jbh-language-widget .switcher .selected img{
    width:22px!important;
    height:16px!important;
    max-width:22px!important;
    object-fit:cover!important;
    border-radius:2px!important;
}

/* ------------------------------------------------------------
   Aufgeklapptes Dropdown
   ------------------------------------------------------------ */

#jbh-header .jbh-language-widget .switcher .option{
    position:absolute!important;
    top:calc(100% + 12px)!important;
    right:-10px!important;
    left:auto!important;

    width:195px!important;
    max-height:310px!important;
    box-sizing:border-box!important;

    margin:0!important;
    padding:7px!important;

    overflow-x:hidden!important;
    overflow-y:auto!important;

    background:#FFFFFF!important;
    border:1px solid #E2EAE4!important;
    border-radius:14px!important;

    box-shadow:
        0 18px 45px rgba(17,53,34,.14),
        0 3px 10px rgba(17,53,34,.06)!important;

    z-index:2147483001!important;
}

/* kleiner Dropdown-Pfeil */
#jbh-header .jbh-language-widget .switcher .option:before{
    content:""!important;
    position:absolute!important;
    top:-6px!important;
    right:29px!important;

    width:11px!important;
    height:11px!important;

    background:#FFFFFF!important;
    border-left:1px solid #E2EAE4!important;
    border-top:1px solid #E2EAE4!important;

    transform:rotate(45deg)!important;
}

/* einzelne Sprachen */
#jbh-header .jbh-language-widget .switcher .option a{
    position:relative!important;
    width:100%!important;
    min-height:37px!important;

    display:flex!important;
    align-items:center!important;
    gap:10px!important;

    box-sizing:border-box!important;

    margin:0!important;
    padding:8px 10px!important;

    color:#23372C!important;
    background:transparent!important;
    border:0!important;
    border-radius:9px!important;
    box-shadow:none!important;

    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    font-size:13px!important;
    font-weight:500!important;
    line-height:1.2!important;
    text-decoration:none!important;

    transition:
        background-color .15s ease,
        color .15s ease!important;
}

#jbh-header .jbh-language-widget .switcher .option a:hover{
    color:#005227!important;
    background:#EFF7F1!important;
}

/* aktuell gewählte Sprache nicht doppelt anzeigen */
#jbh-header .jbh-language-widget .switcher .option a.selected{
    display:none!important;
}

/* Flaggen */
#jbh-header .jbh-language-widget .switcher .option img{
    width:22px!important;
    height:16px!important;
    max-width:22px!important;
    flex:0 0 22px!important;

    margin:0!important;
    object-fit:cover!important;

    border-radius:2px!important;
}

/* dezenter Scrollbalken nur falls wirklich viele Sprachen */
#jbh-header .jbh-language-widget .switcher .option{
    scrollbar-width:thin!important;
    scrollbar-color:#C9D8CD transparent!important;
}

#jbh-header .jbh-language-widget .switcher .option::-webkit-scrollbar{
    width:5px!important;
}

#jbh-header .jbh-language-widget .switcher .option::-webkit-scrollbar-track{
    background:transparent!important;
}

#jbh-header .jbh-language-widget .switcher .option::-webkit-scrollbar-thumb{
    background:#C9D8CD!important;
    border-radius:10px!important;
}


/* MOBILE */
@media(max-width:1080px){

    #jbh-header .jbh-language-widget .switcher{
        width:100%!important;
    }

    #jbh-header .jbh-language-widget .switcher .selected{
        width:100%!important;
    }

    #jbh-header .jbh-language-widget .switcher .selected a{
        width:100%!important;
        min-width:0!important;
        height:40px!important;
        padding-left:4px!important;
        font-size:14px!important;
    }

    #jbh-header .jbh-language-widget .switcher .option{
        left:0!important;
        right:auto!important;
        top:calc(100% + 8px)!important;

        width:min(280px,calc(100vw - 70px))!important;
        max-height:300px!important;
    }

    #jbh-header .jbh-language-widget .switcher .option a{
        min-height:40px!important;
        font-size:14px!important;
    }
}

