@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@700;800&family=Caveat:wght@500;600&family=IBM+Plex+Mono:wght@400;500;700&display=swap');

:root {
  --paper: #f5f6ef;
  --paper-alt: #eaede0;
  --ink: #1f4d3a;
  --ink-soft: #52705f;
  --hairline: rgba(31, 77, 58, 0.24);
  --font-display: "M PLUS 1", "Arial Black", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --nav-h: 68px;
  --max-width: 1040px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(-8deg, transparent 0 34px, rgba(31, 77, 58, 0.045) 34px 35px);
  color: var(--ink);
  font-family: var(--font-mono);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5.4vw, 3.1rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 2.9vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.375rem; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--ink); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---- Nav: seal-mark + inked link row ---- */

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: var(--nav-h);
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.brand-mini {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); }

.chop-row {
  display: flex;
  flex-wrap: wrap;
}

.chop-row a {
  position: relative;
  padding: 8px 11px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-left: 1px solid var(--hairline);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.chop-row a:first-child { border-left: none; }
.chop-row a:active { transform: scale(0.96); }

@media (hover: hover) and (pointer: fine) {
  .chop-row a:hover { background: var(--ink); color: var(--paper); }
}

.chop-row a.is-current::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  margin-right: 7px;
  vertical-align: middle;
}
@media (hover: hover) and (pointer: fine) {
  .chop-row a.is-current:hover::before { background: var(--paper); }
}

.lang-switch { display: flex; gap: 6px; }

.lang-switch button {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: var(--ink);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .lang-switch button:hover { background: var(--ink); color: var(--paper); }
}
.lang-switch button.is-active { background: var(--ink); color: var(--paper); }
.lang-switch button:active { transform: scale(0.96); }

/* ---- Hero seal ---- */

.hero {
  padding: 60px 0 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.seal {
  flex: 0 0 auto;
  width: clamp(190px, 26vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  background: var(--paper);
  transform: rotate(-2deg);
}

.seal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.seal .bowl-mark { width: 38%; height: auto; margin-bottom: 8px; }
.seal .bowl-mark path, .seal .bowl-mark line, .seal .bowl-mark ellipse, .seal .bowl-mark circle, .seal .bowl-mark rect { stroke: var(--ink); }

.seal .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin: 0 0 3px;
}

.seal .tagline {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 9px;
}

.seal .hand-address {
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

@media (prefers-reduced-motion: no-preference) {
  .seal {
    animation: stampPress 520ms var(--ease-out) both;
  }
}

@keyframes stampPress {
  0% { opacity: 0; transform: scale(1.16) rotate(6deg); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(-2deg); }
}

.brandmark {
  flex: 0 0 auto;
  width: clamp(220px, 30vw, 340px);
  text-align: center;
}
.brandmark img { width: 100%; height: auto; display: block; }
.brandmark .hand-address { margin-top: 12px; font-size: 1.05rem; }

@media (prefers-reduced-motion: no-preference) {
  .brandmark { animation: brandIn 480ms var(--ease-out) both; }
}
@keyframes brandIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-copy { flex: 1 1 320px; min-width: 260px; }

.stampmark {
  display: inline-block;
  border: 2px solid var(--ink);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: rotate(3deg);
  position: relative;
  margin-bottom: 16px;
}
.stampmark::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--ink);
  opacity: 0.32;
  transform: rotate(-1.5deg);
  pointer-events: none;
}

.lede { font-size: 1.02rem; color: var(--ink-soft); max-width: 56ch; }

/* ---- Doc modal (PDF view + share) ---- */

.doc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: none;
  border: 1.5px solid var(--ink);
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .doc-trigger:hover { background: var(--ink); color: var(--paper); }
}
.doc-trigger:active { transform: scale(0.97); }

.doc-modal[hidden] { display: none; }
.doc-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(31, 77, 58, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.doc-modal-inner {
  background: var(--paper);
  border: 2px solid var(--ink);
  width: min(720px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 44px 20px 20px;
}

.doc-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.doc-modal-close:active { transform: scale(0.94); }

.doc-modal-frame {
  width: 100%;
  height: min(65vh, 600px);
  border: 1px solid var(--hairline);
  background: var(--paper-alt);
}

.doc-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.btn {
  display: inline-block;
  padding: 13px 22px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  border: 2px solid var(--ink);
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--paper); color: var(--ink); }
  .btn-secondary:hover { background: var(--ink); color: var(--paper); }
}

.btn-tertiary { border-color: transparent; text-decoration: underline; padding: 13px 4px; }

/* ---- Sections ---- */

.section { padding: 52px 0 48px; }

.section:not(:first-of-type) {
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 100% 1px, 100% 1px;
  background-position: top 0 left 0, top 5px left 0;
  background-repeat: no-repeat;
}

/* ---- Impression grid (menu / category badges) ---- */

.impression-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 26px;
  margin-top: 10px;
}

.impression {
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
}
.impression:nth-child(3n+1) { transform: rotate(-2deg); }
.impression:nth-child(3n+2) { transform: rotate(1.6deg); }
.impression:nth-child(3n+3) { transform: rotate(-1deg); }

.impression h3 { margin: 0 0 6px; }
.impression .placeholder-note { border: none; padding: 0; font-size: 0.72rem; }

/* ---- Dish grid (menu items with real photos) ---- */

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.dish {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .dish:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(31, 77, 58, 0.2);
  }
}

.dish-photo {
  aspect-ratio: 1;
  background: var(--paper-alt);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.dish-photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }

.price-stamp {
  display: inline-block;
  position: relative;
  margin-top: 10px;
  border: 1.5px solid var(--ink);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
  opacity: 1;
  transition: opacity 220ms var(--ease-out);
}
.price-stamp::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--ink);
  opacity: 0.32;
  transform: rotate(2deg);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .price-stamp { opacity: 0; }
  .dish:hover .price-stamp { opacity: 1; }
}

.dish-body { padding: 16px 18px 20px; }
.dish-body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.dish-body p { margin: 0; font-size: 0.85rem; color: var(--ink-soft); max-width: none; }

/* ---- Plate grid (gallery placeholders with registration marks) ---- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: 32px;
}

.gallery-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.gallery-caption {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-caption { opacity: 0; transform: translateY(-4px); }
  .gallery-tile:hover img {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(31, 77, 58, 0.2);
  }
  .gallery-tile:hover .gallery-caption { opacity: 1; transform: translateY(0); }
}

.reg { position: absolute; width: 12px; height: 12px; opacity: 0.5; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--ink); }
.reg::before { width: 100%; height: 1px; top: 50%; left: 0; }
.reg::after { width: 1px; height: 100%; left: 50%; top: 0; }
.reg-tl { top: 8px; left: 8px; }
.reg-br { bottom: 8px; right: 8px; }

/* ---- Split panels (order & reserve) ---- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 26px; }
.split-panel { padding: 30px; border: 1.5px solid var(--ink); }
.split-panel + .split-panel { border-left: none; }
@media (max-width: 700px) {
  .split { grid-template-columns: 1fr; }
  .split-panel { padding: 22px 20px; }
  .split-panel + .split-panel { border-left: 1.5px solid var(--ink); border-top: none; margin-top: -1.5px; }
}

.contact-subhead {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--hairline);
  font-size: 1.05rem;
}

.address-line {
  font-size: 1rem;
  margin-top: 6px;
}
.address-line strong {
  font-weight: 800;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1.5px solid var(--ink);
  margin-top: 24px;
  filter: grayscale(0.4) sepia(0.35) hue-rotate(72deg) saturate(1.7) brightness(0.97) contrast(1.05);
}

.placeholder-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  border: 1.5px dashed var(--ink);
  padding: 9px 13px;
  display: inline-block;
  font-family: var(--font-mono);
}

/* ---- Drink list ---- */

.drink-subhead {
  margin-top: 32px;
  font-size: 1.05rem;
}
.drink-subhead:first-of-type { margin-top: 0; }

.drink-list {
  display: flex;
  flex-direction: column;
}

.drink-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--hairline);
}
.drink-row:last-child { border-bottom: none; }

.drink-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  flex: 1 1 220px;
}

.drink-note {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
  font-family: var(--font-mono);
  max-width: 56ch;
}

.drink-price {
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---- Next-step CTA ---- */

.next-step {
  margin-top: 48px;
  padding: 22px 26px;
  border: 2px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.next-step-text {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}

.next-step-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.next-step-link::after {
  content: "→";
  display: inline-block;
  transition: transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .next-step-link:hover::after { transform: translateX(4px); }
}
.next-step-link:active { transform: scale(0.97); }

/* ---- Footer ---- */

.site-footer {
  border-top: 2px solid var(--ink);
  padding: 24px 0;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand-share {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  transition: transform 120ms var(--ease-out), opacity 160ms var(--ease-out);
}
.footer-brand-share:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .footer-brand-share:hover { opacity: 0.7; }
}
.footer-address { font-family: var(--font-mono); font-size: 0.85rem; margin: 0 0 2px; }
.footer-inner a { color: var(--ink); }
.footer-nav { display: flex; gap: 16px; align-self: flex-end; }
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover { border-color: var(--ink); }
}

.legal-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-top: 1.5px dashed var(--ink);
  padding-top: 14px;
  margin-top: 8px;
}

/* ---- Portrait figure (floated within prose) ---- */

.portrait {
  float: right;
  width: clamp(240px, 32vw, 420px);
  margin: 4px 0 24px 32px;
}
.portrait img { width: 100%; height: auto; display: block; }
.portrait figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  padding-top: 8px;
  text-align: right;
}
@media (max-width: 640px) {
  .portrait { float: none; width: 100%; max-width: none; margin: 20px 0; }
  .portrait figcaption { display: none; }
  .about-body { display: flex; flex-direction: column; }
  .about-body p:nth-of-type(1) { order: 1; }
  .about-body p:nth-of-type(2) { order: 2; }
  .about-body .portrait { order: 3; }
  .about-body p:nth-of-type(n+3) { order: 4; }
}

@media (max-width: 760px) {
  .hero { flex-direction: column; align-items: center; text-align: center; }
  .hero-copy { text-align: left; }
}

/* Nav collapses to hamburger earlier than the rest of the mobile layout:
   the six chop-row links plus DE/EN/中文 need ~980px once German labels
   like "Bestellen & Reservieren" are in play, more than nav's own
   max-width leaves room for even at the 1040px content width. */
@media (max-width: 1020px) {
  .nav { row-gap: 0; column-gap: 12px; }
  .brand-mini { order: 1; }
  .nav-toggle { display: flex; order: 2; }
  .lang-switch { order: 3; }

  .chop-row {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms var(--ease-out);
  }
  .chop-row.open { max-height: 480px; margin-top: 10px; }
  .chop-row a {
    border-left: none;
    border-top: 1px solid var(--hairline);
    padding: 12px 4px;
  }
  .chop-row a:first-child { border-top: 1px solid var(--hairline); }
}

@media (max-width: 480px) {
  .nav { column-gap: 10px; }
  .brand-mini { font-size: 0.92rem; }
  .lang-switch button { padding: 5px 8px; font-size: 0.66rem; }
  .chop-row a { font-size: 0.72rem; padding: 10px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .seal, .brandmark { animation: none !important; transform: none; opacity: 1; }
  .btn, .lang-switch button, .chop-row, .chop-row a, .gallery-tile img, .gallery-caption, .dish, .price-stamp, .footer-brand-share { transition-duration: 1ms !important; }
  .btn:active, .lang-switch button:active, .chop-row a:active, .footer-brand-share:active { transform: none !important; }
  .gallery-tile:hover img { transform: none !important; box-shadow: none !important; }
  .gallery-tile:hover .gallery-caption { transform: none !important; }
  .dish:hover { transform: none !important; box-shadow: none !important; }
}
