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

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

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

a {
    color: #d7006e;
}

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

#content a {
    text-decoration: underline;
}

b,
strong {
    font-weight: 600;
}

/* ------------------------------------------- stickyButton --------------------------------------------- */

.stickyButton {
	position: fixed;
	right: 50px;
	bottom: 50px;
	background: url(../img/dahlie-btn.png) no-repeat center / contain;
	font-size: 20px;
	font-weight: 700;
	color: #004f52;
	z-index: 12;
	width: 135.8px !important;
	height: 127.7px;
	display: block;
	display: flex;
	justify-content: center;
	align-content: center;
	padding: 47px 0;
	filter: drop-shadow(0 0px 2px rgba(0,0,0,0.3));
    text-decoration: none !important;
}

@media (max-width: 575px) {
    .stickyButton {
        position: relative;
        left: 0;
        top: 0;
        margin-top: -105px;
        margin-left: auto;
    }
}
/* ------------------------------------------- logo --------------------------------------------- */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

/* burgermenu for tablet */

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

    #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: #d7006e;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 11px;
        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: 6px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 0;
        position: sticky;
        z-index: 101;
        top: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 0 30px 0 rgba(161, 157, 157, 0.45);
    }

    nav.horizontally>.row {
        max-width: 1830px;
        width: 100%;
    }

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

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

    nav.horizontally .navbar-nav [class*="toplevel"]>ul {
        top: 100% !important;
        left: -225px;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

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

    nav.horizontally li[class*="toplevel"] {
        position: relative;
    }

    #myNavbar::after {
        content: "";
        position: fixed;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.7);
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    #myNavbar:is(:hover, :focus-within)::after {
        opacity: 1;
    }

    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: #494948;
    font-weight: 500;
    text-align: left;
    padding: 10px 30px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: clamp(15px, 2vw, 40px);
    }

    .navbar-default .navbar-nav>li>a {
        padding: 39px 0;
    }

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

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

/* secondlevel + thirdlevel dropdown-box */

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

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

nav.horizontally [class*="secondlevel"]>ul {
    background: #004f52;
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"]>ul {
        padding-left: 200px;
        min-width: 450px;
        min-height: 300px;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 200px;
        background-position: top center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        min-height: 100%;
        min-width: 250px;
    }

    nav.horizontally [class*="toplevel"] ul {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

/* secondlevel + thirdlevel */

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

@media (min-width: 992px) {

    .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        padding: 9px 25px;
    }
}

/* 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) {
    text-decoration: underline;
}

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

/* -------------------------------------------- banner ------------------------------------------ */

#slider {
    height: clamp(300px, 46vw, 450px);
    position: relative;
}

@media (min-width: 992px) {
    body.index #slider {
        height: clamp(450px, 69vw, 680px);
    }
}

#headerpic {
    padding: 0 0 30px 0;
    position: relative;
    background: rgba(164, 150, 148, 0.1);
}

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

@media (min-width: 992px) {
    #headerpic {
        padding: 80px 0 0 0;
        background: linear-gradient(to right, rgba(164, 150, 148, 0.1), rgba(164, 150, 148, 0.1) calc(50% + 185px), rgba(255, 255, 255, 0) calc(50% + 185px));
    }
}

#headerpic .nivo-controlNav{
    top: 20px;
    bottom: unset;
}

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

.slider-mask {
    display: none;
}

/* -------------------------------------------- jingle ------------------------------------------ */

#jingle {
    font-size: clamp(1.125rem, 3vw, 1.875rem);
    padding-right: 15px;
    z-index: 60;
}

@media (max-width: 991px) {
    #jingle {
        padding-left: 15px;
    }
}

@media (min-width: 992px) {
    #jingle {
        padding-right: 60px;
    }

    #jingle>* {
        margin-left: calc(clamp(80px, 8vw, 120px) * -1);
        width: auto;
    }

    body.index #jingle {
        margin-bottom: clamp(110px, 12vw, 220px);
    }
}

/* #region ------------------------------------ welcome ----------------------------------------- */

#welcome .textCol {
    padding-top: clamp(40px, 5vw, 60px);
    padding-bottom: clamp(40px, 5vw, 60px);
}

#welcome .tabHeadline {
    font-size: 1.75rem;
    color: #006165;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0;
}

#welcome h2 {
    color: #006165;
    font-size: 1.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    #welcome .bannerCol>.grow {
        width: calc(50vw - 75px);
        max-width: 785px;
    }
}

@media (min-width: 1200px) {
    #welcome .bannerCol>.grow {
        width: calc(50vw - 175px);
    }
}

#welcome .bannerCol .banner {
    background: #ffffff;
    padding: clamp(15px, 2vw, 30px);
    box-shadow: 0 10px 30px 0 rgba(161, 157, 157, 0.45);
}

@media (min-width: 992px) {
    #welcome .bannerCol {
        margin-top: -100px;
    }
}

@media (min-width: 1200px) {
    #welcome .bannerCol {
        margin-top: -190px;
    }
}

#welcome .bannerCol .banner img {
    display: block;
    width: 100%;
}

/* #endregion --------------------------------- welcome ----------------------------------------- */

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

#content,
#info,
#images>.row {
    text-align: left;
    padding-bottom: clamp(40px, 4vw, 60px);
    padding-top: clamp(40px, 4vw, 60px);
}

@media (min-width: 1200px) {

    #content,
    #images>.row {
        padding-top: clamp(60px, 6vw, 80px);
        padding-bottom: clamp(60px, 6vw, 80px);
    }

    #info {
        padding-top: clamp(60px, 6vw, 120px);
        padding-bottom: clamp(60px, 12vw, 170px);
    }

    body.index #content>.row>div+div {
        padding-left: 65px;
    }
}

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

/* ------------------------------------------- buttons ------------------------------------------ */

:is(body, #content) :is(.buttonsGhost, .buttonsBold) a {
    text-decoration: none;
}

:is(.buttonsGhost, .buttonsBold) a:not(:is([href*="mailto"], [href*="tel"])) {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 14px clamp(20px, 2vw, 40px);
    display: inline-block;
    line-height: 1;
}

:is(.buttonsGhost, .buttonsBold) a:not(:is([href*="mailto"], [href*="tel"]))+a {
    margin-left: clamp(20px, 2vw, 20px);
}

.buttonsGhost a:not(:is([href*="mailto"], [href*="tel"])) {
    border: 1px solid #004f52;
    color: #004f52;
}

.buttonsGhost.lightBtn a:not(:is([href*="mailto"], [href*="tel"])) {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.buttonsGhost.tabBtn a:not(:is([href*="mailto"], [href*="tel"])) {
    border: 1px solid rgba(238, 203, 125, 0.6);
    color: #e8c36d;
}

.buttonsBold a:not(:is([href*="mailto"], [href*="tel"])) {
    background: #004f52;
    color: #ffffff;
}

:is(.buttonsGhost, .buttonsBold) a:not(:is([href*="mailto"], [href*="tel"])):is(:hover, :focus) {
    background: #006165;
    color: #ffffff;
}

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

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

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

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

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 ------------------------------------- news/events ------------------------------------------- */

#info {
    background: #f6f4f4 url('../img/dahlie.png') right bottom no-repeat;
}

@media (min-width: 1200px) {
    #info>.row::before {
        position: absolute;
        display: block;
        content: 'Dahlien';
        font-size: clamp(150px, 16vw, 300px);
        color: rgba(0, 155, 164, 0.1);
        left: 0vw;
        top: -170px;
        font-weight: 700;
        letter-spacing: 3px;
        text-transform: uppercase;
    }
}

@media (min-width: 1500px) {
    #info>.row::before {
        left: -15vw;
    }
}

/* --------------------------------------------- @3ev events ------------------------------------------- */

#events {
    padding-top: 30px;
}

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

@media (min-width: 768px) {
    #events .tab_link_entries {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #events .tab_link_entry {
        width: calc(50% - 15px);
    }

    #events .tab_link_entry:nth-of-type(2n+1) {
        margin-right: 30px;
    }
}

#events a:hover {
    text-decoration: none;
}

#bg-events {
    padding: 60px 40px;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

/* ----------------------------------------- news events button ---------------------------------------- */

#events .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

#events .tab_link_mehr a,
#nw3 .tab_link_mehr a {
    background: #006165;
    font-weight: 600;
    font-family: "Asap", sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    padding: 10px 35px 10px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
}

#events .tab_link_mehr a::after,
#nw3 .tab_link_mehr a::after {
    content: "\00BB";
    display: block;
    position: absolute;
    right: 0;
    top: 9px;
    bottom: 9px;
    width: 35px;
    text-align: center;
    font-size: 16px;
    line-height: 18px;
}

#events .tab_link_mehr a:hover,
#events .tab_link_mehr a:focus,
#nw3 .tab_link_mehr a:hover,
#nw3 .tab_link_mehr a:focus {
    background: #004f52;
    color: #ffffff;
}

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

#events .tab_link_title a {
    font-weight: 600;
}

#events .tab_link_title a,
#events .tab_link_mandat a {
    color: inherit;
}

#events .tab_link_entry:not(:last-of-type) {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #ffffff;
}

@media (min-width: 768px) {
    #events .tab_link_entry:nth-last-of-type(2) {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }
}

#events .tab_spacer {
    display: none;
}

#events .tab_link_mehr {
    margin-top: 30px;
    position: absolute;
    right: 15px;
    bottom: -55px;
}

/* ----------------------------------------------- @3nw news -------------------------------------------- */

#nw3 {
    font-size: 1rem;
    padding-top: 30px;
    padding-bottom: 30px;
}

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

#nw3 .tabHeadline,
#events .tabHeadline {
    color: #006165;
    font-weight: 700;
    font-size: 1.625rem;
    margin-bottom: 30px;
}

#nw3 .tab_link_entry {
    position: relative;
    margin-left: 185px;
    min-height: 105px;
    padding: 20px;
    display: grid;
    background: #ffffff;
    border-bottom: none !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#nw3 .tab_link_entry+.tab_link_entry {
    margin-top: 15px;
    padding-top: 15px;
}

@media (min-width: 992px) {
    #nw3 .tab_link_entry {
        padding: 25px;
    }

    #nw3 .tab_link_entry+.tab_link_entry {
        margin-top: 25px;
        padding-top: 25px;
    }
}

#nw3 .tab_link_title {
    order: 1;
}

#nw3 .vorschau {
    order: 2;
    opacity: 1;
}

#nw3 .tab_date {
    order: 3;
}

#nw3 .tab_link_mandat a {
    color: #444444;
}

#nw3 .tab_link_title a {
    display: block;
    color: #444444;
    font-weight: 600;
    margin-bottom: 2px;
}

#nw3 .tab_link_entry::after {
    content: "";
    background: #ffffff url('../img/platzhalterbild-aktuelles.jpg') center no-repeat;
}

#nw3 .tab_preview_picture {
    background: #ffffff;
}

#nw3 .tab_link_entry::after,
#nw3 .tab_preview_picture {
    display: block;
    width: 170px;
    height: 100%;
    position: absolute;
    left: -185px;
    top: 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    #nw3 .tab_link_entry {
        margin-left: 0px;
        padding-top: 185px !important;
    }

    #nw3 .tab_link_entry::after,
    #nw3 .tab_preview_picture {
        display: block;
        width: 100%;
        height: 170px;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0px;
        right: 0px;
        overflow: hidden;
    }
}

#nw3 .tab_preview_picture img {
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#nw3 .tab_spacer,
#nw3 .tab_link_entry>div:nth-last-child(2) {
    display: none;
}

/* ----------------------------------------- @3nw mehr-button ---------------------------------------- */

#nw3 .tab_link_mehr {
    text-align: right;
    color: transparent;
    font-size: 0;
    margin-top: 15px;
}

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

/* ------------------------------------------------ @4tab ----------------------------------------------- */

#tab4 {
    padding: 90px 0 110px 0;
    position: relative;
}

@media (min-width: 1200px) {
    #tab4>.row::before {
        position: absolute;
        display: block;
        content: '';
        width: 528px;
        height: 669px;
        bottom: -190px;
        right: -30px;
        background: url('../img/ranke-rechts.png') no-repeat;
    }

    #tab4>.row::after {
        position: absolute;
        display: block;
        content: '';
        width: 528px;
        height: 669px;
        bottom: -110px;
        left: -20px;
        background: url('../img/ranke.png') no-repeat;
    }
}

@media (max-width: 767px) {
    #tab4 {
        padding: 30px 0;
    }
}

#tab4 .specialHeadline .tabHeadline {
    font-size: clamp(1.875rem, 3vw, 2.75rem);
    color: #444444;
    font-weight: 700;
    margin: 0;
}

#tab4 .specialHeadline {
    margin-bottom: clamp(15px, 4vw, 45px);
}

@media (min-width: 768px) {
    #tab4 .specialHeadline {
        max-width: 80%;
    }
}

#tab4 .tabBox {
    border-radius: 8px;
    min-height: 100%;
    padding: 70px 40px 60px 40px;
    transition: transform 300ms linear;
    background: #ffffff;
    box-shadow: 0px 20px 30px 0px rgba(57, 107, 138, 0.16);
    -webkit-box-shadow: 0px 20px 30px 0px rgba(57, 107, 138, 0.16);
    -moz-box-shadow: 0px 20px 30px 0px rgba(57, 107, 138, 0.16);
    z-index: 12;
    position: relative;
}

#tab4 .tabBox.tabBox1 {
    background: #ffffff url('../img/blume-gelb.png') center center no-repeat;
}

#tab4 .tabBox.tabBox2 {
    background: #ffffff url('../img/blume-grün.png') center center no-repeat;
}

#tab4 .tabBox.tabBox3 {
    background: #ffffff url('../img/blume-blue.png') center center no-repeat;
}

#tab4 .tabBox.tabBox4 {
    background: #ffffff url('../img/blume-lila.png') center center no-repeat;
}

#tab4 .tabBox.tabBox5 {
    background: #ffffff url('../img/blume-magenta.png') center center no-repeat;
}

#tab4 .tabBox.tabBox6 {
    background: #ffffff url('../img/blume-rot.png') center center no-repeat;
}

#tab4 .tabBox:hover,
#tab4 .tabBox:focus {
    transform: scale(1.05);
}

#tab4 .tabBox img {
    margin-bottom: 25px;
}

#tab4>.row:last-child>*:not(:first-child, :nth-child(2))+* {
    margin-top: 30px;
}

@media (max-width: 767px) {
    #tab4>.row:last-child>*:not(:first-child)+* {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    #tab4>.row:last-child>*+* {
        margin-top: 30px;
    }
}

#tab4 a {
    color: #006165;
}

/* -------------------------------------------- slogan ------------------------------------------ */

#slogan {
    padding-top: clamp(40px, 6vw, 80px);
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
}

#sloganImg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: clamp(50px, 12vw, 100px) 0 clamp(50px, 12vw, 100px) 0;
    color: #ffffff;
    background-color: #006165;
}

#sloganImg :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.75rem, 4vw, 2.125rem);
    font-weight: 600;
    margin-bottom: 35px;
    text-transform: uppercase;
}

#sloganImg :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

#sloganImg a:is([href*="mailto"], [href*="tel"]) {
    text-decoration: underline;
}

#sloganImg .btgrid {
    padding: 30px;
    background-color: #ffffff;
}

/* -------------------------------------------- footer ------------------------------------------ */

footer {
    background: #f6f4f4;
}

/* ----------------------------------------------- @2f footer ----------------------------------------------- */

#footer {
    color: #444444;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #f6f4f4;
}

@media (min-width: 992px) {
    #footer {
        padding-top: 40px;
        padding-bottom: 45px;
    }
}

@media (min-width:768px) and (max-width: 991px) {
    #footer>.row>*+* {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #000000;
        content: " ";
        display: block;
        height: 1px;
        margin: 25px 0;
        opacity: 0.2;
        width: 100%;
    }

    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

/* --------------------------------------------- logoFooter -------------------------------------------- */

#logoFooter {
    display: inline-block;
}

#logoFooter img {
    display: block;
}

/* --------------------------------------------- footerTab -------------------------------------------- */

#footerTab {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 2px solid #c9c9c9;
}

#footerTab a {
    color: #004f52;
}

/* ----------------------------------------------- scrollTop ----------------------------------------------- */

#scrollTop {
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    opacity: 1 !important;
    max-width: 170px;
    padding: 10px 20px;
    margin: 0 auto 25px auto;
    background-color: #004f52;
}

@media (min-width: 768px) {
    #scrollTop {
        margin: auto 0 45px auto;
    }
}

#scrollTop:hover,
#scrollTop:focus {
    background-color: #006165
}

#scrollTop span {
    position: relative;
    display: inline-block;
    font-size: 0;
    height: 35px;
    width: 18px;
    margin-right: 4px;
    transition: border-radius 300ms linear;
}

#scrollTop span::after {
    content: "";
    position: absolute;
    display: inline-block;
    margin-top: -1px;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(-45deg);
}

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

#vernetzt {
    color: #565655;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 auto;
    text-align: right;
    text-decoration: none;
}

@media (min-width: 768px) {
    #vernetzt {
        margin: 0;
    }
}

#vernetzt span {
    color: #565655;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 15px;
}

/* ---------------------------------------------- footer2 ---------------------------------------------- */

#footer2 {
    background: #004f52;
    padding: 30px 0;
    color: #ffffff;
    font-size: 1rem;
}

@media (min-width: 768px) {
    #footer2 {
        padding: 15px 0;
    }
}

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

@media (max-width: 767px) {
    #innerfooter {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

#innerfooter ul {
    display: block;
    padding: 0;
}

@media (min-width: 576px) {
    #innerfooter ul {
        display: flex;
        justify-content: center;
    }

    #innerfooter li+li::before {
        content: "\2022";
        color: #ffffff;
        margin: 0 15px;
    }
}

@media (min-width: 992px) {
    #innerfooter ul {
        justify-content: flex-start;
    }
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
}

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

/* --------------------------------------------- contactSocial -------------------------------------------- */

#footer2 .contactSocial p {
    line-height: 1;
    padding: 8px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #ffffff;
    transition: background 300ms linear;
}

#footer2 .contactSocial p+p,
#footer2 .contactSocial a+a {
    margin-left: 15px;
}

#footer2 .contactSocial p:hover,
#footer2 .contactSocial p:focus {
    background: #010101;
}

#footer2 .contactSocial p:hover img,
#footer2 .contactSocial p:focus img {
    filter: invert(100%) sepia(4%) saturate(1231%) hue-rotate(244deg) brightness(117%) contrast(100%);
}