/* rubik-regular - latin */
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 400;
src: local(''),
        url('../fonts/rubik-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('../fonts/rubik-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* rubik-700 - latin */
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 700;
src: local(''),
        url('../fonts/rubik-v14-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('../fonts/rubik-v14-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* rubik-800 - latin */
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 800;
src: local(''),
        url('../fonts/rubik-v14-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('../fonts/rubik-v14-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* http://meyerweb.com/eric/tools/css/reset/ 
    v2.0 | 20110126
    License: none (public domain)
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote::after, q:before, q::after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* Basics */

:root {
    --gelb: #fbba23;
    --grau: #f2f0f0;
    --blau: #004388;
}

html,
body {
    background: white;
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    line-height: 27px;
}

body > a.visually-hidden.focusable:focus,
body > a.visually-hidden.focusable:focus-visible {
    outline: 2px solid #ffff00;
    display: block;
    background: #ffff00;
    color: black;
    z-index: 100;
    position: relative !important;
    display: inline-block;
    width: initial;
    height: initial;
    clip: initial;
    overflow: initial;
}

.innerwidth {
    width: 90%;
    max-width: 1111px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.innerwidth.flex > div {
    display: flex;
    justify-content: space-between;
}

.innerwidth.flex > div > div {
    flex: 1 1 0;
}

.innerwidth.flex > div > div > div {
    padding-right: 40px;
}

.main-content-wrap a {
    font-weight: 700;
    color: var(--blau);
    border-bottom: 2px solid var(--blau);
    text-decoration: none;
}

.main-content-wrap a:hover {
    border-color: transparent;
}

.main-content-wrap a:focus-visible {
    outline: 4px solid #0000ff;
    outline-offset: 5px;
}

p {
    margin-bottom: 25px;
}

p.large {
    font-size: 1.2em;
    line-height: 1.5em;
}

strong, b {
    font-weight: 700;
}

.topline {
    font-weight: 700;
    color: var(--blau);
    font-size: 1em;
    margin-bottom: 15px;
    display: inline-block;
}

h1,h2,h3,h4,h5,h6,.h2  {
    font-weight: 800;
    font-size: 2em;
    line-height: 1.5em;
    position: relative;
    margin-bottom: 25px;
}

h2 {
    margin-bottom: 40px;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 6px;
    background: var(--gelb);
}

h2.topline {
    margin-bottom: initial;
}

h2.topline:after {
    display: none;
}

h1 {
    font-size: 2.5em;
    line-height: 1.5em;
    margin-bottom: 25px;
}

h3,h4,h5,h6,.h2{
    font-size: 1.6em;
}

.h4  {
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.5em;
    margin-bottom: 25px;
}

.hidden {
    display: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h3.small {
    font-size: 1.1em;
}

h4.telefon,
p.telefon {
    position: relative;
    font-weight: 700;
    padding-left: 35px;
}

h4.telefon:before,
p.telefon:before {
    content: "";
    background: url('../images/icon-telefon.svg') no-repeat top center;
    background-size: cover;
    position: absolute;
    left: 0px;
    top: 8px;
    width: 25px;
    height: 25px;
}

p.button a {
    color: black;
    border: 0;
    text-transform: uppercase;
    background: var(--gelb);
    display: inline-block;
    padding: 10px 25px;
    border: 3px dashed black;
}

p.button a:after {
    content: '>';
    margin-left: 5px;
}

p.button a:hover {
    color: white;
    background: var(--blau);
}

@media (max-width: 1024px) {

    body {
        font-size: 0.9em;
    }

    .innerwidth.flex > div {
        flex-direction: column;
        justify-content: flex-start;
    }

    .topline {
        margin-bottom: 5px;
    }

    h1 {
        font-size: 1.6em;
        line-height: 1.5em;
    }
    
    h2 {
        font-size: 1.4em;
        line-height: 1.5em;
    }
    
}
