/* calmá — website styles
   Brand tokens mirror menu.calma-mannheim.de: Cormorant Garamond (logo, headlines),
   Hanken Grotesk (text, spaced caps), Caveat (handwritten notes). */

@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --cream: #f6efe7;
  --cream-deep: #efe6da;
  --card: #fbf8f0;
  --paper: #fffdf8;
  --ink: #3b2a1c;
  --ink-soft: #5c4a39;
  --muted: #75604e;
  --terra: #9d300f;
  --terra-dark: #7f260b;
  --terra-tint: #f3e3d7;
  --sage: #6e7e5c;
  --sage-dark: #5e6e4d;
  --sage-ink: #56653f;
  --forest: #4f5d40;
  --line: #e2d8c8;
  --matcha: #7ea258;
  --ube: #8f6ec0;
  --on-dark: #fbf6ee;

  --serif: "Cormorant", "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;

  --container: 78rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 18px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 24px 48px -28px rgba(59, 42, 28, .45);
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.matcha :focus-visible, .lightbox :focus-visible { outline-color: #fff8f0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem; top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: .75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------ type */
.eyebrow {
  font: 600 .72rem/1.3 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sage-ink);
  margin: 0 0 1.1rem;
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 1.5rem + 5.6vw, 6.25rem);
  line-height: .95;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
.display em, .section-title em { font-style: normal; color: var(--terra); }
.lead {
  font-size: clamp(1.06rem, 1rem + .3vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 33rem;
  margin: 1.6rem 0 0;
}
.hand { font-family: var(--hand); font-weight: 500; color: var(--terra); }
.muted { color: var(--muted); }

/* ------------------------------------------------------------ buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  padding: .8rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 .92rem/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--terra); color: #fff8f0; }
.btn-primary:hover { background: var(--terra-dark); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #2b1e13; }
.btn-ghost { border-color: rgba(59, 42, 28, .28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 2.5rem; padding: .55rem 1.1rem; font-size: .84rem; }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246, 239, 231, .88);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* a backdrop-filter would become the containing block of the fixed mobile panel */
.site-header.nav-open {
  background: var(--cream);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: .2rem;
  color: var(--terra);
  text-decoration: none;
}
.brand .sprig { width: 26px; color: var(--sage); margin-bottom: 1.05rem; }
.brand-word { font: 500 2.15rem/1 var(--serif); letter-spacing: .04em; }
.nav { display: none; }
.nav-list { display: flex; gap: clamp(1.25rem, 2vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative;
  display: block;
  padding: .5rem 0;
  font: 500 .93rem/1 var(--sans);
  color: var(--ink);
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .1rem;
  height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-cta { display: none; }
html:not(.js) .nav-toggle { display: none !important; }
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.burger { display: grid; gap: 5px; width: 18px; }
.burger span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 0 2.5rem;
}
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list a {
  display: block;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
  font: 500 2.3rem/1.15 var(--serif);
  color: var(--ink);
  text-decoration: none;
}
.mobile-nav-foot { display: grid; gap: .9rem; justify-items: start; margin-top: 2rem; color: var(--ink-soft); }
.mobile-nav-foot p { margin: 0; }
.mobile-nav-foot strong { color: var(--ink); font-weight: 600; }

@media (min-width: 64rem) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .mobile-nav { display: none !important; }
}

/* ------------------------------------------------------------ status chip */
.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 2rem 0 0;
  padding: .5rem .95rem .5rem .8rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font: 500 .86rem/1.25 var(--sans);
  color: var(--ink-soft);
}
.status-dot { flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--muted); }
.status.is-open .status-dot { background: #4f8a3c; animation: pulse 2.4s ease-out 4; }
.status.is-closed .status-dot { background: var(--terra); }
.status--small { margin: 0; padding: .35rem .75rem .35rem .65rem; font-size: .8rem; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 138, 60, .45); }
  70% { box-shadow: 0 0 0 .55rem rgba(79, 138, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 138, 60, 0); }
}

/* ------------------------------------------------------------ shared shapes */
.arch { overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); background: var(--cream-deep); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem)) 0 clamp(3.5rem, 6vw, 5.5rem);
}
.hero-grid { display: grid; gap: 3.25rem; align-items: center; }
.hero-copy .actions { margin-top: 2.25rem; }

.hero-visual {
  position: relative;
  width: min(100%, 31rem);
  margin-inline: auto;
  padding: 0 11% 13% 0;
}
.hero-arch { aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.hero-round {
  position: absolute;
  right: 0; bottom: 0;
  width: 43%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}
.hero-round img { width: 100%; height: 100%; object-fit: cover; }
.hero-note {
  position: absolute;
  left: 0; bottom: 1%;
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: .1rem;
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem);
  line-height: 1;
  transform: rotate(-5deg);
}
.hero-note-arrow { width: 2.8rem; height: 1.9rem; transform: translateY(-.9rem); }
/* round badge: the calmá logo sits still, the text ring around it turns */
.seal {
  position: absolute;
  top: 1%; left: -2%;
  width: clamp(8rem, 6rem + 5vw, 11rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #a66242; /* colour of the logo lettering */
  color: #fff8f0;
  box-shadow: var(--shadow);
}
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 30s linear infinite; }
.seal text { font: 600 7.6px var(--sans); letter-spacing: .06em; fill: currentColor; }
.seal-logo {
  position: relative;
  width: 76%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 248, 240, .35);
}
@keyframes spin { to { transform: rotate(360deg); } }

.rise { animation: rise 1s var(--ease) both; }
.rise:nth-child(2) { animation-delay: .08s; }
.rise:nth-child(3) { animation-delay: .16s; }
.rise:nth-child(4) { animation-delay: .24s; }
.rise:nth-child(5) { animation-delay: .32s; }
.hero-visual { animation: rise-soft 1.2s .15s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise-soft { from { opacity: .01; transform: translateY(30px) scale(.985); } to { opacity: 1; transform: none; } }

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(3rem, 5vw, 6rem);
    min-height: min(52rem, calc(100svh - var(--header-h) - 4rem));
  }
  .hero-visual { margin-right: 0; }
  .hero .display em { white-space: nowrap; }
  .seal { left: -13%; top: -2%; }
  .hero-note { left: -14%; }
}

/* ------------------------------------------------------------ marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.05rem 0;
  background: var(--cream-deep);
  border-block: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  padding-right: 1.75rem;
  animation: marquee 48s linear infinite;
}
.marquee span { font: 500 clamp(1.45rem, 1.2rem + .9vw, 2rem)/1 var(--serif); color: var(--ink); white-space: nowrap; }
.marquee i { font-style: normal; font-size: .85rem; color: var(--terra); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track,
html.motion-paused .marquee-track,
html.motion-paused .seal-ring { animation-play-state: paused; }
.motion-toggle {
  position: absolute;
  top: 50%; right: var(--gutter);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 .7rem var(--cream-deep);
  transform: translateY(-50%);
  cursor: pointer;
}
.motion-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.motion-toggle .icon-play, html.motion-paused .motion-toggle .icon-pause { display: none; }
html.motion-paused .motion-toggle .icon-play { display: block; }

/* ------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--split { display: grid; gap: 1.25rem; align-items: end; }
.section-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head--center .sprig { width: 44px; color: var(--sage); margin-bottom: .9rem; }
.section-intro { margin: 0; max-width: 30rem; font-size: 1.07rem; color: var(--ink-soft); }
.section-head--center .section-intro { margin-top: 1.1rem; }
@media (min-width: 64rem) {
  .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; }
  .section-head--split .section-intro { justify-self: end; }
}

/* ------------------------------------------------------------ intro */
.intro-grid { display: grid; gap: 3.5rem; align-items: center; }
.intro-media { position: relative; width: min(100%, 33rem); margin-inline: auto; padding: 0 17% 14% 0; }
.intro-arch { aspect-ratio: 4 / 5; }
.intro-small {
  position: absolute;
  right: 0; bottom: 0;
  width: 43%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}
.intro-small img { width: 100%; height: 100%; object-fit: cover; }
.prose p { margin: 1.25rem 0 0; max-width: 36rem; color: var(--ink-soft); }
.lead-in { font: 500 1.5em/1 var(--serif); font-style: normal; color: var(--terra); }
.facts {
  display: grid;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.facts li { display: grid; gap: .15rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.fact-title { font: 500 1.5rem/1.1 var(--serif); color: var(--ink); }
.fact-text { font-size: .92rem; color: var(--ink-soft); }
@media (min-width: 40rem) {
  .facts { grid-template-rows: auto auto; }
  .facts li { grid-row: span 2; grid-template-rows: subgrid; row-gap: .35rem; align-content: start; }
  .fact-title { align-self: end; text-wrap: balance; }
}
@media (min-width: 40rem) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .facts li { padding: 1.25rem 1.25rem 1.25rem 0; border-bottom: 0; }
  .facts li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
}
@media (min-width: 64rem) {
  .intro-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6.5rem); }
}

/* ------------------------------------------------------------ favourites */
.favourites { padding-top: 0; }
.bento {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 20rem);
  gap: 1rem;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-deep);
  scroll-snap-align: start;
}
.card-link { display: block; height: 100%; color: #fff8f0; text-decoration: none; }
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 25, 15, 0) 30%, rgba(38, 25, 15, .55) 58%, rgba(38, 25, 15, .9) 100%);
}
.card-link:hover img { transform: scale(1.045); }
.card-link:focus-visible { outline: none; }
.card:has(> .card-link:focus-visible) { outline: 2px solid var(--terra); outline-offset: 3px; }
.card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: .3rem;
  padding: 1.3rem;
}
.card-tag { font: 600 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 0 6px rgba(38, 25, 15, .9), 0 1px 2px rgba(38, 25, 15, .9); }
.card-title { font: 500 1.85rem/1.02 var(--serif); text-shadow: 0 1px 8px rgba(38, 25, 15, .6); }
.card--xl .card-title { font-size: clamp(2rem, 1.5rem + 1.8vw, 3.2rem); }
.card-desc { max-width: 26rem; font-size: .9rem; line-height: 1.45; opacity: .94; }
.card-price {
  margin-top: .45rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: #fff8f0;
  color: var(--ink);
  font: 600 .85rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 40rem) {
  .bento {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .card--xl { grid-column: span 2; aspect-ratio: 16 / 11; }
}
@media (min-width: 64rem) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(19rem, auto)); gap: 1.25rem; }
  .card { aspect-ratio: auto; }
  .card--xl { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .card:not(.card--xl) .card-desc { display: none; }
  .card:not(.card--xl) .card-title { font-size: 1.6rem; }
  .card:not(.card--xl) .card-link::after { background: linear-gradient(180deg, rgba(38, 25, 15, 0) 35%, rgba(38, 25, 15, .55) 62%, rgba(38, 25, 15, .9) 100%); }
}

/* ------------------------------------------------------------ menu */
.menu { background: var(--cream-deep); }
.menu-card {
  padding: clamp(1.1rem, .5rem + 2.4vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 40px 80px -60px rgba(59, 42, 28, .45);
}
.menu-tabs {
  display: flex;
  gap: .45rem;
  margin: -.3rem -.3rem 2rem;
  padding: .3rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.menu-tabs::-webkit-scrollbar { display: none; }
html:not(.js) .menu-tabs { display: none; }
.menu-tab {
  flex: none;
  padding: .78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  font: 500 .92rem/1 var(--sans);
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.menu-tab:hover { border-color: var(--sage); color: var(--ink); }
.menu-tab[aria-selected="true"] { background: var(--sage-dark); border-color: var(--sage-dark); color: #f8f5ec; }

.menu-panel { display: grid; gap: 2rem; }
.menu-panel:focus-visible { outline-offset: 8px; }
.menu-panel + .menu-panel { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
html.js .menu-panel + .menu-panel { margin-top: 0; padding-top: 0; border-top: 0; }
html.js .menu-panel:not([hidden]) { animation: fade .45s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-visual { display: none; margin: 0; }
.menu-visual-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
@media (min-width: 64rem) {
  .menu-panel { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2.5rem, 4vw, 4.5rem); align-items: start; }
  .menu-visual { display: block; position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.menu-head { margin-bottom: 1.6rem; }
.menu-cat { margin: 0; font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.8rem)/1 var(--serif); letter-spacing: .01em; }
.menu-sub { margin: .35rem 0 0; font: 500 1.35rem/1.2 var(--hand); color: var(--sage-ink); }

.dishes { list-style: none; margin: 0; padding: 0; }
.dish { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.dish:first-child { padding-top: 0; border-top: 0; }
.line { display: flex; align-items: baseline; gap: .6rem; }
.dish-name { flex: 0 1 auto; min-width: 0; margin: 0; font: 500 1.45rem/1.15 var(--serif); color: var(--ink); }
.leader {
  flex: 1 1 1.25rem;
  min-width: 1.25rem;
  align-self: flex-end;
  margin-bottom: .42em;
  border-bottom: 2px dotted rgba(59, 42, 28, .22);
}
.price { font: 600 1rem/1 var(--sans); color: var(--terra); font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge-vegan {
  align-self: center;
  padding: .3rem .5rem;
  border: 1px solid rgba(110, 126, 92, .55);
  border-radius: 999px;
  font: 600 .62rem/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-ink);
  white-space: nowrap;
}
.dish-desc { margin: .45rem 0 0; max-width: 44rem; font-size: .96rem; line-height: 1.55; color: var(--ink-soft); }
.dish-codes { margin: .35rem 0 0; font-size: .74rem; letter-spacing: .14em; color: var(--muted); }
.dish-codes abbr { text-decoration: none; cursor: help; }
@media (max-width: 24.99rem) {
  .menu-card { padding-inline: .9rem; }
  .dish-name { font-size: 1.3rem; }
  .line { gap: .45rem; }
}

.menu-extras { display: grid; gap: .9rem; margin-top: 1.9rem; }
.extra { padding: 1.1rem 1.2rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.extra-title, .group-title {
  margin: 0 0 .9rem;
  font: 600 .72rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-ink);
}
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .38rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .9rem; color: var(--ink-soft); }
.rows { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.row-name { color: var(--ink); }
.row .price { font-size: .95rem; }
.row-desc { margin: .2rem 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 40rem) {
  .menu-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extra--wide { grid-column: 1 / -1; }
  .rows--addons { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}

.menu-groups { display: grid; gap: 2.4rem; }
.dishes + .menu-groups { margin-top: 2.6rem; }
.group-title { display: flex; align-items: center; gap: .55rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.group--matcha .group-title::before,
.group--ube .group-title::before,
.group--fusion .group-title::before {
  content: "";
  width: .65rem; height: .65rem;
  border-radius: 50%;
  background: var(--matcha);
}
.group--ube .group-title::before { background: var(--ube); }
.group--fusion .group-title::before { background: linear-gradient(90deg, var(--matcha) 50%, var(--ube) 50%); }
.group-note { margin: .95rem 0 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
@media (min-width: 48rem) {
  .menu-groups--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}

.allergens { margin-top: 2.75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.allergens summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  font: 600 .74rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-ink);
  cursor: pointer;
  list-style: none;
}
.allergens summary::-webkit-details-marker { display: none; }
.allergens summary span { font-size: 1.35rem; font-weight: 400; transition: transform .3s var(--ease); }
.allergens[open] summary span { transform: rotate(45deg); }
.allergen-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: .5rem 1.5rem; margin: 1rem 0 0; }
.allergen-list div { display: flex; gap: .7rem; font-size: .92rem; color: var(--ink-soft); }
.allergen-list dt { min-width: 1rem; font-weight: 600; color: var(--terra); }
.allergen-list dd { margin: 0; }
.allergen-note { margin: 1rem 0 0; font-size: .86rem; color: var(--muted); }
.menu-foot { margin: 2rem 0 0; text-align: center; font-size: .96rem; color: var(--ink-soft); }
.menu-foot a { color: var(--terra); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.nobr { white-space: nowrap; }

/* ------------------------------------------------------------ matcha & ube */
.matcha { background: var(--forest); color: #e6e0d2; }
.matcha .eyebrow { color: #d3e0bb; }
.matcha .section-title { color: var(--on-dark); }
.matcha .section-title em { color: #dccaf4; }
.matcha p { color: #e6e0d2; }
.matcha-grid { display: grid; gap: 3.5rem; align-items: center; }
.matcha-media { position: relative; width: min(100%, 30rem); margin-inline: auto; padding: 0 13% 6%; }
.matcha-arch { aspect-ratio: 3 / 4; background: #3f4b33; }
.matcha-round { position: absolute; width: 31%; margin: 0; text-align: center; }
.matcha-round img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid var(--forest); }
.matcha-round figcaption {
  display: inline-block;
  margin-top: -.6rem;
  padding: .15rem .7rem .2rem;
  border-radius: 999px;
  background: var(--forest);
  font: 500 1.25rem/1.1 var(--hand);
  white-space: nowrap;
  position: relative;
}
.matcha-round--matcha { left: 0; bottom: 4%; }
.matcha-round--matcha figcaption { color: #d3e0bb; }
.matcha-round--ube { right: 0; top: 10%; }
.matcha-round--ube figcaption { color: #dccaf4; }
.matcha-text > p { max-width: 34rem; margin: 1.4rem 0 0; }
.flavours { display: grid; margin-top: 2rem; border-top: 1px solid rgba(251, 246, 238, .16); }
.flavour {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(251, 246, 238, .16);
}
.flavours .flavour-name { display: flex; align-items: center; gap: .55rem; margin: 0; font: 500 1.55rem/1 var(--serif); color: var(--on-dark); }
.flavour-name::before { content: ""; flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: #9fc27a; }
.flavour--ube .flavour-name::before { background: #b194dd; }
.flavour--fusion .flavour-name::before { background: linear-gradient(90deg, #9fc27a 50%, #b194dd 50%); }
.flavours .flavour-list { margin: 0; font-size: .96rem; }
.matcha .flavour-price { margin: 1.1rem 0 0; font-size: .95rem; }
.flavour-price strong { font: 500 1.7rem/1 var(--serif); color: var(--on-dark); }
.refresh {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(251, 246, 238, .16);
  border-radius: var(--radius);
  background: rgba(251, 246, 238, .06);
}
.refresh-img { flex: none; width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 50%; }
.matcha .refresh p { margin: 0; font-size: .96rem; }
.refresh strong { color: var(--on-dark); }
.refresh a { color: var(--on-dark); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 64rem) {
  .matcha-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6.5rem); }
}

/* ------------------------------------------------------------ gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(9.5rem, 30vw, 17rem);
  grid-auto-flow: dense;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g { overflow: hidden; border-radius: 14px; background: var(--cream-deep); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: inherit;
}
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g button:hover img { transform: scale(1.045); }
.g button:focus-visible { outline: none; }
.g:has(> button:focus-visible) { outline: 2px solid var(--terra); outline-offset: 3px; }
html:not(.js) .g button { cursor: default; }
@media (min-width: 64rem) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(13rem, 17vw, 16rem); gap: 1rem; }
}

.lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: transparent;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(28, 19, 11, .9); }
.lightbox-img { width: auto; height: auto; max-width: min(92vw, 1400px); max-height: 86dvh; border-radius: 10px; }
.lightbox-close, .lightbox-nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, .3);
  background: rgba(255, 248, 240, .12);
  color: #fff8f0;
  font: 400 1.9rem/1 var(--sans);
  cursor: pointer;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 248, 240, .24); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (max-width: 40rem) {
  .lightbox-nav { top: auto; bottom: 1.25rem; transform: none; }
  .lightbox-prev { left: calc(50% - 3.5rem); }
  .lightbox-next { right: calc(50% - 3.5rem); }
}

/* ------------------------------------------------------------ workshops */
.workshops { padding-top: 0; }
.ws-card { display: grid; overflow: hidden; border-radius: calc(var(--radius) + 8px); background: var(--terra-tint); }
.ws-media { position: relative; min-height: 17rem; }
.ws-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-body { padding: clamp(2rem, 1.25rem + 3.5vw, 4.5rem); }
.ws-soon { display: inline-block; margin: 0 0 .4rem; font-size: 2rem; line-height: 1; transform: rotate(-3deg); }
.ws-body p:not(.ws-soon) { max-width: 32rem; margin: 1.1rem 0 0; color: var(--ink-soft); }
@media (min-width: 64rem) {
  .ws-card { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .ws-media { min-height: 30rem; }
}

/* ------------------------------------------------------------ instagram */
.insta { padding-top: 0; }
.insta .section-title a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--terra), var(--terra)) no-repeat 0 92% / 0 2px;
  transition: background-size .5s var(--ease);
  overflow-wrap: anywhere;
}
.insta .section-title a:hover { background-size: 100% 2px; }
.section-intro a { color: var(--terra); font-weight: 600; text-underline-offset: 3px; }
.insta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.insta-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.insta-grid a:hover img { transform: scale(1.06); }
@media (min-width: 64rem) {
  .insta-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
}

/* ------------------------------------------------------------ visit */
.visit { background: var(--cream-deep); }
.visit-grid { display: grid; gap: 3.5rem; }
.visit-address { display: grid; gap: .35rem; margin-top: 1.6rem; font-style: normal; }
.visit-street { font: 500 1.75rem/1.2 var(--serif); color: var(--ink); }
.hours { margin-top: 2rem; padding: 1.25rem 1.1rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 .3rem .7rem; }
.hours-title { margin: 0; font: 600 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sage-ink); }
.hours-list { display: grid; margin: 0; }
.hours-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .45rem; border-radius: 8px; }
.hours-list dt { color: var(--ink); }
.hours-list dd { margin: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-list .is-closed dd { color: var(--terra); }
.hours-list .is-today { background: var(--cream); }
.hours-list .is-today dt, .hours-list .is-today dd { font-weight: 600; color: var(--ink); }
.hours-list .is-today dt::after {
  content: "heute";
  margin-left: .55rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: var(--sage-dark);
  color: #f8f5ec;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  vertical-align: .12em;
}
.contact { display: grid; gap: .6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.contact li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1rem; }
.contact-label { flex: none; width: 5rem; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact a { color: var(--ink); text-decoration-color: rgba(59, 42, 28, .3); text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact a:hover { text-decoration-color: var(--terra); }

.map-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease);
}
.map-card:hover { transform: translateY(-4px); }
.map-svg { width: 100%; height: auto; }
.map-bg { fill: #ebe1d3; }
.map-block { fill: var(--paper); stroke: var(--line); }
.map-block--far { fill: #f3ece2; }
.map-block--plaza { fill: #e5ebdb; stroke: #b9c6a6; stroke-dasharray: 5 4; }
.map-block--here { fill: var(--terra-tint); stroke: var(--terra); stroke-width: 1.5; }
.map-street { fill: #dfd2bf; }
.map-street-label { font: 600 9px var(--sans); letter-spacing: .32em; fill: var(--ink-soft); }
.map-label { font: 500 21px var(--serif); fill: #75604e; }
.map-sub { font: 600 8.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; fill: var(--sage-ink); }
.map-here { font: 700 12.5px var(--sans); letter-spacing: .14em; fill: var(--terra); }
.map-pin path { fill: var(--terra); }
.map-pin-dot { fill: #fff8f0; }
.map-pulse { fill: var(--terra); opacity: 0; transform-box: fill-box; transform-origin: center; animation: ping 2.8s var(--ease) 5; }
@keyframes ping { 0% { transform: scale(.35); opacity: .38; } 100% { transform: scale(2.1); opacity: 0; } }
.map-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-top: 1px solid var(--line); }
.map-brand { font: 500 1.9rem/1 var(--serif); color: var(--terra); }
.map-hint { font: 600 .88rem/1 var(--sans); }
.map-note { margin: .7rem 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
@media (min-width: 64rem) {
  .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
}

/* ------------------------------------------------------------ footer */
.site-footer { padding: clamp(3.5rem, 3rem + 3vw, 6rem) 0 1.5rem; background: var(--cream); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
.footer-col p:not(.eyebrow), .footer-col address { margin: 0 0 .55rem; font-style: normal; font-size: .96rem; line-height: 1.6; color: var(--ink-soft); }
.footer-col a { color: var(--ink); text-decoration-color: rgba(59, 42, 28, .3); text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-col a:hover { text-decoration-color: var(--terra); }
.footer-col .eyebrow { margin-bottom: .9rem; }
@media (max-width: 39.99rem) {
  .footer-col .eyebrow { font-size: .68rem; letter-spacing: .14em; }
}
.footer-links { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; font-size: .96rem; }
.link-arrow { font-size: .92rem; font-weight: 600; }
.footer-word {
  margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 1.25rem;
  font: 500 clamp(5.5rem, 1.5rem + 18vw, 17rem)/.8 var(--serif);
  letter-spacing: .02em;
  text-align: center;
  color: var(--terra);
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-motto { font-size: 1.55rem; line-height: 1; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--ink-soft); text-underline-offset: 3px; }
@media (min-width: 64rem) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ legal + 404 */
.page { padding: calc(var(--header-h) + clamp(2.5rem, 2rem + 3vw, 5rem)) 0 var(--section); }
.page .container { max-width: calc(46rem + 2 * var(--gutter)); }
.legal h1 { margin: 0 0 2rem; font: 500 clamp(2.6rem, 2rem + 3vw, 4.2rem)/1 var(--serif); }
.legal h2 { margin: 2.75rem 0 .75rem; font: 500 1.85rem/1.15 var(--serif); }
.legal h1, .legal h2 { overflow-wrap: break-word; hyphens: manual; }
.legal h3 { margin: 1.75rem 0 .5rem; font: 600 1.02rem/1.4 var(--sans); }
.legal p, .legal li, .legal address { color: var(--ink-soft); font-style: normal; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .35rem; }
.legal a { color: var(--terra); text-underline-offset: 3px; overflow-wrap: anywhere; }
mark.todo { padding: 0 .25em; border-radius: 3px; background: #ffe6a6; color: var(--ink); }
.not-found { text-align: center; }
.not-found .display { margin-top: .5rem; }
.not-found .actions { justify-content: center; }

/* ------------------------------------------------------------ reveal on scroll */
html.io .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.io .reveal.is-visible { opacity: 1; transform: none; }
@media print {
  html.io .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.io .reveal { opacity: 1; transform: none; }
  .map-pulse { animation: none; opacity: .15; transform: scale(1.6); }
  .motion-toggle { display: none; }
}
