/*
 * components.css — Buttons, Hero, Karten, Siegel, Navigation, Reveals
 * ==========================================================================*/

/* ========================================================================== */
/* Eyebrow / Label in Versalien                                                */
/* ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--c-gold-deep);
}
.eyebrow::before {
  content: "";
  width: 1.8em; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--forest .eyebrow,
.eyebrow--light { color: var(--c-gold-soft); }

/* ========================================================================== */
/* Buttons — Pill-Form, klare Hover-States (Design-Brief)                       */
/* ========================================================================== */
.btn {
  --btn-bg: var(--c-gold);
  --btn-fg: var(--c-espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 1.7em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bg);
  border-radius: var(--r-pill);
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--c-gold); --btn-fg: var(--c-espresso); }
.btn--primary:hover { background: var(--c-gold-deep); border-color: var(--c-gold-deep); }

.btn--forest { --btn-bg: var(--c-forest); --btn-fg: var(--c-cream); }
.btn--forest:hover { background: var(--c-forest-deep); border-color: var(--c-forest-deep); box-shadow: var(--shadow-md); }

/* Ghost / Outline */
.btn--ghost {
  background: transparent;
  --btn-fg: var(--c-espresso);
  border-color: var(--c-espresso);
}
.btn--ghost:hover {
  background: var(--c-espresso);
  color: var(--c-cream);
  box-shadow: var(--shadow-md);
}
.btn--ghost-light {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(247, 239, 223, 0.55);
}
.btn--ghost-light:hover { background: var(--c-cream); color: var(--c-espresso); }

.btn--sm { padding: 0.6em 1.2em; font-size: var(--fs-xs); }
.btn--lg { padding: 1em 2.1em; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }

/* Text-Link mit Pfeil */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--c-forest);
}
.btn-text::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}
.btn-text:hover { color: var(--c-moss); }
.btn-text:hover::after { transform: translateX(4px); }

/* ========================================================================== */
/* Dekorative Formen (Atmosphäre statt Volltonfläche)                          */
/* ========================================================================== */
.blob {
  position: absolute;
  border-radius: 48% 52% 57% 43% / 47% 45% 55% 53%;
  background: radial-gradient(circle at 35% 30%, var(--c-gold-soft), var(--c-gold) 70%);
  filter: blur(2px);
  opacity: 0.5;
  z-index: var(--z-base);
  pointer-events: none;
}
.dot-grid {
  position: absolute;
  width: 120px; height: 120px;
  background-image: radial-gradient(var(--c-gold-deep) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.35;
  pointer-events: none;
}

/* ========================================================================== */
/* HERO — selbstbewusst, zentriert (Layout-Prinzip 4)                          */
/* ========================================================================== */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3rem, 4vw + 1rem, 6rem) clamp(2.5rem, 4vw, 5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.hero__content { position: relative; z-index: var(--z-reveal); max-width: 36ch; }
.hero__title {
  font-size: var(--fs-hero);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-block: 0.3em 0.4em;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero__title .is-gold { color: var(--c-gold-deep); font-style: italic; }
.hero__lead {
  font-size: var(--fs-md);
  color: var(--muted);
  margin-bottom: var(--space-md);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.hero__media {
  position: relative;
  z-index: var(--z-reveal);
  display: grid;
  place-items: center;
}
.hero__product {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.hero__product img { width: 100%; height: 100%; object-fit: cover; }
.hero__blob-1 { width: 420px; height: 420px; top: -8%; right: -6%; }
.hero__blob-2 {
  width: 280px; height: 280px; bottom: -10%; left: -8%;
  background: radial-gradient(circle at 40% 35%, #8fa86a, var(--c-forest) 75%);
  opacity: 0.28;
}
.hero__dots { bottom: 8%; right: 4%; }

/* schwebendes Siegel auf dem Hero-Bild */
.hero__seal {
  position: absolute;
  bottom: -22px; left: -22px;
  width: clamp(86px, 11vw, 120px);
  height: clamp(86px, 11vw, 120px);
  background: var(--c-paper);
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  transform: rotate(-6deg);
  padding: 0.5rem;
}
.hero__seal span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  line-height: 1.1;
  color: var(--c-forest);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 100%; margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__product { transform: none; margin-top: var(--space-sm); }
}
@media (max-width: 560px) {
  /* Hero-Headline auf schmalen Phones sicher fassen (Worst Case passt) */
  .hero__title { font-size: clamp(1.9rem, 7.5vw, 2.5rem); letter-spacing: -0.03em; }
  .hero__title .is-gold { display: inline-block; }
}

/* ========================================================================== */
/* TRUST / SIEGEL-LEISTE (Layout-Prinzip 3)                                    */
/* ========================================================================== */
.trust-bar {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fbf7ee; /* Fallback ohne color-mix-Support */
  background: color-mix(in srgb, var(--c-paper) 60%, transparent);
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding-block: var(--space-md);
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  text-align: center;
  filter: saturate(0.92);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.trust-badge:hover { transform: translateY(-3px); filter: saturate(1.1); }
.trust-badge img,
.trust-badge svg { width: clamp(56px, 8vw, 78px); height: auto; }
.trust-badge span {
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  font-weight: 600;
}

/* ========================================================================== */
/* USP-Karte (Bio / Traditionell / Ausgezeichnet)                              */
/* ========================================================================== */
.usp {
  position: relative;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.usp:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.usp__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--c-gold-soft);
  color: var(--c-forest);
  margin-bottom: var(--space-sm);
}
.usp__icon svg { width: 30px; height: 30px; }
.usp h3 { margin-bottom: 0.4em; }
.usp p { color: var(--muted); font-size: var(--fs-sm); }

/* ========================================================================== */
/* Generische Karte / Produkt- & Rezeptkachel                                  */
/* ========================================================================== */
.card {
  position: relative;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-cream-2);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--space-sm) var(--space-sm) var(--space-md); display: flex; flex-direction: column; gap: 0.5em; flex: 1; }
.card__title { font-size: var(--fs-md); }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--c-gold-deep); }
.card__excerpt { color: var(--muted); font-size: var(--fs-sm); }
.card__foot { margin-top: auto; padding-top: var(--space-xs); }

/* Pill-Tag (z. B. Rezeptkategorie, Meta) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.85em;
  border-radius: var(--r-pill);
  background: var(--c-gold-soft);
  color: var(--c-forest-deep);
  font-size: var(--fs-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag--forest { background: rgba(54, 73, 42, 0.12); color: var(--c-forest); }

/* Rezept-Meta-Zeile (Zeit / Portionen / Schwierigkeit) */
.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--muted);
}
.recipe-meta li { display: inline-flex; align-items: center; gap: 0.4em; }
.recipe-meta svg { width: 16px; height: 16px; color: var(--c-gold-deep); }

/* ========================================================================== */
/* Logo- / Händlerleiste                                                       */
/* ========================================================================== */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.logo-row__item {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-cocoa);
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.logo-row__item:hover { opacity: 1; filter: grayscale(0); }

/* ========================================================================== */
/* Newsletter                                                                  */
/* ========================================================================== */
.newsletter {
  background: var(--c-forest);
  color: var(--c-cream);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.newsletter::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 360px; height: 360px;
  background: radial-gradient(circle at 40% 40%, rgba(217,162,63,0.45), transparent 70%);
  pointer-events: none;
}
.newsletter__inner { position: relative; z-index: 1; max-width: 620px; margin-inline: auto; text-align: center; }
.newsletter__form {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}
.newsletter__form input[type="email"] {
  flex: 1;
  padding: 0.9em 1.3em;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(247,239,223,0.3);
  background: rgba(247,239,223,0.08);
  color: var(--c-cream);
  font-size: var(--fs-sm);
}
.newsletter__form input::placeholder { color: rgba(236,228,207,0.6); }
.newsletter__form input:focus-visible { outline-color: var(--c-gold); border-color: var(--c-gold); }
.newsletter__note { margin-top: var(--space-sm); font-size: var(--fs-xs); color: var(--c-footer-muted); }
.newsletter__note a { color: var(--c-gold-soft); text-decoration: underline; }
@media (max-width: 520px) {
  .newsletter__form { flex-direction: column; }
}

/* ========================================================================== */
/* Mobile-Navigation (Off-Canvas) + Hamburger                                  */
/* ========================================================================== */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-paper);
  align-items: center; justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--c-espresso);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top: 6px; }
[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: var(--c-paper);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-menu);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  padding: calc(var(--header-h) + var(--space-md)) var(--space-md) var(--space-md);
  overflow-y: auto;
  visibility: hidden;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a {
  display: block;
  padding: 0.7em 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--c-espresso);
  border-bottom: 1px solid var(--c-line-soft);
}
.mobile-nav a:hover { color: var(--c-gold-deep); }
.mobile-nav__contact { margin-top: var(--space-md); font-size: var(--fs-sm); color: var(--muted); }
.mobile-nav__contact a { font-family: var(--font-body); font-size: var(--fs-sm); border: 0; padding: 0.3em 0; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(41, 32, 15, 0.45);
  backdrop-filter: blur(2px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease);
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
}

/* ========================================================================== */
/* Warenkorb-Icon im Header                                                     */
/* ========================================================================== */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  color: var(--c-espresso);
  transition: background var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.cart-link:hover { background: var(--c-gold-soft); color: var(--c-espresso); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--c-terracotta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--r-pill);
  border: 2px solid var(--c-cream);
}
.cart-count.is-empty { display: none; }
.cart-count.is-bumped { animation: cart-bump 0.45s var(--ease); }
@keyframes cart-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ========================================================================== */
/* SCROLL-REVEAL — wird per IntersectionObserver aktiviert                      */
/* ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Gestaffelte Kinder (USP-/Karten-Raster) */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 360ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 450ms; }

/* Wenn JS aus / reduced-motion: Inhalte sofort sichtbar (kein Verstecken) */
.no-js [data-reveal],
.no-js [data-reveal-stagger] > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ========================================================================== */
/* Platzhalter-Bild (SVG-Helper)                                               */
/* ========================================================================== */
.ph {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, var(--c-gold-soft), var(--c-cream-2));
  color: var(--c-cocoa);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  text-align: center;
  padding: 1rem;
}
.ph::after {
  content: attr(data-label);
  opacity: 0.75;
}

/* ========================================================================== */
/* Footer-Innendetails                                                         */
/* ========================================================================== */
.footer-col h4 {
  color: var(--c-gold-soft);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55em; }
.footer-col a { color: var(--c-footer-ink); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--c-gold-soft); }
.footer-brand p { color: var(--c-footer-muted); font-size: var(--fs-sm); max-width: 34ch; }
.footer-brand__logo { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--c-cream); font-weight: 600; }
.footer-social { display: flex; gap: var(--space-xs); margin-top: var(--space-sm); }
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid rgba(236,228,207,0.2);
  color: var(--c-footer-ink);
}
.footer-social a:hover { background: var(--c-gold); color: var(--c-espresso); border-color: var(--c-gold); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom a { color: var(--c-footer-muted); text-decoration: underline; }
.footer-bottom a:hover { color: var(--c-gold-soft); }

/* ========================================================================== */
/* Paginierung                                                                 */
/* ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4em;
  margin-top: var(--space-xl);
}
.pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 44px; height: 44px;
  padding: 0 0.6em;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line);
  color: var(--c-espresso);
  font-weight: 600;
  background: var(--c-paper);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--c-forest); color: var(--c-cream); border-color: var(--c-forest); }

/* ========================================================================== */
/* Seiten-/Beitrags-Inhalt (prose)                                             */
/* ========================================================================== */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4em; display: flex; flex-direction: column; gap: 0.4em; }
.prose li { max-width: 66ch; }
.prose img { border-radius: var(--r-md); margin-block: 1.2em; }
.prose a { text-decoration: underline; }

/* Seiten-Hero (kleine Inhaltsseiten) */
.page-hero {
  padding-block: clamp(2.5rem, 5vw, 5rem) var(--space-lg);
  text-align: center;
}
.page-hero h1 { font-size: var(--fs-3xl); }
.page-hero .lead { font-size: var(--fs-md); color: var(--muted); max-width: 60ch; margin-inline: auto; margin-top: var(--space-sm); }

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--space-sm); }
.breadcrumb a { color: var(--c-cocoa); }
.breadcrumb a:hover { color: var(--c-gold-deep); }

/* Kontaktblock */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--c-paper); border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); padding: var(--space-md); box-shadow: var(--shadow-sm); }
.contact-card dt { font-weight: 700; color: var(--c-forest); margin-top: var(--space-sm); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-card dd { margin: 0.2em 0 0; font-size: var(--fs-md); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.contact-form label { font-weight: 600; font-size: var(--fs-sm); display: flex; flex-direction: column; gap: 0.4em; }
.contact-form input,
.contact-form textarea {
  padding: 0.8em 1em;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-paper);
  font-size: var(--fs-sm);
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible { outline-color: var(--c-forest); border-color: var(--c-forest); }

/* ========================================================================== */
/* VERKAUFS- & TRUST-ELEMENTE                                                   */
/* Award-Band · Sterne · Bundle · Bewertungen · Low-Stock · Assurance-Leiste.   */
/* Bewusst ruhig gehalten (warme Creme-/Gold-/Forest-Palette), premium statt    */
/* marktschreierisch – gleiche Tokens, Radien und Schatten wie der Rest.        */
/* ========================================================================== */

/* — Award- & Trust-Band (Startseite, direkt unter dem Hero) — */
.award-band {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fbf7ee; /* Fallback ohne color-mix-Support */
  background: color-mix(in srgb, var(--c-paper) 55%, transparent);
}
.award-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vw, 3rem);
  padding-block: var(--space-md);
}
.award-hero {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.55rem 1.3rem 0.55rem 0.6rem;
  background: var(--c-gold-soft); /* Fallback */
  background: linear-gradient(135deg, var(--c-gold-soft), #f8e8c6);
  border: 1px solid rgba(217, 162, 63, 0.5);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.award-hero__medal { flex: 0 0 auto; display: grid; place-items: center; }
.award-hero__medal svg { width: 54px; height: 54px; }
.award-hero__text { display: flex; flex-direction: column; line-height: 1.2; }
.award-hero__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--c-espresso); }
.award-hero__sub { font-size: var(--fs-2xs); color: var(--c-cocoa); }
.award-badges { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(0.7rem, 2vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.award-badges li { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--fs-sm); font-weight: 600; color: var(--c-cocoa); }
.award-badges svg { width: 18px; height: 18px; color: var(--c-forest); flex: 0 0 auto; }
.award-band__seals { display: inline-flex; align-items: center; gap: 1rem; }
.award-band__seals img { height: 40px; width: auto; }
.award-band__seals img[alt*="Bioland"] { background: #fff; border-radius: 6px; padding: 3px; }
@media (max-width: 600px) {
  .award-band__inner { gap: var(--space-sm); }
  .award-badges { justify-content: center; }
}

/* — Sterne-Rating (gefüllte Gold-Sterne) — */
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--c-gold); line-height: 1; vertical-align: middle; }
.stars svg { width: 1.05em; height: 1.05em; }
.stars--sm { font-size: 13px; }

/* Rating-Zeile in Produktkarten */
.product-rating { display: inline-flex; align-items: center; gap: 0.45em; font-size: var(--fs-xs); color: var(--muted); }
.product-rating__count { font-weight: 600; }

/* — Low-Stock / Verknappung (dezent, Akzentfarbe – nie blinkend) — */
.low-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-terracotta);
}
.low-stock::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(177, 80, 44, 0.16);
}

/* — Vorteils-Bundle „Entdecker-Set" — */
.bundle {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: var(--space-lg);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  background: var(--c-paper); /* Fallback */
  background: linear-gradient(135deg, rgba(241, 212, 147, 0.35), var(--c-paper) 65%);
  border: 1.5px solid rgba(217, 162, 63, 0.55);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bundle:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bundle__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 120% at 50% 30%, var(--c-gold-soft) 0%, var(--c-cream-2) 72%);
  overflow: hidden;
}
.bundle__img { width: 52%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.bundle__img:first-child { transform: translateX(12%) rotate(-3deg); z-index: 1; }
.bundle__img:last-child { transform: translateX(-12%) rotate(3deg); }
.bundle__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6em; margin-bottom: var(--space-xs); }
.bundle__title { font-size: var(--fs-lg); margin: 0.1em 0 0.2em; }
.bundle__desc { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--space-sm); max-width: 42ch; }
.bundle__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6em; margin-bottom: var(--space-sm); }
.bundle__price del { color: var(--muted); opacity: 0.7; font-size: var(--fs-md); }
.bundle__price ins { text-decoration: none; color: var(--c-forest); font-weight: 700; font-size: var(--fs-xl); }
.save-badge {
  display: inline-flex; align-items: center;
  padding: 0.3em 0.8em;
  border-radius: var(--r-pill);
  background: var(--c-gold-soft);
  color: var(--c-forest-deep);
  font-size: var(--fs-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 720px) {
  .bundle { grid-template-columns: 1fr; }
  .bundle__media { aspect-ratio: 16 / 9; }
}

/* — Bewertungen (Reviews) — */
.rating-summary {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center;
  gap: 0.5em;
  margin-top: var(--space-xs);
  font-size: var(--fs-sm); color: var(--muted);
}
.rating-summary .stars { font-size: 20px; }
.rating-summary strong { color: var(--ink); font-size: var(--fs-md); }
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.review-card {
  display: flex; flex-direction: column; gap: var(--space-sm);
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review-card__text { font-family: var(--font-display); font-size: var(--fs-md); line-height: 1.4; color: var(--ink); }
.review-card__author { display: flex; align-items: center; gap: 0.7em; margin-top: auto; }
.review-card__avatar {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--c-forest);
  color: var(--c-cream);
  font-family: var(--font-display); font-weight: 600;
}
.review-card__meta { font-size: var(--fs-sm); line-height: 1.35; }
.review-card__meta small { color: var(--muted); }

/* — Assurance-/Trust-Leiste (Versand, Zahlung, Rückgabe) — */
.assurance {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.8rem, 2.2vw, 1.8rem);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--c-line-soft);
  list-style: none;
}
.assurance li { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.assurance svg { width: 20px; height: 20px; color: var(--c-forest); flex: 0 0 auto; }
.assurance--center { justify-content: center; margin-top: var(--space-lg); }
/* Kompakte Variante für den Mini-Warenkorb (2×2) */
.assurance--mini {
  gap: 0.4em 0.9em;
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
}
.assurance--mini li { font-size: var(--fs-2xs); width: calc(50% - 0.5em); }
.assurance--mini svg { width: 16px; height: 16px; }
