/* ═══════════════════════════════════════════════════════════════
   Akiko's Sushi in Herisau — Contemporary Japanese-minimal design
   Palette: rice paper / sumi ink / vermillion / gold / matcha
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper: #FAF6F0;
  --paper-2: #F3EDE2;
  --ink: #23201C;
  --ink-2: #4A443C;
  --muted: #857C6E;
  --vermillion: #C7402D;
  --vermillion-dark: #A93322;
  --gold: #B08948;
  --matcha: #76855B;
  --line: #E8DFD0;
  --card: #FFFFFF;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 10px rgba(35, 32, 28, .05), 0 12px 32px rgba(35, 32, 28, .07);
  --shadow-lg: 0 8px 24px rgba(35, 32, 28, .12), 0 24px 64px rgba(35, 32, 28, .16);
  --font-body: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Noto Serif JP", "Times New Roman", serif;
  --header-h: 74px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

h1, h2, h3, .brand-name { font-family: var(--font-display); line-height: 1.25; }

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 1.4rem;
}

.jp { color: var(--vermillion); font-weight: 400; }
.jp-big { font-family: var(--font-display); font-size: 3rem; color: var(--gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--vermillion);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--vermillion); border-radius: 2px; }

.muted { color: var(--muted); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 .95rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--vermillion);
  color: #fff;
  box-shadow: 0 6px 18px rgba(199, 64, 45, .35);
}
.btn-primary:hover { background: var(--vermillion-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178f47; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.icon-btn {
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.icon-btn:hover { background: var(--line); }

/* ── Announcement bar ────────────────────────────────────────── */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--vermillion);
  color: #fff;
  text-align: center;
  padding: .55rem 2.6rem;
  font-size: .88rem;
  font-weight: 500;
  position: relative;
}
.announce-close {
  position: absolute;
  right: .7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: .85;
}
.announce-close:hover { opacity: 1; }

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 240, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  width: 52px; height: 36px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(35,32,28,.08);
}
.brand-name { font-size: 1.18rem; font-weight: 700; letter-spacing: .01em; }
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--vermillion);
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: .3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--vermillion);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.cart-btn {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: box-shadow .18s ease, transform .18s ease;
}
.cart-btn:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
/* Fällt auf, sobald Artikel im Warenkorb liegen */
.cart-btn.has-items {
  background: var(--vermillion);
  border-color: var(--vermillion);
  color: #fff;
  box-shadow: 0 4px 14px rgba(199, 64, 45, .4);
}
.cart-btn.has-items:hover { background: var(--vermillion-dark); }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 21px; height: 21px;
  padding: 0 5px;
  background: var(--vermillion);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  animation: pop .3s ease;
}
@keyframes pop { 50% { transform: scale(1.35); } }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(199, 64, 45, .06), transparent 42%),
    radial-gradient(circle at 4% 90%, rgba(176, 137, 72, .09), transparent 46%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 1.2rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--vermillion);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .32em;
  background: rgba(199, 64, 45, .14);
  border-radius: 4px;
  z-index: -1;
}
.hero .lead {
  font-size: 1.06rem;
  color: var(--ink-2);
  max-width: 54ch;
  margin-bottom: 1.8rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .42rem .95rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-media { position: relative; }
.hero-media > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .65rem 1rem .65rem .65rem;
  box-shadow: var(--shadow);
  font-size: .8rem;
  line-height: 1.35;
}

figure.hero-media {
    max-height: 600px;
}

.hero-badge img {
    height: initial;
    object-fit: contain;
    width: 50%;
}

figcaption.hero-badge {
    width: 350px;
    left: -30px;
    bottom: 15px;
}

/* ── Steps ───────────────────────────────────────────────────── */
.steps { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: var(--paper); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  list-style: none;
}
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
}
.step-num {
  position: absolute;
  top: -14px; left: 1.3rem;
  width: 34px; height: 34px;
  background: var(--vermillion);
  color: #fff;
  font: 700 1rem var(--font-display);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(199, 64, 45, .4);
}
.step-card h3 { font-size: 1.12rem; margin: .8rem 0 .45rem; }
.step-card p { font-size: .92rem; color: var(--ink-2); }
.steps-note { margin-top: 1.1rem; font-size: .82rem; color: var(--muted); }

/* ── Menu ────────────────────────────────────────────────────── */
.menu { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.menu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
}
.menu-month {
  font-size: .92rem;
  color: var(--ink-2);
  background: #fff;
  border: 1px dashed var(--gold);
  border-radius: 999px;
  padding: .4rem 1rem;
}
.menu-tabs {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .4rem 2px 1rem;
  margin-bottom: .6rem;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font: 600 .88rem var(--font-body);
  cursor: pointer;
  transition: all .18s ease;
}

div#menuTabs {
    overflow: visible;
    display: block;
}

.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.3rem;
  min-height: 300px;
}

.item-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
  animation: fadeUp .35s ease both;
}
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.item-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.item-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.item-card:hover .item-media img { transform: scale(1.05); }
.item-code {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(35, 32, 28, .82);
  color: var(--paper);
  font: 700 .74rem var(--font-body);
  letter-spacing: .08em;
  border-radius: 8px;
  padding: .22rem .55rem;
  backdrop-filter: blur(4px);
}
.soldout-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--vermillion);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 8px;
  padding: .24rem .6rem;
}
.item-card.is-soldout .item-media img { filter: grayscale(1); opacity: .55; }

.item-body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.05rem 1.15rem 1.15rem;
  flex: 1;
}
.item-name { font-size: 1.05rem; font-weight: 700; }
.item-desc { font-size: .85rem; color: var(--muted); flex: 1; }
.item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-top: .3rem;
}
.price {
  font: 700 1.08rem var(--font-display);
  color: var(--ink);
  white-space: nowrap;
}

.add-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--vermillion);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(199, 64, 45, .35);
  transition: transform .15s ease, background .15s ease;
}
.add-btn:hover { background: var(--vermillion-dark); transform: scale(1.08); }
.add-btn:active { transform: scale(.92); }
.add-btn[disabled] { background: var(--line); color: var(--muted); box-shadow: none; cursor: not-allowed; }

.qty-in-cart {
  font-size: .78rem;
  font-weight: 700;
  color: var(--vermillion);
  background: rgba(199, 64, 45, .08);
  border-radius: 999px;
  padding: .14rem .6rem;
}

/* Box-A Optionen */
.box-options {
  display: none;
  border-top: 1px dashed var(--line);
  margin-top: .55rem;
  padding-top: .75rem;
  flex-direction: column;
  gap: .6rem;
}
.item-card.is-open .box-options { display: flex; }
.box-options label { font-size: .8rem; font-weight: 600; color: var(--ink-2); display: block; }
.box-options select {
  width: 100%;
  margin-top: .25rem;
  padding: .5rem .6rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font: 500 .86rem var(--font-body);
  color: var(--ink);
}
.box-code {
  font-size: .78rem;
  color: var(--gold);
  font-weight: 700;
}
.box-toggle {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--vermillion);
  font: 700 .86rem var(--font-body);
  cursor: pointer;
  padding: 0;
  border-bottom: 1.5px dashed var(--vermillion);
}
.box-toggle:hover { color: var(--vermillion-dark); }

/* PC Platte Sonderkarte */
.item-card.is-info { background: linear-gradient(150deg, #2B2723, #1E1B18); border-color: #2B2723; color: var(--paper); }
.item-card.is-info .item-name { color: var(--paper); }
.item-card.is-info .item-desc { color: #B7AE9F; }
.item-card.is-info .price { color: var(--gold); }
.pc-cta { margin-top: .5rem; }

.menu-hint { margin-top: 1.4rem; font-size: .84rem; color: var(--muted); }

/* ── Besondere Bestellung / Gyoza (dunkle Sektion) ───────────── */
.special { background: var(--ink); color: var(--paper); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.special-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: stretch; }
.special-card {
  background: linear-gradient(150deg, #322D27, #26221D);
  border: 1px solid #3E3831;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}
.special-img { width: 100%; height: 100%; object-fit: cover; }
.special-body { padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.special-body h3 { font-size: 1.35rem; color: var(--paper); }
.special-body p { font-size: .92rem; color: #C9C0B2; }
.special-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; padding-top: .6rem; }

.gyoza-card {
  background: linear-gradient(150deg, #322D27, #26221D);
  border: 1px solid #3E3831;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.gyoza-card summary {
  cursor: pointer;
  font: 700 1.15rem var(--font-display);
  color: var(--paper);
  list-style: none;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.gyoza-card summary::-webkit-details-marker { display: none; }
.gyoza-card summary small { color: #9A9184; font: 500 .78rem var(--font-body); margin-left: auto; }
.gyoza-body { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; margin-top: 1.2rem; align-items: start; }
.gyoza-body img { border-radius: 12px; }
.gyoza-steps { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; color: #C9C0B2; }
.gyoza-steps li::marker { color: var(--gold); font-weight: 700; }

/* ── Info / Kontakt ──────────────────────────────────────────── */
.info { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.info-card h3 { font-size: 1.18rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-2);
  padding: .42rem .6rem .42rem 0;
  border-bottom: 1px dashed var(--line);
  white-space: nowrap;
}
.hours td { padding: .42rem 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.hours th:last-child, .hours td:last-child { text-align: right; }
.hours-note { font-size: .8rem; color: var(--muted); }
.info-card .btn { align-self: flex-start; margin-top: .2rem; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(199,64,45,.35); }
.contact-list a:hover { color: var(--vermillion); }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; }
.contact-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--vermillion);
  flex: 0 0 auto;
  margin-top: 2px;
}

/* ── About ───────────────────────────────────────────────────── */
.about { background: var(--paper-2); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / .96;
  object-fit: cover;
}
.about-text p { margin-bottom: 1rem; color: var(--ink-2); max-width: 56ch; }
.about-text .btn { margin-top: .4rem; }

/* ── News ────────────────────────────────────────────────────── */
.news { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.news-highlight { border-top: 4px solid var(--vermillion); }
.news-date {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.news-card h3 { font-size: 1.15rem; }
.news-card p { font-size: .9rem; color: var(--ink-2); }
.news-card a { color: var(--vermillion); }
.news-meta { font-size: .8rem !important; color: var(--muted) !important; }

/* ── Empfehlungen ────────────────────────────────────────────── */
.recommend { background: var(--paper-2); padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.recommend-lead { max-width: 72ch; color: var(--ink-2); margin-bottom: 1.6rem; }
.recommend-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  align-items: center;
}
.recommend-card img { border-radius: 14px; object-fit: cover; height: 240px; }
.recommend-card h3 { margin-bottom: .5rem; }
.recommend-card p { font-size: .92rem; color: var(--ink-2); margin-bottom: 1rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #C9C0B2; padding: 3rem 0 1.4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #3E3831;
}
.footer-logo { width: 120px; background: #fff; border-radius: 12px; padding: 6px; }
.footer-tag { margin-top: .8rem; font-family: var(--font-display); font-size: .95rem; }
.footer h4 { color: var(--paper); font-family: var(--font-body); font-size: .95rem; margin-bottom: .7rem; }
.footer a { color: #C9C0B2; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-bottom { padding-top: 1.2rem; font-size: .8rem; color: #857C6E; }

/* ── WhatsApp Floating-Button ─────────────────────────────────── */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #1FA855;
  color: #fff;
  border-radius: 999px;
  padding: .8rem 1.1rem;
  text-decoration: none;
  font: 700 .9rem var(--font-body);
  box-shadow: 0 8px 24px rgba(31, 168, 85, .45);
  transition: background .18s ease, transform .18s ease;
}
.wa-float:hover { background: #178f47; transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float-label { white-space: nowrap; }

/* ── Warenkorb-Leiste (erscheint, sobald etwas im Warenkorb liegt) ── */
.cart-bar {
  position: fixed;
  left: 20px;
  right: auto;
  bottom: 20px;
  width: min(440px, calc(100vw - 320px));
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: .95rem 1.4rem;
  font: 700 .95rem var(--font-body);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  animation: fadeUp .3s ease;
}
.cart-bar-info { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.cart-bar-info svg { flex: none; }
#cartBarLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-bar-cta {
  flex: none;
  color: #fff;
  background: var(--vermillion);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .85rem;
  animation: ctaPulse 1.8s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

/* ── Warenkorb Drawer ────────────────────────────────────────── */
.drawer-backdrop, .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 24, .55);
  backdrop-filter: blur(3px);
  z-index: 80;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 100vw);
  background: var(--paper);
  z-index: 90;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideIn .28s cubic-bezier(.2, .8, .25, 1);
}
@keyframes slideIn { from { transform: translateX(100%); } }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.3rem; }

.drawer-items { flex: 1; overflow-y: auto; padding: 1.1rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  color: var(--muted);
  padding: 2rem;
  text-align: center;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: .8rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .6rem;
}
.cart-line img { width: 64px; height: 52px; object-fit: cover; border-radius: 9px; }
.cart-line-name { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.cart-line-detail { font-size: .74rem; color: var(--muted); }
.cart-line-price { font-size: .85rem; font-weight: 700; color: var(--ink-2); }

.line-controls { display: flex; align-items: center; gap: .5rem; }
.line-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .15s ease;
}
.line-btn:hover { border-color: var(--vermillion); color: var(--vermillion); }
.line-qty { min-width: 20px; text-align: center; font-weight: 700; font-size: .92rem; }
.line-remove {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 2px;
}
.line-remove:hover { color: var(--vermillion); }

.drawer-foot { border-top: 1px solid var(--line); padding: 1.1rem 1.4rem 1.3rem; background: #fff; }
.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .5rem;
}
.drawer-total strong { font: 700 1.35rem var(--font-display); }
.drawer-note { font-size: .78rem; color: var(--muted); margin-bottom: .9rem; }

/* ── Kasse Modal ─────────────────────────────────────────────── */
.modal-backdrop {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow-y: auto;
}
.modal {
  width: min(640px, 100%);
  max-height: 94vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  animation: riseUp .3s cubic-bezier(.2, .8, .25, 1);
}
@keyframes riseUp { from { transform: translateY(60px); opacity: .4; } }

.modal-head {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 240, .95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem .9rem;
  z-index: 2;
}
.modal-head h2 { font-size: 1.45rem; }
.modal form { padding: 0 1.6rem 1.6rem; }

.order-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.3rem;
  font-size: .9rem;
}
.order-summary ul { list-style: none; display: flex; flex-direction: column; gap: .3rem; margin-bottom: .6rem; }
.order-summary li { display: flex; justify-content: space-between; gap: 1rem; }
.order-summary .sum-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: .55rem;
  font-weight: 700;
  font-size: 1rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 500 .95rem var(--font-body);
  padding: .78rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--vermillion);
  box-shadow: 0 0 0 3px rgba(199, 64, 45, .12);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--vermillion); background: rgba(199,64,45,.04); }
.field-hint { color: var(--gold); font-size: .74rem; font-weight: 600; }
.field-hint.warn { color: var(--vermillion); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.fineprint { font-size: .78rem; color: var(--muted); margin: 1.1rem 0 .9rem; }
.form-error {
  background: rgba(199, 64, 45, .08);
  border: 1px solid rgba(199, 64, 45, .35);
  color: var(--vermillion-dark);
  border-radius: 10px;
  padding: .7rem .9rem;
  font-size: .85rem;
  margin-bottom: .9rem;
}

.checkout-success { padding: 2.5rem 1.6rem 3rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--matcha);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(118, 133, 91, .4);
  animation: pop .4s ease;
}
.checkout-success h3 { font-size: 1.5rem; }
.checkout-success p { color: var(--ink-2); max-width: 44ch; }

/* ── Toast ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: var(--paper);
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.2, .8, .25, 1), opacity .28s ease;
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .info-grid { grid-template-columns: 1fr; }
  .special-grid { grid-template-columns: 1fr; }
  .special-card { grid-template-columns: 1fr; }
  .special-img { max-height: 240px; }
  .gyoza-body { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: .6rem 24px 1rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8rem 0; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .hero-badge { left: 10px; }
  .modal-backdrop { align-items: stretch; padding: 0; }
  .modal { border-radius: 24px 24px 0 0; }
  .form-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 76px; }
  .toast { bottom: 92px; }
  /* WhatsApp-Button neben der Warenkorb-Leiste */
  .wa-float { right: 16px; bottom: 14px; padding: .78rem; }
  .wa-float-label { display: none; }
  .wa-float svg { width: 22px; height: 22px; }
  /* Warenkorb-Leiste lässt Platz für den WhatsApp-Button */
  .cart-bar { left: 16px; right: 84px; bottom: 14px; width: auto; padding: .8rem 1rem; gap: .6rem; font-size: .88rem; }
  .cart-bar-cta { font-size: .76rem; padding: .3rem .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Fokus-Sichtbarkeit */
:focus-visible { outline: 3px solid rgba(199, 64, 45, .5); outline-offset: 2px; border-radius: 4px; }
