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

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

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

a {
    color: #d21904;
}

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

#contentBox a,
b,
strong {
    font-weight: 500;
}

#contentBox a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
    outline: 3px solid #0066ff !important;
}

/* ------------------------------------------- contact ------------------------------------------ */

.contact {
    background-color: #f0e0ba;
    color: #191919;
    font-size: 0.75rem;
    padding: 6px 0;
    font-weight: 500;
}

@media (max-width: 991px) {
    nav.horizontally .contact {
        padding: 15px 0;
    }

    nav.horizontally .contact p+p {
        margin-top: 8px;
    }
}

@media (min-width: 992px) {
    .contact p {
        margin: 0;
        display: inline-block;
    }

    .contact p+p {
        margin-left: 30px;
    }
}

.contact a {
    color: #191919;
    text-decoration: underline;
}

.contact :is(b, strong) {
    font-weight: 600;
}

.contact img {
    display: inline-block;
    margin-right: 2px;
    vertical-align: middle;
}

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

#logo {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 15px;
    text-decoration: none;
}

#logo .logoImg img {
    display: block;
}

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

#logo .logoTxt {
    color: #d21904;
    font-weight: 400;
    line-height: 1;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-family: "Fraunces", serif;
}

#logo .logoTxt :is(b, strong) {
    color: #3c4241;
    display: block;
    font-weight: 600;
    line-height: 1;
    font-size: clamp(1.125rem, 3vw, 2.3125rem);
    font-family: "Fraunces", serif;
}

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

/* burgermenu for tablet */

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

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: #ffffff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #d21904;
        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: #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;
    }

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

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        background: #ffffff;
        padding: 30px 0;
        transition: all 0.2s 0s linear;
    }

    .is-sticky nav.horizontally {
        padding: 10px 0;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    }

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

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #3c4241;
    font-weight: 600;
    text-align: left;
    padding: 10px 15px 14px 15px;
    position: relative;
    font-size: 1.0625rem;
    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.8);
    }

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

    nav.horizontally a[class*="toplevel"] {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

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

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

nav.horizontally a[class*="toplevel"]::before {
    content: "";
    width: 0;
    height: 4px;
    display: block;
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    bottom: 0;
    background-color: #f0e0ba;
    opacity: 0;
    transition: opacity 300ms linear, width 300ms linear;
}

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

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

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-color: #ffffff;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
}

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

    nav.horizontally [class*="secondlevel"]>ul {
        padding-left: 10px;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 10px;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

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

    nav.horizontally [class*="secondlevel"]>ul {
        margin-top: -10px;
        border-radius: 3px;
        margin-left: 10px;
    }

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #3c4241;
    font-weight: 400;
    text-align: left;
    padding: 9px 25px 9px 35px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

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

    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
    content: "";
    display: block;
    position: absolute;
    left: 20px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f0e0ba;
    transition: background 300ms linear;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

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

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

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

/* ----------------------------------------- button design -------------------------------------- */

.buttonStyle a {
    display: inline-block;
    background: #d21904;
    border-radius: 3px;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-size: 0.75rem;
    padding: 5px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

@media (min-width: 768px) {
    .buttonStyle a+a {
        margin-left: 12px;
    }
}

.buttonStyle a:is(:hover, :focus) {
    color: #ffffff;
    background: #191919;
    border-color: #191919;
}

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

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

#slider {
    height: clamp(300px, 42vw, 400px);
    position: relative;
    border-radius: 3px;
}

.slider-wrapper,
.nivo-main-image,
#slider>a>div {
    height: 100% !important;
}

@media (min-width: 768px) {
    #slider {
        height: clamp(300px, 42vw, 400px);
        max-height: 650px;
    }

    #headerpic {
        height: 100% !important;
        max-height: 650px;
    }
}

@media (min-width: 992px) {
    #slider {
        min-height: clamp(300px, 42vw, 400px);
    }

    body.index #slider {
        min-height: 500px;
    }
}

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 3px;
}

.slider-mask {
    display: none;
}

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

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

#headerTab {
    border-radius: 3px;
    background: #f0e0ba;
    color: #191919;
    height: 100%;
    min-height: 100%;
}

.headerContent {
    padding: 35px 30px 30px 30px;
}

.headerContent :is(h1, h2, h3, h4, h5, h6) {
    font-size: 2rem;
    margin-bottom: 22px;
    color: #191919;
}

.headerContent :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    color: #191919;
    display: block;
    font-style: normal;
    font-size: 68%;
}

/* #region ----------------------------------- search ------------------------------------------- */

.search {
    padding: 30px;
}

.headerContent+.headerContent2 {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

form[id^="search"] {
    display: flex;
    flex-wrap: wrap;
}

form[id^="search"] label {
    display: block;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 18px;
    line-height: 1;
    width: 100%;
}

form [id^="search_input"] {
    color: #383838;
    font-size: 0.9375rem;
    font-style: normal;
    padding: 8px 10px 8px 14px;
    border: 0;
    width: calc(100% - 38px);
    background: #ffffff !important;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

form [id^="search_submit"] {
    width: 38px;
    flex-shrink: 0;
    border: none;
    background: #ffffff url('../img/lupe-icon.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    font-size: 0;
    transition: background 150ms linear;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

form [id^="search_submit"]:is(:hover, :focus) {
    background-color: #f6ecd6;
}

form [id^="search_input"]::placeholder {
    color: #383838 !important;
    opacity: 1 !important;
    font-style: italic !important;
}

/* #endregion -------------------------------- search ------------------------------------------- */

/* #region ------------------------------ styler + contrast ------------------------------------- */

@media (min-width: 992px) {
    #styleContrast {
        margin: 0;
        hyphens: auto;
    }

    #styleContrast>* {
        padding: 11px 10px 15px 10px;
    }

    #style {
        background: #f3e6c8;
    }

    #contrast_style {
        background: #f6ecd6;
    }

    #styleContrast h2 {
        color: inherit;
        font-weight: inherit;
        font-size: 0.875rem;
        margin-bottom: 9px;
    }

    #styleContrast button {
        font-size: 18px;
        padding: 0 0 2px 0 !important;
        border: none;
        color: #191919;
        display: inline-block;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        font-weight: 500;
        text-align: center;
        background: #ffffff;
        position: relative;
        line-height: 1;
    }

    #contrast_style button::after {
        content: "";
        display: block;
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 1px solid #3c4241;
        background: linear-gradient(to left, #3c4241, #3c4241 50%, rgba(255, 255, 255, 0) 50%);
        background-color: #ffffff;
    }

    #contrast_style button:nth-of-type(2)::after {
        transform: scaleX(-1);
    }

    #contrast_style button:nth-of-type(3)::after {
        background: #d21904;
    }

    #styleContrast button+button {
        margin-left: 4px;
    }

    #styleContrast button:is(:hover, :focus) {
        color: #ffffff;
        background: #d21904;
    }
}

/* #endregion --------------------------- styler + contrast ------------------------------------- */

/* #region --------------------------------- news + events -------------------------------------- */

#news .tab,
#eventsBG {
    border-radius: 3px;
    background-color: #f0e0ba;
    overflow: hidden;
}

:is(#news, #events) .tab {
    padding: 30px;
    hyphens: auto;
    color: #191919;
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
}

:is(#news, #events) .tabHeadline {
    color: #191919;
    margin: 0 0 clamp(15px, 2vw, 25px) 0;
}

:is(#news, #events) .tab_link_entry {
    font-size: 1rem;
    position: relative;
    width: 100%;
}

:is(#news, #events) .tab_link_title a {
    line-height: 1.2;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 8px;
}

:is(#news, #events) .tab_link_entries {
    display: grid;
}

@media (min-width: 576px) {
    :is(#news, #events) .tab_link_entries {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    #events .tab_link_entries {
        grid-template-columns: repeat(3, 1fr);
    }
}

#news .tab,
:is(#news, #events) .tab_link,
:is(#news, #events) .tab_link_entries {
    height: 100%;
    min-height: 100%;
}

#eventsBG .tab_link_mehr,
:is(#news, #events) .tab_link_entries .tab_spacer,
:is(#news, #events) .tab_link_entry>.tab_link_mehr {
    display: none;
}

/* #endregion ------------------------------ news + events -------------------------------------- */

/* #region ------------------------------------- news ------------------------------------------- */

#news {
    padding-top: 30px;
}

#news>.row {
    row-gap: 30px;
}

#news .tab {
    background-image: url('../img/icon-zeitung.png');
}

#news .tab_link_entries {
    gap: 30px;
}

#news .tab_link_entry {
    background: #ffffff;
    border-radius: 3px;
    padding: 160px 30px 30px 30px;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

#news .tab_link_entry .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#news .tab_link_entry .tab_preview_picture {
    z-index: 2;
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

#news .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#news .tab_date {
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    left: -1px;
    top: 105px;
    z-index: 3;
    display: inline-block;
    padding: 6px 20px;
    background: #d21904;
    color: #ffffff;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

#news .tab_link_title a {
    color: #191919;
}

/* #endregion ---------------------------------- news ------------------------------------------- */

/* --------------------------------------------- events ----------------------------------------- */

#events {
    margin-bottom: clamp(40px, 5vw, 80px);
}

#eventsBG .tab {
    background-image: url('../img/icon-kalender.png');
}

#events .tab_link_entry {
    color: #191919;
    padding: 30px;
    border: none !important;
    background: #f0e0ba;
}

#events .tab_link_entry a {
    color: #191919;
}

#events .tab_link_mandat a {
    text-decoration: underline;
}

@media (max-width: 767px) {
    #events .tab_link_entry:nth-child(2n+1) {
        background: #f3e6c8;
    }
}

@media (min-width: 768px) {
    #events .tab_link_entry:is(:nth-child(6n+1), :nth-child(6n+3), :nth-child(6n+5)) {
        background: #f3e6c8;
    }

    #events .tab_link_entry:is(:nth-child(6n+3), :nth-child(6n+4)) {
        background: #f6ecd6;
    }
}

.tabButtons {
    border-radius: 3px;
    background-color: #f0e0ba;
    height: 100%;
    padding: 20px 10px;
}

.tabButtons a {
    background-color: #fff;
    padding: 12px 60px 12px 25px;
    color: #191919;
    font-size: 0.875rem;
    position: relative;
    display: block;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.tabButtons a:hover {
    color: #d21904;
}

.tabButtons a::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    width: 38px;
    height: 44px;
    background: url('../img/wappen-wittlich-land.png') no-repeat;
}

.tabButtons p:last-of-type a::after {
    width: 36px;
    height: 43px;
    background: url('../img/wappen-btns.png') no-repeat;
}

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

#contentBox {
    text-align: left;
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(40px, 5vw, 80px);
}

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

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

h1,
.h1,
.legacy_h1 {
    font-size: 2rem;
}

h2,
.h2,
.legacy_h2 {
    font-size: 1.75rem;

}

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

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

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

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

/* #region ------------------------------------ contact ----------------------------------------- */

#contact {
    overflow: hidden;
    background: #f0e0ba;
}

#contact>.row>div {
    padding-top: clamp(40px, 4vw, 70px);
    padding-bottom: clamp(40px, 4vw, 60px);
}

#contact>.row>div:last-child {
    position: relative;
    background: #f3e6c8;
}

@media (min-width: 768px) {
    #contact>.row>div:last-child {
        padding-left: clamp(30px, 3vw, 50px);
    }
}

#contact>.row>div:last-child::after,
#contact>.row>div:last-child::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    background: #f3e6c8;
    width: 50vw;
}

#contact>.row>div:last-child::after {
    right: -50vw;
}

#contact>.row>div:last-child::before {
    left: -50vw;
}

@media (min-width: 768px) {
    #contact>.row>div:last-child::before {
        display: none;
    }
}

#contact :is(h1, h2, h3, h4, h5, h6, .tab, .tab a) {
    color: #191919;
}

#contact .tab a {
    text-decoration: underline;
}

#contact .tab :is(h4, h5, h6) {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

#contact .tabHeadline::after {
    content: "";
    display: block;
    background: #ffffff;
    width: 120px;
    height: 4px;
    margin: 15px 0 20px 0
}

#contact .tabHeadline2 {
    font-size: 1.25rem;
    margin: 0 0 15px 0;
    width: 100%;
}

#contact .phoneNumber {
    background: #ffffff url('../img/icon-telefon.png') center left 20px no-repeat;
    border-radius: 3px;
    padding: 7px 20px 7px 72px;
    font-weight: 600;
    font-size: clamp(1.625rem, 2vw, 2rem);
    width: 100%;
}

#contact .phoneNumber :is(h1, h2, h3, h4, h5, h6) {
    color: #191919;
}

#contact table :is(td, th) {
    padding: 0 4px;
}

#contact table :is(td, th):first-of-type {
    padding: 0;
}

/* #endregion --------------------------------- contact ----------------------------------------- */

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #f6ecd6;
}

#f5>.row {
    row-gap: 12px;
}

/* --------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #191919;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #191919;
    text-decoration: underline;
    text-decoration-color: #d21904;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

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

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

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter li+li::before {
        display: none;
    }
}

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    gap: 12px;
    text-align: right;
    font-size: 0.9375rem;
    color: #191919;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt strong {
    font-weight: 600;
}

#vernetzt span span {
    display: block;
}

/* ------------------------------------------ contrast ------------------------------------------ */

.contrast_light_font form [id^="search_submit"] {
    background: url('../img/lupe-icon.png') center no-repeat;
}

:is(.contrast_light_font, .contrast_dark_font) #contact>.row>div:last-child::after,
:is(.contrast_light_font, .contrast_dark_font) #contact>.row>div:last-child::before {
    display: none !important;
}

:is(.contrast_light_font, .contrast_dark_font) #news .tab_link_title a {
    filter: unset !important;
}

.contrast_dark_font #news .tab {
    background: #ffffff !important;
}