@import url("https://fonts.verwaltungsportal.de/import/?family=Ephesis:400");
@import url("https://fonts.verwaltungsportal.de/import/?family=Montserrat:400,600,700,400i,600i,700i");

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

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: #4b4b4b;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
    border-top: 12px solid #efc024;
}

a {
    color: #2b604a;
}

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

b,
strong {
    font-weight: 700;
}

#overflow {
    overflow: hidden;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
    transition: max-width 200ms ease;
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        top: 10px;
        left: 15px;
        z-index: 12;
    }

    .is-sticky #logo img {
        max-width: 100px;
    }
}

@media (max-width: 991px) {

    #logo {
        padding: 10px 0;
    }

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        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: #2b604a;
        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: #fff;
        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: 6px;
    }
}

/* menu desktop */

@media (min-width: 992px) {

    nav.horizontally {
        background: #fff;
        box-shadow: 0 8px 5px 0 rgba(0, 0, 0, 0.05);
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 1200px;
    }

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

@media (min-width: 1200px) {
    .horizontally>.row {
        width: 100%;
        max-width: 1820px;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    font-family: "Montserrat", sans-serif;
    color: #4b4b4b;
    font-weight: 400;
    text-align: left;
    padding: 10px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    z-index: 12;
}

@media (max-width: 991px) {
    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"]>a::after {
        content: '';
        position: absolute;
        z-index: -1;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    nav.horizontally li[class*="toplevel"]:nth-child(7n+1)>a::after {
        background: url(../img/hund01.png) no-repeat center;
        width: 85px;
        height: 107px;
    }

    nav.horizontally li[class*="toplevel"]:nth-child(7n+2)>a::after {
        background: url(../img/hund02.png) no-repeat center;
        width: 71px;
        height: 108px;
    }

    nav.horizontally li[class*="toplevel"]:nth-child(7n+3)>a::after {
        background: url(../img/hund03.png) no-repeat center;
        width: 79px;
        height: 108px;
    }

    nav.horizontally li[class*="toplevel"]:nth-child(7n+4)>a::after {
        background: url(../img/hund04.png) no-repeat center;
        width: 136px;
        height: 108px;
    }

    nav.horizontally li[class*="toplevel"]:nth-child(7n+5)>a::after {
        background: url(../img/hund05.png) no-repeat center;
        width: 81px;
        height: 110px;
    }

    nav.horizontally li[class*="toplevel"]:nth-child(7n+6)>a::after {
        background: url(../img/hund06.png) no-repeat center;
        width: 73px;
        height: 109px;
    }

    nav.horizontally li[class*="toplevel"]:nth-child(7n+7)>a::after {
        background: url(../img/hund07.png) no-repeat center;
        width: 68px;
        height: 109px;
    }

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

@media (max-width: 1199px) {
    nav.horizontally a[class*="toplevel"] {
        hyphens: auto;
    }
}

@media (min-width: 1200px) {
    .navbar-default .navbar-nav>li>a {
        font-size: 1.25rem;
    }
}

/* 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) {
    background: #efc024;
    color: #131313;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

    nav.horizontally [class*="toplevel"] ul::after {
        content: "";
        position: absolute;
        top: 0;
        transform: translateY(-50%);
        background: #2b604a url(../img/arrow-icon-unten.png);
        background-repeat: no-repeat;
        background-position: center;
        height: 30px;
        width: 30px;
        border-radius: 100%;
        left: 20px;
    }

    nav.horizontally [class*="secondlevel"] ul::after {
        top: 10px;
        transform: translatex(-50%) rotate(-90deg);
        left: 0;
    }

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

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
    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[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: #efc024;
    color: #131313;
}

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

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

#overlay {
    position: relative;
    z-index: 12;
    pointer-events: none;
}

@media (min-width: 992px) {
    #overlay {
        position: absolute;
        right: clamp(-120px, -5vw, -65px);
        bottom: 160px;
    }

    #overlay .tab {
        margin-left: 25px;
    }
}

#overlay .tab {
    pointer-events: all;
}

#overlay .tab {
    background: rgba(255, 255, 255, 0.70);
    border-radius: clamp(20px, 3vw, 40px);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 10px 30px;
    font-size: 1.25rem;
}

#overlay .tab .tabContent {
    font-style: italic;
}

#overlay .tabHeadline {
    font-family: "Ephesis", cursive;
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.75rem);
    margin-bottom: 0;
}

@media (min-width: 992px) {
    #headerpic .nivo-controlNav {
        bottom: 6vw;
    }

    #headerpic {
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .index #headerpic {
        min-height: 750px;
    }

    body:not(.index) #headerpic {
        min-height: 450px;
    }

    .slider-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

    #slider {
        min-height: 100%;
        height: 100%;
    }
}

@media (min-width: 1200px) {
    #headerpic::before {
        content: '';
        background: url(../img/hund-deko-banner.png) no-repeat bottom center;
        width: 217px;
        height: 275px;
        position: absolute;
        bottom: 38px;
        left: 55px;
        pointer-events: none;
        z-index: 12;
    }
}

@media (max-width: 991px) {
    #slider {
        overflow: hidden;
        position: relative;
        /*1920px * 768px*/
        height: 40vw;
    }

    body:not(.index) #slider {
        /*1920px * 576px*/
        height: 30vw;
    }


    #slider-onebanner,
    #slider .nivo-box>div,
    #slider .nivo-slice>div,
    #slider .nivo-main-image,
    #slider div[style*='background-size'] {
        background-attachment: unset !important;
        background-size: 100% auto !important;
    }
}

.slider-mask {
    display: block;
    background: url(../img/maske.png) no-repeat bottom center / 100% auto;
}

/* ------------------------------------------------ @26tab ----------------------------------------------- */

#tab26Box {
    padding-top: clamp(40px, 6vw, 100px);
    padding-bottom: clamp(40px, 5vw, 70px);
    background: url('../img/maske-unten.png') top -1px center no-repeat;
}

#tab26 {
    margin: auto;
    width: 100%;
    max-width: 1200px;
}

#tab26Box .headlineTab .tabHeadline {
    hyphens: auto;
    font-size: clamp(1.875rem, 3vw, 48px);
}

#tab26 .tab .tabHeadline {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}

#tab26 .tab {
    font-size: 1rem;
    padding: 30px;
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

/* ----------------------- @26tab slider arrows + dots ------- DO NOT DELETE ----------------------- */

#tab26 .slick-slide {
    padding: 15px;
}

#tab26 .slick-dots button,
#tab26 .slick-button {
    background: transparent;
    border: none;
    padding: 5px;
}

#tab26 .slick-button {
    font-size: 0px;
    position: relative;
    top: 4px;
}

#tab26 .slick-prev {
    margin-left: 14px;
}

@media (max-width: 767px) {
    #tab26 .slick-next {
        margin-left: 14px;
    }
}

#tab26 .slick-button::before {
    display: block;
    line-height: 9px;
    height: 20px;
    font-size: 40px;
    color: #000000;
}

#tab26 .slick-button::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.05);
    transition: width 200ms linear, height 200ms linear;
    z-index: -1;
}

#tab26 .slick-button:focus::after,
#tab26 .slick-button:hover::after {
    width: 28px;
    height: 28px;
}

@media (max-width: 767px) {

    #tab26 .slick-button::after,
    #tab26 .slick-button::after {
        width: 28px;
        height: 28px;
    }
}

#tab26 .slick-dots {
    padding: 0 15px;
    list-style: none;
}

#tab26 .slick-dots>li {
    display: inline-block;
    position: relative;
    top: 50%;
    font-size: 0px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #aaaaaa;
    transform: translateY(-50%);
}

#tab26 .slick-dots,
#tab26 .slick-button {
    display: inline-block !important;
}

@media (max-width: 767px) {
    #tab26 .slick-dots {
        display: none !important;
    }
}

#tab26 .slick-dots>li.slick-active {
    background: #efc024;
    transition: background 200ms linear;
}

#tab26 .slick-dots>li+li {
    margin-left: 10px;
}

#tab26 .slick-prev::before {
    content: "\2039";
}

#tab26 .slick-next::before {
    content: "\203A";
}

/* ------------ @26tab slider 1 stop/play button for accessibility ------- DO NOT DELETE ------------ */

#tab26 .slick-animate-control {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: -5px;
    left: 10px;
    border: 1px solid #ffffff;
    background-color: #000;
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E");
}

#tab26 .slick-animate-control.slick-pause {
    background-size: 20px 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

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

#content {
    padding-top: 30px;
    padding-bottom: 60px;
    position: relative;
}

@media (min-width: 1200px) {

    #content>.row::after {
        content: '';
        background: url(../img/pfote-deko-banner.png) no-repeat bottom center;
        width: 229px;
        height: 201px;
        position: absolute;
        top: -181px;
        right: -349px;
        pointer-events: none;
        z-index: 12;
    }

    #content>.row::before {
        content: '';
        background: url(../img/pfote-deko-content.png) no-repeat bottom center;
        width: 258px;
        height: 166px;
        position: absolute;
        bottom: -224px;
        left: -360px;
        pointer-events: none;
        z-index: 12;
    }

    body:not(.index) #content>.row::before {
        bottom: -110px;
    }
}

/* ----------------------------------------------- breakerOne ----------------------------------------------- */

#breakerOne {
    background: #f8f8f6 url(../img/maske-content.png) no-repeat top center / 100% auto;
    padding-top: 150px;
    padding-bottom: 60px;
}

@media (max-width: 575px) {
    #breakerOne {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

#breakerOne img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 767px) {
    #breakerOne .tab {
        margin-top: 30px;
    }
}

#breakerOne .tab :is(h2) {
    font-size: clamp(1.5625rem, 2vw, 1.8125rem);
    margin-bottom: 15px;
    font-family: "Ephesis", cursive;
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

#breakerOne .template-page .row {
    margin-bottom: 50px;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #2b604a;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 20px;
}

.index h1 {
    font-family: "Ephesis", cursive;
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.75rem);
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.875rem, 3vw, 2.3125rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.75rem, 3vw, 2rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: 1.625rem;
    font-family: "Ephesis", cursive;
    font-weight: 400;
}

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

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

footer {
    background: #efc024 url(../img/maske-footer.png) no-repeat top center / 100% auto;
}

/* ----------------------------------------------- footerMenuTabs ----------------------------------------------- */

#footerMenuTabs {
    padding-top: clamp(30px, 5vw, 70px);
    color: #131313;
}

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

#footerMenuTabs .tab {
    font-size: 1rem;
    height: 100%;
    padding: clamp(30px, 4vw, 60px) 30px;
    border-radius: 40px;
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

#footerMenuTabs .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* ----------------------------------------------- footerTop ----------------------------------------------- */

#footerTop {
    padding-top: 45px;
    padding-bottom: 30px;
    color: #131313;
}

@media (min-width: 768px) {

    .mapsElement,
    .mapsElement iframe,
    .mapsElement .iframe-wrapper-manual-enabling,
    .mapsElement .raw-html-embed {
        height: calc(100% + 99px) !important;
        margin-bottom: 3px;
    }
}

@media (max-width: 767px) {
    .mapsElement {
        margin-bottom: 30px;
    }
}

@media (min-width: 1200px) {
    #footerTop>.row::after {
        content: '';
        background: url(../img/katze-deko-footer.png) no-repeat bottom center;
        width: 196px;
        height: 187px;
        display: block;
        position: absolute;
        right: -336px;
        bottom: -64px;
    }
}

#footerTop :is(h1, h2, h3) {
    color: #131313;
    font-family: "Montserrat", sans-serif;
    font-size: 1.625rem;
}

#footerTop .tab a {
    text-decoration: underline;
    color: #131313;
}

#footerBottom {
    background: #2b604a;
    padding: 30px 0;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

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

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

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

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

.hrElementStyle {
    border-color: #fff !important;
    opacity: 0.5;
}

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

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

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

#vernetzt span span {
    display: block;
}