/*
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
*/

::selection {
    background: var(--wp--preset--color--custom-gr-n);
    color: #fff;
}

[id] {
    scroll-margin-top: 120px;
}




/*------------------Newsletter------------------*/

.cr_body {
    box-shadow: none!important;
    border-radius: 0!important;
    line-height: 150%;
    font-size: 12px!important;
    padding-bottom: 30px!important;
    padding-top: 20px!important;
}

/*------------------Accordion------------------*/


.sp-eab-accordion-title-text{
    font-weight: 700!important;
}



/*------------------Scroll to top------------------*/


#scrollTopBtn {
    position: fixed;
    bottom: 35px;
    right: 35px;
    height: 40px;
    width: 40px;
    padding: 8px;
    border: none;
    outline: none;
    background-color: #e8e8e8;
    cursor: pointer;
    border-radius: 50px;
    z-index: 9999999999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: opacity 300ms ease, visibility 300ms ease, background-color 300ms;
}

#scrollTopBtn.is-visible {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    background-color: #fff;
    transition: 300ms;
}



/*------------------Scroll to top------------------*/


#metaslider-id-102 {
    position: relative;
}
#metaslider-id-102:after {
    position: absolute;
    bottom: 15px;
    left: 0px;
    background-image: url(/wp-content/uploads/sites/4/2026/05/finanzierung-eu.jpg);
    width: 200px;
    height: 47px;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    background-color: #ffffff;
    padding: 0px 0px;
    background-position: center;
}









main{
    h1, h2, h3{

    }
}



.container-hover-category{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom:100px;
    flex-wrap: wrap;

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: calc(50% - 1em);
        position: relative;
        transition: color 275ms ease;
        font-family: var(--wp--preset--font-family--source-sans-3);
    }
    .container:hover {
        transition: color 275ms ease;
    }
    a {
        text-decoration: none;
    }

    .link {
        z-index: 1;
        display: inline-block;
        font-size: 3.2em;
        font-weight: bold;
        color: black;
        text-transform: uppercase;
        transition: color 275ms ease;
        padding: 20px 0;
        line-height: 100%;
    }
    .link:hover {
        color: black;
    }
    .link:hover ~ .hover-container .link-text {
        opacity: 1;
    }
    .link:hover ~ .hover-container .image-container {
        opacity: 1;
    }

    .link-text {
        z-index: 2;
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        line-height: 100%;
        font-size: 3.2em;
        font-weight: bold;
        color: #eaeaea;
        font-family: var(--wp--preset--font-family--source-sans-3);
        text-transform: uppercase;
        pointer-events: none;
        -webkit-clip-path: circle(100px at var(--x) var(--y));
        clip-path: circle(100px at var(--x) var(--y));
        opacity: 0;
        transition: opacity 250ms ease;
    }

    .image-container {
        z-index: -2;
        position: absolute;
        top: 0;
        left: 0;
        width: 200px;
        height: 200px;
        opacity: 0;
        transition: opacity 250ms ease;
    }

    .image-inner {
        position: absolute;
        top: -100px;
        left: -100px;
        width: 200px;
        height: 200px;
    }

    .link-image {
        display: block;
        max-width: 100%;
        width: 200px;
        height: 200px;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
        border-radius: 50%;
        filter: brightness(1);
    }
}

.circlehover-block > h2{
    position: relative;
}
.circlehover-block > h2:after{
    display: inline-block;
    position: absolute;
    width: 80px;
    height: 3px;
    left: calc(50% - 40px);
    bottom: -20px;
    content: "";
    background: var(--wp--preset--color--custom-gr-n);
}


/*----------------------------- 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;
    padding-bottom: 0;
    margin-bottom: 0;
    min-height: 70vh;
    margin-top:0!important;

}

/*
.page-id-29, .page-id-864, .page-id-1017, .page-id-1015, .page-id-947, .page-id-24{

    main{
        background: linear-gradient(0deg, rgb(236, 236, 236) 0px, rgb(236, 236, 236) 700px, rgb(214, 214, 214) 701px);
    }


    main:before{
        position: absolute;
        top: 0;
        left: 0px;
        background-image: url(https://magazin.etivera.com/wp-content/uploads/2026/04/bg_header_02.jpg);
        background-size: contain;
        background-repeat: repeat-x;
        width: 100%;
        height: 100vh;
        display: block;
        content: "";
        background-position: top;
        z-index: -1;
        max-height: 500px;
    }
}

.page-id-30 main{
    background: linear-gradient(180deg, #fff 580px, #E8E8E8 571px, #E8E8E8 87%, #E8E8E8 100%);
}
.page-id-27 main,
.page-id-24 main{
    background: linear-gradient(180deg, #ebebeb 580px, #ececec 573px, #ececec 87%, #E8E8E8 100%);
}
*/


.entry-content ul{
    padding-left: 1em;
}


.page-id-696 main {
    background: var(--wp--preset--color--base) !important;
}


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;
}



/*----------------------------- IMAGE TIP STARTSEITE ------------------------------*/

#powerTip {
    background-color: #fff!important;
    backdrop-filter: blur(6px);
    line-height: 110%;
    border-radius: 0;
    padding: 0.5em 1em;
}

#powerTip p{
    color: #000!important;
    margin: 0;
}

#powerTip.n:before {
    display: none;
}

/*----------------------------- ETIKETTEN ------------------------------*/
/*

.gallery {
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: hidden;


    .cards {
        position: absolute;
        width: 14rem;
        height: 18rem;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .cards li {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        min-width: 500px;
        aspect-ratio: 8 / 16;
        text-align: center;
        line-height: 18rem;
        font-size: 2rem;
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
        top: 0;
        left: 0;
        border-radius: 0.8rem;
        background-color: grey;
    }

    .actions {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }


    .drag-proxy {
        visibility: hidden;
        position: absolute;
    }
}
*/

.metaslider.ms-theme-clarity .flexslider .caption-wrap .caption {
    padding: 20px 30px;
    text-align: left;
}

.metaslider.ms-theme-clarity .flexslider .caption-wrap h2 {
    font-size: 22px;
}
#metaslider_2396.flexslider .slides li {
    margin-right: 34px !important;
}

.pos-rel{
    position: relative;
}


body.page-id-27 main > .wp-block-group{
    padding-top: 0!important;
}

body.page-id-27 main .wp-block-group .entry-content{
    margin-top: 0!important;
}

.page-template-hauptseiten:before{
    background: linear-gradient(180deg, rgb(0 0 0 / 75%) 4px, rgba(0, 0, 0, 0) 64%);
    content: "";
    height: 200px;
    width: 100%;
    top: 0;
    display: block;
    position: absolute;
    z-index: 2;
}

.acc-etiketten summary{
    list-style-type: none;
    position: relative;

    &:after{
        display: block;
        position: relative;

    }
}

/* Container-Styling */
.acc-etiketten {
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
}

/* Die Summary (der Klick-Bereich) */
.acc-etiketten summary {
    list-style: none; /* Entfernt den Standard-Pfeil */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    flex-direction: column;

}

/* Entfernt den Standard-Pfeil in Safari/Chrome */
.acc-etiketten summary::-webkit-details-marker {
    display: none;
}

/* Das Plus-Zeichen erstellen */
.acc-etiketten summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: normal;
    transition: transform 0.3s ease;
    margin-left: 0px;
    line-height: 140%;
    color:grey;


}
.acc-etiketten summary::after::hover{

}

/* Transformation zum Minus, wenn offen */
.acc-etiketten[open] summary::after {
    content: '−'; /* Ein echtes Minus-Zeichen */
    transform: rotate(180deg);
    display: none;
}

/* Smoothe Animation für den Textinhalt */
.acc-etiketten p {
    margin-top: 2px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.box-etiketten-last{
    min-height: 500px;
    transition: 250ms ease-in-out;
}

.veredelungen-etiketten > .wp-block-media-text{
    min-height: 500px;
    transition: 250ms ease-in-out;
}

.veredelungen-etiketten > .wp-block-media-text figure,
.box-etiketten-last > .wp-block-media-text__media{
    overflow:hidden;
    transition: 250ms ease-in-out;
}
.veredelungen-etiketten > .wp-block-media-textfigure img,
.box-etiketten-last > .wp-block-media-text img{
    transition: 250ms ease-in-out;
}


.buybox-images .etikett-flasche img{
    width: auto!important;
    height: 250px!important;
    object-fit:contain!important;
}
.buybox-images .etikett-etikett img{
    width: auto!important;
    height: 250px!important;
    object-fit:contain!important;
    transform: scale(0.9)!important;
}
.buybox-images .wp-block-button__link{
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 40px;
    padding-right: 40px;

}


.video-cover-header{
    height: stretch;
}

.video-cover-header-wrapper{
    height: 100vh;
    max-height: 860px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



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



header{
    z-index: 999;
    width: 100%;
    transition: all 0.3s ease;
    margin: auto;
    background-color: transparent;
    position: fixed;
    max-width: 1600px;
    margin: auto;
    left: 50%;
    transform: translateX(-50%);


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

    }
}

header.is-scrolled {
    background: #fff;
    transition: all 0.3s ease;
    max-width: none;
    width:100%;
    z-index: 9999999999999999999;
}

header.is-scrolled > div{
    max-width: var(--wp--style--global--wide-size);
    margin: auto;
}

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: 10px 0;
    width: 130px;
    transition: all 0.3s ease;
}

header.is-scrolled nav ul li a.wp-block-navigation-item__content,
header.is-scrolled .nav-link-shop a{
    color: var(--wp--preset--color--accent-3)!important;
    transition: all 0.3s ease;
}

header.is-scrolled nav ul li a.wp-block-navigation-item__content,
header.is-scrolled .nav-link-shop a{
    color: var(--wp--preset--color--accent-3)!important;
    transition: all 0.3s ease;
}

header.is-scrolled .OffCanvasPopup .offcanvas-body nav ul li a.wp-block-navigation-item__content,
header.is-scrolled #ocbOffCanvas-2Popup ul li a.wp-block-navigation-item__content,
header.is-scrolled .OffCanvasPopup .offcanvas-body .nav-link-shop a{
    color: white!important;
    transition: all 0.3s ease;
}




.nav-link-shop:hover{
    text-decoration: none;
    color:white!important;
}


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

.wp-block-polylang-language-switcher {
    padding-left: 0;
    margin:0;

    li{
        list-style: none;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 18px;
        height: 30px;
        line-height: 31px;
        text-align: center;
        border-radius: 0;

        &:hover{
            opacity: 0.8;
        }

        a{
            text-decoration: none;
            position: relative;
            color:black;



            img{
                height: 30px!important;
                width: 30px!important;
                border-radius: 50%;
                object-fit: cover;
                object-position: center;
                object-position: -7px;
            }


        }
    }
}


/*----------------------------- 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;
}

#ocbOffCanvas-2{
    padding-right: 0 !important;
}

.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{
                width: 100%;
                padding: 0 1em;
            }
            nav li a:focus{
                text-decoration: overline underline;

            }
        }

        .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{
    padding: 8px 2px!important;
    background: transparent!important;
}
#ocbOffCanvas-2{
    padding: 0!important;
    margin: 0!important;
}


#ocbOffCanvas-2 .showButton{
    padding:5px 0 0 0!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;
        color:#000000a1;
        transition: 150ms;


        &:hover{
            opacity: 0.8;
            transition: 150ms;
        }
    }
}

.offcanvas-kontaktbox{
    width: 25%;
}

.offcanvas-body{
    .language-switcher-offcanvas{
        position: relative;
        display: flex;
        justify-content: flex-end;
        top: 5px;

        > nav{
            margin-right: 40px !important;
        }

        a{
            color: white!important;
            font-size: 22px;
            display: inline-block;
            padding: 0 10px;
            background: #487e4e;
            border:1px solid #487e4e;

            &:hover{
                color:white;
                transition: 150ms;
                background: transparent;
                border:1px solid #fff;
            }
        }
    }
}




/*----------------------------- 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{
    position: relative;
    overflow: hidden;

    &:hover{

        background-color: #ffffffb5!important;


        &:before{
            bottom: -8px;
            transition: 150ms;
        }
    }
}

.shopbutton-header:before {
    position: absolute;
    bottom: -14px;
    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/bottles.svg);
    width: 36px;
    height: 39px;
    display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: 150ms;
}

.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;



    &:hover {

        &:before {
        }
    }
}

/*----------------------------- BOXEN VEREDELUNG ------------------------------*/

.boxen-veredelung figure{
    max-width: 50%;
}
.boxen-veredelung >.wp-block-media-text__content {
    padding: 0 2em;
}




/*----------------------------- HIGHLIGHT ANIMATION ------------------------------*/

.scroll-highlight {
    transition: all 1.2s ease;
    background-size: 0% 100%;
    background-image: linear-gradient(120deg, #cbe4c7 0%, #cbe4c7 100%);
    background-repeat: no-repeat;
}

.scroll-highlight.is-active {
    background-size: 100% 100%;
}


/*----------------------------- VIDEO SCALE ------------------------------*/
.videobox-wrapper{

}

.seperator-vorhang{
    position: relative;

    .hero{
        height: auto;
    }

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

    .image img {
        width: 100%;
        display: block;
        max-height: 440px;
    }

    .image-left {
        left: 0%;
        transform: translate(0%, -40%);
        transform: translate(-40%, -40%)!important;

    }

    .image-right {
        right: 0%;
        transform: translate(0%, -40%);
        transform: translate(0%, -40%)!important;
    }
    .image-left,
    .image-right,
    .hero-scroll p {
        transform: translateY(-50%);
    }
    h1,p,div,button,a{
        transform: none!important;
    }
    &.hero-scroll {
        height: auto;

        .hero{
            align-items: center;
            justify-content: center;
            gap: 1em;
        }



        p{
            background: transparent;
            padding:0;

            &:before{
                display: none;
            }

        }
    }
}

.nachhaltigkeit-wrapper{
    position: relative;
    margin-block-start: -4px;

}

.nachhaltigkeitbox-wrapper{
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    > :nth-child(1){
        margin-right: 0em;
    }
    > :nth-child(2){
        margin-right: 1.5em;
    }
    > :nth-child(3){
        margin-right: 3em;
    }


    .nachhaltigkeitbox{
        gap:0;
        width: 100%;

        p{
            margin-top:0;
            font-weight: 600;
        }
        figure{
            margin-right: 0!important;
        }
        img{
            max-width: 140px;
        }
    }
}

/*----------------------------- SCROLL ANIMATION SHOW  ------------------------------*/


.split-line {
    overflow: hidden;
}

/*----------------------------- WIESO ETIVERA ------------------------------*/

.wiesobox{
    width: 33%;
    p{
        margin-top: 0;
        text-align: left;
        font-size: 1em;
        line-height: 120%;
    }

    .wieso-highlight{
        display: block;
        text-align: left;
        font-size: 3em;
        font-family: var(--wp--preset--font-family--source-sans-3);
        text-transform: uppercase;
        line-height: 100%;
        font-weight: bold;
        padding: 10px 0;
        color:var(--wp--preset--color--custom-gr-n);
    }
}



/*

.wiesobox-wrapper{
display: flex;
flex-direction: column;
gap:1em;
position: relative;
}
.wieso-textbox{
max-width: 500px;
}

.wiesobox{
display: block;
width: 100%;
margin-top: 0;
text-align: center;
width: 310px;
height:210px;
padding: 1em 1em;
position: absolute;
top:0;
left:0;

display: flex;
align-content: center;
align-items: center;

&:nth-child(1){
    top:100px;
}
&:nth-child(2){
    top: 290px;
    left: 150px;
}
&:nth-child(3){
    top: 170px;
    left: 420px;
}



p{
    margin-top: 0;
    text-align: center;
    font-size: 1.1em;
    line-height: 120%;
}

.wieso-highlight{
    display: block;
    text-align: center;
    font-size: 3em;
    font-family: var(--wp--preset--font-family--source-sans-3);
    text-transform: uppercase;
    line-height: 100%;
    font-weight: bold;
    padding: 10px 0;
    color:var(--wp--preset--color--custom-gr-n);
}
}

    .wieso-highlight{
    display: block;
    text-align: center;
    font-size: 3em;
    font-family: var(--wp--preset--font-family--urbanist);
    text-transform: uppercase;
    line-height: 100%;
    font-weight: bold;
    padding: 10px 0;
    color:var(--wp--preset--color--custom-gr-n);
}

.wieso-wrapper{
justify-content: space-between;

> .wp-block-column:nth-child(2){
    max-width: 400px;

}
}

.wieso-wrapper-row-1 {
align-items: stretch;
}
.wieso-wrapper-row-1 .wiesobox{
width: 50%;
height: 100%;
padding: 1em;
aspect-ratio: 1;
display: flex;
align-items: center;
}
.wieso-wrapper-row-2.wiesobox{
padding: 3em 1em;
display: flex;
align-items: center;
}

*/

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

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

    .wp-block-video video {
        max-height: 500px;
        object-fit: cover;
    }

}

/*----------------------------- KATEGORIEN SCROLL ------------------------------*/

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
}

.scroll-kat {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
}

.scroll-kat::-webkit-scrollbar {
    display: none;
}

.scroll-kat-box {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 350px;
    gap: 6px;
    display: flex;
}

.scroll-kat figure {
    width: 140px;
    height: auto;
    aspect-ratio: 1;
    min-width: 140px;
    margin: 0;
}

.scroll-kat-box p {
    font-weight: normal;
    font-size: 1.4em;
    line-height: 120%;
    margin: 0;
}

.scroll-kat-box p a{
    text-decoration: none!important;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.carousel-btn:hover {
    opacity: 0.6;
}

.btn-prev {
    left: -60px;
    transform: translateY(-50%) rotate(180deg);
}

.btn-next {
    right: -60px;
}



/*----------------------------- 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("/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 {
            max-height: 270px;
            max-width: 270px;
            width: auto;
            margin:0 auto;
            display: flex;
        }
    }
}


.subkategorie-box.druck-box figure {
    max-height: 270px;
    width: 100%;
}


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

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




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

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

}

.hero{
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 620px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;

    h1{
        padding-top: 200px;
        position: relative;
        top: -100px;

        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: #ececec;


        /*
                &:before{
                    background: linear-gradient(180deg, rgba(231, 231, 231, 0.0) 10%, rgb(236 236 236) 60%);
                    z-index: 0;
                    content: "";
                    position: absolute;
                    top: -130px;
                    left: 0;
                    width: 200vw;
                    height: 150px;
                    transform: translateX(-50vw);
                }
                &: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;
                }*/
    }

    .hero-introtext{
        padding: 4em 0 1em 0;

        &:before{
            background: linear-gradient(180deg, rgba(231, 231, 231, 0.0) 10%, rgb(236 236 236) 60%);
            z-index: 0;
            content: "";
            position: absolute;
            top: -130px;
            left: 0;
            width: 200vw;
            height: 150px;
            transform: translateX(-50vw);
        }
    }

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

    .image img {
        width: 100%;
        display: block;
        height: 370px;
        object-fit: contain;

    }

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

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

    .etiketten-right{
        right: calc(50% - 660px);
        top: 310px;
    }
    .etiketten-left{
        left: calc(50% - 620px);
        top: 260px;

        img{
            height: 360px;
        }
    }
    .verpackungen-right{
        right: calc(50% - 610px);
        top: 186px;
    }
    .verpackungen-left{
        left: calc(50% - 650px);
        top: 220px;
        width: 630px;
    }
    .verpackungsdruck-right{
        right: calc(50% - 610px);
        top: 277px;
        width: 530px;

    }
    .verpackungsdruck-left{
        left: calc(50% - 600px);
        top: 292px;
        width: 510px;
    }

}

.pos-rel{
    position: relative;

}

.ueber-uns-left{
    position: absolute;
    top: 70px;
    left: -240px;
    width: 590px;
}

.ueber-uns-right{
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 320px;
}


.ueber-uns-hero{
    height: 100vh;
    max-height: 420px;
    margin-bottom: 8em;

    h1 {
        padding-top: 100px;
        position: relative;
        font-size: 5rem;
        font-weight: 700;
        margin: 0;
        z-index: -1;
    }
    p{
        max-width: 600px;
        margin-top: 4em;
    }
}

.unterseiten.ueber-uns-hero{
    max-height: none;
    height: auto;


    p{
        max-width: 850px;
        margin-top: 2em;
    }
}

.page-id-24, .page-id-27, .page-id-29, .page-id-30, .page-id-2, .page-id-1019, .page-id-864, .page-id-947, .page-id-1015, .page-id-1017{
    header .doublemenu-wrapper #ocbOffCanvas-2 .showButton span svg,
    header .doublemenu-wrapper-secondline #ocbOffCanvas-2 .showButton span svg{
        color: #fff!important;
    }
}

/*----------------------------- LIGHTBOX  ------------------------------*/

.fancy-ico span {
    background: #00000000!important;
    border: none!important;
    box-shadow: none!important;
}
#fancybox-close span::after, #fancybox-close span::before {
    content: '';
    position: absolute;
    top: 19px;
    left: 24px;
    width: 21px;
    height: 2px;
    background-color: #fff;
}

#fancybox-close:hover{
    transform: none!important;
}



/*----------------------------- PATH ------------------------------*/

.zahlen-etivera > .wp-block-media-text__content{
    padding-left: 0!important;
}





.path-wrapper{
    margin: 50px auto 200px;
    position: relative;
    width: 100%;
}
.path-wrapper svg{
    margin: 0 auto;
    display: block;
    margin-right: 10px;
}
.path-wrapper > svg{
    opacity: 0.1;
}
.path-progress{
    height: 0%;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    width: max-content;
}
.path-box{
    position: absolute;
    padding: 20px;
    scale: 0;
    backdrop-filter: blur(8px);
}
.path-box p{
    margin-left: -20px;
    text-align: center;
    font-family: var(--wp--preset--font-family--source-sans-3);
    font-weight: 600;
    font-size: 1.2em;
    text-transform: uppercase;
    width: 210px;
    margin-top: 0;
    line-height: 120%;
}
.path-wrapper > .wp-block-column{
    position: absolute;
    top: 100px;
    left: 0px;
    width: 75%;
}
.path-box1 {
    top: 100px;
    right: 10%;
    width: 150px;
    margin: 0;
    padding: 0;
    text-align: center;
}
.path-box2{
    top: 300px;
    right: 10%;
}
.path-box3{
    top: 500px;
    right: 10%;
}

.nachhaltigkeit-textblock h2{
    margin-bottom: 1.5em;
}


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

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

.counter hr.wp-block-separator{
    height: 80px;
    background: #0000004a;
    border: none;
    width: 1px;
    margin: 0 2em;
}

.counter img{
    width: 60px;
    height: auto;
}



/*----------------------------- 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-between;
    width: calc(100% - 40px);
    flex-wrap: nowrap;
    flex-direction: row;
    padding: 0px 20px 20px 20px;
    line-height: 110%;
}
.highlight-boxen .fachgebiet-box p.boxlink a:after{
    background-image: url("/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;
    margin-bottom: 11px;
}
.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;
    text-decoration: none;
    font-size:0.9em;
}

.ansprechpartner-wrapper p{
    margin-top:0;
    margin-bottom:0;

}

.ansprechpartner-wrapper p:nth-child(2){
    margin-top: 16px;
    margin-bottom: 8px;
}

.ansprechpartner-wrapper p:nth-child(3){
    word-break: break-word;
    line-height: 1.1;
}



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



}

.button-ansprechpartner-links a.wp-block-button__link.wp-element-button{
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    font-size: 16px;

    border-color:var(--wp--preset--color--custom-gr-n);
}


/*----------------------------- SEPERATOR WIESO ETIVERA ------------------------------*/


.seperator-wieso{
    .column-1{
        position: relative;
    }
}

.seperator-wieso .img-abs{
    position: absolute;
    bottom: -100px;
    right: 0;
}






.page-template-hauptseiten .entry-content{
    margin-top:0;
}


/*----------------------------- 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-x: scroll;*/

    padding-left: 100px;
}

.timeline-track {
    display: flex;
    gap: 8em;
    align-items: flex-start;
    will-change: transform;
}

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

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

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

    &:before{
        height: 15px;
        width: 15px;
        left: -20px;
        background: #dedede;
        top: 49px;
        content: "";
        position: absolute;
        border-radius: 50%;
    }
}
.event p{
    display: block;
    width: 100%;
    line-height: 120%;
    margin-top: 0;
    color:var(--wp--preset--color--black);
    font-size: 1.05rem;
}
.event img {
    width: 80%;
    height: auto;
    margin-top: 40px;
    z-index: 9;
    max-height: 250px;
    object-fit: cover;
    object-position: left;
    aspect-ratio: 16/9;

    &:hover{
        transform: scale(1.4);
        transition: 250ms;
    }
}
.timeline-progress {
    position: absolute;
    left: 0;
    top: 54px;
    width: 100%;
    height: 4px;
    background:#dedede;
    z-index: 0;
    pointer-events: none;
}

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

.timeline-date{
    font-size: 2em!important;
    margin-bottom: 10px;
}
.timeline-headline{
    font-size: var(--wp--preset--font-size--large)!important;
    margin-bottom: 10px;
    margin-top: 30px!important;
    font-family: var(--wp--preset--font-family--source-sans-3);
    font-weight: 600;
}
.timeline-text{
    padding-left: 0.9em;
    font-size: 1.05rem;
}

.timeline-text li {
    list-style-type: "→  ";
}

.timeline-text li::marker {
    color:var(--wp--preset--color--custom-gr-n);
}

.timeline-box-wrapper{
    display: flex;
    flex-direction: column-reverse;
    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: 860px;
    height: auto;
}




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




body.home main{
    padding-bottom:70px;
}
#metaslider-id-102 .slides li img,
#metaslider-id-1067 .slides li img{
    width: 500px!important;
    height: 500px!important;
    float: right;
}
#metaslider-id-102 .flexslider .caption-wrap .caption,
#metaslider-id-1067 .flexslider .caption-wrap .caption{
    background: transparent;
    box-shadow: none;
    padding: 0;
}
#metaslider-id-102 .flexslider .caption-wrap .caption,
#metaslider-id-1067 .flexslider .caption-wrap .caption{
    width: 80%;
    top: 30%;
    max-width: 700px;
}

#metaslider-id-102 .flexslider .caption-wrap .caption h2,
#metaslider-id-1067 .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,
#metaslider-id-1067 .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,
#metaslider-id-1067 .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,
#metaslider-id-1067 .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,
#metaslider-id-1067 .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;
    transition: 250ms;

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

    }
}

.videobox:hover p a{
    filter:invert(0);
    transition: 250ms;
}

.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--source-sans-3);
}
.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{

}

.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;
}



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




/*----------------------------- 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: 50%;
}
.wrapper-subfooter > div{

}
.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) {
    [id] {
        scroll-margin-top: 60px;
    }

    .timeline-wrapper{
        overflow: scroll!important;
    }

    .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: #fff;
        transition: all 0.3s ease;
        width: 100%;
        margin: auto;
        position: fixed;
        left: auto;
        right: 0;
        top: 0;
        border-radius: 0px;
        transform: none;
        padding: 6px 1rem !important;
    }
    header.is-scrolled .doublemenu-wrapper {
        align-items: center;
    }
    .btn-prev {
        left: -13px;
        transform: translateY(-50%) rotate(180deg);
    }
    .btn-next {
        right: -13px;
    }
    .scroll-kat-box p {
        max-width: 190px;
    }
    .header-blur{
        padding-left: 8px;
    }
    .seperator-img-quote{
        min-height: 250px!important;
    }
    .seperator-img-quote p{
        font-size: 2.2rem!important;
    }
    .wp-block-ocb-offcanvas,
    #ocbOffCanvas-2 .showButton {
        padding: 8px 2px !important;
    }
    .zahlen-etivera{
        gap:2rem;

        h2{
            margin-bottom: 0!important;
        }
        > .wp-block-media-text__content{
            padding-right: 0!important;
        }
    }
    .wiesobox {
        .wieso-highlight {
            font-size: 2em;
        }
    }
    .nav-link-shop{
        display: none;
    }
    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;
        justify-content: space-between;
    }
    .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){

    #footer {
        > .wp-block-group{
            margin-left: 0!important;
            margin-right: 0!important;
        }
    }

    .sub-footer footer{
        width: 100%!important;
        margin-bottom: 2em!important;

        > .wp-block-group{
            display: flex;
            justify-content: space-between;
        }
    }
    .counter{
        gap: 1em;
        padding: 0px 1em;


        > div:nth-child(2){
            display: none;
        }
        > div{
            width:50%;
            gap: 1em;
        }
        p{
            line-height: 1.3;
        }
    }
    .carousel-btn{
        top:23%;
    }
    .buybox-wrapper{
        gap:1em;

        h3{
            padding-top: 1em;
            font-size: 2rem;
        }
    }
    .buybox-images{
        padding: 0 1em 2em 1em;
        margin-top: 0px;
        gap: 1em;

        p{
            line-height: 1.3em;
        }
    }

    .veredelungen-etiketten{
        grid-template-columns: repeat(1, minmax(0, 1fr));

        h3, h2{
            padding-top: 0;
            font-size: 2rem!important;
        }
        .wp-block-media-text.is-image-fill-element>.wp-block-media-text__media{
            height: 100%;
            min-height: 200px;
            position: relative;
            max-height: 200px;
        }
        > .wp-block-media-text {
            min-height: auto;
        }
    }

    .ueber-etivera-gallery-grid{
        display: grid!important;
        grid-template-columns: repeat(2, minmax(0, 1fr))!important;

        img {
            aspect-ratio: 1!important;
        }
        p,
        p.has-medium-font-size{
            line-height: 1.3!important;
            font-size: 1.1rem!important;
        }
    }
    .button-ansprechpartner-links a.wp-block-button__link.wp-element-button {
        padding-top: 6px!important;
        padding-right: 18px!important;
        padding-bottom: 6px!important;
        padding-left: 18px!important;
    }

    .seperator-cover{
        margin-top: 0;
        padding-top: 60px;
        padding-right: 20px;
        padding-bottom: 40px;
        padding-left: 20px;
        min-height: auto;
        aspect-ratio: unset;
        max-height: 410px;

        h2{
            text-transform: none;
        }
    }

    .ansprechpartner-wrapper{
        margin-top: 3rem;

        .wp-block-button__link{
            padding-top: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            padding-left: 10px;
        }
    }

    .mobile-hr-dn{
        height:20px!important;
    }

    .ueber-uns-hero {
        h1 {
            font-size: 3rem!important;
            line-height: 1;
        }
    }
    header.is-scrolled > div {
        padding-right: 0 !important;
    }
    .mobile-kontakt-anfahrt .wp-block-media-text__content{
        padding-left: 0;
    }

    .buybox-images .wp-block-button__link{
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .mobile-reverse{
        flex-direction: column-reverse;
    }
    .downloads-wrapper a.wp-block-button__link{
        padding-top: 10px!important;
        padding-bottom: 10px!important;
        padding-left: 20px;
        padding-right: 20px;
        min-width: 100px;
    }

    .veredelungen-etiketten.maschinen .wp-block-media-text__content{
        padding-bottom: 2em;
    }

    .maschinen-first{
        min-height: fit-content !important;
    }
    body.page-id-697{
        .veredelungen-etiketten {
            h3, h2 {
                padding-top: 0;
                font-size: 1.5rem !important;
            }
        }
    }
    .offcanvas-body {
        .language-switcher-offcanvas {
            top: 24px;
        }
    }

    .subkategorie-box{
        grid-template-columns: repeat(1, minmax(0, 1fr));

        .wp-block-image img {
            height: 200px;
            width: auto;
        }
        h3{
            font-weight: 600;
            font-size: 1.5rem;
        }
    }
    .ansprechpartner-wrapper p {
        hyphens: auto;
        word-break: break-word;
        line-height: 1.2em;
    }

    .seperator-cover{
        margin-top: 0!important;
        padding-top: 0!important;
        padding-right: 0!important;
        padding-bottom: 0!important;
        padding-left: 0!important;
        min-height: 370px!important;
    }

    .seperator-cover.wp-block-cover.is-position-center-right {
        justify-content: center;
    }
    .ansprechpartner-wrapper .wp-block-group.is-layout-grid{
        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: 2rem;
            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 {

        &: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;
        aspect-ratio: 1;
        object-fit: cover;
    }
    .timeline-box-wrapper {
        > div, img {
            width: 100%;
        }
    }

}





@media (min-width: 480px) and (max-width: 768px){
    .subkategorie-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .subkategorie-box {
        .wp-block-image img {
            height: 220px;
            width: auto;
        }
        figure{
            aspect-ratio: 1;
        }
    }
    .offcanvas-content-area nav.wp-block-navigation:first-child {
        li a {
            font-size: 2rem;
        }
    }

    .scroll-kat-box .wp-block-image img {
        max-width: 160px;
    }
    .scroll-kat-box {
        min-width: fit-content;
    }

    .highlight-boxen{
        .wp-block-image img {
            max-width: stretch!important;
        }
    }



    .highlight-boxen {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .ansprechpartner-wrapper .wp-block-group.is-layout-grid{
        grid-template-columns: repeat(3, 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){
    .offcanvas-body {
        .language-switcher-offcanvas {
            position: absolute;
            display: flex;
            justify-content: flex-end;
            top: 20px;
            width: 100%;
            right: 40px;
        }
    }

    .highlight-boxen {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .ansprechpartner-wrapper .wp-block-group.is-layout-grid{
        grid-template-columns: repeat(4, 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){

    header.is-scrolled > div{
        padding-left: 0!important;
        padding-right: 0!important;
    }




    .veredelungen-etiketten > .wp-block-media-text:hover figure img,
    .box-etiketten-last:hover figure img{
        transform: scale(1.1);
        transition: 250ms ease-in-out;
    }
    .offcanvas-body {
        .language-switcher-offcanvas {
            position: absolute;
            display: flex;
            justify-content: flex-end;
            top: 20px;
            width: 100%;
            right: 40px;
        }
    }
    .wp-block-site-logo {
        position: relative;

        a{
            /* height: auto;
             position: absolute;
             left: 0;
             top: -50px;
             width: 200px;*/
        }
    }
    .is-scrolled .wp-block-site-logo {
        a{
            position: relative;
            left: 0;
            top: 0px;
        }
    }
    .navi-mobile-small{
        display: none;
    }
    .wp-block-site-logo{
        display: block;
    }
    body.home main {
    }
    .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;
            }
        }
    }
    .offcanvas-body .wp-block-navigation-item.current-menu-item:after{
        background: var(--wp--preset--color--white);
    }

    .offcanvas-body .wp-block-navigation-item.current-menu-item:hover:after{
        width: 100%;
        height: 3px;
        bottom: -3px;
        left: 0;
        cursor: pointer;
    }
}

@media (min-width: 1800px){

}
body.page header.is-scrolled .doublemenu-wrapper #ocbOffCanvas-2 .showButton span svg {
    color: var(--wp--preset--color--accent-3)!important;
    transition: all 0.3s ease;
}






/* Der Slider selbst */
.shopthelook-wrapper {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Versteckt Scrollbalken (Firefox) */
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0 !important;
}
.shopthelook-wrapper::-webkit-scrollbar {
    display: none; /* Versteckt Scrollbalken (Chrome/Safari) */
}

/* DIE EINZELNEN BOXEN */
.shopthelook-box {
    flex: 0 0 100% !important; /* Jede Box ist exakt 100% breit */
    width: 100% !important;
    margin-right: 0 !important; /* Kein Abstand, da sie bündig abschließen */
    box-sizing: border-box;
    padding: 0;
}



