﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}



u {
    text-decoration: underline;
}

as {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #333;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
}

#wrapper {
    position: relative;
    max-width: 46.25rem;
    margin: 1rem auto;
    border: 1px solid #ccc;
    padding: 1.25rem;
    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background: linear-gradient(to bottom, #fff 0, #fff 39%, #aaacae 100%);
    overflow: hidden;
}

p {
    margin: 0 0 0.625rem;
}

h1 {
    margin: 0 0 2.5rem;
    color: #005aab;
    font-weight: 800;
    font-size: 30px;

}

h2 {
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0 0 15px;
    font-family: inherit;
    font-weight: 500;
}

h3 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 0.625rem;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

ul li:before {
    content: ">>";
    color: #e2003b;
    font-size: .625rem;
    position: absolute;
    margin: 0;
    padding: 0;
    left: 0;
    top: 3px;
}

ul ul {
    margin-bottom: 0;
    position: relative;
}

ul ul li {
    padding-left: 44px;
}

ul ul li:before {
    content: "";
    float: left;
    position: relative;
    border-radius: 100%;
    background: #fff;
    width: 8px;
    height: 8px;
    margin-left: -22px;
    top: 6px;
    border: 1px solid #000;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

a {
    color: #005aab;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

header {
    /* margin: -1.188rem -1.188rem 1.188rem;
    padding:1.187rem; */
    margin: 0 0 1.25rem;
}

header a {
    margin: 0 auto;
    display: block;
    max-width: 29.687rem
}

footer {
    /*  margin: 0 -1.188rem -1.188rem;
    padding: 1.188rem; */
}

article > p:first-of-type,
article > p:nth-of-type(2),
h1 {
    padding: 0 .937rem;
}

article > p:nth-of-type(2) {
    margin-bottom: 2.187rem;
    font-size: 1.1em;
}

aside {
    background: #fff;
    border: 1px solid #a2a4a6;
    border-radius: 12px;
    padding: 20px;

}

aside section {
    width: 48.5%;
    padding: 30px 35px 35px;
    position: relative;


}

aside section:first-of-type {
    float: left;
    background: #eee;
    margin-bottom: 1.25rem;
    height: 30rem;
}

aside section:nth-of-type(2) {
    float: right;
    background: #eee;
    margin-bottom: 1.25rem
}

aside section:nth-of-type(3) {
    float: left;
    background: #eee;
    height: 18.687rem;
    line-height: 1.5
}

aside section:nth-of-type(4) {
    float: right;
    padding: 0;

}

address {
    font-style: normal;
    margin: 0 -15px;
    padding: 30px 15px 40px;
    font-weight: 700;
    text-align: center;
    color: #000;
}

p span {
    color: #005aab;
    text-transform: uppercase;
    font-size: 1.2em;
}

aside section:nth-of-type(1) element {
    position: absolute;
    width: 75px;
    bottom: -25px;
    left: 7.812rem;
}

aside section:nth-of-type(2) element {
    position: absolute;
    width: 70px;
    bottom: 10.625rem;
    left: -1.875rem
}

aside section:nth-of-type(2) element img {
    transform: rotate(90deg)
}

aside section:nth-of-type(3) element {
    position: absolute;
    right: -2.312rem;
    top: 6.187rem;
    width: 4.375rem;

}

aside section:nth-of-type(4) element {
    position: absolute;
    top: 0;
    right: 7.812rem;
    top: -1.562rem;
    width: 4.125rem;


}

@media only screen and (max-width:46.187rem) {
    #wrapper {

        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0 .625rem 0.625rem;
    }

    header {
        margin: -0.625rem -0.625rem 0.625rem;
        padding: 0.625rem .625rem 0;
    }

    h1 {
        font-size: 1.563em;
        margin: .625rem 0;
        line-height: 1.1;
    }

    h1 br {
        display: block;
    }

    h2 {
        font-size: 14px;
    }

    h3 {
        font-size: 14px;
    }

    p,
    ul {
        text-align: left;
        margin-bottom: 10px;
    }

    article > p:first-of-type,
    article > p:nth-of-type(2),
    h1 {
        padding:0;
    }

    article > p:nth-of-type(2) {
        margin-bottom: .625rem;
        font-size: 1.1em;
    }

    aside {
        padding: .625rem;

    }

    aside section {
        width:100%;
        padding: .625rem  .937rem .937rem;
        position: relative;


    }

    aside section:first-of-type {
        float: none;
        margin-bottom: .625rem;
        height:auto;
    }

    aside section:nth-of-type(2) {
        float: none;
        margin-bottom: .625rem
    }

    aside section:nth-of-type(3) {
        float: left;
        height: auto;
        line-height: normal;
        margin-bottom: .625rem;
    }

    aside section:nth-of-type(4) {
        float: right;
        padding: 0;

    }

    address {
        margin: 0;
        padding: .625rem 0;
        
    }
    address p{
                text-align: center;

    }



    aside section:nth-of-type(1) element {
   display: none;
    }

    aside section:nth-of-type(2) element {
       display: none;
    }

    aside section:nth-of-type(2) element img {
        display: none;
    }

    aside section:nth-of-type(3) element {
       display: none;

    }

    aside section:nth-of-type(4) element {
       display: none;


    }
    article br{
        display: none;
    }


}

@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5em;
    }
}
