
#headline_appointment,
#subheadline_appointment{
    mix-blend-mode: difference;
    color: white;   
}

/* Gilt bis 1500px Breite */
@media only screen and (max-width: 1300px) {

    #hero_profile{
        height:60vw;
        margin-top: -50vw;
        margin-left: 30vw;
        z-index: 1;
        margin-bottom: 25vw;
    }

    #hero_headline{
        font-size: 6vw;
        padding-top: 55vw;
        display: flex;
        width: fit-content;
        margin-inline: auto;
    }

    #hero_headline *{
        margin: 1vw;
        z-index: 5;
        color: white;
    }

    #hero_text{
        z-index: 4;
        display: flex;
        width: 70%;
        
        text-align: center;
        background: linear-gradient(rgba(9, 8, 65 ,0), rgba(9, 8, 65 ,0.88), rgba(9, 8, 65 ,1)); ;
        position: absolute;
        padding: 3vw;
        padding-bottom: 20vw;
        padding-inline: 15vw;
        color: white;
    }

    #hero_button{
        margin-top: 25vw;
        margin-inline: 31vw;
        width: 40vw;
        z-index: 8;
        position: absolute;
        font-size: 3vw;
        padding-inline: 5vw;
        padding-block: auto;
        padding-top: 0vw;
    }

    #hero{
        height: fit-content;
        align-items: center;
        background-image: url('../assets/mobil_hero_main.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top;
    }

    #services{
        margin-top: 10vw;
    }

    #headline_services{
        text-align: center;
        margin-bottom: 8vw;
    }

    #service_wrapper{
        width: 80vw;
        margin-inline:10vw;
        margin-bottom: 10vw;
    }

    .service{
        margin-bottom: 15vw;
        height: 20vw;
    }

    .service img{
        float: left;
        width: 35vw;
        margin-right: 5vw;
    }

    .service_headline{
        padding-top: 3vw;
        font-size: 3vw;
        font-weight: bold;
        color: #2d2872;
        margin-bottom: 2vw;
    }

    #headline_properties_wrapper{
        width:80vw;
        margin-inline: 10vw;
    }

    #subheadline_properties{
        margin-left: 12vw;
        margin-top: 2vw;
    }

    .propertie img{
        height: 8vw;
    }

    .properties{
        display:grid;
        place-items: center;
    }

    .propertie{
        display:grid;
        place-items: center;
        width: fit-content;
    }
    
    .propertie p{
        text-align:center;
    }

    #propertie_wrapper{
        display: grid;
        grid-template-columns: auto auto;
        width:60vw;
        column-gap: 10%;
        row-gap: 10%;  
        margin-bottom:8em;
        margin-top:5%;
        margin-inline: 20vw;
    }


    iframe{
        display: none;
        height: 0vw;
    }

    #appointment_button{
        display: block;
        margin-top: 5vw;
    }

    #appointment{
        background-image: url('../assets/appointment.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: left;
        margin-left: 5vw;
        margin-right: 10vw;
        height: 40vw;
        padding-left: 22vw;
        padding-top: 10vw;
        padding-bottom: 2em;
        width: 60vw;
        
    }

    #subheadline_appointment{
        margin-left: 5vw;
    }

    #about_me{
        width: 80vw;
        margin-inline: 10vw;
    }

    #aboutMeProfile{
        width: 35vw;
        margin-inline: 26vw;
        margin-bottom: 4vw;
    }

    #about_me .headline{
        margin-bottom: 2vw;
    }

    #aboutMeText{
        text-align: center;
        width: 60vw;
        margin-inline: 10vw;
        margin-bottom: 10vw;
    }

    .more_link{
        display: none;
        position: absolute;
        
        color: black;
    }

    .mobile_more_link{
        display: block;
        position: relative;
        text-decoration: none;
        color: black;
        margin-left: 30vw;
    }

    #services, #properties, #appointment, #about_me{
        margin-top: 20vw;    
        margin-bottom: 40vw;
    }

}

/* Gilt ab 1501px Breite */
@media only screen and (min-width: 1301px) {
    #hero{
        background-image: url('../assets/hero_main.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        padding-left:12%;

    }

    #hero *{
        display: inline-block;
    }


    #hero_headline *{
        color: white;
        display: inline-block;
        margin-bottom: 10%;
        margin-top: 20%;
        font-Size: 1.6vw;
        
    }
    #hero_text{
        color: white;
        padding-left: 3%;
    }

    #hero_button{
        margin-left:3%;
        margin-top:5%;
    }

    #hero_profile{
        height:23vw;
        margin-bottom: 0px;
        vertical-align: top;
        margin-left: 12%;
    }

    .service{
        border: 2px solid #828282;
        border-radius: 2em / 2em;
        padding: 5%;
        box-shadow: -8px 8px rgba(0,0,0,0.2);
        display: grid;
        row-gap: 5%;
        width: 65%;
        height: 90%
     }

    .service *{
        margin-inline: auto;
        width: fit-content;
        max-width: 85%;
        padding-top: 4%;
    }
    .service img{
        max-width: 10.5vw;
    }

    .service_headline{
        font-weight:bold;
        color: #2d2872;
        font-size: 1.5em;
    }

    #headline_services{
       text-align: center;
        margin-top: 3em;
        margin-bottom: 2em;
    }

    #service_wrapper{
        text-align: center;
        display: grid;
        place-items: center;
        grid-auto-flow: column;
        column-gap: 1%; 
        width: 80%;
        margin-inline:auto;
        height:30em;
    }

    #about_me{
        display: flex;
        align-items: center;
        margin-inline: 20%;
    }

    #aboutMeProfile{
        width:18vw;
        margin-right:5%;
    }

    .propertie img{
        width: 3.5vw;
    }

    .properties{
        display:grid;
        place-items: center;
    }

    .propertie{
        display:grid;
        place-items: center;
        width: fit-content;
    }

    .propertie p{
        width: 15em;
        text-align:center;
    }

    #propertie_wrapper{
        display: grid;
        grid-template-columns: auto auto;
        width:fit-content;
        column-gap: 10%;
        row-gap: 10%;  
        margin-bottom:8em;
        margin-top:5%;
        margin-right: auto;
        margin-left: auto;
}

    #headline_properties_wrapper{
        width: fit-content;
        margin-left: 35em;
        margin-top: 10em;
    }

    #subheadline_properties{
        margin-left: 8em;
        width: 30vw;
        text-align: right;
    }

    #appointment{
        background-image: url('../assets/appointment.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left-top;
        margin-inline: 15%;
        height: fit-content;
        padding-left: 17em;
        padding-top: 5em;
        padding-bottom: 2em;
        
    }

    #subheadline_appointment{
        margin-bottom: 2em;
    }

    #appointment_frame{
        width: 100%;
        height: 65vw;
        overflow: hidden;
        position: relative;
        background-color: white;
        border-radius: 0.5em/0.5em;
    }

    #appointment_frame iframe{
        left: -1.45vw;
        width: 100%;
        height: 65vw;
        border: none;
    }

    #appointment_button{
        display: none;
    }

    .headline{
        font-size: 1.5vw;
        margin-bottom: 1em;
        font-weight: bold;
    }

    .more_link{
        display: block;
        position: relative;
        text-decoration: none;
        color: black;
    }

    .mobile_more_link{
        display: none;
        position: absolute;
        color: black;
    }

    .more_link:hover{
        text-decoration: underline;
    }
}