@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Didact Gothic';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/didact-gothic-v19-latin-regular.eot');
    src: url('../fonts/didact-gothic-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/didact-gothic-v19-latin-regular.woff2') format('woff2'), url('../fonts/didact-gothic-v19-latin-regular.woff') format('woff'), url('../fonts/didact-gothic-v19-latin-regular.ttf') format('truetype'), url('../fonts/didact-gothic-v19-latin-regular.svg#DidactGothic') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Didact Gothic', Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    background: #ffe978 url(../images/back.jpg) repeat-x;
}

img {
    max-width: 100%;
    height: auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    white-space: nowrap;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 0 auto 1rem;
    background-color: transparent;
    padding: 0 0 1.25rem;
}

.kind {
    position: absolute;
    right: -5.625rem;
    bottom: 7rem;
    z-index: 100;
    width: 13%;
}

.hintergrund {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    margin: 0 0 -1.875rem;
}

h1 {
    text-align: center;
    line-height: 1.1;
    color: #8bbb13;
    font-size: 3.125rem;
    font-weight: normal;
    margin: 0 0 1.25rem;
}

h2 {
    line-height: 1.2;
    margin: 0;
    color: #8bbb13;
    font-size: 1.5rem;
}

p {
    margin: 0 0 1.25rem
}

h2 + p,
h2 + ul {
    margin-top: 0.308rem;
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding-left: 1.125rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.125rem;
    font-size: 1.375em;
    line-height: 0.8;
}

header {
    position: relative;
    padding: 2rem
}

.home {
    position: absolute;
    top: 0;
    left: .625rem;
    padding: 4.375rem
}

.uber {
    position: absolute;
    top: 0;
    left: 10rem;
    padding: 5rem 4.375rem;
}

.angebot {
    position: absolute;
    top: 0;
    left: 20.625rem;
    padding: 5.625rem 4.375rem;
}

.aktualles {
    position: absolute;
    top: 0;
    left: 30.625rem;
    padding: 5.625rem 4.375rem;
}

.karriere {
    position: absolute;
    top: 0;
    left: 40rem;
    padding: 5.625rem 4.375rem;
}

.kontakt {
    position: absolute;
    top: 0;
    left: 49.375rem;
    padding: 5rem 4.375rem
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    7% {
        left: 0%;
    }

    10% {
        left: -100%;
    }

    17% {
        left: -100%;
    }

    20% {
        left: -200%;
    }

    27% {
        left: -200%;
    }

    30% {
        left: -300%;
    }

    37% {
        left: -300%;
    }

    40% {
        left: -400%;
    }

    47% {
        left: -400%;
    }

    50% {
        left: -500%;
    }

    57% {
        left: -500%;
    }

    60% {
        left: -600%;
    }

    67% {
        left: -600%;
    }

    70% {
        left: -700%;
    }

    77% {
        left: -700%;
    }

    80% {
        left: -800%;
    }

    87% {
        left: -800%;
    }

    90% {
        left: -900%;
    }

    97% {
        left: -900%;
    }

    100% {
        left: -1000%;
    }
}

.slider {
    overflow: hidden;
    margin: 0 -2rem;
}

.slider figure {
    position: relative;
    width: 1100%;
    margin: 0;
    left: 0;
    animation: 60s slidy infinite;
}

figure img {
    width: 9.090909090909092%;
    float: left;
}

article {
    padding: 0 2rem;
}

article a {
    margin: 2.187rem 0 1.562rem;
    display: block;
}

article p:first-of-type {
    margin: 1rem 0 1.25rem
}

article p:nth-of-type(3) {
    font-size: .875rem;
    color: #8bbb13;
    line-height: 1.3;
    text-decoration: underline;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    padding: 0 2rem 2rem;
}

.section {
    background: #fff;
    border: solid 1px #000;
    margin: auto 0;
    -moz-box-shadow: 0px 0px 10px #999;
    -ms-box-shadow: 0px 0px 10px #999;
    -webkit-box-shadow: 0px 0px 10px #999;
    box-shadow: 0px 0px 10px #999;
}

@media only screen and (max-width:49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0;
        overflow: hidden
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem
    }

    .hintergrund {
        display: none
    }

    .kind {
        display: none
    }

    h1 {
        font-size: 2.5rem;
        margin: 1rem 0;
    }

    h2 {
        font-size: 1.25rem;
    }

    h2 + p,
    h2 + ul {
        margin-top: 0;
    }

    ul li:before {
        line-height: 0.9
    }

    header {
        padding: 1rem;
        display: flex;
        justify-content: center
    }

    .home,
    .uber,
    .angebot,
    .aktualles,
    .karriere,
    .kontakt {
        display: none
    }

    .section {
        border: none;
        -moz-box-shadow: none;
        -ms-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    article {
        padding: 0 1rem;
    }

    article p:first-of-type {
        margin: 1rem 0
    }

    footer {
        padding: 0 1rem 1rem;
    }
}

@media only screen and (max-width:42.5rem) {
    h1 {
        font-size: 1.875rem
    }
}

@media only screen and (max-width:30rem) {
    h1 {
        font-size: 1.562rem
    }
}
