﻿@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: #808186;
    font-family: 'Montserrat', sans-serif;
    font-size: .812rem;
    line-height: 1.4;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 53.125rem;
    margin: 1rem auto;


    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 1.25rem;
}

p small {
    font-size: .687rem;
}

h1 {
    color: #000000;
    font-size: 1.625rem;
    line-height: 1.2;
    margin: 1.25rem 0;
    font-weight: 700;
}
h1 span{
    font-size: 1.25rem;
    font-weight: normal;
}

h2 {
    color: #000000;
    font-size: .875rem;
    line-height: 1.4;
    margin: 0 0 1.25rem;
    padding: .937rem .625rem;
    border-bottom: 1px solid #eaeaea;
    background-image: linear-gradient(to bottom, #eaeaea, #efefef, #f4f4f4, #fafafa, #ffffff);
    transition: 0.2s;
}

h2:hover {
    background-image: linear-gradient(to bottom, #c40b00, #c40b00, #c40b00, #c40b00, #c40b00);
    color: #fff;
}

h3 {
    font-size: 2.125rem;
    line-height: 1.3;
    margin: 0 0 .625rem;
    font-weight: 700;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding-left: 1.562rem;
    width: 97%
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .25rem;
    height: .25rem;
    border-radius: 50%;
    background: #c40b00;
    margin-left: -.937rem;
    top: .437rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header {
    margin: 0 0 1.875rem;
}

header a {
    float: right;
}

header a img {
    max-width: 16.25rem;
    width: 100%;
}

element {
    display: block;
    margin: 0 0 1.25rem;
    position: relative;
}

element > section {
    position: absolute;
    bottom: 3.125rem;
    left: 2.5rem;
    color: #fff;
}

element > section p {
    font-size: 1.25rem;
    margin: 0 0 0 0;
}

p strong {
    font-weight: 700;
}

element > aside {
    position: absolute;
    bottom: 1.25rem;
    right: 0%;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: .937rem;

}

element > aside p {
    font-size: .937rem;
    margin: 0 0 0 0;
}

article > section:nth-of-type(1) {
    float: left;
    width: 49.8%;
}

article > section:nth-of-type(2) {
    float: right;
    width: 49.8%;
}

footer {
    background-color: #9A9B9F;
    color: #fff;
    padding: 1.875rem .625rem;
    position: relative;
}

footer p {
    margin: 0 0 0 0;
}

footer p a:hover {
    text-decoration: none;
}

figure {
    margin: 0 0 0 0;
    display: inline-block;
    position: absolute;
    top: 1.25rem;
    right: .625rem;

}

figure nav {
    width: 3.187rem;
    height: 3.75rem;
    background-color: #8A8B8F;
    display: inline-block;
    margin: 0 0 0 0;

}


figure nav a {
    margin: 0;
    text-align: center;
    display: block;

}

figure nav:first-of-type {
    margin: 0 .625rem 0 0;
}

figure nav:nth-of-type(1) a img {
    max-width: 1.687rem;
    width: 100%;
    margin: .75rem auto;

}

figure nav:nth-of-type(2) a img {
    max-width: 1.937rem;
    width: 100%;
    margin: .75rem auto;
}

/*--------------- slider --------------------*/
.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider > img:nth-of-type(3) {
    animation-delay: 12s;
}


@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}


@media only screen and (max-width: 53.062rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    header {
        margin: -0.625rem -0.625rem 0.625rem;
        padding: 0.625rem;
    }

    element {
        margin: 0 -.625rem 1.25rem;
    }

    element > section {
        position: static;
        padding: .625rem;
        color: #808186;
    }

    h3 {
        font-size: 1.75rem;
    }

    h3 br {
        display: none;
    }

    element > section p {
        font-size: 1.125rem;
        margin: 0 0 0 0;

    }

    element > aside {
        position: static;
        padding: .625rem;
    }

    element > aside p {
        font-size: .937rem;
        margin: 0 0 0 0;
    }

    element > aside p br {
        display: none;
    }

    article > section:nth-of-type(1) {
        float: none;
        width: auto;
    }

    article > section:nth-of-type(2) {
        float: none;
        width: auto;
    }

    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
    }

    figure {
        top: .625rem;
        right: .625rem;

    }

}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    element > section p {
        font-size: 1rem;

    }

    figure {
        position: static;
        margin: 1.25rem 0 0;

    }
}
