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

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

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
    color: #4f4f4f;
    background: #f6f5f0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #c01b5a;
}

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

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

#logo {
    padding: 30px 0;
}

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

.over {
    overflow: hidden;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #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: #c01b5a;
        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: #f6f5f0;
        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-color: #f6f5f0;
        padding-top: 10px;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 2px solid #191919;
    }

    .is-sticky nav.horizontally .navbar-nav {
        border: none;
    }

    .is-sticky nav.horizontally {
        box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
    }

    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: #191919;
    font-weight: 600;
    text-align: left;
    padding: 10px 15px 15px 15px;
    text-transform: uppercase;
    position: relative;
    font-size: 1.375rem;
    font-family: 'Playfair Display', sans-serif;
    line-height: 1.2;
    text-decoration: none;
}

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

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

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


/* 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: #c01b5a;
    background-color: transparent;
}


/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #eae9e3;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #191919;
}

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #191919;
    font-weight: 400;
    text-align: center;
    padding: 8px 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) {
    background: transparent;
    color: #c01b5a;
}

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

/* ----------------------------------------------- @17b banner ----------------------------------------------- */

#b17 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 440px;
    gap: 10px;
    overflow: hidden;
    padding-top: 25px;
}

#b17 .box {
    width: 100%;
    height: 100%;
    display: grid;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.box1 {
    grid-row: 1/1;
    grid-column: 1/2;
}

.box2 {
    grid-row: 1/1;
    grid-column: 2/2;
}

.box3 {
    grid-row: 1/1;
    grid-column: 3/3;
}

.box4 {
    grid-row: 1/1;
    grid-column: 4/4;
}

@media (max-width: 991px) {
    #b17 {
        grid-template-rows: 240px;
    }
}

/* ------------------------------------------------ links ----------------------------------------------- */

.links {
    position: relative;
    z-index: 30;
    padding: 25px 0 0 0;
}

.links a {
    color: #191919;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Corinthia", cursive;
    font-size: clamp(1.875rem, 4vw, 3.8125rem);
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.links a:hover {
    text-decoration: underline;
}

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

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

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(3.125rem, 6vw, 5.625rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(2.5rem, 4vw, 5rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.625rem, 2vw, 3.75rem);
}

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

/* --------------------------------------------- price ------------------------------------------- */

.price {
    padding-bottom: 30px;
}

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

.price .priceHeader .tabHeadline {
    margin-bottom: 0;
}

.price .priceHeader {
    margin-bottom: 30px;
}

.price .tab {
    background-color: #eae9e3;
    border: 2px solid #191919;
}

@media (min-width: 768px) {
    .price .tab {
        height: 100%;
    }
}

.price .tab .tabsHeader {
    background: #4f4f4f;
    padding: 20px;
    color: #fff;
    font-size: 1rem;
}

.price .tab .tabsHeader :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.4375rem;
    color: #fff;
    margin-bottom: 0;
}

.price .tab .tabContentText {
    font-size: 1rem;
    padding: 15px;
    color: #191919;
    text-align: center;
}

.price .tab .tabContentText hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.price .tab .tabContentText :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Playfair Display', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    margin-bottom: 40px;
    color: #191919;
    position: relative;
}

.price .tab .tabContentText :is(h1, h2, h3, h4, h5, h6) sup {
    font-family: 'Playfair Display', sans-serif;
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    top: -1rem;
}

.price .tab .tabContentText :is(h1, h2, h3, h4, h5, h6)::after {
    content: "";
    width: 33px;
    height: 2px;
    background-color: #191919;
    position: absolute;
    bottom: -20px;
    left: 45%;
}

.price .tab a {
    font-size: 0.8125rem;
    padding: 3px 16px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-top: 25px;
    background-color: #4f4f4f;
    font-family: 'Playfair Display', sans-serif;
}

.price .tab a:is(:hover, :focus) {
    background-color: #191919;
}

/* --------------------------------------------- twotabs ------------------------------------------- */

.twotabs {
    padding-top: 30px;
    padding-bottom: clamp(30px, 4vw, 60px);
}

.twotabs>.row {
    row-gap: clamp(30px, 4vw, 60px);
}

.twotabs .tab hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.twotabs .tab {
    font-size: 1rem;
    padding: 10px;
    height: 100%;
    border: 2px solid #191919;
    background: #4f4f4f;
}

.twotabs .tab .tabHeadline {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    padding: 10px 10px 20px 10px;
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.4375rem;
    background: #4f4f4f;
}

.twotabs .tab .tabContent {
    color: #191919;
    height: calc(100% - 59px);
    padding: 35px 15px;
    background: #eae9e3;
}

.twotabs a {
    font-size: 0.8125rem;
    padding: 3px 21px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-top: 25px;
    background-color: #4f4f4f;
    font-family: 'Playfair Display', sans-serif;
}

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

/* --------------------------------------------- maps ------------------------------------------- */

#maps {
    margin-bottom: -1px;
}

#maps .row,
#maps .row>div {
    margin: 0;
    padding: 0;
}

#maps iframe,
#maps .iframe-wrapper-manual-enabling {
    display: block;
    width: 100%;
}

#maps .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
}

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

footer {
    padding-left: clamp(25px, 4vw, 45px);
    padding-right: clamp(25px, 4vw, 45px);
}

#footer {
    background-color: #f6f5f0;
    padding: clamp(30px, 4vw, 55px) 0;
    color: #4f4f4f;
    border-top: 2px solid #191919;
    border-bottom: 2px solid #191919;
}

@media (max-width: 767px) {
    #footer>.row>.col-xs-12+* {
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        margin-top: 15px;
        padding-top: 15px;
    }
}

@media (max-width: 991px) {
    #footer>.row>.col-xs-12:last-child {
        border-top: 1px solid rgba(0, 0, 0, 0.2);
        margin-top: 15px;
        padding-top: 15px;
    }
}

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

#footer a:not(#vernetzt) {
    color: #c01b5a;
    text-decoration: underline;
}

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

#footer .contact .tabHeadline {
    font-family: 'Playfair Display', sans-serif;
    font-size: clamp(1.375rem, 4vw, 1.875rem);
    margin-bottom: 5px;
}

.socialMedia a+a {
    margin-left: 20px;
}

#footer .phone {
    margin-top: 45px;
}

#footer .mail {
    margin-top: 15px;
}

#footer .mail,
#footer .phone {
    padding-left: 20px;
}

#footer .mail::before,
#footer .phone::before {
    content: "";
    background-image: url('../img/icon-mail.png');
    background-repeat: no-repeat;
    width: 23px;
    height: 23px;
    position: absolute;
    left: 7px
}

#footer .phone::before {
    background-image: url('../img/icon-telefon.png');
}

#innerfooter {
    background-color: #f6f5f0;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1rem;
    font-family: 'Playfair Display', sans-serif;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter a {
    color: #4f4f4f;
    text-decoration: none;
    font-weight: 400;
}

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

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 clamp(15px, 2vw, 25px);
        color: #4f4f4f;
    }

    #innerfooter li {
        display: inline-block;
    }
}

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

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

#vernetzt {
    gap: 18px;
    text-align: left;
    font-size: 0.875rem;
    color: #4f4f4f;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

#vernetzt b {
    font-weight: 600;
    font-family: 'Playfair Display', sans-serif;
    color: #c01b5a;
}

/* ------------------------------------------ scroll top ---------------------------------------- */

#scroll-top {
    font-size: 0;
    background-color: #c01b5a;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: block !important;
    position: relative;
    margin: 0 0 0 auto;
    margin-top: 45px;
}

#scroll-top:is(:hover, :focus) {
    background-color: #44041d;
}

#scroll-top::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: 9px;
    top: 12px;
    border-style: solid;
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent #ffffff transparent;
    transform: none;
}