/*
Theme Name: FGR Basic Theme
Theme URI: http://fgr.design/
Description: Das FGR Basic-Theme wurde eigens für FGR Kunden entwickelt. Es bedarf keinerlei zusätzliche Lizenz, jedoch darf die Gestaltung die durch die FGR vorgegeben wurde nicht verändert werden - es erlischt umgehend das Nutzungsrecht. Inhaltliche Änderungen dürfen selbstverständlich getätigt werden. Im Zweifelsfall steht die <a href="http://fgrepublik.com/">Freie Gestalterische Republik</a> jederzeit bereit, um Fragen zu beantworten.
Author: der Freien Gestalterischen Republik
Author URI: http://fgr.design/
Version: 1.3.4
License: Keine Nutzung ohne vorherige Absprache erlaubt.
License URI: license.txt
Tags: FGR, basic, Widgetfähig, Menü, Responsive
*/

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

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

2. Globale Klassen

3. Flexible Content Rows

4. Page Templates
5. Plugins

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

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

@viewport {
    width: device-width;
}

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

:root {
    --app-height: 100%;
    --unit-100vh: 100vh;
}

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

html {
    padding: env(safe-area-inset);
    height: -webkit-fill-available;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    /*colors*/
    --lightColor: #fff;
    --lightGray: #F2F0EF;
    --Gray: #D6d6d6;
    --darkGray: #595959;
    --ctaColor: #FFE7C5;
    --darkColor: #000;

    /*Font-Sizes*/
    --primaryHead: clamp(3.75rem, 2.7478rem + 1.6164vw, 4.6875rem);

    --secondaryHead: clamp(3.125rem, 2.4569rem + 1.0776vw, 3.75rem);

    --tertiaryHead: clamp(1.875rem, 1.2069rem + 1.0776vw, 2.5rem);

    --quaternaryHead: clamp(1.5625rem, 0.8944rem + 1.0776vw, 2.1875rem);

    --largerParagraphs: clamp(1.375rem, 1.1746rem + 0.3233vw, 1.5625rem);

    --paragraphs: clamp(1.25rem, 1.1164rem + 0.2155vw, 1.375rem);

    --btnFS: clamp(1.375rem, 1.1746rem + 0.3233vw, 1.5625rem);

    --smallFS: clamp(0.9375rem, 0.8039rem + 0.2155vw, 1.0625rem);
    --smallerFS: clamp(0.9375rem, 0.8039rem + 0.2155vw, 1.0625rem);
}

@media screen and (max-width: 991px) {
    body {
        --primaryHead: clamp(3.125rem, 0.9725rem + 4.4843vw, 3.75rem);

        --secondaryHead: clamp(2.5rem, 0.3475rem + 4.4843vw, 3.125rem);

        --tertiaryHead: clamp(1.5625rem, 0.4863rem + 2.2422vw, 1.875rem);

        --quaternaryHead: clamp(1.25rem, 0.1738rem + 2.2422vw, 1.5625rem);

        --largerParagraphs: clamp(1.125rem, 0.264rem + 1.7937vw, 1.375rem);

        --paragraphs: clamp(1rem, 0.139rem + 1.7937vw, 1.25rem);

        --btnFS: clamp(1.125rem, 0.264rem + 1.7937vw, 1.375rem);

        --smallFS: clamp(0.75rem, 0.1043rem + 1.3453vw, 0.9375rem);
        --smallerFS: clamp(0.75rem, 0.1043rem + 1.3453vw, 0.9375rem);
    }
}

@media screen and (max-width: 767px) {
    body {
        --primaryHead: 3.125rem;
        --secondaryHead: 2.5rem;
        --tertiaryHead: 1.875rem;
        --quaternaryHead: 1.5625rem;
        --largerParagraphs: 1.125rem;
        --paragraphs: 1rem;
        --btnFS: 1.125rem;
        --smallFS: 0.75rem;
        --smallerFS: 0.75rem;
    }
}

@media screen and (max-width: 576px) {
    body {
        --primaryHead: 2.625rem;
        --secondaryHead: 2.25rem;
    }
}


/* 1.5 Page Transitions*
##################################################### */

#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: #e3b778;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
    pointer-events: none;
    transition: 0s all !important;
}

@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;
}

/* THE CUSTOM CURSOR */
/* Gerät hat KEINEN präzisen Zeiger und KEIN Hover -> reines Touch (Smartphone, Tablet) */
@media (hover: none) and (pointer: coarse) {
    .cursor {
        display: none;
    }
}

@media (hover: hover) and (pointer: fine) {
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12.5px;
    height: 12.5px;
    background:#FB2500;
    border-radius: 50% 40% 60% 70% / 80% 70% 40% 50%;
    pointer-events: none;
    z-index: 9999;
    /* The transform is set by JS — this is just the starting state */
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        height 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        background 0s ease,
        border 0.3s ease;
    will-change: transform, width, height;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*
.cursor:not(.is-link):not(.is-btn){
 backdrop-filter:invert(100%);
}
*/
.cursor-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0s ease;
    white-space: nowrap;
}

/* MORPH STATES */
/* On a link: expand to a ring */
.cursor.is-link {
    width: 40px;
    height: 40px;
    background: transparent url(../_img/cursor.png) no-repeat center calc(50% + 0px);
    background-size: contain;
    cursor: none !important;
    border-radius: 0px;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.25));
    filter: brightness(0.85);
    margin-top: 12.5px;
}

/* On the gallery: filled black circle with white "Drag" label */
.cursor.is-btn {
    width: 60px;
    height: 60px;
    background: transparent url(../_img/cursor.png) no-repeat center calc(50% + 0px);
    background-size: contain;
    cursor: none !important;
    border-radius: 0px;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.25));
    filter: brightness(0.85);
     margin-top: 10px;
}
}

/* 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 (hover: hover) and (pointer: fine) {
    body {
    cursor: none;}
}


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

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

header {
    flex: 0 0 100%;
    transition: 0.5s all;
    z-index: 12;
}

#contentwrap {
    flex: 0 0 100%;
    position: relative;
}

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

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

h1, .h1 {
    font: normal 700 var(--primaryHead) 'Brevia', sans-serif;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.2px;
}

h2, .h2 {
    font: normal 700 var(--secondaryHead) 'Brevia', sans-serif;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

h3, .h3 {
    font: normal 700 var(--tertiaryHead) 'Brevia', sans-serif;
    margin-bottom: 15px;
    line-height: 1.1875;
}

h4, .h4 {
    font: normal 700 var(--quaternaryHead) 'Brevia', sans-serif;
    line-height: 1.125;
    margin-bottom: 10px;
}

h5, .h5 {
    font: 700 normal var(--paragraphs) 'Brevia', sans-serif;
    line-height: 1.125;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    line-height: 1.5 !important;
    font: 400 normal var(--paragraphs) 'comma-sans', sans-serif;
}

@media screen and (max-width:991px) {
    h1, .h1, h2, .h2 {
        margin-bottom: 15px;
    }

    h3, .h3 {
    margin-bottom: 12.5px;}
}

body:not(#tinymce) #contentwrap ul li,
body:not(#tinymce) #contentwrap ol li {
    font: 400 normal var(--paragraphs) 'comma-sans', sans-serif;
    line-height: 1.5;
}

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

#contentwrap p strong {
    font-weight: 700;
}

small {
    font: 400 normal var(--smallFS) 'comma-sans', sans-serif;
}

a {
    text-decoration: none;
    transition: 0.35s all;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    a {
    cursor: none;}
}

#contentwrap section {
    padding-top: 150px;
    padding-bottom: 150px;
    margin: -40px 0;
}

@media screen and (max-width:991px) {
    #contentwrap section {
        padding-top: 100px;
        padding-bottom: 100px;
        margin: -40px 0;
    }
}

/* 1.6 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: 60px !important;
}

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

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

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

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

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

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

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

/* Border */
.border-0 {
    border: none !important;
}

/* Line Head */
.line-head {
    border-bottom: 1px solid var(--quaternaryColor);
    padding-bottom: 10px;
    color: var(--darkColor);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.line-head.TextlightColor {
    border-bottom: 1px solid var(--lightColor);
}

@media screen and (max-width:991px) {
    .text .line-head {
        margin-bottom: 25px;
    }
}


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

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

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

/* Width */
.w-100 {
    width: 100% !important;
}

/* Colors */
.TextlightColor {
    color: var(--lightColor) !important;
}

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

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

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

/*Shadow*/
.shadow {
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.33));
}

.shadow-small {
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
}

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

body .d-block {
    display: block;
}

@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;
    }
}

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

/* Images & Video */
svg,
svg:hover,
svg path,
svg path:hover,
svg rect,
svg rect:hover,
svg:hover path,
svg line,
svg:hover line {
    transition: 0.5s all;
}

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

img {
    object-position: calc(var(--focal-point-left, 0.5) * 100%) calc(var(--focal-point-top, 0.5) * 100%);
}

.img-wrap,
.video-wrap {
    display: flex;
    position: relative;
    width: 100%;
    overflow: hidden;
}

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

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

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


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

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

/* Icon */
svg.icon,
img.icon {
    margin-right: 20px;
    height: 62px;
    width: 62px;
    flex: 0 0 62px;
    object-fit: contain;
    border-radius: 50%;
}

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

    svg.icon,
    img.icon {
        margin-right: 15px;
        height: 52px;
        width: 52px;
        flex: 0 0 52px;
    }
}

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

/* Lists */
#contentwrap ul li,
#contentwrap ol li {
    padding-left: 17.5px;
    margin: 7.5px 0;
    position: relative;
}

#contentwrap ul:has(+p),
#contentwrap ol:has(+p) {
    margin-bottom: 15px;
}

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

#contentwrap ol {
    counter-reset: item;
}

#contentwrap ol li {
    display: block;
    padding-left: 0px;
    text-indent: -27px;
    margin-left: 60px;
}

#contentwrap ol li:before {
    content: counter(item) ". ";
    counter-increment: item;
    color: var(--darkGray);
}

/* Buttons */
.btn {
    font: 400 normal var(--btnFS) 'Brevia', sans-serif;
    border-radius: 2px;
    padding: 1px 25px 0px 25px;
    margin-right: 10px;
    margin-left: 0px;
    max-height: 65px;
    min-height: 65px;
    margin-top: 30px;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    outline: none !important;
    transition: 0.35s all;
    appearance: none;
    -webkit-appearance: none;
    color: var(--darkColor);
    position: relative;
    transform-style: preserve-3d;
    z-index: 1;
}

.btn:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--ctaColor);
    border-radius: 2px;
    left: 0;
    top: 0;
    z-index: -1;
    transition: 0.35s all;
}

.btn.back {
    border-radius: 50%;
    width: 65px;
    position: absolute;
    right: 40px;
    right: 40px;
    font-size: var(--tertiaryHead);
}

.btn svg {
    margin-left: 7.5px;
    transition: 0.35s all;
    transform: translateZ(0) translateX(0px);
}

.btn:hover {
    transform: scale(1.05);
}

.btn:hover:after {
    transform: rotate(-1.5deg) translate3d(0, 0, 0) scale(1.015);
    filter: brightness(0.95);
}

@media screen and (max-width:991px) {
    .btn {
        padding: 0px 20px 0px 20px;
        max-height: 50px;
        min-height: 50px;
        margin-top: 25px;
    }

    .btn.back {
        width: 50px;
        right: 20px;
        right: 20px;
    }
}

.text-btn {
    color: var(--darkColor);
    font-weight: 700;
    padding-bottom: 3.5px;
    border-bottom: 2px solid var(--darkColor);
    font: 700 normal var(--paragraphs) 'comma-sans', sans-serif;
    transition: none;
    transition: 0.25s ease-in-out;
}

.text-btn:hover {
    border-bottom: 2px solid transparent;
}

.text-btn svg {
    margin-left: 12.5px;
}

/**/
.largerParagraphs p,
p.largerParagraphs {
    font-size: var(--largerParagraphs);
}

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

/*Reverse Columns*/
@media screen and (min-width:768px) {
    .reverse-columns .row {
        flex-direction: row-reverse;
    }
}

/* 2. Flexible Content Rows
##################################################### */

/*Text*/
.text p:not(:last-of-type),
.text address,
.text ul:not(:last-of-type),
.text ol:not(:last-of-type) {
    margin-bottom: 25px;
}

.text p+ul,
.text p+ol {
    margin-top: 15px;
}

.text p a:not(.btn) {
    color: var(--primaryColor);
    text-decoration: underline;
}

.text p a:not(.btn):hover {
    text-decoration: none;
}

.text p a:not(.btn):hover {
    color: var(--lightPrimaryColor);
}

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

    .text p:not(:last-of-type),
    .text address,
    .text ul,
    .text ol {
        margin-bottom: 20px;
    }

    .text p+ul,
    .text p+ol {
        margin-top: 20px;
    }
}

/*Box*/
.box {
    padding: 30px 30px 35px 30px;
    z-index: 2;
    transform-style: preserve-3d;
}

.rotate-box {
    z-index: 1;
    left: 0;
    top: 0;
    transform: translateZ(-1px);
    transition: 0.25s ease-in-out;
}

/*Intro*/

.intro {
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 98%);
}

.intro img {
    max-width: 75%;
    margin: 0 auto;
    display: block;
    transform: translate3d(0, 50px, 0);
    transition: 0.35s all;
}

.intro img:hover {
    transform: translate3d(0, 25px, 0) scale(1.025) rotate(-0.5deg)
}

.intro img.badge{
    height: auto;
width: 35%;
z-index: 1;
max-width: 200px;
position: absolute;
top: 0%;
left: 0;
right: 0;
margin: -15% auto 0 auto;
transition-delay: 1s;
}

@media screen and (max-width:1199px) {
    .intro img.badge{
max-width: 175px;
margin: -15% auto 0 auto;}
}

@media screen and (max-width:991px) {
    .intro img.badge{
max-width: 150px;
margin: -12.5% auto 0 auto;}
}

@media screen and (max-width:767px) {
    .intro img.badge{
max-width: 135px;
margin: -7.5% auto 0 auto;}
}

@media screen and (max-width:576px) {
    .intro img.badge{
max-width: 125px;
margin: -7.5% auto 0 auto;}
}

.intro .text-btn {
    margin-left: 15px;
    display: inline-block;
    margin-top: 30px;
}

.intro .row>div:last-of-type {
    display: flex;
    align-items: flex-end;
}

.intro p {
    font-size: var(--largerParagraphs);
    hyphens: auto;
    letter-spacing: -0.25px;
}

.intro p:not(:last-of-type) {
    margin-bottom: 20px;
}

@media screen and (max-width:991px) {
    .intro p:not(:last-of-type) {
        margin-bottom: 15px;
    }
}

.intro-text {
    padding-bottom: 20px;
}

.intro-text {
    padding-bottom: 100px;
}

/*Outro*/
.outro {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
    overflow: hidden;
}

.outro p {
    font-size: var(--quaternaryHead);
    margin-top: -7.5px;
}

.outro img {
    max-width: 285px;
    width: 75% !important;
    margin: 0 auto;
    display: block;
    transform: translate3d(0, 15px, 0);
    transition: 0.35s all;
}

.outro img:hover {
    transform: translate3d(0, 0, 0) scale(1.025) rotate(-1.5deg);
}

.outro .row>div:first-of-type {
    display: flex;
    align-items: flex-end;
}

/*Material*/
.file-wrap small {
    display: block;
}

.file-wrap {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.file-wrap .img-wrap {
    flex: 0 0 120px;
    width: 120px;
    margin-right: 30px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.file-wrap .img-wrap img {
    object-fit: contain;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    left: 15px;
    top: 15px;
}

.material a {
    font: 400 normal var(--quaternaryHead) 'comma-sans', serif;
    color: var(--darkColor);
    margin: 5px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: underline;
}

.material .full-width-img {
    max-width: 315px;
    width: 75% !important;
    margin: 0 auto;
    display: block;
    transform: translate3d(0, 0, 0);
}

.material a:hover {
    text-decoration: none;
}

.material div.file-wrap:last-of-type a {
    margin-bottom: 0;
}

@media screen and (max-width:991px) {
    .file-wrap span.ext {
        padding-bottom: 1px;
    }
}

@media screen and (max-width:767px) {
    .material a:last-of-type {
        margin-bottom: 0;
    }
}

/*Content Boxen*/
.content-boxen p {
    hyphens: auto;
}

.content-boxen p:not(:last-of-type) {
    margin-bottom: 15px;
}

.content-boxen .box-row {
    justify-content: center;
    margin-bottom: -20px;
    margin-top: 30px;
}

.content-boxen .box-row img {
    max-width: 200px;
    width: 75% !important;
    display: block;
    margin: -15px auto 15px auto;
}

.content-boxen.move-img .box-row img {
    max-width: 300px;
}

body #contentwrap .content-boxen-intro h2:not(:has(+ p)) {
    margin-bottom: -15px;
}

@media screen and (min-width:768px) {
    body #contentwrap .content-boxen-intro {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width:767px) {
    .content-boxen .box-row img {
        max-width: 135px;
    }
}

body #contentwrap .content-boxen-intro p:last-of-type {
    padding-bottom: 30px;
}

@media screen and (max-width:991px) {
    body #contentwrap .content-boxen-intro p:last-of-type {
        padding-bottom: 12.5px;
    }
}

@media screen and (max-width:767px) {
    body #contentwrap .content-boxen-intro p:last-of-type {
        padding-bottom: 0px;
    }
}

.content-boxen.move-img .box-row>div:nth-of-type(1) img {
    margin-top: -27.5% !important;
}

@media screen and (max-width:767px) {
   .content-boxen.move-img .box-row>div:nth-of-type(1) img {
    margin-top: -12.5% !important;
} 
}

@media screen and (max-width:576px) {
   .content-boxen.move-img .box-row>div:nth-of-type(1) img {
    margin-top: -17% !important;
} 
}

.content-boxen.move-img .box-row>div:nth-of-type(2) img {
    margin-top: -37.5% !important;
}

@media screen and (max-width:767px) {
   .content-boxen.move-img .box-row>div:nth-of-type(2) img {
    margin-top: -14% !important;
} 
}

@media screen and (max-width:576px) {
   .content-boxen.move-img .box-row>div:nth-of-type(2) img {
    margin-top: -17.5% !important;
} 
}

.content-boxen.move-img .box-row>div:nth-of-type(3) img {
    margin-top: -12.5% !important;
}

@media screen and (max-width:576px) {
   .content-boxen.move-img .box-row>div:nth-of-type(3) img {
    margin-top: -17.5% !important;
} 
}

.content-boxen.move-img .box-row>div:nth-of-type(4) img {
    margin-top: -10% !important;
}

@media screen and (max-width:576px) {
   .content-boxen.move-img .box-row>div:nth-of-type(4) img {
    margin-top: -15% !important;
} 
}

.content-boxen .box-row>div {
    margin: 20px 0;
}

@media screen and (max-width:767px) {
   .content-boxen.move-img .box-row>div {
    margin: 30px 0;
} 
}


@media screen and (min-width:768px) {
.content-boxen .box-row>div:nth-of-type(2) {
    margin-top: 130px;
}
}

@media screen and (min-width:768px) {
.content-boxen .box-row>div:nth-of-type(3) {
    margin-top: 60px;
}
}

@media screen and (min-width:768px) {
.content-boxen .box-row>div:nth-of-type(4) {
    margin-top: 75px;
}
}


.content-boxen .box-row>div:nth-of-type(1) .rotate-box,
.content-boxen .box-row>div:nth-of-type(4) .rotate-box {
    transform: rotate(1.5deg) translateZ(-1px);
}

.content-boxen .box-row>div:nth-of-type(3) .rotate-box {
    transform: rotate(-1.5deg) translateZ(-1px);
}

@media screen and (min-width:1200px) {
    .content-boxen .box-row>div:nth-of-type(4) {
        max-width: 66.6666%;
        flex: 0 0 66.6666%;
    }

    .content-boxen .box-row>div:nth-of-type(4) .box {
        display: flex;

    }

    .content-boxen .box-row>div:nth-of-type(4) img {
        margin-right: 30px;
        flex: 0 0 75%;
        object-fit: contain;
        margin-bottom: 0;
    }
}

.content-boxen .box-row>div:nth-of-type(1):hover .rotate-box {
    transform: rotate(0deg) translateZ(-1px);
}

.content-boxen .box-row>div:nth-of-type(2):hover .rotate-box {
    transform: rotate(-1.5deg) translateZ(-1px);
}

.content-boxen .box-row>div:nth-of-type(3):hover .rotate-box {
    transform: rotate(-0deg) translateZ(-1px);
}

.content-boxen .box-row>div:nth-of-type(4):hover .rotate-box {
    transform: rotate(-0deg) translateZ(-1px);
}

.content-boxen .box-row>div img {
    transition: 0.25s ease-in-out;
}

.content-boxen .box-row>div:hover img {
    transform: translate3d(0, -5px, 0) scale(1.05) rotate(-1.5deg);
}

.img-dec {
    max-width: 185px;
    width: 75% !important;
    margin: 0 auto;
    display: block;
}

.img-dec-top {
    margin-bottom: 30px;
}

.img-dec-bottom {
    margin-top: 30px;
}

@media screen and (max-width:767px) {
    .img-dec {
        max-width: 85px;
    }
}

.content-boxen .reveal img{
    transition: 0.25s all;
}

.content-boxen .reveal img:hover{
    transform: scale(1.05);
}
/* 4. Page Templates
##################################################### */

.page-template-page-back main section,
.error404 section {
    min-height: var(--unit-100vh);
    margin: 0 !important;
}

.page-template-page-back h2 {
    font-size: var(--tertiaryHead);
}

.page-datenschutz h3 {
    font: normal 400 var(--quaternaryHead) 'comma-sans', sans-serif;
}

.page-datenschutz h4 {
    font: normal 700 var(--paragraphs) 'comma-sans', sans-serif;
}

.page-template-page-back:not(.page-datenschutz) p {
    font-size: var(--largerParagraphs);
}

.page-template-page-back footer .row>div,
.error404 footer .row>div {
    justify-content: flex-start;
}

/* 5. Footer
##################################################### */

body:not(.error404):not(.page-template-page-back) footer {
    transform: translateY(-100%);
}

body.error404 footer,
body.page-template-page-back footer {
    margin-top: -80px;
    padding-top: 30px;
}

footer .row>div {
    display: flex;
    justify-content: flex-end;
}

footer ul {
    padding: 0 0 5px 0;
}

footer ul li {
    list-style-type: none;
    display: inline-block;
    font: 400 normal var(--smallFS) 'comma-sans', sans-serif;
}

footer ul li:not(:first-of-type):before {
    content: " · ";
    color: var(--darkColor);
    font-weight: 700;
}

footer ul li a {
    color: var(--darkColor);
}

footer ul li a:hover {
    text-decoration: underline;
}

@media screen and (max-width:767px) {
    footer .row>div {
        display: flex;
        justify-content: center;
    }
}

/* 5. Plugins
##################################################### */

/* ### Slick SLider ### */
.slick-prev, .slick-next {
    margin: -22.5px 0 0 0;
    width: 60px;
    height: 60px;
    border-radius: 0;
    border: none;
    font-size: 0px;
    cursor: pointer;
    transform: translate3d(0, 0, 0);
    background-repeat: no-repeat, no-repeat;
    background-size: 19px 13.5px, 100%;
    position: absolute;
    border-radius: 50%;
    transition: 0.35s all;
    z-index: 1;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(255, 255, 255, 0);
}

.slick-next {
    background-position: calc(50% - 9px) center, center center;
}

.slick-next:not(.slick-disabled):hover {
    background-position: calc(50% - 3px) center, center center;
}

.slick-prev {
    background-position: calc(50% + 9px) center, center center;
}

.slick-prev:not(.slick-disabled):hover {
    background-position: calc(50% + 3px) center, center center;
}

.slick-prev {
    left: -15px;
    background-image: url(../_img/Slider-Arrow-Left.svg), linear-gradient(to left, var(--lightColor) 0%, var(--lightColor) 100%);
}

.slick-next {
    right: -15px;
    background-image: url(../_img/Slider-Arrow-Right.svg), linear-gradient(to right, var(--lightColor) 0%, var(--lightColor) 100%);
}

.slick-slider .slick-arrow.slick-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/*Dots*/
.slick-dots {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.slick-dots li {
    display: inline-block;
    margin-right: 7.5px;
    margin-left: 7.5px !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    padding: 0px !important;
    border: 2px solid var(--primaryColor);
    height: 15px;
    width: 15px;
    border-radius: 50%;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.35s all;
}

.slick-dots li.slick-active {
    background: var(--primaryColor);
    border: 2px solid var(--primaryColorColor);
    color: var(--primaryColor) !important;
}

.slick-dots li:not(.slick-active):hover {
    background: var(--primaryColor);
}

.slick-dots li button {
    position: absolute;
    left: 0px;
    top: 0px;
    font-size: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
}

.slick-dots li:before {
    display: none !important;
}

.slick-dots {
    padding: 0;
    list-style: none;
}

.slick-slider {
    -ms-touch-action: pan-y !important;
    touch-action: pan-y !important;
}

* {
    min-height: 0;
    min-width: 0;
    text-size-adjust: none;
    /*Prevent Slick iOS Font Resize Bug*/
    -webkit-text-size-adjust: none;
    /*Prevent Slick iOS Font Resize Bug*/
}

.slick-slide {
    transition: all ease-in-out .3s;
    opacity: 1;
}

.slick-slide>div:not(.slider-item-text),
.slick-slide>div>div:not(.slider-item-text),
.slick-slide>div>div>div:not(.slider-item-text) {
    height: 100%;
}

@media screen and (max-width:767px) {
    .slick-slide {
        margin: 0px 0px;
    }
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    overflow: hidden;
    display: block;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-slider .slick-list, .slick-track, .slick-slide, .slick-slide img, .slick-slide p, .slick-slide h1, .slick-slide h2, .slick-slide h3 {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.slick-track {
    position: relative;
    left: 0;
    top: 0;
    display: block;
    zoom: 1;
}

.slick-track:before, .slick-track:after {
    content: "";
    display: table;
}

.slick-track:after {
    clear: both;
}

.slick-slide {
    float: left;
    height: 100%;
    min-height: 1px;
    display: none;
}

.slick-slide img {
    display: block;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-slide>.slick-slider-img {
    margin: 0 15px;
    padding: 2%;
    position: relative;
    display: block;
    width: 100%;
}

.slick-slide .image {
    padding: 10px;
}

.slick-slide img:not(.icon) {
    display: block;
    width: 100%;
}


/*
 * Viewport Reveal – Animationsklassen
 * Basis-Klasse ".reveal" versteckt/positioniert das Element,
 * eine der Animations-Klassen bestimmt die Richtung/Art,
 * ".is-visible" wird per JS beim Einblenden hinzugefügt.
 *
 * Beispiel HTML:
 *   <div class="reveal fade-in">...</div>
 *   <div class="reveal move-in-left">...</div>
 */

/* Respektiert Nutzer-Einstellung "reduzierte Bewegung" */
@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Basis: alle reveal-Elemente sind unsichtbar, bis .is-visible gesetzt wird */
.reveal {
	opacity: 0;
	transition: opacity 0.6s ease, transform 0.6s ease;
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* --- Fade --- */
.reveal.fade-in {
	/* nur Opacity, keine Bewegung */
}

/* --- Move In: horizontal --- */
.reveal.move-in-left {
	transform: translateX(-75%);
}

.reveal.move-in-right {
	transform: translateX(75%);
}

.reveal.move-in-left.is-visible,
.reveal.move-in-right.is-visible{
    	transform: translateX(0%);
}

/* --- Move In: vertikal --- */
.reveal.move-in-up {
	transform: translateY(50%);
}

.reveal.move-in-down {
	transform: translateY(-50%);
}

.reveal.move-in-down.is-visible,
.reveal.move-in-up.is-visible{
    	transform: translateY(0%);
}

/* --- Zoom --- */
.reveal.zoom-in {
	transform: scale(0.85);
}

.reveal.zoom-out {
	transform: scale(1.15);
}

/* --- Optionale Geschwindigkeits-Modifikatoren --- */
.reveal.duration-fast {
	transition-duration: 0.3s;
}

.reveal.duration-slow {
	transition-duration: 1s;
}
