@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Calibri", Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #f06400;
}

span {
    white-space: nowrap;
}

article p {
    padding-bottom: 1.25rem;
}

h1 {
    font-size: 1.9rem;
    text-align: center;
    padding: 0.625rem 0 1.875rem;
}

h1 small {
    font-weight: normal;
    font-size: .7em;
}

h2 {
    font-size: 1.125rem;
    text-transform: uppercase;
    background-color: #f06400;
    color: #fff;
    padding: 0.5rem 0.75rem;
    margin-bottom: .625rem;
}

h3 {
    font-size: 1rem;
    padding-bottom: 1rem;
}

ul {
    list-style: none;
    padding: 0 0.625rem 1.5rem 0;
}

ul li {
    padding: 0 0 0.625rem 2rem;
}

ul li:before {
    content: "+";
    float: left;
    margin-left: -1.3rem;
    font-size: 25px;
    font-weight: 700;
    color: #005aaa;
    line-height: .85;
}

.flex {
    display: flex;
    gap: 1rem;
}

.flex div {
    flex: 50%;
}

.kontakt {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
}

.kontakt div p:last-of-type {
    padding-bottom: 0;
}

article {
    padding: 1.875rem 1.25rem 0;
}

footer {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.image-kontakt {
    width: 6rem;
}

footer div {
    display: flex;
    align-items: end;
    gap: 1rem;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 42rem) {
    .flex {
        display: block;
    }

    article>p {
        padding-bottom: 1rem;
    }

    ul {
        padding: 0 0 .625rem;
    }

    h1 {
        font-size: 1.7rem;
    }

    article {
        padding: 1.25rem 1rem 0;
    }

    footer {
        padding: 0 1rem 1.25rem;
    }
}

@media only screen and (max-width: 35rem) {

    .kontakt,
    footer {
        flex-direction: column;
    }
}