﻿@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: #555;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .937rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    border: solid thin #000;
    padding: .625rem 1.875rem 1.875rem;
    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: left;
    margin: 0 0 0.625rem;
}

h1 {
    background: #DC002C;
    color: #fff;
    text-align: center;
    font-size: 1.812rem;
    line-height: 1.2;
    margin: 1.875rem -3.812rem;
    padding: .625rem 3.437rem;
    font-weight: 500;
}

h1 span {
    font-size: 1.062rem;
}

h2 {
    background: #a6c9e9;
    color: #fff;
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 1.25rem -31px;
    padding: .625rem 1.875rem;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022"
        /* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */
    ;
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
    color: #a6c9e9;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header a {
    margin: .625rem 0 1.25rem;
    display: block;
    max-width: 11.25rem
}

article {
    background: #f8f8f8;
    border: 1px solid #f0f0f0;
    border-radius: .312rem;
    padding: 1.875rem 1.875rem 1.25rem;
}

footer {
    background: #f8f8f8;
    border: 1px solid #f0f0f0;
    border-radius: .312rem;
    padding: 1.875rem 1.875rem 1.25rem;
    margin: 1.875rem 0 1.25rem;
}

div > a:last-of-type {
    position: absolute;
    bottom: .625rem;
    width: 20%;
    height: 4%;
  /*  border: 1px solid red;*/
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    14% {
        left: 0%;
    }

    17% {
        left: -100%;
    }

    30% {
        left: -100%;
    }

    33% {
        left: -200%;
    }

    47% {
        left: -200%;
    }

    50% {
        left: -300%;
    }

    64% {
        left: -300%;
    }

    67% {
        left: -400%;
    }

    80% {
        left: -400%;
    }

    83% {
        left: -500%;
    }

    97% {
        left: -500%;
    }

    100% {
        left: -600%;
    }
}

.slider {
    overflow: hidden;
    margin: 0 -1.875rem 1.875rem;
}

.slider figure {
    position: relative;
    width: 700%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 36s slidy infinite;
}

figure img {
    width: 14.285714285714286%;
    float: left;
}

@media only screen and (max-width:899px) {
    #wrapper {

        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    body {
        font-size: .875rem;
    }

    header a {
        margin: .625rem auto;
        display: block;
        max-width: 9.375rem
    }

    article {
        border-radius: .312rem;
        padding: .312rem;
    }

    footer {
        padding: .312rem;
        margin: .625rem 0;
    }

    .slider {
        overflow: hidden;
        margin: 0 -.625rem .625rem;
    }

    div > a:last-of-type {
        bottom: .625rem;
        width: 20%;
        height: 3%;
    }

    h1 {
        font-size: 1.5rem;
        margin: .625rem -.937rem;
        padding: .625rem .937rem;
    }

    h2 {
        font-size: 1rem;
        margin: .625rem -.312rem .312rem;
        padding: .312rem 1.562rem;
    }
}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.25rem;
    }

    div > a:last-of-type {
        bottom: .625rem;
        width: 20%;
        height: 2%;
    }
}

@media only screen and (max-width:21.25rem) {
    div > a:last-of-type {
        height: 1%;
    }
}
