@import url("https://fonts.verwaltungsportal.de/css/?family=Poppins:400,400i,700,700i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Federo:400,400i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Great+Vibes:400,400i");

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

body {
    font-family: "Poppins", sans-serif;
    color: #282828;
    background: #ffffff;
    font-size: clamp(1rem, 1vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
    color: #786c3f;
}

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

b,
strong {
    font-weight: 700;
}

@media (min-width: 1200px) {
    :is(.horizontally, #bannerOverlay, #tabsBanner, #content, #tabDark, #tabs, #tabsFooter, #f5)>.row {
        max-width: 1600px;
        width: 100%;
    }
}

#over {
    overflow: clip;
    position: relative;
}

/* ------------------------------------------- headerDeko --------------------------------------------- */

.headerDeko {
    border-top: 35px solid #282828;
    border-bottom: 7px solid #a79659;
}

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

#logo {
    display: inline-block;
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        top: 9px;
        left: 0;
        right: 0;
        margin: auto;
        display: flex;
        justify-content: center;
    }
}

#logo img {
    display: block;
}

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

/* ------------------------------------------- topBox --------------------------------------------- */

.topBox {
    padding: 10px 0;
}

@media (min-width: 992px) {
    .topBox {
        padding: 20px 0 10px 20px;
    }
}

.top2 {
    gap: 18px;
}

@media (max-width: 991px) {
    .topBox>.row {
        row-gap: 15px;
    }

    .top2 {
        display: grid;
    }
}

/* ------------------------------------------- logoWord --------------------------------------------- */

#logoWord {
    text-decoration: none;
    color: #282828;
    line-height: 1.2;
    font-weight: 400;
    font-size: 1.5rem;
    font-family: "Federo", sans-serif;
}

/* ------------------------------------------- tabButton --------------------------------------------- */

.tabButton {
    font-size: 1rem;
}

.tabButton a {
    text-decoration: none;
    position: relative;
    display: inline-block;
    color: #ffffff;
    padding: 7px 17px 6px 43px;
    border-radius: 12px 15px 15px 24px;
    background: #282828;
}

.tabButton a:is(:hover, :focus) {
    background: #010101;
}

.tabButton a::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: -3px;
    left: -9px;
    bottom: 0;
    width: 40px;
    height: 40px;
    background: url('../img/icon-phone.png') center no-repeat;
}

.tabButton a:is(:hover, :focus)::before {
    animation: shake 1s ease 1;
}

@keyframes shake {

    40%,
    60% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }

    70% {
        transform: rotate(0deg);
    }

    100% {
        transform: scale(1);
    }
}

/* ------------------------------------------- tabSocials --------------------------------------------- */

.tabSocials p {
    display: inline-block;
}

.tabSocials p+p {
    margin-left: 18px;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .horizontally {
        position: static !important;
        padding: 10px 0;
        background: #ffffff;
        border-bottom: 7px solid #a79659;
    }

    #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: #282828;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"]:before {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton:before {
        top: 24px;
        content: "";
    }

    #burgerButton:after {
        top: 32px;
        content: "";
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

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

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

/* menu desktop */

@media (min-width: 992px) {
    .horizontally {
        background: #ffffff;
        border-bottom: 7px solid #a79659;
    }

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

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    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: #282828;
    font-weight: 700;
    text-align: left;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"] {
        border-bottom: 1px solid rgba(46, 60, 72, 0.2);
    }
}

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

    nav.horizontally a[class*="toplevel"] {
        padding: 24px 0 32px 0;
        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: #ffffff;
    background-color: #282828;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #ffffff;
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #282828;
    font-weight: 700;
    text-align: left;
    padding: 9px 25px;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-decoration: none;
}

/* 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: #282828;
    color: #ffffff;
}

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

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

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

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(400px, 62vw, 720px);
    }

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

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

#headerpic {
    padding: 0;
    border-bottom: 7px solid #a79659;
    position: relative;
    background-color: #010101;
}

.theme-nivo .nivo-controlNav .slick-dots li,
.nivo-directionNav a,
a.nivo-control,
a.nivo-control.active {
    color: #ffffff !important;
}

.slider-wrapper,
#slider {
    height: 100%;
}

.slider-mask {
    display: block;
    background: rgba(0, 0, 0, 0.75);
}

@media (min-width: 1200px) {
    .index .theme-nivo .nivo-controlNav {
        bottom: 90px;
    }
}

/* ------------------------------------------- bannerOverlay ------------------------------------------ */

@media (max-width: 991px) {
    #bannerOverlay {
        padding: 30px 0;
        background-color: #010101;
    }
}

#bannerOverlay .tab {
    color: #ffffff;
    line-height: 1.2;
    font-size: clamp(1.875rem, 4vw, 100px);
    font-weight: 400;
    font-family: 'Great Vibes', cursive;
}

#bannerOverlay .tab a {
    color: #ffffff;
}

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        pointer-events: none;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        z-index: 12;
    }

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

/* ------------------------------------------- tabsBanner ------------------------------------------ */

@media (max-width: 1199px) {
    #tabsBanner {
        padding-top: 30px;
    }

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

#tabsBanner .tab {
    height: 100%;
    padding: 30px;
    background-color: #f9f9f9;
    background-position: top 10px left;
    background-repeat: no-repeat;
}

#tabsBanner > .row > *:nth-child(1) .tab{
    background-image: url(../img/uhr.png);
}

#tabsBanner > .row > *:nth-child(2) .tab{
    background-image: url(../img/weinglaeser.png);
}

@media (min-width: 1200px) {
    #tabsBanner>.row {
        margin-top: -85px;
        position: relative;
        z-index: 12;
    }

    #tabsBanner .tab {
        padding: 45px 130px 75px 130px;
    }
}

#tabsBanner .tab .tabHeadline {
    color: #282828;
    font-weight: 400;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.875rem, 3vw, 3.125rem);
    position: relative;
    margin-bottom: 30px;
}

#tabsBanner .tab .tabHeadline::after {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: -8px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    max-width: 100px;
    height: 3px;
    background: #d0c7a9;
}

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

#content {
    text-align: left;
    padding-top: clamp(30px, 3vw, 50px);
    padding-bottom: clamp(30px, 5vw, 80px);
}

@media (min-width: 1200px) {
    .index main {
        background: url('../img/pizza.png') top 85px left no-repeat;
    }
}

/* ------------------------------------------- tabDark ------------------------------------------ */

#tabDark {
    position: relative;
}

@media (max-width: 1199px) {
    #tabDark {
        background: #282828;
    }
}

@media (min-width: 1200px) {
    #tabDark>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        left: -165px;
        bottom: 0;
        right: 15px;
        height: 100%;
        background: #282828;
    }

    #tabDark>.row::after {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        bottom: 0;
        right: -75px;
        width: 90px;
        height: 100%;
        background: #282828;
        clip-path: polygon(0 0, 0% 100%, 100% 100%);
    }
}

#tabDark>.row>* {
    color: #ffffff;
    background: #282828;
}

#tabDark .tab {
    padding: 30px 0;
}

@media (min-width: 1200px) {
    #tabDark .tab {
        padding: 30px 0 255px 0;
    }
}

#tabDark .tab a {
    color: #ffffff;
    text-decoration: underline;
}

#tabDark .tab .tabHeadline {
    color: #ffffff;
    font-weight: 400;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.875rem, 4vw, 3.125rem);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

#tabDark .tab .tabHeadline::after {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: -7px;
    left: -580px;
    right: -130px;
    height: 7px;
    background: #a79659;
}

/* ------------------------------------------- tabs ------------------------------------------ */

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

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

#tabs .tab {
    padding: 30px;
    background-color: #f9f9f9 !important;
}

@media (min-width: 1200px) {
    #tabs>.row {
        margin-top: -205px;
        margin-bottom: -75px;
        position: relative;
        z-index: 1;
    }

    #tabs .tab {
        padding: 35px 140px 65px 140px;
    }

    #tabs .tab1 {
        background: url('../img/pizza-line-art.png') top 35px left no-repeat;
    }

    #tabs .tab2 {
        background: url('../img/pasta-line-art.png') top 8px left no-repeat;
    }

    #tabs .tab3 {
        background: url('../img/getraenke-line-art.png') top 20px left 8px no-repeat;
    }
}

#tabs .tab .tabHeadline {
    color: #282828;
    font-weight: 400;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.875rem, 4vw, 3.75rem);
}

#tabs .tab a {
    display: inline-block;
    text-decoration: underline;
    text-decoration-color: #d0c7a9;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    color: #282828;
    font-size: clamp(1.25rem, 2vw, 1.6875rem);
    line-height: 1.2;
    font-weight: 400;
    font-family: "Federo", sans-serif;
    transition: color 300ms linear, text-decoration-color 300ms linear;
}

#tabs .tab a:hover,
#tabs .tab a:focus {
    color: #786c3f;
    text-decoration-color: #a79659;
}

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

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

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4 {
    font-size: clamp(1.625rem, 2vw, 2.1875rem);
}

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

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

/* --------------------------------------------- breaker -------------------------------------------- */

#breaker {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 200px;
}

#breaker::before {
    content: '';
    position: absolute;
    pointer-events: none;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: url('../img/bannermask.png') bottom -1px center / 100% auto no-repeat;
}

@media (min-width: 1200px) {
    #breaker {
        min-height: 400px;
    }
}

/* --------------------------------------------- tabsFooter -------------------------------------------- */

#tabsFooter {
    margin-top: 30px;
    padding-top: clamp(30px, 3vw, 50px);
    padding-bottom: clamp(30px, 4vw, 60px);
    border-top: 7px solid #a79659;
    background: #282828;
}

@media (max-width: 1199px) {
    #tabsFooter>.row {
        row-gap: 30px;
    }
}

@media (min-width: 1200px) {
    #tabsFooter {
        margin-top: 70px;
    }

    #tabsFooter .tabsBox {
        margin-top: -175px;
    }
}

#tabsFooter .tab {
    color: #ffffff;
    font-size: 0.9375rem;
}

#tabsFooter .tab :is(h1, h2, h3, h4, h5, h6) {
    color: #ffffff;
}

#tabsFooter .tab :is(h5, h6) {
    color: #ffffff;
    margin: 0;
    font-size: 1.125rem;
}

#tabsFooter .tab a {
    color: #ffffff;
    text-decoration: underline;
}

#tabsFooter .tab .tabHeadline {
    color: #ffffff;
    font-weight: 400;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.875rem, 3vw, 3rem);
}

#tabsFooter .tabsBox {
    display: grid;
    background: #f9f9f9;
}

@media (min-width: 768px) {
    #tabsFooter .tabsBox {
        grid-template-columns: repeat(2, 1fr);
    }
}

#tabsFooter .tabsBox .tab2 {
    padding: 30px;
}

#tabsFooter .tabsBox .tab2 .tabHeadline {
    font-size: clamp(1.75rem, 2vw, 2.1875rem);
    border-bottom: 3px solid #a79659;
    width: fit-content;
    padding-bottom: 5px;
    margin: 0 auto 15px auto;
}

@media (min-width: 1200px) {
    #tabsFooter .tabsBox .tab2 {
        padding: 50px 50px 35px 50px;
    }

    #tabsFooter .tabsBox .tab2 .tabHeadline {
        padding-top: 125px;
        background: url('../img/phone-lineart.png') top center no-repeat;
    }
}

#tabsFooter .tabsBox .iframetab {
    height: 100%;
    margin-bottom: -1px;
}

#tabsFooter .iframetab iframe,
#tabsFooter .iframetab .iframe-wrapper-manual-enabling {
    min-width: 100% !important;
    width: 100% !important;
    display: block;
}

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

#f5 {
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 7px solid #a79659;
}

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

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
    color: #282828;
    text-decoration: underline;
}

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

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

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

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

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

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

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

#vernetzt span span {
    display: block;
}