@font-face {
    font-family: 'TitilliumWeb';
    src: url('fonts/TitilliumWeb-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TitilliumWebBold';
    src: url('fonts/TitilliumWeb-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-image: url(main.png);
    background-position: top center;
    background-color: #ededec;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    font-family: 'TitilliumWeb';

}

@media screen and (max-width: 87.5rem) {
    body {
        background-position: top -400px;
        background-size: cover;
    }
}

header {}

header .logo {
    width: 470px;
    max-width: 90%;
    width: 29.375rem;
    max-width: 100%;
    margin-left: -2.5rem;
    padding: 0;
}

.bf {
    position: absolute;
    top: 2px;
    right: 10rem;
}

@media screen and (max-width:800px) {
    header .logo {
        width: 90%;
        max-width: 90%;
    }

    header .logo img {
        width: 90%;
        margin: 0 auto;
    }

    .bf {
        display: none;
    }

    .left-side .round {
        right: 10px;
    }

    .right-side .round {
        left: 10px;
    }
}

header section {
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 0 1.875rem;
}

main {
    width: 80%;
    margin: 0 auto;
    padding-left: 60px;

}

main h2 {
    margin: 60px 0 30px 0;
}

main h3 {
    color: #e5022f;
}

main h2 span {
    background-color: #e5022f;
    color: #fff;
    padding: 10px;
}

main.startseite {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "left right";
    max-height: 70vh;
    height: 800px;
    margin: 0 auto;
    padding-left: 0;
    background-image: url(tabel-2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}

@media screen and (max-width:800px) {
    main.startseite {
        background-position: center 100px;
    }
}



.left-side,
.right-side {
    display: flex;
    font-size: 35px;
    color: #fff;
    align-items: flex-end;
    position: relative;
}

.round {
    display: block;
    position: absolute;
    width: 220px;
    height: 220px;
    top: -20px;
    border-radius: 50%;
    border: 1px solid white;
}

.left-side {
    grid-area: left;
        justify-content: flex-end;
}

.left-side .round {
    right: 130px;
    background-image: url(hotline_2.png);
}

.right-side .round {
    left: 130px;
    background-image: url(hotline_1.png);
}

.right-side {
    grid-area: right;
}

.left-side .tel,
.right-side .tel {
    background-repeat: no-repeat;
    width: 100%;
    height: 70px;
    padding: 1rem;
    line-height: 70px;
    background-color: #e5022f;
    width: 240px;
    border:1px solid white;
    text-align: center;
    margin-bottom: 20px;
}

.left-side .tel {
    margin-right: 2rem;

}

.right-side .tel {
    margin-left: 2rem;
}

@media screen and (max-width:1100px) {

    .left-side .tel,
    .right-side .tel {
        background-size: 100%;
        transform: scale(0.8);
    }
}

@media screen and (max-width:670px) {
    main.startseite {
        background: none;
        display: block;
        height: auto;
        max-height: initial;
    }

    .left-side,
    .right-side {
        flex-flow: column-reverse;
        align-items: center;
         margin: 0;
    }
    .left-side .tel,
    .right-side .tel {

         margin: 0;
         width: 100%;
    }

    .right-side {
        margin: 0;
        margin-top: 140px;
    }

    .round {
        position: static;
    }
}

footer {
    margin-top: 80px;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, .17);
    padding: 0 20px;
    box-sizing: border-box;
}

footer ul {
    margin: 0;

    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
}

footer ul li {
    display: flex;
}

footer a {
    display: block;
    padding: 30px;
    color: black;
    text-decoration: none;
    font-family: 'TitilliumWebBold';
}

footer a:hover {
    color: #e5022f
}

footer li.link:after {
    display: inline-block;
    content: ' | ';
    margin-top: 30px;
}

.claim {
    font-family: 'TitilliumWebBold';
    color: #e5022f;
    margin-top: 30px;
    margin-right: 80px;
}

@media screen and (max-width:600px) {

    ul {
        flex-flow: column;
    }

    .claim {
        margin-right: 0px;
        text-align: center;
        margin-bottom: 30px;
    }
    footer li.link:after {
    content: '';
    margin-top: 0;
}
footer ul li{display:block; }
footer a{display:block; text-align: center; padding: 5px; margin: 0;}
}

.screenreader {
    position: absolute;
    left: -1100px;
    top: -2000px;
    display: none;
}