/* =========================================================================
   Sabroso · Variante „Día de los Muertos" (nur Branch `muertos`)
   Zusatzfarben: Cempasúchil-Orange + Rosa mexicano. Basis-Design bleibt.
   ========================================================================= */
:root {
  --marigold: #f4a10b;
  --marigold-dark: #c2410c;
  --rosa: #e5157a;
  --night: #141110;
}

/* ---- Papel picado (Girlande) ---- */
.mu-garland { position: relative; display: flex; justify-content: center; overflow: hidden; height: 74px; padding-top: 6px; pointer-events: none; }
.mu-garland::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: rgba(255,255,255,.75); }
.mu-flag { flex: 0 0 auto; width: 54px; height: 65px; margin: 0 1px; transform-origin: 50% 0; animation: mu-sway 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
.mu-flag svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
@keyframes mu-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.mu-garland--cta { margin: calc(var(--section-pad) * -1) 0 34px; }
.mu-garland--cta::before { background: var(--marigold); }
.mu-garland--menu { margin: -72px 0 28px; }
.mu-garland--menu::before { background: var(--near-black); opacity: .5; }

/* ---- Hero ---- */
.mu-motto { font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--marigold); letter-spacing: .06em; margin: 0 0 6px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.mu-stamp-skull { width: 66px; height: 74px; }
.theme-muertos .hero__stamp svg:first-child circle { fill: var(--night); }
.mu-flowers { position: absolute; pointer-events: none; }
.mu-flower { position: absolute; width: 74px; height: 74px; animation: mu-bob 6s ease-in-out infinite; }
.mu-flower--2 { animation-delay: -1.5s; } .mu-flower--3 { animation-delay: -3s; } .mu-flower--4 { animation-delay: -4.5s; }
@keyframes mu-bob { 0%, 100% { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(14deg) translateY(-4px); } }
.mu-flowers--hero { right: 0; bottom: 0; width: 230px; height: 170px; z-index: 2; }
.mu-flowers--hero .mu-flower--1 { right: 18px; bottom: 16px; width: 96px; height: 96px; }
.mu-flowers--hero .mu-flower--2 { right: 104px; bottom: -14px; }
.mu-flowers--hero .mu-flower--3 { right: 2px; bottom: 100px; width: 58px; height: 58px; }
.mu-flowers--hero .mu-flower--4 { right: 160px; bottom: 40px; width: 50px; height: 50px; }

/* Fallende Blütenblätter */
.mu-petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.mu-petals i { position: absolute; top: -20px; width: var(--size); height: calc(var(--size) * .7); border-radius: 60% 40% 60% 40%; background: var(--marigold); opacity: .85; animation: mu-fall linear infinite; }
.mu-petals i:nth-child(3n) { background: #ee7d0c; }
.mu-petals i:nth-child(4n) { background: var(--rosa); }
@keyframes mu-fall { 0% { transform: translate(0, -20px) rotate(0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(var(--drift), 110vh) rotate(540deg); opacity: .2; } }

/* ---- Marquee: Nachtband ---- */
.theme-muertos .marquee { background: var(--night); color: var(--marigold); }
.mu-marquee-icon { width: 40px; height: 42px; flex: 0 0 auto; }

/* ---- Sektions-Icon über Headlines ---- */
.mu-headicon { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto 14px; }
.mu-headicon__skull { width: 70px; height: 78px; transition: transform .4s var(--ease); }
.mu-headicon__flower { width: 40px; height: 40px; }
.mu-headicon:hover .mu-headicon__skull { transform: rotate(-8deg) scale(1.08); }

/* ---- Über uns: Cempasúchil-Kranz ---- */
.theme-muertos .ueber__media { padding: 26px; }
.mu-wreath { position: absolute; inset: 26px; z-index: 1; pointer-events: none; }
.mu-wreath__flower { position: absolute; width: 52px; height: 52px; transform: translate(-50%, -50%) rotate(var(--r)); }
.theme-muertos .ueber__portrait { position: relative; z-index: 0; }
.theme-muertos .ueber__burst { z-index: 2; }

/* ---- Events-Box ---- */
.mu-flowers--events { left: -22px; bottom: -26px; width: 140px; height: 90px; }
.mu-flowers--events .mu-flower--1 { left: 0; bottom: 0; width: 70px; height: 70px; }
.mu-flowers--events .mu-flower--2 { left: 56px; bottom: -6px; width: 50px; height: 50px; }
.mu-flowers--events .mu-flower--3 { left: 26px; bottom: 52px; width: 40px; height: 40px; }

/* ---- Finaler CTA als Nacht-Ofrenda ---- */
.theme-muertos #cta { background: radial-gradient(ellipse at 50% 85%, rgba(244,161,11,.28) 0%, rgba(20,17,16,0) 55%), var(--night); padding-top: var(--section-pad); }
.theme-muertos .cta__title { color: var(--marigold); }
.mu-ofrenda { display: flex; align-items: flex-end; justify-content: center; gap: 12px; margin-top: 40px; }
.mu-candle { width: 34px; height: 90px; }
.mu-candle--s { width: 26px; height: 70px; }
.mu-ofrenda__skull { width: 92px; height: 103px; margin: 0 8px; }
.mu-ofrenda__flower { width: 58px; height: 58px; }
.mu-candle .mu-flame, .mu-candle use { transform-origin: 50% 25%; }
.mu-candle { animation: mu-flicker 1.8s ease-in-out infinite; }
.mu-candle:nth-of-type(odd) { animation-delay: -.7s; }
@keyframes mu-flicker { 0%, 100% { filter: drop-shadow(0 -6px 10px rgba(244,161,11,.55)); } 50% { filter: drop-shadow(0 -10px 16px rgba(244,161,11,.85)); } }

/* ---- Menü-Kopf ---- */
.theme-muertos .menu-head { padding-top: 72px; }

/* ---- Mobil ---- */
@media (max-width: 860px) {
  .mu-flag { width: 40px; height: 48px; }
  .mu-garland { height: 56px; }
  .mu-flowers--hero { transform: scale(.7); transform-origin: 100% 100%; }
  .mu-garland--menu { margin-top: -72px; }
}
@media (max-width: 640px) {
  .mu-ofrenda { gap: 6px; }
  .mu-ofrenda__flower { display: none; }
  .mu-ofrenda__skull { width: 72px; height: 81px; }
  .mu-marquee-icon { width: 30px; height: 32px; }
  .mu-wreath__flower { width: 40px; height: 40px; }
  .mu-flowers--events { left: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .mu-flag, .mu-flower, .mu-candle { animation: none !important; }
}
.theme-muertos .events__info { padding-bottom: 72px; }
