/*
Theme Name:   Divi Child – Civico45
Description:  Child theme for Divi – Civico45 Restaurant
Author:       CRM SYNERGY
Template:     Divi
Version:      1.0.0
*/

/* Fonts werden über css/font.css des Child-Themes eingebunden */

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

:root {
  --ink:       #0f0f0f;
  --ink-soft:  #1c1c1c;
  --surface:   #f8f6f2;
  --white:     #ffffff;
  --gold:      #b8943c;
  --gold-dim:  rgba(184,148,60,.15);
  --muted:     #8a8580;
  --border:    rgba(15,15,15,.08);
  --border-strong: rgba(15,15,15,.16);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--surface);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── CURSOR DOT (desktop only) ── */
.cursor {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); position: fixed; pointer-events: none;
  z-index: 9999; transform: translate(-50%, -50%);
  transition: transform .1s, width .3s, height .3s, background .3s;
  mix-blend-mode: multiply;
  display: none;
}
@media (hover: hover) { .cursor { display: block; } }
.cursor.expand { width: 40px; height: 40px; background: var(--gold-dim); }

/* ── DIVI: Standard-Header ausblenden + Stacking Contexts neutralisieren ── */
#main-header { display: none !important; }
#main-footer { display: none !important; }
.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_module,
.et_pb_code,
.et_pb_code_inner {
  z-index: auto !important;
  transform: none !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.et_pb_section { background: transparent !important; }
#page-container { padding-top: 0 !important; overflow-x: clip; }
.et_builder_inner_content { padding: 0 !important; margin: 0 !important; }

/* ── NAV ── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 3rem; height: 68px;
  background: transparent;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#main-nav::before {
  content: ''; position: absolute; inset: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.32) 0%, transparent 100%);
  pointer-events: none; z-index: -1;
  transition: opacity .4s;
}
#main-nav.solid::before { opacity: 0; }
#main-nav.solid {
  background: rgba(248,246,242,.97);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav-wordmark { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 28px; width: auto; transition: filter .4s; }
#main-nav.solid .nav-logo-img { filter: invert(1); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; list-style: none; }
.nav-links a {
  font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.85); text-decoration: none;
  transition: color .4s; font-weight: 400;
}
#main-nav.solid .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--gold); }
.nav-reserve {
  font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  padding: .55rem 1.4rem; border: 1px solid var(--gold);
  color: var(--gold) !important; text-decoration: none;
  transition: all .3s cubic-bezier(.16,1,.3,1) !important;
}
.nav-reserve:hover { background: var(--gold); color: var(--ink) !important; box-shadow: 0 4px 16px rgba(184,148,60,.2); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  height: 100vh; min-height: 700px;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-left {
  background: var(--ink-soft);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 7rem 4rem 5rem;
  position: relative; z-index: 2;
}
.hero-right { position: relative; overflow: hidden; }
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(28,28,28,.4) 0%, transparent 60%);
}
.hero-tag {
  font-size: .65rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem; font-weight: 500;
}
.hero h1 { margin-bottom: 1.8rem; line-height: 1; }
.hero-logo-img { width: clamp(180px, 28vw, 300px); height: auto; }
.hero-subtitle {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem; font-weight: 400;
}
.hero-desc {
  font-size: 1rem; color: rgba(255,255,255,.7);
  max-width: 400px; margin-bottom: 3rem; line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; }
.btn-primary {
  font-size: .7rem; letter-spacing: 2.5px; text-transform: uppercase;
  padding: .85rem 2rem; background: var(--gold); color: var(--ink);
  text-decoration: none; font-weight: 500;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 2px 12px rgba(184,148,60,.0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,148,60,.2); }
.btn-primary:active { transform: translateY(0) scale(.97); }
.btn-ghost {
  font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.5); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 2px; transition: all .3s cubic-bezier(.16,1,.3,1);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; right: 3rem;
  font-size: .65rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.4); writing-mode: vertical-rl;
  display: flex; align-items: center; gap: .8rem; z-index: 3;
}
.hero-scroll::before {
  content: ''; width: 1px; height: 60px; background: rgba(255,255,255,.2);
}

/* ── TICKER ── */
.ticker {
  background: var(--ink); overflow: hidden;
  padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.05);
}
.ticker-track {
  display: flex; gap: 4rem; width: max-content;
  animation: ticker 20s linear infinite;
}
.ticker-item {
  font-size: .65rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 1.5rem;
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; box-shadow: 0 0 6px rgba(184,148,60,.4); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── SECTION SHELL ── */
section { padding: 8rem 3rem; }
.container { max-width: 1140px; margin: 0 auto; }
.eyebrow {
  font-size: .78rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: .8rem;
}
.serif-heading { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.1; }

/* ── ABOUT ── */
#about { background: var(--white); }
.about-layout {
  display: grid; grid-template-columns: 5fr 7fr; gap: 7rem; align-items: start;
}
.about-sticky { position: sticky; top: 120px; }
.about-sticky h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.about-sticky h2 em { font-style: italic; color: var(--gold); }
.about-sticky p { color: var(--muted); font-size: 1rem; line-height: 1.9; margin-bottom: 1rem; }
.about-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border-strong);
  padding-bottom: 3px; margin-top: 1.5rem; transition: all .3s cubic-bezier(.16,1,.3,1);
}
.about-link:hover { color: var(--gold); border-color: var(--gold); gap: 1rem; }
.about-link::after { content: '→'; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.about-link:hover::after { transform: translateX(6px); }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about-img { overflow: hidden; border-radius: 4px; box-shadow: 0 8px 32px rgba(15,15,15,.06); }
.about-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); display: block; }
.about-img:hover img { transform: scale(1.04); }
.about-img::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); pointer-events: none; border-radius: inherit; }
.about-img.tall { grid-column: span 2; }
.about-img.tall img { aspect-ratio: 16/7; }
.about-stat {
  grid-column: span 2; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); padding-top: 2rem; gap: 2rem;
}
.stat-num {
  font-family: 'Playfair Display', serif; font-size: 2.5rem;
  color: var(--ink); line-height: 1;
  text-shadow: 0 0 40px rgba(184,148,60,.0); transition: text-shadow .5s;
}
.stat-num em { font-style: italic; color: var(--gold); font-size: 1.8rem; }
.stat-label { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }

/* ── MENU ── */
#menu { background: var(--ink-soft); color: var(--white); }
#menu .eyebrow { color: var(--gold); }
.menu-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: end; margin-bottom: 4rem;
}
.menu-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--white); }
.menu-header p { color: rgba(255,255,255,.65); font-size: 1rem; line-height: 1.8; }
.menu-tabs {
  display: flex; gap: 0; margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  justify-content: flex-start;
}
.tab {
  font-size: .8rem; letter-spacing: 2.5px; text-transform: uppercase;
  padding: .8rem 2rem; background: none; border: none;
  color: rgba(255,255,255,.55); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-family: 'Outfit', sans-serif; transition: color .2s, border-color .2s;
}
.tab:hover { color: rgba(255,255,255,.7); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; }
.menu-entry {
  display: grid; grid-template-columns: 1fr auto;
  padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  align-items: start; gap: 2rem;
  transition: padding-left .3s cubic-bezier(.16,1,.3,1);
}
.menu-entry:hover { padding-left: .5rem; }
.menu-entry:hover .entry-name { color: var(--gold); }
.entry-name { transition: color .3s cubic-bezier(.16,1,.3,1); }
.menu-entry:nth-child(odd) { padding-right: 3rem; }
.menu-entry:nth-child(even) { padding-left: 3rem; border-left: 1px solid rgba(255,255,255,.06); }
.entry-name { font-size: 1.05rem; color: var(--white); margin-bottom: .3rem; font-weight: 400; }
.entry-desc { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.entry-price { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--gold); white-space: nowrap; }

/* ── GALLERY ── */
#gallery { padding: 0; background: var(--surface); }
.gallery-bento {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  grid-template-rows: 380px 280px;
}
.g-cell { overflow: hidden; position: relative; cursor: pointer; transition: box-shadow .4s cubic-bezier(.16,1,.3,1); }
.g-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1), filter .5s; display: block; }
.g-cell:hover img { transform: scale(1.06); }
.g-cell:hover { box-shadow: inset 0 0 60px rgba(184,148,60,.08); }
.g-cell:first-child { grid-row: span 2; }
.g-label-wrap {
  position: absolute; inset: 0; display: flex;
  align-items: flex-end; padding: 1.5rem;
  background: linear-gradient(transparent 55%, rgba(15,15,15,.5));
  opacity: 1;
  transition: background .35s;
}
.g-cell:hover .g-label-wrap { background: linear-gradient(transparent 40%, rgba(15,15,15,.7)); }
.g-label { font-size: .65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--white); }

/* ── APERITIVO ── */
#aperitivo { background: var(--ink); position: relative; overflow: hidden; }
#aperitivo::before {
  content: ''; position: absolute;
  top: -40%; left: 40%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,148,60,.08) 0%, transparent 70%);
  pointer-events: none;
}
.aperitivo-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center;
}
.aperitivo-text h2 { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--white); margin-bottom: 1.5rem; }
.aperitivo-text h2 em { font-style: italic; color: var(--gold); }
.aperitivo-text p { color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.9; margin-bottom: 2.5rem; }
.aperitivo-time {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: .82rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(184,148,60,.3); padding: .7rem 1.4rem;
}
.aperitivo-time::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.aperitivo-items { display: flex; flex-direction: column; }
.ap-item {
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.8rem; align-items: start; padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: padding-left .3s cubic-bezier(.16,1,.3,1);
}
.ap-item:hover { padding-left: .5rem; }
.ap-item:hover .ap-num { color: rgba(184,148,60,.7); }
.ap-num { transition: color .3s cubic-bezier(.16,1,.3,1); }
.ap-item:first-child { border-top: 1px solid rgba(255,255,255,.06); }
.ap-num {
  font-family: 'Playfair Display', serif; font-size: 2rem;
  color: rgba(184,148,60,.5); line-height: 1; min-width: 2.5rem;
}
.ap-content h4 { color: var(--white); font-size: 1rem; font-weight: 400; margin-bottom: .5rem; }
.ap-content p { color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.7; }

/* ── CONTACT ── */
#contact { background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start; }
.contact-reserve {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 3.5rem 2.5rem; background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15,15,15,.04), inset 0 1px 0 rgba(255,255,255,.8);
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 2rem; }
.contact-info h2 em { font-style: italic; color: var(--gold); }
.hours-block { margin-bottom: 2.5rem; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: .7rem 0; border-bottom: 1px solid var(--border); font-size: .85rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--muted); }
.hours-row span:last-child { font-weight: 500; }
.contact-detail { display: flex; flex-direction: column; gap: .6rem; }
.contact-detail a {
  font-size: .85rem; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--border); padding-bottom: 2px;
  width: fit-content; transition: color .2s, border-color .2s;
}
.contact-detail a:hover { color: var(--gold); border-color: var(--gold); }
.contact-detail p { font-size: .85rem; color: var(--muted); }
.form-wrap { background: var(--white); padding: 3rem; border: 1px solid var(--border); }
.form-wrap h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: span 2; }
.form-field label { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field textarea, .form-field select {
  padding: .75rem 1rem; border: 1px solid var(--border-strong);
  font-size: .88rem; font-family: 'Outfit', sans-serif;
  color: var(--ink); background: var(--surface);
  transition: border-color .2s; outline: none; border-radius: 0; appearance: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--gold); }
.form-field textarea { height: 90px; resize: none; }
.form-submit {
  margin-top: 1.5rem; width: 100%; padding: 1rem;
  background: var(--ink); color: var(--white); border: none;
  font-family: 'Outfit', sans-serif; font-size: .7rem;
  letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: var(--gold); }

/* ── FOOTER ── */
footer { background: var(--ink); color: rgba(255,255,255,.3); }
.footer-top {
  padding: 5rem 3rem 4rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
  max-width: 1140px; margin: 0 auto;
}
.footer-brand .wordmark { margin-bottom: 1rem; display: block; }
.footer-logo-img { height: 32px; width: auto; }
.footer-brand p { font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.5); }
.footer-col h4 {
  font-size: .62rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 1.4rem;
}
.footer-col a, .footer-col p {
  display: block; font-size: .9rem; color: rgba(255,255,255,.5);
  text-decoration: none; margin-bottom: .6rem; transition: color .3s cubic-bezier(.16,1,.3,1);
}
.footer-col a:hover { color: var(--gold); letter-spacing: .5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 1.5rem 3rem; max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .72rem; letter-spacing: 1px;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }
.social-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-row a img { height: 18px; filter: invert(1) brightness(.4); transition: filter .2s; }
.social-row a:hover img { filter: invert(1) brightness(.8); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px 8px; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5.5px;
  z-index: 999999; margin-left: auto; line-height: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,.9);
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s, background .4s, width .3s;
}
.nav-hamburger span:nth-child(2) { width: 16px; }
.nav-hamburger:hover span { width: 22px; }
#main-nav.solid .nav-hamburger span { background: var(--ink); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .4s cubic-bezier(.16,1,.3,1), visibility .4s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; visibility: visible; }
.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 400; font-style: italic;
  color: rgba(255,255,255,.55); text-decoration: none;
  padding: .75rem 2rem; display: block; text-align: center;
  opacity: 0; transform: translateY(16px);
  transition: color .2s, opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
}
.mobile-nav.open .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-nav.open .mobile-nav-link:nth-of-type(1) { transition-delay: .05s; }
.mobile-nav.open .mobile-nav-link:nth-of-type(2) { transition-delay: .10s; }
.mobile-nav.open .mobile-nav-link:nth-of-type(3) { transition-delay: .15s; }
.mobile-nav.open .mobile-nav-link:nth-of-type(4) { transition-delay: .20s; }
.mobile-nav.open .mobile-nav-link:nth-of-type(5) { transition-delay: .25s; }
.mobile-nav-link:hover { color: var(--gold); }
.mobile-nav-link.reserve {
  font-family: 'Outfit', sans-serif; font-style: normal;
  font-size: .72rem; letter-spacing: 3px; text-transform: uppercase;
  border: 1px solid rgba(184,148,60,.5); color: var(--gold);
  padding: .75rem 2.2rem; margin-top: 1.5rem;
}
.mobile-nav-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: none; border: 1px solid rgba(184,148,60,.35);
  border-radius: 4px; padding: .6rem 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gold);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .4s .15s, transform .4s .15s cubic-bezier(.16,1,.3,1), background .2s;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav.open .mobile-nav-close {
  opacity: 1; transform: translateY(0);
}
.mobile-nav-close:active { background: rgba(184,148,60,.15); }
.mobile-nav-divider {
  width: 30px; height: 1px; background: rgba(255,255,255,.08); margin: .5rem auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  #main-nav { padding: 0 1.25rem; background: rgba(248,246,242,.97); backdrop-filter: blur(12px); border-bottom: none; box-shadow: 0 1px 0 var(--border); }
  #main-nav::before { display: none; }
  #main-nav .nav-logo-img { filter: invert(1); }
  #main-nav .nav-hamburger span { background: var(--ink); }
  .cursor { display: none !important; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: 100svh; height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 0 1.5rem; justify-content: center; min-height: 100svh; }
  .hero-tag { margin-bottom: 1rem; }
  .hero h1 { margin-bottom: 1rem; }
  .hero-desc { margin-bottom: 1.5rem; font-size: .92rem; line-height: 1.7; }
  .hero-scroll { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-sticky { position: static; }
  .about-images { grid-template-columns: 1fr 1fr; }
  .about-img.tall { grid-column: span 2; }
  .menu-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-entry:nth-child(odd)  { padding-right: 0; }
  .menu-entry:nth-child(even) { padding-left: 0; border-left: none; }
  .gallery-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .g-cell { aspect-ratio: 4/3; }
  .g-cell:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16/9; }
  .g-cell img { height: 100%; }
  .aperitivo-split { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-reserve { align-items: flex-start; text-align: left; padding: 2rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  section { padding: 5rem 1.5rem; }
  .tab { padding: .7rem 1.2rem; font-size: .65rem; }
}

@media (max-width: 600px) {
  #main-nav { padding: 0 1rem; }
  .hero-left { padding: 0 1.25rem; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3rem); }
  .hero-tag { margin-bottom: .8rem; font-size: .58rem; }
  .hero-desc { margin-bottom: 1.25rem; font-size: .88rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .btn-primary { width: 100%; text-align: center; padding: 1rem 1.5rem; }
  .about-images { grid-template-columns: 1fr; }
  .about-img.tall { grid-column: auto; }
  .about-stat { grid-template-columns: 1fr 1fr; padding-top: 1.5rem; }
  .menu-tabs { flex-wrap: wrap; }
  .tab { text-align: left; padding: .7rem 1.5rem .7rem 0; }
  .gallery-bento { grid-template-columns: 1fr; }
  .g-cell { aspect-ratio: 4/3; }
  .g-cell:first-child { grid-column: auto; aspect-ratio: 3/2; }
  .ap-item { gap: 1.2rem; }
  .ap-num { font-size: 1.5rem; min-width: 2rem; }
  .aperitivo-time { font-size: .65rem; padding: .6rem 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .form-wrap { padding: 2rem 1.25rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 1.25rem 3rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; padding: 1.25rem 1rem; }
  section { padding: 4rem 1.25rem; }
  .contact-info h2 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .hours-row { font-size: .82rem; }
}

@media (max-width: 400px) {
  .hero-left { padding: 0 1rem; }
  .hero h1 { font-size: clamp(2rem, 11vw, 2.6rem); }
  .hero-desc { font-size: .85rem; margin-bottom: 1rem; }
  .hero-tag { font-size: .6rem; letter-spacing: 3px; }
  .stat-num { font-size: 2rem; }
  section { padding: 3.5rem 1rem; }
  .about-stat { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.5rem 1rem; }
}

/* ── TOUCH: disable cursor + hover-heavy effects ── */
@media (hover: none) {
  .cursor { display: none; }
  .g-cell { transform: none !important; }
  .g-label-wrap { opacity: 1; }
  .about-img:hover img { transform: none; }
  .btn-primary:hover { transform: none; }
}

/* ── SAFE AREA (notch / home indicator) ── */
@supports (padding: env(safe-area-inset-bottom)) {
  footer { padding-bottom: env(safe-area-inset-bottom); }
  #main-nav { padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
}

/* ── HERO WORD REVEAL ── */
.word-wrap { overflow: hidden; display: inline-block; }
.word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .6s ease;
}
.word.in { transform: translateY(0); opacity: 1; }

/* ── MENU ENTRY HOVER BAR ── */
.menu-entry { position: relative; }
.menu-entry::before {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s cubic-bezier(.16,1,.3,1);
}
.menu-entry:nth-child(even)::before { left: 3rem; }
.menu-entry:hover::before { width: 100%; }

/* ── GALLERY TILT ── */
.g-cell { transform-style: preserve-3d; }
.g-cell img { will-change: transform; }

/* ── MAGNETIC BUTTON ── */
.btn-primary { will-change: transform; }

/* ── STAT COUNTER ── */
.stat-num { transition: color .3s; }

/* ── APERITIVO FLOAT ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.aperitivo-time { animation: float 4s ease-in-out infinite; }

/* ── HERO PARALLAX ── */
.hero-right img { will-change: transform; }

/* ── DIVI: Reveal-Animationen deaktiviert ── */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
