@font-face { font-family: "Gloock"; font-weight: 400; font-display: swap; src: url("../fonts/gloock-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-display: swap; src: url("../fonts/instrumentsans-var-latin.woff2") format("woff2"); }

:root {
  --bg: #121212;
  --bg-2: #1b1b1b;
  --bg-3: #242424;
  --ink: #f5efe6;
  --ink-soft: #c2bab0;      /* 9.4:1 on --bg */
  --paper: #f8f3ec;
  --paper-ink: #1a1a1a;
  --paper-soft: #565049;    /* 7.2:1 on --paper */
  --pink: #ffb7c5;
  --pink-deep: #b8506a;     /* text-safe pink on paper, 5.1:1 */
  --gold: #d4af37;
  --cold: #8fc3e6;
  --warm: #f0a46b;
  --line: rgba(245, 239, 230, .12);
  --line-dark: rgba(26, 26, 26, .1);
  --serif: "Gloock", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --script: "Gloock", Georgia, serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --radius: 20px;
  --header: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --z-header: 50;
  --z-actionbar: 40;
  --z-nav: 45;
  --intro: 0ms;
  --wood: #2a1a11;
}
html.shoji { --intro: 650ms; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 450 1rem/1.65 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(2.4rem, 6.6vw, 4.2rem); }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; } /* author display rules (e.g. .dishes grid) must not override the hidden attribute */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--ink-soft); font-size: .95rem; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--pink); margin-bottom: 1rem; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--pink); color: var(--paper-ink); padding: .7rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons: instant color feedback, subtle press scale */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.6rem; border-radius: 999px; background: var(--pink); color: var(--paper-ink); border: 1px solid var(--pink); font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(245, 239, 230, .3); }
.btn--ghost-dark { background: transparent; color: var(--paper-ink); border-color: rgba(26, 26, 26, .25); }
.btn--small { min-height: 44px; padding: .6rem 1.2rem; font-size: .7rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); border-color: var(--ink); box-shadow: 0 10px 30px -12px rgba(255, 183, 197, .55); }
  .btn--ghost:hover { background: var(--pink); border-color: var(--pink); color: var(--paper-ink); }
  .btn--ghost-dark:hover { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); box-shadow: none; }
}

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: calc(var(--header) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); transition: background-color 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease-drawer); }
/* Blur lives on a pseudo layer: backdrop-filter on .header itself would trap the fixed mobile nav inside it */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18, 18, 18, .8); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity 300ms ease; }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; text-decoration: none; font: italic 400 1.75rem/1 var(--script); color: var(--ink); }
.logo__mark { width: 28px; height: 28px; color: var(--pink); transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .logo:hover .logo__mark { transform: rotate(72deg); } }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 2rem; }
.nav__list a { position: relative; display: inline-block; text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .6rem 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px; background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out); }
.nav__list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) { .nav__list a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav__meta { display: none; }
.burger { display: none; position: relative; z-index: 2; width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform 300ms var(--ease-out); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: calc(var(--header) + 48px) 0 96px; isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__media img { object-fit: cover; transform: scale(1.06); animation: heroSettle 1800ms var(--ease-out) var(--intro) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(18,18,18,.6), rgba(18,18,18,.25) 75%), linear-gradient(180deg, rgba(18,18,18,.65) 0%, rgba(18,18,18,.75) 60%, var(--bg) 100%); }
@keyframes heroSettle { to { transform: none; } }
.hero__content { position: relative; z-index: 2; max-width: 820px; text-align: center; }
.hero__title { font-size: clamp(3.2rem, 11vw, 7.2rem); margin-bottom: .35em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 900ms var(--ease-out) calc(var(--intro) + 100ms) forwards; }
.hero__title .line--script { font: italic 400 clamp(2.4rem, 7.5vw, 4.8rem)/1.15 var(--script); color: var(--pink); }
.hero__title .line--script > span { animation-delay: calc(var(--intro) + 220ms); }
@keyframes lineUp { to { transform: none; } }
.hero__in { opacity: 0; transform: translateY(12px); animation: fadeUp 700ms var(--ease-out) forwards; }
.hero__content > :nth-child(1) { animation-delay: calc(var(--intro) + 50ms); }
.hero__content > :nth-child(3) { animation-delay: calc(var(--intro) + 380ms); }
.hero__content > :nth-child(4) { animation-delay: calc(var(--intro) + 460ms); }
.hero__content > :nth-child(5) { animation-delay: calc(var(--intro) + 540ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero__lead { font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: #ddd5ca; max-width: 560px; margin-inline: auto; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 2rem 0 1.4rem; }
.status { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(18, 18, 18, .55); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .82rem; color: var(--ink); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.status.is-open::before { background: #6fcf97; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 207, 151, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(111, 207, 151, 0); } }

/* Shoji intro: two paper doors slide apart once per session. Pure CSS, so the page can never stay covered. */
html.shoji body::before, html.shoji body::after {
  content: ""; position: fixed; top: 0; bottom: 0; width: 50.5%; z-index: 200; pointer-events: auto;
  background:
    linear-gradient(var(--wood), var(--wood)) no-repeat,
    linear-gradient(var(--wood) 3px, transparent 3px) 0 0 / 100% 112px,
    linear-gradient(90deg, var(--wood) 3px, transparent 3px) 0 0 / 25% 100%,
    radial-gradient(ellipse at 50% 40%, #fbf8f2, #efe7da);
  box-shadow: inset 0 0 0 14px var(--wood), inset 0 0 60px rgba(42, 26, 17, .18);
  animation: shojiLeft 1100ms cubic-bezier(.65, 0, .35, 1) 300ms forwards;
}
html.shoji body::before { left: 0; background-size: 10px 64px, 100% 112px, 25% 100%, auto; background-position: calc(100% - 28px) 50%, 0 0, 0 0, 0 0; }
html.shoji body::after { right: 0; background-size: 10px 64px, 100% 112px, 25% 100%, auto; background-position: 28px 50%, 0 0, 100% 0, 0 0; animation-name: shojiRight; }
@keyframes shojiLeft { to { transform: translateX(-101%); } }
@keyframes shojiRight { to { transform: translateX(101%); } }

/* Petals */
.petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -5%; width: var(--s); height: var(--s); background: linear-gradient(135deg, var(--pink), #e88aa0); border-radius: 150% 0 150% 0; opacity: 0; will-change: transform; animation: fall var(--d) linear var(--delay) infinite; }
@keyframes fall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); }
  10% { opacity: .8; }
  85% { opacity: .8; }
  100% { opacity: 0; transform: translate3d(var(--x), 105vh, 0) rotate(var(--r)); }
}

/* Belt marquee (constant motion: linear) */
.belt { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 1rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.belt__track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: belt 45s linear infinite; }
.belt span { font: italic 400 1.4rem/1 var(--serif); white-space: nowrap; color: var(--ink-soft); }
.belt i { width: 9px; height: 9px; background: var(--pink); border-radius: 150% 0 150% 0; transform: rotate(45deg); flex: none; }
@keyframes belt { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(72px, 12vw, 140px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--paper-ink); }
.section--light .eyebrow { color: var(--pink-deep); }
.section--light .muted { color: var(--paper-soft); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vw, 64px); }
.section__head p:last-child { color: var(--ink-soft); }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 900px; margin-inline: auto; }
.price { position: relative; padding: 2.2rem; border: 1px solid var(--line); border-radius: 0; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)); transition: transform 300ms var(--ease-out), border-color 300ms ease, box-shadow 300ms ease; }
.price--featured { border-color: rgba(212, 175, 55, .45); }
.price.is-now { border-color: rgba(255, 183, 197, .6); box-shadow: 0 30px 70px -40px rgba(255, 183, 197, .45); }
@media (hover: hover) and (pointer: fine) { .price:hover { transform: translateY(-4px); border-color: rgba(255, 183, 197, .45); } }
.price__time { color: var(--pink); font-size: .85rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.price dl { margin: 1.4rem 0; }
.price dl div { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .75rem .75rem; margin-inline: -.75rem; border-radius: 0; border-bottom: 1px dashed var(--line); transition: background-color 300ms ease; }
.price dl div.is-today { background: rgba(255, 183, 197, .09); border-bottom-color: transparent; }
.price dl div.is-today dt::after { content: "Heute"; margin-left: .6rem; padding: .15rem .5rem; border-radius: 0; background: var(--pink); color: var(--paper-ink); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; }
.price dt { color: var(--ink-soft); }
.price dd { margin: 0; font: 400 2.1rem/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price__note { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.badge, .chip { position: absolute; top: -12px; padding: .35rem .8rem; border-radius: 0; font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.badge { right: 24px; background: var(--gold); color: var(--paper-ink); }
.chip { left: 24px; background: #6fcf97; color: #0d2a19; }
.prices__legal { text-align: center; color: var(--ink-soft); font-size: .875rem; margin: 1.5rem auto 0; max-width: 560px; }
.prices__foot { display: grid; justify-items: center; gap: 1.5rem; text-align: center; margin-top: 2.5rem; }
.gift { display: flex; gap: .9rem; align-items: flex-start; max-width: 520px; text-align: left; padding: 1.1rem 1.3rem; border-radius: 0; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }
.gift p { margin: 0; }
.gift strong { color: var(--ink); }
.icon--gift { width: 24px; height: 24px; color: var(--gold); margin-top: .1rem; }

/* Concept: the double-decker belt as the visual */
.konzept { overflow: hidden; }
.konzept__vertical { position: absolute; top: clamp(48px, 8vw, 96px); right: clamp(8px, 3vw, 40px); z-index: 0; writing-mode: vertical-rl; font: 400 clamp(4rem, 9vw, 8.5rem)/1 "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; letter-spacing: .08em; color: rgba(184, 80, 106, .07); pointer-events: none; user-select: none; }
.konzept__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.konzept__intro > p:not(.eyebrow) { color: var(--paper-soft); max-width: 34ch; }

/* Hanko: stats as red seal stamps */
.hanko { display: flex; flex-wrap: wrap; gap: 1.1rem; margin: 2.2rem 0 0; }
.hanko > div { display: grid; justify-items: center; gap: .55rem; }
.hanko dt { display: grid; place-content: center; justify-items: center; width: 5.6rem; aspect-ratio: 1; border: 2px solid var(--pink-deep); outline: 1px solid var(--pink-deep); outline-offset: 3px; color: var(--pink-deep); font: 400 1.9rem/1 var(--serif); font-variant-numeric: tabular-nums; transform: rotate(-3deg); background: rgba(184, 80, 106, .04); }
.hanko > div:nth-child(2) dt { transform: rotate(2deg); }
.hanko > div:nth-child(3) dt { transform: rotate(-1deg); }
.hanko small { font: 700 .62rem/1 var(--sans); letter-spacing: .12em; margin-top: .3rem; }
.hanko dd { margin: 0; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-soft); }

/* Kaiten: two moving rails with plates */
.kaiten { display: grid; gap: 1.4rem; padding: clamp(18px, 3vw, 32px); background: #fff; border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .35); }
.track { display: grid; gap: .9rem; }
.track + .track { padding-top: 1.4rem; border-top: 1px dashed var(--line-dark); }
.track__head { display: flex; align-items: center; gap: .9rem; }
.track__glyph { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; flex: none; background: var(--tier); color: #fff; font: 400 1.6rem/1 "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }
.track--warm { --tier: #c9743f; --rim-a: #d4af37; --rim-b: #b8506a; }
.track--cold { --tier: #4f86b0; --rim-a: #8fc3e6; --rim-b: #f5efe6; }
.track__label { margin: 0 0 .1rem; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tier); }
.track h3 { margin: 0; font-size: 1.55rem; color: var(--paper-ink); }
.track__text { margin: 0; color: var(--paper-soft); font-size: .92rem; }
.track__rail { position: relative; overflow: hidden; padding: 14px 0; background: repeating-linear-gradient(90deg, #262626 0 22px, #1d1d1d 22px 24px), #1d1d1d; box-shadow: inset 0 6px 10px -6px rgba(0,0,0,.8), inset 0 -6px 10px -6px rgba(0,0,0,.8); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track--warm .track__rail::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(240, 140, 70, .22)); pointer-events: none; }
.track--cold .track__rail::after { content: ""; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(rgba(143, 195, 230, .2), transparent); pointer-events: none; }
.track__plates { display: flex; gap: 18px; width: max-content; padding-left: 18px; list-style: none; margin: 0; animation: belt-run 34s linear infinite; }
.track--warm .track__plates { animation-direction: reverse; }
.track:hover .track__plates { animation-play-state: paused; }
@keyframes belt-run { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.plate { width: 92px; height: 92px; flex: none; border-radius: 50%; padding: 6px; background: var(--rim); box-shadow: 0 8px 14px -6px rgba(0,0,0,.7), inset 0 -3px 0 rgba(0,0,0,.18); }
.plate--gold { --rim: var(--rim-a); }
.plate--red { --rim: var(--rim-b); }
.plate--blue { --rim: var(--rim-a); }
.plate--white { --rim: var(--rim-b); }
.plate img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.5); }

/* Tabs with a sliding pill */
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(380px, 100%); margin: 0 auto 2.2rem; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); }
.tabs__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--pink); transition: transform 300ms var(--ease-in-out); }
.tabs[data-active="1"] .tabs__pill { transform: translateX(100%); }
.tabs button { position: relative; min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font: 700 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color 300ms ease; }
.tabs button[aria-selected="true"] { color: var(--paper-ink); }
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.dishes:not([hidden]) .dish { animation: dishIn 450ms var(--ease-out) both; }
.dishes .dish:nth-child(2) { animation-delay: 40ms; }
.dishes .dish:nth-child(3) { animation-delay: 80ms; }
.dishes .dish:nth-child(4) { animation-delay: 120ms; }
.dishes .dish:nth-child(5) { animation-delay: 160ms; }
.dishes .dish:nth-child(6) { animation-delay: 200ms; }
@keyframes dishIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
.dish { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform 300ms var(--ease-out), border-color 300ms ease; }
.dish img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-3); transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .dish:hover { transform: translateY(-4px); border-color: rgba(255, 183, 197, .35); }
  .dish:hover img { transform: scale(1.04); }
}
.dish div { padding: 1.3rem 1.4rem 1.5rem; }
.dish span { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
.dish h3 { margin: .3rem 0 .4rem; }
.dish p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.allergens { text-align: center; color: var(--ink-soft); font-size: .875rem; margin: 1.6rem auto 0; }
.icecream { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 60px); align-items: center; margin-top: clamp(56px, 9vw, 110px); padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); background: var(--bg-2); }
.icecream img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.icecream h3 { font-size: clamp(2rem, 5vw, 2.8rem); }
.icecream p:last-child { color: var(--ink-soft); margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact > div > p { color: var(--paper-soft); }
.phone { display: inline-block; font: 400 clamp(2.2rem, 7vw, 3.3rem)/1.2 var(--serif); text-decoration: none; margin: .4rem 0 .2rem; font-variant-numeric: tabular-nums; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .phone:hover { background-size: 100% 1px; } }
.contact__cards { display: grid; gap: 1rem; }
.card { padding: 1.8rem; border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px -30px rgba(0,0,0,.25); }
.card h3 { font-size: 1.5rem; }
.card__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line-dark); }
.hours dt { color: var(--paper-soft); }
.hours dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
address { font-style: normal; color: var(--paper-soft); margin-bottom: 1.2rem; }

/* Footer */
.footer { padding: 3rem 0 calc(3rem + var(--safe-b)); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem 2rem; align-items: start; }
.footer .logo { margin-bottom: .6rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.footer nav a, .footer .muted a { display: inline-block; padding: .35rem 0; text-decoration: none; color: var(--ink-soft); transition: color 200ms ease; }
.footer nav a { font-size: .9rem; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .footer nav a:hover, .footer .muted a:hover { color: var(--pink); } }
.footer__copy { margin: 0; }

/* Japanese textures: local SVG tiles, kept very faint */
.section > .wrap, .footer > .wrap { position: relative; z-index: 1; }
#preise::before, #konzept::before, .footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
#preise::before { background: url("../img/seigaiha-dark.svg") 0 0 / 56px 28px; opacity: .07; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent); }
#preise::after { content: ""; position: absolute; top: 8%; left: 50%; width: min(720px, 90vw); height: 360px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 183, 197, .12), transparent); pointer-events: none; }
#konzept::before { background: url("../img/asanoha-light.svg") 0 0 / 48px 83.14px; opacity: .08; -webkit-mask-image: radial-gradient(ellipse 50% 60% at 0% 100%, #000, transparent); mask-image: radial-gradient(ellipse 50% 60% at 0% 100%, #000, transparent); }
.footer { position: relative; overflow: hidden; }
.footer::before { background: url("../img/seigaiha-dark.svg") 0 100% / 44px 22px; opacity: .05; -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }

/* Steam over warm dishes */
#panel-warm .dish { position: relative; }
#panel-warm .dish::before, #panel-warm .dish::after { content: ""; position: absolute; top: 18%; left: 42%; z-index: 1; width: 34px; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .5), transparent); filter: blur(6px); opacity: 0; pointer-events: none; animation: steam 3.2s ease-out infinite; }
#panel-warm .dish::after { left: 54%; animation-delay: 1.4s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(16px) scale(.8); } 30% { opacity: .55; } 100% { opacity: 0; transform: translateY(-36px) scale(1.3); } }

/* Mobile action bar */
.actionbar { display: none; }

/* Scroll reveal: only hidden when JS runs, so content is never lost */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .clip-reveal { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1000ms var(--ease-in-out); }
.js .clip-reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* Legal pages */
.legal { padding: calc(var(--header) + 56px) 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.legal p, .legal li { color: var(--ink-soft); overflow-wrap: anywhere; }
.legal ul { list-style: disc; padding-left: 1.2rem; margin-bottom: 1em; }
.legal a { color: var(--pink); }
.legal .header .logo { font-size: 1.8rem; }

@media (max-width: 900px) {
  :root { --header: 60px; }
  .burger { display: block; }
  .burger, .header .logo { z-index: calc(var(--z-nav) + 1); }
  .nav { position: fixed; inset: 0; z-index: var(--z-nav); flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem; padding: calc(var(--header) + 24px) 28px calc(32px + var(--safe-b)); background: rgba(18, 18, 18, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 200ms; }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity 250ms var(--ease-out); }
  .nav__list { flex-direction: column; gap: .2rem; }
  .nav__list a { font: 400 2.6rem/1.15 var(--serif); letter-spacing: 0; text-transform: none; padding: .35rem 0; }
  .nav__list a::after { display: none; }
  .nav__list li, .nav > .btn, .nav__meta { opacity: 0; transform: translateY(14px); transition: opacity 150ms ease, transform 150ms ease; }
  .nav.is-open .nav__list li, .nav.is-open > .btn, .nav.is-open .nav__meta { opacity: 1; transform: none; transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: 40ms; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: 80ms; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: 120ms; }
  .nav.is-open > .btn { transition-delay: 160ms; }
  .nav.is-open .nav__meta { transition-delay: 200ms; }
  .nav > .btn { min-height: 52px; padding-inline: 1.8rem; }
  .nav__meta { display: block; margin: 0; color: var(--ink-soft); font-size: .9rem; }
  .prices, .konzept__grid, .contact, .icecream { grid-template-columns: 1fr; }
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }

  .actionbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: var(--z-actionbar); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 4px; padding: 5px; border-radius: 22px; background: rgba(27, 27, 27, .88); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); transform: translateY(calc(100% + 24px + var(--safe-b))); transition: transform 400ms var(--ease-drawer); }
  .actionbar.is-visible { transform: none; }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: 17px; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); transition: transform 160ms var(--ease-out), background-color 200ms ease; }
  .actionbar a:active { transform: scale(.96); background: var(--bg-3); }
  .actionbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .actionbar .actionbar__primary { background: var(--pink); color: var(--paper-ink); }
  .actionbar .actionbar__primary svg { fill: currentColor; stroke: none; }
  .actionbar .actionbar__primary:active { background: #f3a4b4; }
  body.has-actionbar .footer { padding-bottom: calc(110px + var(--safe-b)); }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-bottom: 72px; align-items: end; }
  .hero__content { padding-bottom: 8px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { min-height: 52px; }
  .price { padding: 1.8rem 1.3rem 1.5rem; }
  .price dd { font-size: 1.9rem; }
  .dishes { gap: .75rem; }
  .plate { width: 76px; height: 76px; padding: 5px; }
  .hanko { gap: .8rem; justify-content: space-between; }
  .hanko dt { width: 4.9rem; font-size: 1.65rem; }
  .konzept__vertical { font-size: 3.6rem; opacity: .8; }
  .dish div { padding: .9rem .9rem 1.1rem; }
  .dish h3 { font-size: 1.3rem; }
  .dish p { font-size: .9rem; line-height: 1.5; }
  .dish span { font-size: .6rem; letter-spacing: .14em; }
  .icecream { padding: 12px 12px 24px; }
  .icecream > div { padding-inline: 8px; }
  .card { padding: 1.5rem 1.3rem; }
  .gift { margin-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .petals, .belt__track > :nth-child(n+21) { display: none; }
  .belt__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: 16px; }
  .hero__media img, .hero__title .line > span { animation: none; transform: none; }
  .hero__in { animation: fadeIn 300ms ease forwards; transform: none; }
  @keyframes fadeIn { to { opacity: 1; } }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .js .clip-reveal { clip-path: none; }
  .dishes:not([hidden]) .dish { animation: none; }
  .track__plates { animation: none; }
  .status.is-open::before { animation: none; }
  #panel-warm .dish::before, #panel-warm .dish::after { display: none; }
  .tabs__pill, .header, .actionbar { transition-duration: 0ms; }
}
