* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    line-height: 14pt;
    color: #74787B;

}

.background {
    background: #EAEAEA;
    display: flex;
    justify-content: center;
}

#wrapper {
    position: relative;
    max-width: 1160px;
    margin: 0 auto 1rem;
    overflow: hidden;
    background-color: #fff;
}

.column {
    columns: 2;
    gap: 0 40px;
}

footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-gap: 15px;
    margin: 15px 0;
    margin-top: -185px;
}

footer :is(p, h2) {
    color: #FFF;
}

footer section {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    background: #8CA5CD;
    display: grid;
    padding: 25px;
}

footer h2 {
    margin: 0 0 30px;
}

footer h2:nth-of-type(2) {
    margin-top: 20px;
}

.kontakt {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    background: #8CA5CD;
    color: #fff;
    display: grid;
    position: relative;
    padding: 25px 25px 10px;
}

h1 {
    line-height: 40px;
    font-size: 25pt;
    font-weight: normal;
}

h2 {
    font-size: 21px;
    margin: 1rem 0;
    line-height: 27px;
}

h3 {
    font-size: 0.8125rem;
    margin: 1rem 0;
    line-height: 1.125rem;
}

p {
    margin: 0 0 1rem;
    text-align: justify;
    hyphens: auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

ul {
    margin: 0 0 16px 24px;
    list-style: none;
}

ul li {
    padding-left: 1.25rem;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 20px;
    text-indent: -1.25rem;
}

.linkedin {
    background: transparent url('../images/linkedin-hell.jpg') no-repeat 0 0;
}

.twitter {
    background: transparent url('../images/twitter-hell.jpg') no-repeat 0 0;
}

.facebook {
    background: transparent url('../images/facebook-hell.jpg') no-repeat 0 0;
}

.youtube {
    background: transparent url('../images/youtube-hell.jpg') no-repeat 0 0;
}

.xing {
    background: transparent url('../images/xing-hell.jpg') no-repeat 0 0;
}

.instagram {
    background: transparent url('../images/insta-hell.jpg') no-repeat 0 0;
}

.linkedin:hover {
    background: transparent url('../images/linkedin-dunkel.jpg') no-repeat 0 0;
}

.twitter:hover {
    background: transparent url('../images/twitter-dunkel.jpg') no-repeat 0 0;
}

.facebook:hover {
    background: transparent url('../images/facebook-dunkel.jpg') no-repeat 0 0;
}

.youtube:hover {
    background: transparent url('../images/youtube-dunkel.jpg') no-repeat 0 0;
}

.xing:hover {
    background: transparent url('../images/xing-dunkel.jpg') no-repeat 0 0;
}

.instagram:hover {
    background: transparent url('../images/insta-dunkel.jpg') no-repeat 0 0;
}

#socials img {
    width: 35px;
    height: 35px;
}

#socials {
    width: 125px;
    justify-self: end;
    grid-column: 2 / 3;
}

#socials a {
    display: block;
    float: left;
    margin-right: 5%;
    margin-bottom: 5%;
    height: 35px;
    width: 35px;
}

.apply {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.apply p {
    margin: 0;
}

.button {
    background: #00619E;
    border-radius: 4px;
    transition: background 0.25s;
    text-align: center;
    padding: 12px 16px;
}

.button a {
    text-align: center;
    font-weight: bold;
}

.button:hover {
    cursor: pointer;
    background: #016cb0;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.title {
    background: #8CA5CD;
    border-right: solid 80px #00619E;
    padding: 15px 25px;
}

.title :is(p, h1) {
    color: #FFF;
}

.title p {
    font-size: 19pt;
    line-height: 22pt;
    margin: 10px 0 0 0;
}

.text-top {
    padding: 25px;
}

.flex section {
    width: 48%;
}

.margin {
    margin: 0 0 30px;
}

@media all and (max-width:1159px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul, h1) {
        hyphens: auto;
        text-wrap: pretty
    }

    p {
        text-align: left;
    }

    br:not(footer br) {
        display: none;
    }

    :is(article, footer) {
        padding: 0 1rem;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width:1000px) {
    footer {
        margin-top: -180px;
    }
}

@media all and (max-width:767px) {
    .flex {
        display: block;
    }

    .column {
        columns: 1;
        gap: 0;
    }

    :is(.text-top p, .flex section) {
        width: 100%;
    }

    .text-top p {
        display: inline;
    }

    footer {
        margin: 0;
        display: block;
    }

    .kontakt {
        gap: 10px;
        flex-wrap: wrap;
        display: flex;
        justify-content: space-between;
        padding: 0 1rem 1rem;
    }

    .title {
        border-right: 16px solid #00619E;
        padding: 5px 1rem 1rem;
    }

    .text-top {
        padding: 1rem;
    }
}

@media all and (max-width:480px) {
    ul {
        margin-left: 0;
    }

    footer {
        padding: 0;
    }

    footer section {
        padding: 1rem;
    }
}