/* 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: 4;
}

#overviewBox {
    overflow: hidden;
    order: 3;
}

#progressBox {
    overflow: hidden;
    order: 1;
    width: 100%;
}

#calendarBox{
    overflow: hidden;
    order: 2;
}

#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(1em + 5%);
    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: 1rem;
    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;
}

.button.guestIntro__button {
    --fontWeight: 400;
    width: 100%;
}

/* -------------------- 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;
}

/* -------------------- Calendar-Box ---------------------------*/


.homeCalendar {
    --calendarSpacer: 2rem;
    --calendarContentUnits: 7;
    --calendarScaleAmount: 12;
    --scaleHeight: 10rem;  /*calc((var(--calendarScaleAmount)) * var(--calendarSpacer));*/
    --calendarLevel: (100 / 24) * 1;

    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.homeCalendar * {
    /* outline: 1px solid lightgray; */
}



.homeCalendar__settings {
    display: flex;
    justify-content: space-between;
}

.homeCalendar__pointer>* {
    display: flex;
    justify-content: space-between;
}

.homeCalendar__data {
    position: relative;
    display: flex;
    height: 100%;
    justify-content: space-between;
}

.homeCalendar__gridWrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--calendarSpacer) 0;
}

.homeCalendar__grid {
    height: 100%;
    width: 100%;
    display: flex;
    padding-left: 1em;
    flex-direction: column-reverse;
    justify-content: space-between;
    /* overflow: hidden; */
}

.homeCalendar__gridLine {
    height: 0;
    flex-grow: 1;
    display: flex;
    position: relative;
    align-items: flex-end;
    justify-content: flex-start;
    border-bottom: 1px dashed rgba(var(--colUIBack02));
    color: rgba(var(--colUIText03), 0.7);
    font-size: 0.8em;
    /* transform: translate(0px, -50%); */
}

.homeCalendar__gridLineNumber{
    position: absolute;
    left: -1.75em;
    top: 1.4em;
    text-align: center;
    width: 1.5em;
}

.homeCalendar__grid>:nth-child(2){
    border-bottom: 1px solid rgba(var(--colUIBack02));
}

.homeCalendar__level {
    position: absolute;
    width: 100%;
    pointer-events: none;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.homeCalendar__levelWrapper {
    position: relative;
    height:100%;
    width: 100%;
    overflow: hidden;
}

.homeCalendar__levelDaily {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgb(var(--colAccent03));
}

.homeCalendar__content,
.homeCalendar__unit{
    list-style: none;
    padding: 0;
    margin: 0;
}

.homeCalendar__content {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-left: 0.5em;
    scroll-snap-type: both mandatory;
    scrollbar-width: none;
    z-index: 1;
}

.homeCalendar__content ::-webkit-scrollbar {
    display: none;
}

.homeCalendar__contentUnit {
    width: 0;
    flex-grow: 1;
    height: 100%;
    overflow: hidden;
    scroll-snap-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.homeCalendar__contentTitle,
.homeCalendar__contentFooter {
    height: var(--calendarSpacer);
    display: flex;
    column-gap: 0.25em;
    width: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-wrap: nowrap;
    text-align: center;
    text-align: center;
    font-size: 0.8em;
}



.homeCalendar__contentBarWrapper {
    height: 100%;
    width: 50%;
    background: rgba(var(--colUIBack02), 0.25);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}

.homeCalendar__contentBarWrapper:hover {
    background: rgba(var(--colUIBack02), 0.5);
}

.homeCalendar__contentBar {
    background: rgb(var(--colAccent01));
    width: 100%;
    transition: height 1s ease-in-out;
    border-radius: 0.25em 0.25em 0 0;
    /* width: var(--calendarSpacer); */
}

.homeCalendar__contentBar:hover {
    background: rgb(var(--colAccent02));
}

/*  -------------------- 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: 2.5em;
    font-size: 0.9em;
    width: 100%;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    /* font-size: 0.9rem; */
    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,
    #statistics {
        --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: space-evenly;
        overflow: hidden;
    }

    .button.guestIntro__button {
        width: unset;
        font-size: 1.2rem;
    }

    .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;
        --contentPadding: 3%;
        gap: calc(1em + 3%);
    }

    .guestIntro__callToAction {
        max-width: 50%;
        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) {
    .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;
        height: calc(100vh - var(--naviSize) * 2);
    }
}

@media (min-width: 80em) and (orientation: portrait) {
    #homeBoxesCol03 {
        height: calc(100vh - var(--naviSize) * 3);
    }
}

@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;
    }
}

@media (min-width: 120em) {
    #homeBoxesCol01 {
        order: 2;
        /* flex-wrap: nowrap; */
    }
}