/* =================== VARIABLEN =================== */
:root {
    /* Farben exakt wie Screenshot */
    --color-primary: #3A3A2E;    /* Dunkles Olivgrün/Terrakotta */
    --color-secondary: #E7A800;   /* Gold/Gelb */
    --color-accent: #28a745;      /* Grün für Buttons */
    --color-bg: #f9f9f9;          /* Hellgrau Hintergrund */
    --color-text: #333333;        /* Dunkelgrau Text */
    --color-white: #ffffff;
    --color-light-gray: #e0e0e0;
    --color-medium-gray: #666666;
    
    /* Abstände */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* Schriftgrößen */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 20px;
}

/* =================== RESET & GRUNDLAGEN =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* =================== HEADER (TERRAKOTTA GRADIENT) =================== */
.main-header {
    background: linear-gradient(to bottom, #E45F2D, #F7B188);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
    margin-bottom: var(--spacing-sm);
}

.logo-container .logo {
    width: 140px;
}

.logo img {
    max-height: 40px;
    width: auto;
}

.language-selector select {
    padding: var(--spacing-sm);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius-md);
    background: var(--color-white);
    font-size: var(--font-size-sm);
    cursor: pointer;
    min-width: 130px;
}

/* =================== SUCHLEISTE =================== */
.search-container {
    padding: 0 var(--container-padding);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-sm);
    border: 1px solid var(--color-light-gray);
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-group .search-icon {
    position: absolute;
    left: var(--spacing-md);
    color: var(--color-medium-gray);
}

#mainSearch {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 40px;
    border: none;
    font-size: var(--font-size-md);
    background: transparent;
    outline: none;
    width: 100%;
}

.search-clear {
    position: absolute;
    right: var(--spacing-md);
    color: var(--color-medium-gray);
    display: none;
}

.search-input-group.has-input .search-clear {
    display: block;
}

.location-selector {
    position: relative;
}

#cityFilter {
    width: 100%;
    padding: var(--spacing-md);
    padding-right: 40px;
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    background: var(--color-white);
    cursor: pointer;
}

.location-icon {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-medium-gray);
    pointer-events: none;
}

.search-button {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffcc00 100%);
    color: var(--color-primary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: var(--font-size-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd633 100%);
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: var(--container-padding);
    right: var(--container-padding);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1001;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    margin-top: var(--spacing-sm);
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-light-gray);
    cursor: pointer;
    transition: background 0.2s;
}

.autocomplete-item:hover {
    background: var(--color-bg);
}

.autocomplete-icon {
    margin-right: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.autocomplete-name {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.autocomplete-city {
    font-size: var(--font-size-xs);
    color: var(--color-medium-gray);
    margin-top: 2px;
}

.autocomplete-loading,
.autocomplete-no-results {
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--color-medium-gray);
}

/* =================== STATS COUNTER =================== */
.stats-counter {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-xs);
    margin: var(--spacing-lg) var(--container-padding);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-sm);
}

.stat-number {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-medium-gray);
    line-height: 1.2;
}

/* =================== NAVIGATION TABS =================== */
.navigation-tabs {
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--container-padding);
    margin-bottom: var(--spacing-lg);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.nav-tab {
    flex: 0 0 auto;
    min-width: 100px;
    padding: var(--spacing-sm);
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.nav-tab i {
    font-size: var(--font-size-sm);
}

.nav-tab.active {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffcc00 100%);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

/* =================== TAB CONTENT =================== */
.tab-content {
    display: none;
    padding: 0 var(--container-padding);
    margin-bottom: var(--spacing-xl);
}

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

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

/* =================== GRID LAYOUT FÜR ALLE TABS =================== */
.restaurant-grid,
.daily-menus-grid,
.opgs-grid,
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

/* =================== CARD STIL FÜR ALLE TABS =================== */
.restaurant-card,
.daily-menu-card,
.opg-card,
.blog-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-card:hover,
.daily-menu-card:hover,
.opg-card:hover,
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.restaurant-image,
.card-image {
    height: 180px;
    overflow: hidden;
}

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

.restaurant-card:hover .restaurant-image img,
.daily-menu-card:hover .card-image img,
.opg-card:hover .card-image img,
.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.restaurant-info,
.card-content {
    padding: var(--spacing-md);
}

.restaurant-info h3,
.restaurant-info h4,
.card-content h3 {
    font-size: var(--font-size-md);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.restaurant-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: var(--font-size-xs);
    color: var(--color-medium-gray);
    margin-bottom: var(--spacing-md);
}

.restaurant-meta span,
.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.description,
.card-description {
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =================== RESTAURANT ACTIONS - RATING TERRAKOTA ROT =================== */
.restaurant-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
}

/* Button "Pogledaj jelovnik" */
.btn-view,
.card-action-btn {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffcc00 100%);
    color: var(--color-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    min-width: auto;
}

.btn-view:hover,
.card-action-btn:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd633 100%);
    transform: translateY(-2px);
}

/* Rating - TERRAKOTA ROT wie Header, IMMER RECHTS */
.rating {
    background: linear-gradient(to bottom, #E45F2D, #F7B188); /* TERRAKOTA ROT */
    color: white; /* WEISSER Text */
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: var(--font-size-xs);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 50px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: auto; /* IMMER NACH RECHTS GESCHOBEN */
}

/* Cafe Attributes */
.cafe-attributes {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.cafe-attribute {
    background: var(--color-bg);
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    color: var(--color-medium-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.city-section {
    margin-bottom: var(--spacing-xl);
}

.city-title {
    font-size: var(--font-size-md);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.restaurant-count {
    color: var(--color-secondary);
    font-weight: 600;
}

/* =================== COFFEE WIDGET - MOBILE FIX =================== */
.sticky-coffee-widget {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 320px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffcc00 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(231, 168, 0, 0.4);
    z-index: 9999;
    overflow: hidden;
    border: 3px solid #ffcc00;
    transition: all 0.4s ease;
}

.sticky-coffee-widget.minimized {
    width: 200px;
    height: 60px;
}

.sticky-coffee-widget.minimized .coffee-widget-content,
.sticky-coffee-widget.minimized .coffee-widget-header {
    display: none;
}

.sticky-coffee-widget.minimized .coffee-widget-minimized {
    display: flex;
}

.coffee-widget-minimized {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-md);
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffcc00 100%);
    color: var(--color-primary);
    font-weight: bold;
    font-size: var(--font-size-sm);
    gap: var(--spacing-sm);
    cursor: pointer;
}

.coffee-widget-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a5a4a 100%);
    color: var(--color-white);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--color-secondary);
}

.coffee-widget-header h3 {
    margin: 0;
    font-size: var(--font-size-md);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.coffee-widget-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.coffee-widget-close:hover {
    background: rgba(231, 168, 0, 0.3);
}

.coffee-widget-content {
    padding: var(--spacing-md);
}

.coffee-type-tabs {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.coffee-type-tab {
    flex: 1;
    min-width: 60px;
    padding: var(--spacing-xs) 3px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-medium-gray);
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.coffee-type-tab.active {
    background: var(--color-secondary);
    color: var(--color-primary);
}

.coffee-price-display {
    text-align: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-md);
}

.price-big {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.price-label {
    font-size: var(--font-size-sm);
    color: var(--color-medium-gray);
    font-weight: 600;
}

.coffee-cafe-info {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.cafe-name {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.cafe-name strong {
    font-size: var(--font-size-md);
    color: var(--color-primary);
    flex: 1;
}

.place-type-badge {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: var(--font-size-xs);
    font-weight: bold;
}

.cafe-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-medium-gray);
    font-size: var(--font-size-sm);
}

.coffee-widget-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.coffee-btn {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.coffee-btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffcc00 100%);
    color: var(--color-primary);
}

.coffee-btn-secondary {
    background: var(--color-primary);
    color: var(--color-white);
}

.coffee-widget-compare {
    margin-top: var(--spacing-md);
}

.coffee-btn-compare {
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-accent) 0%, #218838 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.coffee-widget-footer {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0,0,0,0.1);
    color: var(--color-medium-gray);
    font-size: var(--font-size-xs);
}

.coffee-widget-trophy {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #FFD700;
    color: var(--color-primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    z-index: 10000;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
    border: 2px solid var(--color-secondary);
}

/* =================== COFFEE WIDGET MOBILE - UNTEN LINKS OBERHALB FOOTER NAV =================== */
.mobile-coffee-widget {
    position: fixed;
    bottom: 70px; /* OBERHALB der Footer Navigation */
    left: 15px;
    z-index: 10005;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffcc00 100%);
    box-shadow: 0 4px 15px rgba(231, 168, 0, 0.5);
    border: 3px solid #ffcc00;
    display: none; /* Wird auf Mobile geändert */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-coffee-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 168, 0, 0.7);
}

.mobile-coffee-widget i {
    font-size: 24px;
    color: var(--color-primary);
}

/* =================== AI ASSISTENT (JESI GLADAN) - SICHTBAR =================== */
.virtual-assistant-container {
    position: fixed;
    bottom: 160px;
    left: 20px;
    z-index: 10010;
}

.virtual-assistant {
    width: 60px;
    height: 60px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.virtual-assistant:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.7);
}

/* =================== FOOTER =================== */
.main-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
    margin-bottom: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary);
}

.footer-section p,
.footer-section a {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-section a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: var(--font-size-sm);
}

.footer-bottom a {
    color: var(--color-secondary);
}

/* =================== FOOTER NAVIGATION =================== */
.footer-nav {
    background: var(--color-white);
    border-top: 1px solid var(--color-light-gray);
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

.footer-nav-items {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.footer-nav-item {
    text-align: center;
}

.footer-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: var(--color-medium-gray);
    padding: 4px 2px;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--color-secondary);
    background: rgba(231, 168, 0, 0.1);
}

.footer-nav-link.active {
    color: var(--color-secondary);
    background: rgba(231, 168, 0, 0.1);
}

.footer-nav-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.footer-nav-link:hover i {
    transform: translateY(-2px);
}

/* =================== MEDIA QUERIES =================== */

/* Tablet (768px) */
@media (min-width: 768px) {
    .header-top {
        padding: 0;
        margin-bottom: var(--spacing-md);
    }
    
    .search-form {
        flex-direction: row;
        align-items: center;
    }
    
    .search-input-group {
        flex: 1;
    }
    
    .location-selector {
        width: 180px;
    }
    
    .search-button {
        width: auto;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .stats-counter {
        margin: var(--spacing-xl) auto;
        max-width: 800px;
    }
    
    .restaurant-grid,
    .daily-menus-grid,
    .opgs-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-nav-items {
        grid-template-columns: repeat(7, 1fr);
        gap: 6px;
    }
    
    .footer-nav-link {
        font-size: 11px;
        padding: 6px 3px;
    }
    
    .footer-nav-link i {
        font-size: 18px;
    }
    
    .rating {
        margin-left: auto;
    }
}

/* Desktop (1024px) */
@media (min-width: 1024px) {
    .main-header .container {
        display: flex;
        flex-direction: column;
    }
    
    .header-top {
        align-self: flex-start;
        width: 100%;
    }
    
    .search-container {
        width: 100%;
    }
    
    .search-form {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .restaurant-grid,
    .daily-menus-grid,
    .opgs-grid,
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-section .restaurant-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .navigation-tabs {
        justify-content: center;
        overflow-x: visible;
    }
    
    .nav-tab {
        min-width: 120px;
        font-size: var(--font-size-sm);
        padding: var(--spacing-md);
    }
    
    .nav-tab.active {
        background: linear-gradient(135deg, var(--color-secondary) 0%, #ffcc00 100%);
        color: var(--color-primary);
    }
    
    .sticky-coffee-widget {
        width: 300px;
        right: 30px;
    }
    
    .virtual-assistant-container {
        bottom: 160px;
        left: 30px;
    }
    
    .virtual-assistant {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .footer-nav-items {
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
    }
    
    .footer-nav-link {
        font-size: 12px;
        padding: 8px 4px;
    }
    
    .footer-nav-link i {
        font-size: 20px;
    }
}

/* Sehr große Bildschirme (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .restaurant-grid,
    .daily-menus-grid,
    .opgs-grid,
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
    }
    
    .featured-section .restaurant-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .virtual-assistant-container {
        left: 40px;
        bottom: 170px;
    }
    
    .footer-nav-items {
        grid-template-columns: repeat(7, 1fr);
        gap: 10px;
    }
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: stretch;
    }
    
    .logo-container {
        text-align: center;
    }
    
    .language-selector select {
        width: 100%;
    }
    
    .stats-counter {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .navigation-tabs {
        gap: var(--spacing-xs);
    }
    
    .nav-tab {
        min-width: 90px;
        font-size: 10px;
        padding: var(--spacing-xs);
    }
    
    .virtual-assistant-container {
        bottom: 130px;
        left: 15px;
    }
    
    .virtual-assistant {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .footer-nav {
        padding: 8px 0;
    }
    
    .footer-nav-items {
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
    }
    
    .footer-nav-link {
        font-size: 9px;
        padding: 3px 1px;
        gap: 1px;
    }
    
    .footer-nav-link i {
        font-size: 14px;
    }
    
    .sticky-coffee-widget {
        width: 250px;
        right: 10px;
    }
    
    .sticky-coffee-widget.minimized {
        width: 150px;
    }
    
    /* FEHLER 1 KORREKTUR: Mobile Coffee Widget sichtbar, Desktop Widget verstecken */
    .mobile-coffee-widget {
        display: flex !important;
        bottom: 70px;
        left: 15px;
        width: 55px;
        height: 55px;
    }
    
    .sticky-coffee-widget {
        display: none !important;
    }
    
    /* FEHLER 2 KORREKTUR: Beliebte Gerichte horizontal 165px hoch */
    .popular-dishes-mini-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        height: 165px !important;
        min-height: 165px !important;
        max-height: 165px !important;
        gap: 12px !important;
        padding-bottom: 5px !important;
        margin-bottom: 10px !important;
    }
    
    .popular-dishes-mini-grid::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .popular-dishes-mini-grid::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 2px !important;
    }
    
    .popular-dishes-mini-grid::-webkit-scrollbar-thumb {
        background: #7A8340 !important;
        border-radius: 2px !important;
    }
    
    .popular-dish-mini-item {
        flex: 0 0 auto !important;
        width: 200px !important;
        height: 165px !important;
        min-height: 165px !important;
        max-height: 165px !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
        padding: 15px !important;
        border: 1px solid #e9ecef !important;
        transition: all 0.3s !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    /* FEHLER 3 KORREKTUR: Menu Items gleiche Höhe auf Mobile */
    .menu-items {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .menu-item {
        grid-template-columns: 1fr !important;
        min-height: 200px !important; /* Einheitliche Höhe */
        height: auto !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    
    .menu-item-image {
        width: 100% !important;
        height: 160px !important;
        order: -1 !important;
    }
    
    /* My Reviews Badge Breite halbieren auf Mobile */
    .compact-my-reviews {
        min-width: 60px !important;
        max-width: 70px;
        padding: 5px 6px !important;
        font-size: 10px;
        gap: 4px;
    }
    
    .compact-stars i {
        font-size: 10px !important;
    }
    
    .compact-rating-value {
        font-size: 12px !important;
    }
    
    .compact-rating-label {
        font-size: 9px !important;
        white-space: nowrap;
    }
}

/* =================== RESTAURANT DETAIL PAGE =================== */
/* Alle spezifischen Styles für restaurant.php - KOMPLETT OPTIMIERT */

/* 1. Restaurant Hero Bild */
.restaurant-hero {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
    background: #000;
}

.restaurant-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.restaurant-hero:hover img {
    transform: scale(1.02);
}

.restaurant-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    padding: 20px;
    z-index: 2;
}

.restaurant-hero-overlay h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* 2. Reviews Badges */
.reviews-badges-vertical {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.review-badge-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    min-width: 140px;
    justify-content: flex-start;
}

.review-badge-compact:hover {
    transform: translateX(-5px);
}

.review-badge-compact.my-review {
    background: rgba(231, 168, 0, 0.9);
    color: #3A3A2E;
    border: 2px solid #E7A800;
}

.review-badge-compact.google {
    background: rgba(52, 168, 83, 0.9);
    color: white;
    border: 2px solid #34A853;
}

.review-badge-compact.tripadvisor {
    background: rgba(0, 170, 108, 0.9);
    color: white;
    border: 2px solid #00AA6C;
}

.review-badge-compact i {
    font-size: 14px;
    min-width: 16px;
}

.review-badge-compact .stars {
    display: flex;
    gap: 1px;
    margin-right: auto;
}

.review-badge-compact .stars i {
    font-size: 10px;
    color: #e9ecef;
}

.review-badge-compact .stars i.active {
    color: #FFD700;
}

.review-badge-compact .score {
    font-weight: 700;
    font-size: 14px;
    margin-left: 5px;
}

/* 3. Saison-Badge - VOLLER BUTTON */
.season-badge-header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    min-width: 150px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.season-badge-header.seasonal {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #856404;
    border: 2px solid #ff9800;
}

.season-badge-header.year_round {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    border: 2px solid #218838;
}

.season-badge-header i {
    font-size: 16px;
}

/* 4. Restaurant Kontakt Info - HORIZONTAL */
.restaurant-contact-horizontal {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 12px 0;
    margin: 15px 0;
    border-bottom: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
    scrollbar-width: none;
}

.restaurant-contact-horizontal::-webkit-scrollbar {
    display: none;
}

.contact-horizontal-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 40px;
}

.contact-horizontal-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.contact-horizontal-item i {
    font-size: 14px;
    color: #7A8340;
    min-width: 16px;
}

.contact-horizontal-item.address {
    background: #f1f3f5;
    font-weight: 500;
    flex: 1;
    min-width: 200px;
}

/* 5. Social Sharing - HORIZONTAL */
.social-sharing-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    margin: 15px 0;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.share-label-small {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.share-btn-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.share-btn-small.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn-small.facebook {
    background: #1877F2;
    color: white;
}

.share-btn-small.copy-link {
    background: #6c757d;
    color: white;
}

.share-btn-small:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* 6. ÄHNLICHE RESTAURANTS - OBEN OBERHALB BELIEBTER GERICHTE */
.similar-restaurants-section {
    padding: 20px 0;
    background: #f8f9fa;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #e8e8e8;
}

.similar-title {
    text-align: center;
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-weight: 600;
}

.similar-title i {
    color: #ffc107;
    font-size: 20px;
}

.similar-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 10px 10px 10px;
    scrollbar-width: thin;
}

.similar-grid::-webkit-scrollbar {
    height: 4px;
}

.similar-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.similar-grid::-webkit-scrollbar-thumb {
    background: #7A8340;
    border-radius: 2px;
}

.similar-card {
    flex: 0 0 auto;
    width: 180px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    height: auto;
}

.similar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-color: #ffc107;
}

.similar-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

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

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

.similar-content {
    padding: 12px;
    text-align: center;
}

.similar-content h4 {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    line-height: 1.3;
}

.similar-location {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.similar-location i {
    font-size: 11px;
    color: #dc3545;
}

/* 7. BELIEBTE GERICHTE - HEIGHT 65PX HORIZONTAL */
.popular-dishes-mini {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.popular-dishes-mini-title {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-dishes-mini-title i {
    color: #E7A800;
    font-size: 18px;
}

.popular-dishes-mini-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.popular-dishes-mini-grid::-webkit-scrollbar {
    height: 4px;
}

.popular-dishes-mini-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.popular-dishes-mini-grid::-webkit-scrollbar-thumb {
    background: #7A8340;
    border-radius: 2px;
}

.popular-dish-mini-item {
    flex: 0 0 auto;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 15px;
    min-width: 180px;
    height: 65px; /* EXAKT 65px HEIGHT */
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popular-dish-mini-item:hover {
    background: #f1f3f4;
    border-color: #7A8340;
    transform: translateY(-2px);
}

.popular-dish-mini-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.2;
}

.popular-dish-mini-price {
    font-size: 15px;
    font-weight: 700;
    color: #7A8340;
    white-space: nowrap;
    margin-left: 8px;
}

.popular-dish-mini-category {
    font-size: 11px;
    color: #6c757d;
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start;
}

/* 8. Restaurant Header Compact für Mobile */
.restaurant-header-compact {
    display: none;
}

/* 9. Tab Navigation */
.restaurant-tab-navigation {
    background: white;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.restaurant-tab-buttons {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    padding: 0 15px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.restaurant-tab-buttons::-webkit-scrollbar {
    height: 4px;
}

.restaurant-tab-buttons::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.restaurant-tab-buttons::-webkit-scrollbar-thumb {
    background: #7A8340;
    border-radius: 2px;
}

.restaurant-tab-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.3s;
    position: relative;
}

.restaurant-tab-btn:hover {
    color: #495057;
    background: #f8f9fa;
}

.restaurant-tab-btn.active {
    color: #7A8340;
    border-bottom-color: #7A8340;
    background: linear-gradient(transparent 90%, rgba(122, 131, 64, 0.1) 10%);
}

.tab-content.restaurant-tab-content {
    padding: 25px;
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #e8e8e8;
}

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

/* 10. Menu Tab - GLEICHE BREITE FÜR ALLE BOXEN */
.menu-tab-content {
    background: white !important;
}

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

.menu-category {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
    scroll-margin-top: 80px;
}

.menu-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-header h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 3px solid #7A8340;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.category-description {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

/* 11. Menü Items - GLEICHE BREITE, GLEICHE HÖHE */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    align-items: stretch; /* WICHTIG für gleiche Höhe */
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    position: relative;
    min-height: 180px; /* Einheitliche Mindesthöhe */
    height: 100%; /* Nimmt volle Grid-Zellen-Höhe */
    align-items: stretch; /* Inhalt gleich hoch */
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-color: #7A8340;
}

.menu-item-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Volle Höhe für gleichmäßige Verteilung */
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.menu-item-header h4 {
    color: #2c3e50;
    font-size: 17px;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.menu-price {
    font-size: 20px;
    font-weight: 700;
    color: #7A8340;
    white-space: nowrap;
    margin-left: 15px;
}

.menu-item-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
    flex: 1; /* Nimmt verfügbaren Platz */
    min-height: 42px; /* Einheitliche Mindesthöhe */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 12. Menü Item Tags */
.menu-item-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.tag {
    padding: 5px 10px;
    background: #e9ecef;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.tag.vegetarian {
    background: #d4edda;
    color: #155724;
}

.tag.vegan {
    background: #d1ecf1;
    color: #0c5460;
}

.tag.spicy {
    background: #f8d7da;
    color: #721c24;
}

.tag.special {
    background: #fff3cd;
    color: #856404;
}

.tag.daily {
    background: #dbeafe;
    color: #1e40af;
}

/* 13. Menü Item Actions */
.menu-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.scroll-to-item-btn,
.view-in-menu-btn {
    padding: 10px 16px;
    background: #7A8340;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.scroll-to-item-btn:hover,
.view-in-menu-btn:hover {
    background: #697235;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(122, 131, 64, 0.3);
}

/* 14. Menü Item Image - QUADRATISCH UND KONSISTENT */
.menu-item-image {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.05);
}

/* Platzhalter für fehlende Bilder */
.menu-item-image:empty::before {
    content: "\f2e7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 36px;
    color: #adb5bd;
}

/* 15. KI-Module Container */
.ki-module-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.craving-module h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.craving-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    text-decoration: none;
    color: #495057;
    cursor: pointer;
    font-size: 15px;
}

.craving-category:hover {
    background: #7A8340;
    color: white;
    transform: translateY(-2px);
    border-color: #7A8340;
    box-shadow: 0 4px 12px rgba(122, 131, 64, 0.2);
}

.craving-category .category-name {
    font-weight: 600;
    font-size: 15px;
}

.craving-category .item-count {
    background: #E7A800;
    color: #3A3A2E;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
    min-width: 28px;
    text-align: center;
}

/* 16. Mobile Scroll Hint */
.mobile-scroll-hint {
    background: linear-gradient(135deg, #7A8340 0%, #5a5a4a 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    margin: 18px 0;
    font-size: 14px;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 10px;
    justify-content: center;
    animation: pulseHint 2s infinite;
}

@keyframes pulseHint {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* 17. Kategorien Navigation */
.categories-nav-container {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 99998;
}

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

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

.categories-nav {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.categories-nav::-webkit-scrollbar {
    height: 4px;
}

.categories-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.categories-nav::-webkit-scrollbar-thumb {
    background: #7A8340;
    border-radius: 2px;
}

.category-nav-link {
    padding: 10px 18px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 25px;
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 14px;
}

.category-nav-link:hover,
.category-nav-link.active {
    background: #7A8340;
    color: white;
    border-color: #7A8340;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(122, 131, 64, 0.2);
}

.category-nav-link .item-count {
    background: #E7A800;
    color: #3A3A2E;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

/* 18. Characteristics Tab */
.characteristics-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

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

.feature-display-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #7A8340;
    transition: all 0.3s;
    font-size: 15px;
}

.feature-display-item:hover {
    background: #f1f3f4;
    transform: translateY(-2px);
}

.feature-display-item.feature-highlighted {
    border-left-color: #E7A800;
    background: linear-gradient(135deg, #fff9db 0%, #fff3cd 100%);
}

.feature-icon {
    color: #7A8340;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.feature-display-item.feature-highlighted .feature-icon {
    color: #E7A800;
}

.feature-label {
    flex: 1;
    font-weight: 500;
    color: #495057;
}

.feature-badge {
    background: #E7A800;
    color: #3A3A2E;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* 19. Gallery Tab */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item {
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

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

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

/* 20. Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* 21. Preis-Indikator */
.price-indicator-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-badge-main {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    border: 2px solid;
    font-size: 14px;
}

.price-badge-main.budget {
    border-color: #28a745;
    color: #155724;
}

.price-badge-main.medium {
    border-color: #E7A800;
    color: #856404;
}

.price-badge-main.premium {
    border-color: #dc3545;
    color: #721c24;
}

.price-badge-main i {
    font-size: 16px;
}

.price-level-text {
    font-size: 13px;
}

.price-avg {
    font-size: 16px;
    font-weight: 700;
    margin-left: auto;
}

.price-avg small {
    font-size: 11px;
    font-weight: normal;
    opacity: 0.8;
}

.price-range-detail {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    backdrop-filter: blur(5px);
}

/* 22. Footer Navigation Highlight */
.footer-nav-highlight {
    position: relative;
}

.price-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    border: 1px solid white;
    box-shadow: 0 1px 4px rgba(40, 167, 69, 0.5);
    animation: pulse 2s infinite;
}

.footer-nav-link-highlight {
    position: relative;
    background: rgba(40, 167, 69, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.footer-nav-link-highlight:hover {
    background: rgba(40, 167, 69, 0.12);
    border-color: rgba(40, 167, 69, 0.4);
}

/* 23. Restaurant Info Section */
.restaurant-info-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.info-card {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.info-card:hover {
    background: #f1f3f4;
    transform: translateY(-2px);
}

.info-card h4 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

/* 24. Top Dishes Section */
.top-dishes-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.top-dishes-title {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.top-dish-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.top-dish-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #7A8340;
}

.top-dish-image {
    height: 160px;
    overflow: hidden;
}

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

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

.top-dish-image.placeholder {
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 52px;
}

.top-dish-info {
    padding: 18px;
}

.top-dish-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.top-dish-header h4 {
    color: #2c3e50;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.special-badge {
    background: #E7A800;
    color: #3A3A2E;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-left: 10px;
    flex-shrink: 0;
}

.top-dish-price {
    font-size: 20px;
    font-weight: 700;
    color: #7A8340;
    margin-bottom: 8px;
}

.top-dish-category {
    font-size: 14px;
    color: #6c757d;
    background: #e9ecef;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

/* 25. Daily Menu Header */
.daily-menu-header {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.daily-menu-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .daily-menu-image {
        width: 320px;
    }
}

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

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

.daily-menu-info h2 {
    color: #2c3e50;
    font-size: 22px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.daily-menu-info h3 {
    color: #495057;
    font-size: 20px;
    margin: 0 0 18px 0;
    font-weight: 600;
}

.daily-menu-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 15px;
}

.price-range-tag {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.price-range-tag .tag.price-range {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 15px;
}

.price-range-tag .tag.day-of-week {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    font-weight: 500;
}

/* 26. No Content States */
.no-menu,
.no-daily-menu,
.no-characteristics,
.no-images {
    text-align: center;
    padding: 50px 25px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    font-size: 15px;
}

.no-menu i,
.no-daily-menu i,
.no-characteristics i,
.no-images i {
    font-size: 52px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-menu h3,
.no-daily-menu h3,
.no-characteristics h3,
.no-images h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 20px;
}

.no-menu p,
.no-daily-menu p,
.no-characteristics p,
.no-images p {
    font-size: 15px;
    max-width: 550px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.available-days {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

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

/* 27. Restaurant Description */
.restaurant-description {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.restaurant-description h2 {
    color: #2c3e50;
    margin-bottom: 18px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid #7A8340;
    padding-bottom: 10px;
}

.restaurant-description p {
    color: #495057;
    line-height: 1.7;
    font-size: 15px;
}

/* 28. Restaurant Header Compact */
.restaurant-header-compact {
    background: white;
    border-radius: 12px;
    padding: 18px;
    margin: 18px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.restaurant-header-compact h1 {
    color: #2c3e50;
    font-size: 20px;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.compact-restaurant-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    color: #6c757d;
}

.compact-restaurant-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 26px;
    transition: background 0.3s;
    pointer-events: auto;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-counter {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 15px;
}

/* 30. Menu Item Highlight Animation */
.menu-item-highlight {
    animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* 31. Compact Reviews Badges - REDUZIERTE BREITE */
.reviews-badges-compact {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.compact-my-reviews {
    background: rgba(231, 168, 0, 0.9);
    color: #3A3A2E;
    padding: 6px 8px !important; /* Reduziertes Padding */
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 6px; /* Reduzierter Gap */
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid #E7A800;
    min-width: 70px !important; /* HALBIERT von 140px auf 70px */
    max-width: 80px;
    font-size: 11px; /* Kleinere Schrift */
}

.compact-stars {
    display: flex;
    gap: 3px;
}

.compact-stars i {
    font-size: 14px;
    color: #e9ecef;
}

.compact-stars i.active {
    color: #3A3A2E;
}

.compact-rating-value {
    font-weight: 700;
    font-size: 16px;
    min-width: 28px;
    text-align: center;
}

.compact-rating-label {
    font-size: 12px;
    white-space: nowrap;
}

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

.compact-review-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.compact-review-badge:hover {
    transform: scale(1.1);
}

.compact-review-badge.google {
    background: #34A853;
}

.compact-review-badge.tripadvisor {
    background: #00AA6C;
}

/* 32. Restaurant Address Container */
.restaurant-address-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: white;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.restaurant-address-container i {
    color: #7A8340;
    font-size: 18px;
}

.restaurant-address-text {
    color: #495057;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

/* 33. Restaurant Contact Info - HORIZONTAL */
.restaurant-contact-info {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    margin: 18px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    scrollbar-width: none;
}

.restaurant-contact-info::-webkit-scrollbar {
    display: none;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 10px;
    min-height: 42px;
}

.contact-item:hover {
    background: #e9ecef;
    color: #7A8340;
}

.contact-item i {
    color: #7A8340;
    font-size: 14px;
    width: 18px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* 34. Social Share Widget - HORIZONTAL */
.social-share-widget {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    margin: 18px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    scrollbar-width: none;
}

.social-share-widget::-webkit-scrollbar {
    display: none;
}

.share-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.copy-link {
    background: #6c757d;
    color: white;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.share-preview {
    flex: 1;
    min-width: 180px;
}

.share-preview small {
    color: #868e96;
    font-size: 12px;
    line-height: 1.4;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =================== RESPONSIVE ANPASSUNGEN FÜR RESTAURANT SEITE =================== */

/* MOBILE (max-width: 768px) */
@media (max-width: 768px) {
    /* Restaurant Hero */
    .restaurant-hero {
        height: 250px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .restaurant-hero-overlay {
        padding: 15px;
    }
    
    .restaurant-hero-overlay h1 {
        font-size: 22px;
        margin-bottom: 5px;
    }
    
    /* Reviews Badges */
    .reviews-badges-vertical {
        top: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .review-badge-compact {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 120px;
    }
    
    .review-badge-compact .stars i {
        font-size: 10px;
    }
    
    .review-badge-compact .score {
        font-size: 13px;
    }
    
    /* Saison-Badge */
    .season-badge-header {
        top: 10px;
        left: 10px;
        font-size: 12px;
        padding: 8px 14px;
        min-width: 130px;
    }
    
    /* Kontakt Info - HORIZONTAL */
    .restaurant-contact-horizontal {
        gap: 8px;
        padding: 10px 0;
        margin: 10px 0;
    }
    
    .contact-horizontal-item {
        font-size: 12px;
        padding: 6px 10px;
        min-height: 36px;
    }
    
    .contact-horizontal-item.address {
        min-width: 170px;
    }
    
    /* Social Sharing - HORIZONTAL */
    .social-sharing-compact {
        gap: 8px;
        padding: 10px 0;
        margin: 12px 0;
    }
    
    .share-label-small {
        font-size: 12px;
    }
    
    .share-btn-small {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    /* ÄHNLICHE RESTAURANTS - HORIZONTAL */
    .similar-restaurants-section {
        padding: 15px 0;
        margin: 15px 0;
    }
    
    .similar-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .similar-grid {
        gap: 10px;
        padding: 0 8px 8px 8px;
    }
    
    .similar-card {
        width: 160px;
    }
    
    .similar-image {
        height: 100px;
    }
    
    .similar-content h4 {
        font-size: 13px;
    }
    
    .similar-location {
        font-size: 11px;
    }
    
    /* FEHLER 2 KORREKTUR: BELIEBTE GERICHTE - HORIZONTAL SCROLL MIT 165px HÖHE */
    .popular-dishes-mini {
        padding: 15px;
        margin: 15px 0;
    }
    
    .popular-dishes-mini-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .popular-dishes-mini-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        height: 165px !important;
        min-height: 165px !important;
        max-height: 165px !important;
        gap: 12px !important;
        padding-bottom: 5px !important;
        margin-bottom: 10px !important;
    }
    
    .popular-dishes-mini-grid::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .popular-dishes-mini-grid::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 2px !important;
    }
    
    .popular-dishes-mini-grid::-webkit-scrollbar-thumb {
        background: #7A8340 !important;
        border-radius: 2px !important;
    }
    
    .popular-dish-mini-item {
        flex: 0 0 auto !important;
        width: 200px !important;
        height: 165px !important;
        min-height: 165px !important;
        max-height: 165px !important;
        background: #f8f9fa !important;
        border-radius: 10px !important;
        padding: 15px !important;
        border: 1px solid #e9ecef !important;
        transition: all 0.3s !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    /* Tab Navigation */
    .restaurant-tab-buttons {
        padding: 0 10px;
    }
    
    .restaurant-tab-btn {
        padding: 12px 15px;
        font-size: 13px;
        gap: 6px;
    }
    
    .restaurant-tab-btn i {
        font-size: 14px;
    }
    
    .tab-content.restaurant-tab-content {
        padding: 15px;
    }
    
    /* FEHLER 3 KORREKTUR: Menu Items - GLEICHE HÖHE AUF MOBILE */
    .menu-items {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        align-items: stretch !important;
    }
    
    .menu-item {
        display: grid !important;
        grid-template-columns: 1fr !important;
        min-height: 200px !important; /* Einheitliche Höhe */
        height: auto !important;
        gap: 15px !important;
        padding: 15px !important;
        align-items: stretch !important;
    }
    
    .menu-item-content {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        justify-content: space-between !important;
    }
    
    .menu-item-header h4 {
        font-size: 16px !important;
    }
    
    .menu-price {
        font-size: 18px !important;
        margin-left: 10px !important;
    }
    
    .menu-item-description {
        font-size: 13px !important;
        -webkit-line-clamp: 2 !important;
        flex: 1 !important;
        min-height: 42px !important;
    }
    
    .menu-item-image {
        width: 100% !important;
        height: 160px !important;
        order: -1 !important;
    }
    
    /* Menu Item Tags */
    .tag {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
    
    /* Menu Item Actions */
    .scroll-to-item-btn,
    .view-in-menu-btn {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    
    /* Categories Navigation */
    .categories-nav {
        gap: 8px !important;
    }
    
    .category-nav-link {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    
    /* KI-Module */
    .craving-categories {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .craving-category {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .gallery-item {
        height: 150px !important;
    }
    
    /* Lightbox */
    .lightbox-prev,
    .lightbox-next {
        width: 45px !important;
        height: 45px !important;
        font-size: 22px !important;
        margin: 0 15px !important;
    }
    
    /* Preis-Indikator */
    .price-indicator-container {
        bottom: 10px !important;
        left: 10px !important;
    }
    
    .price-badge-main {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    .price-avg {
        font-size: 14px !important;
    }
    
    .price-range-detail {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    /* FEHLER 1 KORREKTUR: Coffee Widget MOBILE - UNTEN LINKS OBERHALB FOOTER */
    .mobile-coffee-widget {
        display: flex !important;
        bottom: 70px !important;
        left: 15px !important;
        width: 55px !important;
        height: 55px !important;
    }
    
    /* Verstecke Desktop Coffee Widget auf Mobile */
    .sticky-coffee-widget {
        display: none !important;
    }
    
    /* My Reviews Badge Breite halbieren auf Mobile */
    .compact-my-reviews {
        min-width: 60px !important;
        max-width: 70px;
        padding: 5px 6px !important;
        font-size: 10px;
        gap: 4px;
    }
    
    .compact-stars i {
        font-size: 10px !important;
    }
    
    .compact-rating-value {
        font-size: 12px !important;
    }
    
    .compact-rating-label {
        font-size: 9px !important;
        white-space: nowrap;
    }
    
    /* Top Dishes Section */
    .top-dishes-section {
        padding: 15px !important;
        margin: 15px 0 !important;
    }
    
    .top-dishes-title {
        font-size: 17px !important;
        margin-bottom: 15px !important;
    }
    
    .top-dishes-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .top-dish-image {
        height: 140px !important;
    }
    
    .top-dish-info {
        padding: 15px !important;
    }
    
    .top-dish-header h4 {
        font-size: 16px !important;
    }
    
    .top-dish-price {
        font-size: 18px !important;
    }
    
    /* Daily Menu Header */
    .daily-menu-header {
        padding: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .daily-menu-image {
        max-width: 100% !important;
    }
    
    .daily-menu-image img {
        height: 160px !important;
    }
    
    .daily-menu-info h2 {
        font-size: 18px !important;
    }
    
    .daily-menu-info h3 {
        font-size: 16px !important;
    }
    
    /* Restaurant Info Section */
    .restaurant-info-section {
        padding: 15px !important;
        margin: 15px 0 !important;
    }
    
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .info-card {
        padding: 15px !important;
    }
    
    .info-card h4 {
        font-size: 15px !important;
    }
    
    .info-card p {
        font-size: 14px !important;
    }
    
    /* Restaurant Description */
    .restaurant-description {
        padding: 15px !important;
        margin: 15px 0 !important;
    }
    
    .restaurant-description h2 {
        font-size: 17px !important;
    }
    
    .restaurant-description p {
        font-size: 14px !important;
    }
    
    /* Restaurant Contact Info */
    .restaurant-contact-info {
        padding: 12px !important;
        margin: 12px 0 !important;
    }
    
    .contact-item {
        font-size: 12px !important;
        padding: 6px 10px !important;
        min-height: 38px !important;
    }
    
    /* Social Share Widget */
    .social-share-widget {
        padding: 12px !important;
        margin: 12px 0 !important;
    }
    
    .share-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }
    
    .share-preview {
        min-width: 150px !important;
    }
    
    /* Restaurant Header Compact */
    .restaurant-header-compact {
        display: block !important;
        padding: 15px !important;
        margin: 12px 0 !important;
    }
    
    .restaurant-header-compact h1 {
        font-size: 17px !important;
        margin-bottom: 10px !important;
    }
    
    .compact-restaurant-info {
        font-size: 13px !important;
        gap: 10px !important;
    }
}

/* DESKTOP (min-width: 769px) */
@media (min-width: 769px) {
    /* Verstecke Mobile-spezifische Elemente */
    .restaurant-header-compact {
        display: none !important;
    }
    
    .mobile-scroll-hint {
        display: none !important;
    }
    
    /* Coffee Widget - Desktop sichtbar, Mobile Widget versteckt */
    .mobile-coffee-widget {
        display: none !important;
    }
    
    .sticky-coffee-widget {
        display: block !important;
    }
    
    /* Reviews Badges Desktop */
    .reviews-badges-vertical {
        top: 30px;
        right: 30px;
    }
    
    /* Saison-Badge Desktop */
    .season-badge-header {
        top: 30px;
        left: 30px;
        font-size: 15px;
        padding: 10px 20px;
        min-width: 160px;
    }
    
    /* Ähnliche Restaurants Desktop - GRID */
    .similar-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        overflow-x: visible;
        padding: 0;
    }
    
    .similar-card {
        width: auto;
        height: auto;
    }
    
    .similar-card:hover {
        transform: translateY(-5px);
    }
    
    /* Beliebte Gerichte Desktop - HORIZONTAL SCROLL */
    .popular-dishes-mini-grid {
        display: flex;
        gap: 15px;
        overflow-x: auto;
    }
    
    .popular-dish-mini-item {
        min-width: 200px;
        height: 70px;
    }
    
    /* Menu Items Desktop - GLEICHE HÖHE */
    .menu-items {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 25px;
        align-items: stretch;
    }
    
    .menu-item {
        display: grid !important;
        grid-template-columns: 1fr auto;
        gap: 20px;
        min-height: 170px;
        height: 100%;
        align-items: stretch;
    }
    
    .menu-item-content {
        height: 100%;
        justify-content: space-between;
    }
    
    .menu-item-description {
        flex: 1;
        min-height: 42px;
    }
    
    /* Top Dishes Desktop */
    .top-dishes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    /* Kontakt Info Desktop */
    .restaurant-contact-horizontal {
        justify-content: space-between;
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .contact-horizontal-item.address {
        max-width: none;
        flex: 2;
    }
    
    /* Restaurant Contact Info Desktop */
    .restaurant-contact-info {
        flex-wrap: nowrap;
        justify-content: space-between;
        overflow-x: visible;
        padding: 18px 25px;
    }
    
    .contact-item {
        flex-shrink: 1;
    }
    
    /* Social Share Widget Desktop */
    .social-share-widget {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: visible;
        padding: 18px 25px;
    }
    
    .share-label {
        margin-right: 15px;
    }
    
    .share-btn {
        margin-right: 10px;
    }
    
    .share-preview {
        margin-left: auto;
        text-align: right;
    }
    
    /* Social Sharing Compact Desktop */
    .social-sharing-compact {
        justify-content: flex-start;
        padding: 15px 0;
    }
}

/* Tablet Grid Anpassung */
@media (min-width: 769px) and (max-width: 991px) {
    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .top-dishes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Sehr große Bildschirme */
@media (min-width: 1440px) {
    .restaurant-hero {
        height: 380px;
    }
    
    .restaurant-hero-overlay h1 {
        font-size: 32px;
    }
    
    .similar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .menu-items {
        grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
        gap: 30px;
    }
    
    .menu-item {
        min-height: 180px;
    }
    
    .menu-item-image {
        width: 160px;
        height: 160px;
    }
    
    .top-dishes-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

/* =================== ANIMATIONS =================== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* =================== UTILITY CLASSES =================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.bg-white { background-color: var(--color-white); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-light { background-color: var(--color-bg); }

.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-medium-gray); }

.rounded { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }

.shadow-sm { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.shadow { box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 8px 16px rgba(0,0,0,0.1); }

/* =================== MOBILE POPULAR DISHES FIX - OPTION B =================== */
/* Komplett neues CSS ohne Konflikte mit bestehenden Regeln */
@media (max-width: 768px) {
    /* DEAKTIVIERE alte Problem-Layouts komplett */
    .top-dishes-grid,
    .popular-dishes-mini-grid {
        display: none !important;
    }
    
    /* NEUES Mobile-only Layout */
    .mobile-dishes-horizontal-scroll {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        gap: 15px !important;
        padding: 10px 5px 15px 5px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    .mobile-dishes-horizontal-scroll::-webkit-scrollbar {
        height: 4px !important;
    }
    
    .mobile-dishes-horizontal-scroll::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 2px !important;
    }
    
    .mobile-dishes-horizontal-scroll::-webkit-scrollbar-thumb {
        background: #7A8340 !important;
        border-radius: 2px !important;
    }
    
    /* Mobile Dish Card - HALBE Höhe */
    .mobile-dish-card {
        flex: 0 0 auto !important;
        width: 280px !important;
        min-width: 280px !important;
        background: #f8f9fa !important;
        border-radius: 12px !important;
        padding: 8px !important;
        border: 1px solid #e9ecef !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
        height: auto !important;
        min-height: 60px !important;
        box-sizing: border-box !important;
    }
    
    .mobile-dish-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.12) !important;
        border-color: #7A8340 !important;
    }
    
    /* Dish Header */
    .mobile-dish-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        margin-bottom: 5px !important;
        width: 100% !important;
    }
    
    .mobile-dish-header h4 {
        color: #2c3e50 !important;
        font-size: 14px !important;
        margin: 0 !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        flex: 1 !important;
        padding-right: 8px !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
    
    /* Special Badge */
    .mobile-special-badge {
        background: #E7A800 !important;
        color: #3A3A2E !important;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 10px !important;
        flex-shrink: 0 !important;
    }
    
    /* Dish Price */
    .mobile-dish-price {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #7A8340 !important;
        margin-bottom: 4px !important;
        text-align: left !important;
        width: 100% !important;
    }
    
    /* Dish Category */
    .mobile-dish-category {
        font-size: 11px !important;
        color: #6c757d !important;
        background: #e9ecef !important;
        padding: 2px 6px !important;
        border-radius: 8px !important;
        display: inline-block !important;
        align-self: flex-start !important;
        margin-top: 3px !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
    }
    
    /* Dish Image Container */
    .mobile-dish-image-container {
        width: 100% !important;
        height: 120px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        margin-bottom: 12px !important;
        background: #f1f3f4 !important;
        flex-shrink: 0 !important;
    }
    
    .mobile-dish-image-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    .mobile-dish-card:hover .mobile-dish-image-container img {
        transform: scale(1.05) !important;
    }
    
    .mobile-dish-image-container.placeholder {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #6c757d !important;
        font-size: 36px !important;
    }
    
    /* Section Title */
    .mobile-dishes-title {
        font-size: 17px !important;
        font-weight: 600 !important;
        color: #495057 !important;
        margin: 0 0 12px 15px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .mobile-dishes-title i {
        color: #E7A800 !important;
        font-size: 18px !important;
    }
    
    /* Container für alles */
    .mobile-dishes-container {
        background: white !important;
        border-radius: 12px !important;
        padding: 15px 10px !important;
        margin: 20px 0 !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.08) !important;
        border: 1px solid #e8e8e8 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* =================== DESKTOP: NEUE LAYOUTS AUSBLENDEN =================== */
@media (min-width: 769px) {
    .mobile-dishes-container,
    .mobile-dishes-horizontal-scroll,
    .mobile-dish-card {
        display: none !important;
    }
}

@media (max-width: 768px) {
    /* DEAKTIVIERE alte Problem-Layouts komplett */
    .top-dishes-section {
        display: none !important;
    }
    /* Ab hier folgt dein bereits vorhandener neuer CSS-Code für .mobile-dishes-container usw. */
    .mobile-dishes-container {
        display: block !important;
    }
    /* ... */
}

/* NO-MENU BADGE STYLES - leuchtend rot */
.no-menu-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff3333 0%, #cc0000 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 51, 51, 0.4),
                0 0 0 2px rgba(255, 255, 255, 0.3) inset,
                0 0 20px rgba(255, 51, 51, 0.6);
    z-index: 100;
    animation: badge-pulse 2s infinite;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    user-select: none;
    pointer-events: none;
}

.no-menu-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.3) 100%);
    border-radius: 27px;
    z-index: -1;
    animation: badge-shine 3s infinite linear;
}

.no-menu-badge i {
    font-size: 16px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
    animation: icon-shake 2s infinite;
}

.no-menu-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 51, 51, 0.6),
                0 0 0 2px rgba(255, 255, 255, 0.4) inset,
                0 0 25px rgba(255, 51, 51, 0.8);
}

@keyframes badge-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(255, 51, 51, 0.4),
                    0 0 0 2px rgba(255, 255, 255, 0.3) inset,
                    0 0 20px rgba(255, 51, 51, 0.6);
    }
    50% {
        box-shadow: 0 4px 18px rgba(255, 51, 51, 0.6),
                    0 0 0 2px rgba(255, 255, 255, 0.4) inset,
                    0 0 25px rgba(255, 51, 51, 0.8);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 51, 51, 0.4),
                    0 0 0 2px rgba(255, 255, 255, 0.3) inset,
                    0 0 20px rgba(255, 51, 51, 0.6);
    }
}

@keyframes badge-shine {
    0% {
        background-position: -100px 0;
    }
    100% {
        background-position: 100px 0;
    }
}

@keyframes icon-shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .no-menu-badge {
        padding: 6px 12px;
        font-size: 12px;
        bottom: 10px;
        right: 10px;
        border-radius: 20px;
    }
    
    .no-menu-badge i {
        font-size: 14px;
    }
}

/* Für Restaurant Cards in Search */
.restaurant-card .card-image,
.restaurant-hero {
    position: relative;
    overflow: hidden;
}

/* Badge für kleine Cards (Search Results) */
.small-no-menu-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff3333 0%, #cc0000 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(255, 51, 51, 0.4);
    z-index: 10;
    animation: small-badge-pulse 3s infinite;
    white-space: nowrap;
}

@keyframes small-badge-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}



/* FOOD FINDER - blinkend ROT-GELB */
.footer-nav-item.sff-active .footer-nav-link {
    position: relative;
    padding-top: 8px;
}

.footer-nav-item.sff-active .footer-nav-text {
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.sff-blinking {
    animation: sff-glow 1.5s infinite;
    color: #ff4757 !important;
}

.sff-blinking i {
    color: #FFD700 !important;
}

@keyframes sff-glow {
    0%, 100% { text-shadow: 0 0 5px #ff4757, 0 0 10px #FFD700; }
    50% { text-shadow: 0 0 20px #ff4757, 0 0 30px #FFD700; }
}

.sff-new-badge {
    position: absolute;
    top: -8px;
    right: 50%;
    transform: translateX(50%);
    background: #ff4757;
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: bold;
    animation: badge-pulse 1s infinite;
    white-space: nowrap;
}

@keyframes badge-pulse {
    0%, 100% { transform: translateX(50%) scale(1); }
    50% { transform: translateX(50%) scale(1.1); }
}

/* FOOD FINDER - blinkend ROT-GELB */
.footer-nav-item.sff-active .footer-nav-link {
    position: relative;
    padding-top: 8px;
}

.footer-nav-item.sff-active .footer-nav-text {
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.sff-blinking {
    animation: sff-glow 1.5s infinite;
    color: #ff4757 !important;
}

.sff-blinking i {
    color: #FFD700 !important;
}

@keyframes sff-glow {
    0%, 100% { text-shadow: 0 0 5px #ff4757, 0 0 10px #FFD700; }
    50% { text-shadow: 0 0 20px #ff4757, 0 0 30px #FFD700; }
}

.sff-new-badge {
    position: absolute;
    top: -8px;
    right: 50%;
    transform: translateX(50%);
    background: #ff4757;
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: bold;
    animation: badge-pulse 1s infinite;
    white-space: nowrap;
}

@keyframes badge-pulse {
    0%, 100% { transform: translateX(50%) scale(1); }
    50% { transform: translateX(50%) scale(1.1); }
}

/* PRICE COMPARISON - GRÜN hervorgehoben */
.footer-nav-link-highlight {
    background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
    color: #fff !important;
    padding: 8px 12px;
    border-radius: 12px;
    margin: -5px 0;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    animation: pulse-green 2s infinite;
    font-weight: 700;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3); }
    50% { box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5); }
}

.price-badge {
    position: absolute;
    top: -5px;
    right: 5px;
    background: #fff;
    color: #4caf50;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MAIN FOOTER */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px 0 20px;
    margin-bottom: 70px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h4 {
    color: #b54b2a;
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p, .footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #b54b2a;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 13px;
}

.footer-bottom a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: #b54b2a;
}

/* Social Media */
.footer-social {
    text-align: center;
    margin: 20px 0;
}

.footer-social a {
    display: inline-block;
    margin: 0 15px;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s;
}

.footer-social a:hover {
    color: #b54b2a;
    transform: translateY(-3px);
}

/* Mobile */
@media (max-width: 768px) {
    .footer-nav-text {
        font-size: 9px;
    }
    
    .footer-nav-link i {
        font-size: 18px;
    }
    
    .footer-nav-items {
        padding: 0 5px;
    }
}

.season-badge-header.closed {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.season-badge-header.closed i,
.season-badge-header.closed::before {
    color: white;
}

/* ============================================================================
   RESTORAN.CSS - KOMPLETTE CSS DATEI MIT MENU GALLERY FIX
   ============================================================================ */

/* MENU GALLERY LIGHTBOX - CRITICAL STYLES */
.menu-gallery-lightbox {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
    z-index: 999999 !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.menu-gallery-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.menu-gallery-close {
    position: fixed !important;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000001 !important;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-gallery-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

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

.menu-gallery-prev,
.menu-gallery-next {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    pointer-events: all !important;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.menu-gallery-prev:hover,
.menu-gallery-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.menu-gallery-prev:active,
.menu-gallery-next:active {
    transform: scale(0.95);
}

.menu-gallery-counter {
    position: fixed !important;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    z-index: 1000001 !important;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .menu-gallery-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .menu-gallery-prev,
    .menu-gallery-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin: 0 10px;
    }
    
    .menu-gallery-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .menu-gallery-img {
        max-height: 70vh;
    }
}

/* Touch-freundliche Targets */
@media (hover: none) {
    .menu-gallery-close,
    .menu-gallery-prev,
    .menu-gallery-next {
        background-color: rgba(255, 255, 255, 0.3);
    }
}

/* Menu Thumbs */
.menu-thumbs {
    display: flex;
    gap: 4px;
    margin-left: 10px;
}

.menu-thumb {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

.menu-thumb:hover {
    transform: scale(1.1);
}

.menu-thumb-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 11px;
    border-radius: 4px;
}

.menu-price-gallery {
    display: flex;
    align-items: center;
}

/* ============================================
   LAST UPDATED BADGE - UNTER DEM BILD
   ============================================ */
.last-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(40, 167, 69, 0.95);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 15px 0 5px 0;
    width: fit-content;
    transition: all 0.3s ease;
}

.last-updated-badge i {
    font-size: 14px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Zentrierte Variante (falls gewünscht) */
.last-updated-badge.centered {
    margin-left: auto;
    margin-right: auto;
}

/* Rechtsbündige Variante (falls gewünscht) */
.last-updated-badge.right {
    margin-left: auto;
    margin-right: 0;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .last-updated-badge {
        padding: 6px 14px;
        font-size: 12px;
        margin: 10px 0 5px 0;
        width: 100%;
        justify-content: center;
        border-radius: 20px;
    }
    
    .last-updated-badge i {
        font-size: 12px;
    }
}

/* Kleine Animation beim Hovern */
.last-updated-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
}

/* ============================================
   KONFLIKTFREIE POSITIONIERUNG
   ============================================ */
/* Damit der Badge nicht mit anderen Elementen kollidiert */
.restaurant-hero + .last-updated-badge {
    margin-top: 10px;
}

/* Container für den Badge (falls nötig) */
.last-updated-container {
    text-align: left;
    margin: 10px 0;
}

/* ENDE MENU GALLERY STYLES */
/* =================== END OF FILE =================== */