/* ---------- tokens: always dark (owner's choice, 2026-10-18) ---------- */
:root {
  --bg: #141211;               /* ink, like the lower half of the ad */
  --bg-2: #1c1a18;
  --ink: #efe8dc;
  --ink-2: #a49b8f;
  --brand: #ed1c24;           /* logo red: seal + accents */
  --accent: #e3262d;
  --accent-ink: #fff;
  --accent-text: #f04b52;       /* same red family, lightened so it clears WCAG AA (4.5:1) as foreground text on --bg/--card; --accent itself stays unchanged for buttons/borders */
  --line: rgb(239 232 220 / 0.12);
  --card: #1e1b19;
  --glass: rgb(20 18 17 / 0.66);
  --glass-edge: rgb(255 255 255 / 0.08);
  --error: #ff8a7a;
  --radius: 1.25rem;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35);
  --sheet-shadow: 0 -10px 40px rgb(0 0 0 / 0.6);
  --serif: ui-serif, "New York", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* no layout rule may ever beat the hidden attribute */
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 100%/1.55 var(--sans);   /* rem-based: scales with the user's text size */
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- type: tracking + leading per size ---------- */
.display {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0.2em 0 0.3em;
  font-optical-sizing: auto;
}
.title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 0.35em;
}
h3 { font-size: 1.0625rem; letter-spacing: -0.01em; margin: 0 0 0.75rem; }
.lede { font-size: clamp(1.125rem, 2.2vw, 1.375rem); line-height: 1.45; color: var(--ink-2); max-width: 34rem; margin: 0 0 1.5rem; }
.sub { color: var(--ink-2); margin: 0 0 0.75rem; }
/* legend on its own line; each badge stays glued to its label */
.legend { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 0 0 1.75rem; font-size: 0.9375rem; color: var(--ink-2); }
.legend > span { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }

/* ---------- translucent nav: content scrolls underneath ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.75rem max(1.25rem, env(safe-area-inset-left));
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
/* scroll-edge effect instead of a hard divider, only once content is under the bar */
.nav::after {
  content: ""; position: absolute; inset: 100% 0 auto; height: 1.25rem; pointer-events: none;
  background: linear-gradient(var(--glass), transparent);
  opacity: 0; transition: opacity 200ms ease;
}
.nav.scrolled::after { opacity: 1; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { width: 1.9rem; height: 1.9rem; }
/* small caps wordmark: wide positive tracking, like the brand ad */
.brand span { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; margin-right: -0.32em; }
.nav nav { display: flex; gap: 1.25rem; margin-left: auto; }
.lang {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; touch-action: manipulation;
  font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.04em; color: var(--ink-2);
  padding: 0.5rem 0.6rem; border-radius: 0.6rem; background: none;
  transition: background 150ms ease, color 150ms ease, transform 100ms ease-out;
}
.lang:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.lang:active { transform: scale(0.94); }
.nav nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); transition: color 150ms ease; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 40rem) { .nav nav { display: none; } .nav .lang { margin-left: auto; } }

/* ---------- buttons: feedback on press, instantly ---------- */
.btn {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1 var(--sans); letter-spacing: -0.01em;
  padding: 0.95rem 1.5rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  transition: transform 100ms ease-out, opacity 150ms ease, background 150ms ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible, .icon-btn:focus-visible, .segmented button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.btn-ghost { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.icon-btn {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; touch-action: manipulation;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; font: 1rem/1 var(--sans); color: var(--ink);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  transition: transform 100ms ease-out;
}
.icon-btn:active { transform: scale(0.92); }

/* ---------- layout ---------- */
.hero, .section { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.hero { position: relative; padding-top: 4.5rem; padding-bottom: 5rem; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.section { padding-top: 1.75rem; padding-bottom: 5rem; }

/* Google rating: stars filled to the exact score */
.rating { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.5rem; padding: 0.45rem 0.85rem 0.45rem 0.7rem; border-radius: 999px; text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); transition: background 150ms ease, transform 100ms ease-out; }
.rating[hidden] { display: none; }
.rating:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.rating:active { transform: scale(0.97); }
.rating:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.stars { font-size: 1.05rem; letter-spacing: 0.06em; line-height: 1; background: linear-gradient(90deg, #f2a516 var(--fill, 0%), color-mix(in srgb, var(--ink) 20%, transparent) var(--fill, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-num { font-weight: 700; font-variant-numeric: tabular-nums; }
.rating-count { color: var(--ink-2); font-size: 0.9375rem; }

/* soft endorsement under the rating: an opinion, not a certification claim */
.endorse { margin: 0.85rem 0 0 0.25rem; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; letter-spacing: -0.005em; color: var(--ink-2); }

/* the dragon seal as the hero's rising sun */
.hero-art {
  position: absolute; z-index: -1; pointer-events: none;
  right: max(-4rem, calc((68rem - 100vw) / 2 + 1rem)); top: 7.5rem;
  width: clamp(14rem, 34vw, 26rem); height: auto; opacity: 0.95;
  filter: drop-shadow(0 20px 40px rgb(200 22 29 / 0.25));
}
@media (max-width: 40rem) {
  .hero { padding-top: 5.25rem; padding-bottom: 2rem; }
  /* one continuous page: sections ~2.5x closer together than on desktop */
  .section { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .title { margin-bottom: 0.25em; }
  .story { gap: 1.25rem; }
  .hero-art { width: 8.5rem; right: 1rem; top: 6.25rem; opacity: 0.18; }     /* faded, behind the headline, fully on screen */
}

/* ---------- segmented control ---------- */
.segmented {
  position: relative; display: inline-flex; padding: 0.25rem; gap: 0.25rem;
  border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent);
  margin-bottom: 2rem; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.segmented button {
  position: relative; z-index: 1; -webkit-appearance: none; appearance: none; border: 0; background: none; cursor: pointer;
  font: 600 0.9375rem/1 var(--sans); color: var(--ink-2); padding: 0.65rem 1.1rem; border-radius: 999px; white-space: nowrap;
  transition: color 150ms ease; touch-action: manipulation;
}
.segmented button[aria-selected="true"] { color: var(--accent-ink); }
.seg-pill { position: absolute; top: 0.25rem; bottom: 0.25rem; left: 0; border-radius: 999px; background: var(--accent); box-shadow: var(--shadow); will-change: transform, width; }

/* ---------- menu ---------- */
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 0 3rem; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.menu-item h4 { margin: 0; font-size: 1.0625rem; letter-spacing: -0.01em; }
.menu-item p { grid-column: 1; margin: 0; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.menu-item .price { grid-row: 1; grid-column: 2; font-variant-numeric: tabular-nums; font-weight: 600; }
.tags { grid-column: 1 / -1; display: flex; gap: 0.35rem; margin-top: 0.35rem; }
.tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.15rem 0.5rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-text); }
.menu-list.swap { animation: swap 220ms ease-out; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.story p { color: var(--ink-2); font-size: 1.125rem; max-width: 34rem; }
.story .motto { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); margin: 1.25rem 0; }
/* the badge itself is the book: logo = cover, arrows flip to a review "page" laid over it in place.
   No popup/scrim — everything happens inline inside this one box. */
.story-art {
  display: block; position: relative; border-radius: var(--radius);
  background: url(logo.svg) center / 46% no-repeat, radial-gradient(circle at 50% 42%, #3a3330, #141211 70%);
  box-shadow: var(--shadow); -webkit-tap-highlight-color: transparent; overflow: hidden; isolation: isolate;
}
/* one fixed size for the whole book — cover and every review page — so flipping never makes the page
   jump, however long a review is. A long review scrolls inside its quote instead of growing the box.
   Deliberately no min-height here alongside aspect-ratio: WebKit has a real bug where the two together on
   one element can solve the ratio backwards and blow the WIDTH out instead of just flooring the height. */
.story-art { aspect-ratio: 1 / 1; }
/* cover state: a headline-style "Bewertungen"/"Reviews" label sitting above the logo, not a small pill —
   it's the big, obvious tap target that invites you to start flipping. Works as both an <a> (no review data
   yet, links out to Google) and a <button> (real reviews loaded, flips forward into page 1). */
.story-cover-link {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: center;
  padding-top: 1.85rem; border: 0; background: transparent; font: inherit; text-decoration: none; cursor: pointer;
}
.story-cover-title {
  font-family: var(--serif); font-size: clamp(1.4rem, 3.2vw, 1.85rem); font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink); text-align: center; text-shadow: 0 2px 16px rgb(0 0 0 / 0.55); transition: color 150ms ease-out;
}
.story-cover-title::after { content: " ›"; color: var(--accent); }
.story-cover-link:hover .story-cover-title, .story-cover-link:focus-visible .story-cover-title { color: var(--accent); }
.story-cover-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: var(--radius); }
.story-page { transform-origin: left center; }
.story-page.story-review {
  position: absolute; inset: 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem;
  background: var(--card); padding: 2.75rem 1.5rem 1.75rem; border-radius: var(--radius);
  animation: page-in 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.story-review blockquote {
  margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.45; letter-spacing: -0.01em;
  min-height: 0; overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain;
}
.story-review .stars, .story-review cite { flex-shrink: 0; }
.story-review blockquote::before { content: open-quote; }
.story-review blockquote::after { content: close-quote; }
.story-review cite { font-style: normal; color: var(--ink-2); font-size: 0.875rem; display: block; margin-top: 0.4rem; }
/* only the tilt animates, never opacity — the card is fully opaque from frame one, so the logo
   cover underneath never flashes through while a page turns in */
@keyframes page-in { from { transform: rotateY(-20deg); } }
/* page-count badge: a small pill, top-left so it never collides with the corner controls below */
.story-art-cta--count {
  position: absolute; left: 0.9rem; top: 0.9rem; z-index: 2; font-size: 0.875rem; font-weight: 600;
  color: var(--ink); background: var(--glass); backdrop-filter: blur(6px); padding: 0.4rem 0.75rem;
  border-radius: 999px; pointer-events: none;
}
/* the page corners themselves are the only buttons: bottom-right flips forward, bottom-left flips back.
   Each one simply isn't rendered once there's nowhere left to go in that direction — a real book,
   not a loop. No separate arrow chrome — quieter, more "Apple" than a floating control. */
.story-fold {
  position: absolute; bottom: 0; width: 1.75rem; height: 1.75rem; z-index: 2; padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(135deg, transparent 50%, color-mix(in srgb, var(--ink) 22%, transparent) 50%);
  border-radius: 0 var(--radius) 0 0;
  transition: background 150ms ease-out;
}
.story-fold:focus-visible { background: linear-gradient(135deg, transparent 50%, var(--accent) 50%); }
@media (hover: hover) { .story-fold:hover { background: linear-gradient(135deg, transparent 50%, var(--accent) 50%); } }
.story-fold-fwd { right: 0; transform: scaleY(-1); }
.story-fold-back { left: 0; transform: scale(-1, -1); }
@media (prefers-reduced-motion: reduce) { .story-page.story-review { animation: none; } }
@media (max-width: 48rem) {
  .story { grid-template-columns: 1fr; }
  /* the box is short and wide here, so the logo (sized off box WIDTH) would otherwise be tall enough to sit
     right under the headline; shrink it and push it down so the headline always has clear room above it.
     The same fixed height holds for the review pages, so the book doesn't jump when you flip on a phone. */
  .story-art { aspect-ratio: auto; height: 20rem; }
  .story-art.is-cover {
    background: url(logo.svg) center 72% / 34% auto no-repeat, radial-gradient(circle at 50% 42%, #3a3330, #141211 70%);
  }
  .story-cover-link { padding-top: 1.1rem; }
  .story-cover-title { font-size: 1.2rem; }
}

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
/* equal-height cards with the same rhythm: title, details, action pinned to the bottom */
.card { background: var(--card); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.card h3 { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.card .card-foot { margin-top: auto; }
.card .status.card-foot { min-height: 2.15rem; }  /* same height as the Maps button so both footers line up */
.hours { margin-bottom: 0.75rem; }
.hours-note { margin: 0 0 1rem; font-size: 0.875rem; color: var(--ink-2); }
.card .contact { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); align-self: stretch; }
.card .contact a { font-weight: 500; }
.card .contact span { display: inline-block; width: 1.25rem; color: var(--ink-2); }

/* the whole map is the button: tap anywhere for directions */
.map-card { position: relative; padding: 0; min-height: 21rem; overflow: hidden; isolation: isolate; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; transition: transform 100ms ease-out; }
.map-card:active { transform: scale(0.99); }
.map-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; }
.map-img { position: absolute; width: 1200px; height: 900px; max-width: none; left: calc(50% - 600px); top: calc(32% - 450px); transform-origin: 600px 450px; transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.map-card:hover .map-img { transform: scale(1.03); }
.pin { position: absolute; left: 50%; top: 32%; width: 3.25rem; height: 3.25rem; margin: -3.6rem 0 0 -1.625rem; border-radius: 50%; background: #fff; padding: 0.2rem; box-shadow: 0 6px 16px rgb(35 31 32 / 0.35); transition: transform 300ms cubic-bezier(0.34, 1.4, 0.64, 1); z-index: 1; }
.pin img { width: 100%; height: 100%; display: block; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -0.4rem; width: 0.8rem; height: 0.8rem; margin-left: -0.4rem; background: #fff; transform: rotate(45deg); border-radius: 0 0 0.2rem 0; z-index: -1; }
.map-card:hover .pin { transform: translateY(-4px); }
.map-label {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  display: grid; gap: 0.1rem; padding: 0.9rem 1.1rem; border-radius: 1rem;
  background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
}
.map-label strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.01em; }
.map-label span { font-size: 0.9375rem; color: var(--ink-2); }
.map-label .map-cta { color: var(--accent-text); font-weight: 600; margin-top: 0.2rem; }
.map-label .map-cta::after { content: " ›"; }
.osm { position: absolute; top: 0.6rem; right: 0.7rem; font-size: 0.6875rem; color: var(--ink-2); background: var(--glass); padding: 0.1rem 0.4rem; border-radius: 0.4rem; }
@media (prefers-reduced-motion: reduce) { .map-img, .pin { transition: none; } .map-card:hover .map-img, .map-card:hover .pin { transform: none; } }
.card address { font-style: normal; font-size: 1.0625rem; }
.card:not(.map-card) a:not(.btn) { color: var(--accent-text); text-decoration: none; }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1.5rem; margin: 0; font-size: 1.0625rem; align-self: stretch; }
.hours dt { color: var(--ink); font-weight: 500; }   /* every day reads the same; the live status says what's open now */
.hours dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }   /* Apple-Maps style: values share one right edge */
.status { margin: 0; font-weight: 600; display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
/* dot sits on the first line, also when the text wraps to a second one */
.status::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin-top: calc((1.4em - 0.5rem) / 2); border-radius: 50%; background: currentColor; }
.status.open { color: var(--accent-text); }
.status.closed { color: var(--ink-2); }
.footer { text-align: center; color: var(--ink-2); font-size: 0.875rem; padding: 3rem 1.25rem calc(3rem + env(safe-area-inset-bottom)); }

/* ---------- reservation sheet: dimmed modal, anchored to the bottom edge ---------- */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgb(0 0 0 / 0.4); opacity: 0; }
.sheet {
  position: fixed; z-index: 21; left: 50%; bottom: 0;
  width: min(100%, 34rem); max-height: 92dvh; margin-left: max(-50%, -17rem);
  display: flex; flex-direction: column;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);   /* bigger surface reads thicker */
  border-top: 1px solid var(--glass-edge);
  border-radius: 1.75rem 1.75rem 0 0;
  box-shadow: var(--sheet-shadow);
  transform: translateY(100%);
  will-change: transform;
}
.sheet[hidden], .scrim[hidden] { display: none; }
@media (max-width: 34rem) { .sheet { margin-left: -50%; } }
.grabber { padding: 0.6rem 0 0.25rem; cursor: grab; touch-action: none; display: grid; place-items: center; }
.grabber span { width: 2.5rem; height: 0.3rem; border-radius: 999px; background: color-mix(in srgb, var(--ink) 25%, transparent); }
.sheet-body { overflow-y: auto; padding: 0.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; touch-action: none; }
.sheet-head h2 { font-family: var(--serif); font-size: 1.75rem; letter-spacing: -0.02em; margin: 0; }
.req-note { margin: 0 0 1rem; font-size: 0.8125rem; color: var(--ink-2); }

/* ---------- form ---------- */
.field { margin-bottom: 1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.35rem; }
.optional { font-weight: 400; color: var(--ink-2); }
.req { color: var(--accent-text); }
input, select, textarea {
  width: 100%; font: 1rem/1.4 var(--sans); color: var(--ink);
  padding: 0.8rem 0.9rem; border-radius: 0.8rem;
  border: 1px solid var(--line); background: var(--card);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.8rem) 55%; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; padding-right: 2rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-size: 0.8125rem; margin: 0.3rem 0 0; min-height: 0; }
.error:empty { display: none; }
.form-error { text-align: center; margin-top: 0.75rem; }
.stepper { display: flex; align-items: center; gap: 1rem; }
.stepper output { font-size: 1.375rem; font-weight: 600; min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.done { text-align: center; padding: 1rem 0 0.5rem; }
.done h2 { font-family: var(--serif); font-size: 2rem; letter-spacing: -0.02em; margin: 0.75rem 0 0.25rem; }
.done p { color: var(--ink-2); margin: 0 0 1.5rem; }
.check { width: 3.5rem; height: 3.5rem; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--accent); color: var(--accent-ink); animation: pop 400ms cubic-bezier(0.34, 1.4, 0.64, 1); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }

/* ---------- accessibility: motion, transparency, contrast ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu-list.swap { animation: fade 150ms ease; }
  .check { animation: fade 200ms ease; }
  .consent { animation: fade 200ms ease; }
  @keyframes fade { from { opacity: 0; } }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .sheet { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: color-mix(in srgb, var(--ink) 45%, transparent); --ink-2: var(--ink); }
  .nav, .sheet { background: var(--bg); border-bottom: 1px solid var(--ink); }
  .card { border: 1px solid var(--ink); }
}

.card .status { margin-bottom: 1.25rem; }

/* catering & delivery cards */
.card-text { color: var(--ink-2); margin: 0 0 1.5rem; max-width: 30rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.footer .legal { margin-top: 0.4rem; }
.footer .legal a, .footer .legal button { color: inherit; text-underline-offset: 0.2em; }
.footer .legal a:hover, .footer .legal button:hover { color: var(--ink); }
.footer .legal button {
  -webkit-appearance: none; appearance: none; border: 0; background: none; cursor: pointer; padding: 0;
  font: inherit; text-decoration: underline;
}

/* ---------- cookie consent: non-blocking bar, equal-weight accept/reject ---------- */
.consent {
  position: fixed; z-index: 15; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; margin: 0 auto; max-width: 28rem;
  background: var(--glass); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-edge); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
  animation: consent-in 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { transform: translateY(1rem); opacity: 0; } }
.consent-text { margin: 0 0 1rem; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }
.consent-panel { display: grid; gap: 0.75rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.consent-panel[hidden] { display: none; }
.consent-row { align-items: flex-start; }
.consent-row strong { color: var(--ink); font-weight: 600; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.consent-link {
  -webkit-appearance: none; appearance: none; border: 0; background: none; cursor: pointer; touch-action: manipulation;
  font: 600 0.875rem/1 var(--sans); color: var(--ink-2); padding: 0.6rem 0.3rem;
  text-decoration: underline; text-underline-offset: 0.2em; transition: color 150ms ease;
}
.consent-link:hover { color: var(--ink); }
.consent-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
@media (max-width: 30rem) { .consent { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1.1rem; } }

/* legal pages */
.legal-page { max-width: 46rem; padding-top: 7rem; }
.legal-page h2 { font-size: 1.125rem; letter-spacing: -0.01em; margin: 2rem 0 0.4rem; }
.legal-page p { color: var(--ink-2); margin: 0 0 0.75rem; }
.legal-page a { color: var(--accent-text); }
.footer a { color: inherit; }

/* menu: sections, numbers, allergen codes, variants */
.menu-sec { grid-column: 1 / -1; padding: 1.75rem 0 0.25rem; }
.menu-sec:first-child { padding-top: 0; }
.menu-sec h3 { font-family: var(--serif); font-size: 1.375rem; letter-spacing: -0.015em; margin: 0; }
.menu-sec p { margin: 0.25rem 0 0; color: var(--ink-2); font-size: 0.9375rem; max-width: 40rem; }
.menu-item .no { color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.menu-item h4 .tag { vertical-align: 0.1em; margin-left: 0.25rem; }
.menu-item .codes { font-size: 0.625rem; font-weight: 500; color: var(--ink-2); margin-left: 0.2rem; letter-spacing: 0.02em; }
.menu-item .hot { font-size: 0.8rem; }
.menu-item .price { white-space: nowrap; text-align: right; }
.menu-item .variants { grid-column: 1 / -1; list-style: none; margin: 0.35rem 0 0; padding: 0; font-size: 0.9375rem; color: var(--ink-2); }
.menu-item .variants li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.1rem 0; }
.menu-item .variants .price { color: var(--ink); font-weight: 600; }
@media (max-width: 40rem) { .menu-item .price { max-width: 9rem; font-size: 0.9375rem; } }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-top: 1.75rem; }
.allergens summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.allergens dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.9rem; margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--ink-2); max-width: 36rem; }
.allergens dt { font-weight: 700; color: var(--ink); }
.allergens dd { margin: 0; }
.muted-note { font-size: 0.875rem; color: var(--ink-2); margin: 0.75rem 0 0; max-width: 36rem; }

/* sub-categories (Hauptgerichte): quiet text chips */
.menu-sub { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: -0.5rem 0 1.5rem; }
.menu-sub[hidden] { display: none; }
.chip-btn { -webkit-appearance: none; appearance: none; border: 0; background: none; cursor: pointer; padding: 0.35rem 0; white-space: nowrap;
  font: 500 0.9375rem/1.2 var(--sans); color: var(--ink-2); border-bottom: 1.5px solid transparent; transition: color 150ms ease, border-color 150ms ease; touch-action: manipulation; }
.chip-btn:hover { color: var(--ink); }
.chip-btn[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }

input[type="date"] { cursor: pointer; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }

/* newsletter opt-in: never pre-checked (GDPR/UWG: consent must be an active choice) */
.optin { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 0.6rem; font-size: 0.8125rem; font-weight: 400; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
/* own checkbox: iOS otherwise mixes its native box with our input styles (white edges) */
.optin input {
  -webkit-appearance: none; appearance: none; flex: none; width: 1.15rem; height: 1.15rem; margin: 0.05rem 0 0; padding: 0;
  border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 0.35rem; background: transparent; box-shadow: none;
  cursor: pointer; transition: background 150ms ease, border-color 150ms ease;
}
.optin input:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
  border-color: var(--accent);
}
.optin input:focus { box-shadow: none; }
.optin input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

/* booking progress: thin bar under the button, fills while the table is being reserved */
.progress { height: 4px; width: min(100%, 16rem); margin: 0 auto; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--ink) 10%, transparent); }
.progress[hidden] { display: none; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; transform: scaleX(0); }
#submit:disabled { opacity: 1; }   /* keep the button calm while it shows "wird reserviert" */

/* ---------- phone: no hidden scrolling, no extra chrome ---------- */
.lang-foot { display: none; margin: 0 0 0.6rem; }
.lang-foot button { -webkit-appearance: none; appearance: none; border: 0; background: none; cursor: pointer; padding: 0.4rem 0.2rem; font: inherit; color: var(--ink-2); }
.lang-foot button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
@media (max-width: 40rem) {
  .nav .lang { display: none; }                 /* language moves to the footer on phones */
  /* only "Lieferung" stays visible in the phone bar: one tap to delivery, no hamburger */
  .nav { gap: 0.75rem; }
  .nav .brand { flex: none; }
  .brand span { letter-spacing: 0.22em; margin-right: -0.22em; }
  .nav nav { display: flex; margin-left: auto; gap: 0; min-width: 0; }
  .nav nav a:not(.nav-phone) { display: none; }   /* phone: only the pickup link (to the order page) stays in the top bar */
  .nav-long { display: none; }                  /* phone: "Lieferung" only, so logo + link + Reservieren fit */
  .nav nav a { font-size: 0.9375rem; color: var(--ink); }
  .nav .btn { margin-left: 0.9rem; }
  .lang-foot { display: block; }
  /* menu tabs wrap instead of scrolling sideways, so every category is visible */
  .segmented { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; border-radius: 1.1rem; width: 100%; }
  .segmented button { text-align: center; }
  .segmented button:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }   /* odd count: last tab spans the row */
  .seg-pill { display: none; }
  .segmented button[aria-selected="true"] { background: var(--accent); box-shadow: var(--shadow); }
}
@media (max-width: 22.5rem) { .nav .brand span { display: none; } }   /* tiny phones: seal only, so Lieferung + Reservieren fit */
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }   /* iOS Safari < 16 */
@media (max-width: 40rem) { .endorse { font-size: 0.9375rem; } }
.nowrap { white-space: nowrap; }
#delivery { scroll-margin-top: 5.5rem; }   /* land with the whole delivery card below the fixed bar */
.status-main, .status-sub { display: block; }
.status-sub { font-weight: 500; }

/* loading screen between form and confirmation */
.loading { min-height: 22rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; text-align: center; padding: 2rem 0; }
.loading img { animation: breathe 1.6s ease-in-out infinite; }
.loading-text { margin: 0; font-family: var(--serif); font-size: 1.375rem; letter-spacing: -0.015em; }
@keyframes breathe { 50% { transform: scale(0.94); opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) { .loading img { animation: none; } }
.loading[hidden] { display: none; }   /* our display:flex must not beat the hidden attribute */

/* ---------- Harasho-style demo (branch: demo-harasho) ---------- */

/* loading screen: logo + wordmark, plays once per visit (intro.js sets .no-intro afterwards) */
.harasho-loader {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: harasho-loader-out 2.4s ease forwards;
}
.harasho-loader-lockup { display: flex; align-items: center; gap: 1rem; animation: harasho-loader-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.harasho-loader-lockup span { font-family: var(--serif); font-size: 1.75rem; letter-spacing: 0.28em; text-transform: uppercase; margin-right: -0.28em; color: var(--ink); }
@keyframes harasho-loader-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes harasho-loader-out { 0% { opacity: 1; } 68% { opacity: 1; } 100% { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .harasho-loader { animation-duration: 0.6s; }
  .harasho-loader-lockup { animation: none; }
}
.no-intro .harasho-loader { display: none; }

/* ---------- start page: every section is one full screen ("band"), like harasho.jp.
   Photo bands (full-bleed photo + vignette, white text) alternate with calm dark bands. ---------- */
.h-band {
  position: relative; isolation: isolate; box-sizing: border-box;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 0 3rem;   /* top clears the fixed nav */
  background: var(--bg);
}
.h-band-inner { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; box-sizing: border-box; }
.h-center { text-align: center; }
.h-band > .section { width: 100%; padding-top: 0; padding-bottom: 0; }   /* Catering/Besuch sit unchanged inside their band */

/* type: small, airy, generous line-height -- quiet, like harasho */
.h-title { margin: 0 0 1.75rem; font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.35; letter-spacing: 0.01em; }
.h-band-inner p { margin: 0 0 0.9rem; font-size: 0.9375rem; line-height: 2.1; letter-spacing: 0.03em; color: var(--ink-2); }
.h-link { display: inline-block; margin-top: 1.25rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; transition: color 150ms ease; }
.h-link::after { content: " →"; color: var(--accent-text); }
.h-link:hover { color: var(--accent-text); }


/* text on one side, ONE small photo on the other (never a full-screen photo) */
.h-split { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; align-items: center; gap: 4rem; max-width: 50rem; }
.h-split--rev { grid-template-columns: 15rem minmax(0, 1fr); }
.h-split-text { max-width: 26rem; }
.h-split-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--card); }
.h-split-photo img { width: 100%; height: 100%; object-fit: cover; }

.h-story .rating { margin-top: 1.25rem; }

/* 3 · kitchen: rows of small squares (~150px, like harasho), then short centered text */
.h-squares { --sq: min(9.5rem, 15svh, 20vw); display: grid; grid-template-columns: repeat(4, var(--sq)); justify-content: center; gap: min(1rem, 2.4svh); margin: 0 auto; padding: 0; list-style: none; }
.h-squares + .h-squares { margin-top: min(1rem, 2.4svh); }
.h-squares--last { margin-bottom: 2rem !important; }
.h-squares--six { --sq: min(9.5rem, 15svh, 14vw); grid-template-columns: repeat(6, var(--sq)); }   /* harasho: a row of 4, then a row of 6 */
.h-sq { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0.5rem; background: var(--card); }
.h-sq img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.h-cat { display: flex; flex-direction: column; gap: 0.6rem; color: var(--ink); text-decoration: none; font-size: 0.8125rem; letter-spacing: 0.06em; -webkit-tap-highlight-color: transparent; }
.h-cat span:last-child { transition: color 150ms ease; }
@media (hover: hover) {
  .h-cat:hover .h-sq img, .harasho-thumb:hover img { transform: scale(1.05); }
  .h-cat:hover span:last-child { color: var(--accent-text); }
}
.h-cat:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 0.5rem; }
.h-kitchen .h-band-inner > p { max-width: 34rem; margin-left: auto; margin-right: auto; }

/* gallery thumbs (gallery.js opens them large) */
.harasho-thumb {
  -webkit-appearance: none; appearance: none; border: 0; padding: 0; cursor: zoom-in;
  display: block; aspect-ratio: 1; overflow: hidden; border-radius: 0.5rem; background: var(--card);
  -webkit-tap-highlight-color: transparent; transition: transform 100ms ease-out;
}
.harasho-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.harasho-thumb:active { transform: scale(0.98); }
.harasho-thumb:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

.harasho-lightbox { padding: 0; border: 0; background: none; overflow: visible; max-width: none; max-height: none; }
.harasho-lightbox::backdrop { background: rgb(10 9 8 / 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.harasho-lightbox img { display: block; max-width: min(92vw, 64rem); max-height: 84vh; width: auto; height: auto; border-radius: var(--radius); }
.harasho-lightbox[open] img { animation: harasho-lightbox-in 350ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.harasho-lightbox-close { position: absolute; top: -3rem; right: 0; }
@keyframes harasho-lightbox-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .harasho-lightbox[open] img { animation: none; } }

/* 5 + 6 · Catering & Lieferung and Besuch: content unchanged, centered heading, one shared width */
.harasho-page #home, .harasho-page #visit { max-width: 56rem; }
.harasho-page #home > .title, .harasho-page #visit > .title { font-size: clamp(1.5rem, 2.6vw, 1.875rem); text-align: center; margin-bottom: 2rem; }

/* 7 · reservation band */
.h-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- speisekarte.html ---------- */
/* the menu is one full-screen band like the start page's sections, header centered. The header sits at a fixed
   spot (not re-centered per category) so the tabs never jump under the finger when the list length changes;
   the allergen key closes the band at its bottom edge. Long lists (Nigiri, Sushi Menüs) simply grow the band. */
.harasho-menu-page {
  box-sizing: border-box; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; text-align: center;
  max-width: 72rem; padding-top: calc(4.25rem + clamp(0.5rem, 4svh, 2.75rem)); padding-bottom: clamp(1.25rem, 4svh, 2.5rem);
}
.harasho-back { align-self: center; font-size: 0.8125rem; color: var(--ink-2); text-decoration: none; transition: color 150ms ease; }
.harasho-back:hover { color: var(--ink); }
.harasho-menu-page-title { font-size: clamp(2rem, min(4.5vw, 6svh), 2.75rem); display: flex; align-items: center; justify-content: center; gap: 0.35em; margin: clamp(0.5rem, 2svh, 1.25rem) 0 0.4rem; }
.harasho-menu-page-title img { width: 0.85em; height: 0.85em; flex: none; }   /* logo sits on the headline's line */
.harasho-menu-page-sub { max-width: 48rem; margin: 0 auto 0.5rem; }
.harasho-menu-page-legend { justify-content: center; margin-bottom: clamp(1rem, 3.5svh, 2rem); }
.harasho-menu-page .segmented { align-self: center; margin-bottom: clamp(0.75rem, 2.5svh, 1.25rem); }
.harasho-menu-page .menu-sub { justify-content: center; margin: 0 0 clamp(0.75rem, 2.5svh, 1.5rem); }
.harasho-menu-page .menu-list { text-align: left; }
.harasho-menu-page .menu-sec { text-align: center; }
.harasho-menu-page .menu-sec p { margin-inline: auto; }
.harasho-menu-page .menu-item { padding: 0.85rem 0; align-content: start; }   /* no stretched gaps inside a row's shorter items */
.harasho-menu-page .menu-foot { margin-top: auto; padding-top: 1.5rem; justify-content: center; text-align: left; }
@media (min-width: 40.01rem) {   /* desktop: the back link sits top-left on the title's line instead of costing a row */
  .harasho-menu-page { position: relative; }
  .harasho-back { position: absolute; left: 1.25rem; top: calc(4.25rem + clamp(0.5rem, 4svh, 2.75rem) + clamp(0.5rem, 2svh, 1.25rem) + 0.75rem); }
}
@media (min-width: 40.01rem) and (max-height: 820px) {   /* laptop windows: a little tighter so more categories fit one screen */
  .harasho-menu-page .menu-item { padding: 0.65rem 0; }
  .harasho-menu-page-legend { margin-bottom: 1rem; }
}
.nav nav a[aria-current="page"] { color: var(--ink); }

.harasho-cta-section { max-width: 56rem; padding-top: 3rem; padding-bottom: 3rem; }
.harasho-cta { width: 100%; background: none; border: 1px solid var(--line); box-shadow: none; padding: 2.5rem; }
.harasho-cta-title { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; margin: 0 0 1rem; }
.harasho-cta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; width: 100%; }
.harasho-cta-address { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }
.harasho-cta-actions { display: flex; align-items: center; gap: 0.875rem; flex-shrink: 0; }
.harasho-pill { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.8125rem; white-space: nowrap; }

/* ---------- footer ---------- */
.harasho-footer p:first-child { margin: 0 0 0.5rem; }
.harasho-footer-sub { font-size: 0.8125rem; opacity: 0.75; }

@media (max-width: 40rem) {
  .h-band { padding: 4.5rem 0 1.5rem; }
  .h-split, .h-split--rev { grid-template-columns: 1fr; gap: 2rem; }
  .h-split-photo { max-width: 15rem; }
  .h-split-text { max-width: none; }
  .h-squares { gap: 0.5rem; }
  .h-squares--six { --sq: min(9.5rem, 15svh, 20vw); grid-template-columns: repeat(3, var(--sq)); }   /* phone: 6 squares as 3 + 3 */
  .h-cat { font-size: 0.6875rem; letter-spacing: 0.02em; text-align: center; }
  .harasho-page #visit > .title, .harasho-page #home > .title { margin-bottom: 1rem; }
  .harasho-page #visit .card, .harasho-page #home .card { padding: 1.1rem 1.25rem; }
  .harasho-page #home .card-text, .harasho-page #visit .hours { font-size: 0.9375rem; }
  .harasho-page #home .visit-grid, .harasho-page #visit .visit-grid { gap: 0.75rem; }
  .harasho-page #visit .map-card { min-height: 10.5rem; padding: 0; }
  .harasho-page #visit .pin { top: 44%; }
  .harasho-menu-page { padding-top: 5rem; }
}

/* nav jumps on the start page land on the top edge of a band: no reserved offset, so no sliver of the previous colour */
html.harasho-html { scroll-padding-top: 0; }

/* Philosophie: text + a 2x2 block of the same small clickable squares used in "Unsere Karte" */
.h-split--quad { grid-template-columns: minmax(0, 1fr) 19.5rem; max-width: 54rem; }
.h-quad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.h-quad .harasho-thumb { aspect-ratio: 4 / 3; }
@media (max-width: 40rem) {
  .h-split--quad { grid-template-columns: 1fr; }
  .h-quad { max-width: 21rem; gap: 0.5rem; }
}

/* ---------- 1 · intro: centered text block, small photos scattered around it, faint word behind ---------- */
.h-intro { overflow: hidden; }
.h-collage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.h-collage .hc { pointer-events: auto; }   /* the photos are clickable, the empty space around them is not */
.hc { position: absolute; margin: 0; overflow: hidden; border-radius: 0.375rem; box-shadow: 0 14px 36px rgb(0 0 0 / 0.4); }
.hc img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* side layout: every photo is capped by the room left beside the 26rem text column (50% - 13rem - 1rem margin),
   so it can never touch or cover the text, whatever the window size */
.hc-a { left: 10.5%; top: 17%; width: min(17vw, 29svh, calc(39.5% - 14rem)); aspect-ratio: 272 / 305; z-index: 1; }
.hc-b { left: 5.3%;  top: 36%; width: min(9.4vw, 17svh, calc(44.7% - 14rem)); aspect-ratio: 150 / 187; z-index: 2; }
.hc-f { left: 21%;   top: 71%; width: min(8.7vw, 16svh, calc(29% - 14rem)); aspect-ratio: 139 / 173; }
.hc-c { right: 20.8%; top: 18%; width: min(8.7vw, 16svh, calc(29.2% - 14rem)); aspect-ratio: 139 / 174; }
.hc-d { right: 4.9%;  top: 45%; width: min(9.4vw, 17svh, calc(45.1% - 14rem)); aspect-ratio: 150 / 188; z-index: 1; }
.hc-e { right: 10.2%; top: 58%; width: min(17vw, 29svh, calc(39.8% - 14rem)); aspect-ratio: 271 / 340; z-index: 2; }
.hc-word {
  position: absolute; left: 47%; bottom: 5%; z-index: 0; white-space: nowrap;
  font-family: var(--serif); font-weight: 500; line-height: 0.8; font-size: min(22vw, 38svh);
  color: rgb(239 232 220 / 0.05);
}
.h-intro-inner { position: relative; z-index: 3; width: min(16rem, 88vw); margin: 0 auto; text-align: center; }   /* slim column like the PNG */
.h-intro-logo { display: block; width: 2.75rem; height: auto; margin: 0 auto 1.3rem; }
.h-intro-name { margin: 0 -0.32em 0 0; font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: 0.32em; font-size: clamp(2.25rem, min(5vw, 7.5svh), 3.75rem); line-height: 1; }   /* same recipe as the nav brand */
.h-intro-kicker { margin: 0.8rem 0 2.6rem !important; font-size: 0.5938rem !important; font-weight: 500; letter-spacing: 0.32em !important; text-transform: uppercase; color: var(--ink-2) !important; line-height: 1.5 !important; }
.h-intro-text { margin: 0; }
.h-intro-text p { margin: 0 0 1.1rem; font-size: 0.78125rem; letter-spacing: 0.06em; line-height: 1.65; color: var(--ink-2); }   /* PNG: ~13px text on a 21px line pitch */
.h-intro-text strong { color: var(--ink); font-weight: 500; white-space: nowrap; }   /* a bold phrase never splits over two lines */
.h-intro-text p { text-wrap: pretty; }
/* a lighter, more dynamic rhythm: each paragraph has its own width, centred (1st stays full so its first line fits) */
.h-intro-text p { margin-left: auto; margin-right: auto; }
.h-intro-text p:nth-child(2) { max-width: 86%; }
.h-intro-text p:nth-child(3) { max-width: 70%; }
.h-intro-text p:nth-child(4) { max-width: 94%; }   /* no single stranded word on the last line */

@media (max-width: 68rem) {
  .h-intro { --strip: clamp(3rem, 8.5svh, 6.5rem); padding-top: calc(3.75rem + var(--strip) + 0.75rem); padding-bottom: calc(var(--strip) + 1.25rem); }
  .hc-b, .hc-d { display: none; }
  .hc { height: var(--strip); width: auto; }
  .hc-a { left: 5vw; right: auto; top: calc(3.75rem + 0.5rem); aspect-ratio: 1.15; }
  .hc-c { right: 5vw; left: auto; top: calc(3.75rem + 0.5rem); aspect-ratio: 0.8; }
  .hc-f { display: block; left: 5vw; right: auto; top: auto; bottom: 0.9rem; aspect-ratio: 0.8; }
  .hc-e { right: 5vw; left: auto; top: auto; bottom: 0.9rem; aspect-ratio: 1.15; }
  .hc-word { left: 6vw; bottom: 20svh; font-size: 42vw; }
}
@media (max-width: 36rem) and (max-height: 800px) { .h-intro-text { display: none; } }

/* ---------- 2 · Philosophie: text block on the left like harasho (about 9% in, a big gap under the title,
   wide letter-spacing, very tall line-height), the small photo squares on the right ---------- */
.h-story .h-band-inner { max-width: none; padding: 0 9vw; }
.h-story .h-split--quad { max-width: none; grid-template-columns: minmax(0, 30rem) min(38rem, 48vw); justify-content: space-between; gap: 3rem; }
@media (max-width: 64rem) {   /* four columns need room: below ~1024px the squares sit under the text */
  .h-story .h-split--quad { grid-template-columns: 1fr; gap: 2rem; }
  .h-quad { max-width: 38rem; }
}
.h-story .h-title { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: clamp(1.75rem, 10svh, 6.5rem); }
.h-story .h-split-text { max-width: none; }
.h-story .h-split-text p { color: var(--ink); font-size: 0.9375rem; letter-spacing: 0.1em; line-height: 2.9; }
.h-story .rating { margin-top: clamp(1rem, 4svh, 2rem); }
@media (max-width: 40rem) {
  .h-story .h-band-inner { padding: 0 1.5rem; }
  .h-story .h-split--quad { grid-template-columns: 1fr; gap: 2rem; }
  .h-story .h-title { margin-bottom: 1.25rem; }
  .h-story .h-split-text p { letter-spacing: 0.06em; line-height: 2.2; }
}

/* short windows (a browser on a 1366x768 laptop is only ~650px tall): tighten so every screen still fits */
@media (max-height: 680px) {
  .h-band { padding-top: 4.25rem; padding-bottom: 1rem; }
  .harasho-page #home > .title, .harasho-page #visit > .title { margin-bottom: 1rem; }
  .harasho-page #home .card, .harasho-page #visit .card { padding: 1.1rem 1.25rem; }
  .harasho-page #visit .hours { gap: 0.3rem 1.5rem; }
  .harasho-page #visit .map-card { min-height: 10.5rem; padding: 0; }
  .harasho-page #visit .pin { top: 44%; }
}

/* Philosophie has two paragraphs now: on short windows tighten the line spacing so the whole screen still fits */
@media (max-height: 760px) {
  .h-story .h-split-text p { line-height: 2.3; }
  .h-story .h-title { margin-bottom: clamp(1rem, 6svh, 3rem); }
}

/* stacked Philosophie (narrower than 1024px) on a short screen: tighten so the text and all six photos fit */
@media (max-width: 64rem) and (max-height: 820px) {
  .h-story .h-title { margin-bottom: 1rem; }
  .h-story .h-split-text p { line-height: 2.2; }
  .h-story .rating { margin-top: 0.75rem; }
  .h-quad { max-width: 32rem; }
}

/* first section carries the full four-paragraph copy (like the Finsterwirt text block): on short windows tighten,
   on phones keep only the first and the last paragraph so the photos still have room */
@media (max-height: 900px) {
  .h-intro-inner { width: min(18rem, 88vw); }
  .h-intro-kicker { margin-bottom: 2.2rem !important; }
}
@media (max-height: 820px) {
  .h-intro-inner { width: min(21rem, 88vw); }
  .h-intro-logo { width: 2.25rem; margin-bottom: 0.9rem; }
  .h-intro-kicker { margin: 0.6rem 0 1.8rem !important; }
  .h-intro-text p { margin-bottom: 0.7rem; line-height: 1.6; }
}
@media (max-height: 700px) {
  .h-intro-inner { width: min(24rem, 88vw); }
  .h-intro-text p { font-size: 0.75rem; line-height: 1.55; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
}
@media (max-width: 40rem) { .h-intro-text .h-more { display: none; } }

/* tablet-landscape on a short screen (strip layout + the longer text): trim a few gaps so it still fits */
@media (max-width: 68rem) and (max-height: 820px) {
  .h-intro { padding-bottom: calc(var(--strip) + 0.9rem); }
  .h-intro-kicker { margin-bottom: 1.4rem !important; }
  .h-intro-text p { line-height: 1.5; margin-bottom: 0.55rem; }
}

/* short tablet-landscape windows (an iPad with the browser bars showing is ~1024x700): first + last paragraph only */
@media (max-width: 68rem) and (max-height: 760px) { .h-intro-text .h-more { display: none; } }

/* ---------- Philosophie, three paragraphs: harasho's left block with wide tracking, compressed just enough per window size ---------- */
.h-story .h-split-text p { font-size: 0.875rem; letter-spacing: 0.08em; line-height: 2.3; margin: 0 0 1.1rem; }
.h-story .h-title { margin-bottom: clamp(1.25rem, 6svh, 3.5rem); }
@media (max-height: 800px) {
  .h-story .h-split-text p { line-height: 1.9; margin-bottom: 0.8rem; letter-spacing: 0.06em; }
  .h-story .h-title { margin-bottom: 1.25rem; }
}
@media (max-height: 700px) {
  .h-story .h-split-text p { font-size: 0.8125rem; line-height: 1.7; margin-bottom: 0.55rem; letter-spacing: 0.05em; }
  .h-story .h-title { margin-bottom: 0.9rem; }
  .h-story .rating { margin-top: 0.5rem; }
}
@media (max-width: 64rem) {   /* stacked: photos under the text */
  .h-quad { max-width: 30rem; }
}
@media (max-width: 64rem) and (max-height: 820px) {
  .h-story { padding-top: 4.25rem; padding-bottom: 1rem; }
  .h-quad { max-width: 22rem; }
  .h-story .rating { margin-top: 0.5rem; }
}
@media (max-width: 40rem) {
  .h-story .h-split-text p { font-size: 0.8125rem; letter-spacing: 0.03em; line-height: 1.85; margin-bottom: 0.6rem; }
  .h-story .h-title { margin-bottom: 1rem; }
  .h-quad { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 21rem; gap: 0.35rem; }
  .h-quad .harasho-thumb { aspect-ratio: 1; border-radius: 0.4rem; }
}


/* section 1 photos open large like the others */
.hc { cursor: zoom-in; }
.hc:active { transform: scale(0.985); }
@media (hover: hover) { .hc:hover img { transform: scale(1.05); } }
.hc img { transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }

/* ---------- Geheimtipp: quiet small-caps kicker, light serif headline, one calm photo, hairline, short text.
   Variant B (default): a faint warm glow. Remove the class "h-glow" on the section for variant A (no glow). ---------- */
.h-secret { text-align: center; }
.h-secret-wrap { width: min(34rem, 88vw); margin: 0 auto; }
.h-secret-photo { margin: 0 auto; width: min(30rem, 86vw); height: min(36svh, 20rem); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / 0.45); }
.h-secret-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-secret-kicker { margin: 2.25rem -0.32em 1rem 0; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-2); }
.h-secret-title { margin: 0 auto; max-width: 24rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: 0.03em; }
.h-secret-rule { width: 2.75rem; height: 1px; margin: 1.75rem auto; background: rgb(239 232 220 / 0.28); }
.h-secret-text { margin: 0; font-size: 0.8125rem; letter-spacing: 0.07em; line-height: 1.9; color: var(--ink-2); }
.h-glow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 46% 52% at 50% 36%, rgb(236 150 64 / 0.14), transparent 72%); }
.h-glow .h-secret-photo { box-shadow: 0 0 90px rgb(236 150 64 / 0.18), 0 24px 60px rgb(0 0 0 / 0.5); }
@media (max-height: 760px) {
  .h-secret-photo { height: min(30svh, 16rem); }
  .h-secret-kicker { margin-top: 1.4rem; }
  .h-secret-rule { margin: 1.1rem auto; }
  .h-secret-text { line-height: 1.7; }
}

/* slow fade-up as a screen arrives (reveal.js toggles .in) */
.js .h-reveal { opacity: 0; transform: translateY(14px); transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s), transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s); }
.js .h-secret-photo.h-reveal { transform: scale(1.04); transition-duration: 1.6s; }
.js .h-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .h-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- shared quiet voice (Geheimtipp, Catering & Lieferung, Besuch): small-caps kicker, light serif title, hairlines ---------- */
.h-q-wrap { width: min(34rem, 88vw); margin: 0 auto; text-align: center; }
.h-q-wrap--cat { width: min(50rem, 90vw); }
.h-q-wrap--wide { width: min(56rem, 90vw); }
.h-q-kicker { margin: 0 -0.32em 1rem 0; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-2); }
.h-q-kicker--left { margin-right: 0; text-align: left; }
.h-q-title { margin: 0 auto; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: 0.03em; }
.h-q-title--left { margin: 0; }

/* Catering & Lieferung: no boxes, two calm columns split by a hairline */
.h-q-cols { display: grid; grid-template-columns: 1fr 1fr; max-width: 46rem; margin: 2.5rem auto 0; text-align: left; }
.h-q-col { padding: 0 2.25rem; }
.h-q-col + .h-q-col { border-left: 1px solid var(--line); }
.h-q-col h3 { margin: 0 0 0.9rem; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; letter-spacing: 0.02em; }
.h-q-col p { margin: 0 0 1.4rem; font-size: 0.875rem; line-height: 1.8; letter-spacing: 0.04em; color: var(--ink-2); }
.h-q-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Besuch: the address is the headline, hours as a hairline table, one soft map panel */
.h-visit-grid { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: 3.5rem; align-items: center; text-align: left; }
.h-visit-sub { margin: 0.4rem 0 1.5rem; font-size: 0.8125rem; letter-spacing: 0.07em; color: var(--ink-2); }
.h-visit-hours { margin: 0; display: grid; grid-template-columns: 1fr auto; font-size: 0.875rem; }
.h-visit-hours dt, .h-visit-hours dd { margin: 0; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.h-visit-hours dt:last-of-type, .h-visit-hours dd:last-of-type { border-bottom: 1px solid var(--line); }
.h-visit-hours dt { color: var(--ink); font-weight: 400; }
.h-visit-hours dd { padding-left: 1.25rem; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.h-visit-note { margin: 0.6rem 0 0; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-2); }
.h-visit-status { margin: 0.9rem 0 1.4rem; font-size: 0.875rem; gap: 0.6rem; align-items: center; color: var(--ink-2); }
.h-visit-status::before { margin-top: 0; }
.h-visit-status .status-main, .h-visit-status .status-sub { display: inline; }
.h-visit-status .status-sub::before { content: " · "; }
.h-visit-status.open::before { box-shadow: 0 0 0 0 rgb(240 75 82 / 0.6); animation: h-pulse 2.4s ease-out infinite; }
@keyframes h-pulse { 70% { box-shadow: 0 0 0 0.55rem rgb(240 75 82 / 0); } 100% { box-shadow: 0 0 0 0 rgb(240 75 82 / 0); } }
@media (prefers-reduced-motion: reduce) { .h-visit-status.open::before { animation: none; } }
.h-visit-contact { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.875rem; }
.h-visit-contact a { color: var(--ink); text-decoration: none; letter-spacing: 0.03em; transition: color 150ms ease; }
.h-visit-contact a:hover { color: var(--accent-text); }
.h-visit-grid .map-card { min-height: 21rem; }

@media (max-width: 52rem) {
  .h-q-cols { grid-template-columns: 1fr; max-width: 28rem; }
  .h-q-col { padding: 0; }
  .h-q-col + .h-q-col { border-left: 0; border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.5rem; }
  .h-visit-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .h-visit-grid .map-card { min-height: 12rem; }
}
@media (max-height: 760px) {
  .h-q-cols { margin-top: 1.5rem; }
  .h-q-col p { margin-bottom: 1rem; line-height: 1.65; }
  .h-visit-sub { margin-bottom: 0.9rem; }
  .h-visit-hours dt, .h-visit-hours dd { padding: 0.5rem 0; }
  .h-visit-status { margin: 0.6rem 0 0.8rem; }
  .h-visit-grid .map-card { min-height: 15rem; }
}
@media (max-width: 40rem) and (max-height: 820px) { .h-visit-contact a:nth-child(3), .h-visit-note { display: none; } }

/* ---------- Reservierung (F2, approved layout): izakaya hours board + seal ---------- */
    /* ---- Reservierung F: hanko seal + vertical Japanese text ---- */
    .hr-resF-wrap { width: fit-content; max-width: 92vw; margin: 0 auto; display: grid; grid-template-columns: auto auto; column-gap: 0; align-items: stretch; text-align: left; }
    .hr-resF-main { align-self: center; padding-right: clamp(2rem, 4.5vw, 4rem); }
    .hr-resF-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.5rem; padding-left: clamp(2rem, 4.5vw, 4rem); border-left: 1px solid var(--line); }
    .hr-resF-cols { display: flex; flex-direction: row; align-items: flex-start; gap: 1.6rem; }
    .hr-resF-big { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }   /* long line + seal share one column, so the seal is centred under it */
    .hr-vert { writing-mode: vertical-rl; font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS PMincho", serif; font-weight: 500; line-height: 1; }
    .hr-vert--big { font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: 0.32em; color: var(--ink); }
    .hr-vert--small { font-size: 0.75rem; letter-spacing: 0.4em; color: var(--ink-2); margin-top: 0.2rem; }
    .hr-hanko { width: 3.2rem; height: auto; transform: rotate(-7deg); opacity: 0.95; filter: drop-shadow(0 6px 14px rgb(0 0 0 / 0.5)); }   /* centred under the left-most column ご予約 */


    /* ---- F1-F3: new left sides, same right side ---- */
        .hr-f-kicker { margin: 0 0 1.1rem; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-2); }
    .hr-f-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: 0.03em; }
    .hr-f-kanji { display: inline-block; margin-right: 0.9rem; padding: 0.25rem 0.5rem; border: 1px solid var(--accent); border-radius: 3px; color: var(--accent-text); font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS PMincho", serif; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: none; }   /* small seal-like tag */
    .hr-f-link { -webkit-appearance: none; appearance: none; background: none; border: 0; padding: 0 0 0.35rem; cursor: pointer; color: var(--ink); font: 500 0.9375rem/1 var(--sans); letter-spacing: 0.08em; border-bottom: 1px solid var(--accent); transition: color 150ms ease; }
    .hr-f-link:hover { color: var(--accent-text); }
    .hr-f-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 4px; }
    .hr-f-table { margin: 1.5rem 0 0; }
    .hr-f-table > div { display: grid; grid-template-columns: 8.5rem 1fr; padding: 0.6rem 0; border-top: 1px solid var(--line); font-size: 0.8125rem; letter-spacing: 0.05em; }
    .hr-f-table > div:last-child { border-bottom: 1px solid var(--line); }
    .hr-f-table dt { color: var(--ink-2); } .hr-f-table dt span { display: inline-block; min-width: 2.6rem; margin-right: 0.5rem; color: var(--ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS PMincho", serif; } .hr-f-table dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
    .hr-f-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.8rem; }
    .hr-f-row .hr-phone { margin: 0; font-size: 0.9375rem; letter-spacing: 0.12em; }

    .hr-phone { display: inline-block; margin-top: 1.25rem; font-family: var(--sans); font-size: 1rem; letter-spacing: 0.14em; color: var(--ink-2); text-decoration: none; transition: color 150ms ease; }
    .hr-phone:hover { color: var(--ink); }
/* ---------- Reservierung: live time chips (filled by renderQuick in app.js) ---------- */
.rv-quick { margin-top: 0.5rem; min-height: 5.2rem; }
.rv-quick-cap { margin: 0; font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.rv-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.2rem 0 0; }
.rv-chip { -webkit-appearance: none; appearance: none; cursor: pointer; padding: 0.8rem 1rem; border-radius: 4px; border: 1px solid rgb(239 232 220 / 0.3); background: none; color: var(--ink); font: 500 0.875rem/1 var(--sans); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; transition: border-color 150ms ease, background 150ms ease; }
.rv-chip--soft { color: var(--ink-2); border-style: dashed; }
.rv-chip:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.rv-chip:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

@media (max-width: 52rem) {
  .hr-resF-wrap { grid-template-columns: 1fr; width: min(34rem, 90vw); row-gap: 1.5rem; }
  .hr-resF-main { padding-right: 0; align-self: auto; }
  .hr-resF-side { flex-direction: row; border-left: 0; border-top: 1px solid var(--line); padding: 1.25rem 0 0; align-items: center; gap: 1rem; justify-content: space-between; }
  .hr-resF-cols { flex-direction: row; align-items: center; gap: 0.9rem; }
  .hr-vert { writing-mode: horizontal-tb; }
  .hr-vert--big { font-size: 1.1rem; letter-spacing: 0.25em; }
  .hr-vert--small { margin: 0; }
  .hr-hanko { width: 2.6rem; }
  .hr-resF-big { flex-direction: row; gap: 0.9rem; }
}
@media (max-height: 760px) {
  .hr-resF-side { gap: 1rem; }
  .hr-vert--big { font-size: 1.15rem; }
  .hr-hanko { width: 2.6rem; }
}

/* ---------- reservation sheet: never scrolls — tighten in steps, only as far as the screen needs ---------- */
@media (max-height: 860px) {   /* mild: ~30 px saved */
  .sheet { max-height: 98dvh; }
  .req-note { display: none; }
  .sheet .field { margin-bottom: 0.75rem; }
  .sheet-head { margin-bottom: 0.6rem; }
}
@media (max-height: 760px) {   /* medium */
  .grabber { padding: 0.45rem 0 0.15rem; }
  .sheet-body { padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
  .sheet-head h2 { font-size: 1.5rem; }
  .sheet .field { margin-bottom: 0.6rem; }
  .sheet input, .sheet select, .sheet textarea { padding: 0.65rem 0.85rem; }
  .sheet textarea { height: 3rem; min-height: 0; resize: none; }
  .sheet .optin { font-size: 0.75rem; line-height: 1.3; }
}
@media (max-height: 700px) {   /* tight: small phones */
  .sheet .field { margin-bottom: 0.45rem; }
  .sheet label { margin-bottom: 0.2rem; font-size: 0.8125rem; }
  .sheet input, .sheet select, .sheet textarea { padding: 0.55rem 0.8rem; }
  .sheet textarea { height: 2.5rem; }
  .sheet .optin { margin-top: 0.4rem; font-size: 0.6875rem; }
  .sheet .btn-block { padding-top: 0.7rem; padding-bottom: 0.7rem; }
}

/* ---------- Besuch: Kontakt, E-Mail and Instagram are rows of the hours table (all sizes), so the separate links go ---------- */
.h-visit-hours a { color: var(--ink); text-decoration: none; transition: color 150ms ease; }
.h-visit-hours a:hover { color: var(--accent-text); }
.h-visit-contact { display: none; }   /* phone, e-mail and Instagram are rows of the hours table now */

/* ---------- phone, approved: Reservierung (3 even time fields) and Besuch (compact) ---------- */
@media (max-width: 40rem) {
  .hr-f-title { font-size: 1.5rem; }
  .rv-quick .rv-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 0.3rem; }
  .rv-quick .rv-chip { padding: 0.95rem 0; text-align: center; }
  .rv-quick .rv-chip--soft { grid-column: 1 / -1; }
  .hr-f-table > div { grid-template-columns: 8rem 1fr; padding: 0.5rem 0; font-size: 0.75rem; }

  #visit { width: 82vw; }
  .h-visit-note { display: none; }
  .h-visit-hours { font-size: 0.8125rem; }
  .h-visit-grid .map-card { min-height: 8.5rem; }
  #visit .h-visit-sub { margin-bottom: 0.6rem; }
}

/* ---------- phone, approved: Unsere Karte (title, text and link first, then the four chapters as a list with photo and ›) ---------- */
@media (max-width: 40rem) {
  #gallery { display: none; }   /* the six impression photos are not shown on phones */
  .h-kitchen .h-band-inner { display: flex; flex-direction: column; align-items: center; }
  .h-kitchen #menu-title { order: 1; margin-bottom: 0.9rem; }
  .h-kitchen .h-band-inner > p { order: 2; }
  .h-kitchen .h-link { order: 3; margin: 0 0 1.5rem; }
  .h-kitchen ul.h-squares { order: 4; display: block; width: min(22rem, 88vw); margin: 0 auto 1rem !important; }
  .h-kitchen ul.h-squares li { position: relative; border-top: 1px solid var(--line); }
  .h-kitchen ul.h-squares li:last-child { border-bottom: 1px solid var(--line); }
  .h-kitchen .h-cat { display: flex; flex-direction: row; align-items: center; gap: 1.1rem; padding: 0.65rem 0; text-align: left; font: 400 1.125rem/1.2 var(--serif); letter-spacing: 0.03em; }
  .h-kitchen .h-cat .h-sq { width: 3.6rem; height: 3.6rem; flex: none; border-radius: 0.75rem; }
  .h-kitchen .h-cat > span:last-child { flex: 1; }
  .h-kitchen .h-cat > span:last-child::after { content: "\203A"; position: absolute; right: 0.25rem; color: var(--ink-2); font: 300 1.6rem/1 var(--sans); }
}

/* ---------- phone, approved: Philosophie (bigger text, title - text - six photos as 3 x 2 - Google rating underneath) ---------- */
@media (max-width: 40rem) {
  .h-story .h-split { gap: 0; }
  .h-story .h-split-text { display: contents; }   /* its children join the grid so the rating can sit below the photos */
  .h-story .h-title { order: 0; font-size: 1.35rem; margin-bottom: 1.1rem; }
  .h-story .h-split-text p { order: 1; font-size: 0.78125rem; line-height: 1.7; margin: 0 0 0.85rem; }
  .h-quad { order: 2; grid-template-columns: repeat(3, 1fr); max-width: none; gap: 0.5rem; margin: 0.25rem 0 1.1rem; }
  .h-quad .harasho-thumb { aspect-ratio: 4 / 3; }
  .h-story .rating { order: 3; justify-self: start; margin-top: 0; }
  .h-story .story-art { order: 4; }
  .h-story .h-band-inner { padding: 0 2.25rem; }   /* more room left and right */
}

/* ---------- phone, approved: Start (logo, name and one paragraph, directly below them a block of three photos; no watermark) ---------- */
@media (max-width: 40rem) {
  .h-intro { display: flex; flex-direction: column; justify-content: center; padding-top: 2.25rem; padding-bottom: 0; }
  .hc { display: none !important; position: absolute; right: auto; height: auto; }
  .hc-word { display: none; }
  .h-intro-inner { order: 1; }
  .h-intro-logo { width: 3.6rem; margin-bottom: 1.25rem; }   /* bigger seal */
  .h-intro-name { font-size: 3.1rem; }                          /* bigger CUCHI */
  .h-intro-kicker { margin: 0.7rem 0 1.5rem !important; }
  .h-intro-text { display: block !important; }
  .h-intro-text p { font-size: 0.8125rem; line-height: 1.65; margin-bottom: 0; }
  .h-intro-text p:nth-child(4) { display: none; }   /* only the first short paragraph */
  .h-collage { position: relative; inset: auto; order: 2; display: grid; grid-template-columns: 42fr 30fr; gap: 0.5rem; width: 76vw; margin: 2rem auto 0; pointer-events: auto; }
  .hc-e, .hc-f, .hc-a { display: block !important; position: static; width: auto; top: auto; left: auto; bottom: auto; }
  .hc-e { grid-column: 1; grid-row: 1 / 3; height: auto; aspect-ratio: auto; }
  .hc-f { grid-column: 2; grid-row: 1; aspect-ratio: 1.1 / 1; }
  .hc-a { grid-column: 2; grid-row: 2; aspect-ratio: 1.1 / 1; }
}

/* Catering & Lieferung: kleine Zeile mit Kanji und Umschrift über den Titeln (Variante N4, freigegeben) */
#band-lieferung .h-q-col h3::before { display: block; margin-bottom: 0.45rem; font: 500 0.6875rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-2); }
#band-lieferung .h-q-col:nth-child(1) h3::before { content: "宴会 · Enkai"; }
#band-lieferung #delivery h3::before { content: "出前 · Demae"; }

/* Handy: die obere Leiste bleibt beim Scrollen immer sichtbar (überstimmt das Ausblenden aus site-lux) */
@media (max-width: 40rem) { body.sl-16 .nav.sl-away { transform: none; } }

/* Handy-Start: nur bei niedrigen Bildschirmen leicht herauszoomen, damit oben und unten Luft bleibt */
@media (max-width: 40rem) {
  .h-intro-inner, .h-collage { zoom: 1.06; }
}
@media (max-width: 40rem) and (max-height: 799px) { .h-intro-inner, .h-collage { zoom: 1.02; } }
@media (max-width: 40rem) and (max-height: 720px) { .h-intro-inner, .h-collage { zoom: 0.95; } }
@media (max-width: 40rem) and (max-height: 650px) { .h-intro-inner, .h-collage { zoom: 0.86; } }

/* Handy: jede Sektion = genau ein Bildschirm (dvh folgt der ein-/ausfahrenden Safari-Leiste, sonst driften die Sektionen auseinander) und rastet fest oben ein.
   Inhalt sitzt unter der Leiste (4.5rem), "Zu Ihnen" & Co. werden nicht mehr verdeckt. */
@media (max-width: 40rem) {
  html.harasho-html { scroll-snap-type: y proximity; }   /* sanftes Einrasten: nur wenn man nahe an einer Sektionskante stoppt, sonst frei scrollbar */
  .h-band { min-height: 100svh; min-height: 100dvh; padding-top: 4.5rem; padding-bottom: 2.5rem; scroll-snap-align: start; }
  .h-band.h-intro { padding-top: 4.25rem; padding-bottom: 0.5rem; }
}

/* Handy: Besuch + Footer sollen genau auf einen Bildschirm passen (vorher ~1035 px: "Besuch" unter der Leiste, Stempel und Dankestext abgeschnitten) */
@media (max-width: 40rem) {
  #band-besuch { padding-top: 4.5rem; padding-bottom: 0; }
  #band-besuch .h-q-kicker { margin-bottom: 0.4rem; }
  #band-besuch .h-q-title { font-size: 1.3rem; }
  #band-besuch .h-visit-grid { gap: 0.9rem; }
  #band-besuch .h-visit-sub { margin: 0.2rem 0 0.55rem; }
  #band-besuch .h-visit-hours { font-size: 0.8125rem; }
  #band-besuch .h-visit-hours dt, #band-besuch .h-visit-hours dd { padding: 0.3rem 0; }
  #band-besuch .h-visit-hours dt:nth-last-of-type(1), #band-besuch .h-visit-hours dd:nth-last-of-type(1) { display: none; }   /* Instagram-Zeile: spart Platz */
  #band-besuch .h-visit-hours dt:nth-last-of-type(2), #band-besuch .h-visit-hours dd:nth-last-of-type(2) { border-bottom: 1px solid var(--line); }
  #band-besuch .h-visit-status { margin: 0.4rem 0 0; }
  #band-besuch .map-card, .h-visit-grid .map-card { min-height: 7rem; }
  #band-besuch .map-label { padding: 0.55rem 0.8rem; }
  #band-besuch .map-label span:not(.map-cta) { display: none; }
  #band-besuch .harasho-footer { padding: 0.9rem 1rem calc(0.8rem + env(safe-area-inset-bottom)); }
  #band-besuch .harasho-footer > p:first-of-type { display: none; }   /* lange ©-Zeile, Rechtliches steht in der Zeile darunter */
  #band-besuch .sl-thanks img { width: 1.9rem; height: 1.9rem; }
  #band-besuch .sl-thanks small { display: none; }
  #band-besuch .harasho-footer p { margin-bottom: 0.25rem; font-size: 0.75rem; line-height: 1.5; }
}

/* Handy: die obere Leiste behält beim Scrollen immer dieselbe Größe und denselben Abstand nach oben (site-lux schrumpfte sie beim Scrollen) */
@media (max-width: 40rem) {
  body.sl-16 .nav, body.sl-16 .nav.scrolled { padding-block: 0.75rem; transition: none; }
}

/* Geheimtipp is hidden for now (remove this rule to show it again) */
.h-secret { display: none !important; }

/* ---------- phone: the approved layouts must look the same on every phone height (iPhone SE ... 16 Pro Max).
   The older rules above change widths, zoom and spacing by screen HEIGHT; these pin the values for the sections we approved. ---------- */
@media (max-width: 40rem) {
  .h-intro-inner { width: min(21rem, 88vw); zoom: 1; }
  .h-collage { zoom: 1; }
  .h-intro-text p { letter-spacing: 0.06em; }
  .h-story .h-split-text p { letter-spacing: 0.05em; }
  .h-story .h-title { letter-spacing: 0.1em; }
  .hr-vert--big { font-size: 1.1rem; }
  .hr-hanko { width: 2.6rem; }
}

/* phone: the iPhone SE look is the reference, on every phone. Only the first screen fills the display; every other section is as tall as its content with the same
   fixed padding (about 130px between two sections), so the space between sections is identical on an SE, an iPhone 16 and a 16 Pro Max. */
@media (max-width: 40rem) {
  html.harasho-html { scroll-snap-type: none; }
  .h-band:not(.h-intro) { min-height: 0; padding-top: 5rem; padding-bottom: 3rem; }
}

/* phone: Catering & Lieferung gets more room left and right (same width as Besuch) */
@media (max-width: 40rem) {
  #band-lieferung #home { width: 82vw; }
}

/* phone: the language switch lives in the footer, the top bar stays free for "Lieferung" and "Reservieren" */
@media (max-width: 40rem) { .nav .lang { display: none; } }

/* photo slot without an own photo yet: the logo on a dark tile, like the dishes without a photo in the menu (site-content.js drops data-filler once the admin sets a photo) */
img[data-filler] { object-fit: contain !important; padding: 26%; box-sizing: border-box; background: #2a2623; }
.harasho-thumb:has(img[data-filler]) { pointer-events: none; }
.hr-f-table dd span { display: block; } .hr-f-table dd .hr-f-sep { display: none; }   /* lunch and evening hours on two lines (phone and computer) */
/* phone scroll: the first screen keeps one fixed height (svh). With dvh it grew and shrank while Safari's bar slid in and out, so the whole page below jumped during every scroll.
   The floating of the intro photos is off on phones (fewer moving layers while scrolling). */
@media (max-width: 40rem) { .h-band.h-intro { min-height: 100svh; } body.sl-2 .hc { animation: none; } }
/* phone scroll: no live blur behind the fixed top bar / cookie box. iPhone Safari recomputes that blur on every scroll frame (the screen recording showed frames standing still). */
@media (max-width: 40rem) { .nav, .consent { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* top bar "Abholung": computer -> the section "Catering & Abholung" (#band-lieferung), phone -> straight to the order page */
.nav nav a.nav-phone { display: none; }
@media (max-width: 40rem) { .nav nav a.nav-phone { display: inline; } }
/* hover like the "Passt dazu" tiles of the order page (mouse only): the photo lifts 2px, its zoom to 105 % stays as it was */
@media (hover: hover) and (pointer: fine) {
  .h-sq, .harasho-thumb { transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1); }
  .h-cat:hover .h-sq, .harasho-thumb:hover { transform: translateY(-2px); }
}

/* reservation sheet: no visible scrollbar, the confirm button stays in view at the bottom (Ha, 08.11.26) */
.sheet-body, .sheet textarea { scrollbar-width: none; }
.sheet-body::-webkit-scrollbar, .sheet textarea::-webkit-scrollbar { display: none; }
#reserve-form > #submit { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 0.6rem 0 0.6rem var(--bg); }

/* phone: no fade-in while scrolling, content is there at once (Ha, 08.11.26) */
@media (max-width: 40rem) { .js .h-reveal { opacity: 1; transform: none; transition: none; } }

/* no visible scrollbars anywhere (Ha 18.11.: "always hide scrollbars"); scrolling still works by wheel, touch, keys */
html, body, * { scrollbar-width: none !important; -ms-overflow-style: none !important; }   /* !important: older rules set "thin" on single scroll areas */
*::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
/* Reservieren in the top bar and the cookie buttons (Ha 18.11.): the order page's matte red glass (bestellen/wolt-plus.css, Ha 18.11.): charcoal glass + logo red at 80 %, faint top rim */
header.nav .btn:not(.btn-ghost), div.consent .btn:not(.btn-ghost) {   /* div.: beats site-lux.css .sl-5 shine rule, which loads later */
  background: linear-gradient(rgb(237 28 36 / 0.8), rgb(237 28 36 / 0.8)), rgb(30 34 40 / 0.5); border: 0; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), inset 0 0 0 0.5px rgb(255 255 255 / 0.12), 0 4px 14px rgb(0 0 0 / 0.2);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.6); backdrop-filter: blur(1.5px) saturate(1.6); }
