@font-face { font-family: 'Baloo2'; src: url('/fonts/Baloo2-VariableFont_wght.ttf'); }
@font-face { font-family: 'Helv-Now-Var'; src: url('/fonts/Helvetica-Now-Var.ttf'); }
@font-face { font-family: 'K2D'; src: url('/fonts/k2d'); }

/* css clean up */

*{
	font-family: 'Baloo2', sans-serif; font-weight: 300;
    font-family: 'Helv-Now-Var', sans-serif;
    font-weight: 100;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
    text-decoration: none;

    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;

    cursor: default;

    -webkit-user-drag: none;

    /*border: 1px solid red;*/
}

:root {
    /* colors */

    --main: #ffffff;
    --dark: #333;
    --main-accent: #c94dda;
    --text: #272727;

    --logo-width: 14rem;
}

textarea{
    resize: horizontal;
}

body {
    background-color: var(--main);
}

.nophone {
    display: block;
}
.nodesk {
    display: none;
}

.bg {
    position: fixed;
    width: 100%; height: 100svh;
    z-index: -1;
    background-image: url(/images/bg.png);
    background-size: calc(163vh - 100px);
    background-repeat: no-repeat;
    background-position: calc(100% - -23rem) 3rem;
    opacity: 0.9;
    filter: grayscale(1);
    mask-image: linear-gradient(90deg, #00000000 50%, #00000044 70%, #000000, #000000);
}

.logo {
    position: absolute;
    z-index: 10;
    margin: 10rem 50%;
    width: 16rem; height: 16rem;
    background-image: url(/images/logo.svg);
    background-size: cover;
    transform: translateX(-50%);
    background-position: 50%;
    background-repeat: no-repeat;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: all 0.5s ease-out;
    cursor: pointer;
}
.fixed-logo {
    margin: 0;
    transform: translateX(0);
    position: fixed;
    top: 30px; left: 5rem;
    width: 130px; height: 130px;
}
.site-description {
    position: absolute;
    top: 30rem; left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    line-height: 2.2rem;
    opacity: .9;
    color: var(--text);
    text-align: center;
    max-width: 30ch;
}

.content {
    width: 100%;
    display: grid;
    margin-bottom: 10rem;
    column-gap: 2rem;
    row-gap: 4rem;
    grid-template-columns: minmax(13rem, auto) clamp(2rem, 30%, 50ch) clamp(2rem, 30%, 50ch) minmax(2rem, auto);
    overflow: visible;
}
.no-margin {
    margin-bottom: 0;
}

p, h2 {
    opacity: .9;
    color: var(--text);
    user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    cursor: text;
}
p::selection, h2::selection {
    color: #a71212;
}

p {
    font-size: 1.1rem;
    line-height: 1.5rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    line-height: 1rem;
    margin-bottom: 0;
    margin-bottom: 10rem;
    border-top: 1px solid #ACACAC;
    mask-image: linear-gradient(90deg, #00000000 2rem, #000000, #00000000 calc(100% - 2rem));
}

.split-text {
    column-gap: 60px;
    column-width: 28ch;
}

nav {
    position: fixed;
    left: 5.3rem; top: 50%;
    transform: translateY(-50%);
    transition: all .15s ease-out;
    z-index: 10;
    width: 8rem;
    transition: all .2s ease;
    padding: 0 1.5rem 0 0;
}
nav li {
    color: var(--text);
    font-size: 1.4rem;
    text-decoration: none;
    list-style: none;
    line-height: 1.8rem;
    margin-bottom: .9rem;
    opacity: .7;
    padding: 0 1rem;
    border: 2px solid #00000000;
    transition: all .2s ease;
}
nav li a {
    color: var(--text);
    cursor: pointer;
}
nav li:hover {
    font-size: 1.6rem;
    opacity: 1;
}
.nav-select a {
    font-weight: 150;
}
.nav-select {
    border-left: 2px solid black;

}

.top-nav {
    display: flex;
    gap: 2rem;
    top: 3.5rem; left: 13.5rem;
    transform: translateY(0);
}

#start {
    height: 100svh;
}

.content .img {
    aspect-ratio: 16 / 9;
    width: 100%;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    filter: grayscale(1);
}

.box {
    padding: 2rem 2.8rem 2.8rem 2.8rem;
    border: 1px solid #acacac;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}
.box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.3rem;
}

.bg-img {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 0;
}
.bg-cover {
    background-size: cover;
    background-position: center;
}
.heading-img {
    height: 30rem;
}
.box p {
    margin-bottom: 4rem;
}

.max-width {
    max-width: 60ch;
}

.logo-titel {
    width: 22rem; max-width: 10rem; height: 5rem;
}

.wide-logo {
    width: 22rem; max-width: 12rem; height: 8rem;
}

.box .grid {
    width: 100%; height: 40rem;
    display: grid;
    gap: 2rem;
    grid-template-areas: 
        "a a a a b b b"
         "c c d d d d d";
}

p span {
    font-weight: 400;
    line-height: 3rem;
}

/* .grid div {
    border: 1px solid red;
} */

.centered-img {
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
}

.grid div:nth-child(1) {
    grid-area: a;
}
.grid div:nth-child(2) {
    grid-area: b;
}
.grid div:nth-child(3) {
    grid-area: c;
}
.grid div:nth-child(4) {
    grid-area: d;
}

.spacer {
    margin-bottom: 8rem;
}
.spacer:last-child {
    margin-bottom: 0;
}

.b-w {
    filter: grayscale(1);
}

.left {
    grid-column: 2 / 3;
    text-align: right;
}
.centered {
    grid-column: 2 / 4;
}
.right {
    grid-column: 3 / 4;
    text-align: left;
}

.full-width {
    grid-column: 1 / span 4;
}

.baujahr {
    position: absolute;
    bottom: 41.5rem; right: 2.5rem;
    font-size: 3rem;
    line-height: 3rem;
    font-family: 'Times New Roman', Times, serif;
    text-align: right;
    color: #5d5d5d;
}
.red {
    color: #a71212;
    font-size: 3rem;
    line-height: 3rem;
    font-family: 'Times New Roman', Times, serif;
    text-align: right;
}

.test {
    aspect-ratio: 16/9;
    background-color: #C94DDA;
}

.carousel {
    margin-top: 1rem;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #c94dda;  
}

.title-orbit {
    width: 100%; aspect-ratio: 16/9;
    overflow: hidden;
    mask-image: radial-gradient(#000000, #00000000 63%, #00000000);
    margin-bottom: 5rem;
}
.title-orbit video {
    width: 100%;
}

#einheiten {
    position: relative;
}
#einheiten h3 {
    margin: 1.5rem 0 .5rem 0;
    font-size: 2rem;
    font-weight: 200;
    color: #646464;
}
.room-stats {
    position: relative;
    padding: 0 1.3rem;
    margin-bottom: .7rem;
    width: 24rem; height: 2rem;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid #ACACAC;
    overflow: hidden;
    cursor: pointer;
    transition: border .2s ease, filter .2s ease, height .2s ease;
}
.room-stats div:nth-child(1) {
    display: grid;
    align-items: center;
    grid-template-columns: 7.7rem 2.5rem 3.9rem 2.5rem 5rem;
}
.allgemein-stats div:nth-child(1) {
    grid-template-columns: 3rem 15rem !important;
}
.room-stats:hover {
    border-color: white;
    filter: brightness(1.1);
}
.room-stats div p {
    font-size: 1rem;
    cursor: pointer;
    font-weight: 300;
}
.room-stats div {
    cursor: pointer;
}
.room-stats .on-open p {
    font-size: .9rem;
    font-weight: 100;
    max-width: 80%;
}
.room-icon {
    cursor: pointer;
    width: 2rem;
    height: 2rem; aspect-ratio: 1;
    background-size: contain;
    background-position: center center;
}

.stats-open {
    height: 7rem;
}
.stats-open-big {
    height: 40rem;
}

.video {
    display: none;
    overflow: hidden;
    position: absolute;
    top: 10rem; left: 28%;
    z-index: -2;
    width: 70%; aspect-ratio: 16/10;
    opacity: 1;
    mask-image: linear-gradient(90deg, #00000000 5rem, #000000 23rem, #000000 calc(100% - 2rem), #00000000 130%);
}

.video video {
    width: 100%;
}

.flyin-background {
    display: block;
}

#room-background {
    position: absolute;
    top: 10rem; left: 28%;
    z-index: -2;
    width: 70%; aspect-ratio: 16/9.8;
    opacity: .85;
    mask-image: linear-gradient(90deg, #00000000 5rem, #000000 23rem, #000000 calc(100% - 2rem), #00000000 130%);
    transition: opacity .2s ease-in-out;
}

.flex-horizon {
    display: flex !important;
    padding-top: 1rem;
    gap: 1rem;
    flex-direction: row;
    align-items: start !important;
    align-content: start !important;
    justify-content: start !important;
}
.flex-horizon .bg-img {
    width: 3rem; height: 3rem;
}

.room-hilight {
    opacity: 0;
}

.room-stats:hover + * {
    opacity: .88 !important;
}

.allgemein-stats:hover + * {
    opacity: unset !important;
}
.allgemein-stats div:nth-child(1) {
    grid-template-columns: 4.5rem auto;
}
.allgemein-stats:last-child {
    margin-bottom: 38vw;
}

.footer-deco {
    position: absolute;
    top: -28.7vw; left: 50%;
    transform: translateX(-50%);
    width: 100%; height: 30vw;
}

.karte-bg {
    opacity: .7;
}

.room-hilight {
    position: absolute;
    top: 10rem; left: 28%;
    z-index: -2;
    width: 70%; aspect-ratio: 16/9.8;
    opacity: 0;
    mask-image: linear-gradient(90deg, #00000000 5rem, #000000 23rem, #000000 calc(100% - 2rem), #00000000 130%);
    transition: opacity .2s ease-in-out;
}

.karte-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translateX(-50%);
    z-index: -3;
    width: 85%; height: 50%;
    mask-image: radial-gradient(#000000, #00000000 80%);
    background-position: center;
    background-size: cover;
}

#lage {
    /* height: 400px; */
    margin-bottom: 30rem;
}
#lage .lage-first {
    grid-column: 2 / 4;
    position: relative;
    padding: 1.2rem 1.6rem 0rem 1.6rem;
    margin-bottom: .7rem;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid #ACACAC;
    overflow: hidden;
    cursor: pointer;
    transition: border .2s ease, filter .2s ease, height .2s ease;
}

.lage-grid {
    display: grid;
    grid-template-columns: 18rem 7rem 7rem 12rem 12rem;
    height: 3rem;
    /* background-color: red; */
}
.lage-grid:first-child p {
    font-weight: 300;
}

/* footer */

footer {
    display: grid;
    position: relative;
    width: 100%; height: 10rem;
    background-color: var(--dark);
    box-shadow: inset 0 10px 10px 0 var(--text);
}

.kontakt-info {
    position: absolute;
    left: 20%; bottom: 13rem;
    width: 29rem; height: 11rem;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid #ACACAC;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.kontakt-info div {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.kontakt-info div:last-child {
    text-align: end;
}
.kontakt-info .logo-titel {
    height: min-content; width: 10rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}

.inf-logo-scroll {
    justify-self: center;
    position: relative;
    width: 100%; height: 6rem;
    margin-top: 2rem;
    margin-inline: auto;
    overflow: hidden;
    mask-image: linear-gradient(to right, rgba(0,0,0,0),rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
}

.impressum-links {
    display: flex;
    gap: .5rem;
    justify-content: center;
    position: absolute;
    bottom: 1rem; left: 50%;
    transform: translateX(-50%);
    transition: opacity .2s ease;
}
.impressum-links p {
    font-family: Arial, sans-serif;
    line-height: 1.7rem;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.impressum-links a, .impressum-links p {
    color: white;
}
.impressum-links a:hover {
    opacity: .7;
}

@keyframes scrollleft {
    to {
        left: -14rem;
    }
}

.element1 {
    animation-delay: calc(30s / 6 * (6 - 1) * -1);
}
.element2 {
    animation-delay: calc(30s / 6 * (6 - 2) * -1);
}
.element3 {
    animation-delay: calc(30s / 6 * (6 - 3) * -1);
}
.element4 {
    animation-delay: calc(30s / 6 * (6 - 4) * -1);
}
.element5 {
    animation-delay: calc(30s / 6 * (6 - 5) * -1);
}
.element6 {
    animation-delay: calc(30s / 6 * (6 - 6) * -1);
}

.scroll-element {
    position: absolute;
    width: 14rem; height: 6rem;
    left: max(calc(14rem * 6), 100%);
    filter: grayscale(1) contrast(1) brightness(1) invert(1);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    animation-name: scrollleft;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.under {
    animation-duration: 50s;
}
.element1.under {
    animation-delay: calc(50s / 6 * (6 - 1) * -1);
}
.element2.under {
    animation-delay: calc(50s / 6 * (6 - 2) * -1);
}
.element3.under {
    animation-delay: calc(50s / 6 * (6 - 3) * -1);
}
.element4.under {
    animation-delay: calc(50s / 6 * (6 - 4) * -1);
}
.element5.under {
    animation-delay: calc(50s / 6 * (6 - 5) * -1);
}
.element6.under {
    animation-delay: calc(50s / 6 * (6 - 6) * -1);
}
.special {
    filter: grayscale(1) contrast(2) brightness(1);
}

/* media-thin */

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

}

/* media-phone */

@media only screen and (max-width: 700px) {
    .nophone {
        display: none;
    }
    .nodesk {
        display: block;
    }

    .content {
        grid-template-columns: auto 90% auto;
        column-gap: 0;
        row-gap: 1rem;
    }

    .left {
        text-align: left;
    }
    .centered {
        grid-column: 2 / 3;
    }
    .right {
        grid-column: 2 / 3;
    }

    .fixed-logo {
        transform: translateX(-50%);
        left: 50%;
    }

    h2 {
        margin-bottom: 2rem;
    }
}

/* media-thin-phone */

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

}