@import url('https://fonts.verwaltungsportal.de/import/?family=Work+Sans:400,400i,600,600i%7CTeko:500,700');

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

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #4c4c4c;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
    color: #0b769f;
}

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

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

main a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
    display: inline-block;
    margin: 0 25px 0 0;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        margin: 5px 0;
    }

    #logo img {
        max-width: 140px;
        width: 100%;
    }

    #logo .row {
        margin-left: -30px;
        margin-right: -30px;
    }
}

@media (max-width: 767px) {
    #logo {
        margin-top: 0;
    }
}

.wortmarke {
    color: #0b7099;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 700;
    font-family: "Teko", sans-serif;
}

.wortmarke :is(h1, h2, h3, h4, h5, h6) {
    color: #0b7099;
    font-size: clamp(2.1875rem, 3vw, 3.4375rem);
    font-weight: 700;
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

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

/* burgermenu for tablet */

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

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #1a1a1a;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #fcefb4;
        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: 11px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 50px 0;
        transition: background 300ms linear, padding 300ms linear;
    }

    .is-sticky nav.horizontally {
        padding: 20px 0;
        background: #fcefb4;
        border-bottom: 2px solid #fee04a;
    }

    .sticky-wrapper {
        z-index: auto;
    }

    .is-sticky.sticky-wrapper {
        z-index: 101;
    }

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

    nav.horizontally [class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

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

    nav.horizontally .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally .navbar-nav {
        padding-right: 20px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    font-family: "Teko", sans-serif;
    color: #0b7099;
    font-weight: 500;
    text-align: left;
    padding: 13px 15px 11px 15px;
    position: relative;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    transition: border 300ms linear;
}

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

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 8px 8px 6px 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

/* 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) {
    border-color: #1a1a1a;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #ffffff;
    border: 2px solid #1a1a1a;
}

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

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

@media(min-width: 992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        padding: 8px 30px;
    }
}

@media(max-width: 991px) {
    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: #0b769f;
}

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

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

#search {
    background: #ffffff;
    position: relative;
    color: #333333;
    line-height: 1;
    border: 2px solid #ffffff;
    overflow: hidden;
}

@media (max-width: 991px) {
    #search {
        margin-top: 5px;
    }
}

@media (min-width: 992px) {
    #search {
        z-index: 101;
        max-width: 260px;
        transition: margin 300ms linear, width 300ms linear;
    }
}

#search label {
    font-weight: 500;
    padding: 8px 15px 6px 13px;
    line-height: 1.2;
    color: #0b769f;
    font-family: "Teko", sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    #search label {
        padding: 8px 9px 6px 9px;
        font-size: 0.9375rem;
    }
}

#search_input {
    color: #ffffff;
    background-color: #0b769f;
    font-style: normal;
    border: 0;
    padding: 11px 36px 12px 12px;
    width: 100%;
    font-size: 1rem;
}

@media (max-width: 991px) {
    #search_input {
        padding: 11px 30px 12px 10px;
        font-size: 0.875rem;
    }
}

#search_submit {
    width: 36px;
    background: #0b769f url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%23fff'/%3E%3C/svg%3E") center / 22px auto no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    transition: background-color 300ms linear;
}

:is(#search_submit, #search_input):is(:hover, :focus) {
    background-color: #1a1a1a;
}

#search_input::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
    font-style: italic !important;
}

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

/* #region -------------------------------------- header ---------------------------------------- */
header {
    position: relative;
}

header::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    background: url('../img/kinder.png') bottom -1px left no-repeat, linear-gradient(45deg, rgba(250, 253, 246, 1) 0%, rgba(252, 239, 180, 1) 100%);
    pointer-events: none;
    width: 100%;
    border-bottom: 2px solid #fee04a;
}

@media (min-width: 992px) {
    header::before {
        width: calc(50% + 414px);
    }
}

@media (min-width: 1200px) {
    header::before {
        width: calc(50% + 500px);
    }
}

:is(nav.horizontally, #headerpic)>.row>*:first-child {
    background: #fcefb4;
}

nav.horizontally>.row>*:first-child>* {
    position: relative;
    z-index: 101;
}

#headerpic>.row>*:first-child>* {
    position: relative;
    z-index: 3;
}

header,
header :is(h1, h2, h3, h4, h5, h6, a) {
    color: #1a1a1a;
}


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

/* #region -------------------------------- scroll bottom --------------------------------------- */

#scrollBottom {
    font-size: 0;
    display: block;
    width: 36px;
    height: 36px;
    margin: 30px 9% 0 auto;
    text-align: center;
    background-color: #0b7099;
    pointer-events: auto;
    animation: bounceAni 2s infinite 2s;
    transition: all .2s ease-in;
    outline: 2px solid #ffd400;
}

@media (max-width: 991px) {
    #scrollBottom {
        margin: 30px auto 0 auto;
    }
}

#scrollBottom:is(:hover, :focus) {
    animation-play-state: paused;
}

#scrollBottom::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 1px;
    margin-top: 10px;
    display: inline-block;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transition: border 300ms linear;
}

@keyframes bounceAni {

    0%,
    100%,
    20%,
    50%,
    80% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

#scrollBottom:is(:hover, :focus)::after {
    border-color: #ffd400;
}

/* #endregion ----------------------------- scroll bottom --------------------------------------- */

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

#slider {
    height: 180px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    body.index #slider {
        height: 380px;
    }
}

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

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

#headerpic {
    padding: 4px 0 clamp(30px, 6vw, 55px) 0;
    position: relative;
}

@media (max-width: 991px) {
    #headerpic {
        padding-top: clamp(25px, 6vw, 62px);
    }
}

.slider-mask {
    display: none;
}

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

@media (min-width: 1200px) {
    .slider-wrapper {
        max-width: 600px;
        margin-left: auto;
        margin-right: -100px;
    }
}

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

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

#news {
    background: url('../img/jugendliche.png') bottom right no-repeat, linear-gradient(to right, rgba(252, 239, 180, 1) 0%, rgba(250, 253, 246, 1) 80%);
}

#news>.row {
    padding-bottom: clamp(30px, 10vw, 110px);
}

/* tab */

#news .tab-img {
    position: relative;
    z-index: 1;
}

#news .tab {
    font-size: 1rem;
    position: relative;
    z-index: 2;
    color: #0b769f;
    background: #ffffff;
    padding: clamp(15px, 3vw, 35px) clamp(15px, 3vw, 40px) clamp(15px, 3vw, 25px) clamp(15px, 3vw, 40px);
}

#news.tab,
#news .tab :is(h1, h2, h3, h4, h5, h6, a) {
    color: #0b769f;
}

#news.tab-img .banner img {
    display: block;
}

@media (min-width: 576px) {
    #news .tab {
        margin-right: -30px;
    }
}

#news .tab-img .banner {
    position: relative;
}

@media (min-width: 992px) {
    #news .tab-img .banner {
        position: absolute;
        left: 15px;
        right: 15px;
    }

    #news .tab-img .banner {
        top: 70px;
        bottom: 70px;
    }

    #news .tab-img .banner img {
        object-fit: cover;
        object-position: 50% 100%;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    #news .tab {
        display: inline-block;
    }

    #news .tab {
        margin: 100px -30px 0 30px;
    }
}

#news .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(2rem, 5vw, 2.8125rem);
    text-transform: uppercase;
    margin-bottom: 0;
}

/* tabnews */

#news .tab-container {
    font-size: 1rem;
    border: clamp(4px, 1vw, 10px) solid #0b769f;
    background-color: #ffffff;
    background-repeat: no-repeat;
    padding: clamp(10px, 5vw, 75px) 30px 30px 0;
}

#news .tab-container {
    background-image: url('../img/volleyball.png');
    background-position: top -10px right -10px;
}

@media (min-width: 768px) {
    #news .tab-container {
        margin-left: -115px;
        min-height: 400px;
    }

    #news .tab-container {
        padding-left: 115px;
    }
}

@media (min-width: 992px) {
    #news .tab-container {
        padding-left: 135px;
    }
}

@media (min-width: 1200px) {
    #news .tab-container {
        margin-left: -215px;
    }

    #news .tab-container {
        padding-left: 235px;
    }
}

#news .tab_link {
    padding-left: 30px;
}

#news .tab_link_entry {
    border-bottom: none !important;
    position: relative;
    padding: clamp(20px, 4vw, 30px) 0;
}

#news .tab_link_entry {
    padding-top: calc(100px + clamp(15px, 4vw, 30px));
}

#news .tab_link_entry+.tab_link_entry {
    border-top: 1px solid rgba(51, 51, 51, 0.35);
}

#news .tab_link_entry .tab_link_title a {
    font-size: 1.25rem;
    line-height: 1.2;
    display: block;
    color: #0B769F;
    font-weight: 600;
}

#news .tab_link_entry .tab_link_title {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    #news .tab_link_entry .tab_link_title {
        margin-left: 100px;
        margin-bottom: 25px;
    }

    #news .tab_link_entry:not(:has(.tab_date)) .tab_link_title {
        margin-top: -74px;
        margin-bottom: 35px;
    }

    #news .tab_link_entry .tab_date {
        margin-top: -84px;
        margin-left: 100px;
    }
}

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

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background: #f0f0f0 center / cover no-repeat;
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    position: absolute;
    top: clamp(20px, 4vw, 30px);
    left: 0;
}

#news .tab_link_entry .tab_preview_picture img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
}

#news .tab_link :is(.tab_spacer, .tab_link_mehr) {
    display: none;
}

@media (min-width: 992px) {
    #news .button-design {
        margin-top: 10px;
    }
}

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



/* #region ----------------------------------- deco stripes ------------------------------------- */

:is(#news, #headerpic)>.row::before {
    content: "";
    display: block;
    width: 186px;
    height: 145px;
    position: absolute;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 6%, rgba(255, 255, 255, 0) 6%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.35) 56%, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0) 100%);
    background-size: 10px 10px;
    pointer-events: none;
}

@media (max-width: 991px) {

    :is(#news, #headerpic)>.row::before {
        opacity: 0.5;
    }
}

#headerpic>.row::before {
    right: -15px;
    bottom: -110px;
}

#news>.row::before {
    left: -125px;
    bottom: 60%;
}

/* #endregion -------------------------------- deco stripes ------------------------------------- */




/* #region ------------------------------------- resp gaps -------------------------------------- */

:is(#footer-bg, #footer2-bg, #news, #events)>.row {
    row-gap: 30px;
}

#headerpic>.row>:first-child>.row {
    row-gap: clamp(20px, 3vw, 62px);
}

/* #endregion ---------------------------------- resp gaps -------------------------------------- */

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

.button-design a:not(.has-image) {
    font-family: "Teko", sans-serif;
    display: inline-block;
    color: #0b769f;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    font-weight: 500;
    background: #ffffff;
    padding: 8px 25px 4px 25px;
    text-decoration: none;
    border: 1px solid #ffd400;
}

#header-text.button-design a:not(.has-image) {
    color: #fff;
    background: #1a1a1a;
    margin-top: clamp(5px, 2vw, 25px);
}

@media(min-width: 1200px) {
    #header-text.button-design a:not(.has-image) {
        padding-left: 35px;
        padding-right: 35px;
    }
}

:is(.button-design, #header-text.button-design) :is(a:not(.has-image):hover, a:not(.has-image):focus) {
    color: #ffffff;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.button-design a:not(.has-image)+a:not(.has-image) {
    margin-left: clamp(10px, 2vw, 25px);
}

@media (max-width: 991px) {
    .button-design a:not(.has-image)+a:not(.has-image) {
        margin: 5px 0;
    }
}

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

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

#content-area {
    text-align: left;
    padding-top: clamp(40px, 6vw, 60px);
    padding-bottom: clamp(40px, 10vw, 100px);
}

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #0b769f;
    font-weight: 700;
    line-height: 1.1;
    font-family: "Teko", sans-serif;
    margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2.375rem, 5vw, 3.75rem);
    margin-bottom: clamp(15px, 4vw, 25px);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(2.125rem, 4.5vw, 3.125rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}

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

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

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.4375rem, 2.5vw, 1.625rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

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

footer {
    font-size: 1rem;
}

#footer2-bg {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

:is(#footer-bg, #footer2-bg)::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

@media (min-width: 576px) {
    :is(#footer-bg, #footer2-bg)::after {
        left: clamp(-365px, -19vw, -15px);
    }
}

#footer {
    border-top: 2px solid #fee04a;
}


#footer2-bg,
#footer2-bg::after {
    background: #0b769f;
}

#footer-bg {
    padding-top: clamp(30px, 6vw, 55px);
    padding-bottom: clamp(30px, 6vw, 55px);
}

#footer2-bg {
    padding-top: 27px;
    padding-bottom: 27px;
}

@media (min-width: 992px) {
    :is(#footer-bg, #footer2-bg)>.row>*:last-child {
        padding-right: 60px;
    }
}

#footer2-bg :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    text-transform: uppercase;
    font-weight: 500;
}

.footer-headline {
    padding-top: clamp(55px, 8vw, 70px);
    background-position: top center;
    background-repeat: no-repeat;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 500;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .footer-headline {
        background-position-x: 0px;
    }
}

.contact-headline {
    background-image: url("../img/icon-team.png");
}

.link-headline {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M23.4 36q-4.8-.25-8.1-3.7T12 24q0-5 3.5-8.5T24 12q4.85 0 8.3 3.3 3.45 3.3 3.7 8.15l-3.15-1q-.55-3.2-3-5.325T24 15q-3.75 0-6.375 2.625T15 24q0 3.35 2.125 5.825t5.325 3.025Zm2.4 7.9q-.45.05-.9.075-.45.025-.9.025-4.15 0-7.8-1.575-3.65-1.575-6.35-4.275-2.7-2.7-4.275-6.35Q4 28.15 4 24t1.575-7.8Q7.15 12.55 9.85 9.85q2.7-2.7 6.35-4.275Q19.85 4 24 4t7.8 1.575q3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 .45-.025.9t-.075.9l-2.9-.9V24q0-7.1-4.95-12.05Q31.1 7 24 7q-7.1 0-12.05 4.95Q7 16.9 7 24q0 7.1 4.95 12.05Q16.9 41 24 41h.9ZM41.05 45l-8.55-8.55L30 44l-6-20 20 6-7.55 2.5L45 41.05Z' fill='%231a1a1a'/%3E%3C/svg%3E");
}

#footer-bg a {
    color: #1a1a1a;
}

#footer-bg a {
    padding: 2px 6px;
    text-decoration: underline;
    margin: 0 -6px;
}

#footer-bg a:is(:hover, :focus) {
    color: #0B769F;
}

#innerfooter ul {
    padding: 0;
    line-height: 1.8;
}

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

/* #region -------------------------------------- vernetzt -------------------------------------- */

#vernetzt {
    gap: 22px;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span {
    display: block;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */

/* #region ------------------------------------- scroll top ------------------------------------- */

#scroll-top-btn {
    color: #0b769f;
    display: inline-block;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M14.15 30.75 12 28.6l12-12 12 11.95-2.15 2.15L24 20.85Z' fill='%230b769f'/%3E%3C/svg%3E") center right 9px / 24px auto no-repeat;
    font-size: 0.875rem;
    padding: 5px 38px 7px 20px;
    text-decoration: none;
    outline: 1px solid #ffd400;
}

#scroll-top-btn a {
    color: #0b769f;
}

#scroll-top-btn:is(:hover, :focus) {
    color: #1a1a1a;
    background: #fcefb4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M14.15 30.75 12 28.6l12-12 12 11.95-2.15 2.15L24 20.85Z' fill='%231a1a1a'/%3E%3C/svg%3E") center right 9px / 24px auto no-repeat;
}

/* #endregion ------------------------------- scroll top ---------------------------------------- */