/* 21.01.2024 */
:root {
--headerBGColor: #ffffff;
--headerColor: #000;

--sublineColor: #68707c;

--footerBGColor: #444;
--footerColor: #cccccc;
--backgroundColor: #DDD;
--containerBGColor: #FFF;
--swiper-theme-color: #FFF;

--BGColor1: #283943;
--BGColor2: #495b66;
--BGColor3: #5d6f79;
--BGColor4: #334752;

--link-Color: #000;

--maxWidth: 1600px;
--mobileWidth: 600px;
--paddingX: 20px;
--marginY: 40px;
--borderRadius: 20px;

--headerHeight: 60px;
--footerHeight: 40px;

--swiper-navigation-sides-offset : -20px;

--fill1: #ffffff;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url("styleJacky24.css"); 

body{
    background-color: var(--backgroundColor);
    margin: 0;
    min-height: calc(100% - var(--footerHeight) );
    position: absolute;
    width: 100%;
    padding-bottom: var(--footerHeight);
    font-family: Roboto;
}
header,
.containerOutside,
footer{
    position: relative;
   
}
.container{
    position: relative;
    max-width: var(--maxWidth);
    margin: 0 auto;
    padding: var(--paddingX);
}
.container.fill{
    background-color: var(--fill1);
}
.container.expandhigh{
    min-height: calc(100vh - var(--footerHeight) - var(--headerHeight) - var(--paddingX)*2 );
}
.center{
    text-align: center;
}

a{
    font-weight: bold;
    text-decoration: none;
    color: var(--link-Color);
}
a:hover{
    text-decoration: underline;
}

/* - - - Color - - - */
.color1{
    background-color: var(--BGColor1);
}
.color2{
    background-color: var(--BGColor2);
}
.color3{
    background-color: var(--BGColor3);
}
.color4{
    background-color: var(--BGColor4);
}


/* - - - Header - - - */

header{
    height: var(--headerHeight);
    background-color: var(--headerBGColor);
    color: var(--headerColor);
    z-index: 5;
}
header>.container{
    position: relative;
    max-width: calc( var(--maxWidth) - var(--headerHeight) + var(--paddingX)  );
    padding-right: calc( var(--headerHeight) );
}
header a.Logo>img{
    position: absolute;
    left: 0;
    top: 0;
    height: var(--headerHeight);
}
header .mainMenu.dropdown{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 24;
}
header .dropbtn{
    color: var(--headerColor);
}

h1{
    font-size: 2em;
}
.subline{
    font-size: 1.2em;
    max-width: 800px;
    color: var(--sublineColor);
    line-height: 1.6em;
}


/* - - - Dropdown - - - */

.dropdown .dropbtn {
    font-size: calc(var(--headerHeight) * 0.8);  
    border: none;
    outline: none;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    height: var(--headerHeight);
    padding: 0 var(--paddingX);
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    white-space: nowrap;
}
.dropdown-Right .dropdown-content {
    right: 0;
}
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: #ddd;
}
.dropdown:hover .dropdown-content {
    display: block;
}


.containerOutside{
    background-color: green;
}
footer{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: var(--footerHeight);
    background-color: var(--footerBGColor);
    color: var(--footerColor);
}
footer>.container{
    padding-top: 8px;
    padding-bottom: 8px;
}

.block-M{
    background-color: var(--headerBGColor);
    max-width: calc( var(--maxWidth) * 0.75 );
    margin: var(--marginY) auto;
}

/* Impressum */
.impressum h3>span{
    font-size: 0.5em;
}
.impressum h3{
    margin-bottom: 0.2em;
}
.impressum p{
    margin: 0;
    line-height: 2em;
}
.impressum a{
    display: inline-block;
    padding: 0.5em 0;
}
footer a{
    display: inline-block;
    color: var(--footerColor);
    text-decoration: none;
    margin: 0 0.8em;
}
footer a:hover{
    text-decoration: underline;
}
 /* Blocks */
.container-color1{
    background-color: var(--containerBGColor);
}



.container-Text-Image-50,
.container-Image-Text-50{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.container-Text-Image-50>figure,
.container-Text-Image-50>img,
.container-Image-Text-50>figure,
.container-Image-Text-50>img{
    width: 100%;
    height: auto;
    justify-self: center;
    order: 1;
}
.container-Text-Image-50 h2,
.container-Image-Text-50 h2{
    text-align: center;
}
.container-Text-Image-50 p,
.container-Image-Text-50 p{
    text-align: center;
}

/* Images */

.loopImage-3{
    position: relative;
}
.loopImage-3>img{
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    animation-duration: 9s;
    animation-iteration-count: infinite;
}
.loopImage-3>img:first-of-type{
    position: relative;
    opacity: 1;
    animation-name: loopImage-3_1;
}
.loopImage-3>img:nth-of-type(2){
    animation-name: loopImage-3_2;
}
.loopImage-3>img:nth-of-type(3){
    animation-name: loopImage-3_3;
}
.loopImage-3{

}
@keyframes loopImage-3_1 {
}
@keyframes loopImage-3_2 {
    23%  {opacity: 0;}
    33%  {opacity: 1;}
    66%  {opacity: 1;}
    67%  {opacity: 0;}
}
@keyframes loopImage-3_3 {    
    56%  {opacity: 0;}
    66%  {opacity: 1;}
    89%  {opacity: 1;}
    99%  {opacity: 0;}
}

@media (min-width: 600px){
    .impressum{
        display: grid;        
        grid-template-columns: auto 1fr;
        column-gap: 4%;
    }
    .impressum>h2{
        grid-column: span 2;
    }
}

/* Swiper js */
.container.swiper{
    padding: 0;
    max-width: calc( var(--maxWidth) + var(--paddingX)*2 );
}
.swiperHeader {
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
}
.swiper-slide{
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.swiper-slide > a{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.swiper-slide video{
    width: auto; 
    height: 100%;
}
@media (min-width: 893px){
    .swiper-slide video{
        width: 100%; 
        height: auto;
    }
}
.swiper-slide .description{
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--paddingX);
    background-color: rgba(0, 0, 0, 0.392);
    color: #FFF;
}
.swiper-slide .description h3{
    font-size: 42px;
    margin: 0;
    padding: auto;
}
.swiper-slide .description p{

}

.img{
    width: 100%;
}

.img-float-l,
.img-float-r{
    position: relative;
    width: 100%;
}
.swiper-button-next, .swiper-button-prev {

    padding: 40px 30px;
    top: calc(var(--swiper-navigation-top-offset, 50%) - var(--swiper-navigation-size) );
}


/* - - - Container: colorblocks - - - */

.colorblocks{
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    max-width: calc( var(--maxWidth) + var(--paddingX)*2 );
}
.colorblocks section{
    padding: var(--paddingX);
    min-height: 4em;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.colorblocks section>a{
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.colorblocks section h2>span{
    color: var( --light1 );
    font-weight: 400;
}

.colorblocks section a,
.colorblocks section {
    text-align: center;
    color: #FFF;
    line-height: 2em;
}


/* - - - Projekt Overview - - - */

.projektoverview{
    display: grid;
    grid-template-columns: 1fr ;
    grid-column-gap: var(--paddingX);
    grid-row-gap: 40px;
    padding-bottom: 80px;
}
.projektoverview>a{
    display: block;
}
.projektoverview>a:hover>img{
    transform: scale(1.02);
    box-shadow: 0 2px 5px #00000055;
}
.projektoverview figure,
.projektoverview img{
    display: block;
    width: 100%;
    transition: transform 0.05s, box-shadow 0.05s;
    margin: 0;
}
.projektoverview h3{
    margin: 0;
    margin-top: 8px;
}
.projektoverview p{
    font-weight: normal;
    margin: 0.2em 0;
    text-decoration: none;
    color: #888;
}
.projektoverview>a:hover p{
    text-decoration: none;
}

/* - - -  - - - */
.socials-container{
    text-align: center;
}
a.iconSocial{
    margin: 2em;
}
a.iconSocial::before {
    content: "";
    display: inline-block;
    position: relative;
    background-image: url("./images/social/Social_Icon_Facebook_darkred.webp");
    background-repeat: no-repeat;
    background-size: contain;
    width: 2.4em;
    height: 2em;
    top: 0.6em;

}

/* - - - Photoswipe - - - */
.pswp__zoom-wrap {
    text-align: center;
}
.pswp__zoom-wrap:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.wrapper {
    line-height: 0;
    width: 100%;
    max-width: 900px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    width: 100%;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
video {
    width: 100% !important;
    height: auto !important;
}