@import url('https://fonts.verwaltungsportal.de/import/?family=Comfortaa:400,400i,700,700i%7CKanit:600,600i,700,700i');

:root {
    --text-color: #383838;
    --main-color: #3a77a8;
    --secondary-color: #7C5ead;

    --weight-normal: 400;
    --weight-bold: 600;

    --large-text: clamp(1.125rem, 2vw, 1.5rem);

    --gradient: linear-gradient(135deg, var(--main-color), var(--secondary-color));
    --shadow: 0 30px 30px rgba(58, 119, 168, 0.25);

    --border-radius-small: 12px;
    --border-radius-large: clamp(20px, 3vw, 40px);

    --distance-min: 40px;
    --distance-small: clamp(var(--distance-min), 6vw, 100px);
    --distance-medium: clamp(var(--distance-min), 8vw, 120px);
    --distance-large: clamp(var(--distance-min), 10vw, 140px);
}

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

body {
    font-family: "Comfortaa", sans-serif;
    font-weight: var(--weight-normal);
    color: var(--text-color);
    background: #ffffff url('../img/form-transparent.svg') top 345px left -230px no-repeat;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1199px) {
    body {
        background-position-x: calc(50% - 550px);
    }
}

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

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

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

@media (min-width: 1200px) {
    .row {
        max-width: 1404px;
    }

    .wide-content {
        max-width: 1560px;
        margin-left: auto;
        margin-right: auto;
    }

    .wide-content>.template-page>.row {
        margin: 0;
    }
}

@media (min-width: 1200px) and (max-width: 1459px) {
    #ueber-uns>.row>div:last-child,
    #footer>div:last-child,
    #deine-bewerbung .btgrid>.row>div:last-child {
        padding-right: 45px !important;
    }

    #privacy-wrap,
    #imprint-div, 
    #siteinfo-div,
    .views_19 {
        padding-right: 30px !important;
    }
}

.btgrid>div.row+div.row {
    margin-top: 30px;
}

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

.row-gap {
    row-gap: var(--distance-min);
}

.large-text {
    font-size: var(--large-text);
}

#overflow {
    overflow: clip;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

nav.horizontally {
    padding: 28px 0;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
    }

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

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

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

    nav.horizontally .navbar-nav {
        margin: 30px 15px;
    }

    .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: 32px;
        right: 15px;
        z-index: 101;
        transition: top 200ms linear;
    }

    .is-sticky .navbar-header {
        top: 15px;
    }

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

    .dropdown-toggle-button-wrapper2 {
        top: 4px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        background: #ffffff;
        transition: box-shadow 300ms linear, padding 300ms linear;
    }

    .is-sticky nav.horizontally {
        padding: 15px 0;
        box-shadow: var(--shadow);
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: end;
        align-items: center;
        column-gap: clamp(30px, 4vw, 50px);
    }

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

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

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

    nav.horizontally .navbar-nav li:is(.open:focus-within, :hover)>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:is(:hover, :focus-within)>ul {
        z-index: 1003;
    }
}

/* toplevel */

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

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

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

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

nav.horizontally li[class*="toplevel"]:not(:last-child)>a::before {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: var(--main-color);
    opacity: 0;
    transition: opacity 300ms linear, width 300ms 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: var(--main-color);
}

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;
    width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background: #ffffff;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius-small);
    padding: 15px 0;
}

@media (min-width: 992px) {
    nav.horizontally ul.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
    }

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 20px;
        left: 50%;
        transform: translate(-50%, 0);
    }

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

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        text-align: left;
    }

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

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

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

/* -------------------------------------------- header ------------------------------------------ */

header {
    position: relative;
}

@media (min-width: 992px) {
    header {
        margin-top: 30px;
    }
}

body:not(.index) header {
    min-height: 250px;
    font-weight: var(--weight-bold);
}

body:not(.index) header h1 {
    margin-bottom: 20px;
}

body:not(.index) header :is(h1, .template-page) {
    position: relative;
    z-index: 10;
}

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

#slider {
    height: 253px;
    position: relative;
    border-radius: var(--border-radius-large);
}

body:not(.index) #slider {
    height: 100%;
}

body:not(.index) .slider-wrapper {
    border-radius: var(--border-radius-large);
    position: absolute;
    inset: 0;
}

@media (min-width: 992px) {
    body:not(.index) .slider-wrapper::before {
        content: "";
        display: block;
        position: absolute;
        z-index: 8;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132.608' height='119.609' viewBox='0 0 132.608 119.609'%3E%3Cpath d='M-1078,149.609h0V30h132.608A40.125,40.125,0,0,0-985,70V83.327c-.226,14.712-15.321,26.683-33.648,26.685H-1038A40.125,40.125,0,0,0-1078,149.609Z' transform='translate(1078 -30)' fill='%23ffffff'/%3E%3C/svg%3E%0A") top left no-repeat;
    }
}

.slider-mask {
    display: block;
    opacity: 0.8;
    border-radius: var(--border-radius-large);
    background: var(--gradient);
}

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

/* #region --------------------------------- button-style --------------------------------------- */

.button-style a,
nav.horizontally li[class*="toplevel"]:last-child a,
#job-nav ul.nav>li a::after {
    display: inline-block;
    line-height: 1.2;
    padding: 15px clamp(20px, 2vw, 30px) 13px clamp(20px, 2vw, 30px);
    font-weight: var(--weight-bold);
    background: var(--secondary-color);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: var(--border-radius-small) var(--border-radius-small) 0 var(--border-radius-small);
    transition: background-color 300ms linear, color 300ms linear, border 300ms linear;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.button-style a::after,
nav.horizontally li[class*="toplevel"]:last-child a::after {
    content: "";
    display: block;
    background: var(--gradient);
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 12px;
    transition: width 200ms linear;
}

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

/* large button */

.button-style.button-style-large a {
    padding-left: calc(clamp(20px, 2vw, 30px) + 38px);
    padding-top: 22px;
    padding-bottom: 18px;
    font-size: var(--large-text);
}

.button-style.button-style-large a::before {
    content: "";
    display: block;
    width: 23px;
    height: 22px;
    position: absolute;
    left: clamp(20px, 2vw, 30px);
    top: calc(50% - 11px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22.286' height='22' viewBox='0 0 22.286 22'%3E%3Cpath d='M11,0h.286a11,11,0,0,1,11,11V22a0,0,0,0,1,0,0H11A11,11,0,0,1,0,11v0A11,11,0,0,1,11,0Z' fill='%23fff'/%3E%3C/svg%3E%0A") center no-repeat;
}

/* button in tab-large-color */

:is(.tab-large-color .button-style, .tab-large-color.button-style) a {
    border: 2px solid #ffffff;
}

:is(.tab-large-color .button-style, .tab-large-color.button-style) :is(h1, h2, h3, h4, h5, h6):has(a) {
    display: flex;
    flex-wrap: wrap;
    gap: 15px clamp(15px, 2vw, 22px);
}

:is(.tab-large-color .button-style, .tab-large-color.button-style) :is(h1, h2, h3, h4, h5, h6):has(a) :is(i, em) {
    margin-right: 50%;
    margin-bottom: 5px;
}

:is(.tab-large-color .button-style, .tab-large-color.button-style).xs-text-center :is(h1, h2, h3, h4, h5, h6):has(a) {
    justify-content: center;
}

:is(.tab-large-color .button-style, .tab-large-color.button-style) :is(h1, h2, h3, h4, h5, h6) a {
    padding-top: 4px;
    padding-bottom: 11px;
    font-size: inherit;
    line-height: 1;
}

@media (max-width: 991px) {
    :is(.tab-large-color .button-style, .tab-large-color.button-style) :is(h1, h2, h3, h4, h5, h6) a {
        padding-top: 6px;
        padding-bottom: 9px;
        margin-top: -4px;
    }
}

/* to top button */

.button-style #scroll-top {
    padding-right: 60px;
}

.button-style #scroll-top::before {
    content: "";
    display: block;
    width: 17px;
    height: 17px;
    position: absolute;
    right: 30px;
    top: calc(50% - 6px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17.081' height='17.081' viewBox='0 0 17.081 17.081'%3E%3Cpath d='M6,0h.156a6,6,0,0,1,6,6v6a0,0,0,0,1,0,0H6A6,6,0,0,1,0,6V6A6,6,0,0,1,6,0Z' transform='translate(8.595 17.081) rotate(-135)' fill='%23fff'/%3E%3C/svg%3E%0A") center no-repeat;
}

/* #endregion ------------------------------ button-style --------------------------------------- */

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

#content {
    padding-bottom: var(--distance-medium);
}

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

body:not(.index):not(:has(header)) #content {
    padding-top: var(--distance-min);
}

#contentbottom_left {
    display: none;
}

#content_footer {
    margin: 0;
}

/* banner  */

.banner-decoration .banner {
    position: relative;
}

.banner-decoration .banner img {
    display: block;
    border-radius: var(--border-radius-large);
}

/* tabs */

.tab,
.tab-large-color,
.tab-sg-grid .btgrid .content,
#job-nav li {
    position: relative;
    border-radius: var(--border-radius-large);
}

.tab,
.tab-sg-grid .btgrid .content,
#job-nav li {
    font-size: 1rem;
    box-shadow: var(--shadow);
    background: #ffffff;
}

.tab {
    padding: 40px 25px 26px 25px;
}

.tab-sg-grid .btgrid .content {
    height: 100%;
}

.tab-sg-grid .btgrid .content,
#job-nav li {
    padding: 30px;
}

@media (min-width: 1200px) {

    .tab-sg-grid .btgrid>.row>:nth-child(6n+4) {
        margin-left: 8.33%;
    }

    .tab-sg-grid .btgrid>.row>div {
        flex: 0 0 30.5%;
        max-width: 30.5%;
    }
}

.tab-sg-grid .btgrid :is(h1, h2, h3, h4, h5, h6) {
    color: var(--main-color);
    display: flex;
    align-items: center;
    column-gap: 25px;
}

.tab-sg-grid .btgrid :is(h1, h2, h3, h4, h5, h6) .cke-icon-wrapper {
    background: #f2eef7;
    color: var(--secondary-color);
    border-radius: var(--border-radius-small);
    width: 60px;
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    font-size: 32px;
    flex-shrink: 0;
    overflow: hidden;
}

.tab-large-color {
    padding: 60px clamp(15px, 4vw, 60px);
    background: var(--main-color) var(--gradient);
    font-size: var(--large-text);
}

.tab-large-color,
.tab-large-color * {
    color: #ffffff;
}

.tab-large-color:not(:has(p)) :is(h1, h2),
body:not(.index) header:not(:has(p)) :is(h1, h2) {
    margin-bottom: 0;
}

/* h1 - h6, newslink */

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

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4:not(.h4link),
h5,
h6 {
    margin-bottom: clamp(20px, 2vw, 30px);
}

:is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-style: normal;
    font-weight: var(--weight-normal);
    font-family: "Comfortaa", sans-serif;
    display: block;
    width: max-content;
    max-width: 100%;
    border-radius: var(--border-radius-small) var(--border-radius-small) 0 var(--border-radius-small);
    padding: 10px 16px 9px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 56, 56, 0.2);
}

.xs-text-center :is(h1, h2, h3, h4, h5, h6) :is(i, em),
:is(h1, h2, h3, h4, h5, h6)[style*="text-align"][style*="center"] :is(i, em) {
    margin-left: auto;
    margin-right: auto;
}

.tab-large-color :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    border-color: rgba(225, 225, 225, 0.4);
}

:is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-size: clamp(140%, 12vw, 177%);
    font-weight: 700;
    line-height: 1.05;
    background: var(--secondary-color) var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.large-heading :is(h1, h2, h3, h4, h5, h6),
.large-strong :is(b, strong) {
    font-size: clamp(2rem, 5vw, 3.75rem);
}

.large-strong :is(b, strong) {
    color: var(--main-color);
    font-weight: var(--weight-bold);
    font-family: "Kanit", sans-serif;
}

h1,
.h1,
.legacy_h1,
.index header :is(h1, h2, h3, h4, h5, h6),
.heading-h1 :is(h1, h2),
.index #content h2 {
    font-size: clamp(2rem, 4vw, 3.125rem);
}

h2,
.h2,
.legacy_h2,
#bewerbungsprozess-steps li::before {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
}

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

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

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

h6,
.h6,
.legacy_h6,
.tab-sg-grid .btgrid :is(h1, h2, h3, h4, h5, h6),
#job-nav ul.nav>li a,
#deine-bewerbung :is(h3, h4, h5, h6) {
    font-size: 1.5rem;
}

/* list */

main ul:not(.slick-dots, #content_buttons_div, .nav, #bewerbungsprozess-steps, .no-list-style) {
    margin: 0;
    padding-left: 0 !important;
}

main p+ul:not(.slick-dots, #content_buttons_div, .nav, #bewerbungsprozess-steps, .no-list-style) {
    margin-top: 20px;
}

main ul:not(.slick-dots, #content_buttons_div, .nav, #bewerbungsprozess-steps, .no-list-style) li {
    margin: 0;
    list-style: none;
    padding-left: 36px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14.755' viewBox='0 0 20 14.755'%3E%3Cpath d='M160.994-706.245,154-713.239l1.748-1.748,5.245,5.245L172.252-721,174-719.252Z' transform='translate(-154 721)' fill='%237c5ead'/%3E%3C/svg%3E%0A") top 4px left 0 / 20px auto no-repeat;
}

main ul:not(.slick-dots, #content_buttons_div, .nav, #bewerbungsprozess-steps, .no-list-style) li+li {
    margin-top: 15px;
}

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

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

footer {
    font-size: 1rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), #ffffff);
    box-shadow: 0 -40px 40px rgba(255, 255, 255, 0.9);
}

#footer {
    padding-bottom: 60px;
}

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

#footer :is(.contact-phone, .contact-fax, .contact-mail) {
    padding-left: 36px;
    background: top 5px left no-repeat;
}

@media (max-width: 575px) {
    #footer :is(.contact-phone, .contact-fax, .contact-mail) {
        padding-top: 36px;
        padding-left: 0;
        background: top center no-repeat;
    }
}

.contact-fax,
.contact-mail {
    margin-top: 22px;
}

#footer .contact-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M130-830.222v-8.667a1.075,1.075,0,0,1,.319-.792,1.075,1.075,0,0,1,.792-.319h7.778a1.075,1.075,0,0,1,.792.319,1.075,1.075,0,0,1,.319.792v5.556a1.075,1.075,0,0,1-.319.792,1.075,1.075,0,0,1-.792.319h-5.556l-2.389,2.389a.521.521,0,0,1-.611.139A.521.521,0,0,1,130-830.222ZM138.833-820a16.679,16.679,0,0,1-6.861-1.514,20.524,20.524,0,0,1-6.167-4.292,20.525,20.525,0,0,1-4.292-6.167A16.678,16.678,0,0,1,120-838.833a1.13,1.13,0,0,1,.333-.833,1.131,1.131,0,0,1,.833-.333h4.5a1.034,1.034,0,0,1,.694.264,1.015,1.015,0,0,1,.361.625l.722,3.889a1.959,1.959,0,0,1-.028.75,1.168,1.168,0,0,1-.306.528l-2.694,2.722a13.424,13.424,0,0,0,1.319,1.986,19.535,19.535,0,0,0,1.681,1.847,19.546,19.546,0,0,0,1.806,1.6,17.565,17.565,0,0,0,2,1.347l2.611-2.611a1.556,1.556,0,0,1,.653-.375,1.789,1.789,0,0,1,.792-.069l3.833.778a1.285,1.285,0,0,1,.639.4.978.978,0,0,1,.25.653v4.5a1.131,1.131,0,0,1-.333.833A1.131,1.131,0,0,1,138.833-820Z' transform='translate(-120 840)' fill='%233a77a8'/%3E%3C/svg%3E%0A");
}

#footer .contact-fax {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='17' viewBox='0 0 20 17'%3E%3Cpath d='M86-784v-14a1.926,1.926,0,0,1,.588-1.412A1.926,1.926,0,0,1,88-800h6a1.926,1.926,0,0,1,1.412.588A1.926,1.926,0,0,1,96-798v3h1a2.893,2.893,0,0,1,2.125.875A2.893,2.893,0,0,1,100-792v6a1.926,1.926,0,0,1-.588,1.412A1.926,1.926,0,0,1,98-784Zm-3.5,1a2.414,2.414,0,0,0,1.775-.725A2.414,2.414,0,0,0,85-785.5v-8a2.414,2.414,0,0,0-.725-1.775A2.414,2.414,0,0,0,82.5-796a2.414,2.414,0,0,0-1.775.725A2.414,2.414,0,0,0,80-793.5v8a2.414,2.414,0,0,0,.725,1.775A2.414,2.414,0,0,0,82.5-783ZM88-795h6v-3H88Zm6,5a.968.968,0,0,0,.713-.287A.968.968,0,0,0,95-791a.968.968,0,0,0-.287-.713A.968.968,0,0,0,94-792a.968.968,0,0,0-.713.287A.968.968,0,0,0,93-791a.968.968,0,0,0,.287.713A.968.968,0,0,0,94-790Zm3,0a.968.968,0,0,0,.713-.287A.968.968,0,0,0,98-791a.968.968,0,0,0-.287-.713A.968.968,0,0,0,97-792a.968.968,0,0,0-.713.287A.968.968,0,0,0,96-791a.968.968,0,0,0,.287.713A.968.968,0,0,0,97-790Zm-3,3a.968.968,0,0,0,.713-.287A.968.968,0,0,0,95-788a.968.968,0,0,0-.287-.713A.968.968,0,0,0,94-789a.968.968,0,0,0-.713.287A.968.968,0,0,0,93-788a.968.968,0,0,0,.287.713A.968.968,0,0,0,94-787Zm3,0a.968.968,0,0,0,.713-.287A.968.968,0,0,0,98-788a.968.968,0,0,0-.287-.713A.968.968,0,0,0,97-789a.968.968,0,0,0-.713.287A.968.968,0,0,0,96-788a.968.968,0,0,0,.287.713A.968.968,0,0,0,97-787Zm-8,0h2a.968.968,0,0,0,.713-.287A.968.968,0,0,0,92-788v-3a.968.968,0,0,0-.287-.713A.968.968,0,0,0,91-792H89a.968.968,0,0,0-.713.287A.968.968,0,0,0,88-791v3a.968.968,0,0,0,.287.713A.968.968,0,0,0,89-787Z' transform='translate(-80 800)' fill='%233a77a8'/%3E%3C/svg%3E%0A");
}

#footer .contact-mail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='16' viewBox='0 0 20 16'%3E%3Cpath d='M82-784a1.926,1.926,0,0,1-1.412-.588A1.926,1.926,0,0,1,80-786v-12a1.926,1.926,0,0,1,.588-1.412A1.926,1.926,0,0,1,82-800H98a1.926,1.926,0,0,1,1.412.588A1.926,1.926,0,0,1,100-798v12a1.926,1.926,0,0,1-.588,1.412A1.926,1.926,0,0,1,98-784Zm8-7.175a1,1,0,0,0,.262-.038,1.039,1.039,0,0,0,.263-.112L97.6-795.75a.827.827,0,0,0,.3-.312.863.863,0,0,0,.1-.412.815.815,0,0,0-.425-.75.8.8,0,0,0-.875.025L90-793l-6.7-4.2a.78.78,0,0,0-.875-.013.823.823,0,0,0-.425.738.916.916,0,0,0,.1.438.669.669,0,0,0,.3.287l7.075,4.425a1.039,1.039,0,0,0,.263.112A1,1,0,0,0,90-791.175Z' transform='translate(-80 800)' fill='%233a77a8'/%3E%3C/svg%3E%0A");
}

/* blog */

#footer .tab_link_entry {
    padding-left: 105px;
    position: relative;
    min-height: 50px;
    border: none !important;
}

#footer .tab_link_entry+.tab_link_entry {
    margin-top: 22px;
}

#footer .tab_link_title a {
    color: inherit;
    font-weight: 600;
}

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

#footer .tab_preview_picture {
    display: block;
    width: 85px;
    height: 50px;
    position: absolute;
    left: 0;
    top: calc(50% - 25px);
}

#footer .tab_preview_picture img {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    object-fit: cover;
    border-radius: var(--border-radius-large);
    margin: 0 !important;
    width: 100%;
    height: 100%;
}

#footer .tab_link :is(.tab_spacer, .tab_link_mehr, .vorschau) {
    display: none;
    visibility: hidden;
}

/* innerfooter */

#innerfooter {
    padding-top: var(--distance-min);
    padding-bottom: var(--distance-min);
}

#innerfooter::before {
    content: "";
    display: block;
    background: var(--text-color);
    height: 1px;
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    opacity: 0.2;
}

#innerfooter ul {
    padding: 0;
}

@media (min-width: 576px) {
    #innerfooter ul {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 40px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #innerfooter ul {
        justify-content: center;
    }
}

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

#innerfooter ul a::before {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    background: var(--main-color);
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 300ms linear, width 300ms linear;
}

#innerfooter ul a:is(:hover, :focus)::before {
    opacity: 1;
    width: 100%;
}

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