:root {
  --ink: #141816;
  --ink-soft: #4a524c;
  --cream: #f2f3f0;
  --cream-dim: #e4e7e1;
  --paper: #ffffff;
  --ember: #1f4d3a;
  --ember-deep: #163828;
  --olive: #1f4d3a;
  --olive-soft: #3d6b55;
  --gold: #c9b896;
  --line: rgba(20, 24, 22, 0.1);
  --shadow: 0 18px 50px rgba(20, 24, 22, 0.14);
  --radius: 6px;
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-solid {
  background: rgba(242, 243, 240, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(20, 24, 22, 0.06);
}
.site-header:not(.is-solid) .brand {
  opacity: 0;
  pointer-events: none;
}
.site-header:not(.is-solid) .cart-btn {
  background: rgba(20, 24, 22, 0.28);
  color: rgba(247, 240, 230, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  opacity: 0.75;
}
.site-header.is-solid .brand { opacity: 1; pointer-events: auto; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cart-btn:hover { background: var(--ember); transform: translateY(-1px); }
.cart-count {
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: var(--radius);
  background: var(--ember);
  color: #fff;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.06); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(20, 24, 22, 0.22) 0%,
      rgba(20, 24, 22, 0.4) 45%,
      rgba(20, 24, 22, 0.78) 78%,
      #141816 100%
    ),
    radial-gradient(ellipse at 15% 15%, rgba(31, 77, 58, 0.28), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 14vh;
  max-width: 36rem;
  animation: riseIn 0.9s ease both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero-brand em {
  font-style: italic;
  color: var(--gold);
}
.hero p {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: rgba(247, 240, 230, 0.88);
  max-width: 28rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-deep); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247,240,230,0.4);
}
.btn-ghost:hover { background: rgba(247,240,230,0.12); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ——— Meta strip ——— */
.meta-strip {
  position: relative;
  z-index: 2;
  margin-top: 0;
  background: #141816;
  color: var(--cream);
  padding: 1rem 0 1.35rem;
  font-size: 0.9rem;
  border: none;
  box-shadow: none;
}
.meta-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}
.meta-strip strong { color: var(--gold); font-weight: 600; }

/* ——— Category nav ——— */
.cat-nav-wrap {
  position: sticky;
  top: 72px;
  z-index: 30;
  border: none;
  box-shadow: none;
  background: var(--cream);
  backdrop-filter: none;
  padding-top: 0;
  margin-top: 0;
  border-bottom: 1px solid var(--line);
}
.cat-nav-wrap::before { display: none; }
.cat-nav {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cat-nav a:hover,
.cat-nav a.is-active {
  background: var(--ink);
  color: var(--cream);
}

/* ——— Menu ——— */
.menu { padding: 2.5rem 0 5rem; }
.menu-section { padding-top: 1.5rem; margin-bottom: 2.5rem; scroll-margin-top: 140px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
}
.section-head span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: cardIn 0.5s ease both;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.product-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #2a2218;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product:hover .product-media img { transform: scale(1.06); }
.product-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.product-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--line);
  color: var(--olive-soft);
}
.tag-hot { color: var(--ember); border-color: rgba(196,92,38,0.35); }
.tag-18 { color: var(--ink); }
.tag-sale {
  color: #9a3b32;
  background: rgba(154, 59, 50, 0.1);
  border-color: rgba(154, 59, 50, 0.28);
  font-weight: 700;
}
.price-sale {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  color: #8f3f38;
}
.price-sale .sale-amount {
  color: #8f3f38;
  font-weight: 800;
}
.price-sale .price-old {
  color: #8a9188;
  font-size: 0.88em;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.product h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}
.product p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.price {
  font-weight: 800;
  font-size: 1.05rem;
}
.price small {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-right: 0.2rem;
}
.add-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius);
  background: var(--ember);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.add-btn:hover { background: var(--ember-deep); transform: scale(1.08); }
.add-btn:active { transform: scale(0.96); }

/* ——— Cart drawer ——— */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,21,16,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 50;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 420px);
  height: 100%;
  background: var(--paper);
  z-index: 60;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.cart-drawer.is-open { transform: none; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.cart-body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.25rem;
}
.cart-empty {
  color: var(--ink-soft);
  text-align: center;
  padding: 3rem 1rem;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  background: #2a2218;
}
.cart-line h4 { margin: 0 0 0.25rem; font-size: 0.95rem; }
.cart-line .qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.cart-line .qty button {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 700;
}
.cart-line .line-price { font-weight: 700; white-space: nowrap; }
.cart-foot {
  padding: 1rem 1.25rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--cream-dim);
}
.cart-totals { margin-bottom: 0.9rem; display: grid; gap: 0.35rem; }
.cart-total-line,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.cart-total-line {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.cart-total {
  font-size: 1.1rem;
  font-weight: 800;
}
.checkout-form { display: grid; gap: 0.65rem; }
.checkout-form .row-2 {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.5rem;
}
.delivery-hint {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.delivery-hint.error { color: #a11; }
.delivery-hint.ok { color: var(--olive); }
.checkout-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.checkout-form textarea { min-height: 70px; resize: vertical; }
.fulfillment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.fulfillment label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.fulfillment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fulfillment label:has(input:checked) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.form-msg {
  font-size: 0.85rem;
  min-height: 1.2em;
}
.form-msg.error { color: #a11; }
.form-msg.ok { color: var(--olive); }

/* ——— Toast ——— */
.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 80;
}
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ——— Promo popup banner ——— */
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.promo-popup[hidden] { display: none !important; }
.promo-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 22, 0.62);
  backdrop-filter: blur(4px);
}
.promo-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(86svh, 720px);
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  animation: promoIn 0.28s ease both;
}
@keyframes promoIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.promo-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--radius);
  background: rgba(20, 24, 22, 0.72);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.promo-popup-media {
  display: block;
  line-height: 0;
}
.promo-popup-media img {
  width: 100%;
  height: auto;
  max-height: min(80svh, 680px);
  object-fit: contain;
  background: #111;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(247,240,230,0.75);
  padding: 2.5rem 0 2rem;
}
.site-footer .container {
  display: grid;
  gap: 1.5rem;
}
.site-footer h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.5rem;
}
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; }

@media (max-width: 640px) {
  .container { width: min(100% - 1.25rem, var(--max)); }

  .site-header {
    position: fixed;
    pointer-events: none;
  }
  .site-header.is-solid { pointer-events: auto; }
  .header-inner {
    padding: calc(0.55rem + env(safe-area-inset-top)) 0 0.55rem;
  }
  .site-header:not(.is-solid) .header-inner { justify-content: flex-end; }
  .site-header:not(.is-solid) .brand { display: none; }
  .header-actions { pointer-events: auto; }
  .cart-btn { padding: 0.55rem 0.7rem; font-size: 0.78rem; }
  .site-header.is-solid .cart-btn {
    background: var(--ink);
    color: var(--cream);
    border: none;
    opacity: 1;
  }
  .cart-btn-label { display: none; }
  .cart-btn-icon { display: inline; font-size: 1.05rem; line-height: 1; }
  .cart-count {
    position: absolute;
    top: -0.2rem;
    right: -0.15rem;
    background: var(--ember);
    opacity: 1;
  }

  /* Erster Screen = nur Hero; Rest erst beim Scrollen */
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    position: relative;
    background: #141816;
  }
  .hero-media {
    position: absolute;
    inset: 0;
    width: auto;
    line-height: normal;
  }
  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
    animation: none;
  }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(20,24,22,0.18) 0%, rgba(20,24,22,0.35) 45%, rgba(20,24,22,0.88) 100%);
  }
  .hero-content {
    position: relative;
    z-index: 1;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 2.5rem 0 2rem;
    max-width: none;
  }
  .hero-brand { font-size: clamp(2.6rem, 14vw, 3.6rem); margin-bottom: 0.65rem; }
  .hero p { font-size: 0.98rem; margin-bottom: 1.25rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .hero-cta .btn { width: 100%; min-height: 48px; }

  .meta-strip {
    margin-top: 0;
    padding: 0.85rem 0;
    font-size: 0.8rem;
    background: #141816;
  }
  .meta-strip .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .cat-nav-wrap {
    top: 58px;
    padding-top: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .cat-nav-wrap::before { display: none; }
  .cat-nav {
    width: min(100% - 1.25rem, var(--max));
    margin-inline: auto;
    padding: 0.7rem 0;
    gap: 0.4rem;
    box-sizing: border-box;
  }
  .cat-nav a {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }

  .menu { padding: 1.5rem 0 6.5rem; }
  .menu-section { margin-bottom: 1.75rem; scroll-margin-top: 120px; }
  .section-head { margin-bottom: 0.9rem; }
  .section-head h2 { font-size: 1.65rem; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .product {
    display: grid;
    grid-template-columns: 108px 1fr;
    align-items: stretch;
  }
  .product-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 108px;
  }
  .product-body {
    padding: 0.75rem 0.8rem 0.8rem;
    gap: 0.35rem;
  }
  .product h3 { font-size: 1rem; }
  .product p {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
  }
  .product-foot { margin-top: auto; }
  .price { font-size: 0.95rem; }
  .add-btn { width: 2.15rem; height: 2.15rem; font-size: 1.2rem; }

  .cart-drawer { width: 100%; }
  .cart-foot { padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
  .fulfillment label { font-size: 0.85rem; padding: 0.65rem; }
  .checkout-form .row-2 { grid-template-columns: 1fr; }
  .btn { min-height: 46px; }
}

.cart-btn { position: relative; }
.cart-btn-icon { display: none; }

@media (min-width: 641px) {
  .cart-btn-icon { display: none !important; }
}
