/* ============================================================
   Bake & Brew — Stylesheet
   Palette, typography, layout primitives, motion.
   ============================================================ */

:root {
  /* palette */
  --teal-900: #073E42;
  --teal-800: #0A5558;
  --teal-700: #0E6B6F;
  --teal-600: #1A8287;
  --teal-500: #2EA3A6;
  --teal-400: #55BEB8;
  --teal-300: #8FD6D1;
  --teal-50:  #E7F4F2;

  --cream-50: #FAF6EC;
  --cream-100: #F5EEDD;
  --cream-200: #EDE2C9;
  --cream-300: #DFD0AE;

  --ink-900: #12302E;
  --ink-700: #274442;
  --ink-500: #4B6361;
  --ink-300: #8397A0;

  --warm-700: #7A4A1C;
  --warm-500: #C88E3F;
  --warm-300: #F4C584;

  /* grass-green → teal gradient for CTAs */
  --grass:       #A3D977;
  --grass-deep:  #8ACD4E;
  --btn-grad:       linear-gradient(135deg, var(--grass) 0%, var(--teal-700) 100%);
  --btn-grad-hover: linear-gradient(135deg, var(--grass-deep) 0%, var(--teal-800) 100%);

  /* typography */
  --serif: "Cormorant Garamond", "EB Garamond", ui-serif, Georgia, serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* radii + shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(14,107,111,0.06), 0 1px 2px rgba(14,107,111,0.04);
  --shadow-md: 0 8px 24px rgba(14,107,111,0.08), 0 2px 6px rgba(14,107,111,0.04);
  --shadow-lg: 0 24px 60px rgba(14,107,111,0.18), 0 8px 20px rgba(14,107,111,0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
/* Belt-and-braces guard against any horizontal overflow on narrow/odd widths.
   `clip` (unlike `hidden`) does NOT create a scroll container, so the FAQ
   sticky-pin animation keeps working. */
body { overflow-x: clip; max-width: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ========== site-wide background (solid warm beige, V3-look) ========== */
:root { --paper: #FBF7EE; }
.site-bg {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 0;
  pointer-events: none;
}
body { background: var(--paper); }
html { background: var(--paper); }
.hero { background: var(--paper); }
.site-header, .hero, section, .site-footer { position: relative; z-index: 1; }
#menu, #categories, #handwerk, #faq { background: transparent; }

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== typography helpers ========== */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow-light { color: rgba(255,255,255,0.82); }

h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; }
h1 { font-size: clamp(48px, 6.2vw, 86px); }
h2 { font-size: clamp(36px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 28px); }

p { margin: 0; }

/* ========== buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--btn-grad);
  color: var(--cream-50);
  box-shadow: 0 6px 18px rgba(14,107,111,0.28);
}
.btn-primary:hover {
  background: var(--btn-grad-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(14,107,111,0.38);
}
.btn-ghost {
  background: rgba(255,255,255,0.82);
  color: var(--ink-900);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--teal-700);
}
.btn-outline:hover { background: var(--btn-grad); color: var(--cream-50); border-color: transparent; }
.btn-tiny {
  padding: 8px 16px;
  font-size: 13px;
}
.btn-arrow { transition: transform .25s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ========== header ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(250, 246, 236, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(14,107,111,0.06);
}
.site-header.scrolled .nav-link,
.site-header.scrolled .brand-name { color: var(--ink-900); }
.site-header.scrolled .icon-btn { color: var(--ink-900); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.site-header.scrolled .brand-mark { background: rgba(14,107,111,0.06); }
.brand-mark img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) saturate(100%) invert(100%); }
.site-header.scrolled .brand-mark img { filter: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 20px; font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
}
.brand-sub {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}
.site-header.scrolled .brand-sub { color: var(--ink-500); }

.nav {
  display: flex; align-items: center; gap: 28px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color .2s, opacity .2s;
}
.nav-link:hover { opacity: 1; color: #fff; }
.site-header.scrolled .nav-link:hover { color: var(--teal-700); }

.nav-cta {
  display: flex; align-items: center; gap: 10px;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,0.14); }
.site-header.scrolled .icon-btn:hover { background: rgba(14,107,111,0.08); }

@media (max-width: 900px) { .nav { display: none; } }

/* ========== hero ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 560px;
  overflow: hidden;
}
.hero-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-kenburns 28s ease-in-out infinite alternate;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06) translate(-1%, -1%); }
}
/* darken the top so the fixed white header + logo stay readable,
   and the bottom so the live-bar sits cleanly */
.hero-scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,62,66,0.46) 0%, rgba(7,62,66,0.12) 22%, rgba(7,62,66,0) 42%),
    linear-gradient(0deg,  rgba(7,62,66,0.34) 0%, rgba(7,62,66,0) 30%);
}
.hero-frame {
  position: absolute; inset: 24px;
  border: 1px solid rgba(250,246,236,0.42);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-tags {
  position: absolute; left: 50%; top: 92px;
  transform: translateX(-50%);
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  z-index: 3;
}
.hero-tag {
  font-family: var(--sans);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(250,246,236,0.82);
  backdrop-filter: blur(8px);
  color: var(--ink-900);
  border: 1px solid rgba(255,255,255,0.6);
  font-weight: 500;
}
.hero-tag .star { color: var(--grass-deep); margin-right: 4px; }
.hero-headline {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  text-align: center; color: var(--cream-50);
  width: min(900px, 86vw);
  text-shadow: 0 4px 30px rgba(7,62,66,0.5);
  z-index: 3;
}
.hero-headline .lede {
  font-family: var(--serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(40px, 7.2vw, 108px);
  line-height: 0.96; letter-spacing: 0.005em;
}
.hero-headline .sub {
  margin-top: 18px;
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250,246,236,0.92);
}
.hero-bar {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 14px 16px 14px 22px; border-radius: 14px;
  background: rgba(250,246,236,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.65);
  z-index: 3;
}
.hero-bar .meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-700); font-weight: 500;
}
.hero-bar .meta .dot-live {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grass-deep);
  box-shadow: 0 0 0 5px rgba(138,205,78,0.22);
  margin-right: 8px;
}
.hero-bar .meta b { color: var(--ink-900); font-weight: 600; }
.hero-bar .meta .hero-bar-addr { opacity: 0.62; }

/* floating benefits strip — lifts over the hero's bottom edge */
.hero + .container,
.hero .container {
  position: relative;
  z-index: 5;
}
.benefits-strip {
  position: relative;
  z-index: 5;
  margin-top: 22px;
  margin-bottom: 8px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.benefit {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px;
  border-right: 1px solid var(--cream-200);
}
.benefit:last-child { border-right: none; }
.benefit-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--teal-50);
  color: var(--teal-700);
  flex-shrink: 0;
}
.benefit-title { font-size: 12.5px; font-weight: 600; color: var(--ink-900); line-height: 1.25; }
.benefit-sub { font-size: 11px; color: var(--ink-500); margin-top: 1px; line-height: 1.3; }

@media (max-width: 900px) {
  .hero-wrap { aspect-ratio: 3 / 4; min-height: 0; }
  .hero-frame { inset: 12px; }
  .hero-tags { top: 80px; gap: 6px; width: 92vw; }
  .hero-tag { font-size: 9px; letter-spacing: 0.2em; padding: 7px 12px; }
  .hero-headline { width: 92vw; transform: translate(-50%, -52%); }
  .hero-headline .lede { font-size: clamp(34px, 9.5vw, 56px); }
  .hero-headline .sub { margin-top: 12px; font-size: 11px; letter-spacing: 0.18em; }
  .hero-bar { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; gap: 10px; }
  .hero-bar .meta { gap: 10px; font-size: 10px; }
  .hero-bar-addr { display: none; }
  .hero-bar .btn { flex: 1 1 auto; justify-content: center; }
  .benefits-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
    gap: 4px 10px;
  }
}
@media (max-width: 520px) {
  .benefits-strip { grid-template-columns: 1fr; }
  .benefit { border-right: none; border-bottom: 1px solid var(--cream-200); }
  .benefit:last-child { border-bottom: none; }
}

/* ========== section spacing ========== */
section { padding: 100px 0; }
@media (max-width: 900px) { section { padding: 70px 0; } }
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px;
}
.section-title-wrap { max-width: 700px; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 16px; color: var(--ink-500); max-width: 560px; margin-left: auto; margin-right: auto; }
.view-all {
  font-size: 14px; font-weight: 500; color: var(--teal-700);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.view-all:hover { gap: 10px; }

/* ========== bestseller cards ========== */
.bestseller-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  border: 1px solid rgba(14,107,111,0.06);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card .card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--cream-100);
}
.product-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px;
  background: var(--teal-700);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
.card-body { padding: 16px 16px 18px; }
.card-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink-900);
}
.card-desc {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.4;
  min-height: 34px;
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
}
.card-price { font-size: 15px; font-weight: 600; color: var(--ink-900); }
.card-add {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--ink-900);
  display: grid; place-items: center;
  transition: background .2s, color .2s, transform .2s;
}
.card-add:hover { background: var(--btn-grad); color: #fff; transform: rotate(90deg); }

@media (max-width: 1100px) { .bestseller-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .bestseller-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ========== category cards ========== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.category-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid rgba(14,107,111,0.06);
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.category-media {
  width: 88px; height: 88px;
  border-radius: var(--r-sm);
  overflow: hidden; flex-shrink: 0;
  background: var(--cream-100);
}
.category-media img { width: 100%; height: 100%; object-fit: cover; }
.category-name { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.category-desc { font-size: 12px; color: var(--ink-500); margin-top: 4px; }

@media (max-width: 1000px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .category-grid { grid-template-columns: 1fr; } }

/* ========== story ========== */
.story-section { padding: 40px 0 80px; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  background: var(--cream-100);
  border-radius: var(--r-xl);
  padding: 18px;
  align-items: stretch;
}
.story-text {
  background: var(--cream-50);
  border-radius: var(--r-lg);
  padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.story-text::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(14,107,111,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.story-text .eyebrow { margin-bottom: 14px; }
.story-text h2 { margin-bottom: 22px; }
.story-text p { color: var(--ink-500); font-size: 15.5px; line-height: 1.75; margin-bottom: 16px; }
.story-text .btn { margin-top: 18px; align-self: flex-start; }
.story-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background: var(--cream-100);
  cursor: zoom-in;
}
.story-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.story-image:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-text { padding: 36px 28px; }
  .story-image { min-height: 280px; }
}

/* ========== craft/process ========== */
.craft-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.craft-item {
  padding: 26px 22px;
  text-align: left;
  position: relative;
}
.craft-item + .craft-item::before {
  content: '';
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--cream-300);
}
.craft-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-700);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.craft-icon {
  color: var(--teal-700);
  margin-bottom: 16px;
}
.craft-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.craft-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink-900); }
.craft-sub { font-size: 13.5px; line-height: 1.6; color: var(--ink-500); }

@media (max-width: 900px) {
  .craft-row { grid-template-columns: 1fr 1fr; }
  .craft-item + .craft-item::before { display: none; }
}

/* ========== testimonials ========== */
.testimonials { background: linear-gradient(180deg, transparent 0%, var(--cream-100) 60%, transparent 100%); padding: 60px 0; }
.testimonials-stage {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 60px;
}
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.testimonial {
  background: #fff;
  border-radius: var(--r-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,107,111,0.05);
}
.stars { color: var(--warm-500); display: flex; gap: 2px; margin-bottom: 14px; }
.testimonial-quote { font-family: var(--serif); font-size: 18.5px; line-height: 1.45; color: var(--ink-900); margin-bottom: 20px; min-height: 108px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  color: var(--teal-800);
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.author-role { font-size: 12px; color: var(--ink-500); }

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  color: var(--teal-700);
  transition: all .2s;
  z-index: 2;
}
.carousel-btn:hover { background: var(--btn-grad); color: #fff; transform: translateY(-50%) scale(1.05); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

@media (max-width: 900px) {
  .testimonials-stage { padding: 0 46px; }
  .testimonials-track { grid-template-columns: 1fr; }
}

/* ========== instagram band ========== */
.insta-band {
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 38%, #8134AF 72%, #515BD4 100%);
  border-radius: var(--r-xl);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  box-shadow: 0 10px 30px rgba(129,52,175,0.22);
}
.insta-band:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(129,52,175,0.32);
}
.insta-band::before {
  content: '';
  position: absolute;
  top: -90px; right: -50px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.insta-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}
.insta-text { position: relative; }
.insta-title { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; }
.insta-sub { font-size: 14px; color: rgba(255,255,255,0.9); margin-top: 6px; max-width: 46ch; }
.insta-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  color: #C1318A;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14.5px; font-weight: 600;
  white-space: nowrap;
  position: relative;
  transition: gap .2s;
}
.insta-band:hover .insta-cta { gap: 14px; }
.insta-cta .btn-arrow { transition: transform .25s; }
.insta-band:hover .insta-cta .btn-arrow { transform: translateX(3px); }

@media (max-width: 820px) {
  .insta-band { grid-template-columns: auto 1fr; gap: 18px 20px; padding: 28px 26px; }
  .insta-cta { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 480px) {
  .insta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .insta-sub { margin-inline: auto; }
}

/* ========== faq ========== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 44px;
  align-items: center;
}
.faq-visual {
  position: relative;
  aspect-ratio: 9/16;
  background: transparent;
  display: grid;
  place-items: center;
}
.faq-visual img { width: 100%; height: 100%; object-fit: cover; }
.faq-visual canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The view pans vertically through the tall 9:16 frame as the coffee pours —
     --pan is driven by scroll progress in JS (top of frame → full cup). This
     keeps the cup large and makes sure it ends fully in view. */
  object-position: 50% var(--pan, 8%);
  display: block;
  filter:
    drop-shadow(0 24px 40px rgba(14, 107, 111, 0.18))
    drop-shadow(0 8px 18px rgba(14, 107, 111, 0.12));
  will-change: object-position;
}
.faq-canvas-bar {
  position: absolute;
  right: 16px;
  top: 12%;
  bottom: 12%;
  width: 3px;
  background: rgba(14, 107, 111, 0.14);
  border-radius: 999px;
  overflow: hidden;
  pointer-events: none;
}
.faq-canvas-bar span {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--teal-400), var(--teal-700));
  border-radius: inherit;
  transition: height .08s linear;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--cream-300);
  padding: 22px 4px;
  cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16.5px; font-weight: 500; color: var(--ink-900);
  gap: 18px;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cream-100);
  display: grid; place-items: center;
  color: var(--teal-700);
  transition: background .2s, transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { background: var(--teal-700); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.2,.8,.2,1), padding .25s, opacity .25s;
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.65;
  opacity: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding: 12px 0 4px; opacity: 1; }

/* Scroll-pin FAQ: section is tall (240vh), grid sticks while user scrolls */
.faq-pin {
  position: relative;
  height: 300vh;
  padding: 0;
}
.faq-pin__stage {
  position: sticky;
  top: 96px;
  height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  padding: 32px 0;
  overflow: hidden;
}
.faq-pin__stage > .container { width: 100%; }
.faq-pin .faq-grid {
  align-items: center;
}
.faq-pin .faq-visual {
  /* A moderate portrait frame (taller than wide, but not the extreme 9:16 of
     the source) so the cup renders large. object-fit: cover crops the tall
     frame and the JS pan slides the view down to the cup as the coffee pours.
     Height is capped to the pinned stage so nothing is clipped. */
  height: min(62vh, calc(100vh - 96px - 64px - 24px));
  max-height: none;
  aspect-ratio: 3 / 4;
  width: auto;
  max-width: 460px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  /* Mobile keeps the SAME sticky-pin behaviour as desktop: the cup pins to the
     top, the coffee pours fully while pinned, then the FAQ list sits below it.
     Stacked vertically so both fit on a phone. */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }
  .faq-pin .faq-visual {
    aspect-ratio: 3 / 4;
    /* cap to ~46% of the pinned stage so the cup + the FAQ list both fit */
    height: min(42vh, 360px);
    width: auto;
    max-width: 300px;
    margin-inline: auto;
  }
  .faq-canvas-bar {
    top: auto; bottom: -10px;
    left: 25%; right: 25%;
    width: auto; height: 3px;
  }
  .faq-canvas-bar span {
    top: 0; bottom: 0; left: 0; right: auto;
    height: 100%; width: 0%;
    transition: width .08s linear;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-pin { height: auto; }
  .faq-pin__stage { position: relative; height: auto; }
  .faq-canvas-bar span { transition: none; }
}

/* ========== visit (map + hours) ========== */
.visit { position: relative; }
.visit .section-head { max-width: 780px; margin: 0 auto 56px; }
.visit-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-300);
  background: #fff;
  min-height: 440px;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  min-height: 440px;
  border: 0; display: block;
  filter: grayscale(0.12) contrast(1.02);
}
.info-card {
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px;
}
.info-card h3 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 12px; }
.info-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--cream-200);
}
.info-row:last-of-type { border-bottom: 0; }
.info-row .label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal-700); min-width: 78px; font-weight: 600; padding-top: 3px;
}
.info-row .val { font-size: 15px; color: var(--ink-500); flex: 1; line-height: 1.55; }
.info-row .val b { color: var(--ink-900); font-weight: 600; }
.info-note { color: var(--ink-300); font-size: 13px; }
.info-row .val .open-now {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(138, 205, 78, 0.18);
  color: var(--teal-800);
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 6px;
}
.info-row .val .open-now::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grass-deep);
  animation: open-pulse 2.4s ease-in-out infinite;
}
@keyframes open-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.info-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 880px) {
  .visit-split { grid-template-columns: 1fr; gap: 20px; }
  .info-card { padding: 28px; }
}

/* ========== footer ========== */
/* footer: soft-mint rounded card floating on the beige page */
:root { --mint: #8FC8CC; --mint-deep: #76B6BC; --mint-ink: #123438; }
.site-footer {
  background: var(--mint);
  color: var(--mint-ink);
  padding: 64px 48px 28px;
  position: relative;
  overflow: hidden;
  margin: 0 16px 16px;
  border-radius: 32px;
}
.site-footer::before {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(20,58,54,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.footer-brand .brand-name { color: var(--mint-ink); font-size: 22px; }
.footer-brand .brand-sub { color: rgba(20,58,54,0.6); }
.footer-brand p { font-size: 13.5px; color: rgba(20,58,54,0.7); margin-top: 20px; line-height: 1.65; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(20,58,54,0.08);
  display: grid; place-items: center;
  color: var(--mint-ink);
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--mint-ink); color: var(--mint); }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mint-ink);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13.5px;
  color: rgba(20,58,54,0.72);
  transition: color .2s;
}
.footer-col a:hover { color: var(--mint-ink); }
.footer-contact li { font-size: 13.5px; color: rgba(20,58,54,0.78); line-height: 1.55; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { color: var(--mint-ink); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(20,58,54,0.14);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: rgba(20,58,54,0.6);
  position: relative;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--mint-ink); }
@media (max-width: 600px) {
  .site-footer { padding: 48px 24px 24px; border-radius: 24px; margin: 0 10px 10px; }
}

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ========== reveal on scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* subtle floating leaves in hero (decorative) */
.hero-leaf {
  position: absolute;
  color: rgba(143,214,209,0.5);
  animation: floaty 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-leaf.l1 { top: 18%; left: 58%; animation-delay: -2s; }
.hero-leaf.l2 { top: 64%; left: 52%; animation-delay: -5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

/* ========== phone refinements (<= 640px) ========== */
@media (max-width: 640px) {
  /* container gutters */
  .container { padding: 0 18px; }

  /* header: tighter, no line wrap, hide search icon */
  .site-header { padding: 0; }
  .nav-inner { gap: 10px; padding: 14px 0; }
  .brand { gap: 9px; min-width: 0; flex: 0 1 auto; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark img { width: 24px; height: 24px; }
  .brand > div { min-width: 0; }
  .brand-name { font-size: 17px; white-space: nowrap; }
  .brand-sub { font-size: 8.5px; letter-spacing: 0.22em; white-space: nowrap; }
  .nav-cta { gap: 6px; flex-shrink: 0; }
  .nav-cta .icon-btn[aria-label="Suche"] { display: none; }
  .nav-cta .icon-btn { width: 34px; height: 34px; }
  .nav-cta .btn-tiny { padding: 8px 14px; font-size: 12px; letter-spacing: 0; }

  /* hero: vertical overlay, centered content, space for benefits strip */
  .hero {
    padding: 110px 0 70px;
    min-height: auto;
    text-align: center;
  }
  .hero-bg { background-position: 62% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(7,62,66,0.62) 0%,
        rgba(7,62,66,0.38) 22%,
        rgba(7,62,66,0.32) 55%,
        rgba(7,62,66,0.78) 100%);
  }
  .hero h1 em { color: #B7F0E8; text-shadow: 0 2px 20px rgba(7,62,66,0.55); }
  .hero-inner { gap: 0; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: 0.24em; }
  .hero h1 { font-size: 44px; line-height: 1.05; margin-bottom: 18px; }
  .hero-sub { font-size: 15px; margin: 0 auto 28px; max-width: 100%; }
  .hero-ctas { justify-content: center; gap: 10px; }
  .hero-ctas .btn { flex: 1 1 140px; justify-content: center; padding: 13px 18px; font-size: 14px; }
  .hero-leaf { display: none; }

  /* benefits strip: single column stack, below hero CTAs without overlap */
  .benefits-strip {
    margin-top: 24px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 18px;
    border-radius: var(--r-md);
  }
  .benefit {
    padding: 14px 6px;
    border-right: none;
    border-bottom: 1px solid var(--cream-200);
  }
  .benefit:last-child { border-bottom: none; padding-bottom: 4px; }
  .benefit:first-child { padding-top: 4px; }

  /* sections: tighter rhythm on phone */
  section { padding: 56px 0; }
  #categories { padding-top: 10px !important; }
  .story-section { padding: 30px 0 56px; }
  .section-head { margin-bottom: 34px; }
  .section-head-row { flex-direction: column; align-items: flex-start; margin-bottom: 28px; gap: 14px; }
  h2 { font-size: 32px; }

  /* newsletter stack */
  .newsletter-band { padding: 28px 22px; gap: 18px; border-radius: var(--r-lg); }
  .nl-title { font-size: 22px; }
  .nl-form { flex-wrap: wrap; padding: 5px; }
  .nl-form input { min-width: 0; flex: 1 1 160px; font-size: 13.5px; }
  .nl-form button { flex: 0 0 auto; }

  /* story card padding */
  .story-text { padding: 30px 22px; }

  /* testimonials: no side arrows inside, less padding */
  .testimonials-stage { padding: 0 12px; }
  .carousel-btn { width: 38px; height: 38px; }
  .testimonial { padding: 22px 20px; }
  .testimonial-quote { font-size: 17px; min-height: auto; }

  /* faq pin: shorter, later scroll start */
  .faq-pin { height: 170vh; }
  .faq-pin .faq-visual { max-width: 240px; }
  h2[style] { font-size: 30px !important; }

  /* footer bottom wrap */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; }
  .footer-bottom > div:last-child { flex-wrap: wrap; }

  /* gentler reveal motion on phone */
  .reveal { transform: translateY(16px); }
}

/* very narrow screens */
@media (max-width: 380px) {
  .brand-sub { display: none; }
  .nav-cta .icon-btn[aria-label="Warenkorb"] { display: none; }
  .hero h1 { font-size: 40px; }
}
