/*
 * ByLamari Charm-Bar
 * Alle Farben, Schriften, Radien und Abstände sind 1:1 aus dem Shop-Neubau
 * übernommen (bylamari-shop/shop/app/bylamari.css, bylamari-bausteine.css,
 * bylamari-farbwahl.css). Herkunft jedes Werts: ../DESIGN-TOKENS.md
 * Einzige Ausnahme: der Bühnen-Hintergrund #F0EEE9 kommt aus SPEZIFIKATION.md.
 * Beim Einbau in Hydrogen fällt der Block „Shop-Werte“ weg, weil die
 * --bl-* Variablen dort schon da sind.
 */

/* ── Schriften (wie im Shop selbst gehostet) ── */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* ── Shop-Werte (Kopie aus bylamari.css) ── */
:root {
  --bl-blau: #1e3f7a;
  --bl-gelb: #fff5c7;
  /* Farbe der Auswahl-Kästen und des Einstiegs-Kastens: Weiß (Malik 14.11.2026, vorher Gelb) */
  --cb-kasten: var(--bl-weiss);
  --bl-bordeaux: #5a1a24;
  --bl-schwarz: #161616;
  --bl-weiss: #ffffff;
  --bl-flaeche: #efede8;
  --bl-linie: #ececec;
  --bl-kante: #86817c;
  --bl-text-grau: #5a5a5a;
  --bl-text-leise: #3a3a3a;
  --bl-text-gross: 18px;
  --bl-text-knopf: 15px;
  --bl-abstand-4: 4px;
  --bl-abstand-8: 8px;
  --bl-abstand-12: 12px;
  --bl-abstand-16: 16px;
  --bl-abstand-24: 24px;
  --bl-abstand-32: 32px;
  --bl-abstand-48: 48px;
  --bl-seitenrand: 16px;
  --bl-tippflaeche: 44px;
  --bl-knopf-hoehe: 48px;
  --bl-radius-button: 8px;
  --bl-radius-kachel: 12px;
  --bl-radius-bild: 16px;
  --bl-radius-rund: 999px;
  --bl-schrift-ueberschrift: "DM Serif Display", Georgia, "Times New Roman", serif;
  --bl-schrift-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bl-gewicht-normal: 400;
  --bl-gewicht-mittel: 500;
  --bl-gewicht-fett: 600;
  --bl-text-mini: 13px;
  --bl-text-klein: 14px;
  --bl-gewicht-titel: 700;
  --bl-titel-3: 24px;
  --bl-radius-badge: 4px;
  --bl-dauer-kurz: 150ms;
  --bl-dauer-mittel: 300ms;
  --bl-kurve-auf: cubic-bezier(0.2, 0, 0, 1);

  /* Farbwahl der Ringe (bylamari-farbwahl.css) */
  --bl-fw-feder: cubic-bezier(0.22, 1, 0.36, 1);
  --bl-fw-feder-dauer: 550ms;
  --bl-fw-gold-1: #f8edca;
  --bl-fw-gold-2: #ecd496;
  --bl-fw-gold-3: #e2c27a;
  --bl-fw-silber-1: #f7f8fa;
  --bl-fw-silber-2: #e1e4e8;
  --bl-fw-silber-3: #cdd1d7;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --bl-fw-feder: linear(
      0, 0.067, 0.211, 0.375, 0.529, 0.66, 0.764, 0.842, 0.899, 0.939, 0.965, 0.982, 0.992,
      0.998, 1.001, 1.003, 1.003, 1.003, 1.002, 1.002, 1.001, 1.001, 1
    );
  }
}

/* ── Werte nur für die Charm-Bar ── */
:root {
  --cb-buehne: #f0eee9; /* SPEZIFIKATION.md, „Bildschirmaufteilung“ */
  /* Höhe des Editors. Im Shop: Bildschirm minus Kopfzeile (siehe EINBAU.md) */
  --cb-hoehe: 100svh;
  /* Einstieg: kompakter Block über der Produktliste, nicht der ganze Bildschirm */
  --cb-einstieg-hoehe: min(66svh, 560px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ── Aufteilung 45 / 35 / 20, nichts scrollt außer den Kacheln ── */
.cb {
  height: var(--cb-hoehe);
  min-height: 560px;
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-rows: 45fr 35fr 20fr;
  grid-template-columns: minmax(0, 1fr); /* die lange Kachelreihe darf die Breite nicht aufdrücken */
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* ── Bühne ── */
.cb-buehne {
  position: relative;
  overflow: hidden;
  background: var(--cb-buehne);
  touch-action: manipulation;
}
.cb-buehne__titel {
  position: absolute;
  z-index: 3;
  top: var(--bl-abstand-12);
  left: var(--bl-seitenrand);
  right: var(--bl-seitenrand);
  margin: 0;
  font-size: var(--bl-text-mini);
  color: var(--bl-text-grau);
  pointer-events: none;
}
.cb-buehne__titel b {
  font-weight: var(--bl-gewicht-fett);
  color: var(--bl-schwarz);
}
.cb-buehne__welt {
  position: absolute;
  inset: 0;
}

/* Creole: Fläche der Seite ist antippbar (macht sie aktiv) */
.cb-seite {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.cb-seite[data-seite="links"] {
  left: 0;
}
.cb-seite[data-seite="rechts"] {
  right: 0;
}
.cb-seite:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: -4px;
}

.cb-creole,
.cb-haenger {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  pointer-events: none;
}
.cb-creole img,
.cb-haenger img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-drag: none;
}
/* Ebenen auf der Bühne: Seitenflächen 0 · Charms 1–2 · Creole 3 · vordere Ringhälfte 4 · Punkte 5 */
.cb-creole {
  z-index: 3;
}
.cb-haenger-vorn {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  will-change: transform;
  pointer-events: none;
}
.cb-haenger-vorn img {
  display: block;
  width: 100%;
  height: auto;
}

/* Freie Aufhängepunkte: kleine Punkte, der nächste auf der aktiven Creole in Blau */
.cb-punkt {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-kante);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity var(--bl-dauer-kurz) ease;
}
.cb-punkt.is-belegt {
  opacity: 0;
}
.cb-punkt.is-naechster {
  background: var(--bl-blau);
  opacity: 1;
}
.cb-punkt.is-naechster::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid var(--bl-blau);
  animation: cb-puls 1.4s var(--bl-kurve-auf) infinite;
}
@keyframes cb-puls {
  from {
    transform: scale(0.5);
    opacity: 0.8;
  }
  to {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Eingehängter Charm: antippen entfernt ihn */
.cb-haenger {
  z-index: 1;
  pointer-events: auto;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.cb-haenger:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
  border-radius: var(--bl-radius-rund);
}

/* ── Mitte: Kacheln ── */
.cb-mitte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--bl-abstand-8);
  min-height: 0;
  padding-block: var(--bl-abstand-12);
  border-bottom: 1px solid var(--bl-linie);
}
.cb-mitte__hinweis {
  margin: 0;
  padding-inline: var(--bl-seitenrand);
  font-size: var(--bl-text-mini);
  color: var(--bl-text-grau);
}
.cb-kacheln {
  display: flex;
  gap: var(--bl-abstand-8);
  padding: var(--bl-abstand-4) var(--bl-seitenrand);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--bl-seitenrand); /* Einrasten mit Seitenrand, nicht an der Kante */
  scrollbar-width: none;
  touch-action: pan-x;
}
.cb-kacheln::-webkit-scrollbar {
  display: none;
}
.cb-kachel {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bl-abstand-4);
  width: 80px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bl-schwarz);
  font: inherit;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform var(--bl-dauer-kurz) var(--bl-kurve-auf);
}
.cb-kachel:active {
  transform: scale(0.95);
}
.cb-kachel__bild {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-flaeche);
}
.cb-kachel__bild img {
  width: auto;
  height: auto;
  max-width: 60px;
  max-height: 66px;
  pointer-events: none;
}
.cb-kachel__name {
  max-width: 100%;
  overflow: hidden;
  font-size: var(--bl-text-mini);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cb-kachel:focus-visible .cb-kachel__bild {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
}

/* ── Unten: Angebotsbalken ── */
.cb-balken {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: var(--bl-abstand-12) var(--bl-seitenrand);
  padding-bottom: max(var(--bl-abstand-12), env(safe-area-inset-bottom));
  background: var(--bl-weiss);
}
.cb-balken__teil {
  display: flex;
  flex-direction: column;
  gap: var(--bl-abstand-12);
}
.cb-balken__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bl-abstand-12);
}
.cb-balken__fortschritt {
  display: flex;
  align-items: center;
  gap: var(--bl-abstand-8);
  font-size: var(--bl-text-klein);
}
.cb-punkte {
  display: flex;
  gap: var(--bl-abstand-4);
}
.cb-punkte i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--bl-kante);
  border-radius: var(--bl-radius-rund);
  transition: background-color var(--bl-dauer-kurz) ease, border-color var(--bl-dauer-kurz) ease;
}
.cb-punkte i.is-voll {
  background: var(--bl-blau);
  border-color: var(--bl-blau);
}
.cb-balken__preis {
  display: flex;
  align-items: baseline;
  gap: var(--bl-abstand-8);
  font-size: var(--bl-text-klein);
  font-variant-numeric: tabular-nums;
}
.cb-balken__betrag {
  font-size: 16px;
  font-weight: var(--bl-gewicht-fett);
}
.cb-balken__alt {
  color: var(--bl-text-grau);
}

/* Hauptknopf wie .bl-button im Shop */
.cb-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--bl-knopf-hoehe);
  padding: 0 var(--bl-abstand-24);
  border: 1px solid var(--bl-blau);
  border-radius: var(--bl-radius-button);
  background: var(--bl-blau);
  color: var(--bl-weiss);
  font-family: var(--bl-schrift-text);
  font-size: var(--bl-text-klein);
  font-weight: var(--bl-gewicht-mittel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--bl-dauer-kurz) var(--bl-kurve-auf);
}
.cb-knopf:active {
  transform: scale(0.98);
}
.cb-knopf:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cb-knopf:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
}

/* Kleine Handys (360 × 640): enger, aber nichts abgeschnitten */
@media (max-height: 700px) {
  .cb-mitte {
    padding-block: var(--bl-abstand-8);
  }
  .cb-kachel,
  .cb-kachel__bild {
    width: 72px;
  }
  .cb-kachel__bild {
    height: 72px;
  }
  .cb-balken__teil {
    gap: var(--bl-abstand-8);
  }
}

/* Computer: dieselbe Aufteilung, breiter */
@media (min-width: 768px) {
  :root {
    --bl-seitenrand: 24px;
    --cb-hoehe: min(100svh, 860px);
    --cb-einstieg-hoehe: min(72svh, 560px);
  }
  .cb-kachel,
  .cb-kachel__bild {
    width: 96px;
  }
  .cb-kachel__bild {
    height: 96px;
  }
  .cb-kachel__bild img {
    max-width: 72px;
    max-height: 80px;
  }
  .cb-balken__teil {
    flex-direction: row;
    align-items: center;
  }
  .cb-balken__zeile {
    flex: 1;
  }
  .cb-knopf {
    width: auto;
    min-width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cb-punkt.is-naechster::after {
    animation: none;
  }
}

/* ══ Phasen: Creolen-Wahl, dann Charms ══════════════════════════════════ */
.cb[data-phase="einstieg"] [data-teil]:not([data-teil="einstieg"]),
.cb[data-phase="creolen"] [data-teil]:not([data-teil="creolen"]),
.cb[data-phase="charms"] [data-teil]:not([data-teil="charms"]) {
  display: none !important;
}
/* Neu eingeblendete Teile steigen kurz auf */
.cb [data-teil] {
  animation: cb-auf var(--bl-dauer-mittel) var(--bl-kurve-auf) backwards;
}
@keyframes cb-auf {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
/* In der Creolen-Wahl gibt es noch keine Aufhängepunkte und nichts anzutippen */
.cb[data-phase="creolen"] .cb-punkt,
.cb[data-phase="creolen"] .cb-seite {
  display: none;
}

/* Auftritt einer neu gewählten Creole: setzt sich von oben (am Ohrbügel) */
.cb-creole img.is-neu {
  transform-origin: 50% 0;
  animation: cb-creole-neu 380ms var(--bl-kurve-auf);
}
@keyframes cb-creole-neu {
  from {
    opacity: 0.2;
    transform: scale(0.88);
  }
}

/* „Creolen ändern“ oben rechts auf der Bühne */
.cb-buehne__aendern {
  position: absolute;
  z-index: 6;
  top: 0;
  right: var(--bl-abstand-4);
  min-height: var(--bl-tippflaeche);
  padding: 0 var(--bl-abstand-12);
  border: 0;
  background: none;
  color: var(--bl-schwarz);
  font: inherit;
  font-size: var(--bl-text-mini);
  font-weight: var(--bl-gewicht-mittel);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.cb-buehne__aendern:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: -4px;
}
.cb[data-phase="charms"] .cb-buehne__titel {
  right: 128px;
}

/* ── Formen-Raster auf der Bühne (noch keine Form gewählt) ── */
.cb-formen {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: none;
  flex-direction: column;
  gap: var(--bl-abstand-12);
  padding: var(--bl-abstand-16) var(--bl-seitenrand);
  background: var(--cb-buehne);
}
.cb[data-form="nein"] .cb-formen {
  display: flex;
}
.cb[data-form="nein"] .cb-buehne__titel {
  visibility: hidden;
}
.cb-formen__titel {
  margin: 0;
  font-family: var(--bl-schrift-ueberschrift);
  font-size: var(--bl-titel-3);
  font-weight: var(--bl-gewicht-titel);
  line-height: 1.1;
}
.cb-formen__raster {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: var(--bl-abstand-8);
}
.cb-form {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bl-abstand-4);
  min-height: 0;
  padding: var(--bl-abstand-8) var(--bl-abstand-4);
  border: 0;
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-weiss);
  color: var(--bl-schwarz);
  font: inherit;
  cursor: pointer;
  transition:
    transform var(--bl-dauer-kurz) var(--bl-kurve-auf),
    opacity var(--bl-dauer-mittel) ease;
  animation: cb-auf var(--bl-dauer-mittel) var(--bl-kurve-auf) backwards;
  animation-delay: calc(var(--i, 0) * 30ms);
}
/* 4 oben, 3 mittig darunter */
.cb-form:nth-child(5) {
  grid-column: 2 / span 2;
}
.cb-form:active {
  transform: scale(0.96);
}
.cb-form img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
  pointer-events: none;
}
.cb-form__name {
  font-size: var(--bl-text-mini);
  font-weight: var(--bl-gewicht-fett);
  line-height: 1.2;
}
.cb-form__produkt {
  font-size: var(--bl-text-mini);
  line-height: 1.2;
  color: var(--bl-text-grau);
}
/* Gibt es nicht in der gewählten Farbe: blasser, aber wählbar (wechselt dann die Farbe) */
.cb-form.is-andere-farbe {
  opacity: 0.45;
}
.cb-form:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
}

/* ── Mitte in der Creolen-Wahl ── */
.cb-wahl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--bl-abstand-12);
  min-height: 0;
}
.cb-formleiste {
  display: flex;
  gap: var(--bl-abstand-8);
  padding: var(--bl-abstand-4) var(--bl-seitenrand);
  overflow-x: auto;
  scrollbar-width: none;
  touch-action: pan-x;
}
.cb-formleiste::-webkit-scrollbar {
  display: none;
}
.cb[data-form="nein"] .cb-formleiste {
  display: none;
}
.cb-formknopf {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bl-abstand-4);
  width: 64px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bl-schwarz);
  font: inherit;
  font-size: var(--bl-text-mini);
  cursor: pointer;
  transition: transform var(--bl-dauer-kurz) var(--bl-kurve-auf);
}
.cb-formknopf:active {
  transform: scale(0.95);
}
.cb-formknopf__bild {
  display: flex; /* feste Höhe, damit das Bild darin per object-fit passt */
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: var(--bl-abstand-8);
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-flaeche);
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow var(--bl-dauer-kurz) ease;
}
.cb-formknopf__bild img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
/* Blau zeigt die Auswahl (Markenregel) */
.cb-formknopf[aria-checked="true"] .cb-formknopf__bild {
  box-shadow: inset 0 0 0 2px var(--bl-blau);
}
.cb-formknopf[aria-checked="true"] {
  font-weight: var(--bl-gewicht-fett);
}
.cb-formknopf.is-andere-farbe .cb-formknopf__bild img {
  opacity: 0.45;
}
.cb-formknopf:focus-visible .cb-formknopf__bild {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
}

/* ── Segmentwahl (Farbe, Größe) wie die Farbwahl der Ringe im Shop ── */
.cb-segment {
  --luft: var(--bl-abstand-4);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(var(--anzahl, 3), minmax(0, 1fr));
  gap: var(--luft);
  margin-inline: var(--bl-seitenrand);
  padding: var(--luft);
  border: 1px solid var(--bl-linie);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-weiss);
}
.cb-segment__option {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--bl-abstand-8);
  min-height: var(--bl-tippflaeche);
  padding: 0 var(--bl-abstand-8);
  border: 0;
  border-radius: var(--bl-radius-rund);
  background: none;
  color: var(--bl-schwarz);
  font: inherit;
  font-size: var(--bl-text-klein);
  font-weight: var(--bl-gewicht-mittel);
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--bl-dauer-kurz) var(--bl-kurve-auf),
    opacity var(--bl-dauer-kurz) ease;
}
.cb-segment__option:active {
  transform: scale(0.97);
}
.cb-segment__option[aria-checked="true"] {
  font-weight: var(--bl-gewicht-fett);
}
.cb-segment__option:disabled {
  opacity: 0.35;
  cursor: default;
}
.cb-segment__option:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
}
.cb-segment__pill {
  position: absolute;
  z-index: 0;
  top: var(--luft);
  bottom: var(--luft);
  left: var(--luft);
  width: calc((100% - 2 * var(--luft) - (var(--anzahl, 3) - 1) * var(--luft)) / var(--anzahl, 3));
  overflow: hidden;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-flaeche);
  box-shadow:
    0 1px 2px rgb(22 22 22 / 0.12),
    0 4px 12px rgb(22 22 22 / 0.06);
  transform: translateX(calc(var(--index, 0) * (100% + var(--luft))));
  transition: transform var(--bl-fw-feder-dauer) var(--bl-fw-feder);
  will-change: transform;
}
.cb-segment__pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--bl-blau);
}
/* Metall-Ebenen im Pill (nur Farbwahl), die gewählte blendet ein */
.cb-segment__metall {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}
.cb-segment__metall.is-gold {
  background: linear-gradient(115deg, var(--bl-fw-gold-1) 0%, var(--bl-fw-gold-2) 38%, var(--bl-fw-gold-1) 56%, var(--bl-fw-gold-3) 100%);
}
.cb-segment__metall.is-silber {
  background: linear-gradient(115deg, var(--bl-fw-silber-1) 0%, var(--bl-fw-silber-2) 38%, var(--bl-fw-silber-1) 56%, var(--bl-fw-silber-3) 100%);
}
.cb-segment__metall.is-bicolor {
  background: linear-gradient(100deg, var(--bl-fw-gold-1) 0%, var(--bl-fw-gold-2) 42%, var(--bl-fw-silber-2) 58%, var(--bl-fw-silber-1) 100%);
}
.cb-segment[data-gewaehlt="gold"] .is-gold,
.cb-segment[data-gewaehlt="silber"] .is-silber,
.cb-segment[data-gewaehlt="bicolor"] .is-bicolor {
  opacity: 1;
}
.cb-segment__tupfer {
  flex: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--bl-kante);
  border-radius: var(--bl-radius-rund);
}
.cb-segment__tupfer.is-gold {
  background: linear-gradient(135deg, #e9cf86, #b8913a);
}
.cb-segment__tupfer.is-silber {
  background: linear-gradient(135deg, #f2f2f2, #a9abae);
}
.cb-segment__tupfer.is-bicolor {
  background: linear-gradient(135deg, #e9cf86 0%, #b8913a 50%, #f2f2f2 50%, #a9abae 100%);
}

@media (max-height: 700px) {
  .cb-wahl {
    gap: var(--bl-abstand-8);
  }
  .cb-formknopf,
  .cb-formknopf__bild {
    width: 56px;
  }
  .cb-formknopf__bild {
    height: 56px;
  }
  .cb-formen__titel {
    font-size: 20px;
  }
}
@media (min-width: 768px) {
  .cb-formen__raster {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .cb-form,
  .cb-form:nth-child(5) {
    grid-column: auto;
  }
  .cb-segment {
    width: min(480px, calc(100% - 2 * var(--bl-seitenrand)));
    margin-inline: auto;
  }
  .cb-formleiste {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cb [data-teil],
  .cb-form,
  .cb-creole img.is-neu {
    animation: none;
  }
  .cb-segment__pill {
    transition: none;
  }
}
/* ══ Schritt 3: Filter, Charm-Regen, Ziehen ═════════════════════════════ */
.cb {
  position: relative;
}
.cb-charmwahl {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--bl-abstand-8);
  min-height: 0;
}

/* Filter-Kacheln: kleine runde Knöpfe, Blau zeigt den aktiven Filter */
.cb-filter {
  display: flex;
  gap: var(--bl-abstand-8);
  padding: var(--bl-abstand-4) var(--bl-seitenrand);
  overflow-x: auto;
  scrollbar-width: none;
  touch-action: pan-x;
}
.cb-filter::-webkit-scrollbar {
  display: none;
}
.cb-filter__knopf {
  flex: none;
  min-height: var(--bl-tippflaeche);
  padding: 0 var(--bl-abstand-16);
  border: 1px solid var(--bl-linie);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-weiss);
  color: var(--bl-schwarz);
  font: inherit;
  font-size: var(--bl-text-klein);
  font-weight: var(--bl-gewicht-mittel);
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--bl-dauer-kurz) var(--bl-kurve-auf),
    box-shadow var(--bl-dauer-kurz) ease,
    background-color var(--bl-dauer-kurz) ease;
}
.cb-filter__knopf:active {
  transform: scale(0.96);
}
.cb-filter__knopf[aria-pressed="true"] {
  border-color: transparent;
  background: var(--bl-flaeche);
  box-shadow: inset 0 0 0 2px var(--bl-blau);
  font-weight: var(--bl-gewicht-fett);
}
.cb-filter__knopf:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
}
.cb-kachel[hidden] {
  display: none;
}

/* Ebene für Regen und Ziehen */
.cb-regen {
  position: absolute;
  z-index: 20;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cb-regen__tropfen {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  will-change: transform;
  pointer-events: none;
}
.cb-ziehen__geist {
  filter: drop-shadow(0 8px 12px rgb(22 22 22 / 0.18));
}
.cb-kachel.is-gezogen .cb-kachel__bild img {
  opacity: 0.3;
}
/* Beim Ziehen: Bühne zeigt, welche Creole den Charm bekommt */
.cb-buehne[data-ziel="links"] .cb-seite[data-seite="links"],
.cb-buehne[data-ziel="rechts"] .cb-seite[data-seite="rechts"] {
  background: rgb(255 255 255 / 0.45);
}
.cb-seite {
  transition: background-color var(--bl-dauer-kurz) ease;
}

@media (max-height: 700px) {
  .cb-charmwahl {
    gap: var(--bl-abstand-4);
  }
  .cb-mitte__hinweis {
    display: none; /* kleine Handys: Platz für die Kacheln */
  }
}

/* ══ Schritt 4: Angebotsbalken ══════════════════════════════════════════ */
.cb-angebot__oben {
  display: flex;
  align-items: center;
  gap: var(--bl-abstand-12);
}
.cb-angebot__plaetze {
  display: flex;
  gap: var(--bl-abstand-4);
}
.cb-angebot__plaetze i {
  width: 14px;
  height: 14px;
  border: 1px solid var(--bl-kante);
  border-radius: var(--bl-radius-rund);
  transition:
    background-color var(--bl-dauer-kurz) ease,
    border-color var(--bl-dauer-kurz) ease;
}
/* Abstand zwischen bezahlten und gratis Plätzen */
.cb-angebot__plaetze i.is-gratis:nth-child(4) {
  margin-left: var(--bl-abstand-8);
}
.cb-angebot__plaetze i.is-gratis {
  border-style: dashed;
}
.cb-angebot__plaetze i.is-voll {
  border: 1px solid var(--bl-blau);
  background: var(--bl-blau);
}
/* Badge wie „New In“ und „Bestseller“ im Shop: Bordeaux, weiße Schrift, Radius 4 */
.cb-angebot__badge {
  padding: 2px var(--bl-abstand-8);
  border-radius: var(--bl-radius-badge);
  background: var(--bl-weiss);
  color: var(--bl-bordeaux);
  box-shadow: inset 0 0 0 1px var(--bl-bordeaux);
  font-size: var(--bl-text-mini);
  font-weight: var(--bl-gewicht-fett);
  white-space: nowrap;
  transition:
    background-color var(--bl-dauer-mittel) ease,
    color var(--bl-dauer-mittel) ease;
}
.cb-angebot__badge.is-aktiv {
  background: var(--bl-bordeaux);
  color: var(--bl-weiss);
}
.cb-angebot__status {
  min-width: 0;
  font-size: var(--bl-text-klein);
  line-height: 1.3;
}
.cb-balken__preis {
  flex: none;
}
.cb-balken__betrag {
  display: inline-block;
}

/* Kurze Meldung (nur im Test ohne Shop) */
.cb-toast {
  position: absolute;
  z-index: 30;
  left: 50%;
  top: var(--bl-abstand-48);
  max-width: calc(100% - 2 * var(--bl-seitenrand));
  margin: 0;
  padding: var(--bl-abstand-8) var(--bl-abstand-16);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-schwarz);
  color: var(--bl-weiss);
  font-size: var(--bl-text-mini);
  text-align: center;
  transform: translateX(-50%);
  animation: cb-toast 250ms var(--bl-kurve-auf);
  transition: opacity 250ms ease;
}
.cb-toast.is-weg {
  opacity: 0;
}
@keyframes cb-toast {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
}

@media (min-width: 768px) {
  .cb-angebot {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: var(--bl-abstand-24);
    row-gap: var(--bl-abstand-8);
    align-items: center;
  }
  .cb-angebot .cb-knopf {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* ══ Schritt 5: Einstieg ════════════════════════════════════════════════ */
.cb {
  transition: height 420ms var(--bl-kurve-auf);
}
.cb[data-phase="einstieg"] {
  height: var(--cb-einstieg-hoehe);
  grid-template-rows: minmax(0, 1fr) auto;
}
.cb[data-phase="einstieg"] .cb-mitte,
.cb[data-phase="einstieg"] .cb-buehne__titel,
.cb[data-phase="einstieg"] .cb-punkt,
.cb[data-phase="einstieg"] .cb-seite {
  display: none;
}
/* Das Beispiel ist nur zum Ansehen */
.cb[data-phase="einstieg"] .cb-haenger {
  pointer-events: none;
}
.cb-seite {
  z-index: 0;
}
.cb[data-phase="einstieg"] .cb-balken {
  padding-block: var(--bl-abstand-16);
}
.cb-einstieg {
  gap: var(--bl-abstand-8);
}
.cb-einstieg__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bl-abstand-12);
}
.cb-einstieg__titel {
  margin: 0;
  font-family: var(--bl-schrift-ueberschrift);
  font-size: var(--bl-titel-3);
  font-weight: var(--bl-gewicht-titel);
  line-height: 1.1;
}
.cb-einstieg__text,
.cb-einstieg__preis {
  margin: 0;
  font-size: var(--bl-text-klein);
  line-height: 1.4;
}
.cb-einstieg__text {
  color: var(--bl-text-grau);
}
.cb-einstieg__preis {
  font-variant-numeric: tabular-nums;
}
.cb-einstieg__preis s {
  color: var(--bl-text-grau);
}
.cb-einstieg__preis strong {
  font-size: 16px;
  font-weight: var(--bl-gewicht-fett);
}
.cb-einstieg .cb-knopf {
  margin-top: var(--bl-abstand-4);
}

@media (min-width: 768px) {
  .cb-einstieg {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: var(--bl-abstand-24);
    align-items: center;
  }
  .cb-einstieg > :not(.cb-knopf) {
    grid-column: 1;
  }
  .cb-einstieg .cb-knopf {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
  .cb-einstieg__kopf {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cb {
    transition: none;
  }
}
@keyframes bl-ank-puls {
  50% {
    opacity: 0.25;
  }
}

/* Editor unter dem Kopf: füllt genau den Rest des Bildschirms, Angebotsbalken
   so hoch wie sein Inhalt, Bühne und Kacheln teilen sich den Rest 45 : 35 */
.cb {
  height: calc(var(--cb-hoehe) - var(--cb-kopf, 0px));
  min-height: 460px;
  grid-template-rows: minmax(0, 45fr) minmax(0, 35fr) auto;
  scroll-margin-top: var(--cb-kopf, 0px);
}

/* ══ Farbfilter und Umsetzen ════════════════════════════════════════════ */
.cb-filter__knopf {
  display: inline-flex;
  align-items: center;
  gap: var(--bl-abstand-8);
}
.cb-filter__tupfer {
  flex: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--bl-kante);
  border-radius: var(--bl-radius-rund);
}
.cb-filter__tupfer.is-gold {
  background: linear-gradient(135deg, #e9cf86, #b8913a);
}
.cb-filter__tupfer.is-silber {
  background: linear-gradient(135deg, #f2f2f2, #a9abae);
}
.cb-filter__zurueck {
  background: var(--bl-flaeche);
  border-color: transparent;
  font-weight: var(--bl-gewicht-fett);
}
/* Ziel beim Umsetzen: Punkt leuchtet blau, auch wenn dort schon ein Charm hängt */
.cb-punkt.is-ziel {
  opacity: 1 !important;
  background: var(--bl-blau);
  box-shadow: 0 0 0 6px rgb(30 63 122 / 0.25);
}
.cb-haenger {
  touch-action: none; /* Ziehen an der Creole verschiebt nicht die Seite */
}

/* ══ Farbfilter als Leiste mit Schieber ═════════════════════════════════ */
.cb-farbfilter {
  flex: 1;
  min-width: 236px;
  margin-inline: 0;
  touch-action: none; /* Ziehen bewegt den Schieber, nicht die Reihe */
}
.cb-segment {
  touch-action: pan-y;
}
/* Ohne Wahl ist der Schieber unsichtbar, beim Ziehen erscheint er */
.cb-segment[data-gewaehlt=""] .cb-segment__pill {
  opacity: 0;
}
.cb-segment.is-ziehen .cb-segment__pill {
  opacity: 1;
  transition: none;
}
.cb-segment__metall.is-bunt {
  background: var(--bl-flaeche);
}
.cb-segment[data-gewaehlt="bunt"] .is-bunt {
  opacity: 1;
}

/* ══ Stil der Produktseite (Werte aus bylamari-produkt.css) ════════════ */
/* Grund wie .bl-pdp: Perlgrau, Bühne wie die Bildergalerie in derselben Fläche */
.cb {
  --cb-buehne: var(--bl-flaeche);
  background: var(--bl-flaeche);
}

/* Name der Creole als dunkler Chip wie .bl-pdp-galerie__titel */
.cb-buehne__titel {
  top: var(--bl-abstand-12);
  left: var(--bl-abstand-12);
  right: auto;
  max-width: calc(100% - 150px);
  padding: 2px var(--bl-abstand-8);
  overflow: hidden;
  border-radius: var(--bl-radius-badge);
  background: rgb(22 22 22 / 0.75);
  color: var(--bl-weiss);
  font-size: var(--bl-text-mini);
  font-weight: var(--bl-gewicht-fett);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cb[data-phase="charms"] .cb-buehne__titel {
  right: auto;
}
/* „Creolen ändern“ als weißer Chip wie .bl-pdp-merkmale li, Tippfläche 44 px */
.cb-buehne__aendern {
  top: 0;
  right: var(--bl-abstand-4);
  text-decoration: none;
  font-size: 12px;
}
.cb-buehne__aendern::before {
  content: "";
  position: absolute;
  inset: 10px var(--bl-abstand-8);
  z-index: -1;
  border-radius: var(--bl-radius-badge);
  background: var(--bl-weiss);
  box-shadow: inset 0 0 0 1px rgb(22 22 22 / 0.15);
}
.cb-buehne__aendern {
  isolation: isolate;
}

/* Mitte: weißer Kasten wie .bl-pdp-dazu */
.cb-mitte {
  justify-content: center;
  padding: var(--bl-abstand-8) var(--bl-seitenrand);
  border-bottom: 0;
}
.cb-kasten {
  min-height: 0;
  padding: var(--bl-abstand-12) 0;
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-weiss);
}
.cb-kasten > *,
.cb-kasten .cb-kasten__kopf {
  padding-inline: var(--bl-abstand-12);
}
.cb-kasten .cb-filter,
.cb-kasten .cb-kacheln,
.cb-kasten .cb-formleiste {
  padding-inline: var(--bl-abstand-12);
}
.cb-kasten .cb-kacheln {
  scroll-padding-inline: var(--bl-abstand-12);
}
.cb-kasten .cb-segment {
  margin-inline: var(--bl-abstand-12);
}
.cb-kasten__kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--bl-abstand-8);
}
/* Abschnittstitel wie „Das sagen Kundinnen“ (.bl-pdp-stimmen__titel) */
.cb-abschnitt {
  margin: 0;
  font-family: var(--bl-schrift-text);
  font-size: 13px;
  font-weight: var(--bl-gewicht-fett);
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--bl-bordeaux);
  white-space: nowrap;
}
.cb-kasten__kopf .cb-mitte__hinweis {
  padding: 0;
  overflow: hidden;
  font-size: 12px;
  color: var(--bl-text-leise);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Charm-Kacheln wie die Karten „Passt dazu“ (.bl-pdp-dazu__karte) */
.cb-kachel {
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.cb-kachel__bild {
  position: relative;
  margin-bottom: 2px;
}
.cb-kachel__name {
  font-size: 12px;
  font-weight: var(--bl-gewicht-mittel);
  text-transform: uppercase;
}
.cb-kachel__preis {
  font-size: 12px;
  color: var(--bl-text-leise);
  font-variant-numeric: tabular-nums;
}
/* rundes Plus wie .bl-plus (verkleinert für die Kachel) */
.cb-kachel__plus {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--bl-schwarz);
  border-radius: var(--bl-radius-rund);
  background:
    linear-gradient(var(--bl-schwarz), var(--bl-schwarz)) center / 10px 1px no-repeat,
    linear-gradient(var(--bl-schwarz), var(--bl-schwarz)) center / 1px 10px no-repeat;
  transition: background-color var(--bl-dauer-kurz) ease;
}
@media (hover: hover) {
  .cb-kachel:hover .cb-kachel__plus {
    background-color: var(--bl-weiss);
  }
}

/* Formen-Raster: Karten wie die Produktkarten */
.cb-form__name {
  font-weight: var(--bl-gewicht-mittel);
  text-transform: uppercase;
}
.cb-form__produkt {
  font-size: 12px;
  color: var(--bl-text-leise);
}

/* Unten: wie die feste Kaufleiste (.bl-pdp-kaufleiste) */
.cb-balken {
  padding: var(--bl-abstand-8) var(--bl-seitenrand) max(var(--bl-abstand-8), env(safe-area-inset-bottom));
  background: var(--bl-weiss);
  box-shadow: 0 -1px 0 var(--bl-linie);
}
.cb-balken__teil {
  gap: var(--bl-abstand-8);
}
/* Knopf wie .bl-pdp-kaufleiste__knopf: Pille, 15 px, fett, keine Großbuchstaben */
.cb-knopf {
  border: 0;
  border-radius: var(--bl-radius-rund);
  font-size: var(--bl-text-knopf);
  font-weight: var(--bl-gewicht-fett);
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}
.cb-knopf .cb-balken__alt {
  color: rgb(255 255 255 / 0.7);
  font-weight: var(--bl-gewicht-normal);
}
.cb-knopf .cb-balken__betrag {
  font-size: inherit;
}
/* Vertrauens-Chips wie .bl-pdp-kaufleiste__vertrauen */
.cb-vertrauen {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--bl-abstand-4);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: min(12px, 3vw);
  white-space: nowrap;
}
.cb-vertrauen li {
  padding: 2px min(8px, 1.6vw);
  border-radius: var(--bl-radius-badge);
  background: var(--bl-flaeche);
}
.cb-vertrauen .is-zahlung {
  font-weight: var(--bl-gewicht-fett);
}
/* Fortschritt in einer Zeile: Plätze, Badge, Hinweis */
.cb-angebot__oben {
  gap: var(--bl-abstand-8);
  min-width: 0;
}
.cb-angebot__oben .cb-angebot__status {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  color: var(--bl-text-leise);
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Einstieg wie der Produktkopf (.bl-pdp-kopf) */
.cb[data-phase="einstieg"] .cb-balken {
  padding-block: var(--bl-abstand-16) max(var(--bl-abstand-8), env(safe-area-inset-bottom));
  background: var(--bl-flaeche);
  box-shadow: none;
}
.cb-einstieg {
  gap: 0;
}
.cb-einstieg__titel {
  font-size: var(--bl-titel-3);
}
.cb-einstieg__hook {
  margin: var(--bl-abstand-4) 0 0;
  font-family: var(--bl-schrift-ueberschrift);
  font-size: var(--bl-text-gross);
  line-height: 1.25;
  color: var(--bl-bordeaux);
}
.cb-einstieg__preis {
  margin: var(--bl-abstand-8) 0 0;
  font-size: var(--bl-text-gross);
  font-weight: var(--bl-gewicht-fett);
  font-variant-numeric: tabular-nums;
}
.cb-einstieg__preis s {
  margin-left: var(--bl-abstand-4);
  color: var(--bl-text-grau);
  font-weight: var(--bl-gewicht-normal);
}
.cb-einstieg__mwst {
  margin: var(--bl-abstand-4) 0 0;
  font-size: var(--bl-text-mini);
  color: var(--bl-text-leise);
}
.cb-einstieg .cb-knopf {
  margin: var(--bl-abstand-12) 0 var(--bl-abstand-8);
}

/* Kleine Handys: Kasten enger, Preis in der Kachel weg */
@media (max-height: 700px) {
  .cb-kasten {
    padding-block: var(--bl-abstand-8);
  }
  .cb-kasten__kopf .cb-mitte__hinweis,
  .cb-kachel__preis {
    display: none;
  }
}
@media (min-width: 768px) {
  .cb-angebot {
    grid-template-columns: 1fr auto;
  }
  .cb-angebot .cb-knopf {
    grid-row: 1 / span 2;
  }
  .cb-vertrauen {
    grid-column: 1;
  }
  .cb-einstieg .cb-vertrauen {
    grid-column: 2;
  }
}

/* Feinschliff Produktseiten-Stil */
.cb-angebot__status .cb-balken__alt {
  margin-right: 2px;
  color: var(--bl-text-grau);
}
/* Im Einstieg (Perlgrau) sind die Chips weiß wie in der Kaufbox der Produktseite */
.cb-einstieg .cb-vertrauen li {
  background: var(--bl-weiss);
}

/* Hinweis in eigener Zeile unter dem Abschnittstitel */
.cb-kasten__kopf {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.cb-kasten__kopf .cb-mitte__hinweis {
  max-width: 100%;
}
/* Kleine Handys: ohne Abschnittstitel, damit die Kacheln ganz zu sehen sind */
@media (max-height: 700px) {
  .cb-kasten__kopf {
    display: none;
  }
}

/* ══ Gefühl: Licht, Tiefe, Funkeln, persönliche Worte ═══════════════════ */
/* Bühne wie eine Vitrine: weiches Licht von vorn, zum Rand hin Perlgrau */
.cb-buehne {
  background:
    radial-gradient(ellipse 70% 62% at 50% 46%, var(--bl-weiss) 0%, rgb(255 255 255 / 0.55) 38%, transparent 72%),
    var(--bl-flaeche);
}
/* zarte Schatten: Schmuck liegt nicht auf, er hängt im Licht */
.cb-creole img {
  filter: drop-shadow(0 8px 12px rgb(22 22 22 / 0.10));
}
.cb-haenger img {
  filter: drop-shadow(0 5px 7px rgb(22 22 22 / 0.16));
}
.cb-kachel__bild img {
  filter: drop-shadow(0 3px 4px rgb(22 22 22 / 0.12));
  transition: transform var(--bl-dauer-kurz) var(--bl-kurve-auf);
}
.cb-kachel:active .cb-kachel__bild img {
  transform: translateY(-3px) scale(1.04);
}

/* Funken: vierzackiges Licht mit goldenem Schimmer (Goldton der Farbtupfer im Shop) */
.cb-funke {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(circle, rgb(233 207 134 / 0.55) 0%, transparent 65%);
}
.cb-funke::before {
  content: "";
  position: absolute;
  inset: 0;
  /* heller Kern, goldener Rand (Gold der Farbtupfer im Shop), sichtbar auch auf hellem Grund */
  background: radial-gradient(circle, var(--bl-weiss) 0 16%, #e9cf86 38%, #b8913a 100%);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}

/* Name des Charms kurz unter dem Charm */
.cb-namensschild {
  position: absolute;
  z-index: 6;
  padding: 2px var(--bl-abstand-8);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-weiss);
  box-shadow: 0 2px 8px rgb(22 22 22 / 0.12);
  color: var(--bl-schwarz);
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 15px;
  font-style: italic;
  white-space: nowrap;
  pointer-events: none;
}

/* Persönlicher Satz auf der leeren Bühne (DM Serif, ein Wort kursiv wie im Shop) */
.cb-buehne__ruf {
  position: absolute;
  z-index: 2;
  left: var(--bl-seitenrand);
  right: var(--bl-seitenrand);
  bottom: 14%;
  margin: 0;
  font-family: var(--bl-schrift-ueberschrift);
  font-size: var(--bl-titel-3);
  font-weight: var(--bl-gewicht-titel);
  line-height: 1.1;
  text-align: center;
  color: var(--bl-schwarz);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 400ms var(--bl-kurve-auf),
    transform 400ms var(--bl-kurve-auf);
  pointer-events: none;
}
.cb-buehne__ruf.is-da {
  opacity: 1;
  transform: none;
}
.cb-buehne__ruf em,
.cb-formen__titel em {
  font-style: italic;
  color: var(--bl-bordeaux);
}

/* Meilenstein-Meldung in Bordeaux */
.cb-toast.is-feier {
  background: var(--bl-bordeaux);
  font-size: var(--bl-text-klein);
  font-weight: var(--bl-gewicht-fett);
  box-shadow: 0 6px 18px rgb(90 26 36 / 0.25);
}

/* Gewählte Charms: Haken (oder Anzahl) im blauen Kreis, Kachel blau umrandet */
.cb-kachel__plus {
  display: grid;
  place-items: center;
  color: var(--bl-weiss);
  font-size: 11px;
  font-weight: var(--bl-gewicht-fett);
  line-height: 1;
}
.cb-kachel.is-gewaehlt .cb-kachel__plus {
  border-color: var(--bl-blau);
  background: var(--bl-blau);
}
.cb-kachel.is-gewaehlt .cb-kachel__bild {
  box-shadow: inset 0 0 0 2px var(--bl-blau);
}

@media (prefers-reduced-motion: reduce) {
  .cb-buehne__ruf {
    transition: none;
  }
}

/* ══ Gelb der Marke für Einstieg und Auswahl-Kasten (Malik, 13.11.2026) ═══ */
/* Einstieg: Kasten in Gelb unter dem Beispiel-Set */
.cb[data-phase="einstieg"] .cb-balken {
  padding: var(--bl-abstand-8) var(--bl-seitenrand) max(var(--bl-abstand-12), env(safe-area-inset-bottom));
  background: var(--bl-flaeche);
}
.cb-einstieg {
  padding: var(--bl-abstand-16);
  border-radius: var(--bl-radius-bild);
  background: var(--cb-kasten);
}
/* Auswahl-Kasten (Charms und Creolen) in Gelb, Bildflächen und Chips darin weiß */
.cb-kasten {
  background: var(--cb-kasten);
}
.cb-kasten .cb-kachel__bild,
.cb-kasten .cb-formknopf__bild {
  background: var(--bl-weiss);
}
.cb-kasten .cb-filter__zurueck {
  background: var(--bl-weiss);
}
.cb-kasten .cb-segment,
.cb-kasten .cb-filter__knopf {
  border-color: rgb(22 22 22 / 0.12);
}

/* ══ Bühne komplett weiß (Malik, 13.11.2026) ════════════════════════════ */
.cb {
  --cb-buehne: var(--bl-weiss);
}
.cb-buehne {
  background: var(--bl-weiss);
}
/* Formen-Kacheln auf weißer Bühne: Perlgrau, damit sie sich abheben */
.cb-form {
  background: var(--bl-flaeche);
}

/* ══ Schmuckbox ═════════════════════════════════════════════════════════ */
.cb-box {
  position: absolute;
  z-index: 5;
  left: var(--bl-seitenrand);
  right: var(--bl-seitenrand);
  bottom: var(--bl-abstand-8);
  display: flex;
  flex-direction: column;
  gap: var(--bl-abstand-4);
}
.cb-box__titel {
  margin: 0;
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 15px;
  font-style: italic;
  line-height: 1.2;
  color: var(--bl-schwarz);
}
.cb-box__titel span {
  font-family: var(--bl-schrift-text);
  font-size: 12px;
  font-style: normal;
  color: var(--bl-text-leise);
}
/* Schatulle: weißer Rahmen, innen Samt in Bordeaux mit Fächern */
.cb-box__samt {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--bl-abstand-4);
  height: 60px;
  padding: 0 var(--bl-abstand-8);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border: 4px solid var(--bl-weiss);
  border-radius: var(--bl-radius-kachel);
  background:
    repeating-linear-gradient(90deg, transparent 0 51px, rgb(0 0 0 / 0.16) 51px 52px, rgb(255 255 255 / 0.05) 52px 53px),
    radial-gradient(ellipse 90% 120% at 50% 0%, rgb(255 255 255 / 0.10), transparent 60%),
    var(--bl-blau);
  box-shadow:
    inset 0 4px 10px rgb(0 0 0 / 0.35),
    0 6px 16px rgb(22 22 22 / 0.14),
    0 0 0 1px rgb(22 22 22 / 0.08);
  touch-action: pan-x;
  transition: box-shadow var(--bl-dauer-kurz) ease;
}
.cb-box__samt::-webkit-scrollbar {
  display: none;
}
.cb-box.is-ziel .cb-box__samt {
  box-shadow:
    inset 0 4px 10px rgb(0 0 0 / 0.35),
    0 0 0 3px var(--bl-blau),
    0 6px 16px rgb(22 22 22 / 0.14);
}
.cb-box__leer {
  width: 100%;
  font-size: 12px;
  color: rgb(255 255 255 / 0.75);
  text-align: center;
  pointer-events: none;
}
.cb-box__charm {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 52px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: none;
}
.cb-box__charm img {
  max-width: 40px;
  max-height: 46px;
  filter: drop-shadow(0 3px 3px rgb(0 0 0 / 0.35));
  pointer-events: none;
}
.cb-box__charm:focus-visible {
  outline: 2px solid var(--bl-weiss);
  outline-offset: -2px;
  border-radius: var(--bl-radius-button);
}
/* mehr als 6 Charms: Zusatz hinter den Plätzen */
.cb-angebot__plaetze[data-mehr]:not([data-mehr=""])::after {
  content: attr(data-mehr);
  margin-left: 2px;
  font-size: 12px;
  font-weight: var(--bl-gewicht-fett);
  color: var(--bl-blau);
}
@media (max-height: 700px) {
  .cb-box__samt {
    height: 50px;
  }
  .cb-box__charm {
    height: 44px;
  }
  .cb-box__charm img {
    max-height: 38px;
  }
}
/* Satz „Mach sie zu deinen.“ steht über der Schmuckbox */
.cb[data-phase="charms"] .cb-buehne__ruf {
  bottom: calc(var(--cb-box, 0px) + 28px);
}

/* ══ Vorschläge 1 bis 4 (13.11.2026) ═══════════════════════════════════ */
/* Statustext: nie abgeschnitten, notfalls zwei Zeilen */
.cb-angebot__oben .cb-angebot__status {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.25;
  white-space: normal;
  text-overflow: clip;
  text-wrap: balance;
}
/* leere Bühne: Satz und Knopf zu den fertigen Sets über der Schmuckbox */
.cb[data-phase="charms"] .cb-buehne__ruf {
  bottom: calc(var(--cb-box, 0px) + 52px);
}
.cb-buehne__sets {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(var(--cb-box, 0px) + 14px);
  transform: translateX(-50%);
  min-height: 32px;
  padding: 0 var(--bl-abstand-12);
  border: 1px solid var(--bl-linie);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-weiss);
  font: inherit;
  font-size: var(--bl-text-mini);
  font-weight: var(--bl-gewicht-fett);
  color: var(--bl-bordeaux);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(22 22 22 / 0.06);
}
.cb-buehne__sets[hidden] {
  display: none;
}
.cb-filter__sets {
  color: var(--bl-bordeaux);
}
/* Set-Kachel: vier Charms im Raster, Überraschung mit Funkeln */
.cb-kachel__bild--set {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 6px;
}
.cb-kachel__bild--set img {
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
}
.cb-kachel__wuerfel {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  font-size: 34px;
  color: var(--bl-bordeaux);
}
.cb-kachel--set[hidden] {
  display: none;
}
/* kleines Handy: zu wenig Platz für den Satz, nur der Set-Knopf bleibt */
@media (max-height: 700px) {
  .cb[data-phase="charms"] .cb-buehne__ruf {
    display: none;
  }
}

/* ══ 6 Plätze als Quadrate wie im Warenkorb bei den Ringen (Malik 13.11.2026) ══ */
/* Vorbild: .bl-wk__slot in bylamari-warenkorb.css (Bild im Platz, GRATIS in Bordeaux,
   „0 €“ am vollen Gratis-Platz, nächster Gratis-Platz leuchtet), hier eckig */
.cb-angebot__badge {
  display: none; /* „GRATIS“ steht jetzt in den Plätzen selbst */
}
.cb-angebot__plaetze {
  gap: 4px;
  flex: none;
}
.cb-angebot__plaetze i.cb-platz {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px dashed var(--bl-kante);
  border-radius: 6px;
  background: var(--bl-weiss);
  transition: border-color var(--bl-dauer-kurz) ease;
}
.cb-angebot__plaetze i.cb-platz:nth-child(4) {
  margin-left: var(--bl-abstand-8);
}
.cb-angebot__plaetze i.cb-platz--gratis {
  border-color: var(--bl-bordeaux);
}
.cb-platz img {
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
  border-radius: 5px;
}
.cb-angebot__plaetze i.cb-platz.is-voll {
  border: 1.5px solid var(--bl-weiss);
  background: var(--bl-flaeche);
  box-shadow: 0 0 0 1px var(--bl-linie);
}
.cb-angebot__plaetze i.cb-platz--gratis.is-voll {
  box-shadow: 0 0 0 1px var(--bl-bordeaux);
}
.cb-platz__frei {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-style: normal;
  color: var(--bl-bordeaux);
}
.cb-platz.is-voll .cb-platz__frei {
  display: none;
}
.cb-platz.is-gratis::after {
  content: "0 €";
  position: absolute;
  left: 50%;
  bottom: -7px;
  padding: 0 4px;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-bordeaux);
  color: var(--bl-weiss);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  line-height: 12px;
  white-space: nowrap;
  transform: translateX(-50%);
}
.cb-platz.is-naechster {
  border-style: solid;
}
/* Leuchten des nächsten Gratis-Platzes (23.11.2026: vorher animierter box-shadow, der in jedem Bild neu
   gezeichnet werden musste und das Antippen bremste). Jetzt ein Ring, der sich ausdehnt und verblasst,
   nur Größe und Deckkraft ändern sich: das rechnet der Grafikchip. Gleiches Aussehen (5 px, Bordeaux). */
.cb-platz.is-naechster::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border: 2px solid rgb(90 26 36 / 0.45);
  border-radius: 7px;
  pointer-events: none;
  will-change: transform, opacity;
  animation: cb-platz-leuchten 1.6s ease-in-out infinite;
}
@keyframes cb-platz-leuchten {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.33);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cb-platz.is-naechster::before {
    animation: none;
    opacity: 0;
  }
}
@media (max-width: 370px) {
  .cb-angebot__plaetze i.cb-platz {
    width: 28px;
    height: 28px;
  }
}

/* ══ Schmuckbox so breit wie ihr Titel (Malik 13.11.2026) ═══════════════ */
.cb-box {
  right: auto;
  width: max-content;
  max-width: calc(100% - 2 * var(--bl-seitenrand));
}
.cb-box__titel {
  font-size: 18px;
}
.cb-box__huelle {
  position: relative;
}
.cb-box__samt {
  width: 100%;
  padding: 0 var(--bl-abstand-4);
}
.cb-box__leer {
  font-size: 11px;
}
.cb-box__zahl {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--bl-weiss);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-bordeaux);
  color: var(--bl-weiss);
  font-size: 11px;
  font-weight: var(--bl-gewicht-fett);
  line-height: 16px;
  text-align: center;
}
.cb-box__zahl[hidden] {
  display: none;
}
/* Bild bleibt im Quadrat */
.cb-angebot__plaetze {
  align-items: center;
}
.cb-angebot__plaetze i.cb-platz {
  overflow: visible;
}
.cb-angebot__plaetze i.cb-platz img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  max-width: none;
  padding: 0;
  object-fit: contain;
  border-radius: 4px;
}
.cb-platz__frei {
  font-size: 6px;
  letter-spacing: 0;
}
/* Meldungen fangen keine Fingertipps ab (sonst lässt sich der Charm darunter kurz nicht ziehen) */
.cb-toast {
  pointer-events: none;
}

/* ══ Gratis-Feier und durchgestrichener Preis (Malik 14.11.2026) ═══════ */
.cb-feier__schein {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x) var(--y), rgb(255 245 199 / 0.92) 0%, rgb(236 212 150 / 0.55) 22%, rgb(90 26 36 / 0.18) 60%, rgb(90 26 36 / 0.28) 100%);
}
.cb-feier__strahlen {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgb(226 194 122 / 0.55) 0deg 9deg, transparent 9deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 68%);
  mask: radial-gradient(circle, #000 18%, transparent 68%);
}
.cb-feier__karte {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 28px 16px;
  border: 3px solid #e2c27a;
  border-radius: 20px;
  background: var(--bl-bordeaux);
  box-shadow:
    0 0 0 6px rgb(255 255 255 / 0.9),
    0 18px 40px rgb(90 26 36 / 0.45),
    0 0 60px rgb(226 194 122 / 0.8);
  color: var(--bl-weiss);
  text-align: center;
  white-space: nowrap;
}
.cb-feier__plus {
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 64px;
  line-height: 0.95;
  color: #ffe7a8;
  text-shadow: 0 2px 0 rgb(0 0 0 / 0.25);
}
.cb-feier__gratis {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.cb-feier__zeile {
  font-size: 13px;
  font-weight: var(--bl-gewicht-mittel);
  color: rgb(255 255 255 / 0.9);
}
.cb-feier__konfetti {
  position: absolute;
  z-index: 3;
  border-radius: 2px;
}
.cb-feier__charm {
  position: absolute;
  z-index: 3;
  width: 34px;
  height: auto;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.25));
}

/* Kaufknopf mit altem Preis, durchgestrichen */
.cb-knopf__inhalt {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.cb-knopf__alt {
  position: relative;
  margin-right: 6px;
  font-weight: var(--bl-gewicht-normal);
  color: rgb(255 255 255 / 0.72);
  text-decoration: none;
}
.cb-knopf__alt::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 52%;
  height: 2px;
  border-radius: 2px;
  background: #ffb3c1;
  transform-origin: left center;
}
.cb-knopf__alt.is-strich::after {
  animation: cb-strich 420ms 180ms cubic-bezier(0.2, 0, 0, 1) backwards;
}
@keyframes cb-strich {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Vorschau Warenkorb (Stil wie bylamari-warenkorb.css) */
.cb-wk {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: rgb(22 22 22 / 0.45);
}
.cb-wk[hidden] {
  display: none;
}
.cb-wk__blatt {
  width: 100%;
  max-height: 82svh;
  overflow-y: auto;
  padding: var(--bl-abstand-16) var(--bl-seitenrand) calc(var(--bl-abstand-24) + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
  background: var(--bl-weiss);
}
@media (min-width: 768px) {
  .cb-wk {
    justify-content: flex-end;
    align-items: stretch;
  }
  .cb-wk__blatt {
    width: 420px;
    max-height: none;
    border-radius: 0;
  }
}
.cb-wk__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cb-wk__kopf h2 {
  margin: 0;
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 22px;
  font-weight: var(--bl-gewicht-titel);
}
.cb-wk__zu {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
}
.cb-wk__hinweis {
  margin: 0 0 var(--bl-abstand-8);
  font-size: 12px;
  color: var(--bl-text-grau);
}
.cb-wk__liste {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cb-wk__zeile {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  column-gap: var(--bl-abstand-12);
  align-items: center;
  padding-block: 10px;
  border-bottom: 1px solid var(--bl-linie);
}
.cb-wk__bild {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: var(--bl-radius-button);
  background: var(--bl-flaeche);
}
.cb-wk__bild img {
  max-width: 80%;
  max-height: 86%;
  object-fit: contain;
}
.cb-wk__details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 12px;
  color: var(--bl-text-grau);
}
.cb-wk__titel {
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 17px;
  font-weight: var(--bl-gewicht-titel);
  line-height: 1.15;
  color: var(--bl-schwarz);
}
.cb-wk__frei {
  color: var(--bl-bordeaux);
  font-weight: 700;
}
.cb-wk__preis {
  font-size: var(--bl-text-klein);
  font-weight: var(--bl-gewicht-fett);
  text-align: right;
  white-space: nowrap;
}
.cb-wk__preis s {
  display: block;
  font-weight: var(--bl-gewicht-normal);
  color: var(--bl-text-grau);
}
.cb-wk__summe {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--bl-abstand-16);
  font-size: var(--bl-text-normal, 16px);
}
.cb-wk__summe s {
  margin-right: 6px;
  font-size: var(--bl-text-klein);
  color: var(--bl-text-grau);
}
.cb-wk__gespart {
  margin: var(--bl-abstand-4) 0 0;
  font-size: var(--bl-text-klein);
  font-weight: var(--bl-gewicht-fett);
  color: var(--bl-bordeaux);
  text-align: right;
}

/* ══ Farbkreise neben „Charms wählen“, „Alle“ fest vorn (Malik 14.11.2026) ══ */
.cb-kasten__kopf {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.cb-kasten__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bl-abstand-8);
}
.cb-kugeln {
  display: flex;
  gap: 2px;
  margin-right: -6px;
}
.cb-kugel {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--bl-radius-rund);
  background: none;
  cursor: pointer;
}
.cb-kugel__farbe {
  width: 24px;
  height: 24px;
  border: 1px solid rgb(22 22 22 / 0.15);
  border-radius: var(--bl-radius-rund);
  box-shadow: inset 0 -2px 4px rgb(0 0 0 / 0.12), inset 0 2px 3px rgb(255 255 255 / 0.6);
  transition: box-shadow var(--bl-dauer-kurz) ease, transform var(--bl-dauer-kurz) ease;
}
.cb-kugel__farbe.is-gold {
  background: radial-gradient(circle at 35% 30%, #fbefc4, #e9cf86 45%, #b8913a);
}
.cb-kugel__farbe.is-silber {
  background: radial-gradient(circle at 35% 30%, #ffffff, #e1e4e8 45%, #a9abae);
}
.cb-kugel[aria-pressed="true"] .cb-kugel__farbe {
  box-shadow:
    0 0 0 2px var(--bl-weiss),
    0 0 0 4px var(--bl-blau);
  transform: scale(1.05);
}
.cb-kugel:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: -2px;
}
/* „Alle“ bleibt beim Wischen der Kategorien vorn stehen */
.cb-filter__alle {
  position: sticky;
  left: var(--bl-abstand-12);
  z-index: 2;
  box-shadow:
    calc(-1 * var(--bl-abstand-12)) 0 0 0 var(--cb-kasten),
    10px 0 10px -4px var(--cb-kasten);
}
/* kleines Handy: Kopf bleibt sichtbar wegen der Farbkreise, nur der Hinweis fällt weg, Zeile flacher */
@media (max-height: 700px) {
  .cb-kasten__kopf {
    display: flex;
  }
  .cb-kasten__zeile .cb-abschnitt {
    font-size: 12px;
  }
  .cb-kugel {
    width: 32px;
    height: 32px;
  }
  .cb-kugel__farbe {
    width: 22px;
    height: 22px;
  }
}
/* „Alle“: links davon nichts durchscheinen lassen (Fläche in Kastenfarbe) */
.cb-filter__alle {
  box-shadow: 10px 0 10px -4px var(--cb-kasten);
}
.cb-filter__alle::before {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  right: calc(100% + 1px);
  width: 48px;
  background: var(--cb-kasten);
}
/* kleines Handy: Kopfzeile mit Kreisen flach halten, damit die Kacheln samt Namen passen */
@media (max-height: 700px) {
  .cb-kasten__kopf {
    gap: 0;
  }
  .cb-kugel {
    width: 28px;
    height: 26px;
  }
  .cb-kugel__farbe {
    width: 18px;
    height: 18px;
  }
  .cb-kasten__zeile .cb-abschnitt {
    font-size: 11px;
    line-height: 1;
  }
}
/* „Alle“: Fläche in Kastenfarbe hinter dem ganzen Knopf (auch die runden Ecken) */
.cb-filter__alle::before {
  left: -48px;
  right: -10px;
  width: auto;
  z-index: -1;
}
/* kleines Handy: etwas mehr Höhe für die Charm-Leiste, kleinere Kachelbilder */
@media (max-height: 700px) {
  .cb[data-phase="charms"] {
    grid-template-rows: minmax(0, 41fr) minmax(0, 39fr) auto;
  }
  .cb-kachel__bild {
    width: 62px;
    height: 62px;
  }
  .cb-kachel__bild img {
    max-width: 46px;
    max-height: 54px;
  }
}
/* „Alle“: Abdeckung als Schatten in Kastenfarbe (liegt unter dem Knopf, deckt Ecken und links) */
.cb-filter__alle::before {
  content: none;
}
.cb-filter__alle {
  box-shadow:
    0 0 0 8px var(--cb-kasten),
    -40px 0 0 8px var(--cb-kasten),
    14px 0 10px 0 var(--cb-kasten);
}
.cb-filter .cb-filter__knopf.cb-filter__alle {
  box-shadow:
    0 0 0 8px var(--cb-kasten),
    -40px 0 0 8px var(--cb-kasten),
    14px 0 10px 0 var(--cb-kasten);
}
.cb-filter .cb-filter__knopf.cb-filter__alle[aria-pressed="true"] {
  box-shadow:
    inset 0 0 0 2px var(--bl-blau),
    0 0 0 8px var(--cb-kasten),
    -40px 0 0 8px var(--cb-kasten),
    14px 0 10px 0 var(--cb-kasten);
}
.cb-wk__bild img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 6px;
  object-fit: contain;
}
.cb-wk__bild {
  position: relative;
}
.cb-wk__bild img {
  position: absolute;
  inset: 0;
}

/* Freie Punkte, die gerade nicht dran sind, ausblenden (Hängepunkte je nach Anzahl) */
.cb-punkt.is-aus {
  visibility: hidden;
}
/* Set-Knopf ist weg: Satz wieder näher an die Schmuckbox */
.cb[data-phase="charms"] .cb-buehne__ruf {
  bottom: calc(var(--cb-box, 0px) + 28px);
}

/* ══ Kasten weiß, Schmuckbox im Blau des Kaufknopfs (Malik 14.11.2026) ══ */
/* Im weißen Kasten heben sich die Bildflächen in Perlgrau ab (wie bei „Passt dazu“) */
.cb-kasten .cb-kachel__bild,
.cb-kasten .cb-formknopf__bild,
.cb-kasten .cb-filter__zurueck {
  background: var(--bl-flaeche);
}
.cb-box__zahl {
  background: var(--bl-blau);
}
/* Ziel beim Hineinziehen: Ring in Bordeaux, damit er sich vom blauen Samt abhebt */
.cb-box.is-ziel .cb-box__samt {
  box-shadow:
    inset 0 4px 10px rgb(0 0 0 / 0.35),
    0 0 0 3px var(--bl-bordeaux),
    0 6px 16px rgb(22 22 22 / 0.14);
}
/* Einstieg im weißen Kasten: Chips wieder in Perlgrau, sonst weiß auf weiß */
.cb-einstieg .cb-vertrauen li {
  background: var(--bl-flaeche);
}

/* ══ Kacheln und Plätze weiß mit Rahmen (Malik 14.11.2026) ══════════════ */
/* Charm-Kacheln: weiße Fläche, dünner schwarzer Rahmen, gewählt blau */
.cb-kasten .cb-kachel:not(.cb-kachel--set) .cb-kachel__bild {
  background: var(--bl-weiss);
  box-shadow: inset 0 0 0 1px var(--bl-schwarz);
  transition: box-shadow var(--bl-dauer-kurz) ease;
}
.cb-kasten .cb-kachel.is-gewaehlt .cb-kachel__bild {
  box-shadow: inset 0 0 0 2px var(--bl-blau);
}
/* kein Plus mehr; der blaue Haken (oder die Anzahl) bleibt bei gewählten Charms */
.cb-kachel:not(.is-gewaehlt) .cb-kachel__plus {
  display: none;
}
/* Plätze unten: weiß, leer dünn schwarz (Gratis-Plätze Bordeaux gestrichelt), belegt blau */
.cb-angebot__plaetze i.cb-platz {
  background: var(--bl-weiss);
  border: 1px solid var(--bl-schwarz);
}
.cb-angebot__plaetze i.cb-platz.cb-platz--gratis {
  border: 1.5px dashed var(--bl-bordeaux);
}
.cb-angebot__plaetze i.cb-platz.is-voll,
.cb-angebot__plaetze i.cb-platz.cb-platz--gratis.is-voll {
  border: 2px solid var(--bl-blau);
  background: var(--bl-weiss);
  box-shadow: none;
}

/* ══ Rahmen wie die Kategorie-Knöpfe, Angebotstext zweizeilig (Malik 14.11.2026) ══ */
/* Charm-Kacheln: Rahmen so zart wie bei „Herzen“, „Perlen“ … */
.cb-kasten .cb-kachel:not(.cb-kachel--set) .cb-kachel__bild {
  box-shadow: inset 0 0 0 1px rgb(22 22 22 / 0.12);
}
.cb-kasten .cb-kachel.is-gewaehlt .cb-kachel__bild {
  box-shadow: inset 0 0 0 2px var(--bl-blau);
}
/* leere Plätze unten ebenso zart */
.cb-angebot__plaetze i.cb-platz:not(.cb-platz--gratis):not(.is-voll) {
  border: 1px solid rgb(22 22 22 / 0.18);
}
/* Angebotstext: zwei Zeilen, links bündig (die Zahlen stehen untereinander), Zahlen groß */
.cb-angebot__oben .cb-angebot__status {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  margin-left: auto;
  font-size: 13px;
  line-height: 1.2;
  color: var(--bl-schwarz);
  text-align: left;
}
.cb-angebot__status [data-status] {
  display: flex;
  flex-direction: column;
}
.cb-zeile {
  white-space: nowrap;
}
.cb-zahl {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--bl-schwarz);
}
.cb-zahl--gratis {
  color: var(--bl-bordeaux);
}
@media (max-width: 370px) {
  .cb-angebot__oben .cb-angebot__status {
    font-size: 12px;
  }
  .cb-zahl {
    font-size: 16px;
  }
}

/* ══ Echte Zahlungssymbole (Malik 14.11.2026) ═══════════════════════════ */
/* Klarna, PayPal, Apple Pay: offizielle Shopify-Symbole wie im Warenkorb des Neubaus
   (public/icons, payment-icons.ts); Apple Pay ist laut Shopify im Shop aktiv */
.cb-vertrauen {
  align-items: center;
}
.cb-vertrauen li.is-logo,
.cb-einstieg .cb-vertrauen li.is-logo {
  display: flex;
  padding: 0;
  background: none;
}
.cb-vertrauen li.is-logo img {
  display: block;
  width: 38px;
  height: 24px;
}

/* ══ Einstieg: Angebot statt Preis, Zahlen groß (Malik 14.11.2026, Vorschlag A) ══ */
.cb-einstieg__hook {
  margin: var(--bl-abstand-8) 0 0;
  font-size: 21px;
  line-height: 1.2;
}
.cb-einstieg__zahl {
  font-family: var(--bl-schrift-text);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cb-einstieg__unter {
  margin: var(--bl-abstand-4) 0 0;
  font-size: var(--bl-text-klein);
  color: var(--bl-text-grau);
}

/* ══ Regen füllt die Kacheln (Malik 14.11.2026) ═════════════════════════ */
.cb-regen__fuellung {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgb(30 63 122 / 0.16), rgb(226 194 122 / 0.22));
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);
  pointer-events: none;
}
.cb-kachel__bild img {
  position: relative;
  z-index: 1;
}

/* ══ Vorschläge 1 bis 8 vom 14.11.2026 ══════════════════════════════════ */
/* 2. Rückgängig */
.cb-rueck {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: calc(var(--cb-box, 0px) + 18px);
  transform: translateX(-50%);
  min-height: 36px;
  padding: 0 var(--bl-abstand-16);
  border: 0;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-schwarz);
  color: var(--bl-weiss);
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 16px rgb(22 22 22 / 0.2);
}
.cb-rueck b {
  font-weight: var(--bl-gewicht-fett);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cb-rueck[hidden] {
  display: none;
}
/* 8. Teilen: kleiner Knopf unter „Creolen ändern“ */
.cb-teilen {
  position: absolute;
  z-index: 6;
  top: 44px;
  right: var(--bl-seitenrand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--bl-linie);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-weiss);
  color: var(--bl-schwarz);
  font: inherit;
  font-size: 13px;
  font-weight: var(--bl-gewicht-mittel);
  cursor: pointer;
}
.cb-teilen[hidden],
.cb-teilen__wahl[hidden] {
  display: none;
}
.cb-teilen__wahl {
  position: absolute;
  z-index: 9;
  top: 82px;
  right: var(--bl-seitenrand);
  display: flex;
  flex-direction: column;
  min-width: 170px;
  padding: 6px;
  border-radius: 12px;
  background: var(--bl-weiss);
  box-shadow: 0 10px 30px rgb(22 22 22 / 0.18), 0 0 0 1px rgb(22 22 22 / 0.06);
}
.cb-teilen__weg {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--bl-schwarz);
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.cb-teilen__weg:hover,
.cb-teilen__weg:focus-visible {
  background: var(--bl-flaeche);
}
/* 6. Fingerkreis */
.cb-finger {
  position: absolute;
  z-index: 4;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid var(--bl-weiss);
  border-radius: 50%;
  background: rgb(30 63 122 / 0.35);
  box-shadow: 0 0 0 2px var(--bl-blau), 0 6px 16px rgb(22 22 22 / 0.25);
  pointer-events: none;
}
.cb-finger__charm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: auto;
  transform: translate(-50%, -20%);
  opacity: 0.9;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / 0.25));
}
/* 7. Geschenk in der Warenkorb-Vorschau */
.cb-wk__geschenk {
  margin-top: var(--bl-abstand-16);
  padding: var(--bl-abstand-12);
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-flaeche);
}
.cb-wk__schalter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  font-size: 14px;
  font-weight: var(--bl-gewicht-mittel);
  cursor: pointer;
}
.cb-wk__schalter input {
  width: 20px;
  height: 20px;
  accent-color: var(--bl-blau);
}
.cb-wk__karte {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--bl-abstand-8);
}
.cb-wk__karte[hidden] {
  display: none;
}
.cb-wk__karte textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgb(22 22 22 / 0.18);
  border-radius: 8px;
  background: var(--bl-weiss);
  font: inherit;
  font-size: 16px; /* kein Zoomen beim Tippen am iPhone */
  resize: vertical;
}
.cb-wk__karte small {
  align-self: flex-end;
  font-size: 12px;
  color: var(--bl-text-grau);
}
/* Teilen rechts neben der Schmuckbox (dort ist Platz), Auswahl öffnet nach oben */
.cb-teilen {
  top: auto;
  bottom: 26px;
}
.cb-teilen__wahl {
  top: auto;
  bottom: 66px;
}
@media (max-height: 700px) {
  .cb-teilen {
    bottom: 20px;
  }
  .cb-teilen__wahl {
    bottom: 58px;
  }
}

/* ══ Creolen ändern direkt auf der Bühne (Malik 14.11.2026) ═════════════ */
.cb-cwahl {
  position: absolute;
  z-index: 9;
  top: 40px;
  right: var(--bl-seitenrand);
  display: flex;
  flex-direction: column;
  gap: var(--bl-abstand-8);
  width: 148px;
  max-height: calc(100% - 48px);
  padding: var(--bl-abstand-8);
  border-radius: 14px;
  background: var(--bl-weiss);
  box-shadow: 0 12px 32px rgb(22 22 22 / 0.18), 0 0 0 1px rgb(22 22 22 / 0.06);
}
.cb-cwahl[hidden] {
  display: none;
}
.cb-cwahl__farben {
  display: flex;
  justify-content: space-between;
  flex: none;
}
.cb-cwahl__farbe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 42px;
  padding: 2px 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--bl-text-grau);
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.cb-cwahl__punkt {
  width: 24px;
  height: 24px;
  border: 1px solid rgb(22 22 22 / 0.15);
  border-radius: 50%;
  box-shadow: inset 0 -2px 4px rgb(0 0 0 / 0.12), inset 0 2px 3px rgb(255 255 255 / 0.6);
}
.cb-cwahl__punkt.is-gold {
  background: radial-gradient(circle at 35% 30%, #fbefc4, #e9cf86 45%, #b8913a);
}
.cb-cwahl__punkt.is-silber {
  background: radial-gradient(circle at 35% 30%, #ffffff, #e1e4e8 45%, #a9abae);
}
.cb-cwahl__punkt.is-bicolor {
  background: linear-gradient(135deg, #e9cf86 0 50%, #e1e4e8 50% 100%);
}
.cb-cwahl__farbe[aria-pressed="true"] {
  color: var(--bl-schwarz);
  font-weight: var(--bl-gewicht-fett);
}
.cb-cwahl__farbe[aria-pressed="true"] .cb-cwahl__punkt {
  box-shadow: 0 0 0 2px var(--bl-weiss), 0 0 0 4px var(--bl-blau);
}
.cb-cwahl__liste {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.cb-cwahl__form {
  display: flex;
  align-items: center;
  gap: var(--bl-abstand-8);
  flex: none;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: var(--bl-weiss);
  box-shadow: inset 0 0 0 1px rgb(22 22 22 / 0.12);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.cb-cwahl__form[aria-pressed="true"] {
  box-shadow: inset 0 0 0 2px var(--bl-blau);
  font-weight: var(--bl-gewicht-fett);
}
.cb-cwahl__bild {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bl-flaeche);
}
.cb-cwahl__bild img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
}
.cb-cwahl__groessen {
  display: flex;
  gap: 4px;
  flex: none;
}
.cb-cwahl__groessen[hidden] {
  display: none;
}
.cb-cwahl__groesse {
  flex: 1;
  min-height: 32px;
  padding: 0 4px;
  border: 0;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-weiss);
  box-shadow: inset 0 0 0 1px rgb(22 22 22 / 0.12);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.cb-cwahl__groesse[aria-pressed="true"] {
  background: var(--bl-flaeche);
  box-shadow: inset 0 0 0 2px var(--bl-blau);
  font-weight: var(--bl-gewicht-fett);
}
.cb-cwahl button:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 1px;
}

/* ══ Creolen-Spalte immer sichtbar, schmal am rechten Rand (Malik 14.11.2026) ══ */
.cb-buehne__aendern {
  display: none;
}
.cb-cwahl {
  top: 4px;
  right: var(--bl-abstand-8);
  bottom: calc(var(--cb-box, 0px) + 14px);
  width: 64px;
  max-height: none;
  gap: 6px;
  padding: 6px 4px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgb(22 22 22 / 0.10), 0 0 0 1px rgb(22 22 22 / 0.06);
}
.cb-cwahl__farben {
  justify-content: center;
  gap: 2px;
}
.cb-cwahl__farbe {
  width: 18px;
  padding: 0;
}
.cb-cwahl__farbe > span:last-child {
  display: none; /* nur die Kreise, Name als Vorlesetext */
}
.cb-cwahl__punkt {
  width: 17px;
  height: 17px;
}
.cb-cwahl__farbe[aria-pressed="true"] .cb-cwahl__punkt {
  box-shadow: 0 0 0 1.5px var(--bl-weiss), 0 0 0 3px var(--bl-blau);
}
.cb-cwahl__liste {
  flex: 1;
  align-items: center;
  gap: 6px;
}
.cb-cwahl__form {
  flex-direction: column;
  gap: 2px;
  width: 54px;
  padding: 3px;
  font-size: 9.5px;
  text-align: center;
}
.cb-cwahl__bild {
  width: 46px;
  height: 46px;
}
.cb-cwahl__name {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cb-cwahl__groessen {
  flex-direction: column;
  gap: 3px;
}
.cb-cwahl__groesse {
  min-height: 24px;
  font-size: 10.5px;
}
@media (max-height: 700px) {
  .cb-cwahl__bild {
    width: 38px;
    height: 38px;
  }
  .cb-cwahl__form {
    width: 48px;
    font-size: 9px;
  }
  .cb-cwahl__groesse {
    min-height: 20px;
    font-size: 10px;
  }
}
/* Spalte reicht bis knapp über den Teilen-Knopf */
.cb-cwahl {
  bottom: 66px;
}
@media (max-height: 700px) {
  .cb-cwahl {
    bottom: 58px;
  }
}

/* vordere Ringhälfte ohne den leichten Schleier mancher Fotos (sonst heller Kasten über der Creole) */
.cb-haenger-vorn img {
  filter: url(#cb-schleier-weg);
}

/* ══ Bühne neu aufgeteilt (Malik 16.11.2026) ════════════════════════════ */
/* Creolen-Spalte über die volle Höhe der Bühne, Teilen links daneben neben der Schmuckbox */
.cb-cwahl,
.cb[data-phase] .cb-cwahl {
  top: 4px;
  bottom: 8px;
}
@media (max-height: 700px) {
  .cb-cwahl {
    bottom: 8px;
  }
}
.cb-teilen {
  right: 84px;
  bottom: 26px;
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}
.cb-teilen__wahl {
  right: 84px;
  bottom: 66px;
}
@media (max-height: 700px) {
  .cb-teilen {
    bottom: 18px;
  }
  .cb-teilen__wahl {
    bottom: 56px;
  }
}
/* Rückgängig und der Satz auf der leeren Bühne mittig über den Creolen, nicht unter der Spalte */
.cb-rueck {
  left: calc((100% - 76px) / 2);
}
.cb[data-phase="charms"] .cb-buehne__ruf {
  right: calc(76px + var(--bl-seitenrand));
}
/* schmale Handys: Teilen nur als Symbol, damit es neben die Schmuckbox passt */
@media (max-width: 380px) {
  .cb-teilen span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .cb-teilen {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
}

/* ══ Handy-Rahmen der PC-Vorschau: Seite im iframe zeigt keine Bildlaufleisten (wie am Handy) ══ */
.cb-im-rahmen,
.cb-im-rahmen * {
  scrollbar-width: none;
}
.cb-im-rahmen ::-webkit-scrollbar {
  display: none;
}

/* ══ Charms wählen kompakter (Malik 16.11.2026) ═════════════════════════
   „Teilen“ weg, Hinweiszeile weg, Kategorien und Kacheln so weit nach oben
   wie möglich, ohne dass sich etwas überlappt. */
.cb-teilen,
.cb-teilen__wahl {
  display: none !important;
}
.cb-kasten__kopf .cb-mitte__hinweis {
  display: none !important;
}
.cb-charmwahl.cb-kasten {
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 0;
}
.cb-charmwahl .cb-kasten__kopf {
  gap: 0;
}
.cb-charmwahl .cb-filter {
  padding-top: 2px;
  padding-bottom: 4px;
}
.cb-charmwahl .cb-kacheln {
  padding-top: 0;
}
/* „Alle“ deckt seitlich ab, aber nicht nach oben in die Überschrift */
.cb-filter .cb-filter__knopf.cb-filter__alle {
  clip-path: inset(0 -60px);
}
/* Hinweis nach dem Abnehmen: nur kurz, nicht antippbar */
.cb-rueck {
  pointer-events: none;
}
/* „Alle“: Schatten nach rechts kürzer, damit er „Herzen“ im Ruhezustand nicht anschneidet */
.cb-filter .cb-filter__knopf.cb-filter__alle {
  box-shadow:
    0 0 0 8px var(--cb-kasten),
    -40px 0 0 8px var(--cb-kasten),
    4px 0 4px -2px var(--cb-kasten);
}
.cb-filter .cb-filter__knopf.cb-filter__alle[aria-pressed="true"] {
  box-shadow:
    inset 0 0 0 2px var(--bl-blau),
    0 0 0 8px var(--cb-kasten),
    -40px 0 0 8px var(--cb-kasten),
    4px 0 4px -2px var(--cb-kasten);
}

/* ══ Schmuckbox kleiner, damit die Ohrringe größer bleiben (Malik 16.11.2026) ══ */
.cb-box {
  bottom: 6px;
  gap: 2px;
}
.cb-box__titel {
  font-size: 14px;
  line-height: 1.15;
}
.cb-box__samt {
  height: 42px;
  border-width: 3px;
  background:
    repeating-linear-gradient(90deg, transparent 0 37px, rgb(0 0 0 / 0.16) 37px 38px, rgb(255 255 255 / 0.05) 38px 39px),
    radial-gradient(ellipse 90% 120% at 50% 0%, rgb(255 255 255 / 0.10), transparent 60%),
    var(--bl-blau);
}
.cb-box__charm {
  width: 34px;
  height: 36px;
}
.cb-box__charm img {
  max-width: 28px;
  max-height: 32px;
}
.cb-box__leer {
  font-size: 10px;
  line-height: 1.1;
}
.cb-box__zahl {
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
  line-height: 14px;
}
@media (max-height: 700px) {
  .cb-box__samt {
    height: 36px;
  }
  .cb-box__charm {
    height: 30px;
  }
  .cb-box__charm img {
    max-height: 26px;
  }
}

/* ══ Charms untereinander, Liste scrollt nach unten (Malik 16.11.2026) ═══
   Bühne oben und Kategorien bleiben stehen, nur die Kacheln scrollen.
   Die Höhe setzt editor.js (eine Reihe plus ein Stück der nächsten). */
.cb-charmwahl .cb-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  justify-items: center;
  align-content: start;
  row-gap: 6px;
  column-gap: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y proximity;
  scroll-padding-top: 0;
  touch-action: pan-y;
  /* unten weich ausblenden: zeigt, dass es weitergeht */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 14px), transparent);
}
.cb-charmwahl .cb-kachel {
  scroll-snap-align: start;
}
/* gehaltene Kachel (Handy): bereit zum Ziehen */
.cb-kachel.is-bereit .cb-kachel__bild {
  box-shadow: inset 0 0 0 2px var(--bl-blau), 0 6px 14px rgb(30 63 122 / 0.22);
  transform: scale(1.04);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.cb-charmwahl .cb-kasten__kopf,
.cb-charmwahl .cb-filter {
  flex: none;
}
.cb-charmwahl .cb-kacheln {
  flex: none;
  min-height: 0;
}

/* ══ Creolen-Wahl als Leiste neben der Schmuckbox (Malik 16.11.2026) ════
   Statt der Spalte rechts liegt die Creolen-Wahl unten rechts neben der
   Schmuckbox, gleich hoch wie sie: oben Farben und Größen, darunter die
   Formen zum Wischen. Die Ohrringe stehen dadurch mittig über die volle Breite. */
.cb-cwahl,
.cb[data-phase] .cb-cwahl {
  top: auto;
  bottom: 6px;
  left: calc(var(--bl-seitenrand) + var(--cb-box-b, 146px) + 10px);
  right: var(--bl-seitenrand);
  width: auto;
  height: var(--cb-box, 60px);
  max-height: none;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 16px minmax(0, 1fr);
  column-gap: 6px;
  row-gap: 2px;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.cb-cwahl[hidden] {
  display: none;
}
.cb-cwahl__farben {
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
}
.cb-cwahl__farbe {
  width: 16px;
  height: 16px;
}
.cb-cwahl__punkt {
  width: 15px;
  height: 15px;
}
.cb-cwahl__groessen {
  grid-column: 2;
  grid-row: 1;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.cb-cwahl__groesse {
  flex: none;
  min-height: 0;
  height: 16px;
  padding: 0 6px;
  font-size: 10px;
  line-height: 16px;
}
.cb-cwahl__liste {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 2;
  flex-direction: row;
  align-items: stretch;
  gap: 4px;
  min-height: 0;
  padding: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  touch-action: pan-x;
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-weiss);
  box-shadow: 0 6px 16px rgb(22 22 22 / 0.10), 0 0 0 1px rgb(22 22 22 / 0.10);
}
.cb-cwahl__liste::-webkit-scrollbar {
  display: none;
}
.cb-cwahl__form,
.cb-cwahl__form[aria-pressed="true"] {
  flex: none;
  flex-direction: row;
  width: auto;
  height: 100%;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 8px;
}
.cb-cwahl__bild,
.cb-cwahl__form .cb-cwahl__bild {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.cb-cwahl__bild img {
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
}
/* Formname nur zum Vorlesen (steht im Titel oben links) */
.cb-cwahl__name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-height: 700px) {
  .cb-cwahl__form {
    width: auto;
  }
  .cb-cwahl__bild {
    width: 100%;
    height: 100%;
  }
}
/* Rückgängig/Hinweis und der Satz auf der leeren Bühne wieder mittig */
.cb-rueck {
  left: 50%;
}
.cb[data-phase="charms"] .cb-buehne__ruf {
  right: var(--bl-seitenrand);
}
/* gleiche Unterkante wie die Schmuckbox (die Leiste sitzt in einer anderen Ebene der Bühne) */
.cb-cwahl,
.cb[data-phase] .cb-cwahl {
  bottom: calc(6px - var(--cb-cwahl-versatz, 8px));
}

/* ══ Form wechseln per Wischen auf dem Ohrring (Malik 16.11.2026) ═══════
   Ein Blickfang: der Ohrring. Oben mittig nur der Name der Form und Punkte,
   seitlich leise Pfeile, unten rechts neben der Schmuckbox Farbe und Größe
   ohne Kasten. Alle Formen auf einen Blick im Blatt von unten. */
.cb[data-phase="charms"] .cb-buehne__titel,
.cb[data-phase="charms"] .cb-buehne__aendern {
  display: none;
}
.cb-wisch {
  position: absolute;
  z-index: 6;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  max-width: calc(100% - 96px);
}
.cb-wisch__name {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 30px;
  max-width: 100%;
  padding: 2px 6px 0 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--bl-schwarz);
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cb-wisch__name span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.cb-wisch__name svg {
  flex: none;
  opacity: 0.45;
  transition: transform 200ms var(--bl-kurve-auf), opacity 200ms;
}
.cb-wisch__name:hover svg {
  opacity: 0.8;
  transform: translateY(1px);
}
.cb-wisch__punkte {
  display: flex;
  gap: 5px;
  height: 5px;
}
.cb-wisch__punkte i {
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background: rgb(22 22 22 / 0.18);
  transition: width 300ms var(--bl-kurve-auf), background 300ms;
}
.cb-wisch__punkte i.is-an {
  width: 16px;
  background: var(--bl-blau);
}
.cb-wisch__pfeil {
  position: absolute;
  z-index: 6;
  top: calc(46px + (100% - 46px - var(--cb-box, 60px) - 16px) * 0.42);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.72);
  color: rgb(22 22 22 / 0.6);
  box-shadow: 0 0 0 1px rgb(22 22 22 / 0.07), 0 2px 8px rgb(22 22 22 / 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: color 160ms, transform 160ms var(--bl-kurve-auf);
  -webkit-tap-highlight-color: transparent;
}
.cb-wisch__pfeil:hover {
  color: var(--bl-schwarz);
}
.cb-wisch__pfeil:active {
  transform: scale(0.9);
}
.cb-wisch__pfeil.is-links {
  left: 4px;
}
.cb-wisch__pfeil.is-rechts {
  right: 4px;
}
.cb-wisch__schnell {
  position: absolute;
  z-index: 5;
  bottom: 6px;
  left: calc(var(--bl-seitenrand) + var(--cb-box-b, 146px) + 8px);
  right: var(--bl-seitenrand);
  height: var(--cb-box, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cb-wisch__farben {
  display: flex;
  gap: 4px;
}
.cb-wisch__farben button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cb-wisch__farben .cb-cwahl__punkt {
  width: 18px;
  height: 18px;
  transition: box-shadow 200ms;
}
.cb-wisch__farben button[aria-pressed="true"] .cb-cwahl__punkt {
  box-shadow: 0 0 0 2px var(--bl-weiss), 0 0 0 3.5px var(--bl-blau);
}
.cb-wisch__farben button:disabled {
  opacity: 0.22;
  cursor: default;
}
.cb-wisch__groessen {
  display: flex;
  gap: 10px;
  color: rgb(22 22 22 / 0.45);
  font-size: 11px;
}
.cb-wisch__groessen button {
  padding: 3px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline 1.5px transparent;
  text-underline-offset: 4px;
  transition: color 200ms, text-decoration-color 200ms;
  -webkit-tap-highlight-color: transparent;
}
.cb-wisch__groessen button[aria-pressed="true"] {
  color: var(--bl-schwarz);
  font-weight: var(--bl-gewicht-fett);
  text-decoration-color: var(--bl-blau);
}
.cb-wisch button:focus-visible,
.cb-wisch__pfeil:focus-visible,
.cb-wisch__schnell button:focus-visible,
.cb-blatt button:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
}
/* Wischen: die Bühne bewegt sich nur waagerecht mit dem Finger */
.cb[data-phase="charms"] .cb-buehne__welt,
.cb[data-phase="charms"] .cb-seite {
  touch-action: pan-y;
}
/* Satz auf der leeren Bühne mittig über der Schmuckbox */
.cb[data-phase="charms"] .cb-buehne__ruf {
  left: var(--bl-seitenrand);
  right: var(--bl-seitenrand);
  bottom: calc(var(--cb-box, 60px) + 18px);
}

/* Blatt von unten: alle Formen auf einen Blick */
.cb-blatt-schleier {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgb(22 22 22 / 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms;
}
.cb-blatt-schleier.is-auf {
  opacity: 1;
  pointer-events: auto;
}
.cb-blatt {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  max-height: 80vh;
  overflow-y: auto;
  padding: 8px var(--bl-seitenrand) calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: var(--bl-weiss);
  box-shadow: 0 -10px 30px rgb(22 22 22 / 0.12);
  font-family: var(--bl-schrift-text);
  transform: translateY(105%);
  visibility: hidden;
  transition: transform 340ms cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0s 340ms;
}
.cb-blatt.is-auf {
  transform: none;
  visibility: visible;
  transition: transform 340ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.cb-blatt__griff {
  width: 36px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 2px;
  background: rgb(22 22 22 / 0.15);
}
.cb-blatt__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cb-blatt__kopf h2 {
  margin: 0;
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 22px;
  font-weight: var(--bl-gewicht-titel);
  color: var(--bl-schwarz);
}
.cb-blatt__kopf em {
  font-style: italic;
  color: var(--bl-bordeaux);
}
.cb-blatt__zu {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bl-flaeche);
  color: var(--bl-schwarz);
  cursor: pointer;
}
.cb-blatt .cb-cwahl {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 12px;
  width: auto;
  height: auto;
  max-height: none;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.cb-blatt .cb-cwahl[hidden] {
  display: none;
}
.cb-blatt .cb-cwahl__farben {
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start;
  gap: 12px;
}
.cb-blatt .cb-cwahl__farbe {
  width: auto;
  flex-direction: row;
  gap: 6px;
  padding: 4px 2px;
  font-size: 12px;
}
.cb-blatt .cb-cwahl__farbe > span:last-child {
  display: inline;
}
.cb-blatt .cb-cwahl__punkt {
  width: 20px;
  height: 20px;
}
.cb-blatt .cb-cwahl__groessen {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
}
.cb-blatt .cb-cwahl__groessen[hidden] {
  display: none;
}
.cb-blatt .cb-cwahl__groesse {
  height: 28px;
  min-height: 0;
  padding: 0 10px;
  font-size: 12px;
  line-height: 28px;
}
.cb-blatt .cb-cwahl__liste {
  grid-column: 1;
  grid-row: 3;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
  border-radius: 0;
  touch-action: auto;
}
.cb-blatt .cb-cwahl__form,
.cb-blatt .cb-cwahl__form[aria-pressed="true"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}
.cb-blatt .cb-cwahl__bild,
.cb-blatt .cb-cwahl__form .cb-cwahl__bild {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--bl-flaeche);
  transition: box-shadow 200ms;
}
.cb-blatt .cb-cwahl__form[aria-pressed="true"] .cb-cwahl__bild {
  box-shadow: inset 0 0 0 2px var(--bl-blau);
}
.cb-blatt .cb-cwahl__bild img {
  position: absolute;
  inset: 14%;
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.cb-blatt .cb-cwahl__name {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: var(--bl-schwarz);
  font-size: 12px;
}
.cb-blatt .cb-cwahl__form[aria-pressed="true"] .cb-cwahl__name {
  font-weight: var(--bl-gewicht-fett);
}
@media (prefers-reduced-motion: reduce) {
  .cb-blatt,
  .cb-blatt.is-auf,
  .cb-blatt-schleier {
    transition: none;
  }
}

/* ══ Fünf Charms pro Reihe, Farben als Kreise (Malik 16.11.2026) ════════
   Eine Kachel pro Charm statt einer je Farbe. Unter dem Namen kleine
   Farbkreise wie bei den Creolen; der gezeigte hat einen Ring, gewählte
   Farben einen blauen Punkt. Ganze Reihen, darunter eine halbe Reihe. */
.cb-charmwahl .cb-kacheln {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 6px;
  row-gap: 6px;
  justify-items: stretch;
  -webkit-mask-image: none;
  mask-image: none;
}
.cb-charmwahl .cb-kachel {
  width: auto;
  min-width: 0;
  align-items: center;
  gap: 1px;
  text-align: center;
}
.cb-charmwahl .cb-kachel__bild {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 1px;
  border-radius: 12px;
}
.cb-charmwahl .cb-kachel__bild {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
}
.cb-charmwahl .cb-kachel__bild img {
  position: absolute;
  inset: 8% 12%;
  width: 76%;
  height: 84%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.cb-charmwahl .cb-kachel__name {
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 0.02em;
}
.cb-charmwahl .cb-kachel__preis {
  display: none;
}
.cb-charmwahl .cb-kachel__plus {
  top: 3px;
  right: 3px;
  width: 17px;
  height: 17px;
  font-size: 9px;
}
.cb-kachel__tupfen {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 3px;
  height: 12px;
  align-items: center;
  max-width: 100%;
}
.cb-kachel__tupfen i {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--f);
  box-shadow: inset 0 0 0 0.5px rgb(22 22 22 / 0.25), inset 0 -1px 2px rgb(0 0 0 / 0.12);
  transition: box-shadow 160ms;
}
/* große Tippfläche, ohne die Kreise größer zu machen */
.cb-kachel__tupfen i::after {
  content: "";
  position: absolute;
  inset: -5px -2px;
}
.cb-kachel__tupfen i.is-an {
  box-shadow: inset 0 0 0 0.5px rgb(22 22 22 / 0.25), 0 0 0 1.5px var(--bl-weiss), 0 0 0 2.5px var(--bl-schwarz);
}
.cb-kachel__tupfen i.is-drin::before {
  content: "";
  position: absolute;
  top: -4px;
  right: -3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bl-blau);
  box-shadow: 0 0 0 1px var(--bl-weiss);
}

/* Charm-Liste so hoch wie ihr Inhalt (ganze Reihen plus eine halbe), die Bühne bekommt den Rest */
.cb[data-phase="charms"] {
  grid-template-rows: minmax(0, 1fr) auto auto;
}

/* ══ Farbe wischen auf der Kachel, Metallkreise (Malik 16.11.2026) ══════
   Kacheln mit mehreren Farben zeigen leise Pfeile links und rechts: zur
   Seite wischen wechselt die Farbe, sie gleitet rein wie die Creolen oben.
   Gold und Silber als größere Metallkreise, Gold immer zuerst. */
.cb-kachel__pfeil {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 12px;
  height: 18px;
  margin-top: -9px;
  pointer-events: none;
  opacity: 0.38;
  transition: opacity 160ms;
}
.cb-kachel__pfeil::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border: solid var(--bl-schwarz);
  border-width: 0 0 1.5px 1.5px;
  transform: translate(-30%, -50%) rotate(45deg);
}
.cb-kachel__pfeil.is-links {
  left: 1px;
}
.cb-kachel__pfeil.is-rechts {
  right: 1px;
}
.cb-kachel__pfeil.is-rechts::before {
  transform: translate(-70%, -50%) rotate(-135deg);
}
@media (hover: hover) {
  .cb-kachel:hover .cb-kachel__pfeil {
    opacity: 0.7;
  }
}
.cb-charmwahl .cb-kachel.is-farbig {
  touch-action: pan-y;
}
.cb-kachel__tupfen {
  height: 14px;
}
.cb-kachel__tupfen i.is-metall {
  width: 12px;
  height: 12px;
  box-shadow: inset 0 0 0 0.5px rgb(22 22 22 / 0.2), inset 0 -1.5px 2.5px rgb(0 0 0 / 0.14), inset 0 1.5px 2px rgb(255 255 255 / 0.6);
}
.cb-kachel__tupfen i.is-gold {
  background: radial-gradient(circle at 35% 30%, #fbefc4, #e9cf86 45%, #b8913a);
}
.cb-kachel__tupfen i.is-silber {
  background: radial-gradient(circle at 35% 30%, #ffffff, #e1e4e8 45%, #a9abae);
}
.cb-kachel__tupfen i.is-metall.is-an {
  box-shadow: inset 0 -1.5px 2.5px rgb(0 0 0 / 0.14), 0 0 0 1.5px var(--bl-weiss), 0 0 0 2.5px var(--bl-schwarz);
}
.cb-kachel__tupfen:has(.is-metall) {
  gap: 5px;
}

/* Kurze Bildschirme (iPhone in Safari mit Leisten, Malik 16.11.2026):
   Editor mindestens 520 px hoch (die Seite scrollt dann ein Stück, der Shop-Kopf
   geht nach oben weg), Versand- und Zahlungszeile ausgeblendet, Pfeile an der
   Bühne weg, wenn sie zu flach ist (Wischen geht weiter). */
.cb[data-phase="charms"] {
  min-height: 520px;
}
.cb.is-eng[data-phase="charms"] .cb-balken .cb-vertrauen {
  display: none;
}
.cb-buehne.is-flach .cb-wisch__pfeil {
  display: none;
}

/* Ohrringe so groß wie möglich (Malik 16.11.2026): Namenszeile oben etwas flacher */
.cb-wisch {
  top: 0;
  gap: 0;
}
.cb-wisch__name {
  min-height: 28px;
  font-size: 17px;
}
.cb-wisch__pfeil {
  top: calc(40px + (100% - 40px - var(--cb-box, 60px) - 10px) * 0.42);
}

/* ══ Alle Überschriften wie „Brilla Facettiert“ (Malik 16.11.2026) ══════
   DM Serif Display, normale Schrift (nicht fett, nicht kursiv), normale
   Groß- und Kleinschreibung, schwarz. Die Schrift hat nur einen Schnitt,
   „fett“ war vorher vom Browser künstlich verdickt. */
.cb-formen__titel,
.cb-einstieg__titel,
.cb-buehne__ruf,
.cb-wk__kopf h2,
.cb-wk__titel,
.cb-blatt__kopf h2,
.cb-wisch__name {
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
}
.cb-buehne__ruf em,
.cb-formen__titel em,
.cb-blatt__kopf em {
  font-style: normal;
  color: inherit;
}
.cb .cb-box__titel,
.cb .cb-namensschild {
  font-style: normal;
  font-weight: 400;
}
.cb .cb-box__titel {
  font-size: 17px;
  line-height: 1.1;
}
.cb .cb-abschnitt,
.cb .cb-kasten__zeile .cb-abschnitt {
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 18px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
  color: var(--bl-schwarz);
}
@media (max-height: 700px) {
  .cb .cb-abschnitt,
  .cb .cb-kasten__zeile .cb-abschnitt {
    font-size: 17px;
  }
}
/* Satz auf der leeren Bühne nur, wenn er unter die Ohrringe passt (Malik 16.11.2026) */
.cb-buehne.ohne-ruf .cb-buehne__ruf {
  display: none;
}
/* Malik 16.11.2026: „Für meine Schmuckbox“ und „Mach sie zu deinen.“ kleiner */
.cb .cb-box__titel {
  font-size: 14px;
  line-height: 1.15;
}
.cb[data-phase="charms"] .cb-buehne__ruf {
  font-size: 17px;
  line-height: 1.1;
}
.cb[data-phase="charms"] .cb-buehne__ruf {
  bottom: calc(var(--cb-box, 60px) + 12px);
}

/* ══ Punkt wählen (Malik 16.11.2026) ═══════════════════════════════════
   Hängt an einer Creole ein Charm, sind die freien Punkte links und rechts
   antippbar. Aussehen wie vorher (Malik: kein Plus): kleiner Punkt, der
   gewählte bzw. nächste blinkt blau. Unsichtbare Tippfläche 44 px. */
.cb[data-phase="charms"] .cb-punkt.is-waehlbar {
  opacity: 0.55;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cb[data-phase="charms"] .cb-punkt.is-waehlbar.is-naechster {
  opacity: 1;
}
.cb[data-phase="charms"] .cb-punkt.is-waehlbar::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
}

/* ══ Produktseite unter dem Editor (Malik 16.11.2026) ══════════════════
   Aufbau wie die Produktseiten im Shop: Vertrauen, Kundinnen, So geht's,
   viele Kombi-Ideen, Bewertungen, Fragen, Marktstand. Handy zuerst, ab
   1024 px zweispaltig und breiter. */
.ps {
  /* weiße Fläche über die ganze Breite, Inhalt höchstens 1200 px breit */
  --ps-rand: max(var(--bl-seitenrand), calc((100% - 1200px) / 2));
  padding: var(--bl-abstand-24) var(--ps-rand) 96px;
  background: var(--bl-weiss);
  color: var(--bl-schwarz);
}
.ps-titel {
  margin: 0 0 var(--bl-abstand-12);
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 24px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.1;
}
.ps-unterzeile {
  margin: calc(-1 * var(--bl-abstand-4)) 0 var(--bl-abstand-16);
  font-size: var(--bl-text-klein);
  line-height: 1.45;
  color: var(--bl-text-grau);
}
.ps-abschnitt {
  margin-top: var(--bl-abstand-48);
}
.ps-sterne {
  color: var(--bl-bordeaux);
  letter-spacing: 0.08em;
}

/* Vertrauensleiste: Chips, am Handy wischbar */
.ps-vertrauen {
  display: flex;
  gap: var(--bl-abstand-8);
  margin: 0 calc(-1 * var(--ps-rand));
  padding: 0 var(--ps-rand) var(--bl-abstand-4);
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}
.ps-vertrauen::-webkit-scrollbar {
  display: none;
}
.ps-vertrauen li {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 var(--bl-abstand-12);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-flaeche);
  font-size: var(--bl-text-mini);
  white-space: nowrap;
}
.ps-vertrauen li.is-aktion {
  background: var(--bl-bordeaux);
  color: var(--bl-weiss);
}
.ps-vertrauen__sterne {
  color: var(--bl-bordeaux);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* Das sagen Kundinnen */
.ps-stimmen__reihe {
  display: grid;
  gap: var(--bl-abstand-12);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-stimme {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--bl-abstand-12);
  align-items: start;
  padding: var(--bl-abstand-12);
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-flaeche);
}
.ps-stimme img {
  width: 64px;
  height: 64px;
  border-radius: var(--bl-radius-button);
  object-fit: cover;
}
.ps-stimme p {
  margin: 2px 0 4px;
  font-size: var(--bl-text-klein);
  line-height: 1.45;
}
.ps-stimme .ps-sterne {
  font-size: 12px;
}
.ps-stimme__wer {
  font-size: 12px;
  color: var(--bl-text-grau);
}

/* So stellst du dein Set zusammen */
.ps-schritte__liste {
  display: grid;
  gap: var(--bl-abstand-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-schritte__liste li {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: var(--bl-abstand-12);
  row-gap: 2px;
  align-items: center;
  padding: var(--bl-abstand-12) var(--bl-abstand-16);
  border: 1px solid var(--bl-linie);
  border-radius: var(--bl-radius-kachel);
}
.ps-schritte__nr {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bl-blau);
  color: var(--bl-weiss);
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 17px;
}
.ps-schritte__liste strong {
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 17px;
  font-weight: 400;
}
.ps-schritte__liste li > span:last-child {
  font-size: var(--bl-text-mini);
  line-height: 1.45;
  color: var(--bl-text-grau);
}

/* Kombi-Ideen */
.ps-kombis__raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bl-abstand-12) var(--bl-abstand-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-kombi {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ps-kombi__bild {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 10% 8% 6%;
  border-radius: var(--bl-radius-kachel);
  background: #f6f5f1; /* gleiche Fläche wie die gerenderten Kombi-Bilder */
  overflow: hidden;
  transition: transform var(--bl-dauer-mittel) var(--bl-kurve-auf);
}
.ps-kombi__bild img,
.ps-kombi__bild svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ps-kombi__box {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--bl-text-grau);
}
.ps-kombi__box span {
  margin-left: 4px;
}
.ps-kombi__box img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.ps-kombi__name {
  margin-top: var(--bl-abstand-8);
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 17px;
  line-height: 1.15;
}
.ps-kombi__info {
  font-size: 12px;
  color: var(--bl-text-grau);
}
.ps-kombi__preis {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
  font-size: var(--bl-text-klein);
  font-weight: var(--bl-gewicht-fett);
}
.ps-kombi__preis s {
  font-size: 12px;
  font-weight: 400;
  color: var(--bl-text-grau);
}
.ps-kombi__los {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: var(--bl-abstand-8);
  border: 1px solid var(--bl-blau);
  border-radius: var(--bl-radius-button);
  color: var(--bl-blau);
  font-size: var(--bl-text-mini);
  font-weight: var(--bl-gewicht-mittel);
  transition: background var(--bl-dauer-kurz), color var(--bl-dauer-kurz);
}
@media (hover: hover) {
  .ps-kombi:hover .ps-kombi__bild {
    transform: translateY(-3px);
  }
  .ps-kombi:hover .ps-kombi__los {
    background: var(--bl-blau);
    color: var(--bl-weiss);
  }
}
.ps-kombi:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 4px;
  border-radius: var(--bl-radius-kachel);
}

/* Bewertungen wie im Shop */
.ps-bewertungen__schnitt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--bl-abstand-24);
  align-items: center;
  padding: var(--bl-abstand-16);
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-flaeche);
}
.ps-bewertungen__zahl {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: var(--bl-text-grau);
}
.ps-bewertungen__zahl strong {
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  color: var(--bl-schwarz);
}
.ps-bewertungen__balken {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}
.ps-bewertungen__balken li {
  display: grid;
  grid-template-columns: 24px 1fr 22px;
  gap: var(--bl-abstand-8);
  align-items: center;
}
.ps-bewertungen__balken li > span:last-child {
  text-align: right;
  color: var(--bl-text-grau);
}
.ps-spur {
  height: 6px;
  border-radius: 3px;
  background: rgb(22 22 22 / 0.08);
  overflow: hidden;
}
.ps-spur span {
  display: block;
  height: 100%;
  background: var(--bl-bordeaux);
  transform-origin: left;
}
.ps-bewertungen__liste {
  display: grid;
  gap: var(--bl-abstand-16);
  margin: var(--bl-abstand-16) 0 0;
  padding: 0;
  list-style: none;
}
.ps-bewertung {
  display: flex;
  gap: var(--bl-abstand-12);
  padding-bottom: var(--bl-abstand-16);
  border-bottom: 1px solid var(--bl-linie);
}
.ps-bewertung img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: var(--bl-radius-button);
  object-fit: cover;
}
.ps-bewertung p {
  margin: 0;
  font-size: var(--bl-text-klein);
  line-height: 1.45;
}
.ps-bewertung .ps-bewertung__kopf {
  margin-bottom: 4px;
  font-size: 12px;
}
.ps-bewertung__kopf span:last-child {
  color: var(--bl-text-grau);
}
.ps-fussnote {
  margin: var(--bl-abstand-12) 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--bl-text-grau);
}

/* Fragen */
.ps-fragen details {
  border-bottom: 1px solid var(--bl-linie);
}
.ps-fragen summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bl-abstand-12);
  min-height: 52px;
  font-size: 15px;
  font-weight: var(--bl-gewicht-mittel);
  list-style: none;
  cursor: pointer;
}
.ps-fragen summary::-webkit-details-marker {
  display: none;
}
.ps-fragen summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border: solid var(--bl-schwarz);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--bl-dauer-kurz);
}
.ps-fragen details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.ps-fragen details p {
  margin: 0 0 var(--bl-abstand-16);
  font-size: var(--bl-text-klein);
  line-height: 1.5;
  color: var(--bl-text-leise);
}
.ps-fragen a,
.ps-markt__link {
  color: var(--bl-blau);
}

/* Marktstand */
.ps-markt {
  padding: var(--bl-abstand-24);
  border-radius: var(--bl-radius-bild);
  background: var(--bl-bordeaux);
  color: var(--bl-weiss);
}
.ps-markt p {
  margin: 0 0 var(--bl-abstand-12);
  font-size: 15px;
  line-height: 1.5;
}
.ps-markt .ps-markt__link {
  color: var(--bl-weiss);
  font-size: var(--bl-text-klein);
  font-weight: var(--bl-gewicht-mittel);
}

.ps-schluss {
  margin-top: var(--bl-abstand-48);
  text-align: center;
}
.ps-schluss__knopf {
  min-height: var(--bl-knopf-hoehe);
  padding: 0 var(--bl-abstand-32);
  border: 0;
  border-radius: var(--bl-radius-button);
  background: var(--bl-blau);
  color: var(--bl-weiss);
  font: inherit;
  font-size: var(--bl-text-knopf);
  font-weight: var(--bl-gewicht-fett);
  cursor: pointer;
}

@media (min-width: 640px) {
  .ps-kombis__raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ps-schritte__liste {
    grid-template-columns: repeat(3, 1fr);
  }
  .ps-schritte__liste li {
    align-content: start;
  }
}
@media (min-width: 1024px) {
  .ps {
    --ps-rand: max(var(--bl-abstand-24), calc((100% - 1200px) / 2));
    padding-top: var(--bl-abstand-48);
  }
  .ps-titel {
    font-size: 32px;
  }
  .ps-abschnitt {
    margin-top: 64px;
  }
  .ps-vertrauen {
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
  .ps-stimmen__reihe {
    grid-template-columns: repeat(3, 1fr);
  }
  .ps-kombis__raster {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--bl-abstand-24) var(--bl-abstand-16);
  }
  .ps-bewertungen {
    display: grid;
    grid-template-columns: 360px 1fr;
    column-gap: var(--bl-abstand-48);
    align-items: start;
  }
  .ps-bewertungen > .ps-titel {
    grid-column: 1 / -1;
  }
  .ps-bewertungen__liste {
    margin-top: 0;
  }
  .ps-bewertungen .ps-fussnote {
    grid-column: 1 / -1;
  }
  .ps-fragen,
  .ps-markt {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ps-kombi__bild {
    transition: none;
  }
}

/* ══ Laptop und PC (Malik 16.11.2026: „auf beiden perfekt“) ════════════
   Ab 1024 px: links groß die Ohrringe, rechts eine Spalte mit der Auswahl
   (Charm-Liste füllt die Spalte und scrollt) und darunter der Kaufbalken. */
@media (min-width: 1024px) {
  .cb[data-phase="charms"],
  .cb[data-phase="creolen"] {
    max-width: 1280px;
    height: calc(min(100svh, 920px) - var(--cb-kopf, 0px));
    min-height: 600px;
    grid-template-columns: minmax(0, 1fr) 452px;
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: var(--bl-abstand-24);
    padding: var(--bl-abstand-16) var(--bl-abstand-24);
  }
  .cb[data-phase="charms"] .cb-buehne,
  .cb[data-phase="creolen"] .cb-buehne {
    grid-column: 1;
    grid-row: 1 / -1;
    border-radius: var(--bl-radius-bild);
  }
  .cb[data-phase="charms"] .cb-mitte,
  .cb[data-phase="creolen"] .cb-mitte {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .cb[data-phase="charms"] .cb-balken,
  .cb[data-phase="creolen"] .cb-balken {
    grid-column: 2;
    grid-row: 2;
  }
  .cb[data-phase="charms"] .cb-charmwahl {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .cb[data-phase="charms"] .cb-charmwahl .cb-kacheln {
    flex: 1;
    min-height: 0;
    height: auto !important;
    overflow-x: hidden;
    overflow-y: auto;
    align-content: start;
  }
}
@media (min-width: 1024px) {
  /* Kaufbalken in der rechten Spalte untereinander, Knopf über die ganze Breite */
  .cb[data-phase="charms"] .cb-balken__teil,
  .cb[data-phase="creolen"] .cb-balken__teil {
    flex-direction: column;
    align-items: stretch;
  }
  .cb[data-phase="charms"] .cb-balken .cb-knopf,
  .cb[data-phase="creolen"] .cb-balken .cb-knopf {
    width: 100%;
    min-width: 0;
  }
  .cb[data-phase="charms"] .cb-balken,
  .cb[data-phase="creolen"] .cb-balken {
    padding-inline: 0;
  }
}
@media (min-width: 1024px) {
  .cb[data-phase="charms"] .cb-angebot {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: var(--bl-abstand-8);
  }
  .cb[data-phase="charms"] .cb-angebot > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .cb[data-phase="charms"] .cb-angebot .cb-vertrauen {
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  /* Farben und Größen unten auf der Bühne ganz sichtbar */
  .cb[data-phase="charms"] .cb-wisch__schnell {
    height: auto;
    bottom: 10px;
  }
}

/* Render-Modus für die Kombi-Bilder (nur ?render) */
.cb-render body,
html.cb-render {
  background: #f6f5f1;
}
.cb-render [data-shopkopf],
.cb-render .ps,
.cb-render .cb-mitte,
.cb-render .cb-balken,
.cb-render .cb-box,
.cb-render .cb-wisch,
.cb-render .cb-wisch__pfeil,
.cb-render .cb-wisch__schnell,
.cb-render .cb-punkt,
.cb-render .cb-buehne__ruf,
.cb-render .cb-buehne__titel,
.cb-render .cb-buehne__aendern,
.cb-render .cb-namensschild,
.cb-render .cb-rueck,
.cb-render .cb-teilen,
.cb-render .cb-toast,
.cb-render .cb-regen,
.cb-render .cb-hand {
  display: none !important;
}
.cb-render .cb {
  height: 100vh !important;
  min-height: 0 !important;
  max-width: none;
  padding: 0 !important;
  grid-template-rows: minmax(0, 1fr) !important;
  grid-template-columns: minmax(0, 1fr) !important;
}
.cb-render .cb-buehne {
  grid-row: 1 !important;
  grid-column: 1 !important;
  border-radius: 0 !important;
  background: #f6f5f1 !important;
  box-shadow: none !important;
}
.cb-render .cb-buehne::before,
.cb-render .cb-buehne::after {
  display: none !important;
}

/* ══ Meldungen nicht über den Ohrringen (Malik 16.11.2026) ══════════════
   Toast und „… abgenommen“ sitzen oben im Charm-Bereich, nicht auf der Bühne. */
.cb-mitte {
  position: relative;
}
.cb-mitte > .cb-toast,
.cb-mitte > .cb-rueck {
  position: absolute;
  z-index: 40;
  top: 6px;
  bottom: auto;
  left: 50%;
  right: auto;
  max-width: calc(100% - 24px);
  transform: translateX(-50%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 14px rgb(22 22 22 / 0.18);
}
.cb-mitte > .cb-rueck {
  min-height: 32px;
}

/* Schmuckbox als Ziel (Malik 16.11.2026): angetippt = blauer Rahmen, Charms kommen hinein */
.cb-box__samt {
  cursor: pointer;
}
.cb-box.is-ziel .cb-box__samt {
  box-shadow:
    0 0 0 2px var(--bl-weiss),
    0 0 0 4px var(--bl-blau),
    0 6px 16px rgb(30 63 122 / 0.25);
}

/* Start ohne Einblenden (Malik 16.11.2026: „es soll nichts laden, genau so kommen“) */
.cb-ohne-auftritt .cb *,
.cb-ohne-auftritt .cb *::before,
.cb-ohne-auftritt .cb *::after {
  animation: none !important;
  transition: none !important;
}
.cb-start .cb {
  visibility: hidden;
  /* Notbremse: läuft das Skript nicht, nach 4 Sekunden trotzdem zeigen */
  animation: cb-notbremse 0s 4s forwards;
}
@keyframes cb-notbremse {
  to {
    visibility: visible;
  }
}

/* ══ Warenkorb wie im Shop (Malik 16.11.2026, Vorlage bylamari-warenkorb.css) ══
   Leiste von rechts über die volle Höhe (am Handy über die ganze Breite), Kopf mit
   Anzahl, Artikel scrollen, unten fest Summe, „Zur Kasse“ und Zahlarten. */
.cb-wk {
  align-items: stretch;
  justify-content: flex-end;
}
.cb-wk .cb-wk__blatt {
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  max-height: none;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--bl-weiss);
  box-shadow: -8px 0 30px rgb(22 22 22 / 0.18);
}
.cb-wk .cb-wk__kopf {
  flex-shrink: 0;
  padding: calc(var(--bl-abstand-8) + env(safe-area-inset-top, 0px)) var(--bl-abstand-8) var(--bl-abstand-8) var(--bl-abstand-16);
  border-bottom: 1px solid var(--bl-linie);
}
.cb-wk__kopf-titel {
  display: flex;
  flex: 1;
  align-items: center;
  gap: var(--bl-abstand-8);
}
.cb-wk .cb-wk__kopf h2 {
  font-size: 24px;
  font-weight: 400;
  font-synthesis: none;
}
.cb-wk__kopf h2:focus {
  outline: none;
}
.cb-wk__anzahl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding-inline: var(--bl-abstand-4);
  border-radius: var(--bl-radius-rund);
  background: var(--bl-blau);
  color: var(--bl-weiss);
  font-size: 12px;
  font-weight: var(--bl-gewicht-fett);
}
.cb-wk .cb-wk__zu {
  display: grid;
  place-items: center;
  color: var(--bl-schwarz);
}
.cb-wk__scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--bl-abstand-8) var(--bl-abstand-16) var(--bl-abstand-16);
}
.cb-wk .cb-wk__zeile {
  position: relative;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: start;
  padding-block: 14px;
}
.cb-wk .cb-wk__bild {
  width: 64px;
  height: 64px;
}
.cb-wk .cb-wk__titel {
  font-weight: 400;
  font-synthesis: none;
}
.cb-wk__variante {
  margin-top: 2px;
}
.cb-wk__entfernen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  margin: 2px 0 -8px -12px;
  padding: 0;
  border: 0;
  border-radius: var(--bl-radius-rund);
  background: transparent;
  color: var(--bl-text-grau);
  cursor: pointer;
}
.cb-wk__entfernen:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 1px;
}
.cb-wk__top {
  display: flex;
  flex-direction: column;
  gap: var(--bl-abstand-8);
  padding: var(--bl-abstand-12) 0;
  border-bottom: 1px solid var(--bl-linie);
}
.cb-wk__bar-text {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: var(--bl-text-mini);
  font-weight: var(--bl-gewicht-mittel);
}
.cb-wk__bar-text svg {
  color: var(--bl-blau);
}
.cb-wk__bar {
  height: 6px;
  overflow: hidden;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-linie);
}
.cb-wk__bar span {
  display: block;
  height: 100%;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-blau);
  transform-origin: left;
  transition: transform 400ms ease;
}
.cb-wk__gift-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: var(--bl-abstand-8);
  padding: 2px 10px;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-flaeche);
  color: var(--bl-bordeaux);
  font-size: 11px;
  font-weight: var(--bl-gewicht-fett);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cb-wk__gift-preis {
  color: var(--bl-bordeaux);
}
.cb-wk__gift .cb-wk__bild img {
  padding: 0;
  object-fit: cover;
}
.cb-wk__fuss {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--bl-abstand-8);
  padding: var(--bl-abstand-16) var(--bl-abstand-16) calc(var(--bl-abstand-16) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--bl-linie);
  background: var(--bl-weiss);
}
.cb-wk__sum {
  display: flex;
  flex-direction: column;
  gap: var(--bl-abstand-4);
  margin: 0;
  font-size: var(--bl-text-mini);
}
.cb-wk__sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--bl-abstand-12);
}
.cb-wk__sum-row dt {
  color: var(--bl-text-leise);
}
.cb-wk__sum-row dd {
  margin: 0;
  text-align: right;
}
.cb-wk__sum-row dd s {
  margin-right: 4px;
  color: var(--bl-text-grau);
}
.cb-wk__vat {
  font-size: 12px;
  color: var(--bl-text-grau);
}
.cb-wk__ship.is-free {
  font-weight: var(--bl-gewicht-fett);
}
.cb-wk__sum-row--total {
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px solid var(--bl-linie);
}
.cb-wk__sum-row--total dt {
  font-weight: var(--bl-gewicht-fett);
  color: var(--bl-schwarz);
}
.cb-wk__sum-row--total dd {
  font-size: 17px;
  font-weight: var(--bl-gewicht-fett);
}
.cb-wk .cb-wk__gespart {
  margin: 0;
  text-align: left;
}
.cb-wk__ship-note {
  margin: 0;
  font-size: 11px;
  color: var(--bl-text-grau);
}
.cb-wk__kasse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: var(--bl-abstand-4);
  border: 0;
  border-radius: var(--bl-radius-rund);
  background: var(--bl-blau);
  color: var(--bl-weiss);
  font: inherit;
  font-size: var(--bl-text-knopf);
  font-weight: var(--bl-gewicht-fett);
  cursor: pointer;
}
.cb-wk__kasse:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 2px;
}
.cb-wk__pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.cb-wk__pay img {
  display: block;
  width: 38px;
  height: 24px;
}
/* Seite dahinter scrollt nicht mit, solange der Warenkorb offen ist */
html.cb-wk-offen,
html.cb-wk-offen body {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .cb-wk__bar span {
    transition: none;
  }
}

/* ══ Laufband und mehr Vertrauen (Malik 16.11.2026) ═════════════════════
   Laufband wie auf der Startseite (bylamari-bausteine.css .bl-laufband): blau,
   läuft nur per CSS, hält beim Darüberfahren und per Knopf an. */
.ps-laufband {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bl-blau);
  color: var(--bl-weiss);
}
.ps-laufband__spur {
  display: flex;
  width: max-content;
  animation: ps-laufband 40s linear infinite;
}
.ps-laufband:hover .ps-laufband__spur,
.ps-laufband.is-pausiert .ps-laufband__spur,
.ps-laufband:focus-within .ps-laufband__spur {
  animation-play-state: paused;
}
.ps-laufband__liste {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-laufband__liste li {
  display: flex;
  align-items: center;
  gap: var(--bl-abstand-24);
  padding: var(--bl-abstand-12);
  font-size: var(--bl-text-mini);
  font-weight: var(--bl-gewicht-fett);
  white-space: nowrap;
}
.ps-laufband__liste li::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: var(--bl-abstand-12);
  border: 1px solid currentColor;
  transform: rotate(45deg);
}
.ps-laufband__pause {
  position: absolute;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--bl-blau);
  color: var(--bl-weiss);
  cursor: pointer;
}
.ps-laufband__pause:focus-visible {
  outline: 2px solid var(--bl-weiss);
  outline-offset: -4px;
}
@keyframes ps-laufband {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ps-laufband {
    overflow-x: auto;
  }
  .ps-laufband__spur {
    animation: none;
  }
  .ps-laufband__liste[aria-hidden],
  .ps-laufband__pause {
    display: none;
  }
}

/* Darauf kannst du dich verlassen */
.ps-gruende__liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bl-abstand-12);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ps-gruende__liste li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--bl-abstand-16) var(--bl-abstand-12);
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-flaeche);
}
.ps-gruende__ikon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--bl-weiss);
  color: var(--bl-blau);
}
.ps-gruende__liste strong {
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}
.ps-gruende__liste li > span:last-child {
  font-size: var(--bl-text-mini);
  line-height: 1.4;
  color: var(--bl-text-grau);
}
.ps-notiz {
  display: flex;
  align-items: center;
  gap: var(--bl-abstand-12);
  margin-top: var(--bl-abstand-12);
  padding: var(--bl-abstand-16);
  border: 1px solid var(--bl-linie);
  border-radius: var(--bl-radius-kachel);
}
.ps-notiz__zeichen {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--bl-bordeaux);
  border-radius: 50%;
  color: var(--bl-bordeaux);
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 18px;
}
.ps-notiz strong {
  display: block;
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 17px;
  font-weight: 400;
}
.ps-notiz span span {
  font-size: var(--bl-text-mini);
  line-height: 1.45;
  color: var(--bl-text-grau);
}

/* Wann ist es da? */
.ps-versand__datum {
  margin: calc(-1 * var(--bl-abstand-4)) 0 var(--bl-abstand-16);
  padding: var(--bl-abstand-12) var(--bl-abstand-16);
  border-radius: var(--bl-radius-kachel);
  background: var(--bl-gelb);
  font-size: var(--bl-text-klein);
  line-height: 1.4;
}
.ps-versand__datum:empty {
  display: none;
}
.ps-versand__weg {
  position: relative;
  display: grid;
  gap: var(--bl-abstand-16);
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}
.ps-versand__weg::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--bl-linie);
}
.ps-versand__weg li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ps-versand__punkt {
  position: absolute;
  left: -27px;
  top: 3px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--bl-blau);
  border-radius: 50%;
  background: var(--bl-weiss);
}
.ps-versand__weg li:first-child .ps-versand__punkt {
  background: var(--bl-blau);
}
.ps-versand__weg strong {
  font-family: var(--bl-schrift-ueberschrift);
  font-size: 17px;
  font-weight: 400;
}
.ps-versand__weg li > span:last-child {
  font-size: var(--bl-text-klein);
  color: var(--bl-text-grau);
}
@media (min-width: 1024px) {
  .ps-gruende__liste {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--bl-abstand-16);
  }
  .ps-versand {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Speed (Malik 16.11.2026): Bereiche außerhalb des Bildschirms erst beim Hinscrollen
   berechnen und zeichnen (wie content-visibility im Shop-Neubau) */
.ps > .ps-abschnitt,
.ps > .ps-schluss {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}
/* Keine Höhen-Animation des Editors mehr (war für den Einstieg, verursachte Verschiebungen beim Laden) */
.cb {
  transition: none;
}
/* erster Abschnitt direkt unter dem Laufband ohne doppelten Abstand */
.ps > .ps-abschnitt:first-child {
  margin-top: var(--bl-abstand-8);
}

/* ══ Handy: Kaufknopf so tief wie möglich (Malik 16.11.2026 abends) ═════
   „Set in den Warenkorb“ rutscht ganz nach unten, von der Zahlungszeile
   (1 bis 4 Tage, Klarna, PayPal …) sieht man nur noch die obere Hälfte.
   Der Editor ist dafür um den Überhang höher als der Bildschirm; was er
   gewinnt, bekommt die Bühne mit den Ohrringen. */
@media (max-width: 1023px) {
  .cb[data-phase="charms"] {
    --cb-ueberhang: 20px;
    height: calc(var(--cb-hoehe) - var(--cb-kopf, 0px) + var(--cb-ueberhang));
  }
  .cb.is-eng[data-phase="charms"] {
    --cb-ueberhang: 0px;
  }
}

/* ══ Kein „Zum Aktualisieren ziehen“ auf der Charm-Bar (Malik 19.11.2026, iPhone-Aufnahme) ══
   Beim Hochwischen in der Charm-Liste kam Safari oben an und lud die ganze Seite neu.
   overscroll-behavior: contain an der Liste reicht dafür in Safari nicht, darum auch an
   html und body. Scrollen bleibt, nur das Nachziehen und Neuladen am oberen Rand ist aus. */
html:has(.cb),
html:has(.cb) body {
  overscroll-behavior-y: none;
}

/* ══ Kaufweg aus den Clarity-Aufnahmen (20.11.2026) ═════════════════════
   1. Gewählte Kachel: Antippen nimmt ab, kleiner „+“-Knopf unten rechts setzt ein weiteres Stück.
      Der Knopf liegt über der Bildecke (nicht in der Bildfläche, die schneidet ab);
      sichtbar 22 px, wirksame Tippfläche 44 px. */
.cb-charmwahl .cb-kachel {
  position: relative;
}
.cb-kachel__ecke {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 1;
  pointer-events: none;
}
.cb-kachel__mehr {
  display: none;
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--bl-blau);
  border-radius: 50%;
  background:
    linear-gradient(var(--bl-blau), var(--bl-blau)) center / 10px 1.75px no-repeat,
    linear-gradient(var(--bl-blau), var(--bl-blau)) center / 1.75px 10px no-repeat,
    var(--bl-weiss);
  box-shadow: 0 1px 4px rgb(22 22 22 / 0.18);
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}
.cb-kachel__mehr::after {
  content: "";
  position: absolute;
  inset: -12.5px; /* Tippfläche mindestens 44 px */
  border-radius: 50%;
}
.cb-kachel.is-diese .cb-kachel__mehr {
  display: block;
}
.cb-kachel__mehr:active {
  background-color: #e9eef7;
}
@media (hover: hover) {
  .cb-kachel__mehr:hover {
    background-color: #e9eef7;
  }
}

/* 3. Set komplett: zweite Zeile im Kaufknopf, falls „Set komplett · in den Warenkorb“ nicht in eine passt */
.cb-knopf.is-zweizeilig {
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}
.cb-knopf__komplett {
  font-size: 11px;
  font-weight: var(--bl-gewicht-fett);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}

/* 4. Gratis-Leiste antippbar: kleines Infofeld über der Leiste */
.cb-angebot__oben {
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cb-angebot__status:focus-visible {
  outline: 2px solid var(--bl-blau);
  outline-offset: 3px;
  border-radius: 4px;
}
.cb-info {
  position: absolute;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bl-weiss);
  color: var(--bl-schwarz);
  box-shadow: 0 0 0 1px rgb(22 22 22 / 0.1), 0 8px 24px rgb(22 22 22 / 0.16);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  cursor: default;
  transition: opacity 200ms ease;
}
.cb-info b {
  color: var(--bl-bordeaux);
  font-weight: var(--bl-gewicht-fett);
}
.cb-info span {
  color: var(--bl-text-leise, #555);
  font-size: 12px;
}
/* kleiner Zeiger zur Leiste */
.cb-info::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--bl-weiss);
  box-shadow: 1px 1px 0 rgb(22 22 22 / 0.1);
  transform: rotate(45deg);
}
.cb-info.is-weg {
  opacity: 0;
}
.cb-info[hidden],
.cb-knopf__komplett[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .cb-info {
    transition: none;
  }
}

/* Angebot und Preis unter „Charms wählen“ (Analyse 21.11.2026): In den Aufnahmen stand im ersten
 * Bildschirm weder das Angebot noch der Charm-Preis. Schwarz auf Kastenfarbe, 12 px. */
.cb-kasten__angebot {
  margin: 0 0 4px;
  font-family: var(--bl-schrift-text);
  font-size: 12px;
  line-height: 1.3;
  color: var(--bl-schwarz);
  white-space: nowrap;
}
.cb-kasten__angebot b {
  font-weight: var(--bl-gewicht-fett);
  color: var(--bl-bordeaux);
}
@media (max-width: 359px) {
  .cb-kasten__angebot {
    font-size: 11px;
  }
}

/* ══ Modell 4 (Malik 21.11.2026): große Bühne, Seite scrollt, Bühne und Leiste kleben ═══════════════════
 * Nur mit ?modell=4 (editor.js setzt data-modell="4"), nur Handy und Tablet. Messung vom 21.11.2026:
 * Creolen nur 62 px, 19 von 45 Tippflächen unter 44 px, „GRATIS“ in 6 px, nur 10 von 210 Charms sichtbar. */
@media (max-width: 1023px) {
  .cb[data-modell="4"] {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  /* Bühne klebt unter dem Shop-Kopf; gleitet der Kopf weg, rückt sie nach oben */
  .cb[data-modell="4"] .cb-buehne {
    position: sticky !important;
    top: var(--cb-oben, var(--cb-kopf, 0px)); /* folgt dem Shop-Kopf, wenn er wegklappt (editor.js) */
    z-index: 20;
    height: clamp(236px, 39svh, 390px) !important;
    background: var(--bl-weiss);
    border-bottom: 1px solid #dedad3;
  }
  .cb[data-modell="4"] .cb-box[hidden] {
    display: none !important;
  }
  /* Name der Form und Pfeile: größer, Pfeile 44 px */
  .cb[data-modell="4"] .cb-wisch__name {
    min-height: 40px;
    font-size: 20px;
  }
  .cb[data-modell="4"] .cb-wisch__pfeil {
    width: 44px;
    height: 44px;
  }
  /* Farbe und Größe: eine Zeile unten auf der Bühne, jede Tippfläche 44 px */
  .cb[data-modell="4"]:not(.hat-box) .cb-wisch__schnell {
    left: 12px !important;
    right: 12px !important;
    bottom: 2px !important;
    width: auto !important;
    height: 48px !important; /* sonst 0: die Höhe kam von der Schmuckbox */
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .cb[data-modell="4"] .cb-wisch__schnell button {
    min-width: 44px;
    min-height: 44px;
  }
  .cb[data-modell="4"] .cb-wisch__groessen button {
    padding-inline: 8px;
    font-size: 14px;
  }
  /* Charm-Auswahl: so hoch wie ihr Inhalt, drei große Kacheln je Reihe */
  .cb[data-modell="4"] .cb-mitte {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  .cb[data-modell="4"] .cb-charmwahl {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .cb[data-modell="4"] .cb-kasten__kopf {
    display: flex !important;
  }
  .cb[data-modell="4"] .cb-kacheln {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 12px 8px !important;
  }
  .cb[data-modell="4"] .cb-kachel.is-spaeter {
    display: none !important;
  }
  .cb[data-modell="4"] .cb-kachel__name {
    font-size: 13px;
  }
  /* „Noch einen dazu“: sichtbar 30 px, Tippfläche 44 px */
  .cb[data-modell="4"] .cb-kachel__mehr {
    width: 30px;
    height: 30px;
  }
  .cb[data-modell="4"] .cb-kachel__mehr::after {
    content: "";
    position: absolute;
    inset: -7px;
  }
  .cb[data-modell="4"] .cb-mehr {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    border: 1.5px solid var(--bl-blau);
    border-radius: 999px;
    background: var(--bl-weiss);
    color: var(--bl-blau);
    font: 600 14px/1 var(--bl-schrift-text);
  }
  .cb[data-modell="4"] .cb-mehr[hidden] {
    display: none;
  }
  /* Leiste unten klebt; Plätze größer, „0 €“ lesbar */
  .cb[data-modell="4"] .cb-balken {
    position: sticky !important;
    bottom: 0;
    z-index: 25;
    background: var(--bl-weiss);
    border-top: 1px solid #dedad3;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .cb[data-modell="4"] .cb-platz {
    width: 36px;
    height: 36px;
  }
  .cb[data-modell="4"] .cb-platz__frei {
    font-size: 10px;
    font-weight: 600;
  }
  /* Kurze Bildschirme (Safari mit Leisten): Versand- und Zahlungszeile in der Leiste weg, mehr Platz für Charms */
  @media (max-height: 720px) {
    .cb[data-modell="4"] .cb-balken .cb-vertrauen {
      display: none !important;
    }
  }
}

/* ══ Modell 4, Teil 2 (Malik 21.11.2026): Zähler, Paar-Schalter, Frage bei vollen Creolen ══════════════ */
@media (max-width: 1023px) {
  /* Zähler „− 1 +“ statt „+“ in der Ecke; ersetzt den Namen, solange der Charm gewählt ist */
  .cb[data-modell="4"] .cb-kachel__ecke {
    display: none !important;
  }
  .cb[data-modell="4"] .cb-kachel__zaehler {
    display: none;
  }
  .cb[data-modell="4"] .cb-kachel.is-diese .cb-kachel__name {
    display: none;
  }
  .cb[data-modell="4"] .cb-kachel.is-diese .cb-kachel__zaehler {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    height: 40px;
    border: 1.5px solid var(--bl-blau);
    border-radius: 999px;
    background: var(--bl-weiss);
    color: var(--bl-blau);
    font: 600 15px/1 var(--bl-schrift-text);
    touch-action: manipulation;
  }
  .cb[data-modell="4"] .cb-kachel__zaehler > span {
    display: grid;
    place-items: center;
    height: 100%;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
  }
  .cb[data-modell="4"] .cb-kachel__zaehler > span:active {
    background: #e9eef7;
  }
  .cb[data-modell="4"] .cb-kachel__zaehler i {
    min-width: 16px;
    font-style: normal;
    text-align: center;
  }
  /* Schalter „Als Paar an beide Creolen“ */
  .cb[data-modell="4"] .cb-paar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bl-schwarz);
    font: 500 13px/1.2 var(--bl-schrift-text);
    cursor: pointer;
  }
  .cb-paar__schalter {
    position: relative;
    flex: none;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #bdb8b0;
    transition: background-color 0.2s;
  }
  .cb-paar__schalter::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bl-weiss);
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.25);
    transition: transform 0.2s;
  }
  .cb-paar[aria-checked="true"] .cb-paar__schalter {
    background: var(--bl-blau);
  }
  .cb-paar[aria-checked="true"] .cb-paar__schalter::after {
    transform: translateX(16px);
  }
  .cb-paar:focus-visible {
    outline: 2px solid var(--bl-blau);
    outline-offset: 2px;
  }
  /* Frage bei vollen Creolen: zwei Knöpfe im Infofeld */
  .cb-info__knoepfe {
    display: flex !important;
    gap: 8px;
    margin-top: 8px;
  }
  .cb-info__knoepfe button {
    flex: 1;
    min-height: 44px;
    padding: 0 10px;
    border: 1.5px solid var(--bl-blau);
    border-radius: 999px;
    background: var(--bl-weiss);
    color: var(--bl-blau);
    font: 600 13px/1.2 var(--bl-schrift-text);
    cursor: pointer;
  }
  .cb-info__knoepfe button[data-voll="box"] {
    background: var(--bl-blau);
    color: var(--bl-weiss);
  }
}

/* ══ Modell 5 (Malik 21.11.2026): ganz einfach, ohne Kategorien, „+“ an der gewählten Kachel wie vorher ══ */
/* Handy, Tablet und PC (seit 21.11.2026 spät auch am PC) */
.cb[data-einfach] .cb-filter {
  display: none !important;
}
.cb[data-einfach] .cb-kasten__angebot {
  white-space: normal;
}
.cb[data-einfach] .cb-kasten__angebot b {
  display: block;
  font-size: 15px;
}
.cb[data-einfach] .cb-kasten__erklaer {
  display: block;
  overflow: hidden;
  color: var(--bl-text-leise, #5f5a55);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* alle 4 Plätze belegt: kein „+“ an den Kacheln */
.cb[data-einfach].is-voll .cb-kachel__mehr {
  display: none !important;
}
@media (max-width: 1023px) {
  .cb[data-modell="4"][data-einfach] .cb-kachel__ecke {
    display: block !important;
  }
  .cb[data-modell="4"][data-einfach] .cb-kachel.is-diese .cb-kachel__name {
    display: block;
  }
  .cb[data-einfach] .cb-kacheln {
    margin-top: var(--bl-abstand-8);
  }
  /* „Mach sie zu deinen.“ über der Zeile Farbe/Größe, nicht darauf */
  .cb[data-modell="4"][data-phase="charms"] .cb-buehne__ruf,
  .cb[data-modell="4"] .cb-buehne__ruf {
    bottom: calc(var(--cb-schnell, 48px) + 16px);
  }
}

/* ══ Modell 5: Reihe „Eben ab“ (Malik 21.11.2026), Handy über der Leiste, PC im Kasten ══ */
.cb[data-einfach] .cb-zuletzt {
  display: flex;
  align-items: center;
  gap: var(--bl-abstand-8);
  padding: 0 0 var(--bl-abstand-8);
}
.cb[data-einfach] .cb-zuletzt[hidden] {
  display: none !important;
}
.cb-zuletzt small {
  color: var(--bl-text-leise, #5f5a55);
  font: 500 12px/1 var(--bl-schrift-text);
  white-space: nowrap;
}
.cb-zuletzt button {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px dashed var(--bl-blau);
  border-radius: 50%;
  background: var(--bl-flaeche, #efede8);
  cursor: pointer;
  touch-action: manipulation;
}
/* Feste Pixelmaße: Prozent-Höhen wurden im Grid ignoriert, schmale Anhänger ragten weit aus dem Kreis.
   24 x 32 px passt ganz in den Innenkreis (Ecke 20 px von der Mitte, Innenradius 20,5 px). */
.cb-zuletzt button img {
  display: block;
  width: 24px;
  height: 32px;
  max-width: none;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
/* kleines „+“: Antippen hängt wieder an */
.cb-zuletzt button::after {
  content: "+";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bl-blau);
  color: var(--bl-weiss);
  font: 600 14px/18px var(--bl-schrift-text);
  text-align: center;
}

/* ══ Vier Punkte unter dem Knopf wie im neuen Warenkorb (Malik 21.11.2026), Handy und PC ══ */
.cb-punkte {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 2px var(--bl-abstand-16);
  margin: var(--bl-abstand-8) 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--bl-text-leise, #5f5a55);
}
.cb-punkte li {
  white-space: nowrap;
}
.cb-punkte span {
  color: var(--bl-bordeaux, #5a1a24);
}
.cb[data-phase="charms"] .cb-angebot .cb-punkte {
  display: grid !important;
}

/* Modell 5 hat keine Schmuckbox, auch am PC nicht (21.11.2026) */
.cb[data-einfach] .cb-box {
  display: none !important;
}

/* ══ Untere Leiste am Handy flacher (Malik 21.11.2026: „so hoch, bitte tiefer bauen“), vorher 206 px ══ */
@media (max-width: 1023px) {
  /* „Eben ab“ schwebt als kleine Pille über der Leiste, statt eine eigene Zeile zu belegen */
  .cb[data-einfach] .cb-balken > .cb-zuletzt {
    position: absolute;
    /* links (Malik 21.11.2026) */
    left: var(--bl-seitenrand);
    bottom: calc(100% + 8px);
    z-index: 3;
    gap: 6px;
    padding: 4px 6px 4px 12px;
    border-radius: 999px;
    background: var(--bl-weiss, #fff);
    box-shadow: 0 2px 12px rgba(22, 22, 22, 0.14);
  }
  .cb[data-einfach] .cb-balken > .cb-zuletzt button {
    width: 36px;
    height: 36px;
  }
  /* Tippfläche bleibt 44 px */
  .cb[data-einfach] .cb-balken > .cb-zuletzt button::before {
    content: "";
    position: absolute;
    inset: -4px;
  }
  /* 20 x 26 px passt ganz in den Innenkreis (Ecke 16,4 px von der Mitte, Innenradius 16,5 px) */
  .cb[data-einfach] .cb-balken > .cb-zuletzt button img {
    width: 20px;
    height: 26px;
  }
  .cb[data-einfach] .cb-balken > .cb-zuletzt button::after {
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
  }
  .cb[data-einfach] .cb-angebot__plaetze > * {
    width: 32px !important;
    height: 32px !important;
  }
  .cb[data-einfach] .cb-angebot__oben {
    height: 32px !important;
  }
  .cb[data-einfach] .cb-angebot [data-warenkorb] {
    height: 44px !important;
    min-height: 44px !important;
  }
  .cb[data-einfach] .cb-angebot .cb-punkte {
    margin-top: 0;
    font-size: 11.5px;
    line-height: 1.25;
  }
}

/* Kein Layout-Sprung beim Laden (Lighthouse 21.11.2026, CLS bis 0,39): Die Liste der Anhänger hat am Handy
   von Anfang an mindestens eine Bildschirmhöhe, damit der Bereich darunter nicht kurz in den Bildschirm rutscht. */
@media (max-width: 1023px) {
  .cb[data-modell="4"] .cb-kacheln {
    min-height: 100svh;
  }
}

/* ══ Hinweis zu den Start-Anhängern (Malik 21.11.2026) ══ */
.cb-tipp {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 var(--bl-abstand-8);
  padding: 7px 12px;
  text-align: center;
  border-radius: 999px;
  background: var(--bl-blau);
  color: var(--bl-weiss, #fff);
  font: 500 13px/1.3 var(--bl-schrift-text);
  text-wrap: balance;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(30, 63, 122, 0.25);
  animation: cb-tipp-ein 0.4s ease-out both;
}
@keyframes cb-tipp-ein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
/* Sanftes Leuchten der Start-Anhänger (23.11.2026: vorher ein animierter drop-shadow-Filter auf dem Bild,
   der in jedem Bild die ganze Bühne neu zeichnen ließ und das Antippen bremste). Jetzt ein weicher
   blauer Schein hinter dem Anhänger, nur die Deckkraft ändert sich: das rechnet der Grafikchip. */
.cb-haenger.is-tipp::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 55%;
  width: 95%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(30 63 122 / 0.55), rgb(30 63 122 / 0));
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  animation: cb-tipp-leuchten 1.8s ease-in-out infinite;
}
@keyframes cb-tipp-leuchten {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-tipp, .cb-haenger.is-tipp::before {
    animation: none;
  }
}

/* ══ Formen-Blatt am PC: nur noch 3 Creolen (Malik 22.11.2026), Kacheln nicht bildschirmbreit ══ */
@media (min-width: 48rem) {
  .cb-blatt .cb-cwahl__liste {
    grid-template-columns: repeat(3, minmax(0, 200px));
  }
}

/* ══ Kacheln nur zeichnen, wenn sie zu sehen sind (Malik 23.11.2026: „hängt, wenn man Anhänger an und ab
   macht“). Die rund 200 Kacheln wurden bei jedem Bild der Anhänger-Animation mit neu geordnet
   (gedrosselt 17 bis 29 ms je Bild). Unsichtbare Kacheln überspringt der Browser jetzt; Platzhalter-
   Höhe 136 px wie eine echte Kachel am Handy, danach merkt er sich die echte Höhe. ══ */
.cb-kacheln > .cb-kachel {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 136px;
}
