/* ================================================================
   MAKARSKA GASTRO GUIDE — EDITORIAL 2.0
   Nur Poppins. Flach. Keine Emojis. Keine Schatten (außer Coffee).
   ================================================================ */

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

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

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

    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

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

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

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

/* ---------- 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: nowrap;
    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);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    padding: 0;
    text-align: center;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
    width: 100%;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slider-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slider-slide.active {
    opacity: 1;
}

.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 24px 60px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-family: var(--font);
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.hero h1 span {
    display: block;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--star);
    margin: 24px auto;
}

.hero-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.18em;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 8px;
}

.hero-signature {
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    letter-spacing: 0.02em;
}

/* ---------- CITY SELECTOR ---------- */
.city-wrap {
    max-width: 400px;
    margin: 28px auto 0;
    padding: 0 24px;
}

.city-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--rule-strong);
    border-radius: 0;
    font-size: 0.9rem;
    font-family: var(--font);
    font-weight: 500;
    color: var(--ink);
    background: var(--paper);
    cursor: pointer;
    transition: border-color .2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

.city-select:focus {
    outline: none;
    border-color: var(--ink);
}

.city-select:disabled {
    background: var(--paper-warm);
    color: var(--ink-muted);
    cursor: not-allowed;
}

.city-locked-hint {
    font-size: 0.72rem;
    color: var(--ink-muted);
    margin-top: 10px;
    text-align: center;
}

/* ================================================================
   QUICK ACTIONS
   ================================================================ */
.quick-actions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: var(--paper);
    width: 100%;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 24px 10px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font);
    text-align: center;
    transition: background .2s;
    background: var(--paper);
    border-right: 1px solid var(--rule);
    line-height: 1.25;
    min-width: 0;
}

.quick-action-item:last-child { border-right: none; }
.quick-action-item:hover { background: var(--paper-warm); }

.quick-action-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.quick-action-label {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 130px;
}

/* ================================================================
   FEATURED SLIDER
   ================================================================ */
.featured-slider-section {
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 0 24px;
    width: 100%;
}

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

.featured-slider-title {
    font-family: var(--font);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.featured-slider-title small {
    display: block;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 6px;
}

.featured-slider-nav {
    display: flex;
    gap: 8px;
}

.slider-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--rule-strong);
    background: var(--paper);
    color: var(--ink-mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    border-radius: 0;
}

.slider-nav-btn:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.slider-nav-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.featured-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--rule-strong) transparent;
    max-width: 100%;
}

.featured-slider-track::-webkit-scrollbar { height: 6px; }
.featured-slider-track::-webkit-scrollbar-track { background: transparent; }
.featured-slider-track::-webkit-scrollbar-thumb { background: var(--rule-strong); }

.featured-card {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    background: var(--paper);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--rule);
    transition: border-color .2s;
}

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

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

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

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

.featured-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--paper);
    color: var(--ink);
}

.featured-card-badge.gold {
    background: var(--star);
    color: var(--ink);
}

.featured-card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--ink);
    color: var(--paper);
}

.featured-card-rating .icon { color: var(--star); }

.featured-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
    color: var(--paper);
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
}

.featured-card-title {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
}

.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    opacity: .95;
}

/* ================================================================
   RESTAURANT TABS SECTION
   ================================================================ */
.restaurant-tabs-section {
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 0 24px;
}

.restaurant-tabs-header {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--rule);
}

.restaurant-tabs-bar {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.restaurant-tabs-bar::-webkit-scrollbar { display: none; }

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

.restaurant-tab-btn:hover {
    color: var(--ink);
}

.restaurant-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.restaurant-tab-pane {
    display: none;
}

.restaurant-tab-pane.active {
    display: block;
}

/* ================================================================
   TABS (Haupt-Tabs)
   ================================================================ */
.tabs-wrap {
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 0 24px;
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--rule);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.tabs-wrap::-webkit-scrollbar { display: none; }

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

.tab-btn.on { color: var(--accent); border-bottom-color: var(--accent); }
.tab-btn:hover { color: var(--ink); }

.tab-icon {
    height: 16px;
    width: 16px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ---------- CMP WRAP ---------- */
.cmp-wrap {
    max-width: 1100px;
    margin: 20px auto 0;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.cmp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--rule-strong);
    background: var(--paper);
    color: var(--ink-mid);
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    border-radius: 0;
    text-decoration: none;
}

.cmp-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.all-btn {
    border-color: var(--accent);
    color: var(--accent);
}

.all-btn:hover {
    background: var(--accent);
    color: var(--paper);
    border-color: var(--accent);
}

/* ================================================================
   LISTING
   ================================================================ */
.listing {
    max-width: 1100px;
    margin: 24px auto 80px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tab-section { display: none; }
.tab-section.on { display: flex; flex-direction: column; }

/* ---------- PLACE CARD ---------- */
.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: 28px 0;
    gap: 32px;
    position: relative;
}

.pcard:first-child { border-top: 1px solid var(--rule); }
.pcard:hover { background: var(--paper-warm); }

/* ---------- PCARD IMG SLIDER (NEU) ---------- */
.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 ---------- */
.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 ---------- */
.pcard-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.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.75rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.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: 12px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.78rem;
}

.rtg-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ink-mid);
    font-weight: 600;
}

.rtg-chip .rl { font-weight: 700; font-size: 0.78rem; }
.rtg-chip.g .rl { color: var(--ink); }
.rtg-chip.ta .rl { color: var(--ink); }

.feat-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mid);
}

.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 ---------- */
.cta-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

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

/* ================================================================
   MENU PREVIEW (Hover-Popup)
   ================================================================ */
.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); }

@media (max-width: 768px) {
    .menu-preview { display: none; }
}

/* ================================================================
   POPULAR DISHES GRID — mit Bildern (NEU)
   ================================================================ */
.popular-dishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}
.dish-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--rule);
    text-decoration: none;
    transition: border-color .2s;
    cursor: pointer;
    overflow: hidden;
}
.dish-card:hover { border-color: var(--ink); }
.dish-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--paper-deep);
}
.dish-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.dish-card:hover .dish-card-img img { transform: scale(1.04); }
.dish-card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.dish-name {
    font-family: var(--font);
    font-weight: 600;
    color: var(--ink);
    font-size: 1.15rem;
    line-height: 1.25;
}
.dish-price {
    font-size: 0.78rem;
    color: var(--price);
    font-weight: 600;
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .popular-dishes-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .dish-card-img { height: 140px; }
    .dish-name { font-size: 1rem; }
}
@media (max-width: 400px) {
    .popular-dishes-grid { grid-template-columns: 1fr; }
}

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

/* ================================================================
   WEATHER WIDGET — KOMPAKTER (ÄNDERUNG 1)
   ================================================================ */
.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; }

@media (max-width: 640px) {
    .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; }
}

/* ================================================================
   OWNER-POSTS-FEED — Story-Format (ÄNDERUNG 2)
   ================================================================ */
#slider_op_track .featured-card {
    width: 220px;
    flex: 0 0 auto;
    overflow: visible;
}

#slider_op_track .featured-card-image {
    height: 340px;
    position: relative;
}

#slider_op_track .featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#slider_op_track .featured-card-content {
    padding: 14px 12px;
}

#slider_op_track .featured-card-title {
    font-size: 0.95rem;
    line-height: 1.25;
}

#slider_op_track .featured-card-meta {
    font-size: 0.68rem;
    flex-wrap: wrap;
    gap: 6px;
}

#slider_op_track .featured-card-badge.gold {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 0.6rem;
}

#slider_op_track .featured-card-rating {
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 0.62rem;
}

@media (max-width: 640px) {
    #slider_op_track .featured-card { width: 180px; }
    #slider_op_track .featured-card-image { height: 280px; }
    #slider_op_track .featured-card-title { font-size: 0.85rem; }
    #slider_op_track .featured-card-content { padding: 10px; }
}

/* ================================================================
   OPEN-BADGE (Öffnungszeiten-Farben) (ÄNDERUNG 3)
   ================================================================ */
.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;
}

/* Geöffnet → GRÜN */
.open-badge.open,
.open-badge-desktop.open,
.open-status-badge.open,
.open-badge[data-state="open"] {
    background: #2D5A3D;
    color: #FFFFFF;
}

/* Unbekannt → SCHWARZ */
.open-badge.unknown,
.open-badge-desktop.unknown,
.open-status-badge.unknown,
.open-badge[data-state="unknown"] {
    background: #1A1A1A;
    color: #FFFFFF;
}

/* Schließt bald / Ticker → ROT */
.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;
}

/* Geschlossen / Küche geschlossen → ROT */
.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;
}

/* Im Coffee-Widget (dunkler Hintergrund) */
.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; }

/* ================================================================
   CAFÉ KAFFEEPREISE — Liste wie auf index.php (ÄNDERUNG 4)
   ================================================================ */
.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;
}

@media (max-width: 640px) {
    .cafe-coffee-item { font-size: 0.72rem; }
    .cafe-coffee-item .coffee-price { font-size: 0.74rem; }
}

/* Café-Karten: etwas mehr Innenabstand für die Kaffeepreise */
#ts-cafes .pcard-body {
    gap: 12px;
}

#ts-cafes .pcard-name {
    font-size: 1.6rem;
}

/* ================================================================
   ZULETZT AKTUALISIERT — Badge (immer grün) (ÄNDERUNG 6)
   ================================================================ */
.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;
    border-radius: 0;
    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;
}

@media (max-width: 640px) {
    .last-updated-badge {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
    .last-updated-badge .icon {
        width: 10px;
        height: 10px;
    }
}

/* ================================================================
   CLEAN LISTING — Tripadvisor / DeutschlandGourmet Stil (ÄNDERUNG 7)
   ================================================================ */

/* Karten: mehr Weißraum, klarere Hierarchie */
.pcard {
    padding: 32px 0;
    gap: 36px;
}

.pcard-body {
    gap: 12px;
}

/* Name: klarer, weniger fett */
.pcard-name {
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
}

/* Bewertungen: aufgeräumter */
.ratings-row {
    gap: 14px;
    padding: 2px 0;
}

.rtg-chip {
    padding: 3px 8px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    font-size: 0.74rem;
    font-weight: 600;
}

.rtg-chip .rl {
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--accent);
}

/* CTA-Reihe: mehr Abstand, klarer */
.cta-row {
    gap: 10px;
    margin-top: 6px;
}

/* Features: dezenter */
.feat-row {
    gap: 12px;
    padding: 4px 0;
    color: var(--ink-muted);
}

.feat-icon {
    opacity: 0.75;
}

/* Cafés: Beschreibungszeile (falls vorhanden) */
.cafe-desc {
    font-size: 0.82rem;
    color: var(--ink-mid);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile: kompakter */
@media (max-width: 768px) {
    .pcard { padding: 24px 0; gap: 24px; }
    .pcard-name { font-size: 1.35rem; }
    .ratings-row { gap: 10px; }
    .rtg-chip { font-size: 0.7rem; padding: 2px 6px; }
}

@media (max-width: 640px) {
    .pcard { padding: 0 0 22px; gap: 0; }
    .pcard-body { padding: 18px; gap: 10px; }
    .pcard-name { font-size: 1.2rem; }
}

/* ================================================================
   BCARD (Beach / Sight) — Trennlinie wie pcard (NEU)
   ================================================================ */
.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;
}
@media (max-width: 768px) {
    .bcard {
        display: flex;
        flex-direction: column;
        padding: 0 0 20px;
        gap: 0;
        border: 1px solid var(--rule);
        margin-bottom: 16px;
    }
    .bcard-img { width: 100%; height: 180px; }
    .bcard-body { padding: 16px; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 992px) {
    .featured-card { width: 260px; }
    .featured-card-image { height: 180px; }
    .event-card-full { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
    .hero { min-height: 420px; }
    .hero-content { padding: 60px 20px 50px; }
    .pcard { grid-template-columns: 160px 1fr; gap: 20px; padding: 20px 0; }
    .pcard-img { width: 160px; height: 140px; }
    .pcard-name { font-size: 1.3rem; }
    .avg-val { font-size: 1.3rem; }
    .popular-dishes-grid { grid-template-columns: repeat(2, 1fr); }
    .event-card-full { grid-template-columns: 1fr; }
    .event-card-img { min-height: 200px; }
    .featured-card { width: 240px; }
    .featured-card-image { height: 160px; }
}

@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; }

    /* Cards: 1 Spalte */
    .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;
    }

    .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; }
}

@media (max-width: 400px) {
    .quick-action-icon { width: 32px; height: 32px; }
    .quick-action-label { font-size: 0.55rem; }
    .pcard-img { height: 160px; }
}

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

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

@media (max-width: 640px) {
    .ff-hint { display: none; }
}

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

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

/* ================================================================
   COMPACT SLIDER
   ================================================================ */
.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); }

/* ================================================================
   AWARD-BADGE (Michelin / Gault & Millau) — großer Kreis
   ================================================================ */
.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;
}
@media (max-width: 640px) {
    .award-badge {
        width: 72px;
        height: 72px;
        top: 10px;
        right: 10px;
        padding: 7px;
        border-width: 2px;
    }
}

/* ================================================================
   OWNER-POSTS-FEED: LOGO-RING
   ================================================================ */
.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%;
}
@media (max-width: 640px) {
    .op-logo-ring { width: 44px; height: 44px; top: 6px; right: 8px; }
}

/* ================================================================
   DISH STATS BADGE
   ================================================================ */
.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
   ================================================================ */
.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;
}

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

/* ================================================================
   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 .icon { font-size: 0.75rem; opacity: 0.8; }

.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);
}

.type-filter-btn.active .icon { opacity: 1; color: var(--paper); }

/* ================================================================
   STICKY-COFFEE-WIDGET (UNVERÄNDERT – Ausnahme)
   ================================================================ */
.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; }

/* ══════════════════════════════════════════════════════════════
   HEADER-FIX — Erzwingt einreihigen Header (Blog, Blog-Post, etc.)
   ══════════════════════════════════════════════════════════════ */
.top-sticky-header .header-sticky-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
}
.top-sticky-header .header-sticky-left,
.top-sticky-header .header-sticky-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-width: 0 !important;
}
.top-sticky-header .header-sticky-right {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}
.top-sticky-header .header-sticky-left {
    flex-shrink: 0 !important;
}

/* Mobile: Logo & Buttons verkleinern statt umbrechen */
@media (max-width: 640px) {
    .top-sticky-header .header-sticky-container {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }
    .assistant-logo-link img {
        height: 38px !important;
        width: auto !important;
    }
    .assistant-btn {
        width: 42px !important;
        height: 42px !important;
    }
    .assistant-btn .assistant-icon {
        width: 20px !important;
        height: 20px !important;
    }
}