/* Intro Video */

/* .noTouch #introVideo {
	position: absolute;
    top: 0px;
    left: 0px;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    z-index: -1000;
    overflow: hidden;
} */


#homeBoxesGroup01{
    flex-direction: column;
}

#homeBoxesGroup02{
    justify-content: flex-end;
}


#homeBoxesCol01{
    order: 2;
}

#homeBoxesCol02{
    order: 1;
}

#homeBoxesCol03{
    order: 3;
}

#newsBox{
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#linkBox{
    overflow: hidden;
    order: 5;
}

#userBox{
    overflow: hidden;
    order: 3;
}

#overviewBox{
    overflow: hidden;
    order: 1;
}

#progressBox{
    overflow: hidden;
    order: 2;
    width: 100%;
}

#calendarBox{
    overflow: hidden;
    order: 4;
}

#homeFooter{
    display: flex;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: var(--naviSize);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(var(--colUIBack04),0.65);
    /* margin-top: 0.5em; */
    padding: 0px 2em;
    border-color: rgba(var(--colUIText03),0.2);
    border-width: 1px 0px 0px 0px;
    border-style: solid;
    z-index: 1;
}

.homeFooterTALogo {
    width: 8em;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.homeFooterImpressum {
    font-size: 0.85em;
    font-weight: 300;
    white-space: nowrap;
    }



/* .guestIntro{
    width: 100%;
    height: 100%;
    position: relative;
    flex-direction: column;
    padding: 8em;
    transition: opacity 0.5s ease;

} */

.guestIntro{
    width: 100%;
    height: 100%;
    position: relative;
    flex-direction: column;
    --contentPadding: 5%;
    gap: calc(2em + 3%);
    transition: opacity 0.5s ease;

}

    .guestIntro__images{
        display: flex;
        flex-direction: column;
        gap: 1em;
        max-width: 26em;
        margin: var(--contentPadding);
    }

    .guestIntro__imgGrp{
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
        top: 0px;
        left: 0px;
        overflow: visible;
        filter: drop-shadow(2px 3px 6px rgb(var(--boxShadow)));
    }

    .guestIntro__imgPic{
        width: 100%;
        height: auto;
    }

    .guestIntro__imgMarker{
        position: absolute;
        fill: rgb(var(--colAccent01));
        width: 30%;
        height: auto;
    }

    .guestIntro__imgText{
        font-size: 1.6em;
        font-weight: 600;
        color: rgb(var(--colAccent01));
        position: absolute;
        filter: drop-shadow(0px 0px 10px rgb(var(--colUIBack04)));
        flex-shrink: 0;
    }


    .guestIntro__callToAction{
        max-width: 32em;
        width: 100%;
        flex-shrink: 0;
    }

    .guestIntro__headline{
        margin: 0px;
        margin-bottom: 0.5em;
        font-weight: 400;
    }

    .guestIntro__text{
        margin-bottom: 1em;
        -moz-hyphens: none;
        -o-hyphens: none;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
    }


/* -------------------- ModuleInfo-Box ---------------------------*/

.homeBox__moduleInfo{
}

/* -------------------- User-Box ---------------------------*/

.homeBox__userData{
    font-size: 1.2rem;
    /* margin: 0.5em; */
}

/* -------------------- Statistic-Box ---------------------------*/

.homeBox__progress{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/*  -------------------- NEWS-BOX ----------------------- */

.newsList{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.newsList.accord__content--open{
    overflow: auto;
}

.news{
    width: 100%;
    overflow: hidden;
    border-radius: 0.5em;
}

.infoBox--closed>.infoBox__content>.news{
        height: 0px;
}


.news__header{
    height: 3em;
    width: 100%;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    /* font-size: 0.9em; */
    justify-content: space-between;
    align-items: center;
    padding: 0px 0.6em;
    background-color: rgb(var(--colUIBack02));
    cursor: pointer;
}

/* .infoBox__header--newMessage{
    background-color: rgb(var(--colAccent01));
} */

.noTouch .news__header:hover{
    filter: brightness(1.2) saturate(0.9);
}

:not(.news__header--unread)>.news__title{
    color: rgb(var(--colUIText01));
}

.news__header--unread{
    background-color: rgb(var(--colAccent01));
    color: rgb(250,250,250);
    font-weight: 400;
}



.news__content{
    width: 100%;
    padding: 0px 1em;

}

    .news__content--mainText{}

    .news__content--detailHeadline{
        color: rgb(var(--colAccent01));
        font-weight: 500;
        margin: 0.5em 0px;
        cursor: pointer;
    }

        .news__content--detailHeadline::before{
            content: "•";
        }

        .noTouch .news__content--detailHeadline:hover{
            filter: brightness(1.2)
        }

    .news__content--detailText{
        background-color: rgb(var(--colBG));
        padding: 0.5em;
    }

    .news__content--detailIcon{
        font-weight: 500;
    }


.news__date{
    font-size: 0.8em;
}

.news__footer{
    display: flex;
    /*justify-content: space-between; --- wieder aktiv setzen, wenn Nachrichten Löschen funzt */
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 2em;
    padding: 0.5em;
    background-color: rgba(var(--colUIBack03),0.8);
}

.news__footer_icon{
    height: calc(var(--naviSize) / 2.5);
    flex-shrink: 0;
    padding: 0.2em;
    margin: 0.2em;
    cursor: pointer;
}

.noTouch .news__footer_icon:hover{
    background-color: rgb(var(--colUIBack04));
}





.splash{
}

    .splash__content{
        display: flex;
        flex-direction: column;
    }


    .splash__logo {
        max-width: 18em;
        margin: 0px -1em;
        }

    .splash__text{
        max-width: 45em;
        font-size: 1.2em;
        line-height: calc(var(--lineHeight) * 1.1);
        margin-top: 0.5em;
        hyphens: none;
        }

    .splash__button{
        width: 10em;
        margin-top: 2em;
    }





    .splash__row{
        display: flex;
        align-items: center;
        flex-direction: row;
        flex-flow: row wrap;
        margin: 0.5em 0px;
    }

    .splash__headline{
        margin: 0px;
        margin-top: 1em;
        font-size: 1.6em;
    }

    .splash__footer{
        display: flex;
        justify-content: space-between;
        font-size: 0.8em;
    }

        .splash__footer>p,
        .splash__footer>div>*{
            color: rgba(var(--colUIText03),0.5)
        }


@media (pointer: coarse){

    .splash__text{
        font-size: 1em;
        line-height: calc(var(--lineHeight) * 1.2);
    }
}


@media (orientation: portrait){

     .splash__text{
        color: rgb(var(--colUIText01));
    }

    .splash{
        width: 100%;
    }

    #boxedTAMap, #willkommen{
    --backgroundImage: var(--welcomeBG_V);
    --backgroundPosition: bottom right;
    }

    .guestIntro__imgMarker{
        width: 25%;
    }

    .guestIntro__imgGrp--01>.guestIntro__imgMarker{
        top: -1%;
        left: 23%;
    }

    .guestIntro__imgGrp--02>.guestIntro__imgMarker{
        top: -3%;
        left: -4%;
    }

    .guestIntro__imgGrp--01>.guestIntro__imgText{
        top: 25%;
        left: 35%;
    }

    .guestIntro__imgGrp--02>.guestIntro__imgText{
        top: 20%;
        left: 15%;
    }
}

@media (orientation: landscape){


    .guestIntro__imgGrp--01>.guestIntro__imgMarker{
        top: 27%;
        left: -1%;;
    }

    .guestIntro__imgGrp--02>.guestIntro__imgMarker{
        top: -6%;
        left: -1%;
    }

    .guestIntro__imgGrp--01>.guestIntro__imgText{
        top: 55%;
        left: 16%;
    }

    .guestIntro__imgGrp--02>.guestIntro__imgText{
        top: 13%;
        left: 29%;
    }

}


@media (max-device-height: 895px) and (orientation: portrait) and (pointer: coarse){

    .splash__button{
        width: 100%
    }
}

@media (min-width: 80em) and (orientation: landscape) and (pointer: fine){


    .splash{
        width: 50%;
    }

}


@media (orientation: landscape) and (pointer: coarse){

    .splash__logo {
        max-width: 40%;
    }
}


@media (min-width: 38em){

    .guestIntro{
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .guestIntro__button{
        max-width: 17em;
    }

    .guestIntro__images{
        position: relative;
        gap: unset;
        width: 70%;
        max-width: 26em;
        max-height: 0;
        min-height: calc(50%* 1 / 1.4);
        aspect-ratio: 1.4;
        margin: calc(100vw / 17);
    }

    .guestIntro__callToAction{
        font-size: 1.2em;
    }

    .guestIntro__imgText{
        font-size: calc((100dvw + 100dvh) / 115);
    }

    .guestIntro__imgGrp--02{
        transform: translate(-20%, -20%);
    }

    .guestIntro__imgGrp--01{
        transform: translate(0px, -100%);
        margin-top: 15%;
        margin-left: 20%;
    }

}



@media (min-width: 38em) and (max-height: 54em){


    .guestIntro{
        flex-direction: row;
    }

    .guestIntro__callToAction {
        max-width: 45%;
        align-self: end;
        margin-bottom: unset;
        font-size: 1.1em;
    }

    .guestIntro__images{
        align-self: flex-start;
        max-width: 33%;
    }

}

/*------------------------------------------------------------------ BOXEN -----------------------------------------------*/

@media (min-width: 48em) {

    .guestIntro{
        --contentPadding: 2em;
    }

    #progressBox>.infoBox__content{
        display: flex;
        flex-direction: row;
    }

    #homeBoxesCol01{
        order: 2;
    }

    #homeBoxesCol02{
        order: 1;
    }

    #homeBoxesCol03{
        order: 3;
    }



}

@media (min-width: 70em){

    #homeBoxesCol01 {
        flex-wrap: nowrap;
    }


}



@media (min-width: 80em) and (orientation: portrait){

    #homeBoxesCol03{
        min-height: calc(100vh - var(--naviSize) * 3);
    }
}


@media (min-width: 120em){

    #homeBoxesCol01 {
        order: 2;
        /* flex-wrap: nowrap; */
    }


}


@media (min-width: 80em){

    .guestIntro__callToAction {
        width: 45%;
        align-self: flex-end;
        font-size: 1.4em;
    }

    .guestIntro{
        flex-direction: row;
        align-items: center;
    }

    .guestIntro__images{
        max-width: 33em;
    }

    #homeBoxesGroup02{
        height: 0px;
        min-height: 100%;
    }

    #homeBoxesCol01 {
        order: 2;
        flex-wrap: wrap;
    }

    #homeBoxesCol02 {
        order: 1;
        height: fit-content;
    }

    #homeBoxesCol03{
        max-width: 48em;
        min-height: calc(100vh - var(--naviSize) * 2);
    }


}


@media (min-width: 80em) and (min-height: 64em){

    .guestIntro{
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .guestIntro__images{
        margin-right: unset;
        width: 40%;
    }

    .guestIntro__callToAction{
        align-self: unset;
        width: unset;
    }

}