@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/noto-sans-v39-latin-regular.eot');
    src: url('../fonts/noto-sans-v39-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v39-latin-regular.woff2') format('woff2'), url('../fonts/noto-sans-v39-latin-regular.woff') format('woff'), url('../fonts/noto-sans-v39-latin-regular.ttf') format('truetype'), url('../fonts/noto-sans-v39-latin-regular.svg#NotoSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/noto-sans-v39-latin-700.eot');
    src: url('../fonts/noto-sans-v39-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v39-latin-700.woff2') format('woff2'), url('../fonts/noto-sans-v39-latin-700.woff') format('woff'), url('../fonts/noto-sans-v39-latin-700.ttf') format('truetype'), url('../fonts/noto-sans-v39-latin-700.svg#NotoSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Noto Sans", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 300px, rgba(239, 239, 239, 1) 800px), url("../images/hintergrund.jpg") no-repeat top center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 52rem;
    margin: 1rem auto;
    overflow: hidden;
    font-weight: 400;
    padding: 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #105ea6;
    text-decoration: underline 1px dotted;
    white-space: nowrap;

}

a.tel {
    text-decoration: none;
    color: inherit;
}

h1 {
    font-size: 1.625rem;
    line-height: 1.3;
    margin: 1.25rem 0;
    color: #105ea6;
}

h1 span {
    font-size: 1.25rem;
    font-weight: normal;
}

h2 {
    font-size: 1.063rem;
    line-height: 1.3;
    color: #105ea6;
    padding: 0.75rem 1.625rem;
    background-color: #eee;
}

p {
    margin: 0 0 1.25rem;
}

section>div>p:last-child {
    margin: 0 0 0.3rem;
}

ul {
    margin: 0 0 .625rem;
    padding-left: 1rem;
}

.slider {
    position: relative;
    background-color: #fff;
    border: 1px solid #dcdfe2cc;
    border-radius: 5px;
    box-shadow: 0 0 16px rgba(0, 0, 0, .125);
}

.slider>img {
    border-radius: 5px;
    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;
    }
}

section {
    margin: .75rem 0;
    background: #fff;
    border: 1px solid #dcdfe2cc;
    border-radius: 5px;
    box-shadow: 0 0 16px rgba(0, 0, 0, .125);
}

section>div {
    padding: .75rem 1.625rem;
}

header section {
    margin: 0 0 .75rem;
    background-color: #fff;
    padding: 1.5rem 1.625rem;
    display: flex;
}

.button {
    display: flex;
    padding: .5rem 0 1rem;
}

.button a {
    text-decoration: none;
    color: #fff;
    background-color: #105ea6;
    border: 2px solid #105ea6;
    padding: 8px 20px;
    transition: all 0.5s;
    border-radius: 2px;
}

.button a:hover {
    background-color: #fff;
    color: #105ea6;
}

footer section {
    margin-bottom: 0;
}

@media only screen and (max-width: 49.9375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .75rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        background: rgba(255, 255, 255, 1);
    }
}

@media only screen and (max-width: 40rem) {

    header section {
        justify-content: center;
    }

    h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    h1 br {
        display: none;
    }
}

@media only screen and (max-width: 30rem) {
    h2 {
        padding: 0.75rem 1rem;
    }

    section div {
        padding: .75rem 1rem;
    }

    ul {
        padding-left: 1rem;
    }

    .button {
        justify-content: center;
    }
}