/* ==========================================================================
   BONJOUR — Design System
   Fonts: Fraunces (display) + Manrope (text)
   ========================================================================== */

:root {
  /* Palette */
  --creme: #F6F0E4;
  --creme-2: #EDE3D0;
  --paper: #FFFCF6;
  --ink: #1C1A16;
  --ink-2: #4A463F;
  --ink-3: #7A746A;
  --line: rgba(28, 26, 22, .12);

  --matcha: #3B5A3A;
  --matcha-deep: #23392A;
  --matcha-light: #CBD8B6;
  --matcha-pale: #E9EFDF;

  --terracotta: #C7502B;
  --terracotta-deep: #9E3C1E;
  --terracotta-pale: #F4DDD2;

  --honey: #E3A93B;
  --honey-pale: #F8E7C1;

  --rose: #E4AFA0;
  --rose-pale: #F7E1DA;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-text: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 12px 40px -18px rgba(28, 26, 22, .35);
  --shadow-sm: 0 4px 16px -8px rgba(28, 26, 22, .25);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 1rem; }

/* Typography scale */
.display-xl { font-size: clamp(3rem, 9vw, 7.5rem); font-variation-settings: "opsz" 144, "SOFT" 40; line-height: .95; }
.display   { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-variation-settings: "opsz" 144, "SOFT" 30; }
.h2        { font-size: clamp(1.9rem, 4vw, 3rem); font-variation-settings: "opsz" 96, "SOFT" 20; }
.h3        { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-variation-settings: "opsz" 48; }
.h4        { font-size: 1.2rem; font-variation-settings: "opsz" 24; }
.lead      { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.eyebrow   { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
em.accent { font-style: italic; color: var(--terracotta); font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head .lead { margin-top: 1rem; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.split-reverse > :first-child { order: 2; } }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--creme); }
.bg-matcha { background: var(--matcha-deep); color: var(--creme); }
.bg-matcha-pale { background: var(--matcha-pale); }
.bg-honey-pale { background: var(--honey-pale); }
.bg-rose-pale { background: var(--rose-pale); }
.bg-terracotta-pale { background: var(--terracotta-pale); }
.bg-ink .muted, .bg-matcha .muted { color: rgba(246, 240, 228, .7); }
.bg-ink .lead, .bg-matcha .lead { color: rgba(246, 240, 228, .85); }
.stack > * + * { margin-top: 1rem; }
.flow > * + * { margin-top: 1.5rem; }
.center { text-align: center; }
.center .lead, .center .section-head { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -12px rgba(199, 80, 43, .7); }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-dark { background: var(--ink); color: var(--creme); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--creme); border-color: var(--ink); }
.bg-ink .btn-outline:hover, .bg-matcha .btn-outline:hover { background: var(--creme); color: var(--ink); border-color: var(--creme); }
.btn-sm { padding: .6rem 1rem; font-size: .88rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; border-bottom: 2px solid var(--terracotta); padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Chips & badges */
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: var(--radius-pill); background: var(--paper); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: var(--radius-pill); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge-veggie { background: var(--matcha-pale); color: var(--matcha); }
.badge-vegan { background: var(--matcha); color: #fff; }
.badge-new { background: var(--honey-pale); color: #8a5e0a; }
.badge-fav { background: var(--terracotta-pale); color: var(--terracotta-deep); }
.badge-preorder { background: var(--creme-2); color: var(--ink-2); }
.badge-signature { background: var(--ink); color: var(--honey); }
.badge-deal { background: var(--terracotta); color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.announce { background: var(--matcha-deep); color: var(--creme); font-size: .85rem; font-weight: 600; text-align: center; padding: .5rem var(--gutter); }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 240, 228, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.04em; line-height: 1; font-variation-settings: "opsz" 48, "SOFT" 40; display: inline-flex; align-items: baseline; }
.logo .dot { color: var(--terracotta); }
.logo-lg { font-size: clamp(2.6rem, 8vw, 5rem); }
.nav { display: none; gap: .25rem; }
.nav a { padding: .55rem .9rem; border-radius: var(--radius-pill); font-weight: 600; font-size: .95rem; transition: background .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(28, 26, 22, .06); }
.nav a[aria-current="page"] { color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang { display: none; align-items: center; gap: .1rem; margin-right: .25rem; }
.lang a { padding: .35rem .5rem; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 800; letter-spacing: .06em; color: var(--ink-3); }
.lang a:hover { color: var(--ink); background: rgba(28,26,22,.06); }
.lang a[aria-current="true"] { color: var(--ink); background: var(--creme-2); }
@media (min-width: 640px) { .lang { display: flex; } }
.lang-mobile { display: flex; justify-content: center; gap: .5rem; margin-bottom: .5rem; }
.lang-mobile a { font-size: .95rem; letter-spacing: 0; padding: .5rem .9rem; border: 1px solid var(--line); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; position: relative; transition: background .2s; }
.icon-btn:hover { background: rgba(28, 26, 22, .06); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--terracotta); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.cart-count[data-count="0"] { display: none; }
.header .btn-order { display: none; }
@media (min-width: 1000px) { .nav { display: flex; } .header .btn-order { display: inline-flex; } .menu-toggle { display: none; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--creme); padding: 1.5rem var(--gutter); display: flex; flex-direction: column; transform: translateY(-100%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.mobile-menu.is-open { transform: none; opacity: 1; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mobile-menu nav { margin-top: 2rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu nav a { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 500; letter-spacing: -.02em; padding: .35rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav a[aria-current="page"] { color: var(--terracotta); }
.mobile-menu-foot { margin-top: auto; display: grid; gap: .75rem; padding-top: 2rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { max-width: 12ch; }
.hero .lead { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-visual { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 70px; gap: .75rem; }
.hero-visual .ph { border-radius: var(--radius-lg); }
.hero-visual .v1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.hero-visual .v2 { grid-column: 5 / 7; grid-row: 2 / 4; }
.hero-visual .v3 { grid-column: 1 / 3; grid-row: 5 / 7; }
.hero-visual .v4 { grid-column: 3 / 7; grid-row: 5 / 8; }
.hero-sticker { position: absolute; top: -14px; right: 6%; width: 118px; height: 118px; border-radius: 50%; background: var(--honey); color: var(--ink); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: .95rem; font-weight: 600; line-height: 1.15; padding: .5rem; transform: rotate(8deg); box-shadow: var(--shadow-sm); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }
.trust-strip { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.trust-strip li { display: flex; align-items: center; gap: .5rem; }
.trust-strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--matcha); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: .8rem 0; background: var(--paper); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--ink-2); }
.marquee-track span { display: flex; align-items: center; gap: 3rem; white-space: nowrap; }
.marquee-track span::after { content: "·"; color: var(--terracotta); font-style: normal; font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Placeholders for photography (.ph)
   -------------------------------------------------------------------------- */
.ph { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--creme-2); aspect-ratio: 4 / 3; isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.55), transparent 60%), radial-gradient(90% 90% at 80% 90%, rgba(28,26,22,.08), transparent 60%); z-index: 1; }
.ph .ph-shape { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.ph .ph-shape svg { width: 46%; height: 46%; max-width: 220px; }
.ph.has-img::before { display: none; }
.ph.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.ph.has-img.ph-pattern::after { display: none; }
.moment .ph.has-img::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(to top, rgba(28,26,22,.72) 0%, rgba(28,26,22,.25) 45%, rgba(28,26,22,0) 70%); display: block; }
.moment.has-photo { color: var(--creme); }
.moment.has-photo p { color: rgba(246,240,228,.85); }
.moment.has-photo .link-arrow { border-color: var(--honey); }
.ph .ph-label { position: absolute; left: 12px; bottom: 12px; z-index: 3; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(28,26,22,.55); background: rgba(255,252,246,.7); padding: .3rem .6rem; border-radius: var(--radius-pill); backdrop-filter: blur(6px); }
.ph-square { aspect-ratio: 1; }
.ph-portrait { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-honey { background: linear-gradient(145deg, #F4D98F, #E3A93B); }
.ph-rose { background: linear-gradient(145deg, #F4CFC4, #E19C8B); }
.ph-terracotta { background: linear-gradient(145deg, #E0764F, #B6441F); }
.ph-matcha { background: linear-gradient(145deg, #A8BE8C, #3B5A3A); }
.ph-matcha-light { background: linear-gradient(145deg, #E2EAD3, #B7CBA0); }
.ph-creme { background: linear-gradient(145deg, #FFF8EA, #E7DBC4); }
.ph-ink { background: linear-gradient(145deg, #3A362F, #1C1A16); }
.ph-blue { background: linear-gradient(145deg, #D6D0F5, #6E7CD8); }
.ph-pattern::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%231C1A16' stroke-width='1' d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3C/svg%3E"); background-size: 80px 80px; }

/* --------------------------------------------------------------------------
   Moments
   -------------------------------------------------------------------------- */
.moments { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.moment { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.moment:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.moment .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.moment-body { position: relative; z-index: 4; }
.moment-time { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.moment h3 { font-size: clamp(2rem, 3vw, 2.6rem); margin: .25rem 0 .5rem; }
.moment p { margin: 0 0 1rem; max-width: 28ch; color: var(--ink-2); }
.moment-dark { color: var(--creme); }
.moment-dark p { color: rgba(246,240,228,.8); }
.moment-dark .link-arrow { border-color: var(--honey); }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.products { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.product { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product .ph { border-radius: 0; aspect-ratio: 1; cursor: pointer; }
.product-badges { position: absolute; top: 12px; left: 12px; z-index: 4; display: flex; gap: .35rem; flex-wrap: wrap; }
.product-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.product h3 { font-size: 1.25rem; font-variation-settings: "opsz" 24; letter-spacing: -.01em; }
.product h3 button { background: none; border: 0; padding: 0; text-align: left; font: inherit; }
.product h3 button:hover { color: var(--terracotta); }
.product-price { font-weight: 800; white-space: nowrap; }
.product-desc { font-size: .92rem; color: var(--ink-2); margin: 0; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .5rem; }
.product-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.product-tags .badge { font-size: .66rem; }
.product-add { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: var(--radius-pill); border: 1.5px solid var(--ink); background: transparent; font-weight: 700; font-size: .85rem; transition: background .2s, color .2s; }
.product-add:hover { background: var(--ink); color: var(--creme); }
.product-add.is-added { background: var(--matcha); border-color: var(--matcha); color: #fff; }
.product-list-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 3rem 0 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--ink); }
.product-list-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.product-list-head .moment-time { color: var(--terracotta); }
.product-subhead { font-family: var(--font-text); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 2rem 0 .9rem; display: flex; align-items: center; gap: .75rem; }
.product-subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.products + .product-subhead { margin-top: 2.5rem; }

/* Filters */
.filters { position: sticky; top: var(--header-h); z-index: 30; background: rgba(246,240,228,.92); backdrop-filter: blur(12px); padding: .9rem 0; border-bottom: 1px solid var(--line); }
.filters-inner { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filter-btn { padding: .5rem .95rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: .88rem; transition: all .2s; }
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--creme); border-color: var(--ink); }
.filters-sep { width: 1px; height: 24px; background: var(--line); margin: 0 .35rem; }
.filter-search { margin-left: auto; display: flex; align-items: center; gap: .5rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-pill); padding: .35rem .5rem .35rem .9rem; min-width: 200px; }
.filter-search input { border: 0; background: transparent; outline: 0; width: 100%; font-size: .92rem; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Steps / How it works
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem 1.5rem; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--terracotta); font-variation-settings: "opsz" 144, "SOFT" 60; margin-bottom: 1rem; }
.step h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.step-word { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin-bottom: .25rem; font-family: var(--font-text); }

/* --------------------------------------------------------------------------
   Cards, info blocks
   -------------------------------------------------------------------------- */
.card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); }
.card-dark { background: var(--ink); color: var(--creme); border-color: transparent; }
.card-matcha { background: var(--matcha-deep); color: var(--creme); border-color: transparent; }
.card h3 { margin-bottom: .75rem; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--terracotta-pale); color: var(--terracotta); margin-bottom: 1.25rem; }
.card-icon svg { width: 24px; height: 24px; }
.pillars { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pillar { padding: 2rem 1.75rem; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.pillar h3 { font-size: 1.6rem; margin: 1rem 0 .5rem; }
.pillar p { color: var(--ink-2); margin: 0; }
.pillar-num { font-family: var(--font-display); font-style: italic; color: var(--terracotta); font-size: 1.1rem; }

.info-list { display: grid; gap: .75rem; }
.info-row { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt { flex: 0 0 38%; font-weight: 700; }
.info-row dd { margin: 0; color: var(--ink-2); }
dl.info-list { margin: 0; }

.kpi { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.kpi div { padding: 1.25rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(246,240,228,.12); }
.kpi strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; margin-bottom: .35rem; }
.kpi span { font-size: .85rem; opacity: .8; }

/* Area check */
.plz-form { display: flex; gap: .5rem; max-width: 460px; }
.plz-form input { flex: 1; padding: .9rem 1.1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--paper); font-size: 1rem; }
.plz-result { margin-top: .75rem; font-weight: 600; min-height: 1.5em; }
.plz-result.ok { color: var(--matcha); }
.plz-result.no { color: var(--terracotta-deep); }
.areas { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Timeline (events) */
.event-list { display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 90px 1fr; gap: 1.25rem; padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); align-items: start; transition: transform .3s var(--ease), box-shadow .3s; }
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
@media (min-width: 720px) { .event { grid-template-columns: 110px 1fr auto; align-items: center; } }
.event-date { display: grid; place-items: center; text-align: center; background: var(--creme); border-radius: var(--radius); padding: .75rem .5rem; line-height: 1; }
.event-date .d { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; }
.event-date .m { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); margin-top: .35rem; }
.event-date .w { font-size: .72rem; color: var(--ink-3); margin-top: .3rem; }
.event h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.event-meta { font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.event-tags { margin-top: .5rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.event-cta { grid-column: 1 / -1; }
@media (min-width: 720px) { .event-cta { grid-column: auto; } }
.event.is-past { opacity: .55; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.field input, .field select, .field textarea { padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); width: 100%; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--terracotta); }
.form-note { font-size: .85rem; color: var(--ink-3); }
.form-success { display: none; padding: 1.5rem; background: var(--matcha-pale); border-radius: var(--radius); }
.form-success.is-visible { display: block; }
.option-cards { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.option-card { position: relative; display: block; padding: 1.1rem 1.2rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; }
.option-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.option-card:has(input:checked) { border-color: var(--ink); background: var(--creme-2); }
.option-card:has(input:focus-visible) { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.option-card strong { display: block; margin-bottom: .2rem; }
.option-card span { font-size: .85rem; color: var(--ink-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; color: var(--terracotta); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 65ch; }

/* Quote */
.quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.2; font-weight: 400; font-variation-settings: "opsz" 96, "SOFT" 50; max-width: 26ch; }
.quote em { color: var(--terracotta); font-style: italic; font-variation-settings: "opsz" 96, "SOFT" 80, "WONK" 1; }

/* Allergen list */
.allergen-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); font-size: .9rem; }
.allergen-grid li { padding: .6rem .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; display: flex; gap: .6rem; align-items: center; }
.allergen-grid b { font-family: var(--font-display); color: var(--terracotta); width: 1.4rem; }

/* --------------------------------------------------------------------------
   Modal (product detail)
   -------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: flex-end; justify-content: center; padding: 0; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(28,26,22,.55); backdrop-filter: blur(4px); animation: fadeIn .25s; }
.modal-panel { position: relative; width: 100%; max-width: 900px; max-height: 92vh; overflow: auto; background: var(--paper); border-radius: var(--radius-lg) var(--radius-lg) 0 0; animation: slideUp .4s var(--ease); }
@media (min-width: 760px) { .modal { align-items: center; padding: 2rem; } .modal-panel { border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1.1fr; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 5; background: var(--paper); box-shadow: var(--shadow-sm); }
.modal-media { position: relative; }
.modal-media .ph { border-radius: 0; aspect-ratio: 16 / 10; }
@media (min-width: 760px) { .modal-media { min-height: 420px; } .modal-media .ph { position: absolute; inset: 0; aspect-ratio: auto; height: auto; } }
.modal-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; }
.modal-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.modal-price { font-size: 1.4rem; font-weight: 800; }
.modal-price small { font-size: .8rem; font-weight: 500; color: var(--ink-3); margin-left: .4rem; }
.modal-section h4 { font-family: var(--font-text); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem; font-weight: 800; }
.modal-section p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.allergens { display: flex; flex-wrap: wrap; gap: .35rem; }
.allergens .chip { font-size: .78rem; background: var(--terracotta-pale); border-color: transparent; color: var(--terracotta-deep); }
.allergens .chip.none { background: var(--matcha-pale); color: var(--matcha); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.2rem; font-weight: 700; }
.qty button:hover { background: var(--creme-2); }
.qty output { min-width: 32px; text-align: center; font-weight: 700; }
.modal-actions { display: flex; gap: .75rem; align-items: center; margin-top: auto; padding-top: .5rem; }
.modal-actions .btn { flex: 1; }
.option-select { display: flex; flex-wrap: wrap; gap: .5rem; }
.option-select label { padding: .45rem .9rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line); font-size: .88rem; font-weight: 600; cursor: pointer; }
.option-select label:has(input:checked) { background: var(--ink); color: var(--creme); border-color: var(--ink); }
.option-select input { position: absolute; opacity: 0; width: 0; height: 0; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.is-open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(28,26,22,.5); animation: fadeIn .25s; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(100%, 440px); background: var(--creme); display: flex; flex-direction: column; animation: slideIn .4s var(--ease); box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.6rem; }
.drawer-body { flex: 1; overflow: auto; padding: 1rem var(--gutter); }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-3); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item .ph { aspect-ratio: 1; border-radius: 12px; }
.cart-item .ph .ph-shape svg { width: 60%; height: 60%; }
.cart-item h4 { font-family: var(--font-text); font-size: .95rem; font-weight: 700; margin-bottom: .15rem; }
.cart-item .variant { font-size: .8rem; color: var(--ink-3); }
.cart-item .qty { transform: scale(.85); transform-origin: left; }
.cart-item-price { font-weight: 800; text-align: right; }
.cart-item .remove { background: none; border: 0; font-size: .78rem; color: var(--ink-3); text-decoration: underline; padding: 0; margin-top: .25rem; }
.drawer-foot { padding: 1.25rem var(--gutter); border-top: 1px solid var(--line); background: var(--paper); }
.totals { display: grid; gap: .35rem; font-size: .95rem; margin-bottom: 1rem; }
.totals div { display: flex; justify-content: space-between; }
.deal-line { color: var(--matcha); font-weight: 700; }
.deal-hint { color: var(--terracotta-deep); margin: -.25rem 0 .75rem; }
.deal-box { background: var(--terracotta-pale); padding: .8rem 1rem; border-radius: 12px; }
.deal-box h4 { color: var(--terracotta-deep) !important; }
.totals .grand { font-weight: 800; font-size: 1.15rem; padding-top: .5rem; border-top: 1px solid var(--line); margin-top: .25rem; }
.min-note { font-size: .82rem; color: var(--terracotta-deep); margin-bottom: .75rem; }

/* Checkout summary (bestellen.html) */
.checkout { display: grid; gap: 2rem; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.1fr .9fr; align-items: start; } .checkout-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.summary-lines { display: grid; gap: .5rem; font-size: .95rem; }
.summary-lines div { display: flex; justify-content: space-between; gap: 1rem; }
.order-message { white-space: pre-wrap; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; background: var(--creme); padding: 1rem; border-radius: 12px; max-height: 260px; overflow: auto; border: 1px solid var(--line); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); background: var(--ink); color: var(--creme); padding: .8rem 1.2rem; border-radius: var(--radius-pill); font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 100; box-shadow: var(--shadow); display: flex; gap: .75rem; align-items: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--honey); text-decoration: underline; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Cookie consent
   -------------------------------------------------------------------------- */
.consent { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(100% - 2rem, 640px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.25rem 1.5rem; z-index: 95; display: none; }
.consent.is-visible { display: block; animation: slideUp .4s var(--ease); }
.consent h2 { font-size: 1.3rem; margin-bottom: .4rem; }
.consent p { font-size: .9rem; color: var(--ink-2); margin-bottom: 1rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent-options { display: none; gap: .5rem; margin: .5rem 0 1rem; }
.consent.show-options .consent-options { display: grid; }
.consent-options label { display: flex; gap: .6rem; align-items: center; font-size: .9rem; }
.consent-options input { accent-color: var(--terracotta); width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 1.25rem; }
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin-bottom: 1rem; display: flex; gap: .5rem; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--creme); padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.footer-top { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer .logo { color: var(--creme); }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; margin-top: 1rem; color: rgba(246,240,228,.8); }
.footer h3 { font-family: var(--font-text); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: rgba(246,240,228,.6); margin-bottom: 1rem; }
.footer ul { display: grid; gap: .5rem; }
.footer li a { color: rgba(246,240,228,.85); }
.footer li a:hover { color: var(--honey); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(246,240,228,.15); font-size: .85rem; color: rgba(246,240,228,.6); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a:hover { color: var(--creme); }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; max-width: 400px; }
.newsletter input { flex: 1; padding: .8rem 1rem; border-radius: var(--radius-pill); border: 1px solid rgba(246,240,228,.25); background: rgba(255,255,255,.06); color: var(--creme); }
.newsletter input::placeholder { color: rgba(246,240,228,.5); }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(246,240,228,.25); transition: background .2s; }
.social a:hover { background: rgba(255,255,255,.1); }
.social svg { width: 18px; height: 18px; }

/* Placeholder marker for legal pages */
.placeholder-note { background: var(--honey-pale); border-left: 4px solid var(--honey); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; font-size: .92rem; margin-bottom: 2rem; }
.placeholder-note strong { display: block; margin-bottom: .2rem; }
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
.legal h3 { font-size: 1.15rem; font-family: var(--font-text); font-weight: 800; margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.legal mark { background: var(--honey-pale); padding: 0 .25em; border-radius: 4px; color: var(--ink); }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > :nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > :nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > :nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > :nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > :nth-child(6) { transition-delay: .4s; }
.reveal-stagger.is-visible > :nth-child(n+7) { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Print */
@media print { .header, .footer, .announce, .consent, .toast, .drawer, .modal, .filters { display: none !important; } }

/* Signature drinks (home) */
.signature-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.signature-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.promo { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: var(--terracotta); color: #fff; }
@media (min-width: 800px) { .promo { grid-template-columns: auto 1fr auto; } }
.promo-big { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); line-height: .95; letter-spacing: -.03em; font-variation-settings: "opsz" 144, "SOFT" 50; }
.promo p { margin: 0; color: rgba(255,255,255,.85); max-width: 40ch; }
