/* ═══════════════════════════════════════════════════════════════════
   MAKARSKA GASTRO GUIDE — EDITORIAL 2.0
   restoran.css — Restaurant-Detailseite
   Nur Poppins. Flach. Keine Emojis. Keine Schatten (außer Coffee).
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --paper:        #FFFFFF;
    --paper-warm:   #F7F7F5;
    --paper-deep:   #EFEFEC;
    --ink:          #1A1A1A;
    --ink-mid:      #6B6B6B;
    --ink-muted:    #9A9A9A;
    --rule:         #E8E8E5;
    --rule-strong:  #D5D5D0;
    --accent:       #8B2E2E;
    --price:        #2D5A3D;
    --star:         #D4B06A;

    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 72px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- ICONS ---------- */
.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    flex-shrink: 0;
    color: currentColor;
}
.icon--lg { width: 20px; height: 20px; }
.icon--sm { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════════
   TABU 3 — KI-ASSISTENT: NUR FARBANPASSUNG (Override)
   ═══════════════════════════════════════════════════════════════════ */

.virtual-assistant-container .virtual-assistant {
    background: var(--accent);
    border: 1px solid var(--rule);
    box-shadow: none;
}

.virtual-assistant-container .virtual-assistant:hover {
    background: var(--ink);
    box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════════
   RESTAURANT HERO
   ═══════════════════════════════════════════════════════════════════ */

.restaurant-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.restaurant-hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: var(--paper-deep);
    margin-bottom: 24px;
}

/* ─────────── HERO-SLIDER (NEU) ─────────── */
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─────────── HERO-NAVIGATION ─────────── */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 5;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 0;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: background .2s;
}

.hero-prev:hover,
.hero-next:hover {
    background: #FFFFFF;
}

.hero-prev .icon,
.hero-next .icon {
    width: 18px;
    height: 18px;
}

/* ─────────── HERO-DOTS ─────────── */
.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    padding: 0;
}

.hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: background .2s;
    display: block;
}

.hero-dots span.active {
    background: #FFFFFF;
}

/* ─────────── HERO-COUNTER ─────────── */
.hero-counter {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    padding: 4px 10px;
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    z-index: 5;
    border-radius: 0;
}

/* ─────────── HERO-OVERLAYS ─────────── */
.restaurant-hero-overlay,
.restaurant-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 28px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 100%);
    z-index: 6;
    pointer-events: none;
}

.restaurant-hero-overlay h1,
.restaurant-name-overlay h1 {
    font-family: var(--font);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
    pointer-events: auto;
}

/* ---------- Season Badge ---------- */
.season-badge-header {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 8;
    padding: 6px 14px;
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--paper);
    border-radius: 0;
}

.season-badge-header.year_round { background: var(--price); color: #FFFFFF; }
.season-badge-header.seasonal { background: var(--star); color: var(--ink); }
.season-badge-header.closed { background: var(--accent); color: #FFFFFF; }

/* ---------- No Menu Badge ---------- */
.no-menu-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 8;
    padding: 6px 14px;
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 0;
}

.no-menu-badge .icon { width: 14px; height: 14px; color: #FFFFFF; }

/* ---------- Reviews Badges Compact ---------- */
.reviews-badges-compact {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.compact-my-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink);
}

.compact-stars { display: flex; gap: 2px; }
.compact-stars .icon { width: 12px; height: 12px; }
.compact-stars .icon.active { color: var(--star); }
.compact-stars .icon:not(.active) { color: var(--rule-strong); }

.compact-rating-value { font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.compact-rating-label {
    font-size: 0.62rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.compact-external-reviews { display: flex; gap: 6px; }

.compact-review-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .2s;
}

.compact-review-badge:hover { border-color: var(--ink); color: var(--ink); }
.compact-review-badge.google .icon { color: #4285F4; }
.compact-review-badge.tripadvisor .icon { color: #00AA6C; }

/* ---------- Price Indicator ---------- */
.price-indicator-container {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.price-indicator-container > * {
    pointer-events: auto;
}

.price-badge-main {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink);
}

.price-badge-main .icon { width: 14px; height: 14px; color: var(--price); }
.price-badge-main.budget { border-left: 3px solid var(--price); }
.price-badge-main.medium { border-left: 3px solid var(--star); }
.price-badge-main.premium { border-left: 3px solid var(--accent); }

.price-level-text { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.65rem; }
.price-avg { font-weight: 700; font-size: 0.85rem; color: var(--price); }
.price-avg small { font-weight: 500; font-size: 0.6rem; color: var(--ink-muted); }

.price-range-detail {
    padding: 4px 12px;
    background: rgba(255,255,255,0.9);
    font-family: var(--font);
    font-size: 0.65rem;
    color: var(--ink-muted);
}

/* ─────────── PREIS-INDEX-BADGE (NEU) ─────────── */
.price-index-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-family: var(--font);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
    border-radius: 0;
    margin-top: 4px;
}

.price-index-badge .icon { width: 12px; height: 12px; }

.price-index-badge.cheap {
    background: var(--price);
    color: #FFFFFF;
}

.price-index-badge.expensive {
    background: var(--accent);
    color: #FFFFFF;
}

.price-index-badge.average {
    background: var(--paper-deep);
    color: var(--ink-mid);
    border: 1px solid var(--rule);
}

/* ─────────── HAPPY-HOUR-BADGE (NEU) ─────────── */
.happy-hour-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-family: var(--font);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
    background: var(--star);
    color: var(--ink);
    border-radius: 0;
    margin-top: 4px;
}

.happy-hour-badge .icon { width: 12px; height: 12px; }

.happy-hour-badge .hh-discount {
    background: rgba(0,0,0,0.15);
    padding: 1px 5px;
    margin-left: 2px;
}

/* ---------- Last Updated Badge ---------- */
.last-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
    background: var(--price);
    color: #FFFFFF;
    border-radius: 0;
    margin-top: 8px;
}

.last-updated-badge .icon { width: 12px; height: 12px; color: #FFFFFF; opacity: 0.9; }

/* ---------- Social Like Section ---------- */
.social-like-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
}

.like-btn,
.comment-toggle-btn,
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-mid);
    cursor: pointer;
    transition: all .2s;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.like-btn:hover,
.comment-toggle-btn:hover,
.share-btn:hover { border-color: var(--ink); color: var(--ink); }

.like-btn.liked { border-color: var(--accent); color: var(--accent); }
.like-btn .icon { width: 14px; height: 14px; }
.like-count { font-weight: 700; }

/* ---------- Comments Section ---------- */
.comments-section {
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    padding: 20px;
    margin: 16px 0;
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}

.comments-header .icon { width: 18px; height: 18px; color: var(--accent); }

.comment-form { display: flex; gap: 12px; margin-bottom: 20px; }

.comment-form-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-form-avatar-placeholder {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.comment-input-group { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.comment-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--rule-strong);
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--ink);
    background: var(--paper);
    resize: vertical;
    min-height: 60px;
}

.comment-input:focus { outline: none; border-color: var(--ink); }

.comment-submit-btn {
    align-self: flex-end;
    padding: 8px 20px;
    background: var(--accent);
    color: #FFFFFF;
    border: 1px solid var(--accent);
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all .2s;
}

.comment-submit-btn:hover { background: var(--ink); border-color: var(--ink); }

.comment-login-hint {
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.82rem;
    color: var(--ink-mid);
    text-align: center;
}

.comment-login-hint a { color: var(--accent); font-weight: 600; }

.comments-list { display: flex; flex-direction: column; gap: 16px; }
.comments-loading { text-align: center; padding: 20px; color: var(--ink-muted); }

/* ---------- Restaurant Address ---------- */
.restaurant-address-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--ink-mid);
    border-bottom: 1px solid var(--rule);
}

.restaurant-address-container .icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.restaurant-address-text { color: var(--ink); font-weight: 500; }

/* ---------- Restaurant Map (jetzt im Info-Tab) ---------- */
#restaurantMap {
    height: 280px;
    width: 100%;
    margin: 20px 0 0 0;
    border: 1px solid var(--rule);
    border-radius: 0;
    background: var(--paper-deep);
    z-index: 1;
    position: relative;
}

/* ---------- Restaurant Contact Info ---------- */
.restaurant-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.82rem;
    color: var(--ink-mid);
}

.contact-item .icon { width: 14px; height: 14px; color: var(--accent); }
.contact-item a { color: var(--ink); font-weight: 500; }
.contact-item a:hover { color: var(--accent); }

/* ---------- Social Share Widget ---------- */
.social-share-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
}

.share-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.share-label .icon { width: 14px; height: 14px; }

.social-share-widget .share-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-share-widget .share-btn.whatsapp { background: #25D366; border-color: #25D366; color: #FFFFFF; }
.social-share-widget .share-btn.facebook { background: #1877F2; border-color: #1877F2; color: #FFFFFF; }
.social-share-widget .share-btn.copy-link { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.share-preview {
    font-family: var(--font);
    font-size: 0.72rem;
    color: var(--ink-muted);
    margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════════
   RESTAURANT TABS NAVIGATION — NICHT STICKY
   ═══════════════════════════════════════════════════════════════════ */

.restaurant-tab-navigation {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    position: relative;
}

.restaurant-tab-buttons {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.restaurant-tab-buttons::-webkit-scrollbar { display: none; }

.restaurant-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    letter-spacing: 0.02em;
    margin-bottom: -1px;
}

.restaurant-tab-btn:hover { color: var(--ink); }
.restaurant-tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.restaurant-tab-btn .icon { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════════
   SIMILAR RESTAURANTS
   ═══════════════════════════════════════════════════════════════════ */

.similar-restaurants-section {
    max-width: 1280px;
    margin: 32px auto;
    padding: 0 24px;
}

.similar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}

.similar-title .icon { width: 20px; height: 20px; color: var(--accent); }

.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.similar-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s;
    overflow: hidden;
}

.similar-card:hover { border-color: var(--ink); }

.similar-image {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--paper-deep);
}

.similar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.similar-card:hover .similar-image img { transform: scale(1.04); }

.small-no-menu-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 3px 8px;
    font-family: var(--font);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 4px;
}

.small-no-menu-badge .icon { width: 10px; height: 10px; color: #FFFFFF; }

.similar-content {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.similar-content h4 {
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
}

.similar-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font);
    font-size: 0.72rem;
    color: var(--ink-muted);
}

.similar-location .icon { width: 12px; height: 12px; color: var(--accent); }

.similar-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font);
    font-size: 0.72rem;
    color: var(--ink-muted);
}

.similar-rating .icon { width: 12px; height: 12px; }
.similar-rating .icon.active { color: var(--star); }
.similar-rating .icon:not(.active) { color: var(--rule-strong); }
.similar-rating span { font-weight: 600; color: var(--ink); margin-left: 4px; }

/* ═══════════════════════════════════════════════════════════════════
   MAIN CONTENT — TABS
   ═══════════════════════════════════════════════════════════════════ */

main.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.tab-content.restaurant-tab-content {
    display: none;
    padding: 28px 0;
}

.tab-content.restaurant-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Restaurant Description ---------- */
.restaurant-description {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 28px;
}

.restaurant-description h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}

.restaurant-description h2 .icon { width: 20px; height: 20px; color: var(--accent); }
.restaurant-description p { font-size: 0.9rem; line-height: 1.7; color: var(--ink-mid); }

/* ═══════════════════════════════════════════════════════════════════
   MENU TAB
   ═══════════════════════════════════════════════════════════════════ */

.ki-module-container { margin-bottom: 24px; }

.ki-module-error {
    padding: 20px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    text-align: center;
    color: var(--ink-muted);
    font-size: 0.85rem;
}

.mobile-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-mid);
    margin-bottom: 16px;
}

.mobile-scroll-hint .icon { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════════
   KATEGORIEN-NAVIGATION — STICKY UNTER DEM HEADER
   ═══════════════════════════════════════════════════════════════════ */

.categories-nav-container {
    position: sticky;
    top: var(--header-height, 72px);
    z-index: 900;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule-strong);
    margin-bottom: 24px;
    padding: 0;
    transition: box-shadow .2s;
}

.categories-nav-container.is-stuck {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.categories-nav-container.hidden { display: none; }
.categories-nav-container.visible { display: block; }

.categories-nav-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.categories-nav-wrapper::-webkit-scrollbar { display: none; }

.categories-nav {
    display: flex;
    gap: 0;
    padding: 0;
    min-width: max-content;
}

.category-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-mid);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}

.category-nav-link:hover { color: var(--ink); background: var(--paper-warm); }
.category-nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }

.category-nav-link .item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--ink-muted);
}

.category-nav-link.active .item-count {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}

/* ═══════════════════════════════════════════════════════════════════
   BESTELLTES (BELIEBTESTE GERICHTE) — aus menu_item_clicks (NEU)
   ═══════════════════════════════════════════════════════════════════ */

.top-clicked-dishes {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.top-clicked-dishes-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}

.top-clicked-dishes-title .icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.top-clicked-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top-clicked-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    transition: padding .2s, background .2s;
}

.top-clicked-item:hover {
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
    background: var(--paper-warm);
}

.top-clicked-item:last-child {
    border-bottom: none;
}

.top-clicked-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink-mid);
    flex-shrink: 0;
}

.top-clicked-item:nth-child(1) .top-clicked-rank {
    background: var(--star);
    border-color: var(--star);
    color: var(--ink);
}

.top-clicked-name {
    flex: 1;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-clicked-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.top-clicked-count {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-muted);
}

.top-clicked-price {
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--price);
}

/* ═══════════════════════════════════════════════════════════════════
   TOP DISHES — Desktop
   ═══════════════════════════════════════════════════════════════════ */

.top-dishes-section {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 24px;
    margin-bottom: 32px;
}

.top-dishes-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}

.top-dishes-title .icon { width: 18px; height: 18px; color: var(--accent); }

.top-dishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.top-dish-card {
    display: flex;
    flex-direction: column;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    overflow: hidden;
    transition: border-color .2s;
}

.top-dish-card:hover { border-color: var(--ink); }

.top-dish-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--paper-deep);
}

.top-dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.top-dish-card:hover .top-dish-image img { transform: scale(1.04); }

.top-dish-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
}

.top-dish-image.placeholder .icon { width: 32px; height: 32px; }

.top-dish-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.top-dish-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.top-dish-header h4 {
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
}

.special-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--star);
    color: var(--ink);
    flex-shrink: 0;
}

.special-badge .icon { width: 12px; height: 12px; }

.top-dish-price {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--price);
}

.top-dish-category {
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE DISHES — Horizontal Scroll
   ═══════════════════════════════════════════════════════════════════ */

.mobile-dishes-container { display: none; margin-bottom: 24px; }

.mobile-dishes-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
}

.mobile-dishes-title .icon { width: 18px; height: 18px; color: var(--accent); }

.mobile-dishes-horizontal-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 8px;
}

.mobile-dishes-horizontal-scroll::-webkit-scrollbar { height: 4px; }
.mobile-dishes-horizontal-scroll::-webkit-scrollbar-track { background: var(--rule); }
.mobile-dishes-horizontal-scroll::-webkit-scrollbar-thumb { background: var(--rule-strong); }

.mobile-dish-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--paper);
    border: 1px solid var(--rule);
    overflow: hidden;
    transition: border-color .2s;
}

.mobile-dish-card:hover { border-color: var(--ink); }

.mobile-dish-image-container {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--paper-deep);
}

.mobile-dish-image-container img { width: 100%; height: 100%; object-fit: cover; }

.mobile-dish-image-container.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
}

.mobile-dish-image-container.placeholder .icon { width: 32px; height: 32px; }

.mobile-dish-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px 0;
}

.mobile-dish-header h4 {
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
}

.mobile-special-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--star);
    color: var(--ink);
    flex-shrink: 0;
}

.mobile-special-badge .icon { width: 10px; height: 10px; }

.mobile-dish-price {
    padding: 4px 14px 0;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--price);
}

.mobile-dish-category {
    padding: 4px 14px 14px;
    font-family: var(--font);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════════════
   MENU ITEMS — HORIZONTAL
   ═══════════════════════════════════════════════════════════════════ */

.menu-categories-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.menu-category {
    scroll-margin-top: calc(var(--header-height, 72px) + 60px);
}

.category-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule-strong);
}

.category-header h3 {
    font-family: var(--font);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 0;
}

.category-description {
    font-family: var(--font);
    font-size: 0.82rem;
    font-style: italic;
    color: var(--ink-muted);
    margin-top: 6px;
}

.menu-items { display: flex; flex-direction: column; }

.menu-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    transition: background .15s;
}

.menu-item:hover {
    background: var(--paper-warm);
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
}

.menu-item:last-child { border-bottom: none; }

.menu-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.menu-item-header h4 {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

.menu-item-description {
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--ink-mid);
    line-height: 1.5;
    margin: 0;
}

.menu-price-gallery {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.menu-price {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--price);
    white-space: nowrap;
}

.menu-thumbs { display: flex; gap: 4px; }

.menu-thumb {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border: 1px solid var(--rule);
    cursor: pointer;
    transition: border-color .2s;
}

.menu-thumb:hover { border-color: var(--ink); }

.menu-thumb-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--ink-muted);
}

.menu-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--paper-deep);
}

.menu-item-image img { width: 100%; height: 100%; object-fit: cover; }

.menu-item-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag .icon { width: 10px; height: 10px; }
.tag.vegetarian { border-color: #4CAF50; color: #2E7D32; }
.tag.vegan { border-color: #2E7D32; color: #1B5E20; }
.tag.spicy { border-color: var(--accent); color: var(--accent); }
.tag.special { border-color: var(--star); color: #8B6914; }
.tag.daily { border-color: #1976D2; color: #1565C0; }

.menu-item-highlight { animation: highlightPulse 2s ease; }

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(139, 46, 46, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(139, 46, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 46, 46, 0); }
}

/* ═══════════════════════════════════════════════════════════════════
   DAILY MENU TAB
   ═══════════════════════════════════════════════════════════════════ */

.daily-menu-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 24px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .daily-menu-header { flex-direction: row; align-items: flex-start; }
}

.daily-menu-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
    background: var(--paper-deep);
}

.daily-menu-image img { width: 100%; height: 220px; object-fit: cover; }

.daily-menu-info { flex: 1; }

.daily-menu-info h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.daily-menu-info h2 .icon { width: 20px; height: 20px; color: var(--accent); }

.daily-menu-info h3 {
    font-family: var(--font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.daily-menu-description {
    font-size: 0.85rem;
    color: var(--ink-mid);
    line-height: 1.6;
    margin-bottom: 16px;
}

.price-range-tag { display: flex; gap: 8px; flex-wrap: wrap; }

.price-range-tag .tag.price-range {
    background: var(--price);
    color: #FFFFFF;
    border-color: var(--price);
    font-weight: 600;
}

.price-range-tag .tag.day-of-week { border-color: var(--rule-strong); color: var(--ink-mid); }

.no-daily-menu,
.no-menu,
.no-characteristics,
.no-images,
.no-daily-items {
    text-align: center;
    padding: 48px 24px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    color: var(--ink-muted);
}

.no-daily-menu .icon,
.no-menu .icon,
.no-characteristics .icon,
.no-images .icon,
.no-daily-items .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--rule-strong);
}

.no-daily-menu h3,
.no-menu h3,
.no-characteristics h3,
.no-images h3,
.no-daily-items h4 {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink-mid);
    margin-bottom: 8px;
}

.no-daily-menu p,
.no-menu p,
.no-characteristics p,
.no-images p,
.no-daily-items p {
    font-size: 0.85rem;
    max-width: 480px;
    margin: 0 auto;
}

.available-days {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
}

.days-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   CHARACTERISTICS TAB
   ═══════════════════════════════════════════════════════════════════ */

.characteristics-container {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 24px;
}

.features-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.feature-display-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--price);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    transition: border-color .2s;
}

.feature-display-item:hover { border-color: var(--rule-strong); border-left-color: var(--ink); }

.feature-display-item.feature-highlighted {
    border-left-color: var(--star);
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3CD 100%);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--price);
    flex-shrink: 0;
}

.feature-icon .icon { width: 18px; height: 18px; }
.feature-display-item.feature-highlighted .feature-icon { color: #8B6914; }

.feature-label { flex: 1; }

.feature-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--star);
    color: var(--ink);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   GALLERY TAB
   ═══════════════════════════════════════════════════════════════════ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--paper-deep);
    cursor: pointer;
    border: 1px solid var(--rule);
    transition: border-color .2s;
}

.gallery-item:hover { border-color: var(--ink); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity .2s;
    color: #FFFFFF;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay .icon { width: 24px; height: 24px; }

/* ---------- Lightbox ---------- */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}

.lightbox-content { position: relative; max-width: 90%; max-height: 90%; }

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s;
}

.lightbox-close:hover { border-color: #FFFFFF; }

.lightbox-img { max-width: 100%; max-height: 80vh; object-fit: contain; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: border-color .2s;
}

.lightbox-prev:hover,
.lightbox-next:hover { border-color: #FFFFFF; }

.lightbox-counter {
    position: absolute;
    bottom: -32px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-family: var(--font);
    font-size: 0.78rem;
}

/* ═══════════════════════════════════════════════════════════════════
   MENU GALLERY LIGHTBOX
   ═══════════════════════════════════════════════════════════════════ */

.menu-gallery-lightbox {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.95) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-gallery-lightbox.active { display: flex !important; opacity: 1 !important; }

.menu-gallery-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-gallery-img { max-width: 100%; max-height: 85vh; object-fit: contain; }

.menu-gallery-close {
    position: fixed !important;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000001 !important;
    transition: border-color .2s;
}

.menu-gallery-close:hover { border-color: #FFFFFF; }

.menu-gallery-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.menu-gallery-prev,
.menu-gallery-next {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: border-color .2s;
}

.menu-gallery-prev:hover,
.menu-gallery-next:hover { border-color: #FFFFFF; }

.menu-gallery-counter {
    position: fixed !important;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: rgba(0,0,0,0.6);
    color: #FFFFFF;
    font-family: var(--font);
    font-size: 0.78rem;
    z-index: 1000001 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   COFFEE WIDGET — 1:1 (TABU 2 — UNVERÄNDERT)
   ═══════════════════════════════════════════════════════════════════ */

.sticky-coffee-widget {
    position: fixed;
    top: 100px;
    right: 16px;
    z-index: 800;
    width: 300px;
    max-width: calc(100vw - 32px);
    background: linear-gradient(160deg, #2d2412, #1a1508);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(0,0,0,.35), 0 0 0 1px rgba(201,168,76,.35);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    transition: transform .25s ease, opacity .25s ease;
}

.sticky-coffee-widget.minimized .coffee-widget-header,
.sticky-coffee-widget.minimized .coffee-widget-content,
.sticky-coffee-widget.minimized .coffee-widget-trophy { display: none; }
.sticky-coffee-widget.minimized .coffee-widget-minimized { display: flex; }
.sticky-coffee-widget.expanded .coffee-widget-minimized { display: none; }
.sticky-coffee-widget.expanded .coffee-widget-header,
.sticky-coffee-widget.expanded .coffee-widget-content { display: block; }

.coffee-widget-trophy {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a84c, #e8c96c);
    color: #2d2412;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    box-shadow: 0 3px 10px rgba(201,168,76,.5);
    z-index: 2;
}

.coffee-widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #c9a84c, #e8c96c);
    color: #2d2412;
}

.coffee-widget-header h3 { flex: 1; margin: 0; font-size: .92rem; font-weight: 800; }

.coffee-widget-close {
    background: rgba(0,0,0,.15);
    border: none;
    color: #2d2412;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coffee-widget-content { padding: 14px; }

.coffee-type-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 10px;
    scrollbar-width: none;
}
.coffee-type-tabs::-webkit-scrollbar { display: none; }

.coffee-type-tab {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 20px;
    border: 1px solid rgba(201,168,76,.4);
    background: rgba(255,255,255,.05);
    color: #e8c96c;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

.coffee-type-tab.active {
    background: linear-gradient(135deg, #c9a84c, #e8c96c);
    color: #2d2412;
    border-color: transparent;
}

.coffee-price-display { text-align: center; margin-bottom: 10px; }
.coffee-price-display .price-big {
    font-size: 2.1rem;
    font-weight: 900;
    color: #e8c96c;
    line-height: 1;
}
.coffee-price-display .price-big .currency { font-size: 1.1rem; opacity: .8; }
.coffee-price-display .price-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(255,255,255,.55);
    margin-top: 2px;
}

.coffee-cafe-info {
    background: rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.coffee-cafe-info .cafe-name {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: .85rem;
}

.coffee-cafe-info .place-type-badge {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(201,168,76,.2);
    color: #e8c96c;
    padding: 2px 7px;
    border-radius: 10px;
}

.coffee-cafe-info .cafe-location { font-size: .76rem; color: rgba(255,255,255,.65); margin-top: 4px; }
.coffee-cafe-info .coffee-details { font-size: .74rem; color: rgba(255,255,255,.55); margin-top: 4px; }

.coffee-opening-hours {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.coffee-widget-actions { display: flex; gap: 8px; margin-bottom: 10px; }

.coffee-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
}

.coffee-btn-primary { background: linear-gradient(135deg, #c9a84c, #e8c96c); color: #2d2412; }
.coffee-btn-secondary { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.coffee-widget-compare { text-align: center; }
.coffee-btn-compare {
    width: 100%;
    background: rgba(201,168,76,.12);
    color: #e8c96c;
    border: 1px dashed rgba(201,168,76,.4);
}

.coffee-widget-footer {
    text-align: center;
    margin-top: 10px;
    font-size: .68rem;
    color: rgba(255,255,255,.4);
}

.coffee-no-data { text-align: center; padding: 10px 0; }
.coffee-no-data p { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 10px; }

.coffee-widget-minimized {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #c9a84c, #e8c96c);
    color: #2d2412;
    cursor: pointer;
    font-weight: 800;
    font-size: .82rem;
}

.coffee-widget-minimized .minimized-price {
    margin-left: auto;
    background: rgba(0,0,0,.15);
    padding: 3px 9px;
    border-radius: 20px;
    font-size: .78rem;
}

.sticky-coffee-widget.refreshing { opacity: .6; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .similar-grid { grid-template-columns: repeat(2, 1fr); }
    .top-dishes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-height: 60px; }

    .restaurant-header { padding: 0 16px; }
    .restaurant-hero { height: 280px; margin-bottom: 16px; }
    .restaurant-hero-overlay,
    .restaurant-name-overlay { padding: 20px 16px 16px; }
    .restaurant-hero-overlay h1,
    .restaurant-name-overlay h1 { font-size: 1.5rem; }

    .hero-prev,
    .hero-next { width: 34px; height: 34px; }
    .hero-prev .icon,
    .hero-next .icon { width: 16px; height: 16px; }
    .hero-dots span { width: 7px; height: 7px; }
    .hero-counter { top: 10px; left: 10px; font-size: 0.6rem; }

    .season-badge-header { top: 10px; left: 10px; font-size: 0.62rem; padding: 4px 10px; }
    .no-menu-badge { bottom: 10px; right: 10px; font-size: 0.6rem; padding: 4px 10px; }

    .reviews-badges-compact { top: 10px; right: 10px; gap: 6px; }
    .compact-my-reviews { padding: 4px 8px; font-size: 0.65rem; }
    .compact-rating-value { font-size: 0.75rem; }
    .compact-rating-label { display: none; }
    .compact-review-badge { padding: 4px 8px; font-size: 0.65rem; }

    .price-indicator-container { bottom: 10px; left: 10px; }
    .price-badge-main { padding: 4px 10px; font-size: 0.65rem; }
    .price-range-detail { display: none; }
    .price-index-badge { font-size: 0.6rem; padding: 3px 8px; }
    .happy-hour-badge { font-size: 0.6rem; padding: 3px 8px; }

    .restaurant-tab-navigation { padding: 0 16px; }
    .restaurant-tab-btn { padding: 12px 16px; font-size: 0.75rem; gap: 6px; }
    .restaurant-tab-btn .icon { width: 14px; height: 14px; }

    .similar-restaurants-section { padding: 0 16px; margin: 24px auto; }
    .similar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .similar-image { height: 110px; }
    .similar-content { padding: 10px 12px; }
    .similar-content h4 { font-size: 0.85rem; }

    main.container { padding: 0 16px 60px; }

    .top-dishes-section { display: none; }
    .mobile-dishes-container { display: block; }

    .top-clicked-dishes { padding: 16px; }
    .top-clicked-name { font-size: 0.82rem; }
    .top-clicked-count { font-size: 0.65rem; }
    .top-clicked-price { font-size: 0.85rem; }

    .menu-item { padding: 14px 0; gap: 14px; }
    .menu-item-header h4 { font-size: 0.92rem; }
    .menu-price { font-size: 1rem; }
    .menu-item-description { font-size: 0.78rem; }
    .menu-item-image { width: 48px; height: 48px; }
    .menu-thumb { width: 26px; height: 26px; }
    .menu-thumb-more { width: 26px; height: 26px; font-size: 0.55rem; }

    .categories-nav-container {
        top: var(--header-height, 60px);
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px;
        border-left: none;
        border-right: none;
    }

    .category-nav-link { padding: 10px 14px; font-size: 0.72rem; }

    .mobile-scroll-hint { display: flex; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-item { height: 140px; }

    .daily-menu-header { padding: 16px; }
    .daily-menu-image { max-width: 100%; }
    .daily-menu-image img { height: 180px; }

    .features-display-grid { grid-template-columns: 1fr; }
    .characteristics-container { padding: 16px; }

    #restaurantMap { height: 220px; }

    .sticky-coffee-widget {
        top: auto;
        bottom: 78px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 400px) {
    .similar-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .restaurant-hero { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   NEU — REVIEW-MODAL + ERFAHRUNG-TEILEN-BUTTONS
   ═══════════════════════════════════════════════════════════════════ */

.compact-review-badge { cursor: pointer; }
.compact-review-badge:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ───── Zeile mit den drei neuen Buttons ───── */
.share-experience-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 18px;
    padding: 0;
}

.btn-share-experience {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--accent);
    color: #FFFFFF;
    border: 1px solid var(--accent);
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    border-radius: 0;
}

.btn-share-experience:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #FFFFFF;
}

.btn-share-experience .icon {
    width: 14px;
    height: 14px;
}

.btn-share-experience.secondary {
    background: var(--paper);
    color: var(--ink-mid);
    border: 1px solid var(--rule-strong);
}

.btn-share-experience.secondary:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--ink);
}

/* ───── Modal ───── */
.review-modal-ov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100010;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    overflow-y: auto;
}
.review-modal-ov.open { display: flex; }

.review-modal-box {
    background: var(--paper);
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--rule-strong);
    border-radius: 0;
    overflow: hidden;
    margin: auto;
}

.review-modal-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
}

.review-modal-hd-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.review-modal-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
}
.review-modal-logo .icon { width: 20px; height: 20px; }
.review-modal-logo.google .icon { color: #4285F4; }
.review-modal-logo.tripadvisor .icon { color: #00AA6C; }

.review-modal-hd-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.review-modal-title {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}

.review-modal-sub {
    font-family: var(--font);
    font-size: 0.72rem;
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-modal-close {
    background: transparent;
    border: 1px solid var(--rule-strong);
    color: var(--ink-mid);
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
    border-radius: 0;
}
.review-modal-close:hover { border-color: var(--ink); color: var(--ink); }

.review-modal-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-modal-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
}

.review-modal-rating-value {
    font-family: var(--font);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.review-modal-rating-stars { display: flex; flex-direction: column; gap: 4px; }
.review-modal-rating-stars .stars { display: flex; gap: 3px; }
.review-modal-rating-stars .icon { width: 14px; height: 14px; }
.review-modal-rating-stars .icon.active { color: var(--star); }
.review-modal-rating-stars .icon.inactive { color: var(--rule-strong); }

.review-modal-rating-label {
    font-family: var(--font);
    font-size: 0.72rem;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.review-modal-text {
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--ink-mid);
    line-height: 1.6;
    margin: 0;
}

.review-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 6px;
    border-top: 1px solid var(--rule);
}
.review-modal-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

@media (max-width: 768px) {
    .review-modal-ov { padding: 16px 12px; align-items: center; }
    .review-modal-box { max-width: 100%; }
    .review-modal-hd { padding: 14px 16px; }
    .review-modal-body { padding: 16px; }
    .review-modal-rating-value { font-size: 1.6rem; }
    .btn-share-experience { font-size: 0.66rem; padding: 8px 14px; }
    .review-modal-actions .btn { min-width: 0; flex: 1 1 100%; }
}

/* ═══════════════════════════════════════════════════════════════════
   NEU — WARTESCHLANGE / LIVE-AUSLASTUNG
   ═══════════════════════════════════════════════════════════════════ */

.busy-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.busy-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.busy-badge.normal .busy-dot    { background: var(--price); }
.busy-badge.busy .busy-dot      { background: var(--star); }
.busy-badge.very_busy .busy-dot { background: var(--accent); animation: busyPulse 1.4s ease-in-out infinite; }

.busy-badge.normal    { border-left: 3px solid var(--price); }
.busy-badge.busy      { border-left: 3px solid var(--star); }
.busy-badge.very_busy { border-left: 3px solid var(--accent); }

.busy-label { font-weight: 700; }
.busy-wait  { color: var(--ink-mid); font-weight: 500; }
.busy-ago   { color: var(--ink-muted); font-weight: 400; font-size: 0.62rem; }

@keyframes busyPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

/* ═══════════════════════════════════════════════════════════════════
   NEU — TOP DISH TODAY (Gericht des Tages)
   ═══════════════════════════════════════════════════════════════════ */

.dish-of-day {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--star);
    padding: 20px 24px 22px;
    margin-bottom: 24px;
}

.dish-of-day-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: var(--star);
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.dish-of-day-badge .icon { width: 12px; height: 12px; }

.dish-of-day-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.dish-of-day-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--paper-deep);
}

.dish-of-day-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish-of-day-info { flex: 1; min-width: 0; }

.dish-of-day-hint {
    display: block;
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.dish-of-day-info h3 {
    font-family: var(--font);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 6px 0;
}

.dish-of-day-info p {
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--ink-mid);
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.dish-of-day-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dish-of-day-price {
    font-family: var(--font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--price);
}

.dish-of-day-cat {
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════════════
   NEU — LIEBLINGSGERICHTE DER NUTZER
   ═══════════════════════════════════════════════════════════════════ */

.guest-favorites {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.guest-favorites-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 14px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}

.guest-favorites-title .icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.guest-favorites-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.guest-favorite-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    transition: padding .2s, background .2s;
}

.guest-favorite-item:hover {
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
    background: var(--paper-warm);
}

.guest-favorite-item:last-child { border-bottom: none; }

.guest-favorite-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--ink-mid);
    flex-shrink: 0;
}

.guest-favorite-item:nth-child(1) .guest-favorite-rank {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}

.guest-favorite-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.guest-favorite-name {
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guest-favorite-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gf-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.gf-meta-item .icon {
    width: 11px;
    height: 11px;
    color: var(--accent);
}

.guest-favorite-price {
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--price);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — Neue Features
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .busy-badge {
        font-size: 0.62rem;
        padding: 4px 8px;
        gap: 4px;
    }
    .busy-ago { display: none; }

    .dish-of-day { padding: 16px; }
    .dish-of-day-content { gap: 14px; }
    .dish-of-day-image { width: 90px; height: 90px; }
    .dish-of-day-info h3 { font-size: 1.05rem; }
    .dish-of-day-info p { font-size: 0.78rem; }
    .dish-of-day-price { font-size: 1rem; }

    .guest-favorites { padding: 16px; }
    .guest-favorite-name { font-size: 0.82rem; }
    .guest-favorite-price { font-size: 0.85rem; }
    .guest-favorite-meta { display: none; }
}