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

:root {
    --main-color: #0022ff;
    --secondary-color: #669484;
    --text-color: #313131;
    --text-color2: #1f2021;
    --highlight: #eaf1ee;
    --highlight2: #2d4446;

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

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

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

    --gradient: linear-gradient(to right, #c632a4, var(--main-color));
}

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

body {
    font-family: "Barlow", 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: 600;
}

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

#overflow {
    overflow: clip;
}

nav.horizontally .row,
#interactive-map-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;
    max-width: 289px;
}

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

@media (min-width: 1200px) and (max-width: 1399px) {
    #logo img {
        max-width: 18vw;
    }
}

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

nav.horizontally {
    padding: 21px 0;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: var(--main-color) var(--gradient);
        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 {
        background: var(--highlight);
        padding: 20px 0 15px 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: space-between !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>.row {
        gap: 10px 20px;
    }

    #myNavbar {
        flex-grow: 1;
    }
}

@media (min-width: 1200px) {
    nav.horizontally {
        padding: 28px 0;
    }
}

@media (min-width: 1560px) {
    nav.horizontally>.row {
        flex-wrap: nowrap;
    }
}

@media (min-width: 992px) and (max-width: 1699px) {
    nav.horizontally .navbar-nav li[class*="toplevel"]:is(:last-child, :nth-last-child(2))>ul {
        left: unset;
        right: 0;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: var(--text-color2);
    font-weight: 600;
    text-align: left;
    padding: 11px 0;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 2px;
    display: flex;
    column-gap: 4px;
}

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"][href*="demo"] {
        padding: 10px 18px 11px 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: 14px;
    }

    nav.horizontally a[class*="toplevel"] {
        padding: 12px 0;
        display: inline-flex;
    }
}

@media (min-width: 992px) and (max-width: 1299px) {
    nav.horizontally a[class*="toplevel"] {
        flex-wrap: wrap;
    }
}

@media (min-width: 1300px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-left: clamp(8px, 1vw, 14px);
    }
}

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

nav.horizontally a[class*="toplevel"]:not([href*="demo"])::before {
    content: "home";
    font-family: 'Material Icons';
    font-weight: 400;
    max-width: 17px;
    display: inline-block;
    overflow: hidden;
    margin-top: 1px;
}

nav.horizontally li:nth-child(2) a[class*="toplevel"]:before {
    content: "";
    width: 17px;
    height: 17px;
    background: url('../img/momikom.webp') center / cover no-repeat;
    margin-top: 2px;
}

nav.horizontally li:nth-child(3) a[class*="toplevel"]:before {
    content: "schedule";
}

nav.horizontally li:nth-child(4) a[class*="toplevel"]:before {
    content: "event";
}

nav.horizontally li:nth-child(5) a[class*="toplevel"]:before {
    content: "chat";
}

nav.horizontally li:nth-child(6) a[class*="toplevel"]:before {
    content: "location_on";
}

nav.horizontally li:nth-child(7) a[class*="toplevel"]:before {
    content: "fitness_center";
}

nav.horizontally li:nth-child(8) a[class*="toplevel"]:before {
    content: "today";
}

nav.horizontally li:nth-child(9) a[class*="toplevel"]:before {
    content: "folder";
}

nav.horizontally li:nth-child(10) a[class*="toplevel"]:before {
    content: "assignment_turned_in";
}

/* toplevel-over */

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

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

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) var(--gradient);
    padding: 8px 12px;
    display: inline-block;
}

form[id^="form"] input[type="submit"]:not([value="Filtern"]) {
    background-image: var(--gradient) !important;
    background-position: unset !important;
}

@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: 2px;
    font-weight: 700;
    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;
    }
}

nav.horizontally a[class*="toplevel"][href*="demo"]::after,
.button-style *:not(form span)>a:not(.has-image):not(.slick-arrow)::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.2);
    transform: skew(-15deg);
    transition: width 200ms linear;
}

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

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

:is(.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: 2px;
}

:is(.smartphone-mockup .nivo-directionNav, .arrow-design) .slick-arrow {
    color: #fff;
    background: var(--highlight2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23e8eaed'%3E%3Cpath d='M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z'/%3E%3C/svg%3E") center / 26px auto no-repeat;
    background-position: center !important;
    position: absolute;
    border: 1px solid rgba(56, 70, 109, 0.4);
    box-shadow: var(--shadow);
    border-radius: 50%;
}

.smartphone-mockup~.slick-arrow {
    position: relative;
    color: var(--main-color);
    background: var(--highlight2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23e8eaed'%3E%3Cpath d='M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z'/%3E%3C/svg%3E") center / 26px auto no-repeat;
    background-position: center !important;
}

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

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(#feedback-slider, .common-slider) .slick-arrow {
    bottom: 0;
}

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

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

@media (min-width: 768px) {

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

@media (min-width: 1200px) {
    :is(#feedback-slider, .common-slider) .slick-arrow {
        bottom: unset;
        top: 150px;
        z-index: 1001;
    }

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

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

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

@media (max-width: 1199px) {

    :is(#feedback-slider, .common-slider) .template-page {
        padding-bottom: 60px;
    }
}

#feedback-slider .slick-slide img {
    height: auto !important;
}

.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 :is(b, strong) {
    font-weight: 600;
}

.stoerer {
    font-size: 1.0625rem;
    text-align: center;
    position: relative;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    padding: clamp(15px, 2.5vw, 25px);
    aspect-ratio: 1/1;
    background: var(--main-color) linear-gradient(to top, #902ebd, var(--main-color));
    color: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow);
    transform: rotate(-4deg);
    font-weight: 600;
}

.stoerer.stoerer-2 {
    transform: rotate(4deg);
}

.stoerer.stoerer-2.decoration {
    color: var(--highlight2);
    background: #d1Dfd9;
}

.stoerer.stoerer-2.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='%232d4446'/%3E%3C/svg%3E%0A");
}

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

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

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

.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: var(--text-color2);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 9px 15px 9px 68px;
    background: var(--secondary-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='%231f2021'/%3E%3Crect width='4.908' height='4.451' rx='1' transform='translate(259.702 2013.001) rotate(90)' fill='%231f2021'/%3E%3Crect width='4.908' height='17.248' rx='1' transform='translate(279.625 2019.545) rotate(90)' fill='%231f2021'/%3E%3Crect width='4.908' height='4.451' rx='1' transform='translate(259.702 2019.545) rotate(90)' fill='%231f2021'/%3E%3Crect width='4.908' height='17.248' rx='1' transform='translate(279.625 2026.089) rotate(90)' fill='%231f2021'/%3E%3Crect width='4.908' height='4.451' rx='1' transform='translate(259.702 2026.089) rotate(90)' fill='%231f2021'/%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 {
    color: #fff;
    padding-left: 104px;
    background: var(--highlight2) 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;
}

.icon-border img:not([src*=".webp"]) {
    max-width: 73px;
    width: 73px !important;
    height: 73px !important;
}

@media (max-width: 991px) {
    .icon-border img:not([src*=".webp"]) {
        max-width: 58px;
        width: 58px !important;
        height: 58px !important;
    }
}

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

.slick-dots li {
    display: block;
}

main ul:not(.slick-dots):has(p[style*="center"]) {
    width: max-content;
    margin: 0 auto !important;
}

main ul:not(.slick-dots):has(p[style*="center"]) li {
    width: max-content;
}

main :is(h2, h3, h4, h5, h6)+ul:not(.slick-dots) {
    margin-top: 15px;
}

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

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

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

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

header h1 {
    font-weight: 800;
    position: relative;
}

body:not(.index) header h1::before {
    overflow: hidden;
    font-weight: normal;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 2px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
    font-size: 34px;
    line-height: 52px;
    text-align: center;
}

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

header::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 50%;
    top: 0;
    left: 0;
    height: 87vw;
    max-height: 370px;
    background: var(--secondary-color) url('../img/kommune-horizont.webp') bottom right no-repeat;
    border-bottom-right-radius: 5px;
}

@media (min-width: 768px) {
    header::after {
        width: 48%;
        height: auto;
        bottom: 0;
        max-height: unset;
    }
}

@media (min-width: 992px) {
    header::after {
        width: 44%;
    }
}

body:not(.index) header .button-style {
    position: relative;
    z-index: 1;
    margin-top: var(--distance-small);
}

body:not(.index) header:not(.no-decoration) .button-style::after {
    content: "";
    display: block;
    z-index: -1;
    margin-right: -120px;
    margin-left: -120px;
    background-color: var(--highlight2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px 0 0 5px;
    margin-top: var(--distance-small);
    height: clamp(100px, 18vw, 300px);
}

@media (min-width: 992px) {
    body:not(.index) header:not(.no-decoration) .button-style::after {
        margin-left: -495px;
        margin-right: calc((100vw - 962px)/-2);
    }
}

@media (min-width: 1200px) {
    body:not(.index) header:not(.no-decoration) .button-style::after {
        margin-left: -600px;
        margin-right: calc((100vw - 1170px)/-2);
    }
}

/* #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,
:is(.laptop-mockup, .smartphone-mockup, .computer-mockup):not(.no-reflection)>.banner::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
}

:is(.laptop-mockup, .smartphone-mockup, .computer-mockup):not(.no-reflection)>.banner::after {
    height: 20%;
    opacity: 0.4;
    transform: scaleY(-1);
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 210%);
}

.laptop-mockup,
.computer-mockup {
    z-index: 2;
    max-width: 516px;
    width: 100%;
}

@media (max-width: 991px) {

    .laptop-mockup,
    .computer-mockup {
        max-width: 400px;
    }
}

.laptop-mockup::after {
    top: -8%;
    left: -21%;
    right: -21%;
    bottom: -14%;
    background: url('../img/mockups/laptop-mockup.webp') center / contain no-repeat;
}

.laptop-mockup>.banner::after {
    left: -21%;
    right: -21%;
    bottom: -31.4%;
    background: url('../img/mockups/laptop-mockup.webp') bottom / 100% no-repeat;
}

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

.computer-mockup {
    filter: drop-shadow(30px 15px 10px rgba(0, 0, 0, 0.16));
}

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

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

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

@media (min-width: 992px) {
    main .smartphone-mockup {
        max-width: 243px;
    }
}

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

.smartphone-mockup>.banner::after {
    left: -6%;
    right: -6%;
    bottom: -22%;
    background: url('../img/mockups/smartphone-mockup.webp') bottom / 100% no-repeat;
}

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

@media (min-width: 992px) {
    .smartphone-mockup.smartphone-mockup-3d {
        transform: perspective(80px) rotateY(1deg);
    }
}

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

.tablet-mockup::after {
    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: 10px;
}

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):not([src*=".webp"]) {
    padding: 7px;
    background: #fff;
    box-shadow: var(--shadow);
    object-fit: scale-down;
}

.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,
#back-link,
#feedback {
    padding: var(--distance-small) 0;
}

#feedback:not(.no-background) {
    background-image: url('../img/circle2.svg'), url('../img/circle2.svg'), url('../img/circle2.svg'), url('../img/kommune-horizont2.webp');
    background-position: left calc(50% + 950px) top 70px, right calc(50% + 780px) top 220px, right calc(50% + 680px) top 240px, left top 440px;
    background-size: 240px auto, 55px auto, 100px auto, auto;
    background-repeat: no-repeat;
}

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

@media (min-width: 576px) {
    #demo:not(.no-decoration)>.row>*>.template-page::before {
        content: "";
        display: block;
        width: 50px;
        height: 48px;
        background: url('../img/star.svg') center no-repeat;
        margin: 0 auto 20px auto;
    }
}

#demo-formular {
    margin-top: 20px;
}

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

@media (min-width: 576px) {
    #feedback:not(.no-decorationration)>.row>*>.template-page::before,
    .feedback-heading-stars::before {
        content: "";
        display: block;
        width: 309px;
        height: 48px;
        background: url('../img/star2.svg') center bottom repeat-x;
        margin: 0 auto 20px auto;
    }
}

#feedback :is(h2, h3, h4, h5, h6) {
    color: var(--text-color);
}

#feedback .stoerer p:not(:has(img)) {
    background: unset;
}

@media (min-width: 1200px) {
    #feedback .stoerer::after {
        content: "";
        display: block;
        position: absolute;
        left: -5px;
        bottom: -5px;
        width: 48px;
        height: 48px;
        background: url('../img/star2.svg') center no-repeat;
    }
}

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

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

.half-background-right,
.half-background-left,
:is(.half-background-alternate, .half-background-alternate-2) .template-page>.row {
    position: relative;
    z-index: 1;
    padding-top: var(--distance-small);
    padding-bottom: var(--distance-small);
}

:is(.half-background-right, .half-background-left)::after,
:is(.half-background-alternate, .half-background-alternate-2) .template-page>.row::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -120px;
    bottom: 0;
    left: -120px;
    z-index: -1;
    background: var(--highlight);
}

@media (min-width: 768px) {
    :is(.half-background-right, .half-background-alternate .template-page>.row:nth-child(even), .half-background-alternate-2 .template-page>.row:nth-child(odd))::after {
        left: 50%;
        border-radius: 5px 0 0 5px;
    }

    :is(.half-background-left, .half-background-alternate .template-page>.row:nth-child(odd), .half-background-alternate-2 .template-page>.row:nth-child(even))::after {
        right: 50%;
        border-radius: 0 5px 5px 0;
    }
}

@media (min-width: 992px) {
    :is(.half-background-right, .half-background-alternate .template-page>.row:nth-child(even), .half-background-alternate-2 .template-page>.row:nth-child(odd))::after {
        right: -50vw;
    }

    :is(.half-background-left, .half-background-alternate .template-page>.row:nth-child(odd), .half-background-alternate-2 .template-page>.row:nth-child(even))::after {
        left: -50vw;
    }
}

/* #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, #feedback-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(--highlight2);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    font-family: "Barlow", 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, 45px) !important;
}

.icon-border:not(.normal-heading) :is(h2, h3, h4, h5, h6) {
    margin-bottom: 2px;
}

main section:not(#safety, #demo, #app-5, #chat-3, #raumverwaltung-2, #dokumente-2, #aufgaben-2, #index-8, #index-10, #zeiterfassung-3) :is(p, .btgrid)+ :is(h1, h2, h3, h4, h5, h6) {
    margin-top: clamp(15px, 2vw, 25px);
}

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

h2,
.h2,
.legacy_h2,
#raumverwaltung-1 .icon-border h2 {
    font-size: clamp(1.625rem, 4vw, 2.1875rem);
}

h3,
.h3,
.legacy_h3,
#app-1 h2 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

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

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

h6,
.h6,
.legacy_h6,
table th,
.icon-border:not(.normal-heading) :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~footer>.row:last-child::before {
    content: "";
    display: block;
    width: calc(100% - 30px);
    height: 2px;
    margin: 0 15px;
    background: #fff;
}

footer {
    color: #fff;
    line-height: 1.7;
    margin-top: var(--distance-small);
    background: var(--highlight2);
}

.footer-row-1 {
    padding-top: 40px;
    padding-bottom: 10px;
}

.footer-row-2 {
    padding-top: 30px;
    padding-bottom: 20px;
}

footer :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.125rem;
    color: inherit;
    margin-bottom: 20px;
}

.appstores :is(img+img, a+a) {
    margin-left: 15px;
}

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

@media (min-width: 768px) {
    footer>.row.footer-row-1 {
        row-gap: 40px;
    }
}

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

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

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

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

@media (min-width: 576px) {
    #innerfooter li {
        display: inline-block;
    }

    #innerfooter li+li {
        margin-left: 20px;
    }
}

@media (min-width: 992px) {
    #innerfooter li+li {
        margin-left: 30px;
    }
}

#innerfooter ul a {
    padding: 3px 0;
    font-weight: 600;
    display: inline-block;
}

#scroll-top-btn {
    color: var(--text-color);
    display: block;
    width: 34px;
    height: 34px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 0;
    margin: 0 auto;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.992' height='7.402' viewBox='0 0 14.992 7.402'%3E%3Cpath d='M-21620-21035.219l6.086-4.994,6.09,4.994' transform='translate(21621.406 21041.213)' fill='none' stroke='%232d4446' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A") center no-repeat;
    transition: background-color 300ms linear, color 300ms linear, border 300ms linear;
}

@media (min-width: 768px) {
    #scroll-top-btn {
        margin: 0 0 0 auto;
    }
}

#scroll-top-btn:is(:hover, :focus) {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.992' height='7.402' viewBox='0 0 14.992 7.402'%3E%3Cpath d='M-21620-21035.219l6.086-4.994,6.09,4.994' transform='translate(21621.406 21041.213)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A");
}

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