/*
 Theme Name:   Etivera.at 2.0
 Description:  Etivera.at Webseite 2.0
 Author:       Mila
 Author URI:   https://etiveraat.etivera.com
 Template:     twentytwentyfive
 Version:      1.0
 Text Domain:  Magazin Etivera
*/


/*----------------------------- MAIN ------------------------------*/

html{
    scroll-behavior: smooth;
}

body{
    hyphens: auto;

    *{
        &:focus,
            &:focus-visible{
            outline-width: 0;
            outline-offset: 0px;
        }
    }
}


main{
    z-index: 1;
    position: relative;
    padding-top: 0px;
    /*background: linear-gradient(180deg, #ececec 100vh, #E8E8E8 42%, #ADDFB8 46%, #E8E8E8 87%, #E8E8E8 100%);*/
    background: linear-gradient(180deg, #ececec 100vh, #E8E8E8 42%, #fff 46%, #E8E8E8 87%, #E8E8E8 100%);
    padding-bottom: 0;
    margin-bottom: 0;
    min-height: 70vh;
    margin-top:0!important;

    &:before{
        position: absolute;
        top: 0;
        left: 0px;
        background-image: url(https://etiveraat.etivera.com/wp-content/uploads/sites/4/2026/02/bg_slider.jpg);
        background-size: auto;
        background-repeat: no-repeat;
        width: 100%;
        height: 100vh;
        display: block;
        content: "";
        background-position: center;
        z-index: -1;
    }
}

hr.wp-block-separator{
    height: 4px;
    background: var(--wp--preset--color--custom-gr-n);
    border: none;
    width: 100px;
}

hr.is-style-wide{
    width: 100%;
    height: 1px;
    opacity: 0.4;
}

strong {
    font-weight: 700;
}






/*----------------------------- HEADER ------------------------------*/



header{
    backdrop-filter: blur(7px);
    position: fixed;
    z-index: 999;
    width: 100%;
    transition: all 0.3s ease;
    margin: auto;

    > div.wp-container-4{
        margin: auto;

    }
}

header.is-scrolled {
    background: #ffffff99;
    transition: all 0.3s ease;
}

header.is-scrolled .doublemenu-wrapper{
    padding-bottom: 0!important;
    padding-top:  0!important;
    transition: all 0.3s ease;
}
header.is-scrolled .doublemenu-wrapper-secondline{
    padding-bottom: 0!important;
    padding-top:  0!important;
    transition: all 0.3s ease;
}

header.is-scrolled .wp-block-site-logo img {
    margin-top: -45px;
    width: 180px;
    transition: all 0.3s ease;
}


.navi-mobile-small{
    display: block;
}


/*----------------------------- ZWEIT-MENÜ ------------------------------*/

.secondary-menu .is-menu-open{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100vh;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 33vw;

    .wp-block-navigation-item__content{
        outline:none;
        text-decoration: none;
    }
}

.doublemenu-wrapper{
    gap:1em;
}

.ocbOffCanvasPopup {
    width: 100%!important;
    height: 100vh!important;
    z-index: 99999999999999999999999999999999;
    display: flex!important;
    top: 0;
    left: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    background: linear-gradient(rgb(93, 163, 102) 0%, rgb(65, 136, 74) 100%)!important;

    left: 50%!important;
    visibility: visible!important;
    width: 100vw !important;
    transform: translateX(-50%)!important;
    max-width: none!important;

    .offcanvas-content-area{
        height: fit-content;
        background: linear-gradient(rgb(93, 163, 102) 0%, rgb(66 125 73) 100%);

        > div{
            height: 100%;
        }
    }

    .showButton.icon-right{
        width: 20px;
        height: 20px;
        background: transparent !important;
    }


    .offcanvas-body{
        height: calc(100% - 16px - 20px);

        .offcanvas-menu-wrapper{
            display: flex;
            height: 100%;
            justify-content: space-evenly;
            max-width: 1400px;
            margin: auto;

            > div > nav{

            }

            > div{
                width: 100%;
                padding: 0 1em;
            }
        }

        .offcanvas-social-wrapper{
            width:100%;
        }
    }
}

.ocbOffCanvasPopup .wp-block-image img{
    margin-top: 0px;
    filter: brightness(17) saturate(0) contrast(5);
}

.offcanvas#ocbOffCanvas-3Popup .offcanvas-content-area {
    padding-top: 0!important;
}

.wp-block-ocb-offcanvas, #ocbOffCanvas-2 .showButton{
    padding: 8px 2px!important;
    background: transparent!important;
}

.wp-block-ocb-offcanvas .wp-block-navigation-item .wp-block-navigation-item__content {
    hyphens: auto;
    line-height: 1.2em;
}

.offcanvas-menus-wrapper{
    height: 100%;

    > nav{
        height: 100%;
        width: 33%;

        ul{
            justify-content: space-between;
        }
    }
}
.offcanvas#ocbOffCanvas-2Popup .btn-close {
    height: 30px!important;
    width: 30px!important;
    z-index: 99999999999999999999999999999999999999999999;

    > svg{
        height: 30px;
        width: 21px;
    }
}

.offcanvas-menu-img-social-wrapper{
    width: 100%;
}

.wp-block-ocb-offcanvas .showButton span {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: transparent;

    svg{
        width: 22px;
        height: 22px;
    }
}

.offcanvas-kontaktbox{
    width: 25%;
}


/*----------------------------- NAVI ------------------------------*/

.navi-header-blur .pre-header{
    max-width: calc(100% - 250px);
    margin-right: 0 !important;
}
:where(.wp-site-blocks) > * {
    margin-block-start: 0;
}

.wp-site-blocks{
    overflow: hidden;
}



.shopbutton-header a{
    text-decoration: none;
    display: inline-block;
    padding: 8px 22px 8px 56px;
    transition: all 0.2s linear 0s;
    position: relative;
    font-size: 15px;

    &:before {
        position: absolute;
        bottom: 0;
        left: 10px;
        background-color: transparent;
        transition: all 0.2s linear 0s;
        background-image: url("https://etiveraat.etivera.com/wp-content/uploads/sites/4/2026/02/befreo-button.png");
        width: 36px;
        height: 29px;
        display: inline-block;
        content: "";
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }

    &:hover {

        &:before {
        }
    }
}


.wp-block-site-logo img{
    margin-top: -40px;
}


/*----------------------------- VIDEO SCALE ------------------------------*/

.video-scale-container {
    will-change: transform;
}

/*----------------------------- UNTERSEITEN BOXEN ------------------------------*/

.unterseiten-bildboxen > div{
    border: 1px solid #cdcdcd;
}

.unterseiten-textbox{
    padding: 0px 20px 20px 20px;
}



.subkategorie-box{
    > div{
        position: relative;
        overflow: hidden;

        h2, h3{
            width: auto;
            hyphens: auto;
            line-height: 100%;
            display: block;
            width: 100%;
        }
        p{
            width: auto;
            hyphens: auto;
        }
        a{
            text-decoration: none;
        }
        h3 a{
            text-decoration: none;
            display: block;
            position: relative;
            transition: 250ms;
            width: 100%;

            &:after{
                background-image: url("https://etiveraat.etivera.com/wp-content/uploads/sites/4/2026/02/arrow.svg");
                width: 26px;
                height: 17px;
                position: relative;
                display: inline-block;
                content: "";
                background-repeat: no-repeat;
                background-size: contain;
                background-position: center;
                margin-left: 17px;
                transition: 250ms;
            }

            &:hover:after{
                margin-left: 25px;
            }
        }



        figure {
            height: 230px;
            width: auto;
            margin-right: -20px;
            margin-bottom: -20px;
            aspect-ratio: 2 / 3;
            display: flex;
            align-items: flex-end;
        }
    }
}


.subkategorie-box.druck-box figure {
    maxheight: 230px;
    width: 100%;
}


/*----------------------------- SEPERATOR ------------------------------*/

.seperator-cover{
    h2{
        text-shadow: 2px 2px 0px #0000006b;
    }
}




/*----------------------------- SCROLLEFFEKT UNTERSEITENV------------------------------*/

.hero-scroll {
    position: relative;
    height: 100vh;

}

.hero{
    position: sticky;
    top: 0;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;

    h1{
        font-size: 5rem;
        font-weight: 700;
        position: sticky;       /* Sticky statt fixed */
        top: 0;                 /* Obere Kante des Viewports, kann minimal sein */
        margin: 0;
        transform: translateY(-50%); /* H1 wird vertikal mittig */
        transition: opacity 0.1s linear, transform 0.1s linear; /* sanfte Animation */
        z-index: -1;
    }

    p{
        margin-top: 0;
        position: relative;
        padding: 1em 0 1em 0;
        background: #e7e7e7;




        &:before{
            background: linear-gradient(180deg, rgba(231, 231, 231, 0.0) 10%, rgba(231, 231, 231, 1) 60%);
            z-index: 0;
            content: "";
            position: absolute;
            top: -90px;
            left: 0;
            width: 100%;
            height: 100px;
        }/*
        &:after{
            background: linear-gradient(180deg, rgba(231, 231, 231, 0.0) 10%, rgba(231, 231, 231, 1) 60%);
            z-index: 0;
            content: "";
            position: absolute;
            bottom: -90px;
            left: 0;
            width: 100%;
            height: 100px;
        }*/
    }


    .image {
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        z-index: 2;
        width: 50vw;
        max-width: 1000px;
    }

    .image img {
        width: 100%;
        display: block;
    }

    .image-left {
        left: 0%;
        transform: translate(0%, -50%);
    }

    .image-right {
        left: 50%;
        transform: translate(0%, -50%);
    }
    .image-left,
    .image-right,
    .hero-scroll p {
        transform: translateY(-50%);
    }

}


/*----------------------------- COUNTER ------------------------------*/

.counter p:before{
    display: none;
}
.counter p{
    background: none;
    padding: 0;
}

.counter hr.wp-block-separator{
    height: 60%;
    background: #5da3664a;
    border: none;
    width: 2px;
    gap: 2em;
}



/*----------------------------- HIGHLIGHTBOXEN ------------------------------*/


.highlight-boxen .fachgebiet-box p.boxlink {
    text-align: left;
}
.highlight-boxen .fachgebiet-box p.boxlink a {
    display: flex;
    height: calc(100% - 40px);
    justify-content: space-around;
    padding-bottom: 20px;
    padding-left: 0;
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: row;
}
.highlight-boxen .fachgebiet-box p.boxlink a:after{
    background-image: url("https://etiveraat.etivera.com/wp-content/uploads/sites/4/2026/02/arrow-white.svg");
    width: 24px;
    height: 12px;
    position: relative;
    display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 9px;
}
.highlight-boxen .fachgebiet-box figure{
    margin-block-start: 0;
}


/*----------------------------- SEITE OHNE TITEL ------------------------------*/

.ohne-bg-img{
    padding-top: 150px;
}

.ohne-bg-img:before{
    display: none;
}



/*----------------------------- ANSPRECHPARTNER ------------------------------*/

.ansprechpartner-wrapper img{
    width: 100%!important;
}

.ansprechpartner-wrapper a{
    overflow-wrap: anywhere;
    line-height: 100%;
    display: block;
}

.ansprechpartner-box{
    &:hover{
        color:var(--wp--preset--color--custom-gr-n);
    }
}




/*----------------------------- TIMELINE ------------------------------*/


/* normale vertikale sections */
.intro,
.outro {
    min-height: 100vh;
    padding: 10vh 8vw;
    background: #f5f5f5;
}
.timeline-wrapper {
    position: relative;
    /* Höhe dynamisch über JS setzen */
}

.timeline {
    position: sticky;
    top: 20vh; /* Abstand vom oberen Viewport-Rand */
    height: 60vh; /* Höhe der Timeline selbst */
    overflow: hidden;
}

.timeline-track {
    display: flex;
    gap: 10vw;
    align-items: center;
    will-change: transform;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 49px;
    width: 100%;
    height: 4px;
    background: #ffffff59;
}

.timeline-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: #fff;
}

.event {
    min-width: 70vw;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 1em;
    flex-direction: column;
    position: relative;

    &:before{
        height: 15px;
        width: 15px;
        left: -20px;
        background: #fff;
        top: 43px;
        content: "";
        position: absolute;
        border-radius: 50%;
    }
}
.event p{
    display: block;
    width: 100%;
    line-height: 120%;
    margin-top: 0;
    color:var(--wp--preset--color--black);
}
.event img {
    width: 100%;
    height: auto;
    margin-top: -40px;
    z-index: 9;
}
.timeline-progress {
    position: absolute;
    left: 0;
    top: 49px;
    width: 100%;
    height: 4px;
    background: #ffffff59;
    z-index: 0;
    pointer-events: none;
}

.timeline-progress-bar {
    display: block;
    height: 100%;
    width: 60px;
    background: #fff;
    transition: width 0.05s linear;
}

.timeline-date{
    font-size: 2em;
    margin-bottom: 14px;
}
.timeline-headline{
    font-size: var(--wp--preset--font-size--large);
    margin-bottom: 10px;
    font-family: var(--wp--preset--font-family--urbanist);
    font-weight: 600;
}
.timeline-text{
    font-size: var(--wp--preset--font-size--medium);
}

.timeline-box-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1em;

    > div, img{
        width: 50%;
    }
}

.timeline-infotext{

}




/*----------------------------- UNTERSEITEN ------------------------------*/


.wp-block-post-title{
    margin-left: 0 !important;
    font-size:var(--wp--preset--font-size--xxl);
    display:none;
}

.unterseite-top-img{
    width: 100%;
    max-width: 800px;
    height: auto;
}




/*----------------------------- SLIDER STARTSEITE ------------------------------*/




body.home main{
    padding-bottom:190px;
    background: linear-gradient(180deg, #ececec 100vh, #E8E8E8 42%, #ADDFB8 46%, #E8E8E8 87%, #E8E8E8 100%);
    padding-top: 150px;

    &:before{
        position: absolute;
        top: 0;
        left: 0px;
        background-image: url(https://etiveraat.etivera.com/wp-content/uploads/sites/4/2026/02/bg_slider.jpg);
        background-size: auto;
        background-repeat: no-repeat;
        width: 100%;
        height: 100vh;
        display: block;
        content: "";
        background-position: center;
        z-index: -1;
    }
}
#metaslider-id-102 .slides li img{
    width: 500px!important;
    height: 500px!important;
    float: right;
}
#metaslider-id-102 .flexslider .caption-wrap .caption {
    background: transparent;
    box-shadow: none;
    padding: 0;
}
#metaslider-id-102 .flexslider .caption-wrap .caption {
    width: 80%;
    top: 30%;
    max-width: 700px;
}

#metaslider-id-102 .flexslider .caption-wrap .caption h2{
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: 600;
    margin-top: 0;
}
#metaslider-id-102 .flexslider .caption-wrap .caption p{
    font-size: var(--wp--preset--font-size--large);
    color:var(--wp--preset--color--black);
}
#metaslider-id-102 .flexslider .caption-wrap .caption a{
    font-size: var(--wp--preset--font-size--medium);
    text-decoration: none;
    color:var(--wp--preset--color--black);
    position: relative;
    display: inline-block;

}
#metaslider-id-102 .flexslider .caption-wrap .caption a:after{
    background-image: url("https://etiveraat.etivera.com/wp-content/uploads/sites/4/2026/02/arrow.svg");
    width: 24px;
    height: 12px;
    position: relative;
    display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 9px;
}
#metaslider-id-102 .flexslider .caption-wrap .caption a:hover:after{
    margin-left: 15px;
    transition: 250ms;
}

.metaslider.ms-theme-databold .flexslider .flex-control-nav li a {
    width: 13px;
    border-radius: 50%;
    height: 13px;
}

.metaslider .flexslider .slides > li {
    overflow-x: hidden;
}



/*----------------------------- STARTSEITE  ------------------------------*/


.fachgebiet-box{
    position: relative;

    &:before{
        background: linear-gradient(0deg, rgb(0 0 0 / 64%) 0%, rgba(0, 0, 0, 0) 100%);
        z-index: 4;
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    &:hover:before{
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    }
}

.fachgebiet-box p.boxlink a{
    display: flex;
    color: #fff;
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-transform: uppercase;
    left: 0px;
    z-index: 4;
    height: calc(100% - 70px);
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 70px;
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
    line-height: 90%;
    font-family: var(--wp--preset--font-family--urbanist);
}
.fachgebiet-box p.boxbutton{
    position: absolute;
    bottom: 17px;
    z-index: 8;
    display: block;
    width: 100%;
    text-align: center;
}

.fachgebiet-box p.boxbutton a{
    background: #fff;
    color: black;
    display: inline-block;
    margin: auto;
    padding: 5px 20px;
    font-size: 14px;
    text-decoration: none;
}
.fachgebiet-box > figure{
    position: relative;
    z-index:3;
}

.fachgebiet-box div.wp-block-cover img{
    filter:saturate(0);
}

.fachgebiet-box div.wp-block-cover img:hover{
    filter:saturate(1);
}

.videobox .wp-block-video:hover{
    filter:saturate(1);
}



.videobox .wp-block-video{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;

    video{
        object-fit: cover;
        height: 100%;
        vertical-align: middle;
        width: 100%;
    }
}

.videobox {
    transition: 250ms;
    &:hover .wp-block-video{
        display: block;
    }

    &:hover .boxbutton{
        display: none;
        transition: 250ms;
    }
    &:hover p.boxlink a{
        padding-bottom: 20px;
        transition: 250ms;
    }
}

.videobox > figure{
    position: absolute!important;
}





/*----------------------------- FOOTER ------------------------------*/

.pre-footer{
    z-index: 1;
    position: relative;
}
footer{
    overflow-x: clip;
}

.sub-footer{
    position: fixed;
    bottom: 0;
    z-index: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 2em 1em;
}

.wrapper-subfooter{
    gap: 4%;
}
.wrapper-subfooter > .wp-block-image{
    width: 68%;
}
.wrapper-subfooter > div{
    width: 28%;
}
.footer-zeile-wrapper{
    display: flex;
    flex-wrap: nowrap;
}
.footer-zeile-wrapper > div{
    width: 33%;
}
.footer-zeile-wrapper > div:nth-child(3){
    position: relative;
    width: 33%;
    display: flex;
    justify-content: center;
}

.footer-zeile-wrapper > div:nth-child(3) .footer-sortiment-img{
    position: absolute;
    top: -280px;
    width: 590px;
}





/*----------------------------- SOCIAL FOOTER ------------------------------*/

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-block-social-link {
    background-color: #ffffff;
    color: #549a5d;
}

.wp-block-social-links .wp-social-link svg {
    height: 1.2em;
    width: 1.2em;
}
.wp-block-social-links {
    margin-top: 50px;
}
:root :where(.wp-block-social-links .wp-social-link a) {
    padding: 4px;
}




/*-----------------------------------------MEDIA QUERIES ------------------------------------------------*/


@media (max-width: 1024px) {

    .doublemenu-wrapper nav.wp-block-navigation {
        display: none !important;
    }
    .offcanvas-content-area  nav.wp-block-navigation{
        display: flex !important;
    }
    .navi-mobile-small{
        display: none;
    }
    header.is-scrolled .navi-mobile-small{
        display: block;
    }
    header.is-scrolled .navi-mobile-small img{
        max-width: 180px;
    }
    .pre-header{
        display: none!important;
    }
    header.is-scrolled .wp-block-site-logo img {

    }
    header.is-scrolled {
        background: #ffffffa3;
        transition: all 0.3s ease;
        width: calc(100% - 32px);
        margin: auto;
        position: fixed;
        left: 16px;
        top: 10px;
        border-radius: 0px;
    }
    .header-blur{
        padding-left: 8px;
    }
    .wp-block-ocb-offcanvas,
    #ocbOffCanvas-2 .showButton {
        padding: 8px 2px !important;
    }
    header.is-scrolled .navi-header-blur{
        padding-right: 10px;
        padding-left: 14px;
    }
    header.is-scrolled .wp-block-site-logo{
        display: none;
    }
    header.is-scrolled .navi-mobile-small{
        display: block;
    }
    .wp-block-site-logo img {
        margin-top: 0;
        max-width: 160px;
    }
    header.is-scrolled .showButton svg{
        color:var(--wp--preset--color--custom-dunkles-gr-n);
    }
    .doublemenu-wrapper{
    }
    .doublemenu-wrapper-secondline{
        padding-top: 10px;
    }
    .highlight-boxen{
        grid-template-columns: repeat(1, minmax(0, 1fr))!important;
    }
    .videobox{
        max-height: 200px;
        overflow: hidden;

        > div{
            object-position: center top;
            min-height: 200px!important;
            aspect-ratio: unset!important;
            margin-bottom: 1.2rem !important;
        }

        p.boxlink a{
            font-size: 2.5em;
            height: calc(100% - 80px);
            padding-bottom: 80px;
        }
        p.boxbutton{
            bottom: 30px;

            a{
                padding: 7px 25px;
                bottom: 6px;
            }
        }
    }
    .fachgebiet-box > figure {
        object-position: center top;
        max-height: 200px!important;
        aspect-ratio: unset!important;
        overflow: hidden;

        > img{
            object-position: center;
            height: 200px !important;
        }
    }
    .wrapper-subfooter{
        display: flex;
        flex-direction: column-reverse;
    }
    .wrapper-subfooter > .wp-block-image {
        width: 100%;
    }
    .wrapper-subfooter > div {
        width: 100%;
        margin-bottom: 1.2rem;
        gap: 0;
    }
    .wrapper-subfooter p {
        font-size: var(--wp--preset--font-size--md);
    }
    .sub-footer {
        padding: 1em 1em !important;
    }
    .footer-zeile-wrapper{
        display: flex;
        flex-direction: column-reverse;
    }
    .footer-zeile-wrapper > div {
        width: 100%;
    }
    .footer-zeile-wrapper > div:nth-child(3) {
        margin-bottom: 1.2rem;
        justify-content: flex-start;
        width: 100%;
    }
    .footer-zeile-wrapper > div:nth-child(3) .footer-sortiment-img {
        right: -50px;
        position: absolute;
        top: -228px;
        width: 440px;
    }
    .pre-footer {
        padding-top: 54px !important;
    }

    .highlight-boxen .fachgebiet-box p.boxlink a{
        width: calc(100% - 40px);
        padding: 0px 20px 20px 20px;
        justify-content: space-between;
    }
}

@media (max-width: 480px){
    .videobox-wrapper{
        gap:1.2rem;
        padding-right: var(--wp--style--root--padding-right);
        padding-left: var(--wp--style--root--padding-left);
    }
    .offcanvas-menus-wrapper{
        align-items: flex-start;
        flex-direction: row;

    }
    .offcanvas-content-area nav.wp-block-navigation {
        display: flex !important;
        justify-content: flex-start;
        width: calc(50% - 10px);
        height: auto;
        flex-wrap: wrap;


        ul{
            gap:1em;
        }


        li a{
            font-weight: normal;
            font-size: 19px;
        }
    }
    .offcanvas-menus-wrapper {
        align-items: flex-start;
        width: 100%;
        gap: 20px;
        flex-wrap: wrap!important;
        align-content: flex-start;



    }
    .offcanvas-content-area nav.wp-block-navigation:first-child{
        width: 100%;
        padding-bottom: 1em;
        border-bottom: 1px solid white;
        margin-bottom: 0.7em;
        ul{
            padding-top: 70px;
        }

        li a{
            font-size: 2em;
            font-weight: bold;
            line-height: 100%;
        }
    }
    .ocbOffCanvasPopup .offcanvas-body .offcanvas-menu-wrapper > div {
        padding: 0;
        display: flex;
        flex-direction: column;

        hr{
            display: none;
        }
    }
    .offcanvas#ocbOffCanvas-2Popup .offcanvas-content-area {
        padding-top: 0!important;
    }
    .offcanvas#ocbOffCanvas-2Popup.offcanvas-start{
        margin-top: -10px;
    }
    .ocbOffCanvasPopup {
        height: calc(100vh + 10px)!important;
    }
    .wp-block-ocb-offcanvas .ocbOffCanvasPopup .offcanvas-body {
        padding-top: 0px;
    }
    .offcanvas-kontaktbox{
        margin-bottom: 18px;
        background: #ffffffe3;
        border: none;
        width: 100%;
        * {
            color: green !important;
        }

    }
    .offcanvas-menu-img-social-wrapper{
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;

        figure{
            display: none;
        }
    }
    .ocbOffCanvasPopup .offcanvas-body .offcanvas-menu-wrapper {
        justify-content: flex-start;
    }
    #metaslider-id-102 .flexslider .caption-wrap .caption {
        width: 100%;
        top: 0%;
        left: 0;
        transform: none;
    }
    #metaslider-id-102 .slides li {
        display: flex!important;
        flex-direction: column!important;
        min-height: 430px;
        gap: 1em;
        height: calc(100vh - 85px);
        position: relative;

        &:before{
            content:"";
            height: 100px;
            width:100px;
            border:1px solid black;
            position: absolute;
            top:10px;
            left:10px;
            background: red;
        }

    }
    #metaslider-id-102 .slides li img {
        width: 100% !important;
        height: auto !important;
        float: none;
        object-fit: contain;
        max-height: 250px;
        min-height: 250px;
        object-position: right;
        overflow: hidden;

    }
    body.home main {
        padding-top: 80px;
        background: linear-gradient(180deg, #e6e6e6 100vh, #E8E8E8 42%, #ADDFB8 46%, #E8E8E8 87%, #E8E8E8 100%);

        &:before{
            top: -90px;
        }
    }
    #metaslider-id-102 .flexslider .caption-wrap .caption h2 {
        font-size: var(--wp--preset--font-size--xl);
        line-height: 100%;
    }
    .metaslider .caption-wrap {
        position: relative;
        top: 0;
    }
    .metaslider.ms-theme-databold .flexslider .flex-control-nav li a {
        width: 10px;
        height: 10px;
    }
    #metaslider-id-102 .flexslider .caption-wrap .caption a {

        border: 1px solid grey;
        padding: 7px 15px;

        &:after{
            width: 20px;
            height: 11px;
            margin-left: 9px;
            top: 2px;
        }
    }
    .offcanvas#ocbOffCanvas-2Popup .btn-close{
        transform: scale(0.85);
    }
    .wp-block-ocb-offcanvas .showButton span {
        svg {
            width: 22px;
            height: 22px;
            margin-top: -14px;
        }
    }
    .is-scrolled .wp-block-ocb-offcanvas .showButton span svg {
        margin-top: 4px;
    }
    .doublemenu-wrapper-secondline {
        padding-bottom: 0 !important;

    }
    .metaslider.ms-theme-databold .flexslider .flex-control-nav {
        bottom: 8px;
        display: flex;
        justify-content: flex-end;
        display: none;
    }

    .timeline-box-wrapper {
        flex-direction: column;
    }
    .event {
        min-width: 90vw;
    }
    .event img {
        width: 100%;
        margin-top: 0;
    }
    .timeline-box-wrapper {
        > div, img {
            width: 100%;
        }
    }
}





@media (min-width: 480px) and (max-width: 768px){
    .highlight-boxen {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .videobox-wrapper{
        gap:1.2rem;
        padding-right: var(--wp--style--root--padding-right);
        padding-left: var(--wp--style--root--padding-left);
    }

    .offcanvas-menus-wrapper{
        align-items: flex-start;
        flex-direction: row;

    }
    .offcanvas-content-area nav.wp-block-navigation {
        display: flex !important;
        justify-content: flex-start;
        width: calc(50% - 10px);
        height: auto;
        flex-wrap: wrap;


        ul{
            gap:1em;
        }


        li a{
            font-weight: normal;
            font-size: 19px;
        }
    }
    .offcanvas-menus-wrapper {
        align-items: flex-start;
        width: 100%;
        gap: 20px;
        flex-wrap: wrap!important;
        align-content: flex-start;



    }
    .offcanvas-content-area nav.wp-block-navigation:first-child{
        width: 100%;
        padding-bottom: 1em;
        border-bottom: 1px solid white;
        margin-bottom: 0.7em;

        ul{
            padding-top: 70px;
        }

        li a{
            font-size: 2em;
            font-weight: bold;
            line-height: 100%;
        }
    }
    .ocbOffCanvasPopup .offcanvas-body .offcanvas-menu-wrapper > div {
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    .offcanvas-kontaktbox{
        width: 100%;
    }
    .offcanvas#ocbOffCanvas-2Popup .offcanvas-content-area {
        padding-top: 0!important;
        padding-bottom: 40px;
        overflow: hidden;
    }
    .offcanvas#ocbOffCanvas-2Popup.offcanvas-start{
        margin-top: -10px;
    }
    .ocbOffCanvasPopup {
        height: calc(100vh + 10px)!important;
    }
    .wp-block-ocb-offcanvas .ocbOffCanvasPopup .offcanvas-body {
    }
    .offcanvas-kontaktbox{
        margin-bottom: 18px;
    }


    .ocbOffCanvasPopup .offcanvas-body .offcanvas-menu-wrapper {
        height: fit-content;
        position: relative;
    }
    .wp-block-image img {
        max-width: 420px;
    }
    .offcanvas-kontaktbox{
        background: #ffffffe3;
        border: none;
        /*
        position: absolute;
        width: 230px;
        right: 16px;
        top: 84px;*/

        *{
            color:green!important;
        }
    }
    .offcanvas-kontaktbox{
        flex-direction: row;
        gap:20px;
        > div{
            width: calc(50% - 20px);
        }
    }
    .offcanvas-menu-img-social-wrapper figure{
        display: none;
    }
    .offcanvas-social-wrapper hr{
        display: none;
    }

}










@media (min-width: 768px) and (max-width: 1024px){

    .highlight-boxen {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .videobox-wrapper{
        gap:1.2rem;
    }
    .videobox-wrapper .wp-block-column.videobox{
        flex-basis: 33% !important;
    }
    .videobox {
        p.boxlink a {
            padding: 10px;
            padding-bottom: 70px;
            width: calc(100% - 20px);
            font-size: 2em;
        }
        .videobox {
            p.boxbutton {
                bottom: 20px;
            }
        }
        .footer-zeile-wrapper {
            flex-direction: row;
        }
        .footer-zeile-wrapper > div:nth-child(3) {
            margin-bottom: 1.2rem;
            justify-content: flex-start;
            width: 30%;
        }
        .footer-zeile-wrapper > div {
            width: 40%;
        }
    }


}
@media (min-width: 1024px){
    .navi-mobile-small{
        display: none;
    }
    .wp-block-site-logo{
        display: block;
    }
    body.home main {
        padding-bottom: 270px;
    }
    .navi-header-blur .pre-header {
        max-width: var(--wp--style--global--wide-size)!important;
        margin: auto;
        margin-right: auto !important;
        position: relative;
    }
    .navi-header-blur .pre-header:after{
        bottom: 0px;
        content: "";
        height: 1px;
        background: #0000004d;
        width: calc(100% - 235px);
        right: 0;
        position: absolute;
    }
    .wp-block-navigation-item a{
        position: relative;
        &:hover{
            text-decoration: none;
        }
    }
    .wp-block-navigation__container {
        position: relative;
    }

    /* alle bisherigen :after Effekte deaktivieren */
    .wp-block-navigation-item__content::after {
        display: none;
    }

    /* Sliding Indicator */
    .wp-block-navigation__container .nav-indicator {
        position: absolute;
        bottom: -3px;
        height: 3px;
        background: var(--wp--preset--color--custom-gr-n);
        left: 0;
        width: 0;
        transform: translateX(0);
        transition: transform 0.35s cubic-bezier(.4,0,.2,1),
            width 0.35s cubic-bezier(.4,0,.2,1);
        will-change: transform, width;
        pointer-events: none;
    }
    .wp-block-navigation-item.current-menu-item{
        position: relative;


        > a{
            cursor: default;
        }

        &:after{
            width: 100%;
            height: 3px;
            bottom: -3px;
            left: 0;
            content: "";
            background: var(--wp--preset--color--custom-gr-n);
            position: absolute;
        }

        &:hover{
            transition: 250ms;
            color:white;


                &:after {
                width: 120%;
                height: 37px;
                bottom: -3px;
                left: -10%;
                content: "";
                background: var(--wp--preset--color--custom-gr-n);
                position: absolute;
                transition:  height 0.25s ease-in;
            }
            
            a{
                cursor: default;
            }
        }
    }
}



