/* =========================================================
   Trevi Ristorante Pizzeria — Global Stylesheet
   Palette: deep magenta-red, warm gold, cream, midnight
   ========================================================= */

:root {
  /* Trevi brand book colors — sampled from the official Speisekarte PDF */
  --c-magenta: #b6193c;          /* exact banner / title red from brand book */
  --c-magenta-deep: #8e1130;     /* darker variant for hover / shadow */
  --c-magenta-soft: #d14869;     /* lighter variant for accents / shimmer */
  --c-magenta-pale: #faf3f3;     /* pale pink watermark tint from brand book */
  --c-gold: #c9a961;
  --c-gold-soft: #e6cf94;
  --c-cream: #f8efe9;            /* paper card surface — leans into watermark pink */
  --c-cream-warm: #f2e2dc;       /* warmer accent surface — payment notice etc. */
  --c-ink: #1c0d10;              /* deep ink with a faint magenta undertone */
  --c-ink-soft: #3a1f24;
  --c-paper: #fbf3f0;            /* brightest card paper — matches PDF page tone */
  --c-line: rgba(28, 13, 16, 0.15);

  --font-script: "Pinyon Script", "Italianno", cursive;
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Cormorant SC", "Cinzel", serif;

  --shadow-card: 0 30px 60px -25px rgba(0, 0, 0, 0.55), 0 8px 20px -10px rgba(0, 0, 0, 0.35);
  --radius-card: 4px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-ink);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;        /* kill any rogue horizontal scroll */
  overscroll-behavior-x: none; /* don't bounce sideways on iOS */
  width: 100%;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Background canvas (painterly dark) ---------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(182, 25, 60, 0.42), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(201, 169, 97, 0.22), transparent 55%),
    linear-gradient(135deg, #1a0810 0%, #2c1018 45%, #18070d 100%);
}
.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("Brand_assets/photos/trevi-fountain.png");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: saturate(0.75) contrast(1.1);
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.65) 100%);
}

/* ---------- Top navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 10, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  font-family: var(--font-script);
  font-size: 38px;
  color: var(--c-cream);
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
}
.nav-brand small {
  display: block;
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--c-gold);
  margin-top: 4px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--c-cream);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--c-gold-soft);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}
.nav-left { justify-self: start; }
.nav-right { justify-self: end; }
.nav-phone {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--c-gold-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--c-gold);
  color: var(--c-cream);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  padding: 8px 14px;
  cursor: pointer;
}

/* ---------- Card / panel ---------- */
.panel {
  background: var(--c-paper);
  border: 1px solid rgba(201, 169, 97, 0.35);
  box-shadow: var(--shadow-card);
  position: relative;
}
.panel-mark {
  position: absolute;
  top: 18px;
  left: 24px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--c-ink-soft);
  opacity: 0.5;
}
.panel-mark.right { left: auto; right: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--c-magenta);
  background: var(--c-magenta);
  color: var(--c-cream);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn:hover {
  background: var(--c-magenta-deep);
  border-color: var(--c-gold);
  color: var(--c-gold-soft);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-ghost:hover {
  background: var(--c-ink);
  color: var(--c-cream);
}
.btn-gold {
  background: transparent;
  border-color: var(--c-gold);
  color: var(--c-gold-soft);
}
.btn-gold:hover {
  background: var(--c-gold);
  color: var(--c-ink);
  border-color: var(--c-gold);
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 95px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  position: relative;
}
.hero-grid {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;
}
.hero-card {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--c-magenta);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: "—";
  margin: 0 12px;
  color: var(--c-gold);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1;
  letter-spacing: 4px;
  margin: 0 0 8px;
  text-transform: uppercase;
  color: var(--c-ink);
}
.hero-script {
  font-family: var(--font-script);
  font-size: clamp(56px, 7vw, 92px);
  color: var(--c-magenta);
  line-height: 1;
  margin: -8px 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.hero-script::before, .hero-script::after {
  content: "❦";
  color: var(--c-gold);
  font-size: 24px;
  font-family: serif;
}
.hero-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  max-width: 520px;
  margin: 0 auto 16px;
}
.hero-signature {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--c-magenta);
  margin: 12px 0 32px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  background-size: cover;
  background-position: center;
  border-radius: 240px 240px 12px 12px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  box-shadow: var(--shadow-card);
  min-height: 540px;
  position: relative;
  overflow: hidden;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,8,6,0.5));
}

/* ---------- Section blocks ---------- */
.section {
  padding: 100px 32px;
  position: relative;
}
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--c-gold);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--c-cream);
  margin: 0 0 12px;
  font-weight: 500;
}
.section-script {
  font-family: var(--font-script);
  font-size: clamp(42px, 5vw, 64px);
  color: var(--c-gold-soft);
  text-align: center;
  margin: -10px 0 40px;
}
.section-divider {
  display: block;
  margin: 0 auto 60px;
  width: 80px;
  height: 1px;
  background: var(--c-gold);
  position: relative;
}
.section-divider::before, .section-divider::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--c-gold);
  border-radius: 50%;
}
.section-divider::before { left: -10px; }
.section-divider::after { right: -10px; }

/* ---------- Two-column intro ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-img {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(201, 169, 97, 0.4);
  box-shadow: var(--shadow-card);
}
.split-content h3 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-cream);
  margin: 0 0 12px;
}
.split-content .script-accent {
  font-family: var(--font-script);
  font-size: 48px;
  color: var(--c-gold-soft);
  display: block;
  margin: -8px 0 20px;
}
.split-content p {
  color: rgba(246, 239, 227, 0.85);
  font-size: 17px;
  line-height: 1.85;
}

/* ---------- Welcome strip ---------- */
.payment-notice {
  background: var(--c-cream-warm);
  border: 1px solid var(--c-gold);
  padding: 22px 28px;
  max-width: 720px;
  margin: 60px auto 0;
  text-align: center;
  font-family: var(--font-body);
  color: var(--c-ink);
  font-size: 16px;
  font-style: italic;
  position: relative;
}
.payment-notice::before {
  content: "Liebe Gäste";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-magenta);
  color: var(--c-cream);
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 3px;
  padding: 4px 16px;
  text-transform: uppercase;
}

/* ---------- Menu page ---------- */
.menu-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 60px;
  border: 1px solid rgba(201, 169, 97, 0.3);
}
.menu-hero-tile {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.menu-hero-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(20,8,6,0.6));
}
.menu-hero-tile span {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-script);
  color: var(--c-cream);
  font-size: 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.menu-section {
  background: var(--c-paper);
  border: 1px solid rgba(201, 169, 97, 0.35);
  padding: 60px 70px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}
.menu-section-head {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.menu-section-head .num {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--c-magenta);
  display: block;
  margin-bottom: 8px;
}
.menu-section-head h2 {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-ink);
  margin: 0;
  font-weight: 500;
}
.menu-section-head .it {
  font-family: var(--font-script);
  font-size: 36px;
  color: var(--c-magenta);
  display: block;
  margin: -4px 0 12px;
}
.menu-section-head p {
  color: var(--c-ink-soft);
  font-style: italic;
  max-width: 620px;
  margin: 12px auto 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 56px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px dotted rgba(31, 20, 16, 0.2);
  align-items: baseline;
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.5px;
}
.menu-item-name .alg {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--c-magenta);
  font-weight: 500;
  margin-left: 6px;
  letter-spacing: 1px;
  vertical-align: super;
}
.menu-item-desc {
  font-size: 15px;
  color: var(--c-ink-soft);
  font-style: italic;
  line-height: 1.5;
  margin-top: 2px;
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--c-magenta);
  font-weight: 600;
  white-space: nowrap;
}

.legend {
  background: var(--c-cream-warm);
  border: 1px solid var(--c-gold);
  padding: 40px 50px;
  margin-top: 32px;
}
.legend h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-magenta);
  text-align: center;
  margin: 0 0 24px;
}
.legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 32px;
  font-size: 14px;
  color: var(--c-ink);
}
.legend-grid li { list-style: none; padding: 4px 0; }
.legend-grid .num {
  display: inline-block;
  width: 28px;
  font-weight: 700;
  color: var(--c-magenta);
}

/* ---------- Reservation form ---------- */
.res-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--c-paper);
  border: 1px solid rgba(201, 169, 97, 0.35);
  box-shadow: var(--shadow-card);
}
.res-form {
  padding: 60px 60px;
}
.res-side {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 500px;
}
.res-side::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,8,6,0.4), rgba(182, 25, 60,0.65));
}
.res-side-inner {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 40px;
  color: var(--c-cream);
}
.res-side-inner .script {
  font-family: var(--font-script);
  font-size: 64px;
  color: var(--c-gold-soft);
}
.res-side-inner .phone {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  margin: 12px 0;
}
.res-side-inner small {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold);
}

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-ink);
  color: var(--c-ink);
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-magenta);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-card {
  background: var(--c-paper);
  border: 1px solid rgba(201, 169, 97, 0.35);
  padding: 50px 50px;
  box-shadow: var(--shadow-card);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin: 0 0 20px;
}
.contact-card p, .contact-card a {
  color: var(--c-ink-soft);
  margin: 6px 0;
}
.contact-card .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(31,20,16,0.15);
}
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .row .lbl {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-magenta);
  align-self: center;
}

.map-wrap {
  margin-top: 60px;
  border: 1px solid rgba(201, 169, 97, 0.35);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: sepia(0.2) saturate(0.9); }

.imprint {
  background: var(--c-paper);
  border: 1px solid rgba(201, 169, 97, 0.35);
  padding: 60px 70px;
  margin-top: 32px;
  box-shadow: var(--shadow-card);
}
.imprint h2 {
  font-family: var(--font-display);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--c-magenta);
  margin: 0 0 24px;
}
.imprint h3 {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-ink);
  margin: 32px 0 8px;
}
.imprint p { color: var(--c-ink-soft); margin: 4px 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-magenta-deep);
  color: var(--c-cream);
  padding: 70px 32px 30px;
  margin-top: 0;
  border-top: 1px solid var(--c-gold);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
}
.footer-brand {
  font-family: var(--font-script);
  font-size: 48px;
  color: var(--c-cream);
  line-height: 1;
}
.footer-brand small {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--c-gold-soft);
  margin-top: 8px;
  text-transform: uppercase;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 15px;
  font-style: italic;
  margin-top: 18px;
  max-width: 320px;
  color: rgba(246, 239, 227, 0.8);
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { padding: 4px 0; font-size: 15px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--c-gold-soft); }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-gold-soft);
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  text-align: center;
  padding: 100px 32px 40px;
}
.page-header .eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--c-gold);
  text-transform: uppercase;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--c-cream);
  margin: 12px 0 4px;
  font-weight: 500;
}
.page-header .script {
  font-family: var(--font-script);
  font-size: clamp(56px, 6vw, 86px);
  color: var(--c-magenta-soft);
  margin: -10px 0 0;
}

/* ---------- Hours strip ---------- */
.hours-strip {
  background: var(--c-paper);
  border: 1px solid rgba(201, 169, 97, 0.35);
  padding: 36px 50px;
  margin-top: 32px;
  box-shadow: var(--shadow-card);
}
.hours-strip h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin: 0 0 18px;
  text-align: center;
}
.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 60px;
  font-size: 16px;
  color: var(--c-ink);
}
.hours-grid div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted rgba(31,20,16,0.15);
  padding: 6px 0;
}
.hours-grid div span:first-child {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

/* ---------- Full-bleed banner image (e.g. between sections) ---------- */
.banner-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);   /* break out of any parent padding */
  padding: 32px 0;
}
.banner-image {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  position: relative;
}
.banner-image::after {
  /* Soft edge fade so the photo blends into the dark page background. */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,8,12,0.55), transparent 18%, transparent 82%, rgba(20,8,12,0.55)),
    linear-gradient(180deg, transparent 70%, rgba(20,8,12,0.45));
  pointer-events: none;
}
@media (max-width: 980px) { .banner-image { height: 280px; } }
@media (max-width: 560px) { .banner-image { height: 220px; } }

/* ---------- Gallery (Galerie) — horizontal-scrolling bento ---------- */
/* Editorial bento grid that flows horizontally. The user drags or
   scrolls left/right to reveal more tiles. Two rows tall, with each
   tile spanning a varied number of rows/columns for an asymmetric feel. */
.gallery-scroll {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);  /* break out of section padding to span viewport */
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  padding: 8px 32px 28px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 97, 0.35) transparent;
}
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 97, 0.3);
  border-radius: 4px;
}
.gallery-scroll::-webkit-scrollbar-thumb:hover { background: rgba(201, 169, 97, 0.55); }
.gallery-scroll.dragging { cursor: grabbing; }
.gallery-scroll.dragging .gallery-item { pointer-events: none; }

.gallery {
  display: grid;
  grid-template-rows: repeat(2, 240px);
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 16px;
  width: max-content;
  padding: 0 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 97, 0.35);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
  border-radius: 12px;
  background: var(--c-ink);
  scroll-snap-align: start;
  user-select: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  -webkit-user-drag: none;
}
/* When the subject sits high in the frame (e.g. a person's face),
   anchor the crop to the top so the face never gets clipped. */
.gallery-item.fit-top img { object-position: center top; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 5, 8, 0.85));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-item:hover .caption { opacity: 1; transform: translateY(0); }
.gallery-item .caption-title {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--c-cream);
  letter-spacing: 1px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  font-weight: 600;
}
.gallery-item .caption-desc {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: rgba(246, 239, 227, 0.85);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

/* Bento spans — flowing in column-direction grid:
   span 2 rows = full-height column; span 2 columns = double-wide block. */
.gallery-item.t1 { grid-row: span 2; grid-column: span 2; }   /* large hero */
.gallery-item.t2 { grid-row: span 1; }                          /* short top */
.gallery-item.t3 { grid-row: span 1; }                          /* short top */
.gallery-item.t4 { grid-row: span 2; }                          /* tall column */
.gallery-item.t5 { grid-row: span 1; }                          /* short bottom (fills col with t2/t3 next to it) */
.gallery-item.t6 { grid-row: span 2; grid-column: span 2; }     /* wide tall block */
.gallery-item.t7 { grid-row: span 1; grid-column: span 2; }     /* wide bar (top) */
.gallery-item.t8 { grid-row: span 1; grid-column: span 2; }     /* wide bar (bottom) */

/* Subtle drag-hint at the right edge so users know there's more. */
.gallery-hint {
  position: absolute;
  right: 24px;
  bottom: 4px;
  z-index: 3;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold-soft);
  opacity: 0.7;
  pointer-events: none;
}
.gallery-hint::before { content: "← "; }
.gallery-hint::after { content: " →"; }

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 6, 9, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border: 1px solid rgba(201, 169, 97, 0.35);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: 1px solid rgba(230, 207, 148, 0.5);
  color: var(--c-cream);
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 3px;
  padding: 8px 16px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  background: var(--c-magenta);
  border-color: var(--c-magenta);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-inner { grid-template-columns: auto 1fr auto; padding: 14px 20px; }
  .nav-left { order: 1; justify-self: start; }
  .nav-right { order: 3; justify-self: end; }
  .nav-brand { order: 2; font-size: 28px; justify-self: center; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: center;       /* center items in stacked menu */
    background: rgba(20, 10, 8, 0.97);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(201, 169, 97, 0.25);
  }
  .nav-links.open { display: flex; }
  .nav-phone { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .hero-card { padding: 50px 28px; width: 100%; max-width: 560px; }
  .hero-image { min-height: 320px; border-radius: 160px 160px 8px 8px; width: 100%; max-width: 560px; }

  .split { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .split.reverse > :first-child { order: 0; }
  .split-img { min-height: 320px; width: 100%; max-width: 560px; }
  .split-content { width: 100%; max-width: 560px; text-align: center; }
  .split-content .btn,
  .split-content .btn-gold { display: inline-block; }

  .menu-hero { grid-template-columns: 1fr; }
  .menu-hero-tile { height: 220px; }
  .menu-section { padding: 40px 24px; }
  .menu-section-head h2 { font-size: 32px; letter-spacing: 3px; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .menu-item { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .menu-item-price { justify-self: start; }

  .legend { padding: 30px 24px; }
  .legend-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-card, .imprint { padding: 32px 24px; }
  .contact-card .row { grid-template-columns: 100px 1fr; gap: 12px; }

  .footer-inner {
    grid-template-columns: 1fr;     /* stack into a single column */
    gap: 36px;
    text-align: center;             /* center every column when stacked */
  }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-col ul { list-style: none; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .page-header { padding: 80px 20px 30px; }
  .section-divider { margin-bottom: 48px; }

  /* Gallery on mobile: drop the horizontal-scroll bento and stack into
     a tidy 2-column grid that scrolls vertically with the page. */
  .gallery-scroll {
    width: 100%;
    margin-left: 0;
    overflow: visible;
    cursor: default;
    padding: 0;
    scroll-snap-type: none;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    grid-auto-rows: 180px;
    gap: 10px;
    width: 100%;
    padding: 0;
  }
  .gallery-item.t1, .gallery-item.t6 { grid-column: span 2; grid-row: span 2; }
  .gallery-item.t2, .gallery-item.t3, .gallery-item.t4, .gallery-item.t5 {
    grid-column: span 1; grid-row: span 1;
  }
  .gallery-item.t7, .gallery-item.t8 { grid-column: span 2; grid-row: span 1; }
  .gallery-item .caption { opacity: 1; transform: none; } /* always visible on touch */
  .gallery-item .caption-title { font-size: 18px; }
  .gallery-item .caption-desc { font-size: 13px; }
  .gallery-hint { display: none; }

  .section { padding: 70px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .legend-grid { grid-template-columns: 1fr; }
  .nav-brand { font-size: 24px; }
  .nav-brand small { font-size: 8px; letter-spacing: 3px; }
  .hero-title { letter-spacing: 2px; }
  .hero-card { padding: 40px 22px; }
  .menu-section { padding: 32px 18px; }
  .menu-section-head h2 { font-size: 28px; }
  .page-header h1 { letter-spacing: 3px; }
  .hero-script::before, .hero-script::after { display: none; } /* drop floral marks at small sizes */
}

/* =========================================================
   ANIMATION LAYER
   All animations are wrapped in a no-preference media query
   so reduced-motion users see the static design.
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {

  /* ---------- Keyframes ---------- */
  @keyframes fadeUp {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes slideInLeft {
    from { opacity: 0; transform: translate3d(-40px, 0, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  @keyframes slideInRight {
    from { opacity: 0; transform: translate3d(40px, 0, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  @keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
  }
  @keyframes growLine {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }
  @keyframes glowDrift {
    0%, 100% { background-position: 20% 10%, 85% 90%, 0 0; }
    50%      { background-position: 25% 15%, 80% 85%, 0 0; }
  }
  @keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
  @keyframes scriptInk {
    from { opacity: 0; transform: translate3d(0, 14px, 0) skewY(-2deg); letter-spacing: 6px; }
    to   { opacity: 1; transform: translate3d(0, 0, 0) skewY(0); letter-spacing: normal; }
  }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-100%); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0); }
    50%      { box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.12); }
  }

  /* ---------- Ambient: subtle background glow drift ---------- */
  .page-bg {
    background-size: 100% 100%, 100% 100%, 100% 100%;
    animation: glowDrift 18s ease-in-out infinite;
  }

  /* ---------- Nav drop-in + scroll shrink ---------- */
  .site-nav {
    animation: navDrop 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    transition: padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
  }
  .site-nav.scrolled {
    background: rgba(15, 7, 5, 0.95);
    box-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.6);
  }
  .site-nav.scrolled .nav-inner { padding-top: 12px; padding-bottom: 12px; }
  .site-nav .nav-inner { transition: padding 0.4s ease; }
  .site-nav.scrolled .nav-brand { font-size: 30px; transition: font-size 0.4s ease; }
  .site-nav .nav-brand { transition: font-size 0.4s ease, transform 0.4s ease, color 0.3s ease; }
  .nav-brand {
    transition: transform 0.4s ease, color 0.3s ease;
  }
  .nav-brand:hover {
    transform: scale(1.04);
    color: var(--c-gold-soft);
  }
  .nav-phone {
    transition: color 0.3s ease, letter-spacing 0.3s ease;
  }
  .nav-phone:hover {
    color: var(--c-cream);
    letter-spacing: 3px;
  }

  /* ---------- HERO entrance (fires on load, no observer needed) ---------- */
  .hero-card { animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero-card .hero-eyebrow { animation: fadeUp 0.8s ease-out 0.15s both; }
  .hero-card .hero-title   { animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
  .hero-card .hero-script  { animation: scriptInk 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s both; }
  .hero-card .hero-text    { animation: fadeUp 0.8s ease-out 0.85s both; }
  .hero-card .hero-signature { animation: fadeUp 0.7s ease-out 1.05s both; }
  .hero-card .hero-ctas    { animation: fadeUp 0.7s ease-out 1.2s both; }
  .hero-card .hero-ctas .btn { opacity: 0; animation: fadeUp 0.6s ease-out both; }
  .hero-card .hero-ctas .btn:nth-child(1) { animation-delay: 1.25s; }
  .hero-card .hero-ctas .btn:nth-child(2) { animation-delay: 1.4s; }

  .hero-image {
    animation: scaleIn 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both,
               float 7s ease-in-out 1.6s infinite;
    transition: transform 0.8s ease;
  }
  .hero-image:hover {
    animation-play-state: paused, paused;
    transform: scale(1.02);
  }

  /* ---------- Page header (interior pages) ---------- */
  .page-header .eyebrow { animation: fadeUp 0.7s ease-out 0.1s both; }
  .page-header h1       { animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both; }
  .page-header .script  { animation: scriptInk 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both; }

  /* ---------- Scroll-triggered reveal (added by JS) ---------- */
  .reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
  }
  .reveal.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .reveal-left {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .reveal-left.in-view { opacity: 1; transform: translate3d(0, 0, 0); }

  .reveal-right {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .reveal-right.in-view { opacity: 1; transform: translate3d(0, 0, 0); }

  .reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .reveal-scale.in-view { opacity: 1; transform: scale(1); }

  /* Stagger delays for children when parent has .reveal-stagger */
  .reveal-stagger > .reveal,
  .reveal-stagger > .reveal-left,
  .reveal-stagger > .reveal-right { transition-delay: 0s; }
  .reveal-stagger.in-view > :nth-child(1) { transition-delay: 0.05s; }
  .reveal-stagger.in-view > :nth-child(2) { transition-delay: 0.15s; }
  .reveal-stagger.in-view > :nth-child(3) { transition-delay: 0.25s; }
  .reveal-stagger.in-view > :nth-child(4) { transition-delay: 0.35s; }
  .reveal-stagger.in-view > :nth-child(5) { transition-delay: 0.45s; }
  .reveal-stagger.in-view > :nth-child(6) { transition-delay: 0.55s; }
  .reveal-stagger.in-view > :nth-child(7) { transition-delay: 0.65s; }
  .reveal-stagger.in-view > :nth-child(8) { transition-delay: 0.75s; }

  /* ---------- Section divider line grow ---------- */
  .section-divider { transform: scaleX(0); transform-origin: center; }
  .section-divider.in-view {
    animation: growLine 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
  }

  /* ---------- Buttons: lift + gold sweep on hover ---------- */
  .btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.4s ease,
                letter-spacing 0.3s ease;
  }
  .btn::before {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(230, 207, 148, 0.35) 50%,
      transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
  }
  .btn:hover::before { left: 130%; }
  .btn:hover {
    transform: translateY(-2px);
    letter-spacing: 4px;
    box-shadow: 0 14px 28px -12px rgba(182, 25, 60, 0.55);
  }
  .btn:active { transform: translateY(0); transition-duration: 0.1s; }

  /* Primary CTA gets a soft gold pulse on idle */
  .hero-ctas .btn:not(.btn-ghost):not(.btn-gold) {
    animation: fadeUp 0.6s ease-out 1.25s both, pulseGold 3.5s ease-in-out 2.5s infinite;
  }

  /* ---------- Nav links: animated underline + lift ---------- */
  .nav-links a {
    transition: color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
  }
  .nav-links a:hover {
    transform: translateY(-1px);
    letter-spacing: 3px;
  }
  .nav-links a::after {
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  /* ---------- Split images: gentle zoom on hover ---------- */
  /* All photo tiles use cover + no-repeat so the image fills the box without tiling.
     Zoom on hover is done via transform:scale on a ::before layer to avoid changing
     background-size (which can cause repeat behavior). Simpler: scale the element
     itself slightly and rely on overflow:hidden to clip. */
  .split-img, .hero-image, .res-side, .menu-hero-tile {
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.6s ease;
    overflow: hidden;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }
  .split-img:hover {
    transform: scale(1.04);
    box-shadow: 0 40px 80px -30px rgba(182, 25, 60, 0.5),
                0 14px 28px -10px rgba(0, 0, 0, 0.45);
  }

  /* "Portrait" variant: taller frame for portrait-orientation photos so the
     full subject is visible without cropping. The aspect-ratio matches the
     team-pizza source (~5:7). */
  .split-img.portrait {
    min-height: 0;
    aspect-ratio: 5 / 7;
  }
  .menu-hero-tile:hover {
    transform: scale(1.05);
  }
  .menu-hero-tile span {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                color 0.3s ease,
                text-shadow 0.4s ease;
  }
  .menu-hero-tile:hover span {
    transform: translate(-50%, -6px);
    color: var(--c-gold-soft);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
  }

  /* ---------- Menu items: subtle lift + line slide ---------- */
  .menu-item {
    transition: transform 0.35s ease, padding 0.35s ease;
    position: relative;
  }
  .menu-item::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, var(--c-magenta), var(--c-gold));
    transition: right 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .menu-item:hover {
    transform: translateX(4px);
  }
  .menu-item:hover::after { right: 0; }
  .menu-item:hover .menu-item-name { color: var(--c-magenta); }
  .menu-item:hover .menu-item-price {
    transform: scale(1.06);
    display: inline-block;
  }
  .menu-item-name, .menu-item-price {
    transition: color 0.3s ease, transform 0.35s ease;
  }

  /* ---------- Cards: subtle hover lift ---------- */
  .panel, .menu-section, .contact-card, .imprint, .hours-strip, .legend, .res-grid {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.5s ease;
  }
  .menu-section:hover, .contact-card:hover, .hours-strip:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 80px -25px rgba(0, 0, 0, 0.65),
                0 14px 28px -10px rgba(182, 25, 60, 0.25);
  }

  /* ---------- Form fields: focus glow ---------- */
  .field input, .field select, .field textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    border-bottom-color: var(--c-magenta);
    box-shadow: 0 6px 0 -5px var(--c-magenta), 0 12px 24px -16px rgba(182, 25, 60, 0.4);
    background-color: rgba(255, 255, 255, 0.4);
  }
  .field label { transition: color 0.3s ease, letter-spacing 0.3s ease; }
  .field:focus-within label {
    color: var(--c-magenta-deep);
    letter-spacing: 3.5px;
  }

  /* ---------- Reservation side panel: slow gentle float ---------- */
  .res-side {
    animation: float 10s ease-in-out 1s infinite;
  }
  .res-side .res-side-inner .script {
    animation: scriptInk 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
  }
  .res-side .res-side-inner .phone {
    animation: fadeUp 0.8s ease-out 0.85s both;
  }

  /* ---------- Payment notice: gentle attention ---------- */
  .payment-notice {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .payment-notice:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -18px rgba(182, 25, 60, 0.5);
  }
  .payment-notice::before {
    transition: letter-spacing 0.4s ease, padding 0.4s ease;
  }
  .payment-notice:hover::before {
    letter-spacing: 4px;
    padding: 4px 22px;
  }

  /* ---------- Quote script: gentle breathing color ---------- */
  .section-script,
  .hero-signature {
    background: linear-gradient(
      90deg,
      var(--c-gold-soft) 0%,
      var(--c-gold) 50%,
      var(--c-gold-soft) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s ease-in-out infinite;
  }
  .hero-signature {
    background: linear-gradient(
      90deg,
      var(--c-magenta) 0%,
      var(--c-magenta-soft) 50%,
      var(--c-magenta) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ---------- Footer: links shift right on hover ---------- */
  .footer-col a {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
  }
  .footer-col a:hover {
    transform: translateX(6px);
    letter-spacing: 0.6px;
  }

  /* ---------- Allergen legend numbers: pop on hover ---------- */
  .legend-grid li {
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .legend-grid li:hover {
    color: var(--c-magenta);
    transform: translateX(3px);
  }
  .legend-grid .num {
    transition: transform 0.3s ease;
  }
  .legend-grid li:hover .num {
    transform: scale(1.25);
  }

  /* ---------- Section title: gold underline pulse ---------- */
  .section-divider::before, .section-divider::after {
    transition: transform 0.4s ease, background-color 0.4s ease;
  }

  /* ---------- Mobile menu open transition ---------- */
  @media (max-width: 980px) {
    .nav-links {
      transform: translateY(-10px);
      opacity: 0;
      transition: opacity 0.3s ease, transform 0.3s ease;
      pointer-events: none;
    }
    .nav-links.open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
  }

  /* =========================================================
     PHONE-ONLY HERO ANIMATION (≤600px — does not affect iPad
     or larger). Replaces the desktop scriptInk + fadeUp
     sequence with a calmer, perfectly centered fade-in so
     "Herzlich Willkommen" reveals without horizontal motion
     or letter-spacing widening that throws it off-center on
     narrow viewports.
     ========================================================= */
  @media (max-width: 600px) {

    /* Subtle keyframes that only translate vertically — no skew,
       no letter-spacing changes, no horizontal motion. */
    @keyframes phoneHeroIn {
      from { opacity: 0; transform: translate3d(0, 16px, 0); }
      to   { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes phoneHeroScript {
      from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.96); }
      to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }

    /* Card itself rises gently as one unit. */
    .hero-card {
      animation: phoneHeroIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
      transform-origin: center center;
    }

    /* Children stagger in around the same vertical center axis.
       Override the desktop animations (which used letter-spacing
       and longer translates) with calmer values. */
    .hero-card .hero-eyebrow {
      animation: phoneHeroIn 0.7s ease-out 0.20s both;
    }
    .hero-card .hero-title {
      animation: phoneHeroIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s both;
    }
    .hero-card .hero-script {
      animation: phoneHeroScript 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s both;
      transform-origin: center center;
    }
    .hero-card .hero-text {
      animation: phoneHeroIn 0.7s ease-out 0.85s both;
    }
    .hero-card .hero-signature {
      animation: phoneHeroIn 0.6s ease-out 1.05s both;
    }
    .hero-card .hero-ctas {
      animation: phoneHeroIn 0.6s ease-out 1.2s both;
    }
    .hero-card .hero-ctas .btn {
      /* Cancel the gold pulse + earlier fadeUp so the buttons
         arrive cleanly with the rest of the card. */
      animation: phoneHeroIn 0.5s ease-out 1.3s both;
    }

    /* Hero arched image enters with a gentle scale instead of a
       float loop (which was making it sway on phone). */
    .hero-image {
      animation: phoneHeroScript 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both !important;
      transform-origin: center top;
    }
  }
}

/* Reduced-motion respect: kill all motion-related animation deliberately */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   TOUCH / MOBILE FIXES
   On touch devices :hover state can stick after a tap, which
   leaves elements transformed sideways and creates phantom
   horizontal scroll. Disable hover-driven horizontal motion
   (and any letter-spacing widening) when the primary input
   is touch.
   ========================================================= */
@media (hover: none), (pointer: coarse) {
  .menu-item:hover,
  .footer-col a:hover,
  .legend-grid li:hover,
  .nav-links a:hover,
  .menu-item:hover .menu-item-price {
    transform: none !important;
    letter-spacing: inherit !important;
  }
  .nav-brand:hover,
  .menu-hero-tile:hover,
  .menu-hero-tile:hover span,
  .split-img:hover,
  .res-side:hover,
  .menu-section:hover,
  .contact-card:hover,
  .hours-strip:hover,
  .panel:hover,
  .payment-notice:hover {
    transform: none !important;
  }
  .btn:hover {
    letter-spacing: 3px !important; /* keep base tracking, no widening */
  }
}

/* Belt-and-suspenders: any element that sneaks past the viewport gets clipped. */
body { position: relative; }
.section, .footer-inner, .hero, .nav-inner, .page-header { max-width: 100%; }

