/* ==========================================================================
   Da Enzo Falkensee — main stylesheet (mobile first)
   ========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); background: var(--espresso); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
  overflow-x: clip;
}
::selection { background: var(--gold); color: var(--espresso); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

em, .it { font-family: var(--font-display); font-style: italic; font-weight: 400; }

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

.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: calc(var(--z-loader) + 1);
  background: var(--gold); color: var(--espresso); padding: 0.7rem 1.1rem; font-weight: 500;
  transform: translateY(-200%); transition: transform var(--dur-1) var(--ease-out);
}
.skip-link:focus { transform: none; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Logo (original artwork used as a mask, recoloured in gold) ---------- */
.logo-mark {
  --logo-w: 92px;
  display: block;
  width: var(--logo-w);
  aspect-ratio: 355 / 240;
  background-color: var(--gold);
  -webkit-mask: url("../images/da-enzo-logo.png") center / contain no-repeat;
          mask: url("../images/da-enzo-logo.png") center / contain no-repeat;
}
.logo-mark--xl { --logo-w: clamp(180px, 22vw, 300px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ivory); --btn-fill: var(--ivory); --btn-fill-fg: var(--espresso);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.25rem; padding: 0.9rem 1.7rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-border, transparent); border-radius: 2px;
  transition: color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--espresso); --btn-fill: var(--ivory); --btn-fill-fg: var(--espresso); }
.btn--ghost { --btn-border: var(--line-strong); }
.btn--ghost:hover { --btn-border: var(--ivory); }
.btn--dark { --btn-bg: var(--espresso); --btn-fg: var(--ivory); --btn-fill: var(--burgundy); --btn-fill-fg: var(--ivory); }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1.15rem; font-size: 0.9rem; }

.link-line { justify-self: start;
  position: relative; display: inline-block; padding-bottom: 0.3rem; margin-top: 1rem;
  font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--gold);
}
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: 100% 50%; transition: transform var(--dur-2) var(--ease-out);
}
.link-line:hover::after { transform: scaleX(0); }

/* ---------- Status pill (open / closed, computed in main.js) ---------- */
.status { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--step--1); letter-spacing: 0.02em; color: var(--fg-muted); }
.status:empty { display: none; }
.status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--fg-faint); flex: none; }
.status.is-open::before { background: #9BB070; box-shadow: 0 0 0 0 rgba(155, 176, 112, 0.6); animation: pulse 2.4s var(--ease-out) infinite; }
.status.is-closed::before { background: #B4545F; }
.status--large { font-size: var(--step-0); color: var(--ivory); }

/* ---------- Scroll progress & cursor ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: calc(var(--z-nav) + 1); pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }

.cursor { display: none; }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader { display: none; }
.js .preloader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: var(--z-loader);
  pointer-events: none;
}
.js.intro-seen .preloader { display: none; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--espresso); }
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; }
.preloader__inner { position: relative; display: grid; justify-items: center; gap: 1.4rem; }
.preloader__logo { --logo-w: clamp(170px, 24vw, 260px); clip-path: inset(0 100% 0 0); }
.preloader__line { display: block; width: clamp(140px, 22vw, 240px); height: 1px; background: var(--gold); transform: scaleX(0); }
.preloader__words { display: flex; gap: 0.9em; font-family: var(--font-display); font-style: italic; color: var(--fg-muted); font-size: var(--step-0); overflow: hidden; }
.preloader__words span { display: inline-block; transform: translateY(110%); }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  background: linear-gradient(to bottom, rgba(14, 10, 9, 0.6) 0%, rgba(14, 10, 9, 0.28) 70%, transparent 100%);
  box-shadow: 0 1px 0 rgba(196, 160, 106, 0.18);
  transition: background-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-2);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(20, 16, 14, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; transition: height var(--dur-2) var(--ease-out); }
.is-scrolled .nav { height: 4.4rem; }
.brand { display: block; margin-right: auto; padding: 0.25rem 0; }
.brand .logo-mark { --logo-w: 78px; transition: width var(--dur-2) var(--ease-out); }
.is-scrolled .brand .logo-mark { --logo-w: 64px; }

.nav__links { display: none; list-style: none; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav__link {
  position: relative; display: inline-block; padding: 0.4rem 0;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ivory);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  transition: color var(--dur-1);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.1rem; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.5s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active, .nav__link[aria-current="page"] { color: var(--gold-soft); }
.nav__link:hover::after, .nav__link.is-active::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__cta { display: none; }

.burger { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 2.75rem; padding: 0.4rem 0 0.4rem 0.6rem; color: var(--ivory); position: relative; z-index: calc(var(--z-overlay) + 1); }
.burger__label { font-size: 0.9rem; letter-spacing: 0.04em; }
.burger__lines { position: relative; width: 28px; height: 12px; }
.burger__lines i { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform 0.5s var(--ease-lux), top 0.5s var(--ease-lux), width 0.5s var(--ease-lux); }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 11px; width: 70%; left: auto; right: 0; }
.burger:hover .burger__lines i:last-child { width: 100%; }
.burger[aria-expanded="true"] .burger__lines i:first-child { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:last-child { top: 6px; width: 100%; transform: rotate(-45deg); }

/* Mobile overlay */
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-overlay); display: flex; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 85% 0%, rgba(74, 23, 33, 0.9), transparent 60%),
    var(--espresso);
}
.mobile-menu__inner {
  position: relative; width: 100%; min-height: 100%; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
}
.mobile-menu__list { list-style: none; display: grid; gap: 0.3rem; }
.mobile-menu__list a { display: grid; gap: 0.15rem; padding: 0.35rem 0; overflow: hidden; }
.mm-it { font-family: var(--font-display); font-style: italic; font-size: var(--step--1); color: var(--gold); line-height: 1.2; }
.mm-de { font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 4.5rem); line-height: 1.02; color: var(--ivory); transition: color var(--dur-1), transform var(--dur-2) var(--ease-out); }
.mobile-menu__list a:hover .mm-de, .mobile-menu__list a:focus-visible .mm-de { color: var(--gold); transform: translateX(0.4rem); }
.mobile-menu__foot { display: grid; gap: 0.4rem; color: var(--fg-muted); border-top: 1px solid var(--line); padding-top: 1.4rem; }
.mobile-menu__foot a { color: var(--ivory); font-size: var(--step-1); font-family: var(--font-display); }
.menu-open { overflow: hidden; }
.menu-open .site-header { z-index: calc(var(--z-overlay) + 1); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .nav__cta { visibility: hidden; }

/* ==========================================================================
   01 Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(5rem, 9vh, 7rem); isolation: isolate; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media { position: absolute; inset: -4%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 16, 14, 0.6) 0%, rgba(20, 16, 14, 0.15) 30%, rgba(20, 16, 14, 0.5) 62%, rgba(20, 16, 14, 0.96) 100%),
    linear-gradient(90deg, rgba(20, 16, 14, 0.7) 0%, rgba(20, 16, 14, 0) 70%);
}
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero__content { position: relative; }
.hero__kicker { color: var(--gold-soft); font-size: var(--step-0); margin-bottom: clamp(1rem, 2vw, 1.6rem); }
.hero__kicker em { font-size: 1.15em; color: var(--gold); }
.hero__title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--step-5);
  line-height: 0.94; letter-spacing: -0.02em; font-optical-sizing: auto;
  text-wrap: balance;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line__inner { display: inline-block; }
.hero__title .line--indent .line__inner { font-style: italic; color: var(--gold-soft); }
.hero__bottom { display: grid; gap: 1.6rem; margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.hero__lead { max-width: 30rem; color: var(--fg-muted); font-size: var(--step-0); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__status { position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 1.2rem); }

.scroll-cue { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 0.6rem; font-size: var(--step--1); color: var(--fg-muted); letter-spacing: 0.06em; }
.scroll-cue i { position: relative; display: block; width: 1px; height: 3.2rem; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease-in-out) infinite; }

/* ==========================================================================
   Section heads (shared)
   ========================================================================== */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head__it { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--gold); margin-bottom: 0.35rem; }
.section-head__title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }

/* ==========================================================================
   02 Über Da Enzo
   ========================================================================== */
.about__grid { display: grid; gap: 2rem; }
.about__text { display: grid; gap: 1.3rem; max-width: var(--measure); color: var(--fg-muted); }
.about__opening { font-family: var(--font-display); font-style: italic; font-size: var(--step-3); line-height: 1.05; color: var(--ivory); }
.about__lede { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.5; color: var(--ivory); }
.about__img { overflow: hidden; }
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 5; }
.about__img--small { aspect-ratio: 3 / 4; width: 62%; justify-self: end; margin-top: -5rem; border: 6px solid var(--espresso); }

/* ==========================================================================
   03 Genussmomente
   ========================================================================== */
.moments { padding-top: var(--section); padding-bottom: calc(var(--section) * 0.7); background: var(--espresso-2); position: relative; }
.moments__intro { display: grid; gap: 1rem; }
.moments__intro .section-head { margin-bottom: 0; }
.moments__lead { max-width: var(--measure); color: var(--fg-muted); }
.moments__pin { margin-top: clamp(2.5rem, 5vw, 4rem); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.moments__pin::-webkit-scrollbar { display: none; }
.moments__track { list-style: none; display: flex; gap: 1rem; padding-inline: var(--gutter); width: max-content; }
.moment { width: min(82vw, 380px); scroll-snap-align: center; flex: none; }
.moment__link { display: grid; gap: 1.2rem; }
.moment__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--espresso-3); }
.moment__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); filter: saturate(0.9) brightness(0.9); }
.moment__link:hover .moment__img img, .moment__link:focus-visible .moment__img img { transform: scale(1.1); filter: saturate(1.05) brightness(1); }
.moment__it { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: var(--step-1); }
.moment__title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.02; margin: 0.15rem 0 0.7rem; }
.moment__dishes { color: var(--fg-muted); max-width: 26rem; }
.moment__meta { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--gold-soft); letter-spacing: 0.02em; }

/* ==========================================================================
   04 Spezialitäten
   ========================================================================== */
.specials__intro { margin-top: 1.1rem; max-width: var(--measure); color: var(--fg-muted); }
.specials__grid { display: grid; gap: 2rem; }
.specials__stage { display: none; }
.specials__list { list-style: none; border-top: 1px solid var(--line); }
.special { border-bottom: 1px solid var(--line); }
.special__btn {
  width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.2rem 1rem;
  padding: 1.3rem 0; color: var(--fg-muted); transition: color var(--dur-2) var(--ease-out);
}
.special__cat { grid-column: 1 / -1; font-size: var(--step--1); color: var(--gold); letter-spacing: 0.03em; }
.special__name { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.05; color: var(--ivory); transition: color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.special__price { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--gold-soft); white-space: nowrap; }
.special__btn:hover .special__name, .special__btn:focus-visible .special__name { transform: translateX(0.5rem); }
.special.is-active .special__name { color: var(--gold); }
.special__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-out); }
.special__detail > * { min-height: 0; }
.special__detail { overflow: hidden; }
.special__detail p { color: var(--fg-muted); max-width: 32rem; }
.special__detail .special__it { font-family: var(--font-display); font-style: italic; color: var(--fg-faint); margin-top: 0.3rem; }
.special__detail-inner { min-height: 0; overflow: hidden; }
.special.is-active .special__detail { grid-template-rows: 1fr; }
.special__mobile-img { margin: 1rem 0 1.4rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.specials__note { margin-top: 0.8rem; font-size: var(--step--1); color: var(--fg-faint); }
.no-js .special__detail, html:not(.js) .special__detail { grid-template-rows: 1fr; }

/* ==========================================================================
   05 Speisekarte (ivory paper)
   ========================================================================== */
.carta { background: var(--ivory); color: var(--espresso); }
.carta .section-head__it { color: var(--burgundy); }
.carta__intro { margin-top: 1.1rem; max-width: var(--measure); color: rgba(20, 16, 14, 0.72); }
.carta ::selection { background: var(--burgundy); color: var(--ivory); }
.carta :focus-visible { outline-color: var(--burgundy); }

.menu__tabs-wrap { position: sticky; top: 0; z-index: 5; background: var(--ivory); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid rgba(20, 16, 14, 0.14); transition: top var(--dur-2) var(--ease-out); }
.header-visible .menu__tabs-wrap { top: 4.4rem; }
.menu__tabs { display: flex; gap: 0.2rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 2.5rem), transparent); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 2.5rem), transparent); }
.menu__tabs::-webkit-scrollbar { display: none; }
.menu__tab {
  position: relative; flex: none; scroll-snap-align: start;
  display: grid; justify-items: start; padding: 0.9rem 0.9rem 1rem; min-height: 2.75rem;
  color: rgba(20, 16, 14, 0.62); text-align: left; transition: color var(--dur-1);
}
.menu__tab-it { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1.2; }
.menu__tab-de { font-size: 0.78rem; letter-spacing: 0.02em; }
.menu__tab::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: -1px; height: 2px; background: var(--burgundy); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease-out); }
.menu__tab:hover { color: var(--espresso); }
.menu__tab[aria-selected="true"] { color: var(--burgundy); }
.menu__tab[aria-selected="true"]::after { transform: scaleX(1); }

.menu__panel { padding-top: clamp(2rem, 4vw, 3.5rem); }
.menu__panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.menu__panel-title { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }
.menu__panel-title em { color: var(--burgundy); }
.menu__panel-count { font-size: var(--step--1); color: rgba(20, 16, 14, 0.6); }
.dishes { list-style: none; display: grid; gap: 0 clamp(2rem, 5vw, 5rem); }
.dish { padding: 1.25rem 0 1.35rem; border-top: 1px solid rgba(20, 16, 14, 0.12); }
.dish__head { display: flex; align-items: baseline; gap: 0.7rem; }
.dish__name { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; font-weight: 500; }
.dish__leader { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted rgba(142, 111, 62, 0.7); transform: translateY(-0.3em); }
.dish__price { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; color: var(--burgundy); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.dish__de { margin-top: 0.35rem; color: rgba(20, 16, 14, 0.78); font-size: 0.98rem; line-height: 1.6; max-width: 36rem; }
.dish__it { font-family: var(--font-display); font-style: italic; color: var(--olive-text); font-size: 0.98rem; line-height: 1.5; margin-top: 0.15rem; }
.dish__allergens { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.55rem; padding: 0; }
.allergen {
  display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 0.3rem;
  font-size: 0.72rem; font-weight: 500; color: var(--gold-deep); border: 1px solid rgba(142, 111, 62, 0.45); border-radius: 2px;
  cursor: help; position: relative;
}
.allergen:hover, .allergen:focus-visible { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.allergen[data-tip]:hover::after, .allergen[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--espresso); color: var(--ivory); padding: 0.35rem 0.6rem; font-size: 0.75rem; font-weight: 400; white-space: nowrap; z-index: 3; pointer-events: none;
}

.legend { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(20, 16, 14, 0.14); }
.legend summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--font-display); font-size: var(--step-1); }
.legend summary::-webkit-details-marker { display: none; }
.legend summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; color: var(--burgundy); transition: transform var(--dur-2) var(--ease-out); }
.legend[open] summary::after { transform: rotate(45deg); }
.legend__body { display: grid; gap: 2rem; padding-bottom: 1.5rem; font-size: 0.92rem; color: rgba(20, 16, 14, 0.78); }
.legend__body h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--espresso); margin-bottom: 0.6rem; }
.legend__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.4rem 1.5rem; }
.legend__list b { display: inline-block; min-width: 1.8rem; font-weight: 500; color: var(--gold-deep); }
.legend__hint { font-size: 0.88rem; }

.carta__foot { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem; align-items: end; }
.pickup-note { max-width: 40rem; padding-left: 1.2rem; border-left: 2px solid var(--burgundy); color: rgba(20, 16, 14, 0.8); }
.pickup-note__title { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--burgundy); }
.pickup-note a { color: var(--burgundy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.menu__noscript { padding: 1rem 0; }
.menu__noscript a { color: var(--burgundy); text-decoration: underline; }

/* ==========================================================================
   07 Philosophie
   ========================================================================== */
.philosophy { background: var(--espresso); }
.philosophy__grid { display: grid; gap: 1rem; }
.values { list-style: none; display: grid; }
.value { display: grid; gap: 0.5rem; padding: clamp(1.2rem, 3vw, 2.2rem) 0; border-top: 1px solid var(--line); }
.value:last-child { border-bottom: 1px solid var(--line); }
.value__word {
  --p: 100%;
  font-family: var(--font-display); font-size: clamp(3rem, 1.6rem + 7vw, 9rem); line-height: 0.95; letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(90deg, var(--gold) 0 var(--p), rgba(196, 160, 106, 0.16) var(--p) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1px rgba(196, 160, 106, 0.55);
  padding-bottom: 0.06em;
}
.value__text { color: var(--fg-muted); max-width: 26rem; font-size: var(--step-0); }

/* ==========================================================================
   08 Atmosphäre
   ========================================================================== */
.atmos { position: relative; min-height: 120vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding-block: var(--section); }
.atmos__media { position: absolute; inset: 0; z-index: -1; }
.atmos__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--espresso) 0%, rgba(20, 16, 14, 0.35) 30%, rgba(20, 16, 14, 0.45) 70%, var(--espresso) 100%); }
.atmos__media img { width: 100%; height: 125%; object-fit: cover; object-position: 50% 40%; }
.atmos__content { display: grid; gap: 2.5rem; position: relative; }
.atmos__title { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: var(--step-5); line-height: 0.95; letter-spacing: -0.02em; max-width: 12ch; text-wrap: balance; text-shadow: 0 2px 40px rgba(20, 16, 14, 0.5); }
.atmos__inset { width: min(56vw, 300px); aspect-ratio: 2 / 3; overflow: hidden; justify-self: end; }
.atmos__inset img { width: 100%; height: 115%; object-fit: cover; }
.atmos__quote { max-width: 30rem; }
.atmos__quote p { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; }
.atmos__quote footer { margin-top: 0.8rem; color: var(--gold); font-size: var(--step--1); }

/* ==========================================================================
   09 Öffnungszeiten (burgundy)
   ========================================================================== */
.hours { background: var(--burgundy); color: var(--ivory); }
.hours .section-head__it { color: var(--gold-soft); }
.hours__head .status { margin-top: 1.4rem; }
.hours__grid { display: grid; gap: 3rem; }
.hours__table { display: grid; }
.hours__row { display: grid; gap: 0.3rem; padding: 1.6rem 0; border-top: 1px solid rgba(216, 190, 147, 0.3); position: relative; }
.hours__row:last-child { border-bottom: 1px solid rgba(216, 190, 147, 0.3); }
.hours__row dt { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--gold-soft); }
.hours__row dd { display: grid; gap: 0.2rem; }
.hours__time { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; font-variant-numeric: lining-nums; letter-spacing: -0.01em; }
.hours__kitchen { color: rgba(246, 240, 230, 0.75); }
.hours__row.is-today dt::after { content: "Heute"; margin-left: 0.8rem; padding: 0.15rem 0.55rem; font-family: var(--font-body); font-style: normal; font-size: 0.75rem; background: var(--gold); color: var(--espresso); vertical-align: middle; }

.notice { align-self: start; padding: clamp(1.5rem, 3vw, 2.5rem); background: rgba(20, 16, 14, 0.28); border: 1px solid rgba(216, 190, 147, 0.35); display: grid; gap: 0.8rem; color: rgba(246, 240, 230, 0.86); }
.notice__title { font-family: var(--font-display); font-size: var(--step-2); color: var(--ivory); line-height: 1.1; }
.notice__salute { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--gold-soft); }
.notice__phones { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.9rem; margin-top: 0.4rem; }
.notice__phones a { font-family: var(--font-display); font-size: var(--step-2); color: var(--ivory); border-bottom: 1px solid var(--gold); line-height: 1.2; }
.notice__phones a:hover { color: var(--gold-soft); }
.notice__phones span { font-style: italic; font-family: var(--font-display); color: var(--gold-soft); }

/* ==========================================================================
   10 Standort
   ========================================================================== */
.location__grid { display: grid; gap: 2.5rem; }
.location__head { margin-bottom: 0; }
.location__info { display: grid; gap: 2rem; align-content: start; }
.location__address { display: grid; font-family: var(--font-display); font-size: var(--step-3); line-height: 1.12; }
.location__address span:last-child { font-size: 0.5em; font-style: italic; color: var(--gold); margin-top: 0.5rem; }
.location__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.location__hours { display: flex; gap: 2rem; color: var(--fg-muted); }
.location__hours dt { color: var(--gold); font-size: var(--step--1); }
.location__hours dd { color: var(--ivory); font-family: var(--font-display); font-size: var(--step-1); }

.map-consent { position: relative; width: 100%; height: clamp(22rem, 62vw, 34rem); background: var(--espresso-2); border: 1px solid var(--line); overflow: hidden; }
.map-consent::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 70%);
}
.map-consent__placeholder { position: relative; height: 100%; display: grid; place-content: center; justify-items: center; gap: 0.8rem; text-align: center; padding: 2rem; }
.map-consent__pin { width: 2.4rem; height: 2.4rem; fill: var(--gold); }
.map-consent__title { font-family: var(--font-display); font-size: var(--step-2); }
.map-consent__text { max-width: 24rem; font-size: 0.92rem; color: var(--fg-muted); }
.map-consent__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) sepia(0.15) contrast(1.05); }

/* ==========================================================================
   11 Kontakt
   ========================================================================== */
.contact { padding-top: 0; }
.contact__list { list-style: none; border-top: 1px solid var(--line); }
.contact__item { display: grid; gap: 0.2rem; padding: clamp(1.2rem, 3vw, 2rem) 0; border-bottom: 1px solid var(--line); }
.contact__label { font-size: var(--step--1); color: var(--gold); letter-spacing: 0.03em; }
.contact__big {
  position: relative; justify-self: start;
  font-family: var(--font-display); font-size: clamp(2rem, 1rem + 5.4vw, 6.5rem); line-height: 1.02; letter-spacing: -0.015em;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.8s var(--ease-out), color var(--dur-2);
  padding-bottom: 0.05em;
}
.contact__big--addr { font-style: italic; font-size: clamp(1.6rem, 0.9rem + 3.6vw, 4.5rem); }
.contact__big:hover, .contact__big:focus-visible { background-size: 100% 1px; color: var(--gold-soft); }

/* ==========================================================================
   12 Footer
   ========================================================================== */
.footer { background: var(--espresso-2); border-top: 1px solid var(--line); padding: clamp(4rem, 8vw, 7rem) 0 2rem; position: relative; overflow: hidden; }
.footer__top { display: grid; gap: 2rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.footer__claim { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.05; }
.footer__claim em { color: var(--gold-soft); }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.footer__h { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: var(--step-1); margin-bottom: 0.8rem; }
.footer__col ul { list-style: none; display: grid; gap: 0.5rem; color: var(--fg-muted); }
.footer__col a { transition: color var(--dur-1); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__col small { color: var(--fg-faint); font-size: 0.85rem; }
.footer__col--top { display: flex; align-items: flex-start; }
.to-top { width: 4.5rem; height: 4.5rem; color: var(--ivory); border-radius: 50%; transition: color var(--dur-1), transform var(--dur-2) var(--ease-out); }
.to-top svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.to-top__track { stroke: var(--line); }
.to-top__ring { stroke: var(--gold); stroke-dasharray: 188.5; stroke-dashoffset: 188.5; transform: rotate(-90deg); transform-origin: 50% 50%; }
.to-top:hover { color: var(--gold); transform: translateY(-4px); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--fg-faint); }
.footer__legal { list-style: none; display: flex; gap: 1.5rem; }
.footer__legal a { color: var(--fg-muted); }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: var(--gold); }

/* ==========================================================================
   Sub-pages (Speisekarte, Kontakt, Rechtliches)
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(3rem, 9vw, 8rem)) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,0.7), var(--espresso) 96%); }
.page-hero__title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-5); line-height: 0.95; letter-spacing: -0.02em; }
.page-hero__lead { margin-top: 1.4rem; max-width: 36rem; color: var(--fg-muted); }
.crumbs { display: flex; gap: 0.5rem; font-size: var(--step--1); color: var(--fg-faint); margin-bottom: 1.2rem; }
.crumbs a { color: var(--fg-muted); }
.crumbs a:hover { color: var(--gold); }

.menu--full .menu__panel { padding-top: clamp(3rem, 6vw, 5rem); scroll-margin-top: 9rem; }
.menu--full .menu__panel + .menu__panel { border-top: 1px solid rgba(20, 16, 14, 0.14); margin-top: clamp(1rem, 3vw, 2rem); }

.legal { padding: 0 0 var(--section); }
.legal__body { display: grid; gap: 1rem; color: var(--fg-muted); }
.legal__body > * { max-width: 46rem; }
.legal__body h2 { font-family: var(--font-display); font-size: var(--step-2); color: var(--ivory); margin-top: 2rem; line-height: 1.15; }
.legal__body h3 { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--gold-soft); margin-top: 1rem; }
.legal__body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal__body strong { color: var(--ivory); font-weight: 500; }

/* Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.contact--page { padding-top: clamp(1rem, 3vw, 2rem); }

/* Keep the horizontal track from widening the document */
.moments { overflow-x: clip; }

/* ==========================================================================
   Cookie-Hinweis
   ========================================================================== */
.cookie-banner {
  position: fixed; inset: auto 0 0 0; z-index: calc(var(--z-nav) + 10);
  background: rgba(20, 16, 14, 0.97);
  border-top: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; padding: 1.3rem var(--gutter);
}
.cookie-banner__text { margin: 0; max-width: 54rem; color: var(--fg-muted); font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__btn { flex: none; }
