/* Agent should place all @font-face definitions here */
@font-face {
    font-family: 'U8';
    src: url('fonts/Webfonts/U8-Hairline-web.woff') format('woff');
    font-weight: 100; /* Hairline */
    font-style: normal;
}
@font-face {
    src: url('fonts/Webfonts/U8-HairlineItalic-web.woff') format('woff');
    font-weight: 100; /* Hairline Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('fonts/Webfonts/U8-Thin-web.woff') format('woff');
    font-weight: 200; /* Thin */
    font-style: normal;
}
@font-face {
    src: url('fonts/Webfonts/U8-ThinItalic-web.woff') format('woff');
    font-weight: 200; /* Thin Italic */
    font-style: italic;
}
/* New specific font-family definitions */
@font-face {
    font-family: 'U8-Light';
    src: url('fonts/Webfonts/U8-Light-web.woff') format('woff');
    font-weight: normal; /* Light */
    font-style: normal;
}
@font-face {
    src: url('fonts/Webfonts/U8-LightItalic-web.woff') format('woff');
    font-weight: normal; /* Light Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('fonts/Webfonts/U8-Regular-web.woff') format('woff');
    font-weight: normal; /* Regular */
    font-style: normal;
}
@font-face {
    src: url('fonts/Webfonts/U8-RegularItalic-web.woff') format('woff');
    font-weight: normal; /* Regular Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8-Medium';
    src: url('fonts/Webfonts/U8-Medium-web.woff') format('woff');
    font-weight: normal; /* Medium */
    font-style: normal;
}
@font-face {
    src: url('fonts/Webfonts/U8-MediumItalic-web.woff') format('woff');
    font-weight: normal; /* Medium Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8';
    src: url('fonts/Webfonts/U8-Bold-web.woff') format('woff');
    font-weight: bold; /* Bold */
    font-style: normal;
}
@font-face {
    src: url('fonts/Webfonts/U8-BoldItalic-web.woff') format('woff');
    font-weight: bold; /* Bold Italic */
    font-style: italic;
}
@font-face {
    font-family: 'U8-Black';
    src: url('fonts/Webfonts/U8-Black-web.woff') format('woff');
    font-weight: normal; /* Black */
    font-style: normal;
}
@font-face {
    src: url('fonts/Webfonts/U8-BlackItalic-web.woff') format('woff');
    font-weight: normal; /* Black Italic */
    font-style: italic;
}

/* --- GLOBALE STILE --- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
    margin: 0;
    font-family: 'U8-Light', sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HINTERGRUND & LAYOUT BASIS --- */
.background-image {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: url('../images/background.jpg'); /* Correct path needed */
    background-size: cover;
    background-position: right center;
    filter: brightness(0.5);
    z-index: -1;
}

.container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column; /* Stellt sicher, dass der Header oben ist */
    flex-grow: 1;
}

/* --- HEADER --- */
header {
    text-align: center;
    padding-top: 30px;
    position: relative; /* Add this for positioning the back link */
}
.logo { font-family: 'U8-Black', sans-serif; font-size: 2.5em; line-height: 1; margin: 0 0 -5px 0; }
.slogan { font-family: 'U8-Medium', sans-serif; font-size: 1.1em; color: #FFFFFF; margin-top: 10px; line-height: 1; }

.back-link {
    font-family: 'U8-Light', sans-serif;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent white */
    text-decoration: none;
    transition: color 0.3s ease;
    position: absolute;
    top: 40px;
    left: 40px;
}

.back-link:hover {
    color: #FFFFFF;
}

/* --- INHALTSBLOCK --- */
.content-wrapper {
    position: absolute;
    bottom: 10%;
    right: 8%;
    width: 180px;
}

.info-box {
    background-color: rgba(245, 245, 245, 0.4);
    backdrop-filter: blur(8px);
    color: #1A1A1A;
    padding: 12px 20px;
    margin-bottom: 15px;
}
.info-box p { margin: 10px 0; line-height: 1.2; text-align: right; font-size: 0.9em; }

.zenchef-placeholder { text-align: right; margin-bottom: 15px; }

.btn-reservieren {
    background-color: rgba(220, 220, 220, 0.5);
    color: #1A1A1A;
    border: none;
    padding: 12px 20px;
    font-family: 'U8-Medium', sans-serif;
    font-size: 0.9em;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-reservieren:hover { background-color: rgba(255, 255, 255, 1); }

/* --- FOOTER --- */
footer {
    padding: 20px;
    text-align: center;
    z-index: 1; /* Ensure it's above the background image */
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer nav ul li a {
    font-family: 'U8-Light', sans-serif;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent white */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer nav ul li a:hover {
    color: #FFFFFF;
}

main a, main a:visited {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

main a:hover {
    color: #FFFFFF !important;
}

/* Hide default Zenchef floating button */
#zc-btn-container,
.zc-btn-container,
#zc_floating_button, 
.zc-floating-button,
div[class*='zc-floating-button'] {
    display: none !important;
}


/* Hide Zenchef default button using data-testid */
[data-testid="zenchef-btn"] {
    display: none !important;
}


/* --- MOBILE FIX FÜR ZENCHEF --- */
@media (max-width: 992px) {
    
    /* 1. Schafft Platz am unteren Rand zum Scrollen, damit der Button nichts verdeckt */
    body {
        padding-bottom: 180px !important;
    }

    /* 2. Löst die Info-Box von der starren Position unten rechts */
    /* Dadurch fließt sie natürlich mit dem Inhalt und wird nicht verdeckt */
    .content-wrapper {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        width: 100% !important; /* Nutzt die volle Breite */
        margin-top: 20px;       /* Etwas Abstand nach oben */
        display: flex;
        flex-direction: column;
        align-items: center;    /* Zentriert die Box optisch */
    }

    /* Sorgt dafür, dass der Text auf dem Handy zentriert und gut lesbar ist */
    .info-box p {
        text-align: center !important;
    }
    
    .zenchef-placeholder {
        text-align: center !important;
    }
}


/* --- V7 MULTI-LOCATION SCROLL --- */

body {
    background-image: none; /* Override old bg */
    background-color: #050505;
}

.main-wrapper {
    width: 100%;
}

.location-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.section-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    filter: brightness(0.5); /* Vibe adjustments */
    transition: transform 0.5s ease;
}

.section-content {
    position: absolute;
    bottom: 15%; /* Etwas Luft von unten */
    right: 8%;   /* Originaler Abstand von rechts */
    z-index: 2;
    width: auto;
    max-width: 400px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alles rechtsbündig */
    text-align: right;
}

/* Header Override */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    /* Dezenter Verlauf für Lesbarkeit des Logos */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
    padding-top: 30px;
    padding-bottom: 20px;
    pointer-events: none;
}

.logo {
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.loc-title {
    font-family: 'U8-Bold', sans-serif;
    font-size: 2.5em; /* Groß und plakativ */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.loc-info-box {
    /* Zurück zum Original-Look: Helles Glas */
    background-color: rgba(245, 245, 245, 0.4); 
    backdrop-filter: blur(8px);
    border: none;
    padding: 15px 25px;
    margin-bottom: 20px;
    width: auto; /* Passt sich dem Inhalt an */
    color: #1A1A1A; /* Dunkle Schrift für Kontrast auf hellem Glas */
    border-radius: 0; /* Eckig wie Original? Oder leicht radius: 2px? */
}

.loc-address {
    font-family: 'U8-Medium', sans-serif;
    font-size: 1.0em;
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none; /* Kein Strich im Original */
}

.loc-hours {
    font-family: 'U8-Light', sans-serif;
    font-size: 0.9em;
    line-height: 1.4;
    color: #1A1A1A; /* Dunkel */
}

.btn-reserve-v7 {
    background-color: #FFFFFF; /* Voll deckend */
    color: #1A1A1A;
    font-family: 'U8-Medium';
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    width: auto;
    border: none;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-reserve-v7:hover {
    background-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .section-content {
        bottom: 10%;
        right: 5%;
        left: auto;
        align-items: flex-end;
        text-align: right;
    }
    
    .loc-title { font-size: 2em; }
    
    .loc-info-box {
        margin-left: auto; /* Sicherstellen, dass Box rechts bleibt */
    }
}


/* --- MODAL STYLES (v8) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dunkleres Overlay */
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #000;
    width: 95%; /* Etwas größer auf Mobile */
    height: 95%;
    max-width: 900px;
    max-height: 800px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 8px;
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.modal-close-btn {
    background: none;
    border: none;
    color: #FFF;
    font-size: 1.8em; /* Größerer Button */
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #CCC;
}

.modal-iframe-container {
    flex-grow: 1;
    width: 100%;
    height: 100%;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* --- V9 NAVIGATION & SCROLL --- */

html {
    scroll-behavior: smooth;
}

/* Header zurückgesetzt auf Zustand vor Nav-Leiste */
header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
    padding-top: 30px;
    padding-bottom: 20px;
    height: auto;
    backdrop-filter: none;
    pointer-events: none;
}

/* Section Anpassung: Kein Scroll-Margin mehr, da keine fixe Nav */
.location-section {
    scroll-margin-top: 0;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    header {
        height: auto;
    }
    
    .location-section {
        scroll-margin-top: 0;
    }
}

