:root {
    /* Carousel Band Handwerk Kreativ */
    --no-of-slides: 6;
    --slides-in-view: 18;
    --slide-width: 180px;
    --iteration-time: 18s;

    /* Colors */
    /* --accentcolor-16: rgb(50, 50, 50); */
    --accentcolor-16: rgb(66, 66, 66);
    --accentcolor-17: rgb(30, 30, 30);
    --accentcolor-18: rgb(36, 36, 36);
    --accentcolor-19: rgb(42, 42, 42);
    --accentcolor-20: rgb(48, 48, 48);
    --accentcolor-21: rgb(54, 54, 54);
    --accentcolor-22: rgb(60, 60, 60);
    --accentcolor-23: rgb(66, 66, 66);
    --accentcolor-24: rgb(72, 72, 72);
    --border-style-1: .25em solid white;
}


* {
    margin: 0;
    padding: 0;
}

html .--desktop {
    overscroll-behavior: none; 
}

body {
    background-color: black;
}

/* MARK: Utility Classes
*/

.container {
    width: calc(100% - 1rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0rem;
    padding-right: 0rem;
}

.--desktop {
    font-family: "Open Sans";
    font-style: normal;
    background-color: black;
}

.--desktop section {
    padding-top: 1em;
    padding-bottom: 1.5em;
}

.filter-blur {
    filter: url(#blur-and-scale);
}
.filter-blur2 {
    filter: url(#blur-and-scale2);
}


/* MARK: Schriften 
*/

.--desktop h1, .--desktop h2, .--desktop h3, .--desktop a, .--desktop p, .--desktop button {
    color: white;
}
.--desktop h1 {
    font-size: 3rem;
    font-weight: 400;
}
.--desktop h2 {
    font-size: 2rem;
    font-weight: 400;
}
.--desktop a {
    text-decoration: none;
    color: unset;
}

/* Carousel */
.header-carousel {
    grid-area: 1/1/2/2;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 4px;
}
  
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--slide-width) * var(--no-of-slides)* -1));
    }
}
@keyframes scrollBack {
    100% {
        transform: translateX(0);
    }

    0% {
        transform: translateX(calc(var(--slide-width) * var(--no-of-slides)* -1));
    }
}

.carousel__wrapper {
    display: flex;
    align-items: center;
    width: calc(var(--slides-in-view) * var(--slide-width));
    overflow: hidden;
    margin: 0 auto;
}

.--desktop .carousel {
    overflow: hidden;
    width: calc(2 * var(--no-of-slides));
}

.carousel__slide {
    animation: scroll var(--iteration-time) linear infinite;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: var(--slide-width);
    height: var(--slide-height);
    box-sizing: border-box;
}

.footer {
    margin-top: 3em;
}

.footer .carousel__slide {
    animation: scrollBack var(--iteration-time) linear infinite;
}

.footer .carousel__slide > div {
    display: grid;
    grid-auto-flow: column;
    justify-items: center;
    /* grid-template-columns: fit-content; */
    width: fit-content;
}

.footer h4 {
    font-weight: 800;
    width: max-content;
    text-transform: uppercase;
    color: white;
    font-family: "Iceland";
}
.footer h4:last-of-type {
    grid-area: 2/1/2/3;
}


/* MARK: Header
 */

.--desktop .header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.--desktop .header div {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: min-content min-content;
    grid-column-gap: .5em;
    align-items: inherit;
    justify-items: center;
    width: fit-content;
}

.--desktop .header div img {
    height: 1.4em;
}

.--desktop .header .header__logo {
    grid-template-columns: min-content max-content;
    cursor: pointer;
}
.--desktop .header .header__logo img {
    height: 2.4em;
    /* translate: 0 .1em; */
}
.--desktop .header .header__logo h2 {
    font-family: "Iceland";
    font-size: 1.1em;
    padding-left: .15em;
    line-height: .85;
    
    display: inline;
    /* height: min-content; */
    width: max-content;
    /* display: none; */
}
/* .--desktop .header .header__logo h2:last-of-type {
    grid-area: 2/1/3/2;
    grid-area: 1/2/2/3;
} */

.--desktop .header .header__logo > div {
    display: grid;
    align-items: start;
    justify-items: start;
    grid-auto-flow: row;
    grid-template-columns: max-content;
    width: auto;
    translate: 0 .1em;
}

.--desktop .header .header__lang {
    flex-grow: 1;
    justify-content: end;
}

.--desktop .header .lang-btn > h2 {
    display: none;
}

.--desktop .header .header__lang, .header .header__contact {
    cursor: pointer;
} 

.--desktop .header .header__contact {
    grid-template-columns: auto;
    margin-left: .4em;
    margin-right: auto;
    padding: .4em .5em;
    border-radius: .5em;
    background-color: var(--accentcolor-16);
}
.--desktop .header .header__contact.close {
    display: none;
}
.--desktop .header .header__contact h2 {
    /* font-size: .8em; */
    font-weight: 600;
    padding-left: .1em;
}
.--desktop .header .header__contact img {
    height: 1.3em;
}

.--desktop .header h2 {
    font-size: .75em;
    font-weight: 400;
    padding-right: .3em;
    translate: 0 -.07em;
}


/* MARK: Language Select 
*/

.--desktop .header .lang-select {
    display: none;
    /* transform: translate(0em); */
    
    
}
.--desktop .header .lang-select.open {
    display: grid;
    transform: translate(-1em);
    
    
}
.--desktop .header .lang-select h2 {
    grid-row: 1/2;
}
.--desktop .header u {
    text-decoration: none;
    display: none;
}
.--desktop .header .lang-btn.close {
    display: none;
}
.--desktop .header .button-de, .--desktop .header .button-en.--en {
    text-decoration: underline;
    text-underline-offset: .16rem;
    font-weight: 600;
    display: block;
}
.--desktop .header .button-de.--en, .--desktop .header .button-en {
    text-decoration: none;
    font-weight: 400;
    display: block;
}


/* MARK: Kontaktformular
 */

.--desktop .form-wrapper {
    display: grid;
    opacity: 1;
    transition: opacity .5s ease-in-out;
}

.--desktop form {
    min-height: 93dvh;
    max-height: fit-content;
    margin-top: auto;
    margin-bottom: auto;
    display: grid;
    grid-template-rows: auto;
    grid-auto-rows: auto;
    justify-items: center;
    align-items: center;
    row-gap: .5em;
    padding-bottom: .5em;
}

.--desktop input, .--desktop textarea {
    width: 100%;
    /* text-align: center; */
    font-family: inherit;
    font-size: 1rem;
    font-weight: 200;
    color: white;
    background-color: black;
    border-radius: 5px;
    border-width: 0px;
    cursor: pointer;
}
.--desktop input {
    margin-bottom: .5em;
}

.--desktop input::placeholder, .--desktop textarea::placeholder {
    padding-left: 3px;
    padding-right: 3px;
    font-size: 1rem;
    font-weight: 450;
    color: white;
    text-align: left;
    text-transform: uppercase;
    position: relative;
}
.--desktop input:focus::placeholder, .--desktop textarea:focus::placeholder {
    color: var(--accentcolor-20);
}
/* hide small up and down arrow on number inputs */
.--desktop input[type=number] { 
    -moz-appearance: textfield;
    appearance: textfield;
    /* margin: 0;  */
}
.--desktop input[type=number]::-webkit-inner-spin-button,
.--desktop input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

.--desktop textarea {
    text-align: left;
    /* padding: 10px 0px; */
    height: 27vh;
    width: 100%;
    overflow: scroll;
    /* background-color: var(--accentcolor-16); */
}
/* .--desktop textarea::placeholder {
    text-align: right;
    position: relative;
} */

.--desktop form > h3 {
    margin-top: 1rem;
    margin-bottom: .4rem;
    padding-left: .6rem;
    padding-right: .6rem;
    width: 100%;
    /* font-family: "Iceland"; */
    font-weight: 400;
    font-size: 1.4rem;
    /* color: black; */
    background-color: var(--accentcolor-17);
    /* background-color: white; */
    /* text-decoration: underline;
    text-underline-offset: .1em;
    text-decoration-thickness: .06em; */
    text-align: left;
    text-transform: uppercase;
    border-radius: .2em;
    /* visibility: inherit; */
    /* grid-area: 1 / 1 / 2 / 2; */
}
.--desktop form > h2 {
    margin-top: 1rem;
    margin-bottom: .6rem;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    text-align: center;
    
    /* background-color: greenyellow; */
}

.--desktop form > h2 > span {
    padding-left: 3px;
    padding-right: 3px;
}


.--desktop form input[type=radio] {
    display: none;
}

.--desktop form div {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.--desktop form button, .--desktop form .radio__label {
    font-size: .82em;
    border: 3px solid black;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    align-content: center;
    text-transform: uppercase;
}

.--desktop form button[type=submit], .--desktop form input[type=radio]:checked + .radio__label {
    background-color: black;
    color: white;
    font-weight: 450;
}
.--desktop form button[type=reset], .--desktop form input[type=radio]:not(:checked) + .radio__label {
    background-color: black;
    color: var(--accentcolor-24);
    font-weight: 450;
}



/* MARK: Intro 
*/

.intro {
    padding-top: 7em;
    grid-template-columns: auto;
    display: grid;
    height: 100%;
    width: 90%;
    grid-template-rows: min-content min-content;
}

.intro h1 {
    padding-bottom: 1.5em;
    height: 100%;
    font-size: 2rem;
    font-weight: 100;
    width: fit-content;
    line-height: 1.2;
}

.intro b {
    font-weight: 600;
    font-size: 3rem;
}

.intro .intro-p {
    height: 100%;
}

.intro .intro-p p {
    font-size: clamp(.875rem, 4vh, 1.3rem);
    font-weight: 200;
    padding: 0 .3rem;
    padding-bottom: 1rem;
}




/* MARK: Menu
 */

.--desktop .menu {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 9vh);
    grid-auto-rows: 9vh;
    grid-gap: 2vh;
    padding-bottom: 1em;
    height: max-content;
    margin-bottom: auto;
}
.--desktop .menu.open {
    grid-template-rows: repeat(11, 9vh);
    min-height: fit-content;
    margin-bottom: 8em;
}

.--desktop .menu-item {
    width: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 20vh;
    align-items: center;
    justify-items: center;
    background-size: cover;
    font-family: 'Bebas Neue 1';
    cursor: pointer;
    color: white;
    overflow: hidden;
}
.--desktop .menu-item[data-active] {
    grid-template-rows: auto;
    align-items: start;
    /* grid-row-start: 1;
    grid-row-end: 9; */
    grid-column-start: span 6;
    grid-row-start: span 10;
    /* height: calc(100vh - .5em); */
    height: fit-content;
    cursor: default;
    border: .25em solid white;
}

.--desktop .menu-item[data-active] .item-description {
    grid-area: 1/1/2/2;
    display: grid;
    grid-template-rows: 38vh 22vh auto auto auto;
    /* width: 100%; */
    justify-items: center;
    align-items: center;
    font-size: 0.9rem;
    width: 100%;
    height: 100%;
}

.--desktop .menu-item[data-active] .item-description > div.placeholder {
    display: none;
    grid-area: 2/1/3/2;
    height: 38vh;
    width: 100%;
}

.--desktop .menu-item[data-active] .item-description > div.background {
    grid-area: 2/1/6/2;
    width: 100%;
    height: 100%;
    background-color: black;
}

.--desktop .menu-item[data-active] .item-description > h2 {
    grid-area: 1/1/2/2;
    justify-self: start;
}

.--desktop .menu-item .item-description h2 > u {
    font-size: inherit;
    font-weight: inherit;
}

.--desktop .menu-item .item-description > ul {
    grid-area: 3/1/4/2;
    width: 100%;
    min-height: 38vh;
    max-height: max-content;
    display: grid;
    align-items: center;
    justify-items: center;
    /* margin: auto; */
}
.--desktop .menu-item .item-description > ul:last-of-type {
    grid-area: 4/1/5/2;
    min-height: 7vh;
}
.--desktop .menu-item li {
    font-family: "Bebas Neue 1";
    font-size: 1.15em;
    font-weight: 100;
    list-style-type: none;
    
}


.menu-item .paragraph {
    grid-area: 2/1/3/2;
    width: 100%;
    display: grid;
    justify-items: center;
    height: fit-content;
}
.--desktop .menu-item .paragraph > p {
    font-family: "Bebas Neue 1";
    font-size:1.5rem;
    font-weight: 500;
    line-height: 1.16;
    padding-top: .5em;
    padding-bottom: .5em;
    text-align: center;
}

.--desktop .menu-item li > u {
    font-size: 1.3em;
    margin-top: 1.2em;
    margin-bottom: .8em;
}
.--desktop .menu-item p, .--desktop .menu-item li > u, .--desktop .menu-item > .item-description > ul > li {
    width: calc(100% - .6em);
    padding-left: .3em;
    padding-right: .3em;
    text-align: center;
}

.--desktop .menu-item > .item-description > ul:first-of-type > li {
    padding-bottom: .8em;
}


.--desktop .menu-item .item-description > ul > li > img {
    height: 1em;
    width: 1em;
    translate: 0 .12em;
    margin-right: .2em;
}

.menu-item .item-description > ul > li:last-of-type {
    display: inline;
}

.--desktop .menu-item .item-description > ul button {
    font-family: "Bebas Neue 1";
    font-size: 1.6rem;
    margin-bottom: 1em;
    margin-right: .2em;
    padding: .1em .4em;
    padding-top: .2em;
    border-radius: .2em;
    background-color: var(--accentcolor-16);
    border-color: var(--accentcolor-16);
    cursor: pointer;
    height: fit-content;
    min-width: 6em;
    max-width: max-content;
}


/* .--desktop .menu-item[data-active] > h2 {
    visibility: hidden;
} */

.--desktop .menu-item[data-active] > img:first-of-type {
    height: 100%;
    /* height: 70vh; */
    overflow: hidden;
}
.--desktop .menu-item > img:first-of-type {
    grid-area: 1/1/2/2;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 3s ease, opacity 2s ease;
    transition-delay: .2s;
}



.--desktop .menu-item > button {
    grid-area: 1/1/2/2;
    z-index: 50;
    display: none;
    align-self: start;
    justify-self: end;
    margin: 1em;
    margin-right: .2em;
    padding: 0 .2em;
    padding-right: .7em;
    font-size: 2.5em;
    white-space: pre;
    align-items: center;
    cursor: pointer;

    transform: scale(.77);
    transform-origin: right top;
}

.--desktop .menu-item h2, .--desktop .menu-item button {
    backdrop-filter: blur(10px);
    border-radius: .2em;
    font-family: inherit;
    background: none;
    border: none;
    /* padding-top: .1em; */
    /* color: inherit; */
}
.--desktop .menu-item h2 {
    padding: 0 .2em;
    padding-top: .1em;
}
.--desktop .menu-item > button {
    padding-top: .1em;
    color: inherit;
}
.--desktop .menu-item[data-active] > button {
    display: flex;
}

.--desktop .menu-item > button img {
    position: relative;
    transform: translateY(-.05em);
    height: 2rem;
}

.--desktop .menu-item > h2 {
    grid-area: 1/1/2/2;
    font-size: 2.8em;
    font-weight: 700;
    transition: color 1.2s ease-in;  
    /* padding: 0 .2em; */
}
/* .--desktop .menu-item  h2 {
    padding: 0 .2em;
} */
.--desktop .menu-item[data-active] > h2 {
    opacity: 0;    /* for mobile */
    /* grid-area: 2/1/3/2; */
    align-self: start;
    justify-self: start;
    margin-top: .85em;
    margin-left: .3em;
    width: 60%;
}



.--desktop .menu-item h2 > u {
    text-decoration: none;
    display: none;
}
.--desktop .menu-item[data-active] h2 > u {
    display: inline;
}




/* Show Blurred Images First */
.blur-load.loaded > img {
    opacity: 1;
}
.blur-load > img {
    opacity: 0;
    transition: opacity .8s ease-in-out;
}

.--desktop .item-1, .--desktop .item-2, .--desktop .item-3, .--desktop .item-4, .--desktop .item-5, .--desktop .item-6 {
    grid-row-start: span 2;
    grid-column-start: span 6;
}

.--desktop .item-2[data-active], .--desktop .item-3[data-active], .--desktop .item-5[data-active], .--desktop .item-6[data-active] {
    color: black;
}


/* Slideshow */

*, *::before, *::after {
    box-sizing: border-box;
}

.menu-item .slideshow {
    display: grid;
    grid-area: 1/1/4/2;
    /* grid-template-rows: 70% 30%; */
    z-index: 30;
    height: 100%;
    width: 100%;
    position: relative;
}

.menu-item .slideshow button {
    z-index: 99;
}

.carousel {
    /* grid-area: 1/1/3/2; */
    grid-area: 1/1/2/2;
    height: 100%;
    /* width: 80%; */
    position: relative;
    display: none;
    /* background-color: none; */
}
.carousel.open {
    display: block;
    background-color: black;
}
.carousel::after {
    content: "";
    position: absolute;
    z-index: -1;
    /* top: -1rem;
    left: calc(60vh * (2 / 3) - 50vw);
    width: 100vw;
    height: calc(100% + 2rem); */
    background-color: rgba(0,0,0,.8);
}  

.carousel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-item .carousel > h2 {
    text-align: center;
    margin-top: 3.9em;
    padding: 0;
}

.slide {
    position: absolute;
    display: grid;
    align-items: center;
    justify-items: center;
    z-index: 40;
    inset: 0;
    opacity: 0;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;
}
.slide[data-active] {
    opacity: 1;
    transition-delay: 0;
}

.slide img {
    display: block;
    width: 100%;
    /* height: 100%;
    max-height: 90%; */
    /* object-fit: cover;
    object-position: center; */
    /* border-radius: .5rem; */
}

.carousel-button {
    position: absolute;
    z-index: 41;
    background: none;
    border: none;
    font-size: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.8);
    cursor: pointer;
    border-radius: 0.35rem;
    padding: .8rem 2rem;
    /* padding-bottom: .3rem; */
    background-color: rgba(0,0,0,.4);
    font-family: Arial, Helvetica, sans-serif;
}
.carousel-button:hover,
.carousel-button:focus {
    color: white;
    background-color: rgba(0,0,0,.6);
}
.carousel-button:focus {
    outline: 1px solid black;
}

.carousel-button.prev {
    left: 1rem;
}
.carousel-button.next {
    right: 1rem;
}



/* MARK: beMatrix 
*/

.bematrix {
    margin-top: 4vh;
    display: grid;
    height: fit-content;
    width: 90%;
    align-items: center;
    justify-items: start;
    grid-template-rows: auto 22vh;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    /* position: relative; */
}
.bematrix > h3 {
    /* width: ; */
    font-size: 1.12em;
    font-weight: 400;
    grid-area: 1/1/2/2;
}
.bematrix > img {
    /* position: relative; */
    grid-area: 2/1/3/2;
    justify-self: center;
    height: calc(100% - 2em);
    padding-top: 1em;
    /* left: 50%;
    transform: translateX(50%); */
    /* padding-bottom: 1em; */
    /* width: auto; */
    cursor: pointer;
}


/* MARK: Imprint 
*/

.imprint {
    width: 90%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    grid-auto-flow: column;
    align-items: start;
    margin-top: 6em;
    padding-bottom: 3em;
    line-height: 1.65;
    color: white;
}

.imprint h2, .imprint h3, .imprint h5, .imprint button, .imprint-extended h5 {
    color: inherit;
    font-weight: 100;
    text-decoration: none;
}

.imprint h5[onclick] {
    text-decoration-line: underline;
    text-decoration-style: dashed;
    text-decoration-color: white;
    /* text-decoration-thickness: .1em; */
    text-underline-offset: .1em;
    cursor: pointer;
    padding-bottom: 2em;
    padding-top: 2em;
    translate: 0 -2em;
}


.imprint-extended {
    width: 90%;
    color: white;
}

.imprint-extended h5:first-of-type {
    padding-top: 2em;
}
.imprint-extended h5 {
    padding-top: 2.6em;
}
