﻿@charset "utf-8";

/* Standard */
:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875em;
    line-height: 1.431em;
    background-image: url(../images/bgneu.jpg);
    background-repeat: no-repeat;
    background-position: top center;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    border: none;
    padding: 0.5rem 0rem;
    overflow: hidden;
}

header {}

article,
footer {
    padding: 0rem 1.188rem;
}

p {
    text-align: left;
    padding-bottom: 0.4rem;
}

p span {
    color: #EF001F;
}

h2 + p,
h2 + ul {
    margin-top: 0.308rem;
}

h1 {
    text-align: left;
    font-size: 1.792em;
    line-height: 1.1em;
    font-weight: 600;
    color: #EF001F;
    text-transform: uppercase;
}

h1 span {
    font-weight: normal;
    font-size: 0.631em;
    line-height: 1;
}

h2 {
    font-size: 1.231em;
    line-height: 1.231em;
    font-weight: 600;
    color: #EF001F;
    text-transform: uppercase;
}

h3 {
    font-size: 1.231em;
    line-height: 1.231em;
    font-weight: 600;
    color: #EF001F;
}

h4 {
    text-align: left;
    font-size: 1.4rem;
    letter-spacing: 0.025rem;
    line-height: 1.1em;
    font-weight: 700;
    color: #EF001F;
    text-transform: uppercase;
    margin-top: 3rem;
}

a:link,
a:active,
a:visited {
    color: #EF001F;
    text-decoration: none;
}

a:hover {
    color: #EF001F;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    padding-left: 1rem;
}

li {
    padding-bottom: 0.4rem;
}

/* Hebt Float left/right auf */
.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/* Ende Standard */

/* Header */
header img:nth-child(1) {
    max-width: 100%;
    height: auto;
    display: block;
    padding-bottom: 3.3rem;
}

nav aside {
    display: flex;
    justify-content: space-around;
    margin-left: 1rem;
}

nav aside img {
    width: 145px;
    padding: 0.75rem;
}

nav aside:nth-of-type(3),
nav aside:nth-of-type(4),
nav aside:nth-of-type(5),
nav aside:nth-of-type(6) {
    display: none;
}

/* Responsive */
@media only screen and (max-width:49.937rem) {
    body {
        background-image: url(../images/bgneu.jpg);
        background-repeat: no-repeat;
    }

    h5 {
        margin: 0 -1rem;
    }

    h6 {
        position: relative;
        bottom: 0rem;
        right: 0rem;
    }
}

@media only screen and (max-width:40rem) {
    body {
        background-image: url(../images/bgneu.jpg);
        background-repeat: no-repeat;
    }

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    a {
        font-size: 1rem;
    }

    article,
    footer {
        padding: 0rem 0.5rem;
    }

    header img:nth-child(1) {
        max-width: 100%;
        height: auto;
        display: block;
        padding-bottom: 3.3rem;
        padding-left: 1rem;
    }

    nav h6 {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    nav h6 img {
        margin: 0 auto;
    }

    nav aside:nth-of-type(1),
    nav aside:nth-of-type(2) {
        display: none;
    }

    nav aside:nth-of-type(3),
    nav aside:nth-of-type(4),
    nav aside:nth-of-type(5),
    nav aside:nth-of-type(6) {
        display: flex;
        justify-content: space-around;
        margin-left: 0.75rem;
    }

    nav aside:nth-of-type(3) img,
    nav aside:nth-of-type(4) img,
    nav aside:nth-of-type(5) img,
    nav aside:nth-of-type(6) img {
        width: 125px;
    }

}

/* Ende Responsive */
