@charset "utf-8";
/* CSS Document */


:root {
    --family_1: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    --family_2:  Verdana, Geneva, Tahoma, sans-serif;
    --family_3: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    --family_4: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    --bs-body-bg: black;
    --bs-body-text: white;
    --link-color: #0eaa9b;
    --pink: #e41770;
} 

body {
    color: var(--bs-body-text);
    background-color: var(--bs-body-bg);
}

* {
    font-family: var(--family_1);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
.img-fluid {
    width: 100%;
    height: auto;
}


.center {
    text-align: center;
    margin: 0 auto;
}

.p2 {
    padding: 2rem 0;
}

h1 {
    font-size: 2rem;
    line-height: 130%;
    font-weight: 600;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.6rem;
    line-height: 130%;
    font-weight: 600;
    margin-bottom: 1rem;
}

.item h2 {
    font-size: 2.2rem;
    line-height: 130%;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--pink)
}

h4 {
    font-size: 1.3rem;
    line-height: 130%;
    font-weight: 400;
    color: black;
    padding: 2rem 1rem;
    text-align: center;
}

p {
    font-size: 1.2rem;
    line-height: 130%;
    font-weight: 400;
}


.mb-10 {
	margin-top: 10rem;
}

.mb-10 h4 {
    color: #fff;
}

.mb-10 h2 {
    margin-top: 2rem;
}

.container {
    width: 100%;
}

.flex-container {
    display: flex;
    margin: 0 auto !important;
}

.item_text {
    text-align: center;
    padding: 1rem 2rem;
    color: white;
}


/* .content {
    margin-top:150px;
} */


.mt3 {
    font-size: 2rem;
    line-height: 2;
    padding-top: 4rem;
}

.mt5 {
    font-size: 2rem;
    line-height: 2;
    padding-top: 7rem;
}

.footer img {
    max-width: 200px;
    height: auto;
}

.footer .none {
    opacity: 0;
    display: none;
}


/* display_1 */

.display_1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.display_1> div {
    padding: 1rem;
}

/* ENDE display_1 */





/* display_2 */

.display_2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.display_2 > div {
    width: 100%;
}

/* .display_2 .item_b {
    text-align: center;
    padding: 1rem;
} */

/* ENDE display_2 */












/* display_3 */

.display_3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.display_3 > div {
    width: 100%;
}

.display_3 .item:nth-child(2) {
    padding: 0 1rem;
}

/* ENDE display_3 */

.logo2 {
    margin-top: 4rem;
    width: 12rem;
}





/* display_4 */

.display_4 {
    margin-top: 2rem;
}

.btn-call {
    margin-top: 2rem;
}

/* display_4 */





/* display_5 */

.display_5 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.display_5 > div:nth-child(1) {
    width: 100%;
}

.display_5 > div:nth-child(2) {
    width: 100%;
    text-align: center;
    padding: 0 1rem;
}

/* ENDE display_5 */


/* display_6 */

.display_6 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.display_6 > div:nth-child(1) {
    width: 100%;
    text-align: center;
}

.display_6 > div:nth-child(2) {
    width: 100%;
    text-align: center;
}

.img-logo {
    width: 50%;
    height: auto;
}

/* ENDE display_6 */



/* display_7 */

.display_7 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.display_7 > div:nth-child(1) {
    width: 100%;
}

.display_7 > div:nth-child(2) {
    width: 100%;
    text-align: center;
}



/* ENDE display_7 */



/* display_8 */

.display_8 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.display_8 > div {
    width: 100%;
}




/* ENDE display_8 */



/* footer */

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.footer > div {
    width: 100%;
}

.footer a {
    text-decoration: none;
    color: var(--link-color);
}

.footer a:hover {
    color: white;
}

/* ENDE footer */



button {
    width:14rem;
    border: 0;
}
.btn-call {
    font-size: 1.1rem;
    font-weight: 400;
    background-color: var(--link-color);
    padding: .5rem 1rem;
    text-align: center;
}

.btn-mail {
    font-size: 1.1rem;
    font-weight: 400;
    background-color: var(--pink);
    padding: .5rem 1rem;
    text-align: center;
    margin-top: 1rem;
}

.btn-call a,
.btn-mail a,
.fa-phone,
.fa-envelope {
    color: white;
    text-decoration: none;
}

.btn-call a:hover,
.btn-mail a:hover {
    color: black;
    text-decoration: none;
}

.bgfirst {
    background-image: url("../img/Mustermitte.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 86px;
}

.bgsecond {
    background-image: url("../img/Musterfooter.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 293px;
}




@media only screen and (min-width: 576px) {
    .flex-container {
        min-width: 576px;
        max-width: 992px;
        padding: 0 1rem;
    }

    .display_2 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .display_2> div {
        width: 28%;
        max-width: 35%;
    }

    /* display_3 + display_4*/

    .display_3 {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .display_3> div:nth-child(1) {
        width: 20%;
    }

    .display_3> div:nth-child(2) {
        width: 100%;
    }

    .display_4 {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .display_4 > div {
        width: 48%;
        align-self: center;
    }

    /* ENDE display_3 + display_4 */

    .display_8 > div {
        width: 40%;
    }
    

}



  
@media only screen and (min-width: 420px) and (max-width: 767.99px) {    

    .display_2> div {
        width: 44%;
    }
}
  



@media only screen and (min-width: 1200px) { /* 992 anpassen wenn 3-spaltig bis 576px geht*/
    .flex-container {
        min-width: 768px;
        max-width: 1400px;
        padding: 0 1rem;
    }

    .display_1 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .display_1 > div {
        border: 1px solid white;
        padding: 16px;
        width: 33%;
        max-width: 35%;
    }


    /* display_3 + display_4*/

    .display_3 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .display_3> div:nth-child(1) {
        width: 15%;
    }

    .display_3> div:nth-child(2) {
        width: 70%;
    }

    .display_4 {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .display_4 > div {
        width: 48%;
        align-self: center;
    }

    /* ENDE display_3 + display_4 */


    .display_5 > div:nth-child(1) {
        width: 58%;
    }
    
    .display_5 > div:nth-child(2) {
        width: 30%;
        text-align: center;
        padding: 0 1rem;
    }

    .display_6 > div:nth-child(1) {
        width: 30%;
    }
    
    .display_6 > div:nth-child(2) {
        width: 60%;
        text-align: center;
        padding: 0 1rem;
    }

    .display_7 > div:nth-child(1) {
        width: 65%;
    }
    
    .display_7 > div:nth-child(2) {
        width: 20%;
        padding-left: 3rem;
    }

    /* footer */

    .footer {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .footer > div:nth-child(1) {
        width: 15%;
    }
    .footer > div:nth-child(2) {
        width: 54%;
    }
    .footer > div:nth-child(3) {
        width: 15%;
    }

    

    /* ENDE footer */

    .logo2 {
        margin-top: 4.5rem;
        width: 12rem;
        height: auto;
    }
    .display_3 h2 {
        margin-top: 1.6rem;        
    }

    .btn-call {
        margin-top: 0rem;
    }

    .footer .none {
        opacity: 1;
        display: block;
    }


    .footer {
        padding: 1rem 0 0 0;
        text-align: left;
    }

    .footer p.point {
        text-align: left;
    }

    .footer .squares {
        height: 7.6rem;
        width: auto;
        float: left;
        padding-right: 1rem;
        padding-left: 8rem;
        padding-top: 0rem;
    }

    .impdat {
        padding-left: 10.5rem;
    }
    
    .bgfirst {
        margin-top: 5rem;
    }

    .bgsecond {
        background-image: url("../img/Musterfooter.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        height: 293px;
        margin-top: -4rem;
    }
}






