*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Ropa Sans', sans-serif;
}

html{
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
}

.slideshow{
    max-width: 900px;
    max-height: 600px;
    overflow: hidden;
    border: solid 2px rgb(50, 50, 50);
    border-radius: 8px;
    position: relative;
}

.slidenavigation{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.bar{
    width: 4rem;
    height: 1rem;
    border: 1px solid #ffffff;
    background-color: hsla(0, 0%, 100%, 0.6);
    margin: 6px;
    cursor: pointer;
    transition: 0.6s;
}

.bar:hover{
    background-color: #ffffff;
}

.bar:past{
    background-color: #ffffff;
}

input[name="r"]{
    position: absolute;
    visibility: hidden;
}

.slides{
    width: 400%;
    height: 100%;
    display: flex;
}

.slide{
    width: 25%;
    transition: 0.6s;
}

.slide img{
    width: 100%;
    height: 100%;
}

#r1:checked ~ .s1{
    margin-left: 0;
}

#r2:checked ~ .s1{
    margin-left: -25%;
}

#r3:checked ~ .s1{
    margin-left: -50%;
}

#r4:checked ~ .s1{
    margin-left: -75%;
}

.wrapper{
    max-width: 1300px;
    min-height: calc(100vh - 359px);
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
}

.navigation{
    background-image: url(Bilder/hintergrund-compressor.jpg);
    background-size: cover;
    background-position: top;
    height: 70px;
    border-bottom: 1px solid rgb(50, 50, 50)
}

.navfilter{
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100%;
    text-align: center;
}

.navigation ul{
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.navigation ul li{
    display: flex;
    text-transform: uppercase;
}

.navigation ul li a{
    font-family: sans-serif;
    font-size: 1.6rem;
    line-height: 1.7rem;
    font-weight: 600;
    padding: 21px 25px;
    color: #292c30;
    background-color: rgba(255, 255, 255, 0);
    transition: 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.navigation ul li a:hover{
    color: #393e46;
    box-shadow: 
    inset 3px 3px 3px rgba(0, 0, 0, 0.5),
    inset -3px -3px 3px rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.navbar{
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 10;
}

.navbarlogo{
    display: flex;
    padding: 0px 20px;
    font-size: 8rem;
    color: rgb(0, 0, 0);
    position: absolute;
    bottom: 12px;
    left: 12px;
    /* transform: translateX(-50%); */
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    border: 2px solid rgb(40, 40, 40);
    z-index: 11;
}

.navbar ul{
    height: 170px;
    width: 100vw;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    border-top: 2px solid #2f3138;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.navbar ul li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(0, 0, 0);
    font-size: 2.5vh;
    margin: 0px 40px;
    opacity: 0.85;
}

.navbar ul li a:hover{
    opacity: 1;
}

.navbar ul li a img{
    width: 5vh;
}

.unimportentnav{
    display: none;
}

#check:checked ~ ul{
    height: 100vh;
    flex-direction: column;
    /*flex-wrap: wrap;*/
    justify-content: baseline;
    border: none;
}

#check:checked ~ ul li{
    margin: 20px 0px;
}

#check:checked ~ ul li a{
    font-size: 5vh;
}

#check:checked ~ ul .unimportentnav{
    display: block;
}

.menu-btn {
    position: relative;
    position: absolute;
    bottom: 10px;
    right: 20px;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding-left: 5px;
    width: 150px;
    height: 150px;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: 0.1s ease-in-out;
    display: flex;
    z-index: 1000;
}

.menu-btn__burger {
    position: absolute;
    right: 5px;
    top: 69px;
    width: 140px;
    height: 12px;
    background: #2f3138;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 12px;
    background: #2f3138;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-34px);
}

.menu-btn__burger::after {
    transform: translateY(34px);
}

/*Animation*/
.menu-btn.open .menu-btn__burger{
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before{
    transform: rotate(45deg);
}

.menu-btn.open .menu-btn__burger::after{
    transform: rotate(-45deg);
}

#check{
    display: none;
}



.container{
    display: grid;
    text-align: center;
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    grid-row-gap: 6rem;
    grid-column-gap: 2rem;
    justify-items: center;
    align-items: center;
}

.containerservice{
    grid-row-gap: 2rem;
    grid-column-gap: 2rem;
    align-items: flex-start;
    text-align: left;
}

.containerref{
    display: grid;
    text-align: center;
    max-width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: auto;
    grid-row-gap: 1rem;
    grid-column-gap: 1rem;
    justify-items: center;
    align-items: center;
}

.containerimp{
    display: grid;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.content{
    padding: 25px;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.8em;
    max-width: 1300px;
}

.spacer{
    grid-column: span 2;
    width: 95vw;
    max-width: 1300px;
    height: 0px;
    border-bottom: solid;
    border-width: 2px;
    border-color: #3d3d3d;
}

.containerservice .content{
    width: 100%;
}

.contentimpressum{
    max-width: 900px;
    margin: 20px;
}

.contentimpressum h1{
    font-size: 3rem;
}

.content h2{
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.content h3{
    display: inline-block;
    text-align: center;
    font-size: 2.4rem;
    line-height: 2.6rem;
    padding: 25px;
}

.contenttextindex1{
    max-width: 950px;
    grid-column: span 2;
}

.contenttextindex3{
    max-width: 1100px;
    grid-column: span 2;
}

.contenttextindex4{
    max-width: 1100px;
    grid-column: span 2;
}

.contentslideshow{
    grid-column: span 2;
}

.content .imagecontainer{
    justify-self: center;
    align-self: center;
}

.content .imagecontainer img{
    margin: auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.handwritten{
    text-align: center;
    font-family: 'Indie Flower', cursive;
    font-weight: 600;
}

.logo{
    grid-column: span 2;
    margin: 2rem;
}


.logo .banner{
    text-align: left;
    width: auto;
    padding: 1rem;
}

.logo .banner h1{
    font-family: sans-serif;
    font-size:13vw;
    font-weight: 900;
    line-height: 13vw;
    text-transform: uppercase;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo .banner:nth-child(1)  h1{
    background-image: url(Bilder/logo.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.logo .banner h2{
    font-family: sans-serif;
    font-size: 5vw;
    line-height: 5vw;
    padding-left: 0.75vw;
    text-transform: uppercase;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo .banner:nth-child(1)  h2{
    background-image: url(Bilder/logo.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.title{
    text-align: center;
    margin-top: 5rem;
    grid-column: span 2;
}

.title h1{
    font-size: 4rem;
}

.title h2{
    font-size: 1rem;
    color: #02505f;
    padding-left: 3px;
}

.contentservicetxt{
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    min-height: 150px;
    box-shadow: 
        5px 5px 5px 0 rgba(0, 0, 0, 0.2);
    border-top-style: solid;
    border-left-style: solid;
    border-width: 2px;
    border-color: rgb(240, 240, 240);
}

.contentservicelist{
    text-align: center;
    display: none;
}

.contentservicelistbtn{
    grid-column: span 2;
}

.contentservicelist ul li a{
    font-size: 2rem;
    color: rgb(32, 32, 32);
    padding: 10px 0px;
    line-height: 3rem;
    transition: 0.2s ease-in-out;
}

.contentservicelist ul li a:hover{
    color: rgb(90, 90, 90);
    margin-left: 10px;
}


.contentservicetxt h2{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100px;
    padding: 20px;
    border-radius: 5px;
    font-size: 2rem;
    line-height: 2.2rem;
    text-align: center;
    margin: 0;
    background-color: white;
    color: rgba(41, 44, 48, 0.75);
    box-shadow: 
    inset 3px 3px 3px rgba(11, 142, 168, 0.4),
    inset -3px -3px 3px rgb(11, 142, 168, 0.4);
    transition: 0.3s;
}

.contentservicetxt h2:hover{
    /*opacity: 0.85; */
    color: rgba(255, 255, 255, 1);
    box-shadow: 
    inset -3px -3px 200px #0b8ea8,
    inset 3px 3px 200px #0b8ea8;
}

.contentservicelist h3{
    font-size: 2.5rem;
    margin: 1.5rem;
    text-align: center;
}

.contentservicetxt p{
    margin-top: 1.5rem;
    display: none;
}

.contentabout-us{
    margin-top: 14px;
}

.servicebtncheck{
    display: none;
}

.servicebtn{
    cursor: pointer;
}

.servicebtncheck:checked ~ p{
    display: block;
}

.servicebtncheck:checked ~ .contentservicelist{
    display: block;
}

.nextpagetxt{
    text-align: center;
    padding: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.nextpagetxt a{
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    color: black;
}

.nextpagetxt a:hover{
    color: #0b8ea8;
    cursor: pointer;
}

footer{
    background-image: url(Bilder/hintergrund-compressor.jpg);
    background-size: cover;
    background-position: top;
    border-top: 1px solid rgb(50, 50, 50);
    position: relative;
}

.footerfilter{
    background-color: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}

.innerfooter{
    display: flex;
    padding: 1rem;
    width: 1300px;
    justify-content: space-evenly;
}

.innerfooter .content ul li a{
    font-size: 1.3rem;
    color: rgb(0, 0, 0);
    opacity: 0.75;
}

.innerfooter .content ul li a:hover{
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.9;
}

.innerfooter .contact{
    border-radius: 3px;
    border: 1px dashed rgba(50, 50, 50, 0.6);
    background-color: rgba(200, 200, 200, 0);
    transition: 0.2s ease-in-out;
    opacity: 0.9;
}

.innerfooter .contact:hover{
    background-color: rgba(200, 200, 200, 0.2);
    box-shadow: 
    inset 3px 3px 3px rgba(0, 0, 0, 0.4),
    inset -3px -3px 4px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    opacity: 1;
}

.innerfooter .contact a{
    color: rgb(40, 40, 40);
}

.innerfooter .content h2{
    color: rgb(40, 40, 40);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.footerimpressumlink{
    color: rgb(40, 40, 40);
    padding: 4px;
    font-size: 2rem;
    text-decoration: underline rgb(40, 40, 40);
}

.footerimpressumlink:hover{
    text-decoration: none;
}

.containercontact{
    display: grid;
    text-align: center;
    max-width: 100%;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-row-gap: 6rem;
    grid-column-gap: 2rem;
    justify-items: center;
}

.contactinfo{
    width: 100%;
    max-width: 400px;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.contactinfo h2{
    color: rgb(50, 50, 50);
    font-size: 4rem;
    letter-spacing: 2px;
}

.contactinfo .info{
    margin: 40px 0px;
}

.contactinfo .info li{
    font-size: 1.15rem;
    display: flex;
    margin: 25px 0px;
    cursor: pointer;
    justify-content: center;
}

.contactinfo .info li a{
    display: flex;
    padding: 14px;
    opacity: 0.75;
    transition: 0.2 ease-in-out;
    justify-content: center;
    border: dashed 2px rgb(50, 50, 50);
    border-radius: 8px;
    background: rgb(250, 250, 250);
}

.contactinfo .info li a:hover{
    display: flex;
    opacity: 1;
    background: rgb(255, 255, 255);
}

.contactinfo .info li span:nth-child(1){
    width: 80px;
}

.contactinfo .info li span:nth-child(1) img{
    max-width: 100%;
}

.contactinfo .info li span:nth-child(2){
    color: rgb(50, 50, 50);
    margin-left: 20px;
    align-self: center;
    text-align: left;
    width: 250px;
}

.contactinfo .info li:hover span:nth-child(1) img,
.contactinfo .info li:hover span:nth-child(2){
    color: #0b8ea8;
}

.contactform{
    width: 100%;
    height: 500px;
    border-left: 1px solid rgb(24, 24, 24);
}

.contactform h2{
    color: rgba(40, 40, 40);
    font-size: 2rem;
    margin-top: 10px;
}

.contactform .formbox{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px;
    text-align: left;
}

.contactform .formbox .inputbox{
    position: relative;
    margin: 0px 10px 35px 10px;
    width: 100%;
}

.contactform .formbox .inputbox input,
.contactform .formbox .inputbox textarea{
    width: 100% !important;
    padding-top: 5px;
    padding-bottom: 1px;
    resize: none;
    font-size: 1.3rem;
    color: rgb(50, 50, 50);
    border: none;
    border-bottom: 1px solid #777777;
    outline: none;
}

.contactform .formbox .inputbox textarea{
    min-height: 120px;
}

.contactform .formbox .inputbox span{
    position: absolute;
    left: 0;
    padding: 5px 0px;
    font-size: 1.3rem;
    color: rgb(40, 40, 40, 0.8);
    transition: 0.3s;
    pointer-events: none;
}

.contactform .formbox .inputbox input:focus ~ span,
.contactform .formbox .inputbox textarea:focus ~span,
.contactform .formbox .inputbox input:valid ~ span,
.contactform .formbox .inputbox textarea:valid ~span
{
    transform: translateY(-1.4rem);
    font-size: 1.05rem;
    color: #0b8ea8;
}

.contactform .formbox .inputbox input[type="submit"]{
    position: relative;
    cursor: pointer;
    color: rgb(40, 40, 40);
    background-color: rgb(220, 220, 220);
    border: none;
    border-radius: 5px;
    max-width: 150px;
    padding: 12px;
    transition: 0.3s;
    margin-bottom: 100px;
}

.contactform .formbox .inputbox input[type="submit"]:hover{
    color: white;
    background-color: #0b8ea8;
}

#impressumlink a{
    color: #0b8ea8;
    text-decoration: underline;
}

#impressumlink a:hover{
    opacity: 0.8;
    text-decoration: none;
}

@media (max-width: 1023px){

    .navigation{
        display: none;
    }

    .navbar{
        display: block;
    }

    .logo .banner h1{
        font-size: 18vw;
        line-height: 18vw;
    }

    .contactform{
        border: none;
    }

    footer{
        display: none;
    }

    .container{
        grid-template-columns: 1fr;
    }

    .containerref{
        grid-template-columns: 1fr;
    }

    .containercontact{
        grid-template-columns: 1fr;
    }

    .contentref ul li{
        width: 90vw;
    }

    .content{
        grid-column: span 1;
        min-width: 70vw;
        font-size: 2.2rem;
        line-height: 2.4rem;
    }

    .contentservicetxt h2{
        font-size: 3rem;
        line-height: 3.2rem;
    }

    .contactinfo{
        max-width: 100vw;
    }

    .contactinfo .info li span{
        font-size: 1.8rem;
    }

    .contactinfo .info li span img{
        min-width: 6rem;
        height: 6rem;
    }

    .contactinfo .info li span:nth-child(2){
        margin-left: 30px;
        width: 400px;
    }

    .spacer{
        display: none;
    }

    .bar{
        width: 16vw;
        height: 3rem;
    }

    .nextpagetxt{
        margin-bottom: 300px;
    }
}

@media (min-width: 2000px){
    .logo .banner h1 {
        font-size: 10vw;
        line-height: 10vw;
    }

    .logo .banner h2 {
        font-size: 3vw;
        line-height: 3vw;
    }
}