/* ================================================================
   MAKARSKA GASTRO GUIDE — EDITORIAL 3.1
   ne.css — Komplette Stylesheet-Datei
   Nur Poppins. Flach. Keine Emojis.
   Ausnahmen (laut Auftrag): Coffee-Widget-Schatten, Award-Kreis.
   ================================================================ */

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

/* ================================================================
   1. 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;
}

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;
    padding-bottom: 90px !important;
}

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

/* ================================================================
   2. 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; }

/* ================================================================
   3. STICKY HEADER
   ================================================================ */
.top-sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 14px 24px;
    max-width: 100vw;
    width: 100%;
}

.header-sticky-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.header-brand { display: flex; flex-direction: column; gap: 2px; }
.header-brand-logo { display: flex; align-items: center; gap: 10px; }
.header-brand-logo img { height: 40px; width: auto; display: block; }

.header-claim {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-mid);
    letter-spacing: 0.02em;
    line-height: 1.4;
}
.header-claim em { font-style: italic; color: var(--ink-muted); }

.header-lang { display: flex; gap: 4px; align-items: center; }

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mid);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.lang-btn:hover { color: var(--ink); border-color: var(--rule-strong); }
.lang-btn.active { color: var(--accent); border-color: var(--accent); }

/* ================================================================
   4. HERO — GRUNDGERÜST (beide Varianten)
   ================================================================ */
.mg-hero {
    --mg-bord:       #851B2F;
    --mg-bord-dark:  #6B1425;
    --mg-gold:       #BE9440;
    --mg-gold-soft:  #D4B06A;
    --mg-cream:      #F6EFE3;
    --mg-ink:        #2A2024;

    --mg-wave-w:     480px;
    --mg-wave-h:     130px;
    --mg-horizon:    56%;
    --mg-sun:        230px;
    --mg-sun-x:      calc(50% + 250px);

    position: relative;
    isolation: auto;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.mg-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

.mg-hero-title {
    font-family: var(--font);
    font-size: clamp(1.6rem, 6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
    color: #FFFFFF;
}

.mg-hero-title em {
    font-style: italic;
    font-weight: 700;
    color: var(--mg-gold-soft);
}

.mg-search {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
}

.mg-search-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 999px;
    height: 56px;
    padding: 0 20px;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.mg-search-icon {
    width: 20px; height: 20px;
    color: var(--ink-muted);
    flex-shrink: 0;
}

.mg-search-field input {
    border: 0; outline: 0; background: transparent;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    width: 100%; height: 100%;
}
.mg-search-field input::placeholder { color: var(--ink-muted); }

.mg-location-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1A1A1A;
    color: #FFFFFF;
    border: 0;
    border-radius: 999px;
    height: 56px;
    padding: 0 24px;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.mg-location-btn:hover { background: #000; }

.mg-location-icon { width: 18px; height: 18px; color: #FFFFFF; }

/* 4 Hero-Tabs */
.mg-hero-tabs {
    display: flex;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
}
.mg-hero-tabs::-webkit-scrollbar { display: none; }

.mg-hero-tab {
    flex-shrink: 0;
    padding: 14px 20px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .15s;
    letter-spacing: .02em;
}
.mg-hero-tab:hover { color: var(--ink); }
.mg-hero-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ================================================================
   5. HERO-VARIANTE 1 — mg-hero--wellen
   ================================================================ */
.mg-hero--wellen {
    background: var(--mg-bord);
    padding-bottom: 0;
}
.mg-hero--wellen .mg-hero-title { color: #FFFFFF; }
.mg-hero--wellen .mg-hero-title em { color: var(--mg-gold); }

.mg-hero--wellen::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: var(--mg-wave-h);
    z-index: 1;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='130' viewBox='0 0 480 130' preserveAspectRatio='none'%3E%3Cpath d='M0 22 Q60 8 120 22 T240 22 T360 22 T480 22 L480 130 L0 130 Z' fill='%236B1425'/%3E%3Cpath d='M0 52 Q60 38 120 52 T240 52 T360 52 T480 52' fill='none' stroke='%23F6EFE3' stroke-width='4' stroke-linecap='round' stroke-opacity='.8'/%3E%3Cpath d='M0 74 Q60 60 120 74 T240 74 T360 74 T480 74' fill='none' stroke='%23BE9440' stroke-width='4' stroke-linecap='round' stroke-opacity='.8'/%3E%3Cpath d='M0 96 Q60 82 120 96 T240 96 T360 96 T480 96' fill='none' stroke='%23F6EFE3' stroke-width='4' stroke-linecap='round' stroke-opacity='.8'/%3E%3Cpath d='M0 118 Q60 104 120 118 T240 118 T360 118 T480 118' fill='none' stroke='%23BE9440' stroke-width='4' stroke-linecap='round' stroke-opacity='.8'/%3E%3C/svg%3E") repeat-x left bottom / var(--mg-wave-w) var(--mg-wave-h);
    opacity: .95;
}

/* ================================================================
   6. HERO-VARIANTE 2 — mg-hero--sonne
   ================================================================ */
.mg-hero--sonne {
    background: var(--mg-cream);
    min-height: 480px;
    padding-bottom: 0;
}
.mg-hero--sonne .mg-hero-title { color: var(--mg-ink); }
.mg-hero--sonne .mg-hero-title em { color: var(--mg-bord); }

.mg-hero--sonne::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    background: var(--mg-gold);
    width: var(--mg-sun);
    height: var(--mg-sun);
    left: var(--mg-sun-x);
    top: calc(var(--mg-horizon) - var(--mg-sun) * 0.62);
}

.mg-hero--sonne::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    top: calc(var(--mg-horizon) - 22px);
    z-index: 1;
    pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='130' viewBox='0 0 480 130' preserveAspectRatio='none'%3E%3Cpath d='M0 22 Q60 8 120 22 T240 22 T360 22 T480 22 L480 130 L0 130 Z' fill='%23851B2F'/%3E%3Cpath d='M0 52 Q60 38 120 52 T240 52 T360 52 T480 52' fill='none' stroke='%23F6EFE3' stroke-width='4' stroke-linecap='round' stroke-opacity='.8'/%3E%3Cpath d='M0 74 Q60 60 120 74 T240 74 T360 74 T480 74' fill='none' stroke='%23BE9440' stroke-width='4' stroke-linecap='round' stroke-opacity='.8'/%3E%3Cpath d='M0 96 Q60 82 120 96 T240 96 T360 96 T480 96' fill='none' stroke='%23F6EFE3' stroke-width='4' stroke-linecap='round' stroke-opacity='.8'/%3E%3Cpath d='M0 118 Q60 104 120 118 T240 118 T360 118 T480 118' fill='none' stroke='%23BE9440' stroke-width='4' stroke-linecap='round' stroke-opacity='.8'/%3E%3C/svg%3E") repeat-x left top / var(--mg-wave-w) var(--mg-wave-h),
        linear-gradient(var(--mg-bord), var(--mg-bord)) left calc(var(--mg-wave-h) - 2px) / 100% 100% no-repeat;
}

.mg-hero--sonne .mg-search { margin-top: 8px; }
.mg-hero--sonne .mg-search-field { box-shadow: 0 6px 20px rgba(0,0,0,0.18); }

/* ================================================================
   6b. HERO-WRAP SICHTBARKEIT (Desktop Sonne / Mobile Wellen)
   ══════════════════════════════════════════════════════════════ */
.mg-hero-sonne-wrap  { display: block; }
.mg-hero-wellen-wrap { display: none; }

@media (max-width: 768px) {
    .mg-hero-sonne-wrap  { display: none; }
    .mg-hero-wellen-wrap { display: block; }
}

/* ================================================================
   7. STADT-CHIPS (sticky unter dem Hauptheader)
   ================================================================ */
.mg-cities {
    position: sticky;
    top: 60px;
    z-index: 200;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 12px 0;
    transition: box-shadow .2s ease;
}
.mg-cities.is-stuck {
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.mg-cities-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.mg-cities-inner::-webkit-scrollbar { display: none; }

.mg-city-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    flex-shrink: 0;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: all .15s;
}
.mg-city-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}
.mg-city-count {
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(0,0,0,.08);
    padding: 1px 7px;
}
.mg-city-chip.active .mg-city-count { background: rgba(255,255,255,.25); }

/* ================================================================
   8. SEKTIONEN
   ================================================================ */
.mg-section {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 24px;
}
.mg-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.mg-section-head h2 {
    font-family: var(--font);
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
}
.mg-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.mg-more:hover { color: var(--ink); }

/* ================================================================
   9. HORIZONTALER SCROLL (für mg-hscroll)
   ================================================================ */
.mg-hscroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
}
.mg-hscroll::-webkit-scrollbar { height: 4px; }
.mg-hscroll::-webkit-scrollbar-thumb { background: var(--rule-strong); }

/* ================================================================
   10. DISH CARD (mg-dish-card)
   ================================================================ */
.mg-dish-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background: var(--paper);
    border: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s;
}
.mg-dish-card:hover { border-color: var(--ink); }
.mg-dish-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--paper-deep);
}
.mg-dish-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-dish-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mg-dish-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}
.mg-dish-price {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--price);
}

/* ================================================================
   11. RESTAURANT CARD (mg-rest-card)
   ================================================================ */
.mg-rest-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--paper);
    border: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s;
}
.mg-rest-card:hover { border-color: var(--ink); }
.mg-rest-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--paper-deep);
}
.mg-rest-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}
.mg-rest-card:hover .mg-rest-img img { transform: scale(1.04); }
.mg-rest-rank {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--star);
    color: var(--ink);
    padding: 3px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.mg-rest-award {
    position: absolute;
    top: 10px; right: 10px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    padding: 4px;
}
.mg-rest-award img { width: 100%; height: 100%; object-fit: contain; }
.mg-rest-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mg-rest-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}
.mg-rest-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--ink-mid);
}

/* ================================================================
   12. AUTOHT GRID
   ================================================================ */
.mg-autoht-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* ================================================================
   13. COMPARE CARD
   ================================================================ */
.mg-compare-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mg-compare-row {
    display: grid;
    grid-template-columns: 80px 1fr 90px;
    gap: 16px;
    align-items: center;
}
.mg-compare-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}
.mg-compare-bar {
    height: 6px;
    background: var(--rule);
    overflow: hidden;
}
.mg-compare-fill { height: 100%; background: var(--price); }
.mg-compare-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--price);
    text-align: right;
}

/* ================================================================
   14. BLOG CARD
   ================================================================ */
.mg-blog-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--paper);
    border: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s;
}
.mg-blog-card:hover { border-color: var(--ink); }
.mg-blog-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--paper-deep);
}
.mg-blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-blog-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mg-blog-date {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ink-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.mg-blog-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================================================
   15. SUCHE.PHP — FILTER-TABS + ERGEBNISSE
   ================================================================ */
.mg-search-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 16px 24px;
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 60;
}
.mg-search-filters::-webkit-scrollbar { display: none; }

.mg-search-filter {
    flex-shrink: 0;
    padding: 8px 14px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    color: var(--ink-mid);
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mg-search-filter:hover { border-color: var(--ink); color: var(--ink); }
.mg-search-filter.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}
.mg-search-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: rgba(0,0,0,.08);
    font-size: .66rem;
    font-weight: 700;
}
.mg-search-filter.active .mg-search-filter-count { background: rgba(255,255,255,.25); }

.mg-search-count {
    max-width: 1200px;
    margin: 24px auto 12px;
    padding: 0 24px;
    font-size: .82rem;
    color: var(--ink-mid);
}

.mg-search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mg-search-result {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    border: 1px solid var(--rule);
    padding: 16px;
    background: var(--paper);
    transition: border-color .15s;
}
.mg-search-result:hover { border-color: var(--ink); }

.mg-search-result-img {
    width: 160px;
    height: 120px;
    overflow: hidden;
    background: var(--paper-deep);
}
.mg-search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mg-search-result-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.mg-search-result-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}
.mg-search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: .78rem;
    color: var(--ink-mid);
}
.mg-search-result-type {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    padding: 2px 8px;
    border: 1px solid var(--rule);
}
.mg-search-result-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 16px;
    background: var(--accent);
    color: #FFFFFF;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: background .15s;
}
.mg-search-result-cta:hover { background: var(--ink); }
.mg-search-result mark { background: rgba(212,176,106,.35); color: inherit; padding: 0 2px; }

.mg-search-empty {
    max-width: 720px;
    margin: 40px auto;
    padding: 40px 24px;
    border: 1px dashed var(--rule-strong);
    background: var(--paper-warm);
    text-align: center;
}
.mg-search-empty p {
    font-size: .95rem;
    color: var(--ink-mid);
    margin: 0 0 20px;
}

.mg-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}
.mg-quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: all .15s;
}
.mg-quick-chip:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}

/* ================================================================
   SUGGEST-BOX STACKING (Autoload)
   ================================================================ */
.mg-search {
    position: relative;
    z-index: 100;
}

.mg-search-field {
    position: relative;
    z-index: 100;
}

.mg-location-btn {
    position: relative;
    z-index: 100;
}

.mg-search-suggest {
    position: fixed;
    top: auto;
    left: auto;
    right: auto;
    background: #FFFFFF;
    border: 1px solid var(--rule, #E8E8E5);
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 2147483000;
    text-align: left;
    display: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-radius: 12px;
}
.mg-search-suggest.is-open { display: block; }

.mg-search-suggest .mg-sg-group {
    padding: 8px 14px 4px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-muted, #6B6B6B);
    background: #FAFAFA;
    border-bottom: 1px solid #F0F0EC;
}
.mg-search-suggest .mg-sg-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--ink, #1A1A1A);
    border-bottom: 1px solid #F5F5F2;
    transition: background .12s;
}
.mg-search-suggest .mg-sg-item:hover { background: #FDF5F5; }
.mg-search-suggest .mg-sg-item:last-child { border-bottom: none; }
.mg-search-suggest .mg-sg-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #F0F0EC;
}
.mg-search-suggest .mg-sg-body { flex: 1; min-width: 0; }
.mg-search-suggest .mg-sg-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mg-search-suggest .mg-sg-sub {
    display: block;
    font-size: 0.72rem;
    color: var(--ink-muted, #6B6B6B);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 1px;
}
.mg-search-suggest .mg-sg-meta {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent, #8B2E2E);
    white-space: nowrap;
}
.mg-search-suggest .mg-sg-empty,
.mg-search-suggest .mg-sg-loading {
    padding: 16px;
    font-size: 0.82rem;
    color: var(--ink-muted, #6B6B6B);
    text-align: center;
}

@media (max-width: 768px) {
    .mg-search-suggest {
        max-height: 55vh;
        border-radius: 10px;
    }
}

/* ================================================================
   16. FOOTER SITEMAP
   ================================================================ */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 24px;
}
.footer-links-grid h4 {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin: 0 0 12px;
}
.footer-links-grid a {
    display: block;
    font-size: .82rem;
    color: var(--ink);
    text-decoration: none;
    padding: 4px 0;
}
.footer-links-grid a:hover { color: var(--accent); }

/* ================================================================
   17. COOKIE BANNER
   ================================================================ */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 820px;
    width: calc(100% - 40px);
    background: var(--paper);
    color: var(--ink);
    padding: 20px 26px;
    border: 1px solid var(--rule-strong);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-family: var(--font);
    font-size: 0.85rem;
    line-height: 1.5;
}
#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    color: var(--ink);
}
#cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}
#cookie-banner .btn-cookie {
    background: var(--accent);
    color: var(--paper);
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    font-family: var(--font);
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
#cookie-banner .btn-cookie:hover { background: var(--ink); }

/* ================================================================
   18. COFFEE-WIDGET
   ================================================================ */
.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; }

.coffee-widget-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 799;
    -webkit-tap-highlight-color: transparent;
}
.coffee-widget-overlay.active { display: block; }
@media (min-width: 1025px) { .coffee-widget-overlay { display: none !important; } }

/* ================================================================
   19. OPEN-BADGE
   ================================================================ */
.open-badge,
.open-badge-desktop,
.open-status-badge,
.coffee-opening-hours .open-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: nowrap;
    border-radius: 0;
}
.open-badge.open,
.open-badge-desktop.open,
.open-status-badge.open,
.open-badge[data-state="open"] { background: #2D5A3D; color: #FFFFFF; }
.open-badge.unknown,
.open-badge-desktop.unknown,
.open-status-badge.unknown,
.open-badge[data-state="unknown"] { background: #1A1A1A; color: #FFFFFF; }
.open-badge.closing_soon,
.open-badge-desktop.closing_soon,
.open-status-badge.closing_soon,
.open-badge[data-state="closing_soon"],
.open-badge.opening_soon,
.open-badge[data-state="opening_soon"] { background: #8B2E2E; color: #FFFFFF; }
.open-badge.closed,
.open-badge-desktop.closed,
.open-status-badge.closed,
.open-badge[data-state="closed"],
.open-badge.kitchen_closed,
.open-badge[data-state="kitchen_closed"] { background: #8B2E2E; color: #FFFFFF; }
.coffee-opening-hours .open-badge.open { background: #2D5A3D; color: #FFFFFF; }
.coffee-opening-hours .open-badge.unknown { background: #1A1A1A; color: #FFFFFF; }
.coffee-opening-hours .open-badge.closing_soon,
.coffee-opening-hours .open-badge.opening_soon,
.coffee-opening-hours .open-badge.closed,
.coffee-opening-hours .open-badge.kitchen_closed { background: #8B2E2E; color: #FFFFFF; }

/* ================================================================
   20. 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: #2D5A3D;
    color: #FFFFFF;
    margin-top: 4px;
}
.last-updated-badge .icon { width: 12px; height: 12px; color: #FFFFFF; opacity: 0.9; }
.last-updated-badge .last-updated-label { font-weight: 500; opacity: 0.9; }
.last-updated-badge .last-updated-date { font-weight: 700; }

/* ================================================================
   21. AWARD-BADGE
   ================================================================ */
.award-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 3px solid #FFFFFF;
    overflow: hidden;
    box-shadow: 0 0 0 3px rgba(212, 176, 106, 0.55), 0 8px 22px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease;
}
.award-badge:hover { transform: scale(1.06); }
.award-badge.silver {
    box-shadow: 0 0 0 3px rgba(200, 215, 235, 0.7), 0 8px 22px rgba(0, 0, 0, 0.22);
}
.award-badge .award-img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ================================================================
   22. FOOTER NAV (fixed bottom)
   ================================================================ */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 12px 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
}
.footer-nav::-webkit-scrollbar { display: none; }
.footer-nav-item {
    flex: 1;
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 6px;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 6px;
    color: #6b7280;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}
.footer-nav-item:hover {
    background: #F5EDE0;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    color: #8B2E2E;
}
.footer-nav-item.active {
    background: #8B2E2E;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(155, 35, 53, 0.35);
    transform: translateY(-3px);
}
.footer-nav-item.active .footer-nav-label,
.footer-nav-item.active .footer-nav-icon { color: #ffffff; }
.footer-nav-icon {
    width: 30px;
    height: 30px;
    display: block;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.footer-nav-item:hover .footer-nav-icon { transform: scale(1.1); }
.footer-nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s ease;
}
.footer-nav-icon path,
.footer-nav-icon circle,
.footer-nav-icon line,
.footer-nav-icon rect,
.footer-nav-icon polyline,
.footer-nav-icon ellipse { transition: stroke 0.25s ease, fill 0.25s ease; }

/* ================================================================
   23. PCARD
   ================================================================ */
.pcard {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--paper);
    border: none;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    box-shadow: none;
    padding: 32px 0;
    gap: 36px;
    position: relative;
}
.pcard:first-child { border-top: 1px solid var(--rule); }
.pcard:hover { background: var(--paper-warm); }

.pcard-img {
    position: relative;
    width: 260px;
    height: 195px;
    overflow: hidden;
    background: var(--paper-deep);
}
.pcard-img-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.pcard-img-slide.active { opacity: 1; }
.pcard-img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pcard-img-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 5;
}
.pcard-img-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    transition: background .2s;
}
.pcard-img-dots span.active { background: #FFFFFF; }
.pcard-img > .season-badge-list,
.pcard-img > .gold-overlay,
.pcard-img > .open-badge-desktop { z-index: 10; }

.gold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 6px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    background: var(--star);
    color: var(--ink);
    z-index: 5;
}

.season-badge-list {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 10;
    background: var(--ink);
    color: var(--paper);
}
.season-badge-list.year_round { background: var(--price); }
.season-badge-list.seasonal { background: var(--star); color: var(--ink); }
.season-badge-list.closed { background: var(--ink-muted); }

.pcard-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pcard-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.pcard-name {
    font-family: var(--font);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.t10-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    font-family: var(--font);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
    flex-shrink: 0;
    background: var(--paper-warm);
    color: var(--ink-mid);
    border: 1px solid var(--rule);
}
.t10-badge.gold { background: var(--star); color: var(--ink); border-color: var(--star); }
.t10-badge.silver { background: var(--paper-deep); color: var(--ink); border-color: var(--rule-strong); }
.t10-badge.bronze { background: #C9A87C; color: var(--ink); border-color: #C9A87C; }
.t10-badge.plain { background: var(--paper-warm); color: var(--ink-muted); }

.price-pill {
    padding: 3px 10px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-size: 0.7rem;
    color: var(--ink-mid);
    white-space: nowrap;
    font-weight: 600;
}
.price-pill.gold-pill {
    background: var(--paper-warm);
    border-color: var(--star);
    color: var(--ink);
}

.avg-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.avg-label {
    font-size: 0.62rem;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2px;
    font-weight: 600;
}
.avg-val {
    font-family: var(--font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--price);
    line-height: 1;
}
.avg-cur {
    font-size: 0.72rem;
    color: var(--ink-muted);
    font-weight: 500;
}
.t10-bar-track {
    flex: 1;
    height: 3px;
    background: var(--rule);
    overflow: hidden;
}
.t10-bar-fill {
    height: 100%;
    background: var(--price);
    transition: width 1s ease;
}
.t10-stars { font-size: 0.85rem; }
.s-full { color: var(--star); }
.s-half { color: var(--star); opacity: .5; }
.s-empty { color: var(--rule-strong); }
.s-num { font-size: 0.7rem; color: var(--ink-muted); font-weight: 600; }

.ratings-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.78rem;
    padding: 2px 0;
}
.rtg-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ink-mid);
    font-weight: 600;
    padding: 3px 8px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-size: 0.74rem;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, background .15s;
}
.rtg-chip:hover { border-color: var(--accent); background: #fff; }
.rtg-chip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.rtg-chip .rl {
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--accent);
}

.feat-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 0;
    color: var(--ink-muted);
}
.feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mid);
    opacity: 0.75;
}

.restaurant-opening-hours,
.cafe-opening-hours {
    font-size: 0.72rem;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    border: 1px solid transparent;
    text-decoration: none;
    border-radius: 0;
}
.btn-prim {
    background: var(--accent);
    color: var(--paper);
    border-color: var(--accent);
}
.btn-prim:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}
.btn-sec {
    background: var(--paper);
    color: var(--ink-mid);
    border: 1px solid var(--rule-strong);
}
.btn-sec:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 7px 12px; font-size: 0.65rem; }

.share-save-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.btn-share, .btn-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--rule-strong);
    background: var(--paper);
    color: var(--ink-mid);
    font-family: var(--font);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.btn-share:hover, .btn-save:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--ink);
}
.btn-save.saved { color: var(--accent); border-color: var(--accent); }
.btn-save .icon { color: currentColor; }

/* ================================================================
   24. MENU PREVIEW
   ================================================================ */
.menu-preview {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    border-top: none;
    padding: 20px 24px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}
.pcard:hover .menu-preview {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0.4s;
}
.menu-preview-title {
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-muted);
    margin-bottom: 12px;
}
.menu-preview-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dotted var(--rule);
    font-family: var(--font);
    font-size: 0.85rem;
}
.menu-preview-item:last-of-type { border-bottom: none; }
.menu-preview-dish { color: var(--ink); font-weight: 500; }
.menu-preview-price { color: var(--price); font-weight: 700; }
.menu-preview-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-decoration: none;
}
.menu-preview-cta:hover { color: var(--ink); }

/* ================================================================
   25. COMPACT SLIDER / EVENTS / MODAL / NO-DATA / BREADCRUMB
   ================================================================ */
.compact-slider-section {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 24px;
}
.compact-card {
    flex: 0 0 280px;
    max-width: 280px;
    background: var(--paper);
    border: 1px solid var(--rule);
    overflow: hidden;
    position: relative;
    transition: border-color 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.compact-card:hover { border-color: var(--ink); }
.compact-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: var(--paper-deep);
    flex-shrink: 0;
}
.compact-card-image img { width: 100%; height: 100%; object-fit: cover; }
.compact-card-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.compact-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
    line-height: 1.3;
}
.compact-card-meta {
    font-size: 0.78rem;
    color: var(--ink-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.compact-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--paper);
    background: var(--ink);
    z-index: 5;
}
.compact-card-badge.trending { background: var(--accent); }
.compact-card-badge.best_value { background: var(--star); color: var(--ink); }
.compact-card-badge.quick_meal { background: var(--price); }
.compact-card-badge.live { background: var(--accent); }

.events-list { display: flex; flex-direction: column; gap: 20px; }
.event-card-full {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--paper);
    border: 1px solid var(--rule);
    overflow: hidden;
    transition: border-color .2s;
}
.event-card-full:hover { border-color: var(--ink); }
.event-card-img {
    position: relative;
    background: var(--paper-deep);
    min-height: 220px;
    overflow: hidden;
}
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.event-card-title {
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}
.event-card-desc {
    font-size: 0.88rem;
    color: var(--ink-mid);
    line-height: 1.55;
}
.events-filter-container {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--paper);
    border: 1px solid var(--rule);
}
.event-filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--rule-strong);
    cursor: pointer;
    font-size: 0.75rem;
    transition: all .2s;
    font-weight: 600;
    font-family: var(--font);
    background: var(--paper);
    color: var(--ink-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.event-filter-btn.active {
    background: var(--accent);
    color: var(--paper);
    border-color: var(--accent);
}
.event-filter-btn:not(.active):hover { border-color: var(--ink); color: var(--ink); }

.no-data {
    text-align: center;
    padding: 50px 20px;
    color: var(--ink-muted);
    font-size: 0.9rem;
    font-style: italic;
}
.db-err {
    max-width: 1100px;
    margin: 0 auto 20px;
    padding: 16px 20px;
    background: var(--paper-warm);
    border: 1px solid var(--rule-strong);
    font-size: 0.85rem;
}

.modal-ov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 16px;
    overflow-y: auto;
}
.modal-ov.open { display: flex; }
.modal-box {
    background: var(--paper);
    width: 100%;
    max-width: 640px;
    margin: auto;
    overflow: hidden;
    border: 1px solid var(--rule-strong);
}
.modal-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
}
.modal-hd h2 {
    font-family: var(--font);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
}
.modal-x {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink-muted);
    line-height: 1;
    padding: 4px;
    transition: color .2s;
}
.modal-x:hover { color: var(--ink); }
.modal-body { padding: 24px; }
.modal-tabs {
    display: flex;
    border: 1px solid var(--rule);
    margin-bottom: 16px;
}
.m-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    color: var(--ink-muted);
}
.m-tab.on { background: var(--accent); color: var(--paper); }

.cmp-tbl { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.cmp-tbl th {
    padding: 10px 12px;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    border-bottom: 1px solid var(--rule-strong);
    text-align: left;
    font-weight: 600;
}
.cmp-tbl td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--rule);
    vertical-align: middle;
}
.cmp-tbl tr:hover td { background: var(--paper-warm); }
.cmp-price {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--price);
    white-space: nowrap;
}
.cmp-bar-w {
    height: 3px;
    background: var(--rule);
    overflow: hidden;
    min-width: 80px;
}
.cmp-bar-i { height: 100%; background: var(--price); }
.modal-note {
    margin-top: 14px;
    font-size: 0.72rem;
    color: var(--ink-muted);
    text-align: center;
    font-style: italic;
}

.breadcrumb {
    max-width: 1100px;
    margin: 16px auto 0;
    padding: 0 24px;
    font-size: 0.72rem;
    color: var(--ink-muted);
    width: 100%;
}
.breadcrumb a { color: var(--accent); font-weight: 500; }

/* ================================================================
   26. WEATHER WIDGET
   ================================================================ */
.weather-widget-container {
    margin: 18px auto 0;
    max-width: 720px;
    width: 100%;
}
.weather-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--rule-strong);
    padding: 8px 14px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.weather-widget::-webkit-scrollbar { display: none; }
.weather-current {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--ink);
}
.weather-temp { font-weight: 700; color: var(--accent); font-size: 0.85rem; }
.weather-condition { color: var(--ink-muted); font-size: 0.7rem; }
.weather-location {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.7rem;
    background: var(--paper-warm);
    padding: 2px 8px;
    margin-left: 2px;
}
.weather-forecast {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.forecast-day {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
}
.forecast-day-name {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.62rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.forecast-temp { font-weight: 700; color: var(--accent); font-size: 0.68rem; }

/* ================================================================
   27. CAFÉ KAFFEEPREISE
   ================================================================ */
.cafe-coffee-prices {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px dotted var(--rule);
}
.cafe-coffee-prices-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.cafe-coffee-list { display: flex; flex-direction: column; gap: 3px; }
.cafe-coffee-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--ink);
}
.cafe-coffee-item .coffee-name {
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cafe-coffee-item .coffee-price {
    font-weight: 700;
    color: var(--price);
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}
#ts-cafes .pcard-body { gap: 12px; }
#ts-cafes .pcard-name { font-size: 1.6rem; }

/* ================================================================
   28. BCARD (Beach / Sight)
   ================================================================ */
.bcard {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--paper);
    border: none;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    box-shadow: none;
    padding: 28px 0;
    gap: 32px;
    position: relative;
}
.bcard:first-child { border-top: 1px solid var(--rule); }
.bcard:hover { background: var(--paper-warm); }
.bcard-img {
    width: 260px;
    height: 195px;
    overflow: hidden;
    background: var(--paper-deep);
    position: relative;
}
.bcard-img img { width: 100%; height: 100%; object-fit: cover; }
.bcard-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bcard-name {
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.bcard-desc {
    font-size: 0.85rem;
    color: var(--ink-mid);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================================================
   29. OPEN-FILTER
   ================================================================ */
.open-filter-wrap {
    max-width: 1100px;
    margin: 16px auto 0;
    padding: 0 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}
.open-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-mid);
}
.open-filter-toggle input { display: none; }
.open-filter-slider {
    width: 36px;
    height: 20px;
    background: var(--rule-strong);
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}
.open-filter-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--paper);
    transition: transform .2s;
}
.open-filter-toggle input:checked + .open-filter-slider { background: var(--accent); }
.open-filter-toggle input:checked + .open-filter-slider::after { transform: translateX(16px); }
.open-filter-label { font-family: var(--font); }

/* ================================================================
   30. TYPE FILTER
   ================================================================ */
.type-filter-wrap {
    max-width: 1200px;
    margin: 12px auto 0;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.type-filter-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-right: 8px;
    border-right: 1px solid var(--rule-strong);
}
.type-filter-scroll {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}
.type-filter-scroll::-webkit-scrollbar { height: 4px; }
.type-filter-scroll::-webkit-scrollbar-track { background: var(--rule); }
.type-filter-scroll::-webkit-scrollbar-thumb { background: var(--rule-strong); }
.type-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-mid);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    border-radius: 0;
}
.type-filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.type-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

/* ================================================================
   31. DISH STATS / YEAR-ROUND / OP-LOGO-RING
   ================================================================ */
.dish-stats-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    padding: 6px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
    z-index: 10;
    max-width: 150px;
    min-width: 100px;
}
.dish-stats-badge .badge-count {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
}
.dish-stats-badge .badge-price {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--price);
}
.dish-stats-badge.loading { background: var(--paper-warm); color: var(--ink-muted); }

.year-round-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--price);
    color: var(--paper);
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 14;
}

.op-logo-ring {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #D4B06A, #8B2E2E, #D4B06A);
    box-shadow: 0 3px 12px rgba(139, 46, 46, 0.35);
    z-index: 5;
}
.op-logo-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    overflow: hidden;
    background: #F7F7F5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.op-logo-ring-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

/* ================================================================
   32. HOURS-LIVE (N1)
   ================================================================ */
.pcard-hours-live {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}
.pcard-hours-live--open {
    background: rgba(45,90,61,.08);
    border-color: rgba(45,90,61,.35);
    color: #2D5A3D;
    animation: hoursPulse 2.6s ease-in-out infinite;
}
.pcard-hours-live--closing_soon {
    background: rgba(184,134,11,.10);
    border-color: rgba(184,134,11,.45);
    color: #8a6a1e;
    animation: hoursPulseSoon 1.6s ease-in-out infinite;
}
.pcard-hours-live--closed {
    background: rgba(139,46,46,.08);
    border-color: rgba(139,46,46,.30);
    color: #8B2E2E;
}
.pcard-hours-live--unknown { display: none; }
.hours-item { display: inline-flex; align-items: center; gap: 4px; }
.hours-item .icon { width: 12px; height: 12px; }
.hours-sep { opacity: .5; }
.hours-kitchen {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 2px 8px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hours-kitchen--open { background: #2D5A3D; color: #FFF; }
.hours-kitchen--closed { background: #B8860B; color: #FFF; }

@keyframes hoursPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45,90,61,.35); }
    50%      { box-shadow: 0 0 0 6px rgba(45,90,61,0); }
}
@keyframes hoursPulseSoon {
    0%, 100% { box-shadow: 0 0 0 0 rgba(184,134,11,.45); }
    50%      { box-shadow: 0 0 0 6px rgba(184,134,11,0); }
}

/* ================================================================
   33. CHEAPEST HINT / TOP-WEEK / SEASON (N2, N8, N10)
   ================================================================ */
.pcard-cheapest-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    margin-top: 8px;
    background: rgba(45,90,61,.08);
    color: #2D5A3D;
    border: 1px solid rgba(45,90,61,.20);
    font-size: 0.72rem;
    font-weight: 600;
}
.pcard-cheapest-hint .icon { width: 12px; height: 12px; }

.pcard-top-week-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    margin-top: 6px;
    background: rgba(139,46,46,.08);
    color: #8B2E2E;
    border: 1px solid rgba(139,46,46,.20);
    font-size: 0.72rem;
    font-weight: 600;
}
.pcard-top-week-hint .icon { width: 12px; height: 12px; }

.pcard-season-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    margin-top: 6px;
    background: rgba(184,134,11,.10);
    color: #8a6a1e;
    border: 1px solid rgba(184,134,11,.25);
    font-size: 0.72rem;
    font-weight: 600;
}
.pcard-season-hint .icon { width: 12px; height: 12px; }

/* ================================================================
   34. LIVE BADGES (N4, N7) + VIEW RANK (N11)
   ================================================================ */
.pcard-live-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.live-badge .icon { width: 11px; height: 11px; }
.live-badge--happy { background: #8B2E2E; color: #FFF; animation: livePulse 2s infinite; }
.live-badge--busy  { background: #B8860B; color: #FFF; }
.live-badge--top   { background: #2D5A3D; color: #FFF; }
.live-badge--peak  { background: #F7F7F5; color: #6B6B6B; border: 1px solid #E8E8E5; }

@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.local-tip-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    margin-left: 6px;
    background: #2D5A3D;
    color: #FFF;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: middle;
}
.local-tip-badge .icon { width: 10px; height: 10px; }

.hot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    margin-left: 6px;
    background: #8B2E2E;
    color: #FFF;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    animation: livePulse 2s infinite;
    vertical-align: middle;
}
.hot-badge .icon { width: 10px; height: 10px; }

.view-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    margin-left: 6px;
    background: #2563EB;
    color: #FFF;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    vertical-align: middle;
}
.view-rank-badge .icon { width: 10px; height: 10px; }

.pcard-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

/* ================================================================
   35. LIVE OFFER / ACTION BUTTONS (N5, N9)
   ================================================================ */
.pcard-live-offer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    margin-bottom: 8px;
    background: #8B2E2E;
    color: #FFF;
    font-size: 0.74rem;
    font-weight: 700;
    animation: livePulse 2s infinite;
}
.pcard-live-offer img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    flex-shrink: 0;
}
.pcard-live-offer .icon { width: 14px; height: 14px; }

.btn-wa, .btn-micro, .btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--rule, #E8E8E5);
    text-decoration: none;
    transition: transform .15s, background .15s;
}
.btn-wa {
    background: #25D366;
    color: #FFF;
    border-color: #25D366;
}
.btn-micro { background: #FFF; color: #5D3A8E; }
.btn-micro:hover {
    background: #5D3A8E;
    color: #FFF;
    border-color: #5D3A8E;
}
.btn-instagram {
    background: linear-gradient(135deg, #E1306C, #C13584, #833AB4);
    color: #FFF;
    border-color: transparent;
}
.btn-wa:hover, .btn-instagram:hover { transform: scale(1.05); }
.btn-wa .icon, .btn-micro .icon, .btn-instagram .icon {
    width: 16px;
    height: 16px;
}

/* ================================================================
   36. LOCAL RECS
   ================================================================ */
.pcard-local-recs {
    margin-top: 10px;
    padding: 10px 12px;
    background: var(--paper-warm, #F7F7F5);
    border-left: 3px solid var(--accent, #8B2E2E);
}
.pcard-local-recs-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent, #8B2E2E);
}
.pcard-local-recs-header .icon { width: 12px; height: 12px; }
.pcard-local-recs-list { display: flex; flex-direction: column; gap: 8px; }
.pcard-local-rec {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: background .15s;
}
.pcard-local-rec:last-child { border-bottom: none; padding-bottom: 0; }
.pcard-local-rec:hover { background: rgba(139,46,46,.04); }
.pcard-local-rec-avatar {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: visible;
}
.pcard-local-rec-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--rule, #E8E8E5);
}
.pcard-local-rec-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent, #8B2E2E);
    color: #FFF;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--rule, #E8E8E5);
}
.pcard-local-rec-verified {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: var(--star, #D4B06A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--paper, #FFF);
}
.pcard-local-rec-verified .icon { width: 8px; height: 8px; color: #FFF; }
.pcard-local-rec-body { flex: 1; min-width: 0; line-height: 1.35; }
.pcard-local-rec-head {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}
.pcard-local-rec-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink, #1A1A1A);
}
.pcard-local-rec-cat {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--ink-muted, #6B6B6B);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1px 6px;
    background: rgba(0,0,0,.05);
    border-radius: 2px;
}
.pcard-local-rec-text {
    font-size: 0.74rem;
    color: var(--ink-mid, #4B4B4B);
    line-height: 1.45;
    margin-bottom: 3px;
}
.pcard-local-rec-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 3px;
    font-size: 0.65rem;
    color: var(--ink-muted, #6B6B6B);
}
.pcard-local-rec-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.pcard-local-rec-meta-item .icon { width: 10px; height: 10px; }

/* ================================================================
   37. REVIEW MODAL
   ================================================================ */
.nb-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.nb-modal[hidden] { display: none !important; }
.nb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    animation: nbModalFade .18s ease-out;
}
.nb-modal-box {
    position: relative;
    z-index: 1;
    background: #FFF;
    color: var(--ink, #1A1A1A);
    width: 100%;
    max-width: 460px;
    padding: 22px 22px 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.30);
    animation: nbModalPop .22s cubic-bezier(.2,.9,.3,1.1);
    font-family: var(--font, 'Poppins', sans-serif);
}
@keyframes nbModalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nbModalPop {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.nb-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--rule, #E8E8E5);
    background: #FFF;
    color: var(--ink-muted, #6B6B6B);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nb-modal-close:hover {
    border-color: var(--accent, #8B2E2E);
    color: var(--accent, #8B2E2E);
}
.nb-modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.nb-modal-logo {
    width: 42px;
    height: 42px;
    background: #4285F4;
    color: #FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}
.nb-modal-head-text { display: flex; flex-direction: column; }
.nb-modal-source {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-muted, #6B6B6B);
    font-weight: 700;
}
.nb-modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 2px 0 0;
}
.nb-modal-rating {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent, #8B2E2E);
    margin-bottom: 10px;
}
.nb-modal-rating .icon { width: 18px; height: 18px; color: #D4B06A; align-self: center; }
.nb-modal-rating-of {
    font-size: .82rem;
    color: var(--ink-muted, #6B6B6B);
    font-weight: 600;
}
.nb-modal-intro {
    font-size: .84rem;
    line-height: 1.5;
    color: var(--ink-mid, #4B4B4B);
    margin: 6px 0 0;
}
.nb-modal-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.nb-modal-btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--accent, #8B2E2E);
    background: var(--accent, #8B2E2E);
    color: #FFF;
}
.nb-modal-btn:hover {
    background: var(--dark, #1A1A1A);
    border-color: var(--dark, #1A1A1A);
}
.nb-modal-btn .icon { width: 14px; height: 14px; }
.nb-modal-btn--ghost {
    background: #FFF;
    color: var(--ink, #1A1A1A);
    border-color: var(--rule, #E8E8E5);
}
.nb-modal-btn--ghost:hover {
    background: var(--paper-warm, #F7F7F5);
    border-color: var(--ink, #1A1A1A);
    color: var(--ink, #1A1A1A);
}

/* ================================================================
   38. UTILITY
   ================================================================ */
.ad-infeed-card { display: none; }
.ff-hint { display: inline; }

/* ================================================================
   39. REDUCED MOTION
   ================================================================ */
@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;
    }
    .mg-hero--wellen::after,
    .mg-hero--sonne::after {
        animation: none !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .mg-hero--wellen::after,
    .mg-hero--sonne::after {
        animation: mgdrift 40s linear infinite;
    }
}
@keyframes mgdrift {
    from { background-position-x: 0, 0; }
    to   { background-position-x: var(--mg-wave-w), 0; }
}

/* ================================================================
   40. RESPONSIVE — DESKTOP
   ================================================================ */
@media (min-width: 769px) {
    .mg-hero-inner { padding: 48px 24px 0; }
    .mg-search { flex-direction: row; gap: 12px; }
    .mg-search-field { flex: 1; }
    .mg-location-btn { flex-shrink: 0; padding: 0 28px; }
    .mg-hero-tabs { justify-content: center; padding: 0 24px; }
}

/* ================================================================
   41. RESPONSIVE — TABLET
   ================================================================ */
@media (max-width: 992px) {
    .event-card-full { grid-template-columns: 220px 1fr; }
}

/* ================================================================
   42. RESPONSIVE — MOBILE (bis 768px)
   ================================================================ */
@media (max-width: 768px) {
    .mg-hero {
        --mg-wave-w: 320px;
        --mg-wave-h: 110px;
        --mg-horizon: 52%;
        --mg-sun: 150px;
        --mg-sun-x: calc(100% - 120px);
    }
    .mg-hero--sonne::after { top: calc(var(--mg-horizon) - 14px); }
    .mg-hero-inner { padding: 32px 20px 0; }
    .mg-hero-tabs { padding: 0 12px; }
    .mg-hero-tab { padding: 12px 16px; font-size: .82rem; }

    .mg-cities { top: 54px; padding: 10px 0; }
    .mg-cities-inner { padding: 0 16px; }
    .mg-city-chip { padding: 7px 12px; font-size: 0.78rem; }

    .mg-quick {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
        scrollbar-width: none;
        margin: 16px -20px 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    .mg-quick::-webkit-scrollbar { display: none; }
    .mg-quick-chip { flex-shrink: 0; }
    .mg-dish-card { flex-basis: 140px; }
    .mg-dish-name { font-size: .78rem; }
    .mg-rest-card { flex-basis: 220px; }
    .mg-blog-card { flex-basis: 240px; }
    .mg-autoht-grid {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        margin: 0 -24px;
        padding: 0 24px 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .mg-autoht-grid::-webkit-scrollbar { display: none; }
    .mg-autoht-grid > * { flex: 0 0 160px; scroll-snap-align: start; }

    .mg-section { margin-top: 32px; padding: 0 16px; }
    .mg-hscroll {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .mg-search-result { grid-template-columns: 1fr; gap: 12px; }
    .mg-search-result-img { width: 100%; height: 160px; }
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ================================================================
   43. RESPONSIVE — KLEINE MOBILE (bis 640px)
   ================================================================ */
@media (max-width: 640px) {
    .top-sticky-header { padding: 10px 12px; }
    .header-sticky-container { flex-direction: column; gap: 10px; }
    .header-brand { align-items: center; text-align: center; }
    .header-lang { width: 100%; justify-content: center; flex-wrap: wrap; }

    .quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 0 12px;
    }
    .quick-action-item {
        padding: 16px 8px;
        border-right: none;
        border-bottom: 1px solid var(--rule);
    }
    .quick-action-item:nth-child(odd) { border-right: 1px solid var(--rule); }
    .quick-action-item:nth-last-child(-n+2) { border-bottom: none; }

    .pcard {
        display: flex;
        flex-direction: column;
        padding: 0 0 20px;
        gap: 0;
        border: 1px solid var(--rule);
        margin-bottom: 16px;
    }
    .pcard:first-child { border-top: 1px solid var(--rule); }
    .season-badge-list {
        position: relative;
        top: auto; right: auto;
        display: block;
        width: 100%;
        text-align: center;
        padding: 6px 12px;
        order: 1;
    }
    .pcard-img { width: 100%; height: 180px; order: 2; }
    .pcard-body { padding: 16px; order: 3; gap: 10px; }
    .pcard-name { font-size: 1.2rem; }

    .share-save-row { flex-wrap: wrap; }
    .btn-share, .btn-save { font-size: 0.62rem; padding: 6px 10px; }

    .open-filter-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cmp-wrap { flex-direction: column; align-items: stretch; }
    .type-filter-wrap { padding: 0 12px; gap: 8px; }
    .type-filter-label { display: none; }
    .type-filter-btn { padding: 6px 10px; font-size: 0.7rem; }

    #cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
        bottom: 14px;
        width: calc(100% - 28px);
    }
    #cookie-banner .btn-cookie { width: 100%; }

    .sticky-coffee-widget {
        top: auto;
        bottom: 78px;
        right: 10px;
        width: 260px;
    }
    html body .sticky-coffee-widget,
    html body .sticky-coffee-widget.expanded,
    html body .sticky-coffee-widget.minimized {
        position: fixed !important;
        top: auto !important;
        bottom: 78px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
        max-height: 60vh !important;
        height: auto !important;
        overflow: hidden !important;
        border-radius: 18px !important;
    }
    html body .sticky-coffee-widget.expanded .coffee-widget-content {
        display: block !important;
        max-height: calc(60vh - 52px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    html body .sticky-coffee-widget.expanded .coffee-widget-header { display: flex !important; }
    html body .sticky-coffee-widget .coffee-widget-trophy { display: none !important; }
    html body .sticky-coffee-widget .coffee-widget-close {
        width: 40px !important;
        height: 40px !important;
        background: rgba(0, 0, 0, 0.35) !important;
        border: 2px solid rgba(255, 255, 255, 0.7) !important;
        display: flex !important;
    }
    html body .sticky-coffee-widget .coffee-widget-close svg,
    html body .sticky-coffee-widget .coffee-widget-close .icon {
        width: 22px !important;
        height: 22px !important;
        stroke-width: 2.2 !important;
    }

    .footer-nav { padding: 8px 6px 10px; gap: 3px; }
    .footer-nav-item {
        min-width: 46px;
        padding: 8px 3px;
        gap: 4px;
        border-radius: 14px;
    }
    .footer-nav-icon { width: 24px; height: 24px; }
    .footer-nav-label { font-size: 0.52rem; letter-spacing: 0.01em; }

    .pcard-hours-live { font-size: 0.68rem; padding: 6px 9px; }
    .hours-kitchen { margin-left: 0; width: 100%; justify-content: center; }
    .last-updated-badge { font-size: 0.6rem; padding: 2px 8px; }
    .last-updated-badge .icon { width: 10px; height: 10px; }
    .award-badge {
        width: 72px;
        height: 72px;
        top: 10px;
        right: 10px;
        padding: 7px;
        border-width: 2px;
    }
    .op-logo-ring { width: 44px; height: 44px; top: 6px; right: 8px; }
    .cafe-coffee-item { font-size: 0.72rem; }
    .cafe-coffee-item .coffee-price { font-size: 0.74rem; }
    .pcard-local-recs { margin-top: 12px; padding: 10px; }
    .pcard-local-recs-list { gap: 10px; }
    .pcard-local-rec-text { font-size: 0.76rem; }
    .pcard-local-rec-avatar,
    .pcard-local-rec-avatar img,
    .pcard-local-rec-initial {
        width: 40px;
        height: 40px;
    }
    .weather-widget-container {
        margin: 12px auto 0;
        padding: 0 10px;
        max-width: 100%;
    }
    .weather-widget {
        gap: 6px;
        padding: 7px 10px;
        justify-content: flex-start;
    }
    .weather-current { font-size: 0.72rem; gap: 4px; }
    .weather-temp { font-size: 0.8rem; }
    .weather-condition { display: none; }
    .weather-location { font-size: 0.65rem; padding: 2px 6px; }
    .weather-forecast { gap: 7px; }
    .forecast-day { gap: 3px; font-size: 0.65rem; }
    .forecast-day-name { font-size: 0.58rem; }
    .forecast-temp { font-size: 0.62rem; }
    .menu-preview { display: none; }
    .ff-hint { display: none; }
    .event-card-full { grid-template-columns: 1fr; }
    .event-card-img { min-height: 200px; }
}

/* ================================================================
   44. RESPONSIVE — SEHR KLEIN (bis 400px)
   ================================================================ */
@media (max-width: 400px) {
    .quick-action-icon { width: 32px; height: 32px; }
    .quick-action-label { font-size: 0.55rem; }
    .pcard-img { height: 160px; }
    .footer-nav-icon { width: 22px; height: 22px; }
    .footer-nav-label { font-size: 0.46rem; }
    .footer-nav-item { min-width: 40px; padding: 6px 2px; }
    .mg-hero { --mg-wave-h: 96px; }
    .mg-hero-inner { padding: 26px 16px 0; }
}

/* ================================================================
   45. SAFE AREA (iPhone)
   ================================================================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body { padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
    .footer-nav { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* ================================================================
   46. FEATURED SLIDER — Tagesmenüs, Pizza, Desert, etc.
   MUSS AUSSERHALB jeder Media-Query stehen!
   ================================================================ */
.featured-slider-section {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 24px;
}

.featured-slider-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.featured-slider-title {
    font-family: var(--font);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.featured-slider-title small {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 3px;
    line-height: 1.3;
}

.featured-slider-nav {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.slider-nav-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    color: var(--ink);
    cursor: pointer;
    transition: background .15s, border-color .15s;
    padding: 0;
}
.slider-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}
.slider-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.slider-nav-btn .icon {
    width: 16px;
    height: 16px;
}

/* ═══ DAS ist der horizontale Scroll-Container ═══ */
.featured-slider-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 10px;
    flex-wrap: nowrap;
}
.featured-slider-track::-webkit-scrollbar { height: 4px; }
.featured-slider-track::-webkit-scrollbar-thumb {
    background: var(--rule-strong);
    border-radius: 2px;
}

/* ═══ Karte im Slider ═══ */
.featured-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    scroll-snap-align: start;
    background: var(--paper);
    border: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
    display: block;
    position: relative;
}
.featured-card:hover {
    border-color: var(--ink);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.featured-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--paper-deep);
    display: block;
}
.featured-card-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}
.featured-card:hover .featured-card-image > img {
    transform: scale(1.04);
}

.featured-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 3;
    background: var(--ink);
    color: var(--paper);
}
.featured-card-badge.gold { background: var(--star); color: var(--ink); }
.featured-card-badge.silver { background: #C8D7EB; color: var(--ink); }
.featured-card-badge.bronze { background: #C9A87C; color: var(--ink); }

.featured-card-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    background: rgba(0,0,0,0.7);
    color: #FFFFFF;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 3;
    white-space: nowrap;
}
.featured-card-rating .icon {
    width: 11px;
    height: 11px;
    color: var(--star);
}

.featured-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0) 100%);
    color: #FFFFFF;
    z-index: 2;
    pointer-events: none;
}
.featured-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.85);
    flex-wrap: wrap;
}
.featured-card-meta .type-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}
.featured-card-meta .price-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #D4B06A;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .featured-slider-section {
        padding: 0 16px;
        margin-bottom: 20px;
    }
    .featured-slider-title { font-size: 1rem; }
    .featured-slider-title small { font-size: 0.68rem; }
    .featured-slider-nav { display: none; }
    .featured-slider-track {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .featured-card {
        flex: 0 0 240px;
        min-width: 240px;
        max-width: 240px;
    }
    .featured-card-image { height: 170px; }
}

@media (max-width: 480px) {
    .featured-card {
        flex: 0 0 200px;
        min-width: 200px;
        max-width: 200px;
    }
    .featured-card-image { height: 150px; }
    .featured-card-title { font-size: 0.82rem; }
}

/* ================================================================
   47. DARK MODE — MUSS ZULETZT STEHEN
   ================================================================ */
@media (prefers-color-scheme: dark) {
    .footer-nav {
        background: rgba(26, 26, 26, 0.98);
        border-top-color: rgba(255, 255, 255, 0.08);
    }
    .footer-nav-item { color: #9ca3af; }
    .footer-nav-item:hover {
        background: rgba(245, 237, 224, 0.18);
        color: #8B2E2E;
    }
    .footer-nav-item.active {
        background: #8B2E2E;
        color: #ffffff;
    }
}

/* ================================================================
   48. HERO-TABCONTENT-OVERLAY (Lazy-Load Lokalci / Cijene / Jela)
   ================================================================ */
.mg-tabcontent-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    background: rgba(20, 15, 5, .55);
    display: flex;
    justify-content: center;
    padding: 70px 16px 16px;
    animation: mgTabFadeIn .18s ease-out;
}
.mg-tabcontent-overlay[hidden] { display: none !important; }
@keyframes mgTabFadeIn { from { opacity: 0; } to { opacity: 1; } }

.mg-tabcontent-panel {
    width: 100%;
    max-width: 1200px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 88vh;
    animation: mgTabSlideIn .22s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes mgTabSlideIn {
    from { transform: translateY(-12px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.mg-tabcontent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--rule);
    flex-shrink: 0;
    background: var(--paper);
}
.mg-tabcontent-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.mg-tabcontent-close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--rule);
    background: #fff;
    color: var(--ink-mid);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .15s, color .15s;
}
.mg-tabcontent-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.mg-tabcontent-close .icon { width: 16px; height: 16px; }

.mg-tabcontent-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    background: #fff;
}

.mg-tabcontent-loading {
    padding: 40px 20px;
    text-align: center;
    color: var(--ink-muted);
    font-size: 0.88rem;
}
.mg-tabcontent-error {
    padding: 40px 20px;
    text-align: center;
    color: var(--accent);
    font-size: 0.88rem;
}

/* Optional: der Header der Zielseite, falls er trotz Embed mitkommt, wird versteckt */
.mg-tabcontent-body .top-sticky-header,
.mg-tabcontent-body .footer-nav,
.mg-tabcontent-body #cookie-banner { display: none !important; }

@media (max-width: 768px) {
    .mg-tabcontent-overlay { padding: 60px 8px 8px; }
    .mg-tabcontent-panel { border-radius: 12px; max-height: 92vh; }
    .mg-tabcontent-head { padding: 12px 14px; }
    .mg-tabcontent-title { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    .mg-tabcontent-overlay,
    .mg-tabcontent-panel { animation: none !important; }
}

/* ================================================================
   49. LOCALS-SEKTION IN ne.php (eingebettet aus local-lists.php)
   Gelbe Meereswelle als visueller Marker davor.
   ================================================================ */

/* ── Gelbe Meereswelle als Trenner ── */
.mg-locals-wave {
    width: 100%;
    height: 60px;
    margin: 40px 0 0;
    background: #BE9440;
    position: relative;
    overflow: hidden;
}
.mg-locals-wave::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='60' viewBox='0 0 480 60' preserveAspectRatio='none'%3E%3Cpath d='M0 22 Q60 8 120 22 T240 22 T360 22 T480 22 L480 60 L0 60 Z' fill='%23BE9440'/%3E%3Cpath d='M0 42 Q60 28 120 42 T240 42 T360 42 T480 42' fill='none' stroke='%23F6EFE3' stroke-width='3' stroke-linecap='round' stroke-opacity='.85'/%3E%3C/svg%3E") repeat-x left bottom / 480px 60px;
    animation: mgLocalsWaveDrift 30s linear infinite;
}
@keyframes mgLocalsWaveDrift {
    from { background-position-x: 0; }
    to   { background-position-x: 480px; }
}
.mg-locals-wave-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
}

/* ── Wrapper für die beiden Locals-Sektionen ── */
.mg-locals-block {
    background: #FFFFFF;
    padding: 40px 0 50px;
    border-bottom: 1px solid var(--rule);
}
.mg-locals-block-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Sektions-Titel (übernommen aus local-lists.php) ── */
.mg-locals-block .local-section-title {
    margin: 30px 0 12px;
    padding-top: 22px;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.mg-locals-block .local-section-title:first-child { margin-top: 0; padding-top: 0; }
.mg-locals-block .local-section-title:first-child::before { display: none; }
.mg-locals-block .local-section-title::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--rule);
}
.mg-locals-block .local-section-title svg {
    color: var(--accent);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── 4-Slot-Grid (MORGEN/MITTAG/NACHMITTAG/ABEND) ── */
.mg-locals-block .local-today-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.mg-locals-block .local-today-slot {
    background: #FFFFFF;
    border: 1px solid var(--rule);
    padding: 12px;
    display: flex;
    flex-direction: column;
}
.mg-locals-block .local-today-slot-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rule);
}
.mg-locals-block .local-today-slot-head svg {
    width: 16px; height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}
.mg-locals-block .local-today-slot-head h4 {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
}
.mg-locals-block .local-today-slot-item {
    padding: 8px 0;
    border-bottom: 1px dashed var(--rule);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.mg-locals-block .local-today-slot-item:last-child { border-bottom: none; padding-bottom: 0; }
.mg-locals-block .local-today-slot-item.is-clickable { cursor: pointer; transition: background .15s; }
.mg-locals-block .local-today-slot-item.is-clickable:hover { background: var(--paper-warm); }
.mg-locals-block .local-today-slot-thumb {
    width: 40px; height: 40px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--paper-warm);
}
.mg-locals-block .local-today-slot-body { flex: 1; min-width: 0; }
.mg-locals-block .local-today-slot-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 2px;
}
.mg-locals-block .local-today-slot-by { font-size: 0.68rem; color: var(--ink-muted); }
.mg-locals-block .local-today-slot-rec {
    font-size: 0.68rem;
    color: var(--accent);
    font-weight: 700;
    margin-top: 2px;
}
.mg-locals-block .local-today-slot-empty {
    color: var(--ink-muted);
    font-size: 0.8rem;
    padding: 6px 0;
    font-style: italic;
}

/* ── 5-Tab-Section ── */
.mg-locals-block .ll-tabs {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
}
.mg-locals-block .ll-tabs-head { text-align: center; margin-bottom: 20px; }
.mg-locals-block .ll-tabs-head h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: .02em;
}
.mg-locals-block .ll-tabs-head p { margin: 0; color: var(--ink-mid); font-size: .9rem; }

.mg-locals-block .ll-tabbar {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 6px 0 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--rule);
    scrollbar-width: none;
}
.mg-locals-block .ll-tabbar::-webkit-scrollbar { display: none; }
.mg-locals-block .ll-tabbar-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--rule);
    color: var(--ink-mid);
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mg-locals-block .ll-tabbar-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.mg-locals-block .ll-tabbar-btn:hover { border-color: var(--accent); color: var(--accent); }
.mg-locals-block .ll-tabbar-btn.is-active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.mg-locals-block .ll-tabbar-btn.is-active svg { color: #fff; }

.mg-locals-block .ll-tabpane { display: none; }
.mg-locals-block .ll-tabpane.is-active { display: block; }

/* ── Karten-Grids ── */
.mg-locals-block .ll-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.mg-locals-block .ll-card {
    background: #fff;
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s;
}
.mg-locals-block .ll-card:hover { border-color: var(--accent); }
.mg-locals-block .ll-card-img {
    width: 100%; aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--paper-warm);
}
.mg-locals-block .ll-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.mg-locals-block .ll-card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.mg-locals-block .ll-card-name {
    font-size: .98rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}
.mg-locals-block .ll-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .72rem;
    color: var(--ink-muted);
    align-items: center;
}
.mg-locals-block .ll-card-meta svg { width: 12px; height: 12px; }
.mg-locals-block .ll-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    color: var(--accent);
    font-size: .72rem;
}
.mg-locals-block .ll-card-cta { margin-top: auto; padding-top: 8px; }
.mg-locals-block .ll-card-cta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--accent);
}
.mg-locals-block .ll-card-cta svg { width: 12px; height: 12px; }

/* ── First-Visit-Grid ── */
.mg-locals-block .ll-fv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mg-locals-block .ll-fv-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-left: 3px solid var(--accent);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}
.mg-locals-block .ll-fv-card:hover { background: var(--paper-warm); }
.mg-locals-block .ll-fv-icon { color: var(--accent); line-height: 0; margin-bottom: 4px; }
.mg-locals-block .ll-fv-icon svg { width: 24px; height: 24px; }
.mg-locals-block .ll-fv-title { font-size: .98rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.mg-locals-block .ll-fv-desc { font-size: .82rem; color: var(--ink-mid); line-height: 1.5; }
.mg-locals-block .ll-fv-cta {
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--accent);
}
.mg-locals-block .ll-fv-cta svg { width: 12px; height: 12px; }

/* ── Autochthon-Grid ── */
.mg-locals-block .ll-auto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mg-locals-block .ll-auto-card {
    background: #fff;
    border: 1px solid var(--rule);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.mg-locals-block .ll-auto-card:hover { border-color: var(--accent); }
.mg-locals-block .ll-auto-img {
    width: 100%; aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--paper-warm);
}
.mg-locals-block .ll-auto-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.mg-locals-block .ll-auto-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.mg-locals-block .ll-auto-name { font-size: 1rem; font-weight: 800; color: var(--ink); }
.mg-locals-block .ll-auto-meta {
    font-size: .75rem;
    color: var(--ink-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mg-locals-block .ll-auto-meta strong { color: var(--accent); font-weight: 800; }

/* ── Beaches / Sights Grid ── */
.mg-locals-block .ll-bs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mg-locals-block .ll-bs-card {
    background: #fff;
    border: 1px solid var(--rule);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mg-locals-block .ll-bs-img {
    width: 100%; aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--paper-warm);
}
.mg-locals-block .ll-bs-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.mg-locals-block .ll-bs-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.mg-locals-block .ll-bs-name {
    font-size: .98rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}
.mg-locals-block .ll-bs-desc { font-size: .78rem; color: var(--ink-mid); line-height: 1.45; }
.mg-locals-block .ll-bs-cta {
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}
.mg-locals-block .ll-bs-cta svg { width: 12px; height: 12px; }

/* ── Öffnungszeiten live ── */
.mg-locals-block .ll-hours-live {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: .72rem;
    font-weight: 600;
    border: 1px solid transparent;
    margin-top: 4px;
}
.mg-locals-block .ll-hours-live--open {
    background: rgba(45,90,61,.08);
    border-color: rgba(45,90,61,.35);
    color: #2D5A3D;
}
.mg-locals-block .ll-hours-live--closing_soon {
    background: rgba(184,134,11,.10);
    border-color: rgba(184,134,11,.45);
    color: #8a6a1e;
}
.mg-locals-block .ll-hours-live--closed {
    background: rgba(139,46,46,.08);
    border-color: rgba(139,46,46,.30);
    color: #8B2E2E;
}
.mg-locals-block .ll-hours-live--unknown { display: none; }
.mg-locals-block .ll-hours-live-item { display: inline-flex; align-items: center; gap: 4px; }
.mg-locals-block .ll-hours-live-item svg { width: 12px; height: 12px; }
.mg-locals-block .ll-hours-live-sep { opacity: .5; }

/* ── Empty-State ── */
.mg-locals-block .local-empty {
    padding: 24px;
    text-align: center;
    color: var(--ink-muted);
    font-size: .88rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .mg-locals-block .local-today-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mg-locals-block .ll-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .mg-locals-block .ll-fv-grid { grid-template-columns: repeat(2, 1fr); }
    .mg-locals-block .ll-auto-grid { grid-template-columns: repeat(2, 1fr); }
    .mg-locals-block .ll-bs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .mg-locals-wave { height: 48px; margin-top: 28px; }
    .mg-locals-wave::before { background-size: 320px 48px; }
    .mg-locals-wave-inner { font-size: 0.62rem; letter-spacing: 0.14em; }
    .mg-locals-block { padding: 28px 0 36px; }
    .mg-locals-block .local-today-grid-4 { grid-template-columns: 1fr; gap: 8px; }
    .mg-locals-block .ll-cards-grid { grid-template-columns: 1fr; }
    .mg-locals-block .ll-fv-grid { grid-template-columns: 1fr; }
    .mg-locals-block .ll-auto-grid { grid-template-columns: 1fr; }
    .mg-locals-block .ll-bs-grid { grid-template-columns: 1fr; }
    .mg-locals-block .ll-tabbar-btn { padding: 7px 11px; font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
    .mg-locals-wave::before { animation: none !important; }
}

/* ================================================================
   50. EDITORIAL 4 — „KÜSTENLINIE"  (Startseite ne.php)
   Gleiche Klassen, gleiche Funktionen – nur Optik:
   Bordeaux · Gold · Creme, ruhig, mit animierten Wellen als Markenzeichen.
   Selektoren mit "body" davor, damit sie auch gegenüber new.css /
   mg-locals-v3.css / ne-locals-override.css gewinnen.
   ================================================================ */
:root {
    --mg-bord: #851B2F;
    --mg-bord-dark: #6B1425;
    --mg-gold: #BE9440;
    --mg-cream: #F6EFE3;
    --mg-sand: #E8DCC0;
    --mg-ink: #2A2024;
    --mg-wave-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='10' viewBox='0 0 48 10'%3E%3Cpath d='M0 5 Q6 0 12 5 T24 5 T36 5 T48 5' fill='none' stroke='%23BE9440' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ── 50.1 HERO — Himmel, Sonne, Meer (Desktop) ───────────────── */
body .mg-hero--sonne {
    --mg-horizon: 236px;
    --mg-wave-w: 480px;
    --mg-wave-h: 150px;
    min-height: 424px;
    background: linear-gradient(180deg, #FBF8F1 0%, var(--mg-cream) 100%);
}
body .mg-hero--sonne .mg-hero-inner { padding-top: 46px; }
body .mg-hero--sonne .mg-hero-title { margin-bottom: 78px; color: var(--mg-ink); }
body .mg-hero--sonne .mg-hero-title em { color: var(--mg-bord); }
body .mg-hero--sonne::before {
    box-shadow: 0 0 0 16px rgba(190,148,64,.20), 0 0 0 38px rgba(190,148,64,.10);
}
body .mg-hero--sonne::after {
    top: calc(var(--mg-horizon) - 24px);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='150' viewBox='0 0 480 150' preserveAspectRatio='none'%3E%3Cpath d='M0 24 Q60 8 120 24 T240 24 T360 24 T480 24 L480 150 L0 150 Z' fill='%23851B2F'/%3E%3Cpath d='M0 24 Q60 8 120 24 T240 24 T360 24 T480 24' fill='none' stroke='%23D9BE82' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M0 118 Q60 106 120 118 T240 118 T360 118 T480 118' fill='none' stroke='%23F6EFE3' stroke-width='3' stroke-linecap='round' stroke-opacity='.55'/%3E%3Cpath d='M0 136 Q60 124 120 136 T240 136 T360 136 T480 136' fill='none' stroke='%23BE9440' stroke-width='3' stroke-linecap='round' stroke-opacity='.7'/%3E%3C/svg%3E") repeat-x left top / var(--mg-wave-w) var(--mg-wave-h),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='150' viewBox='0 0 480 150' preserveAspectRatio='none'%3E%3Cpath d='M0 14 Q40 2 80 14 T160 14 T240 14 T320 14 T400 14 T480 14 L480 150 L0 150 Z' fill='%23BE9440' fill-opacity='.55'/%3E%3C/svg%3E") repeat-x left top / var(--mg-wave-w) var(--mg-wave-h),
        linear-gradient(var(--mg-bord), var(--mg-bord)) left calc(var(--mg-wave-h) - 2px) / 100% 100% no-repeat;
    opacity: 1;
}
body .mg-hero--sonne .mg-search { margin-top: 0; }

/* ── 50.2 HERO — Wellen (Mobile) ─────────────────────────────── */
body .mg-hero--wellen {
    background: var(--mg-bord);
    padding-bottom: 0;
}
body .mg-hero--wellen .mg-hero-inner { padding-bottom: 150px; }
body .mg-hero--wellen::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: calc(var(--mg-wave-h) + 16px);
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='140' viewBox='0 0 480 140' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q40 6 80 20 T160 20 T240 20 T320 20 T400 20 T480 20 L480 140 L0 140 Z' fill='%23BE9440' fill-opacity='.5'/%3E%3C/svg%3E") repeat-x left bottom / var(--mg-wave-w) calc(var(--mg-wave-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
    body .mg-hero--wellen::before { animation: mgdriftR 55s linear infinite; }
    body .mg-hero--sonne::after   { animation: mgdrift3 40s linear infinite; }
}
@keyframes mgdriftR { from { background-position-x: 0; } to { background-position-x: calc(var(--mg-wave-w) * -1); } }
@keyframes mgdrift3 {
    from { background-position-x: 0, 0, 0; }
    to   { background-position-x: var(--mg-wave-w), calc(var(--mg-wave-w) * -1), 0; }
}

/* ── 50.3 SUCHE ──────────────────────────────────────────────── */
body .mg-search { max-width: 760px; }
body .mg-search-field {
    border-radius: 999px;
    box-shadow: 0 10px 28px -10px rgba(42,32,36,.45), 0 0 0 1px rgba(190,148,64,.35);
    transition: box-shadow .2s;
}
body .mg-search-field:focus-within {
    box-shadow: 0 12px 30px -10px rgba(42,32,36,.5), 0 0 0 3px var(--mg-gold);
}
body .mg-search-icon { color: var(--mg-bord); }
body .mg-location-btn {
    background: var(--mg-gold);
    color: var(--mg-ink);
    box-shadow: 0 10px 24px -12px rgba(0,0,0,.5);
    transition: background .15s, transform .15s;
}
body .mg-location-btn:hover { background: var(--mg-cream); transform: translateY(-1px); }
body .mg-location-icon { color: var(--mg-ink); }

/* ── 50.4 HERO-TABS ──────────────────────────────────────────── */
body .mg-hero-tabs {
    background: var(--paper);
    border-bottom: 1px solid var(--mg-sand);
    margin-bottom: 8px;
}
body .mg-hero-tab {
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 16px 22px;
    border-bottom-width: 3px;
}
body .mg-hero-tab.active { color: var(--mg-bord); border-bottom-color: var(--mg-gold); }
body .mg-hero-tab:hover { color: var(--mg-bord); }

/* ── 50.5 STADT-CHIPS ───────────────────────────────────────── */
body .mg-city-chip {
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--mg-sand);
    color: var(--mg-ink);
    padding: 8px 8px 8px 16px;
}
body .mg-city-chip:hover { border-color: var(--mg-gold); }
body .mg-city-chip.active { background: var(--mg-bord); border-color: var(--mg-bord); color: #fff; }
body .mg-city-count { border-radius: 999px; background: var(--mg-cream); color: var(--mg-bord); padding: 2px 9px; }
body .mg-city-chip.active .mg-city-count { background: var(--mg-gold); color: var(--mg-ink); }

/* ── 50.6 SEKTIONS-KÖPFE (Wellen-Glyphe über dem Titel) ───── */
body .mg-section { margin-top: 52px; }
body .mg-section-head { align-items: flex-end; margin-bottom: 22px; }
body .mg-section-head h2,
body .featured-slider-title {
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.015em;
    text-transform: none;
    color: var(--mg-ink);
    line-height: 1.15;
}
body .mg-section-head h2::before,
body .featured-slider-title::before {
    content: "";
    display: block;
    width: 48px; height: 10px;
    margin-bottom: 12px;
    background: var(--mg-wave-glyph) repeat-x 0 0 / 48px 10px;
}
@media (prefers-reduced-motion: no-preference) {
    body .mg-section-head h2::before,
    body .featured-slider-title::before { animation: mgGlyph 5s linear infinite; }
}
@keyframes mgGlyph { from { background-position-x: 0; } to { background-position-x: 48px; } }
body .mg-more {
    font-size: .7rem;
    letter-spacing: .12em;
    color: var(--mg-bord);
    padding: 9px 16px;
    border: 1px solid var(--mg-gold);
    border-radius: 999px;
    transition: background .15s, color .15s, border-color .15s;
}
body .mg-more:hover { background: var(--mg-bord); border-color: var(--mg-bord); color: #fff; }

/* ── 50.7 HORIZONTALE REIHEN: bündig mit dem Titel ─────────── */
body .mg-hscroll {
    scroll-padding-left: 24px;
    gap: 18px;
    padding-top: 4px;
    padding-bottom: 18px;
}
body .mg-hscroll::-webkit-scrollbar-thumb { background: var(--mg-sand); border-radius: 2px; }
body .mg-hscroll { scrollbar-color: var(--mg-sand) transparent; }

/* ── 50.8 KARTEN ────────────────────────────────────────────── */
body .mg-rest-card,
body .mg-dish-card,
body .mg-blog-card,
body .featured-card {
    border: 1px solid var(--mg-sand);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body .mg-rest-card:hover,
body .mg-dish-card:hover,
body .mg-blog-card:hover,
body .featured-card:hover {
    transform: translateY(-4px);
    border-color: var(--mg-gold);
    box-shadow: 0 18px 30px -18px rgba(133,27,47,.45);
}
body .mg-rest-rank {
    background: var(--mg-bord);
    color: var(--mg-cream);
    border-radius: 4px;
    padding: 3px 10px;
    letter-spacing: .06em;
}
body .mg-rest-award { box-shadow: 0 0 0 2px var(--mg-gold), 0 6px 14px rgba(0,0,0,.25); }
body .mg-rest-body { padding: 14px 16px 16px; gap: 7px; }
body .mg-rest-name { font-size: 1rem; }
body .mg-rest-rating {
    align-self: flex-start;
    background: var(--mg-cream);
    color: var(--mg-bord);
    border-radius: 999px;
    padding: 3px 11px;
}
body .mg-dish-body { padding: 12px 14px 14px; }
body .mg-dish-name { color: var(--mg-ink); }
body .mg-blog-date { color: var(--mg-gold); letter-spacing: .12em; }
body .mg-blog-title { color: var(--mg-ink); }

/* Autochthone Gerichte: Bild mit Name im Verlauf */
body .mg-autoht-grid { gap: 18px; }
body .mg-autoht-grid .mg-dish-card { position: relative; }
body .mg-autoht-grid .mg-dish-img { aspect-ratio: 4 / 3; }
body .mg-autoht-grid .mg-dish-body {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 46px 18px 16px;
    background: linear-gradient(to top, rgba(107,20,37,.92) 0%, rgba(107,20,37,.55) 55%, rgba(107,20,37,0) 100%);
}
body .mg-autoht-grid .mg-dish-name { color: #fff; font-size: 1.1rem; letter-spacing: -.005em; }
body .mg-autoht-grid .mg-dish-img img { transition: transform .6s; }
body .mg-autoht-grid .mg-dish-card:hover .mg-dish-img img { transform: scale(1.05); }

/* ── 50.9 TAGESMENÜ-SLIDER (featured) ───────────────────────── */
body .featured-slider-section { margin: 44px auto 0; }
body .featured-slider-header { align-items: flex-end; margin-bottom: 20px; }
body .featured-slider-title small { color: var(--ink-mid); font-size: .78rem; margin-top: 6px; }
body .featured-slider-track { gap: 18px; padding-bottom: 18px; scroll-padding-left: 0; }
body .featured-card-badge { background: var(--mg-bord); color: var(--mg-cream); border-radius: 4px; }
body .featured-card-badge.gold { background: var(--mg-bord); color: var(--mg-cream); }
body .featured-card-rating { background: var(--mg-cream); color: var(--mg-bord); border-radius: 999px; padding: 3px 11px; }
body .featured-card-content {
    background: linear-gradient(to top, rgba(107,20,37,.92) 0%, rgba(107,20,37,.55) 55%, rgba(107,20,37,0) 100%);
    padding-top: 34px;
}
body .featured-card-meta .price-tag { color: #E3C98B; }
body .slider-nav-btn { width: 40px; height: 40px; border-radius: 50%; border-color: var(--mg-gold); color: var(--mg-bord); }
body .slider-nav-btn:hover { background: var(--mg-bord); border-color: var(--mg-bord); color: #fff; }

/* ── 50.10 PREISVERGLEICH ──────────────────────────────────── */
body .mg-compare-card {
    background: var(--mg-cream);
    border: 0;
    border-radius: 12px;
    padding: 30px 32px;
    gap: 22px;
    position: relative;
    overflow: hidden;
}
body .mg-compare-card::after {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 6px;
    background: linear-gradient(90deg, var(--mg-bord), var(--mg-gold));
}
body .mg-compare-row { grid-template-columns: 90px 1fr 100px; }
body .mg-compare-label { color: var(--mg-ink); font-weight: 600; }
body .mg-compare-bar { height: 10px; border-radius: 999px; background: var(--mg-sand); }
body .mg-compare-fill { border-radius: 999px; background: linear-gradient(90deg, var(--mg-gold), var(--mg-bord)); }
body .mg-compare-price { color: var(--mg-bord); font-size: .95rem; }

/* ── 50.11 MOBILE ───────────────────────────────────────────── */
@media (max-width: 768px) {
    body .mg-hero--wellen { --mg-wave-h: 120px; }
    body .mg-hero--wellen .mg-hero-inner { padding: 34px 20px 130px; }
    body .mg-hero-tab { padding: 14px 14px; font-size: .7rem; letter-spacing: .1em; }
    body .mg-section { margin-top: 40px; padding: 0 16px; }
    body .mg-section-head { margin-bottom: 16px; }
    body .mg-hscroll { scroll-padding-left: 16px; gap: 14px; }
    body .mg-more { padding: 7px 12px; font-size: .64rem; }
    body .featured-slider-section { margin-top: 32px; padding: 0 16px; }
    body .featured-slider-track { gap: 14px; scroll-padding-left: 16px; }
    body .mg-compare-card { padding: 24px 20px; }
    body .mg-compare-row { grid-template-columns: 64px 1fr 76px; gap: 12px; }
    body .mg-autoht-grid { gap: 12px; }
    body .mg-city-chip { padding: 7px 7px 7px 13px; }
}
