/* ==========================================================================
   Bienenknecht – Theme-Stylesheet (Designsystem V2)

   Haltung: ruhig, präzise, zeitlos. Schweizer Typografie-Tradition –
   klare Hierarchie, feine Linien statt Karten und Schatten, grosszügiger Weissraum,
   Honiggold nur als sparsamer Akzent. Keine Verläufe, keine Deko-Animationen.

   Mobile-first. Farben, Schriften und Radien kommen als CSS-Variablen aus den
   Theme-Einstellungen (snippets/css-variables.liquid).
   Breakpoints: 750px (Tablet), 990px (Desktop), 1200px (breit)
   ========================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  --gutter: 1.25rem;
  --header-height: 4rem;

  --fs-body: calc(1.0625rem * var(--body-scale, 1));
  --fs-small: calc(0.9375rem * var(--body-scale, 1));
  --fs-xs: 0.8125rem;
  --fs-label: 0.75rem;
  --fs-display: calc(clamp(2.75rem, 1.55rem + 4.9vw, 5.9rem) * var(--heading-scale, 1));
  --fs-h1: calc(clamp(2.4rem, 1.75rem + 2.5vw, 4.1rem) * var(--heading-scale, 1));
  --fs-h2: calc(clamp(2rem, 1.6rem + 1.7vw, 3.2rem) * var(--heading-scale, 1));
  --fs-h3: calc(clamp(1.5rem, 1.35rem + 0.55vw, 1.9rem) * var(--heading-scale, 1));
  --fs-h4: calc(1.3rem * var(--heading-scale, 1));

  --lh-heading: 1.06;
  --lh-body: 1.62;
  --tracking-label: 0.14em;

  --ease: cubic-bezier(0.25, 0.6, 0.2, 1);
  --duration: 0.28s;

  /* Honigtöne – Farbflächen statt Illustrationen (Produkte, Startseite, Farbskala) */
  --tone-hell: #ecdfc3;
  --tone-gold: #d4a75b;
  --tone-bernstein: #ad7836;
  --tone-dunkel: #6a4422;
  --tone-sand: var(--color-surface);
}

@media (min-width: 750px) {
  :root {
    --gutter: 2rem;
  }
}

@media (min-width: 990px) {
  :root {
    --header-height: 4.75rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 3rem;
  }
}

/* ---------- 2. Farbschemata ---------- */
:root,
.color-scheme--light {
  --c-bg: var(--color-background);
  --c-fg: var(--color-text);
  --c-muted: var(--color-text-muted);
  --c-surface: var(--color-surface);
  --c-accent: var(--color-accent);
  --c-accent-text: var(--color-accent-text);
  --c-border: var(--color-border);
  --c-border-strong: var(--color-border-strong);
  --c-btn-bg: var(--color-button);
  --c-btn-fg: var(--color-button-text);
  --c-btn-hover: var(--color-button-hover);
  --c-btn-hover-fg: var(--color-button-text);
  --c-input-bg: color-mix(in srgb, var(--color-background) 40%, #fff);
}

.color-scheme--sand {
  --c-bg: var(--color-surface);
  --c-surface: var(--color-background);
  --c-border: color-mix(in srgb, var(--color-border) 82%, var(--color-text) 8%);
  --c-input-bg: var(--color-background);
}

.color-scheme--dark {
  --c-bg: var(--color-dark-background);
  --c-fg: var(--color-dark-text);
  --c-muted: color-mix(in srgb, var(--color-dark-text) 74%, var(--color-dark-background));
  --c-surface: color-mix(in srgb, var(--color-dark-text) 6%, var(--color-dark-background));
  --c-accent: var(--color-dark-accent);
  --c-accent-text: var(--color-dark-accent);
  --c-border: color-mix(in srgb, var(--color-dark-text) 16%, transparent);
  --c-border-strong: color-mix(in srgb, var(--color-dark-text) 48%, transparent);
  --c-btn-bg: var(--color-dark-text);
  --c-btn-fg: var(--color-dark-background);
  --c-btn-hover: var(--color-dark-accent);
  --c-btn-hover-fg: var(--color-dark-background);
  --c-input-bg: transparent;
}

.color-scheme {
  background-color: var(--c-bg);
  color: var(--c-fg);
}

/* ---------- 3. Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

.main-content {
  flex: 1 0 auto;
}

.main-content:focus {
  outline: none;
}

img,
svg,
video,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

p {
  margin: 0 0 1em;
}

strong,
b {
  font-weight: var(--font-body-weight-bold);
}

hr {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin: 2rem 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  transition: color var(--duration) var(--ease), text-decoration-color var(--duration) var(--ease);
}

a:hover {
  color: var(--c-accent-text);
}

:focus-visible {
  outline: 2px solid var(--c-fg);
  outline-offset: 3px;
}

::selection {
  background: color-mix(in srgb, var(--color-accent) 28%, transparent);
  color: inherit;
}

menu-drawer,
cart-drawer,
product-info,
product-gallery,
product-form,
variant-picker,
product-recommendations {
  display: block;
}

summary {
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

/* ---------- 4. Typografie ---------- */
h1,
h2,
h3,
h4,
.display,
.h1,
.h2,
.h3,
.h4 {
  font-family: var(--font-heading-family);
  font-style: var(--font-heading-style);
  font-weight: var(--font-heading-weight);
  line-height: var(--lh-heading);
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  font-variant-numeric: lining-nums;
}

/* Fliesstext: keine einzelnen Wörter allein auf der letzten Zeile */
p,
li,
dd,
figcaption {
  text-wrap: pretty;
}

.eyebrow {
  text-wrap: balance;
}

.display {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.022em;
}

h1,
.h1 {
  font-size: var(--fs-h1);
}

h2,
.h2 {
  font-size: var(--fs-h2);
}

h3,
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.12;
}

h4,
.h4 {
  font-size: var(--fs-h4);
  line-height: 1.2;
}

/* Kursive in Überschriften bleibt typografisch – ohne Farbwechsel */
:is(h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4) em {
  font-style: italic;
}

.eyebrow {
  display: block;
  margin: 0 0 1.25rem;
  font-family: var(--font-body-family);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-muted);
}

.text-muted {
  color: var(--c-muted);
}

.rte > :first-child {
  margin-top: 0;
}

.rte > :last-child {
  margin-bottom: 0;
}

.rte a {
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}

.rte a:hover {
  text-decoration-color: currentColor;
}

.rte h2,
.rte h3,
.rte h4 {
  margin: 1.6em 0 0.5em;
}

.rte ul,
.rte ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.rte li + li {
  margin-top: 0.35em;
}

.rte blockquote {
  margin: 1.5em 0;
  padding-left: 1.25rem;
  border-left: 1px solid var(--c-accent);
  font-family: var(--font-heading-family);
  font-size: 1.5rem;
  line-height: 1.35;
}

.rte img {
  margin-block: 1.5em;
}

.rte table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: var(--fs-small);
  /* Überlange Wörter auf schmalen Bildschirmen umbrechen statt seitlich scrollen (auch in Shopify-Richtlinien) */
  overflow-wrap: break-word;
}

.rte th,
.rte td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--c-border);
}

/* Offene Angaben im Demo-Modus: klar erkennbar, aber ohne die Gestaltung zu stören */
mark.placeholder-mark {
  color: inherit;
  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
  border-bottom: 1px dashed color-mix(in srgb, var(--color-accent-text) 70%, transparent);
  padding: 0.02em 0.18em;
  border-radius: 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- 5. Layout ---------- */
.page-width {
  width: 100%;
  max-width: calc(var(--page-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-top: calc(var(--pt, 64px) * 0.66);
  padding-bottom: calc(var(--pb, 64px) * 0.66);
}

@media (min-width: 750px) {
  .section {
    padding-top: calc(var(--pt, 64px) * 0.85);
    padding-bottom: calc(var(--pb, 64px) * 0.85);
  }
}

@media (min-width: 1200px) {
  .section {
    padding-top: var(--pt, 64px);
    padding-bottom: var(--pb, 64px);
  }
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-heading--center {
  text-align: center;
  margin-inline: auto;
}

.section-heading__title {
  margin-bottom: 0;
}

.section-heading__text {
  margin-top: 1.1rem;
  color: var(--c-muted);
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.section-heading-row .section-heading {
  margin-bottom: 0;
}

@media (min-width: 990px) {
  .section-heading,
  .section-heading-row {
    margin-bottom: 3.5rem;
  }
}

/* Überschrift links, Inhalt rechts (z. B. «Versand & Abholung») */
@media (min-width: 990px) {
  .split-layout {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 4rem;
    align-items: start;
  }

  .split-layout > .section-heading {
    margin-bottom: 0;
  }
}

/* ---------- 6. Hilfsklassen ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.js .no-js-only,
.no-js .js-only {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--color-button);
  color: var(--color-button-text);
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: var(--color-button-text);
}

/* Nur das Dokument sperren: overflow auf <body> würde body zum eigenen Scrollbereich machen –
   die fixierte Kopfzeile (mit dem Schliessen-Button des Menüs) liefe dann aus dem Bild. */
html.scroll-lock {
  overflow: hidden;
}

/* ---------- 7. Buttons & Links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.125rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body-family);
  font-size: 0.9375rem;
  font-weight: var(--font-body-weight-medium);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.button .icon {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform var(--duration) var(--ease);
}

.button:hover .icon--arrow-right {
  transform: translateX(3px);
}

.button--primary {
  background-color: var(--c-btn-bg);
  color: var(--c-btn-fg);
}

.button--primary:hover {
  background-color: var(--c-btn-hover);
  color: var(--c-btn-hover-fg);
}

.button--secondary {
  background-color: transparent;
  color: var(--c-fg);
  border-color: var(--c-border-strong);
}

.button--secondary:hover {
  border-color: var(--c-fg);
  color: var(--c-fg);
  background-color: color-mix(in srgb, var(--c-fg) 4%, transparent);
}

.button--light {
  background: var(--color-background);
  color: var(--color-text);
}

.button--light:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.button--full {
  width: 100%;
}

.button--large {
  min-height: 3.5rem;
}

.button--small {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  font-size: var(--fs-xs);
}

.button[disabled],
.button[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
}

.button[disabled]:hover {
  background-color: var(--c-btn-bg);
  color: var(--c-btn-fg);
}

.button__spinner {
  display: none;
}

.button.is-loading {
  pointer-events: none;
}

.button.is-loading [data-add-label] {
  opacity: 0.6;
}

.button.is-loading .button__spinner {
  display: inline-flex;
}

.button.is-loading .button__spinner .icon {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}

.button-row--center {
  justify-content: center;
}

@media (max-width: 479px) {
  .button-row .button {
    flex: 1 1 100%;
  }
}

/* Textlink mit Pfeil – die ruhige Alternative zum zweiten Button */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.35rem;
  font-size: 0.9375rem;
  font-weight: var(--font-body-weight-medium);
  text-decoration: underline;
  text-decoration-color: var(--c-border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.42em;
  color: var(--c-fg);
}

.link-arrow:hover {
  color: var(--c-fg);
  text-decoration-color: var(--c-accent);
}

.link-arrow .icon {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform var(--duration) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  font-size: var(--fs-xs);
  text-decoration: none;
  color: var(--c-muted);
}

.link-back .icon {
  width: 1rem;
  height: 1rem;
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.icon-button:hover {
  background-color: color-mix(in srgb, var(--c-fg) 6%, transparent);
  color: inherit;
}

.icon-button .icon {
  width: 1.3rem;
  height: 1.3rem;
}

/* ---------- 8. Etiketten & Hinweise ----------
   Status- und Demo-Etiketten sind ruhige Textzeilen in der Schrift der Dachzeilen – ohne Rahmen, Fläche oder
   «Pille». Hinweise stehen als Text, nicht in farbigen Kästen. */
.badge {
  display: inline;
  font-size: var(--fs-xs);
  font-weight: var(--font-body-weight);
  line-height: 1.4;
  color: var(--c-muted);
}

.badge--accent {
  color: var(--c-accent-text);
}

/* Demo-Hinweis ganz oben: dunkel, klein, eindeutig */
.demo-banner {
  background: var(--color-dark-background);
  color: color-mix(in srgb, var(--color-dark-text) 88%, var(--color-dark-background));
  font-size: var(--fs-xs);
  line-height: 1.45;
}

.demo-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  padding-block: 0.6rem;
  text-align: center;
}

.demo-banner__label {
  font-weight: var(--font-body-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark-text);
}

.notice {
  display: block;
  padding: 0.9rem 0;
  border: 0;
  border-block: 1px solid var(--c-border-strong);
  border-radius: 0;
  background: none;
  font-size: var(--fs-small);
  line-height: 1.55;
}

.notice--warning {
  color: var(--color-text);
}

/* Demo-Hinweise (Produktseite, Formulare der Online-Demo): eine ruhige, gut lesbare Textzeile ohne Kasten */
.demo-note,
.contact-form__demo {
  margin: 0 0 1.25rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--c-fg);
}

.demo-note strong,
.contact-form__demo strong {
  font-weight: var(--font-body-weight-medium);
}

.notice--narrow {
  max-width: 46rem;
}


.notice__title {
  margin: 0 0 0.25rem;
  font-weight: var(--font-body-weight-bold);
}

/* ---------- 9. Medien, Farbflächen & Platzhalter ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  background-color: var(--c-surface);
  border-radius: var(--radius-media);
}

.media-frame--portrait {
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--landscape {
  aspect-ratio: 3 / 2;
}

.media-frame--4x3 {
  aspect-ratio: 4 / 3;
}

.media-frame--wide {
  aspect-ratio: 16 / 9;
}

/* Panorama 21:9 – auf schmalen Bildschirmen wäre das zu flach, dort 3:2 */
.media-frame--panorama {
  aspect-ratio: 3 / 2;
}

@media (min-width: 750px) {
  .media-frame--panorama {
    aspect-ratio: 21 / 9;
  }
}

.media-frame > img,
.media-frame > video,
.media-frame > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
  Kleine Originalfotos (z. B. aus Flyern) werden nie vergrössert: das Foto steht in seiner
  natürlichen Grösse mittig auf der ruhigen Fläche – wie in einem Passepartout.
*/
.media-frame--contain > img {
  inset: 7%;
  width: 86%;
  height: 86%;
  object-fit: scale-down;
}

/* Foto mit anderem Seitenverhältnis als der Rahmen: ganz zeigen (z. B. quadratische Weihnachtsbilder in der Galerie) */
.media-frame--fit > img {
  object-fit: contain;
}

/*
  Produktfotos (Kacheln, Galerie, Vorschaubilder, Warenkorb): eigene Fläche aus der Theme-Einstellung «Hintergrund der
  Produktfotos» – so wirken freigestellte Gläser und Aufnahmen auf weissem Hintergrund gleich.
*/
.product-card__media,
.gallery__slide,
.gallery__thumb,
.cart-item__media,
.origin-product__thumb {
  background-color: var(--color-product-media);
}

/*
  Farbfläche im Honigton (snippets/tone-plate.liquid): matt, ruhig, mit dem Original-Signet
  als zurückhaltende Prägung. Das Signet wird nur transparent gesetzt – nie umgezeichnet.
*/
.tone-plate {
  --tone: var(--tone-gold);
  --mark-opacity: 0.16;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--tone);
  color: var(--color-text);
  --label-opacity: 0.8;
}

.tone-plate--hell {
  --tone: var(--tone-hell);
  --mark-opacity: 0.13;
}

.tone-plate--gold {
  --tone: var(--tone-gold);
}

.tone-plate--bernstein {
  --tone: var(--tone-bernstein);
  --mark-opacity: 0.22;
  --label-opacity: 1;
}

.tone-plate--dunkel {
  --tone: var(--tone-dunkel);
  --mark-opacity: 0.32;
  color: #f6efe4;
}

.tone-plate--sand {
  --tone: var(--tone-sand);
  --mark-opacity: 0.12;
}

.tone-plate__mark {
  width: min(38%, 13rem);
  opacity: var(--mark-opacity);
  mix-blend-mode: multiply;
}

.tone-plate__mark .logo,
.tone-plate__mark .logo img {
  display: block;
  width: 100%;
  height: auto;
}

.tone-plate__label {
  position: absolute;
  left: clamp(0.75rem, 2.5vw, 1rem);
  right: 0.75rem;
  bottom: clamp(0.7rem, 2.5vw, 0.9rem);
  font-size: 0.6875rem;
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.3;
  text-transform: uppercase;
  color: currentColor;
  opacity: var(--label-opacity);
}

/* Fotoplatz (snippets/placeholder-media.liquid) */
.placeholder-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--c-surface);
}

.placeholder-media::before {
  content: '';
  position: absolute;
  inset: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
  pointer-events: none;
}

.placeholder-media__label {
  position: relative;
  max-width: 16rem;
  font-size: 0.6875rem;
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.6;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text-muted);
}

.media-caption {
  margin: 0.85rem 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ---------- 10. Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  width: auto;
}

.logo--full .logo__full {
  width: 100%;
  height: auto;
}

/* Grössen in Kopf- und Fusszeile über --logo-height (Theme-Editor: Kopfzeile → Logo-Höhe) */
.site-header__logo .logo,
.site-footer__logo .logo--lockup {
  gap: calc(var(--logo-height, 46px) * 0.24);
}

.site-header__logo .logo__signet,
.site-footer__logo .logo--lockup .logo__signet {
  height: var(--logo-height, 46px);
}

.site-header__logo .logo--lockup .logo__wordmark,
.site-footer__logo .logo--lockup .logo__wordmark {
  height: calc(var(--logo-height, 46px) * 0.4);
}

.site-header__logo .logo--wordmark .logo__wordmark {
  height: calc(var(--logo-height, 46px) * 0.5);
}

/* ---------- 11. Kopfzeile ---------- */
.section-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header {
  position: relative;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--duration) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--color-border), 0 12px 24px -22px rgb(29 27 25 / 0.35);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--header-height);
}

.site-header__drawer {
  justify-self: start;
  margin-left: -0.6rem;
}

.site-header__logo {
  justify-self: center;
  display: inline-flex;
  padding-block: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.site-header__logo:hover {
  opacity: 0.8;
}

.site-header__icons {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-right: -0.6rem;
}

.site-header__icon--search,
.site-header__icon--account {
  display: none;
}

/* Unter 990 px ist die Beschriftung «Warenkorb» nicht zu sehen – für Screenreader bleibt sie der Name des Links
   (mit «display: none» hätte der Link bei leerem Warenkorb keinen zugänglichen Namen) */
@media (max-width: 989px) {
  .site-header__cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.site-header__cart-count {
  display: contents;
}

.cart-count {
  position: absolute;
  top: 0.15rem;
  left: 1.6rem;
  display: grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--color-text);
  color: var(--color-background);
  font-size: 0.6875rem;
  font-weight: var(--font-body-weight-bold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.6rem 0;
  font-size: 0.9375rem;
  font-weight: var(--font-body-weight-medium);
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--color-text);
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.25rem;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.site-nav__link:hover {
  color: var(--color-text);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current='page']::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__link .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown[open] .icon {
  transform: rotate(180deg);
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: -1.1rem;
  min-width: 17rem;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 22px 44px -32px rgb(29 27 25 / 0.4);
}

.site-nav__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--color-text);
}

.site-nav__sublink:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.site-nav__sublink[aria-current='page'] {
  color: var(--color-accent-text);
}

/* Kleiner Zusatz «Auf Anfrage» / «Direkt bestellen» (Angebotsübersicht, Herkunft & Sorten): ruhige Textzeile,
   bewusst ohne Rahmen, Fläche oder Grossbuchstaben */
.nav-tag {
  flex: none;
  font-family: var(--font-body-family);
  font-size: var(--fs-xs);
  font-weight: var(--font-body-weight);
  line-height: 1.4;
  white-space: nowrap;
  color: var(--c-muted);
}

/* Hinweis zu einer Menügruppe mit Bienen-Angeboten («Bienen saisonal, auf Reservation»): eine leise Zeile direkt
   unter dem Gruppentitel statt eines Etiketts je Link – im Hauptmenü, im mobilen Menü und in der Fusszeile gleich */
.site-nav__note {
  margin: 0.2rem 1.1rem 0.35rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--c-muted);
}

.menu-drawer__note {
  margin: -0.15rem 0 0.4rem;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--c-muted);
}

/* Mobiles Menü (details/summary – funktioniert auch ohne JavaScript) */
.menu-drawer__icon {
  display: inline-flex;
}

.menu-drawer__icon--close,
.menu-drawer[open] .menu-drawer__icon--open {
  display: none;
}

.menu-drawer[open] .menu-drawer__icon--close {
  display: inline-flex;
}

.menu-drawer__panel {
  position: fixed;
  top: var(--header-bottom, var(--header-height));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  padding: 0.5rem var(--gutter) 2.5rem;
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  overscroll-behavior: contain;
}

.menu-drawer[open] .menu-drawer__panel {
  animation: fade-in 0.25s var(--ease);
}

.menu-drawer__list,
.menu-drawer__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: 1.6rem;
  line-height: 1.1;
  text-decoration: none;
  color: var(--color-text);
}

.menu-drawer__link[aria-current='page'] {
  color: var(--color-accent-text);
}

.menu-drawer__link .icon {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform var(--duration) var(--ease);
}

.menu-drawer__sub[open] > .menu-drawer__link .icon {
  transform: rotate(180deg);
}

.menu-drawer__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 0.75rem 1rem;
  text-decoration: none;
  font-size: 1.0625rem;
}

/* Untermenüs als offene Gruppen: Gruppentitel klein, Einträge gross */
.menu-drawer__item--group {
  padding: 1.35rem 0 0.7rem;
  border-bottom: 1px solid var(--color-border);
}

.menu-drawer__group-label {
  margin: 0 0 0.35rem;
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.menu-drawer__group {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-drawer__link--child {
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding: 0.4rem 0;
  border-bottom: 0;
  font-size: 1.6rem;
}

.menu-drawer__footer {
  display: grid;
  gap: 0.25rem;
  margin-top: auto;
}

.menu-drawer__utility {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  text-decoration: none;
  font-size: var(--fs-small);
}

.menu-drawer__utility .icon {
  width: 1.2rem;
  height: 1.2rem;
}

@media (min-width: 990px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
  }

  .site-header__drawer {
    display: none;
  }

  .site-header__logo {
    justify-self: start;
  }

  .site-nav {
    display: block;
    justify-self: center;
  }

  .site-header__icon--search,
  .site-header__icon--account {
    display: inline-flex;
  }

  .site-header__cart {
    padding-inline: 0.6rem 0.75rem;
  }

  .site-header__cart-label {
    display: inline;
    font-size: 0.9375rem;
    font-weight: var(--font-body-weight-medium);
  }

  .site-header__cart .cart-count {
    position: static;
    margin-left: 0.05rem;
  }
}

/* 990–1199 px: fünf Menüpunkte in einer Zeile – etwas engere Abstände, Warenkorb nur als Symbol mit Anzahl */
@media (min-width: 990px) and (max-width: 1199px) {
  .site-header__inner {
    gap: 1.5rem;
  }

  .site-nav__list {
    column-gap: 1.25rem;
  }

  .site-header__cart-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- 12. Ankündigungsleiste ---------- */
.announcement-bar {
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-align: center;
}

.announcement-bar__inner {
  padding-block: 0.6rem;
}

.announcement-bar__text {
  margin: 0;
}

.announcement-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.announcement-bar__link .icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* ---------- 13. Hero ---------- */
.hero__grid {
  display: grid;
  gap: 2.75rem;
  align-items: end;
}

.hero__heading {
  max-width: 11.5em;
  margin-bottom: 1.75rem;
}

.hero__text {
  max-width: 30rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--c-muted);
}

.hero__actions {
  margin-top: 2.5rem;
}

.hero__visual {
  width: 100%;
}

.hero__frame {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--c-surface);
  border-radius: var(--radius-media);
}

.hero__frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__plate .tone-plate__mark {
  width: min(46%, 15rem);
}

.hero__caption {
  max-width: 24rem;
}

@media (min-width: 750px) {
  .hero__frame {
    aspect-ratio: 16 / 11;
  }
}

@media (min-width: 990px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 6vw, 7rem);
  }

  .hero__grid--reverse .hero__visual {
    order: -1;
  }

  .hero__frame {
    aspect-ratio: 4 / 5;
  }

  .hero--text-only .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Hero «untereinander»: Überschrift und Text oben, darunter ein breites, echtes Foto */
.hero--stacked .hero__grid {
  align-items: start;
}

@media (min-width: 990px) {
  .hero--stacked .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 4vw, 3.75rem);
  }

  .hero--stacked .hero__content {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-items: end;
  }

  .hero--stacked .hero__content > .eyebrow {
    grid-column: 1 / -1;
  }

  .hero--stacked .hero__heading {
    grid-column: 1;
    grid-row: 2 / span 2;
    max-width: 12em;
    margin-bottom: 0;
  }

  .hero--stacked .hero__text {
    grid-column: 2;
    grid-row: 2;
  }

  .hero--stacked .hero__actions {
    grid-column: 2;
    grid-row: 3;
    margin-top: 2rem;
  }

  .hero--stacked .hero__frame {
    aspect-ratio: 2 / 1;
  }
}

/* ---------- 14. Spalten ---------- */
.columns {
  display: grid;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column__icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--c-accent-text);
}

.column__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.4;
}

@media (min-width: 990px) {
  .columns--numbered .column__title {
    min-height: calc(2em * var(--lh-heading, 1.06));
  }
}

.column__number {
  display: block;
  margin-bottom: 1.25rem;
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  font-variant-numeric: tabular-nums;
  color: var(--c-accent-text);
}

.column__title {
  margin: 0 0 0.5rem;
  font-size: var(--fs-h4);
  line-height: 1.2;
}

.column__text {
  color: var(--c-muted);
  font-size: var(--fs-small);
}

.column .link-arrow {
  margin-top: 1rem;
}

.column__media {
  margin-bottom: 1.25rem;
}

/* Zahlungsarten-Logos in einer Spalte (z. B. «Bezahlung») */
.payment-icons--column {
  gap: 0.4rem;
  margin-top: 1rem;
}

.payment-icons--column .payment-icon {
  width: auto;
  height: 1.5rem;
}

.columns--center .column {
  text-align: center;
}

.columns--center .payment-icons--column {
  justify-content: center;
}

.column__note {
  margin: 0.6rem 0 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-muted);
}

/* Mit Trennlinien: jede Spalte beginnt mit einer feinen Linie */
.columns--divided .column {
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

.columns--divided .column__title {
  font-size: var(--fs-h3);
}

/* Angaben: Bezeichnung (klein) über dem Inhalt – z. B. Imker, Herkunft, Versand */
.columns--facts {
  gap: 0;
  border-top: 1px solid var(--c-border);
}

.columns--facts .column {
  padding: 1.35rem 0 1.5rem;
  border-bottom: 1px solid var(--c-border);
}

.columns--facts .column__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-body-family);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-muted);
}

.columns--facts .column__text {
  font-size: 1rem;
  color: var(--c-fg);
}

.columns--facts .column__icon {
  display: none;
}

@media (min-width: 750px) {
  .columns--2,
  .columns--3,
  .columns--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }

  .columns--facts {
    column-gap: 2rem;
    row-gap: 0;
  }
}

@media (min-width: 990px) {
  .columns--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 2.5rem;
  }

  .columns--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem 2rem;
  }

  /* Angaben auf dem Desktop: eine durchgehende Linie, Spalten ohne Trennstriche */
  .columns--facts.columns--3,
  .columns--facts.columns--4 {
    row-gap: 0;
  }

  .columns--facts.columns--3 .column,
  .columns--facts.columns--4 .column {
    padding: 1.5rem 0 0;
    border-bottom: 0;
  }
}

/* ---------- 15. Produktraster & Kacheln ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-grid--mobile-1 {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 750px) {
  .product-grid,
  .product-grid--mobile-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 1.5rem;
  }

  .product-grid--3,
  .product-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .product-grid {
    gap: 3.5rem 2rem;
  }

  .product-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  height: 100%;
}

.product-card__image {
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}

.product-card__image--secondary {
  opacity: 0;
}

@media (hover: hover) {
  .product-card:hover .product-card__image {
    transform: scale(1.02);
  }

  .product-card--has-secondary:hover .product-card__image--secondary {
    opacity: 1;
  }
}

.product-card__plate .tone-plate__mark {
  transition: opacity 0.5s var(--ease);
}

@media (hover: hover) {
  .product-card:hover .product-card__plate .tone-plate__mark {
    opacity: calc(var(--mark-opacity) + 0.08);
  }
}

.product-card--sold-out .product-card__media > img,
.product-card--sold-out .tone-plate {
  filter: saturate(0.55);
}

.product-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.9rem;
  margin: 0.15rem 0 0;
}

.product-card__info {
  display: grid;
  gap: 0.2rem;
}

.product-card__price--request {
  margin: 0;
  font-weight: var(--font-body-weight-medium);
}

.product-card__title {
  margin: 0;
  font-size: calc(clamp(1.3rem, 1.18rem + 0.4vw, 1.6rem) * var(--heading-scale, 1));
  line-height: 1.15;
}

.product-card__link {
  text-decoration: none;
  color: inherit;
}

.product-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.product-card__link:focus-visible {
  outline: none;
}

.product-card__link:focus-visible::after {
  outline: 2px solid var(--c-fg);
  outline-offset: 6px;
}

.product-card:hover .product-card__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--c-accent);
}

.product-card__origin,
.product-card__options {
  margin: 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.01em;
  color: var(--c-muted);
}

.product-card__option {
  display: block;
}

.product-card .price {
  margin-top: 0.45rem;
  font-size: 0.9875rem;
}

/* Preis */
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.6rem;
  font-variant-numeric: tabular-nums lining-nums;
}

.price__current {
  font-weight: var(--font-body-weight-medium);
}

.price--on-sale .price__current {
  color: var(--c-accent-text);
}

.price__compare {
  font-size: 0.875em;
  color: var(--c-muted);
}

.price__unit {
  flex-basis: 100%;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ---------- 16. Text & Bild mit Text ---------- */
.rich-text {
  max-width: 42rem;
  margin-inline: auto;
}

.rich-text--medium {
  max-width: 56rem;
}

.rich-text--wide {
  max-width: none;
}

.rich-text--center {
  text-align: center;
}

.rich-text--center .button-row {
  justify-content: center;
}

.rich-text--left {
  margin-inline: 0;
}

.rich-text__heading {
  margin-bottom: 0;
}

.rich-text__text {
  margin-top: 1.4rem;
  font-size: 1.125rem;
  color: var(--c-muted);
}

.rich-text__body > :first-child {
  margin-top: 0;
}

.rich-text--stacked .rich-text__body > :first-child {
  margin-top: 1.4rem;
}

@media (min-width: 990px) {
  .rich-text--split {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

  .rich-text--split .rich-text__text {
    margin-top: 0.6rem;
  }
}

.rich-text--split .rich-text__body {
  margin-top: 1.4rem;
}

@media (min-width: 990px) {
  .rich-text--split .rich-text__body {
    margin-top: 0;
  }
}

/* Farbskala des Honigs: fünf ruhige Flächen von hell bis dunkel */
.tone-scale {
  margin: 2.5rem 0 0;
}

.tone-scale__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  height: clamp(4.5rem, 9vw, 7.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tone-scale__swatch {
  border-radius: 1px;
}

.tone-scale__swatch--1 {
  background: #f1e5c9;
}

.tone-scale__swatch--2 {
  background: #e3c27e;
}

.tone-scale__swatch--3 {
  background: var(--tone-gold);
}

.tone-scale__swatch--4 {
  background: var(--tone-bernstein);
}

.tone-scale__swatch--5 {
  background: var(--tone-dunkel);
}

.tone-scale__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-muted);
}

.tone-scale__note {
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-weight: var(--font-body-weight);
}

.image-with-text {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.image-with-text__heading {
  margin-bottom: 1.4rem;
}

.image-with-text__text {
  color: var(--c-muted);
}

@media (min-width: 750px) {
  .image-with-text--image,
  .image-with-text--placeholder {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2.5rem, 7vw, 7rem);
  }

  .image-with-text--reverse.image-with-text--image,
  .image-with-text--reverse.image-with-text--placeholder {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .image-with-text--reverse .image-with-text__media {
    order: 2;
  }

  .image-with-text--top {
    align-items: start;
  }
}

/* Ohne Foto: Überschrift links, Text rechts – ein ruhiges, redaktionelles Layout */
@media (min-width: 990px) {
  .image-with-text--text .image-with-text__content {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }

  .image-with-text--text .eyebrow {
    grid-column: 1 / -1;
  }

  .image-with-text--text .image-with-text__heading {
    margin-bottom: 0;
  }

  .image-with-text--text .image-with-text__body {
    padding-top: 0.6rem;
  }
}

.quote-callout {
  margin: 2.25rem 0 0;
  padding: 0.1rem 0 0.1rem 1.5rem;
  border-left: 1px solid var(--c-accent);
}

.quote-callout blockquote {
  margin: 0;
  font-family: var(--font-heading-family);
  font-style: italic;
  font-weight: var(--font-heading-weight);
  font-size: calc(clamp(1.4rem, 1.28rem + 0.45vw, 1.7rem) * var(--heading-scale, 1));
  line-height: 1.32;
  color: var(--c-fg);
}

.quote-callout figcaption {
  margin-top: 0.8rem;
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ---------- 17. Bildband ---------- */
.image-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 24rem;
  overflow: hidden;
}

.image-banner--small {
  min-height: 16rem;
}

.image-banner--large {
  min-height: 34rem;
}

@media (min-width: 990px) {
  .image-banner {
    min-height: 32rem;
  }

  .image-banner--small {
    min-height: 20rem;
  }

  .image-banner--large {
    min-height: 44rem;
  }
}

.image-banner__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.image-banner__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgb(29 27 25 / var(--overlay));
}

.image-banner--text-dark .image-banner__overlay {
  background: rgb(250 248 243 / var(--overlay));
}

.image-banner--text-dark {
  color: var(--color-text);
}

.image-banner--text-light {
  color: #faf8f3;
}

.image-banner--text-light .eyebrow {
  color: rgb(250 248 243 / 0.85);
}

.image-banner--tone-dark {
  background: var(--color-dark-background);
  color: var(--color-dark-text);
}

.image-banner--tone-dark .eyebrow {
  color: color-mix(in srgb, var(--color-dark-text) 74%, var(--color-dark-background));
}

.image-banner--tone-gold {
  background: var(--tone-gold);
  color: var(--color-text);
}

.image-banner--tone-gold .eyebrow {
  color: #3d2a12;
}

.image-banner--tone-sand {
  background: var(--color-surface);
  color: var(--color-text);
}

.image-banner__inner {
  width: 100%;
  padding-block: 4.5rem;
}

.image-banner__content {
  max-width: 40rem;
}

.image-banner--center .image-banner__content {
  margin-inline: auto;
  text-align: center;
}

.image-banner--center .button-row {
  justify-content: center;
}

.image-banner__heading {
  margin-bottom: 0;
}

.image-banner__text {
  margin-top: 1.25rem;
  font-size: 1.125rem;
}

/* ---------- 18. Formulare ---------- */
.field {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: 0.02em;
}

.input,
.select select {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  background-color: var(--c-input-bg);
  color: var(--c-fg);
  font-size: 1rem;
  transition: border-color var(--duration) var(--ease);
}

.input:hover,
.select select:hover {
  border-color: var(--c-fg);
}

.input:focus-visible,
.select select:focus-visible {
  outline: 2px solid var(--c-fg);
  outline-offset: 1px;
  border-color: var(--c-fg);
}

.input[aria-invalid='true'] {
  border-color: #a3321f;
}

.input--textarea {
  min-height: 9rem;
  resize: vertical;
}

.select {
  position: relative;
}

.select select {
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}

.select .icon {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.select--compact {
  display: inline-block;
}

.select--compact select {
  min-height: 2.5rem;
  padding: 0.4rem 2.4rem 0.4rem 0.85rem;
  font-size: var(--fs-small);
}

.form-message {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: var(--radius);
  font-size: var(--fs-small);
  line-height: 1.5;
}

.form-message[hidden] {
  display: none;
}

.form-message--error {
  background: #f8ebe7;
  border-color: #e2c1b7;
  color: #7c2817;
}

.form-message--error ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
}

.form-message--success {
  background: #edf1e7;
  border-color: #c9d6bd;
  color: #2c4d2d;
}

/* Neutrale Rückmeldung ohne Erfolgsfarbe, z. B. «In der Online-Demo nicht versendet»: Text zwischen Haarlinien */
.form-message--info {
  padding: 0.9rem 0;
  border-width: 1px 0;
  border-color: var(--c-border-strong);
  border-radius: 0;
  background: none;
  color: var(--c-fg);
}

.form-message .icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.form-message__title {
  margin: 0;
  font-weight: var(--font-body-weight-bold);
}

/* Mengenwähler */
.quantity {
  display: inline-flex;
  align-items: stretch;
  height: 3.125rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  background: var(--c-input-bg);
}

.quantity__button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  border-radius: var(--radius);
  transition: background-color var(--duration) var(--ease);
}

.quantity__button:hover {
  background: color-mix(in srgb, var(--c-fg) 6%, transparent);
}

.quantity__button .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.quantity__button[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

.quantity__input {
  width: 3rem;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity__input::-webkit-outer-spin-button,
.quantity__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity__input:focus-visible {
  outline-offset: -2px;
}

.quantity--small {
  height: 2.5rem;
}

.quantity--small .quantity__button {
  width: 2.25rem;
}

.quantity--small .quantity__input {
  width: 2.25rem;
  font-size: var(--fs-small);
}

/* Aufklappbare Inhalte */
.accordion {
  border-bottom: 1px solid var(--c-border);
}

.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: var(--font-body-weight-medium);
  transition: color var(--duration) var(--ease);
}

.accordion__title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.accordion__title .icon {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--c-muted);
}

.accordion__toggle {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: var(--c-muted);
  transition: transform var(--duration) var(--ease);
}

.accordion[open] > .accordion__summary .accordion__toggle {
  transform: rotate(45deg);
}

.accordion__summary:hover {
  color: var(--c-accent-text);
}

.accordion__content {
  padding: 0 0 1.5rem;
  color: var(--c-muted);
  font-size: var(--fs-small);
}

.accordion[open] > .accordion__content {
  animation: fade-in 0.3s var(--ease);
}

.info-list {
  display: grid;
  margin: 0;
}

.info-list__row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 35%) 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--c-border);
}

.info-list__row:last-child {
  border-bottom: 0;
}

.info-list dt {
  font-weight: var(--font-body-weight-medium);
  color: var(--c-fg);
}

.info-list dd {
  margin: 0;
}

.info-list__pending {
  margin: 1rem 0 0;
}

/* ---------- 19. Produktseite ---------- */
.breadcrumbs {
  margin-bottom: 1.75rem;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--c-border-strong);
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.product {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 750px) {
  .product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: start;
  }

  .product--sticky .product__info {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }
}

@media (min-width: 990px) {
  .product {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 6vw, 6.5rem);
  }
}

.gallery__track {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--radius-media);
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.gallery__slide--placeholder .tone-plate__mark {
  width: min(36%, 14rem);
}

.gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
}

.gallery__thumbs {
  display: none;
}

@media (min-width: 990px) {
  .gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
  }

  .gallery__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--color-product-media);
    opacity: 0.65;
    transition: opacity var(--duration) var(--ease), border-color var(--duration) var(--ease);
  }

  .gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery__thumb:hover,
  .gallery__thumb[aria-current='true'] {
    opacity: 1;
    border-color: var(--c-fg);
  }
}

.product__title {
  margin: 0 0 1rem;
  font-size: calc(clamp(2.2rem, 1.8rem + 1.6vw, 3.4rem) * var(--heading-scale, 1));
  line-height: 1.02;
}

.product__origin {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin: 0 0 1.75rem;
  font-size: var(--fs-small);
  color: var(--c-fg);
}

/* Mehrere Angaben untereinander (Material, Gewicht): enger zusammen */
.product__origin + .product__origin {
  margin-top: -1.1rem;
}

.product__origin-label {
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-muted);
}

.product__price {
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}

.product__price .price {
  font-size: 1.5rem;
  letter-spacing: -0.005em;
}

.product__price-note {
  margin: 0.3rem 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.product__text,
.product__description {
  margin-bottom: 2rem;
  color: var(--c-muted);
}

.product__quantity {
  margin-bottom: 1.5rem;
}

.product__buy {
  margin-bottom: 2.25rem;
}

.product__buy .product-form .form-message {
  margin: 1rem 0 0;
}

.product__buy .select {
  margin-bottom: 1rem;
}

.product__info .accordion:first-of-type {
  border-top: 1px solid var(--c-border);
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: var(--fs-small);
}

.stock__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4f7a4b;
}

.stock--low_stock .stock__dot {
  background: var(--color-accent);
}

.stock--out_of_stock .stock__dot {
  background: var(--c-border-strong);
}

/* Variantenwahl */
.no-js variant-picker {
  display: none;
}

.option-group--single .option-group__values {
  display: none;
}

.option-group {
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.option-group__legend {
  margin-bottom: 0.75rem;
  padding: 0;
  font-size: var(--fs-xs);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: 0.02em;
}

.option-group__selected {
  font-weight: var(--font-body-weight);
  color: var(--c-muted);
}

.option-group__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.25rem;
  min-height: 2.875rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  background: var(--c-input-bg);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.option-pill:hover {
  border-color: var(--c-fg);
}

.option-pill__input:checked + .option-pill {
  background: var(--c-fg);
  border-color: var(--c-fg);
  color: var(--c-bg);
}

.option-pill__input:focus-visible + .option-pill {
  outline: 2px solid var(--c-fg);
  outline-offset: 3px;
}

.option-pill--unavailable {
  color: var(--c-muted);
  border-style: dashed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.option-pill__input:checked + .option-pill--unavailable {
  background: var(--c-surface);
  color: var(--c-fg);
  border-style: solid;
}

/*
  Variantenauswahl als Liste (Block-Einstellung «Darstellung: Liste»): ein Wert pro Zeile, Haarlinien statt Kästen,
  rechts der Preis der Variante, die diese Wahl ergibt – z. B. die Honig-Zusammenstellungen der Geschenksets.
  Der gewählte Wert steht in der Liste selbst, darum nicht noch einmal in der Legende.
*/
.option-group--list .option-group__selected {
  display: none;
}

.option-group__values--list {
  display: block;
  border-top: 1px solid var(--c-border-strong);
}

.option-pill--row {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem 0.9rem;
  width: 100%;
  min-width: 0;
  min-height: 2.875rem;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--c-border);
  border-radius: 0;
  background: none;
  text-align: left;
  line-height: 1.35;
}

/* Auswahlkreis wie ein Radio-Knopf: leer, gewählt gefüllt */
.option-pill--row::before {
  content: '';
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--c-border-strong);
  border-radius: 50%;
  background: var(--c-input-bg);
  box-sizing: border-box;
}

.option-pill--row:hover {
  border-color: var(--c-border);
}

.option-pill--row:hover::before {
  border-color: var(--c-fg);
}

.option-pill__input:checked + .option-pill--row {
  background: none;
  color: var(--c-fg);
  border-color: var(--c-border);
}

.option-pill__input:checked + .option-pill--row::before {
  border-color: var(--c-fg);
  background: var(--c-fg);
  box-shadow: inset 0 0 0 3px var(--c-input-bg);
}

/* Windows-Kontrastdesigns (forced colors): Hintergrund und Schatten des Kreises entfallen dort – den gewählten Kreis in der
   Systemfarbe füllen, sonst sähen alle gleich aus */
@media (forced-colors: active) {
  .option-pill__input:checked + .option-pill--row::before {
    background: CanvasText;
  }
}

.option-pill__input:checked + .option-pill--row .option-row__name {
  font-weight: var(--font-body-weight-medium);
}

.option-pill__input:focus-visible + .option-pill--row {
  outline-offset: 2px;
}

.option-row__name {
  min-width: 0;
  overflow-wrap: break-word;
}

.option-row__price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--c-muted);
}

.option-pill__input:checked + .option-pill--row .option-row__price {
  color: var(--c-fg);
}

.option-pill--row.option-pill--unavailable {
  text-decoration: none;
  border-style: solid;
}

.option-pill--row.option-pill--unavailable .option-row__name {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/*
  Geschenkset-Auswahl (snippets/gift-set-picker): Verpackung, je Honigposition Sorte und Konsistenz, ggf. die Kerze –
  dieselben ruhigen Auswahlfelder wie die Variantenwahl; Positionen durch Haarlinien getrennt, darunter die
  Zusammensetzung des Preises als Liste.
*/
.no-js gift-set-picker .option-group,
.no-js gift-set-picker .gift-set__position,
.no-js gift-set-picker .gift-set__summary {
  display: none;
}

.gift-set__position {
  margin: 0 0 1.5rem;
  padding: 1.1rem 0 0;
  border: 0;
  border-top: 1px solid var(--c-border);
  min-width: 0;
}

.gift-set__choice {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.gift-set__choice:last-child {
  margin-bottom: 0;
}

.gift-set__choice--single {
  display: none;
}

.gift-set__choice-legend {
  margin-bottom: 0.45rem;
  padding: 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* Konsistenz: Hülle ohne eigene Box, damit die Knöpfe in derselben Reihe stehen */
.gift-set__option {
  display: contents;
}

.gift-set__option[hidden] {
  display: none;
}

.gift-set__note {
  margin: 0.5rem 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.gift-set__summary {
  margin: 0 0 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border-strong);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}

.gift-set__summary-title {
  margin: 0 0 0.5rem;
  font-size: var(--fs-xs);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: 0.02em;
}

.gift-set__summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gift-set__summary-list li,
.gift-set__summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.3rem 0;
}

.gift-set__summary-list li {
  color: var(--c-muted);
}

.gift-set__summary-list li > span:last-child,
.gift-set__summary-total > span:last-child {
  white-space: nowrap;
}

.gift-set__summary-total {
  margin: 0.35rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--c-border);
  font-weight: var(--font-body-weight-medium);
}

.gift-set__message {
  margin: -0.75rem 0 1.25rem;
  font-size: var(--fs-small);
}

.gift-set__message[hidden] {
  display: none;
}

/* Set ohne eigenes Foto: die gewählten Bestandteile nebeneinander auf der Fläche der Produktfotos */
.gift-set-media {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  background-color: var(--color-product-media);
}

.gift-set-media__parts {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 4%;
  padding: 8% 7% 3%;
  min-height: 0;
}

.gift-set-media__part {
  position: relative;
  min-height: 0;
}

.gift-set-media__part img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.gift-set-media__caption {
  padding: 0 7% 6%;
  font-size: var(--fs-xs);
  line-height: 1.4;
  text-align: center;
  color: var(--c-muted);
}

/* ---------- 20. Kollektion, Suche, Listen ---------- */
.collection-header {
  max-width: 44rem;
  margin-bottom: 2.75rem;
}

.collection-header--center {
  margin-inline: auto;
  text-align: center;
}

.collection-header__title {
  margin: 0;
  font-size: var(--fs-display);
  line-height: 0.98;
}

.collection-header__text {
  max-width: 34rem;
  margin-top: 1.4rem;
  font-size: 1.0625rem;
  color: var(--c-muted);
}

.collection-header--split {
  display: grid;
  gap: 2rem;
  align-items: end;
  max-width: none;
}

.collection-header__media {
  aspect-ratio: 16 / 10;
}

@media (min-width: 750px) {
  .collection-header--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 3.5rem;
  }
}

.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.collection-toolbar__count {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.collection-sort {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.collection-sort__label {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.empty-state p {
  margin: 0;
}

.empty-state .button {
  margin-top: 1.25rem;
}

.empty-state__title {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.empty-state--cart {
  padding-block: 4.5rem 5rem;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__item {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

a.pagination__item:hover {
  background: var(--c-surface);
  color: var(--c-fg);
}

.pagination__item--current {
  background: var(--c-fg);
  color: var(--c-bg);
}

.pagination__item .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 36rem;
  margin: 1.75rem auto 0;
}

.search-form__input {
  flex: 1;
}

.search-form__submit .icon {
  width: 1.1rem;
  height: 1.1rem;
}

@media (max-width: 479px) {
  .search-form__submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .search-form__submit {
    padding-inline: 1rem;
  }
}

.search-summary {
  margin: 2rem 0 2.5rem;
  text-align: center;
  color: var(--c-muted);
}

.search-results {
  display: grid;
  gap: 1.75rem;
  max-width: 46rem;
  margin: 3.5rem auto 0;
  padding: 0;
  list-style: none;
}

.search-results__item {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--c-border);
}

.search-results__title {
  margin: 0 0 0.5rem;
  font-size: var(--fs-h3);
}

.search-results__title a {
  text-decoration: none;
}

.collection-grid,
.article-grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 750px) {
  .collection-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 990px) {
  .collection-grid,
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 2rem;
  }
}

.collection-card,
.article-card {
  position: relative;
}

.collection-card__media,
.article-card__media {
  margin-bottom: 1.1rem;
}

.collection-card__title,
.article-card__title {
  margin: 0.25rem 0 0.4rem;
  font-size: var(--fs-h3);
}

.collection-card__link,
.article-card__link {
  text-decoration: none;
}

.collection-card__link::after,
.article-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.collection-card p,
.article-card p {
  margin: 0;
}

/* ---------- 21. Warenkorb ---------- */
.cart-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cart-header__title {
  margin: 0;
  font-size: var(--fs-h1);
}

.cart__form {
  display: grid;
  gap: 2.5rem;
}

/* Zwei Spalten (Positionen und Zusammenfassung) erst ab 1200 px: darunter bliebe der Titelspalte der vierspaltigen
   Positionen kein Platz (lange Titel überlagerten Mengenfeld und «Entfernen») */
@media (min-width: 1200px) {
  .cart__form {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 25rem);
    gap: 4.5rem;
    align-items: start;
  }

  .cart__summary {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }
}

.cart__labels {
  display: none;
}

.cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  grid-template-areas:
    'media details total'
    'media actions actions';
  gap: 0.85rem 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--c-border);
}

.cart-item__media {
  grid-area: media;
  display: block;
  align-self: start;
}

.cart-item__details {
  grid-area: details;
  min-width: 0;
}

.cart-item__title {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: 1.375rem;
  line-height: 1.2;
  text-decoration: none;
  /* Versalziffern wie in den Titeln der Seiten («2 × 500 g», nicht «5oo») */
  font-variant-numeric: lining-nums;
}

.cart-item__options {
  margin: 0.3rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.cart-item__meta,
.cart-item__discount {
  margin: 0.2rem 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.cart-item__unit-price {
  margin: 0.35rem 0 0;
  font-size: var(--fs-small);
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}

.cart-item__unit-price s {
  margin-right: 0.35rem;
}

.cart-item__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.cart-item__remove {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* Geschenkset im Warenkorb (snippets/cart-gift-set): Bestandteile als ruhige Liste mit Einzelpreisen */
.cart-item--set {
  grid-template-areas:
    'media details total'
    'media body body'
    'media actions actions';
}

/* Bestandteile, Setpreis und Hinweis unter dem Titel über die ganze Breite (auch im schmalen seitlichen Warenkorb) */
.cart-set__body {
  grid-area: body;
  min-width: 0;
}

.cart-set__parts {
  margin-top: 0;
}

.cart-set__part {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.1rem 0;
}

.cart-set__price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cart-item__warning {
  margin: 0.45rem 0 0;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--c-fg);
}

.cart-item__quantity-text {
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.cart-summary__note--warning {
  color: var(--c-fg);
}


.cart-item__total {
  grid-area: total;
  margin: 0;
  font-weight: var(--font-body-weight-medium);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 750px) {
  .cart__labels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 11rem 7rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--c-border);
    font-size: var(--fs-label);
    font-weight: var(--font-body-weight-medium);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--c-muted);
  }

  .cart__labels span:last-child {
    text-align: right;
  }

  .cart-item:not(.cart-item--compact) {
    grid-template-columns: 6.5rem minmax(0, 1fr) 11rem 7rem;
    grid-template-areas: 'media details actions total';
    align-items: start;
    gap: 1.5rem;
  }

  .cart-item:not(.cart-item--compact) .cart-item__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Geschenkset: Bestandteile unter dem Titel, Menge und Total wie bei den übrigen Positionen */
  .cart-item--set:not(.cart-item--compact) {
    grid-template-areas:
      'media details actions total'
      'media body actions total';
    row-gap: 0.6rem;
  }
}

.cart-item--compact {
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  padding: 1.25rem 0;
}

.cart-item--compact .cart-item__title {
  font-size: 1.2rem;
}

cart-items {
  display: block;
  transition: opacity 0.2s var(--ease);
}

cart-items.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.cart__summary {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--c-surface);
  border-radius: var(--radius-media);
}

.cart__summary .field {
  margin-bottom: 1.5rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}

.cart-summary__row--total {
  margin-top: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--c-border);
  font-size: 1.125rem;
  font-weight: var(--font-body-weight-medium);
}

.cart-summary__row--total:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.cart-summary__row--discount {
  color: var(--c-accent-text);
}

/* Postversand im Warenkorb (snippets/shipping-estimate.liquid) – gleiche Zeilen wie die Zwischensumme */
.cart-shipping {
  margin: 0;
}

.cart-shipping__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}

.cart-shipping__row dt {
  min-width: 0;
}

.cart-shipping__row dd {
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.cart-shipping__meta {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.cart-shipping__row--total {
  margin-top: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--c-border);
  font-size: 1.125rem;
  font-weight: var(--font-body-weight-medium);
}

.cart-shipping__note {
  margin: 0.35rem 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.cart-shipping__note a {
  color: inherit;
}

/* Mit ausgerechnetem Versand ist die Zwischensumme eine normale Zeile – hervorgehoben ist das Total darunter */
.cart-summary__row--total:has(+ .cart-shipping) {
  font-size: var(--fs-small);
  font-weight: var(--font-body-weight);
}

.cart-summary__note {
  margin: 0.25rem 0 1.4rem;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.cart-summary__trust {
  display: grid;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-muted);
}

.cart-summary__trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.cart-summary__trust .icon {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.12rem;
  color: var(--c-muted);
}

.cart-summary__payments {
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
}

.cart__summary .payment-icons {
  margin-top: 0.75rem;
}

.cart__summary .payment-icons--planned {
  margin-top: 0;
}

.cart__items > .button {
  margin-top: 1.5rem;
}

/* Seitlicher Warenkorb (dialog) */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100vw, 27rem);
  max-width: 100vw;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-background);
  color: var(--color-text);
  box-shadow: -24px 0 60px -36px rgb(29 27 25 / 0.45);
}

.drawer::backdrop {
  background: rgb(29 27 25 / 0.38);
}

.drawer[open] {
  animation: drawer-slide 0.38s var(--ease);
}

.drawer[open]::backdrop {
  animation: fade-in 0.38s var(--ease);
}

@keyframes drawer-slide {
  from {
    transform: translateX(100%);
  }
}

.drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.drawer__title {
  margin: 0;
  font-size: 1.75rem;
}

.drawer__count {
  font-family: var(--font-body-family);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 1.5rem;
}

.drawer__body .form-message {
  margin-top: 1rem;
}

.drawer__footer {
  display: grid;
  gap: 0.6rem;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.drawer__footer .cart-summary__note {
  margin-bottom: 0.5rem;
}

.drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.drawer__empty p {
  margin: 0;
}

.drawer__empty-title {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.drawer__empty .button {
  margin-top: 1.25rem;
}

.drawer__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.4rem 0 0;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.drawer__secure .icon {
  flex: none;
  width: 0.9rem;
  height: 0.9rem;
}

.drawer__payments {
  justify-items: center;
}

.drawer__payments .payment-icons {
  justify-content: center;
}

.drawer__payments .payment-icon {
  width: 2.2rem;
}

/* Kleine Farbfläche in Warenkorbzeilen und Demo-Kasse */
.cart-item__media .tone-plate {
  border-radius: inherit;
}

/* ---------- 22. Inhaltsseiten, FAQ, Kontakt ---------- */
.page-content {
  max-width: 44rem;
  margin-inline: auto;
}

.page-content--medium {
  max-width: 56rem;
}

.page-content--wide {
  max-width: none;
}

.page-content--center {
  text-align: center;
}

.page-content--left {
  margin-inline: 0;
}

.page-content__title {
  margin: 0 0 1.75rem;
  font-size: var(--fs-display);
  line-height: 0.98;
  /* Lange Wörter («Geschäftsbedingungen», «Datenschutzerklärung») auf dem Smartphone trennen statt überlaufen */
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
}

.page-content__body {
  max-width: 40rem;
  font-size: 1.125rem;
  color: var(--c-muted);
}

.page-content--center .page-content__body {
  margin-inline: auto;
}

/* Lesetext (Vorlage «rechtstext»): Fliesstext in normaler Grösse und Textfarbe, ruhige Zwischentitel */
.page-content--reading .page-content__title {
  font-size: var(--fs-h1);
  line-height: 1.02;
}

.page-content--reading .page-content__body {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-fg);
}

.page-content--reading .rte h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: var(--fs-h3);
  line-height: 1.15;
}

.page-content--reading .rte h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: var(--fs-h4);
}

.page-content--reading .rte > :first-child {
  margin-top: 0;
}

/* Tabellen im Lesetext wie die Versandkosten-Tabelle: Haarlinien, Beträge rechtsbündig */
.page-content--reading .rte table {
  margin: 1.5rem 0;
  font-size: inherit;
  font-variant-numeric: tabular-nums;
}

.page-content--reading .rte th,
.page-content--reading .rte td {
  padding: 0.85rem 0;
  vertical-align: baseline;
  /* Zellen brechen an Wortgrenzen um (ohne Silbentrennung); überlange Wörter brechen notfalls trotzdem */
  -webkit-hyphens: manual;
  hyphens: manual;
}

.page-content--reading .rte thead th {
  padding-top: 0;
  border-bottom-color: var(--c-border-strong);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Zweispaltige Tabellen: erste Spalte (Gewicht) breit genug, damit lange Angaben der zweiten sie nicht zusammendrücken */
.page-content--reading .rte tr > :first-child:nth-last-child(2) {
  width: 58%;
}

/* Zweispaltige Tabellen (z. B. Versandkosten): Beträge rechtsbündig. Breitere Tabellen bleiben linksbündig. */
.page-content--reading .rte tr > :last-child:nth-child(2) {
  padding-left: 1rem;
  text-align: right;
}

.article__media {
  margin: 2rem 0;
}

.faq {
  max-width: 52rem;
}

.faq__list {
  border-top: 1px solid var(--c-border);
}

.faq .accordion__summary {
  padding: 1.5rem 0;
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: calc(clamp(1.35rem, 1.25rem + 0.4vw, 1.6rem) * var(--heading-scale, 1));
  line-height: 1.25;
}

.faq .accordion__content {
  font-size: 1rem;
  max-width: 40rem;
}

.faq__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
}

.faq__cta p {
  margin: 0;
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.contact {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 990px) {
  .contact {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
}

.contact__details {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-border);
}

.contact__detail {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--c-border);
}

.contact__detail-label {
  margin: 0 0 0.3rem;
  font-family: var(--font-body-family);
  line-height: 1.4;
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-muted);
}

.contact__detail-text {
  color: var(--c-fg);
}

/* Kurze Listen in Kontaktangaben (z. B. «Abholung & Übergabe»): ruhig, mit Gedankenstrich statt Aufzählungspunkt */
.contact__detail-text ul {
  display: grid;
  gap: 0.4rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.contact__detail-text li {
  position: relative;
  margin: 0;
  padding-left: 1.1rem;
}

.contact__detail-text li::before {
  content: '–';
  content: '–' / '';
  position: absolute;
  left: 0;
  color: var(--c-muted);
}

/* Verweis unter einer solchen Liste, z. B. «Mehr dazu: Fragen und Antworten» */
.contact__detail-text ul + p {
  margin: 0.65rem 0 0;
  font-size: var(--fs-small);
  line-height: 1.5;
}

.inquiry .contact {
  grid-template-areas: 'intro' 'form' 'aside';
}

.inquiry .contact__intro {
  grid-area: intro;
}

.inquiry .contact__form-wrapper {
  grid-area: form;
}

.inquiry .contact__aside {
  grid-area: aside;
}

@media (min-width: 990px) {
  .inquiry .contact {
    grid-template-areas: 'intro form' 'aside form';
    grid-template-rows: auto 1fr;
    row-gap: 2.5rem;
  }
}

.contact__form-wrapper {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--c-surface);
  border-radius: var(--radius-media);
}

.contact-form__hint,
.contact-form__privacy {
  font-size: var(--fs-xs);
}

.contact-form__hint {
  margin-bottom: 1.25rem;
}

.contact-form__privacy {
  margin-bottom: 1.5rem;
}

/* Shopify-Richtlinienseiten (Datenschutz, AGB …) */
.shopify-policy__container {
  max-width: 46rem !important;
  margin: 0 auto !important;
  padding: 4rem var(--gutter) 6rem !important;
}

.shopify-policy__title {
  text-align: left !important;
}

.shopify-policy__title h1 {
  margin-bottom: 2rem;
  font-size: var(--fs-h1);
}

.shopify-policy__body {
  line-height: var(--lh-body);
}

/* ---------- 22b. Angebote: Übersicht, Kopfbereich, Anfrage ---------- */
/* Angebotsübersicht (Startseite): ruhiges Verzeichnis statt Kacheln */
.offer-index__groups {
  display: grid;
  gap: 3.25rem;
}

.offer-index__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--c-border-strong);
}

.offer-index__group-title {
  margin: 0;
  font-family: var(--font-body-family);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-muted);
}

.offer-index__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-row {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.4rem;
  align-items: baseline;
  padding: 1.4rem 0 1.5rem;
  border-bottom: 1px solid var(--c-border);
}

.offer-row__number {
  grid-column: 1;
  grid-row: 1;
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  font-variant-numeric: tabular-nums;
  color: var(--c-accent-text);
}

.offer-row__media {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  width: 2.5rem;
}

.offer-row__title {
  grid-column: 2;
  margin: 0;
  font-size: var(--fs-h3);
  line-height: 1.1;
}

.offer-row__link {
  color: inherit;
  text-decoration: none;
}

/* Ganze Zeile klickbar */
.offer-row__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.offer-row__link:focus-visible {
  outline: none;
}

.offer-row__link:focus-visible::after {
  outline: 2px solid var(--c-fg);
  outline-offset: 2px;
}

.offer-row__text {
  grid-column: 2;
  max-width: 34rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

/* Links im Kurztext bleiben über der klickbaren Zeile bedienbar */
.offer-row__text a {
  position: relative;
  z-index: 1;
}

.offer-row__cta {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  font-weight: var(--font-body-weight-medium);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
  transition: text-decoration-color var(--duration) var(--ease);
}

.offer-row__cta .icon {
  width: 1rem;
  height: 1rem;
  transition: transform var(--duration) var(--ease);
}

.offer-row:hover .offer-row__cta {
  text-decoration-color: currentColor;
}

.offer-row:hover .offer-row__cta .icon {
  transform: translateX(3px);
}

@media (min-width: 750px) {
  .offer-row {
    grid-template-columns: 3rem minmax(0, 13rem) minmax(0, 1fr);
    column-gap: 1.5rem;
    padding: 1.6rem 0 1.7rem;
  }

  .offer-row__media {
    width: 3rem;
  }

  .offer-row__title {
    grid-row: 1 / span 2;
  }

  .offer-row__text,
  .offer-row__cta {
    grid-column: 3;
  }

  .offer-row__text {
    grid-row: 1;
  }
}

/* Kopfbereich eines Angebots auf Anfrage */
.offer-header__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

/* Gross, aber so bemessen, dass lange Wörter wie «Bienenköniginnen» in jeder Breite ganz bleiben */
.offer-header__title {
  margin: 0 0 1.5rem;
  font-size: calc(clamp(2.4rem, 1.5rem + 3.6vw, 5.25rem) * var(--heading-scale, 1));
  line-height: 0.98;
  overflow-wrap: break-word;
}

.offer-header__text {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--c-muted);
}

.offer-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
}

.offer-header__media {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.offer-header__details-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-body-family);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-muted);
}

.offer-details {
  margin: 0;
  border-top: 1px solid var(--c-border-strong);
}

.offer-details__row {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--c-border);
}

.offer-details dt {
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.offer-details dd {
  margin: 0;
}

.offer-header__note {
  margin: 1rem 0 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--c-muted);
}

/* Variante «Foto neben Titel und Angaben»: Angaben unter der Einleitung, Foto rechts – kurz und ruhig */
.offer-header--side .offer-header__aside {
  max-width: 36rem;
  margin-top: 2rem;
}

.offer-header__photo {
  border-radius: var(--radius-media);
}

@media (min-width: 990px) {
  .offer-header__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .offer-header--side .offer-header__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
  }
}

/* Saisonhinweis für Angebote auf Anfrage (Bienenköniginnen, Bienenvölker): eine ruhige Textzeile in der Textfarbe,
   ohne Fläche, Rahmen oder Symbol. Im Menü und in der Fusszeile steht unter den Bienen-Angeboten nur eine leise Zeile
   («Saisonal, auf Reservation»). Text aus den Theme-Einstellungen bzw. dem Abschnitt. */
.season-note {
  max-width: 36rem;
  margin: 0;
  font-family: var(--font-body-family);
  font-size: var(--fs-small);
  font-weight: var(--font-body-weight-medium);
  line-height: 1.45;
  color: var(--c-fg);
  text-wrap: balance;
}

/* Direkt unter dem Seitentitel, vor der Einleitung */
.season-note--lead {
  margin: -0.4rem 0 1.35rem;
  font-size: 1rem;
}

.offer-row__season {
  grid-column: 2;
}

@media (min-width: 750px) {
  .offer-row__season {
    grid-column: 3;
  }
}

.site-footer__note {
  display: block;
  margin: -0.7rem 0 0.9rem;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--c-muted);
}

/* Reservation: Angebote mit Preis und Richttermin (snippets/reservation-offers.liquid) – ruhige Liste wie
   «Angaben im Überblick», Preise rechtsbündig */
.reservation-offers {
  margin-top: 2.25rem;
}

.reservation-offers__heading {
  margin: 0 0 0.9rem;
  font-family: var(--font-body-family);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-muted);
}

.reservation-offers__group + .reservation-offers__group {
  margin-top: 1.75rem;
}

.reservation-offers__product {
  margin: 0 0 0.35rem;
  font-size: var(--fs-h3);
  line-height: 1.15;
}

.reservation-offers__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-border-strong);
}

.reservation-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--c-border);
}

.reservation-offer__main {
  min-width: 0;
  /* Lange Wörter wie «Belegstellenbegattete» umbrechen statt in die Preisspalte zu laufen (Zoom, grosse Schrift) */
  overflow-wrap: break-word;
  hyphens: auto;
}

.reservation-offer__title {
  margin: 0;
  font-weight: var(--font-body-weight-medium);
  hyphenate-limit-chars: 10 4 4;
}

.reservation-offer__season {
  margin: 0.2rem 0 0;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.reservation-offer__details {
  margin: 0.3rem 0 0;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.reservation-offer__price {
  margin: 0;
  font-weight: var(--font-body-weight-medium);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.reservation-offer__from {
  font-weight: var(--font-body-weight);
  color: var(--c-muted);
}

.reservation-offer--note {
  display: block;
}

/* Schmale Bildschirme bzw. grosse Schrift (rem): Preis unter dem Titel statt daneben */
@media (max-width: 25rem) {
  .reservation-offer {
    grid-template-columns: minmax(0, 1fr);
  }

  .reservation-offer__price {
    text-align: left;
  }
}

.reservation-offer__note {
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.reservation-offers__note {
  margin-top: 1.25rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.reservation-offers + .contact__details {
  margin-top: 2.25rem;
}

/* Preis × Anzahl und Richttermin unter der Auswahl (assets/theme.js) */
.reservation-summary:empty {
  display: none;
}

.reservation-summary {
  font-variant-numeric: tabular-nums;
  color: var(--c-fg);
}

.field-row .reservation-summary {
  align-self: end;
  margin: 0 0 1.4rem;
}

/* Anfrageformular (Shopify-Kontaktformular mit Zusatzfeldern) */
.field-row {
  display: grid;
  column-gap: 1rem;
}

@media (min-width: 600px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
}

@media (min-width: 600px) {
  .field-row--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field__hint {
  margin: 0.4rem 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* Auswahl mehrerer Möglichkeiten (z. B. interessierte Produkte) */
.checkbox-group {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.checkbox-group > legend {
  padding: 0;
}

.checkbox-group__list {
  display: grid;
  gap: 0.6rem 1.25rem;
}

@media (min-width: 600px) {
  .checkbox-group__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-small);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  accent-color: var(--c-fg);
  cursor: pointer;
}

.checkbox input:focus-visible {
  outline: 2px solid var(--c-fg);
  outline-offset: 2px;
}

/* Geschäftskunden-Anfrage: Hinweis statt Upload-Feld für das Firmenlogo */
.business-form__logo {
  margin: 0 0 1.5rem;
}

.business-form__logo-label {
  margin-bottom: 0.25rem;
}

.business-form__logo-note {
  margin: 0;
}

.inquiry-form__note {
  margin: 1rem 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ---------- 22c. Herkunft & Sorten, Preisübersicht ---------- */
.origin__regions {
  display: grid;
  gap: clamp(3.5rem, 8vw, 5.5rem);
}

.origin-region {
  display: grid;
  gap: 1.75rem;
  align-content: start;
}

.origin-region__figure {
  margin: 0;
}

.origin-region__eyebrow {
  margin-bottom: 0.75rem;
}

.origin-region__title {
  margin: 0 0 0.9rem;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
}

.origin-region__text {
  max-width: 34rem;
}

.origin-region__link {
  margin-top: 1.5rem;
}

.origin-products {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-border-strong);
}

.origin-product {
  position: relative;
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 0 1.3rem;
  border-bottom: 1px solid var(--c-border);
}

.origin-product__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.origin-product__title {
  margin: 0;
  font-size: var(--fs-h4);
  line-height: 1.15;
}

.origin-product__link {
  color: inherit;
  text-decoration: none;
}

/* Ganze Zeile klickbar */
.origin-product__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

.origin-product:hover .origin-product__link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--c-accent);
}

.origin-product__link:focus-visible {
  outline: none;
}

.origin-product__link:focus-visible::after {
  outline: 2px solid var(--c-fg);
  outline-offset: 2px;
}

.origin-product__text,
.origin-product__note {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.origin-product__note {
  color: var(--c-accent-text);
}

@media (min-width: 750px) and (max-width: 989px) {
  .origin-region__figure {
    max-width: 40rem;
  }
}

@media (min-width: 990px) {
  .origin__regions--multi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, auto);
    column-gap: clamp(3rem, 6vw, 6rem);
    row-gap: 0;
  }

  @supports (grid-template-rows: subgrid) {
    .origin__regions--multi .origin-region {
      grid-row: span 6;
      grid-template-rows: subgrid;
      row-gap: 0;
    }

    .origin__regions--multi .origin-region__body {
      display: contents;
    }

    .origin__regions--multi .origin-region__figure {
      grid-row: 1;
      margin-bottom: 1.75rem;
    }

    .origin__regions--multi .origin-region__eyebrow {
      grid-row: 2;
    }

    .origin__regions--multi .origin-region__title {
      grid-row: 3;
    }

    .origin__regions--multi .origin-region__text {
      grid-row: 4;
    }

    .origin__regions--multi .origin-products {
      grid-row: 5;
      align-self: start;
    }

    .origin__regions--multi .origin-region__link {
      grid-row: 6;
      justify-self: start;
    }
  }

  .origin__regions--single .origin-region {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
  }
}

/* Button zum Shop unter den Sorten */
.origin__shop {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}

/* Siegel neben der Überschrift (unbeschnitten, in seinen Proportionen) */
.origin__head--seal {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.origin__head--seal .section-heading {
  margin-bottom: 0;
}

.origin__seal {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.origin__seal-image {
  width: auto;
  height: 6rem;
  max-width: none;
}

.origin__seal-caption {
  max-width: 10rem;
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--c-muted);
}

@media (min-width: 750px) {
  .origin__head--seal {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(2rem, 6vw, 5rem);
    align-items: end;
  }

  .origin__seal {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .origin__seal-image {
    height: 9rem;
  }

  .origin__seal-caption {
    max-width: 8rem;
  }
}

/* Kleines Produktfoto je Sorte */
.origin-product--thumb {
  grid-template-columns: 4.5rem minmax(0, 1fr);
  column-gap: 1.1rem;
  align-items: center;
}

.origin-product__thumb {
  width: 4.5rem;
}

.origin-product__body {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

/* Preisübersicht aus den Varianten: «natur oder cremig · 250 g CHF 9.00 · 500 g CHF 16.00» */
.price-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1.25rem;
  font-size: var(--fs-small);
}

.price-overview__options {
  margin: 0;
  color: var(--c-muted);
}

.price-overview__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-overview__item {
  display: inline-flex;
  gap: 0.45rem;
  white-space: nowrap;
}

.price-overview__size {
  color: var(--c-muted);
}

.price-overview__price {
  font-weight: var(--font-body-weight-medium);
  font-variant-numeric: tabular-nums;
}

/* ---------- 22d. Verkaufsstellen & Kontaktangaben ---------- */
.sales-points__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-border-strong);
}

.sales-point {
  min-width: 0;
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--c-border);
}

.sales-point__label,
.sales-points__service-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-body-family);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-muted);
}

.sales-point__label {
  color: var(--c-accent-text);
}

.sales-point__place {
  margin: 0;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
}

.sales-point__people {
  margin: 0.55rem 0 0;
  color: var(--c-muted);
}

.sales-point__details {
  display: grid;
  align-content: start; /* Zeilen oben bündeln, auch wenn die Karte höher ist (z. B. ohne Öffnungszeiten) */
  gap: 0.55rem;
  margin: 1.35rem 0 0;
}

.sales-point__row {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 1rem;
  font-size: var(--fs-small);
}

.sales-point__row dt {
  color: var(--c-muted);
}

.sales-point__row dd {
  margin: 0;
}

.phone-link {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sales-points__note {
  max-width: 40rem;
  margin: 2rem 0 0;
  color: var(--c-muted);
}

.sales-points__service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.75rem clamp(2rem, 4vw, 3.5rem);
  margin: 3rem 0 0;
  padding: 2rem 0 0;
  list-style: none;
  border-top: 1px solid var(--c-border);
}

.sales-points__service-item p {
  margin: 0;
}

.sales-points__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
  margin-top: 0.55rem !important;
}

.sales-points__contact a,
.shop-contact a,
.site-footer__contact a {
  overflow-wrap: anywhere;
}

.sales-points__more {
  margin: 2.5rem 0 0;
}

.shop-contact {
  margin: 0;
}

.shop-contact__note {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* Handy: alle Verkaufsstellen untereinander. Zwei oder vier Orte ab 750 px in zwei Spalten. */
@media (min-width: 750px) {
  .sales-points__list--2,
  .sales-points__list--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

/* Drei Orte auf dem Tablet: ruhige Zeilen (Ort links, Angaben rechts) statt 2 + 1 mit leerer Zelle */
@media (min-width: 750px) and (max-width: 989px) {
  .sales-points__list--3 .sales-point:has(> .sales-point__details) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    /* Sind die Angaben höher als Ort und Personen, geht der Rest in die letzte Zeile – gleiche Abstände */
    grid-template-rows: auto auto 1fr;
    column-gap: 2rem;
    align-items: start;
  }

  .sales-points__list--3 .sales-point > * {
    grid-column: 1;
  }

  .sales-points__list--3 .sales-point__details {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }
}

/* Drei Orte ab 990 px: drei gleich breite Spalten */
@media (min-width: 990px) {
  .sales-points__list--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }
}

/* Vier Orte erst ab 1200 px nebeneinander – dazwischen zwei, damit Adressen und Telefon Platz haben */
@media (min-width: 1200px) {
  .sales-points__list--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

/* Nebeneinander stehen Dachzeile, Ort, Personen und Angaben jeder Karte auf derselben Linie
   (Subgrid) – auch wenn ein Name in einer Karte zweizeilig ist. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 990px) {
    .sales-points__list--3 .sales-point {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
  }

  @media (min-width: 1200px) {
    .sales-points__list--4 .sales-point {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
  }

  @media (min-width: 990px) {
    .sales-points__list--3 .sales-point__label {
      grid-row: 1;
    }

    .sales-points__list--3 .sales-point__place {
      grid-row: 2;
    }

    .sales-points__list--3 .sales-point__people {
      grid-row: 3;
    }

    .sales-points__list--3 .sales-point__details {
      grid-row: 4;
    }
  }

  @media (min-width: 1200px) {
    .sales-points__list--4 .sales-point__label {
      grid-row: 1;
    }

    .sales-points__list--4 .sales-point__place {
      grid-row: 2;
    }

    .sales-points__list--4 .sales-point__people {
      grid-row: 3;
    }

    .sales-points__list--4 .sales-point__details {
      grid-row: 4;
    }
  }
}

/* Produktseite: dezenter Hinweis für Geschäftskunden (Block «Hinweis für Geschäftskunden») */
.product__business-note {
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--c-border);
}

.product__business-note-text {
  max-width: 34rem;
  margin: 0 0 0.55rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.product__business-note-link {
  font-size: var(--fs-small);
}

/* ---------- 22d2. Angebote mit Bild (z. B. «Bienenknecht für Geschäftskunden») ---------- */
.split-offers__list {
  display: grid;
  gap: 3.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 750px) {
  .split-offers__list--2,
  .split-offers__list--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem clamp(1.5rem, 3vw, 2.75rem);
  }
}

@media (min-width: 990px) {
  .split-offers__list--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.split-offer {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.split-offer__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1.6rem;
}

.split-offer__eyebrow {
  margin-bottom: 0.65rem;
}

.split-offer__title {
  margin: 0;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
}

.split-offer__text {
  max-width: 34rem;
  margin: 0.9rem 0 1.6rem;
  color: var(--c-muted);
}

.split-offer__button {
  margin-top: auto;
}

/* ---------- 22d3. Gestaltungsbeispiel Etikett (Firmengeschenke) ---------- */
.label-preview__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 990px) {
  .label-preview__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
}

.label-preview__note {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 1px solid var(--c-accent);
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.label-preview__figure {
  margin: 0;
}

.label-preview__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3.75rem);
  border-radius: var(--radius-media);
  background: var(--c-surface);
}

/* Im Stil der echten Etiketten: dunkler Grund, goldene Schrift */
.label-preview__label {
  width: 100%;
  max-width: 34rem;
  padding: clamp(1.1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 1.75rem) clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 2px;
  background: var(--color-dark-background);
  color: var(--color-dark-text);
}

.label-preview__badge {
  display: block;
  font-size: 0.6875rem;
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  line-height: 1.2;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-dark-text) 72%, var(--color-dark-background));
}

.label-preview__main {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .label-preview__main {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 1.4rem;
  }
}

.label-preview__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px dashed color-mix(in srgb, var(--color-dark-accent) 75%, transparent);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--color-dark-accent);
}

.label-preview__product {
  margin: 0;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  font-weight: var(--font-body-weight-medium);
  line-height: 1.1;
  color: var(--color-dark-accent);
}

.label-preview__origin {
  margin: 0.25rem 0 0;
  font-size: var(--fs-small);
  color: var(--color-dark-text);
}

.label-preview__message {
  margin: 0.85rem 0 0;
  font-family: var(--font-heading-family);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.25;
  color: var(--color-dark-text);
}

.label-preview__mandatory {
  margin: 1.1rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid color-mix(in srgb, var(--color-dark-accent) 40%, transparent);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: color-mix(in srgb, var(--color-dark-text) 78%, var(--color-dark-background));
}

/* ---------- 22d4. Versandkosten (sections/shipping-rates.liquid) ---------- */
.shipping-rates__table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.shipping-rates__table th,
.shipping-rates__table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: baseline;
}

.shipping-rates__table thead th {
  padding-top: 0;
  border-bottom: 1px solid var(--c-border-strong);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-muted);
  overflow-wrap: break-word;
}

/* Erste Spalte (Versandgewicht) breit genug für «Über 10 kg bis und mit 30 kg» */
.shipping-rates__table th:first-child,
.shipping-rates__table td:first-child {
  width: 58%;
}

.shipping-rates__table th:last-child,
.shipping-rates__table td:last-child {
  padding-left: 1rem;
  text-align: right;
}

.shipping-rates__table td:last-child {
  font-weight: var(--font-body-weight-medium);
}

/* Sehr schmale Bildschirme: Spaltentitel mit etwas weniger Sperrung, damit sie ohne Trennung passen */
@media (max-width: 479px) {
  .shipping-rates__table thead th,
  .page-content--reading .rte thead th {
    letter-spacing: 0.08em;
  }
}

/* Unter 360 px: Kostenspalte mit weniger Abstand, lange Bezeichnungen («Versandabklärung») dürfen getrennt werden */
@media (max-width: 359px) {
  .shipping-rates__table th:last-child,
  .shipping-rates__table td:last-child,
  .page-content--reading .rte tr > :last-child:nth-child(2) {
    padding-left: 0.5rem;
  }

  .shipping-rates__table td:last-child,
  .page-content--reading .rte td:last-child:nth-child(2) {
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}

.shipping-rates__rules {
  display: grid;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.shipping-rates__notes,
.shipping-rates__delivery {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

/* ---------- 22e. Bildergalerie ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-grid__figure {
  margin: 0;
}

.photo-grid__caption {
  margin-top: 0.7rem;
}

@media (min-width: 750px) {
  .photo-grid {
    gap: 2.25rem 1.25rem;
  }

  .photo-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Vier Spalten schon ab 750 px: auf dem Tablet sonst zwei sehr grosse Kacheln (kleine Fotos würden unscharf) */
@media (min-width: 750px) {
  .photo-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 750px) {
  .photo-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 990px) {
  .photo-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Ungerade Anzahl: das letzte Bild auf dem Handy über die ganze Breite (3:2). Im Hochformat (z. B. Kerzen) bleibt es
   in Kachelbreite und steht mittig – ein 3:2-Ausschnitt würde hohe Motive oben und unten anschneiden. */
@media (max-width: 749px) {
  .photo-grid__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .photo-grid__item:last-child:nth-child(odd) .media-frame {
    aspect-ratio: 3 / 2;
  }

  .photo-grid--portrait .photo-grid__item:last-child:nth-child(odd) {
    justify-self: center;
    width: calc((100% - 0.875rem) / 2);
  }

  .photo-grid--portrait .photo-grid__item:last-child:nth-child(odd) .media-frame {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- 22f. Qualität & Siegel, Vorbestellung ---------- */
.seal-note {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.seal-note__media {
  justify-self: start;
}

.seal-note__image {
  width: auto;
  height: var(--seal-height, 8.5rem);
  max-width: none;
}

.seal-note__heading {
  margin: 0 0 1rem;
}

.seal-note__text {
  max-width: 38rem;
}

.seal-note__text + .link-arrow {
  margin-top: 1.5rem;
}

@media (min-width: 750px) {
  .seal-note {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(2.5rem, 6vw, 5rem);
  }

  .seal-note--text-only {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Siegel klein neben einem Satz (Produktseite) */
.seal-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--c-border);
}

.seal-inline__image {
  flex: none;
  width: auto;
  height: 4.5rem;
  max-width: none;
}

.seal-inline__text {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

/* Vorbestellung statt Warenkorb (Produktseite) */
.product__preorder {
  display: grid;
  gap: 0.9rem;
}

.product__preorder-note {
  margin: 0;
  font-weight: var(--font-body-weight-medium);
}

.product__preorder-hint {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* ---------- 22g. Landschaftsbild ---------- */
.landscape__head {
  display: grid;
  gap: 1rem 3rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.landscape__heading {
  margin: 0;
}

.landscape__text {
  max-width: 36rem;
}

.landscape__text .link-arrow {
  margin-top: 1rem;
}

.landscape__figure {
  margin: 0;
}

.landscape__more {
  display: grid;
  gap: 1.75rem 1.25rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 750px) {
  .landscape__more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 990px) {
  .landscape__head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: end;
  }
}

/* ---------- 23. Fusszeile ---------- */
.site-footer {
  padding: 4.5rem 0 2rem;
  /* feine Linie: trennt die Fusszeile auch von einem Abschnitt in derselben Farbe */
  border-top: 1px solid var(--c-border);
}

@media (min-width: 990px) {
  .site-footer {
    padding-top: 6rem;
  }
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1.5rem;
}

.site-footer__brand {
  grid-column: 1 / -1;
}

@media (min-width: 750px) {
  .site-footer__grid {
    gap: 2.75rem;
  }
}

@media (min-width: 990px) {
  /* 990–1199 px: Marke oben über die ganze Breite, darunter die Spalten */
  .site-footer__grid {
    grid-template-columns: repeat(var(--footer-columns, 3), minmax(0, 1fr));
    gap: 3rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .site-footer__grid {
    /* Markenspalte mindestens so breit, dass die E-Mail-Adresse nicht umbricht – auch bei fünf Linkspalten */
    grid-template-columns: minmax(16.5rem, 1.4fr) repeat(var(--footer-columns, 3), minmax(0, 1fr));
    column-gap: 2.5rem;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.site-footer__logo--full .logo {
  width: 6.5rem;
}

.site-footer__logo--wordmark .logo__wordmark {
  height: 1.4rem;
}

.site-footer__logo--lockup {
  --logo-height: 44px;
}

.site-footer__heading {
  margin: 0 0 1.1rem;
  font-family: var(--font-body-family);
  font-size: var(--fs-label);
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-muted);
}

.site-footer__links {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  /* Umbrochene Links («Rückgabe und Reklamationen») bleiben als ein Eintrag erkennbar */
  line-height: 1.35;
}

.site-footer__link {
  text-decoration: none;
  color: var(--c-fg);
  font-size: var(--fs-small);
  overflow-wrap: break-word;
  hyphens: auto;
  /* Nur lange Wörter trennen («Datenschutzerklärung»); mehrteilige Bezeichnungen brechen zwischen den Wörtern */
  hyphenate-limit-chars: 14 5 5;
}

.site-footer__link:hover {
  color: var(--c-fg);
  text-decoration: underline;
}

.site-footer__text,
.site-footer__pending {
  max-width: 22rem;
  color: var(--c-muted);
  font-size: var(--fs-small);
}

.site-footer__text p {
  margin-bottom: 0.75em;
}

.site-footer__contact {
  display: grid;
  gap: 0.6rem;
  max-width: 22rem;
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

.site-footer__contact-links {
  display: grid;
  gap: 0.15rem;
  margin: 0;
}

.site-footer__contact a {
  color: inherit;
}

.site-footer__contact a:hover {
  color: var(--c-fg);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.site-footer__copyright {
  margin: 0;
}

.site-footer__copyright a {
  text-decoration: none;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-icon {
  width: 2.5rem;
  height: auto;
}

/* Geplante Zahlungsarten: Original-Logos, klar als «noch nicht aktiv» gekennzeichnet */
.payment-icons-planned {
  display: grid;
  gap: 0.55rem;
}

.payment-icons-planned__label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: var(--font-body-weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--c-muted, var(--color-text-muted));
}

.payment-icons--planned .payment-icon {
  opacity: 0.92;
}

@media (min-width: 750px) {
  .site-footer__payments.payment-icons-planned {
    justify-items: end;
    margin-left: auto;
  }
}

.social-links {
  display: flex;
  gap: 0.25rem;
  margin: 1rem 0 0 -0.6rem;
  padding: 0;
  list-style: none;
}

/* ---------- 24. Passwort & Gutschein ---------- */
.template-password .main-content,
.gift-card {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 3rem var(--gutter);
}

.password,
.gift-card__inner {
  width: 100%;
  max-width: 28rem;
  text-align: center;
}

.password__logo .logo,
.gift-card__logo .logo {
  width: 9rem;
  margin: 0 auto 2.5rem;
}

.password__title,
.gift-card__title {
  font-size: var(--fs-h1);
}

.password__message {
  color: var(--c-muted);
}

.password__login {
  margin-top: 2.5rem;
}

.password__login > summary {
  display: inline-flex;
}

.password__form {
  margin-top: 1.75rem;
  text-align: left;
}

.password__admin {
  margin-top: 3rem;
  font-size: var(--fs-xs);
}

.gift-card__balance {
  font-family: var(--font-heading-family);
  font-size: var(--fs-display);
  line-height: 1;
}

.gift-card__code {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: 1px dashed var(--c-border-strong);
  border-radius: var(--radius);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.gift-card__wallet img {
  margin: 1rem auto;
}

@media print {
  .gift-card .button-row {
    display: none;
  }
}

/* ---------- 25. Seite nicht gefunden ---------- */
.not-found .rich-text__heading {
  max-width: 14em;
}

/* ---------- 26. Bewegung (dezent; aus bei «Bewegung reduzieren») ---------- */
@media (prefers-reduced-motion: no-preference) {
  .has-animations .hero__content > * {
    animation: fade-up 0.8s var(--ease) both;
  }

  .has-animations .hero__content > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .has-animations .hero__content > :nth-child(3) {
    animation-delay: 0.12s;
  }

  .has-animations .hero__content > :nth-child(4) {
    animation-delay: 0.18s;
  }

  .has-animations .hero__frame {
    animation: fade-in 1s var(--ease) 0.1s both;
  }

  @supports (animation-timeline: view()) {
    .has-animations .main-content .section-heading,
    .has-animations .main-content .product-grid__item,
    .has-animations .main-content .column,
    .has-animations .main-content .image-with-text__media,
    .has-animations .main-content .image-with-text__content,
    .has-animations .main-content .rich-text,
    .has-animations .main-content .origin-region,
    .has-animations .main-content .sales-point,
    .has-animations .main-content .photo-grid__item,
    .has-animations .main-content .seal-note,
    .has-animations .main-content .landscape__figure {
      animation: fade-up linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }

  /* Fallback (theme.js setzt .js-reveal nur ohne CSS-Scroll-Animationen) */
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .js-reveal .reveal.is-revealed {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
