/*-----------------------------------------------------------------------------< Colors >---*/

:root{
    --standard: #878787;
    --red: #cf043c;
}

header > .inside{
    box-sizing: content-box;
    width:calc(100% - 2rem);
    max-width:1100px;
    margin:0 auto;
}

header > .inside,
main .mod_article:not(.fullWidth) > .inside{
    padding:0 1rem;
}

main .mod_article:not(.fullWidth) > .inside{
    box-sizing: content-box;
    width:calc(100% - 2rem);
    max-width:850px;
    margin:0 auto;
}

/*-----------------------------------------------------------------------------< Dimensionen >---*/

/*-----------------------------------------------------------------------------< Header >---*/

header{
    height:20vw;
    max-height:250px;
    min-height:180px;
}

#logo{
    width:30%;
    max-width: 300px;
    min-width:275px;
    height:0;
    padding-bottom:12.64%;
    position:relative;
}

#logo a{
    position:absolute;
    inset:0;
    background-image:url('../img/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}

@media screen and (min-width:950px){
    header > .inside{
        display:flex;
        justify-content: flex-start;
        align-items: center;
        height:100%;
    }
    nav.menuMain{
        padding-left:3rem;
    }
}

/*-----------------------------------------------------------------------------< Menü >---*/

nav a,
nav strong{
    text-decoration:none;
    color:inherit;
    display:block;
    padding:0 .7rem .2rem .7rem;
    font-weight:400;
}

@media screen and (min-width:950px){
    nav.menuMain ul{
        display:flex;
    }

    #button{
        display:none;
    }

    nav.menuMain a,
    nav.menuMain strong{
        text-transform:uppercase;
        padding-top:2.4rem;
    }

    nav.menuMain strong{
        border-bottom:2px solid var(--red);
    }
}

@media screen and (max-width:949px){

    header > .inside{
        display:flex;
        height:100%;
        align-items: center;
        justify-content: center;
    }

    #logo{
        height:115px;
        padding:0;
    }

    #button,
    nav.menuMain{
        position:absolute;
        z-index:1;
        background-color:var(--red);
        color:#fff;
        top:calc(20vw + 5px);
    }

    #button{
        transition:color .2s;
    }

    nav.menuMain{
        left:0;
        right:0;
        max-height:0;
        overflow:hidden;
        transition:max-height .2s;
    }

    nav.menuMain.open{
        max-height:350px;
    }

    nav.menuMain ul{
        padding:5rem 0 2rem;
    }

    nav.menuMain ul li{
        text-align:center;
    }

    nav.menuMain li > a,
    nav.menuMain li > strong{
        display:inline-block;
        text-transform: uppercase;
        font-size:1.2rem;
        padding:0 .7rem .5rem .7rem;
    }

    nav.menuMain li:not(:last-child) > a,
    nav.menuMain li:not(:last-child) > strong{
        border-bottom:1px solid #fff;
        margin-bottom:.5rem;
    }

    #button{
        padding:0 calc(1rem + 15px) 0 1rem;
        transform:translateX(-50%);
        left:50%;
        z-index:2;
        display: flex;
        align-items: center;
        cursor:pointer;
    }

    #button.is-active{
        color:#fc4e7e;
    }

    #button > span{
        margin-top:-4px;
    }

    @media screen and (max-width:900px){
        nav.menuMain,
        #button{
            top:185px;
        }
    }
}






/*-----------------------------------------------------------------------------< Full Width >---*/

main p:not(:last-child),
main ul:not(:last-child){
    margin-bottom:1.2rem;
}

.mod_article.fullWidth{
    width:100%;
    padding:0;
    overflow:hidden;
}

.mod_article.fullWidth .ce_image,
.explicit .person,
#maps{
    border-top:5px solid var(--red);
}   

#maps{
    max-height:620px;
    min-height:450px;
    height:35vw;
    position:relative;
    overflow:hidden;
    width:100%;
}



@media screen and (min-width:950px){
    .mod_article.fullWidth .ce_image .image_container{
        max-height:620px;
        min-height:450px;
        height:35vw;
        position:relative;
        overflow:hidden;
    }
    
    .mod_article.fullWidth .ce_image .image_container picture{
        position:absolute;
        transform:translate(-50%, -50%);
        left:50%;
        top:50%;
    }
}

@media screen and (max-width:949px){
    .mod_article.fullWidth .image_container img{
        width:100%;
        height:auto;
    }
}





/*-----------------------------------------------------------------------------< Main >---*/

main > .inside .mod_article{
    margin-bottom:5rem;
}

.mod_article > .inside,
.ce_text{
    text-align: center;
}

main .ce_text{
    margin-bottom:3rem;
}

.ce_text p,
.ce_text ul{
    text-align: left;
}

.ce_text ul{
    list-style-type:disc;
    margin-left:1.4rem;
}

.ce_text ul li:not(:last-child){
    margin-bottom:.4rem;
}

h1,
h2,
h3,
.h3{
    padding:0 1rem .5rem 1rem;
    border-bottom:2px solid var(--red);
    display:inline-block;
    margin-bottom:1em;
}

.ce_colStart.stretch{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

.ce_hyperlink{
    text-align:left;
    margin-top:3rem;
}

.btn > a{
    padding: .5rem;
    background-color:var(--red);
    text-decoration:none;
    color:#fff;
}

main a{
    color:inherit;
}

form input.text,
form textarea{
    border:1px solid var(--red);
    padding:7px 8px;
    width:100%;
}

form textarea{
    resize: vertical;
}

form button.submit{
    color:#fff;
    background-color:var(--red);
    border:1px solid var(--red);
    padding:7px 8px;
    cursor:pointer;
}

form label{
    display:block;
    text-align:left;
    font-size:.8rem;
}

form .widget-submit{
    text-align: left;
}

form fieldset.checkbox_container > span{
    display:flex;
    align-items: flex-start;
}

form fieldset.checkbox_container > span > input{
    margin:.2rem .5rem 0 0;
}

form .widget:not(:last-child){
    margin-bottom:1rem;
}

form .widget > label{
    margin:0 0 5px 9px;
}

/*-----------------------------------------------------------------------------< Footer >---*/

footer{
    background-color:var(--red);
    color:#fff;
}

footer nav ul{
    display:flex;
    justify-content: center;
}

footer nav{
    padding:1rem 0;
}

footer nav strong{
    border-bottom:2px solid #fff;
}

/*-----------------------------------------------------------------------------< Team >---*/

.short{
    padding-top:3rem;
}

.short > .inside{
    display:flex;
    /* justify-content: space-between; */
    justify-content: center;
    gap:var(--grid__gutter);
}

.short div[class^='person']{
    width:220px;
    cursor:pointer;
}

.short .img{
    border-radius:50%;
    overflow:hidden;
    margin-bottom:2rem;
}



/* .vita table{
    font-size:.7rem;
} */

.vita table tr:not(:last-child) td{
    padding-bottom:.5rem;
}

.vita table td:first-child{
    font-weight:700;
    padding-right:1rem;
}

.vita .position{
    margin-bottom:1rem;

}




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

    /* section.team{
        height:625px;
        position:relative;
        overflow:hidden;
    }

    .explicit div[class^='person']{
        position:absolute;
        top:0;
        left:0;
        right:0;
        border-top:5px solid var(--red);
        clip-path: circle(0px at 0 0);
        transition:clip-path .5s;
    }

    .explicit div[class^='person'].open{
        clip-path: circle(100% at 50% 50%);
    }
    
    .explicit .inside{
        position:absolute;
        top:0;
        left:0;
        right:0;
    }
    
    .vita{
        position:absolute;
        width:400px;
        top:0;
        left:0;
        padding:2rem 1rem;
        background-color:#f2f2f2;
    }
    
    .right .vita{
        right:0;
        left:auto;
    }

    */

    div[class^=person] .close{
        position:absolute;
        height:30px;
        width:30px;
        top:1rem;
        right:1rem;
        cursor:pointer;
    }
    
    div[class^=person] .close:before,
    div[class^=person] .close:after{
        position:absolute;
        content:"";
        top:calc(50% - 1px);
        display:block;
        width:30px;
        height:2px;
        background-color: var(--red);
        transform-origin: center;
    }
    
    div[class^=person] .close:before{
        transform:rotate(45deg);
    }
    
    div[class^=person] .close:after{
        transform:rotate(-45deg);
    }

    .explicit > div{
        display:none;
    }

    .explicit:has(.open){
        margin-top:5rem;
    }

    main > .inside .mod_article:has(.open){
        margin-bottom:0;
    }

    .explicit > div.open{
        border-top:5px solid var(--red);
        display:block;
    }

    .explicit .person_1.open + .person_2.open > .inside,
    .explicit .person_1.open + .person_2:not(.open) + .person_3.open > .inside,
    .explicit .person_1:not(.open) + .person_2.open + .person_3.open > .inside{
        order: -1;
    }

    .explicit > div.open{
        display:grid;
        grid-template-columns: 1fr 1fr;
    }

    .explicit .img img{
        width:100%;
        height:auto;
    }

    .explicit > div > .inside{
        position:relative;
    }

    .explicit .vita{
        position: absolute;
        transform:translate(-50%, -50%);
        top:50%;
        left:50%;
        width:80%;
    }

}

@media screen and (max-width:767px){

    .short{
        display:none;
    }

    .vita{
        position: relative;
        top:-1rem;
        margin-bottom:3rem;
    }

    .vita .h3{
        padding:.5rem 1rem;
        background-color:#fff;
    }

    .vita table{
        margin:0 1rem;
        width:calc(100% - 2rem);
    }

    .vita table td:first-child{
        width:33.333%;
    }

}





/*---------------------------------------------------------------------< Menü-Button >---*/

/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
    padding: 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}
.hamburger:hover {
    opacity: 0.7;
}
.hamburger.is-active:hover {
    opacity: 0.7;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::after,
.hamburger.is-active .hamburger-inner::before {
    /* background-color: #fff; */
    background-color:#fc4e7e;
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::after,
.hamburger-inner::before {
    width: 40px;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::after,
.hamburger-inner::before {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
.hamburger-inner::after {
    bottom: -10px;
}

.hamburger--collapse .hamburger-inner {
    top: auto;
    bottom: 0;
    transition-duration: 0.13s;
    transition-delay: 0.13s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--collapse .hamburger-inner::after {
    top: -20px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}
.hamburger--collapse .hamburger-inner::before {
    transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse.is-active .hamburger-inner {
    transform: translate3d(0, -10px, 0) rotate(-45deg);
    transition-delay: 0.22s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--collapse.is-active .hamburger-inner::after {
    top: 0;
    opacity: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}
.hamburger--collapse.is-active .hamburger-inner::before {
    top: 0;
    transform: rotate(-90deg);
    transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
} 