@import url("https://fonts.verwaltungsportal.de/css/?family=Outfit:400,700,400i,700i");

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #585b54 #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "Outfit", sans-serif;
    color: #585b54;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

:is(#footerBottom, #footerTop, body)::after {
    content: "";
    pointer-events: none;
    height: 5px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: inline-block;
    z-index: 12;
    background: repeating-linear-gradient(to right,
            #7cc145 0%, #7cc145 6.25%,
            #ffcc00 6.25%, #ffcc00 12.5%,
            #ff7200 12.5%, #ff7200 18.75%,
            #43b5e9 18.75%, #43b5e9 25%);
}

a {
    color: #116992;
}

a:hover,
a:focus {
    color: #116992;
    text-decoration: underline;
}

:focus-visible {
    outline: 2px solid #0070ff;
}

b,
strong {
    font-weight: 700;
}

header>.row {
    max-width: 100%;
    width: 100%;
}

@media (min-width: 1200px) {
    header>.row {
        padding: 0 0 0 100px;
    }
}

#over {
    overflow: hidden;
    position: relative;
}

#burgerButton.contrast_dark::after,
:is(#burgerButtonInner, #burgerButtonInner2).contrast_dark {
    background-color: #000 !important;
}

/* #region ------------------------------------ select ------------------------------------------ */

#select {
    position: fixed;
    z-index: 1010;
    left: 0;
    top: 30%;
}

#select summary {
    background: #ffffff !important;
    display: block;
    height: 60px;
    width: 60px;
    padding: 5px 4px 5px 5px;
    cursor: pointer;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.09);
    border-radius: 0 6px 6px 0;
    position: absolute;
    right: -60px;
    top: 0;
}

#select summary img {
    border-radius: 50%;
    border: 4px solid #000;
}

#selectList {
    position: relative;
    top: 0;
    left: calc(-100% + 60px);
    width: 100%;
    display: flex;
    pointer-events: none;
    display: block;
    text-align: left;
    background: #ffffff;
    padding: 15px;
    border: #323232 1px solid;
}

#selectList h2 {
    color: #323232;
    text-align: center;
    font-size: 1.25rem;
    margin: 2px 0 4px 0;
}

#select[open] #selectList {
    left: 0;
    pointer-events: all;
}

@media (max-width: 992px) {
    #select {
        left: unset;
        right: 0;
        top: 13.5%;
    }

    #select summary {
        border-radius: 50% 0 0 50%;
        width: 46px;
        height: 46px;
        right: unset;
        left: -46px;
    }

    #selectList {
        left: unset;
        right: calc(-100% + 41px);
    }

    #select[open] #selectList {
        right: 0;
        left: unset;
    }
}

/* styler + contrast */

:is(#style, #contrast_style) button {
    border: none;
    font-size: 1rem;
    background: transparent;
    padding: 10px 0 10px 35px;
    position: relative;
    color: #323232;
    text-align: left;
}

@media (max-width: 575px) {
    :is(#style, #contrast_style) button {
        font-size: 16px;
    }
}

:is(#style, #contrast_style) button:is(:hover, :focus) {
    text-decoration: underline;
}

:is(#style, #contrast_style) button::before {
    content: "";
    display: block;
    height: 31px;
    width: 31px;
    position: absolute;
    top: calc(50% - 13px);
    left: 0;
    filter: contrast(100%);
    background: #fff center / contain no-repeat;
}

#style button::before {
    background-image: url('../img/t-icon.svg');
}

#style button:nth-child(1)::before {
    background-image: url('../img/lupe-plus-icon.svg');
}

#style button:nth-child(3)::before {
    background-image: url('../img/lupe-minus-icon.svg');
}

#contrast_style button::before {
    height: 27px;
    width: 27px;
    background-image: url('../img/lightbulb-icon.svg');
}

#contrast_style button:nth-child(1)::before {
    background-image: url('../img/contrast-icon.svg');
}

#contrast_style button:nth-child(2)::before {
    background-image: url('../img/grayscale-icon.svg');
}

/* #endregion --------------------------------- select ------------------------------------------ */

/* #region ---------------------------------- topbarWrapper ------------------------------------- */

#topbarWrapper {
    padding: 20px 0;
}

@media (max-width: 991px) {
    #topbarWrapper {
        padding: 18px 0 15px 0;
    }
}

/* logo */

#logo {
    display: inline-block;
}

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

@media (min-width: 992px) {
    #logo img {
        display: block;
    }

    #logoSmall {
        position: absolute;
        left: -60px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0;
        transition: all, 100ms ease-in;
        visibility: hidden;
    }

    #logoSmall img {
        max-width: 50px;
    }

    .is-sticky #logoSmall {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 1350px) {
    .hiddenSpec {
        display: none !important;
    }
}

:is(#logo, #logoSmall) img.contrast_grayscale {
    background-color: #fff !important;
}

/* #endregion ------------------------------- topbarWrapper ------------------------------------- */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        position: static !important;
    }

    .sticky-wrapper {
        height: unset !important;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        position: relative;
        display: block;
        width: 60px;
        height: 60px;
        border-radius: 10px;
        cursor: pointer;
        background: #ffffff;
        box-shadow: 0 8px 30px 0 rgba(0, 0, 0, 0.1);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background: #585b54;
        border-radius: 3px 0 0 3px;
        position: absolute;
        width: 34px;
        height: 5px;
        right: 13px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 17px;
    }

    #burgerButton::before {
        content: "";
        top: 27px;
        width: 23px;
        margin-left: 10px;
    }

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

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        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: 15px;
        right: 15px;
        z-index: 101;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        background: rgba(255, 255, 255, 0.95);
        position: relative;
    }

    #menu::after {
        content: "";
        z-index: 1005 !important;
        pointer-events: none;
        height: 30px;
        box-shadow: 0 13px 10px 0 rgba(0, 0, 0, 0.04);
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }

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

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 10px 25px;
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: 70vh;
        overflow: visible;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally li[class*="toplevel"]>ul::after {
        content: "";
        display: block;
        position: absolute;
        width: 100vw;
        z-index: -1;
        transform: translateX(-50%);
        left: 50%;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul {
        column-count: 4;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 30px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

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

@media (min-width: 1200px) {
    nav.horizontally li[class*="toplevel"]>ul {
        max-width: 1200px;
        padding-top: 40px;
        padding-bottom: 60px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #252525;
    font-weight: 700;
    text-align: left;
    padding: 10px 15px 15px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

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

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: #116992;
    transition: width 200ms linear;
}

/* 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: #116992;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open>a::after,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
    width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

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

@media (min-width: 992px) {
    nav.horizontally [class*="secondlevel"]>ul {
        display: block;
    }
}

/* secondlevel + thirdlevel */

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

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

nav.horizontally a[class*="thirdlevel"] {
    font-weight: 400;
    font-size: 0.9375rem;
}

@media (max-width: 991px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        padding: 10px 35px 10px 15px;
    }

    .dropdown-toggle-button-wrapper,
    .dropdown-toggle-button-wrapper2 {
        top: 5px !important;
    }
}

@media (min-width: 992px) {
    nav.horizontally a[class*="secondlevel"] {
        padding: 20px 0 2px;
    }

    nav.horizontally a[class*="thirdlevel"] {
        padding: 5px 0 5px 10px;
    }
}

nav.horizontally a[class*="thirdlevel"]::before {
    content: '\203A';
    color: #116992;
    position: absolute;
    left: 0;
    top: 40%;
    font-size: 20px;
    transform: translateY(-50%);
    display: inline-block;
    opacity: 0;
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):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: #116992;
}

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

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

/* #region -------------------------------------- tabs ------------------------------------------ */

@media (max-width: 991px) {
    #tabs {
        padding-top: 70px;
    }
}

body:not(.index) #tabs {
    padding: 0 0 60px 0
}

#tabs .tab {
    position: relative;
    overflow: hidden;
    color: #585b54;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.4vw, 1.25rem);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.13);
    border-radius: clamp(10px, 2vw, 25px);
    padding: clamp(10px, 1vw, 20px);
    min-height: 100%;
    background: #fff !important;
    word-wrap: break-word;
    transition: all, 400ms;
    hyphens: auto;
}

#tabs .tab a {
    font-size: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: inline-block;
    z-index: 12;
    background: transparent !important;
}

#tabs>.row>div {
    padding-left: clamp(5px, 1vw, 15px);
    padding-right: clamp(5px, 1vw, 15px);
    margin-bottom: clamp(10px, 1vw, 30px);
}

@media (min-width: 992px) {
    body:not(.index) #tabs>.row>div {
        max-width: 325px;
    }
}

body:not(.index) #tabs::after {
    content: "";
    pointer-events: none;
    width: 37vw;
    height: 20vw;
    z-index: -1;
    position: absolute;
    right: 0;
    bottom: 0;
    background: center no-repeat;
    border-top-left-radius: 230px;
}

@media (max-width: 767px) {
    body:not(.index) #tabs::after {
        width: 80vw;
        height: 60vw;
    }

    #tabs>.row {
        margin: auto;
    }
}

#tabs .tab img {
    background-color: #ebf5e3;
    width: 55px;
    height: 55px;
    display: block;
    position: relative;
    margin: 15px auto 15px auto;
    z-index: 1;
    border-radius: 15px;
    transition: all, 300ms;
    padding: 15px;
    object-fit: contain;
    object-position: center;
}

#tabs .kursbox img {
    padding: 14px;
}

#tabs .clockbox img {
    padding: 13px;
}

#tabs .appbox img {
    padding: 10px;
}

@keyframes shake {

    40%,
    60% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(8deg);
    }

    70% {
        transform: rotate(0deg);
    }

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

#tabs .tab:is(:hover, :focus) img {
    animation: shake 1s linear;
    border-radius: 5px;
}

#tabs .tab:is(:hover, :focus) {
    transform: scale(1.05);
}

#tabs :is(.appbox, .onebox, .sevenbox) img {
    background-color: #ebf5e3;
}

#tabs :is(.clockbox, .twobox, .eightbox) img {
    background-color: #fff9e0;
}

#tabs :is(.kursbox, .fourbox, .ninebox) img {
    background-color: #fff1e5;
}

#tabs :is(.threebox, .sixbox, .fivebox, .tenbox) img {
    background-color: #ecf7fd;
}

@media (min-width: 1200px) and (max-width: 1850px) {
    #tabs>.row>div:nth-child(4) {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #tabs>.row>div:nth-child(5) {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #tabs>.row>div:nth-child(11),
    #tabs>.row>div:nth-child(6) {
        flex: 0 0 61%;
        max-width: 61%;
    }

    #tabs>.row>div:nth-child(12),
    #tabs>.row>div:nth-child(7) {
        flex: 0 0 39%;
        max-width: 39%;
    }

    #tabs>.row>div:nth-child(9),
    #tabs>.row>div:nth-child(8) {
        flex: 0 0 33.33333333%;
        max-width: 33.33333333%;
    }
}

@media (min-width: 1600px) and (max-width: 1850px) {
    #tabs {
        padding-right: 70px;
        padding-left: 50px;
    }
}

/* overlayTab */

#overlayTab {
    position: relative;
    left: -15px;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 12;
    color: #585b54;
    font-size: 1.25rem;
    min-height: 685px;
    margin: 100px 0 100px 0;
    background-color: rgba(255, 255, 255, 0.90);
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    backdrop-filter: blur(3px);
    margin-right: clamp(50px, 6vw, 120px);
}

@media (max-width: 340px) {
    #overlayTab {
        margin-right: 0;
    }
}

#overlayTab .tab>.tabContent {
    position: relative;
}

#overlayTab .tabHeadline {
    font-size: clamp(1.25rem, 3vw, 3.125rem);
    color: #323232;
    font-weight: 700;
}

@media (max-width: 767px) {
    #overlayTab .tabHeadline {
        font-size: 1.25rem;
    }

    #overlayTab {
        font-size: 1rem;
        min-height: auto;
    }
}

#overlayTab .tab {
    pointer-events: all;
    padding: 50px 50px 50px 50px;
    padding-right: clamp(50px, 6vw, 100px);
    width: 100%;
}

#overlayTab .tab a {
    font-size: 1rem;
    color: #116992;
    display: inline-block;
    border-radius: 10px;
    margin-right: 30px;
    background: #e4ecef;
    padding: 10px 15px;
    transition: all, 300ms;
    text-decoration: none;
    margin-top: 5px;
}

#overlayTab .tab a:is(:hover, :focus) {
    background-color: #116992;
    color: #ffffff;
}

#overlayTab .tab a:is(:hover, :focus)::after {
    margin-left: 10px;
}

#overlayTab .tab a::after {
    content: '\279C';
    margin-left: 5px;
    transition: all, 300ms;
}

header>.row>div:nth-child(2) {
    padding-right: 0;
}

/* #endregion ----------------------------------- tabs ------------------------------------------ */

/* #region ------------------------------------- banner ----------------------------------------- */

#slider {
    height: 100%;
    overflow: hidden;
    position: absolute;
}

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }

    #headerpic img {
        height: 100%;
    }
}

#slider,
#headerpic {
    margin: 0 auto;
    position: absolute;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.slider-wrapper,
#slider {
    height: 100%;
}

.slider-mask {
    display: none;
}

#headerpic img {
    height: 100%;
}

@media (max-width: 991px) {
    #headerpic {
        overflow: hidden;
        height: calc(100% - 18px);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #headerpic {
        border-bottom-left-radius: 15px;
        border-top-left-radius: 15px;
    }
}

/* #endregion ---------------------------------- banner ----------------------------------------- */

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

#content {
    text-align: left;
    padding: clamp(30px, 4vw, 60px) 0;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #323232;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Outfit", sans-serif;
}

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

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.9375rem, 3.5vw, 2.1875rem);
}

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

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

h5,
.h5,
.legacy_h5 {
    font-size: 1.625rem;
}

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

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

#footerTop {
    background: url(../img/bg-footer.png) no-repeat left center / cover;
    padding: 60px 0;
    font-size: 1.125rem;
    color: #585b54;
    position: relative;
}

#footerTop .telefon_div {
    margin-left: 85px;
}

@media (min-width: 768px) {
    #footerTop>.row>div:nth-last-child(1)::before {
        content: "";
        pointer-events: none;
        width: 1px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        display: inline-block;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
        left: -11%;
    }
}

@media (max-width: 767px) {
    #footerTop>.row>div+div {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.2)
    }

    input[type*="email"],
    .formgen_row .subfield,
    .formgen_row input[type="text"],
    .formgen_row input[type="file"],
    .formgen_row input[type="tel"],
    .formgen_row select,
    .formgen_row textarea {
        width: 100%;
    }
}

#footerTop .tab {
    line-height: 1.8;
}

.formgen_top legend,
.formgen_top label {
    font-weight: 700;
    font-size: 1rem;
    color: #585b54;
    opacity: 1.0 !important;
}

.formgen_row input,
.formgen_row select,
.formgen_row textarea,
.formgen_row .subfield,
.formgen_row input[type="text"],
.formgen_row input[type="file"],
.formgen_row input[type="tel"],
.formgen_row select,
.formgen_row textarea {
    min-height: 53px;
}

.formgen_row .formgen_top label,
.formgen_row .formgen_top legend,
.formgen_row>legend {
    color: #116992;
    opacity: 1.0 !important;
    font-size: 1rem;
}

form>.formgen+p input.form-submit,
input[type="submit"] {
    background: #116992 !important;
    color: #fff !important;
    border-radius: 5px !important;
    -webkit-transition: all, 300ms;
    -moz-transition: all, 300ms;
    -ms-transition: all, 300ms;
    -o-transition: all, 300ms;
    transition: all, 300ms;
    padding-left: 14px !important;
    border-color: transparent !important;
}

#form-8646>p {
    text-align: left !important;
}


@media (min-width: 992px) {

    #form-8646 .phone-wrapper .telefon,
    #form-8646 .formtab .phone-wrapper .telefon {
        max-width: 384px !important;
    }
}

.formtab input.vorwahl {
    max-width: 60px !important;
    width: 60px !important;
}


.formtab input.telefon {
    width: 100% !important;
}


@media (max-width: 991px) {

    #form-8646 .phone-wrapper .telefon,
    #form-8646 .formtab .phone-wrapper .telefon,
    #footerTop .formgen_element,
    #footerTop .hasDatepicker,
    #footerTop .formtab .formgen_element,
    #form-8646 .formtab .phone-wrapper .telefon,
    #footerTop .phone-wrapper .telefon,
    #footerTop .formtab .phone-wrapper .telefon {
        max-width: 100% !important;
        width: 100%;
    }

    #formgen_647435 {
        margin-right: 0 !important;
    }
}

#footerTop form>p {
    text-align: left !important;
}

#footerTop form>.formgen+p input.form-submit:is(:hover, :focus) {
    color: #116992 !important;
    background: #fff !important;
    border-color: #116992 !important;
}

#footerTop .big-content .formgen {
    column-count: 1;
    column-gap: 0;
}

#footerTop h2 {
    font-size: 1.5625rem;
}

#footerBottom {
    background: #ecf7fd;
    color: #585b54;
    padding: 30px 0;
    position: relative;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #585b54;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 0.9375rem;
}

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

#innerfooter li+li::before {
    content: "";
    margin: 0 15px;
}

@media (min-width: 1200px) {
    #innerfooter li+li::before {
        margin: 0 25px;
    }
}

/* scrollTop */

#scrollTop {
    font-size: 0;
    background: url(../img/icon-pfeil.svg) no-repeat center;
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain !important;
}

#scrollTop:is(:hover, :focus) {
    animation: size 1s linear;
    border-radius: 5px;
}

@keyframes size {

    40%,
    60% {
        margin-bottom: -5px;
    }

    50% {
        margin-bottom: 5px;
    }

    70% {
        margin-bottom: 0;
    }

    100% {
        margin-bottom: 0;
    }
}

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