@font-face {
    font-display: swap;
    font-family: 'Open Sans 300';
    src: url('../Fonts/OpenSans-300.ttf');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans 600';
    src: url('../Fonts/OpenSans-600.ttf');
}

* {
    border: none;
    margin: 0;
    outline: none;
    padding: 0;
}

strong,
strong * {
    font-family: 'Open Sans 600', sans-serif;
    font-weight: normal;
}

blockquote {
    font-style: italic;
}

blockquote p:before {
    content: '„';
}

blockquote p:after {
    content: '“';
}

a {
    text-decoration: none;
}

img {
    height: auto;
    line-height: 0;
    max-width: 100%;
    vertical-align: top;
}

ul {
    list-style: none;
}

h1 {
    display: none;
}

h2 {
    font-size: 1.6em;
    line-height: normal;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2em;
    line-height: normal;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1em;
    line-height: normal;
    margin-bottom: 0.25rem;
}

hr {
    border: none;
    height: 1px;
    margin: 3rem 0;
}

hr + h2,
hr + h3,
hr + h4 {
    padding-top: 0;
}

.clearbreak {
    clear: both;
}

.honeypot {
    display: none;
}

* {
    color: rgba(29, 29, 27, 1);
    font-family: 'Open Sans 300', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6rem;

    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

iframe {
    display: block;
    height: 460px;
    width: 100%;
}

p {
    hyphens: auto;
    margin-bottom: 0.5rem;
}

p:last-child {
    margin-bottom: 0;
}

p a {
    color: #58717d;
    font-family: 'Open Sans 600', sans-serif;
    font-weight: normal;
    transition: color 0.2s ease-in-out 0s;
}

p a:hover {
    color: #690030;
}

h2 {
    color: rgba(88, 113, 125, 1);
    font-family: 'Open Sans 600', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}

h3 {
    color: rgba(88, 113, 125, 0.6);
    padding-top: 1rem;
}

hr {
    background-color: rgba(88, 113, 125, 0.4);
}

.link::before {
    background-color: #690030;
    box-sizing: border-box;
    content: '';
    display: inline-block;
    height: 0.5rem;
    margin-right: 0.5rem;
    width: 0.5rem;
}

.link {
    color: rgba(29, 29, 27, 1);
    font-weight: normal;
}

.link:hover {
    color: #690030;
}

.content {
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
    width: 1240px;
}

#header .logo {
    display: inline-block;
}

#header .logo img {
    height: 6rem;
    margin: 4rem 0 2rem 2rem;
}

#header .logo span {
    color: #58717d;
    float: right;
    line-height: 1rem;
    margin: 9rem 0 0 0.6rem;
}

#header .nav-main {
    bottom: 2rem;
    position: absolute;
    right: 1rem;
    text-transform: uppercase;
}

#header .nav-main li {
    float: left;
    font-family: 'Open Sans 600', sans-serif;
    font-weight: normal;
    line-height: 1rem;
}

#header .nav-main li a {
    line-height: 1rem;
    padding: 0 1rem;
    transition: color 0.2s ease-in-out 0s;
}

#header .nav-main li a:hover,
#header .nav-main li.active a {
    color: #58717d;
}

#content {
    background-color: rgba(229, 234, 238, 0.75);
    position: relative;
}

#content .content-right {
    background-color: rgba(229, 234, 238, 1);
    display: block;
    height: 100%;
    left: 50%;
    position: absolute;
    top: 0;
    width: 50%;
}

#content .content {
    background-color: rgba(229, 234, 238, 1);
    min-height: 40vh;
    padding: 0 2rem;
}

#content .content p {
    color: #454344;
}

#content .content .col > h2:first-child,
#content .content > h2:first-child {
    padding-top: 2rem;
}

#content .content > p:last-child {
    padding-bottom: 2rem;
}

#footer {
    margin-bottom: 1rem;
}

#footer .structure {
    display: block;
    float: left;
    margin: -1.15rem 0.25rem 0 0.75rem;
    width: 0.5rem;
}

#footer .structure i {
    background-color: #58717d;
    display: block;
    height: 0.6rem;
    margin-bottom: 0.15rem;
    width: 0.6rem;
}

#footer .structure i:first-child {
    height: 0.3rem;
}

#footer .structure i:nth-child(2) {
    height: 0.4rem;
}

#footer .structure i:nth-child(3) {
    height: 0.5rem;
}

#footer .nav-meta-bottom {
    margin-top: 0.5rem;
}

#footer .nav-meta-bottom li {
    float: left;
    line-height: 1.3rem;
    padding: 0 0.5rem;
}

#footer .nav-meta-bottom li a {
    color: rgba(29, 29, 27, 0.6);
    font-size: 0.85rem;
    line-height: 1.3rem;
}

.layer {
    display: none;
}


/* Layer Kontaktformular */

button.contact-trigger {
    background-color: #58717d;
    color: #fff;
    cursor: pointer;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease-out 0s;
}

button.contact-trigger:hover {
    background-color: #690030;
}

.layer-contact {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    color: #fff !important;
    display: flex;
    height: 100%;
    left: -5000px;
    opacity: 0;
    position: fixed;
    top: -5000px;
    transition: opacity 0.3s ease-out 0s;
    width: 100%;
    z-index: -999;
}

.layer-contact .content {
    background-color: rgba(229, 234, 238, 1);
    left: 50%;
    margin-left: -500px;
    padding: 2rem;
    position: absolute;
    top: 2rem;
    width: 1000px;
}

.layer-contact .col {
    padding: 0;
}

.layer-contact.active {
    left: 0;
    opacity: 1;
    top: 0;
    z-index: 1000;
}

.layer-contact-close {
    background-image: url('../Images/Close.svg');
    background-repeat: no-repeat;
    background-size: 4rem 4rem;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    height: 4rem;
    opacity: 0.6;
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    transition: opacity 0.3s ease-out 0s;
    width: 4rem;
}

.layer-contact-close:hover,
.layer-contact-close:focus {
    opacity: 1;
}

.layer-contact .tx-cacontactform {
    padding-top: 1rem;
}

.layer-contact .tx-cacontactform .error {
    color: #b1a743 !important;
}

.layer-contact .tx-cacontactform input.error, .layer-contact .tx-cacontactform textarea.error {
    border: 1px solid #b1a743;
}

.layer-contact .tx-cacontactform .contactFormSubmit {
    text-align: center;
}

.layer-contact .tx-cacontactform .contactFormSubmit input {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    width: 25%;
    transition: all 0.3s ease-in-out 0s;
}

.layer-contact .tx-cacontactform .contactFormSubmit input:hover {
    background-color: #fff;
    color: #a42e58;
}


@media all and (max-width: 1239px) {

    * {
        font-size: 14px;
    }

    iframe {
        height: 380px;
    }


    .content {
        width: 1024px;
    }

    #header .logo img {
        height: 4rem;
        margin: 2rem 0 2rem 2rem;
    }

    #header .logo span {
        margin: 5rem 0 0 0.6rem;
    }


    /* Layer Kontaktformular */
    .layer-contact .content {
        margin-left: -400px;
        width: 800px;
    }

}

@media all and (max-width: 1023px) {
    body {
        background-color: rgba(88, 113, 125, 1);
    }

    iframe {
        display: none;
    }

    .content {
        width: auto;
    }

    #header .logo {
        bottom: auto;
        left: 10px;
        position: fixed;
        top: 20px;
        z-index: 999;
    }

    #header .logo img {
        height: 40px;
        margin: 0;
    }

    #header .logo span {
        display: none;
    }

    #header .nav-main {
        display: none;
    }

    #content {
        padding-top: 132px;
    }

    #content .content-right {
        display: none;
    }

    #content {
        background-color: rgba(235, 239, 243, 1);
    }

    #content .content {
        background-color: transparent;
        padding: 10px;
    }

    #content .content .col > h2:first-child,
    #content .content > h2:first-child {
        padding: 0;
    }

    #footer {
        margin-bottom: 0;
    }

    #footer .nav-meta-bottom {
        margin: 0;
        text-align: center;
    }

    #footer .nav-meta-bottom li {
        display: inline-block;
        float: none;
        line-height: 4rem;
        padding: 0 1rem;
    }

    #footer .nav-meta-bottom li a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        line-height: 2rem;
    }

    #footer .structure {
        display: none;
    }


    /* Layer Kontaktformular */
    button.contact-trigger,
    .layer-contact {
        display: none !important;
    }
}