/* ============================================================
   Humblebee Atelier — Shopseite (shop.html, seit 09.10.2026)
   Keine Kartenkästen, große quadratische Fotos, nur Name und Preis,
   ein Knopf erst im Produktfenster. Stickrahmen beim Darüberfahren,
   Adventskalender mit Türchen. Ergänzt main.css.
   ============================================================ */

.shop-seite--neu .shop-seite__intro { max-width: 38rem; margin-bottom: var(--abstand-l); }

/* ---------- Muster des Monats ---------- */

.pmonat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: var(--abstand-xl);
  padding: clamp(1rem, 2.5vw, 2rem);
  background: #F4EFE6;
  border-radius: 22px;
  text-decoration: none;
  color: var(--dunkel);
}
.pmonat__bild { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #fff; }
.pmonat__bild img { width: 100%; height: 100%; object-fit: contain; padding: 4%; transition: transform 0.6s ease; }
.pmonat:hover .pmonat__bild img { transform: scale(1.03); }
.pmonat__text { display: grid; gap: 0.6rem; justify-items: start; }
.pmonat__name { font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--salbei); line-height: 1.1; }
.pmonat__p { max-width: 28rem; }
.pmonat__fuss { display: flex; align-items: center; gap: 1.2rem; margin-top: 0.4rem; }
.pmonat__preis { font-size: 1.4rem; font-weight: 500; }
.pmonat__bild { position: relative; }

/* ---------- Adventskalender, oben bis Weihnachten ---------- */

.padvent {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  margin-bottom: var(--abstand-xl); padding: clamp(1rem, 2.5vw, 2rem);
  background: #F4EFE6; border-radius: 22px;
  outline: 1.2px dashed rgba(153, 64, 64, 0.35); outline-offset: -10px;
}
.padvent__bild { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.padvent__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1); }
.padvent__bild:hover img { transform: scale(1.03); }
/* mit Heft-Kasten ist die Textspalte länger: Bild dezent tiefer (Georg 17.10.) */
@media (min-width: 900px) { .padvent:has(.pheft) .padvent__bild { margin-top: 4.5rem; } }
.padvent__text { display: grid; gap: 0.7rem; justify-items: start; }
.padvent__text .section-label { color: var(--rose); margin-bottom: 0; }
.padvent__name { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0; line-height: 1.05; }
.padvent__text p { margin: 0; max-width: 30rem; }
.padvent__tipp {
  position: relative; padding: 0.7rem 1rem 0.7rem 2.6rem; border-radius: 12px; background: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem; color: var(--dunkel);
}
.padvent__tipp::before { content: ''; position: absolute; left: 1rem; top: 1.05rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #C0645A; box-shadow: 0.45rem -0.3rem 0 -0.08rem #C0645A, 0.15rem -0.85rem 0 -0.2rem #7F8F7B; }
.padvent__fuss { display: flex; align-items: baseline; gap: 1.4rem; margin-top: 0.3rem; }
.padvent__fuss .btn { font-family: var(--font-body); }
/* Ideenheft beim Kalender (17.10.2026) */
.pheft { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: center; width: 100%; max-width: 30rem;
  padding: 0.9rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.55); border: 1px dashed rgba(153, 64, 64, 0.35);
  color: inherit; text-decoration: none; transition: background 0.3s; }
.pheft:hover { background: rgba(255, 255, 255, 0.85); }
.pheft__bild { width: 64px; transform: rotate(-4deg); border-radius: 2px; box-shadow: 0 6px 14px rgba(65, 71, 61, 0.18); }
.pheft__text { display: grid; gap: 0.15rem; }
.pheft__label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }
.pheft__titel { font-family: 'Rainy Days', cursive; font-size: 1.45rem; line-height: 1.15; color: var(--dunkel); }
.pheft__p { font-size: 0.9rem; color: var(--mittel); }
.padvent__text p.pheft-extra { margin-top: 0.7rem; font-size: 0.95rem; color: var(--mittel); }
.pheft-extra a { color: var(--dunkel); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(153, 64, 64, 0.5); }
.pheft-extra a:hover { text-decoration-color: currentColor; }

.padvent__tueren { grid-column: 1 / -1; }
.padvent__tueren-titel { font-family: var(--font-head); font-size: 1.6rem; color: var(--salbei); margin: 0 0 0.6rem; }
.ptueren { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.5rem; }
.ptuer { position: relative; aspect-ratio: 1; padding: 0; border: 0; background: #fff; border-radius: 10px; cursor: pointer; perspective: 500px; }
.ptuer__motiv { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.ptuer__klappe {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px;
  background: #EFE8DC;
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 4px 4px;
  box-shadow: inset 0 0 0 1px rgba(100, 108, 95, 0.18);
  transform-origin: left center; transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.8s ease;
  backface-visibility: hidden;
}
.ptuer__klappe::after { content: ''; position: absolute; inset: 5px; border: 1px dashed rgba(153, 64, 64, 0.45); border-radius: 7px; }
.ptuer__klappe span { font-family: var(--font-head); font-size: clamp(1rem, 1.8vw, 1.45rem); color: var(--rose); line-height: 1; }
.ptuer--auf .ptuer__klappe, .ptuer--offen .ptuer__klappe { transform: rotateY(-108deg); box-shadow: inset 0 0 0 1px rgba(100, 108, 95, 0.18), 6px 0 10px -6px rgba(65, 50, 30, 0.4); }
.ptuer--offen { outline: 1.5px solid var(--rose); outline-offset: 2px; }
.ptuer:focus-visible { outline: 2px solid var(--salbei); outline-offset: 2px; }
.padvent__spatz { margin: 0.9rem 0 0; font-size: 0.95rem; }

@media (max-width: 899px) {
  .padvent { grid-template-columns: 1fr; }
  .ptueren { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .ptuer__klappe { transition: none; }
}

/* ---------- Filter ---------- */

.pfilter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--abstand-l); }
.pfilter .chip { font-family: var(--font-body); display: inline-flex; align-items: center; gap: 0.45rem; }
.chip__aus { font-size: 1.05em; line-height: 1; opacity: 0.8; }
.pfilter__trenner { width: 1px; align-self: stretch; margin: 0.2rem 0.4rem; background: rgba(100, 108, 95, 0.3); }

.punikat { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.punikat__bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.punikat__bilder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
/* versetzte Fotos weg (Georg, 16.10.2026): alle vier in einem geraden Raster */
.punikat__lead { font-family: var(--font-head); font-size: 1.6rem; color: var(--mittel); margin-bottom: 0.6rem; }
.punikat__preise { display: grid; gap: 0.1rem; margin: 1.2rem 0; }
.punikat__preise div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed rgba(100, 108, 95, 0.35); }
.punikat__preise dd { white-space: nowrap; font-weight: 500; }
.punikat__klein { font-size: 0.88rem; color: var(--mittel); }
.punikat__knoepfe { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; }
.punikat__knoepfe .btn { font-family: var(--font-body); }
.punikat__mehr { font-size: 0.95rem; }

.punikat-kachel {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%; margin-top: var(--abstand-xl); padding: clamp(0.8rem, 2vw, 1.4rem); text-align: left;
  font: inherit; color: var(--dunkel); background: #F4EFE6; border: 0; border-radius: 22px; cursor: pointer;
}
.punikat-kachel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.punikat-kachel__text { display: grid; gap: 0.4rem; }
.punikat-kachel__name { font-family: var(--font-head); font-size: clamp(1.9rem, 3.8vw, 2.8rem); color: var(--salbei); line-height: 1.15; }
.punikat-kachel__p { color: var(--mittel); max-width: 28rem; }

/* ---------- Kacheln ---------- */

.praster {
  max-width: 1040px; margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.8rem) clamp(1rem, 2.5vw, 2.2rem);
}
.praster--klein { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.praster--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; }

.pkachel { display: grid; align-content: start; gap: 0.25rem; text-decoration: none; color: var(--dunkel); }
/* Bild wie in einem Passepartout: beim Darüberfahren rückt das Foto nach innen,
   rundherum bleibt Leinen stehen, und eine gestickte Naht legt sich als Rahmen um */
.pkachel__bild {
  position: relative; display: block; aspect-ratio: 1; margin-bottom: 0.75rem;
  border-radius: 14px; background: #EFE8DC;
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 4px 4px;
}
.pkachel__bild img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 14px;
  clip-path: inset(0 round 14px);
  transition: clip-path 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
/* ---------- Beim Darüberfahren: ganz dezent ----------
   Seit 09.10. ohne Stickrahmen (Georg: sonst zu viel). Das Foto wird kaum merklich größer,
   die Kachel bekommt einen weichen Schatten. Langsam, damit es ruhig bleibt. */

.pkachel__bild { overflow: hidden; transition: box-shadow 0.9s ease, transform 0.9s ease; }
.pkachel__bild img { transition: clip-path 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.6s ease; }
.pkachel:hover .pkachel__bild, .pkachel:focus-visible .pkachel__bild { transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(65, 71, 61, 0.55); }
.pkachel:hover .pkachel__bild img, .pkachel:focus-visible .pkachel__bild img { transform: scale(1.025); }

/* Einblenden beim Scrollen: das Foto schiebt sich einmal von oben in den Rahmen */
.pkachel--warte .pkachel__bild img, .pkachel--warte .pmonat__bild img { clip-path: inset(18% 0 0 0 round 14px); transform: scale(1.06); opacity: 0; }
.pkachel--warte.pkachel--da .pkachel__bild img, .pkachel--warte.pkachel--da .pmonat__bild img { clip-path: inset(0 round 14px); transform: none; opacity: 1; transition: clip-path 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1.4s ease, opacity 0.6s ease; }
.pkachel--warte.pkachel--da:hover .pkachel__bild img { transform: scale(1.025); transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1); }
.pkachel__marke, .pkachel__video {
  position: absolute; left: 0.8rem; top: 0.8rem; z-index: 1;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.88); color: var(--dunkel);
}
.pkachel__video {
  top: auto; bottom: 0.8rem; left: auto; right: 0.8rem;
  display: inline-flex; align-items: center; gap: 0.25rem;
  letter-spacing: 0.06em; text-transform: none; font-size: 0.78rem;
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.pkachel__video svg { width: 1rem; height: 1rem; }
.pkachel:hover .pkachel__video, .pkachel:focus-visible .pkachel__video { opacity: 1; transform: none; }
.pkachel__name { font-size: 1.12rem; line-height: 1.3; }
.pkachel__zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; }
.pkachel__zusatz { font-size: 0.92rem; color: var(--mittel); }
.pkachel__preis { margin-left: auto; color: var(--mittel); white-space: nowrap; font-size: 0.9rem; }
.pkachel__preis strong { font-weight: 500; font-size: 1.12rem; color: var(--dunkel); letter-spacing: 0.01em; }
/* Ideenheft: Name und Preis mittig unter dem Bild (Georg 17.10.) */
.pkachel--mittig .pkachel__zeile { flex-direction: column; align-items: center; gap: 0.1rem; text-align: center; }
.pkachel--mittig .pkachel__preis { margin-left: 0; }
.pkachel--mittig .pkachel__zeile { display: contents; }
.pkachel--mittig .pkachel__name, .pkachel--mittig .pkachel__preis, .pkachel--mittig .pkachel__zusatz { justify-self: center; text-align: center; margin-left: 0; }
.pkachel--mittig .pkachel__name { order: 1; } .pkachel--mittig .pkachel__zusatz { order: 2; margin-top: -0.2rem; } .pkachel--mittig .pkachel__preis { order: 3; }
.pfenster__hinweis { font-size: 0.92rem; color: var(--mittel); padding: 0.7rem 0.9rem; border-left: 2px solid rgba(153, 64, 64, 0.35); background: rgba(255, 255, 255, 0.5); border-radius: 0 10px 10px 0; }

.pleer { padding: var(--abstand-l); background: #F4EFE6; border-radius: 18px; max-width: 40rem; }

.pgratis { margin-top: var(--abstand-xl); padding-top: var(--abstand-l); border-top: 1px dashed rgba(100, 108, 95, 0.35); }
.pgratis__kopf { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-bottom: var(--abstand-m); }
.pgratis__kopf h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0; }
.pgratis__kopf p { margin: 0; color: var(--mittel); }

.pdemo { margin-top: var(--abstand-xl); font-size: 0.85rem; color: var(--mittel); border-top: 1px dashed rgba(100, 108, 95, 0.35); padding-top: var(--abstand-s); }

/* ---------- Produktfenster ---------- */

.shop-fenster { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.5rem; background: rgba(65, 71, 61, 0.45); overflow-y: auto; }
.shop-fenster[hidden] { display: none; }
.shop-fenster__box { position: relative; width: min(100%, 60rem); background: var(--creme); border-radius: 22px; box-shadow: var(--schatten); animation: pfenster-rein 0.35s ease; }
@keyframes pfenster-rein { from { opacity: 0; transform: translateY(14px); } }
.shop-fenster .modal__schliessen { position: absolute; top: 0.8rem; right: 1rem; z-index: 2; }
.shop-fenster__inhalt { display: grid; grid-template-columns: 1fr 1fr; }
.pfenster__bild { aspect-ratio: 4 / 5; border-radius: 22px 0 0 22px; overflow: hidden; background: var(--hell); }
.pfenster__bild img { width: 100%; height: 100%; object-fit: cover; }
.pfenster__text { padding: clamp(1.5rem, 3vw, 2.6rem); display: grid; align-content: center; gap: 0.6rem; }
.pfenster__text h2 { margin-bottom: 0.4rem; }
.pfenster__preis { font-size: 1.4rem; margin: 0; }
.pfenster__klein { font-size: 0.85rem; color: var(--mittel); margin: 0; }
.pfenster__inhalt { font-size: 1rem; line-height: 1.55; margin: 0 0 0.4rem; }
.pkauf { width: 100%; text-align: center; font-family: var(--font-body); margin: 0.4rem 0; }

.pwahl { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.pwahl__legende { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mittel); margin-bottom: 0.3rem; }
.pwahl__option {
  position: relative; display: grid; gap: 0.25rem; cursor: pointer;
  padding: 0.9rem 1rem 0.9rem 2.8rem; border-radius: 14px;
  background: #fff; border: 1.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pwahl__option input { position: absolute; left: 1rem; top: 1.15rem; accent-color: var(--salbei); width: 1.05rem; height: 1.05rem; }
.pwahl__option:has(input:checked) { border-color: var(--salbei); box-shadow: 0 10px 24px -18px rgba(65, 71, 61, 0.6); outline: 1.2px dashed rgba(121, 124, 97, 0.55); outline-offset: -7px; }
.pwahl__kopf { display: flex; align-items: center; gap: 0.6rem; }
.pwahl__kopf strong { font-weight: 600; }
.pwahl__marke { font-size: 0.72rem; padding: 0.05rem 0.55rem; border-radius: 999px; background: #EEF4EC; color: #556154; }
.pwahl__marke--ohne { background: #F3EFE8; color: #7A6F62; }
.pwahl__preis { margin-left: auto; font-size: 1.35rem; font-weight: 500; color: var(--dunkel); letter-spacing: 0.01em; }
.pwahl__option:has(input:checked) .pwahl__preis { color: var(--salbei); }
.pwahl__icon { width: 1.7rem; height: 1.7rem; flex: none; color: var(--salbei); }
.pwahl__text { font-size: 0.88rem; color: var(--mittel); line-height: 1.45; }
body.shop-fenster-offen { overflow: hidden; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 899px) {
  .pmonat, .punikat, .punikat-kachel { grid-template-columns: 1fr; }
  /* Filter als eine Zeile zum Wischen, bis an den Bildschirmrand */
  .pfilter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.5rem; padding: 0.2rem 1.5rem; scroll-padding-inline: 1.5rem; }
  .pfilter::-webkit-scrollbar { display: none; }
  .pfilter .chip { flex: none; }
  .praster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .praster--klein { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-fenster { padding: 0.8rem; place-items: start center; }
  .shop-fenster__inhalt { grid-template-columns: 1fr; }
  .pfenster__bild { aspect-ratio: 4 / 3; border-radius: 22px 22px 0 0; }
  .pkachel__video { opacity: 1; transform: none; padding: 0.3rem; right: 0.5rem; bottom: 0.5rem; }
  .pkachel__video-text { display: none; }
}
@media (max-width: 520px) {
  .pwahl__marke { display: none; }
  .pwahl__kopf strong { white-space: nowrap; }
  .pwahl__option { padding-left: 2.6rem; }
  .pkachel__name { font-size: 1rem; }
  .pkachel__zeile { flex-direction: column; gap: 0; }
  .pkachel__preis { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pkachel__bild, .pkachel__bild img { transition: none; }
  .pkachel:hover .pkachel__bild, .pkachel:hover .pkachel__bild img { transform: none; }
}

}

/* alter Preis, wenn im Companion ein Rabatt mit preis_alt steht */
.pkachel__alt { color: var(--mittel); font-size: 0.85em; margin-right: 0.2rem; }
/* Material und Herstellerin bei physischen Stücken */
.pfenster__daten { display: grid; gap: 0.3rem; margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--mittel); }
.pfenster__daten div { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; }
.pfenster__daten dt { font-weight: 600; }
/* Gewährleistungshinweis: unten auf der Seite statt vor den Produkten */
.shop-seite--neu .gewaehrleistung { margin-top: var(--abstand-xl); max-width: 30rem; opacity: 0.9; }

/* Vorschau-Schalter ?fassungen=zeigen */
.pvorschau { margin: 0 0 var(--abstand-m); padding: 0.7rem 1rem; border: 1px dashed #B8923C; border-radius: 12px; background: #F6EBC8; color: #6F5718; font-size: 0.9rem; }
.pkauf:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Alinas Zeichnungen, Strich für Strich ---------- */

.pkachel__zeichnung, .zweig-zeichnung { display: block; pointer-events: none; color: var(--dunkel); }
.pkachel__zeichnung { position: absolute; inset: 9%; display: grid; place-items: center; z-index: 1; transition: opacity 0.9s ease; }
.pkachel__zeichnung svg, .zweig-zeichnung svg { width: 100%; height: 100%; overflow: visible; }
/* hohe Vorlagen (Gans, Kuvert) passen sich ins Quadrat ein statt herauszuragen */
.pkachel__zeichnung svg { position: absolute; inset: 0; }
/* Linien bleiben unsichtbar, bis shop.js ihre Länge gemessen hat und sie nachzeichnet */
.pkachel__zeichnung:not(.zeichnet-js):not(.still) path, .zweig-zeichnung:not(.zeichnet-js):not(.still) path { opacity: 0; }

/* Kacheln mit Zeichnung: erst Leinen und Linien, dann das Foto */
.pkachel--mit-zeichnung.pkachel--warte .pkachel__bild img { clip-path: inset(0 round 14px); transform: none; opacity: 0; transition: opacity 1.4s ease 0.1s; }
.pkachel--mit-zeichnung.pkachel--gezeichnet .pkachel__bild img { opacity: 1; }
.pkachel--mit-zeichnung.pkachel--gezeichnet .pkachel__zeichnung { opacity: 0; }
.pkachel--mit-zeichnung:not(.pkachel--warte) .pkachel__zeichnung { display: none; }

/* Zweig aus dem Logo: beim Titel und an der Advents-Kachel */
.shop-titel { display: flex; align-items: flex-end; gap: clamp(0.5rem, 2vw, 1.5rem); }
.zweig-zeichnung--titel { width: clamp(110px, 16vw, 210px); aspect-ratio: 900 / 543; color: var(--salbei); margin-bottom: 0.4rem; --zeit: 2.6s; }
.padvent { position: relative; }
.zweig-zeichnung--advent { position: absolute; right: -0.6rem; top: -1.6rem; width: clamp(120px, 14vw, 190px); aspect-ratio: 900 / 543; color: #9A4A42; transform: rotate(-8deg); --zeit: 2.4s; }
@media (max-width: 899px) { .zweig-zeichnung--advent { top: -1.2rem; right: -0.3rem; width: 120px; } }


/* große Bilder mit Zeichnung: Adventskalender und Muster des Monats */
.padvent__bild, .pmonat__bild { position: relative; }
.padvent__bild.mit-zeichnung, .pmonat__bild.mit-zeichnung { background: #EFE8DC; background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px); background-size: 4px 4px; }
.mit-zeichnung > img { opacity: 0; transition: opacity 1.4s ease 0.1s; }
.mit-zeichnung.gezeichnet > img { opacity: 1; }
.gezeichnet > .pkachel__zeichnung { opacity: 0; }
.pkachel__zeichnung--gross { inset: 7%; color: #6E3B37; }
.pmonat.pkachel--warte .pmonat__bild.mit-zeichnung > img { opacity: 0; clip-path: none; transform: none; }
.pmonat.pkachel--warte .pmonat__bild.mit-zeichnung.gezeichnet > img { opacity: 1; }

/* Produktsicherheit (GPSR), aufklappbar bei jedem Produkt (13.10.2026) */
.psicherheit { margin-top: 1.2rem; border-top: 1px solid var(--hell); padding-top: 0.7rem; font-size: 0.85rem; color: var(--mittel); }
.psicherheit summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.4rem; color: var(--dunkel); }
.psicherheit summary::-webkit-details-marker { display: none; }
.psicherheit summary::after { content: '+'; margin-left: auto; font-size: 1.1rem; line-height: 1; }
.psicherheit[open] summary::after { content: '–'; }
.psicherheit dl { margin: 0.6rem 0 0.4rem; }
.psicherheit dl div { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; }
.psicherheit dt { font-weight: 600; }
.psicherheit dd { margin: 0; }
.psicherheit p { margin: 0; }

/* 15.10.: Fassungswahl in einer Zeile (Georg). Bild etwas schmaler, Titel und Marke brechen nicht
   in sich um; reicht der Platz trotzdem nicht, rutscht höchstens der Preis in die nächste Zeile. */
@media (min-width: 900px) {
  .shop-fenster__inhalt { grid-template-columns: 0.82fr 1.18fr; }
  .pwahl__kopf { flex-wrap: wrap; row-gap: 0.2rem; }
  .pwahl__kopf strong, .pwahl__marke { white-space: nowrap; }
  /* Bild senkrecht mittig neben dem Text, mit etwas Rand statt bündig an der Ecke */
  .pfenster__bild { align-self: center; margin-left: clamp(1rem, 2vw, 1.8rem); border-radius: 18px; }
}

/* Verschenken (Entwurf 16.10.2026, sichtbar mit ?vorschau=geschenk): Abschnitt unter dem Kalender,
   zweiter Knopf beim Kalender, Link „Buy as a gift“ in jedem Produktfenster */
.pgeschenk { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center; margin: clamp(3rem, 7vw, 5.5rem) 0; padding: clamp(1.8rem, 4vw, 3.2rem); background: var(--weiss);
  border-radius: calc(var(--radius) * 1.4); box-shadow: var(--schatten); overflow: hidden; }
.pgeschenk::before { content: ''; position: absolute; inset: 10px; border: 1px dashed rgba(121, 124, 97, 0.35); border-radius: var(--radius); pointer-events: none; }
.pgeschenk__bild { position: relative; display: grid; place-items: center; padding: 1.2rem 0; }
.pgeschenk__karte { display: block; position: relative; width: min(78%, 320px); aspect-ratio: 900 / 1275; transform: rotate(-4deg); border-radius: 6px;
  overflow: hidden; background: #FAF7F2; box-shadow: 0 18px 40px rgba(65, 71, 61, 0.22), 0 2px 6px rgba(65, 71, 61, 0.12); }
.pgeschenk__karte > img { display: block; width: 100%; height: 100%; }
.pgeschenk__zeichnung { inset: 0; color: var(--salbei); --zeit: 2.8s; }
.pgeschenk__text h2 { font-family: 'Rainy Days', cursive; font-weight: 400; color: var(--salbei); font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 0.2rem 0 0.8rem; }
.pgeschenk__text > p { margin: 0 0 1.2rem; max-width: 34rem; }
.pgeschenk__schritte { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.75rem; counter-reset: s; }
.pgeschenk__schritte li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: 0.8rem; align-items: start; }
.pgeschenk__schritte li::before { content: counter(s); width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--salbei);
  color: var(--salbei); display: grid; place-items: center; font-family: var(--font-head); font-size: 0.95rem; }
.pgeschenk__schritte strong { display: block; font-weight: 400; font-family: var(--font-head); color: var(--dunkel); }
.pgeschenk__schritte span { font-size: 0.92rem; color: var(--mittel); }
.pgeschenk__heft { font-size: 0.9rem; color: var(--mittel); margin: 1rem 0 0 !important; }
/* Einmal-Link (Georg 17.10.) */
.pgeschenk__einmal { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--mittel); margin: -0.4rem 0 1.4rem !important; max-width: 34rem; }
.pgeschenk__einmal svg { flex: none; width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; color: var(--salbei); }
@media (max-width: 800px) { .pgeschenk { grid-template-columns: 1fr; } .pgeschenk__karte { width: min(70%, 260px); } }
.geschenk-neu .padvent__fuss { flex-wrap: wrap; gap: 0.7rem 0.9rem; }
.geschenk-neu .padvent__fuss .btn { white-space: nowrap; }
.pkauf-geschenk { display: flex; align-items: center; justify-content: center; gap: 0.55rem; width: 100%; margin: 0.8rem 0 0;
  background: none; border: 0; padding: 0; font: inherit; font-size: 0.95rem; color: var(--salbei); text-decoration: underline;
  text-underline-offset: 4px; cursor: pointer; }
.pkauf-geschenk img { width: 20px; transform: rotate(-6deg); box-shadow: 0 2px 5px rgba(65, 71, 61, 0.2); border-radius: 2px; }

/* Filter immer in einer Zeile (Georg 16.10.): bei mittlerer Fensterbreite schlanker, notfalls zum Wischen */
@media (min-width: 900px) {
  .pfilter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 0.2rem; }
  .pfilter::-webkit-scrollbar { display: none; }
  .pfilter .chip { flex: none; }
}
@media (min-width: 900px) and (max-width: 1239px) {
  .pfilter { gap: 0.4rem; }
  .pfilter .chip { padding: 0.45rem 0.85rem; font-size: 0.9rem; }
  .pfilter__trenner { margin-inline: 0.2rem; }
}
.pgeschenk__knoepfe { display: flex; flex-wrap: wrap; gap: 0.7rem 0.9rem; }
.pgeschenk__knoepfe .btn { white-space: nowrap; }
/* Trennlinien zwischen den Filtergruppen nicht zusammendrücken (16.10.2026) */
.pfilter__trenner { flex: none; min-height: 1.6rem; }
