@import url('https://fonts.verwaltungsportal.de/import/?family=Inter:300,300i,600,600i');

:root {
    --main-color: #3f7847;
    --text-color: #313131;
    --highlight: #66d177;

    --weight-normal: 300;
    --weight-bold: 600;

    --shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
    --soft-background: color-mix(in srgb, var(--highlight) 23%, #fff);

    --distance-min: 40px;
    --distance-small: clamp(var(--distance-min), 4vw, 65px);
    --distance-large: clamp(var(--distance-min), 5vw, 80px);
}

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #e1ede3;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: var(--main-color) #dfebe0;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: var(--weight-normal);
    color: var(--text-color);
    background: #fff;
    line-height: 1.5;
}

body,
.small-text {
    font-size: 1rem;
}

@media (min-width: 992px) {
    body {
        font-size: 1.0625rem;
    }

    .large-text {
        font-size: 1.125rem;
    }
}

@media (min-width: 1200px) {
    .large-text {
        font-size: 1.25rem;
    }
}

a,
a:is(:hover, :focus) {
    color: var(--main-color);
}

a:is(:hover, :focus) {
    text-decoration: underline;
}

b,
strong {
    font-weight: var(--weight-bold);
}

hr {
    opacity: 1;
    background: rgba(48, 48, 48, 0.3);
}

#overflow {
    overflow: clip;
}

nav.horizontally .row {
    max-width: 1560px;
}

.col {
    padding-left: 15px;
    padding-right: 15px;
}

.soft-background {
    background-color: var(--soft-background);
}

.soft-background+.soft-background {
    margin-top: 4px;
}

/* -------------------------------------------- logo -------------------------------------------- */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 68vw;
        width: 100%;
    }
}

/* #region ---------------------------------- navigation ---------------------------------------- */

nav.horizontally {
    padding: 24px 0;
    background: #fff;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 3px;
        padding: 6px 8px;
        cursor: pointer;
        background: var(--main-color);
        border: none !important;
        box-shadow: none;
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #fff;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
        display: block;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"]::before {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]::after {
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton::before {
        top: 24px;
        content: "";
    }

    #burgerButton::after {
        top: 32px;
        content: "";
    }

    .navbar-nav {
        padding: 20px 15px;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #fff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 1001;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1002;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 26px 0;
        position: sticky;
        top: 0;
        z-index: 1010;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.04);
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: end !important;
        align-items: center !important;
    }

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
        top: 0;
        left: 100%;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

    nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

    nav.horizontally .navbar-nav li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav li:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: var(--main-color);
    font-weight: var(--weight-bold);
    text-align: left;
    padding: 10px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: border 300ms linear, color 300ms linear;
}

nav.horizontally a[class*="toplevel"][href*="demo"] {
    color: #fff;
    background: var(--main-color);
    border-color: transparent;
}

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"][href*="demo"] {
        padding: 12px 7px;
    }
}

@media (min-width: 1200px) {
    nav.horizontally a[class*="toplevel"][href*="demo"] {
        padding: 12px clamp(7px, 1.2vw, 18px);
    }
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 10px;
    }

    nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-left: clamp(10px, 1.7vw, 32px);
    }

    nav.horizontally li[class*="toplevel"]>a {
        padding: 12px 5px;
    }
}

@media (min-width: 1300px) {
    nav.horizontally a[class*="toplevel"] {
        font-size: 1.0625rem;
    }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class$="_over"]>a,
nav.horizontally li[class*="toplevel"][class$="_over"]>a:is(:hover, :focus) {
    color: inherit;
    border-color: #313131;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a[href*="demo"],
nav.horizontally li[class*="toplevel"]>a[href*="demo"]:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a[href*="demo"],
nav.horizontally li[class*="toplevel"].open>a[href*="demo"]:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class$="_over"]>a[href*="demo"],
nav.horizontally li[class*="toplevel"][class$="_over"]>a[href*="demo"]:is(:hover, :focus) {
    color: #fff;
    background: color-mix(in srgb, var(--main-color) 75%, #000);
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #fff;
    box-shadow: var(--shadow);
}

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"] ul>ul {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        border-radius: 3px;
        padding: 18px 0;
    }

    nav.horizontally [class*="toplevel"] ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 15px;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        height: 15px;
        left: 0;
        right: 0;
        top: -15px;
    }

    nav.horizontally [class*="toplevel"] [class*="secondlevel"]>ul {
        margin-top: -18px;
        margin-left: 15px;
    }

    nav.horizontally [class*="toplevel"] [class*="secondlevel"]>ul::before {
        width: 15px;
        left: -15px;
        bottom: 0;
        top: 0;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: var(--text-color);
    font-weight: var(--weight-normal);
    text-align: left;
    padding: 8px 25px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]).dropdown-toggle2 {
    padding-right: 35px;
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is(:hover, :focus-within)>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class$="_over"]>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class$="_over"]>a:is(:hover, :focus) {
    color: var(--main-color);
}

/* #endregion -------------------------------- navigation --------------------------------------- */

/* #region ----------------------------------- buttons ------------------------------------------ */

summary {
    display: block;
}

summary>span {
    cursor: pointer;
}

.button-style *:not(form span)>a:not(.has-image):not(.slick-arrow):not([href*="mailto"]),
form[id^="form"] input[type="submit"]:not([value="Filtern"]),
#demo-formular summary>span {
    color: #fff;
    background: var(--main-color);
    background-image: none !important;
    padding: 9px 12px;
    display: inline-block;
    border: 1px solid transparent;
}

@media(min-width: 768px) {

    .button-style *:not(form span)>a:not(.has-image):not(.slick-arrow):not([href*="mailto"]),
    form[id^="form"] input[type="submit"]:not([value="Filtern"]),
    #demo-formular summary>span {
        padding-left: 20px;
        padding-right: 20px;
    }
}

nav.horizontally a[class*="toplevel"][href*="demo"],
.button-style *:not(form span)>a:not(.has-image):not(.slick-arrow):not([href*="mailto"]),
form[id^="form"] input[type="submit"]:not([value="Filtern"]),
#demo-formular summary>span {
    text-decoration: none;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: var(--weight-bold);
    position: relative;
    z-index: 1;
    box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    font-size: 1rem;
}

@media (min-width: 992px) {

    nav.horizontally a[class*="toplevel"][href*="demo"],
    .button-style *:not(form span)>a:not(.has-image):not(.slick-arrow):not([href*="mailto"]),
    form[id^="form"] input[type="submit"]:not([value="Filtern"]),
    #demo-formular summary>span {
        font-size: 1.0625rem;
    }
}

.button-style *:not(form span)>a:not(.has-image):not(.slick-arrow):not([href*="mailto"])::after,
#demo-formular summary>span::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -15px;
    width: 0;
    background: rgba(0, 0, 0, 0.25);
    transform: skew(-15deg);
    transition: width 200ms linear;
}

.button-style *:not(form span)>a:not(.has-image):not(.slick-arrow):not([href*="mailto"]):hover::after,
#demo-formular[open] summary>span::after,
#demo-formular summary>span:is(:hover, :focus)::after {
    width: calc(100% + 25px);
}

:is(#advantage-slider, #feedback-slider, .smartphone-mockup .nivo-directionNav, .arrow-design, #index-slider, #kontakte-slider) .slick-arrow,
.smartphone-mockup~.slick-arrow {
    z-index: 11;
    font-size: 0;
    padding: 0;
    display: inline-block;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.16);
}

:is(#advantage-slider, #feedback-slider, .smartphone-mockup .nivo-directionNav, .arrow-design, #index-slider, #kontakte-slider) .slick-arrow {
    color: #fff;
    background: var(--main-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M7.135,1.491a1,1,0,0,1,1.73,0l6.264,10.8a1,1,0,0,1-.865,1.5H1.736a1,1,0,0,1-.865-1.5Z' transform='translate(0 16) rotate(-90)' fill='%23fff'/%3E%3C/svg%3E%0A") center / 18px auto no-repeat;
    background-position: center !important;
    position: absolute;
}

.smartphone-mockup~.slick-arrow {
    position: relative;
    color: var(--main-color);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M7.135,1.491a1,1,0,0,1,1.73,0l6.264,10.8a1,1,0,0,1-.865,1.5H1.736a1,1,0,0,1-.865-1.5Z' transform='translate(0 16) rotate(-90)' fill='%23122568'/%3E%3C/svg%3E%0A") center / 18px auto no-repeat;
    background-position: center !important;
}

#advantage-slider .slick-arrow {
    bottom: 0;
}

.slick-arrow:is(.slick-next, .nivo-nextNav) {
    transform: scaleX(-1);
}

:is(#advantage-slider, #feedback-slider) .slick-arrow:is(:hover, :focus),
form[id^="form"] input[type="submit"]:not([value="Filtern"]):is(:hover, :focus),
.smartphone-mockup .nivo-directionNav .slick-arrow:is(:hover, :focus) {
    background-color: color-mix(in srgb, var(--main-color) 65%, #000);
}

.smartphone-mockup~.slick-arrow:is(:hover, :focus) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M7.135,1.491a1,1,0,0,1,1.73,0l6.264,10.8a1,1,0,0,1-.865,1.5H1.736a1,1,0,0,1-.865-1.5Z' transform='translate(0 16) rotate(-90)' fill='%23196155'/%3E%3C/svg%3E%0A");
}

:is(#advantage-slider, #feedback-slider) .slick-arrow.slick-next {
    right: 0;
}

:is(#advantage-slider, #feedback-slider) .slick-arrow.slick-prev {
    left: 0;
}

@media (min-width: 768px) {

    :is(#advantage-slider, #feedback-slider, .smartphone-mockup .nivo-directionNav) .slick-arrow {
        top: calc(50% - 18px);
        bottom: auto;
    }

    #advantage-slider .slick-arrow.slick-next {
        right: -50px;
    }

    #advantage-slider .slick-arrow.slick-prev {
        left: -50px;
    }

    #advantage-slider>.slick-list {
        margin-left: -50px;
        margin-right: -50px;
        padding-left: 50px;
        padding-right: 50px;
    }

    #feedback-slider .slick-arrow {
        z-index: 999;
    }
}

#feedback-slider {
    position: relative;
    z-index: 2;
}

#feedback-slider .slick-dots {
    text-align: center;
    display: flex !important;
    column-gap: 15px;
    justify-content: center;
    margin: 10px 0 0 0;
}

#feedback-slider .slick-dots button {
    font-size: 0;
    border-radius: 50px;
    padding: 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--main-color);
    background: transparent;
}

#feedback-slider .slick-dots .slick-active button,
#feedback-slider .slick-dots button:is(:hover, :focus) {
    color: #fff;
    background: var(--main-color);
}

#feedback-slider .content,
#feedback-slider .slick-slide>.col-xs-12:not(:has(.btgrid)) {
    border-radius: 6px;
    padding: clamp(20px, 3vw, 50px);
    border: 3px solid transparent;
    position: relative;
    margin-bottom: 30px;
}

#feedback-slider .content::after,
#feedback-slider .slick-slide>.col-xs-12:not(:has(.btgrid))::after {
    content: "";
    display: block;
    width: 44px;
    height: 30px;
    position: absolute;
    bottom: -30px;
    background-position: bottom center;
}

#feedback-slider .slick-slide>.col-xs-12:not(:has(.btgrid)) {
    border-color: var(--main-color);
    margin-left: 15px;
    margin-right: 15px;
}

@media (max-width: 5991px) {
    #feedback-slider .slick-slide>.col-xs-12:not(:has(.btgrid)) {
        flex: 0 0 calc(100% - 30px);
        max-width: calc(100% - 30px);
    }
}

@media (min-width: 992px) {
    #feedback-slider .slick-slide>.col-xs-12:not(:has(.btgrid)) {
        max-width: 570px;
        margin-left: auto;
        margin-right: auto;
    }
}

#feedback-slider .btgrid>.row>*:first-child .content,
#feedback-slider .slick-slide>.col-xs-12:not(:has(.btgrid)) {
    background: var(--main-color);
    color: #fff;
}

#feedback-slider .btgrid>.row>*:first-child .content::after,
#feedback-slider .slick-slide>.col-xs-12:not(:has(.btgrid))::after {
    left: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44.042' height='35.916' viewBox='0 0 44.042 35.916'%3E%3Cpath d='M39.54.923a2.518,2.518,0,0,1,3.9,0l.294,32.194c.877,1.241-.208,2.8-1.949,2.8H2.26c-1.741,0-2.826-1.558-1.949-2.8Z' transform='translate(44.042 35.916) rotate(180)' fill='%233f7847'/%3E%3C/svg%3E%0A");
}

#feedback-slider .btgrid>.row>*:first-child .content :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

#feedback .btgrid>.row {
    justify-content: center;
    align-items: center;
}

#feedback-slider .btgrid>.row>*:last-child .content:has(img) {
    background: var(--main-color);
    color: #fff;
    padding: clamp(20px, 3vw, 50px) 20px;
}

#feedback-slider .btgrid>.row>*:last-child .content img {
    display: inline-block;
}

/* #endregion -------------------------------- buttons ------------------------------------------ */

/* ------------------------------------------- stoerer ------------------------------------------ */

.stoerer,
.stoerer :is(h1, h2, h3, h4, h5, h6, a) {
    color: inherit;
    margin: 0;
}

.stoerer {
    font-size: 1rem;
    text-align: center;
    position: relative;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    padding: clamp(10px, 1.2vw, 15px);
    margin: 6px 8px;
    aspect-ratio: 1/1;
    background: #eede00;
    border-radius: 50%;
    border: 3px solid #fff;
    outline: 6px solid #eede00;
}

.stoerer .template-page+.cleaner {
    display: none;
}

.stoerer.decoration .template-page::after {
    content: "";
    display: block;
    height: 11px;
    width: 100px;
    margin: 5px auto 0 auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='10.647' viewBox='0 0 10.647 10.647'%3E%3Crect width='7.529' height='7.529' rx='1' transform='translate(5.324) rotate(45)' fill='%23313131'/%3E%3C/svg%3E%0A");
}

/* --------------------------------------------- tab -------------------------------------------- */

.tab {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 34px clamp(15px, 2vw, 25px) clamp(24px, 2vw, 30px) clamp(15px, 2vw, 25px);
    box-shadow: var(--shadow);
    z-index: 2;
}

.tab:not(.header-tab) {
    padding-left: clamp(15px, 2vw, 20px);
    padding-right: clamp(15px, 2vw, 20px);
}

.tab:not(.header-tab):not(.auto-height) {
    height: 100%;
    min-height: 100%;
}

.tab:not(.header-tab):not(.auto-height).icon-border {
    height: calc(100% - 30px);
    min-height: calc(100% - 30px);
}

.tab:not(.header-tab).icon-border {
    margin-top: 30px;
}

.tab:not(.header-tab).icon-border img {
    margin: -34px 0 -10px 0;
    position: relative;
    top: -30px;
}

.icon-border img {
    max-width: 68px;
    width: 68px !important;
    height: auto !important;
}

@media (max-width: 991px) {
    .icon-border img {
        max-width: 58px;
        width: 58px !important;
    }
}

.tab-background {
    background: var(--main-color);
    border-radius: 10px;
}

.tab-background,
.tab-background :is(a, h1, h2, h3, h4, h5, h6) {
    color: #fff;
}

/* --------------------------------------------- list ------------------------------------------- */

.slick-dots li {
    display: block;
}

:is(header, main) ul:not(.slick-dots) {
    margin: 0 0 -8px 0 !important;
}

:is(header, main) ul:not(.slick-dots) li {
    list-style: none;
    padding-left: 24px;
    margin-bottom: clamp(4px, 0.6vw, 8px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.28 14.28'%3E%3Cpath d='M15.064-8.148H9.828v5.32H6.02v-5.32H.784V-11.76H6.02v-5.348H9.828v5.348h5.236Z' transform='translate(-0.784 17.108)' fill='%233f7847'/%3E%3C/svg%3E%0A") top 6px left 0 / 14px auto no-repeat;
}

/* #region ------------------------------------ header ------------------------------------------ */

header {
    position: relative;
    z-index: 1;
}

header h1 {
    text-transform: uppercase;
}

@media (min-width: 1400px) {
    header.use-hyphens {
        -webkit-hyphens: unset;
        -moz-hyphens: unset;
        -ms-hyphens: unset;
        hyphens: unset;
    }
}

/* #endregion --------------------------------- header ------------------------------------------ */

/* #region ------------------------------------ mockups ----------------------------------------- */

.laptop-mockup,
.smartphone-mockup,
.half-laptop-mockup,
.computer-mockup {
    position: relative;
    display: block;
}

:is(.laptop-mockup, .smartphone-mockup, .half-laptop-mockup, .computer-mockup) img {
    width: 100%;
}

:is(.laptop-mockup, .smartphone-mockup, .computer-mockup)::after,
.smartphone-mockup::before {
    content: "";
    display: block;
    position: absolute;
}

.laptop-mockup {
    z-index: 1;
    filter: drop-shadow(30px 15px 10px rgba(0, 0, 0, 0.16));
    max-width: 554px;
    width: 100%;
}

.laptop-mockup::after {
    z-index: -1;
    top: -6%;
    left: -17%;
    right: -16%;
    bottom: -14%;
    background: url('../img/mockups/laptop-mockup.webp') center / contain no-repeat;
}

.laptop-mockup img:not([src*="global/"]):not([src*=".png"]):not([src*=".PNG"]):not(.no-style) {
    border-radius: 0 !important;
}

header .laptop-mockup {
    margin-left: -100px;
}

@media (min-width: 768px) {
    header .laptop-mockup {
        margin: 0 -60px 0 0;
    }
}

@media (max-width: 991px) {
    .laptop-mockup {
        max-width: 400px;
    }

    main .laptop-mockup {
        margin-left: auto;
        margin-right: auto;
    }

    header .laptop-mockup {
        width: 90vw;
    }
}

@media (min-width: 992px) {
    header .laptop-mockup {
        margin: 0;
    }
}

.smartphone-mockup {
    z-index: 2;
    max-width: 248px;
    width: 100%;
}

.smartphone-mockup::after {
    z-index: -1;
    top: -2.5%;
    left: -6.5%;
    right: -6.5%;
    bottom: -3%;
    background: url('../img/mockups/smartphone-mockup.webp') center / contain no-repeat;
}

.smartphone-mockup::before {
    z-index: 10;
    top: 2%;
    left: 0;
    right: 0;
    pointer-events: none;
    height: 4%;
    max-height: 18px;
    background: url('../img/mockups/smartphone-mockup-camera.webp') center / contain no-repeat;
}

.smartphone-mockup.small-smartphone {
    max-width: 132px;
}

.smartphone-mockup img:not([src*="global/"]):not([src*=".png"]):not([src*=".PNG"]):not([src*="logo"]):not(.no-style) {
    border-radius: 20px;
}

@media (max-width: 991px) {
    header .smartphone-mockup {
        max-width: 140px;
    }

    main .smartphone-mockup {
        max-width: 160px;
    }
}

@media (min-width: 992px) {
    .smartphone-mockup:not(.small-smartphone) img:not([src*="global/"]):not([src*=".png"]):not([src*=".PNG"]):not([src*="logo"]):not(.no-style) {
        border-radius: 30px;
    }
}

.computer-mockup {
    z-index: 1;
    filter: drop-shadow(30px 15px 10px rgba(0, 0, 0, 0.16));
    max-width: 564px;
    width: 100%;
}

@media (max-width: 991px) {
    .computer-mockup {
        max-width: 400px;
    }
}

.computer-mockup img:not([src*="global/"]):not([src*=".png"]):not([src*=".PNG"]):not(.no-style) {
    border-radius: 2px !important;
}

.computer-mockup::after {
    z-index: -1;
    top: -4.6%;
    left: -3%;
    right: -3%;
    bottom: -33.2%;
    background: url('../img/mockups/computer-mockup.webp') center / contain no-repeat;
}

/* #endregion --------------------------------- mockups ----------------------------------------- */

/* #region ------------------------------------- content ----------------------------------------- */

main img:not([src*="global/"]):not([src*=".png"]):not([src*=".PNG"]):not([src*="logo"]):not(.no-style),
main .icon-border img:not([src*="global/"]):not(.no-style) {
    border-radius: 10px;
}

main img:not([src*="global/"]):not([src*=".png"]):not([src*=".PNG"]):not([src*="logo"]):not(.no-style) {
    box-shadow: var(--shadow);
}

main #safety img {
    border-radius: unset !important;
    box-shadow: unset !important;
}

main .icon-border img:not([src*="global/"]):not(.no-style) {
    padding: 7px;
    background: #fff;
    box-shadow: var(--shadow);
}

.no-style img:not([src*="global/"]):not([src*=".png"]):not([src*=".PNG"]):not([src*="logo"]):not(.no-style) {
    border-radius: 0;
    box-shadow: none;
}

*:not(.icon-border) .banner img {
    display: block;
}

main .btgrid>.row {
    row-gap: 30px;
}

#content:not(.no-padding) {
    padding-top: var(--distance-small);
}

form[id^="form"] .formgen_row :is(.subfield, select, textarea),
form[id^="form"] .formgen_row input:is([type="text"], [type="file"], [type="tel"], [type="email"], [type="number"]) {
    padding: 6px 10px;
    background: transparent;
}

#contentbottom_left {
    display: none;
}

#content_footer {
    margin: 0;
}

table th {
    vertical-align: top;
}

#safety,
#demo {
    padding: var(--distance-large) 0;
}

@media (max-width: 767px) {
    #safety img {
        max-width: 160px;
    }
}

#safety .headline-icon h2::before {
    background-image: var(--icon-safety);
}

#demo-formular,
#demo-formular[open]>div {
    margin-top: 30px;
}

#demo-formular-success {
    margin-top: 30px;
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    #demo-formular-success {
        grid-template-columns: 1fr 1fr;
    }
}

#demo-formular-success a {
    text-decoration: underline;
}

#demo-formular-success section {
    box-shadow: var(--shadow);
    border-radius: 5px;
    background: #ffffff;
    padding: clamp(30px, 3vw, 40px);
}

#demo-formular-success section:nth-child(1) h3 {
    position: relative;
    display: inline-block;
    width: auto;
    padding-left: 50px;
}

#demo-formular-success section:nth-child(1) h3::before {
    content: "";
    display: block;
    width: 37px;
    height: 37px;
    position: absolute;
    left: 0;
    top: calc(50% - 18px);
    background: url('../img/demo/haekchen.png') center no-repeat;
}

#demo-formular-success.loading section:nth-child(1) h3::before {
    background-image: url('../img/demo/ladestatus.png');
    animation: rotation 2s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#demo-formular-success section:nth-child(2) {
    background-image: url('../img/demo/support-mitarbeiter.webp'), radial-gradient(circle at 400px 0, #e0f6f8 500px, rgba(255, 255, 255, 0) 500px);
    background-position: center top 50px, top center;
    background-repeat: no-repeat;
    padding-top: 280px;
}

#demo-formular-success ol {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

#demo-formular-success li {
    position: relative;
    min-height: 90px;
    box-shadow: var(--shadow);
    border-radius: 3px;
    background: linear-gradient(to right, #fff1fd, #ffffff);
    padding: 18px clamp(15px, 2vw, 30px) 18px 140px;
}

#demo-formular-success li::after {
    content: "";
    display: block;
    position: absolute;
    left: 30px;
    top: calc(50% - 35px);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    background: #ffffff url('../img/demo/brief.png') center no-repeat;
}

#demo-formular-success li:nth-child(2)::after {
    background-image: url('../img/demo/gluehbirne.png');
}

#demo-formular-success li:nth-child(3)::after {
    background-image: url('../img/demo/headset.png');
}

#demo-formular-success address {
    margin: 20px 0;
    font-weight: var(--weight-bold);
}

#demo-formular-success address p+p {
    margin-top: 15px;
}

#demo-formular-success address p::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 5px solid #ffffff;
    box-shadow: var(--shadow);
    border-radius: 3px;
    margin-right: 10px;
    vertical-align: middle;
    background: #e9f0f5 url('../img/demo/telefon.png') center no-repeat;
}

#demo-formular-success address p:nth-child(2):before {
    background-image: url('../img/demo/mail.png');
}

#demo-formular-success address+p {
    font-size: smaller;
    margin-bottom: 15px;
}

#demo-formular-success li+li {
    margin-top: 22px;
}

#demo-formular-success :is(li span, p .block) {
    display: block;
    font-weight: var(--weight-bold);
}

#submit_form:disabled {
    transition: opacity 3ms;
    opacity: .8;
    cursor: default;
}

#formgen_error {
    color: #ff0000;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #aaaaaa;
    border-radius: 3px;
    text-align: center;
}

#ascii-captcha {
    width: 320px;
    margin: auto;
    position: relative;
}

#ascii-captcha .ascii-captcha-refresh {
    top: 0;
}

#ascii-captcha pre {
    display: block;
    padding: 10px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#ascii-captcha #recaptcha {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: unset;
}

#back-link {
    padding: var(--distance-small) 0;
}

#feedback {
    padding: var(--distance-small) 0 var(--distance-min) 0;
}

#feedback .headline-icon h2::before {
    background-image: var(--icon-speechbubble);
}

:is(#zeiterfassung-5, #demo) .template-page table :is(td, th) {
    padding: 0;
}

:is(#zeiterfassung-5, #demo) .template-page table :is(td, th)+ :is(td, th) {
    padding-left: 30px;
}

/* #endregion ---------------------------------- content ----------------------------------------- */

/* ------------------------------------------- slider ------------------------------------------- */

.slick-slider .row.slick-slide {
    margin: 0 !important;
    min-width: unset !important;
}

.slider-wrapper.theme-nivo :is(.slick-trigger, [data-slick]):not(.slick-initialized) {
    background-color: transparent;
}

:is(.icon-border, .second-advantage-slider) .slick-slide img {
    display: inline-block;
}

/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1,
table th {
    color: var(--main-color);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    font-family: "Inter", sans-serif;
}

.headline-dark :is(.h4link a:is(:link, :hover, :focus, :visited), h6, h5, h4, h3, h2, table th) {
    color: var(--text-color);
}

.headline-dark :is(.h4link a:is(:link, :hover, :focus, :visited), h6, h5, h4, h3, h2, table th) :is(i, em) {
    color: var(--main-color);
    font-style: normal;
}

@media (max-width: 767px) {
    :is(.h4link a:is(:link, :hover, :focus, :visited), h6, h5, h4, h3, h2, h1, table th) br {
        display: none;
    }
}

@media (max-width: 1299px) {
    header :is(.h4link a:is(:link, :hover, :focus, :visited), h6, h5, h4, h3, h2, h1, table th) br {
        display: none;
    }
}

.headline-large-margin :is(h1, h2) {
    margin-bottom: clamp(25px, 3vw, 35px);
}

.headline-icon :is(h2, h3) {
    position: relative;
    --icon-safety: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='73' height='73' viewBox='0 0 73 73'%3E%3Cg transform='translate(-862 -1621)'%3E%3Crect width='73' height='73' rx='1' transform='translate(862 1621)' fill='%233f7847'/%3E%3Cg transform='translate(866 1625)' fill='none' stroke='%23fff' stroke-width='5'%3E%3Crect width='65' height='65' rx='2' stroke='none'/%3E%3Crect x='2.5' y='2.5' width='60' height='60' rx='0.5' fill='none'/%3E%3C/g%3E%3Cg transform='translate(888 1637)' fill='none'%3E%3Cpath d='M9.513,0c5.254,0,9.513,3.959,9.513,8.842V28.389c0,4.884-4.259,8.842-9.513,8.842S0,33.272,0,28.389V8.842C0,3.959,4.259,0,9.513,0Z' stroke='none'/%3E%3Cpath d='M 9.5126953125 2.999996185302734 C 5.921585083007812 2.999996185302734 2.999996185302734 5.620895385742188 2.999996185302734 8.842424392700195 L 2.999996185302734 28.38884353637695 C 2.999996185302734 31.61036491394043 5.921585083007812 34.23126602172852 9.5126953125 34.23126602172852 C 13.10380554199219 34.23126602172852 16.0253849029541 31.61036491394043 16.0253849029541 28.38884353637695 L 16.0253849029541 8.842424392700195 C 16.0253849029541 5.620895385742188 13.10380554199219 2.999996185302734 9.5126953125 2.999996185302734 M 9.5126953125 -3.814697265625e-06 C 14.76641464233398 -3.814697265625e-06 19.0253849029541 3.958885192871094 19.0253849029541 8.842424392700195 L 19.0253849029541 28.38884353637695 C 19.0253849029541 33.27237319946289 14.76641464233398 37.23126602172852 9.5126953125 37.23126602172852 C 4.258975028991699 37.23126602172852 -3.814697265625e-06 33.27237319946289 -3.814697265625e-06 28.38884353637695 L -3.814697265625e-06 8.842424392700195 C -3.814697265625e-06 3.958885192871094 4.258975028991699 -3.814697265625e-06 9.5126953125 -3.814697265625e-06 Z' stroke='none' fill='%23fff'/%3E%3C/g%3E%3Crect width='28' height='25' rx='2' transform='translate(884 1651.617)' fill='%23fff'/%3E%3Ccircle cx='2.5' cy='2.5' r='2.5' transform='translate(896 1658.616)' fill='%233f7847'/%3E%3Cpath d='M2.547,2.995a1,1,0,0,1,1.906,0L6.585,9.7A1,1,0,0,1,5.632,11H1.368A1,1,0,0,1,.415,9.7Z' transform='translate(895 1658.617)' fill='%233f7847'/%3E%3C/g%3E%3C/svg%3E%0A");
    --icon-speechbubble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='73' height='73' viewBox='0 0 73 73'%3E%3Cpath d='M1,0H72a1,1,0,0,1,1,1V72a1,1,0,0,1-1,1H1a1,1,0,0,1-1-1V1A1,1,0,0,1,1,0Z' fill='%233f7847'/%3E%3Cg transform='translate(4 4)' fill='%233f7847' stroke='%23fff' stroke-width='5'%3E%3Crect width='65' height='65' rx='2' stroke='none'/%3E%3Crect x='2.5' y='2.5' width='60' height='60' rx='0.5' fill='none'/%3E%3C/g%3E%3Cg transform='translate(17.073 21.301)' fill='none'%3E%3Cpath d='M38.452,0H.4C.179,0,0,.27,0,.6V28.9c0,.333.179.6.4.6H38.452c.221,0,.4-.27.4-.6V.6C38.853.27,38.674,0,38.452,0Z' stroke='none'/%3E%3Cpath d='M 3.000003814697266 3.000003814697266 L 3.000003814697266 26.50246238708496 L 35.85302734375 26.50246238708496 L 35.85302734375 3.000003814697266 L 3.000003814697266 3.000003814697266 M 0.4005470275878906 3.814697265625e-06 L 38.45247650146484 3.814697265625e-06 C 38.6736946105957 3.814697265625e-06 38.85302734375 0.2695636749267578 38.85302734375 0.6020927429199219 L 38.85302734375 28.9003734588623 C 38.85302734375 29.23290252685547 38.6736946105957 29.50246238708496 38.45247650146484 29.50246238708496 L 0.4005470275878906 29.50246238708496 C 0.1793365478515625 29.50246238708496 3.814697265625e-06 29.23290252685547 3.814697265625e-06 28.9003734588623 L 3.814697265625e-06 0.6020927429199219 C 3.814697265625e-06 0.2695636749267578 0.1793365478515625 3.814697265625e-06 0.4005470275878906 3.814697265625e-06 Z' stroke='none' fill='%23fff'/%3E%3C/g%3E%3Cpath d='M2105.625-15777.352c.135.093,8.226,5.706,8.226,5.706v-6.052Z' transform='translate(-2066.305 15827.5)' fill='%23fff' stroke='%23fff' stroke-linejoin='round' stroke-width='1'/%3E%3C/svg%3E%0A");
    --icon-support: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='73' height='73' viewBox='0 0 73 73'%3E%3Cg transform='translate(-871 -2027)'%3E%3Crect width='73' height='73' rx='1' transform='translate(871 2027)' fill='%233f7847'/%3E%3Cg transform='translate(875 2031)' fill='none' stroke='%23fff' stroke-width='5'%3E%3Crect width='65' height='65' rx='2' stroke='none'/%3E%3Crect x='2.5' y='2.5' width='60' height='60' rx='0.5' fill='none'/%3E%3C/g%3E%3Cpath d='M0,0H42.6V42.6H0Z' transform='translate(886 2042)' fill='none'/%3E%3Cpath d='M31.4,24.073v7.1h-3.55v-7.1H31.4m-21.3,0v7.1H8.325A1.78,1.78,0,0,1,6.55,29.4V24.073H10.1M18.974,1A15.975,15.975,0,0,0,3,16.974V29.4a5.317,5.317,0,0,0,5.325,5.325h5.325v-14.2H6.55v-3.55a12.424,12.424,0,0,1,24.848,0v3.55H24.3v14.2h7.1V36.5H18.974v3.55H29.623a5.317,5.317,0,0,0,5.325-5.325V16.974A15.975,15.975,0,0,0,18.974,1Z' transform='translate(888.325 2042.775)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E%0A");
}

@media (min-width: 768px) {
    .headline-icon :is(h2, h3) {
        padding-left: 100px;
    }

    .headline-icon :is(h2, h3)::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 73px;
        background-repeat: no-repeat;
        background-position: top 50% left;
        background-size: contain;
    }
}

.headline-border :is(h2, h3)::after {
    content: "";
    display: block;
    width: 100%;
    border-radius: 5px;
    background: var(--main-color);
    margin-top: 12px;
}

.headline-border h2::after {
    height: clamp(5px, 0.8vw, 10px);
}

.headline-border h3::after {
    height: clamp(2px, 0.4vw, 5px);
}

@media (min-width: 768px) {
    .headline-border.headline-icon :is(h2, h3)::before {
        background-position-y: calc(50% - 10px);
    }

    .headline-border.headline-icon :is(h2, h3)::after {
        margin-left: -100px;
        width: calc(100% + 100px);
    }
}

.icon-border :is(h2, h3, h4, h5, h6),
:is(#termine-2, #app-3) .tiny-headline-h3 h3,
#index-6 :is(h3, h4, h5, h6) {
    margin-bottom: 2px;
}

main section:not(#index-6) :is(p, .btgrid)+ :is(h1, h2, h3, h4, h5, h6) {
    margin-top: clamp(15px, 2vw, 25px);
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.75rem, 6vw, 2.875rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.625rem, 4vw, 2.125rem);
}

.large-h2 h2,
.large-h3 h3 {
    font-size: clamp(1.625rem, 4vw, 2.5rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4,
#kontakte-3 :is(h2, h3) {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
}

h5,
.h5,
.legacy_h5,
.header-small-h2 h2,
#termine-2 .soft-background h3,
:is(#fahrzeuge-1, #kontakte-2) h3 {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
}

h6,
.h6,
.legacy_h6,
table th,
.icon-border :is(h2, h3, h4, h5),
.tiny-headline-h3 :is(h3, h4, h5),
.tiny-headline-h2 :is(h2, h3, h4, h5) {
    font-size: 1.25rem;
}


/* #region ------------------------------------ footer ------------------------------------------ */

main:not(.footer-no-divider)~footer>.row::before {
    content: "";
    display: block;
    width: calc(100% - 30px);
    height: 1px;
    margin: 0 15px;
    background: rgba(48, 48, 48, 0.3);
}

footer {
    color: var(--main-color);
    line-height: 1.7;
    padding: 0 0 30px 0;
    margin-top: var(--distance-large);
}

footer>.row {
    row-gap: 30px;
}

footer>.row>*>* {
    width: 100%;
}

footer a {
    text-decoration: underline;
}

footer:is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 20px;
}

footer.template-page>.row {
    row-gap: 20px;
}

#innerfooter ul {
    padding: 0;
    width: 100%;
}

#innerfooter ul li {
    display: block;
}

#innerfooter ul a {
    padding: 3px 0;
    font-weight: var(--weight-bold);
    display: inline-block;
    text-decoration: none;
}

#innerfooter ul a:is(:hover, :focus) {
    color: var(--text-color);
}

/* #endregion --------------------------------- footer ------------------------------------------ */