﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
}
html {
    min-height: 100%;
}
a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}
a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
body {
    color: #212529;
    font-family: 'Barlow', sans-serif;
    font-size: .937rem;
    line-height: 1.5;
    font-weight: 400;
}
#wrapper {
    position: relative;
    max-width: 1140px;
    margin: 1rem auto;
    border: solid thin #000;
    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background-color: #fff;
    overflow: hidden;
}
#wrapper > img{
    width: 100%;
    border-top: .125rem solid #ecc962;
    margin-bottom: 1.25rem
}
p {
    text-align: left;
    margin: 0 0 .937rem;
}
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 1.25rem 0 .625rem;
    color: #ecc962;
    font-weight: 500;
}
h2 {
    font-size: 1.25rem;
    position: relative;
    color: #666;
    margin-bottom: .937rem;
    font-weight: 500;
    line-height: 1.2;
}
h2:after {
    position: absolute;
    content: '';
    width: 3.125rem;
    height: .187rem;
    background-color: #ecc962;
    left: 0;
    bottom: -.5rem;
}
h3{
   font-size: 1.231em;
    line-height: 1.4;
    margin: 0 0 0.625rem; 
}
hr {
    border-top: .062rem solid #52BA5A;
}
ul {
   list-style: none;
    margin: 0 0 1.875rem;
    padding: 0;
}
ul li {
    list-style: none;
    margin-top: .312rem;
    position: relative;
    padding-left: .875rem;
}
ul li:before {
    position: absolute;
    content: '';
    width: .312rem;
    height: .312rem;
    background-color: #ecc962;
    left: 0;
    top: .562rem;
}
.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}
header{
    margin: 0 0 .625rem;
    padding: 1.188rem 20%;
    
}
header a{
    float: right;
    width: 100%;
    max-width: 6.25rem
}

article {
    padding: .625rem 20%;
}
footer {
    background: #dcdcdc;
    border-top: .062rem solid #ecc962;
    padding: 2.5rem 20% 0;
}
footer nav{
    display: flex;
}
footer nav > a{
    width: 100%;
    max-width: 6.25rem;
    margin-right: 4.687rem
}
footer nav a{
    color: #666;
}
footer nav a:hover{
    color: #ecc962;
}
footer section{
    background: #ecc962;
    padding: .625rem 33.5% .937rem;
    margin: .625rem -33.5% 0;
}
article > section{
    background: #f3f3f3;
    border-top: .062rem solid #ecc962;
    padding: 1.875rem 33.5% 1.25rem;
    margin: 1.875rem -33.5% 0
}
@media only screen and (max-width:1139px) {
    #wrapper {
        
        margin: 0 auto;
        border: 0;
    }
    #wrapper > img{
        margin-bottom: 0
    }
    a {
        font-weight: bold;
    }
    header{
        margin: 0 0 0;
        padding: .625rem 0;

    }
    header a{
        float: none;
        display: block;
        margin: 0 auto
    }

    article {
        padding: .625rem;
    }
    footer {
        padding: .625rem;
    }
    footer nav{
        display: block;
    }
    footer nav > a{
        margin-right: 0
    }
    footer section{
        padding: .625rem .625rem .937rem;
        margin: .625rem -.625rem -.625rem;
    }
    article > section{
        padding: .625rem;
        margin: .625rem -.625rem 0
    }
    h1 {
        font-size: 1.563em;
    }
    h2, h3 {
        font-size: 1em;
    }
}
@media only screen and (max-width:279px) {
    h1 {
        font-size: 1.5em;
    }
    body{
        font-size: .75rem
    }
}
