@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-regular.eot');
    src: url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), url('../fonts/montserrat-v25-latin-regular.woff') format('woff'), url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'), url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v25-latin-700.eot');
    src: url('../fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'), url('../fonts/montserrat-v25-latin-700.woff') format('woff'), url('../fonts/montserrat-v25-latin-700.ttf') format('truetype'), url('../fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/montserrat-v29-latin-600.eot');
    src: url('../fonts/montserrat-v29-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v29-latin-600.woff2') format('woff2'), url('../fonts/montserrat-v29-latin-600.woff') format('woff'), url('../fonts/montserrat-v29-latin-600.ttf') format('truetype'), url('../fonts/montserrat-v29-latin-600.svg#Montserrat') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    margin: 1rem auto;
    max-width: 910px;
    border: 1px solid #000;
    background-color: #fff;
}

.logo {
    padding: 30px 50px;
    display: flex;
    justify-content: flex-start;
}

article {
    padding: 30px 50px;
}

.background-color {
    background: #f7f7f7;
    padding: 30px 50px;
    margin: 20px -50px;
}

.border {
    border-right: 210px solid #73149e;
    position: relative;
}

figure {
    position: absolute;
    right: -70px;
    bottom: 0;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.column {
    width: 48%;
}

.button {
    display: flex;
    justify-content: center;
    padding: 50px 20px 0;
}

.button a {
    display: inline-block;
    background: #0f66f5;
    padding: 10px 60px;
    color: #fff !important;
    font-weight: 700;
    border-radius: 5px;
    text-align: center;
}

.button a:hover {
    background: #0a4ebe;
}


.kontakt {
    display: flex;
    gap: 6px;
    align-items: center;
}

.kontakt span {
    flex: 1 1 0;
}

footer {
    padding: 50px;
    border-left: 300px solid #25d4af;
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    margin-top: 30px;
}

footer p {
    text-align: right;
}

.font {
    font-size: 21px;
    line-height: 1.2;
    width: 86%;
    font-weight: 600;
}

p:not(:first-of-type) {
    margin-top: 20px;
}

p.small {
    font-size: 13px;
    color: #bf2918
}

h1 {
    font-size: 29px;
    line-height: 1.1;
    margin-top: 10px;
}

h1 span {
    white-space: nowrap;
}

h1:after,
h3:after {
    content: " ";
    display: block;
    width: 30px;
    height: 4px;
    background-color: #ff9e1c;
    border-radius: 3px;
    margin-top: .6rem;
    padding-top: 0;
}

h2 {
    font-size: 23px;
    line-height: 1.1;
}

h3 {
    font-size: 19px;
    line-height: 1.1;
    margin-bottom: 20px;
}

ul {
    list-style: none;
    margin-top: 20px;
    padding-bottom: 20px;
}

ul.flex-ul {
    display: flex;
    gap: 0 30px;
    flex-wrap: wrap;
}

ul li {
    padding-left: 23px;
    position: relative;
}

li:before {
    content: ' ';
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background-color: #000;
    position: absolute;
    left: 0;
    top: 5px;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

a[href^="tel:"] {
    color: #0f66f5;
}

.color {
    color: #bf2918;
}

.video {
    position: relative;
    padding-bottom: 50%;
    padding-top: 15px;
    height: 0;
    overflow: hidden;
    margin: 0 -50px;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media only screen and (max-width:910px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(.logo, article, .background-color) {
        padding: 16px
    }

    :is(.background-color, .video) {
        margin: 20px -16px;
    }

    footer {
        padding: 22px 16px;
        border-left: 250px solid #25d4af;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }

    :is(p, ul) span:not(.kontakt span) {
        white-space: nowrap;
    }
}

@media only screen and (max-width:848px) {
    footer {
        border-left: none;
        padding-left: 16px;
    }

    .font {
        font-size: 17px;
        line-height: 19px;
        width: auto;
    }
}

@media only screen and (max-width:650px) {
    .flex {
        display: block;
    }

    .column {
        width: auto !important
    }

    .border {
        border-right: none;
    }

    figure {
        position: static;
        margin: 16px 0 0;
    }
}

@media only screen and (max-width:450px) {
    h1 {
        font-size: 22px
    }
}