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

:root {
    --main-color: #23527c;
    --main-color-light: #24a49c;
    --secondary-color: #de2E17;
    --text-color: #555555;
    --text-color-dark: #272727;
    --light-background: #f0f0f0;
    --nav-color: #ffffff;

    --font-size: clamp(1rem, 2vw, 1.25rem);

    --shadow: 0 0 40px rgba(0, 0, 0, 0.3);

    --border-radius: 6px;


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

@media (min-width: 992px) {
    .is-sticky {
        --nav-color: #555555;
    }
}

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #cbdbea;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #23527c #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    color: var(--text-color);
    background: #ffffff;
    font-size: var(--font-size);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: var(--main-color);
}

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

:is(main, footer) a {
    text-decoration: underline;
}

b,
strong,
main a {
    font-weight: 700;
}

@media (min-width: 1200px) {
    nav.horizontally .row {
        width: 100%;
        max-width: 1910px
    }
}

.white-text,
.white-text *,
.white-text a {
    color: #ffffff;
}

.default-distance {
    position: relative;
    padding-top: var(--distance-large);
    padding-bottom: var(--distance-large);
}

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

#logo {
    color: var(--nav-color);
    display: inline-block;
    font-size: 12px;
    gap: 15px;
    text-decoration: none;
}

#logo :is(img, span) {
    display: block;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .sticky-wrapper {
        height: unset !important;
    }

    nav.horizontally {
        position: static !important;
        padding: 20px 0;
        background: var(--main-color);
    }

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

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

    #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 {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: var(--main-color);
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, 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: 13px;
        right: 15px;
        z-index: 101;
    }

    .dropdown-toggle-button-wrapper {
        top: 10px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 8px;
        right: -10px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    .sticky-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
    }

    nav.horizontally {
        position: absolute;
        top: 0;
        background: rgba(0, 0, 0, 0.6);
        box-shadow: var(--shadow);
        transition: backgroundn 300ms linear, box-shadow 300ms linear;
    }

    .is-sticky nav.horizontally {
        background: #ffffff;
    }

    nav.horizontally {
        padding: 8px 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        right: 0;
        top: 0;
        max-width: 1930px;
        width: 100%;
        z-index: 101;
        background: rgba(0, 0, 0, 0.6);
        transition: 300ms linear background;
    }

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

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul {
        display: block !important;
    }

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

    nav.horizontally .navbar-nav li[class*="toplevel"].open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

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

    nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: var(--nav-color);
    font-weight: 300;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 22px;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally a[class*="toplevel"].dropdown-toggle {
        padding-right: 35px;
    }
}

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

    nav.horizontally a[class*="toplevel"] {
        text-align: center;
        padding: 7px 0;
    }
}

nav.horizontally li[class*="toplevel"]:not(:last-child)>a::before {
    content: "";
    width: 20px;
    height: 2px;
    display: block;
    position: absolute;
    left: 20px;
    bottom: 0;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    background-color: var(--nav-color);
    opacity: 0;
    transition: opacity 300ms linear;
}

@media (min-width: 992px) {
    nav.horizontally li[class*="toplevel"]:not(:last-child)>a::before {
        left: calc(50% - 10px);
    }

    nav.horizontally li[class*="toplevel"]:nth-last-child(2) a {
        padding-left: 50px;
        position: relative;
    }

    nav.horizontally li[class*="toplevel"]:nth-last-child(2) a::after {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: calc(50% - 18px);
        width: 36px;
        height: 36px;
        background: url('../img/demo-icon.png') center no-repeat;
    }

    .is-sticky nav.horizontally li[class*="toplevel"]:nth-last-child(2) a::after {
        filter: grayscale(1) brightness(0.2);
    }

    nav.horizontally li[class*="toplevel"]:nth-last-child(2) a::before {
        left: calc((50% - 10px) + 25px);
    }
}

nav.horizontally li[class*="toplevel"]:last-child a {
    border: 1px solid var(--nav-color);
    border-radius: var(--border-radius);
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]:last-child a {
        margin: 15px 15px 0 15px;
    }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"].open>a::before,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::before,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::before {
    opacity: 1;
}

nav.horizontally li[class*="toplevel"]:last-child:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]:last-child>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:last-child.open>a,
nav.horizontally li[class*="toplevel"]:last-child.open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:last-child[class*="_over"]>a,
nav.horizontally li[class*="toplevel"]:last-child[class*="_over"]>a:is(:hover, :focus) {
    color: #ffffff;
    background-color: var(--text-color-dark);
}

@media (min-width: 992px) {

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background: #ffffff;
}

nav.horizontally .navbar-nav li[class*="toplevel"]>ul {
    padding: 10px 15px;
}

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

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul {
        padding: 20px 30px;
        margin-top: 20px;
        box-shadow: var(--shadow);
        display: flex !important;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul>li {
        min-width: 300px;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul>li:not(:first-child)+li {
        border-left: 1px solid #a2a2a2;
        margin-left: 20px;
        padding-left: 20px;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 20px;
        left: 0;
        right: 0;
        top: -20px;
    }
}

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
    nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
        padding-right: 25px;
    }
}

nav.horizontally a[class*="secondlevel"] {
    font-weight: 700;
}

nav.horizontally li[class*="thirdlevel"] a {
    margin-top: 2px;
    padding-left: 35px;
}

/* icons */

nav.horizontally li[class*="thirdlevel"] a::before {
    content: "";
    position: absolute;
    top: calc(50% - 12px);
    left: 6px;
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(2) a::before {
    content: "home";
    color: #d77d2f;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(3) a::before {
    content: "date_range";
    color: #c13910;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(4) a::before {
    content: "help";
    color: #ab47bc;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(5) a::before {
    content: "photo_camera";
    color: #d14900;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(6) a::before {
    content: "error";
    color: #d14900;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(7) a::before {
    content: "analytics";
    color: #008537;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(8) a::before {
    content: "event";
    color: #737b2b;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(3) li[class*="thirdlevel"]:nth-child(2) a::before {
    content: "folder";
    color: #674172;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(3) li[class*="thirdlevel"]:nth-child(3) a::before {
    content: "location_on";
    color: #ac232a;
}

nav.horizontally li[class*="toplevel"]:nth-child(2) li[class*="secondlevel"]:nth-child(3) li[class*="thirdlevel"]:nth-child(4) a::before {
    content: "groups";
    color: #1565c0;
}

nav.horizontally li[class*="toplevel"]:nth-child(3) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(2) a::before {
    content: "event";
    color: #03389d;
}

nav.horizontally li[class*="toplevel"]:nth-child(3) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(3) a::before {
    content: "event";
    color: #737b2b;
}

nav.horizontally li[class*="toplevel"]:nth-child(3) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(4) a::before {
    content: "face";
    color: #927126;
}

nav.horizontally li[class*="toplevel"]:nth-child(3) li[class*="secondlevel"]:nth-child(2) li[class*="thirdlevel"]:nth-child(5) a::before {
    content: "account_balance";
    color: #1565c0;
}

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

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

nav.horizontally li[class*="toplevel"]:nth-child(3) li[class*="secondlevel"]:nth-child(3) li[class*="thirdlevel"]:nth-child(4) a::before {
    content: "assignment_turned_in";
    color: #0279ac;
}

/* secondlevel + thirdlevel over */

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

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

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

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



@media (min-width: 992px) {
    #headerpic {
        min-height: 450px;
        padding-top: var(--distance-large);
        background: var(--main-color) top center / cover no-repeat;
    }
}



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

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

.button-style a,
#grundsystem button[id*="close"],
#formular>form #submit_form {
    display: inline-block;
    line-height: 1.2;
    padding: 9px 20px !important;
    font-weight: 500;
    background: var(--main-color) linear-gradient(to top, var(--main-color), var(--main-color-light), var(--main-color)) !important;
    background-size: 100% 200% !important;
    background-position: 0 100% !important;
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: clamp(1rem, 2vw, 1.625rem);
    border: none;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.55);
    transition: background-position 300ms linear, color 300ms linear;
}

.button-style a:is(:hover, :focus),
#grundsystem button[id*="close"]:is(:hover, :focus),
#formular>form #submit_form:is(:hover, :focus) {
    background-position: 0 0 !important;
}

/* specific buttons */

#headerpic .button-style a {
    margin-top: 15px;
}

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

/* ------------------------------------------- content ------------------------------------------ */

#content-area {
    padding: var(--distance-small) 0;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: var(--text-color-dark);
    font-weight: normal;
    line-height: 1.2;
    font-family: "Raleway", sans-serif;
    margin-bottom: 25px;
}

:is(h1, h2, h3, h4) :is(i, em) {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-style: normal;
    display: block;
    color: var(--text-color);
    margin-bottom: 15px;
}

:is(h3, h4) :is(i, em) {
    font-size: 1.5rem;
}

#headerpic :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2.25rem, 8vw, 5.3125rem);
}

#grundsystem :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 10px;
}

h1,
.h1,
.legacy_h1,
.index :is(h2, .h2, .legacy_h2),
#kontakt :is(h2, .h2, .legacy_h2) {
    font-size: clamp(2rem, 4.5vw, 3rem);
}

:is(#support, #sicherheit-detail) :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.875rem, 4vw, 2.375rem);
}

h2,
.h2,
.legacy_h2,
.index :is(h3, .h3, .legacy_h3),
#tabs :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.875rem;
}

h3,
.h3,
.legacy_h3 {
    font-size: 1.75rem;
}

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

@media (max-width: 767px) {
    #zusatzmodule-slider :is(h1, h2, h3, h4, h5, h6) {
        font-size: 1.625rem;
    }

    #zusatzmodule-slider :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
        font-size: 1.25rem;
    }
}

h5,
.h5,
.legacy_h5,
#references-carousel .tab :is(h1, h2, h3),
.name-tag {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    #wechselbanner {
        font-size: 1.5rem;
    }
}

h6,
.h6,
.legacy_h6 {
    font-size: 1.375rem;
}

@media (max-width: 767px) {
    #grundsystem .tab :is(h1, h2, h3, h4, h5, h6) {
        font-size: 1.25rem;
    }
}

/* #region ---------------------------------- formular ------------------------------------------ */

#kontakt {
    background: url('../img/kontakt.webp') top center / cover no-repeat, var(--text-color-dark);
}

@media (min-width: 768px) {
    #kontakt {
        background: url('../img/smartphone-hand.webp') bottom right -150px / 450px auto no-repeat, url('../img/kontakt.webp') top center / cover no-repeat, var(--text-color-dark);
    }
}

@media (min-width: 1200px) {
    #kontakt {
        background-position: left calc(50% + 590px) bottom, top center;
        background-size: auto auto, cover;
    }
}

#formular {
    margin-top: calc(var(--distance-min) - 20px);
}

/* error */

#form-status,
#formgen_error {
    color: #7d0300;
    background: #ffffff;
    margin: 15px 0;
    padding: 20px;
    font-weight: 500;
    outline: 2px solid #7d0300;
    outline-offset: -4px;
}

/* inputs */

#formular>form>*+* {
    margin-top: 15px;
}

#formular>form label {
    display: block;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
}

#formular>form :is(input, select):not([type="checkbox"], [type="submit"]) {
    font-family: inherit;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: normal;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 14px;
    width: 100%;
    border: 0;
    color: inherit;
}

#telefon_input {
    display: flex;
    gap: 10px;
}

#telefon_input .labelView {
    display: none;
    visibility: hidden;
    position: absolute;
}

#telefon-vorwahl {
    width: 33% !important;
}

#formular>form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background-image: url('../img/pfeil.jpg') !important;
    background-position: right !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
}

#formular>form #hinweis {
    margin-top: 30px;
    font-size: 1rem;
}

/* demo form success */

#demo-formular-success {
    margin-top: 30px;
    display: grid;
    gap: 30px;
    color: var(--text-color);
}

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

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

#demo-formular-success section * {
    color: var(--text-color);
}

#demo-formular-success section {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    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: 0 3px 6px rgba(0, 0, 0, 0.16);
    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: 0 3px 6px rgba(0, 0, 0, 0.16);
    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: bolder;
}

#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: 0 3px 6px rgba(0, 0, 0, 0.16);
    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: bolder;
}

/* ascii */

#ascii-captcha {
    position: relative;
}

#ascii-captcha .ascii-captcha-refresh {
    color: var(--text-color);
    right: 0;
    top: 0;
}

#ascii-captcha .captcha_wrapper {
    width: 100% !important;
    max-width: 320px;
    margin-left: auto;
}

#ascii-captcha pre {
    display: block;
    padding: 10px 30px 0 15px;
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-color);
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
}

#ascii-captcha #recaptcha {
    min-height: unset;
    max-width: 320px;
}

/* #endregion ------------------------------- formular ------------------------------------------ */

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

#footer {
    background-color: #1d1d1d;
    padding: calc(var(--distance-min) - 10px) 0 calc(var(--distance-min) - 30px) 0;
}

@media (min-width: 768px) {
    #footer {
        font-size: 1.0625rem;
    }
}

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

#innerfooter {
    margin-top: 20px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter ul a {
    color: #1ab6fe;
}

#innerfooter a:not(:hover, :focus) {
    text-decoration: none;
}

@media (min-width: 576px) {

    #innerfooter li {
        display: inline-block;
    }

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

#scroll-top {
    width: 44px;
    height: 44px;
    display: inline-block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'%3E%3Cpath d='M432-48 0-480l432-432 103 103-329 329 329 329L432-48Z'/%3E%3C/svg%3E") center left 12px no-repeat;
    border-radius: var(--border-radius);
    transform: rotate(90deg);
    transition: border 300ms linear;
    border: 2px solid transparent;
}

#scroll-top:is(:hover, :focus) {
    border-color: #ffffff;
}

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