/*
 * Theme Name: vovovo
 * Description: Ein modernes Wordpress-Theme für eine moderne Unternehmung.
 * Author: Studio Tillack Knöll, Sven Tillack
 * Author URI: https://www.studiotillackknoell.com
 * Version: 1.0
 * Theme URI: www.studiotillackknoell.com

*/

html { height: 100%; overflow:auto; }
body { height: 100%; }

main {
    overflow-y: scroll;
    scroll-behavior: smooth;
    counter-reset: packages;

}

p:empty {
    display: none;
}

nav ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0px;
    margin: 0px;
    height: 100vh;
    background: white;
}

nav ul li {
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr; 
    list-style: none;
    flex: 1;
    width: 50px;
}

    @media (min-width: 1200px) and (max-height: 760px) {
        nav ul li {
            width: 80px;
        }
    }

nav ul li a {
    padding: 10px;
    width: 100%;
    display: block;
    text-decoration: none;
    opacity: 1;
    transition: .2s opacity ease;
}

    nav ul li a:hover {
        opacity: .8;
    }

nav ul li:first-of-type a {
    color: var(--white);
    background: #272727;
}

nav ul li:nth-of-type(2) a {
    background: var(--darkgreen);
    color: var(--white);

}

nav ul li:nth-of-type(3) a {
    background: var(--midgreen);

}

nav ul li:nth-of-type(4) a {
    background: var(--lightgreen);
}

nav ul li:nth-of-type(1) a {
    color: var(--darkgreen);
}

nav ul li:nth-of-type(2) a,
nav ul li:nth-of-type(3) a,
nav ul li:nth-of-type(4) a {
    color: var(--black);

}

header,
main {
    margin-left: calc(100vw / 12);
}

main {
    padding-bottom: calc( 2 * var(--gutter) );
}

section:not(:last-of-type(section)) {
    padding-bottom: calc( 3 * var(--gutter) );
}

section {
    padding: calc( 2 * var(--gutter) ) 0;
}

footer {
    height: 100vh;
    width: 100vw;
    background: var(--darkgreen);
    display: flex;
    justify-content: center;
}

    @media (max-width: 1024px) {
        section {
            padding: calc( .5 * var(--gutter) ) 0 var(--gutter) 0;
        }

        footer {
            padding-left: calc(100vw / 12 + 20px);
        }
    }

    .footer__content {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .footer__content ul {
        display: flex;
        list-style: none;
        flex-direction: row;
        gap: calc( .5 * var(--gutter) );
        padding: var(--gutter) 0 0 0;
    }

    @media (min-width: 1025px) {
        .section__lottie.is-small {
            width: calc(100vw / 12 * 4);
            height: calc(100vw / 12 * 4);
        }

        .section__lottie.is-small:not(footer .section__lottie.is-small) {
            margin-left: calc( 100vw / 12 * 3);
        }
        
        .section__lottie.is-medium {
            width: calc(100vw / 12 * 6);
            height: calc(100vw / 12 * 6);
            margin-left: calc( 100vw / 12 * 2);
        }
        
        .section__lottie.is-big {
            width: calc(100vw / 12 * 10);
            height: calc(100vw / 12 * 10);
        }
        
    }

.section__copy {
    width: calc(100vw / 12 * 8);
}

    @media (max-width: 1024px) {
        .section__copy {
            width: calc(100vw / 12 * 10);
        }        
    }

    .section__copy p {
        display: inline-block;
        width: calc(100% - 50px);
    }

    .section__copy.has-arrow-none p {
        width: 100%;
    }

    .section__copy.has-arrow-down::before {
        content: '\2193';
        display: inline-block;
        margin-right: 10px;
        width: 32px;
        height: 32px;
        background: var(--darkgreen);
        text-align: center;
        border-radius: 16px;
        vertical-align: top;
    }

    .section__copy.has-arrow-left::before {
        content: '\2190';
        display: inline-block;
        margin-right: 10px;
        width: 32px;
        height: 32px;
        background: var(--darkgreen);
        text-align: center;
        border-radius: 16px;
        vertical-align: top;
    }

    .section__copy.has-arrow-right::before {
        content: '\2192';
        display: inline-block;
        margin-right: 10px;
        width: 32px;
        height: 32px;
        background: var(--darkgreen);
        text-align: center;
        border-radius: 16px;
        vertical-align: top;
    }

    .section__copy.has-arrow-up::before {
        content: '\2191';
        display: inline-block;
        margin-right: 10px;
        width: 32px;
        height: 32px;
        background: var(--darkgreen);
        text-align: center;
        border-radius: 16px;
        vertical-align: top;
    }

    @media (max-width: 1024px) {
        .section__copy.has-arrow-down::before,
        .section__copy.has-arrow-up::before,
        .section__copy.has-arrow-left::before,
        .section__copy.has-arrow-right::before {
            padding-top: 3px;
        }
    }

    @media (max-width: 768px) {
        .section__copy.has-arrow-down::before,
        .section__copy.has-arrow-up::before,
        .section__copy.has-arrow-left::before,
        .section__copy.has-arrow-right::before {
            padding-top: 4px;
        }
    }

    .has-arrow-none-but-space::before {
        content: ' ';
        display: inline-block;
        width: 42px !important;
        height: 32px !important;
    }

    .section__copy.has-arrow-none-but-space p {
        width: calc(100% - 50px);
    }

.section__anreisser {
    width: calc(100vw / 12 * 10);
} 

    .is-right {
        display: flex;
        justify-content: flex-end;
    }

    @media (min-width: 1025px) {
        .section__anreisser p {
                width: calc(100vw / 12 * 9);
            }
    }

    @media (min-width: 1441px) {
        .section__anreisser p {
                width: calc(100vw / 12 * 6);
            }
    }


.section__personen {
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
}

.personen--single {
    display: flex;
    flex-direction: row;
    background: var(--darkgreen);
    border-radius: var(--radius);
    width: calc(100vw / 12 * 10);
}

    .personen--single__infos {
        padding: calc( 0.5 * var(--gutter) );
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .personen--single__bild img {
        border-top-right-radius: var(--radius);
        border-bottom-right-radius: var(--radius);
    }

    .personen--single__infos,
    .personen--single__bild {
        flex: 1;
    }

    .personen--single__infos--top h4 + h4 {
        padding-top: calc( .5 * var(--gutter) );
    }


h1:not(header h1) {
    width: calc( 100vw / 12 * 9);
}

    @media (min-width: 1025px) {
        h1:not(header h1) {
            width: calc( 100vw / 12 * 7);
        }

        
    }

    @media (min-width: 1441px) {
        h1:not(header h1) {
            width: calc( 100vw / 12 * 5);
        }
    }

@media (max-width: 1024px) {
    .section__lottie {
        width: 100%;
        margin-left: 0;
        height: calc( 100vw / 12 * 11  + 40px);
    }

    header, main {
        margin-left: calc(100vw / 12 * 2);
    }

    .section__headline .asterisk--text,
    h1:not(header h1) {
        width: calc( 100vw / 12 * 10);
    }

    .section__headline .asterisk--text {
        padding-top: calc( .3 * var(--gutter) );
    }
    
    .personen--single {
        flex-direction: column-reverse;
    }

    .personen--single__bild img {
        border-top-right-radius: var(--radius);
        border-top-left-radius: var(--radius);
        border-bottom-right-radius: 0px;
    }
}

.section__packages {
    width: calc( 100% * 11 / 12 );
    position: sticky;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: normal;
} 

.section__packages--scroller {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: calc( .5 * var(--gutter) );
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
}
    /* @media (min-width: 1024px) {
        .section__packages--scroller {
            width: 100%;
        } 
    } */

    @media (max-width: 1024px) {
        .section__packages {
            width: 100%;
        } 

        .section__packages--scroller {
            gap: 15px;
        }

        .section__packages:nth-of-type(1) .section__packages--scroller {
            width: calc( 300% );
            padding-right: 20px;
            grid-template-columns: 1fr 1fr 1fr;
        } 

        .section__packages:nth-of-type(2) .section__packages--scroller {
            grid-template-columns: 1fr 1fr;
            width: calc( 200% );
            padding-right: 20px;


        }

        .section__packages:nth-of-type(3) .section__packages--scroller {
            grid-template-columns: 1fr;
            width: calc( 100% );
            padding-right: 20px;

        }
        
    }



.package--item {
    counter-increment: packages;
}

.package--item__header::before {
    content: "Package " counter(packages);
    display: block;
    text-align: center;
}

.package--item__header {
    padding: calc( 0.5 * var(--gutter) );
    background-color: var( --lightgreen );
    text-align: center;
    border-top-left-radius: calc( .5 * var(--radius) );
    border-top-right-radius: calc( .5 * var(--radius) );
}

.package--item__body {
    padding: calc( 0.5 * var(--gutter) );
    background-color: var(--darkgreen);
    border-bottom-left-radius: calc( .5 * var(--radius) );
    border-bottom-right-radius: calc( .5 * var(--radius) );
    hyphens: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

    .package--item__body--punkte {
        padding-top: calc( var(--gutter) );
    }

    .package--item__body--punkte ul {
        list-style: none;
        padding-left: 30px;
    }

    .package--item__body--punkte li {
        display: inline-block;
        width: calc( 100% - 40px );
    }

    .package--item__body--punkte li::before {
        content: '\25CF ';
        position: absolute;
        width: 30px;
        margin-left: -30px;
        color: white;
    }

.package--item__body--einleitung {
    margin-top: var(--gutter);  
}

.package--item__body--preis {
    margin-top: calc( .5 * var(--gutter) );
    text-align: center;
}

.package--item__body a {
    background-color: black;
    color: white;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-top: calc( .5 * var(--gutter) );
    border-radius: calc( 3 * var(--radius) );
    width: 100%;
    transition: .2s ease all;
}
   
    .package--item__body a span {
        width: 80%;
        margin-left: 10%;
        display: block;
    }

    .section__packages:nth-of-type(2) .package--item__body {
        background: black;
        color: var(--darkgreen);
    }

    .section__packages:nth-of-type(2) .package--item__body a {
        background: var(--darkgreen);
        color: black;
    }

    .package--item__sternchentext {
        padding-top: calc( .5 * var(--gutter) );
    }

.is-green {
    color: var(--darkgreen);
}

.section__akkordeon {
    width: calc(100vw / 12 * 9);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    @media (max-width: 1024px) {
        .section__personen,
        .section__anreisser,
        .section__akkordeon {
            width: calc( 100vw / 12 * 10 - 15px );
        }

        .personen--single {
            width: 100%;
        }
    }

.akkordeon--single {
    background-color: var(--midgreen);
}

    .akkordeon--frage {
        background-color: var(--darkgreen);
        cursor: pointer;
        transition: .2s ease all;
    }

    .akkordeon--frage:hover {
        background-color: var(--lightgreen);
    }

    .akkordeon--frage,
    .akkordeon--antwort__self,
    .akkordeon--antwort figcaption {
        padding: calc( .5 * var(--gutter) );
    }

    .akkordeon--antwort__self {
        display: block;
        position: relative;
    }

    .akkordeon--antwort img {
        width: 100%;
    }

    .akkordeon--single .akkordeon--frage h2 {
        position: relative;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
         -khtml-user-select: none; /* Konqueror HTML */
           -moz-user-select: none; /* Old versions of Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none;
    }

        @media (max-width: 1024px) {
            .akkordeon--single .akkordeon--frage h2 {
                padding-right: 50px;
                hyphens: auto;
            }
        }

    .akkordeon--single .akkordeon--frage h2::after {
        content: '\2193';
        margin-left: 0px;
        transition: .2s ease all;
        position: absolute;
        right: 0;
        width: 32px;
        height: 32px;
        background-color: white;
        border-radius: 16px;
        transition: all .2s ease;
        top: -3px;
        text-align: center;
        padding-top: 4px;
    }
    
    .akkordeon--single .akkordeon--frage:hover h2::after {
        background-color: var(--midgreen);
    }
    
    .akkordeon--single.is-active .akkordeon--frage h2::after {
        display: inline-block;
        margin-left: 20px;
        transform: rotate(180deg);
    }
    
    .akkordeon--single .akkordeon--antwort {
        overflow: hidden;
        height: 0px;
        transition: all .2s ease-in-out;
    }

    .akkordeon--single.is-active .akkordeon--antwort {
        overflow: visible;
        max-height: inherit !important;
        height: auto;
        transition: all .2s ease-in-out;

    }

a.is-button {
    margin-top: var(--gutter);
    padding: calc( 0.5 * var(--gutter));
    border-radius: calc( 2 * var(--radius) );
    color: var(--white);
    background-color: var(--black);
    text-decoration: none;
    transition: .2s ease all;
}

.package--item__body a:hover,
a.is-button:hover {
    background-color: var(--lightgreen);
    color: var(--black);
}

footer .section__lottie {
    margin-left: 0;
}

.kartenstapel--single {
    width: calc( 100vw / 12 * 5);
}

.karte--single {
    background-color: var(--darkgreen);
    padding: var(--gutter);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
}

    .karte--single:nth-of-type(2) {
        background-color: var(--midgreen);
    }

    .karte--single:nth-of-type(3) {
        background-color: var(--lightgreen);
    }

    .karte--single:nth-of-type(4) {
        background-color: var(--offwhite);
    }

    .karte--single__zitat {
        width: 66%;   
    }

    .karte--single__character {
        justify-content: flex-end;
        display: flex;
    }

    .karte--single__character img {
        height: 183px;
    }

@media (max-width: 1024px) {
    .kartenstapel--single {
        width: 66vw;
        overflow: hidden;
    } 
}

@media (max-width: 768px) {
    .kartenstapel--single {
        width: calc( 100vw / 12 * 10);
        overflow: hidden;
        margin-left: 0px;
    } 
}

.section__packages--mobile__helper {
    display: none;
}

.section__galerie {
    max-width: 50%;
}

@media (max-width: 1024px) {
    .section__packages--mobile__helper {
        display: block;
        position: absolute;
        animation: hover 2s infinite ease-in-out;
        margin-top: 150px;
        left: 20px;
        background-color: white;
        padding: 20px;
        border-radius: 40px;
        box-shadow: 3px 3px 3px rgba(128, 128, 128, .5);
    }

    .section__galerie {
        max-width: 66%;
    }
}

@media (max-width: 768px) {
    .section__galerie {
        max-width: 100%;
    }
}


@keyframes hover {
    0% {
        top: 0%;
    }

    50% {
        top: 50px;
    }

    100% {
        top: 0%;
    }
}

@keyframes opacity {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.section__headline:hover .asterisk--text {
    opacity: 1;

}

.swiper-button-prev, .swiper-button-next {
    width: 32px !important;
    height: 32px !important;
    background: white !important;
    border-radius: 16px;
    mix-blend-mode: difference;
    color: black !important;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: '';
}