/*
Theme Name: Aperitif Bar Sterzl
Author: Custom
Version: 1.4
*/

:root {
    --bg-dark: #0b0b0b;
    --text-light: #f3eedc;
    --accent-gold: #d6c08d;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
}

/* =========================
   HEADER / NAV
   ========================= */

header {
    text-align: center;
    padding: 20px;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* =========================
   HERO
   ========================= */

.hero {
    padding: clamp(60px, 10vw, 120px) 16px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 12px;
}

/* =========================
   SECTIONS
   ========================= */

.section {
    max-width: 1100px;
    margin: auto;
    padding: clamp(40px, 8vw, 80px) 16px;
}

.center-text {
    text-align: center;
}

/* =========================
   BUTTONS (RESPONSIVE)
   ========================= */

.button {
    display: inline-block;
    padding: 0.65em 1.4em;
    font-size: 1rem;
    line-height: 1.2;
    border: 1px solid var(--accent-gold);
    border-radius: 2em;
    background: transparent;
    color: var(--accent-gold);
    touch-action: manipulation;
}

/* =========================
   GALLERY
   ========================= */

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

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* =========================
   EVENTS
   ========================= */

.event-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.event-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.event-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* Banner korrekt fixiert */
.event-box span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

/* =========================
   MENU PDF – ERSTE SEITE RESPONSIVE & KLICKBAR
   ========================= */

.menu-card {
    position: relative;
    width: 100%;
    max-width: 720px; /* Desktop max */
    margin: 40px auto;
    background: #111;
    border-radius: 18px;
    overflow: hidden; /* KEIN Scrollen im Frame */
    box-shadow: 0 14px 35px rgba(0,0,0,0.3);
}

/* Vorschau: nur Seite 1, klickbar via Overlay */
.menu-card iframe {
    width: 100%;
    height: 900px; /* Desktop-Maße wie vorher */
    border: none;
    display: block;
    overflow: hidden;
    pointer-events: none; /* Klick geht an Overlay */
}

/* Mobile: kleiner, komplett sichtbar im Frame */
@media (max-width: 768px) {
    .menu-card iframe {
        height: 450px; /* passt ins mobile Display */
    }
}

/* =========================
   COOKIE
   ========================= */

#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #111;
    padding: 16px;
    text-align: center;
    z-index: 9999;
}

#cookie-banner button {
    margin-left: 10px;
    padding: 8px 16px;
    background: var(--accent-gold);
    border: none;
    border-radius: 6px;
}

/* =========================
   FOOTER
   ========================= */

footer {
    text-align: center;
    padding: 30px 16px;
    opacity: 0.7;
}
