@import url("reset.css");
@import url("font.css");
@import url("accordion.css");
@import url("simple-slider.css");
@import url("simple-popup.css");
@import url("simple-popup-gallery.css");
:root {
    --text: #000;
    --primary: #c20e1a;
    --primary-transparent: rgba(0, 0, 0, 0.9);
    --secondary: #b60f1a;
    --button: #000;
    --contrast: #000;
    --grey: #f1f8f9;
    /*=============================*/
    --border-radius: 0;
    --heading-weight: 500;
    --heading-font-family: 'Ubuntu', serif;
    --regular-font-family: 'Ubuntu', sans-serif;
    --regular-font-weight: 300;
}

*{
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: var(--regular-font-weight) 16px/160% var(--regular-font-family), sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font: var(--heading-weight) 300%/110% var(--heading-font-family);    
    margin-bottom: 20px;
    text-transform: uppercase;
}

h2 {
    font: var(--heading-weight) 250%/110% var(--heading-font-family);    
    margin-bottom: 20px;
    text-transform: uppercase;
}

h3 {
    font: var(--heading-weight) 130%/110% var(--heading-font-family);  
    margin-bottom: 10px;
    text-transform: uppercase;
}

h4 {
    font: var(--heading-weight) 120%/100% var(--heading-font-family);  
    margin-bottom: 10px;
}

h5{
    font: var(--heading-weight) 115%/100% var(--heading-font-family);   
    margin-bottom: 10px;
}

h6 {
    font: var(--heading-weight) 110%/100% var(--heading-font-family);   
    margin-bottom: 10px;
}

small {
    font-size: 50%;
    font-family: var(--regular-font-family);
    font-weight: var(--regular-font-weight);
    text-transform: uppercase;
    display: inline-block;
    line-height: 120%;
}

p {
    margin-bottom: 5px;
}

a {
    text-decoration: none;    
	transition: 0.3s;
}

a:hover {
    opacity: 0.5;
}

.dsa-secure-plugin a:hover {
    opacity: 1;
}

nav {
    z-index: 99999;
    position: fixed;
    top: 0;
    background-color: var(--secondary);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.logoline{
    background-color: #fff;
    height: 150px;
    padding: 10px 5%;
    transition: 0.8s;
}

.logoline img {
    height: 100%;
}

nav .span {
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    height: 44px;
    width: 55px;
    padding: 10px;
    margin: auto;
}

nav .span div {
    width: 100%;
    border-bottom: 3px solid #fff;
}

.overlay .closebtn, nav .span {
    top: 20px;
    right: 5%;
}

button, .btn, .simple-popup .popup .btn {
    border: none;
    background-color: var(--button);
    color: #fff;
    padding: 8px 20px;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    border-radius: var(--border-radius);
    font-size: 100%;
}

button:hover{
    cursor: pointer;
}

.overlay {
    height: 100%;
    width: 0;
    max-width: 500px;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    background-color: var(--primary);
    background-color: var(--primary-transparent);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
	padding: 12px;
	text-decoration: none;
	font-size: 130%;
	color: #fff;
	display: block;
    text-transform: uppercase;
}

.overlay .closebtn {
    position: absolute;
    font-size: 60px;
}

.overlay a.closebtn {
    font-weight: 300;
}

.dse{
    font-size: 80%;
    text-align: center;
    position: fixed;
    bottom: 5px;
    right: 5%;
    background-color: var(--contrast);
    border-radius: var(--border-radius);
    color: #fff;
    width: 290px;
    padding: 5px;
}

.dsa-cookie-notice{
    border-radius: var(--border-radius);
}

.dse a {
    color: #fff;
}

.dsa-cookie-notice-close {
	text-transform: none;
	color: #fff !important;
	background-color: var(--button);
	padding: 7px 20px;
	font-weight: 400!important;
	border-radius: var(--border-radius);
}

.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    max-width: 400px;
    margin: 40px auto;
    position: relative;
}

.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
}

.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

article {
    width: 100%;
    display: flex;
    justify-content: center;
}

.container {
    margin: 100px 5%;
    max-width: 1200px;
}

.section-1  .text-col{
   border-left: 3px solid var(--primary);
   padding-left: 3%;
}

.section-1 .container {
    margin-top: 50px;
}

.section-3 .container {
    max-width: none;
}

.section-3 .col-2 {
    width: 50%
}

.section-3 .container {
    padding: 100px 5%;
    margin: 0;
}

.section-3 .pic-col img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.section-3 .text-col{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-3 ul {
    margin-top: 20px;
    margin-left: 0;
}

.section-3 ul li{
    list-style: none;
    padding-left: 20px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
}

.section-3 h3 {
    font-size: 110%;
    text-transform: uppercase;
    margin-bottom: 0;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.with-icons {
    text-align: center;
}

.with-icons .col{   
    display: flex;
    flex-direction: column;
    align-items: center;    
}

.with-icons .frame{
    width: 150px;
    height: 150px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
    background-color: #fff;
    margin: 20px 0 0 0;
}

.with-icons img.icon {
    width: 100%;
}

.col-2 {
    width: 48%;
}

.col-3 {
    width: 33%;
}

.col-4 {
    width: 24%;
}

.col-5 {
    width: 19%;
}

.text-col {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.img-col img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

header {
    width: 100%;
    aspect-ratio: 1920/700;
    background: url('../images/header.jpg')no-repeat center/cover;
    margin-top: 190px;
}

.intro {
    background-color: var(--grey);
    display: flex;
    justify-content: center;
}

.intro .container {
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    max-width: 1200px;
    padding: 100px 5%;
    margin: 0;
    position: relative;
    top: -5vw;
}

.intro p {
    max-width: 1024px;
    margin: auto;
}

article:nth-of-type(odd){
    background-color: var(--grey);
}

article:nth-of-type(even){
    background-color: #fff;
}

.section-intro{
    text-align: center;
    max-width: 1024px;
    margin: auto;   
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pic-boxes .col  {
    background-color: var(--primary);
    color: #fff;
    border-radius: var(--border-radius);
}

.pic-boxes{
    text-align: center;
    margin-top: clamp(20px, 5%, 40px);
}

.pic-boxes h3 {
    flex-basis: 100%;
    margin-bottom: 30px;
    padding: 40px 20px;
    background-color: var(--secondary);
}

.section-2-mod .pic-boxes h3 {
    font-size: 180%;
}

.section-2-mod .pic-boxes h4 {
    font-size: 130%;
    padding: 0 20px;
}

.picture-box{
    aspect-ratio: 4/3;
}

.text-box p{
    padding: 0 20px 30px 20px;
}

.picture-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.parallax {
    background: url('../images/parallax.jpg')no-repeat center/cover;
    background-attachment: fixed;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax.container {
    margin: 0;
    max-width: none;
}

.parallax h2 {
    color: #fff;
}

p ~ h3 {
    margin-top: 10px;
}

article ul {
    margin-left: 15px;
    margin-bottom: 16px;
}

article ul li {
    list-style: disc;
    margin-bottom: 5px;
}

article ul li::marker{
    color: var(--primary)
}

b {
    font-weight: 700;
}

.kontaktformular h4 {
    flex-basis: 100%;
}

.highlight{
    font-style: italic;
    color: var(--primary);
    font-size: 115%;
    line-height: 160%;
    margin-bottom: 20px;
}

footer{
    background-color: var(--text);
    color: #fff;
}

footer p a {
    color: rgb(175, 76, 76);
    text-decoration: underline;
}

footer .container {
    max-width: none;
    margin: 0;    
}

footer .col-2 {
    width: 50%;
    margin-bottom: 0;
}

footer .text-col {
    padding: 70px 5%;
}

footer h3 {
    color: #fff;
}

footer b {
    color: #fff;
}

footer .dsa-secure-plugin{
    min-height: 100%!important;
}

.sidenav{
    position: fixed;
    right: 5px;
    top: 30%;
    z-index: 9999;
}

.sidenav a, .sidenav button {
    display: block;
    height: 60px;
    width: 60px;
    background-color: var(--button);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    padding: 15px;
    margin-top: 0;
}

.sidenav img {
    height: 100%;
}

.infosite h1{
    flex-basis: 100%;
}

.infosite .container {
    align-items: flex-start;
}

main.no-header{
    margin-top: 180px;
}

article p a, article ul li a {
    color: var(--primary);
    text-decoration: underline;
}

.kontaktformular h4{
    text-align: center;
    margin-top: 20px;
}

.kontaktformular h5{
    text-align: center;
    margin-top: 20px;
}

.fehlerseite ul li {
    list-style: none;
}


.services-slider, 
.popup-gallery {
    padding: 0 20px;
    margin-top: 20px;
}

.services-slider img,
.popup-gallery img {
    width: 100%;    
    border-radius: var(--border-radius);
}

.popup-gallery .gallery-item {
    padding: 0 5px;
}

.services-slider .col-4{
    margin: 0 5px;
    height: 100%;
}

.popup-gallery .gallery-item:hover{
    cursor: pointer;
}

.services-slider .slick-prev,
.popup-gallery .slick-prev{
    left: 0;
    z-index: 999;
}

.services-slider .slick-prev::before, 
.popup-gallery  .slick-prev::before, 
.services-slider .slick-next::before,
.popup-gallery  .slick-next::before {	
	opacity: 1;
	color: var(--text);
}

.services-slider .slick-next,
.popup-gallery  .slick-next {
    right: 0;
}

/*GALLERY SLIDER*/

.gallery-slider img {
    width: 100%;
}

.gallery-slider img:hover{
    cursor: pointer;
}

.slider-item{
    padding: 5px;
}

/*----------------*/

.icon-slides{
    padding: 0 20px;
    margin-top: 20px;
}

.icon-slides a {
    padding: 0 5px;
}

.icon-slides .slick-prev {
    left: 0;
    z-index: 999;
}

.icon-slides .slick-prev::before, 
.icon-slides .slick-next::before {	
	opacity: 1;
	color: var(--text);
}

.icon-slides .slick-next {
    right: 0;
}

.section-2 .col {
    margin-bottom: clamp(10px, 1%, 10px)
}

.slider-container {
    margin-top: clamp(20px, 5%, 50px);
}

.slider-container .pic-boxes {
    margin-top: 0;
}

.with-frame {
    border: 10px solid #fff;
}

.section-7 .container {
    width: 100%;
    background-color: #fff;
    margin: 0;
    padding: 100px 5%;
    position: relative;
    top: -5vw;
}

.kontaktformular{
    width: 100%;
    height: 800px;
}

/* .section-2 h2{
    display: flex;
    flex-direction: column;
} */

.headline-strokes{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headline-strokes h2 {
    margin: 0 20px 20px 20px;
}

.stroke {
    width: 10%;
    height: 3px;
    background-color: var(--primary);
}

/*----------------*/

.landingpage-list a{
    color: #fff;
    text-decoration: underline;
}

.imprint article h2 {
    font-size: 150%;
}

@media screen and (orientation: portrait){
    header {
        aspect-ratio: 1/1;
    }
}

@media screen and (max-width: 1800px) {
    .col-4 {
        width: 49%;
        margin-bottom: 2%;
    }

    .col-5 {
        width: 32%;
        margin-bottom: 2%;
    }   
}

@media screen and (max-width: 1024px) {
    .section-1 .container, 
    .container{
        margin: 70px 5%;
    }

    .section-3 .container{
        padding: 70px 5%;
    }

    .intro .container {      
        position: static;
    }

    .desktop-nav {
        display: none;
    }

    .col-2 {
        width: 100%;
        margin-bottom: 20px;
    }

    .section-3 .col-2 {
        width: 100%
    }

    .section-3 .flexbox{
        flex-direction: column-reverse;
    }  
      

    .text-col {
        padding: 20px 0 0 0;
    }

    header {
        margin-top: 150px;
    }

    .sidenav {
        top: auto;
        bottom: 50px;
    }

    .sidenav a, .sidenav button {
        height: 45px;
        width: 45px;
        padding: 11px;
    }

    .col-5 {
        width: 49%;
    }

    .logoline{
        height: 120px;
    }
}

@media screen and (max-width: 800px) {
    .col-3 {
        width: 100%;
        margin-bottom: 20px;
    }  

    footer .col-2 {
        width: 100%;       
    }
}

@media screen and (max-width: 700px) {     
    .col-4 {
        width: 100%;
        margin-bottom: 20px;
    }

    h1, h2 {
        font: var(--heading-weight) 190%/100% var(--heading-font-family);
        margin-bottom: 10px;
    }

    h3 {
        font-size: 150%;
    }

    h4 {
        font-size: 120%;
    }

    .logoline{
        height: 100px;
    }

    header {
        margin-top: 140px;
    }
}

@media screen and (max-width: 600px){
    .col-5 {
        width: 100%;
    }
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}