/* ==========================================================================
   Trattoria Senza Nome – Stylesheet
   Aufbau: 1 Tokens · 2 Basis · 3 Bausteine · 4 Kopf/Fuß · 5 Startseite
           6 Speisekarte · 7 Unterseiten · 8 Formulare · 9 Bewegung
   ========================================================================== */

/* ---------- 1 Tokens ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Allison";
  src: url("../fonts/allison-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* Farben: Nachtschwarz, Bordeaux, Gold, Papier – wie auf den Aushängen */
  --night: #120d0c;
  --night-2: #1b1311;
  --wine: #7a1f2b;
  --wine-deep: #5b1520;
  --gold: #c9a66b;
  --gold-soft: #e2c895;
  --cream: #f4ece0;
  --paper: #f7f1e8;
  --paper-2: #eee4d6;
  --ink: #231a17;
  --ink-muted: #66564b;
  --bronze: #8c6f58;
  --muted-dark: #b8a899;
  --leaf: #55752f;

  --font-text: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-script: "Allison", "Snell Roundhand", "Apple Chancery", cursive;

  --wrap: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.5rem;
  --radius: 2px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --step--1: clamp(.84rem, .8rem + .15vw, .93rem);
  --step-0: clamp(1.0625rem, 1.02rem + .2vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.1vw, 2.25rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem);
  --step-5: clamp(3rem, 1rem + 8.5vw, 8rem);
}

/* Farbwelten pro Abschnitt */
.theme-dark  { --bg: var(--night);  --fg: var(--cream); --fg-muted: var(--muted-dark); --accent: var(--gold);
               --rule: color-mix(in oklab, var(--gold) 30%, transparent); --rule-strong: color-mix(in oklab, var(--gold) 60%, transparent);
               --script: var(--gold-soft); --surface: var(--night-2); color-scheme: dark; }
.theme-paper { --bg: var(--paper);  --fg: var(--ink);   --fg-muted: var(--ink-muted); --accent: var(--wine);
               --rule: color-mix(in oklab, var(--ink) 20%, transparent); --rule-strong: color-mix(in oklab, var(--ink) 55%, transparent);
               --script: var(--bronze); --surface: var(--paper-2); color-scheme: light; }
.theme-wine  { --bg: var(--wine);   --fg: var(--cream); --fg-muted: #e9d3cc; --accent: var(--gold-soft);
               --rule: color-mix(in oklab, var(--gold-soft) 40%, transparent); --rule-strong: var(--gold-soft);
               --script: var(--gold-soft); --surface: var(--wine-deep); color-scheme: dark; }

/* ---------- 2 Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 4rem); }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font: 380 var(--step-0)/1.65 var(--font-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 360; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: italic; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent, var(--gold)); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: #1a110d; padding: .75rem 1.1rem; font-weight: 600; transition: top .2s var(--ease); }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 52rem; }

/* ---------- 3 Bausteine ---------- */
.eyebrow {
  font-size: var(--step--1); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--fg-muted); max-width: 42ch; }
.muted { color: var(--fg-muted); font-size: var(--step--1); }

.script, .script-title { font-family: var(--font-script); font-weight: 400; line-height: 1; letter-spacing: 0; color: var(--script); }
.script-title { font-size: clamp(3.2rem, 2rem + 4.6vw, 5.5rem); }
.script-title--xl { font-size: clamp(3.4rem, 1.8rem + 6vw, 7rem); max-width: 14ch; line-height: .95; margin-top: .35rem; }
.script--card { font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); }
.script--ink { color: var(--wine); }

.link {
  text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease), color .25s;
}
.link:hover, .link:focus-visible { background-size: 0 1px; }
.theme-paper .link { color: var(--wine); }
.link--arrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--accent); }
.link--arrow .arrow { transition: transform .3s var(--ease); }
.link--arrow:hover .arrow { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; line-height: 1.1;
  cursor: pointer; min-height: 2.9rem;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--sm { padding: .8rem 1.15rem; font-size: .76rem; min-height: 2.75rem; }
.btn--gold { background: var(--gold); color: #1a110d; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--wine { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.btn--wine:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn--ghost { border-color: var(--rule-strong); color: var(--fg); }
.btn--ghost:hover { background: color-mix(in oklab, var(--cream) 10%, transparent); border-color: var(--cream); }
.btn--ghost-ink { border-color: var(--rule-strong); color: var(--ink); }
.btn--ghost-ink:hover { background: color-mix(in oklab, var(--ink) 8%, transparent); border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: default; }

/* Doppelter Goldrahmen wie auf den Plakaten */
.frame { position: relative; border: 1px solid var(--rule); background: color-mix(in oklab, var(--bg) 70%, var(--surface)); }
.frame::before { content: ""; position: absolute; inset: .45rem; border: 1px solid var(--rule); pointer-events: none; }

.section { background: var(--bg); color: var(--fg); padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Flammen-Wasserzeichen (aus dem Logo) */
.paper-flame { position: relative; overflow: clip; }
.paper-flame > .wrap { position: relative; z-index: 1; }
.paper-flame::before {
  content: ""; position: absolute; right: -4%; top: 4%; width: min(34rem, 70vw); aspect-ratio: 1;
  background: #d9b9b6; opacity: .28;
  -webkit-mask: url("../img/flamme.png") center / contain no-repeat; mask: url("../img/flamme.png") center / contain no-repeat;
  pointer-events: none;
}

.leaf { display: inline-block; vertical-align: -.1em; margin-left: .4rem; color: var(--leaf); }

/* ---------- 4 Kopf & Fuß ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
/* Hintergrund und Weichzeichner liegen auf einem Pseudo-Element: backdrop-filter direkt am Header würde ihn zum
   Bezugspunkt für das fixierte Handy-Menü machen und das Menü auf Header-Höhe zusammenstauchen (iOS Safari, Chrome). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid::before, body.nav-open .site-header::before {
  background: color-mix(in oklab, var(--night) 94%, transparent);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--gold) 22%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: var(--wrap); margin-inline: auto; padding: .85rem var(--gutter); min-height: var(--header-h); }
.brand { display: block; line-height: 0; flex: none; position: relative; z-index: 2; }
.brand img { height: 2.5rem; width: auto; }

.nav-toggle { display: inline-flex; align-items: center; gap: .75rem; background: none; border: 0; cursor: pointer; padding: .6rem 0; position: relative; z-index: 2; color: var(--cream); }
.nav-toggle__label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 1.6rem; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle__bars { position: relative; transform: translateY(-3px); }
.nav-toggle__bars::before { content: ""; position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-7px) rotate(-90deg); }

.site-nav {
  position: fixed; inset: 0; z-index: 1; background: var(--night);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; padding: 6rem var(--gutter) 3rem;
  visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s;
}
.site-nav.is-open { visibility: visible; opacity: 1; }
.site-nav ul { display: grid; gap: .4rem; }
.site-nav a:not(.btn) { display: block; font-size: var(--step-3); line-height: 1.15; letter-spacing: -.02em; text-decoration: none; padding: .35rem 0; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--gold-soft); font-style: italic; }
.site-nav .btn { align-self: flex-start; }

@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .site-nav { position: static; inset: auto; background: none; flex-direction: row; align-items: center; justify-content: flex-end; gap: 2rem; padding: 0; visibility: visible; opacity: 1; }
  .site-nav ul { display: flex; gap: 1.75rem; }
  .site-nav a:not(.btn) {
    font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; padding: .4rem 0;
    background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease);
  }
  .site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { background-size: 100% 1px; color: var(--cream); font-style: normal; }
  .site-nav .btn { align-self: auto; }
}

.site-footer { background: var(--night); color: var(--cream); padding-top: clamp(4rem, 7vw, 6rem); border-top: 1px solid var(--rule); }
.site-footer__top { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 3.5rem; }
.site-footer__brand img { width: min(15rem, 70%); height: auto; }
.site-footer__brand .script { font-size: 2.8rem; margin-top: .75rem; }
.site-footer__col { display: grid; gap: .75rem; align-content: start; }
.site-footer__col .eyebrow { margin-bottom: .25rem; line-height: 1.5; }
.site-footer__col .btn { justify-self: start; margin-top: .5rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; padding-block: 1.5rem 2.5rem; border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--fg-muted); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
@media (min-width: 52rem) { .site-footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 3rem; } }

/* ---------- 5 Startseite ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 60rem); display: grid; align-content: end; background: var(--night); color: var(--cream); overflow: clip; padding-top: calc(var(--header-h) + 3rem); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; animation: hero-in 2s var(--ease) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--night) 4%, color-mix(in oklab, var(--night) 70%, transparent) 38%, transparent 70%),
    linear-gradient(90deg, color-mix(in oklab, var(--night) 85%, transparent) 0%, transparent 60%);
}
.hero__inner { padding-bottom: clamp(2rem, 5vw, 4rem); }
.hero__text { max-width: 44rem; display: grid; gap: 1.5rem; justify-items: start; }
.hero h1 { font-size: var(--step-5); line-height: .92; letter-spacing: -.035em; font-weight: 340; }
.hero h1 em { color: var(--gold-soft); font-weight: 320; }
.hero .lead { color: var(--cream); opacity: .88; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .5rem; }
.hero__facts { display: grid; gap: .6rem 2.5rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--rule); font-size: var(--step--1); }
.hero__fact-label { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 48rem) {
  .hero__facts { grid-template-columns: auto auto auto; justify-content: start; align-items: center; }
  .hero__facts > * + * { padding-left: 2.5rem; border-left: 1px solid var(--rule); }
}
@media (max-width: 47.99rem) {
  .hero__media img { object-position: 76% 18%; }
  .hero::after { background: linear-gradient(0deg, var(--night) 12%, color-mix(in oklab, var(--night) 78%, transparent) 46%, transparent 78%); }
}

.status { display: inline-flex; align-items: center; gap: .7rem; font-size: var(--step--1); }
.status__dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--muted-dark); flex: none; }
.status[data-state="open"] .status__dot { background: #7fcf8a; box-shadow: 0 0 0 0 rgba(127, 207, 138, .5); animation: pulse 2.4s ease-out infinite; }
.status[data-state="closed"] .status__dot { background: #d9766f; }
.status__text { font-weight: 500; }
.status--ink { color: var(--ink); margin-bottom: 1.5rem; }
.status--ink[data-state="open"] .status__dot { background: #3f9a4d; }
.status--ink[data-state="closed"] .status__dot { background: var(--wine); }

.notice { background: var(--wine); color: var(--cream); padding-block: 1rem; }
.notice__inner { display: grid; gap: .25rem .5rem; font-size: var(--step--1); }
.notice__title { font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
@media (min-width: 52rem) { .notice__inner { grid-template-columns: auto 1fr; align-items: baseline; gap: 1.5rem; } }

/* Startseite: Einleitungstext */
.intro { border-top: 1px solid var(--rule); padding-block: clamp(4rem, 9vw, 7.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.intro__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 60rem) { .intro__grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 6rem); } }
.intro__head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; color: var(--accent); font-weight: 500; text-wrap: balance; margin-top: .9rem; }
.intro__text p { max-width: 38rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; text-wrap: pretty; }
.intro__text .intro__claim { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); color: var(--accent); font-style: italic; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.4; }

.aktuell { padding-block: clamp(3.5rem, 7vw, 6rem); }
.aktuell__grid { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .aktuell__grid { grid-template-columns: 1fr 1fr; } }
.aktuell__grid > :only-child { grid-column: 1 / -1; max-width: 44rem; }
.event { display: grid; grid-template-columns: clamp(6.5rem, 26vw, 11rem) 1fr; gap: clamp(1rem, 3vw, 1.75rem); padding: 1.25rem; align-items: center; }
.event__poster { width: 100%; height: auto; border-radius: var(--radius); }
.event__body { display: grid; gap: .8rem; justify-items: start; position: relative; z-index: 1; }
.event h3 { font-size: var(--step-2); }
.event p:not(.eyebrow) { color: var(--fg-muted); font-size: var(--step--1); line-height: 1.55; }

.favs__grid { display: grid; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 60rem) { .favs__grid { grid-template-columns: 7fr 5fr; gap: 3rem; align-items: stretch; } }
.bomba { position: relative; min-height: 24rem; display: grid; align-items: end; color: var(--cream); background: var(--night); overflow: hidden; isolation: isolate; border-radius: var(--radius); }
.bomba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; transition: transform 1.2s var(--ease); }
.bomba:hover img { transform: scale(1.04); }
.bomba::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18, 13, 12, .95) 8%, rgba(18, 13, 12, .55) 45%, transparent 80%); }
.bomba__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: .6rem; max-width: 34rem; }
.bomba .eyebrow { color: var(--gold-soft); }
.bomba h3 { font-size: var(--step-3); }
.bomba p:not(.eyebrow):not(.bomba__price) { opacity: .9; font-size: var(--step--1); }
.bomba__price { font-size: var(--step-2); font-variant-numeric: tabular-nums; color: var(--gold-soft); }
.favs__list { display: grid; align-content: center; }
.fav__item { padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.fav__item:first-child { border-top: 1px solid var(--rule); }
.favs__more { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }

.story__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 60rem) { .story__grid { grid-template-columns: 5fr 6fr; align-items: start; } .story__intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.story__intro { display: grid; gap: 1.5rem; justify-items: start; }
.story__intro p:not(.eyebrow) { color: var(--fg-muted); max-width: 44ch; }
.years { display: grid; }
.years li { display: grid; grid-template-columns: clamp(6.25rem, 18vw, 10.5rem) 1fr; gap: 1.25rem; align-items: baseline; padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.years li:last-child { border-bottom: 1px solid var(--rule); }
.years__num { font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--gold-soft); font-variant-numeric: lining-nums; }
.years__text { color: var(--cream); max-width: 38ch; }

.visit__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 60rem) { .visit__grid { grid-template-columns: 7fr 5fr; align-items: start; } .visit__card { margin-top: 5rem; margin-left: -3rem; } }
.visit__card { padding: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: 1.1rem; justify-items: start; background: var(--paper-2); }
.visit__addr { font-size: var(--step-2); line-height: 1.15; }
.visit__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.visit__note { margin-top: 1rem; max-width: 46ch; }

.hours { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--rule); font-weight: 400; vertical-align: baseline; }
.hours th { font-weight: 600; padding-right: 1rem; white-space: nowrap; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--wine); font-weight: 600; }
.hours--big th, .hours--big td { font-size: var(--step-1); padding-block: 1.1rem; }
.hours__kitchen { margin-top: 1.5rem; font-size: var(--step-1); }

.band { background: var(--wine); color: var(--cream); padding-block: clamp(3rem, 6vw, 5rem); }
.band__inner { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 52rem) { .band__inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.band__title { font-size: var(--step-3); margin-bottom: .6rem; }
.band p { color: var(--fg-muted); max-width: 52ch; }

.duo { padding-block: clamp(3.5rem, 7vw, 6rem); }
.duo__grid { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .duo__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.duo__card { padding: clamp(1.75rem, 3.5vw, 3rem); display: grid; gap: 1rem; justify-items: start; align-content: start; }
.duo__card h2 { font-size: var(--step-2); }
.duo__card p:not(.eyebrow):not(.script) { color: var(--fg-muted); max-width: 40ch; }

/* ---------- 6 Speisekarte ---------- */
.page-head { background: var(--night); color: var(--cream); padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow: clip; }
.page-head .wrap { display: grid; gap: 1.25rem; justify-items: start; position: relative; }
.page-head h1 { font-size: clamp(3rem, 1.6rem + 6vw, 7rem); line-height: .95; letter-spacing: -.035em; font-weight: 340; }
.script--hero { font-size: clamp(3rem, 2rem + 3vw, 4.5rem); color: color-mix(in oklab, var(--gold) 55%, transparent); transform: rotate(-3deg); transform-origin: left; pointer-events: none; white-space: nowrap; margin-top: .25rem; }
@media (min-width: 64rem) { .script--hero { position: absolute; right: var(--gutter); bottom: 0; margin: 0; transform-origin: right; } }
.page-head--404 { min-height: 80svh; display: grid; align-content: center; }

.menu-tools-bar { background: var(--night); padding-bottom: 1.5rem; }
.menu-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.toggle { display: inline-flex; align-items: center; gap: .75rem; cursor: pointer; font-size: var(--step--1); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__box { width: 2.6rem; height: 1.45rem; border: 1px solid var(--rule-strong); border-radius: 99px; position: relative; flex: none; transition: background-color .25s var(--ease); }
.toggle__box::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.45rem - 8px); height: calc(1.45rem - 8px); border-radius: 50%; background: var(--cream); transition: transform .25s var(--ease); }
.toggle input:checked + .toggle__box { background: var(--leaf); border-color: var(--leaf); }
.toggle input:checked + .toggle__box::after { transform: translateX(1.15rem); }
.toggle input:focus-visible + .toggle__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.toggle .leaf { color: #9fd06a; margin-left: 0; }
.search input {
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); padding: .55rem .2rem; width: min(16rem, 62vw); color: var(--cream); font-size: var(--step--1);
}
.search input::placeholder { color: var(--muted-dark); }

.menu-bar { position: sticky; top: var(--header-h); z-index: 40; background: color-mix(in oklab, var(--night) 96%, transparent); border-block: 1px solid var(--rule); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-block: .6rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chips a { display: block; white-space: nowrap; padding: .55rem .95rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted-dark); border: 1px solid transparent; border-radius: 99px; transition: color .25s, border-color .25s, background-color .25s; scroll-snap-align: center; }
.chips a:hover { color: var(--cream); }
.chips a[aria-current="true"] { color: #1a110d; background: var(--gold); }

.menu { background: var(--paper); color: var(--ink); padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7rem); }
.menu-group { display: flex; align-items: center; gap: 1.25rem; margin: clamp(3rem, 6vw, 5rem) 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--wine); }
.menu-group::before, .menu-group::after { content: ""; height: 1px; flex: 1; background: var(--rule); }
.menu-group span { flex: none; }
.menu-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.menu-title { font-family: var(--font-script); font-weight: 400; font-size: clamp(3.6rem, 2.2rem + 5vw, 6rem); line-height: .9; letter-spacing: 0; color: var(--bronze); margin-bottom: 1rem; }
.menu-note { color: var(--ink-muted); font-style: italic; margin-bottom: 1rem; }
.dishes { margin-top: 1.25rem; }
@media (min-width: 62rem) { .dishes { column-count: 2; column-gap: clamp(2.5rem, 6vw, 5rem); } .dishes .dish--featured { column-span: all; } }
.dish { padding-block: .8rem .9rem; break-inside: avoid; page-break-inside: avoid; }
.dish__head { display: flex; align-items: baseline; gap: .6rem; }
.dish__name { font-weight: 640; text-transform: uppercase; letter-spacing: .035em; font-size: .93rem; line-height: 1.3; }
.dish__dots { flex: 1; min-width: 1rem; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-.28em); }
.dish__price { font-weight: 640; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish__size { font-weight: 400; font-style: normal; letter-spacing: .02em; color: var(--ink-muted); margin-right: .6rem; font-size: .78em; }
.dish__desc { color: var(--ink-muted); font-style: italic; font-size: .97rem; line-height: 1.45; margin-top: .15rem; max-width: 52ch; }
.dish__note { color: var(--wine); font-style: italic; font-weight: 600; font-size: .88rem; margin-top: .25rem; }
.dish--featured { background: color-mix(in oklab, var(--wine) 7%, transparent); padding: 1.1rem 1.25rem; border-left: 3px solid var(--wine); margin-bottom: .6rem; }
.dish--featured .dish__name { font-size: 1.05rem; }
.dish--multi .dish__head { flex-wrap: wrap; }
.dish__prices { display: flex; gap: .35rem 1rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.dish__vol { display: inline-flex; flex-direction: column; align-items: flex-end; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.dish__vol small { font-weight: 400; font-style: normal; color: var(--ink-muted); font-size: .72rem; letter-spacing: .02em; }
.menu-foot { margin-top: 1.25rem; color: var(--wine); font-weight: 600; font-style: italic; }
.menu-quote { margin-top: 2.5rem; text-align: center; }
.menu-quote .script { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.menu-quote footer { color: var(--ink-muted); font-style: italic; font-size: var(--step--1); margin-top: .25rem; }
.menu-empty { margin-top: 3rem; text-align: center; color: var(--ink-muted); font-style: italic; }
.stamp { margin: clamp(4rem, 8vw, 6rem) auto 0; max-width: 34rem; padding: 2rem 1.75rem; text-align: center; display: grid; gap: .6rem; --bg: var(--paper); --rule: color-mix(in oklab, var(--wine) 45%, transparent); }
.stamp .script { font-size: 3.2rem; color: var(--wine); }
.stamp p:not(.script) { color: var(--wine); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; line-height: 1.7; }

.menu-section[hidden], .menu-group[hidden] { display: none !important; }

/* ---------- 7 Unterseiten ---------- */
.tl { display: grid; }
.tl__item { display: grid; gap: .5rem 2rem; padding-block: clamp(1.75rem, 3.5vw, 2.75rem); border-top: 1px solid var(--rule); }
.tl__item:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 52rem) { .tl__item { grid-template-columns: 14rem 1fr; } }
.tl__year { font-size: clamp(2.6rem, 1.6rem + 3.5vw, 4.5rem); line-height: 1; letter-spacing: -.03em; color: var(--wine); font-weight: 320; font-variant-numeric: lining-nums; }
.tl__item h2 { font-size: var(--step-2); margin-bottom: .6rem; }
.tl__item p { max-width: 62ch; }
.closing { margin-top: clamp(3rem, 6vw, 5rem); font-size: clamp(2.4rem, 1.4rem + 3.5vw, 4.2rem); max-width: 22ch; line-height: 1.02; }
.closing__btns { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.hours-page__grid, .directions__grid, .res__grid, .voucher__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 60rem) { .hours-page__grid, .directions__grid { grid-template-columns: 7fr 5fr; align-items: start; } }
.hours-page__aside, .directions__card { padding: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: 1rem; justify-items: start; background: var(--paper-2); }
.directions__addr { display: grid; gap: .15rem; margin-bottom: 2rem; }
.directions__line { font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4.2rem); line-height: 1.02; letter-spacing: -.03em; }
.directions__addr .eyebrow { margin-bottom: .75rem; }
.plain { display: grid; gap: .6rem; }
.plain li { padding-left: 1.1rem; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .72em; width: .4rem; height: 1px; background: var(--accent); }

.news .post { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.news .post:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 52rem) { .news .post { grid-template-columns: 16rem 1fr; gap: 3rem; } }
.post__poster { width: min(16rem, 70%); border-radius: var(--radius); box-shadow: 0 1px 0 var(--rule), 0 18px 40px -20px rgba(18, 13, 12, .5); }
.post__body { display: grid; gap: 1rem; justify-items: start; max-width: 60ch; }
.post h2 { font-size: var(--step-3); }
.post__sign { font-style: italic; color: var(--ink-muted); }
.post.is-past .post__poster { filter: grayscale(.6); opacity: .8; }

.prose { color: var(--ink); }
.prose h2 { font-size: var(--step-1); margin: 2.5rem 0 .6rem; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-block: .8rem; max-width: 68ch; }
.prose ul { list-style: disc; padding-left: 1.2rem; margin-block: .8rem; }
.prose a { color: var(--wine); text-underline-offset: .2em; }
.prose p { overflow-wrap: anywhere; hyphens: auto; }

/* ---------- 8 Formulare ---------- */
.res__grid { align-items: start; }
@media (min-width: 60rem) { .res__grid { grid-template-columns: 6fr 4fr; } .res__aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.res__card { padding: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: 1rem; }
.form { display: grid; gap: 1.5rem; max-width: 36rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); font-weight: 500; }
.field .opt { text-transform: none; letter-spacing: 0; font-style: italic; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; padding: .7rem 0; color: var(--fg); font-size: var(--step-0);
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field select:disabled { opacity: .55; }
.field select option { background: var(--night); color: var(--cream); }
.theme-paper .field select option { background: var(--paper); color: var(--ink); }
.form__hint { font-size: var(--step--1); color: var(--fg-muted); line-height: 1.55; }
.form__msg { min-height: 1.5em; font-weight: 500; }
.form__msg.is-ok { color: #8fdc9a; }
.form__msg.is-error, .form__msg--error { color: #f0a199; }
.form--paper .form__msg.is-ok { color: #2f7a3c; }
.form--paper .form__msg.is-error, .form--paper .form__msg--error { color: #a3201f; }
.form .btn { justify-self: start; }

.voucher__grid { align-items: start; }
@media (min-width: 60rem) { .voucher__grid { grid-template-columns: 6fr 5fr; } .voucher__stage { position: sticky; top: calc(var(--header-h) + 2rem); } }
.voucher__stage { padding: 1rem 0 2rem; }
/* Gutschein-Karte: Design der alten Seite (hellgraues Papier, schräg, dunkles Fußband); Maße in --u (1/495 der Kartenbreite) */
.gs-card {
  container-type: inline-size; --u: .202cqw; position: relative; max-width: 32rem; aspect-ratio: 495 / 248; overflow: hidden;
  transform: rotate(-3deg); color: #2b2320; font-family: Arial, Helvetica, sans-serif;
  background: #ddd8d1 url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='400'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.004 0.09' numOctaves='4' seed='3'/><feColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.52 0 0 0 0 0.5 0 0 0 -1.5 1.15'/></filter><rect width='100%' height='100%' fill='%23DDD8D1'/><rect width='100%' height='100%' filter='url(%23f)'/></svg>") center / cover;
  box-shadow: 0 2px 4px rgba(43, 35, 32, .15), 0 14px 26px rgba(43, 35, 32, .18), 0 30px 50px rgba(43, 35, 32, .14);
}
.gs-card * { margin: 0; line-height: 1.15; }
.gs-w { position: absolute; }
.gs-t { left: 0; right: 0; top: calc(var(--u) * 17); text-align: center; font: calc(var(--u) * 31) / 1.1 Georgia, "Times New Roman", serif; letter-spacing: calc(var(--u) * 1.5); }
.gs-h { right: calc(var(--u) * 30); top: calc(var(--u) * 16); width: calc(var(--u) * 36); opacity: .4; }
.gs-l1 { left: calc(var(--u) * 30); top: calc(var(--u) * 82); font-size: calc(var(--u) * 13); }
.gs-l2 { left: calc(var(--u) * 30); top: calc(var(--u) * 99); font-size: calc(var(--u) * 6.5); color: #5e5752; }
.gs-wb { left: calc(var(--u) * 150); right: calc(var(--u) * 30); top: calc(var(--u) * 76); height: calc(var(--u) * 32); }
.gs-wb .gs-box { height: 100%; position: relative; }
.gs-box { background: rgba(244, 242, 238, .8); height: calc(var(--u) * 26); display: flex; align-items: center; justify-content: center; font-size: calc(var(--u) * 10); }
.gs-lab { font-size: calc(var(--u) * 7.5); color: #5e5752; margin-bottom: calc(var(--u) * 3); }
.gs-value { font-size: calc(var(--u) * 21); font-weight: 700; font-variant-numeric: tabular-nums; }
.gs-eur { position: absolute; right: calc(var(--u) * 10); font-size: calc(var(--u) * 14); }
.gs-fuss { left: 0; right: 0; bottom: 0; height: calc(var(--u) * 60); background: #4a4543; color: #f1ece4; text-align: center; font-family: Georgia, "Times New Roman", serif; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 4); }
.gs-fuss b { font-size: calc(var(--u) * 9.5); }
.gs-fuss span { font-size: calc(var(--u) * 7.5); }
.gs-amounts { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.gs-amounts legend { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); font-weight: 500; margin-bottom: .75rem; padding: 0; }
.gs-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.gs-pill { cursor: pointer; padding: .7rem 1.15rem; border: 1px solid var(--wine); background: transparent; color: var(--wine); border-radius: 99px; font-weight: 600; font-variant-numeric: tabular-nums; min-height: 2.75rem; transition: background-color .25s var(--ease), color .25s var(--ease); }
.gs-pill:hover { background: color-mix(in oklab, var(--wine) 10%, transparent); }
.gs-pill[aria-pressed="true"] { background: var(--wine); color: var(--cream); }

/* ---------- 9 Bewegung ---------- */
@keyframes hero-in { from { transform: scale(1.07); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 207, 138, .5); } 70%, 100% { box-shadow: 0 0 0 .55rem rgba(127, 207, 138, 0); } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-nav, .menu-bar, .menu-tools-bar, .band, .skip-link { display: none !important; }
  body, .section, .menu, .theme-dark { background: #fff !important; color: #000 !important; }
}
