/* Aktion (z. B. Black Friday) – Aussehen. Wird nur geladen, solange eine Aktion läuft (lib/promo.js, PROMO_ASSETS).
   27.11.2026, Dennis: „optisch deutlich ansprechender … dass der Kunde das auch sieht“.
   Bausteine: .bf-card/.bf-strip (Startbild), .bf-bar (Shop-Eingang), .bf (großer Kasten über den Behandlungen, #aktion),
   .bf-svc (Behandlungsseite), dazu Preise an Karten und Varianten. Die Uhr füllt public/assets/js/aktion.js. */
:where(.bf, .bf-card, .bf-strip, .bf-bar, .bf-svc) {
  --bf-g1: #8E6B3A; --bf-g2: #E6C691; --bf-g3: #FFF3D6; --bf-gold: #CFA66A; --bf-ink: #0B0807; --bf-bone: #F1EAE2; --bf-mute: rgba(241,234,226,.74);
  --bf-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif; --bf-sans: 'Inter Tight', 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-family: var(--bf-sans); box-sizing: border-box;
}
:where(.bf, .bf-card, .bf-strip, .bf-bar, .bf-svc) * { box-sizing: border-box; }

/* Die Zahl: Goldfolie mit langsam wanderndem Licht */
.bf-n { display: inline-block; font-family: var(--bf-serif); font-weight: 400; font-style: normal; line-height: .86; letter-spacing: -.03em; white-space: nowrap;
  background: linear-gradient(100deg, var(--bf-g1) 0%, var(--bf-g2) 26%, var(--bf-g3) 46%, var(--bf-gold) 62%, var(--bf-g1) 100%); background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: bf-foil 7s ease-in-out infinite; }
@keyframes bf-foil { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* Etikett mit Puls: „läuft gerade“ */
.bf-k { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font: 700 11.5px/1.1 var(--bf-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--bf-g2); }
.bf-k i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #F0623C; box-shadow: 0 0 0 0 rgba(240,98,60,.7); animation: bf-pulse 1.8s ease-out infinite; }
.bf-k span { font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 13px; color: var(--bf-mute); }
@keyframes bf-pulse { 0% { box-shadow: 0 0 0 0 rgba(240,98,60,.65); } 80%, 100% { box-shadow: 0 0 0 9px rgba(240,98,60,0); } }

/* Knöpfe */
.bf-go, .bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; background: linear-gradient(180deg, #EBCF9E, #CFA66A); color: #1A1411; font-weight: 650; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(207,166,106,.9), inset 0 1px 0 rgba(255,255,255,.55); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.bf-go { height: 44px; padding: 0 18px; font-size: 14.5px; }
.bf-btn { height: 56px; padding: 0 28px; font-size: 16.5px; }
.bf-go svg, .bf-btn svg { transition: transform .2s ease; }
:is(.bf-card, .bf-strip, .bf-bar):hover .bf-go, .bf-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
:is(.bf-card, .bf-strip, .bf-bar):hover svg, .bf-btn:hover svg { transform: translateX(3px); }
.bf-btn:focus-visible, .bf-card:focus-visible, .bf-strip:focus-visible, .bf-bar:focus-visible { outline: 2px solid var(--bf-g3); outline-offset: 3px; }

/* Uhr */
.bf-cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bf-cd span { display: grid; justify-items: center; gap: 5px; padding: 12px 4px 10px; border-radius: 14px; background: rgba(241,234,226,.06); border: 1px solid rgba(241,234,226,.13); }
.bf-cd b { font: 400 clamp(28px, 3.2vw, 40px)/1 var(--bf-serif); font-variant-numeric: tabular-nums lining-nums; color: var(--bf-g3); min-width: 2ch; text-align: center; }
.bf-cd small { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-mute); }
.bf-cdl { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Großer Kasten über den Behandlungen (#aktion) */
.bf { position: relative; isolation: isolate; overflow: hidden; max-width: calc(var(--w, 1280px) - 2 * var(--pad, 24px)); margin: 30px auto 0; padding: clamp(24px, 3.2vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px clamp(28px, 4vw, 64px); align-items: center; border-radius: 28px; color: var(--bf-bone);
  background: radial-gradient(120% 150% at 0% 0%, #2B1D11 0%, #130D09 48%, #0B0807 100%); border: 1px solid rgba(207,166,106,.6);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,243,214,.14); scroll-margin-top: 110px; }
.bf-glow { position: absolute; z-index: -1; right: -12%; top: -55%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(207,166,106,.3), rgba(207,166,106,0) 72%); pointer-events: none; }
.bf-big { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 22px; }
.bf-big .bf-n { font-size: clamp(92px, 11.5vw, 164px); }
.bf-big span { font: 400 clamp(25px, 2.7vw, 38px)/1.06 var(--bf-serif); max-width: 11ch; padding-bottom: .3em; }
.bf-usp { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; font-size: 15.5px; line-height: 1.4; color: var(--bf-mute); }
.bf-usp li { position: relative; padding-left: 28px; }
.bf-usp li::before { content: ''; position: absolute; left: 0; top: .12em; width: 18px; height: 18px; border-radius: 50%; background: var(--bf-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1411' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.bf-r { display: grid; gap: 14px; }
.bf-cdh { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bf-mute); }
.bf-terms { font-size: 13.5px; color: var(--bf-mute); }
.bf-terms summary { display: inline-block; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.bf-terms summary::-webkit-details-marker { display: none; }
.bf-terms ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 7px; line-height: 1.5; }

/* ---------- Shop-Eingang: Streifen mit Sprung zur Aktion */
.bf-bar { position: relative; overflow: hidden; margin-top: clamp(22px, 3vw, 36px); padding: 14px 16px 14px 22px; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 6px 22px;
  border-radius: 24px; text-decoration: none; color: var(--bf-bone); background: linear-gradient(100deg, #24180E, #0B0807 62%); border: 1px solid rgba(207,166,106,.6); box-shadow: inset 0 1px 0 rgba(255,243,214,.12), 0 24px 60px -40px rgba(0,0,0,.9); }
.bf-bar .bf-n { font-size: clamp(44px, 4.6vw, 64px); }
.bf-bar-t { display: grid; gap: 4px; min-width: 0; }
.bf-bar-t b { font: 400 clamp(19px, 2vw, 25px)/1.1 var(--bf-serif); }
.bf-bar-t > span { font-size: 13.5px; line-height: 1.35; color: var(--bf-mute); }

/* ---------- Startbild */
.bf-card { display: grid; gap: 6px; width: 284px; padding: 18px 20px 20px; border-radius: 24px; text-align: left; text-decoration: none; color: var(--bf-bone);
  background: linear-gradient(160deg, rgba(36,24,14,.86), rgba(11,8,7,.92)); border: 1px solid rgba(207,166,106,.75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -36px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,243,214,.16); transition: transform .25s ease, border-color .25s ease; }
.bf-card:hover { transform: translateY(-2px); border-color: var(--bf-g2); }
.bf-card .bf-n { font-size: 84px; margin: 8px 0 2px; }
.bf-t { font: 400 21px/1.14 var(--bf-serif); }
.bf-card .bf-cdl { font-size: 13.5px; color: var(--bf-mute); }
.bf-card .bf-go { margin-top: 10px; width: 100%; }
.bf-strip { display: none; }

/* ---------- Behandlungsseite */
.bf-svc { margin: 14px 0 0; padding: 16px 18px 18px; display: grid; gap: 10px; border-radius: 20px; color: var(--bf-bone); background: linear-gradient(140deg, #24180E, #0B0807 70%); border: 1px solid rgba(207,166,106,.6); box-shadow: inset 0 1px 0 rgba(255,243,214,.12); }
.bf-svc-p { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.bf-svc-p b { font: 400 clamp(38px, 5vw, 52px)/1 var(--bf-serif); color: var(--bf-g3); }
.bf-svc-p s { font-size: 18px; color: var(--bf-mute); text-decoration-thickness: 1.5px; }
.bf-svc-p em { font-style: normal; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--bf-gold); color: #1A1411; }
.bf-svc-t { margin: 0; font-size: 14px; line-height: 1.45; color: var(--bf-mute); }
.bf-svc-t a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.bf-svc .bf-cd span { padding: 9px 4px 8px; }
.bf-svc .bf-cd b { font-size: 26px; }

/* ---------- Preise an Karten und Varianten */
.v5-sc-ov .bf-pr { color: #FFF3D6; font-weight: 650; }
.v5-sc-ov s, .v5-svh-pk s { opacity: .72; font-weight: 400; margin-left: 6px; }
.v5-svh-pk b.bf-tp { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.v5-svh-pk b.bf-tp s { font-size: .8em; margin: 0 0 2px; }
.v5-svh-pk b.bf-tp em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9A6F2E; }

@media (max-width: 860px) {
  .bf { grid-template-columns: minmax(0, 1fr); margin: 24px var(--pad, 20px) 0; max-width: none; border-radius: 24px; gap: 22px; }
  .bf-big .bf-n { font-size: clamp(88px, 27vw, 128px); }
  .bf-btn { width: 100%; }
}
@media (max-width: 760px) {
  .bf-bar { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 10px 14px; border-radius: 22px; }
  .bf-bar .bf-k { grid-column: 1 / -1; }
  .bf-bar .bf-go { grid-column: 1 / -1; height: 48px; }
  .bf-card { display: none; }
  .bf-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: -2px; padding: 10px 14px 10px 14px; border-radius: 18px; text-decoration: none; color: var(--bf-bone);
    background: linear-gradient(110deg, rgba(36,24,14,.88), rgba(11,8,7,.92)); border: 1px solid rgba(207,166,106,.75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-tap-highlight-color: transparent; }
  .bf-strip .bf-n { font-size: 46px; line-height: .9; }
  .bf-strip-t { display: grid; gap: 3px; min-width: 0; }
  .bf-strip-t b { font: 700 11px/1 var(--bf-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bf-g2); }
  .bf-strip-t > span { font-size: 13px; line-height: 1.3; color: var(--bf-bone); }
  .bf-strip > svg { color: var(--bf-g2); }
  .bf-strip:active { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) { .bf-n, .bf-k i { animation: none; } .bf-go, .bf-btn, .bf-card, .bf-go svg, .bf-btn svg { transition: none; } }
