﻿@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: #636466;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 45.625rem;
    margin: 1rem auto;
    border: 1px solid #000;
    padding: 0;
    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: justify;
    margin: 0 0 .625rem;
}

h1 {
    color: #E82426;
    font-size: 3.437rem;
    line-height: 1.1;
    margin: 0;
    font-weight: 900;

}

h2 {
    font-size: 1.187rem;
    line-height: 1.4;
    margin: 0 0 0;
}

h3 {
    font-size: 2.187rem;
    line-height: 1.2;
    margin: 0;
    font-weight: 400;
}

h4 {
    color: #E82426;
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 900;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 .625rem;
    padding: 0;
}

ul li {
    padding-left: .937rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #636466;
    margin-left: -.937rem;
    top: .562rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

main {
    display: block;
}

header,
article,
footer {
    margin: 0;
    padding: 2.5rem;

}

header {
    margin: 0 0 0 0;
    padding: 2.5rem 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row-reverse
}



header > a {}

header > a img {
    width: 100%;
    max-width: 7.187rem;
}

figure {
    margin: 0 0 0 0;
}

article {
    margin: 0 0 0 0;
    padding: .625rem 2.5rem 0;
}

article > p:first-of-type {
    font-size: 1.187rem;
}

article > p:first-of-type strong {
    font-weight: 500;
}

article > p:last-of-type {

    font-size: .937rem;
}

article > p:last-of-type a {
    font-weight: 700;
}

footer {
    margin: 1.25rem 0 0 0;
    padding: 1.25rem 2.5rem 0;
    background: url(../images/bg_footer.jpg) top center no-repeat;
    background-size: cover;
    border-top: 3px solid #E82426;
}

footer > section {
    background-color: #636466;
    color: #fff;
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    width: 55%;
    margin: 20% 0 0 -2.5rem;
    border-top-right-radius: 15px;
}

footer > section p {
    font-size: .937rem;
    margin: 0 0 0 0;
    font-weight: 300;
    position: relative;
    line-height: 1.3;
}

footer > section p:before {
    content: "";
    background: url(../images/triangle.png) top center no-repeat;
    background-size: contain;
    width: .625rem;
    height: 1.312rem;
    position: absolute;
    top: -.125rem;
    left: -.875rem;


}

footer > section p strong {
    font-weight: 700;
}

footer > section p a {
    font-weight: 500;
}

/*-------- buton -------*/

/*
article > a {
    margin: 0 0 1.25rem;
    padding: .625rem 1.25rem;
    text-align: center;
    background-color: #000000;
    color: #fff;
    border: 2px solid #000000;
}

article > a:hover {
    text-decoration: none;
}
*/

/*------------ buton end ----------*/

@media only screen and (max-width: 45.562rem) {

    body {
        font-size: .875rem;
    }

    #wrapper {
        margin: 0 auto;
        border: 0;

    }

    a {
        font-weight: bold;
    }

    p a {
        white-space: normal;
        display: inline;
    }



    p {
        text-align: left;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.4;
    }

    h3 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    h1 > br,
    article > br,
    p > br,
    li > br {
        display: none;
    }

    header,
    article,
    footer {
        margin: 0;
        padding: .625rem;

    }

    header {
        margin: 0 0 0 0;
        padding: .625rem;
        display: block;
    }



    header > a {
        margin: 0 0 1.25rem;
    }



    article {
        margin: 0 0 0 0;
        padding: .625rem;
    }

    article > p:first-of-type {
        font-size: 1rem;
    }


    article > p:last-of-type {

        font-size: .875rem;
    }



    footer {
        margin: 0 0 0 0;
        padding: .625rem;
        background: #636466;
    }

    footer > section {
        background-color: transparent;
        padding: .625rem;
        width: auto;
        margin: 0;
        border-top-right-radius: 0;
    }

    footer > section p {
        font-size: .875rem;
        margin: 0 0 0 0;
        font-weight: 300;
        position: relative;
        line-height: 1.3;
    }




}

@media only screen and (max-width:29.937rem) {
    h1 {
        /*        font-size: 1.75rem;*/
    }
}
