/* ===========================================================================
   Bubu & Dudu Welt — Gestaltung
   ---------------------------------------------------------------------------
   Die Marke kommt aus dem Feed: Creme als Flaeche, Dunkelbraun als Schrift,
   Baloo 2 in den schweren Schnitten, nichts mit harten Kanten. Dieselben
   Farben und dieselbe Schrift wie in den taeglichen Posts — der Shop soll
   sich anfuehlen wie ein weiteres Bild in der Reihe.

   Farbwerte aus taegliche-posts.md, ergaenzt um die Fellfarben und die
   Requisitenfarben aus den Motiven (Becher, Wangen, Pfoetchen).
   =========================================================================== */

/* Schriften werden von hier ausgeliefert, nicht von Google (scripts/schriften.py).
   Baloo 2 variabel 500-800, Nunito in drei Schnitten. Lizenz: assets/schriften/LIZENZ.txt */
@font-face {
  font-family: "Baloo 2";
  src: url("./assets/schriften/baloo-2.woff") format("woff");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("./assets/schriften/nunito-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("./assets/schriften/nunito-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("./assets/schriften/nunito-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  /* Flaechen */
  --creme: #f7efe4;
  --creme-tief: #f0e3d2;
  --papier: #fffcf7;
  --papier-warm: #fdf6ec;
  --buehne-flaeche: radial-gradient(circle at 34% 30%, var(--papier), var(--creme-tief));
  --karte-flaeche: var(--papier-warm);
  --foto-schatten: drop-shadow(0 16px 26px rgba(74, 55, 40, 0.14));

  /* Schrift */
  --braun: #4a3728;
  --braun-weich: #a38064;
  --braun-leise: #bfa189;

  /* Kanten und Schatten */
  --linie: #e6d7c4;
  --linie-stark: #d8c3a9;
  --schatten-weich: 0 18px 40px -24px rgba(74, 55, 40, 0.4);
  --schatten-karte: 0 26px 60px -34px rgba(74, 55, 40, 0.55);
  --schatten-knopf: 0 6px 0 0 #33261b;
  --knopf-basis: var(--braun);
  --knopf-hover: #56402e;
  --knopf-text: var(--creme);
  --knopf-kante: #33261b;
  --fuss-flaeche: #4a3728;
  --fuss-text: #f7efe4;

  /* Akzente: Fell, Wangen, Pfoetchen, Strohhalm */
  --bubu: #b98a62;
  --dudu: #fffdf8;
  --blush: #f2a9a0;
  --blush-hell: #fbe0db;
  --butter: #f7d08a;
  --minze: #9ccbd8;

  /* Druckfarben auf dem Textil */
  --druck-dunkel: #4a3728;
  --druck-hell: #f7efe4;

  /* Voreinstellung fuer Mockups, wird je Produkt ueberschrieben */
  --stoff: #f2e7d5;
  --naht: #dfcfb6;
  --druck: var(--druck-dunkel);

  /* Rundungen — nichts unter 12px, nichts mit scharfer Ecke */
  --r-klein: 14px;
  --r-mittel: 22px;
  --r-gross: 34px;
  --r-riesig: 46px;
  --r-pille: 999px;

  --breite: 1160px;
  --rand: clamp(20px, 5vw, 48px);

  font-family: Nunito, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Dunkle, warme Kakaotoene — passend zur Marke */
    --creme: #1c1510;
    --creme-tief: #241b15;
    --papier: #2a2019;
    --papier-warm: #33271e;
    --foto-schatten: brightness(1.08) contrast(1.03) drop-shadow(0 4px 14px rgba(255, 252, 247, 0.22));

    /* Helle Cremeschrift auf dunklem Grund */
    --braun: #f7efe4;
    --braun-weich: #d2bca6;
    --braun-leise: #9e856f;

    /* Kanten und Schatten */
    --linie: #3d2f24;
    --linie-stark: #544132;
    --schatten-weich: 0 18px 40px -20px rgba(0, 0, 0, 0.65);
    --schatten-karte: 0 26px 60px -26px rgba(0, 0, 0, 0.8);
    --schatten-knopf: 0 6px 0 0 #0f0b08;
    --knopf-basis: #e6d2bc;
    --knopf-hover: #f3e4d3;
    --knopf-text: #241b15;
    --knopf-kante: #9e8368;
    --fuss-flaeche: #140f0b;
    --fuss-text: #f7efe4;

    /* Akzente leicht angepasst fuer dunkle Flaechen */
    --bubu: #d6a57a;
    --blush-hell: #422b28;
  }

  .buehne-foto,
  .karte-foto,
  .produkt-foto,
  .einstieg-bild img {
    filter: brightness(1.08) contrast(1.03)
      drop-shadow(0 4px 14px rgba(255, 252, 247, 0.22));
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--braun);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
.wortmarke,
.knopf,
.produkt-preis,
.karte-preis {
  font-family: "Baloo 2", Nunito, system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-color: var(--braun-leise);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: var(--blush);
}

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

:focus-visible {
  outline: 3px solid var(--minze);
  outline-offset: 3px;
  border-radius: 6px;
}

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--braun);
  color: var(--creme);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-klein) 0;
}
.skiplink:focus {
  left: 0;
}

.augenbraue {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--braun-weich);
  margin: 0 0 10px;
}

/* ── Kopfzeile ───────────────────────────────────────────────────────────── */

.kopf {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--rand);
  background: color-mix(in srgb, var(--creme) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.kopf.ist-gescrollt {
  border-bottom-color: var(--linie);
  background: color-mix(in srgb, var(--creme) 95%, transparent);
}

.wortmarke {
  display: grid;
  text-decoration: none;
  line-height: 0.92;
  color: var(--braun);
  flex: 0 0 auto;
}
.wortmarke-zeile1 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}
.wortmarke-zeile2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.34em;
  color: var(--braun-weich);
}

.navigation {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-weight: 700;
  font-size: 0.96rem;
}
.navigation a {
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.navigation a:hover {
  border-bottom-color: var(--blush);
}

/* ── Knoepfe ─────────────────────────────────────────────────────────────── */

.knopf {
  --knopf-tief: var(--knopf-kante);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-pille);
  background: var(--knopf-basis);
  color: var(--knopf-text);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 14px 30px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 5px 0 0 var(--knopf-tief);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s;
}
.knopf:hover {
  background: var(--knopf-hover);
}
.knopf:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 0 var(--knopf-tief);
}
.knopf[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.knopf-klein {
  padding: 10px 20px;
  font-size: 0.92rem;
  box-shadow: 0 4px 0 0 var(--knopf-tief);
}
.knopf-gross {
  width: 100%;
  padding: 18px 30px;
  font-size: 1.12rem;
}
.knopf-hell {
  background: var(--papier);
  color: var(--braun);
  --knopf-tief: var(--linie-stark);
}
.knopf-hell:hover {
  background: var(--papier-warm);
}

/* ── Startseite: Buehne ──────────────────────────────────────────────────── */

.buehne {
  position: relative;
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) var(--rand) clamp(48px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.buehne-text h1 {
  margin-bottom: 18px;
}
.buehne-text h1 em {
  font-style: normal;
  color: var(--bubu);
}
.buehne-satz {
  font-size: 1.18rem;
  color: var(--braun-weich);
  max-width: 44ch;
  margin-bottom: 28px;
}
.buehne-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.buehne-merkmale {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--braun-weich);
}
.buehne-merkmale li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.buehne-merkmale li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blush);
  flex: 0 0 auto;
}

/* Die Buehnenflaeche: weiche Blase mit schwebenden Requisiten.
   Requisiten, keine Figuren — der Becher und das Herz gehoeren uns. */
.buehne-bild {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 44% 56% 52% 48% / 50% 46% 54% 50%;
  background: var(--buehne-flaeche);
  border: 2px solid var(--linie);
  display: grid;
  place-items: center;
  box-shadow: var(--schatten-karte);
  animation: blubbern 14s ease-in-out infinite;
}

@keyframes blubbern {
  0%,
  100% {
    border-radius: 44% 56% 52% 48% / 50% 46% 54% 50%;
  }
  50% {
    border-radius: 54% 46% 44% 56% / 46% 54% 46% 54%;
  }
}

/* Das Buehnenbild setzt scripts/build.mjs in einen Wrapper mit den
   Farbvariablen des Held-Produkts — der Wrapper gibt die Breite vor. */
.buehne-bild > div {
  width: 74%;
}
.buehne-bild .mockup {
  width: 100%;
  filter: var(--foto-schatten);
}
/* Freigestelltes Produktfoto mit echtem Alpha-Kanal: funktioniert auf Creme
   genauso harmonisch wie auf dunklem Kakao im Dark Mode. */
.buehne-foto {
  width: 78%;
  height: auto;
  filter: var(--foto-schatten);
}

.schweber {
  position: absolute;
  width: 74px;
  opacity: 0.9;
  animation: schweben 6s ease-in-out infinite;
}
.schweber-1 {
  top: 6%;
  left: 2%;
  animation-delay: -1s;
}
.schweber-2 {
  bottom: 10%;
  right: 0%;
  width: 58px;
  animation-delay: -3s;
}
.schweber-3 {
  top: 16%;
  right: 6%;
  width: 44px;
  animation-delay: -4.5s;
}

@keyframes schweben {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-16px) rotate(5deg);
  }
}

/* ── Abschnitte ──────────────────────────────────────────────────────────── */

.abschnitt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) var(--rand);
}
.abschnitt-warm {
  background: var(--creme-tief);
  max-width: none;
}
.abschnitt-warm > * {
  max-width: var(--breite);
  margin-inline: auto;
}
.abschnitt-kopf {
  max-width: 58ch;
  margin-bottom: 34px;
}
.abschnitt-kopf p {
  color: var(--braun-weich);
  font-size: 1.06rem;
}

/* ── Filter-Chips ────────────────────────────────────────────────────────── */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.chip {
  border: 2px solid var(--linie);
  background: var(--papier);
  color: var(--braun-weich);
  font: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 9px 20px;
  border-radius: var(--r-pille);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.12s;
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--linie-stark);
}
.chip.ist-aktiv {
  background: var(--knopf-basis);
  border-color: var(--knopf-basis);
  color: var(--knopf-text);
}

/* ── Produktkarten ───────────────────────────────────────────────────────── */

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.karten-schmal {
  grid-template-columns: repeat(auto-fill, minmax(226px, 1fr));
}

.karte {
  display: flex;
  flex-direction: column;
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.karte:hover {
  transform: translateY(-6px);
  border-color: var(--linie-stark);
  box-shadow: var(--schatten-karte);
}
.karte[hidden] {
  display: none;
}

.karte-bild {
  background: var(--karte-flaeche);
  padding: 22px 22px 8px;
  display: grid;
  place-items: center;
  border-bottom: 2px solid var(--linie);
}
.karte-bild .mockup {
  width: 100%;
  max-width: 240px;
  filter: var(--foto-schatten);
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.karte:hover .mockup {
  transform: scale(1.05) rotate(-1.5deg);
}
/* Kartenfoto mit transparentem Hintergrund auf warmer Kartenflaeche */
.karte-bild-foto {
  background: var(--karte-flaeche);
  padding: 14px 14px 4px;
}
.karte-foto {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: var(--foto-schatten);
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.karte:hover .karte-foto {
  transform: scale(1.04);
}

.karte-text {
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.karte-art {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--braun-leise);
  margin: 0;
}
.karte-kurz {
  color: var(--braun-weich);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}
.karte-preis {
  font-size: 1.22rem;
  margin-top: 8px;
}

/* ── Mockup-SVG ──────────────────────────────────────────────────────────── */

.mockup-body {
  fill: var(--stoff);
  stroke: var(--naht);
  stroke-width: 3;
  stroke-linejoin: round;
}
.mockup-kaenguru {
  fill: color-mix(in srgb, var(--stoff) 92%, var(--braun) 8%);
  stroke: var(--naht);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
/* Henkel von Tasche und Tasse: derselbe Pfad zweimal — dick in Nahtfarbe als
   Kontur, darüber dünner in Stofffarbe als Füllung. So bekommt ein gestrichener
   Henkel denselben Rand wie eine gefüllte Fläche. */
.mockup-henkel-rand,
.mockup-henkel {
  fill: none;
  stroke-linecap: round;
}
.mockup-henkel-rand {
  stroke: var(--naht);
}
.mockup-henkel {
  stroke: var(--stoff);
}
.mockup-tasche .mockup-henkel-rand {
  stroke-width: 19;
}
.mockup-tasche .mockup-henkel {
  stroke-width: 13;
}
.mockup-tasse .mockup-henkel-rand {
  stroke-width: 32;
}
.mockup-tasse .mockup-henkel {
  stroke-width: 25;
}

/* Die Öffnung der Tasse — von schräg oben gesehen, also eine Ellipse. */
.mockup-oeffnung {
  fill: var(--innen, color-mix(in srgb, var(--stoff) 80%, var(--braun) 20%));
  stroke: var(--naht);
  stroke-width: 3;
}
/* Tassen mit farbiger Innenseite: bei Gelato sind Innenseite, Rand und Henkel
   farbig, aussen bleibt die Tasse weiss. --innen setzt der Build bzw. app.js. */
.mockup-tasse .mockup-henkel {
  stroke: var(--innen, var(--stoff));
}

/* Papier im Bilderrahmen: immer weiß, die Rahmenfarbe trägt der Körper. */
.mockup-papier {
  fill: #fffefb;
  stroke: color-mix(in srgb, var(--naht) 60%, #fff 40%);
  stroke-width: 1.5;
}

/* Die Kapuze liegt hinter dem Koerper und steht eine Spur dunkler ab,
   sonst verschwindet sie im Stoff. */
.mockup-kapuze {
  fill: color-mix(in srgb, var(--stoff) 88%, var(--braun) 12%);
  stroke: var(--naht);
  stroke-width: 3;
  stroke-linejoin: round;
}
.mockup-detail,
.mockup-kordel {
  fill: none;
  stroke: var(--naht);
  stroke-width: 3;
  stroke-linecap: round;
}
.mockup-kordel {
  stroke-width: 5;
  stroke: color-mix(in srgb, var(--stoff) 70%, #fff 30%);
}
.mockup-detail-fill {
  fill: color-mix(in srgb, var(--stoff) 70%, #fff 30%);
}
.mockup-schatten {
  fill: rgba(74, 55, 40, 0.07);
}

.mockup-print text {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  fill: var(--druck);
}
.mockup-print .motiv-oben,
.mockup-print .motiv-unten {
  font-weight: 600;
  opacity: 0.78;
  letter-spacing: 0.04em;
}
.mockup-print .deko-fill {
  fill: var(--druck);
}
/* Der Becher ist eine Kontur, keine Flaeche — als Vollflaeche wird er
   in Druckgroesse zum braunen Klumpen. */
.mockup-print .deko-linie {
  fill: none;
  stroke: var(--druck);
  stroke-width: 4.5;
  stroke-linejoin: round;
}
.mockup-print .deko-strich {
  stroke: var(--druck);
  stroke-width: 5.5;
  stroke-linecap: round;
  fill: none;
}
.mockup-print .deko-punkt {
  fill: var(--druck);
}

/* Motivblatt: derselbe Druck, passt sich der aktuellen Textfarbe an */
.motivblatt .motiv-zeile,
.motivblatt .motiv-oben,
.motivblatt .motiv-unten {
  fill: var(--braun);
}
.motivblatt .deko-fill {
  fill: var(--braun);
}
.motivblatt .deko-linie,
.motivblatt .deko-strich {
  stroke: var(--braun);
}
.motivblatt .deko-punkt {
  fill: var(--braun);
}

/* ── Produktseite ────────────────────────────────────────────────────────── */

.brotkrumen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 18px var(--rand) 0;
  font-size: 0.86rem;
  color: var(--braun-weich);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.brotkrumen a {
  text-decoration: none;
  font-weight: 600;
}
.brotkrumen a:hover {
  text-decoration: underline;
}

.produkt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) var(--rand) clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

/* Die horizontal scrollende Fotoleiste darf die Produktspalte nicht verbreitern. */
.produkt-buehne,
.produkt-panel {
  min-width: 0;
}

.produkt-buehne {
  position: sticky;
  top: 104px;
}
.produkt-mockup {
  background: var(--buehne-flaeche);
  border: 2px solid var(--linie);
  border-radius: var(--r-riesig);
  padding: clamp(20px, 4vw, 44px);
  display: grid;
  place-items: center;
}
.produkt-mockup .mockup {
  width: 100%;
  max-width: 420px;
  filter: var(--foto-schatten);
  transition: filter 0.3s;
}
/* Produktfoto: Freigestelltes Studiofoto auf warmer Buehnenflaeche */
.produkt-foto-rahmen {
  background: var(--buehne-flaeche);
  border: 2px solid var(--linie);
  border-radius: var(--r-riesig);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.produkt-foto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--foto-schatten);
}
.daumenleiste {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.daumen {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--linie);
  border-radius: var(--r-klein);
  background: var(--karte-flaeche);
  overflow: hidden;
  cursor: pointer;
}
.daumen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.daumen.ist-gewaehlt {
  border-color: var(--braun);
}
.daumen:focus-visible {
  outline: 3px solid var(--braun);
  outline-offset: 2px;
}
.produkt-buehne-notiz {
  text-align: center;
  font-size: 0.85rem;
  color: var(--braun-leise);
  margin: 12px 0 0;
}

.produkt-panel h1 {
  margin-bottom: 10px;
}
.produkt-kurz {
  font-size: 1.1rem;
  color: var(--braun-weich);
  margin-bottom: 22px;
}
.produkt-preis {
  font-size: 2.1rem;
  margin-bottom: 6px;
}
.produkt-steuer {
  font-size: 0.86rem;
  color: var(--braun-weich);
  margin-bottom: 26px;
  max-width: 42ch;
}

.wahl {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}
.wahl legend {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  width: 100%;
}
.wahl-hilfe {
  font-family: Nunito, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--braun-weich);
  margin-left: auto;
}
.wahl-hinweis {
  font-size: 0.85rem;
  color: #b4544a;
  font-weight: 600;
  margin: 10px 0 0;
}

.farbfelder {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.farbfeld {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid var(--linie);
  background: var(--papier);
  border-radius: var(--r-pille);
  padding: 7px 16px 7px 8px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--braun-weich);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.12s;
}
.farbfeld:hover {
  transform: translateY(-2px);
}
.farbfeld.ist-gewaehlt {
  border-color: var(--braun);
  color: var(--braun);
}
.farbfeld-punkt {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--linie-stark);
  flex: 0 0 auto;
}

.groessenfelder {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.groessenfeld {
  min-width: 58px;
  border: 2px solid var(--linie);
  background: var(--papier);
  border-radius: var(--r-klein);
  padding: 11px 12px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--braun-weich);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.12s;
}
.groessenfeld:hover {
  transform: translateY(-2px);
  border-color: var(--linie-stark);
}
.groessenfeld.ist-gewaehlt {
  background: var(--knopf-basis);
  border-color: var(--knopf-basis);
  color: var(--knopf-text);
}

/* Menge und Lieferland: bestimmen die Versandkosten, deshalb vor der Kasse */
.wahl-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 10px;
}
.wahl-auswahl {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 96px;
}
.wahl-auswahl-breit {
  flex: 1 1 200px;
}
.wahl-auswahl span {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.wahl-auswahl select {
  appearance: none;
  border: 2px solid var(--linie);
  background: var(--papier)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a38064' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  border-radius: var(--r-klein);
  padding: 11px 38px 11px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--braun);
  cursor: pointer;
}
.wahl-auswahl select:focus-visible {
  outline: 2px solid var(--braun);
  outline-offset: 2px;
}
.produkt-versand {
  font-size: 0.9rem;
  color: var(--braun-weich);
  margin: 0 0 22px;
}

.produkt-versandnotiz {
  font-size: 0.88rem;
  color: var(--braun-weich);
  margin-top: 14px;
  text-align: center;
}

/* Feste Kaufleiste am unteren Rand, sobald der Knopf aus dem Bild ist */
.kaufleiste {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--papier) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 2px solid var(--linie);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.kaufleiste.ist-sichtbar {
  transform: translateY(0);
}
.kaufleiste-info {
  display: grid;
  min-width: 0;
}
.kaufleiste-name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kaufleiste-variante {
  font-size: 0.82rem;
  color: var(--braun-weich);
}
.kaufleiste .knopf {
  margin-left: auto;
  flex: 0 0 auto;
}

/* ── Motivblock ──────────────────────────────────────────────────────────── */

.motivblock {
  background: var(--creme-tief);
  padding: clamp(40px, 6vw, 76px) var(--rand);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
}
.motivblock > * {
  min-width: 0;
}
.motivblock-blatt {
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  padding: 20px;
  justify-self: end;
  width: min(100%, 420px);
}
.motivblock-text {
  max-width: 52ch;
}
.motivblock-text h2 {
  margin-bottom: 16px;
}
.motivblock-text p {
  color: var(--braun-weich);
}

/* ── Spezifikation ───────────────────────────────────────────────────────── */

.spezifikation {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) var(--rand);
}
.spezifikation h2 {
  margin-bottom: 26px;
}
.spezifikation > div + div {
  margin-top: 28px;
}
.spezifikation h3 {
  margin-bottom: 12px;
}
.spez-raster {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
/* Ohne Maßtabelle (Tasse, Tasche) braucht die zweite Spalte nicht zu warten. */
.spez-raster-breit {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.spez-liste {
  margin: 0;
  display: grid;
  gap: 2px;
  background: var(--linie);
  border: 2px solid var(--linie);
  border-radius: var(--r-mittel);
  overflow: hidden;
}
.spez-liste > div {
  background: var(--papier);
  padding: 15px 20px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
}
.spez-liste dt {
  font-weight: 700;
  color: var(--braun);
}
.spez-liste dd {
  margin: 0;
  color: var(--braun-weich);
}

.masstabelle {
  width: 100%;
  border-collapse: collapse;
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-mittel);
  overflow: hidden;
  font-size: 0.92rem;
}
.masstabelle caption {
  caption-side: bottom;
  text-align: left;
  padding: 10px 4px 0;
  font-size: 0.8rem;
  color: var(--braun-leise);
}
.masstabelle th,
.masstabelle td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--linie);
}
.masstabelle thead th {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  background: var(--papier-warm);
  font-size: 0.84rem;
}
.masstabelle tbody th {
  font-weight: 700;
}
.masstabelle td {
  color: var(--braun-weich);
}
.masstabelle tr:last-child th,
.masstabelle tr:last-child td {
  border-bottom: 0;
}

.versandtabelle {
  margin: 8px 0 16px;
}

.spez-fussnote {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--braun-leise);
  max-width: 76ch;
}

.weiter {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand) clamp(56px, 8vw, 96px);
}
.weiter h2 {
  margin-bottom: 26px;
}

/* ── Abschnitt „Die Figuren" ─────────────────────────────────────────────── */

.figuren {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}
.figuren-text h2 {
  margin-bottom: 18px;
}
.figuren-text p {
  color: var(--braun-weich);
}
.figuren-text strong {
  color: var(--braun);
}
.figuren-kasten {
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  padding: clamp(24px, 3.5vw, 38px);
}
.figuren-kasten h3 {
  margin-bottom: 12px;
}
.figuren-kasten p {
  color: var(--braun-weich);
  font-size: 0.98rem;
}
.figuren-name {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bubu);
}

/* ── Ablauf-Schritte ─────────────────────────────────────────────────────── */

.schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: schritt;
}
.schritte li {
  counter-increment: schritt;
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  padding: 26px 24px 24px;
}
.schritte li::before {
  content: counter(schritt);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blush-hell);
  color: var(--braun);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.schritte h3 {
  margin-bottom: 6px;
}
.schritte p {
  color: var(--braun-weich);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Fragen und Antworten ────────────────────────────────────────────────── */

.fragen {
  display: grid;
  gap: 12px;
  max-width: 800px;
}
.fragen details {
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-mittel);
  overflow: hidden;
  transition: border-color 0.2s;
}
.fragen details[open] {
  border-color: var(--linie-stark);
}
.fragen summary {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 17px 54px 17px 22px;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.fragen summary::-webkit-details-marker {
  display: none;
}
.fragen summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--braun-weich);
  border-bottom: 3px solid var(--braun-weich);
  border-radius: 2px;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s;
}
.fragen details[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}
.fragen details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--braun-weich);
  max-width: 68ch;
}

/* ── Rechtsseiten ────────────────────────────────────────────────────────── */

.rechtsseite {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--rand) clamp(56px, 8vw, 96px);
}
.rechtsseite h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}
.rechts-stand {
  color: var(--braun-leise);
  font-size: 0.86rem;
  margin-bottom: 36px;
}
.rechts-aktion {
  margin: -20px 0 40px;
}

/* Das Widerrufsformular hebt sich vom Fliesstext ab — es ist der Grund,
   warum die meisten diese Seite ueberhaupt aufrufen. */
#widerruf-formular {
  scroll-margin-top: 110px;
}
#widerruf-formular > h2 {
  font-size: 1.6rem;
}
.rechts-block {
  margin-bottom: 34px;
}
.rechts-block h2 {
  font-size: 1.32rem;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.rechts-nummer {
  color: var(--braun-leise);
  font-size: 0.9rem;
  font-weight: 700;
}
.rechts-block p,
.rechts-block li {
  color: var(--braun-weich);
}
.rechts-block strong {
  color: var(--braun);
}
.rechts-block address {
  font-style: normal;
  color: var(--braun);
}

.rechts-inhalt {
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: 40px;
}
.rechts-inhalt p {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--braun);
}
.rechts-inhalt-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px 22px;
  font-size: 0.94rem;
}
.rechts-inhalt-raster a {
  text-decoration: none;
  color: var(--braun-weich);
  padding: 3px 0;
  display: flex;
  gap: 10px;
}
.rechts-inhalt-raster a:hover {
  color: var(--braun);
}
.rechts-inhalt-raster span {
  color: var(--braun-leise);
  font-weight: 700;
}

.rechts-daten {
  margin: 0;
  display: grid;
  gap: 2px;
  background: var(--linie);
  border: 2px solid var(--linie);
  border-radius: var(--r-mittel);
  overflow: hidden;
}
.rechts-daten > div {
  background: var(--papier);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
}
.rechts-daten dt {
  font-weight: 700;
}
.rechts-daten dd {
  margin: 0;
  color: var(--braun-weich);
}

/* Widerrufsformular */
.formkasten {
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  padding: clamp(22px, 3vw, 34px);
}
.formfeld {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.formfeld > span {
  font-weight: 700;
  font-size: 0.92rem;
}
.formeingabe {
  border: 2px solid var(--linie);
  border-radius: var(--r-klein);
  background: var(--papier-warm);
  padding: 12px 14px;
  font: inherit;
  color: var(--braun);
}
.formeingabe:focus {
  border-color: var(--braun-weich);
}
.formnotiz {
  font-size: 0.88rem;
  color: var(--braun-weich);
}
.formfehler {
  color: #b4544a;
  font-weight: 700;
  margin-top: 12px;
}
.bestaetigungskasten {
  background: var(--papier-warm);
  border: 2px solid var(--linie);
  border-radius: var(--r-mittel);
  padding: 18px 20px;
  margin: 16px 0;
}

/* ── Danke-Seite ─────────────────────────────────────────────────────────── */

.danke {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) var(--rand);
  text-align: center;
}
.danke h1 {
  margin-bottom: 16px;
}
.danke p {
  color: var(--braun-weich);
  font-size: 1.06rem;
}
.danke-deko {
  width: 96px;
  margin: 0 auto 26px;
}

/* ── Einwilligungs-Banner ────────────────────────────────────────────────── */

.einwilligung {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--papier);
  border: 2px solid var(--linie-stark);
  border-radius: var(--r-gross);
  box-shadow: var(--schatten-karte);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
.einwilligung p {
  margin: 0;
  flex: 1 1 300px;
  font-size: 0.92rem;
  color: var(--braun-weich);
}
.einwilligung-knoepfe {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

/* ── Checkout-Fenster ────────────────────────────────────────────────────── */

.checkout-huelle {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(74, 55, 40, 0.45);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
}
/* display: grid oben wuerde das hidden-Attribut sonst aufheben: Die
   geschlossene Kasse laege weiter abgedunkelt ueber der Seite. */
.checkout-huelle[hidden] {
  display: none;
}
body.checkout-offen {
  overflow: hidden;
}
.checkout-fenster {
  position: relative;
  background: var(--papier);
  border-radius: var(--r-gross);
  width: min(100%, 620px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 52px 18px 18px;
}
.checkout-schliessen {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--linie);
  border-radius: 50%;
  background: var(--papier-warm);
  color: var(--braun);
  cursor: pointer;
}
.checkout-laedt,
.checkout-fehler {
  text-align: center;
  padding: 48px 20px;
  color: var(--braun-weich);
}
.checkout-fehler {
  color: #b4544a;
}

/* ── Fusszeile ───────────────────────────────────────────────────────────── */

.fuss {
  background: var(--fuss-flaeche);
  color: var(--fuss-text);
  padding: clamp(44px, 6vw, 72px) var(--rand) 28px;
  border-radius: var(--r-riesig) var(--r-riesig) 0 0;
  margin-top: 40px;
}
.fuss-inhalt {
  max-width: var(--breite);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.fuss a {
  color: var(--fuss-text);
  text-decoration: none;
  opacity: 0.84;
  padding: 3px 0;
}
.fuss a:hover {
  opacity: 1;
  text-decoration: underline;
}
.fuss-marke p {
  color: color-mix(in srgb, var(--fuss-text) 76%, transparent);
  font-size: 0.95rem;
  max-width: 34ch;
}
.fuss-klein {
  font-size: 0.82rem !important;
  margin-top: 12px;
}
.wortmarke-fuss {
  color: var(--fuss-text);
  margin-bottom: 14px;
}
.wortmarke-fuss .wortmarke-zeile2 {
  color: color-mix(in srgb, var(--fuss-text) 66%, transparent);
}
.fuss-spalte {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}
.fuss-titel {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--fuss-text) 62%, transparent);
  margin: 0 0 10px;
}
/* Widerrufsbutton: eigener Block quer ueber die Fusszeile, auf jeder Seite.
   Wer widerrufen will, soll ihn finden, ohne eine Linkliste zu lesen. */
.fuss-widerruf {
  max-width: var(--breite);
  margin: 40px auto 0;
  padding: 22px 26px;
  border: 2px solid color-mix(in srgb, var(--fuss-text) 26%, transparent);
  border-radius: var(--r-gross);
  background: color-mix(in srgb, var(--fuss-text) 7%, transparent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.fuss-widerruf-text {
  flex: 1 1 320px;
}
.fuss-widerruf-titel {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  margin: 0 0 4px;
}
.fuss-widerruf p:last-child {
  margin: 0;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--fuss-text) 74%, transparent);
  max-width: 60ch;
}
/* Farbe, Padding und Deckkraft ausdruecklich setzen: `.fuss a` ist
   spezifischer als `.knopf` und faerbt den Knopf sonst creme auf creme. */
.fuss-widerruf .knopf,
.fuss-widerruf .knopf:hover {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 14px 28px;
  background: #fffcf7;
  color: #4a3728;
  --knopf-tief: #d8c3a9;
  opacity: 1;
  text-decoration: none;
}

/* Der Kasten sitzt schon im Fussbereich — die Trennlinie darueber entfaellt. */
.fuss-widerruf + .fuss-zeile {
  margin-top: 24px;
  border-top: 0;
  padding-top: 0;
}
.fuss-zeile {
  max-width: var(--breite);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--fuss-text) 20%, transparent);
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--fuss-text) 64%, transparent);
}

/* ── Startseite: Kategorien und Geschenke ────────────────────────────────── */

.kategorie-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.kategorie {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 20px 22px;
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s, background 0.2s;
}
.kategorie:hover {
  transform: translateY(-4px);
  border-color: var(--linie-stark);
  background: var(--blush-hell);
}
.kategorie-name {
  font-family: "Baloo 2", Nunito, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.15;
}
.kategorie-text {
  color: var(--braun);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ── Einstiegsangebote auf der Startseite ─────────────────────────────────── */

.einstieg-angebote {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.einstieg-karte {
  display: flex;
  flex-direction: column;
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  overflow: hidden;
  box-shadow: var(--schatten-weich);
  transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}

.einstieg-karte:hover,
.einstieg-karte:focus-within {
  transform: translateY(-4px);
  border-color: var(--linie-stark);
  box-shadow: var(--schatten-karte);
}

.einstieg-bild {
  background: var(--karte-flaeche);
  padding: 24px 20px 12px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border-bottom: 2px solid var(--linie);
}

.einstieg-bild img {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: var(--foto-schatten);
  transition: transform 0.2s ease;
}

.einstieg-karte:hover .einstieg-bild img {
  transform: scale(1.04);
}

.einstieg-inhalt {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}

.einstieg-tag {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bubu);
  background: var(--creme-tief);
  padding: 4px 10px;
  border-radius: var(--r-rund);
  border: 1px solid var(--linie);
}

.einstieg-inhalt h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  margin: 4px 0 0;
  line-height: 1.2;
}

.einstieg-inhalt h3 a {
  text-decoration: none;
  color: inherit;
}

.einstieg-inhalt h3 a:hover,
.einstieg-inhalt h3 a:focus {
  color: var(--bubu);
}

.einstieg-art {
  font-size: 0.88rem;
  color: var(--braun-leise);
  margin: 0;
}

.einstieg-zweck {
  color: var(--braun);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 4px 0 12px;
}

.einstieg-fuss {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--linie);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.einstieg-preisblock {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.einstieg-preis {
  font-family: "Baloo 2", Nunito, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--braun);
  line-height: 1;
}

.einstieg-versand {
  font-size: 0.8rem;
  color: var(--braun-leise);
  font-weight: 600;
}

@media (max-width: 540px) {
  .einstieg-fuss {
    flex-direction: column;
    align-items: stretch;
  }
  .einstieg-fuss .knopf {
    text-align: center;
    width: 100%;
  }
}

.geschenk-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(14px, 2.4vw, 26px);
  margin-bottom: clamp(18px, 2.6vw, 28px);
}
.geschenk {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}
.geschenk:hover {
  transform: translateY(-4px);
  border-color: var(--linie-stark);
  box-shadow: var(--schatten-weich);
}
.geschenk p {
  color: var(--braun);
  margin: 0;
}
.geschenk-link {
  margin-top: auto;
  padding-top: 6px;
  font-family: "Baloo 2", Nunito, system-ui, sans-serif;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--blush);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.geschenk-tipps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.geschenk-tipps li {
  padding: 18px 20px;
  background: color-mix(in srgb, var(--papier) 62%, transparent);
  border: 2px solid var(--linie);
  border-radius: var(--r-mittel);
}
.geschenk-tipps h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.geschenk-tipps p {
  color: var(--braun);
  font-size: 0.92rem;
  margin: 0;
}

/* ── Weihnachts-Bestellfrist und Geschenkgruppen ─────────────────────────── */

.buehne-hinweis {
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-klein);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--braun-weich);
  max-width: 52ch;
}
.buehne-hinweis strong {
  color: var(--braun);
}
.buehne-hinweis-text {
  margin: 0;
}
.buehne-hinweis-link {
  margin-left: 6px;
  font-weight: 700;
  color: var(--braun);
  text-decoration-color: var(--blush);
  text-decoration-thickness: 2px;
  white-space: nowrap;
}

.bestellfrist-hinweis {
  margin-top: 14px;
  padding: 16px 20px;
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-mittel);
}
.bestellfrist-hinweis p {
  margin-bottom: 8px;
}
.bestellfrist-hinweis p:last-child {
  margin-bottom: 0;
}
.bestellfrist-hinweis-links {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--braun);
}

.bestellfrist-kasten {
  margin-bottom: clamp(28px, 4vw, 42px);
  padding: clamp(20px, 3vw, 28px);
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
}
.bestellfrist-kasten h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 8px;
}
.bestellfrist-kasten p {
  color: var(--braun-weich);
  max-width: 64ch;
}
.bestellfrist-punkte {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 12px 0 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--linie);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--braun);
}

.buehne-hinweis[data-bestellfrist-zustand="abgelaufen"],
.bestellfrist-hinweis[data-bestellfrist-zustand="abgelaufen"],
.bestellfrist-kasten[data-bestellfrist-zustand="abgelaufen"] {
  background: var(--blush-hell);
  border-color: var(--blush);
}

.geschenk-gruppen {
  display: grid;
  gap: clamp(32px, 5vw, 52px);
  margin-top: 18px;
}
.geschenk-gruppe-kopf {
  margin-bottom: 18px;
}
.geschenk-gruppe-kopf h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.48rem);
  margin-bottom: 6px;
}
.geschenkgruppe-preis {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--braun);
  background: var(--papier-warm);
  border: 1px solid var(--linie);
  border-radius: var(--r-pille);
  padding: 3px 12px;
}
.geschenk-gruppe-kopf p {
  color: var(--braun-weich);
  max-width: 60ch;
  margin: 0;
}

/* ── Kollektion: Suche, Sortierung, Ergebnis ─────────────────────────────── */

/* hidden muss gegen display:flex/grid gewinnen, sonst bleiben die Elemente
   ohne JavaScript sichtbar oder verschwinden nicht wieder. */
.entdeckung-steuerung[hidden],
.entdeckung-leer[hidden],
.entdeckung-zuruecksetzen[hidden] {
  display: none;
}

.entdeckung-steuerung {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 14px clamp(14px, 2.4vw, 24px);
  align-items: end;
  margin-bottom: 20px;
  padding: clamp(16px, 2.4vw, 22px);
  background: var(--papier);
  border: 2px solid var(--linie);
  border-radius: var(--r-gross);
}
.entdeckung-feld {
  display: grid;
  min-width: 0;
  gap: 6px;
}
.entdeckung-feld label {
  font-weight: 700;
  font-size: 0.92rem;
}
.entdeckung-feld .formeingabe {
  width: 100%;
  min-height: 48px;
  border-radius: var(--r-pille);
  padding-inline: 18px;
}
.entdeckung-feld select.formeingabe {
  cursor: pointer;
}
.entdeckung-kopfzeile {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.entdeckung-status {
  margin: 0;
  font-family: "Baloo 2", Nunito, system-ui, sans-serif;
  font-weight: 700;
  color: var(--braun);
}
.entdeckung-zuruecksetzen {
  padding: 7px 18px;
}

.entdeckung-leer {
  max-width: 520px;
  margin: 8px auto 0;
  padding: clamp(24px, 4vw, 38px);
  text-align: center;
  background: var(--papier-warm);
  border: 2px dashed var(--linie-stark);
  border-radius: var(--r-gross);
}
.entdeckung-leer h3 {
  margin-bottom: 8px;
}
.entdeckung-leer p {
  color: var(--braun);
  margin-bottom: 18px;
}

/* ── Schmale Bildschirme ─────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .buehne,
  .produkt,
  .motivblock,
  .figuren,
  .spez-raster {
    grid-template-columns: 1fr;
  }
  .produkt-buehne {
    position: static;
  }
  .motivblock-blatt {
    justify-self: stretch;
    width: 100%;
  }
  .buehne-bild {
    max-width: 420px;
    margin: 0 auto;
    order: -1;
  }
  .spez-liste > div,
  .rechts-daten > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .fuss-inhalt {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .navigation {
    display: none;
  }
  .kopf {
    gap: 12px;
  }
  .knopf-klein {
    margin-left: auto;
  }
  .entdeckung-steuerung {
    grid-template-columns: 1fr;
  }
  .kategorie-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kategorie {
    padding: 16px;
    overflow-wrap: anywhere;
  }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .chip {
    flex: 0 0 auto;
  }
  .entdeckung-leer .knopf {
    width: 100%;
  }
  .fuss-inhalt {
    grid-template-columns: 1fr;
  }
  .fuss-widerruf .knopf {
    width: 100%;
    margin-left: 0;
  }
  .einwilligung-knoepfe {
    width: 100%;
  }
  .einwilligung-knoepfe .knopf {
    flex: 1;
  }
  /* Der grosse Kaufknopf im Panel wird auf dem Handy von der Leiste ersetzt */
  .produkt-panel .knopf-gross {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .kategorie:hover,
  .geschenk:hover,
  .einstieg-karte:hover,
  .chip:hover {
    transform: none;
  }
}
