/* ============================================================
   HANAMI JAPAN POINT — Augsburg — Design-Entwurf
   Japanisch inspiriert: Sumi-Tinte-Schwarz, Washi-Papier-Creme,
   Hanko-Siegel-Rot, Sakura-Rosa als Blüten-Akzent. Klare Linien,
   viel Weißraum, ruhige Typografie statt Ornament-Überladung.
   ============================================================ */
:root {
  --ink:         #1A1512;
  --ink-2:       #2B2320;
  --ink-3:       #6E6259;
  --paper:       #FAF6F0;
  --paper-2:     #F1E7D8;
  --line:        #E3D6C2;
  --red:         #B4272B;
  --red-dk:      #8C1D20;
  --sakura:      #EFA9BF;
  --sakura-dk:   #D983A0;
  --white:       #FFFFFF;

  --display: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --t-xs: .75rem; --t-sm: .875rem; --t-base: 1rem; --t-lg: 1.125rem;
  --t-xl: 1.375rem; --t-2xl: 1.75rem; --t-3xl: 2.5rem; --t-4xl: clamp(2.3rem, 6.2vw, 4.4rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px;
  --s8: 32px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  --r-sm: 2px; --r-md: 6px; --r-lg: 12px; --r-full: 999px;

  --sh-sm: 0 1px 2px rgba(26,21,18,.08), 0 2px 8px rgba(26,21,18,.06);
  --sh-md: 0 6px 20px rgba(26,21,18,.14);
  --sh-lg: 0 22px 55px rgba(26,21,18,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
  --bar-h: 76px;
}

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--t-base); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }
.wrap-narrow { width: min(760px, 92vw); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

.eyebrow { font-size: var(--t-xs); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--red); margin: 0 0 var(--s4); display: block; }
.eyebrow.center { text-align: center; }

/* ============================================================ Sakura-Blüte (Deko-SVG) */
.sakura { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; }

/* ============================================================ Buttons */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 15px 30px; border: 1px solid var(--bg); border-radius: var(--r-sm);
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 700; letter-spacing: .05em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); background: var(--red-dk); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sakura { --bg: var(--sakura); --fg: var(--ink); border-color: var(--sakura); }
.btn--sakura:hover { background: var(--sakura-dk); border-color: var(--sakura-dk); }

/* ============================================================ Header */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: calc(var(--bar-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.hdr__in { display: flex; align-items: center; gap: var(--s8); width: min(1200px, 92vw); margin-inline: auto; }
.hdr.is-stuck { background: rgba(250,246,240,.95); backdrop-filter: blur(14px) saturate(1.2); box-shadow: var(--sh-sm); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: #fff; line-height: 1.1; }
.logo .sakura { width: 26px; height: 26px; color: var(--sakura); }
.logo b { font-family: var(--display); font-size: 1.5rem; font-weight: 400; letter-spacing: .01em; }
.logo i { font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-left: 4px; }
.hdr.is-stuck .logo { color: var(--ink); }

.nav { display: flex; gap: var(--s8); align-items: center; }
.nav a { font-size: var(--t-sm); font-weight: 500; text-decoration: none; letter-spacing: .04em; position: relative; padding: 6px 0; color: inherit; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--red); transition: right .3s var(--ease); }
.nav a:hover::after { right: 0; }
.hdr:not(.is-stuck) .nav { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hdr.is-stuck .nav { color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; margin-left: var(--s2); border: 0; background: transparent; color: inherit; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 22px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================ Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(26,21,18,.90) 0%, rgba(26,21,18,.6) 45%, rgba(26,21,18,.18) 80%),
    linear-gradient(180deg, rgba(26,21,18,.46) 0%, rgba(26,21,18,.06) 28%, rgba(26,21,18,.5) 78%, rgba(26,21,18,.9) 100%);
}
.hero__in { padding: calc(var(--bar-h) + var(--s16)) 0 var(--s20); color: #fff; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 16px 7px 12px; font-size: .875rem; font-weight: 500; margin-bottom: var(--s6); }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FCF7A; flex: none; }
.hero__badge.is-closed .dot { background: var(--sakura); }
.hero h1 { font-size: var(--t-4xl); font-weight: 400; letter-spacing: -.01em; line-height: 1.08; margin: 0 0 var(--s6); text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 em { font-style: italic; color: var(--sakura); }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); max-width: 46ch; color: rgba(255,255,255,.86); margin-bottom: var(--s8); text-shadow: 0 1px 16px rgba(0,0,0,.4); font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ============================================================ Trust */
.trust { background: var(--ink); color: var(--paper); padding: var(--s6) 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); text-align: center; }
.trust__item b { display: block; font-family: var(--display); font-size: var(--t-lg); font-weight: 400; color: var(--sakura); margin-bottom: 2px; }
.trust__item span { font-size: var(--t-xs); letter-spacing: .04em; color: rgba(250,246,240,.72); }

/* ============================================================ Abschnitte */
.sec { padding: var(--s24) 0; position: relative; }
.sec--paper { background: var(--paper-2); }
.sec--dark { background: var(--ink); color: var(--paper); }
.sec__head { max-width: 62ch; margin-bottom: var(--s12); }
.sec__head.center { margin-inline: auto; text-align: center; }
.sec h2 { font-size: var(--t-3xl); margin-bottom: var(--s3); }
.sec__sub { color: var(--ink-3); font-size: var(--t-lg); margin: 0; font-weight: 300; }
.sec--dark .sec__sub { color: rgba(250,246,240,.7); }
.sec--dark .story p { color: rgba(250,246,240,.82); }
.sec--dark .story__quote { color: var(--paper); }

/* ============================================================ Story */
.story { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--s16); align-items: center; }
.story--rev { grid-template-columns: 1.05fr .95fr; }
.story--rev .story__img { order: 2; }
.story__img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.story__quote { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-style: italic; line-height: 1.4; color: var(--ink); margin: 0 0 var(--s6); }
.story p { color: var(--ink-2); font-weight: 300; }

/* ============================================================ Speisekarte */
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; margin-bottom: var(--s12); position: sticky; top: var(--bar-h); z-index: 40; padding: var(--s3) 0; background: linear-gradient(var(--paper) 62%, transparent); }
.chip { border: 1.5px solid var(--line); background: var(--white); color: var(--ink-2); border-radius: var(--r-full); padding: 10px 18px; cursor: pointer; font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--red); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.cat { margin-bottom: var(--s16); }
.cat__head { display: flex; align-items: baseline; gap: var(--s4); margin-bottom: var(--s2); }
.cat__head h3 { font-size: var(--t-2xl); white-space: nowrap; }
.cat__head::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.cat__note { color: var(--ink-3); font-size: var(--t-sm); font-style: italic; margin: 0 0 var(--s6); }

.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s3) var(--s8); }
.dish { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px dashed var(--line); }
.dish__name { font-family: var(--display); font-size: var(--t-lg); font-weight: 400; }
.dish__desc { font-size: var(--t-sm); color: var(--ink-3); margin: 4px 0 0; line-height: 1.5; }
.dish__allerg { font-size: .7rem; color: var(--ink-3); opacity: .7; vertical-align: super; }
.dish__price { font-family: var(--display); font-size: var(--t-lg); color: var(--red-dk); white-space: nowrap; font-variant-numeric: tabular-nums; flex: none; }

/* ============================================================ Foto-Galerie (Nachspeisen/Events) */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.gal figure { margin: 0; }
.gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.gal figcaption { font-size: var(--t-sm); color: var(--ink-3); margin-top: var(--s2); text-align: center; }

/* ============================================================ Catering-Kunden */
.clients { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
.client-pill { border: 1px solid var(--line); background: var(--white); border-radius: var(--r-full); padding: 10px 20px; font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }

/* ============================================================ Zusatzstoffe */
.footnote-box { max-width: 62ch; margin: var(--s12) auto 0; font-size: var(--t-xs); color: var(--ink-3); text-align: center; line-height: 1.7; }

/* ============================================================ Standort */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); }
.hours { list-style: none; padding: 0; margin: 0 0 var(--s8); }
.hours li { display: flex; justify-content: space-between; gap: var(--s4); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-base); }
.hours li.is-today { font-weight: 700; color: var(--ink); }
.hours span:first-child { color: var(--ink-3); }
.hours li.is-today span:first-child { color: var(--red); }
.hours b { font-weight: 500; text-align: right; }

.cinfo { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.cinfo li { display: flex; gap: var(--s3); align-items: flex-start; }
.cinfo svg { width: 19px; height: 19px; color: var(--red); flex: none; margin-top: 3px; }
.cinfo a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cinfo a:hover { border-color: var(--red); }
.cinfo small { display: block; color: var(--ink-3); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em; }

.map-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); position: relative; aspect-ratio: 4/3; background: var(--ink); display: grid; place-items: center; }
.map-card__cta { text-align: center; color: #fff; padding: var(--s8); }
.map-card__cta b { font-family: var(--display); font-size: var(--t-xl); display: block; margin-bottom: var(--s2); }

/* ============================================================ Pitch-Banner */
.pitch { position: fixed; inset: auto 0 0 0; z-index: 95; background: var(--ink); color: var(--paper); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: var(--s3); font-size: var(--t-xs); text-align: center; box-shadow: 0 -6px 24px rgba(26,21,18,.22); border-top: 1px solid rgba(250,246,240,.14); }
.pitch b { color: var(--sakura); }

/* ============================================================ Footer */
.ft { background: var(--ink); color: rgba(250,246,240,.6); padding: var(--s16) 0 calc(var(--s8) + 56px); font-size: var(--t-sm); }
.ft__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s12); margin-bottom: var(--s12); }
.ft h4 { color: var(--paper); font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 var(--s4); }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.ft a { text-decoration: none; }
.ft a:hover { color: var(--sakura); }
.ft__logo { font-family: var(--display); font-size: 1.6rem; color: var(--paper); font-weight: 400; margin-bottom: var(--s2); }
.ft__btm { border-top: 1px solid rgba(250,246,240,.12); padding-top: var(--s6); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; font-size: var(--t-xs); }

/* ============================================================ Einblenden */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; } }

/* ============================================================ Rechtstexte */
.legal-hdr { padding: var(--s6) 0; border-bottom: 1px solid var(--line); background: var(--ink); }
.legal-hdr .wrap { display: flex; align-items: center; justify-content: space-between; }
.legal-back { font-size: var(--t-sm); font-weight: 600; color: rgba(250,246,240,.7); text-decoration: none; }
.legal-back:hover { color: #fff; }
.legal { padding: var(--s16) 0 var(--s24); }
.legal h1 { font-size: var(--t-3xl); margin-bottom: var(--s8); }
.legal h2 { font-size: var(--t-xl); margin: var(--s12) 0 var(--s3); color: var(--ink-2); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--red-dk); text-decoration: underline; text-underline-offset: 2px; }
.legal .legal__note { font-size: var(--t-sm); font-style: italic; color: var(--ink-3); background: var(--paper-2); border-radius: var(--r-md); padding: var(--s4); margin-top: var(--s12); }

/* ============================================================ Responsiv */
@media (max-width: 980px) {
  :root { --s24: 68px; --s20: 56px; --s16: 44px; }
  .story, .story--rev { grid-template-columns: 1fr; gap: var(--s12); }
  .story--rev .story__img { order: 0; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s4); }
  .contact { grid-template-columns: 1fr; gap: var(--s12); }
  .ft__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .dishes { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
  .burger { display: flex; }
  #nav {
    position: fixed; inset: calc(var(--bar-h) + env(safe-area-inset-top)) 0 auto 0; z-index: 89;
    flex-direction: column; gap: 0; margin: 0;
    padding: var(--s2) var(--s6) calc(var(--s6) + env(safe-area-inset-bottom));
    background: rgba(250,246,240,.98); backdrop-filter: blur(16px);
    box-shadow: var(--sh-lg); border-top: 1px solid var(--line);
    color: var(--ink);
    transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .25s var(--ease), opacity .2s var(--ease), visibility 0s linear .25s;
  }
  #nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .25s var(--ease), opacity .2s var(--ease), visibility 0s; }
  #nav a { font-size: var(--t-lg); padding: 15px 2px; border-bottom: 1px solid var(--line); }
  #nav a::after { display: none; }
}
@media (max-width: 640px) {
  :root { --t-3xl: 1.9rem; --bar-h: 66px; }
  body { padding-bottom: 54px; }
  .logo i { display: none; }
  .logo b { font-size: 1.15rem; }
  .hdr__in > .btn { padding: 12px 16px; font-size: 11px; }
  .hero { min-height: 92svh; }
  .hero__cta .btn { flex: 1; }
  .ft__grid { grid-template-columns: 1fr; gap: var(--s8); }
  .cinfo a, .ft ul a { display: inline-block; padding: 8px 0; }
  .pitch { font-size: 11px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .filters { gap: 6px; }
  .chip { padding: 8px 14px; font-size: var(--t-xs); }
  .gal { grid-template-columns: repeat(2, 1fr); }
}
