﻿@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: #000;
    /*font-family: Helvetica, Arial, sans-serif;*/
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 900px;
    margin: 1rem auto;
    border: solid thin #000;
    padding: 2.5rem 5.625rem;
    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background-color: #fff;
    overflow: hidden;
}

p {
    color: #626262;
    text-align: left;
    margin: 0 0 1.25rem;
}

h1 {
    color: #ff0000;
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.1;
    margin: .937rem 0;
    font-weight: 300;
}

h2 {
    font-size: 1.562rem;
    line-height: 1.4;
    margin: 0 0 .625rem;
    font-weight: 300;
}

h3 {
    font-size: 2.125rem;
    line-height: 1.4;
    margin: 0 0 0.625rem;
    font-weight: 300;

}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 2.5rem;
    margin: 1.25rem 0;
    color: #737E86;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 1rem;
    height: 1rem;
    background: url(li.jpg) no-repeat;
    background-size: contain;
    margin-left: -2.5rem;
    top: 2px;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header a {
    margin: .625rem 0 1.875rem;
    display: block;
    width: 12.312rem;
}

header a img {
    width: 100%;
    max-width: 12.312rem;
}


article {
    padding: 2.5rem 0;
}

section {
    border: solid #A4BF2E 1px;
    padding: 1.562rem 1.25rem .937rem 1.875rem;
    margin: 2.5rem 0;
}

section:nth-of-type(3) {
    padding: .312rem .625rem 0px .625rem;
}

footer h3 {
    text-align: center;
}

footer img {
    margin: .625rem auto;
    width: 100%;
    max-width: 6.875rem;
}

footer p:first-of-type {
    text-align: center;
}

footer a {
    margin: .625rem auto;
    border: solid #A4BF2E 2px;
    border-radius: 3px;
    padding: .687rem 1.25rem;
    font-size: 1.5rem;
    font-weight: 300;
    text-decoration: none;
    color: #000;
}

footer a:hover {
    background-color: #f7f7f7;
    text-decoration: none;
}

@media only screen and (max-width:900px) {
    #wrapper {

        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    body {
        font-size: .875rem;
    }

    br {
        display: none;
    }

    p {
        text-align: left;
        margin: 0 0 .625rem;
    }

    ul li {
        margin: .312rem 0;
    }

    header a {
        margin: .625rem 0;
    }

    article {
        padding: .625rem 0;
    }

    section {
        padding: .625rem;
        margin: .625rem 0;
    }

    section:nth-of-type(3) {
        padding: .625rem;
    }

    footer img {
        margin: .625rem auto;
        max-width: 3.75rem;
    }

    footer a {
        padding: .625rem;
        font-size: 1rem;
    }

    h1 {
        font-size: 1.5rem;
        margin: .625rem 0;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 1rem;
    }

}

@media only screen and (max-width:478px) {
    h1 {
        font-size: 1.25rem;
    }
}
