/* =============================================
   RESTAURANT GRILLHAUS – "SCUDERIA" OVERHAUL v9.0
   Montserrat Typography, Racing Loader, Flawless Spacing
   ============================================= */

/* ---- CSS VARIABLES ---- */
:root {
  /* Carbon Core */
  --black: #000000;
  --vantablack: #040302;
  --carbon-dark: #0a0807;
  --carbon-light: #181412;

  /* Typography */
  --text-pure: #ffffff;
  --text-light: #f5f2eb;
  --text-muted: rgba(245, 242, 235, 0.65);
  --text-dim: rgba(245, 242, 235, 0.3);

  /* Accent - Racing Gold / Ember */
  --gold: #dca546;
  --gold-glow: rgba(220, 165, 70, 0.25);

  /* Structure */
  --panel-bg: linear-gradient(145deg, var(--carbon-light) 0%, var(--carbon-dark) 100%);
  --panel-aero: 32px 0 32px 0;
  /* Refined Ferrari Cut */

  /* Effects */
  --shadow-base: 0 16px 40px rgba(0, 0, 0, 0.8);
  --gold-edge: inset 0 1px 0 rgba(220, 165, 70, 0.2);
  --metal-shine: linear-gradient(180deg, #fff 0%, #d0d0d0 50%, #fff 100%);

  /* Fonts - Ultra Modern */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Speed - Race Car Response */
  --v12-speed: all 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* ---- BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased
}

body {
  font-family: var(--font-body);
  background: var(--vantablack);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--v12-speed)
}

ul {
  list-style: none
}

.hidden {
  display: none !important
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* Subtle Carbon Texture Pattern */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.01) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.01) 50%, rgba(255, 255, 255, 0.01) 75%, transparent 75%, transparent);
  background-size: 4px 4px;
  opacity: 0.4;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px
}

::-webkit-scrollbar-track {
  background: var(--black)
}

::-webkit-scrollbar-thumb {
  background: var(--carbon-light);
  border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold)
}

/* ============================================================
   RACING LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loader-line {
  width: 0%;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation: raceLine 1.2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

@keyframes raceLine {
  0% {
    width: 0%;
    left: 0
  }

  50% {
    width: 100%;
    left: 0
  }

  100% {
    width: 0%;
    left: 100%
  }
}

/* ============================================================
   STARTUP ANIMATION: IGNITION (Delayed for Loader)
   ============================================================ */
@keyframes ignitionReveal {
  0% {
    transform: scale(1.05);
    opacity: 0;
    filter: brightness(0.2)
  }

  100% {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1)
  }
}

@keyframes titleSweep {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    transform: translateX(-20px);
    opacity: 0
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateX(0);
    opacity: 1
  }
}

/* ============================================================
   NAVIGATION - SLEEK DASHBOARD
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 24px 0;
  transition: var(--v12-speed);
}

.navbar.scrolled {
  background: rgba(4, 3, 2, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(220, 165, 70, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
  transition: var(--v12-speed)
}

.navbar.scrolled .nav-logo img {
  height: 28px
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--v12-speed);
}

.nav-link:hover,
.nav-link.active-link {
  color: var(--text-pure)
}

.nav-link:hover::after,
.nav-link.active-link::after {
  transform: scaleX(1)
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-pure);
  margin: 5px 0;
  transition: var(--v12-speed)
}

.lang-switcher {
  display: flex;
  align-items: center;
  margin-left: 16px;
  background: var(--carbon-light);
  padding: 4px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05)
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  transition: var(--v12-speed);
  border-radius: 2px;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--black);
  background: var(--gold)
}

/* ============================================================
   AERODYNAMIC CTA BUTTONS (SKEWED)
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-pure);
  padding: 16px 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1;
  min-width: 180px;
}

/* The skewed aerodynamic background */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--carbon-dark);
  transform: skewX(-15deg);
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--v12-speed);
  border-radius: 4px;
}

.btn:hover::before {
  background: var(--carbon-light);
  border-color: var(--gold);
}

.btn:hover {
  color: var(--gold)
}

.btn-gold {
  color: var(--black)
}

.btn-gold::before {
  background: var(--gold);
  border: none;
  box-shadow: 0 8px 24px rgba(220, 165, 70, 0.2);
}

.btn-gold:hover::before {
  background: var(--text-pure);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  color: var(--black)
}

/* Navbar specific CTA */
.nav-cta {
  padding: 10px 24px;
  font-size: 0.7rem;
  margin-left: 16px;
  min-width: auto;
}

/* ============================================================
   SECTIONS & RHYTHM
   ============================================================ */
.section {
  padding: 96px 0;
  position: relative
}

.section-header {
  margin-bottom: 56px;
  position: relative
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  background: var(--metal-shine);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================================
   DAILY MENU (section card)
   ============================================================ */
.daily-menu-card {
  background: rgba(24, 20, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid rgba(220, 165, 70, 0.9);
  border-radius: 24px 0 24px 0;
  padding: 26px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
  max-width: 860px;
}

.daily-menu-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.daily-menu-card-text {
  font-family: var(--font-body);
  color: rgba(245, 242, 235, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 72ch;
}

.daily-menu-card-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 768px) {
  .daily-menu-card {
    padding: 20px;
  }

  .daily-menu-card-text {
    font-size: 1rem;
  }

  .daily-menu-card-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   HERO - ENGINE IGNITION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Sync with loader: 1.2s delay for ignition reveal */
  opacity: 0;
  animation: ignitionReveal 1.2s cubic-bezier(0.1, 0.9, 0.2, 1) 1.2s forwards;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroPan 20s linear infinite alternate
}

@keyframes heroPan {
  0% {
    transform: scale(1.02) translate(0, 0)
  }

  100% {
    transform: scale(1.05) translate(-1%, 1%)
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.4) 0%, rgba(4, 3, 2, 0.95) 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  text-transform: uppercase;
  opacity: 0;
  animation: titleSweep 0.5s cubic-bezier(0.1, 0.9, 0.2, 1) 1.5s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 200;
  color: var(--text-pure);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  max-width: 900px;
  margin-bottom: 40px;
  opacity: 0;
  animation: titleSweep 0.6s cubic-bezier(0.1, 0.9, 0.2, 1) 1.6s forwards;
}

.hero-title em {
  font-weight: 700;
  font-style: normal;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold)
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 56px;
  opacity: 0;
  animation: titleSweep 0.6s cubic-bezier(0.1, 0.9, 0.2, 1) 1.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: titleSweep 0.6s cubic-bezier(0.1, 0.9, 0.2, 1) 1.8s forwards;
}

/* ============================================================
   INFO BAR - RACING STRIPE
   ============================================================ */
.info-bar {
  background: var(--carbon-dark);
  padding: 24px 0;
  border-bottom: 1px solid rgba(220, 165, 70, 0.15);
}

.info-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.info-item {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-pure);
}

.info-item a:hover {
  color: var(--gold)
}

.info-divider {
  display: none
}

/* Cleaned out */

/* ============================================================
   MENU SECTION - CARBON PANELS
   ============================================================ */
.menu-section {
  background: var(--vantablack)
}

/* ============================================================
   MENU PREVIEW (homepage) spacing
   ============================================================ */
#menu-preview .menu-grid {
  margin-bottom: 56px;
}

#menu-preview .menu-preview-cta {
  margin-top: 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  #menu-preview .menu-grid {
    margin-bottom: 32px;
  }
}

/* ============================================================
   MENU PAGE HERO (desktop baseline)
   ============================================================ */
.menu-page-hero {
  padding: 180px 0 90px;
  background:
    linear-gradient(180deg, rgba(4, 3, 2, 0.92) 0%, rgba(4, 3, 2, 0.98) 100%),
    url("images/saal.jpeg") center/cover no-repeat;
  border-bottom: 1px solid rgba(220, 165, 70, 0.15);
}

.menu-page-hero .section-eyebrow {
  margin-bottom: 18px;
}

.menu-page-hero .section-title {
  max-width: 18ch;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.menu-page-hero .section-subtitle {
  max-width: 62ch;
  margin-top: 0;
  margin-bottom: 34px;
}

.menu-page-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 0;
}

.menu-page-actions .btn {
  min-width: 220px;
}

.menu-page-hero+.menu-section .order-notice {
  margin-top: 18px;
}

.order-notice {
  margin-bottom: 64px;
  padding: 24px 32px;
  background: var(--panel-bg);
  border-radius: 16px 0 16px 0;
  box-shadow: var(--shadow-base), var(--gold-edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  border-left: 4px solid var(--gold);
}

.order-notice-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6
}

.order-notice-text strong {
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-display)
}

.order-call-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-pure);
  display: block;
  line-height: 1;
  margin-top: 8px;
}

.order-call-number:hover {
  color: var(--gold)
}

.menu-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
  display: none
}

.menu-tab {
  flex-shrink: 0;
  background: var(--carbon-light);
  border: none;
  padding: 16px 32px;
  border-radius: 24px 0 24px 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--v12-speed);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-tab:hover {
  color: var(--text-pure);
  background: var(--carbon-dark);
  border-color: var(--gold)
}

.menu-tab.active {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold)
}

/* ============================================================
   MENU CONTROLS (search + compact) - MENU PAGE
   ============================================================ */
.menu-controls {
  position: sticky;
  top: 92px;
  /* navbar height approximation */
  z-index: 50;
  padding: 14px 0 10px;
  margin: 0 0 28px;
  background: linear-gradient(180deg, rgba(4, 3, 2, 0.96) 0%, rgba(4, 3, 2, 0.82) 70%, rgba(4, 3, 2, 0) 100%);
  backdrop-filter: blur(10px);
}

.menu-controls-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu-search {
  flex: 1 1 320px;
  min-width: 220px;
  display: block;
}

.menu-search input[type="search"] {
  width: 100%;
  height: 46px;
  border-radius: 14px 0 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 20, 18, 0.9);
  color: var(--text-pure);
  padding: 0 14px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.menu-search input[type="search"]::placeholder {
  color: rgba(245, 242, 235, 0.5);
}

.menu-search input[type="search"]:focus {
  border-color: rgba(220, 165, 70, 0.55);
  box-shadow: 0 0 0 4px rgba(220, 165, 70, 0.12);
}

.menu-compact-toggle {
  height: 46px;
  padding: 0 16px;
  border-radius: 14px 0 14px 0;
  border: 1px solid rgba(220, 165, 70, 0.35);
  background: rgba(4, 3, 2, 0.4);
  color: var(--text-pure);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--v12-speed);
  flex: 0 0 auto;
}

.menu-compact-toggle:hover {
  border-color: var(--gold);
  background: rgba(24, 20, 18, 0.8);
  color: var(--gold);
}

body.menu-compact .menu-compact-toggle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.menu-controls .menu-tabs {
  margin-bottom: 10px;
}

.menu-search-meta {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

/* ============================================================
   MENU LAYOUT (pro look): sidebar categories + clean list
   ============================================================ */
.menu-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.menu-sidebar {
  position: sticky;
  top: 170px;
  /* below navbar + controls */
  padding: 22px;
  border-radius: 24px 0 24px 0;
  background: rgba(24, 20, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.menu-sidebar-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.65);
  margin-bottom: 14px;
}

.menu-tabs--sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  overflow: visible;
}

.menu-tabs--sidebar .menu-tab {
  width: 100%;
  text-align: left;
  border-radius: 14px 0 14px 0;
  padding: 14px 16px;
  letter-spacing: 0.12em;
}

.menu-tabs--sidebar .menu-tab.active {
  box-shadow: 0 14px 30px rgba(220, 165, 70, 0.18);
}

.menu-main {
  min-width: 0;
}

.menu-tabs--chips {
  display: none;
  margin-bottom: 16px;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 6px;
}

.menu-tabs--chips .menu-tab {
  padding: 10px 14px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.menu-panel {
  display: none;
  animation: fastFade 0.3s cubic-bezier(0.1, 0.9, 0.2, 1)
}

.menu-panel.active {
  display: block
}

@keyframes fastFade {
  0% {
    opacity: 0;
    transform: translateY(8px)
  }

  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: rgba(24, 20, 18, 0.55);
  padding: 22px 22px;
  border-radius: 22px 0 22px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--v12-speed);
}

.menu-item:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 165, 70, 0.32);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(220, 165, 70, 0.16);
}

.menu-item-info {
  flex: 1
}

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

.menu-item-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  /* Großbuchstaben setzt script.js (ß → ẞ); kein CSS-uppercase (ß → SS). */
  text-transform: none;
  letter-spacing: 0.06em;
}

.price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
}

.menu-item-info p {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 100%
}

.menu-item-img {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 16px 0 16px 0;
  overflow: hidden;
  position: relative
}

.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--v12-speed)
}

.menu-item:hover .menu-item-img img {
  transform: scale(1.1)
}

.menu-item.is-filtered-out {
  display: none !important;
}

.tag {
  display: none;
}

/* Allergens badges (optional per dish) */
.menu-allergens {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.menu-allergens-label {
  display: none;
}

.allergen-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(220, 165, 70, 0.22);
  background: rgba(4, 3, 2, 0.55);
  color: rgba(245, 242, 235, 0.92);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  cursor: help;
  user-select: none;
}

body.menu-compact .menu-allergens {
  margin-top: 8px;
  gap: 6px;
}

.menu-item--simple .menu-allergens {
  margin-top: 6px;
}

/* Tooltip */
.allergen-tooltip {
  position: fixed;
  z-index: 5000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  max-width: min(320px, calc(100vw - 28px));
  padding: 10px 12px;
  border-radius: 14px 0 14px 0;
  border: 1px solid rgba(220, 165, 70, 0.25);
  background: rgba(10, 8, 7, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.65);
  color: rgba(245, 242, 235, 0.92);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.35;
}

.allergen-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.allergen-tooltip strong {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.78rem;
  display: block;
  margin-bottom: 6px;
}

/* Simple (name + price) items inside standard card layout */
.menu-grid--simple {
  grid-template-columns: repeat(2, 1fr);
}

.menu-item--simple {
  align-items: center;
}

.menu-item--simple .menu-item-header {
  align-items: center;
  margin-bottom: 0;
}

.menu-item--simple .menu-item-header h3 {
  font-size: 1.05rem;
}

.menu-subheading {
  grid-column: 1 / -1;
  margin: 12px 0 6px;
  padding: 18px 0 10px;
  border-bottom: 1px solid rgba(220, 165, 70, 0.18);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.85);
}

/* Drinks accordion */
.menu-drinks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drink-group {
  background: rgba(24, 20, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px 0 22px 0;
  overflow: hidden;
}

.drink-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px;
  border: 0;
  cursor: pointer;
  text-align: left;
  background: transparent;
  color: rgba(245, 242, 235, 0.92);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drink-group-toggle:hover {
  background: rgba(10, 8, 7, 0.35);
}

.drink-group-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  position: relative;
}

.drink-group-icon::before,
.drink-group-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 2px;
  background: rgba(220, 165, 70, 0.9);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.drink-group-icon::after {
  transform: rotate(90deg);
}

.drink-group-toggle[aria-expanded="true"] .drink-group-icon::after {
  opacity: 0;
}

.drink-group-content {
  padding: 0 18px 18px;
}

.drink-group-content .menu-grid {
  margin-top: 10px;
}

/* ============================================================
   COMPACT MODE (desktop + mobile)
   ============================================================ */
body.menu-compact .menu-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

body.menu-compact .menu-item {
  padding: 18px 18px;
  gap: 16px;
}

body.menu-compact .menu-item-img {
  width: 68px;
  height: 68px;
  border-radius: 14px 0 14px 0;
}

body.menu-compact .menu-item-header h3 {
  font-size: 1.05rem;
}

body.menu-compact .price {
  font-size: 1.05rem;
}

body.menu-compact .menu-item-info p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Not needed in high luxury */

.menu-category-label {
  grid-column: 1/-1;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  padding: 40px 0 16px;
  border-bottom: 1px solid rgba(220, 165, 70, 0.2);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.order-cta {
  margin-top: 64px;
  text-align: center;
  padding-top: 64px;
  border-top: 1px solid rgba(220, 165, 70, 0.1);
}

.order-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 300;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--panel-bg);
  padding: 48px 0;
  border-top: 1px solid rgba(220, 165, 70, 0.15);
  border-bottom: 1px solid rgba(220, 165, 70, 0.15);
}

.stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 64px
}

.stat-item {
  text-align: center
}

.stat-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 200;
  color: var(--text-pure);
  line-height: 1
}

.stat-plus,
.stat-percent {
  color: var(--gold);
  font-size: 2.5rem;
  vertical-align: top;
  line-height: 1;
  font-weight: 400
}

.stat-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 16px
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--vantablack)
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center
}

.about-img-frame {
  position: relative;
  width: 100%;
  padding-bottom: 120%;
  border-radius: var(--panel-aero);
  overflow: hidden;
  box-shadow: var(--shadow-base)
}

.about-img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(110%)
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  color: var(--black);
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 40px 0 40px 0;
  box-shadow: var(--shadow-base), inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.badge-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase
}

.badge-year {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin-top: 4px;
  font-weight: 600
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 0
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.feature {
  background: var(--carbon-light);
  padding: 24px;
  border-radius: var(--panel-aero);
  border-left: 4px solid var(--gold);
  transition: var(--v12-speed);
}

.feature:hover {
  background: var(--carbon-dark);
  transform: translateX(8px)
}

.feature h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300
}

/* ============================================================
   GALLERY - SHARP GRID
   ============================================================ */
.gallery-section {
  padding: 0
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 35vh;
  gap: 2px;
  background: rgba(255, 255, 255, 0.05)
}

.gallery-item {
  position: relative;
  background: var(--black);
  overflow: hidden;
  cursor: crosshair
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2
}

.gallery-wide {
  grid-column: span 2
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.6s cubic-bezier(0.1, 0.9, 0.2, 1)
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: var(--v12-speed);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1
}

.gallery-overlay p {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(16px);
  transition: translate 0.3s ease
}

.gallery-item:hover .gallery-overlay p {
  transform: translateY(0)
}

.gallery-more {
  padding: 28px 0 0;
  display: flex;
  justify-content: center;
}

/* Homepage: show only 3 images by default (mobile + desktop).
   Lightbox navigation still includes all images because they stay in the DOM. */
#gallery .gallery-grid .gallery-item:nth-child(n+4) {
  display: none;
}

.gallery-hidden {
  display: none;
}

.gallery-grid.gallery-expanded .gallery-hidden {
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.98);
  display: none;
  align-items: center;
  justify-content: center
}

.lightbox.active {
  display: flex;
  animation: fastFade 0.3s ease
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 90vh
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  color: var(--text-muted);
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--v12-speed);
}

.lightbox-close {
  top: 32px;
  right: 40px
}

.lightbox-prev {
  left: 40px;
  top: 50%;
  transform: translateY(-50%)
}

.lightbox-next {
  right: 40px;
  top: 50%;
  transform: translateY(-50%)
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold)
}

/* ============================================================
   EVENTS (Carbon Panels)
   ============================================================ */
.events-section {
  position: relative;
  background: var(--vantablack);
  padding: 80px 0
}

.events-bg {
  position: absolute;
  inset: 0
}

.events-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(100%)
}

.events-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--vantablack) 0%, rgba(4, 3, 2, 0.6) 100%)
}

.events-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center
}

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.event-card {
  background: var(--panel-bg);
  padding: 40px;
  border-radius: var(--panel-aero);
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  transition: var(--v12-speed);
}

.event-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.event-card:hover {
  transform: translateX(12px);
  border-color: rgba(220, 165, 70, 0.2)
}

.event-card:hover::before {
  transform: scaleY(1)
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text-pure)
}

.event-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300
}

/* ============================================================
   CONTACT & FOOTER
   ============================================================ */
.contact-section {
  background: var(--carbon-dark)
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 40px
}

.contact-info {
  background: var(--panel-bg);
  padding: 40px;
  border-radius: var(--panel-aero);
  border-top: 1px solid rgba(220, 165, 70, 0.2)
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 32px
}

.contact-info-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 600
}

.contact-info-item h3 {
  margin-top: 32px;
}

.contact-info-item p,
.contact-info-item a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-pure);
  line-height: 1.8;
  margin-bottom: 8px;
  display: block;
}

.contact-info-item a:hover {
  color: var(--gold)
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: var(--panel-aero);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%
}

.footer {
  background: var(--vantablack);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(220, 165, 70, 0.15)
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
  border-bottom: 1px solid rgba(220, 165, 70, 0.1);
  padding-bottom: 64px
}

.footer-brand {
  flex: 1 1 300px;
  max-width: 400px
}

.footer-links,
.footer-contact,
.footer-socials {
  flex: 1 1 200px
}

.footer-brand p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 320px
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim)
}

.footer-links h4,
.footer-contact h4,
.footer-socials h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 0.2em;
  text-transform: uppercase
}

.footer-links ul li {
  margin-bottom: 12px
}

.footer-links ul li a,
.footer-contact p,
.footer-contact a,
.footer-socials a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--v12-speed)
}

.footer-contact p {
  margin-bottom: 16px;
  line-height: 1.6
}

.footer-links ul li a:hover,
.footer-contact a:hover,
.footer-socials a:hover {
  color: var(--text-pure)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem
}

/* ============================================================
   PHONE MODAL
   ============================================================ */
.phone-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(4, 3, 2, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.phone-modal.active {
  display: flex;
  animation: fastFade 0.2s ease
}

.phone-modal-content {
  background: var(--panel-bg);
  border-radius: var(--panel-aero);
  padding: 64px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-base);
}

.phone-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  color: var(--text-muted);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--v12-speed);
}

.phone-modal-close:hover {
  color: var(--gold);
  transform: rotate(90deg)
}

.phone-modal-content h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-pure);
  margin-bottom: 16px
}

.phone-modal-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  margin: 24px 0
}

.phone-modal-hours {
  color: var(--text-dim);
  margin-bottom: 32px
}

/* ============================================================
   SCROLL ANIMATIONS - SNAPPY
   ============================================================ */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.4s cubic-bezier(0.1, 0.9, 0.2, 1)
}

[data-anim="reveal-left"] {
  transform: translateX(-24px)
}

[data-anim="reveal-right"] {
  transform: translateX(24px)
}

[data-anim].in-view {
  opacity: 1;
  transform: translate(0)
}

/* ============================================================
   RESPONSIVE DESIGN - COMPREHENSIVE MOBILE OVERHAUL
   ============================================================ */

/* Hide mobile-only elements on desktop */
.mobile-only {
  display: none !important;
}

/* -------- TABLET (<=1024px) -------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px
  }

  /* Nav */
  .nav-container {
    padding: 0 24px
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.8rem, 6vw, 4rem)
  }

  /* About */
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .about-image-wrap {
    max-width: 500px;
    margin: 0 auto
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }

  /* Menu */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .menu-layout {
    grid-template-columns: 1fr;
  }

  .menu-sidebar {
    position: relative;
    top: auto;
    order: 2;
  }

  .menu-tabs--chips {
    display: flex;
  }

  .menu-tabs--sidebar {
    display: none;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .contact-map {
    min-height: 380px
  }

  /* Events */
  .events-container {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

/* -------- MOBILE (<=768px) -------- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px
  }

  .section {
    padding: 56px 0
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem)
  }

  .section-subtitle {
    font-size: 1rem
  }

  /* Navbar - hamburger */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--vantablack);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    right: -100%;
    left: auto;
    transition: right 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
    z-index: 1999;
    display: flex;
  }

  .nav-menu.open {
    right: 0
  }

  .nav-link {
    font-size: 1.5rem;
    padding: 12px 0
  }

  .nav-toggle {
    display: block
  }

  .mobile-only {
    display: block !important
  }

  .lang-switcher {
    margin-left: 0
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.5rem, 9vw, 4rem);
    line-height: 1.1
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 8px
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px
  }

  .hero-actions .btn {
    width: min(280px, 100%)
  }

  .hero-content {
    padding: 0 16px
  }

  /* Quick info bar */
  .info-bar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }

  .info-divider {
    display: none
  }

  /* Stats row */
  .stats-row,
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center
  }



  /* About */
  .about-container {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .about-image-wrap {
    max-width: 100%
  }

  .about-img-frame {
    padding-bottom: 70%
  }

  .about-features {
    grid-template-columns: 1fr
  }

  .about-img-badge {
    bottom: -16px;
    right: 16px
  }

  /* Menu */
  .menu-grid {
    grid-template-columns: 1fr
  }

  .menu-tabs {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center
  }

  .menu-tab {
    font-size: 0.7rem;
    padding: 10px 18px
  }

  .menu-controls {
    top: 78px;
    margin-bottom: 18px;
    padding-top: 10px;
  }

  .menu-controls-row {
    gap: 10px;
  }

  .menu-search {
    flex: 1 1 100%;
    min-width: 0;
  }

  .menu-compact-toggle {
    width: 100%;
  }

  /* Compact mode makes the menu much shorter on mobile */
  body.menu-compact .menu-item {
    padding: 18px;
    gap: 14px;
    border-radius: 22px 0 22px 0;
  }

  body.menu-compact .menu-item-img {
    display: none;
  }

  body.menu-compact .menu-item-header h3 {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  body.menu-compact .menu-item-info p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
  }

  .menu-layout {
    gap: 18px;
  }

  .menu-sidebar {
    display: none;
  }

  .menu-tabs--chips {
    display: flex;
    justify-content: flex-start;
  }

  .menu-item {
    padding: 18px;
  }

  .menu-grid--simple {
    grid-template-columns: 1fr;
  }

  .menu-subheading {
    font-size: 1.1rem;
    padding-top: 14px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px
  }

  .gallery-large,
  .gallery-wide {
    grid-column: 1 / -1
  }

  /* Events */
  .events-container {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .event-image {
    height: 240px
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .contact-map {
    min-height: 320px
  }

  .contact-info-items {
    gap: 24px
  }

  /* Mayor section */
  .mayor-spotlight {
    flex-direction: column;
    text-align: center;
    padding: 28px
  }

  /* Reviews */
  .review-card {
    padding: 24px
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px
  }

  .footer-grid {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 40px;
    overflow-x: unset;
  }

  .footer-brand {
    flex: 1 1 auto;
    max-width: 100%;
    text-align: center
  }

  .footer-brand .footer-logo {
    margin: 0 auto;
    display: block
  }

  .footer-links,
  .footer-contact,
  .footer-socials {
    flex: 1 1 auto
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center
  }

  /* Modals */
  .phone-modal-content {
    padding: 40px 24px
  }

  .phone-modal-number {
    font-size: 2.2rem
  }
}

/* -------- SMALL MOBILE (<=480px) -------- */
@media (max-width: 480px) {
  .section {
    padding: 48px 0
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem)
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem)
  }

  .hero-eyebrow {
    font-size: 0.65rem
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .gallery-large,
  .gallery-wide {
    grid-column: 1
  }

  /* Menu */
  .menu-card {
    padding: 20px
  }

  /* Events */
  .event-image {
    height: 180px
  }

  /* Reviews */
  .review-card {
    padding: 20px
  }

  /* Order notice */
  .order-notice {
    padding: 20px;
    border-radius: 16px 0 16px 0
  }

  .order-call-number {
    font-size: 1.6rem
  }

  /* Footer links row */
  .footer-bottom>div {
    flex-direction: column;
    gap: 12px
  }

  /* Mayor portrait */
  #mayor .section-title {
    font-size: 2rem
  }

  #mayor p {
    font-size: 1.1rem
  }
}

/* ============================================================
   MOBILE INLINE-STYLE OVERRIDE BLOCK (must be last)
   Forces inline-style-heavy sections to respect breakpoints.
   ============================================================ */

@media (max-width: 768px) {

  /* 1. OVERFLOW GUARD - do NOT apply to footer as it clips Impressum/Datenschutz */
  section,
  header,
  main {
    overflow-x: hidden !important;
  }

  footer {
    overflow: visible !important;
  }

  /* Footer grid row - remove bottom border (the persistent line above socials) */
  .footer-grid {
    border-bottom: none !important;
    margin-bottom: 24px !important;
    padding-bottom: 24px !important;
  }

  /* 2. Footer bottom row - force column so Impressum buttons are visible */
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center !important;
    padding-bottom: 16px !important;
    border-top: none !important;
  }

  /* 3. Menu phone number - allow wrapping so it doesn't clip */
  .order-notice a[href^="tel"] {
    white-space: normal !important;
    font-size: 1.3rem !important;
    word-break: break-all !important;
  }

  .order-notice {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* 4. Stats / info numbers section */
  .hero-stats,
  .stats-row,
  [style*="display:flex"][style*="gap"][style*="justify-content"] {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;
  }

  /* Mayor */
  #mayor>.container {
    max-width: 100% !important;
    padding: 0 20px !important;
  }

  #mayor h2.section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    margin-bottom: 16px !important;
  }

  #mayor p {
    font-size: clamp(1rem, 4vw, 1.2rem) !important;
    line-height: 1.7 !important;
    padding: 0 !important;
  }

  #mayor strong {
    font-size: 0.82rem !important;
    letter-spacing: 0.1em !important;
  }

  #mayor img {
    width: 120px !important;
    height: 120px !important;
  }

  /* 5. Reviews grid override (uses inline grid style) */
  #reviews .container>div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Events - force single column on any inline grid */
  [style*="repeat(auto-fit"],
  [style*="repeat(auto-fill"] {
    grid-template-columns: 1fr !important;
  }

  /* Section headings set inline */
  h2[style*="font-size:3rem"],
  h2[style*="font-size: 3rem"] {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
  }

  /* About section image and text padding */
  .about-img-frame {
    max-height: 320px !important;
  }

  .about-container {
    gap: 24px !important;
  }

  .about-text,
  .about-features {
    padding: 0 20px !important;
  }

  /* Gallery - prevent last items from orphaning */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 240px !important;
    gap: 8px !important;
  }

  .gallery-item {
    grid-column: 1 !important;
    grid-row: auto !important;
    border-radius: 8px !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Navbar */
  .nav-logo img {
    height: 44px !important;
    width: auto !important;
  }

  /* Stat numbers */
  .stats-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 32px 16px !important;
  }

  .stat-num {
    font-size: 2.5rem !important;
    line-height: 1 !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
  }

  .stat-plus,
  .stat-percent {
    font-size: 1.5rem !important;
    vertical-align: super !important;
  }

  .stat-label {
    font-size: 0.8rem !important;
    letter-spacing: 0.1em !important;
  }

  /* ============================================================
   MENU PREVIEW + STANDALONE MENU PAGE
   ============================================================ */

  .menu-preview-cta {
    margin-top: 96px;
    display: flex;
    justify-content: center;
  }

  .menu-page-hero {
    padding: 180px 0 80px;
    background:
      linear-gradient(180deg, rgba(4, 3, 2, 0.92) 0%, rgba(4, 3, 2, 0.98) 100%),
      url("images/saal.jpeg") center/cover no-repeat;
    border-bottom: 1px solid rgba(220, 165, 70, 0.15);
  }

  /* Hero spacing polish (menu page) */
  .menu-page-hero .section-eyebrow {
    margin-bottom: 18px;
  }

  .menu-page-hero .section-title {
    max-width: 18ch;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
  }

  .menu-page-hero .section-subtitle {
    max-width: 62ch;
    margin-top: 0;
    margin-bottom: 34px;
  }

  .menu-page-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0;
  }

  .menu-page-actions .btn {
    min-width: 220px;
  }

  /* give hero and first panel breathing room */
  .menu-page-hero+.menu-section .order-notice {
    margin-top: 18px;
  }

  .btn-outline-like {
    color: var(--text-pure);
  }

  .btn-outline-like::before {
    background: transparent;
    border: 1px solid rgba(220, 165, 70, 0.35);
  }

  .btn-outline-like:hover::before {
    background: var(--carbon-light);
    border-color: var(--gold);
  }

  .menu-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 40px;
  }

  .menu-grid {
    margin-bottom: 40px;
  }

  .menu-item-simple {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    background: var(--panel-bg);
    padding: 20px 24px;
    border-radius: 18px 0 18px 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    font-family: var(--font-body);
  }

  @media (max-width: 768px) {
    .menu-page-hero {
      padding: 140px 0 60px;
    }

    .menu-page-hero .section-title {
      max-width: 20ch;
      margin-bottom: 16px;
    }

    .menu-page-hero .section-subtitle {
      margin-bottom: 22px;
    }

    .menu-page-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .menu-page-actions .btn {
      width: 100%;
    }

    .menu-grid-simple {
      grid-template-columns: 1fr;
    }
  }

  .stat-item {
    padding: 0 !important;
    width: 45% !important;
    min-width: 130px !important;
    text-align: center !important;
  }

  .stat-divider {
    display: none !important;
  }

  /* 2026 Image removal */
  .about-image-wrap {
    display: none !important;
  }
}

@media (max-width: 480px) {

  /* Mayor */
  #mayor h2.section-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }

  #mayor p {
    font-size: 0.98rem !important;
  }

  #mayor img {
    width: 96px !important;
    height: 96px !important;
  }

  /* Any h2 with oversized inline font-size */
  h2[style*="font-size"],
  h1[style*="font-size"] {
    font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
    line-height: 1.15 !important;
  }

  /* Buttons */
  .btn {
    max-width: 100% !important;
    white-space: normal !important;
  }

  /* Gallery images */
  .gallery-item img {
    max-height: 220px !important;
  }

  /* Modals */
  #impressumModal>div,
  #datenschutzModal>div {
    padding: 28px 16px !important;
    border-radius: 16px 0 16px 0 !important;
  }

  #impressumModal h2,
  #datenschutzModal h2 {
    font-size: 1.4rem !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    padding-right: 24px !important;
  }

  #impressumModal button,
  #datenschutzModal button {
    top: 16px !important;
    right: 16px !important;
    font-size: 1.5rem !important;
  }

  /* Footer social row */
  .footer-socials ul {
    flex-wrap: wrap !important;
    gap: 20px !important;
  }

  /* Menu item header wrap to stop horizontal overflow */
  .menu-item-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .menu-item-header h3 {
    font-size: 1.1rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }
}