﻿@charset "utf-8";

: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 {}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'PT Sans', sans-serif;
    font-size: .875rem;
    line-height: 1.6;
    color: #000;
    background: #fff;
}

p {
    margin: 0 0 1.25rem;
}

ul p {
    margin: 0;
}

h1 {
    text-align: center;
    font-size: 1.75rem;
    line-height: 1;
    margin: 0 0 1.875rem;
    color: #488d22;
}

h1:nth-of-type(1) {
    margin: 0 0 0.75rem;
}

h1 span {
    font-size: 1.125rem;
}

h2 {
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 .625rem;
}

h3 {
    font-size: 1.25rem;
    margin: 0 0 .625rem;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 .625rem;
    padding: 0;
}

li > ul {
    margin-bottom: 0rem;
}

ul li {
    padding-left: 1.25rem
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .25rem;
    height: .25rem;
    border-radius: .312rem;
    background: #000;
    margin-left: -1.25rem;
    top: .625rem;
}

ul li ul {
    padding-left: 0;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    border: solid thin #ddd;
    overflow: hidden;
    box-shadow: 0 0 .937rem .312rem #ddd;
}

header {
    padding: .625rem 1.875rem;
    background: rgba(255, 255, 255, 0.8);
    position: absolute;
    box-shadow: 0 0 .625rem .187rem #444;
    width: 100%;
}

header a {
    display: block;
    max-width: 13.437rem;
}

header p {}

article {
    padding: 1.875rem;
}

video {
    margin-top: 4.375rem;
    max-width: 100%;
}

aside {
    display: flex;
    justify-content: space-between;
    margin: 0 0 1.875rem;
}

aside section {
    width: 48%;
    padding-top: 30rem;
    /*  evtl anpassen  */
    background: url(../images/1.jpg);
    background-size: cover;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 .375rem .187rem #eee;
}

aside section:last-of-type {
    background: url(../images/2.jpg);
}

section h2 {
    margin: 0;
    padding: .625rem;
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    bottom: 0;
    width: 100%;
    transition: 0.3s
}

section > ul,
section > p {
    background: rgba(255, 255, 255, 0.85);
    padding: .625rem 1.25rem;
    margin: 0;
    height: 18.75rem;
    position: absolute;
    width: 100%;
    bottom: -21rem;
    transition: 0.2s;
}
section > ul{
    height: 27.5rem;
    bottom: -27.5rem;
}

aside section:hover > ul,
aside section:hover > p {
    bottom: 0;
}

aside section:hover > h2 {
    /*    bottom: 11.25rem;*/
    bottom: 27.5rem;
}

footer {
    padding: 1.875rem;
    background: #00792C;
    color: #fff;
    border-bottom: 1.562rem solid #006023;
}

footer p {
    margin-bottom: 0;
}

footer p + p {
    margin: 1rem 0 0;
}

footer aside {
    font-size: 1.2em;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1.25rem;
}

address {
    width: 18.75rem;
    margin-right: 1.25rem;
    position: relative;
}

address:after {
    position: absolute;
    content: "";
    right: 0;
    top: 1.25rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1.875rem 2.5rem 1.875rem 0;
    border-color: transparent #00792C transparent transparent;
}

aside p span {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    padding: .562rem;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    margin: .625rem .625rem .625rem 0;
}

p span img {
    display: inline;
}

p a:hover span {
    background: #E9F3E7;
}

p a:hover {
    color: #E9F3E7;
}

@media only screen and (max-width:56.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        line-height: 1.4;
    }

    a {
        font-weight: bold;
        font-size: 1rem;
    }

    header {
        position: static;
    }

    video {
        margin: 0;
    }

    article {
        padding: .625rem;
    }

    aside {
        display: block;
        margin: 0
    }

    aside section {
        padding-top: 9.375rem;
        width: 100%;
        margin-bottom: .625rem;
        background-size: auto;
        background-position: top -6.25rem center
    }

    ul li:before {
        top: .437rem
    }

    aside section ul,
    aside section h2 {
        position: static;
        height: auto;
    }

    footer {
        padding: .625rem;
        border-bottom: .625rem solid #006023;
    }

    address {
        width: 9.375rem;
        margin: 0 0 .625rem;
    }

    footer aside {
        font-size: 1em;
    }

    address:after {
        display: none;
    }

    aside p span {
        width: 1.562rem;
        height: 1.562rem;
        padding: .187rem;
        margin: .312rem .312rem .312rem 0
    }
}

@media only screen and (max-width:30rem) {
    h1 {
        font-size: 1.375rem;
        line-height: 0.9;
        margin: 0 0 .625rem;
    }

    h1 span {
        font-size: 1rem;
    }
}
