/* Widget CSS - Merged CSS files for Restaurant Search Widget */
/* This file contains all CSS files merged together to avoid @import issues with relative paths */

/* ======================================== */
/* BASE: fonts.css */
/* ======================================== */
:root {
    /* Font Family Custom Properties */
    --font-family-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Font Size Custom Properties */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --font-size-large: 18px;
    --font-size-xl: 20px;
    --font-size-xxl: 28px;
    
    /* Headline Font Size Custom Properties - Hochwertig und professionell */
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-h5: 1.1rem;
    --font-size-h6: 1rem;
    
    /* Line Height Custom Properties */
    --line-height-base: 1.5;
    --line-height-tight: 1.2;
}

/* Allgemeine Font-Definitionen für alle Tags - nur hier erlaubt (Regel 034) */
* {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

div {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

a {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

p {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

span {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    line-height: var(--line-height-base);
}

button {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

input, textarea, select {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

label {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}
/* ======================================== */
/* BASE: colors.css */
/* ======================================== */
:root {
    /* Basis Farben */
    --color-primary: #0066cc;
    --color-background: #ffffff;
    --color-background-light: #F8F9FA;
    --color-text: #1A1A1A;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #666666;
    --color-text-inverse: #ffffff;
    --color-text-on-primary: #ffffff;
    --color-border: #cccccc;
    --color-error: #dc3545;
    --color-success: #28a745;
    --color-surface-secondary: #f5f5f5;
    
    /* Navigation Farben */
    --color-nav-hover-bg: #f0f0f0;
    
    /* Message Farben */
    --color-message-success-bg: #d4edda;
    --color-message-success-text: #155724;
    --color-message-error-bg: #f8d7da;
    --color-message-error-text: #721c24;
    --color-message-warning-bg: #fff3cd;
    --color-message-warning-text: #856404;
    --color-message-warning-border: #ffc107;
    --color-message-info-bg: #d1ecf1;
    --color-message-info-text: #0c5460;
    --color-message-info-border: #17a2b8;
    
    /* Footer Farben */
    --color-footer-bg: #f8f8f8;
    --color-footer-text: #666666;
    
    /* Table Farben */
    --color-table-header-bg: #f8f8f8;
    --color-table-row-hover-bg: #e8e8e8;
    
    /* Zusätzliche Farben für Screens */
    --color-primary-light: #e6f2ff;
    --color-primary-dark: #004499;
    --color-background-light: #fafafa;
    --color-text-light: #999999;
    --color-surface: #ffffff;
    
    /* Hochwertige Farben für Restaurant-Suche */
    --color-card-shadow: rgba(0, 0, 0, 0.08);
    --color-card-shadow-hover: rgba(0, 102, 204, 0.15);
    --color-filter-bg: #ffffff;
    --color-filter-shadow: rgba(0, 0, 0, 0.08);
    --color-feature-badge-bg: #e6f2ff;
    --color-feature-badge-text: #0066cc;
    
    /* Gradient-Farben für Headlines */
    --color-gradient-1: #0066cc;
    --color-gradient-2: #004499;
    --color-gradient-3: #0088ff;
    
    /* Kategorie-Label Hintergrund */
    --color-cuisine-label-bg: #e0f7fa;
}
/* ======================================== */
/* BASE: base.css */
/* ======================================== */
/* Base CSS - Nur spezifische Layout-Klassen, keine allgemeinen Tag-Definitionen */

/* ======================================== */
/* BASE: layout.css */
/* ======================================== */
/* Mobile-First: Basis-Styles gelten für mobile Geräte */
.base-page-wrapper {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.base-main-content {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    flex: 1;
    padding: 15px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

/* Mobile-First: Responsive Design - Regel 022: 4 Breakpoints */
/* Basis-Styles gelten für mobile (max-width: 576px) - keine Media Query erforderlich */

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px) {
    .base-main-content {
        padding: 20px;
        max-width: 100%;
    }
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px) {
    .base-main-content {
        max-width: 1200px;
        padding: 20px;
    }
}

/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px) {
    .base-main-content {
        max-width: 1200px;
    }
}
/* ======================================== */
/* BASE: logo.css */
/* ======================================== */
/* Logo Styles */

.base-header-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    height: 100%;
}

.base-header-logo-link.brand {
    color: var(--color-text-primary);
}

.brand__mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand__mark svg {
    display: block;
    width: 26px;
    height: 26px;
}

.base-header-logo-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand__title {
    font-size: var(--font-size-large);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-primary);
    white-space: nowrap;
}

.brand__tag {
    font-size: var(--font-size-xs);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

/* Mobile-First: Responsive Design - Regel 022: 4 Breakpoints */
/* Basis-Styles gelten für mobile (max-width: 576px) - keine Media Query erforderlich */

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px) {
    .brand__mark svg {
        width: 28px;
        height: 28px;
    }
    .brand__title {
        font-size: var(--font-size-xl);
    }
    .brand__tag {
        font-size: var(--font-size-small);
    }
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px) {
    .brand__mark svg {
        width: 30px;
        height: 30px;
    }
    .brand__title {
        font-size: var(--font-size-xxl);
    }
}

/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px) {
    .brand__mark svg {
        width: 32px;
        height: 32px;
    }
}

/* Base-Header/Navigation: Wird von navigation.css im Base-Template geladen - keine Duplikate hier (Hamburger-Menü Vollbild-Overlay). */

/* Widget-spezifisch: language-dropdown (falls im Widget genutzt) */
.language-dropdown.open {
    display: block;
}

.language-option {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text);
    white-space: nowrap;
}

.language-option:hover {
    background: var(--color-nav-hover-bg);
    text-decoration: none;
}

.language-option.active {
    background: var(--color-nav-hover-bg);
    font-weight: bold;
}

.language-option .flag-icon {
    flex-shrink: 0;
}

@media (min-width: 600px) {
    .language-dropdown {
        min-width: 150px;
    }
}

/* ======================================== */
/* BASE: footer.css */
/* ======================================== */
/* Mobile-First: Basis-Styles gelten für mobile Geräte */
.base-footer {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background-color: var(--color-footer-bg);
    border-top: 1px solid var(--color-border);
    padding: 15px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.base-footer-link {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    text-decoration: none;
    color: var(--color-text);
    margin: 0 10px;
}

.base-footer-link:hover {
    color: var(--color-primary);
}

.base-footer-links {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.base-footer-copyright {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-small);
    line-height: var(--line-height-base);
    color: var(--color-footer-text);
}

/* Mobile-First: Responsive Design - Regel 022: 4 Breakpoints */
/* Basis-Styles gelten für mobile (max-width: 576px) - keine Media Query erforderlich */

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px) {
    .base-footer {
        padding: 20px;
        max-width: 100%;
    }
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px) {
    .base-footer {
        max-width: 1200px;
    }
}

/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px) {
    .base-footer {
        max-width: 1200px;
    }
}

/* ======================================== */
/* BASE: messages.css */
/* ======================================== */
.base-messages-container {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding: 15px;
}

.widget-message {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid;
}

.widget-message-content {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    text-align: center;
}

.widget-message-success {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: var(--color-message-success-bg);
    color: var(--color-message-success-text);
    border-color: var(--color-success);
}

.widget-message-error {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: var(--color-message-error-bg);
    color: var(--color-message-error-text);
    border-color: var(--color-error);
}

.widget-message-warning {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: var(--color-message-warning-bg);
    color: var(--color-message-warning-text);
    border-color: var(--color-message-warning-border);
}

.widget-message-info {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: var(--color-message-info-bg);
    color: var(--color-message-info-text);
    border-color: var(--color-message-info-border);
}

/* ======================================== */
/* BASE: widgets-buttons.css */
/* ======================================== */
/* Shimmer-Button Animation - Magic UI-inspiriert */
@keyframes shimmer-slide {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(0deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(360deg);
    }
}

@keyframes spin-around {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    15%, 35% {
        transform: translate(10px, -10px) rotate(90deg);
    }
    65%, 85% {
        transform: translate(-10px, 10px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.widget-button-standard {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.widget-button-standard::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.widget-button-standard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.widget-button-standard:hover::before {
    left: 100%;
}

.widget-button-standard:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
}

.widget-button-delete {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding: 12px 24px;
    background-color: var(--color-error);
    color: var(--color-text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.widget-button-delete::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.widget-button-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.widget-button-delete:hover::before {
    left: 100%;
}

.widget-button-delete:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.2);
}

.widget-button-google {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    padding: 10px 20px;
    background-color: var(--color-google-button-bg);
    color: var(--color-text-inverse);
    border: 1px solid var(--color-google-button-border);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.widget-button-google:hover {
    background-color: var(--color-google-button-bg-hover);
    border-color: var(--color-google-button-border-hover);
}

.widget-button-google:active {
    background-color: var(--color-google-button-bg-active);
}

/* ======================================== */
/* BASE: widgets-headlines.css */
/* ======================================== */
/* Animierter Gradient für Headlines - Magic UI-inspiriert */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.base-headline-h1 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-h1);
    line-height: 1.2;
    margin-bottom: 24px;
    hyphens: none;
    word-break: normal;
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-1), var(--color-gradient-3), var(--color-gradient-1));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 8s ease infinite;
    position: relative;
    letter-spacing: -0.02em;
}

.base-headline-h2 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-h2);
    line-height: 1.3;
    margin-bottom: 20px;
    hyphens: none;
    word-break: normal;
    font-weight: 600;
    background: linear-gradient(90deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-1));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 10s ease infinite;
    position: relative;
    letter-spacing: -0.01em;
}

.base-headline-h3 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-h3);
    line-height: 1.4;
    margin-bottom: 14px;
    hyphens: none;
    word-break: normal;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
    letter-spacing: -0.005em;
}

.base-headline-h4 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-h4);
    line-height: var(--line-height-base);
    margin-bottom: 8px;
    hyphens: none;
    word-break: normal;
    color: var(--color-text-primary);
}

.base-headline-h5 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-h5);
    line-height: var(--line-height-base);
    margin-bottom: 8px;
    hyphens: none;
    word-break: normal;
    color: var(--color-text-primary);
}

.base-headline-h6 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-h6);
    line-height: var(--line-height-base);
    margin-bottom: 5px;
    hyphens: none;
    word-break: normal;
    color: var(--color-text-primary);
}

/* ======================================== */
/* BASE: widgets-forms.css */
/* ======================================== */
.widget-form-label {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: block;
    margin-bottom: 5px;
}

.widget-form-input,
.widget-form-textarea,
.widget-form-select {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-background);
    color: var(--color-text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.widget-form-input:focus,
.widget-form-textarea:focus,
.widget-form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.widget-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.widget-form-error {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-small);
    line-height: var(--line-height-base);
    color: var(--color-error);
    margin-top: 5px;
}

.widget-form-input-error {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    border-color: var(--color-error);
}

.widget-form-required {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-error);
}

.widget-form-field-group {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    margin-bottom: 15px;
}

/* ======================================== */
/* BASE: widgets-tiles.css */
/* ======================================== */
/* Mobile-First: Basis-Styles gelten für mobile Geräte */
.widget-tile {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: var(--color-background);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
    margin: 15px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.widget-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.widget-tile-number {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-xxl);
    line-height: var(--line-height-base);
    text-align: center;
    margin-bottom: 10px;
}

.widget-tile-text {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    text-align: center;
}

.widget-tile-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.widget-tiles-row {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 5px;
}

/* Regel 003 von 011-ui-mobile.mdc: In der Mobile Version darf pro Zeile nur 1 Tile sein */
.widget-tiles-row .widget-tile {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
    height: 200px;
}

/* Mobile-First: Responsive Design - Regel 022: 4 Breakpoints */
/* Basis-Styles gelten für mobile (max-width: 576px) - keine Media Query erforderlich */

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px) {
    .widget-tile {
        padding: 25px;
    }
    
    .widget-tiles-row .widget-tile {
        flex: 1 1 0;
        min-width: 200px;
        width: auto;
    }
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px) {
    .widget-tile {
        padding: 25px;
    }
}

/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px) {
    .widget-tile {
        padding: 25px;
    }
}

/* ======================================== */
/* BASE: div-tables.css */
/* ======================================== */
.widget-div-table {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: table;
    width: 100%;
    border: 1px solid var(--color-border);
}

.widget-div-table-header {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: table-header-group;
    background: var(--color-table-header-bg);
}

.widget-div-table-header-row {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: table-row;
}

.widget-div-table-header-cell {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: table-cell;
    padding: 10px;
    border: 1px solid var(--color-border);
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-div-table-body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: table-row-group;
}

.widget-div-table-body-row {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: table-row;
}

.widget-div-table-body-row:hover {
    background: var(--color-table-row-hover-bg);
}

.widget-div-table-body-cell {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: table-cell;
    padding: 10px;
    border: 1px solid var(--color-border);
    white-space: normal;
    word-wrap: break-word;
}

/* ======================================== */
/* SCREEN: home/home.css */
/* ======================================== */
:root{
  --bg: var(--color-background);
  --text: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --border: var(--color-border);
  --card: var(--color-background);
  --chip: var(--color-surface-secondary);
  --chipHover: var(--color-nav-hover-bg);
  --brand: var(--color-primary);
  --shadow: 0 8px 24px rgba(16,24,40,.08);
  --shadowSoft: 0 4px 14px rgba(16,24,40,.06);
  --radius:16px;
}
*{box-sizing:border-box}
/* Mobile-First: Wrap für mobile Geräte */
/* VERPFLICHTEND: Mobile-Volle-Breite-Nutzung (Regel 005 in 011-ui-mobile.mdc) */
.wrap{
  width: 100%;
  max-width: 100%;
  margin:0 auto;
  padding:16px 12px 40px;
  box-sizing: border-box;
}

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px){
  .wrap{
    padding:20px 16px 50px;
  }
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px){
  .wrap{
    padding:28px 18px 60px;
  }
}
/* Mobile-First: Header für mobile Geräte */
header{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
  padding:6px 0 18px;
}
.sub{color:var(--muted); font-size:var(--font-size-small); margin:0}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--border);
  border-radius:999px; padding:8px 12px;
  color:var(--muted); font-size:var(--font-size-small);
  background: var(--color-background);
  box-shadow: var(--shadowSoft);
  white-space:nowrap;
}
.panel{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  background: var(--color-background);
  box-shadow: var(--shadowSoft);
}
/* Mobile-First: Basis-Styles für mobile Geräte */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
header{
  flex-direction:column;
}
.badge{
  align-self:flex-start;
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px){
  .grid{
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  header{
    flex-direction:row;
    align-items:flex-start;
    justify-content:space-between;
  }
  .badge{
    align-self:auto;
  }
}
label{display:block;font-size:var(--font-size-xs);color:var(--muted);margin:0 0 6px}
input[type="text"]{
  width:100%;
  padding:12px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  outline:none;
  font-size:var(--font-size-small);
  background: var(--color-background);
}
input[type="text"]:focus{border-color:rgba(0, 102, 204, .7); box-shadow:0 0 0 4px rgba(0, 102, 204, .14)}
/* Mobile-First: Range-Row für mobile Geräte */
.rangeRow{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:nowrap;
  width:100%;
}
.rangeRow input[type="range"]{
  flex:1;
  min-width:0;
}
.rangeRow .pill{
  flex-shrink:0;
}
/* Range-Input für mobile Geräte (größer für Touch) */
input[type="range"]{
  width:100%;
  min-height:32px;
  -webkit-appearance:none;
  appearance:none;
  background:transparent;
  cursor:pointer;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--brand);
  border:2px solid var(--color-background);
  box-shadow:0 2px 4px rgba(0,0,0,0.2);
  cursor:pointer;
}
input[type="range"]::-moz-range-thumb{
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--brand);
  border:2px solid var(--color-background);
  box-shadow:0 2px 4px rgba(0,0,0,0.2);
  cursor:pointer;
}
/* Mobile-First: Pill für mobile Geräte */
.pill{
  border:1px solid var(--border);
  border-radius:999px;
  padding:10px 12px;
  font-size:13px;
  color:var(--text);
  background: var(--color-background);
  min-width:98px;
  text-align:center;
  white-space:nowrap;
  flex-shrink:0;
  box-sizing:border-box;
}
/* Mobile-First: Actions für mobile Geräte */
.actions{
  display:flex;
  gap:10px;
  align-items:end;
  justify-content:stretch;
  flex-direction:column;
}

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px){
  .actions{
    flex-direction:row;
    justify-content:flex-end;
    flex-wrap:nowrap;
  }
}
/* Mobile-First: Buttons für mobile Geräte (mindestens 44x44px für Touch) */
.btn{
  border:1px solid var(--border);
  background: var(--color-background);
  padding:12px 16px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  font-size:var(--font-size-small);
  min-height:44px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px){
  .btn{
    width:auto;
    padding:11px 12px;
    min-height:auto;
    flex-shrink:0;
  }
}
.btnPrimary{
  border-color: rgba(0, 102, 204, .35);
  background: rgba(0, 102, 204, .10);
  color: var(--color-primary-dark);
}
.btn:hover{filter:brightness(.98)}
.divider{height:1px;background:var(--border); margin:18px 0}

/* Results */
.resultsTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:16px;
  flex-wrap:wrap;
  width:100%;
}
.resultsTop h2{
  font-size:var(--font-size-base);
  margin:0;
  word-break:break-word;
  flex:1;
  min-width:0;
}
.resultsMeta{
  color:var(--muted);
  font-size:var(--font-size-small);
  white-space:nowrap;
  flex-shrink:0;
}
.results{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:12px;
  width:100%;
}
/* Mobile-First: Restaurant-Cards für mobile Geräte */
.card{
  display:flex;
  flex-direction:column;
  gap:12px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:12px;
  background: var(--card);
  box-shadow: var(--shadowSoft);
  position:relative;
  overflow:visible;
  width:100%;
  box-sizing:border-box;
}
.card .cta{
  justify-content:flex-end;
  margin-top:8px;
  width:100%;
  clear:both;
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px){
  .card{
    display:grid;
    grid-template-columns: 198px 1fr auto;
    grid-template-rows: auto;
    align-items:center;
    gap:12px;
  }
  .card .cta{
    margin-top:0;
    width:auto;
    flex-wrap:nowrap;
  }
}
/* Mobile-First: Thumb für mobile Geräte - volle Breite */
.thumb{
  width:100%;
  height:450px;
  min-height:450px;
  border-radius:14px;
  border:1px solid var(--border);
  overflow:hidden;
  background: linear-gradient(135deg, var(--color-surface-secondary), var(--color-background));
  position:relative;
  flex-shrink:0;
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px){
  .thumb{
    width:198px;
    height:153px;
    min-width:198px;
    min-height:153px;
  }
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.thumb .ph{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--color-text-secondary);
  font-size:var(--font-size-xs);
  font-weight:600;
  padding:4px;
  text-align:center;
  word-break:break-word;
}
.home-restaurant-thumb-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.home-restaurant-thumb-minimap {
  width: 100% !important;
  height: 100% !important;
  min-height: 450px !important;
  min-width: 100% !important;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: var(--color-background-light);
  display: block !important;
  box-sizing: border-box;
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px) {
  .home-restaurant-thumb-minimap {
    width: 198px !important;
    height: 153px !important;
    min-width: 198px !important;
    min-height: 153px !important;
  }
}
/* Content-Bereich in Cards - verhindert Überlagerungen */
.card > div[id*="content"]{
  min-width:0;
  width:100%;
  display:flex;
  flex-direction:column;
  overflow:visible;
  flex:1;
  position:relative;
  box-sizing:border-box;
}
.titleRow{
  display:flex;
  gap:10px;
  align-items:baseline;
  flex-wrap:wrap;
  width:100%;
  margin-bottom:4px;
}
.name{
  font-weight:800;
  word-break:break-word;
  flex:1;
  min-width:0;
}
.stars{
  color: var(--color-primary);
  font-size:var(--font-size-small);
  flex-shrink:0;
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:2px;
}
.restaurant-star-icon{
  width:14px;
  height:14px;
  flex-shrink:0;
  display:inline-block;
}
.restaurant-rating-text{
  margin-left:4px;
  white-space:nowrap;
}
.small{
  color:var(--muted);
  font-size:var(--font-size-small);
  margin-top:4px;
  width:100%;
  word-break:break-word;
  line-height:1.4;
}
/* Mobile-First: Telefonnummer für mobile Geräte mit klickbarem Icon */
.home-restaurant-telefon{
  margin-top:6px;
  color:var(--muted);
  font-size:var(--font-size-small);
}
.home-restaurant-telefon-link-mobile{
  display:inline-flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  color:var(--muted);
  transition:color .15s ease;
}
.home-restaurant-telefon-link-mobile:hover{
  color:var(--brand);
}
.home-restaurant-telefon-icon{
  width:32px;
  height:32px;
  vertical-align:middle;
  flex-shrink:0;
}
.home-restaurant-telefon-text{
  color:var(--muted);
}
.home-restaurant-telefon-link-desktop{
  display:none;
}
.home-restaurant-telefon-icon-desktop{
  display:none;
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px){
  .home-restaurant-telefon-link-mobile{
    display:none;
  }
  .home-restaurant-telefon-link-desktop{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:var(--muted);
  }
  .home-restaurant-telefon-icon-desktop{
    display:inline-block;
    width:28px;
    height:28px;
    vertical-align:middle;
    flex-shrink:0;
    opacity:0.7;
  }
}
.restaurant-cuisine-label-wrapper{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:2px 6px;
  border-radius:4px;
  background:var(--color-cuisine-label-bg);
  vertical-align:middle;
}
.restaurant-cuisine-icon{
  width:16px;
  height:16px;
  vertical-align:middle;
  display:inline-block;
  flex-shrink:0;
}
.restaurant-cuisine-icon.broken-image{
  display:none;
}
.restaurant-cuisine-fallback{
  display:none;
}
.restaurant-cuisine-icon.broken-image + .restaurant-cuisine-fallback{
  display:inline;
}
.tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
  width:100%;
  clear:both;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background: var(--color-background-light);
  border:1px solid var(--border);
  font-size:var(--font-size-xs);
  color:var(--text);
  word-break:break-word;
  white-space:normal;
  overflow:visible;
  max-width:100%;
  min-width:0;
}
.tag .dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(0, 102, 204, .8);
  flex-shrink:0;
}
.cta{
  display:flex;
  gap:8px;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
  width:100%;
  margin-top:8px;
  flex-shrink:0;
}
.priceStrong{
  font-weight:800;
  white-space:nowrap;
  flex-shrink:0;
}
/* Mobile-First: Ghost-Button für mobile Geräte (mindestens 44x44px für Touch) */
.ghost{
  background: var(--color-background);
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 16px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  box-sizing:border-box;
}

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px){
  .ghost{
    padding:10px 12px;
    min-height:auto;
    flex-shrink:0;
  }
}

/* Category sections */
.sectionTitle{
  margin:26px 0 10px;
  font-size:var(--font-size-small);
  color:var(--muted);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  width:100%;
}
.sectionTitle > div{
  word-break:break-word;
  flex:1;
  min-width:0;
}
/* Mobile-First: Chips-Grid für mobile Geräte */
.chips{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px){
  .chips{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Großer Desktop/Widescreen (min-width: 1440px) */
@media (min-width: 1440px){
  .chips{
    grid-template-columns: repeat(6, 1fr);
  }
}
/* Mobile-First: Chips für mobile Geräte (mindestens 44x44px für Touch) */
.chip{
  border:1px solid var(--border);
  background: var(--chip);
  border-radius: 16px;
  padding:12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  transition: background .15s ease, transform .05s ease;
  min-height:56px;
  touch-action:manipulation;
  overflow:hidden;
  position:relative;
  width:100%;
  box-sizing:border-box;
}
.chip:hover{background:var(--chipHover)}
.chip:active{transform: translateY(1px)}
.chip .ic{
  width:68px;height:68px;border-radius:12px;
  border:1px solid var(--border);
  overflow:hidden;
  background: var(--color-background);
  display:flex; align-items:center; justify-content:center;
  font-size:var(--font-size-large);
}
.chip .ic img{width:100%;height:100%;object-fit:cover;display:block}
.chip .ic .home-cuisine-chip-fallback,
.chip .ic .home-dish-chip-fallback{
  display:none;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  font-size:var(--font-size-small);
  font-weight:700;
  color:var(--text);
}
.chip .ic img.broken-image{
  display:none;
}
.chip .ic img.broken-image + .home-cuisine-chip-fallback,
.chip .ic img.broken-image + .home-dish-chip-fallback{
  display:flex;
}
.chip .lbl{
  font-weight:800;
  font-size:var(--font-size-small);
  word-break:break-word;
  min-width:0;
  flex:1;
}
.chip .subLbl{
  font-size:var(--font-size-xs);
  color:var(--muted);
  margin-top:2px;
  word-break:break-word;
}

/* little helper */
.hint{
  margin-top:10px;
  color:var(--muted);
  font-size:var(--font-size-xs);
}

/* Popup Styles */
.restaurant-detail-popup{
  display:none;
  position:fixed;
  inset:0;
  z-index:10000;
}
.restaurant-detail-popup.is-open{
  display:block;
}
.restaurant-detail-popup-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.5);
}
/* Mobile-First: Popup-Content für mobile Geräte */
.restaurant-detail-popup-content{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  background: var(--color-background);
  border-radius:var(--radius);
  padding:16px;
  max-width:600px;
  width:95%;
  max-height:95vh;
  overflow-y:auto;
  box-shadow:var(--shadow);
}

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px){
  .restaurant-detail-popup-content{
    padding:24px;
    width:90%;
    max-height:90vh;
  }
}
.restaurant-detail-popup-close{
  position:absolute;
  top:12px;
  right:12px;
  width:32px;
  height:32px;
  border:none;
  background:transparent;
  font-size:var(--font-size-xl);
  cursor:pointer;
  color:var(--muted);
}
.restaurant-detail-popup-close:hover{
  color:var(--text);
}

/* Pagination */
.home-pagination{
  margin-top:24px;
  margin-bottom:12px;
}
.home-pagination-spacer{
  flex:1;
}
.home-pagination-controls{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
/* Mobile-First: Pagination-Links für mobile Geräte (mindestens 44x44px für Touch) */
.home-pagination-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:8px;
  background: var(--color-background);
  color:var(--text);
  font-size:var(--font-size-small);
  font-weight:600;
  text-decoration:none;
  transition:background .15s ease, border-color .15s ease;
  min-width:44px;
  min-height:44px;
  text-align:center;
  touch-action:manipulation;
}

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px){
  .home-pagination-link{
    padding:8px 12px;
    min-width:36px;
    min-height:auto;
  }
}
.home-pagination-link:hover{
  background:var(--chipHover);
  border-color:var(--brand);
  color:var(--text);
}
/* Mobile-First: Aktueller Pagination-Link für mobile Geräte */
.home-pagination-current{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border:1px solid var(--brand);
  border-radius:8px;
  background:rgba(0, 102, 204, .10);
  color:var(--color-primary-dark);
  font-size:var(--font-size-small);
  font-weight:700;
  min-width:44px;
  min-height:44px;
  text-align:center;
}

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px){
  .home-pagination-current{
    padding:8px 12px;
    min-width:36px;
    min-height:auto;
  }
}
/* Mobile-First: Pagination für mobile Geräte */
.home-pagination-controls{
  justify-content:center;
  gap:6px;
  width:100%;
  flex-wrap:wrap;
}
.home-pagination-spacer{
  display:none;
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px){
  .home-pagination-controls{
    justify-content:flex-start;
  }
  .home-pagination-spacer{
    display:block;
  }
}

/* ======================================== */
/* LIBRARY: leaflet/leaflet.css */
/* ======================================== */
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}


/* ======================================== */
/* WIDGET-SPECIFIC STYLES */
/* ======================================== */
/* Widget-spezifische Styles für .restaurants-widget Container */
/* Der Container übernimmt die Styles von .wrap für direkt eingefügte Filter-Panels */
.restaurants-widget {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 12px 40px;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    box-sizing: border-box;
}

/* Tablet/iPad (min-width: 600px) */
@media (min-width: 600px) {
    .restaurants-widget {
        padding: 20px 16px 50px;
    }
}

/* Kleiner Desktop/13-Zoll (min-width: 1024px) */
@media (min-width: 1024px) {
    .restaurants-widget {
        padding: 28px 18px 60px;
    }
}

/* Sicherstellen, dass Panel-Styles greifen */
.restaurants-widget .panel {
    width: 100%;
    box-sizing: border-box;
}

/* Sicherstellen, dass Grid-Styles greifen */
.restaurants-widget .grid {
    width: 100%;
    box-sizing: border-box;
}

/* Sicherstellen, dass alle Child-Elemente korrekt gerendert werden */
.restaurants-widget > * {
    box-sizing: border-box;
}
