/* ============================================================================
   Halloween-Oktober-Sale (Leon 17.10.2026): Optik
   ============================================================================
   Greift nur, wenn halloween-sale.js die Klasse html.br-hw setzt, und das tut
   es nur, wenn Tebex den Sale wirklich liefert (oder in der Vorschau). Ohne
   die Klasse ist diese Datei wirkungslos und kann geladen bleiben.
   Präfix hw- für alles Neue (Kollisionsfalle aus websites.md).
   ========================================================================= */

@font-face{
  font-family:"BR Silkscreen"; font-style:normal; font-weight:700; font-display:swap;
  src:url(/fonts/silkscreen-700-latin.woff2) format("woff2");
}
@font-face{
  font-family:"BR Silkscreen"; font-style:normal; font-weight:400; font-display:swap;
  src:url(/fonts/silkscreen-400-latin.woff2) format("woff2");
}

html.br-hw{
  --hw-orange:#ff8a1f; --hw-orange-hell:#ffb347; --hw-orange-dunkel:#c4500a;
  --hw-lila:#8b4fd8; --hw-nacht:#120a1c;
}

/* ---------- Kopf über dem Hero ---------- */
.hw-kopf{
  position:relative; z-index:2; overflow:hidden;
  width:min(1180px,calc(100% - 32px)); margin:22px auto 0; min-height:330px;
  border-radius:24px; border:1px solid rgba(255,138,31,.45);
  background:var(--hw-nacht);
  box-shadow:0 30px 70px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4) inset, 0 0 60px rgba(255,138,31,.12);
  display:flex; align-items:center;
}
.hw-kopf-bild, .hw-kopf-bild img{ position:absolute; inset:0; width:100%; height:100%; }
.hw-kopf-bild img{ object-fit:cover; object-position:70% 50%; }
.hw-kopf::after{ /* Lesbarkeit: links dunkel, rechts frei fürs Motiv */
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(12,6,20,.92) 0%,rgba(12,6,20,.72) 34%,rgba(12,6,20,.1) 62%,rgba(12,6,20,0) 100%);
}
.hw-kopf-text{ position:relative; z-index:1; padding:40px 48px; max-width:560px; text-align:left; }
.hw-eyebrow{
  display:inline-flex; align-items:center; gap:10px; padding:7px 14px 7px 10px; border-radius:999px;
  font-family:"BR Silkscreen",Inter,system-ui,sans-serif; font-weight:700; font-size:13px; letter-spacing:.06em; text-transform:uppercase;
  color:#ffe2bf; background:rgba(255,138,31,.16); border:1px solid rgba(255,138,31,.55);
}
.hw-kuerbis{ width:18px; height:18px; flex:0 0 18px; background:url(/img/halloween/kuerbis-16.png) center/contain no-repeat; image-rendering:pixelated; }
.hw-titel{
  margin:16px 0 10px; color:#fff; font-weight:900; font-size:44px; line-height:1.02; letter-spacing:-1px;
  text-shadow:0 4px 22px rgba(0,0,0,.65);
}
.hw-zahl{
  display:block; font-family:Inter,Poppins,system-ui,sans-serif; font-weight:900;
  font-size:96px; line-height:.95; letter-spacing:-3px; color:var(--hw-orange-hell); margin-bottom:6px;
  text-shadow:0 6px 0 var(--hw-orange-dunkel), 0 0 34px rgba(255,138,31,.55);
}
.hw-sub{ margin:0 0 22px; font-size:16px; line-height:1.5; color:rgba(255,255,255,.86); max-width:440px; }
.hw-knoepfe{ display:flex; flex-wrap:wrap; gap:10px; }
.hw-knopf{
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 20px;
  border-radius:12px; font-weight:900; font-size:14px; letter-spacing:.02em; text-decoration:none !important;
  color:#fff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.25); transition:transform .15s, box-shadow .2s, background .2s;
}
.hw-knopf:hover{ background:rgba(255,255,255,.16); transform:translateY(-1px); }
.hw-knopf-voll{ color:#1a0d02; background:linear-gradient(135deg,var(--hw-orange-hell),var(--hw-orange)); border-color:transparent; box-shadow:0 8px 22px rgba(255,138,31,.4); }
.hw-knopf-voll:hover{ background:linear-gradient(135deg,#ffc56b,#ff9a3a); box-shadow:0 10px 28px rgba(255,138,31,.55); }
.hw-knopf:focus-visible{ outline:2px solid #ffe2bf; outline-offset:3px; }

/* Der Hero darunter rückt näher an den Kopf. */
html.br-hw .br-hero{ padding-top:46px; }

/* ---------- Preise: Herbstfarben statt Rot/Grün ---------- */
html.br-hw .br-sale-flag{
  background:linear-gradient(135deg,var(--hw-orange-hell),var(--hw-orange-dunkel)); color:#1a0d02;
  box-shadow:0 4px 14px rgba(255,138,31,.5);
}
html.br-hw .br-price-tag{ background:linear-gradient(135deg,var(--hw-orange),var(--hw-orange-dunkel)); box-shadow:0 3px 10px rgba(255,138,31,.45); }
html.br-hw .br-price-new{ color:var(--hw-orange-hell) !important; }
html.br-hw .br-price-old{ color:rgba(255,255,255,.55); text-decoration-color:rgba(255,138,31,.85); text-decoration-thickness:2px; }
html.br-hw .br-cpack.br-on-sale, html.br-hw .br-rcard.br-on-sale{ border-color:rgba(255,138,31,.5); }
html.br-hw .br-cpack.br-on-sale:hover{ box-shadow:0 20px 50px rgba(255,138,31,.22); }

/* Bundles (croc-bundle.js setzt .brb-sale, wenn Tebex einen Rabatt liefert) */
html.br-hw .brb-sale .brb-save{ background:linear-gradient(135deg,var(--hw-orange-hell),var(--hw-orange)); color:#1a0d02; box-shadow:0 4px 12px rgba(255,138,31,.4); }
html.br-hw .brb-sale .brb-was{ font-size:14px; text-decoration-color:rgba(255,138,31,.85); text-decoration-thickness:2px; }
html.br-hw .brb-sale .brb-price{ color:var(--hw-orange-hell); }
html.br-hw .brb-sale .brb-price-note{ color:#ffd9ad; }

/* RauschPass (rauschpass.js setzt .rp-was über den Preis) */
.rp-was{ font-size:14px; font-weight:700; color:rgba(255,255,255,.6); margin-bottom:4px; }
.rp-was s{ text-decoration-color:rgba(255,138,31,.85); text-decoration-thickness:2px; }
.rp-was b{ margin-left:6px; padding:2px 8px; border-radius:999px; font-size:11.5px; color:#1a0d02; background:linear-gradient(135deg,#ffb347,#ff8a1f); }
html.br-hw .rp-price{ color:var(--hw-orange-hell); }

/* ---------- Vorschau-Band (nur /vorschau-halloween.html) ---------- */
.hw-vorschau{
  position:fixed; left:12px; right:12px; bottom:12px; z-index:9500; margin:0 auto; max-width:760px;
  padding:10px 16px; border-radius:12px; font:600 13px/1.4 Inter,system-ui,sans-serif; color:#1a0d02;
  background:repeating-linear-gradient(135deg,#ffb347 0 18px,#ffa62e 18px 36px);
  border:2px solid #1a0d02; box-shadow:0 10px 30px rgba(0,0,0,.5); text-align:center;
}
.hw-vorschau b{ font-family:"BR Silkscreen",Inter,system-ui,sans-serif; margin-right:8px; }

/* ---------- Handy ---------- */
@media (max-width:760px){
  .hw-kopf{ width:calc(100% - 20px); margin-top:14px; min-height:0; align-items:flex-end; aspect-ratio:auto; }
  .hw-kopf-bild img{ object-position:50% 20%; }
  .hw-kopf::after{ background:linear-gradient(180deg,rgba(12,6,20,0) 0%,rgba(12,6,20,.1) 28%,rgba(12,6,20,.86) 60%,rgba(12,6,20,.96) 100%); }
  .hw-kopf-text{ padding:250px 20px 22px; text-align:center; max-width:none; width:100%; }
  .hw-titel{ font-size:30px; }
  .hw-zahl{ font-size:68px; letter-spacing:-2px; }
  .hw-sub{ font-size:14px; margin-left:auto; margin-right:auto; }
  .hw-knoepfe{ justify-content:center; }
  .hw-knopf{ flex:1 1 140px; }
  html.br-hw .br-hero{ padding-top:30px; }
  .hw-vorschau{ font-size:12px; bottom:84px; }
}

/* ---------- Sale-Fähnchen der App (gilt bei jedem Tebex-Sale, nicht nur zu Halloween) ----------
   Die App setzt .br-sale-flag oben links, genau dort stehen bei den Kristallpaketen die
   Bonus-Abzeichen („+42 % · BESTER WERT“). Mit Sale lagen beide übereinander. */
.br-cpack .br-sale-flag{ left:auto; right:0; border-radius:0 24px 0 16px; }
