/* public/css/tpl-beauty.css: Designvorlage „Beauty“ (seit 23.11.2026, Version 1.5.0), lädt nur bei shop.template = beauty.
   Luxuriös für Kosmetik, Pflege und Duft: Elfenbein, Rosé und Perlmutt, Satinlicht im Startbereich, Startvideo in voller Breite
   mit Perlmuttkarte, Produkte auf Pastellpodest mit Glanzlicht und zweiter Ansicht oder Produktvideo beim Überfahren,
   Kategorien als Bogenkacheln, Farbtöne als Farbfelder, Glossar-Tooltips und Duftpyramide (tpl-beauty.js).
   Schriften lokal: Cormorant (Überschriften, Marke) und Jost (Text). Primärfarbe = Tinte (Text, Knöpfe),
   Akzentfarbe = Roséton (Hover, Glanz, Hinweise). Bewegung nur ohne prefers-reduced-motion; ohne JavaScript bleibt alles vollständig. */

@font-face { font-family: "Beauty Serif"; src: url(../fonts/cormorant-300-700-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Beauty Serif"; src: url(../fonts/cormorant-300-700-latin-ext.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Beauty Sans"; src: url(../fonts/jost-var-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Beauty Sans"; src: url(../fonts/jost-var-latinext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.tpl-beauty {
  --font: "Beauty Sans", "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Beauty Serif", "Cormorant", "Cormorant Garamond", Georgia, serif;
  --c-bg: #fbf7f3;
  --c-surface: #f5ebe5;
  --c-border: #eadbd2;
  --c-text: var(--c-primary);
  --c-muted: #76625d;
  --b-ink: var(--c-primary);
  --b-ivory: #fbf7f3;
  --b-blush: #f3e3dc;
  --b-rose: var(--c-accent);
  --b-gold: #c4a07a;
  --b-line: rgba(43, 28, 32, 0.12);
  --b-pearl: linear-gradient(135deg, #fffaf7 0%, #f7ebe5 46%, #efe0d8 100%);
  --b-podium: radial-gradient(120% 80% at 50% 100%, #ead6cc 0%, #f3e5de 42%, #f9f1ec 100%);
  --radius: 22px;
  --radius-sm: 999px;
  --shadow: 0 22px 46px -30px rgba(74, 40, 36, 0.38);
  --b-ease: cubic-bezier(0.22, 0.7, 0.12, 1);
  background: var(--c-bg);
  color: var(--c-text);
  font-weight: 380;
  letter-spacing: 0.005em;
}
html:has(body.tpl-beauty) { overflow-x: clip; background: var(--c-bg); }
.tpl-beauty ::selection { background: var(--b-blush); color: var(--b-ink); }

/* ---------- Schrift ---------- */
.tpl-beauty h1, .tpl-beauty h2, .tpl-beauty h3, .tpl-beauty .hero-title, .tpl-beauty .page-header h1 {
  font-family: var(--font-head); font-weight: 500; letter-spacing: -0.012em; line-height: 1.02; color: var(--b-ink);
}
.tpl-beauty h1, .tpl-beauty .page-header h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 400; }
.tpl-beauty h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 400; }
.tpl-beauty h3 { font-size: 1.35rem; }
.tpl-beauty .h4, .tpl-beauty h2.h4 { font-family: var(--font); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.4; color: var(--c-muted); }
.tpl-beauty .lead, .tpl-beauty .product-subtitle { font-family: var(--font); font-weight: 350; color: var(--c-muted); }
.tpl-beauty .prose p, .tpl-beauty .prose li { line-height: 1.75; }
.tpl-beauty a { text-decoration-color: rgba(43, 28, 32, 0.35); text-underline-offset: 4px; }
.tpl-beauty a:hover { text-decoration-color: currentColor; }

/* ---------- Kopf, Ankündigung, Menü ---------- */
.tpl-beauty .announcement { background: var(--b-blush); color: var(--b-ink); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; padding-top: 10px; padding-bottom: 10px; }
.tpl-beauty .site-header { background: rgba(251, 247, 243, 0.86); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--b-line); }
.tpl-beauty .brand-name { font-family: var(--font-head); font-weight: 500; font-size: 1.7rem; letter-spacing: 0.04em; color: var(--b-ink); }
.tpl-beauty .site-nav a, .tpl-beauty .nav-sub-toggle { font-size: 0.74rem; font-weight: 450; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 999px; }
.tpl-beauty .site-nav a:hover, .tpl-beauty .site-nav a[aria-current="page"], .tpl-beauty .nav-sub-toggle:hover, .tpl-beauty .nav-sub-toggle[aria-expanded="true"] { background: var(--b-blush); color: var(--b-ink); }
@media (min-width: 960px) { .tpl-beauty .site-nav ul { flex-wrap: nowrap; } }
.tpl-beauty .nav-sub { background: rgba(255, 251, 248, 0.96); border: 1px solid var(--c-border); border-radius: 18px; box-shadow: 0 28px 56px -30px rgba(74, 40, 36, 0.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tpl-beauty .site-nav .nav-sub a { font-size: 0.95rem; letter-spacing: 0.02em; text-transform: none; font-weight: 400; }
.tpl-beauty .site-nav .nav-sub-all a { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.tpl-beauty .icon-btn { border-radius: 999px; color: var(--b-ink); }
.tpl-beauty .icon-btn:hover { background: var(--b-blush); color: var(--b-ink); }
.tpl-beauty .icon { stroke-width: 1.4; }
.tpl-beauty .cart-count { background: var(--b-rose); color: #fff; }
.tpl-beauty .site-search .input { border-radius: 999px; background: #fffaf7; }

/* ---------- Formularteile und Knöpfe ---------- */
.tpl-beauty .btn { border-radius: 999px; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; font-weight: 500; min-height: 50px; padding-left: 30px; padding-right: 30px; transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.tpl-beauty .btn-primary { background: var(--b-ink); border-color: var(--b-ink); color: var(--b-ivory); box-shadow: 0 14px 28px -18px rgba(43, 28, 32, 0.7); }
.tpl-beauty .btn-primary:hover { background: var(--b-rose); border-color: var(--b-rose); color: #fff; }
.tpl-beauty .btn-secondary { background: transparent; border-color: var(--b-ink); color: var(--b-ink); }
.tpl-beauty .btn-secondary:hover { background: var(--b-ink); color: var(--b-ivory); }
.tpl-beauty .input, .tpl-beauty .select, .tpl-beauty .textarea { border-radius: 14px; border-color: #dccbc1; background: #fffcfa; }
.tpl-beauty .chip label { border-radius: 999px; border-color: #dccbc1; background: #fffcfa; min-width: 52px; justify-content: center; gap: 8px; font-size: 0.86rem; font-weight: 450; letter-spacing: 0.02em; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.tpl-beauty .chip input:checked + label { background: var(--b-ink); border-color: var(--b-ink); color: var(--b-ivory); }
.tpl-beauty .chip label:hover { border-color: var(--b-ink); }
.tpl-beauty .badge { border-radius: 999px; letter-spacing: 0.08em; font-size: 0.68rem; font-weight: 500; }
.tpl-beauty .subcategory-chip { border-radius: 999px; border-color: var(--c-border); background: #fffaf7; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 450; }
.tpl-beauty .subcategory-chip:hover { background: var(--b-blush); border-color: var(--b-blush); color: var(--b-ink); }
.tpl-beauty .breadcrumb { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; }
.tpl-beauty .card { border-color: var(--c-border); border-radius: var(--radius); }
.tpl-beauty .section-link { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--b-ink); text-underline-offset: 7px; }

/* Farbfelder für Farbtöne (tpl-beauty.js setzt die Farbe per CSSOM, ohne JS bleibt der Text) */
.tpl-beauty .b-swatch { width: 18px; height: 18px; flex: none; border-radius: 50%; background: #d9c0b4; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 -4px 6px rgba(0, 0, 0, 0.12), inset 0 3px 5px rgba(255, 255, 255, 0.35); }
.tpl-beauty .chip input:checked + label .b-swatch { box-shadow: 0 0 0 2px var(--b-ivory), 0 0 0 3px rgba(255, 255, 255, 0.6), inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.tpl-beauty .chip.is-soldout .b-swatch, .tpl-beauty .chip.is-unavailable .b-swatch { opacity: 0.45; }

/* ---------- Startbereich: Satinlicht, Video oder Bild in voller Breite, Perlmuttkarte ---------- */
.tpl-beauty .hero { position: relative; overflow: hidden; background: var(--b-pearl); border-radius: 32px; padding: clamp(40px, 7vw, 96px) var(--s-5); text-align: left; }
.tpl-beauty .hero-inner { position: relative; z-index: 2; margin: 0; max-width: 640px; }
.tpl-beauty .hero-title { font-size: clamp(2.8rem, 7.4vw, 6.2rem); font-weight: 400; line-height: 0.95; margin-bottom: var(--s-4); }
.tpl-beauty .hero-text { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.65; color: var(--c-muted); max-width: 32em; }
.tpl-beauty .hero::before {
  content: ""; position: absolute; inset: -20% -40%; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-60%); opacity: 0;
}
.tpl-beauty .hero.b-satin::before { animation: b-satin 3.6s var(--b-ease) 0.4s 1 forwards; }
@keyframes b-satin { 0% { transform: translateX(-60%); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateX(60%); opacity: 0; } }
.tpl-beauty .hero.has-media {
  display: grid; align-items: center; min-height: min(80vh, 820px);
  width: 100vw; margin: calc(-1 * var(--s-5)) calc(50% - 50vw) var(--s-7);
  padding: 0; border-radius: 0; background: #e9d9d0;
}
.tpl-beauty .live-region:has(*) + .hero.has-media { margin-top: 0; }
.tpl-beauty .hero.has-media .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.tpl-beauty .hero.has-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(251, 247, 243, 0.5) 0%, rgba(251, 247, 243, 0) 48%), linear-gradient(0deg, rgba(43, 28, 32, 0.18) 0%, rgba(43, 28, 32, 0) 40%); }
.tpl-beauty .hero.has-media .hero-inner {
  margin: clamp(32px, 6vh, 64px) 0 clamp(32px, 6vh, 64px) max(16px, calc((100vw - var(--max-w)) / 2 + 16px));
  max-width: min(560px, calc(100vw - 32px)); padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 250, 247, 0.72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(74, 40, 36, 0.55);
}
.tpl-beauty .hero.has-media .hero-title { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
.tpl-beauty .hero .hero-video-toggle { right: max(16px, calc((100vw - var(--max-w)) / 2 + 16px)); bottom: clamp(40px, 8vh, 88px); border-radius: 999px; background: rgba(255, 250, 247, 0.7); color: var(--b-ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tpl-beauty .hero .hero-video-toggle:hover { background: #fff; }
/* Titel und Text blenden ein (tpl-beauty.js setzt .is-in, ohne JS sofort sichtbar) */
.tpl-beauty .b-reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1s var(--b-ease), transform 1s var(--b-ease), filter 1s var(--b-ease); }
.tpl-beauty .b-reveal.is-in { opacity: 1; transform: none; filter: none; }
@media (max-width: 640px) {
  .tpl-beauty .hero { border-radius: 24px; }
  .tpl-beauty .hero.has-media { min-height: 82vh; margin-top: calc(-1 * var(--s-4)); border-radius: 0; align-items: end; }
  .tpl-beauty .hero.has-media .hero-media { object-position: 66% center; }
  .tpl-beauty .hero.has-media .hero-inner { margin-left: 16px; margin-bottom: 76px; padding: 24px; }
  .tpl-beauty .hero.has-media .hero-title, .tpl-beauty .hero-title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .tpl-beauty .brand-name { font-size: 1.4rem; }
  .tpl-beauty .header-actions { gap: 0; }
  .tpl-beauty .header-actions .icon-btn, .tpl-beauty .nav-toggle { width: 38px; }
}

/* ---------- Abschnitte der Startseite ---------- */
.tpl-beauty .home-section { margin-bottom: clamp(56px, 9vw, 120px); }
.tpl-beauty .section-head { align-items: end; margin-bottom: var(--s-6); }
.tpl-beauty .section-head h2, .tpl-beauty #categories-heading { margin: 0; }
.tpl-beauty #categories-heading { margin-bottom: var(--s-6); text-align: center; }
.tpl-beauty .catalog-footnote { font-size: 0.8rem; margin-top: var(--s-5); }

/* ---------- Produktkarten: Pastellpodest, Glanzlicht beim Überfahren ---------- */
.tpl-beauty .product-grid { gap: var(--s-7) var(--s-5); }
.tpl-beauty .product-card { background: transparent; border: 0; border-radius: 0; overflow: visible; text-align: center; }
.tpl-beauty .product-card:hover, .tpl-beauty .product-card:focus-within { box-shadow: none; }
.tpl-beauty .product-card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 26px; background: var(--b-podium); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; transition: transform 0.7s var(--b-ease), box-shadow 0.7s var(--b-ease); }
.tpl-beauty .product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--b-ease); }
.tpl-beauty .product-card-media::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 65%); transform: translateX(-120%); }
.tpl-beauty .product-card:hover .product-card-media { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(74, 40, 36, 0.55); }
.tpl-beauty .product-card:hover .product-card-media::after { transform: translateX(120%); transition: transform 1.1s var(--b-ease); }
.tpl-beauty .product-card:hover .product-card-media > img:first-child { transform: scale(1.04); }
.tpl-beauty .b-card-alt, .tpl-beauty .b-card-video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--b-ease); pointer-events: none; }
.tpl-beauty .product-card-media.is-alt .b-card-alt, .tpl-beauty .product-card-media.is-video .b-card-video { opacity: 1; }
.tpl-beauty .b-card-flag { position: absolute; left: 12px; top: 12px; z-index: 4; padding: 5px 10px; border-radius: 999px; background: rgba(255, 250, 247, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--b-ink); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.tpl-beauty .product-card-body { padding: var(--s-4) var(--s-2) 0; gap: 4px; align-items: center; }
.tpl-beauty .product-card-title { font-family: var(--font-head); font-size: 1.32rem; font-weight: 500; line-height: 1.15; letter-spacing: 0; }
.tpl-beauty .product-card-subtitle { font-size: 0.86rem; color: var(--c-muted); }
.tpl-beauty .product-card .price { font-size: 0.95rem; justify-content: center; }
.tpl-beauty .product-card .price-current { font-weight: 450; letter-spacing: 0.02em; }
.tpl-beauty .product-card-availability { padding-top: 6px; justify-content: center; }
.tpl-beauty .product-card-availability .badge { background: none; border: 0; padding: 0; color: var(--c-muted); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; }
@media (min-width: 960px) { .tpl-beauty .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Kategorien als Bogenkacheln ---------- */
.tpl-beauty .category-grid { gap: var(--s-5) var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpl-beauty .category-card { position: relative; min-height: 0; padding: var(--s-5) var(--s-4); border: 1px solid var(--c-border); border-radius: 999px 999px 26px 26px; background: var(--b-pearl); overflow: hidden; justify-content: flex-end; align-items: center; text-align: center; aspect-ratio: 3 / 4; transition: transform 0.7s var(--b-ease), box-shadow 0.7s var(--b-ease); }
.tpl-beauty .category-card:hover, .tpl-beauty .category-card:focus-visible { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(74, 40, 36, 0.55); color: inherit; }
.tpl-beauty .category-card.has-media { border: 0; color: #fff; background: #d9c3b8; }
.tpl-beauty .category-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 1.4s var(--b-ease); }
.tpl-beauty .category-card.has-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(43, 28, 32, 0.62) 0%, rgba(43, 28, 32, 0.08) 48%, rgba(43, 28, 32, 0) 70%); pointer-events: none; }
.tpl-beauty .category-card.has-media:hover .category-media { transform: scale(1.05); }
.tpl-beauty .category-name { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; color: inherit; }
.tpl-beauty .category-desc { position: relative; z-index: 1; font-size: 0.82rem; letter-spacing: 0.04em; color: inherit; opacity: 0.9; }
@media (min-width: 960px) { .tpl-beauty .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Katalog ---------- */
.tpl-beauty .catalog-filters { border-radius: var(--radius); }
.tpl-beauty .catalog-filters fieldset { border-color: var(--b-line); }
.tpl-beauty .catalog-filters legend { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.68rem; font-weight: 500; }
@media (min-width: 960px) { .tpl-beauty .catalog .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Produktseite: große Bühne, Perlmutt-Kaufbox ---------- */
.tpl-beauty .gallery-main { position: relative; overflow: hidden; border: 0; border-radius: 30px; background: var(--b-podium); }
.tpl-beauty .gallery-main img { aspect-ratio: 4 / 5; object-fit: cover; transition: opacity 0.45s var(--b-ease), transform 0.6s var(--b-ease); }
.tpl-beauty .gallery-thumb { width: 72px; height: 90px; padding: 0; border: 1px solid transparent; border-radius: 16px; overflow: hidden; background: var(--b-blush); }
.tpl-beauty .gallery-thumb img { border-radius: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-beauty .gallery-thumb[aria-current="true"] { border-color: var(--b-ink); }
.tpl-beauty .b-gallery-next { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.55s var(--b-ease); pointer-events: none; }
.tpl-beauty .gallery-main.is-next .b-gallery-next { opacity: 1; }
.tpl-beauty .gallery-main.is-zoom { cursor: zoom-in; }
.tpl-beauty .gallery-main.is-zoom.is-zooming img { transform: scale(2); }
.tpl-beauty .product-video { margin-top: var(--s-4); border-radius: 30px; overflow: hidden; background: var(--b-blush); }
.tpl-beauty .product-video video { border-radius: 0; background: #e9d9d0; max-height: 86vh; }
.tpl-beauty .product-video.is-portrait { padding: var(--s-4) 0 var(--s-2); }
.tpl-beauty .product-video.is-portrait video { background: transparent; height: min(80vh, 860px); border-radius: 22px; }
.tpl-beauty .product-video figcaption { padding: 8px var(--s-4) var(--s-3); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); }
.tpl-beauty .product-title { font-size: clamp(2.3rem, 4.2vw, 3.5rem); font-weight: 400; }
.tpl-beauty .product-subtitle { font-size: 1.05rem; }
.tpl-beauty .price-lg .price-current { font-family: var(--font); font-size: 1.45rem; font-weight: 400; letter-spacing: 0.02em; }
.tpl-beauty .variant-group legend { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.68rem; font-weight: 500; color: var(--c-muted); }
.tpl-beauty .product-variants-title { display: none; }
@media (min-width: 960px) {
  .tpl-beauty .product-layout { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
  .tpl-beauty .product-buy { position: sticky; top: 96px; padding: clamp(24px, 2.6vw, 40px); background: var(--b-pearl); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 30px; box-shadow: 0 40px 80px -48px rgba(74, 40, 36, 0.5); }
}
.tpl-beauty .product-details { max-width: 860px; }
.tpl-beauty .details-table { border-radius: 22px; overflow: hidden; background: #fffaf7; border: 1px solid var(--c-border); border-collapse: separate; border-spacing: 0; }
.tpl-beauty .details-table th, .tpl-beauty .details-table td { padding: 14px 18px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.tpl-beauty .details-table tr:last-child th, .tpl-beauty .details-table tr:last-child td { border-bottom: 0; }
.tpl-beauty .details-table th { font-weight: 450; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); width: 34%; }

/* Glossar-Begriffe und Tooltip */
.tpl-beauty .b-term { cursor: help; text-decoration: underline dotted var(--b-rose) 1.5px; text-underline-offset: 4px; border-radius: 4px; }
.tpl-beauty .b-term:focus-visible { outline: 2px solid var(--b-rose); outline-offset: 2px; }
.b-tip {
  position: fixed; z-index: 90; left: 0; top: 0; max-width: min(320px, calc(100vw - 24px)); padding: 13px 16px 14px;
  background: rgba(255, 250, 247, 0.94); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid #ecdcd3; border-radius: 18px; box-shadow: 0 26px 50px -24px rgba(74, 40, 36, 0.45);
  color: #2b1c20; font: 400 0.9rem/1.5 "Beauty Sans", "Jost", system-ui, sans-serif; letter-spacing: 0.005em;
  opacity: 0; transform: translateY(6px); transition: opacity 0.22s ease, transform 0.22s ease; pointer-events: none;
}
.b-tip.is-visible { opacity: 1; transform: none; }
.b-tip.is-below { transform: translateY(-6px); }
.b-tip.is-below.is-visible { transform: none; }
.b-tip-title { display: block; margin-bottom: 4px; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #8d4f42; }

/* Duftpyramide (aus Kopf-, Herz- und Basisnote in den Details) */
.tpl-beauty .b-pyramid { margin: 0 0 var(--s-5); padding: clamp(20px, 3vw, 32px); border-radius: 26px; background: var(--b-pearl); border: 1px solid var(--c-border); }
.tpl-beauty .b-pyramid figcaption { margin-bottom: var(--s-4); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-muted); text-align: center; }
.tpl-beauty .b-pyramid ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: center; }
.tpl-beauty .b-tier { width: 100%; padding: 14px 18px; border-radius: 18px; text-align: center; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9); }
.tpl-beauty .b-tier:nth-child(1) { width: 62%; background: linear-gradient(135deg, #fffdfb, #f8eeea); }
.tpl-beauty .b-tier:nth-child(2) { width: 81%; background: linear-gradient(135deg, #fbf0ec, #f1dfd8); }
.tpl-beauty .b-tier:nth-child(3) { width: 100%; background: linear-gradient(135deg, #f1dfd7, #e6cfc4); }
.tpl-beauty .b-tier-name { display: block; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #8d4f42; }
.tpl-beauty .b-tier-notes { display: block; font-family: var(--font-head); font-size: 1.22rem; line-height: 1.3; color: var(--b-ink); }
@media (max-width: 520px) { .tpl-beauty .b-tier:nth-child(1), .tpl-beauty .b-tier:nth-child(2) { width: 100%; } }

/* ---------- Einblenden beim Scrollen (nur mit JS, nie bei reduzierter Bewegung) ---------- */
.tpl-beauty .b-in { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--b-ease), transform 0.9s var(--b-ease); }
.tpl-beauty .b-in.is-in { opacity: 1; transform: none; }

/* ---------- Fuß ---------- */
.tpl-beauty .site-footer { background: var(--b-ink); color: #c9b8b2; border-top: 0; padding-top: var(--s-7); }
.tpl-beauty .site-footer a, .tpl-beauty .footer-links a { color: #f6ece8; }
.tpl-beauty .footer-brand { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: #fbf7f3; margin-bottom: var(--s-3); }
.tpl-beauty .footer-heading { color: #fbf7f3; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.68rem; font-weight: 500; }
.tpl-beauty .footer-bottom { border-top-color: rgba(255, 255, 255, 0.12); }
.tpl-beauty .payment-badge { background: transparent; border-color: rgba(255, 255, 255, 0.22); color: #f6ece8; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  .tpl-beauty *, .tpl-beauty *::before, .tpl-beauty *::after { transition: none !important; animation: none !important; }
  .tpl-beauty .b-in, .tpl-beauty .b-reveal { opacity: 1; transform: none; filter: none; }
  .tpl-beauty .hero::before { display: none; }
}
