/* ============================================================
   RISTORANTE IL GARDA – Main Stylesheet
   Design: Modern Mediterranean | Elegant Italian Restaurant
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Colors */
    --primary: #2F4F3E;
    --primary-light: #3d6651;
    --primary-dark: #1e3328;
    --logo-red: #8B1A1A;
    --logo-red-light: #a82020;
    --logo-red-dark: #6b1313;
    --terracotta: #C56A3D;
    --terracotta-light: #d4834e;
    --terracotta-dark: #a5572f;
    --gold: #C9A14A;
    --gold-light: #d9b866;
    --cream: #F7F3EE;
    --beige: #EDE8E0;
    --beige-dark: #D9D1C4;
    --wood: #3D2B1F;
    --dark: #1A1A1A;
    --dark-2: #2A2A2A;
    --text: #3A3A3A;
    --text-light: #6B6B6B;
    --text-muted: #9B9B9B;
    --white: #FFFFFF;
    --white-90: rgba(255,255,255,0.90);
    --white-70: rgba(255,255,255,0.70);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', 'Inter', system-ui, sans-serif;

    /* Spacing */
    --section-pad: clamp(4rem, 8vw, 7rem);
    --container: 1200px;
    --gap: 2rem;

    /* Transitions */
    --trans: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.25);

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--trans);
}

ul { list-style: none; }

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Visible focus ring for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Suppress focus ring for mouse/touch users */
:focus:not(:focus-visible) {
    outline: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* ---- Utility ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
    padding: var(--section-pad) 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-warm {
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--logo-red);
    margin-bottom: 0.75rem;
    display: block;
}

.section-eyebrow.light { color: var(--gold); }

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-dark .section-title { color: var(--white); }

.section-title em {
    font-style: italic;
    color: var(--logo-red);
}

.section-dark .section-title em { color: var(--gold); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

.section-dark .section-subtitle { color: var(--white-70); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: background var(--trans), padding var(--trans), box-shadow var(--trans);
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Sub-pages: always dark + compact (matches homepage scrolled state) */
.navbar.navbar-solid {
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    text-decoration: none;
    gap: 2px;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    /* Knock out the silver/grey background so it blends on dark nav */
    filter: brightness(1.08) contrast(1.05);
    border-radius: 3px;
}

.logo-img-footer {
    height: 38px;
    filter: brightness(1.1) contrast(1.05);
}

.logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--white-70);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white-90);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: color var(--trans), background var(--trans);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--trans);
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after,
.nav-link.active::after { width: 60%; }
.nav-link.active { color: var(--gold); }

.nav-link.nav-cta {
    background: var(--logo-red);
    color: var(--white);
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    margin-left: 0.5rem;
}

.nav-link.nav-cta::after { display: none; }

.nav-link.nav-cta:hover {
    background: var(--logo-red-light);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--trans);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--white);
    padding-top: 110px; /* Offset for fixed header */
    padding-bottom: 7rem; /* Add extra room at bottom for the scroll indicator */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/Restaurant_Ilgarda.webp');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); background-position: center 40%; }
    to   { transform: scale(1.12); background-position: center 45%; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(18, 30, 22, 0.78) 0%,
        rgba(18, 20, 18, 0.55) 50%,
        rgba(60, 30, 10, 0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem clamp(1rem, 5vw, 3rem);
    max-width: 820px;
    margin: auto;
    width: 100%;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s ease forwards;
}

.eyebrow-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.5s ease forwards;
}

.hero-title em {
    font-style: italic;
    /* Color overridden by shimmerGold animation in high-end animation block */
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: var(--white-90);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.7s ease forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.9s ease forwards;
}

.hero-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.9s 1.1s ease forwards;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--white-90);
}

.hero-info-item i { color: var(--gold); }
.hero-info-item a { color: var(--white-90); }
.hero-info-item a:hover { color: var(--gold); }

.hero-info-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white-70);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeIn 1s 1.5s ease both;
}

.scroll-indicator {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 4px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--trans);
    text-decoration: none;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--logo-red);
    color: var(--white);
    border-color: var(--logo-red);
}

.btn-primary:hover {
    background: var(--logo-red-dark);
    border-color: var(--logo-red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 26, 26, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.78rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
    background: var(--primary);
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background var(--trans);
}

.feature-item:last-child { border-right: none; }

.feature-item:hover {
    background: rgba(255,255,255,0.06);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 161, 74, 0.15);
    border: 1.5px solid rgba(201, 161, 74, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: background var(--trans), transform var(--trans);
}

.feature-item:hover .feature-icon {
    background: rgba(201, 161, 74, 0.25);
    transform: scale(1.08);
}

.feature-icon i {
    font-size: 1.3rem;
    color: var(--gold);
}

.feature-item h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    position: relative;
    overflow: visible;
    /* Prevent absolute children (.about-badge, .about-img-accent) from
       causing horizontal scroll on narrow viewports */
    isolation: isolate;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform var(--trans-slow);
}

.about-img-main:hover img { transform: scale(1.04); }

.about-img-accent {
    position: absolute;
    bottom: -2.5rem;
    right: -2rem;
    width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform var(--trans);
}

.about-img-accent:hover { transform: scale(1.04); }

.about-img-accent img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 2rem;
    left: -1.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.badge-year {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}

.badge-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0.2rem 0;
}

.badge-text {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.1em;
}

.about-content {
    padding-right: 1rem;
}

.about-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--beige-dark);
    border-bottom: 1px solid var(--beige-dark);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ============================================================
   MENU PREVIEW
   ============================================================ */
.menu-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.menu-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white-70);
    border: 1.5px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all var(--trans);
    background: transparent;
}

.menu-tab:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.menu-tab.active {
    background: var(--logo-red);
    color: var(--white);
    border-color: var(--logo-red);
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.menu-card {
    background: var(--dark-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border-color: rgba(201, 161, 74, 0.3);
}

.menu-card-img {
    height: 200px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
}

.menu-card:hover .menu-card-img img { transform: scale(1.08); }

.menu-card-body {
    padding: 1.2rem 1.4rem;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.menu-card-header h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    flex: 1;
}

.menu-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.menu-card-body p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.menu-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================================
   PARALLAX CTA
   ============================================================ */
.parallax-cta {
    position: relative;
    padding: clamp(5rem, 10vw, 9rem) 0;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.parallax-bg {
    position: absolute;
    inset: -30%;
    background-image: url('images/Restaurant_Ilgarda_photo.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 79, 62, 0.88), rgba(26, 26, 26, 0.82));
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 1rem;
}

.parallax-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.parallax-content h2 em {
    font-style: italic;
    color: var(--gold);
}

.parallax-content p {
    font-size: 1.05rem;
    color: var(--white-70);
    margin-bottom: 2.5rem;
}

.parallax-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item-wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item-tall {
    grid-row: span 2;
    aspect-ratio: 1/2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans-slow);
}

/* Hover enhancements moved to HIGH-END ANIMATION SYSTEM block */

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--trans);
    color: var(--white);
    gap: 0.5rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
    font-size: 1.5rem;
    padding: 0.7rem;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    transition: background var(--trans);
}

.gallery-overlay i:hover { background: rgba(255,255,255,0.2); }

.gallery-overlay span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.lightbox-content p {
    color: var(--white-70);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--trans);
    font-size: 1rem;
    z-index: 1;
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--logo-red);
    border-color: var(--logo-red);
}

/* ============================================================
   RESERVATION
   ============================================================ */
.reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.reservation-info .section-title { color: var(--primary); }
.reservation-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.detail-value {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
}

.detail-value a { color: var(--primary); }
.detail-value a:hover { color: var(--logo-red); }

.reservation-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--beige);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--cream);
    border: 1.5px solid var(--beige-dark);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(47, 79, 62, 0.1);
}

.form-group input:not([type="checkbox"]).error,
.form-group select.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

.form-group textarea { resize: vertical; min-height: 80px; }

/* DSGVO consent checkbox */
.form-consent { margin-top: 0.5rem; }

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--logo-red);
    cursor: pointer;
}

.consent-label input[type="checkbox"].error {
    outline: 2px solid var(--logo-red);
    outline-offset: 2px;
    border-radius: 2px;
}

.consent-label a {
    color: var(--gold);
    text-decoration: underline;
}

.consent-label a:hover { color: var(--logo-red); }

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}

.form-send-error {
    display: none;
    background: #fff5f5;
    border: 1.5px solid #e53e3e;
    border-radius: var(--radius);
    color: #c53030;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.visible { display: block; }

.success-icon {
    font-size: 3.5rem;
    color: #48bb78;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ============================================================
   TAKEAWAY / ONLINE BESTELLUNG
   ============================================================ */
/* ── Takeaway split-panel ── */
.takeaway {
    overflow: hidden;
}

.takeaway-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.takeaway-left {
    background: var(--cream);
    padding: 5rem 4rem 5rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.takeaway-eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--logo-red);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.takeaway-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.1rem;
}

.takeaway-title em {
    color: var(--logo-red);
    font-style: italic;
}

.takeaway-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.takeaway-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.takeaway-perks li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
}

.takeaway-perks li i {
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.takeaway-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-takeaway-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--trans), transform var(--trans);
    text-decoration: none;
}
.btn-takeaway-primary:hover {
    background: #1e3328;
    border-color: #1e3328;
    transform: translateY(-2px);
}

.btn-takeaway-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background var(--trans), color var(--trans), transform var(--trans);
    text-decoration: none;
}
.btn-takeaway-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.takeaway-right {
    position: relative;
    overflow: hidden;
}

.takeaway-img-wrap {
    position: absolute;
    inset: 0;
}

.takeaway-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.takeaway-right:hover .takeaway-img-wrap img {
    transform: scale(1.04);
}

.takeaway-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.3rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.takeaway-badge i {
    color: var(--gold);
}

@media (max-width: 900px) {
    .takeaway-split { grid-template-columns: 1fr; }
    .takeaway-left { padding: 3.5rem 2rem; }
    .takeaway-right { min-height: 320px; position: relative; }
    .takeaway-img-wrap { position: absolute; inset: 0; }
    .takeaway-actions { justify-content: flex-start; }
}

@media (max-width: 480px) {
    .takeaway-left { padding: 2.5rem 1.5rem; }
    .takeaway-actions { flex-direction: column; }
    .btn-takeaway-primary, .btn-takeaway-outline { width: 100%; justify-content: center; }
}

/* ============================================================
   CONTACT
   ============================================================ */
/* ── Contact redesign ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.13);
    min-height: 520px;
}

.contact-panel {
    background: var(--primary);
    padding: 2.8rem 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-row:last-of-type { border-bottom: none; }

.contact-row-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-row-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-row-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-weight: 600;
}

.contact-row-value {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.contact-row-link {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--trans);
}
.contact-row-link:hover { color: var(--gold); }

.contact-hours {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.1rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    gap: 1.5rem;
}

.hours-closed {
    color: rgba(255,255,255,0.45);
    font-style: italic;
}

.contact-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1.8rem;
}

.contact-actions .btn-primary {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
}
.contact-actions .btn-primary:hover {
    background: #c9a227;
    border-color: #c9a227;
}

.contact-actions .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.contact-actions .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

.contact-map-wrap {
    position: relative;
    min-height: 480px;
}
.contact-map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Map consent overlay ── */
.map-consent {
    position: absolute;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.map-consent.hidden {
    opacity: 0;
    pointer-events: none;
}

.map-consent-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    max-width: 320px;
    gap: 0.75rem;
}

.map-consent-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.map-consent-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.map-consent-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
}

.map-consent-text a {
    color: var(--gold);
    text-decoration: underline;
}

.map-consent-btn {
    margin-top: 0.5rem;
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    font-weight: 600;
}
.map-consent-btn:hover {
    background: #c9a227;
    border-color: #c9a227;
}

.map-consent-hint {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.map-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--trans);
}

.social-link i,
.social-link svg {
    width: 14px;
    height: 14px;
    display: block;
    fill: currentColor;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links ul li {
    margin-bottom: 0.6rem;
}

.footer-links ul a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--trans), padding-left var(--trans);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links ul a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}

.footer-contact ul li i {
    color: var(--gold);
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 14px;
}

.footer-contact ul a { color: rgba(255,255,255,0.55); }
.footer-contact ul a:hover { color: var(--gold); }

.footer-hours p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.footer-hours .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding: 1.2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    transition: color var(--trans);
}

.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
    position: fixed;
    right: 1.5rem;
    bottom: 5rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: transform var(--trans), box-shadow var(--trans);
}

.floating-call { background: var(--primary); }
.floating-reserve { background: var(--logo-red); }

.floating-btn:hover {
    transform: scale(1.12);
    box-shadow: var(--shadow-xl);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, background var(--trans);
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover { background: var(--logo-red); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* AOS-like data-aos classes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-aos="fade-up"]    { transform: translateY(40px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"]  { transform: translateX(40px); }
[data-aos="zoom-in"]    { transform: scale(0.92); }
[data-aos="fade-down"]  { transform: translateY(-30px); }
[data-aos="clip-up"] {
    transform: translateY(20px);
    clip-path: inset(0 0 100% 0);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0% 0);
}

/* ============================================================
   HIGH-END ANIMATION SYSTEM
   ============================================================ */

/* --- Keyframes --- */
@keyframes shimmerGold {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 161, 74, 0); }
    50%       { box-shadow: 0 0 0 8px rgba(201, 161, 74, 0.15); }
}

@keyframes drawUnderline {
    from { transform: scaleX(0); transform-origin: left; }
    to   { transform: scaleX(1); transform-origin: left; }
}

@keyframes revealClip {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0% 0 0); }
}

@keyframes counterPop {
    0%   { transform: scale(0.8); opacity: 0; }
    60%  { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes heroParticle {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
    33%  { transform: translateY(-20px) translateX(10px) scale(0.8); }
    66%  { transform: translateY(-35px) translateX(-8px) scale(1.1); }
    100% { transform: translateY(-60px) translateX(4px) scale(0.6); opacity: 0; }
}

@keyframes borderDraw {
    from { opacity: 0; transform: scaleX(0); }
    to   { opacity: 1; transform: scaleX(1); }
}

@keyframes slideReveal {
    from { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); }
    to   { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.04); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    40%       { transform: translateY(-6px) scale(1.1); }
    60%       { transform: translateY(-3px) scale(1.05); }
}

/* --- Hero enhancements --- */
.hero-title em {
    background: linear-gradient(
        90deg,
        var(--gold) 0%,
        #f0c96a 40%,
        var(--gold) 60%,
        #c07a20 80%,
        var(--gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 4s linear 1.2s infinite;
}

.hero-eyebrow .eyebrow-line {
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Button glow enhancement */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(139, 26, 26, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
    transform: translateY(-3px);
}

.btn-outline-light {
    position: relative;
    overflow: hidden;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-outline-light:hover::before { transform: translateY(0); }

/* --- Feature item 3D tilt prep --- */
.feature-item {
    transform-style: preserve-3d;
    will-change: transform;
}

.feature-item:hover {
    background: rgba(255,255,255,0.08);
}

.feature-item:hover .feature-icon {
    animation: iconBounce 0.5s ease;
    background: rgba(201, 161, 74, 0.3);
    border-color: rgba(201, 161, 74, 0.7);
    box-shadow: 0 0 20px rgba(201, 161, 74, 0.25);
}

/* --- Section title underline draw --- */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.section-title.title-revealed::after {
    transform: scaleX(1);
}

/* --- Gallery item reveal --- */
.gallery-item {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    z-index: 2;
}

.gallery-item img {
    transform-origin: center center;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
    background: linear-gradient(
        0deg,
        rgba(18, 10, 0, 0.82) 0%,
        rgba(18, 10, 0, 0.3) 50%,
        transparent 100%
    );
    transition: opacity 0.4s ease;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    opacity: 0;
}

.gallery-item:hover .gallery-overlay i {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.gallery-overlay span {
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.4s 0.05s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s 0.05s ease;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
    opacity: 1;
}

/* --- Stat counter pop --- */
.stat.counter-animated .stat-num {
    animation: counterPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* --- Parallax CTA text reveal --- */
.parallax-content h2 {
    overflow: hidden;
}

/* --- Contact card hover (legacy, replaced by contact-layout) --- */

/* --- Menu card image zoom on hover --- */
.menu-card-img {
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.menu-card-img img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center bottom;
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.08) translateY(-4px);
}

/* --- Floating element on hero-scroll --- */
.hero-scroll {
    animation: fadeIn 1s 1.5s ease both, floatY 3s 2.5s ease-in-out infinite;
}

/* --- Scroll indicator glow --- */
.scroll-indicator {
    box-shadow: 0 0 0 0 rgba(201, 161, 74, 0.3);
    animation: pulseGlow 2.5s 2s ease-in-out infinite;
}

/* --- Magnetic button class (applied via JS) --- */
.btn-magnetic {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease !important;
}

/* --- Reveal overlay for sections (used by JS) --- */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-section.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Gold shimmer on eyebrow text (activated on scroll) --- */
.section-eyebrow.shimmer {
    background: linear-gradient(
        90deg,
        var(--gold) 0%,
        #f5d98c 40%,
        var(--gold) 60%,
        #b87a20 80%,
        var(--gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 2.5s linear forwards;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    [data-aos], .reveal-section,
    .hero-title em, .section-title::after,
    .gallery-item, .feature-item, .contact-card,
    .btn-primary::before, .btn-outline-light::before,
    .hero-scroll, .scroll-indicator {
        animation: none !important;
        transition: none !important;
    }
    [data-aos], .reveal-section { opacity: 1 !important; transform: none !important; }
    .section-title::after { transform: scaleX(1) !important; }
    .hero-title em { color: var(--gold) !important; -webkit-text-fill-color: var(--gold) !important; background: none !important; }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-images { max-width: 600px; margin: 0 auto; overflow-x: clip; }
    .about-content { padding-right: 0; }

    .contact-layout { grid-template-columns: 1fr; }
    .contact-map-wrap { min-height: 360px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .feature-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
    .feature-item:last-child,
    .feature-item:nth-last-child(2) { border-bottom: none; }

    .menu-grid { grid-template-columns: 1fr 1fr; }

    .reservation-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 80vw);
        height: 100vh;
        background: rgba(18,18,18,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.25rem;
        transition: right var(--trans-slow);
        box-shadow: -4px 0 30px rgba(0,0,0,0.4);
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius);
        text-align: left;
    }

    .nav-link::after { 
        display: none; /* Hide bottom line on mobile */
    }

    .nav-link.active {
        background: rgba(201, 161, 74, 0.1);
        color: var(--gold);
        border-left: 3px solid var(--gold);
        padding-left: calc(1rem - 3px);
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
        border-left: none;
        padding-left: 1rem;
    }

    .nav-toggle { display: flex; }

    .hero-title { font-size: clamp(2rem, 9vw, 3.5rem); }
    .hero-subtitle { font-size: 0.95rem; }
    
    .hero-eyebrow {
        gap: 0.5rem;
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }
    .eyebrow-line { width: 25px; }

    .hero-info-divider { display: none; }
    .hero-info { flex-direction: column; gap: 0.75rem; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-item-wide { grid-column: span 2; }
    .gallery-item-tall { grid-row: span 1; aspect-ratio: 1; }

    .about-img-accent { right: 0.5rem; bottom: -1.5rem; width: 140px; }
    .about-img-accent img { height: 110px; }
    .about-badge { left: 0.5rem; top: 1rem; padding: 0.9rem 1.1rem; }
    .about-badge .badge-num { font-size: 1.8rem; }
    .about-stats { gap: 1.5rem; flex-wrap: wrap; }

    .form-row { grid-template-columns: 1fr; }

    .contact-panel { padding: 2rem 1.5rem; }
    .contact-map-wrap { min-height: 300px; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .map-actions { flex-direction: column; }
    .map-actions .btn { width: 100%; justify-content: center; }

    .menu-grid { grid-template-columns: 1fr; }

    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .lightbox-close { top: 0.75rem; right: 0.75rem; }
}

@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { border-right: none; }
    .feature-item:nth-child(odd) { border-right: none; }
    .feature-item:last-child { border-bottom: none; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item-wide { grid-column: span 1; aspect-ratio: 4/3; }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }

    .reservation-form-wrapper { padding: 1.5rem; }
    .parallax-actions { flex-direction: column; }

    .parallax-bg { background-attachment: scroll; }

    .contact-actions { flex-direction: column; }
    .contact-actions .btn { width: 100%; justify-content: center; }
}

/* Small phones (iPhone SE, Galaxy A series) */
@media (max-width: 375px) {
    /* Issue #1: hero info items stack cleanly */
    .hero-info { gap: 0.5rem; font-size: 0.82rem; }
    .hero-info-item { gap: 0.35rem; }

    /* Issue #2/#10: further restrain absolute positioned about elements */
    .about-img-accent { display: none; }
    .about-badge { left: 0; top: 0.75rem; padding: 0.7rem 0.9rem; }

    /* Tighten section padding */
    :root { --section-pad: clamp(2.5rem, 7vw, 4rem); }

    /* Prevent any section title overflow */
    .section-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }

    /* Nav logo compact */
    .logo-img { height: 34px; }

    /* Reservation form padding */
    .reservation-form-wrapper { padding: 1.2rem; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .navbar, .floating-cta, .back-to-top, .hero-scroll { display: none; }
    .hero { min-height: auto; padding: 2rem 0; }
    .hero-bg, .hero-overlay { display: none; }
    .hero-content, .hero-title, .hero-subtitle { color: var(--dark); }
    .section-dark { background: var(--white); color: var(--dark); }
    .parallax-bg, .parallax-overlay { display: none; }
    .parallax-content { color: var(--dark); }
}

/* ============================================================
   SPEISEKARTE PAGE
   ============================================================ */

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--dark) 100%);
    margin-top: 66px;
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/Restaurant_Ilgarda_photo2.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-hero h1 em { color: var(--gold); }

.page-hero p {
    color: var(--white-70);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Filter bar */
.menu-filter-bar {
    background: var(--cream);
    padding: 1.5rem 0;
    position: sticky;
    top: 66px;
    z-index: 100;
    border-bottom: 1px solid var(--beige-dark);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.filter-inner {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-inner::-webkit-scrollbar { display: none; }

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-light);
    border: 1.5px solid var(--beige-dark);
    cursor: pointer;
    transition: all var(--trans);
    white-space: nowrap;
    background: var(--white);
}

.filter-btn i { font-size: 0.85rem; }

.filter-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Menu sections */
.menu-section {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--beige);
}

.menu-section:last-of-type { border-bottom: none; }

.menu-section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.menu-section-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.menu-section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--primary);
    line-height: 1.1;
}

.menu-section-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.menu-section-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--beige-dark), transparent);
}

/* Menu item list */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-x: clip; /* prevents negative-margin hover from causing scroll */
}

.menu-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0 1.5rem;
    align-items: start;
    padding: 1.2rem 0;
    border-bottom: 1px dashed var(--beige);
    transition: background var(--trans);
}

.menu-item:last-child { border-bottom: none; }

.menu-item:hover {
    background: var(--cream);
    border-radius: var(--radius);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin: 0 -0.75rem;
}

@supports not (overflow-x: clip) {
    .menu-item:hover { margin: 0; padding-left: 0; padding-right: 0; }
}

.menu-item-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--trans);
}

.menu-item:hover .menu-item-img img { transform: scale(1.06); }

.menu-item-noimg {
    width: 72px;
    height: 72px;
    background: var(--beige);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.menu-item-info { min-width: 0; }

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.menu-item-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.menu-item-badges {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.35rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-veg     { background: #e6f4e6; color: #2d7a2d; }
.badge-spicy   { background: #fde8e0; color: #c0392b; }
.badge-popular { background: #fef3d0; color: #9c6f0a; }
.badge-new     { background: #e0eaf8; color: #1a4a8a; }
.badge-gluten  { background: #f5e6ff; color: #6b2fa0; }

.menu-item-price {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--logo-red);
    white-space: nowrap;
    padding-top: 0.1rem;
    min-width: 60px;
    text-align: right;
}

/* Menu item serial number */
.item-nr {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
    line-height: 1;
    padding: 0.18em 0.42em;
    border-radius: 3px;
    margin-right: 0.45rem;
    opacity: 0.75;
    vertical-align: middle;
    letter-spacing: 0.03em;
}

/* Wine section */
.wine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.wine-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--beige-dark);
}

.wine-card h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.wine-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.wine-prices {
    display: flex;
    gap: 1rem;
}

.wine-price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wine-price-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.wine-price-val {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--logo-red);
}

/* Allergen note */
.allergen-note {
    background: var(--beige);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.2rem 1.5rem;
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

.allergen-note strong { color: var(--primary); }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-hero {
    background: var(--primary-dark);
    padding: 7rem 0 3rem;
    color: var(--white);
    text-align: center;
}

.legal-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.legal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary);
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--beige);
}

.legal-content h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-content a:hover { color: var(--logo-red); }
.legal-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 0.5rem;
}

.back-link:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE – SUB-PAGES
   ============================================================ */
@media (max-width: 768px) {
    .wine-grid { grid-template-columns: 1fr; }
    .menu-item { grid-template-columns: 1fr auto; }
    .menu-item-img,
    .menu-item-noimg { display: none; }
}

@media (max-width: 480px) {
    .filter-inner { justify-content: flex-start; padding: 0 1rem; }
}

/* ============================================================
   PRINT – SPEISEKARTE
   ============================================================ */
@media print {
    .menu-filter-bar { display: none; }
    .page-hero { padding: 2rem 0; margin-top: 0; }
    .menu-item:hover {
        background: transparent;
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }
}

/* ============================================================
   UTILITY CLASSES (replaces remaining inline styles)
   ============================================================ */

/* Portion / quantity note inside menu item name */
.menu-item-qty {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Drinks sub-section headings (Softdrinks, Bier, Heißgetränke) */
.drinks-subheading {
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.drinks-subheading i {
    color: var(--logo-red);
    margin-right: 0.5rem;
}

/* Drinks menu-list with bottom spacing */
.menu-list-spaced {
    margin-bottom: 2rem;
}

/* Legal pages – operator warning text */
.legal-warning {
    color: #8B1A1A;
}

/* Legal pages – last-updated note */
.legal-meta {
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Footer reservation link spacing */
.footer-reserve-link {
    margin-top: 0.5rem;
}

/* Allergen & Additives Info */
.allergy-info {
    font-size: 0.7em;
    color: var(--text-muted);
    margin-left: 4px;
    font-weight: normal;
}

.allergen-note {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
    font-size: 0.85em;
    color: var(--text-color);
}

.allergen-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.allergen-col {
    flex: 1 1 300px;
    line-height: 1.6;
}

.allergen-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    color: var(--text-muted);
    font-style: italic;
}
