.mainsection{
    height: 100vh;
    height: 100svh;
    padding: 5px;
    box-sizing: border-box;
    justify-content: end;
    background-color: rgba(0, 0, 0, 0.7);
}

.mainsectionvideo{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    object-fit: cover;
}

.section{
    min-height: 100vh;
    min-height: 100svh;
    background-size: cover;
}

.startbutton{
    text-decoration: none;
    color: white;
    font-size: calc(0.7rem + 0.7vw);
    font-weight: bold;
    padding: calc(0.5rem + 0.5vw);
    border-radius: calc(0.2rem + 0.2vw);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease-in-out;
}

.startbutton img{
    height: calc(0.7rem + 0.7vw);
    transition: 0.25s ease-in-out;
}

.startbutton:hover{
    background-color: rgba(255, 255, 255, 0.3);
}

.startbutton:hover img{
    transform: rotate(90deg) translateX(calc(0.1rem + 0.1vw));
}

.logo{
    max-width: 40%;
}

.scroll{
    margin-bottom: 3vh;
    height: 7.5vh;
    animation: bounce 2s ease-in-out infinite;
}

.section{
    gap: calc(0.7rem + 0.7vw);;
}

.headerimage{
    margin-top: calc(1rem + 1vw);
    box-sizing: border-box;
    width: 90%;
    height: calc(8rem + 8vw);
    border-radius: 5px;
    object-fit: cover;

}

.headermedia {
    background: url("/image/KoelnBahnhof_1920x1280.jpg") center/cover no-repeat;
    text-decoration: none;
    width: 100%;
    padding-top: calc(4rem + 4vw);
    border-radius: 10px;
    overflow: hidden;
}

.headermedia:hover .morebutton{
    background-color: rgba(255, 255, 255, 0.4);
}

.headermedia:hover[inactive] .morebutton{
    background-color: transparent;
}

.mediadisplay{
    width: 80%;
    gap: calc(0.7rem + 0.7vw);
}

.innermedia{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    padding: calc(0.2rem + 0.2vw);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}



.mediagrid{
    width: 100%;
    --col-min: 320px;
    display: grid;
    gap: calc(0.7rem + 0.7vw);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col-min)), 1fr));

}

.mediagallery-large{
    min-height: calc(13.4rem + 13.4vw);
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.mediagallery-small{
    height: calc(6rem + 6vw);
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.offergrid{
    width: 90%;
    --col-min: 320px;
    display: grid;
    gap: calc(0.7rem + 0.7vw);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col-min)), 1fr));
}

.offertile{
    border-radius: 5px;
    background-color:  rgba(255, 255, 255, 0.2);
    width: 100%;
    overflow: hidden;
    transition: background-color 0.2s ease-in-out;
}

.offertile:hover{
    background-color:  rgba(255, 255, 255, 0.3);
}

.offertile-content{
    padding: calc(0.5rem + 0.5vw);
}

.offertile-header{
    padding: calc(1.5rem + 1.5vw) calc(0.5rem + 0.5vw) ;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.pricetag{
    padding: calc(0.25rem + 0.25vw);
    border-radius: 5px;
    background-color: green;
    width: fit-content;
}

.morebutton{
    padding: calc(0.3rem + 0.3vw);
    box-sizing: border-box;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    border-radius: 5px;
    transition: all 0.25s ease-in-out;
}

.morebutton img{
    height: calc(0.7rem + 0.7vw);
}

.morebutton:hover{
    background-color: rgba(255, 255, 255, 0.6);
}

cap-widget{
    --cap-background: none;
    --cap-border-color: rgba(255, 255, 255, 0.4);
    --cap-border-radius: 5px;
    --cap-checkbox-size: calc(0.7rem + 0.7vw);
    --cap-widget-height: fit-content;
    --cap-widget-width: 100%;
    --cap-color: #ffffff;
    --cap-checkbox-background: #ffffff;
    --cap-checkbox-border-radius: 3px;
    --cap-font: Roboto;
    --cap-spinner-color: #f88c00;
}

.visions{
    width: 80%;
    gap: calc(2vw + 2rem);
}

.visions img{
    height: calc(5rem + 5vw);
    opacity: 0.2;
}

.visionrow{
    gap: calc(2vw + 2rem);
}

@keyframes bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-1vh); }
    100% { transform: translateY(0); }
}

@media only screen and (max-width: 600px), only screen and (orientation: portrait) {
    .logo{
        max-width: 90%;
    }
    .mediadisplay{
        width: 95%;
        gap: calc(1.2rem + 1.2vw);
    }

    .mediagrid{
        gap: calc(1.2rem + 1.2vw);
    }

    .visions{
        width: 95%;
    }

    .visionrow{
        gap: calc(1vw + 1rem);
    }

    p{
        font-size: calc(0.9rem + 0.9vw);
    }
}