/* =========================================================
   Men's Care – Weihnachtszeit (19.11.2026 bis 06.01.2027)
   Alles hier greift nur, wenn <html> die Klasse "weihnachten" hat.
   Die setzt ein kleines Skript im <head> anhand des Datums.
   Ab 07.01.2027 ist automatisch alles wieder wie vorher.
   Ganz entfernen: die Zeile mit weihnachten.css und das
   <script> darunter im <head> jeder Seite löschen.
   ========================================================= */

:root {
  --gold: #D8BC84;        /* warmes Gold, nur für Sterne und Funkeln */
  --gold-hell: #F3E6CF;   /* Champagner */
}

/* Ein- und Ausblenden je nach Zeit */
.nur-weihnachten { display: none !important; }
html.weihnachten .nur-weihnachten { display: revert !important; }
html.weihnachten .ausser-weihnachten { display: none !important; }
html.weihnachten.leiste-zu .weihnachtsleiste { display: none !important; }

/* ---------- Hinweisleiste ganz oben ---------- */
.weihnachtsleiste {
  position: relative;
  z-index: 21;
  color: #F6F8F5;
  background:
    radial-gradient(ellipse 30% 140% at 12% 50%, rgba(216, 188, 132, 0.28), transparent 70%),
    radial-gradient(ellipse 30% 140% at 88% 50%, rgba(159, 224, 182, 0.18), transparent 70%),
    linear-gradient(90deg, #16302A 0%, #1F3D31 50%, #16302A 100%);
  overflow: hidden;
}
.weihnachtsleiste .huelle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-right: 52px;
  text-align: center;
}
.weihnachtsleiste p { margin: 0; font-size: 15px; line-height: 1.4; }
.weihnachtsleiste-stern { display: inline-flex; flex: none; width: 18px; height: 18px; color: var(--gold); animation: mcStern 3.2s ease-in-out infinite; }
.weihnachtsleiste-stern svg { width: 100%; height: 100%; }
.weihnachtsleiste-link {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  color: #1F3D31;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, var(--gold-hell) 100%);
  box-shadow: 0 6px 16px -8px rgba(216, 188, 132, 0.9);
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s;
}
.weihnachtsleiste-link:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(216, 188, 132, 1); }
.weihnachtsleiste-link:focus-visible,
.weihnachtsleiste-zu:focus-visible { outline: 3px solid #9FE0B6; outline-offset: 2px; }
.weihnachtsleiste-zu {
  position: absolute;
  right: 12px;
  top: 50%;
  translate: 0 -50%;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #F6F8F5;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.weihnachtsleiste-zu:hover { background: rgba(255, 255, 255, 0.18); }

@media (max-width: 560px) {
  .weihnachtsleiste .huelle { flex-wrap: wrap; gap: 6px 10px; justify-content: flex-start; text-align: left; padding-left: 16px; }
  .weihnachtsleiste p { font-size: 14px; flex: 1 1 200px; }
  .weihnachtsleiste-stern { display: none; }
}

@keyframes mcStern {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .85; }
  50% { transform: scale(1.18) rotate(18deg); opacity: 1; }
}

/* ---------- Gutschein-Bereich: festlich in Tannengrün ---------- */
html.weihnachten .gutschein {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 90px;
  background:
    radial-gradient(ellipse 35% 70% at 85% 20%, rgba(216, 188, 132, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 60% at 5% 100%, rgba(95, 154, 120, 0.4), transparent 70%),
    linear-gradient(135deg, #2C5443 0%, #1F3D31 55%, #16302A 100%);
}
html.weihnachten .gutschein > .huelle { position: relative; z-index: 1; }
html.weihnachten .gutschein { border-bottom: 1px solid rgba(216, 188, 132, .35); }
html.weihnachten .gutschein p { color: #D6E6DC; }
html.weihnachten .gutschein .gutschein-klein { font-size: 14px; opacity: .85; }
html.weihnachten .gutschein .knopf,
html.weihnachten .gutschein .knopf--weiss {
  border: 0;
  color: #1F3D31;
  background: linear-gradient(180deg, #ffffff 0%, var(--gold-hell) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 12px 28px -10px rgba(216, 188, 132, .7);
}
html.weihnachten .gutschein .knopf:hover {
  color: #1F3D31;
  background: linear-gradient(180deg, #ffffff 0%, var(--gold-hell) 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 16px 34px -8px rgba(216, 188, 132, 1), 0 0 36px rgba(216, 188, 132, .35);
}

/* goldenes Funkeln im Gutschein-Bereich */
.funkeln {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 8% 22%, var(--gold) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 18% 70%, var(--gold-hell) 50%, transparent 51%),
    radial-gradient(2px 2px at 33% 35%, var(--gold-hell) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 82%, var(--gold) 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 62% 18%, var(--gold) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 60%, var(--gold-hell) 50%, transparent 51%),
    radial-gradient(2px 2px at 84% 40%, var(--gold-hell) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 93% 78%, var(--gold) 50%, transparent 51%),
    radial-gradient(2px 2px at 56% 52%, var(--gold-hell) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 26% 12%, var(--gold) 50%, transparent 51%);
  animation: mcFunkeln 4s ease-in-out infinite alternate;
}
@keyframes mcFunkeln { from { opacity: .35; } to { opacity: 1; } }

/* ---------- Startseite: leise fallende Lichtpunkte ---------- */
.hero > .schnee { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.schnee i {
  position: absolute;
  top: -10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 3px rgba(216, 188, 132, .85), 0 0 2px 1px rgba(201, 160, 90, .9);
  opacity: 0;
  animation: mcSchnee 16s linear infinite;
}
.schnee i:nth-child(2n)   { background: var(--gold-hell); }
.schnee i:nth-child(3n)   { width: 5px; height: 5px; background: #C9A05A; }
.schnee i:nth-child(4n)   { width: 9px; height: 9px; }
.schnee i:nth-child(1)  { left: 4%;  animation-delay: 0s;   animation-duration: 15s; }
.schnee i:nth-child(2)  { left: 11%; animation-delay: 4s;   animation-duration: 19s; }
.schnee i:nth-child(3)  { left: 17%; animation-delay: 8s;   animation-duration: 14s; }
.schnee i:nth-child(4)  { left: 23%; animation-delay: 2s;   animation-duration: 21s; }
.schnee i:nth-child(5)  { left: 29%; animation-delay: 11s;  animation-duration: 17s; }
.schnee i:nth-child(6)  { left: 34%; animation-delay: 6s;   animation-duration: 16s; }
.schnee i:nth-child(7)  { left: 40%; animation-delay: 13s;  animation-duration: 20s; }
.schnee i:nth-child(8)  { left: 45%; animation-delay: 1s;   animation-duration: 18s; }
.schnee i:nth-child(9)  { left: 50%; animation-delay: 9s;   animation-duration: 15s; }
.schnee i:nth-child(10) { left: 55%; animation-delay: 3s;   animation-duration: 22s; }
.schnee i:nth-child(11) { left: 60%; animation-delay: 12s;  animation-duration: 16s; }
.schnee i:nth-child(12) { left: 65%; animation-delay: 5s;   animation-duration: 19s; }
.schnee i:nth-child(13) { left: 70%; animation-delay: 10s;  animation-duration: 14s; }
.schnee i:nth-child(14) { left: 74%; animation-delay: 7s;   animation-duration: 21s; }
.schnee i:nth-child(15) { left: 79%; animation-delay: 15s;  animation-duration: 17s; }
.schnee i:nth-child(16) { left: 83%; animation-delay: 2.5s; animation-duration: 18s; }
.schnee i:nth-child(17) { left: 87%; animation-delay: 9.5s; animation-duration: 15s; }
.schnee i:nth-child(18) { left: 91%; animation-delay: 5.5s; animation-duration: 20s; }
.schnee i:nth-child(19) { left: 95%; animation-delay: 12.5s;animation-duration: 16s; }
.schnee i:nth-child(20) { left: 98%; animation-delay: 1.5s; animation-duration: 22s; }
.schnee i:nth-child(21) { left: 37%; animation-delay: 16s;  animation-duration: 19s; }
.schnee i:nth-child(22) { left: 68%; animation-delay: 14s;  animation-duration: 17s; }
@keyframes mcSchnee {
  0%   { transform: translate(0, 0); opacity: 0; }
  8%   { opacity: 1; }
  50%  { transform: translate(18px, 50vh); }
  90%  { opacity: .6; }
  100% { transform: translate(-10px, 105vh); opacity: 0; }
}
@media (max-width: 560px) {
  .schnee i:nth-child(n+13) { display: none; }
}

/* ---------- Lotus-Kachel: kleine goldene Sterne ---------- */
.boegen .blatt .kachel-sterne { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.kachel-sterne i { position: absolute; display: block; color: var(--gold); animation: mcStern 3.4s ease-in-out infinite; }
.kachel-sterne svg { width: 100%; height: 100%; display: block; }
.kachel-sterne i:nth-child(1) { width: 16px; height: 16px; left: 18%; top: 20%; animation-delay: 0s; }
.kachel-sterne i:nth-child(2) { width: 10px; height: 10px; left: 74%; top: 16%; animation-delay: .8s; color: var(--gold-hell); }
.kachel-sterne i:nth-child(3) { width: 12px; height: 12px; left: 80%; top: 70%; animation-delay: 1.6s; }
.kachel-sterne i:nth-child(4) { width: 8px;  height: 8px;  left: 22%; top: 76%; animation-delay: 2.2s; color: var(--gold-hell); }
.kachel-sterne i:nth-child(5) { width: 9px;  height: 9px;  left: 50%; top: 9%;  animation-delay: 1.2s; }

/* ---------- Weniger Bewegung: alles ruhig ---------- */
@media (prefers-reduced-motion: reduce) {
  .weihnachtsleiste-stern, .kachel-sterne i, .funkeln { animation: none !important; }
  .schnee { display: none !important; }
}

/* ---------- Bild der Klappkarten im Gutschein-Bereich ---------- */
@media (min-width: 901px) {
  html.weihnachten .gutschein .huelle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    grid-template-areas: "text bild" "knoepfe bild";
    align-items: center;
    column-gap: clamp(32px, 5vw, 72px);
    row-gap: 28px;
  }
  html.weihnachten .gutschein .huelle > div:not(.knopfreihe) { grid-area: text; align-self: end; }
  html.weihnachten .gutschein .knopfreihe { grid-area: knoepfe; align-self: start; }
  html.weihnachten .gutschein .gutschein-bild { grid-area: bild; }
}
.gutschein-bild {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .65), 0 0 0 1px rgba(216, 188, 132, .35), 0 0 60px -10px rgba(216, 188, 132, .35);
  transform: rotate(1.5deg);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s;
}
.gutschein-bild img { display: block; width: 100%; height: auto; }
.gutschein-bild:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .7), 0 0 0 1px rgba(216, 188, 132, .5), 0 0 80px -6px rgba(216, 188, 132, .5);
}
.gutschein-bild .ki-etikett {
  position: absolute; top: 12px; left: 12px; margin: 0; padding: 3px 9px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.5;
  color: #2F3A36; background: rgba(246, 248, 245, .78); border-radius: 999px; cursor: help;
}
@media (max-width: 900px) {
  html.weihnachten .gutschein .huelle { display: flex; flex-direction: column; align-items: stretch; }
  .gutschein-bild { width: min(100%, 460px); transform: none; }
  html.weihnachten .gutschein .knopfreihe { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .gutschein-bild, .gutschein-bild:hover { transform: none; transition: none; }
}


/* ---------- Mehr Funkeln auf der Startseite (v9) ---------- */
/* zusätzliche goldene Punkte, die ruhig an ihrer Stelle funkeln */
.hero > .schnee::before,
.hero > .schnee::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(3px 3px at 6% 18%, #C9A05A 50%, transparent 52%),
    radial-gradient(2.5px 2.5px at 14% 62%, #D8BC84 50%, transparent 52%),
    radial-gradient(3px 3px at 31% 8%, #C9A05A 50%, transparent 52%),
    radial-gradient(2px 2px at 44% 88%, #D8BC84 50%, transparent 52%),
    radial-gradient(3px 3px at 52% 30%, #C9A05A 50%, transparent 52%),
    radial-gradient(2.5px 2.5px at 58% 70%, #D8BC84 50%, transparent 52%),
    radial-gradient(3px 3px at 93% 12%, #C9A05A 50%, transparent 52%),
    radial-gradient(2.5px 2.5px at 97% 55%, #D8BC84 50%, transparent 52%);
  animation: mcFunkeln 2.6s ease-in-out infinite alternate;
}
.hero > .schnee::after {
  background-image:
    radial-gradient(2.5px 2.5px at 10% 40%, #D8BC84 50%, transparent 52%),
    radial-gradient(3px 3px at 22% 92%, #C9A05A 50%, transparent 52%),
    radial-gradient(2px 2px at 38% 50%, #D8BC84 50%, transparent 52%),
    radial-gradient(3px 3px at 49% 12%, #C9A05A 50%, transparent 52%),
    radial-gradient(2.5px 2.5px at 63% 46%, #D8BC84 50%, transparent 52%),
    radial-gradient(3px 3px at 88% 84%, #C9A05A 50%, transparent 52%),
    radial-gradient(2px 2px at 76% 6%, #D8BC84 50%, transparent 52%);
  animation-delay: 1.3s;
}

/* ---------- Bambus macht in der Weihnachtszeit Pause ---------- */
html.weihnachten .zweig { display: none !important; }

/* ---------- Laser-Bereich: goldenes Funkeln und Christbaumkugel ---------- */
html.weihnachten .dunkel > .funkeln { z-index: 0; opacity: .9; }
.kugel {
  position: absolute;
  z-index: 0;
  top: 0;
  right: clamp(24px, 9vw, 140px);
  width: 64px;
  height: 230px;
  pointer-events: none;
  transform-origin: 50% 0;
  animation: mcPendel 6s ease-in-out infinite alternate;
}
.kugel-faden {
  position: absolute; left: 50%; top: 0; width: 1.5px; height: 170px; translate: -50% 0;
  background: linear-gradient(180deg, rgba(216, 188, 132, 0) 0%, #D8BC84 60%);
}
.kugel-ball {
  position: absolute; left: 0; bottom: 0; width: 64px; height: 64px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #ffffff 0%, #F3E6CF 22%, #D8BC84 58%, #9C7A45 100%);
  box-shadow: 0 0 40px rgba(216, 188, 132, .45), 0 14px 30px -10px rgba(0, 0, 0, .6);
}
.kugel-ball::before {
  content: ""; position: absolute; left: 50%; top: -9px; width: 16px; height: 12px; translate: -50% 0;
  border-radius: 3px 3px 2px 2px; background: linear-gradient(180deg, #E9D7B0, #B8955C);
}
@keyframes mcPendel { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (max-width: 900px) {
  .kugel { right: 18px; width: 40px; height: 150px; }
  .kugel-faden { height: 112px; }
  .kugel-ball { width: 40px; height: 40px; }
}

/* ---------- Hinweis auf den Gutschein im Laser-Bereich ---------- */
.laser-geschenk {
  gap: 12px;
  align-items: flex-start;
  margin: 26px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: #F3E6CF;
  background: rgba(216, 188, 132, .1);
  border: 1px solid rgba(216, 188, 132, .4);
}
html.weihnachten .laser-geschenk.nur-weihnachten { display: flex !important; }
.laser-geschenk-stern { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #D8BC84; animation: mcStern 3.2s ease-in-out infinite; }
.laser-geschenk-stern svg { width: 100%; height: 100%; display: block; }
.laser-geschenk a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: #D8BC84; text-underline-offset: 3px; white-space: nowrap; }
.laser-geschenk a:hover { color: #F3E6CF; }

@media (prefers-reduced-motion: reduce) {
  .kugel, .laser-geschenk-stern, .hero > .schnee::before, .hero > .schnee::after { animation: none !important; }
}
@media (min-width: 901px) {
  .kugel { right: auto; left: 50%; margin-left: -32px; height: 300px; }
  .kugel-faden { height: 240px; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .kugel { width: 40px; margin-left: -20px; height: 240px; }
  .kugel-faden { height: 200px; }
  .kugel-ball { width: 40px; height: 40px; }
}
