﻿@font-face {
    font-display: swap;
    font-family: 'Hind Vadodara';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/hind-vadodara-v13-latin-regular.eot');
    src: url('../fonts/hind-vadodara-v13-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-vadodara-v13-latin-regular.woff2') format('woff2'), url('../fonts/hind-vadodara-v13-latin-regular.woff') format('woff'), url('../fonts/hind-vadodara-v13-latin-regular.ttf') format('truetype'), url('../fonts/hind-vadodara-v13-latin-regular.svg#HindVadodara') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Hind Vadodara';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/hind-vadodara-v13-latin-500.eot');
    src: url('../fonts/hind-vadodara-v13-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-vadodara-v13-latin-500.woff2') format('woff2'), url('../fonts/hind-vadodara-v13-latin-500.woff') format('woff'), url('../fonts/hind-vadodara-v13-latin-500.ttf') format('truetype'), url('../fonts/hind-vadodara-v13-latin-500.svg#HindVadodara') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Hind Vadodara';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/hind-vadodara-v13-latin-700.eot');
    src: url('../fonts/hind-vadodara-v13-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-vadodara-v13-latin-700.woff2') format('woff2'), url('../fonts/hind-vadodara-v13-latin-700.woff') format('woff'), url('../fonts/hind-vadodara-v13-latin-700.ttf') format('truetype'), url('../fonts/hind-vadodara-v13-latin-700.svg#HindVadodara') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #005596;
    font-family: 'Hind Vadodara', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 761px;
    margin: 1rem auto;
    border: 2px solid #000;
    overflow: hidden;
    background: #FFF url('../images/background.jpg') no-repeat;
    height: 962px;
}

header {
    padding: 1.75rem 1.25rem 0.25rem 2.625rem;
}

header img {
    position: absolute;
    top: 2rem;
    right: 2.4375rem;
}

article {
    padding: 2.5rem 0 21.125rem 27.625rem;
    position: relative;
}

article :is(p, ul) {
    font-weight: 500;
}

article figure:nth-of-type(1) {
    display: none;
}

article figure:nth-of-type(2) {
    position: absolute;
    bottom: 3.75rem;
    left: 27.25rem;
}

footer {
    padding: 0.5rem 3rem 1.25rem;
    position: relative;
}

footer p.zukunft {
    font-weight: 700;
    font-size: 1.4375rem;
    line-height: 1;
    margin-bottom: 0;
}

footer .zukunft a {
    font-size: 1.0625rem;
}

footer section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0.3125rem 0 0;
    justify-content: space-between;
    align-items: flex-end;
}

footer .qrcode {
    width: 370px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

footer .social a {
    font-size: 0.6875rem;
    line-height: 1.25;
    font-style: italic;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.qrcode p {
    margin-bottom: 0;
}

.box {
    position: relative;
}

.box :is(p, ul) {
    font-size: 1.125em;
}

.social {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.social div p:nth-of-type(1) {
    margin-bottom: 2px;
}

p {
    margin: 0 0 0.5rem;
}

h1 {
    font-size: 2.625rem;
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: 1.5625rem;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
    padding: 1.375rem 1.375rem 1.375rem 4rem;
    transform: rotate(-3deg);
    position: absolute;
    top: -70px;
    left: 5px;
    text-shadow: 1px 0 3px #25A9B8;
}

h3 {
    font-size: 1.0625rem;
    color: #FFF;
    transform: rotate(270deg) translateX(1px) skewX(1deg);
    line-height: 1.125rem;
    position: absolute;
    top: 16.25rem;
    width: 226px;
    height: 40px;
    font-weight: 400;
    left: 618px;
}

h3 a {
    color: #fff !important;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #005596;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: -0.625rem 0 1rem;
    list-style: none;
}

ul li {
    padding-left: 1.5rem;
    background: url('../images/iconlist.png') no-repeat 0 5px;
    margin-bottom: 0.5625rem;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width:760px) {
    #wrapper {
        height: auto;
        border: none;
        margin: 0;
    }
}

@media all and (max-width:738px) {
    #wrapper {
        background-image: none;
    }

    header {
        padding: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px 9px;
        flex-direction: row-reverse;
    }

    header img {
        position: static;
    }

    article {
        padding: 0;
        background: #49b4c2;
        overflow: hidden;
    }

    article figure:nth-of-type(2) {
        position: static;
    }

    article figure:nth-of-type(1) {
        display: block;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }

    footer .qrcode {
        width: 100%;
    }

    .images-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin: 10px 16px 0 0;
    }

    .box {
        background: #edf6f8;
        padding: 1rem 1rem 0.125rem;
    }

    .box ul {
        columns: 2;
        gap: 16px;
    }

    h1 {
        font-size: 2rem;
        flex: 1 1 0;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.5rem;
        background: #CF242A;
        padding: 1rem 0.5rem;
        top: -3rem;
        left: 1rem;
        border: 6px solid #fff;
        border-radius: 5px;
    }

    h3 {
        margin: 0.5rem 1rem;
        transform: none;
        width: auto;
        height: auto;
        position: static;
    }

    :is(p, ul, h1, h2, h3) {
        hyphens: auto;
        text-wrap: pretty;
    }

    br:not(.zukunft br) {
        display: none;
    }
}

@media all and (max-width:480px) {
    header {
        flex-direction: column;
    }

    h2 {
        font-size: 5.5vw;
        padding: 0.5rem;
        top: -2rem;
    }

    .box ul {
        columns: 1;
        margin-bottom: 0.125rem;
    }
}