* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}

body {
    font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
}

.content{
    width: 80%;
    max-width: 1200px; 
    margin: auto; 
}

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

.btn {
    font-size: 18px;
    text-transform: uppercase;
    background-color: #ff0000;
    color: white; 
    padding: 15px 30px; 
    border: solid 1px transparent; 
    display: inline-block; 
}

.btn2 {
    font-size: 18px;
    text-transform: uppercase;
    background-color: transparent;
    color: white; 
    padding: 15px 30px; 
    display: inline-block; 
    border: solid 1px white; 
}

.balken {
    width: 100px;
    height: 5px;
    background-color: #fff;
    display: block; 
}

h1,h2,h3, .cta a, .bignumber {
    font-family: 'Oswald';
}

h2 {
    font-size: 30px
}

.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1
}

.topbar .logo {
    width: 180px;
    padding-top: 10px;
}

.topbar .logo img {
    width: 100%;
}

.topbar nav {
    width: calc(100% - 400px); 
    padding-top: 20px;
}

.topbar nav a {
    color: white; 
}

header {
    padding: 200px 0; 
    background-image: url(bilder/AdobeStock_617047722.jpeg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    color: white; 
    position: relative;
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(41, 1, 1, 0.53);
}

header .content {
    position: relative;
}

header span {
    padding-bottom: 20px;
    display: block; 
    font-family: 'Oswald';
    text-transform: uppercase;
    letter-spacing: 5px
}

header h1 {
    font-size: 100px;
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 20px;
    padding-top: 20px;
}

header .cta {
    max-width: 400px
}

.trust .content {
    background-color: #fff;
    padding: 30px 100px; 
    margin-top: -50px;
    position: relative;
    box-shadow: 0px 3px 6px rgba(51, 51, 51, 0.17); 
    box-sizing: border-box
}

.trust .bignumber {
    display: block; 
    font-size: 40px;
    text-transform: uppercase;
}

.leistungen {
    padding-top: 100px;
    padding-bottom: 100px;
}

.leistungen .balken {
    background-color: #000;
}

.leistungen h2 {
    padding-top: 20px;
}

.leistungen ul {
    padding-top: 50px;
}

.leistungen ul li {
    width: 31%;
    padding: 20px; 
    box-shadow: 0px 3px 6px rgba(51, 51, 51, 0.2); 
    box-sizing: border-box; 
    margin-bottom: 40px;
}


.leistungen ul li img {
    width: 100%;
}

.leistungen ul li h3 {
    font-size: 18px;
    text-transform: uppercase;
    padding: 10px 0
}

.leistungen ul li h3::before {
    content: ""; 
    display: block; 
    width: 50px;
    height: 5px;
    background-color: #000;
    margin-bottom: 10px;
}
.leistungen ul li p {
    color: #666; 
}

.infobar {
    background-color: #ff0000;
    padding: 40px 0; 
    color: white; 
}

.infobar a {
    color: white; 
}

.infobar span {
    font-size: 14px;
}

.infobar p {
    font-size: 18px;
    line-height: 1;
}

.infobar ul li {
    display: flex; 
    width: 32%;
}

.infobar ul li img {
    margin-right: 10px;
    max-height: 30px; 
    position: relative;
    top: 7px;
}

.history {
    padding: 100px 0; 
}

.history li {
    width: 50%;
}

.history li:first-child {
    width: calc(50% + 120px)
}

.history li:last-child {
    width: calc(50% - 120px)
}

.history .balken {
    background-color: #000;
}

.history h2 {
    padding-bottom: 20px;
    padding-top: 20px;
}

.history li p {
    padding-bottom: 20px;
}
.history li img {
    position: relative;
    width: 400px; 
}

.history li img:nth-child(2) {
    top: -50px; 
    left: 100px; 
}

.contact {
    background-color: #fafafa;
    padding: 100px 0; 
}

.contact ul {
    padding-top: 50px;
}

.contact ul li {
    width: 48%;
}

.contact .balken {
    background-color: #000;
}

.contact h2 {
    padding-top: 20px;
}

.contact ul li img {
    width: 100%;
}

.contact ul li:nth-child(2) {
    display: flex; 
    flex-direction: column; 
    justify-content: center
}

.contact ul li:nth-child(2) p {
    padding-bottom: 10px;
}

.contact ul li:nth-child(2) a {
    color: #ff0000;
}

.contact ul li:nth-child(2) p:first-of-type {
    font-weight: 800; 
    font-family: 'Oswald';
    font-size: 23px;
}

footer {
    background-color: #ff0000;
    padding: 50px 0; 
    text-align: center;
    font-size: 12px;
}




footer a {
    color: white
}



#gallery .grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#gallery img {
    width: 24%;
    padding: 0.5%;
    cursor: pointer;

}

#lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

#lightbox img {
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

#gallery .balken {
    background-color: #000;
}

#gallery h2 {
    margin-bottom: 50px;
    padding-top: 20px
}

@media (max-width: 768px) {
    .content {
        width: 90%;
    }
    nav {
        display: none; 
    }
    
    .topbar .logo {
        margin: auto; 
        padding-top: 30px;
    }
    
    header h1 {
        font-size: 60px;
    }
    
    header .cta {
        max-width: 100%; 
    }
    
    .btn, .btn2 {
        display: block; 
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        box-sizing: border-box; 
    }
    
    .trust .content {
        padding: 10px 10px; 
    }
    
    .trust .content li {
        width: 50%;
        margin-bottom: 20px;
    }
    
    .leistungen ul li {
        width: 100%;
    }
    
    .infobar ul li {
        width: 100%;
        margin-bottom: 40px;
    }
    .history li img:nth-child(2) {
        top: 0;
        left: 0;
    }
    
    .history li:first-child {
        width: 100%;
    }
    
    .history li:last-child {
        width: 100%;
        padding-top: 20px;
    }
    
    .history li img {
        width: 100%;
    }
    
    #gallery img {
        width: 49%;
    }
    
    .contact ul li {
        width: 100%;
    }
}


.impressum p{
    padding-bottom: 10px;
}

.impressum h3 {
    padding-top: 20px;
    padding-bottom: 5px;
}

.impressum h1 {
    padding-top: 50px;
}















