.md-local-heading{font-family:Forum,Georgia,serif;font-size:clamp(32px,4vw,54px);line-height:1.15;color:#e4c590;margin-bottom:24px}.md-local-intro{max-width:780px;margin:0 auto 30px;line-height:1.8}.md-local-section{padding:64px 20px;background:#151515;color:#fff}.md-local-section h2{font-size:clamp(28px,3vw,40px);line-height:1.3;margin:24px 0}.md-local-section p{max-width:850px;line-height:1.8;margin-bottom:18px}.md-local-links{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0 40px}.md-local-section a{color:#e4c590;text-decoration:underline}.md-local-section details{border-top:1px solid #555;padding:16px 0;max-width:900px}.md-local-section summary{font-size:19px;line-height:1.5;cursor:pointer;list-style:disclosure-closed}.md-local-section summary:focus-visible,.md-local-section a:focus-visible{outline:2px solid #e4c590;outline-offset:5px}.md-local-section details[open] summary{margin-bottom:14px;list-style:disclosure-open}

.md-fab {
    display: none;
}
.md-reservation-status:not(:empty) {
    margin-top: 1rem;
    color: #fff;
}
@media (max-width: 767px),
       (max-width: 950px) and (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
    .md-home-header .main-box .logo-box {
        flex: 0 0 100%;
        margin-inline: 0;
    }
    .md-home-header .main-box .logo-box .logo a {
        display: block;
        width: min(100%, 266px);
        margin-inline: auto;
    }
    .md-home-header .main-box .logo-box .logo img {
        width: 100%;
        height: auto;
    }
    .banner-section .slide-item .md-hero-menu {
        display: none;
    }
    .banner-section .book-btn {
        left: 32px;
        right: auto;
    }

    .md-fab {
        position: fixed;
        display: block;
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 50px;
        z-index: 1000;
    }
    .md-fab > summary {
        display: grid;
        place-items: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #e4c590;
        color: #171717;
        font: 600 30px/1 "DM Sans", sans-serif;
        list-style: none;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
    }
    .md-fab > summary::-webkit-details-marker {
        display: none;
    }
    .md-fab > summary span {
        transition: transform .16s ease;
    }
    .md-fab[open] > summary span {
        transform: rotate(45deg);
    }
    .md-fab-links {
        position: absolute;
        right: -4px;
        bottom: calc(100% + 7px);
        display: grid;
        justify-items: end;
        gap: 5px;
        width: max-content;
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 84px);
        max-height: calc(100dvh - 84px - env(safe-area-inset-bottom));
        padding: 4px;
        overflow: auto;
        overscroll-behavior: contain;
    }
    .md-fab:not([open]) > .md-fab-links {
        display: none;
    }
    .md-fab[open] > .md-fab-links {
        animation: md-fab-open .16s ease-out;
    }
    .md-fab-links a {
        display: flex;
        align-items: center;
        gap: .6rem;
        min-height: 44px;
        padding-left: .75rem;
        border-radius: 24px;
        background: #171717;
        color: #fff;
        font: 600 .875rem/1.2 "DM Sans", sans-serif;
        text-decoration: none;
    }
    .md-fab-links a i {
        display: grid;
        place-items: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border: 1px solid #665740;
        border-radius: 50%;
        color: #e4c590;
        font-size: 18px;
    }
    .md-fab :is(summary, a):focus-visible {
        outline: 2px solid #e4c590;
        outline-offset: 2px;
    }
    .md-fab ~ .whatsapp-button {
        display: none !important;
    }
    .md-scroll-top {
        right: max(16px, env(safe-area-inset-right));
        bottom: calc(max(16px, env(safe-area-inset-bottom)) + 60px);
    }
    #tischreservierung .reserv-col form {
        margin-inline-end: max(36px, calc(env(safe-area-inset-right) + 20px));
    }
    body:has(.md-fab[open]) .md-scroll-top {
        display: none !important;
    }
    body:has(#cookie-banner[style*="display: flex"]) .md-fab,
    body:has(#tischreservierung form :is(input, select, textarea):focus) .md-fab {
        visibility: hidden;
    }
}

@keyframes md-fab-open {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .md-fab > summary span {
        transition: none;
    }
    .md-fab[open] > .md-fab-links {
        animation: none;
    }
}

#speisekarte, #menu-section,
#haeufige-fragen, #md-faq, #kontakt, #restaurant, #social-media {
    scroll-margin-top: 175px;
}
:is(#speisekarte, #haeufige-fragen) > .md-anchor-alias {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.md-social {
    position: relative;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    background: #161718;
    border-top: 1px solid #4c4438;
    text-align: center;
}
.md-social h2 {
    color: #e4c590;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin: 0 0 .75rem;
}
.md-social p {
    color: #fff;
    margin: 0 auto 1rem;
    max-width: 34rem;
}
.md-social-links {
    display: flex;
    justify-content: center;
    gap: .75rem;
}
.md-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: 0 .7rem;
    border: 1px solid #665740;
    color: #e4c590;
    font-weight: 600;
}
.md-social-links a:focus-visible {
    outline: 2px solid #e4c590;
    outline-offset: 3px;
}
.md-social-links a:hover {
    border-color: #e4c590;
    color: #e4c590;
    text-decoration: underline;
}

/* Keep the overlapping reservation card in view after either URL fragment. */
#tischreservierung, #resevation-section {
    scroll-margin-top: 420px;
}
#tischreservierung > #resevation-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
