﻿@charset "utf-8";

/* Standard */
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.813em;
    line-height: 1.4;
}

#wrapper {
    background-color: #fff;
    border: thin solid #000;
    margin: 0.5rem auto;
    max-width: 50rem;
    overflow: hidden;
    position: relative;
}

p + p {
    margin: 1rem 0 0 0;
}

h1 {

    font-size: 1.875rem;
    line-height: 1.2;
    color: #3A428E;
    font-weight: normal;
    margin: 1.5rem 0;
    letter-spacing: -0.3px
}

h1 span {
    font-weight: normal;
}

h2 {
    font-size: 0.813rem;
    line-height: 1.2;
    margin: 1.25rem 0 0;
    color: #3A428E;
}

a:link,
a:active,
a:visited {
    color: rgb(58, 66, 142);
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
    border: none;
}

hr {
    border: none;
    border-top: 0.063rem solid #000;
}

ul {
    padding-left: 1rem;
    margin-bottom: 1.25rem;
}

li {
    list-style-type: none;
    list-style-image: url(../images/quad-blau2.gif);
    padding-bottom: 0;
}

header {
    position: relative;
    z-index: 1;
}

header a {
    position: absolute;
    z-index: 2;
    right: 6.1%;
    top: 30.6%;
}

article {
    padding: 1rem 3rem 0;
}

article aside {
    display: flex;
    justify-content: space-between;

    margin: 2rem 0;
}

article aside section:first-of-type {
    width: 72%;
}


article aside section:last-of-type {
    width: 25%;
}

footer {
    background-image: url(../images/bg_footer.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 1.25rem 3rem;

    color: #3A428E;
}

footer nav {


    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

footer section:first-of-type {
    width: 20%;
}

footer nav section:nth-of-type(2) {
    width: 50%;
}

footer nav section:nth-of-type(3) {
    width: 30%;
}

.clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

/* Responsive */
@media only screen and (max-width:49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;

    }

    h1 {

        font-size: 1.75rem;


    }


    header {
        position: relative;

    }

    header a {
        position: relative;
        z-index: 2;
        right: auto;
        top: auto;
        margin: 0 auto;

        margin-bottom: 1rem;
        float: right;
        padding: 1rem;
    }

    article {
        padding: 1rem 1rem 0;
    }

    article aside {
        flex-direction: column;

    }

    article aside section:first-of-type {
        width: 100%;
        margin-bottom: 1rem;
    }


    article aside section:last-of-type {
        width: 100%;
    }

    footer {

        padding: 1rem;

        background-size: 100% 100%;


    }

    footer nav {

        flex-direction: column;
    }

    footer section:first-of-type {
        width: 100%;
        margin-bottom: 1rem;
    }

    footer nav section:nth-of-type(2) {
        width: 100%;
        margin-bottom: 1rem;
    }

    footer nav section:nth-of-type(3) {
        width: 100%;
    }

    a:link,
    a:active,
    a:visited {
        font-size: 1rem;
    }

    a:hover {
        text-decoration: none;
    }

}

/* Ende Responsive */