@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/fira-sans-v17-latin-300.eot');
    src: url('../fonts/fira-sans-v17-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/fira-sans-v17-latin-300.woff2') format('woff2'), url('../fonts/fira-sans-v17-latin-300.woff') format('woff'), url('../fonts/fira-sans-v17-latin-300.ttf') format('truetype'), url('../fonts/fira-sans-v17-latin-300.svg#FiraSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/fira-sans-v17-latin-regular.eot');
    src: url('../fonts/fira-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/fira-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/fira-sans-v17-latin-regular.woff') format('woff'), url('../fonts/fira-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/fira-sans-v17-latin-regular.svg#FiraSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/fira-sans-v17-latin-500.eot');
    src: url('../fonts/fira-sans-v17-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/fira-sans-v17-latin-500.woff2') format('woff2'), url('../fonts/fira-sans-v17-latin-500.woff') format('woff'), url('../fonts/fira-sans-v17-latin-500.ttf') format('truetype'), url('../fonts/fira-sans-v17-latin-500.svg#FiraSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #231F20;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 300;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border-left: solid .25rem #0C66A3;
    border-right: solid .25rem #74B64B;
    border-top: .062rem solid #0C66A3;
    border-bottom: .062rem solid #0C66A3;
    background: url(../images/hintergrund.png)no-repeat top left;
    background-size: 100%;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1.25rem;
}

p span {
    font-weight: 400;
}

h1 {
    font-size: 3rem;
    margin: 1rem 0 16px;
    line-height: 1;
    font-weight: 500;
    color: #0C66A3;
}

h1+p {
    font-weight: 400;
    font-size: 18px;
}

h1 span {
    font-size: 2rem;
}


h2 {
    padding: 0 0 0 6.25rem;
    font-size: 1.25rem;
    font-weight: 500;
}

h3,
h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 .625rem;
}

strong {
    font-weight: 500;
}

ul {
    list-style: none;
    margin: 0 0 1.125rem;
    padding: 0;
}

ul li {
    padding-left: 1.25rem;
}

ul li:before {
    content: "►";
    float: left;
    margin-left: -1.25rem;
    font-size: 0.9375rem;
    line-height: 1.4;
}

header {
    padding: .312rem 1.25rem 3.237rem 1.25rem;
    position: relative;
}

.margin {
    margin: 0;
}

.color {
    color: #0071BB;
    font-weight: 500;
}

article {
    padding: .625rem 1.25rem 1.7rem;
}

.flex {
    display: flex;
    justify-content: space-between;
    padding: 0 0 0 7.25rem;
}

.aside {
    width: 48%;
}

footer {
    position: absolute;
    top: 1.25rem;
    right: 4.375rem;
}

footer p {
    margin: 1.25rem 0 0;
    font-size: 1.0625rem;
}

@media only screen and (max-width: 49.9375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1.25rem;
    }

    h1 {
        margin: 1.25rem 0 0.3125rem;
    }

    h2 br {
        display: none;
    }

    h2 {
        padding: 0;
    }

    header {
        padding: 0 0 1.25rem;
    }
}

@media only screen and (max-width: 45.625rem) {
    #wrapper {
        background-image: none;
    }

    h1 {
        font-size: 2.3rem;
        text-align: center;
        margin: 1.25rem 0;
    }

    h1+p,
    h2 {
        text-align: center;
    }

    h3,
    h4 {
        margin: 0 0 .625rem;
        font-size: 1rem;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    article {
        padding: 1rem 0 0;
    }

    .flex {
        flex-direction: column;
        padding: 0;
    }

    .aside {
        width: auto;
    }

    .aside:last-of-type p,
    .aside:nth-of-type(2)>h4,
    footer p {
        text-align: center;
    }

    footer {
        padding: 0;
        position: static;
    }

    footer p {
        margin: 0;
        font-size: 1rem;
    }
}