/******************************
Style CSS Somnias
Author: Adam Kammerer - https://light-work.eu/
Version: 1.0 | 2024-12-18 
******************************/



/*VARIABLES*/

:root {
    --somnias-grey: rgb(70, 72, 73); 
    --somnias-kits: rgb(255, 152, 0);
    --somnias-edenhof: rgb(41, 91, 29);
    --somnias-fidelis: rgb(0, 42, 84);
    
    --somnias-grey-rgb: 70, 72, 73; 
    --somnias-kits-rgb: 255, 152, 0;
    --somnias-edenhof-rgb: 41, 91, 29;
    --somnias-fidelis-rgb: 0, 42, 84;

    --swiper-theme-color: #ffffff;
    --swiper-navigation-sides-offset: 30px;
}

/*GLOBAL*/

html, body {
    width: 100%;
    height: 100%;

    line-height: 1.3;
    
    font-family: "Gilroy";
    color: var(--somnias-grey);
    scroll-behavior: smooth;
    /* scroll-snap-type: y proximity; */
}

hr {
    width:100%;
    border-bottom: 1px solid var(--somnias-grey);
    opacity: 20%;
}

.btn, .btn-2 {
    border-radius: 25px;
    background-color: #fff;
    color: inherit;
    padding: 10px 30px;
    font-weight: 500;
    transition: 0.5s;
    display: inline-block;
}

.btn::after, .btn-1::after, .btn-2::after {
    display: none;
}

.btn:hover, .btn-2:hover {
    transform: scale(0.9);
}


.kits .btn {
    color: var(--somnias-kits);
}

.edenhof .btn {
    color: var(--somnias-edenhof);
}

.fidelis .btn {
    color: var(--somnias-fidelis);
}

.kits .btn-2 {
    background-color: var(--somnias-kits);
    color: #fff;
}

.edenhof .btn-2 {
    background-color: var(--somnias-edenhof);
    color: #fff;
}

.fidelis .btn-2 {
    background-color: var(--somnias-fidelis);
    color: #fff;
}
/*FONTS*/

@font-face {
    font-family: Gilroy;
    font-weight: 300;
    src: url("../Fonts/Gilroy-Light.ttf");
}
@font-face {
    font-family: Gilroy;
    font-weight: 500;
    src: url("../Fonts/Gilroy-Medium.ttf");
}
@font-face {
    font-family: Gilroy;
    font-weight: 800;
    src: url("../Fonts/Gilroy-ExtraBold.ttf");
}

strong {
  font-weight: 800;
}

a {
    text-decoration: none;
}
.content-wrap a {
    display: inline-block;
    position: relative;
}
a:visited {
    color: blue;
}
.content-wrap a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 255,0.5);
    transform-origin: bottom center;
    transition: transform 0.3s ease-out;
}

.content-wrap a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom center;
}




p {
    font-size: 1.375rem;
    font-weight: 500;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
}
h2 {
    font-size: 5rem;
    font-weight: 500;
    line-height: 1.1;
}
h3 {
    font-size: 1.875rem;
    font-weight: 800;
}
h4 {
    font-size: 1.875rem;
    font-weight: 500;
}

.programm p {
    font-size: 1rem;
}
.programm h4 {
    font-size: 1.4rem;
    font-weight: 500;
}



div.content-wrap ol li {
    list-style-type: decimal;
    line-height: 26px;
    padding-left: 10px;
    margin-left: 20px;
    text-align: left;
}

div.content-wrap ul li {
    list-style-type: disc;
    line-height: 26px;
    padding-left: 10px;
    margin-left: 20px;
    text-align: left;
}

/*HEADER*/

div#header-warp {
    position: fixed;
    display: flex;
    top: 0;
    z-index: 1000;
    padding: 30px 120px;
    width: calc(100% - 240px);
    flex-direction: column;
    align-items: center;
    background-color: rgba(255,255,255,0);
    transition: 0.5s ease-in-out;
}

div#header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 2000px;
    
    pointer-events: none;
}

div#header-warp.scrolled {
    background-color: rgba(255,255,255,1);
}

div#header > div {
    position: relative;
    pointer-events: auto;
}

div#header-warp .logo {
    height: 100px;  
    transition: 0.5s; 
}
div#header-warp.scrolled .logo {
    height: 75px;   
}
div#header-warp .logo img {
    position: absolute;
    left: 0;
    height: 100%;
    width: auto;
    transition: 0.5s;
}
div#header-warp .logo img:nth-last-of-type(1) {
    opacity: 0;
}
div#header-warp.scrolled .logo img:nth-last-of-type(1) {
    opacity: 1;
}
div#header-warp .logo img:nth-last-of-type(2) {
    opacity: 1;
}
div#header-warp.scrolled .logo img:nth-last-of-type(2) {
    opacity: 0;
}
div#header-warp .nav-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

div#header-warp .nav-main .nav-projects {
    opacity: 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    pointer-events: none;
    transition: opacity 0.3s;
}
div#header-warp.scrolled .nav-main .nav-projects {
    opacity: 1;
    pointer-events: auto;
}
div#header-warp.scrolled .nav-main .nav-projects a.inactive {
    fill: gray;
}
div#header-warp .nav-main .nav-projects a span {
    display: inline-block;
    max-height: 0;
    transition: 0.3s;
    overflow: hidden;
}
div#header-warp .nav-main .nav-projects a:hover span {
    max-height: 20px;
}

div#header-warp .nav-main .nav-projects a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    font-weight: 800;
    font-size: 16px;
    
    width: 50px;
}

div#header-warp  .nav-main.programm .nav-projects {
    opacity: 1;
    pointer-events: auto;
}

div#header-warp.programm {
    background-color: rgba(255, 255, 255, 1);
}

div#header-warp.programm .logo img:nth-last-of-type(1) {
    opacity: 1;
}
div#header-warp.programm .logo img:nth-last-of-type(2) {
    opacity: 0;
}

div#header-warp.programm div#header .logo {
    opacity: 1;
    height: 75px;
    margin-bottom: 20px;
    max-height: 75px;
    pointer-events: auto;
}
div#header-warp.programm .nav-main.programm .nav-projects {
    opacity: 1;
    pointer-events: auto;
    max-height: 200px;
}    
/* div#header-warp.programm .nav-main .nav-projects a span {
    max-height: 20px;
} */
div#header-warp   {
    fill: var(--somnias-edenhof)
}
div#landing-page.kits.programm .background-video {
    filter: unset !important;
}

div#header-warp .nav-main .nav-projects a:nth-of-type(1), div#header-warp .nav-main .nav-projects a:nth-of-type(1).inactive:hover {
    color: var(--somnias-edenhof)
}
div#header-warp .nav-main .nav-projects a:nth-of-type(2), div#header-warp .nav-main .nav-projects a:nth-of-type(2).inactive:hover  {
    color: var(--somnias-kits)
}
div#header-warp .nav-main .nav-projects a:nth-of-type(3), div#header-warp .nav-main .nav-projects a:nth-of-type(3).inactive:hover  {
    color: var(--somnias-fidelis)
}

div#header-warp .nav-main .nav-projects a:nth-of-type(1) svg, div#header-warp .nav-main .nav-projects a:nth-of-type(1).inactive:hover svg  {
    fill: var(--somnias-edenhof)
}
div#header-warp .nav-main .nav-projects a:nth-of-type(2) svg, div#header-warp .nav-main .nav-projects a:nth-of-type(2).inactive:hover svg {
    fill: var(--somnias-kits)
}
div#header-warp .nav-main .nav-projects a:nth-of-type(3) svg, div#header-warp .nav-main .nav-projects a:nth-of-type(3).inactive:hover svg {
    fill: var(--somnias-fidelis)
}

div#header-warp .nav-main .nav-projects a.inactive svg {
    fill: #E1E1E2;
    transition: fill 0.5s;
}
div#header-warp .nav-main .nav-projects a.inactive {
    color: #E1E1E2;
    opacity: 1;
}

div#header-warp .nav-main .nav-projects img, div#header-warp .nav-main .nav-projects svg {
    width: 50px;
}


.nav-lang {
    font-size: 14px;
    line-height: 14.56px;
    letter-spacing: 0.4em;
    text-align: center;  
    color: #fff;  
    transition: 0.3s;
}

ul#language_menu {
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: flex-end;
}

.nav-lang.mobile {
    position: fixed;
    z-index: 1000;
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;
    max-height: 0;
    display: none !important;
}

.nav-lang li {
    display: inline-block;
}
.nav-lang a {
    display: block;
    color: #fff;
    transition: 0.5s;
}

.nav-lang a:hover {
    transform: scale(0.9);
}

.nav-lang li.active {
    font-weight: 800;
}

div#header-warp.scrolled .nav-main .nav-lang, div#header-warp.scrolled .nav-main .nav-lang a, div#header-warp.programm .nav-main .nav-lang, div#header-warp.programm .nav-main .nav-lang a {
    color: var(--somnias-grey);
}

/*LANDING PAGE*/

div#landing-page {
    display: flex;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    
    background: #fff;

    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;

    z-index: 50;
    
    scroll-snap-align: start;
}

div#landing-page .logo {
    display: flex;
    position: absolute;
    z-index: 100;
    height: 100%;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    margin-bottom: 100px;
    
    transition: opacity 0.5s;
}

div#landing-page .logo img {
    max-width: 80vw;
    height: 300px;
    display: block;
    position: relative;
    opacity: 0;
}

div#landing-page.detail > div {
    position: relative;
    width: 50%;
}

div#landing-page.programm {
    position: relative;
    height: 66vh;
}

div#landing-page p {
    line-height: 1.1;
}

div#landing-page.programm .project  {
    height: 100%;
    justify-content: flex-end;
    padding-bottom: 100px;
    align-items: flex-start;
    padding-left: 120px;
}
div#landing-page.programm .project p  {
    color: #fff;
    font-size: 5rem;
}

div#landing-page.detail .project {
    opacity: 1;
    z-index: 200;
}

div#landing-page.detail .project img {
    height: 300px;
    
    max-width: 80vw;
}

div#landing-page .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    filter: blur(0);

}

.programm .project {
    background-color: var(--somnias-grey);
}

div#landing-page.programm .background-video {
    background-color: rgba(var(--somnias-grey-rgb), 0.1);
}


div#landing-page.kits .background-video {    
    background-color: rgba(var(--somnias-kits-rgb), 0.1);
}


    
.project .landing-page-background {
    display: none;
}


div#landing-page .background-video-inner {

    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

div#landing-page .quote {
    display: block;
    width: 1200px;
    z-index: 100;
}

div#landing-page .quote p {
    display: block;
    font-size: 6.875rem;
    font-weight: 800;
    text-align: center;
    color: #fff;
    line-height: 1.1;
}

/*SLIDESHOW*/

div#landing-page div#background-image {
    width: 105%;
    height: 105%;
    margin-left: -2%;
    background-size: cover;
    background-position: center;
}

div#landing-page .slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

div#landing-page .slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeZoom 9s ease-in-out infinite;
    -webkit-animation: fadeZoom 9s ease-in-out infinite;
    opacity: 0;
}

@keyframes fadeZoom {
    0% {
        opacity: 0; /* Image is visible */
        transform: scale(1); /* No zoom at the start */
    }
    8% {
        opacity: 1; /* Image is visible */
        transform: scale(1); /* No zoom at the start */
    }
    40% {
        opacity: 1; /* Image still visible */
        transform: scale(1.05); /* Zoom in more */
    }
    66% {
        opacity: 0; /* Start fading out */
        transform: scale(1.05); /* Keep zoomed in */
    }
    100% {
        opacity: 0; /* Image is invisible */
        transform: scale(1.05); /* Keep zoomed in */
    }
}


/*CONTENT*/
.fullsize {
    width: 100%;
    height: 100%;
}

.content-wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    
    position: relative;
    width: 100%;
    min-height: 100vh;
    
    background-color: #fff;
    z-index: 100;
    max-width: 100vw;

}

.content-wrap .container:first-of-type {
    padding-top: 120px;
}

.container h2 {
    margin-bottom: 100px;
}
.container h3 {
    margin-bottom: 50px;
}

.container img {
    max-width: 100%;
    max-height: 90vh;
    max-height: calc(100vh - 295px);
    border-radius: 20px;
    width: auto;
    height: 100%;
}

.container-wrap {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    z-index: 100;
}

.container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 0 60px;

    padding: 80px 0;
    margin: 0 120px;

    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-items: flex-start;

    width:calc(100% - 240px);
    max-width:2000px;

    min-height: calc(100vh - 160px);
    min-height: calc(100vh - 295px);
    
    z-index: 100;
}

.content-wrap.programm, .programm .container {
    min-height: auto;
}

.container.flex-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.container.flex-container > div {
    width: -webkit-fill-available;
    width: -moz-available;
}

.container-wrap.layout-2 {
    color: #fff;
}


.kits .container-wrap.layout-2 {
    background-color: var(--somnias-kits);
}

.edenhof .container-wrap.layout-2 {
    background-color: var(--somnias-edenhof);
}

.fidelis .container-wrap.layout-2 {
    background-color: var(--somnias-fidelis);
}

.container-wrap.layout-3 .container {
    display: flex;
}

.container-background {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: -1;
}

.container-background div:nth-of-type(1) {
    position: relative;
    width: 50%;
    height: 100%;
}

.container-background div:nth-of-type(2) {
    position: relative;
    width: 50%;
    height: 100%;
    opacity: 0.1;
}

.kits .container-background div:nth-of-type(2) {
    background: var(--somnias-kits);
}

.fidelis .container-background div:nth-of-type(2) {
    background: var(--somnias-fidelis);
}

.edenhof .container-background div:nth-of-type(2) {
    background: var(--somnias-edenhof);
}

.col-full {
    grid-column: span 12;
}
.col-two {
    grid-column: span 2;
}
.col-three {
    grid-column: span 3;
}
.col-four {
    grid-column: span 4;
}
.col-six {
    grid-column: span 6;
}
.col-seven {
    grid-column: span 7;
}
.align-base{
    align-self: baseline;
}
.container.centered {
    align-content: center;
}

span.img-caption {
    margin-top: 10px;
    margin-right: 60px;
    margin-left: 60px;
    font-size: 0.875rem;
    line-height: 18.2px;
    text-align: left;
    position: absolute;
    right: 0;
    transform: translateY(100%);
    bottom: 0;
}
.img-wrap {
    position: relative;
    width: fit-content;
}

.somnias.text-1 {
    grid-column: 1 / 5;
    grid-row: 1;
    z-index: 100;
}
.somnias.img-1 {
    grid-column: 6 / 13;  
    grid-row: 1;
    z-index: 50;  
}
.somnias.img-2 {
    grid-column: 1 / 6;
    grid-row: 1;
    z-index: 100;
    margin-top: 220vh;
}
.somnias.img-3 {
    grid-column: 2 / 8;  
    grid-row: 1;
    z-index: 50;  
    margin-top: 150vh;
}
.somnias.text-2 {
    grid-column: 9 / 13;  
    grid-row: 1;
    z-index: 50;  
    margin-top: 90vh;
}

.ueberblick .col-eight {
    grid-column: 1 / 9;
    grid-row: 1;
}

.ueberblick .col-four {
    grid-row: 2;
}



/* FOOTER VIDEO */

.frame-type-textmedia.frame-layout-1 {
    width: 100%;
    max-height: 100vh;
}

.frame-type-textmedia.frame-layout-1 .ce-center .ce-outer,  .frame-type-textmedia.frame-layout-1 .ce-center .ce-inner{
    float: initial;
    right: auto;
}
.frame-type-textmedia.frame-layout-1 .ce-gallery figure {
    display: block;
}
.frame-type-textmedia.frame-layout-1 .ce-gallery iframe {
    width: 100%;
    height: 100%;
    min-height: 66vh;
    aspect-ratio: 16 / 9;
    max-height: 100vh;
    display: block;
}
.frame-type-textmedia.frame-layout-1 .ce-column {
    width: 100%;
}

.frame-type-textmedia.frame-layout-1 .ce-above .ce-gallery {
    margin: 0;
}

/*DETAIL*/



.kits .quote {
    color: var(--somnias-kits);
}

.edenhof .quote {
    color: var(--somnias-edenhof);
}

.fidelis .quote {
    color: var(--somnias-fidelis);
}

.container .quote {
    background-color: unset;
    display: inline-block;
    font-size: 2.5rem;
    text-align: center;
    margin: 70px 0;

}

.quote .autor {
    margin-top: 30px;
    display: block;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 1px;
}




.kits .detail-header {
    grid-row: 1;
    grid-column: 1 / 6;
    background-color: unset;
    color:var(--somnias-kits);
}

.kits .text-1 {
    grid-row: 1;
    z-index: 100;
    grid-column: 1 / 5;
    margin-top: calc(80% + 100px);
}

.kits .img-1 {
    grid-row: 1;
    grid-column: 7 / 13;
}

.kits .img-2 {
    grid-row: 1;
    grid-column: 6 / 9;
    margin-top: 100vh;
    z-index: 100;
}




.kits .text-2 {
    grid-row: 1;
    margin-top: 300px;
    z-index: 100;
    grid-column: 8 / 13;
}
.kits .text-3 {
    grid-row: 1;
    z-index: 100;
    grid-column: 8 / 13;
    margin-top: 180vh;
}

.kits .img-3 {
    grid-row: 1;
    grid-column: 1 / 4;
    margin-top: 100vh;
    z-index: 100;
}

.kits .img-4 {
    grid-row: 1;
    grid-column: 3 / 8;
}






.edenhof .detail-header {
    grid-row: 1;
    grid-column: 1 / 6;
    background-color: unset;
    color:var(--somnias-edenhof);
}

.edenhof .text-1 {
    grid-row: 1;
    z-index: 100;
    grid-column: 1 / 5;
    margin-top: calc(100% + 100px);
    padding-top: 80px;
}

.edenhof .img-1 {
    grid-row: 1;
    grid-column: 7 / 13;
}

.edenhof .img-2 {
    grid-row: 1;
    grid-column: 5 / 11;
    margin-top: 100vh;
    z-index: 100;
}

.edenhof .text-2 {
    grid-row: 1;
    grid-column: 1 / 6;
}

.edenhof .img-3 {
    grid-row: 1;
    grid-column: 7 / 13;
    margin-top: 30vh;
}

.edenhof .img-4 {
    grid-row: 1;
    grid-column: 1 / 7;
    margin-top: 100vh;
    z-index: 50;
}

.edenhof .text-3 {
    grid-row: 1;
    z-index: 100;
    grid-column: 8 / 13;
    margin-top: 150vh;
}

.edenhof .img-5 {
    grid-row: 1;
    grid-column: 3 / 8;
    margin-top: 200vh;
    z-index: 100;
}

.edenhof .text-4 {
    grid-row: 1;
    z-index: 100;
    grid-column: 8 / 13;
    margin-top: 300vh;
}






.fidelis .detail-header {
    grid-row: 1;
    grid-column: 1 / 6;
    background-color: unset;
    color:var(--somnias-fidelis);
}

.fidelis .text-1 {
    grid-row: 1;
    z-index: 100;
    grid-column: 1 / 5;
    margin-top: calc(80% + 100px);
}

.fidelis .img-1 {
    grid-row: 1;
    grid-column: 10 / 13;
}

.fidelis .img-2 {
    grid-row: 1;
    grid-column: 5 / 11;
    margin-top: 100vh;
    z-index: 100;
}


.fidelis .text-2 {
    grid-row: 1;
    margin-top: 300px;
    z-index: 100;
    grid-column: 8 / 13;
}
.fidelis .text-3 {
    grid-row: 1;
    z-index: 100;
    grid-column: 8 / 13;
    margin-top: 200vh;
}

.fidelis .img-3 {
    grid-row: 1;
    grid-column: 1 / 6;
}

.fidelis .img-4 {
    grid-row: 1;
    grid-column: 3 / 8;
    margin-top: 100vh;
    z-index: 100;
}




/*PROJECTRS*/

div#projects {
    display: flex;
    width: 100%;
    scroll-snap-align: start;
    z-index: 300;
}
.project {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100vh;
}

.projects-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 50;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.projects-bg img {
    min-width: 100%;
    min-height: 100%;
    object-fit: fill;
    width: auto;
    opacity: 0;
    transition: 1s;
}

.projects-bg:hover img {
    opacity: 0.5;
}


.project img.logo {
    height: 200px;
    width: auto;
    transform: scale(0.5);
    z-index: 100;
    pointer-events: none;
    max-width: 90vw;
}

.project a {
    z-index: 100;
}

.project a.block-link {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}




.project.edenhof {
    background-color: var(--somnias-edenhof);
    color: var(--somnias-edenhof);
    /* width: 33%; */
}
.project.kits {
    background-color: var(--somnias-kits);
    color: var(--somnias-kits);
    /* width: 34%; */
}
.project.fidelis {
    background-color: var(--somnias-fidelis);
    color: var(--somnias-fidelis);
    /* width: 33%; */
}

.project .btn {
    position: absolute;
    bottom: 70px;
    font-size: 1.2em;
    background-color: #fff !important;
    z-index: 100;
}

.project .btn-2 {
    position: absolute;
    bottom: 70px;
    font-size: 1.2em;
    z-index: 100;
}

/*SWIPER*/
.container-swiper {
    display: flex;
    width: 100%;
    max-width: 100%;
    /* height: 100vh;
    scroll-snap-align: start; */
    
    background-color: #46484933;
}

.container-swiper.kits {
    background-color: var(--somnias-kits);
    color: #fff;
}

.container-swiper.edenhof {
    background-color: var(--somnias-edenhof);
    color: #fff;
}

.container-swiper.fidelis {
    background-color: var(--somnias-fidelis);
    color: #fff;
}

.container-swiper .swiper {
    width: 100%;
    max-height: 100vh;
    /*background: #46484933;*/
    padding: 60px 0;
}
.container-swiper .swiper-slide {
    max-width: 90%;
    height: auto;
    max-height: calc(90vh - 200px);
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    max-height: calc(100vw / 4* 3);
}
.container-swiper .swiper .img-wrap {
    overflow: hidden;
    height: 100%;
    max-width: 100%;  
    max-height: 70vh;  
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-swiper .swiper .img-wrap img {
    min-height: 100%;
    min-width: 100%;
    height: auto;
    max-width: none;

}

.container-swiper .swiper-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: 1s opacity;
    z-index: 100;
}
.container-swiper .swiper-caption-bg {
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 30%;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.5) 20%, transparent);
    margin-bottom: -2px;
    z-index: 5;
}
.container-swiper .swiper-slide-active .swiper-caption {
  opacity: 1;
  pointer-events: auto;
}
.container-swiper .swiper-slide-active a.swiper-button.btn {
  opacity: 1;
}

.container-swiper .swiper-caption img {
    width: 50px;
    height: auto;
    border-radius: 0;
}
.container-swiper .swiper-caption span {
    margin-left: 20px;
    font-size: 1.2rem;
}

.container-swiper .swiper-pagination {
    bottom: 25px !important;
}
.container-swiper .swiper-pagination-bullet {
    border: 1px solid #fff;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.container-swiper .swiper-pagination-bullet-active {
    background: #fff;
}

.swiper-button-prev::after, .swiper-button-next::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 2px 0 0 2px; /* adjust the border width to change the line thickness */
    width: 30px;
    height: 30px;
  }
  
 .swiper-button-prev::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  
.swiper-button-next::after {
    transform: translate(-50%, -50%) rotate(135deg);
  }
  .container-swiper .swiper-button-next, .container-swiper .swiper-button-prev {
    opacity: 0;
    transition: 1s opacity;
    pointer-events: none;
    filter: drop-shadow(0 0px 5px rgba(0, 0, 0, 0.8));
  }
  .container-swiper .swiper-slide-active .swiper-button-prev, .container-swiper .swiper-slide-active .swiper-button-next {
    opacity: 1;
    pointer-events: auto;
  }

  .container-swiper .swiper-header {
    opacity: 0;
    transition: 1s opacity;

  }
  .container-swiper .swiper-slide-active .swiper-header {
    opacity: 1;

  }

  .container-swiper .swiper .kits .btn {
    background-color: var(--somnias-kits);
  }

  .container-swiper .swiper-button.btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    opacity: 0;
    z-index: 200;
}

.container-swiper .swiper-header {
    position: absolute;
    margin: 0 80px;
    margin-top: 40px;
    width: calc(100% - 160px);
    z-index: 10;
}

.container-swiper .swiper-header p {
    color: #fff;
    font-size: 2.5em;
    font-weight: 500;
}


.container-swiper .container-swiper-header {
    margin: 0 120px;
    width:calc(100% - 240px);
    max-width:2000px;
}
.container-swiper .container-swiper-header h2 {
    margin: 0;
}

div#landing-page .buttons {
    z-index: 300;
    position: absolute;
    height: 100%;
}

.landing-buttons {
    position: absolute;
    bottom: 70px;
    gap: 20px;
    width: 100%;
    display: flex;
    height: auto;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-buttons .btn {
    position: relative;
    bottom: 0;
    color: var(--somnias-gray);
    font-size: 1.2em;
}

/*FOOTER*/

div#footer {
    display: flex;
    float: left;
    position: fixed;
    /* top: 100vh; */
    bottom: 0;
    width: calc(100% - 240px);
    background-color: var(--somnias-grey);
    z-index: 0;
    flex-direction: row;
    color: #fff;
    padding: 50px 120px;
    justify-content: space-between;
    flex-wrap: wrap;
}

div#footer .fullwidth {
    flex-basis: 100%;
    justify-content: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #dddddd7a;
}

div#footer .fullwidth img {
    width: 400px;
    max-width: 80vw;
    height: auto;
    margin-left: -15px;
}

div#footer-spacer {
    position: relative;
}

div#footer > div {
    display: flex;
    align-items: center;
}

div#footer p {
    font-size: 1em;
}

div#footer a {
    background: linear-gradient(90deg, #ffffff, #ffffff 45%, var(--somnias-kits) 55%, var(--somnias-kits));
    background-size: 250%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: background-position 0.4s ease;
  }

  div#footer a:hover {
    background-position: 100% 0;
  }

div#footer > div > div {
    margin: 0 40px;
}

div#footer .logo img {
    width: 200px;
    height: auto;
}

div#footer .socialmedia svg {
    height: 25px;
    width: auto;
    margin: 0 5px;
}
div#footer .socialmedia svg path {
    fill: #fff;
}


/* Default styles for the SVG */
div#footer .instagram-svg {
    height: 25px;
    width: auto;
    margin: 0 5px;
}

/* Set the default white fill for the SVG paths */
div#footer .instagram-svg path {
    fill: #fff;
    transition: fill 0.5s ease; /* Smooth transition for hover effect */
}

/* Gradient mask animation on hover */
div#footer .instagram-svg:hover path {
    fill: url(#instagram-gradient); /* Apply the gradient fill on hover */
}

/* Animate gradient transition */
div#footer .instagram-svg:hover #instagram-gradient stop {
    animation: move-gradient 1s ease-in-out forwards; /* Start the gradient animation */
}

@keyframes move-gradient {
    0% {
        stop-color: #f58529;
        offset: 0%;
    }
    50% {
        stop-color: #dd2a7b;
        offset: 50%;
    }
    100% {
        offset: 100%;
    }
}

    /* YouTube red animation */
    div#footer .youtube-svg path {
        fill: #fff;
        transition: fill 0.3s ease;
    }

    div#footer .youtube-svg:hover path {
        fill: #FF0000; /* YouTube red */
    }

    div#footer .youtube-svg:hover path:first-child {
        animation: move-solid-red 1s ease-in-out;
    }

    @keyframes move-solid-red {
        0% {
            fill: #FF0000;
            transform: translateX(-50%);
        }
        100% {
            transform: translateX(0%);
        }
    }

    /* Facebook blue animation */
    div#footer .facebook-svg path {
        fill: #fff;
        transition: fill 0.3s ease;
    }

    div#footer .facebook-svg:hover path {
        fill: #1877F2; /* Facebook blue */
    }

    div#footer .facebook-svg:hover path:first-child {
        animation: move-solid-blue 1s ease-in-out;
    }

    @keyframes move-solid-blue {
        0% {
            fill: #1877F2;
            transform: translateX(-50%);
        }
        100% {
            transform: translateX(0%);
        }
    }

/* AKKORDION */

.tx-dce-container {
    grid-column: 1 / 13;
    width: 100%;
}




.accordion {
    margin: 0 auto;
    border: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
    width: 100%;
}

.accordion-item {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #ddd;
}
.accordion-beschreibung {
    padding-top: 20px;
}
.accordion-item:last-of-type {
    border-bottom: none;
}

.accordion-swiper-outer {
    margin-right: 50px;
}
.accordion-content-inner {
    display: flex;
    flex-direction: row;
    margin: 0 100px;
}
.accordion-content-inner > div {
    position: relative;
    width: 50%;
}

.accordion-header {
    border: none;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    width: calc(100% - 30px);
    outline: none;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.accordion-group {
    gap: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.accordion-beschreibung .accordion-link, .accordion-wochen .accordion-link {
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
}
.accordion-header:hover {
    background-color: #e0e0e0;
}

.accordion-content {
    padding: 15px;
    display: none;
    background-color: #fff;
}

.accordion-content p {
    font-size: 1em;
}

.accordion-btn {
    position: relative;
    transition: 0.5s;
    margin-top: -10px;
    margin-left: 15px;
}
.accordion-zeit {
    width: 145px;
    text-align: right;
}
.accordion-swiper {
    margin: 50px 0;
}

.accordion-img img {
    width: auto;
    max-height: 80%;
    height: auto;
}

.accordion-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-content h3 {
    margin-bottom: 0;
    font-weight: 500;
}
.accordion-info {
    display: flex;
    width: 100%;
    gap: 20px;
    justify-content: space-around;
    margin: 0 40px;
}
.accordion-info div {
    width: 100%;
    text-align: center;
}
.accordion-item.open .accordion-btn {
    transform: scaleY(-100%);
    transform-origin: center 5px;
}

.accordion-swiper-outer .swiper-button-next, .accordion-swiper-outer .swiper-button-prev {
    color: var(--somnias-grey);
}
.accordion-swiper-outer .swiper-button-prev {
    margin-left: -100px;
}
.accordion-swiper-outer .swiper-button-prev::after, .accordion-swiper-outer .swiper-button-next::after {
    border-width: 1px 0 0 1px;
    height: 20px;
    width: 20px;
}


.accordion-swiper-outer .swiper-button-next {
    margin-right: -60px;
}

.accordion-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-style: solid;
    border-width: 1px 0 0 1px;
    width: 20px;
    height: 20px;
}

.accordion-btn::after {
    transform: translate(-50%, -50%) rotate(-135deg);
}




@media (max-width: 1600px) {
    .container h2 {
        font-size: 3.5em;
    }
    .edenhof .text-1 {
        margin-top: 400px;
    }

    .container-swiper .swiper-header p {
        font-size: 2em;
    }

}

@media (max-width: 1400px) {
    div#footer > div > div {
        margin: 0 25px;
    }
}

@media (max-width: 1200px) {

    div#header {
        justify-content: space-between;
    }
    div#header .logo {
        opacity: 0;
        pointer-events: none;
        width: 200px;
    }
    div#header-warp.scrolled div#header .logo {
        opacity: 1;
    }
    div#header-warp .nav-main .nav-projects {
        max-height: 0;
        transition: 1s;
    }
    /* div#header-warp .nav-main {
        display: block;
    } */

    div#header-warp.scrolled .nav-main .nav-projects a span {
        /* max-height: 20px; */
    }

    div#header-warp.scrolled  div#header .logo {
        pointer-events: auto;
    }
    div#header-warp.scrolled .nav-main .nav-projects {
        max-height: 200px;
    }

    div#header-warp .nav-main .nav-lang {
        max-height: 30px;
        overflow: hidden;
    }

    .projects-bg img {
        transition: 0s;
    }


    /* LANDING PAGE */

    div#landing-page .logo {
        pointer-events: none;
    }
    div#landing-page .logo img {
        opacity: 1;
    }

    div#landing-page.programm {
        min-height: 500px;
    }

    .project .btn {
        bottom: 100px;
    }
    div#landing-page.detail .project img {
        margin-bottom: 200px;
    }

    div#landing-page .quote {
        display: none;
    }

    div#landing-page.kits.programm .background-video {
        background-color: rgba(var(--somnias-kits-rgb), 1);
    }

    div#landing-page.edenhof.programm .background-video {
        background-color: rgba(var(--somnias-edenhof-rgb), 1);
    }

    div#landing-page.fidelis.programm .background-video {
        background-color: rgba(var(--somnias-fidelis-rgb), 1);
    }

    div#landing-page.programm .background-video {
        background-color: rgba(var(--somnias-grey-rgb), 1);
    }
    
    div#landing-page .quote p {
        font-size: 3rem;
        margin: 0 50px;
    }

    div#landing-page.programm .project > div {
        width: 100%;
    }
    div#landing-page.programm .project p {
        font-size: 3rem;
        margin-bottom: 20px;
        /* width: 100%;
        text-align: center; */
        line-height: 1;
    }

/* CONTENT */ 

    .container h2 {
        font-size: 3em;
        margin-bottom: 50px;
    }

    .col-four {
        grid-column: span 12;
    }

    .container {
        grid-gap: 0;
        /* margin: 0 60px;
        width: calc(100% - 120px); */
        row-gap: 20px;
    }
    
    .container.flex-container {
        flex-direction: column;
        align-items: center;
    }

    .container.container-swiper {
        margin: 0;
        width: 100%;
        min-height: auto;
        padding: 0;
        padding-top: 20px;
    }
    
    .container-swiper .swiper {
        width: calc(100% - 40px);
        padding: 60px 20px;
        padding-top: 40px;
        margin: 0;
    }
    
    .container-swiper .swiper-slide {
        max-width: 100%;
        height: initial;
        overflow: hidden;
        border-radius: 20px;
        cursor: pointer;
    }

    .container-swiper .swiper .img-wrap img {
        height: auto;
        width: auto;
        min-height: auto;
    }

    .container-swiper .swiper .img-wrap {
        justify-content: center;
    }

    .container-swiper .swiper-header {
        margin: 0 40px;
        margin-top: 40px;
        width: calc(100% - 80px);
    }

    .container-swiper .container-swiper-header {
        margin: 0 40px;
        margin-top: 40px !important;
        width: calc(100% - 80px);
    }

    .container img {
        max-width: 100%;
        height: auto;
    }
    
    span.img-caption {
        margin-right: 40px;
        margin-left: 40px;
    }

    .container .somnias {
        grid-column: 1 / 13;
        position: relative;
        grid-row: auto;
        margin-top: 0;
    }

    .ueberblick .col-eight {
        grid-column: span 12;
        grid-row: auto;
    }
    
    .ueberblick .col-four {
        grid-row: auto;
    }
    
    .ueberblick .frame-space-after-small {
        margin-bottom: 0;
    }



    .somnias.img-1 {
        grid-row: 2;
        grid-column: 1 / 10;
    }

    .somnias.img-1 img {
        max-height: 70vh;
    }

    .somnias.text-1 {
        margin-bottom: 100px;
    }

    .somnias.img-3 {
        grid-row: 2;
        z-index: 100;
        grid-column: 2 / 11;
        margin-top: 70vh;
        margin-right: 20px;
        transform: rotate(-10deg);
    }

    .somnias.img-3 img {
        max-height: 70vh;
    }

    .somnias.img-2 {
        grid-column: 5 / 13;
        grid-row: 2;
        margin-top:150vh;
        z-index: 200;
    }
    .somnias.img-2inner {
        transform: rotate(5deg);
        max-width: 90vw;
        margin-right: 10px;
    }


    .somnias.img-2 img {
        max-height: 70vh;
    }

    .somnias.text-2{
        margin-top: 50px;
    }

    .landing-buttons {
        bottom: 20px;
    }

    div#landing-page .buttons {
        bottom: 100px;
    }

    div#landing-page.detail > div {
        width: 100%;
        position: absolute;
    }
    
    /* div#landing-page {
        display: block;
    } */
    
    div#landing-page .project {
        background-color: initial;
    }
    
    .project .landing-page-background {
        position: absolute;
        display: block;
        width: 50%;
        left: 50%;
        height: 100%;
        z-index: -1;
    }
    
    /* .project.kits .landing-page-background {
        background-color: rgba(var(--somnias-kits-rgb),0.5);
    }
    
    .project.fidelis .landing-page-background {
        background-color: rgba(var(--somnias-fidelis-rgb),0.5);
    }
    
    .project.edenhof .landing-page-background {
        background-color: rgba(var(--somnias-edenhof-rgb),0.5);
    } */






    .kits .container > div, .fidelis .container > div, .edenhof .container > div {
        grid-column: 1 / 13;
        position: relative;
        grid-row: auto;
        margin-top: 0;
    }




    .kits .container .img-1 {
        grid-row: 2;
        grid-column: 1 / 13;
    }

    .kits .container .img-1 img {
        max-height: 70vh;
    }

    .kits .container .img-2 {
        grid-column: 2 / 10;
        grid-row: 2;
        margin-top: 50vh;
        margin-left: 20px;
    }

    .kits .container .img-2inner {
        transform: rotate(-5deg);
    }

    .kits .container .img-2 img {
        max-height: 70vh;
    }

    .kits .container .text-1 {
        grid-row: 3;
        margin-top: 200px;
    }



    .kits .container .text-2{
        grid-row: 1;
        margin-top: 50px;
        margin-bottom: 100px;
    }

    .kits .container .img-3 {
        grid-row: 2;
        z-index: 400;
        grid-column: 3 / 11;
        margin-top: 70vh;
    }

    .kits .container .img-3inner {
        transform: rotate(-10deg);
    }

    .kits .container .img-3 img {
        max-height: 70vh;
    }

    .kits .container .img-4 {
        grid-row: 2;
        z-index: 300;
        grid-column: 1 / 12;
    }

    .kits .container .img-4 img {
        max-height: 70vh;
    }

    .kits .container .text-3{
        grid-column: 1 / 13;
        grid-row: 2;
        margin-bottom: 20vh;
        margin-top: 170vh;
    }




    .edenhof .container .img-1 {
        grid-row: 2;
        grid-column: 1 / 10;
    }

    .edenhof .container .img-1 img {
        max-height: 70vh;
    }

    .edenhof .container .img-2 {
        grid-column: 4 / 13;
        transform: rotate(5deg);
        grid-row: 2;
        margin-top: 100vh;
        margin-right: 30px;
    }

    .edenhof .container .img-2 img {
        max-height: 70vh;
    }

    .edenhof .container .text-1 {
        grid-row: 3;
        margin-top: 200px;
    }



    .edenhof .container .text-2{
        grid-row: 1;
        margin-bottom: 200px;
    }

    .edenhof .container .img-3 {
        grid-row: 2;
        z-index: 100;
        grid-column: 1 / 13;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    

    .edenhof .container .img-3 img {
        max-height: 70vh;
        max-width: 90vw;
    }

    .edenhof .container .text-3{
        grid-row: 3;
        grid-column: 1 / 13;
        margin-top: 50vh;
        margin-bottom: 50vh;
    }

    .edenhof .container .img-4 {
        z-index: 200;
        grid-column: 1 / 10;
        grid-row: 2;
        margin-top: 70vh;
        margin-right: 10px;
        margin-left: 10px;
    }

    .edenhof .container .img-4inner {
        transform: rotate(-5deg);
    }

    .edenhof .container .img-4 img {
        max-height: 70vh;
    }

    .edenhof .container .img-5 {
        z-index: 300;
        grid-column: 2 / 12;
        margin-bottom: 200px;
        grid-row: 4;
    }

    .edenhof .container .img-5inner {
        /* transform: rotate(10deg); */
    }

    .edenhof .container .img-5 img {
        max-height: 70vh;
    }

    .edenhof .container .text-4{
        grid-row: 5;
        margin-top: 50px;
        margin-bottom: 100px;
    }



    .resp-hide {
        display: none;
    }


    .fidelis .container .img-2 {
        grid-column: 1 / 13;
        grid-row: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .fidelis .container .img-2 .img-2inner {
        transform: rotate(5deg);
        max-width: 90vw;
    }

    .fidelis .container .img-2 img {
        max-height: 70vh;
    }

    .fidelis .container .img-1 {
        grid-row: 3;
        grid-column: 5 / 13;
        margin-top: 70vh;
        z-index: 300;
    }

    .fidelis .container .img-1 img {
        max-height: 70vh;
    }

    .fidelis .container .text-1 {
        grid-row: 2;
        margin-bottom: 100px;
    }



    .fidelis .container .text-2{
        grid-row: 1;
        margin-top: 50px;
        margin-bottom: 100px;
    }

    .fidelis .container .img-3 {
        grid-row: 2;
        z-index: 400;
        grid-column: 3 / 13;
        margin-top: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .fidelis .container .img-3inner {
        transform: rotate(-5deg);
        max-width: 90vw;
    }

    .fidelis .container .img-3 img {
        max-height: 70vh;
    }

    .fidelis .container .img-4 {
        margin-top: 20vh;
        grid-row: 2;
        z-index: 300;
        grid-column: 1 / 11;
    }

    .fidelis .container .img-4 img {
        max-height: 70vh;
    }


    .fidelis .container .text-3{
        grid-column: 1 / 13;
        grid-row: 3;
        margin-bottom: 20vh;
        margin-top: 30vh;
    }


    .container-background {
        display: none;
    }



    
    div#projects {
        flex-direction: column;
    }






    .accordion-content-inner > div {
        width: 100%;
    }

    .accordion-img {
        display: none;
    }
    .accordion-content-inner {
        margin: 0;
    }

    .accordion-swiper-outer .swiper-button-next {
        margin-right: -20px;
    }

    .accordion-swiper-outer .swiper-button-prev {
        left: auto;
        margin-right: -30px;
    }
    .accordion-swiper-outer .swiper-button-next, .accordion-swiper-outer .swiper-button-prev {
        
        right: 0;
        left: auto;
    }
    .accordion-swiper-outer .swiper-button-next.swiper-button-disabled, .accordion-swiper-outer .swiper-button-prev.swiper-button-disabled {
        opacity: 0;
    }

    div#footer .contact {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    div#footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        padding: 50px 30px;
        width: calc(100% - 60px);
    }


    div#footer .logo {
        display: none;
    }



    div#footer .fullwidth {
        flex-basis: 100%;
        justify-content: center;
        margin-top: 20px;
        padding-top: 0;
        border-top: none
    }



}




@media (max-width: 1000px) {    
    .container {
        margin: 0 60px;
        width: calc(100% - 120px);
    }
    
    div#landing-page.programm .project {
        padding: 0 60px;
        width: calc(100% - 120px);
    }
    div#header-warp {
        padding: 30px 60px;
        width: calc(100% - 120px);
    }


}


@media (max-width: 800px) {

    .container {
        margin: 0 20px;
        width: calc(100% - 40px);
    }


    div#header-warp {
        padding: 30px 20px;
        width: calc(100% - 40px);
    }

    div#landing-page.programm .project {
        padding: 0 20px;
        width: calc(100% - 40px);
    }

    .container-swiper .swiper .img-wrap img {
        width: auto;
        min-height: 100%;
        
    }
    .container-swiper .swiper-button-next, .container-swiper .swiper-button-prev {
        display: none;
    }
    .container-swiper .swiper-header p {
        font-size: 1.5em;
    }

    .accordion-info {
        display: flex;
        flex-direction: column;
        width: auto;
        gap: 0;
        margin-right: 10px;
        justify-content: space-between;
    }
    .accordion-link .btn-2 {
        padding: 10px 20px;
    }
    .accordion-header {
        padding: 15px 20px;
        width: 100%;
        margin: 0 -20px;
        justify-content: space-between;
    }
    .accordion-btn {
        transform: translateX(15px);
    }
    .accordion-item.open .accordion-btn {
        transform: scaleY(-100%) translateX(15px);
        transform-origin: center 5px;
    }
    .accordion-info div {
        text-align: left;
    }




    .somnias.img-1 {
        grid-column: 1 / 12;
    }

    .somnias.img-3 {
        grid-column: 2 / 13;
        margin-right: 30px;
        transform: rotate(-5deg);
    }

    .somnias.img-2 {
        grid-column: 1 / 11;
    }



    .edenhof .container .img-4 {
        grid-column: 2 / 13;
    }

    .edenhof .container .img-1 {
        grid-column: 1 / 13;
    }
    .edenhof .container .img-2 {
        margin-right: 10px;
        grid-column: 2 / 13;
    }
    .edenhof .container .img-5 {
        grid-row: 3;
        grid-column: 1 / 13;
        margin-top: 120vh;
    }


    

    .kits .container .img-2 {
        grid-column: 2 / 10;
    }

}


    
@media (max-width: 800px) {    
    .container h2 {
        font-size: 2.5em;
    }

    div#header {
        align-items: center;
    }
    

    div#header-warp .nav-main {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
        height: fit-content;
    }
    
    div#header .logo {
        max-height: 0;
        width: auto;
        margin-bottom: 0;
    }

    div#header-warp.programm div#header .logo {
        margin-bottom: 0;
    }
    
    div#header-warp.scrolled div#header .logo {
        margin-bottom: 0px;
        max-height: 60px;
    }

    div#header-warp.programm div#header .logo {
        margin-top: 2px;
    }

    div#header-warp .nav-main .nav-projects img, div#header-warp .nav-main .nav-projects svg {
        width: 45px;
    }

    div#header-warp .nav-main .nav-projects {
        gap: 10px;
    }

    div#header-warp {
        padding: 20px 20px;
    }

    div#header-warp.scrolled .nav-main .nav-lang {
        max-height: 0;
    }

    .nav-lang.mobile {
        position: fixed;
        z-index: 1000;
        margin-top: 20px;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        overflow: hidden;
        max-height: 20px;
    }

    .nav-lang.mobile.scrolled {
        max-height: 0;
    }
    
    /* div#header-warp .logo img {
        transform: translateX(-50%);
    } */

    div#header-warp.scrolled .nav-main .nav-projects a span {
        max-height: 0;
    }

    div#header-warp .nav-main .nav-projects a:hover span {
        max-height: 20px;
        max-height: 0;
    }



}



/*COOKIE MELDUNG*/

.cc-btn {
    font-weight: 500;
  }
  button.cc-btn.cc-allow-all.cc-w-100 {
      width: 50%;
  }
  button.cc-btn.cc-deny {
      display: none;
  }
  .cc-compliance {
      flex-direction: row-reverse;
  }
  button.cc-btn {
      background-color: grey;
  }
  .cc-window .dp--cookie-check {
    justify-content: space-around;
}

@media (max-width: 600px) {   
    div#cookieconsent\:window {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: none;
    }
}