/*global
#004f9f*/

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    color: #333;
}

.grey {
    fill: #999;
}

.blue {
    fill: #004f9f;
}

a {
    text-decoration: none;
}

header {
    height: auto;
}

#phone {
    display: none;
}

.container {
    display: flex;
    justify-content: center;
}

.container #logo svg {
    height: 50px;
    padding: 15px;
}

#banner {
    width: 100%;
    height: auto;
    position: relative;
    background-image: url(titelbild.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #004f9f;
    opacity: .85;
    z-index: 0;
}

#schrift {
    z-index: 6;
    flex-direction: column;
    display: flex;
    color: white;
    flex-basis: 100%;
    position: relative;
    bottom: -10vw;
}

#schrift h1 {
    font-size: 32px;
    width: 70%;
    padding: 0;
    margin: 35px;
    text-align: center;
}

#schrift a {
    font-weight: lighter;
    width: 50%;
    font-size: 16px;
}

#mockup {
    flex-basis: 100%;
    max-width: 850px;
    z-index: 0;
    position: relative;
    bottom: -13vw;
}

#mockup img {
    width: 100%;
}

#button {
    display: flex;
    flex-direction: row;
    font-size: 1.5em;
    justify-content: center;
}

#ueberschrift {
    display: flex;
    justify-content: center;
}

.button a {
    color: white;
}

.button {
    padding: 10px;
    border: 2px solid #f7f7f7;
    text-align: center;
    position: relative;
    margin: 10px;
    font-weight: bold;
}

.button:hover a {
    color: #333333;
}

.button:before {
    content: "";
    position: absolute;
    background: white;
    bottom: 0;
    left: 0;
    right: 0;
    top: 100%;
    z-index: -1;
    -webkit-transition: top 0.09s ease-in;
}

.button:hover:before {
    top: 0;
}

/*footer styles*/
footer, footer a {
    height: auto;
    color: #333;
}

#row {
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: 100%;
    text-align: center;
    padding: 50px;
}

.viertel {
    flex-basis: 100%;
}

.halb {
    flex-basis: 100%;
    font-size: 14px;
}

@media only screen and (min-width: 1100px) {
    #mockup {
        bottom: -10vw;
    }
}

@media only screen and (min-width: 1440px) {
    /*global
 #004f9f*/
    #ueberschrift {
        margin:10px;
        display: flex;
        justify-content: left;
    }
    #phone{
        margin-left: 10px;
    }
    #schrift h1 {
        font-size: 2.5vw;
        text-align: left;
        margin: 0;
        width: 100%;
    }

    p, #button a {
        font-size: 1vw;
            line-height: 1.5vw;
    }

    #banner {
        height: 70vh;
    }

    #phone {
        display: block;
        width: 50%;
    }

    #schrift {
        flex-basis: 29%;
        bottom: 0;
        left: 22vw;
    }

    #mockup {
        max-width: 1000px;
        position: relative;
        bottom: -9vw;
        /* bottom: 2vw; */
        left: -3vw;
    }

    /*footer styles*/
    footer {
        padding: 0 120px;
    }

    #row {
        text-align: left;
        padding: 30px 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .viertel {
        flex-basis: 25%;
        z-index: 12;
    }

    .halb {
        display: flex;
        flex-direction: column;
        flex-basis: 50%;
    }

    .halb p {
        align-self: flex-end;
    }

    #button {
        flex-direction: column;
        width: 43%;
    }

    .container {
        justify-content: left;
    }
}

@media only screen and (min-width: 2240px) {
    #schrift {
        flex-basis: 37%;
        bottom: 0;
        left: 22vw;
    }

    #mockup {
        max-width: 1400px;
        position: relative;
        bottom: -9vw;
        /* bottom: 2vw; */
        left: -3vw;
    }
}