/*
 * DMM Full-Template Base – Reset, Body, Layout, Skeleton, Nav, Footer, Header-Links
 *
 * Grobe Gliederung (bei Edits gezielt suchen, nicht die ganze Datei ersetzen):
 *   SKELETON          – .dmm-skeleton*, body.menu-loading
 *   MENU-NAV-HORIZ    – .menu-nav-wrap (Scroll-Fade-Kommentare)
 *   MENU-HEADER       – .menu-header … .menu-header-top, body.dmm-header-brand-hidden, body.dmm-header-shrunk
 *   HEADER-FILTERS    – .header-controls, .header-controls-slim, .menu-header-filters
 *   MENU-NAV-PILLS    – .menu-nav-wrap, .menu-nav-list, .menu-nav-link
 *   MENU-CONTENT      – .menu-container, .menu-category*, .menu-item*
 *   FILTER-SHEET      – .filter-modal*, .filter-bottom-sheet*
 *   INFO-SHEET        – .dmm-info-sheet*
 *   REST-DESC         – .dmm-restaurant-description-block, .dmm-content-cards
 *   BOTTOM-NAV        – .dmm-bottom-nav*, body.dmm-bottom-nav-hidden
 *   SEARCH-OVERLAY    – Such-Overlay-Kommentar weiter unten
 *   REVIEW / MODALS   – Review Modal, Sprach-Modal
 *   FOOTER / LIGHTBOX – Footer Base, Gerichtsbild, Lightbox
 *
 * JS-Klassen am body: dmm-header-brand-hidden (Logo/Zeile weg beim Scroll) | dmm-header-shrunk (nur breiter Viewport) | dmm-bottom-nav-hidden
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* Verhindert Scroll-Sprünge, wenn sich die Header-Höhe ändert (nur Desktop-Shrink) */
    overflow-anchor: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Header: position sticky – kein padding-top nötig, --dmm-header-height nur für JS/scroll-margin */
    padding-top: 0;
}

/* Skeleton Loading (Yumzi-style) */
.dmm-skeleton,
.dmm-skeleton-pulse {
    background: var(--dmm-skeleton-base-color);
}
.dmm-skeleton-pulse {
    animation: dmm-skeleton-pulse 1.5s ease-in-out infinite;
}
@keyframes dmm-skeleton-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
body.menu-loading .dmm-skeleton-wrap { display: block !important; }
body.menu-loading .menu-header .menu-logo,
body.menu-loading .menu-header .restaurant-name,
body.menu-loading .menu-nav,
body.menu-loading .menu-container,
body.menu-loading .menu-footer { visibility: hidden; }
.dmm-skeleton-wrap {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: var(--dmm-header-height, 160px);
    padding-bottom: 80px;
    pointer-events: none;
}
.dmm-skeleton-wrap .dmm-skeleton-pills { display: flex; gap: 10px; padding: 12px 20px; }
.dmm-skeleton-wrap .dmm-skeleton-pill { height: 31px; min-width: 108px; border-radius: 18px; }
.dmm-skeleton-wrap .dmm-skeleton-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 16px; }
.dmm-skeleton-wrap .dmm-skeleton-card-img { aspect-ratio: 3/4; border-radius: 12px; }
.dmm-skeleton-wrap .dmm-skeleton-card-line { height: 12px; border-radius: 4px; margin-top: 8px; }
.dmm-skeleton-wrap .dmm-skeleton-bottom { position: fixed; bottom: 0; left: 0; right: 0; height: 56px; display: flex; gap: 12px; padding: 12px 16px; background: var(--dmm-bottom-menu-bg); z-index: 100; }
.dmm-skeleton-wrap .dmm-skeleton-bottom .dmm-skeleton-pill { flex: 1; height: 100%; min-width: 0; }

/* Scroll-Fade an Kategorie-Pills (Yumzi-style) – horizontal scroll/swipe */
.menu-nav-wrap {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.menu-nav-wrap::-webkit-scrollbar {
    display: none;
}
.menu-nav-wrap::after {
    display: none;
}
[dir="rtl"] .menu-nav-wrap::after { display: none; }
/* LTR: keinen linken Scroll-Fade (::before) – der Gradient lag über dem ersten Pill (z-index) und
   erzeugte sichtbare Farbrand-Streifen (Mix mit Primärfarbe). Rechter Fade (::after) bleibt. */
[dir="rtl"] .menu-nav-wrap::before {
    display: none;
}

/* Yumzi-style: gemeinsames Layout für alle Themes (Header, Nav-Pills, Karten, Preis-Badge) */
.menu-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dmm-nav-border);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    /* Keine padding/gap-Transition: vermeidet Layout-Zucken bei dmm-header-shrunk */
    transition: box-shadow 0.2s ease;
    overflow: visible;
}
.menu-header .menu-logo {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}
.menu-header .restaurant-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
    color: var(--dmm-titles-color);
}

/* Header: Logo mittig und größer ODER Restaurantname mittig (wenn kein Logo) */
.menu-header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transform-origin: top center;
    max-height: 220px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.32s ease, margin 0.32s ease, padding 0.32s ease;
}
/* Runterscrollen: nur diese Zeile ausblenden – .menu-nav-wrap bleibt im .menu-header sichtbar */
body.dmm-header-brand-hidden .menu-header-top {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    margin-bottom: -8px;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .menu-header-top {
        transition: none;
    }
}
/* Fallback: Altes 3-Spalten-Layout (iOS-Cache) ausblenden – nur ein Logo mittig zeigen */
.menu-header-top .menu-header-left,
.menu-header-top .menu-header-info {
    display: none !important;
}
.menu-header-top .menu-header-right {
    display: flex !important;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
}
.menu-header-top .menu-header-right .menu-logo {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}
.menu-header-brand {
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-header-brand-logo-with-name {
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.restaurant-name-above-logo {
    font-family: var(--dmm-heading-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.02em;
    color: var(--dmm-titles-color);
    margin: 0;
    line-height: 1.2;
    max-width: 100%;
    padding: 0 8px;
}
body.dmm-header-shrunk .restaurant-name-above-logo {
    font-size: 1.15rem;
}
.menu-header-brand-logo .menu-logo-centered {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}
.menu-header-brand-name .restaurant-name-centered {
    font-family: var(--dmm-heading-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.02em;
    color: var(--dmm-titles-color);
}

/* Scroll-Shrink: Header wird beim Scrollen kompakter */
body.dmm-header-shrunk .menu-header {
    padding: 6px 12px;
    gap: 4px;
}
body.dmm-header-shrunk .menu-header .menu-logo,
body.dmm-header-shrunk .menu-header-brand-logo .menu-logo-centered,
body.dmm-header-shrunk .menu-header-top .menu-header-right .menu-logo {
    max-height: 48px;
}
body.dmm-header-shrunk .menu-header-brand-name .restaurant-name-centered {
    font-size: 1.15rem;
}
body.dmm-header-shrunk .menu-nav-wrap {
    padding: 6px 0 8px;
    max-height: none;
    min-height: 40px;
}
body.dmm-header-shrunk .menu-nav-link {
    padding: 6px 12px;
    font-size: 12px;
}

.menu-header-contact {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.7);
}
.menu-header-address::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -2px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.menu-header-phone {
    color: inherit;
    text-decoration: none;
}
.menu-header-phone:hover {
    text-decoration: underline;
}
.menu-header-phone::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -2px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.menu-header-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.menu-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
}
.menu-filter-pill {
    appearance: none;
    border: 1px solid var(--dmm-nav-border);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    color: var(--dmm-titles-color);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.menu-filter-pill:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}
.menu-filter-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.menu-search-wrap {
    flex: 0 1 200px;
    min-width: 120px;
}
.menu-search-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid var(--dmm-nav-border);
    border-radius: 10px;
    background: #fff;
    color: var(--dmm-titles-color);
}
.menu-search-input::placeholder {
    color: rgba(0, 0, 0, 0.45);
}
.menu-header-filters .header-controls {
    flex-shrink: 0;
    margin-left: auto;
}
.header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-height: 40px;
    transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease, margin 0.22s ease, padding 0.22s ease;
    transform-origin: top center;
    max-height: 80px;
    opacity: 1;
}
.header-controls-slim {
    margin-top: 0;
    max-height: none;
    overflow: visible;
}
.filter-toggle-btn-desktop {
    display: none;
    appearance: none;
    border: none;
    background: var(--dmm-inactive-button-bg);
    color: var(--dmm-titles-color);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}
.filter-toggle-btn-desktop:hover {
    background: rgba(0, 0, 0, 0.06);
}
@media (min-width: 768px) {
    .filter-toggle-btn-desktop { display: inline-flex; align-items: center; justify-content: center; }
}
.menu-nav-wrap {
    padding: 8px 0 14px;
    margin: 0 -4px;
    min-height: 44px;
    max-height: none;
    align-items: center;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    box-sizing: border-box;
}
.menu-nav-list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 2px 10px 6px;
    margin: 0;
    flex-wrap: nowrap;
    align-items: center;
}
.menu-nav-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 24px;
    background: transparent;
    color: var(--dmm-inactive-button-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border: 1.5px solid var(--dmm-nav-border);
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}
.menu-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}
.menu-nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
/* Aktiv: immer vollflächig gefüllt (Outline nur bei inaktiven Pills) */
.menu-nav-link.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.35);
    font-weight: 600;
}
.menu-nav-link.active:hover {
    background: var(--primary-color) !important;
    filter: brightness(1.02);
}
/* Filter-Sheet: ausgeblendete Gerichte (Klasse wird per JS gesetzt) */
.menu-item.filtered-out {
    display: none !important;
}
.menu-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 20px;
    contain: layout style;
    scroll-behavior: smooth;
}
.menu-category {
    margin-bottom: 2rem;
    /* Sticky-Header: Anker-Scroll und Browser-#hash berücksichtigen (--dmm-header-height per JS) */
    scroll-margin-top: calc(var(--dmm-header-height, 140px) + 12px);
    /* Kein content-visibility: auto – sonst sind offsetTop/Scroll-Spy auf iOS oft falsch */
}
.menu-category-title {
    font-family: var(--dmm-heading-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: var(--dmm-titles-color);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--dmm-color-separator);
    letter-spacing: 0.01em;
}
/* Kategorie nur in linker Nav sichtbar; im Content dezent für Kontext */
.menu-category-title-context {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.45);
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.25rem;
    border-bottom: none;
}
.menu-category-title:first-of-type {
    margin-top: 0;
}
.menu-category-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 1.25rem;
}
.menu-item {
    background: var(--dmm-bg);
    padding: 20px 20px;
    margin-bottom: 16px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.02);
}
.menu-item--has-image {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}
.menu-item-body {
    flex: 1;
    min-width: 0;
}
.menu-item:last-child {
    margin-bottom: 0;
}
.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.menu-item-name {
    font-family: var(--dmm-heading-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--dmm-titles-color);
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}
.menu-item-price {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}
.menu-item-header-actions {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.dmm-menu-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-color);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.dmm-menu-add-cart:hover {
    background: rgba(var(--primary-rgb), 0.22);
}
.dmm-menu-add-cart:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.dmm-menu-add-cart-icon {
    pointer-events: none;
}

/* Öffentlicher Warenkorb (links unten) */
.dmm-commerce-cart-fab {
    position: fixed;
    left: 14px;
    bottom: calc(68px + max(8px, env(safe-area-inset-bottom, 0px)));
    z-index: 102;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: var(--dmm-active-button-bg, var(--primary-color));
    color: var(--dmm-active-button-color, #fff);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.dmm-commerce-cart-fab:hover {
    transform: translateY(-1px);
}
.dmm-commerce-cart-fab:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.dmm-commerce-cart-fab-icon {
    display: block;
    flex-shrink: 0;
}
.dmm-commerce-cart-fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}
body.dmm-bottom-nav-hidden .dmm-commerce-cart-fab {
    bottom: calc(16px + max(8px, env(safe-area-inset-bottom, 0px)));
}
.dmm-commerce-sheet .dmm-commerce-sheet-body {
    padding: 0 16px 20px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.dmm-commerce-label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dmm-titles-color, #1a1a1a);
}
.dmm-commerce-label:first-child {
    margin-top: 0;
}
.dmm-commerce-select,
.dmm-commerce-input,
.dmm-commerce-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--dmm-bg, #fff);
    color: var(--dmm-titles-color, #1a1a1a);
    box-sizing: border-box;
}
.dmm-commerce-textarea {
    resize: vertical;
    min-height: 44px;
}
.dmm-commerce-fulfillment {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dmm-color-separator, rgba(0, 0, 0, 0.08));
}
.dmm-commerce-table-wrap,
.dmm-commerce-pickup-wrap {
    margin-bottom: 10px;
}
.dmm-commerce-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* Pairing & Upsell (REST insights) */
.dmm-commerce-insights {
    margin: 4px 0 16px;
}
.dmm-commerce-insights[hidden] {
    display: none !important;
}
.dmm-commerce-insight-section {
    margin-bottom: 16px;
    padding: 12px 12px 14px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
}
.dmm-commerce-insight-section:last-child {
    margin-bottom: 0;
}
.dmm-commerce-insight-heading {
    margin: 0 0 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dmm-titles-color, #1a1a1a);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.dmm-commerce-insight-sub {
    margin: 0 0 10px;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
}
.dmm-commerce-insight-pair-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.dmm-commerce-insight-pair-row:first-of-type {
    border-top: none;
    padding-top: 0;
}
.dmm-commerce-insight-pair-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    flex: 1;
    min-width: 0;
}
.dmm-commerce-insight-pair-name {
    font-weight: 600;
    font-size: 0.92rem;
}
.dmm-commerce-insight-pair-price {
    font-size: 0.88rem;
    color: var(--primary-color);
    font-weight: 600;
}
.dmm-commerce-insight-add {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    background: var(--primary-color);
    color: #fff;
}
.dmm-commerce-insight-add:hover {
    filter: brightness(1.06);
}
.dmm-commerce-insight-progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 8px;
}
.dmm-commerce-insight-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--primary-color);
    transition: width 0.25s ease;
}
.dmm-commerce-insight-upsell-msg {
    margin-top: 8px;
}
.dmm-commerce-insight-upsell-msg:first-of-type {
    margin-top: 0;
}
.dmm-commerce-insight-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--dmm-titles-color, #1a1a1a);
}
.dmm-commerce-line {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dmm-commerce-line:last-child {
    border-bottom: none;
}
.dmm-commerce-line-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.dmm-commerce-line-name {
    font-weight: 600;
    font-size: 0.95rem;
    flex: 1;
    min-width: 0;
}
.dmm-commerce-line-price {
    font-weight: 600;
    white-space: nowrap;
    color: var(--primary-color);
}
.dmm-commerce-line-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dmm-commerce-qty {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--dmm-bg, #fff);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}
.dmm-commerce-line-qty {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}
.dmm-commerce-empty {
    font-size: 0.9rem;
    color: #666;
    margin: 8px 0 12px;
}
.dmm-commerce-subtotal {
    margin: 12px 0;
    font-size: 1rem;
    text-align: right;
}
.dmm-commerce-checkout-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary-color);
    color: #fff;
}
.dmm-commerce-checkout-btn:hover {
    filter: brightness(1.05);
}
.dmm-commerce-checkout-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.dmm-commerce-checkout-btn[aria-busy="true"] {
    opacity: 0.65;
    pointer-events: none;
}

.menu-item-description {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}
.menu-item-allergens {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--dmm-color-separator);
    font-size: 0.8rem;
    color: #888;
}

/* Filter Bottom-Sheet (Yumzi-Stil) */
.filter-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.filter-bottom-sheet-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--dmm-bg, #ffffff);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}
.filter-bottom-sheet-drag {
    flex-shrink: 0;
    height: 4px;
    width: 40px;
    margin: 12px auto 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}
.filter-bottom-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px 16px;
    flex-wrap: wrap;
}
.filter-bottom-sheet-title {
    flex: 1;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dmm-titles-color);
    text-align: center;
}
.filter-bottom-sheet-header .filter-modal-close {
    order: -1;
    margin-left: 0;
    margin-right: auto;
    appearance: none;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--dmm-titles-color);
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
}
.filter-bottom-sheet-header .filter-modal-close:hover {
    opacity: 1;
}
.filter-deselect-all {
    appearance: none;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 0;
}
.filter-deselect-all:hover {
    text-decoration: none;
}
.filter-bottom-sheet-body {
    padding: 0 20px 20px;
    flex: 1;
    min-height: 0;
}
.filter-group {
    margin-bottom: 20px;
}
.filter-group:last-child {
    margin-bottom: 0;
}
.filter-group-title {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.filter-group-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-tag-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 24px;
    border: 1px solid var(--dmm-nav-border, rgba(0, 0, 0, 0.1));
    background: var(--dmm-inactive-button-bg, rgba(0, 0, 0, 0.04));
    color: var(--dmm-inactive-button-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.filter-tag-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}
.filter-tag-btn.active {
    background: var(--dmm-active-button-bg);
    border-color: var(--dmm-active-button-bg);
    color: var(--dmm-active-button-color);
}
.filter-tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.filter-tag-icon svg {
    display: block;
}
.filter-bottom-sheet-footer {
    padding: 16px 20px 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    flex-shrink: 0;
    border-top: 1px solid var(--dmm-color-separator, rgba(0, 0, 0, 0.06));
}
.filter-apply-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.filter-apply-btn:hover {
    opacity: 0.95;
}
.filter-apply-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Info-Bottom-Sheet (Telefon, Adresse) */
.dmm-info-sheet-body {
    padding: 0 20px 20px;
}
.dmm-info-sheet-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--dmm-color-separator, rgba(0, 0, 0, 0.06));
    color: var(--dmm-titles-color);
    text-decoration: none;
}
.dmm-info-sheet-row:last-child {
    border-bottom: none;
}
.dmm-info-sheet-row:hover {
    opacity: 0.9;
}
.dmm-info-sheet-icon {
    flex-shrink: 0;
}
.dmm-info-sheet-icon svg {
    display: block;
}
.dmm-info-sheet-text {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
}
.dmm-info-sheet-arrow {
    font-size: 1.2rem;
    opacity: 0.6;
}
.dmm-info-sheet-footer {
    padding: 12px 20px 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--dmm-color-separator, rgba(0, 0, 0, 0.06));
}
.dmm-info-sheet-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
}
.dmm-info-sheet-link:hover {
    text-decoration: underline;
}
.dmm-info-sheet-opening-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.dmm-info-sheet-opening-hours-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}
.dmm-info-sheet-today-status {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
}
.dmm-info-sheet-opening-hours-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Restaurant-Beschreibung oben auf der Speisekarte (API: dmm_restaurant_description) */
.dmm-restaurant-description-block {
    scroll-margin-top: calc(var(--dmm-header-height, 140px) + 12px);
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 16px;
    background: var(--dmm-inactive-button-bg, rgba(0, 0, 0, 0.04));
    border: 1px solid var(--dmm-nav-border, rgba(0, 0, 0, 0.08));
    transition: opacity 0.22s ease, transform 0.22s ease, max-height 0.22s ease, margin 0.22s ease, padding 0.22s ease;
    transform-origin: top center;
    max-height: 320px;
    opacity: 1;
    overflow: hidden;
}
.dmm-restaurant-description-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dmm-titles-color);
}

/* Content-Karten (Bewertung, Info) und Kategorie-Grid */
.dmm-content-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.dmm-content-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: 16px;
    background: var(--dmm-inactive-button-bg, rgba(0, 0, 0, 0.04));
    color: var(--dmm-titles-color);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}
.dmm-content-card:hover {
    background: rgba(0, 0, 0, 0.06);
}
.dmm-content-card-icon {
    flex-shrink: 0;
}
.dmm-content-card-icon svg {
    display: block;
}
.dmm-content-card-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dmm-content-card-title {
    font-weight: 600;
}
.dmm-content-card-sub {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
}
.dmm-content-card-arrow {
    font-size: 1.25rem;
    opacity: 0.6;
}
.dmm-category-choose {
    margin-bottom: 28px;
}
.dmm-category-choose-title {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}
.dmm-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.dmm-category-btn {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--dmm-nav-border, rgba(0, 0, 0, 0.08));
    background: var(--dmm-inactive-button-bg, rgba(0, 0, 0, 0.04));
    color: var(--dmm-titles-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.dmm-category-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}
.dmm-category-btn-more {
    display: none;
}
.dmm-category-grid.expanded .dmm-category-btn-more {
    display: block;
}
.dmm-category-show-more {
    margin-top: 12px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}
.dmm-category-show-more:hover {
    text-decoration: underline;
}

/* Feste Bottom-Navigation (Mobile, Yumzi-style) */
.dmm-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--dmm-bottom-menu-bg);
    color: var(--dmm-bottom-menu-color);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    transition: transform 0.38s cubic-bezier(0.33, 1, 0.32, 1), opacity 0.32s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.dmm-bottom-nav-branding {
    transition: transform 0.38s cubic-bezier(0.33, 1, 0.32, 1), opacity 0.32s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
body.dmm-bottom-nav-hidden .dmm-bottom-nav {
    transform: translateY(calc(100% + max(12px, env(safe-area-inset-bottom, 0px))));
    opacity: 0;
    pointer-events: none;
}
body.dmm-bottom-nav-hidden .dmm-bottom-nav-branding {
    transform: translateY(calc(100% + 12px));
    opacity: 0;
    pointer-events: none;
}
.menu-header .header-controls-slim {
    transition: opacity 0.2s ease;
}
.dmm-bottom-nav > .dmm-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    max-width: none;
    min-height: 52px;
    padding: 8px 4px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
}
.dmm-bottom-nav .dmm-bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}
.dmm-bottom-nav .dmm-bottom-nav-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}
/* Sprache-Button: SVG trägt die Klasse direkt (wie Filter/Teilen/Suche) */
.dmm-bottom-nav svg.dmm-bottom-nav-icon {
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}
.dmm-bottom-nav .dmm-bottom-nav-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.dmm-bottom-nav a.dmm-bottom-nav-item {
    text-decoration: none;
    transition: background 0.2s;
}
.dmm-bottom-nav a.dmm-bottom-nav-item:hover,
.dmm-bottom-nav > .dmm-bottom-nav-item:hover {
    background: rgba(255, 255, 255, 0.3);
}
.dmm-bottom-nav a.dmm-bottom-nav-item:focus-visible,
.dmm-bottom-nav > .dmm-bottom-nav-item:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.dmm-bottom-nav-branding {
    position: fixed;
    bottom: 56px;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 6px 12px;
}
.dmm-bottom-nav-branding-link {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}
.dmm-bottom-nav-branding-link:hover {
    text-decoration: underline;
}

/* „Rechnung bitte“ (Gastbestellung aktiv) – schwebender Button über der Bottom-Nav */
.dmm-bill-request-fab {
    position: fixed;
    right: 14px;
    bottom: calc(68px + max(8px, env(safe-area-inset-bottom, 0px)));
    z-index: 102;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 64px;
    max-width: 92px;
    padding: 10px 10px 8px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: var(--dmm-active-button-bg, var(--primary-color));
    color: var(--dmm-active-button-color, #fff);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.dmm-bill-request-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.dmm-bill-request-fab:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.dmm-bill-request-fab[aria-busy="true"] {
    opacity: 0.65;
    pointer-events: none;
}
.dmm-bill-request-fab-icon {
    flex-shrink: 0;
    display: block;
}
.dmm-bill-request-fab-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.dmm-bottom-nav-hidden .dmm-bill-request-fab {
    bottom: calc(16px + max(8px, env(safe-area-inset-bottom, 0px)));
}
#dmmBillRequestToast.dmm-bill-request-toast {
    position: fixed;
    left: 50%;
    bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(12px);
    z-index: 9999;
    max-width: min(92vw, 360px);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    background: rgba(22, 22, 22, 0.92);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
}
#dmmBillRequestToast.dmm-bill-request-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
#dmmBillRequestToast.dmm-bill-request-toast.dmm-bill-request-toast--error {
    background: rgba(127, 29, 29, 0.95);
}

/* Such-Overlay (Bottom-Nav Suche) */
.dmm-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(0, 0, 0, 0.4);
    align-items: flex-start;
    justify-content: center;
    padding: 60px 16px 20px;
}
.dmm-search-overlay[aria-hidden="false"] {
    display: flex;
}
.dmm-search-overlay-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--dmm-bg, #fff);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.dmm-search-input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    font-size: 16px;
    border: 1px solid var(--dmm-nav-border);
    border-radius: 12px;
}
.dmm-search-overlay-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    appearance: none;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--dmm-titles-color);
    cursor: pointer;
    padding: 4px;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.menu-container {
    padding-bottom: max(96px, env(safe-area-inset-bottom, 0px) + 80px) !important;
}
@media (max-width: 767px) {
    .menu-container {
        padding-top: 12px;
    }
    .menu-header {
        padding: 8px 12px;
        gap: 6px;
    }
    .menu-header-top {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    .menu-header-brand-logo .menu-logo-centered {
        max-height: 96px;
    }
    .menu-header-brand-name .restaurant-name-centered {
        font-size: 1.2rem;
        line-height: 1.25;
    }
    .restaurant-name-above-logo {
        font-size: 1.2rem;
        line-height: 1.25;
    }
    .menu-header-top .menu-header-right .menu-logo {
        max-height: 96px;
    }
    .menu-nav-wrap {
        max-height: none;
        min-height: 42px;
        padding: 6px 0 12px;
    }
    .menu-nav-link {
        padding: 6px 12px;
        font-size: 12px;
    }
    .menu-category {
        margin-bottom: 1.25rem;
    }
    .menu-category-title {
        font-size: 1.35rem;
        margin: 0 0 0.75rem;
        padding-bottom: 0.45rem;
    }
    .menu-category-description {
        font-size: 0.82rem;
        margin: 0 0 0.75rem;
        line-height: 1.45;
    }
    .menu-item {
        padding: 14px 14px;
        margin-bottom: 10px;
        border-radius: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
    }
    .menu-item--has-image {
        gap: 12px;
    }
    .menu-item--has-image .menu-item-image-wrap {
        width: 80px;
    }
    .menu-item-header {
        gap: 10px;
        margin-bottom: 6px;
    }
    .menu-item-name {
        font-size: 1rem;
        line-height: 1.25;
    }
    .menu-item-price {
        padding: 6px 11px;
        font-size: 0.82rem;
        border-radius: 14px;
    }
    .menu-item-description {
        font-size: 0.82rem;
        line-height: 1.45;
    }
    .menu-item-allergens {
        margin-top: 8px;
        padding-top: 8px;
        font-size: 0.72rem;
    }
    /* dmm-header-shrunk wird per JS auf schmalen Viewports nicht gesetzt – stabiler Header */
    .menu-header-filters {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .menu-filter-pills {
        order: 1;
    }
    .menu-search-wrap {
        flex: 1 1 100%;
        order: 0;
        min-width: 0;
    }
    .menu-header-filters .header-controls {
        margin-left: 0;
        order: 2;
    }
    .dmm-header-review-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 10px;
        background: var(--primary-color);
        color: #fff;
        border: none;
        cursor: pointer;
        font-weight: 600;
        text-decoration: none;
    }
    .dmm-header-review-btn:hover {
        opacity: 0.95;
    }
}

/* iOS Safari (iPhone): zusätzlich kompaktere Dish-Karten, da Safari teils größer rendert. */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 767px) {
        .menu-item {
            padding: 12px 12px;
            margin-bottom: 8px;
        }
        .menu-item-name {
            font-size: 0.95rem;
            line-height: 1.22;
        }
        .menu-item-price {
            padding: 5px 10px;
            font-size: 0.78rem;
        }
        .menu-item-description {
            font-size: 0.78rem;
            line-height: 1.4;
        }
        .menu-item-allergens {
            font-size: 0.68rem;
        }
    }
}
@media (min-width: 768px) {
    .dmm-header-review-btn {
        display: none !important;
    }
}

/* Sprach-Modal (Yumzi-style) */
.dmm-language-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.dmm-language-modal-overlay[aria-hidden="false"] { display: flex; }
.dmm-language-modal {
    background: var(--dmm-language-modal-bg);
    border-radius: 16px;
    padding: 24px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.dmm-language-modal h3 { margin: 0 0 16px; font-size: 18px; }
.dmm-language-modal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 55vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.dmm-language-modal li { margin-bottom: 8px; }
.dmm-language-modal button {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    border: none;
    border-radius: 12px;
    background: var(--dmm-inactive-button-bg);
    color: var(--dmm-inactive-button-color);
    cursor: pointer;
    font-size: 15px;
}
.dmm-language-modal button:hover { background: var(--dmm-active-button-bg); color: var(--dmm-active-button-color); }
.dmm-language-modal button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .dmm-language-modal ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
        max-height: 60vh;
    }
    .dmm-language-modal li { margin-bottom: 0; }
}

.dmm-lang-modal-btn {
    padding: 8px 14px;
    border-radius: 24px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: var(--dmm-inactive-button-bg);
    color: var(--dmm-inactive-button-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: none;
}
@media (max-width: 767px) {
    .dmm-lang-modal-btn { display: inline-flex; align-items: center; }
}

/* Review Modal (Bewerten) */
.review-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.review-modal[aria-hidden="false"],
.review-modal.active {
    display: flex;
}
.review-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.review-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    background: var(--dmm-bg, #ffffff);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.review-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 12px 18px;
    border-bottom: 1px solid var(--dmm-color-separator, rgba(0, 0, 0, 0.08));
}
.review-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dmm-titles-color, #1a1a1a);
}
.review-modal-close {
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 10px;
    color: var(--dmm-titles-color, #1a1a1a);
}
.review-modal-close:hover {
    background: rgba(0, 0, 0, 0.06);
}
.review-modal-body {
    padding: 14px 18px 18px 18px;
}
.review-modal-stars-wrap {
    text-align: center;
}
.review-modal-stars-label {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
}
.review-modal-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.review-star-btn {
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    font-size: 32px;
    line-height: 1;
    color: var(--dmm-color-separator, rgba(0, 0, 0, 0.2));
    transition: color 0.15s ease, transform 0.1s ease;
}
.review-star-btn:hover,
.review-star-btn.active {
    color: var(--dmm-primary-color, #f59e0b);
}
.review-star-btn:hover {
    transform: scale(1.1);
}
.review-modal-form-wrap {
    margin-top: 16px;
    text-align: left;
}
.review-modal-form-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dmm-titles-color, #1a1a1a);
}
.review-modal-form-desc {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}
.review-modal-form-rating-label {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}
.review-modal-input,
.review-modal-textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid var(--dmm-nav-border, rgba(0,0,0,0.12));
    border-radius: 12px;
    background: #fff;
    color: var(--dmm-titles-color);
    box-sizing: border-box;
}
.review-modal-textarea {
    resize: vertical;
    min-height: 80px;
}
.review-modal-submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
}
.review-modal-submit-btn:hover {
    opacity: 0.95;
}
.review-modal-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.review-modal-thankyou {
    text-align: center;
    padding: 12px 0 0;
}
.review-modal-thankyou-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--dmm-titles-color, #1a1a1a);
}
.review-modal-description {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
}
.review-platforms {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.review-platform-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    text-decoration: none;
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--dmm-titles-color, #1a1a1a);
    transition: transform 0.15s ease, background 0.15s ease;
}
.review-platform-link:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}
.review-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}
.review-platform-icon > svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    display: block !important;
}
.review-btn .review-star-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    display: block !important;
}
.review-platform-name {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.review-platform-arrow {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex: 0 0 20px !important;
    display: block !important;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Footer: Social-Links */
.menu-footer-socials {
    margin: 12px 0 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.menu-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary-color);
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.menu-footer-social-link:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    opacity: 0.9;
}
.menu-footer-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

/* Gerichtsbild: quadratische Miniatur links (Layout A) */
.menu-item--has-image .menu-item-image-wrap {
    flex-shrink: 0;
    width: 96px;
    aspect-ratio: 1;
    max-width: 32vw;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--dmm-color-separator);
}
button.menu-item-image-wrap {
    appearance: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: zoom-in;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    display: block;
}
button.menu-item-image-wrap:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}
.menu-item-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Vollbild-Lightbox Gerichtsbild */
.dmm-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.dmm-image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.dmm-image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.dmm-image-lightbox-panel {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 900px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.dmm-image-lightbox-close {
    appearance: none;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}
.dmm-image-lightbox-close:hover {
    transform: scale(1.05);
}
.dmm-image-lightbox-close:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.dmm-image-lightbox-stage {
    width: 100%;
    max-height: calc(88vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.dmm-image-lightbox-img {
    max-width: 100%;
    max-height: calc(88vh - 56px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.dmm-image-lightbox:not(.is-open) .dmm-image-lightbox-img {
    opacity: 0;
    transform: scale(0.96);
}
.dmm-image-lightbox.is-open .dmm-image-lightbox-img {
    opacity: 1;
    transform: scale(1);
}

.restaurant-description {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dmm-titles-color, #1a1a1a);
    opacity: 0.9;
}

/* Kontakt nur im Info-Button/Sheet – Block oberhalb der Info-Karte ausblenden */
.dmm-contact-block {
    display: none !important;
}
.dmm-contact-inner {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: center;
}
.dmm-contact-item,
.dmm-contact-link {
    font-size: 14px;
    color: var(--dmm-titles-color, #1a1a1a);
}
.dmm-contact-link {
    text-decoration: none;
    color: var(--primary-color);
}
.dmm-contact-link:hover {
    text-decoration: underline;
}
.dmm-contact-address {
    width: 100%;
    margin: 0;
    text-align: center;
}

/* Footer Base */
.menu-footer {
    margin-top: 60px;
    padding: 40px 20px 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}
.menu-footer-content {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.menu-footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-footer-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.menu-footer-logo a:hover {
    opacity: 0.8;
}
.footer-logo-img {
    max-height: 32px;
    width: auto;
    display: block;
}
.footer-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    display: none;
}
.menu-footer-copyright {
    font-size: 12px;
    color: #999;
}
.menu-footer-copyright p {
    margin: 0;
}
.menu-footer-copyright a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}
.menu-footer-copyright a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.menu-footer-allergens {
    width: 100%;
    margin: 20px 0;
}
.footer-allergen-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #666;
}
.footer-allergen-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    font-size: 11px;
}
.footer-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-legend-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.08);
    color: #333;
    font-weight: 600;
    font-size: 10px;
    flex-shrink: 0;
}
.footer-legend-item span:last-child {
    color: #666;
}
@media (min-width: 768px) {
    .menu-footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
    .menu-footer-allergens {
        flex: 1;
        margin: 0 20px;
    }
    .footer-allergen-legend {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Anmelden / Mein Dashboard – Header-Links (alle Themes) */
.dmm-menu-header-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border: 1.5px solid rgba(var(--primary-rgb), 0.3);
}
.dmm-menu-header-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}
