@import url('https://fonts.verwaltungsportal.de/import/?family=Lato:400,400i,700,700i,900,900');

:root {
    --main-color: #d10000;
    --text-color: #313131;
    --highlight: #fff5f5;

    --weight-normal: 400;
    --weight-bold: 700;

    --shadow: 0 3px 10px rgba(0, 0, 0, 0.16);

    --distance-min: 40px;
    --distance-small: clamp(var(--distance-min), 4vw, 60px);
}

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

body {
    font-family: "Lato", 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.125rem;
    }

    .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(--highlight);
}

.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: rgba(255, 255, 255, 0.85);
}

/* 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: -29px;
        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;
    }

    nav.horizontally .dropdown-menu {
        min-width: 150px;
    }
}

@media (min-width: 1300px) {

    nav.horizontally .dropdown-menu {
        min-width: 200px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: var(--text-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;
}

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: 10px 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: 10px;
    }

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

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

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

/* 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: var(--main-color);
}

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 */

@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;
        background-color: #fff;
        box-shadow: var(--shadow);
    }

    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 ------------------------------------------ */

#demo-formular summary {
    display: block;
    border-radius: 5px;
    box-shadow: var(--shadow);
    padding: 230px 50px 30px 50px !important;
    background: #ffffff;
    max-width: 640px !important;
    margin: 0 auto;
    position: relative;
    color: var(--main-color);
    font-size: 1rem;
    cursor: pointer;
    width: unset !important;
}

@media (min-width: 576px) {
    #demo-formular summary {
        padding: 30px 20px 30px 335px !important;
    }
}

@media (max-width: 767px) {
    #demo-formular summary {
        margin-inline: 15px;
    }
}

@media (min-width: 768px) {
    #demo-formular summary {
        padding: 30px 50px 30px 355px !important;
    }
}

#demo-formular summary h2 {
    margin: 8px 0 18px 0;
}

#demo-formular summary::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 200px;
    background: url('../img/header/frauen-gemeinsam-laptop-2.webp') center / cover no-repeat;
    border-radius: 5px;
}

@media (min-width: 576px) {
    #demo-formular summary::before {
        right: unset;
        height: unset;
        bottom: 10px;
        width: 305px;
    }
}

.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: #2f5478;
    background-image: none !important;
    padding: 7px 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,
#index-5 .table-like a.has-image {
    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,
    #index-5 .table-like a.has-image {
        font-size: 1.0625rem;
    }
}

.button-style *:not(form span)>a:not(.has-image):not(.slick-arrow)::after,
#demo-formular summary>span::after,
#index-5 .table-like a.has-image::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;
}

#index-5 .table-like a.has-image::after {
    background: #ffe4e4;
}

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

.button-style .button-multi a:not(.has-image):not(.slick-arrow):nth-of-type(2n+1),
:is(.button-style .button-main, .button-style.button-main) a:not(.has-image):not(.slick-arrow) {
    background: var(--main-color);
}

.button-style .button-multi a+a {
    margin-left: 10px;
}

:is(#advantage-slider, .smartphone-mockup .nivo-directionNav, .arrow-design) .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, .smartphone-mockup .nivo-directionNav, .arrow-design) .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);
}

#advantage-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, .common-slider) .slick-arrow.slick-next {
    right: 0;
}

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

@media (min-width: 768px) {

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

    :is(#feedback-slider, .common-slider) .slick-arrow {
        top: calc(50% - 42px);
    }

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

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

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

@media (min-width: 1200px) {
    :is(#feedback-slider, .common-slider) .slick-arrow.slick-next {
        right: -100px;
    }

    :is(#feedback-slider, .common-slider) .slick-arrow.slick-prev {
        left: -100px;
    }
}

:is(#feedback-slider, .common-slider) {
    position: relative;
    z-index: 2;
}

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

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

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

.common-slider .slick-slide img {
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.stoerer {
    font-size: 1rem;
    line-height: 1.3;
    min-width: 140px;
    border-radius: 3px;
    position: relative;
    z-index: 3;
    display: inline-block;
    padding: 12px 18px;
    background: #ffed00;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.16));
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

.stoerer::before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
}

.stoerer.stoerer-2::before {
    top: 8px;
    left: -15px;
    background: inherit;
    clip-path: polygon(0 50%, 100% 100%, 100% 0);
    background: #ffed00;
}

.stoerer.stoerer-3::before {
    top: auto;
    bottom: -15px;
    left: 15px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    background: #ffed00;
}

.stoerer.stoerer-4::before {
    top: auto;
    bottom: 8px;
    left: auto;
    right: -15px;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
    background: #ffed00;
}

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

.stoerer.stoerer-rounded {
    text-align: center;
    display: inline-grid;
    place-items: center;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.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");
}

.wimpel {
    padding: 6px 20px 6px 35px;
    color: #fff;
    background: var(--main-color);
    display: inline-block;
    font-size: 0.875rem;
    border-radius: 5px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
}

@media (min-width: 1200px) {
    .wimpel {
        position: absolute;
        top: 0;
        right: 15px;
        z-index: 2;
    }
}

@media (min-width: 1400px) {
    .wimpel {
        right: -90px;
    }
}

@media (min-width: 1600px) {
    .wimpel {
        right: -165px;
    }
}

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

.tab {
    position: relative;
    background: #fff;
    padding: 28px clamp(15px, 2vw, 25px);
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

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

.tab.special-tab:not(.header-tab) .template-page {
    padding: 22px clamp(15px, 2vw, 20px);
    font-size: 0.9375rem;
}

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

.tab.special-tab:not(.header-tab) {
    padding: 0;
    overflow: hidden;
}

.tab.special-tab:not(.header-tab)>h3 {
    margin: 0;
    color: #fff;
    font-weight: var(--weight-bold);
    font-size: inherit;
    padding: 9px 15px 9px 68px;
    background: var(--main-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24.374' height='17.996' viewBox='0 0 24.374 17.996'%3E%3Cg transform='translate(-255.251 -2013.001)'%3E%3Crect width='4.908' height='17.248' rx='1' transform='translate(279.625 2013.001) rotate(90)' fill='%23fff'/%3E%3Crect width='4.908' height='4.451' rx='1' transform='translate(259.702 2013.001) rotate(90)' fill='%23fff'/%3E%3Crect width='4.908' height='17.248' rx='1' transform='translate(279.625 2019.545) rotate(90)' fill='%23fff'/%3E%3Crect width='4.908' height='4.451' rx='1' transform='translate(259.702 2019.545) rotate(90)' fill='%23fff'/%3E%3Crect width='4.908' height='17.248' rx='1' transform='translate(279.625 2026.089) rotate(90)' fill='%23fff'/%3E%3Crect width='4.908' height='4.451' rx='1' transform='translate(259.702 2026.089) rotate(90)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E%0A") center left clamp(15px, 2vw, 20px) no-repeat;
}

.tab.special-tab:not(.header-tab)>h3.design-2 {
    padding-left: 104px;
    background: var(--text-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='59.438' height='24.438' viewBox='0 0 59.438 24.438'%3E%3Cellipse cx='12.219' cy='12.219' rx='12.219' ry='12.219' fill='%23fff'/%3E%3Cpath d='M7.3,1.5a1,1,0,0,1,1.732,0l6.438,11.159a1,1,0,0,1-.866,1.5H1.731a1,1,0,0,1-.866-1.5Z' transform='translate(21.779 4.149) rotate(90)' fill='%23313131'/%3E%3Cellipse cx='12.219' cy='12.219' rx='12.219' ry='12.219' transform='translate(35 0)' fill='%23fff'/%3E%3Cg transform='translate(41.639 4.98)'%3E%3Crect width='4.073' height='14.935' rx='1' transform='translate(0 0)' fill='%23313131'/%3E%3Crect width='4.073' height='14.935' rx='1' transform='translate(6.788 0)' fill='%23313131'/%3E%3C/g%3E%3C/svg%3E%0A") center left clamp(15px, 2vw, 20px) no-repeat;
}

.headline-tab {
    background: var(--main-color);
    border-radius: 5px;
    padding: 18px;
    font-weight: var(--weight-bold);
}

.headline-tab,
.headline-tab :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
    font-size: 1.25rem;
}

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

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

.slick-dots li {
    display: block;
}

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

@media (min-width: 768px) {
    :is(header, main) .list-two-cols ul {
        column-count: 2;
        column-gap: 30px;
    }

    :is(header, main) .list-two-cols ul li {
        break-inside: avoid;
    }
}

:is(header, main) ul:not(.slick-dots) li {
    list-style: none;
    position: relative;
    padding-left: 24px;
    margin-bottom: clamp(4px, 0.6vw, 8px);
}

:is(header, main) ul:not(.slick-dots) li::after {
    content: "";
    display: block;
    position: absolute;
    top: 9px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--main-color);
}

:is(header, main) .tab.special-tab:not(.header-tab) ul:not(.slick-dots) li,
:is(header, main) .small-text ul:not(.slick-dots) li {
    padding-left: 18px;
}

:is(header, main) .tab.special-tab:not(.header-tab) ul:not(.slick-dots) li::after,
:is(header, main) .small-text ul:not(.slick-dots) li::after {
    top: 8px;
    width: 9px;
    height: 9px;
}

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

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

header h1 {
    text-transform: uppercase;
    margin-bottom: 6px;
}

header .button-style :is(h2, h3, h4, h5, h6) {
    color: inherit;
    font-weight: var(--weight-bold);
}

@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,
.computer-mockup,
.tablet-mockup {
    position: relative;
    display: block;
}

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

:is(.laptop-mockup, .smartphone-mockup, .computer-mockup, .tablet-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: 240px;
    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.small-smartphone {
    max-width: 132px;
}

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

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

.tablet-mockup {
    z-index: 2;
    max-width: 180px;
}

.tablet-mockup::after {
    z-index: -1;
    top: -11%;
    left: -10%;
    right: -10%;
    bottom: -12%;
    background: url('../img/mockups/tablet-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: 8px;
}

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

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-small) 0;
}

#demo {
    background-image: url('../img/circle.svg'), url('../img/circle.svg'), url('../img/circle.svg'), url('../img/circle.svg');
    background-position: right calc(50% + 850px) top 250px, right calc(50% + 680px) top 120px, left calc(50% + 640px) top 40px, left calc(50% + 870px) top 10px;
    background-size: 76px auto, 138px auto, 115px auto, 320px auto;
    background-repeat: no-repeat;
}

#badge {
    position: absolute;
    right: -10px;
    top: -25px;
}

@media (min-width: 576px) {
    #badge {
        right: unset;
        top: unset;
        left: -10px;
        bottom: -25px;
    }
}

@media (min-width: 768px) {
    #badge {
        left: -50px;
    }
}

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

#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 {
    background-image: url('../img/header/kollegen-im-buero.webp'), url('../img/circle.svg'), url('../img/circle.svg'), url('../img/circle.svg');
    background-position: top 90px right calc(50% + 650px), top 90px right calc(50% + 530px), top 40px left calc(50% + 150px), center left calc(50% + 730px);
    background-size: auto auto, 265px auto, 95px auto, 228px auto;
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    #feedback .stoerer {
        margin: 0 auto 30px auto;
    }
}

@media (min-width: 768px) {
    #feedback .stoerer {
        position: absolute;
        top: 0;
        right: 15px;
    }
}

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

#feedback-slider .btgrid>.row> :first-child .content:has(img) {
    background: var(--main-color);
    color: #fff;
    padding: clamp(20px, 3vw, 40px) 20px;
    border-radius: 5px;
    max-width: 300px;
    margin: 0 auto;
    font-size: 1.0625rem;
}

: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: 900;
    line-height: 1.2;
    font-family: "Lato", sans-serif;
}

:is(.h4link a:is(:link, :hover, :focus, :visited), h6, h5, h4, h3, h2, table th) :is(i, em) {
    color: var(--text-color);
    font-style: normal;
    font-weight: var(--weight-bold);
    font-size: 1.25rem;
    display: block;
    margin-top: 10px;
}

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

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

main section:not(#demo, #safety, #raumverwaltung-2, #termine-3, #index-4, #index-6, #app-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.25rem);
}

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4 {
    font-size: clamp(1.375rem, 2.5vw, 1.5rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.25rem, 2vw, 1.375rem);
}

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;
    font-weight: var(--weight-bold);
}

.tiniest-headlines :is(h2, h3, h4, h5) {
    font-size: 1.0625rem;
    font-weight: var(--weight-bold);
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none
}

/* #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 {
    line-height: 1.7;
    padding: 0 0 30px 0;
    margin-top: var(--distance-small);
}

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

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

footer a {
    color: inherit;
    text-decoration: underline;
}

footer :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
    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(--main-color);
}

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