:root {
  --cream: #FAF5EC;
  --cream-2: #F2EBDD;
  --matcha: #2E7D5B;
  --matcha-dark: #1F5C41;
  --matcha-soft: #DFEAE2;
  --pink: #E86F9C;
  --pink-soft: #FBDFEA;
  --ink: #20302A;
  --ink-soft: #55665E;
  --white: #FFFFFF;
  --line: rgba(32, 48, 42, 0.12);
  --shadow-sm: 0 1px 2px rgba(32, 48, 42, 0.08), 0 4px 12px rgba(32, 48, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(32, 48, 42, 0.18);
  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 10px;
  --font-display: "Nunito", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-zh: "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

:focus-visible {
  outline: 2px solid var(--matcha);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
.container { width: min(1080px, 100% - 40px); margin-inline: auto; }
em { font-style: normal; }
.menu-category, section[id] { scroll-margin-top: 92px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--pink), var(--matcha));
  z-index: 120; transition: width 0.1s linear;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 236, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-cup { display: flex; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.35rem; letter-spacing: 0.5px;
  color: var(--matcha-dark);
}
.nav { display: none; }
.nav a {
  font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--matcha); background: var(--matcha-soft); }

.cart-link {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  color: var(--matcha-dark); transition: transform 0.2s, box-shadow 0.2s;
}
.cart-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--pink); color: #fff;
  font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--matcha-dark);
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: var(--cream); border-bottom: 1px solid var(--line);
  display: none; flex-direction: column; gap: 4px; padding: 12px 20px 20px;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 14px; font-weight: 700; border-radius: var(--r-sm);
}
.mobile-nav a:hover { background: var(--matcha-soft); }
.mobile-nav .mobile-order {
  margin-top: 8px; text-align: center; background: var(--matcha);
  color: #fff; border-radius: 999px;
}

.hero {
  position: relative;
  padding: 56px 0 72px;
  background:
    radial-gradient(60% 50% at 85% 12%, rgba(232, 111, 156, 0.10), transparent 70%),
    radial-gradient(50% 45% at 8% 85%, rgba(46, 125, 91, 0.12), transparent 70%),
    var(--cream);
  overflow: hidden;
}
.bubbles {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(3px 3px at 20% 30%, rgba(46,125,91,0.25), transparent 60%),
    radial-gradient(2px 2px at 80% 20%, rgba(232,111,156,0.3), transparent 60%),
    radial-gradient(2px 2px at 65% 70%, rgba(46,125,91,0.2), transparent 60%),
    radial-gradient(3px 3px at 40% 85%, rgba(232,111,156,0.2), transparent 60%),
    radial-gradient(2px 2px at 90% 55%, rgba(46,125,91,0.25), transparent 60%),
    radial-gradient(2px 2px at 10% 65%, rgba(46,125,91,0.2), transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
  opacity: 0.9;
}
@keyframes drift {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-18px) translateX(10px); }
}
.hero-inner { position: relative; display: grid; gap: 44px; }
.hero-copy { max-width: 560px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--matcha);
  background: var(--matcha-soft); padding: 7px 14px; border-radius: 999px;
}
.open-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--matcha); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(2.3rem, 6vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 18px 0 14px;
}
.hero h1 em { color: var(--matcha); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -6px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q 25 2 50 6 T 100 5' stroke='%23E86F9C' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero-desc { color: var(--ink-soft); font-size: 1.06rem; max-width: 480px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.98rem;
  border: 2px solid transparent; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary { background: var(--matcha); color: #fff; box-shadow: 0 6px 18px rgba(46,125,91,0.35); }
.btn-primary:hover { background: var(--matcha-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--matcha-dark); border-color: var(--matcha); }
.btn-outline:hover { background: var(--matcha-soft); transform: translateY(-2px); }
.btn-block { width: 100%; }

.hero-rating { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.stars { display: flex; gap: 2px; color: #F2A33C; }
.stars-mini { color: #F2A33C; letter-spacing: 2px; }

.hero-art { position: relative; display: flex; justify-content: center; }
.orbit-ring {
  position: absolute; top: 50%; left: 50%; width: 76%; padding-top: 76%;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 2px dashed rgba(46,125,91,0.28);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
.orbit-ring::after {
  content: ""; position: absolute; top: 6%; left: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--pink); transform: translateX(-50%);
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.arch-frame {
  position: relative; width: min(320px, 78vw); border-radius: 50% 50% 18px 18px / 34% 34% 18px 18px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  transform: rotate(2deg);
}
.arch-frame img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.video-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(32,48,42,0.45));
}
.seal {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%) rotate(-4deg);
  background: var(--pink); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 8px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.marquee {
  overflow: hidden; background: var(--matcha); color: #fff; padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15);
}
.marquee-track {
  display: flex; width: max-content;
  animation: scrollx 26s linear infinite;
}
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 26px; padding: 0 13px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.03em; white-space: nowrap;
}
.sep { color: rgba(255,255,255,0.55); font-size: 0.8rem; }

.section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink);
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1rem; }

.menu-cat-nav {
  position: sticky; top: 76px; z-index: 40;
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 12px;
  scrollbar-width: none; margin-bottom: 20px;
  background: linear-gradient(var(--cream) 80%, transparent);
}
.menu-cat-nav::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 0.88rem;
  color: var(--ink-soft); transition: all 0.2s;
}
.cat-chip:hover { border-color: var(--matcha); color: var(--matcha); }
.cat-chip.active { background: var(--matcha); border-color: var(--matcha); color: #fff; box-shadow: 0 4px 12px rgba(46,125,91,0.3); }

.pause-notice {
  background: var(--pink-soft); border: 1px solid rgba(232,111,156,0.4);
  color: #8B2E52; font-weight: 600; border-radius: var(--r-md);
  padding: 14px 18px; margin-bottom: 22px;
}

.menu-category { margin-bottom: 46px; }
.cat-hero {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cat-hero img { width: 100%; height: 210px; object-fit: cover; }
.cat-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(32,48,42,0.05) 30%, rgba(32,48,42,0.78));
}
.cat-overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; color: #fff; }
.cat-title {
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; line-height: 1.1;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.cat-zh { font-family: var(--font-zh); font-weight: 500; font-size: 1rem; color: rgba(255,255,255,0.85); }
.cat-desc { font-size: 0.92rem; color: rgba(255,255,255,0.9); margin-top: 4px; max-width: 480px; }
.cat-sizes { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.95); margin-top: 8px; }

.cat-body {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg); margin-top: -14px;
  padding: 26px 18px 12px; position: relative;
  box-shadow: var(--shadow-sm);
}
.item-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
}
.item-row:last-child { border-bottom: none; }
.item-info { min-width: 0; }
.item-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1.3;
}
.item-zh { font-family: var(--font-zh); font-weight: 400; font-size: 0.86rem; color: var(--ink-soft); margin-left: 8px; }
.item-prices { display: flex; gap: 8px; flex-shrink: 0; }
.price-pill {
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--cream); font-weight: 700; font-size: 0.82rem;
  color: var(--matcha-dark); white-space: nowrap; transition: all 0.18s;
}
.price-pill:hover { background: var(--matcha); border-color: var(--matcha); color: #fff; }
.price-pill.added { background: var(--pink); border-color: var(--pink); color: #fff; }

.steps { display: grid; gap: 18px; margin-top: 10px; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--matcha); color: #fff; font-family: var(--font-display);
  font-weight: 900; font-size: 1.15rem; margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(46,125,91,0.3);
}
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

.contact-grid { display: grid; gap: 20px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-sm);
  height: 100%;
}
.contact-card h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--matcha-dark); margin-bottom: 12px; }
.contact-card p { color: var(--ink-soft); margin-bottom: 10px; }
.contact-card .rating-line { margin: 14px 0 20px; font-weight: 700; color: var(--ink); }
.contact-map {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); min-height: 300px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

.site-footer {
  background: var(--matcha-dark); color: rgba(255,255,255,0.85); padding: 44px 0 28px;
}
.footer-inner { display: grid; gap: 18px; text-align: center; }
.footer-brand .logo-text { color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.footer-brand p { font-size: 0.9rem; margin-top: 6px; max-width: 340px; margin-inline: auto; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.cart-overlay {
  position: fixed; inset: 0; background: rgba(32,48,42,0.45); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--cream); z-index: 210; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.cart-close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--ink-soft); font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}
.cart-close:hover { color: var(--pink); border-color: var(--pink); }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 20px; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 48px 10px; }
.cart-empty .empty-cup { font-size: 2.4rem; margin-bottom: 10px; }
.cart-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.cart-item-info { min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.95rem; display: block; }
.cart-item-meta { font-size: 0.82rem; color: var(--ink-soft); }
.cart-item-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); font-weight: 800; color: var(--matcha-dark);
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.qty-btn:hover { background: var(--matcha-soft); }
.qty { min-width: 22px; text-align: center; font-weight: 800; font-size: 0.95rem; }
.cart-item-del { border: 0; background: none; color: var(--ink-soft); font-size: 0.85rem; padding: 6px; }
.cart-item-del:hover { color: var(--pink); }
.cart-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); background: var(--white); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; }
.cart-total strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--matcha-dark); }

.modal {
  position: fixed; inset: 0; z-index: 230; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(32,48,42,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card {
  width: min(480px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--cream); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  transform: translateY(16px); transition: transform 0.25s;
}
.modal.open .modal-card { transform: translateY(0); }
.modal-card form { padding: 20px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--white);
  font-size: 1rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--matcha); box-shadow: 0 0 0 3px rgba(46,125,91,0.15);
}
.field input:invalid:not(:placeholder-shown), .field input.error { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232,111,156,0.15); }
.order-summary {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; margin: 6px 0 14px; font-size: 0.9rem; color: var(--ink-soft);
}
.order-summary strong { color: var(--matcha-dark); font-family: var(--font-display); font-size: 1.05rem; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 14px; }
.form-err {
  background: var(--pink-soft); border: 1px solid rgba(232,111,156,0.4);
  color: #8B2E52; font-weight: 600; font-size: 0.88rem;
  border-radius: var(--r-sm); padding: 10px 14px; margin-top: 12px;
}
.order-success { text-align: center; padding: 34px 24px; }
.success-cup { margin-bottom: 14px; }
.order-success h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; margin-bottom: 8px; }
.order-success p { color: var(--ink-soft); margin-bottom: 8px; }
.muted { font-size: 0.88rem; }
.order-success .btn { margin-top: 14px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  z-index: 260; background: var(--matcha-dark); color: #fff;
  font-weight: 700; font-size: 0.92rem; padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s; max-width: calc(100% - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.legal-page { padding: 48px 0 72px; }
.legal-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm); max-width: 760px; margin-inline: auto;
}
.legal-card h1 { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; color: var(--matcha-dark); margin-bottom: 6px; }
.legal-card .updated { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 20px; }
.legal-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; margin: 22px 0 8px; color: var(--ink); }
.legal-card p, .legal-card li { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 8px; }
.legal-card ul { padding-left: 20px; margin-bottom: 10px; }
.legal-back { display: inline-block; margin-top: 22px; }

/* ---------- Header-Zustände & Nav ---------- */
.nav a.active, .mobile-nav a.active { color: var(--matcha); background: var(--matcha-soft); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.btn-sm { padding: 9px 16px; font-size: 0.86rem; }
.btn-glass {
  background: rgba(255, 255, 255, 0.12); color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }

/* ---------- Preloader / Grain / Cursor-Glow ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader p {
  font-family: var(--font-display); font-weight: 900; letter-spacing: 0.18em;
  color: var(--matcha-dark); font-size: 1.1rem;
}
.pre-cup { animation: wiggle 1.6s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

.grain {
  position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; z-index: 5;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 125, 91, 0.10), rgba(232, 111, 156, 0.08) 42%, transparent 70%);
  transform: translate(-210px, -210px); will-change: transform;
}
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------- Reveal-Animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---------- Video- & Seiten-Hero ---------- */
.hero.hero-video { background: var(--matcha-dark); }
.hero-media, .page-hero-media {
  position: absolute; top: -100px; bottom: -100px; left: 0; right: 0; z-index: 0;
  transform: translate3d(0, calc(var(--scrolly, 0px) * 0.3), 0);
}
.hero-media video, .page-hero-media video, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-shade { position: absolute; inset: 0; z-index: 1; }
.hero.hero-video .hero-media-shade {
  background: linear-gradient(180deg, rgba(31, 92, 65, 0.45), rgba(31, 92, 65, 0.72));
}
.hero-overlay { position: relative; z-index: 2; }
.hero-video .hero-eyebrow { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.hero-video .open-dot { background: #fff; }
.hero-video .hero-desc { color: rgba(255, 255, 255, 0.92); }
.hero-video .hero-rating { color: rgba(255, 255, 255, 0.88); }
.hero-video h1 { color: #fff; }
.hero-video h1 em { color: #fff; }

.hero-chip-stack { display: grid; gap: 12px; max-width: 400px; width: 100%; justify-self: center; }
.h-chip {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.92); border-radius: 999px;
  padding: 10px 18px 10px 10px; font-weight: 700; font-size: 0.95rem; color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.h-chip-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--matcha); color: #fff;
  font-family: var(--font-display); font-weight: 900;
}
.h-chip-3 .h-chip-icon { background: var(--pink); }
.h-chip-1 { transform: rotate(-2deg); }
.h-chip-2 { transform: translateX(16px) rotate(1deg); }
.h-chip-3 { transform: rotate(-1deg); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.85); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); transform-origin: top; animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.page-hero {
  position: relative; min-height: 46vh; overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--matcha-dark); color: #fff;
}
.page-hero-sm { min-height: 40vh; }
.page-hero .hero-media-shade {
  background: linear-gradient(180deg, rgba(31, 92, 65, 0.25), rgba(31, 92, 65, 0.78));
}
.page-hero-inner {
  position: relative; z-index: 2; padding: 64px 0 56px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.page-hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.12; max-width: 640px;
}
.page-hero p { color: rgba(255, 255, 255, 0.9); max-width: 520px; }
.kicker.light { color: #fff; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.page-hero-meta span {
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 8px 14px; border-radius: 999px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.page-hero-meta b { color: var(--pink-soft); }

/* ---------- Bestseller ---------- */
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; max-width: none; }
.bestseller-grid { display: grid; gap: 20px; }
.bs-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.bs-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bs-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.bs-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.bs-card:hover .bs-img img { transform: scale(1.06); }
.bs-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--pink); color: #fff; font-weight: 800; font-size: 0.76rem;
  padding: 6px 12px; border-radius: 999px;
}
.bs-body { padding: 20px 22px 22px; }
.bs-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.bs-zh { font-family: var(--font-zh); font-size: 0.85rem; color: var(--ink-soft); margin: 2px 0 14px; }
.bs-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bs-price { font-family: var(--font-display); font-weight: 800; color: var(--matcha-dark); font-size: 1.05rem; }

/* ---------- Story / Stats ---------- */
.story-grid { display: grid; gap: 40px; align-items: center; }
.story-copy h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.15; margin-bottom: 16px;
}
.story-copy p { color: var(--ink-soft); margin-bottom: 14px; }
.story-stats { display: flex; gap: 36px; flex-wrap: wrap; margin: 26px 0 6px; }
.stat strong { font-family: var(--font-display); font-weight: 900; font-size: 2rem; color: var(--matcha-dark); line-height: 1; }
.stat strong i { font-style: normal; color: var(--pink); }
.stat span { display: block; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin-top: 4px; }

/* ---------- Galerie ---------- */
.gallery-track {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 4px 20px 18px; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure {
  position: relative; flex: 0 0 230px; scroll-snap-align: center;
  border-radius: var(--r-lg); overflow: hidden;
}
.gallery-track img { width: 100%; height: 310px; object-fit: cover; transition: transform 0.5s; }
.gallery-track figure:hover img { transform: scale(1.06); }
.gallery-track figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 34px 16px 14px; color: #fff; font-weight: 700; font-size: 0.86rem;
  background: linear-gradient(180deg, transparent, rgba(32, 48, 42, 0.72));
}

/* ---------- CTA-Band ---------- */
.cta-band {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  margin-top: 40px; padding: 34px 30px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--matcha), var(--matcha-dark));
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.55rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); }
.cta-band .btn-primary { background: #fff; color: var(--matcha-dark); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--cream); }

/* ---------- FAQ ---------- */
.section-faq { padding-top: 40px; }
.faq-list { display: grid; gap: 12px; max-width: 720px; margin-inline: auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.35rem; font-weight: 800; color: var(--pink); transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--matcha-dark); }
.faq-item summary:hover { background: var(--matcha-soft); }
.faq-item p { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Store / Kontakt ---------- */
.contact-cards { display: grid; gap: 20px; align-content: start; }
.contact-addr { font-weight: 600; color: var(--ink); }
.contact-card .btn { margin-top: 6px; }
.store-media { position: relative; }
.store-media img:first-child {
  position: relative; z-index: 2; width: 78%;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.store-media img:last-child {
  position: absolute; right: 0; bottom: -18px; z-index: 3; width: 56%;
  border: 6px solid var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); transform: rotate(-3deg);
}

body.lock { overflow: hidden; }

@media (min-width: 640px) {
  .hero { padding: 72px 0 90px; }
  .cat-hero img { height: 260px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.3fr; }
  .footer-inner { grid-template-columns: 1fr auto; text-align: left; }
  .footer-brand p { margin-inline: 0; }
  .footer-copy { grid-column: 1 / -1; text-align: center; }
  .item-name { font-size: 1.05rem; }
  .bestseller-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-track figure { flex-basis: 280px; }
  .gallery-track img { height: 340px; }
  .story-stats { gap: 48px; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; }
  .page-hero { min-height: 52vh; }
  .page-hero-sm { min-height: 46vh; }
}

@media (min-width: 1024px) {
  .header-inner { height: 72px; }
  .nav { display: flex; gap: 4px; }
  .menu-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 60px; }
  .hero { padding: 84px 0 100px; }
  .cat-hero img { height: 300px; }
  .cat-body { padding: 30px 26px 14px; }
  .bestseller-grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .story-grid.reversed .story-media { order: 2; }
  .hero-chip-stack { justify-self: end; max-width: 360px; }
  .page-hero { min-height: 56vh; }
  .page-hero-sm { min-height: 48vh; }
}
