@import url("grid.css");
@import url("fonts.css");
@import url("navi.css");
@import url("plugins/baguetteBox.min.css");
@import url("plugins/swiper.min.css");

/*** Variablen
*****************************/

:root  {
    --firstfont: 'Cantarell', sans-serif;
    --secendfont: 'Fjalla One', sans-serif;
    --firstcolor: #272727;
}

/*** Global STYLES
****************************************/

html {
    font-size: 20px;
    font-family: var(--firstfont);
    line-height: 28px;
}
a {
    color: var(--firstcolor);
    transition: color 0.5s;  
}
a:hover {
    color: #d45e5e;
}
@media (min-width:992px) {
    html {
        font-size: 23px;
        line-height: 31px;
    }
}

@media (min-width:1620px) {
    html {
        font-size: 26px;
        line-height: 34px;
    } 
}

/*** HELPER STYLES
****************************************/
.middle {
    display: flex;
    align-items: center;
} 
.center {
    display: flex;
    justify-content: center;
} 

.distance {
    margin-bottom: 75px;
}

@media (min-width:992px) {
    .distance {
        margin-bottom: 112px;
    }
}
@media (min-width:1620px) {
    .distance {
        margin-bottom: 150px;
    }
}

/*** Button STYLES
****************************************/
.button {
    color: var(--firstcolor);    
    text-decoration: none;
    position: relative;
    display: inline-block;
    background-color: #fff;    
    font-weight: 700;
    transition: color 0.5s, background-color 0.5s;
    overflow: hidden;
    z-index: 0;
    font-size: 18px;
    padding: 17px 15px;
}
.button:hover {
    color: #fff;
    text-shadow:none    
}
@media (min-width:992px) {
    .button {
        font-size: 20px;
        padding: 20px 18px;
    }
}
@media (min-width:1620px) {
    .button {
        font-size: 21px;
        padding: 29px 27px;
    }
}



/*** HEADER STYLES
****************************************/
#header {
    position: relative;
    background: linear-gradient(0deg, rgba(0,0,0,0.86) 0%, rgba(255,255,255,0) 60%);
    height: 460px;
    padding-bottom: 31px;
    text-align: center;
}
#header .swiper-header {
   z-index: -1;
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
#header .swiper-header .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
}

#header .claim {
    font-family: var(--secendfont);
    color: #fff;
    font-size: 37px;
    line-height: 38px;
    margin-bottom: 15px;
}
#header .claim span {    
    font-family: var(--firstfont);
    display: block;
    font-size: 25px;        
} 
#header .button:after {
    content: '';
    height: 0%;
    width: 100%;
    top: 50%;
    left: 50%;
    background: var(--firstcolor);;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    position: absolute;
    z-index: -1;
    transition: all 1s;
}
#header .button:hover::after {
    height: 500%;
}
@media (min-width:992px) {
    #header {
        padding-bottom: 46px;
        text-align: start;
    }
    #header .claim {
        
        font-size: 56px;
        line-height: 52px;
        margin-bottom: 0;
    }
    #header .claim span {
        font-size: 38px;       
    } 
}
@media (min-width:1620px) {
    #header {
        height: 730px;
        padding-bottom: 62px;
    }
    #header .claim {
        font-size: 75px;
        line-height: 66px;
    }
    #header .claim span {
        font-size: 48px;       
    } 
}

/*** Content 1 STYLES
****************************************/
#content{
    padding: 75px 0;
    background-color: #fff;
}

/* Überschrift */
#content h1 {
    font-family: var(--secendfont);
    font-weight:400;
    text-align: center;
    font-size: 41px;
    line-height: 37px;
    margin-bottom: 34px;
}
#content h1 span {
    font-family: var(--firstfont);
    display: block;
    font-size: 29px;
            
}

/* Bild und Text */
#content p {
    margin-bottom: 23px;
    
}
#content img {
    width: 100%;
    display: block;
    
}
#content .lightbox {
    position: relative;
    display: block;
}
#content .lightbox::after {
    content: url("../img/plusslupe.png");
    position: absolute;
    right: 25px;
    bottom: 27px;
    transition: all 0.5s;
    line-height: 0;
}
#content .lightbox::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.5s;
}
#content .lightbox:hover::after {
    transform: translate(50%, 50%);
    right: 50%;
    bottom: 50%;
}
#content .lightbox:hover::before {
    background-color: rgba(0,0,0,0.4);
}

@media (min-width:992px) {
    #content{
        padding: 112px 0;
    }
    #content h1 {
        font-size: 61px;
        line-height: 55px;
        margin-bottom: 58px;
    }
    #content h1 span {
        font-size: 44px;
                
    }
    #content img{
        margin-bottom: 0;
    }
    #content p {
        margin-bottom: 23px;
    }
}
@media (min-width:1620px) {
    #content{
        padding: 150px 0;
    }
    #content h1 {
        font-size: 81px;
        line-height: 75px;
        margin-bottom: 92px;
    }
    #content h1 span {
        font-size: 58px;
    }
    #content p {
        margin-bottom: 32px;
    }
}

/*** Swiper STYLES
****************************************/
#content .swiper-banner {
    width: 100%;
    height: 270px;
    /* Punktenavigation */
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-width: 13px;
    --swiper-pagination-bullet-height: 13px;    
    /* Pfeilnavigation */
    --swiper-navigation-color: #fff;
    --swiper-navigation-size: 25px;
    --swiper-navigation-top-offset: 45%;
    --swiper-navigation-sides-offset: 4px;  
}

#content .swiper-banner .swiper-slide {
    background: linear-gradient(0deg, rgba(0,0,0,0.86) 0%, rgba(255,255,255,0) 60%);
    transform: none; 
}
#content .swiper-banner .swiper-slide img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    object-fit: cover;  
}

#content .swiper-banner .swiper-pagination .swiper-pagination-bullet{
    transition: opacity 0.25s;
}
#content .swiper-banner .swiper-pagination .swiper-pagination-bullet:hover {
    opacity: 0.65;
}

#content .swiper-banner .swiper-button-prev,
#content .swiper-banner .swiper-button-next { 
    background-color: transparent;
    border-radius: 50%;
    overflow: hidden;
    transition: color 0.5s;
    height: calc(var(--swiper-navigation-size)*0.5*2.5);
    width: calc(var(--swiper-navigation-size)*0.5*2.5);
}
#content .swiper-banner .swiper-button-next::before,
#content .swiper-banner .swiper-button-prev::before {
    content: '';
    height: 100%;
    width: 0;
    top: 0;
    background: #fff;
    transform: rotate(0);
    position: absolute;
    z-index: -1;
    transition: width 1s, opacity 0.5s;
    transition-timing-function: cubic-bezier(0, 1.02, 1, 0.99);
    opacity: 0;
}
#content .swiper-banner .swiper-button-next::before{
    right: 0;
}
#content .swiper-banner .swiper-button-prev::before{
    left: 0;
}
#content .swiper-banner .swiper-button-prev:hover,
#content .swiper-banner .swiper-button-next:hover { 
    color: var(--firstcolor);
}
#content .swiper-banner .swiper-button-prev:hover::before,
#content .swiper-banner .swiper-button-next:hover::before {
    width:100%;
    opacity: 1;
}

@media (min-width:992px) {
    #content .swiper-banner {
        height: 500px;
        /* Punktenavigation */
        --swiper-pagination-bullet-width: 16px;
        --swiper-pagination-bullet-height: 16px;
        /* Pfeilnavigation */
        --swiper-navigation-size: 37px;
        --swiper-navigation-top-offset: 50%;
        --swiper-navigation-sides-offset: 10px;
    } 
    #content .swiper-banner .swiper-button-prev,
    #content .swiper-banner .swiper-button-next {
        height: calc(var(--swiper-navigation-size)*0.5*3);
        width: calc(var(--swiper-navigation-size)*0.5*3);
    }
}
@media (min-width:1620px) {
    #content .swiper-banner {
        height: 716px;
        /* Pfeilnavigation */
        --swiper-navigation-size: 44px;
        --swiper-navigation-top-offset: 50%;
    }     
}

/*** Content 2 STYLES
****************************************/
#content h2 {
    font-family: var(--secendfont);
    font-weight:400;
    text-align:start;
    font-size: 31px;    
    line-height: 31px;
    margin-bottom: 26px;
}
#content h2 span {
    font-family: var(--firstfont);
    display: block;
    font-size: 23px;
}

#content table {
    border-collapse: collapse;
    width: 100%;
    font-size: 17px;
}
#content table tbody tr {
    border-bottom: 1px solid #ffff;
}
#content table thead tr th {
    border-bottom: 1px solid var(--firstcolor);
    text-align: start;
    font-size: 18px;
    padding: 0 6px;
}
/* #content table thead tr th, */
#content table tbody tr td {
    padding: 6px 8px;
}

#content table tbody tr:nth-of-type(even) {
    background-color: #fcfcfc; 
}
#content table tbody tr:nth-of-type(odd) {
    background-color: #f5f5f5;
}

@media (max-width: 991px) {
    #content table thead{
        clip: rect(0 0 0 0);
        position: absolute;
    }
    #content table tbody tr td::before {
    content: attr(data-label);
    font-size: 17px;
    float: left;
    font-weight: bold;
    }
    #content table tbody tr { 
        display: block;
        margin-bottom: 10px;
        text-align: right;
    }
    #content table thead tr th,
    #content table tbody tr td {
        display: block;
        border-bottom: 1px solid #dadada;
    }
        #content table {
            margin-bottom: 25px;
        }
    
}
@media (min-width:992px) {
    #content h2 {
        font-size: 46px;
        line-height: 40px;
        margin-bottom: 13px;
    }
    #content h2 span {
        font-size: 30px;
    }    
}
@media (min-width:1620px) {
    #content h2 {
        font-size: 61px;
        line-height: 55px;
        margin-bottom: 26px;
    }
    #content h2 span {
        font-size: 38px;
    }

    #content table {
        font-size: 22px;
    }
    #content table thead tr th {
        font-size: 24px;
    }
    #content table thead tr th,
    #content table tbody tr td {
        padding: 6px 10px;
    }
}

/*** VIDEO STYLES
***************************************/
#content .video1 {
    width: 100%;
    margin-bottom: 25px;
}
@media (min-width:992px) {
    #content .video1 {
        width: 100%;
        margin-bottom: 0;
    }
}
@media (min-width:1620px) {

}
/*** SWIPER2 STYLES
****************************************/
#content .swiper-banner.proben .swiper-slide {
    background: transparent; 
}
@media (min-width:992px) {
}
@media (min-width:1620px) {
}
/*** Footer STYLES
****************************************/
#footer {
    background-color: #f7f7f7;
}

#footer iframe {
    width: 100%;
    height:260px;
    border: 0;
}
#footer .foot_content {
    text-align: center;
    padding: 25px 0;
}

#footer .foot_content .footer_headline {
    flex-direction: column;
    margin-bottom: 15px;
}
#footer .foot_content .footer_headline img {
    
    margin-bottom: 15px;
    width: 70px;
    opacity: 0.2;
}
#footer .foot_content .footer_headline .headline {
    font-size: 27px;
    font-weight:400;
    line-height: 27px;
}
#footer .foot_content .footer_headline .headline span {
    font-size: 19px;
    display: block;
}

#footer .foot_content address {
    font-style: normal;
    font-size: 19px;
    line-height: 25px;
}
#footer .foot_content address ul {
    list-style-type: none;
    margin-bottom: 25px;
}
#footer .foot_content address dl dt {    
    font-weight: 700;    
}
#footer .foot_content address dl dd {    
    margin-bottom: 19px;   
}

@media (min-width:992px) {
    #footer iframe {
        height:100%;
        border: 0;
    }
    #footer .foot_content {
        text-align: start;
        padding: 100px 0 100px 20px;
        
    }
    #footer .foot_content .footer_headline {
        flex-direction: row;
        margin-bottom: 20px;
    }
    #footer .foot_content .footer_headline img {
        margin: 0 15px 0 0;
        width: 70px;
    }
    #footer .foot_content .footer_headline .headline {
        font-size: 30px;
        line-height: 30px;
    }
    #footer .foot_content .footer_headline .headline span {
        font-size: 21px;
    }
    
    #footer .foot_content address {
        font-size: 20px;
        line-height: 26px;
    }
    #footer .foot_content address ul {
        margin-bottom: 34px;
    }
    #footer .foot_content address dl  {
        display: grid;
        grid-template-columns: max-content auto;
        grid-gap: 0 20px;    
    }
    #footer .foot_content address dl dt {    
        font-weight: 400;    
    }
    #footer .foot_content address dl dd {    
        margin-bottom: 0;   
    }
}
@media (min-width:1620px) {
    #footer .foot_content {
        padding: 100px 0 ;        
    }
    #footer .foot_content .footer_headline img {
        margin-right: 40px;
        width: 100px;
    }
    #footer .foot_content .footer_headline .headline {
        font-size: 32px;
        line-height: 35px;
    }
    #footer .foot_content address {
        font-size: 24px;
        line-height: 28px;
    }
    #footer .foot_content address ul {
        margin-bottom: 50px;
    }
    #footer .foot_content .footer_headline .headline span {
        font-size: 28px;
    }
}