/* #####################################################

TOC - Table of Content

1.1 Viewport
1.2 Variablen
1.3 Hauptdeklarationen
1.4 Typografie & Globale Elemente
1.5 Globale Klassen

2. Header
3. Main Sections
4. Footer
5. Sub Pages

##################################################### */

/* 1.1 Viewport
##################################################### */

@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

/* 1.2 Variablen
##################################################### */

:root {
    --unit-100vh: 100vh;
}

@supports (height: 100dvh) {
    :root {
        --unit-100vh: 100dvh;
    }
}

html {
    padding: env(safe-area-inset);
}

body {
    /*colors*/
    --lightColor: #fff;
    --lightGray: #e7e7e7;
    --Gray: #dddddd;
    --darkGray: #c1c1c1;
    --darkColor: #222;
    --primaryColor: #790C1A;

    /*Font-Sizes*/
    --primaryHead: 3.3875rem;
    --secondaryHead: 2.875rem;
    --tertiaryHead: 2.1875rem;

    --paragraphs: 1.75rem;

    --btnFS: 1.75rem;
    --smallFS: 1.3875rem;

    --menuFS: 1.75rem;

    --radius: 12.5px;
}

@media screen and (max-width: 1199px) {
    body {

        /*Font-Sizes*/
        --primaryHead: 2.875rem;
        --secondaryHead: 2.3875rem;
        --tertiaryHead: 2rem;

        --paragraphs: 1.5rem;

        --btnFS: 1.5rem;
        --smallFS: 1.25rem;

        --menuFS: 1.5rem;

    }
}

@media screen and (max-width: 991px) {
    body {
        --primaryHead: 2rem;
        --secondaryHead: 1.75rem;
        --tertiaryHead: 1.325rem;

        --paragraphs: 1rem;

        --btnFS: 1rem;
        --smallFS: 0.875rem;

        --menuFS: 1rem;

        --radius: 8px;
    }
}

@media screen and (max-width: 991px) {
    body {
        --primaryHead: 2rem;
        --secondaryHead: 1.6875rem;
        --tertiaryHead: 1.325rem;

        --paragraphs: 1rem;

        --btnFS: 1rem;
        --smallFS: 0.875rem;

        --menuFS: 1rem;

        --radius: 8px;
    }
}

/* 1.3 Hauptdeklarationen
##################################################### */

* {
    outline: none;
}

html, body {
    height: calc(100% - 0px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    line-height: 1;
    overflow: overlay;
    color: var(--darkColor);
}

@media screen and (max-width:991px) {
    body.no-scroll {
        overflow: hidden;
    }
}

#overallwrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0px;
    width: 100%;
    overflow: hidden;
    min-height: 100%;
    margin: 0 auto;
}

@media screen and (max-width:1406px) {
    #overallwrap {
        padding: 0 20px;
    }
}

@media screen and (max-width:767px) {
    #overallwrap {
        padding: 0 10px;
    }
}

#contentwrap {
    flex: 0 0 100%;
}

/* 1.4 Page Transitions & Splash*
##################################################### */

#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    background: var(--lightColor);
    opacity: 0.7;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    pointer-events: none;
}

@keyframes fade-out {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

#fader.fade-out {
    opacity: 0;
    animation-name: fade-out;
}

#fader.fade-in {
    opacity: 1;
    animation-name: fade-in;
}

#splash {
    position: fixed;
    width: 100vw;
    height: var(--unit-100vh);
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lightColor);
    animation-duration: 750ms;
    animation-timing-function: ease-in-out;
    pointer-events: none;
    animation-name: fade-out;
    animation-delay: 3.5s;
    animation-fill-mode: forwards;
    z-index: 111;
}

#splash svg {
    position: absolute;
    margin: auto;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    height: 90px;
    width: auto;
}

#splash svg.splash-logo {
    z-index: 1;
}

.l_l {
    stroke: var(--lightColor);
    stroke-width: 18 !important;
    stroke-dasharray: 220.77462768554688;
    stroke-dashoffset: 0;
    fill: none;
    animation: dash 1.125s linear forwards;
    animation-delay: 0.625s;
}

.l_r {
    stroke: var(--lightColor);
    stroke-width: 18 !important;
    stroke-dasharray: 213.59170532226562;
    stroke-dashoffset: 0;
    fill: none;
    animation: dash2 1.125s linear forwards;
    animation-delay: 1.625s;
}

@keyframes dash {
    to {
        stroke-dashoffset: 220.77462768554688;
    }
}

@keyframes dash2 {
    to {
        stroke-dashoffset: 213.59170532226562;
    }
}

@media screen and (max-width:991px) {
    #splash svg {
        height: 65px;
        width: auto;
    }
}

/* 1.4 Typografie & Globale Elemente
##################################################### */

html, body, h1, h2, h3, h4, h5, p, ul {
    margin: 0px;
    padding: 0px;
}

h1, .h1 {
    font: normal 300 var(--primaryHead) 'Kanit', sans-serif;
    line-height: 1.125;
    margin-bottom: 10px;
    color: var(--primaryColor);
}

h2, .h2 {
    font: normal 300 var(--secondaryHead) 'Kanit', sans-serif;
    line-height: 1.125;
    margin-bottom: 20px;
}

h3, .h3 {
    font: normal 300 var(--tertiaryHead) 'Kanit', sans-serif;
    line-height: 1.125;
}

h4, .h4 {
    font: normal 300 var(--biggerParagraphs) 'Kanit', serif;
    line-height: 1.125;
    margin-bottom: 7.5px;
}

p, h5 {
    line-height: 1.5 !important;
    font: 300 normal var(--paragraphs) 'Kanit', sans-serif;
    letter-spacing: -0.25px;
}

h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.smallerParagraphs, .smallerParagraphs p {
    font: 300 normal var(--smallFS) 'Kanit', sans-serif;
}

.biggerParagraphs, .biggerParagraphs p, .biggerParagraphs li {
    font: 300 normal var(--biggerParagraphs) 'Kanit', sans-serif;
}

#contentwrap ul li {
    font: 300 normal var(--paragraphs) 'Kanit', sans-serif;
    line-height: 1.5;
}

#contentwrap ul {
    list-style-type: none;
}

p strong {
    font-weight: 500;
}

small {
    font-size: var(--smallFS);
}

a {
    text-decoration: none;
    transition: 0.35s all;
    cursor: pointer;
    pointer-events: auto;
    cursor: hand;
    position: relative;
    z-index: 2;
    color: var(--darkColor);
}

a:hover {
    cursor: pointer;
}

#contentwrap section {
    padding-top: 100px;
    padding-bottom: 100px;
}

#contentwrap section.margin-section {
    margin-top: 100px;
    margin-bottom: 100px;
}

body:not(.body-sub) #contentwrap>section:first-of-type {
    margin-top: 135px;
}

@media screen and (max-width:991px) {
    body:not(.body-sub) #contentwrap>section:first-of-type {
        margin-top: 95px;
    }

    #contentwrap section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #contentwrap section.margin-section {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    body:not(.body-sub) #contentwrap>section:first-of-type {
        margin-top: 85px;
    }

    h2, .h2 {
        margin-bottom: 15px;
    }

    .section-spacer {
        padding-bottom: 40px;
        width: 100%;
    }
}

@media screen and (max-width:767px) {
    body:not(.body-sub) #contentwrap>section:first-of-type {
        margin-top: 80px;
    }
}

/* 1.5 Globale Custom Klassen (Paddings, Colors, Display Elemente)
##################################################### */

/*Paddings*/
.p-0 {
    padding: 0px !important;
}

.p-r-0 {
    padding-right: 0px !important;
}

.p-h-0 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.p-v-0 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.p-t-0 {
    padding-top: 0px !important;
}

.p-b-0 {
    padding-bottom: 0px !important;
}

.p-t-small {
    padding-top: 50px !important;
}

.p-t-large {
    padding-top: 100px !important;
}

.p-t-box {
    padding-top: 15px !important;
}

.p-b-small {
    padding-bottom: 50px !important;
}

.p-b-large {
    padding-bottom: 100px !important;
}

.p-b-box {
    padding-bottom: 15px !important;
}

.m-t-0 {
    margin-top: 0px !important;
}

.m-t-box {
    margin-top: 15px !important;
}

.m-b-0 {
    margin-bottom: 0px !important;
}

.m-b-box {
    margin-bottom: 15px !important;
}

.m-t-small {
    margin-top: 50px !important;
}

.m-t-large {
    margin-top: 100px !important;
}

.m-b-small {
    margin-bottom: 50px !important;
}

.m-b-large {
    margin-bottom: 100px !important;
}

@media screen and (max-width:991px) {
    .p-t-small {
        padding-top: 25px !important;
    }

    .p-t-large {
        padding-top: 50px !important;
    }

    .p-b-small {
        padding-bottom: 25px !important;
    }

    .p-b-large {
        padding-bottom: 50px !important;
    }

    .m-t-small {
        margin-top: 25px !important;
    }

    .m-t-large {
        margin-top: 50px !important;
    }

    .m-b-small {
        margin-bottom: 25px !important;
    }

    .m-b-large {
        margin-bottom: 50px !important;
    }
}

@media screen and (max-width:767px) {
    .m-t-box {
        margin-top: 10px !important;
    }

    .p-b-box {
        padding-bottom: 10px !important;
    }

    .p-t-box {
        padding-top: 10px !important;
    }

    .m-b-box {
        margin-bottom: 10px !important;
    }
}

/*Positions*/
.p-r {
    position: relative !important;
}

.p-a {
    position: absolute !important;
}

/*Two Columns*/

@media screen and (min-width:768px) {
    .two-col {
        columns: 2;
        column-gap: 20px;
    }

    .two-col p {
        break-inside: avoid-column;
    }

    .two-col>div {
        break-inside: avoid-column;
    }
}

/*Höhen*/
.h-100 {
    height: 100% !important;
}

/*radius*/
.radius {
    border-radius: var(--radius);
}

/*Colors*/
.TextprimaryColor {
    color: var(--primaryColor) !important;
}

.TextlightColor,
.TextlightColor h1,
.TextlightColor h2,
.TextlightColor h3,
.TextlightColor h4 {
    color: var(--lightColor) !important;
}

.TextdarkColor {
    color: var(--darkColor) !important;
}

.TextdarkGray {
    color: var(--darkGray) !important;
}

.BGlightColor {
    background-color: var(--lightColor);
}

.BGlightGray {
    background-color: var(--lightGray);
}

.BGgray {
    background-color: var(--Gray);
}

.BGprimaryColor {
    background-color: var(--primaryColor);
    color: var(--lightColor);
}

.BGdarkColor {
    background-color: var(--darkColor);
    color: var(--lightColor);
}

/*Display Elemente */
body .d-none {
    display: none;
}

@media screen and (max-width:1199px) {
    .lg-off {
        display: none !important;
    }

    .lg-block {
        display: block !important;
    }
}

@media screen and (max-width:991px) {
    .md-off {
        display: none !important;
    }

    .md-block {
        display: block !important;
    }
}

@media screen and (max-width:767px) {
    .sm-off {
        display: none !important;
    }

    .sm-block {
        display: block !important;
    }

    .sm-flex {
        display: flex !important;
    }

}

@media screen and (max-width:624px) {
    .xs-off {
        display: none !important;
    }
}

/*Images*/
svg,
svg:hover,
svg path,
svg path:hover,
svg rect,
svg rect:hover {
    transition: 0.35s all;
}

.full-width-img {
    width: 100%;
    height: auto;
    line-height: 1;
}

.img-wrap {
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.img-wrap::before {
    content: '';
    float: left;
    padding-bottom: 56.25%;
}

.img-wrap.wrap-square::before {
    content: '';
    float: left;
    padding-bottom: 100%;
}

.img-wrap img,
img.stretch-parent {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

img.alignright,
img.alignleft,
img.aligncenter,
img.alignnone {
    border-radius: var(--radius);
}

img.alignright, .wp-caption.alignright {
    float: right;
    margin: 7.5px 0 22.5px 30px;
    display: inline;
}

img.alignleft, .wp-caption.alignleft {
    float: left;
    margin: 7.5px 30px 22.5px 0;
    display: inline;
}

img.aligncenter, .wp-caption.aligncenter {
    display: block;
    margin: 0px 0px 30px 0;
    margin-left: auto;
    margin-right: auto;
}

a img.alignright {
    float: right;
    margin: 7.5px 0 22.5px 30px
}

a img.alignleft {
    float: left;
    margin: 7.5px 30px 22.5px 0
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

img.aligncenter:not(.wp-caption img.aligncenter),
img.alignleft:not(.wp-caption img.alignleft) {
    width: 33.333% !important;
    height: auto !important;
}

@media screen and (max-width:991px) {

    img.aligncenter:not(.wp-caption img.aligncenter),
    img.alignleft:not(.wp-caption img.alignleft) {
        width: 50% !important;
    }
}

@media screen and (max-width:576px) {

    img.aligncenter:not(.wp-caption img.aligncenter),
    img.alignleft:not(.wp-caption img.alignleft) {
        width: 100% !important;
    }
}

/*Video*/
.video-wrap,
.social-embed-container.video-container {
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-wrap iframe,
.video-wrap video,
.social-embed-container.video-container iframe {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    border: none;
    left: 0;
    border-radius: var(--radius);
}

.social-embed-container.video-container {
    margin: 20px 0;
}

/*Maps*/
.map-wrap {
    position: relative;
    padding-bottom: 42.85%;
    width: 100%;
}

.map-wrap iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.disable_scrollwheel iframe {
    pointer-events: none;
}

/*Textausrichtung*/
.center {
    text-align: center;
}

/*Lists*/
#contentwrap ul li {
    padding-left: 15px;
    margin-left: 15px;
    position: relative;
}

#contentwrap.sub-page ul li:not(:last-of-type){
    margin-bottom: 5px;
}

#contentwrap ul li:before {
    content: "• ";
    color: var(--primaryColor);
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0px
}

/*Buttons*/
.btn {
    padding: 0 20px 3px 20px;
    margin-right: 12.5px;
    max-height: 57.5px;
    min-height: 57.5px;
    margin-top: 25px;
    border-radius: var(--radius);
    line-height: 1 !important;
    font: normal 300 var(--btnFS) 'Kanit', sans-serif !important;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    position: relative;
    color: var(--darkColor);
    border: 2px solid var(--darkColor);
    max-width: calc(100% - 15px);
}

.btn:hover {
    transform: translateY(-7.5px);
    box-shadow: 0 7.5px 0px var(--darkGray);
}

@media screen and (max-width:991px) {
    .btn {
        padding: 0 15px 2px 15px;
        max-height: 35px;
        min-height: 35px;
        align-content: center;
        line-height: 1 !important;
        margin-right: 10px;
        margin-top: 20px;
        border-width: 1px;
    }

    .btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 0px var(--darkGray);
    }
}

/*Height Placeholder*/
@media screen and (max-width:767px) {
    .col-mobile-height:before {
        content: '';
        float: left;
        padding-bottom: 75%;
    }
}

/* 2. Header
##################################################### */

header {
    flex: 0 0 100%;
    width: calc(100% - 40px) !important;
    transition: 0.5s transform, 0.5s opacity;
    z-index: 12;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    width: 100%;
}

@media screen and (min-width:768px) {
    header.header-sub {
        background-color: rgba(0, 0, 0, 0);
    }
}

header .logo-wrap .btn {
    display: none;
    margin: 0 !important;
    border: none
}

header.scrolled .logo-wrap .btn {
    display: inline-flex;
    margin-left: -10px;
}

header.scrolled {
    position: fixed;
    background-color: var(--lightColor);
}

header.nav-up {
    transform: translateY(-150px);
}

header .row>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav a:not(.btn) {
    font: 300 normal var(--menuFS) 'Kanit', sans-serif;
    display: inline-block;
    position: relative;
    margin-right: 25px;
}

p a {
    position: relative;
}

header nav a:not(.btn):after,
header nav a:not(.btn):before,
p a:before,
p a:after {
    content: "";
    background-color: transparent;
    width: 0;
    height: 2px;
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: 0px;
    transition: 0.25s all;
    pointer-events: none;
    position: absolute;
}

header nav a:not(.btn):hover:after,
header nav a:not(.btn):hover:before,
p a:hover:before,
p a:hover:after {
    width: 100%;
    background-color: var(--darkColor);
}

header a.btn {
    margin-top: 0px;
    background-color: var(--primaryColor);
    border-color: var(--primaryColor);
    color: var(--lightColor);
    margin-right: 0px;
}

header .row {
    padding-top: 20px;
    padding-bottom: 20px;
}

header .row>div {
    border-radius: var(--radius);
}

header.scrolled .row {
    padding-top: 15px;
    padding-bottom: 15px;
}

header.scrolled .row>div {
    background-color: var(--Gray);
}

header.scrolled a:hover {
    transform: none !important;
    box-shadow: none !important;
}

header .logo {
    height: 90px;
    width: auto;
}

header.scrolled .logo {
    display: none;
}

header .logo:hover {
    transform: scale(0.9);
}

@media screen and (max-width:991px) {
    header .logo {
        height: 60px;
        width: auto;
    }

    header a:not(.btn) {
        margin-right: 15px;
    }

    header .row,
    header.scrolled .row {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    header nav a:not(.btn):after,
    header nav a:not(.btn):before,
    p a:before,
    p a:after {
        height: 1px;
    }

}

@media screen and (max-width:767px) {
    header a:not(.btn) span {
        text-transform: capitalize;
    }

    header {
        width: calc(100% - 20px) !important;
    }

    header nav a:not(.btn) {
        margin-right: 10px;
    }

    header.scrolled nav {
        display: flex;
        align-items: center;
        width: 100%;
    }

    header.scrolled nav .btn {
        margin-left: auto;
    }

    header.scrolled nav a:not(.btn) {
        padding-bottom: 2px;
    }
}

/* 3. Main Sections
##################################################### */

/*Corner*/
.corner {
    position: relative;
}

.corner:after,
.corner:before {
    background-size: contain;
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center center;
    pointer-events: none;
    content: "";
    width: 12px;
    height: 12px;
    z-index: 11;
}

@media screen and (max-width:991px) {

    .corner:after,
    .corner:before {
        width: 8px;
        height: 8px;
    }
}

/*CTA*/
#cta .row>div.col-12 {
    color: var(--lightColor);
    background: var(--primaryColor) url('../_img/CTA-Background.png') no-repeat center center;
    background-size: cover;
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

#cta h2 {
    padding: 0 30px;
}

@media screen and (min-width:1200px) {
    #cta h2 {
        padding: 0 75px;
    }
}

.cta-corner {
    height: 75px;
    z-index: 1;
    pointer-events: none;
}

.cta-top-corner {
    margin-bottom: -75px;
    border-bottom-right-radius: var(--radius);
}

.cta-bottom-corner {
    border-top-left-radius: var(--radius);
    margin-top: -75px;
}

@media screen and (max-width:1199px) {
    .cta-corner {
        height: 50px;
    }

    .cta-top-corner {
        margin-bottom: -50px;
    }

    .cta-bottom-corner {
        margin-top: -50px;
    }

}

@media screen and (max-width:767px) {
    .cta-corner {
        height: 40px;
    }

    .cta-top-corner {
        margin-bottom: -40px;
    }

    .cta-bottom-corner {
        margin-top: -40px;
    }

}

#cta svg {
    margin-bottom: 30px;
    height: 90px;
    width: auto;
}

#cta .btn {
    color: var(--lightColor);
    border-color: var(--lighColor);
}

#cta .btn:hover {
    background-color: var(--lightColor);
    color: var(--darkColor);
    border-color: var(--lightColor);
}

.cta-top-corner.corner-top-right:after {
    background-image: url('../_img/corner-top-right.svg');
    right: calc(0% - 12px);
    top: 0;
}

.cta-top-corner.corner-bottom-left:before {
    background-image: url('../_img/corner-bottom-left.svg');
    top: calc(100% + 0px);
    left: 0;
}

.cta-bottom-corner.corner-bottom-left:after {
    background-image: url('../_img/corner-top-right-reverse.svg');
    right: calc(0% - 0px);
    top: -12px;
}

.cta-bottom-corner.corner-bottom-left:before {
    background-image: url('../_img/corner-bottom-left-reverse.svg');
    top: calc(100% - 12px);
    left: -12px;
}

@media screen and (max-width:991px) {
    #cta svg {
        height: 60px;
        margin-bottom: 15px;
    }

    #cta .btn {
        margin: 10px;
    }

    .cta-top-corner.corner-top-right:after {
        right: calc(0% - 8px);
    }

    .cta-bottom-corner.corner-bottom-left:after {
        top: -8px;
    }

    .cta-bottom-corner.corner-bottom-left:before {
        background-image: url('../_img/corner-bottom-left-reverse.svg');
        top: calc(100% - 8px);
        left: -8px;
    }
}

/*Hero*/
.btn.BGprimaryColor.btn-logo {
    filter: none !important;
    border: none !important;
    margin: 0 0 0 0px !important;
    padding: 0 25px 0px 25px !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
}

header .btn.BGprimaryColor.btn-logo {
    box-shadow: none !important;
    transform: none !important;
}

#hero .herocorner {
    padding: 0 0px 15px 0px;
    margin: 0 0 0 -10px !important;
    display: inline-block;
    position: relative;
}

#hero .herocorner.herocorner-right {
    border-top-left-radius: 12px;
    padding: 15px 0px 0 15px;
    margin-right: -10px !important;
    line-height: 0;
}

@media screen and (max-width:767px) {
    #hero .herocorner.herocorner-right {
        border-top-left-radius: 8px;
    }
}

@media screen and (max-width:767px) {
    #hero .herocorner {
        padding: 0 0px 10px 0px;
    }

    #hero .btn.BGprimaryColor {
        max-width: calc(100% - 10px);
        padding: 2px 20px 0px 20px !important;
    }
}

#hero .herocorner.herocorner-left {
    border-bottom-right-radius: 15px;
}

#hero .hero-image {
    display: flex;
    position: relative;
    align-items: flex-end;
    justify-content: flex-end;
}

@media screen and (min-width:768px) {
    #hero .hero-image:before {
        content: "";
        width: 8px;
        background-color: var(--Gray);
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
    }
}

@media screen and (min-width:992px) {
    #hero .hero-image:before {
        width: 12px;
    }
}

.btn.BGprimaryColor.btn-logo strong {
    padding-left: 5px !important;
    font-weight: 700 !important;
}

#hero h2 {
    color: var(--darkColor);
}

.hero-text-wrap {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}

.hero-text {
    padding: 90px 45px 100px 45px;
}

@media screen and (max-width:1399px) {

    .hero-text {
        padding: 60px 40px 70px 40px;
    }
}

@media screen and (max-width:1199px) {

    .hero-text {
        padding: 40px 37.5px 45px 37.5px;
    }
}

@media screen and (max-width:991px) {
    .hero-text {
        padding: 30px 15px;
    }
}

@media screen and (max-width:767px) {
    .hero-text {
        padding: 20px 12.5px 25px 12.5px;
    }

    #hero h2 {
        margin-bottom: 7.5px;
    }

    .hero-text-wrap {
        padding-top: 10px;
        margin-top: -10px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    #hero .row>div {
        position: static;
    }

    #hero .hero-image {
        position: static !important;
        padding: 0;
    }

    #hero .hero-image>img {
        width: 100%;
        position: relative;
        aspect-ratio: 16/9;
    }

    #hero {
        position: relative;
    }

    #hero .herocorner {
        position: absolute;
    }

    #hero .herocorner.herocorner-left {
        top: 0;
        z-index: 1;
    }

    #hero .herocorner.herocorner-right {
        bottom: 0;
        right: 10px;
        z-index: 1;
        padding: 10px 0 0 10px;
    }

}

#hero .herocorner.herocorner-left.corner:after {
    background-image: url('../_img/corner-top-right.svg');
    right: calc(0% - 12px);
    top: 0;
}

#hero .herocorner.herocorner-left.corner:before {
    background-image: url('../_img/corner-bottom-left.svg');
    top: calc(100% + 0px);
    left: 0;
}

#hero .herocorner.herocorner-right.corner:after {
    background-image: url('../_img/corner-top-left.svg');
    right: calc(0% - 0px);
    top: -12px;
}

#hero .herocorner.herocorner-right.corner:before {
    background-image: url('../_img/corner-top-left.svg');
    top: calc(100% - 12px);
    left: -12px;
}

#hero .siegel {
    max-width: 200px;
    margin: 5px 15px 0 5px;
}

@media screen and (max-width:991px) {
    #hero .siegel {
        max-width: 150px;
        margin: 2.5px 10px 0 2.5px;
    }

    #hero .herocorner.herocorner-left.corner:after {
        right: calc(0% - 8px);
    }

    #hero .herocorner.herocorner-right.corner:after {
        top: -8px;
    }

    #hero .herocorner.herocorner-right.corner:before {
        top: calc(100% - 8px);
        left: -8px;
    }
}

@media screen and (max-width:767px) {
    #hero .siegel {
        max-width: 135px;
    }

    #hero .btn:not(.btn-logo) {
        margin-top: 12px !important;

    }
}

@media screen and (max-width:485px) {
    #hero .btn:not(.btn-logo) {
        margin-right: 100px !important;

    }
}

/*Dienstleistungen / Jobs */
#leistungen h2,
#stellenangebote h2 {
    display: flex;
    align-items: center;
}

#leistungen h2:before,
#stellenangebote h2:before {
    content: "";
    width: 85px;
    flex: 0 0 85px;
    height: 90px;
    margin: 0 20px 0 0px;
    display: inline-block;
    background: url('../_img/icon-leistungen.svg') no-repeat center center;
    background-size: contain;
}

#stellenangebote h2:before {
    background: url('../_img/icon-jobs.svg') no-repeat center center;
    background-size: contain;
    width: 75px;
    height: 90px;
}

@media screen and (max-width:991px) {

    #leistungen h2:before,
    #stellenangebote h2:before {
        width: 60px;
        flex: 0 0 60px;
        height: 60px;
        margin-left: -5px;
    }
}

@media screen and (max-width:767px) {

    #leistungen h2:before,
    #stellenangebote h2:before {
        width: 40px;
        flex: 0 0 40px;
        height: 40px;
        margin-right: 12.5px;
        margin-left: -5px;
    }
    #leistungen h2,
#stellenangebote h2{
    letter-spacing: -0.1px;
}
}

@media screen and (min-width:768px) {
    #leistungen img {
        max-height: 352px;
    }
    #stellenangebote img{
        max-height: 289px;
    }
}

@media screen and (min-width:992px) {
    #leistungen img {
        max-height: 552px;
    }
    #stellenangebote img{
        max-height: 452px;
    }
}

#stellenangebote .btn {
    margin-top: 10px !important;
}

@media screen and (max-width:991px) {
    #stellenangebote .btn {
        margin-top: 0px !important;
    }
}

@media screen and (max-width:767px) {
    #stellenangebote .btn {
        margin-left: 0px;
    }
}

/*Revision Dienstleistungen*/
#stellenangebote div.accordion{
    margin-left: 0px !important;
}

#contentwrap #stellenangebote .accordion ul.accordion{
    padding-bottom: 5px !important;
}

@media screen and (max-width:991px) {
   
#contentwrap #stellenangebote .accordion ul.accordion{
    padding-bottom: 15px !important;
} 
}

@media screen and (max-width:767px) {
   
    #contentwrap #stellenangebote .accordion ul.accordion{
        padding-bottom: 13.5px !important;
    } 
    }
/*Optical accordion*/
.optical-accordion li {
    list-style-type: none;
    margin-bottom: 15px;
    margin-left: 0px !important;
    padding-left: 0px !important;
    position: relative;
}

.optical-accordion li a:after,
.link-wrap a:after {
    content: "";
    background: url(../_img/arrow.svg) no-repeat center center;
    background-size: contain;
    width: 25px;
    height: 22px;
    position: absolute;
    right: 25px;
    top: calc(50% - 11px);
}

.optical-accordion li:hover a {
    background-color: var(--darkGray) !important;
}

.optical-accordion li::before {
    display: none !important;
}

@media screen and (max-width:991px) {
    .optical-accordion li a:after,
    .link-wrap a:after{
        right: 12px !important;
        top: calc(50% - 7px) !important;
        width: 15px !important;
        height: 15px !important;
    }
}

@media screen and (min-width:768px) {

    div.optical-accordion,
    div.accordion {
        width: calc(100% - 15px) !important;
    }

    div.accordion {
        margin-left: 15px !important;
    }

    div.optical-accordion {
        margin-right: 5px;
    }
}

@media screen and (max-width:767px) {

    div.optical-accordion,
    div.accordion {
        padding-top: 10px !important;
        width: calc(100% + 0px) !important;
        margin-left: 0px !important;
    }

    .optical-accordion li {
        margin-bottom: 10px;
    }
}

/*Accordion*/
#contentwrap .akkordion .accordion ul {
    list-style: none !important;
    padding: 0 0 0 0;
}

@media screen and (min-width:768px) {
    #contentwrap .akkordion .accordion ul {
        padding: 0 0 50px 0;
    }
}

@media screen and (min-width:992px) {
    #contentwrap .akkordion .accordion ul {
        padding: 0 0 75px 0;
    }
}

#contentwrap .akkordion .accordion h3 {
    margin-bottom: 25px;
}

#contentwrap .akkordion ul.accordion {
    margin-bottom: -15px;
    margin-top: -15px;
}

#contentwrap .akkordion .accordion ul .inner {
    padding: 40px 20px 20px 20px;
    display: none;
    margin-bottom: 0px;
    background-color: var(--lightGray);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    position: relative;
    top: -22.5px;
    margin-bottom: -22.5px;
}

#contentwrap .akkordion .accordion ul .inner p {
    font-size: var(--smallFS) !important;
}

#contentwrap .akkordion .accordion ul .inner p:not(:last-of-type){
    margin-bottom: 10px !important;
}

#contentwrap .akkordion .accordion ul .inner li a{
    text-decoration: underline;
}

#contentwrap .akkordion .accordion ul .inner:after {
    content: "";
    height: 2px;
    width: 100%;
    background-color: var(--lightColor);
    position: absolute;
    top: 22.5px;
    left: 0;
    z-index: 11;
}

#contentwrap .akkordion .accordion ul .inner ol li {
    padding-left: 40px;
    font-size: var(--smallerParagraphs);
    margin-left: 0 !important;
}

#contentwrap .akkordion .accordion ul .inner ol li:before {
    padding-left: 2px;
    width: 25.5px;
    height: 27.5px;
    top: -2px;
}

#contentwrap .akkordion .accordion ul .inner ol,
#contentwrap .akkordion .accordion ul .inner ul {
    margin: 10px 0;
    padding-bottom: 0px !important;
}

#contentwrap .akkordion .accordion ul .inner li {
    font-size: var(--smallFS) !important;
    margin-left: 0 !important;
}

#contentwrap .akkordion .accordion ul .inner p {
    margin-bottom: 15px;
}

#contentwrap .akkordion .accordion ul .inner p:last-of-type {
    margin-bottom: 0px;
}

#contentwrap .akkordion .accordion ul .inner p a,
#contentwrap .akkordion .accordion ul .inner li a {
    border-width: 1px;
}

#contentwrap .akkordion .accordion>li:before {
    display: none;
}

#contentwrap .akkordion .accordion>li {
    margin: 15px 0;
    padding: 0;
    border-top: 1px solid var(--lightColor);
    font: normal 300 var(--paragraphs) 'Kanit', sans-serif;
}

#contentwrap .akkordion .accordion>li>a {
    border: none;
}

#contentwrap .akkordion ul.accordion {
    border-bottom: 2px solid var(--lightColor);
}

#contentwrap ul>li a.toggle-acc {
    width: 100%;
    position: relative;
    display: block;
    color: var(--darkColor);
    padding: 20px 50px 20px 20px;
    transition: background 0.3s ease;
    background-color: var(--Gray);
    border-radius: var(--radius);
    font: normal 300 var(--paragraphs) 'Kanit', sans-serif;
}

#contentwrap .akkordion .accordion ul>li a.toggle-acc:not(.no-toggle):hover {
    background-color: var(--darkGray);
}

#contentwrap .akkordion .accordion ul>li a.toggle-acc.active,
#contentwrap .akkordion .accordion ul .inner {
    background-color: var(--darkGray) !important;
}

#contentwrap .akkordion .accordion ul>li a.toggle-acc .icon-down {
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    transition: 0.35s all;
}

#contentwrap .akkordion .accordion ul>li a.toggle-acc .icon-down svg {
    transition: 0.35s all;
    transform-origin: 50% 50%;
    margin-top: 2px;
    width: 22.5px;
    height: 15px;
}

#contentwrap .akkordion .accordion ul>li a.toggle-acc .icon-down svg path {
    stroke: var(--darkColor);
    stroke-width: 2px;
}

#contentwrap .akkordion .accordion ul>li:hover a.toggle-acc svg path {
    stroke: var(--darkColor);
}

#contentwrap .akkordion .accordion ul>li a.toggle-acc.active .icon-down {
    transform: rotate(180deg);
}

#contentwrap .akkordion .accordion ul>li a.toggle-acc.active .icon-down path {
    stroke-width: 2px !important;
}

#contentwrap .akkordion ul .inner p {
    font-size: var(--smallerParagraphs);
}

#contentwrap .akkordion ul .inner p:not(:last-of-type) {
    margin-bottom: 20px;
}

#contentwrap .akkordion ul .inner img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    float: left;
    margin: 0 30px 30px 0;
}

@media screen and (max-width:991px) {

    #contentwrap .akkordion .accordion ul>li a.toggle-acc .icon-down {
        height: 30px;
        width: 30px;
        right: 5px;
    }

    #contentwrap ul>li a.toggle-acc {
        padding: 11.5px 15px;
    }

    #contentwrap .akkordion .accordion ul>li a.toggle-acc .icon-down svg {
        width: 14px;
        height: 8px;
    }

    #contentwrap .akkordion ul .inner {
        padding: 10px 0;
    }

    #contentwrap .akkordion .accordion>li:first-of-type {
        margin-top: 15px;
    }

    #contentwrap .akkordion .accordion>li {
        margin: 15px 0;
    }

    #contentwrap .akkordion .accordion ul .inner {
        padding: 40px 15px 20px 15px;
    }

    #contentwrap .akkordion .accordion ul .inner:after {
        height: 1px;
    }
}

@media screen and (max-width:767px) {
    #contentwrap .akkordion .accordion>li {
        margin: 10px 0;
    }

    #contentwrap .akkordion .accordion>li>a.toggle-acc{
        letter-spacing: -0.2px;
    }
}

/* 4. Footer
##################################################### */

footer {
    margin-top: auto;
    flex: 0 0 100%;
    margin-top: -30px;
}

footer p a {
    color: var(--lighColor);
}

.copy a:hover:before,
.copy a:hover:after {
    display: none;
}

footer h2 {
    margin-left: 100px;
    max-width: 900px;
}

#footer-top {
    padding: 40px 40px 0 40px;
    border-bottom-right-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

#footer-bottom {
    padding: 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    overflow: hidden;
}

#footer-bottom p {
    font-size: var(--smallFS);
}

#footer-bottom>div {
    z-index: 11;
}

footer .img-wrap:not(.partner-wrap) {
    border-radius: 50%;
    filter: grayscale(1);
    width: 165px;
}

.footer-address {
    display: flex;
    margin-top: 45px;
    margin-left: 100px;
}

.footer-address>div {
    margin-right: 60px;
}

.footer-logo {
    padding: 20px;
    transform: translateY(100%);
    position: relative;
    z-index: 11;
    background-color: var(--lightColor);
    border-bottom-right-radius: var(--radius);
}

.footer-logo svg {
    height: 90px;
    width: auto;
}

.footer-logo.footer-corner-top.corner:after {
    background-image: url('../_img/corner-top-right.svg');
    right: calc(0% - 12px);
    top: 0;
}

.footer-logo.footer-corner-top.corner:before {
    background-image: url('../_img/corner-bottom-left.svg');
    top: calc(100% + 0px);
    left: 0;
}

.footer-logo.footer-corner-bottom.corner.corner:after {
    background-image: url('../_img/corner-top-right.svg');
    right: calc(0% - 0px);
    top: -12px;
}

.footer-logo.footer-corner-bottom.corner.corner:before {
    background-image: url('../_img/corner-bottom-left.svg');
    top: calc(100% - 12px);
    left: -12px;
}

.container-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 0.5fr 1fr;
    gap: 15px 0px;
    grid-template-areas:
        "spacer copy"
        "footer-nav copy";
}

.footer-nav {
    grid-area: footer-nav;
    padding: 20px;
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}

.copy {
    grid-area: copy;
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    border-top-left-radius: var(--radius);
}

.spacer {
    grid-area: spacer;
    width: calc(100% - 15px);
    border-bottom-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}

.container-grid p a {
    padding: 1.5px 0;
}

.container-grid p a:before,
.container-grid p a:after {
    background-color: var(--lightColor) !important;
    height: 1.25px !important;
    bottom: 6px !important;
}


.footer-nav.corner:after {
    background-image: url('../_img/red-corner.svg');
    top: calc(0% - 12px);
    right: 0px;
}

.footer-nav, .copy {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.spacer {
    min-height: 75px;
}

.copy {
    padding: 20px 30px 25px 35px;
}

footer:not(.footer-sub) .spacer.corner:after {
    background-image: url('../_img/grey-corner.svg');
    top: calc(0% - 0px);
    right: -12px;
}

@media screen and (max-width:991px) {
    .footer-logo svg {
        height: 60px;
        width: auto;
    }

    .copy {
        padding: 15px 20px 17.5px 25px;
    }

    .footer-logo {
        padding: 0px 15px 10px 0px;
    }

    footer h2 {
        margin-left: 60px;
    }

    .footer-address {
        margin-top: 30px;
        margin-left: 60px;
    }

    .footer-address>div {
        margin-right: 20px;
    }

    footer .img-wrap:not(.partner-wrap) {
        width: 95px;
    }

    .footer-logo.footer-corner-top.corner:after {
        right: calc(0% - 8px);
    }

    .footer-logo.footer-corner-bottom.corner.corner:after {
        top: -8px;
    }

    .footer-logo.footer-corner-bottom.corner.corner:before {
        left: -8px;
    }

    .footer-nav {
        padding: 15px;
    }

    .spacer {
        min-height: 45px;
    }

    .footer-nav.corner:after {
        top: calc(0% - 8px);
    }

    footer:not(.footer-sub) .spacer.corner:after {
        right: -8px;
    }
}

@media screen and (max-width:767px) {
    footer {
        margin-top: 5px;
    }

    .copy {
        margin-top: 10px;
    }

    .container-grid {
        grid-template-columns: 1fr auto;
        grid-template-rows: 0.5fr 1fr;
        gap: 10px 0px;
        grid-template-areas:
            "spacer copy"
            "footer-nav copy";
    }

    footer h2 {
        margin-left: 0px;
        margin-bottom: 0;
        margin-top: 40px;
    }

    #footer-top {
        padding: 30px 25px 0 25px !important;
    }

    .footer-address {
        flex-wrap: wrap;
        margin-left: 0px;
        margin-bottom: 25px;
        margin-top: 15px;
    }

    .footer-logo {
        padding-right: 0px;
    }

    .footer-logo svg {
        height: 30px;
        width: 100%;
    }

    .footer-logo .btn.BGprimaryColor.btn-logo {
        display: inline-flex !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 2px !important;
        transition: 0.35s all;
        max-width: calc(100% - 10px);
    }

    .footer-address>div:last-of-type {
        flex: 0 0 100%;
        margin-top: 15px;
    }

    .spacer {
        width: calc(100% - 10px);
    }

    .footer-nav,
    .copy {
        padding: 10px 15px 10px 15px;
    }

    .copy {
        padding-left: 17.5px;
    }

    .spacer {
        min-height: 40px;
    }
}

 .partner-item {
    flex: 0 0 12.5%;
    max-width: 12.5%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    line-height: 0;
    margin: 15px 0;
}

.partner-wrap.img-wrap{
    max-height: 70px;
    border-radius: 0px;
}

 .partner-item img {
    object-fit: contain;
}

@media screen and (max-width:767px) {
    .partner-item {
        flex: 0 0 25%;
        max-width: 25%;
    padding-right: 10px;
    padding-left: 10px;
    margin: 10px 0;
}

.partner-wrap.img-wrap{
    max-height: 50px;
}
}
/* 5. Sub Pages
##################################################### */

.header-sub {
    transform: none !important;
    position: fixed !important;
}

.sub-page p,
.sub-page ul {
    margin-bottom: 30px;
}

.sub-page h1 {
    margin-bottom: 30px;
    font-weight: 400;
    color: var(--darkColor);
}

.sub-page h2,
.sub-page h3 {
    margin-bottom: 7.5px;
    font-weight: 400;
    font-size: var(--paragraphs);
}

.sub-page .sub-cta p {
    font-size: var(--paragraphs);
}

.sub-page .sub-cta h3 {
    font-size: var(--tertiaryHead);
}

.sub-cta {
    padding: 30px;
    margin-top: 60px;
}

.sub-cta .btn {
    margin-top: 20px !important;
    margin-bottom: 5px !important;
}

mark {
    background-color: var(--primaryColor);
    padding: 5px 20px 7.5px 20px;
    margin-bottom: 20px;
    color: var(--lightColor);
    border-radius: var(--radius);
    font: 400 normal var(--paragraphs) 'Kanit', sans-serif;
    display: inline-block;
}

.logo-wrap-sub {
    margin-top: 150px;
}

.logo-wrap-sub svg {
    width: 300px;
    height: auto;
}

@media screen and (max-width:991px) {
    .sub-page p,
    .sub-page ul {
        margin-bottom: 20px;
    }

    .sub-cta {
        padding: 20px;
        margin-top: 40px;
    }

    .logo-wrap-sub {
        margin-top: 75px;
    }

    .logo-wrap-sub svg {
        width: 200px;
        height: auto;
    }
    mark {
        margin-bottom: 10px;
        padding: 5px 20px 7.5px 20px;
    }
    
    .sub-page h1 {
        margin-bottom: 15px;
    }
}

@media screen and (max-width:767px) {
    .logo-wrap-sub svg {
        width: 150px;
        height: auto;
    }

    .header-sub {
        background-color: var(--lightColor);
    }

    .header-sub .row>div {
        background-color: var(--Gray);
    }

    .body-sub header .btn:not(.btn-logo){
        display: none;
    }

    .sub-page {
        margin-top: 40px;
    }
    .header-sub .btn.BGprimaryColor.btn-logo {
        padding: 2px 20px 0px 20px !important;}
}