/* ==========================================================================
   Pizza Taxi Roma
   Mobile-first. One breakpoint ladder: base -> 600px -> 900px -> 1200px.
   Every rule appears exactly once; the gelato theme only swaps tokens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  color-scheme: light;

  /* Pizzeria palette (default) */
  --bg: #fff8ef;
  --paper: #fffdf8;
  --ink: #211914;
  --muted: #6e6258;
  --line: rgba(33, 25, 20, 0.14);
  --accent: #cc2e2a;
  --accent-dark: #8f1916;
  --accent-soft: rgba(204, 46, 42, 0.1);
  --gold: #f0b84c;
  --display-ink: #004f39;
  --display-pop: #ffc83d;
  --card-bg: rgba(255, 253, 247, 0.86);
  --card-line: rgba(0, 79, 57, 0.16);
  --card-ink: #003f2f;
  --card-muted: #4a6659;
  --page-wash: radial-gradient(circle at 4% 0%, rgba(255, 239, 185, 0.75) 0 19%, transparent 20%),
    linear-gradient(135deg, #ffd66f, #ffc15c 58%, #ffb84f);

  /* Shape + depth */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --pill: 999px;
  --shadow-sm: 0 6px 18px rgba(33, 25, 20, 0.07);
  --shadow-md: 0 16px 38px rgba(33, 25, 20, 0.12);
  --shadow-lg: 0 28px 70px rgba(98, 49, 12, 0.16);

  /* Rhythm */
  --maxw: 1180px;
  --gutter: 1rem;
  --section-y: 3.5rem;
  --nav-h: 64px;
  --nav-gap: 0.55rem;

  /* Handy-Dock */
  --dock-bg: rgba(24, 18, 14, 0.94);
  --dock-shadow: 0 18px 40px rgba(28, 16, 6, 0.34);
  --dock-active: linear-gradient(180deg, rgba(255, 250, 242, 0.4), rgba(255, 250, 242, 0.24));
  --dock-active-line: rgba(255, 250, 242, 0.34);
  --dock-active-ink: #fff;

  --display-font: "Fraunces", Georgia, "Times New Roman", serif;
  --body-font: "Poppins", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.gelato-mode {
  --bg: #f7fbff;
  --paper: #ffffff;
  --ink: #142833;
  --muted: #5f6f79;
  --line: rgba(21, 35, 45, 0.13);
  --accent: #df5f9a;
  --accent-dark: #95456d;
  --accent-soft: rgba(223, 95, 154, 0.12);
  --gold: #74d6c7;
  --display-ink: #244f68;
  --display-pop: #df5f9a;
  --card-bg: rgba(240, 250, 252, 0.9);
  --card-line: rgba(36, 79, 104, 0.16);
  --card-ink: #244f68;
  --card-muted: #55707f;
  --page-wash: radial-gradient(circle at 5% 0%, rgba(255, 255, 255, 0.82) 0 18%, transparent 19%),
    linear-gradient(135deg, #dff9ff, #ffe2ef 58%, #bdeee7);
  --dock-bg: rgba(15, 30, 39, 0.94);
  --dock-shadow: 0 18px 40px rgba(12, 34, 46, 0.32);
  --dock-active: linear-gradient(180deg, rgba(244, 252, 255, 0.42), rgba(244, 252, 255, 0.26));
  --dock-active-line: rgba(244, 252, 255, 0.36);
}

@media (min-width: 600px) {
  :root {
    --gutter: 1.5rem;
    --section-y: 4.5rem;
  }
}

@media (min-width: 900px) {
  :root {
    --gutter: 2.5rem;
    --section-y: 6rem;
    --nav-h: 84px;
    --nav-gap: 0.75rem;
  }

  /* Desktop reading scale: everything is measured in rem, so lifting the root
     size grows type, buttons and spacing together - easier on older eyes.
     It climbs with the viewport so the navbar never has to wrap. */
  html {
    font-size: 108%;
  }
}

@media (min-width: 1200px) {
  :root {
    --maxw: 1280px;
    --nav-h: 88px;
  }

  html {
    font-size: 118.75%;
  }
}

@media (min-width: 1440px) {
  html {
    font-size: 125%;
  }
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Anchor jumps must clear the fixed navbar. */
  scroll-padding-top: calc(var(--nav-h) + var(--nav-gap) + 0.75rem);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  /* Platz für die schwebende Dock-Leiste, damit der Fuß frei bleibt. */
  padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  background: var(--page-wash);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  overflow-wrap: break-word;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

section {
  padding: var(--section-y) var(--gutter);
}

.section-heading {
  max-width: var(--maxw);
  margin: 0 auto 1.75rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--display-ink);
  font-family: var(--body-font);
  font-size: clamp(2.1rem, 8.5vw, 4.6rem);
  font-weight: 900;
  line-height: 0.95;
}

@media (min-width: 900px) {
  .section-heading {
    margin-bottom: 2.5rem;
  }

  .section-heading h2 {
    line-height: 0.88;
  }
}

/* --------------------------------------------------------------------------
   3. Loader
   -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background: #fff8e8;
  color: #3b1906;
  text-align: center;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader::before {
  content: "";
  position: absolute;
  width: min(420px, 80vw);
  aspect-ratio: 1;
  border: 4px solid rgba(1, 204, 128, 0.24);
  border-radius: var(--pill);
  animation: loaderRing 2.2s ease-in-out infinite;
}

.loader-stage {
  position: relative;
  width: clamp(140px, 42vw, 190px);
  aspect-ratio: 1;
}

.oven-glow {
  position: absolute;
  inset: -18%;
  border-radius: var(--pill);
  background: radial-gradient(circle, rgba(251, 196, 14, 0.55), rgba(202, 98, 27, 0.22) 55%, transparent 72%);
  filter: blur(6px);
  animation: ovenGlow 1.45s ease-in-out infinite;
}

.steam {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 63%;
  height: 32%;
  transform: translateX(-50%);
  z-index: 2;
}

.steam-wisp {
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 34px;
  border-radius: var(--pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
  opacity: 0;
  animation: steamRise 1.9s ease-in infinite;
}

.steam-wisp.s1 { left: 12%; animation-delay: 0s; }
.steam-wisp.s2 { left: 45%; animation-delay: 0.55s; }
.steam-wisp.s3 { left: 78%; animation-delay: 1.1s; }

.pizza-loader {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  animation: pizzaBounce 1.45s ease-in-out infinite;
}

.pizza-pie {
  position: absolute;
  inset: 5%;
  overflow: hidden;
  border: 11px solid #3b1906;
  border-radius: var(--pill);
  background: #ca621b;
  box-shadow: 0 0 0 9px rgba(1, 204, 128, 0.1);
}

.pizza-fill {
  position: absolute;
  inset: 12px;
  overflow: hidden;
  border-radius: var(--pill);
  background: #f3e0b4;
}

.slice {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform-origin: 50% 50%;
  animation: sliceFill 2.8s ease-in-out infinite;
}

.slice.s1 { clip-path: polygon(50% 50%, 50% 0, 100% 0); animation-delay: 0s; }
.slice.s2 { clip-path: polygon(50% 50%, 100% 0, 100% 50%); animation-delay: 0.16s; }
.slice.s3 { clip-path: polygon(50% 50%, 100% 50%, 100% 100%); animation-delay: 0.32s; }
.slice.s4 { clip-path: polygon(50% 50%, 100% 100%, 50% 100%); animation-delay: 0.48s; }
.slice.s5 { clip-path: polygon(50% 50%, 50% 100%, 0 100%); animation-delay: 0.64s; }
.slice.s6 { clip-path: polygon(50% 50%, 0 100%, 0 50%); animation-delay: 0.8s; }
.slice.s7 { clip-path: polygon(50% 50%, 0 50%, 0 0); animation-delay: 0.96s; }
.slice.s8 { clip-path: polygon(50% 50%, 0 0, 50% 0); animation-delay: 1.12s; }

.slice.s1 { background: radial-gradient(circle at 61% 22%, #c81e0c 0 8px, #8f1406 8px 10px, transparent 11px), radial-gradient(circle at 50% 50%, #fdd23f, #f2a81f); }
.slice.s2 { background: radial-gradient(circle at 78% 39%, #01cc80 0 7px, #04895a 7px 9px, transparent 10px), radial-gradient(circle at 50% 50%, #fdd23f, #f2a81f); }
.slice.s3 { background: radial-gradient(circle at 78% 61%, #c81e0c 0 8px, #8f1406 8px 10px, transparent 11px), radial-gradient(circle at 50% 50%, #fdd23f, #f2a81f); }
.slice.s4 { background: radial-gradient(circle at 61% 78%, #01cc80 0 7px, #04895a 7px 9px, transparent 10px), radial-gradient(circle at 50% 50%, #fdd23f, #f2a81f); }
.slice.s5 { background: radial-gradient(circle at 39% 78%, #c81e0c 0 8px, #8f1406 8px 10px, transparent 11px), radial-gradient(circle at 50% 50%, #fdd23f, #f2a81f); }
.slice.s6 { background: radial-gradient(circle at 22% 61%, #01cc80 0 7px, #04895a 7px 9px, transparent 10px), radial-gradient(circle at 50% 50%, #fdd23f, #f2a81f); }
.slice.s7 { background: radial-gradient(circle at 22% 39%, #c81e0c 0 8px, #8f1406 8px 10px, transparent 11px), radial-gradient(circle at 50% 50%, #fdd23f, #f2a81f); }
.slice.s8 { background: radial-gradient(circle at 39% 22%, #01cc80 0 7px, #04895a 7px 9px, transparent 10px), radial-gradient(circle at 50% 50%, #fdd23f, #f2a81f); }

.pizza-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(59, 25, 6, 0.16) 0deg 0.6deg, transparent 0.6deg 45deg);
}

.loader p {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.05rem, 5vw, 1.35rem);
  font-weight: 800;
}

.loader-bar {
  width: min(280px, 70vw);
  height: 12px;
  overflow: hidden;
  border: 3px solid #3b1906;
  border-radius: var(--pill);
  background: #fff8e8;
}

.loader-bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #01cc80, #fbc40e 55%, #c81e0c);
  transform-origin: left center;
  animation: loadBar 1.35s ease-in-out infinite;
}

/* The same loader shell is reused for the San Marco mode switch: only the
   stage in the middle and the palette change. */
.gelato-stage {
  position: relative;
  display: none;
  width: clamp(190px, 52vw, 300px);
  aspect-ratio: 1;
}

.loader.is-gelato .loader-stage {
  display: none;
}

.loader.is-gelato .gelato-stage {
  display: block;
}

.loader.is-gelato {
  background: #f6fbff;
  color: #244f68;
}

.loader.is-gelato::before {
  border-color: rgba(223, 95, 154, 0.24);
}

.loader.is-gelato .loader-bar {
  border-color: #244f68;
  background: #fff;
}

.loader.is-gelato .loader-bar span {
  background: linear-gradient(90deg, #74d6c7, #df5f9a 55%, #a06cd5);
}

.frost-glow {
  position: absolute;
  inset: -18%;
  border-radius: var(--pill);
  background: radial-gradient(circle, rgba(223, 95, 154, 0.32), rgba(116, 214, 199, 0.22) 55%, transparent 72%);
  filter: blur(6px);
  animation: ovenGlow 1.45s ease-in-out infinite;
}

.gelato-cone {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(36, 79, 104, 0.18));
  animation: pizzaBounce 1.45s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   4. Navbar + mobile drawer
   -------------------------------------------------------------------------- */

/* At the very top the bar caps the header card: same width, solid, with the
   card's rounded corners. Scrolling condenses it into a floating pill. */
.navbar {
  position: fixed;
  top: 0.5rem;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: calc(100% - 2 * min(var(--gutter), 1rem));
  min-height: calc(var(--nav-h) + 10px);
  margin-inline: auto;
  padding: 0.5rem var(--gutter);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  transition:
    top 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    left 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    right 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    max-width 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    min-height 0.34s ease,
    padding 0.34s ease,
    border-radius 0.34s ease,
    border-color 0.34s ease,
    background 0.34s ease,
    box-shadow 0.34s ease,
    backdrop-filter 0.34s ease;
}

.navbar.scrolled {
  top: var(--nav-gap);
  left: var(--gutter);
  right: var(--gutter);
  min-height: var(--nav-h);
  padding: 0.4rem 0.55rem;
  border-color: rgba(255, 255, 255, 0.62);
  border-radius: var(--pill);
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding-left: 0.15rem;
  font-weight: 900;
}

.brand img {
  width: 54px;
  height: auto;
  flex: 0 0 auto;
}

/* The San Marco logo is a wider jpeg on white, so it gets a touch more room
   and rounded corners to sit calmly in the bar. */
body.gelato-mode .brand img {
  width: 74px;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  overflow: hidden;
  color: var(--accent);
  font-family: var(--display-font);
  font-size: clamp(0.88rem, 3.6vw, 1.05rem);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Kleiner Ortszusatz unter dem Logo, damit klar ist, dass Roma aus
   Sankt Vith kommt. */
.brand-town {
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(0.6rem, 2.2vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Auf dem Handy übernimmt die Dock-Leiste unten - die Linkreihe der Kopfzeile
   erscheint erst ab 900px. Sprachwahl und Modus-Schalter wandern per Skript
   in die Leiste bzw. ins Mehr-Panel und behalten dabei ihre Basis-Optik. */
.nav-links {
  display: none;
}

.nav-links a,
.mode-toggle,
.language-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  text-align: center;
}

.nav-links a:hover,
.language-current:hover {
  background: var(--accent-soft);
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-current {
  min-width: 56px;
  gap: 0.4rem;
  font-weight: 900;
}

/* Die Sprachliste hängt sich immer unter den Knopf - im Kopf wie im Panel. */
.language-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 5;
  display: none;
  gap: 0.3rem;
  min-width: 90px;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.language-switcher.open .language-menu {
  display: grid;
}

.language-option {
  min-height: 44px;
  width: 100%;
  border: 0;
  border-radius: var(--pill);
  padding: 0.55rem 0.75rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  text-align: left;
}

.language-option:hover {
  background: var(--accent-soft);
}

.language-option.active {
  background: var(--accent);
  color: #fff;
}

.mode-toggle {
  gap: 0.5rem;
  background: var(--ink);
  border-color: transparent;
  color: var(--paper);
  white-space: nowrap;
}

.toggle-icon {
  display: grid;
  place-items: center;
  min-width: 52px;
  padding: 0.16rem 0.5rem;
  border-radius: var(--pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

body.dock-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   4b. Handy-Dock (schwebende Leiste unten)
   -------------------------------------------------------------------------- */

.mobile-dock {
  position: fixed;
  right: 0;
  bottom: calc(0.65rem + env(safe-area-inset-bottom));
  left: 0;
  /* Über Schleier und Panel, damit der Mehr-Knopf zum Schließen greifbar bleibt. */
  z-index: 43;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}

.dock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.1rem;
  width: 100%;
  max-width: 430px;
  padding: 0.34rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--pill);
  background: var(--dock-bg);
  box-shadow: var(--dock-shadow);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.dock-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Schrumpfen darf nur der Pill - die Icons behalten ihre Trefferfläche,
     bei sehr schmalen Geräten wird stattdessen die Beschriftung beschnitten. */
  flex: 0 1 auto;
  min-width: 44px;
  min-height: 46px;
  padding: 0 0.45rem;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: rgba(255, 252, 246, 0.66);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 0.28s ease,
    padding 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Die helle Fläche liegt als eigene Ebene darunter: ein Farbverlauf lässt
   sich nicht animieren, eine Deckkraft schon - so blendet der Pill beim
   Wechsel der Kategorie weich auf und am alten Ziel genauso weich ab. */
.dock-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--dock-active);
  box-shadow:
    inset 0 0 0 1px var(--dock-active-line),
    0 2px 12px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Das aktive Ziel klappt zum Pill mit Beschriftung auf. */
.dock-item.is-active {
  padding: 0 0.85rem 0 0.6rem;
  color: var(--dock-active-ink);
}

.dock-item.is-active::before {
  opacity: 1;
}

.dock-item:active {
  transform: scale(0.94);
}

.dock-icon,
.dock-label {
  position: relative;
  z-index: 1;
}

.dock-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.dock-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dock-icon-filled svg {
  fill: currentColor;
  stroke: none;
}

.dock-label {
  overflow: hidden;
  flex: 0 1 auto;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition:
    max-width 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin-left 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.2s ease;
}

.dock-item.is-active .dock-label {
  max-width: 9rem;
  margin-left: 0.42rem;
  opacity: 1;
}

/* Mehr-Panel */
.dock-scrim {
  position: fixed;
  inset: 0;
  z-index: 41;
  background: rgba(21, 16, 12, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.dock-scrim.open {
  opacity: 1;
  pointer-events: auto;
}

.dock-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 42;
  padding: 0 var(--gutter) calc(5.4rem + env(safe-area-inset-bottom));
  visibility: hidden;
  transform: translate3d(0, 105%, 0);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.3s ease;
}

.dock-sheet.open {
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

.dock-sheet-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 430px;
  margin-inline: auto;
  padding: 0.7rem 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.dock-grip {
  width: 42px;
  height: 4px;
  margin: 0 auto 0.35rem;
  border-radius: var(--pill);
  background: var(--line);
}

.dock-sheet-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.dock-sheet-call {
  background: var(--accent);
  color: #fff;
}

.dock-sheet-call .dock-icon svg {
  fill: currentColor;
  stroke: none;
}

/* Sprachwahl und Modus-Schalter ziehen hier ein, sobald das Panel offen ist. */
.dock-sheet-extras {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dock-sheet-extras .mode-toggle {
  flex: 1 1 auto;
}

/* Desktop navbar */
@media (min-width: 900px) {
  .navbar {
    top: 1.5rem;
    max-width: min(calc(100% - 4vw), 1320px);
    padding: 0.7rem clamp(1.5rem, 4vw, 4rem);
  }

  .navbar.scrolled {
    max-width: var(--maxw);
    padding: 0.45rem 0.5rem 0.45rem 0.9rem;
  }

  .brand img {
    width: 64px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-town {
    font-size: 0.7rem;
  }

  body {
    padding-bottom: 0;
  }

  .mobile-dock,
  .dock-scrim,
  .dock-sheet {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .nav-links a {
    min-height: 42px;
    border-color: transparent;
    padding: 0.55rem 0.85rem;
    background: transparent;
    font-size: 0.88rem;
  }

  .mode-toggle {
    min-height: 42px;
    padding: 0.35rem 0.5rem 0.35rem 0.35rem;
    font-size: 0.88rem;
  }

  .language-current {
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
  }
}

/* --------------------------------------------------------------------------
   5. Header + hero
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  isolation: isolate;
  width: calc(100% - 2 * min(var(--gutter), 1rem));
  margin: 0.5rem auto;
  padding: 0 var(--gutter) 2rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at -4% 104%, rgba(47, 125, 76, 0.12) 0 12%, transparent 13%),
    radial-gradient(circle at 102% 0%, rgba(204, 46, 42, 0.12) 0 10%, transparent 11%),
    linear-gradient(100deg, rgba(255, 253, 247, 0.98) 0 55%, rgba(255, 248, 238, 0.93) 55% 100%);
  box-shadow: var(--shadow-lg);
}

body.gelato-mode .site-header {
  background:
    radial-gradient(circle at -4% 104%, rgba(116, 214, 199, 0.2) 0 12%, transparent 13%),
    radial-gradient(circle at 102% 0%, rgba(223, 95, 154, 0.14) 0 10%, transparent 11%),
    linear-gradient(100deg, rgba(255, 255, 255, 0.99) 0 55%, rgba(255, 244, 249, 0.94) 55% 100%);
  box-shadow: 0 28px 70px rgba(81, 88, 123, 0.16);
}

.hero {
  display: grid;
  gap: 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: calc(var(--nav-h) + var(--nav-gap) + 1.75rem);
}

.hero-copy {
  min-width: 0;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: clamp(2.5rem, 11vw, 3.6rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 42ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.6vw, 1.1rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: var(--pill);
  padding: 0.8rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 850;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.primary-action {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px var(--accent-soft);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero visual: on phones everything sits in normal flow, no overlapping. */
.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 1.25rem 0 0;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0.25rem 0;
}

.plate-ring {
  position: absolute;
  width: min(330px, 84%);
  aspect-ratio: 1;
  border: 7px dashed rgba(240, 184, 76, 0.85);
  border-radius: var(--pill);
  animation: slowSpin 34s linear infinite;
}

body.gelato-mode .plate-ring {
  border-color: rgba(223, 95, 154, 0.6);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  border: 6px solid #fff;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Pizzeria uses the wide storefront photo, so it gets a landscape card. */
body.pizza-mode .hero-visual img,
body.pizza-mode .plate-ring,
body.gelato-mode .hero-visual img,
body.gelato-mode .plate-ring {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
}

body.pizza-mode .hero-visual img,
body.gelato-mode .hero-visual img {
  width: 100%;
  border-width: 6px;
  object-position: center;
  filter: brightness(1.14) contrast(1.1) saturate(1.06);
}

body.pizza-mode .plate-ring,
body.gelato-mode .plate-ring {
  width: 100%;
  animation: none;
  rotate: -2.5deg;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 0.76rem;
  white-space: nowrap;
}


/* Decorative doodles: only worth showing once there is room. */
.hero-doodle {
  display: none;
  position: absolute;
  z-index: 2;
}

.tomato-one,
.tomato-two {
  width: 56px;
  height: 56px;
  border: 6px solid #e94f2f;
  border-radius: var(--pill);
  background:
    linear-gradient(35deg, transparent 47%, rgba(255, 255, 255, 0.74) 48% 52%, transparent 53%),
    radial-gradient(circle at 50% 50%, transparent 0 13px, rgba(233, 79, 47, 0.34) 14px 16px, transparent 17px),
    #ff7c48;
}

.tomato-one { top: 12%; left: 6%; rotate: -18deg; }
.tomato-two { top: 9%; left: 18%; scale: 0.88; rotate: 22deg; }

.basil-one,
.basil-two {
  width: 34px;
  height: 18px;
  border-radius: 999px 0 999px 0;
  background: linear-gradient(135deg, #68c967, #24974d);
}

.basil-one { top: 20%; left: 2%; rotate: -28deg; }
.basil-two { right: 8%; bottom: 20%; rotate: 31deg; }

.onion-one {
  right: 1%;
  bottom: 6%;
  width: 48px;
  height: 48px;
  border-radius: 58% 42% 55% 45%;
  background:
    radial-gradient(circle at 64% 32%, rgba(255, 255, 255, 0.9) 0 9px, transparent 10px),
    linear-gradient(145deg, #b91c5f, #f3a2c3);
  rotate: 20deg;
}

body.gelato-mode .tomato-one,
body.gelato-mode .tomato-two {
  border-color: #df5f9a;
  background:
    radial-gradient(circle at 38% 38%, rgba(255, 255, 255, 0.9) 0 10px, transparent 11px),
    linear-gradient(135deg, #ffc1d9, #df5f9a);
}

body.gelato-mode .basil-one,
body.gelato-mode .basil-two {
  background: linear-gradient(135deg, #9de6db, #3fb9aa);
}

@media (min-width: 600px) {
  .site-header {
    margin: 1rem auto;
    padding-bottom: 2.5rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .primary-action {
    flex: 0 1 auto;
  }
}

@media (min-width: 900px) {
  .site-header {
    width: min(calc(100% - 4vw), 1320px);
    min-height: calc(100vh - 3rem);
    margin: 1.5rem auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem) 3rem;
  }

  .site-header::before,
  .site-header::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 2px solid rgba(240, 184, 76, 0.28);
    border-radius: var(--pill);
  }

  .site-header::before {
    right: -58px;
    top: -58px;
    width: 156px;
    height: 156px;
    background:
      radial-gradient(circle at 37% 34%, transparent 0 8px, rgba(240, 184, 76, 0.34) 9px 11px, transparent 12px),
      radial-gradient(circle at 68% 54%, transparent 0 7px, rgba(204, 46, 42, 0.24) 8px 10px, transparent 11px);
  }

  .site-header::after {
    left: -150px;
    top: -170px;
    width: 430px;
    height: 430px;
    background: rgba(240, 184, 76, 0.08);
  }

  .hero {
    grid-template-columns: minmax(280px, 0.82fr) minmax(400px, 1.18fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    min-height: calc(100vh - 3rem);
    padding-top: calc(var(--nav-h) + 3rem);
  }

  h1 {
    font-size: clamp(3.2rem, 5.4vw, 5.2rem);
    max-width: 13ch;
  }

  .hero-text {
    font-size: 1.14rem;
  }

  .hero-visual {
    padding-top: 0;
  }

  .hero-doodle {
    display: block;
  }

  .hero-stage {
    padding: 2rem 0;
  }

  .plate-ring {
    width: min(430px, 76%);
  }

  .hero-visual img {
    width: min(370px, 66%);
    border-width: 16px;
  }

  body.pizza-mode .hero-visual img,
  body.gelato-mode .hero-visual img {
    width: 100%;
    border-width: 12px;
    border-radius: 30px;
  }

  body.pizza-mode .plate-ring,
  body.gelato-mode .plate-ring {
    width: 100%;
    border-radius: 42px;
  }

  .hero-badge {
    top: 12%;
    right: 2%;
  }

}

/* --------------------------------------------------------------------------
   6. Gallery ("Unsere Spezialitäten")
   -------------------------------------------------------------------------- */

.picture-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem 1rem;
}

.picture-heading .eyebrow,
.picture-heading h2 {
  grid-column: 1;
}

.picture-controls {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.picture-scroll-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.picture-scroll-button:hover:not(:disabled) {
  background: var(--accent);
  transform: translateY(-2px);
}

.picture-scroll-button:disabled {
  cursor: default;
  opacity: 0.3;
  box-shadow: none;
}

.picture-scroll-button span {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.picture-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 320px);
  gap: 0.75rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.15rem 0 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-y;
  transition: scroll-snap-type 0.2s ease;
}

.picture-scroll::-webkit-scrollbar {
  display: none;
}

.picture-scroll.is-wheel-scrolling,
.picture-scroll.is-dragging {
  scroll-snap-type: none;
}

.picture-scroll.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.picture-scroll figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}

.picture-scroll img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  transition:
    filter 0.25s ease,
    transform 0.3s ease;
  pointer-events: none;
}

.picture-scroll figure:hover img {
  filter: saturate(1.12) contrast(1.07);
  transform: scale(1.03);
}

/* The gallery shows whichever business the site is currently in. */
body.pizza-mode .picture-scroll .gelato-pic,
body.gelato-mode .picture-scroll .pizza-pic {
  display: none;
}

@media (min-width: 900px) {
  .picture-scroll {
    grid-auto-columns: clamp(260px, 28vw, 380px);
    gap: 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  }

  .picture-scroll-button {
    width: 48px;
    height: 48px;
  }
}

/* --------------------------------------------------------------------------
   7. Menu
   -------------------------------------------------------------------------- */

/* No overflow:hidden here - it would turn this section into a scroll
   container and stop .menu-tabs-wrap from sticking. */
.menu-section {
  position: relative;
  background:
    radial-gradient(circle at 92% 8%, rgba(47, 125, 76, 0.08) 0 9rem, transparent 9.2rem),
    linear-gradient(180deg, #fff8ec, #fbf1e3);
}

body.gelato-mode .menu-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(116, 214, 199, 0.14) 0 9rem, transparent 9.2rem),
    linear-gradient(180deg, #fff8fb, #f2fbff);
}

#menu-title span {
  color: var(--display-pop);
}

.menu-shell {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Category strip: a snapping scroller on phones, wrapping pills on desktop. */
.menu-tabs-wrap {
  position: sticky;
  top: calc(var(--nav-h) + var(--nav-gap) + 0.35rem);
  z-index: 6;
  margin: 0 calc(-1 * var(--gutter)) 1.25rem;
  padding: 0.6rem var(--gutter);
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.97) 72%, rgba(255, 248, 236, 0));
}

body.gelato-mode .menu-tabs-wrap {
  background: linear-gradient(180deg, rgba(255, 248, 251, 0.97) 72%, rgba(255, 248, 251, 0));
}

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.tab {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  border-radius: var(--pill);
  padding: 0.5rem 1.05rem;
  background: rgba(12, 47, 37, 0.08);
  color: var(--card-ink);
  font-size: 0.8rem;
  font-weight: 850;
  white-space: nowrap;
  scroll-snap-align: start;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

body.gelato-mode .tab {
  background: rgba(36, 79, 104, 0.08);
}

.tab:hover {
  transform: translateY(-1px);
}

.tab.active {
  background: var(--display-pop);
  color: var(--card-ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

body.gelato-mode .tab.active {
  background: var(--gold);
  color: #10333f;
}

.tab[hidden] {
  display: none;
}

/* Tools */
.menu-tools {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
}

.menu-search {
  position: relative;
  display: block;
  width: 100%;
}

.menu-search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--card-muted);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

.menu-tools input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--card-line);
  border-radius: var(--pill);
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--card-ink);
  font-size: 0.92rem;
  outline: 0;
}

.menu-tools input::placeholder {
  color: var(--card-muted);
  opacity: 0.8;
}

.menu-tools input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.sort-button {
  min-height: 46px;
  border: 1px solid var(--card-line);
  border-radius: var(--pill);
  padding: 0.6rem 1.15rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--card-ink);
  font-size: 0.84rem;
  font-weight: 850;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.sort-button[aria-pressed="true"] {
  border-color: transparent;
  background: var(--card-ink);
  color: #fff;
}

.menu-tools p {
  margin: 0;
  color: var(--card-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.menu-note {
  margin: 0 0 1.1rem;
  padding: 0.7rem 0.95rem;
  border: 1px dashed var(--card-line);
  border-radius: var(--radius-md);
  color: var(--card-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.menu-note[hidden] {
  display: none;
}

/* Cards — compact two-column tiles on phones, roomier cards from 600px up. */
.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.menu-card {
  position: relative;
  display: grid;
  gap: 0.3rem;
  align-content: start;
  padding: 0.6rem 0.65rem 0.65rem;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

@media (hover: hover) {
  .menu-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
  }
}

.menu-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem;
}

.menu-no {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 0.3rem;
  border-radius: var(--pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.menu-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: var(--card-ink);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: break-word;
}

.menu-card p {
  margin: 0;
  color: var(--card-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

/* Collapsed cards show a two line ingredient preview only. */
.menu-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.menu-card.is-open .menu-desc {
  display: block;
  overflow: visible;
}

.menu-card-body {
  display: grid;
  gap: 0.3rem;
}

.menu-card.has-details:not(.is-open) .menu-variants {
  display: none;
}

.menu-more {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 26px;
  padding: 0.1rem 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  cursor: pointer;
}

.menu-more[hidden] {
  display: none;
}

.menu-more::after {
  content: " ›";
}

.menu-card.is-open .menu-more::after {
  content: " ‹";
}

/* On phones the sizes read as one price line; from 600px up they become the
   pill pair again. */
.menu-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.45rem;
}

.menu-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  color: var(--accent);
}

/* A full "33 CM" label costs a whole line on a 165px card, so on phones only
   the second price keeps a short size hint. */
.menu-price em {
  display: none;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--card-muted);
}

.menu-price b {
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.size-long {
  display: none;
}

/* The family price is secondary information next to the 33 cm price. */
.menu-price + .menu-price {
  color: var(--card-muted);
}

.menu-price + .menu-price em {
  display: inline;
}

.menu-price + .menu-price::before {
  content: "/";
  opacity: 0.6;
}

.menu-price + .menu-price b {
  font-size: 0.76rem;
  color: var(--card-muted);
}

/* Spaghetti Eis, Bananensplit and Joghurtbecher are sold in several
   versions; they are listed inside the parent card. */
.menu-variants {
  margin-top: 0.2rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--card-line);
}

.menu-variants-title {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-variants ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-variants li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.15rem 0.6rem;
}

.variant-name {
  color: var(--card-ink);
  font-size: 0.87rem;
  font-weight: 850;
}

.variant-price {
  color: var(--card-ink);
  font-size: 0.87rem;
  font-weight: 900;
  white-space: nowrap;
}

.variant-desc {
  grid-column: 1 / -1;
  color: var(--card-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.menu-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-height: 1.25rem;
  overflow: hidden;
}

.menu-card.is-open .menu-chip-row {
  max-height: none;
}

.menu-chip-row span {
  border: 1px solid var(--card-line);
  border-radius: var(--pill);
  padding: 0.1rem 0.38rem;
  color: var(--card-muted);
  font-size: 0.58rem;
  font-weight: 850;
  white-space: nowrap;
}

.menu-empty {
  grid-column: 1 / -1;
  padding: 1.4rem;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  color: var(--card-muted);
  font-weight: 850;
  text-align: center;
}

@media (min-width: 600px) {
  .menu-tools {
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
  }

  .menu-tools p {
    grid-column: 1 / -1;
  }

  .menu-list {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 0.85rem;
  }

  .menu-card {
    gap: 0.5rem;
    padding: 1rem 1.05rem 1.1rem;
  }

  .menu-card-head {
    gap: 0.6rem;
  }

  .menu-no {
    min-width: 30px;
    height: 30px;
    padding: 0 0.4rem;
    font-size: 0.74rem;
  }

  .menu-card h3 {
    -webkit-line-clamp: unset;
    font-size: 1.02rem;
    line-height: 1.25;
  }

  .menu-card p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  /* Enough room here to show ingredients in full; the toggle stays only for
     cards that hide extra variants. */
  .menu-desc {
    display: block;
    overflow: visible;
  }

  .menu-card-body {
    gap: 0.5rem;
  }

  .menu-chip-row {
    gap: 0.32rem;
    max-height: none;
  }

  .menu-chip-row span {
    padding: 0.22rem 0.5rem;
    font-size: 0.66rem;
  }

  .menu-prices {
    gap: 0.4rem;
  }

  .menu-price {
    gap: 0.4rem;
    border: 1px solid var(--card-line);
    border-radius: var(--pill);
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.7);
  }

  .menu-price em {
    display: inline;
    font-size: 0.62rem;
  }

  .size-long {
    display: inline;
  }

  .size-short {
    display: none;
  }

  .menu-price + .menu-price::before {
    content: none;
  }

  .menu-price b,
  .menu-price + .menu-price b {
    font-size: 0.94rem;
    color: var(--accent);
  }

  .menu-more {
    font-size: 0.74rem;
  }
}

@media (min-width: 900px) {
  .menu-tabs-wrap {
    position: static;
    margin: 0 0 1.75rem;
    padding: 0;
    background: none;
  }

  .menu-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .menu-tools {
    grid-template-columns: minmax(240px, 380px) auto 1fr;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
  }

  .menu-tools p {
    grid-column: auto;
    justify-self: end;
  }

  .menu-card {
    padding: 1.15rem 1.25rem 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   8. Visit
   -------------------------------------------------------------------------- */

.visit-grid {
  display: grid;
  gap: 0.85rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.map-frame,
.hours-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.map-frame {
  overflow: hidden;
  min-height: 320px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.hours-card {
  padding: 1.25rem;
}

.hours-card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 5vw, 1.75rem);
  line-height: 1.2;
}

.hours-country {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
}

.call-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: var(--pill);
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
}

.open-status {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.status-dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: var(--pill);
  background: #c7463c;
  box-shadow: 0 0 0 6px rgba(199, 70, 60, 0.12);
}

.open-status.open .status-dot {
  background: #2f9e61;
  box-shadow: 0 0 0 6px rgba(47, 158, 97, 0.13);
}

.open-status strong {
  display: block;
}

.open-status p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hours-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.hours-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-list span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.hours-list strong {
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

@media (min-width: 900px) {
  .visit-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 1rem;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 520px;
  }

  .hours-card {
    padding: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */

footer {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  padding: 2.25rem var(--gutter);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.footer-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 253, 250, 0.22);
  border-radius: var(--pill);
  background: rgba(255, 253, 250, 0.08);
  color: var(--paper);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.footer-icon:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-icon span {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.footer-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-copy {
  font-weight: 850;
  opacity: 0.75;
}

@media (min-width: 900px) {
  footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: stretch;
    padding: 2rem var(--gutter);
    text-align: left;
  }

  .footer-copy {
    justify-self: end;
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   10. Keyframes
   -------------------------------------------------------------------------- */

@keyframes pizzaBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.03); }
}

@keyframes sliceFill {
  0% { opacity: 0; transform: scale(0.45) rotate(-14deg); }
  7% { opacity: 1; transform: scale(1.07) rotate(2deg); }
  13%, 64% { opacity: 1; transform: scale(1) rotate(0deg); }
  76%, 100% { opacity: 0; transform: scale(0.7) rotate(6deg); }
}

@keyframes ovenGlow {
  0%, 100% { opacity: 0.45; transform: scale(0.94); }
  50% { opacity: 0.85; transform: scale(1.06); }
}

@keyframes steamRise {
  0% { transform: translateY(0) translateX(0) scaleY(0.6); opacity: 0; }
  20% { opacity: 0.8; }
  60% { transform: translateY(-30px) translateX(6px) scaleY(1); opacity: 0.5; }
  100% { transform: translateY(-55px) translateX(-4px) scaleY(1.2); opacity: 0; }
}

@keyframes loaderRing {
  0%, 100% { transform: scale(0.92); opacity: 0.34; }
  50% { transform: scale(1); opacity: 0.78; }
}

@keyframes loadBar {
  0% { transform: scaleX(0.08); }
  55% { transform: scaleX(0.82); }
  100% { transform: scaleX(1); }
}

@keyframes slowSpin {
  to { rotate: 360deg; }
}

/* --------------------------------------------------------------------------
   11. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* The fill animation ends on opacity 0, so show the finished pizza. */
  .slice {
    opacity: 1 !important;
    transform: none !important;
  }
}
