/* Trinken Haus — stile rosso e giallo */
/* Carattere Archivo ospitato nel sito (licenza SIL OFL, vedi fonts/OFL.txt): nessuna richiesta a Google */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --red: #c8102e;
  --red-dark: #9e0c23;
  --red-deep: #7a0a1b;
  --yellow: #ffc20e;
  --yellow-dark: #e6a800;
  --cream: #fff4e2;
  --cream-2: #ffe9c6;
  --ink: #1f1310;
  --muted: #6b5a52;
  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 14px;
  --wrap: 1200px;
  --gut: 24px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 10px 30px rgba(80, 10, 20, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
html, body { margin: 0; }
body { font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 88px); }
h2 { font-size: clamp(34px, 4.4vw, 60px); }
h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; font-weight: 800; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 999px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; border: 2px solid transparent; transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 var(--yellow-dark); }
.btn--yellow:hover { box-shadow: 0 8px 0 var(--yellow-dark); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 6px 0 var(--red-deep); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--white { background: var(--white); color: var(--red); box-shadow: 0 6px 0 rgba(0,0,0,.22); }
.btn--white:hover { box-shadow: 0 8px 0 rgba(0,0,0,.22); }
.btn--white svg { transition: transform .18s ease; }
.btn--white:hover svg { transform: translateX(3px); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link { font-weight: 800; text-decoration: none; border-bottom: 3px solid var(--yellow); padding-bottom: 2px; }
.link:hover { border-color: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--red); color: var(--white); }
.site-header__bar { display: flex; align-items: center; gap: 16px; height: 84px; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 10px 11px; border-radius: 999px; white-space: nowrap; transition: background-color .15s; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.16); }
.site-header .btn { min-height: 46px; padding: 0 20px; font-size: 16px; white-space: nowrap; box-shadow: none; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 999px; border: 2px solid rgba(255,255,255,.5); background: transparent; color: var(--white); cursor: pointer; }
.nav-toggle svg { margin: auto; }
@media (max-width: 1279px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-header .btn--header { display: none; }
  .nav { position: fixed; inset: 84px 0 0 0; background: var(--red); flex-direction: column; padding: 24px; gap: 4px; display: none; overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { font-size: 24px; font-weight: 800; padding: 14px 16px; }
  .nav .btn { margin-top: 16px; }
}
@media (min-width: 1280px) { .nav .btn { display: none; } }

/* Hero */
.hero { background: var(--red); color: var(--white); padding: 56px 0 140px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,194,14,.22), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 span { color: var(--yellow); }
.nowrap { white-space: nowrap; }
@media (max-width: 360px) { .nowrap { white-space: normal; } }
.hero__lead { font-size: 20px; line-height: 1.5; margin: 22px 0 32px; max-width: 30ch; opacity: .95; }
.hero__pic { border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.28); aspect-ratio: 5 / 4; transform: rotate(1.5deg); }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.hero__pic--square { aspect-ratio: 1; max-width: 560px; margin-left: auto; }
@media (max-width: 860px) {
  .hero { padding: 32px 0 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__pic { transform: none; }
}

/* Quick bar */
.quickbar { position: relative; z-index: 2; margin-top: -84px; }
.quickbar__inner { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: center; }
.quick { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius-sm); text-decoration: none; transition: background-color .15s; }
.quick:hover { background: var(--cream); }
.quick img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.quick strong { display: block; font-size: 18px; font-weight: 900; line-height: 1.1; }
.quick span { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .quickbar__inner { grid-template-columns: repeat(2, 1fr); } .quickbar__inner .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .quickbar__inner { padding: 12px; gap: 6px; } .quick { flex-direction: column; text-align: center; gap: 8px; } .quick img { width: 56px; height: 56px; } .quick strong { font-size: 16px; } .quick span { font-size: 13px; } }

/* Sections */
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section--white { background: var(--white); }
.section--yellow { background: var(--yellow); }
.section--red { background: var(--red); color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head p { font-size: 19px; max-width: 46ch; color: var(--muted); margin-top: 14px; }
.section--red .section-head p { color: rgba(255,255,255,.88); }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center p { margin-inline: auto; }
.kicker-red { color: var(--red); }

/* Feature panel (red rounded, like the reference) */
.panel { background: var(--red); color: var(--white); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; overflow: hidden; }
.panel--yellow { background: var(--yellow); color: var(--ink); }
.panel p { font-size: 19px; margin: 18px 0 28px; max-width: 40ch; }
.panel__pic { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.panel__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } }

/* Podium */
.podium { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.podium__item { background: var(--white); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; display: grid; grid-template-rows: auto 1fr; transition: transform .2s ease, box-shadow .2s ease; }
.podium__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.podium__item figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.podium__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.podium__item:hover img { transform: scale(1.03); }
.podium__body { padding: 26px 28px 30px; }
.podium__place { font-size: 48px; font-weight: 900; color: var(--red); line-height: 1; }
.podium__body h3 { font-size: 28px; margin: 8px 0 8px; }
.podium__body p { color: var(--muted); }
@media (max-width: 760px) { .podium { grid-template-columns: 1fr; } }

/* Tiles (3 coloured cards) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { border-radius: var(--radius); overflow: hidden; text-decoration: none; display: grid; grid-template-rows: auto 1fr; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile figure { margin: 0; aspect-ratio: 1; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile__body { padding: 22px 24px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile__body h3 { font-size: 24px; }
.tile__arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; flex: none; transition: transform .2s; }
.tile:hover .tile__arrow { transform: translateX(3px); }
.section--white .tile { background: var(--cream); }
.tile--red, .section--white .tile--red { background: var(--red); color: var(--white); }
.tile--yellow, .section--white .tile--yellow { background: var(--yellow); }
.tile--yellow .tile__arrow { background: var(--white); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__pic { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3; }
.split__pic img { width: 100%; height: 100%; object-fit: cover; }
.split p { font-size: 19px; margin-top: 18px; }
.split .btn-row { margin-top: 30px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; font-weight: 600; }
.checks li::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231f1310' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; margin-top: 1px; }
.section--red .checks li::before { background-color: var(--yellow); }
.section--yellow .checks li::before { background-color: var(--white); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split--rev .split__pic { order: -1; } }

/* Mascot */
.mascot { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.mascot img { width: min(100%, 400px); height: auto; aspect-ratio: 1; object-fit: contain; margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); }
.mascot p { font-size: 19px; margin: 18px 0 28px; }
/* Trinketto fermo: compare solo la nuvoletta di saluto */
.mascot__fig { position: relative; width: min(100%, 400px); margin: 84px auto 0; }
.mascot__fig img { width: 100%; }
/* Tovaglia bavarese: un cerchio a rombi bianchi e azzurri dietro Trinketto, che si apre quando arriva sullo schermo */
.mascot__fig > img { position: relative; z-index: 1; }
.mascot .mascot__bubble { z-index: 2; }
.mascot__fig--tovaglia::before { content: ""; position: absolute; inset: 6% 4% 2%; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='24'%3E%3Crect width='40' height='24' fill='%23fff'/%3E%3Cpath d='M20 0L40 12L20 24L0 12Z' fill='%233d96dc'/%3E%3C/svg%3E") center / 40px 24px;
  box-shadow: 0 0 0 10px var(--white), 0 18px 40px rgba(31,19,16,.12);
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.8,.2,1.15); }
.mascot__fig--tovaglia.is-waiting::before { opacity: 0; transform: scale(.55) rotate(-25deg); }
@media (prefers-reduced-motion: reduce) { .mascot__fig--tovaglia::before { transition: none; } }
.mascot .mascot__bubble { position: absolute; top: -78px; left: 52%; margin: 0; white-space: nowrap; text-align: left;
  background: var(--yellow); color: var(--ink); padding: 10px 18px 12px; border-radius: 22px; box-shadow: 0 6px 14px rgba(0,0,0,.18);
  transform-origin: 10% 100%; opacity: 0; animation: tk-bubble 6s ease-in-out infinite; }
.mascot__bubble b { display: block; font-size: 28px; font-weight: 900; line-height: 1.05; }
.mascot__bubble span { display: block; font-size: 15px; font-weight: 700; margin-top: 2px; }
.mascot__bubble::after { content: ""; position: absolute; left: 14px; bottom: -12px; border: 12px solid transparent; border-top-color: var(--yellow); border-bottom: 0; }
@media (max-width: 600px) {
  .mascot .mascot__bubble { left: auto; right: 0; transform-origin: 40% 100%; }
  .mascot__bubble::after { left: 40%; }
  .mascot__bubble b { font-size: 24px; }
  .mascot__bubble span { font-size: 14px; }
}
@keyframes tk-bubble {
  0%, 8% { opacity: 0; transform: translateY(8px) scale(.6); }
  14% { opacity: 1; transform: translateY(0) scale(1.06); }
  18%, 72% { opacity: 1; transform: translateY(0) scale(1); }
  80%, 100% { opacity: 0; transform: translateY(8px) scale(.6); }
}
@media (prefers-reduced-motion: reduce) { .mascot .mascot__bubble { animation: none; opacity: 1; } }
@media (max-width: 860px) { .mascot { grid-template-columns: 1fr; text-align: center; } .mascot .btn-row { justify-content: center; } }

/* Blog cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: grid; grid-template-rows: auto 1fr; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.03); }
.card__body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.card__date { font-size: 15px; font-weight: 700; color: var(--red); }
.card h3 { font-size: 22px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { background: var(--red); color: var(--white); padding: 72px 0 80px; }
.page-hero p { font-size: 20px; margin-top: 18px; max-width: 52ch; opacity: .95; }

/* Prose */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 48px 0 16px; }
.prose p { font-size: 19px; line-height: 1.75; margin: 0 0 20px; }
.prose figure { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; }
.prose figure img { width: 100%; }

/* Info blocks (contatti) */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info__item { background: var(--white); border-radius: var(--radius); padding: 32px; }
.info__item h3 { margin-bottom: 10px; }
.info__item a { display: inline-flex; align-items: center; min-height: 44px; font-size: 20px; font-weight: 800; text-decoration: none; word-break: break-word; }
.info__item a:hover { color: var(--red); }
@media (max-width: 860px) { .info { grid-template-columns: 1fr; } }
.hours { display: grid; grid-template-columns: auto auto; gap: 8px 28px; margin: 0; font-size: 17px; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* Footer */
.site-footer { background: var(--red-deep); color: var(--white); padding: 80px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid h3 { font-size: 18px; margin-bottom: 16px; color: var(--yellow); }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { text-decoration: underline; }
.footer__logo img { height: 96px; width: auto; margin-bottom: 18px; }
.footer__payoff { font-size: 22px; font-weight: 900; line-height: 1.15; max-width: 16ch; }
.site-footer .hours dt { font-weight: 600; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; transition: background-color .15s; }
.footer__social a:hover { background: var(--yellow); color: var(--ink); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; opacity: .85; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ================= MENU PAGE ================= */
.menu-hero { background: var(--red); color: var(--white); padding: 64px 0 40px; }
.menu-hero p { font-size: 20px; margin-top: 16px; max-width: 48ch; }
.menu-switch { display: inline-flex; background: rgba(0,0,0,.18); border-radius: 999px; padding: 6px; margin-top: 32px; gap: 4px; }
.menu-switch a { text-decoration: none; font-weight: 800; font-size: 17px; padding: 12px 24px; border-radius: 999px; color: var(--white); }
.menu-switch a.is-active { background: var(--yellow); color: var(--ink); }

.chips { position: sticky; top: 84px; z-index: 40; background: var(--white); box-shadow: 0 6px 18px rgba(80,10,20,.08); }
.chips__inner { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; scroll-padding-inline: 16px; }
.chips__inner::-webkit-scrollbar { display: none; }
.chip { flex: none; text-decoration: none; font-weight: 700; font-size: 16px; padding: 10px 18px; border-radius: 999px; background: var(--cream); white-space: nowrap; transition: background-color .15s, color .15s; }
.chip:hover { background: var(--cream-2); }
.chip.is-active { background: var(--red); color: var(--white); }
.chip--sep { background: transparent; color: var(--muted); padding-inline: 6px; pointer-events: none; }

.menu-group { padding: 72px 0 24px; }
.menu-group__title { font-size: clamp(40px, 5vw, 64px); font-weight: 900; letter-spacing: -0.02em; line-height: 1; color: var(--red); margin-bottom: 8px; }
.menu-cat { padding: 40px 0 48px; }
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 3px solid var(--ink); }
.menu-cat__head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.menu-cat__head p { color: var(--muted); font-size: 17px; max-width: 52ch; }
/* Nota in evidenza (burger: patate casarecce incluse): in grassetto e scura */
.menu-cat__head .menu-cat__note { font-weight: 700; color: var(--ink); }

.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dish { background: var(--white); border-radius: 22px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 2px 0 rgba(80,10,20,.06); transition: transform .2s ease, box-shadow .2s ease; }
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dish figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.dish__award { position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-size: 13.5px; font-weight: 800; line-height: 1.2; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.dish__award svg { flex: none; }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dish:hover img { transform: scale(1.03); }
.dish__body { padding: 18px 20px 20px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; }
.dish h3 { font-size: 20px; }
.dish p { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.price { font-size: 22px; font-weight: 900; color: var(--red); font-variant-numeric: tabular-nums; }
.dish .price { margin-top: 6px; }

.dishes-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.dish-row { background: var(--white); border-radius: 18px; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline; }
.dish-row h3 { font-size: 19px; }
.dish-row p { grid-column: 1 / -1; font-size: 15.5px; color: var(--muted); line-height: 1.5; }

.drinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.drink { background: var(--white); border-radius: 18px; padding: 20px 22px; display: grid; gap: 8px; }
.drink__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.drink h3 { font-size: 20px; }
.drink p { color: var(--muted); font-size: 15.5px; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.format { background: var(--cream); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.format b { color: var(--red); font-weight: 900; margin-left: 6px; }

.menu-note { background: var(--yellow); border-radius: var(--radius); padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin: 40px 0 100px; }
.menu-note h2 { font-size: clamp(26px, 3vw, 36px); }
.menu-note p { font-size: 18px; margin-top: 8px; }

@media (max-width: 1100px) { .dishes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .dishes { grid-template-columns: repeat(2, 1fr); } .dishes-list, .drinks { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .dishes { grid-template-columns: 1fr; }
  .dish figure { aspect-ratio: 16 / 10; }
  .dish__body { padding: 14px 16px; }
  .dish h3 { font-size: 18px; }
  .dish p { font-size: 15px; }
  .section { padding: 72px 0; }
  .menu-note { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Language switcher */
.lang { position: relative; flex: none; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 999px; border: 2px solid rgba(255,255,255,.45); font-weight: 800; font-size: 15px; cursor: pointer; user-select: none; transition: background-color .15s, border-color .15s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.lang summary:hover, .lang[open] summary { background: rgba(255,255,255,.16); border-color: var(--white); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; margin: 0; padding: 8px; list-style: none; background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow); z-index: 60; }
.lang a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 16px; }
.lang a:hover { background: var(--cream); }
.lang a[aria-current="true"] { background: var(--red); color: var(--white); }
@media (max-width: 1279px) { .lang { margin-left: auto; } .nav-toggle { margin-left: 0; } }

/* Boccale HB che si riempie scorrendo la pagina (assets/site.js imposta --fill da 0 a 1) */
.stein { --fill: 0; --level: calc((1 - var(--fill)) * 91.5%); position: fixed; right: 22px; bottom: 18px; z-index: 45; width: 62px; aspect-ratio: 208 / 377; font-size: 10px; filter: drop-shadow(0 8px 12px rgba(40,10,10,.3)); transition: transform .2s ease; }
.stein { opacity: .55; }
.stein:hover, .stein:focus-visible { opacity: 1; transform: translateY(-3px) rotate(-7deg); }
.stein:active { transform: scale(.94); }
.stein img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stein__empty { filter: grayscale(1) brightness(1.25) contrast(.9); opacity: .55; }
.stein__full { position: absolute; inset: 0; clip-path: inset(var(--level) 0 0 0); transition: clip-path .25s ease-out; }
.stein__full i { position: absolute; bottom: 12%; width: .45em; height: .45em; border-radius: 50%; background: rgba(255,255,255,.85); opacity: 0; animation: stein-bubble 2.6s linear infinite; }
.stein__full i:nth-child(2) { left: 22%; }
.stein__full i:nth-child(3) { left: 44%; animation-delay: .7s; width: .35em; height: .35em; }
.stein__full i:nth-child(4) { left: 63%; animation-delay: 1.4s; }
.stein__full i:nth-child(5) { left: 33%; animation-delay: 2s; width: .3em; height: .3em; }
@keyframes stein-bubble {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: .9; }
  100% { transform: translateY(calc(var(--fill) * -26em)); opacity: 0; }
}
.stein__foam { position: absolute; left: 2.5%; width: 83%; height: 8%; top: calc(var(--level) - 4.5%); border-radius: 45% 45% 30% 30% / 75% 75% 25% 25%; background: radial-gradient(circle at 18% 40%, #fff 0 26%, transparent 27%), radial-gradient(circle at 48% 30%, #fff 0 28%, transparent 29%), radial-gradient(circle at 80% 40%, #fff 0 26%, transparent 27%), #fdf1d6; box-shadow: inset 0 -3px 0 #e9c98a, 0 1px 2px rgba(120,70,0,.35); opacity: clamp(0, min(calc(var(--fill) * 20), calc((0.93 - var(--fill)) * 14)), 1); transition: top .25s ease-out, opacity .2s; pointer-events: none; }
.stein.is-full { animation: stein-cheers .7s ease-out; }
@keyframes stein-cheers { 30% { transform: rotate(-10deg) translateY(-4px); } 60% { transform: rotate(5deg); } }
@media (max-width: 640px) { .stein { right: 14px; bottom: 14px; width: 46px; font-size: 7.4px; } }
@media (prefers-reduced-motion: reduce) { .stein__full i { display: none; } .stein.is-full { animation: none; } }
body:has(.stein) .site-footer { padding-bottom: 140px; }

/* Avviso allergeni */
.menu-allergens { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; max-width: 60ch; padding: 12px 16px; border-radius: 14px; background: rgba(0,0,0,.16); font-size: 16px; line-height: 1.45; font-weight: 600; }
.menu-allergens svg { flex: none; margin-top: 1px; color: var(--yellow); }
.menu-note__allergens { font-size: 15px; font-weight: 600; margin-top: 10px; opacity: .85; }

/* Scheda del piatto (finestra di dialogo) */
.dish, .dish-row { cursor: pointer; }
.dish-row { transition: transform .2s ease, box-shadow .2s ease; }
.dish-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dish:focus-visible, .dish-row:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.dish-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: auto; }
.dish-modal::backdrop { background: rgba(31,19,16,.6); backdrop-filter: blur(3px); }
.dish-modal[open] { animation: dish-in .25s cubic-bezier(.2,.9,.3,1.2); }
@keyframes dish-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.dish-modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .15s; }
.dish-modal__close:hover { transform: scale(1.06); }
.dish-modal__pic { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--cream-2); }
.dish-modal__pic:empty { display: none; }
.dish-modal__pic img { width: 100%; height: 100%; object-fit: cover; }
.dish-modal__body { padding: 24px 28px 30px; display: grid; gap: 12px; }
.dish-modal__pic:empty + .dish-modal__body { padding-top: 34px; padding-right: 72px; }
.dish-modal__body h3 { font-size: 28px; }
.dish-modal__desc { font-size: 17px; line-height: 1.6; color: var(--muted); }
.dish-modal__desc:empty { display: none; }
.dish-modal .price { font-size: 26px; }
@media (max-width: 520px) {
  .dish-modal { width: 100%; max-width: 100%; max-height: 92%; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .dish-modal[open] { animation: dish-up .28s ease-out; }
  @keyframes dish-up { from { transform: translateY(100%); } }
  .dish-modal__body { padding: 20px 22px 28px; }
  .dish-modal__body h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .dish-modal[open] { animation: none; } }

/* Schiuma: le sezioni rosse hanno in cima una striscia di schiuma che scorre piano;
   i blocchi rossi in testa alla pagina finiscono con un bordo a bolle */
.section--red, .site-footer { position: relative; }
.section--red::before, .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' fill='%23fff'%3E%3Crect width='160' height='12'/%3E%3Ccircle cx='0' cy='12' r='11'/%3E%3Ccircle cx='24' cy='12' r='13'/%3E%3Ccircle cx='50' cy='12' r='9'/%3E%3Ccircle cx='72' cy='12' r='14'/%3E%3Ccircle cx='98' cy='12' r='10'/%3E%3Ccircle cx='121' cy='12' r='13'/%3E%3Ccircle cx='146' cy='12' r='9'/%3E%3Ccircle cx='160' cy='12' r='11'/%3E%3Cg opacity='.85'%3E%3Ccircle cx='37' cy='33' r='3.5'/%3E%3Ccircle cx='86' cy='35' r='3'/%3E%3Ccircle cx='110' cy='38' r='2.2'/%3E%3Ccircle cx='134' cy='31' r='2.8'/%3E%3Ccircle cx='60' cy='39' r='2'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 44px repeat-x; animation: foam-drift 40s linear infinite; pointer-events: none; }
.section--red, .site-footer { padding-top: 140px; }
.hero, .page-hero {
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='26'%3E%3Crect width='160' height='12'/%3E%3Ccircle cx='0' cy='12' r='11'/%3E%3Ccircle cx='24' cy='12' r='13'/%3E%3Ccircle cx='50' cy='12' r='9'/%3E%3Ccircle cx='72' cy='12' r='14'/%3E%3Ccircle cx='98' cy='12' r='10'/%3E%3Ccircle cx='121' cy='12' r='13'/%3E%3Ccircle cx='146' cy='12' r='9'/%3E%3Ccircle cx='160' cy='12' r='11'/%3E%3C/svg%3E") bottom left / 160px 26px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='26'%3E%3Crect width='160' height='12'/%3E%3Ccircle cx='0' cy='12' r='11'/%3E%3Ccircle cx='24' cy='12' r='13'/%3E%3Ccircle cx='50' cy='12' r='9'/%3E%3Ccircle cx='72' cy='12' r='14'/%3E%3Ccircle cx='98' cy='12' r='10'/%3E%3Ccircle cx='121' cy='12' r='13'/%3E%3Ccircle cx='146' cy='12' r='9'/%3E%3Ccircle cx='160' cy='12' r='11'/%3E%3C/svg%3E") bottom left / 160px 26px repeat-x; }
@keyframes foam-drift { to { background-position: 160px 0; } }
@media (max-width: 760px) { .section--red, .site-footer { padding-top: 100px; } }
@media (prefers-reduced-motion: reduce) { .section--red::before, .site-footer::before { animation: none; } }

/* Sorpresa: pioggia di bretzel e boccali */
.rain { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.rain span { position: absolute; top: -80px; line-height: 1; animation: rain-fall linear forwards; }
@keyframes rain-fall { to { transform: translateY(calc(100vh + 160px)) rotate(var(--spin)); } }
