/* Lunas Lesetraining · Weihnachtszauber und Winterzauber (23.11.2026, nur lokal)
   Gehört zu winterzauber/winterzauber.js und den Szenen „weihnacht“ und „winter“ in js/zauberhimmel.js.
   Rundum-Aussehen wie bei allen Hintergründen über css/hintergrund-thema.css (Farbvariablen unten).
   Weihnachtszauber: Navy, Gold, Creme mit Tannengrün und Weinrot. Winterzauber: Navy, Creme und kühles Eisblau, ohne Weihnachtszeichen.
   Übungen bleiben helle Karten auf hellem Grund, beim Üben (body.hg-still) bewegt sich nichts. */

/* ---------- Farben für das Rundum-Aussehen ---------- */
body.training.hg-thema[data-zauberhimmel="weihnacht"] { --th-a: #F2C35B; --th-a-rgb: 242,195,91; --th-s: #7a1f2b; --th-zier: #F6E2A6;
  --th-tafel: rgba(12,20,46,.62); --th-k1: #1f5a43; --th-k2: #163f31; --th-k3: #0c2a20; --th-dunkel: #0c1430; }
body.training.hg-thema[data-zauberhimmel="winter"] { --th-a: #BFE3F5; --th-a-rgb: 191,227,245; --th-s: #2c4f86; --th-zier: #E4F4FC;
  --th-tafel: rgba(14,28,58,.72); --th-k1: #2f5d93; --th-k2: #22487a; --th-k3: #16325a; --th-dunkel: #0f1d3d; }

/* ---------- Hintergrundbild mit sanftem Schleier, damit die Tafel gut lesbar bleibt ---------- */
.hg-szene[data-szene="weihnacht"], .hg-szene[data-szene="winter"] { background: #0f1a3a; }
.hg-szene b.wiz-bild { top: 0; left: 0; width: 100%; height: 100%; background-position: center bottom; background-size: cover; background-repeat: no-repeat; border-radius: 0; box-shadow: none; border: 0; transform-origin: 50% 100%; animation: wiz-atmen 38s ease-in-out infinite alternate; }
/* 23.11.2026 Theresa: Weihnachten und Winter müssen sich deutlich unterscheiden → Weihnachten drinnen in der Weihnachtsstube, Winter draußen im Schneedorf */
.hg-szene[data-szene="weihnacht"] .wiz-bild { background-image: url("../weihnachten/hg-weihnachtsstube.webp"); }
.hg-szene[data-szene="winter"] .wiz-bild { background-image: url("../weihnachten/hg-winterdorf.webp"); }
/* 28.11.2026 (Prüfung): Die „-klein“-Bilder sind nur 360 × 203 Pixel und wurden am Handy etwa vierfach vergrößert, also unscharf.
   Darum gilt jetzt überall das große Bild (1599 × 900). Alte Regel zum Nachlesen:
   @media (max-width: 700px) { weihnacht → hg-weihnachtsstube-klein.webp, winter → hg-winterdorf-klein.webp } */
/* 28.11.2026 (Prüfung): Mit Weihnachts- und Winterzauber stehen acht Knöpfe unter „Dein Hintergrund“. Am Handy (bis 420 px)
   passten sie nicht mehr in eine Zeile, die Reihe war links und rechts abgeschnitten und die Seite ließ sich seitlich schieben.
   Jetzt zwei Zeilen zu je vier Knöpfen. */
@media (max-width: 420px) {
  .hg-wahl-reihe:has(.hg-vorschau-winter) { flex-wrap: wrap; gap: 6px; max-width: 286px; }
  .hg-wahl-reihe:has(.hg-vorschau-winter) .hg-knopf { width: 64px; }
}
.hg-szene b.wiz-schleier { top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(8,14,34,.30) 0%, rgba(8,14,34,.12) 40%, rgba(8,14,34,.45) 100%); }
.hg-szene[data-szene="winter"] b.wiz-schleier { background: linear-gradient(180deg, rgba(10,22,50,.34) 0%, rgba(10,22,50,.14) 40%, rgba(10,22,50,.48) 100%); }
@keyframes wiz-atmen { from { transform: scale(1); } to { transform: scale(1.045); } }
body.training.hg-still .hg-szene .wiz-bild { animation-play-state: paused; }

/* Schnee und Sterne (Zeichenfläche aus winterzauber.js) */
#wizFx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }

/* ---------- Girlande unter der Kopfleiste ---------- */
.kind-kopf > .wiz-girlande { position: absolute; left: 0; right: 0; bottom: -17px; height: 22px; pointer-events: none; z-index: 2; }
body:not([data-zauberhimmel="weihnacht"]):not([data-zauberhimmel="winter"]) .kind-kopf > .wiz-girlande { display: none; }
/* Weihnachten: Tannengirlande in Bögen mit roten Maschen */
body[data-zauberhimmel="weihnacht"] .kind-kopf > .wiz-girlande {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M0 3Q60 23 120 3' stroke='%230e3b28' stroke-width='9'/%3E%3Cpath d='M0 3Q60 23 120 3' stroke='%231f6b46' stroke-width='6' stroke-dasharray='2 3'/%3E%3Cpath d='M0 2Q60 21 120 2' stroke='%232f8a5c' stroke-width='2.4' stroke-dasharray='1 4'/%3E%3C/g%3E%3Cg fill='%23b3202e'%3E%3Cpath d='M0 3l-8-5v10zM0 3l8-5v10z'/%3E%3Cpath d='M120 3l-8-5v10zM120 3l8-5v10z'/%3E%3Cpath d='M-1 4l-3 9 3-2 2 2zM121 4l-3 9 3-2 2 2z'/%3E%3C/g%3E%3Ccircle cx='0' cy='3' r='2.4' fill='%23F2C35B'/%3E%3Ccircle cx='120' cy='3' r='2.4' fill='%23F2C35B'/%3E%3C/svg%3E")
    0 0 / 120px 22px repeat-x;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
/* Winter: Schneeflocken-Schnur mit kleinen Eiszapfen */
body[data-zauberhimmel="winter"] .kind-kopf > .wiz-girlande {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 22'%3E%3Cpath d='M0 2Q40 12 80 2' fill='none' stroke='%23EAF6FF' stroke-width='1.6' opacity='.9'/%3E%3Cg fill='%23DDF0FF' opacity='.92'%3E%3Cpath d='M14 5l2 9 2-9z'/%3E%3Cpath d='M27 7.5l1.6 12 1.6-12z'/%3E%3Cpath d='M51 7.5l1.6 10 1.6-10z'/%3E%3Cpath d='M64 5l2 8 2-8z'/%3E%3C/g%3E%3C/svg%3E")
    0 0 / 80px 22px repeat-x;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.wiz-girlande .wiz-licht { position: absolute; top: 9px; width: 7px; height: 10px; margin-left: -3.5px; border-radius: 50% 50% 45% 45%;
  background: var(--f); box-shadow: 0 0 8px 2px var(--f); animation: wiz-licht 2.4s ease-in-out infinite; animation-delay: var(--d); }
.wiz-girlande .wiz-licht::before { content: ""; position: absolute; left: 1.5px; top: -3px; width: 4px; height: 3px; border-radius: 1px; background: #3a3020; }
@keyframes wiz-licht { 0%, 100% { opacity: 1; } 50% { opacity: .45; box-shadow: 0 0 3px 1px var(--f); } }
.wiz-girlande .wiz-flocke { position: absolute; top: 4px; width: 11px; height: 11px; margin-left: -5.5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' fill='none'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 3px rgba(191,227,245,.9)); animation: wiz-glitzer 3.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes wiz-glitzer { 0%, 100% { opacity: .95; transform: rotate(0deg) scale(1); } 50% { opacity: .55; transform: rotate(30deg) scale(.85); } }
body.training.hg-still .wiz-girlande * { animation-play-state: paused; }
@media (max-width: 600px) { .kind-kopf > .wiz-girlande { bottom: -14px; height: 18px; background-size: 96px 18px !important; } .wiz-girlande .wiz-licht { top: 7px; width: 6px; height: 8px; } }

/* ---------- Schneehaube auf den drei Lese-Welten ---------- */
.start-seite .welt-karte { position: relative; }
.start-seite .welt-karte > .wiz-haube { position: absolute; left: -4px; right: -4px; top: -11px; height: 20px; z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M0 12Q4 3 14 5Q22 0 34 4Q44 1 52 5Q64 0 76 4Q86 2 96 5Q108 0 120 4Q130 1 142 5Q152 0 164 4Q176 1 186 5Q196 3 200 12L200 15Q190 13 184 19Q178 13 168 16Q160 12 150 15Q140 13 132 18Q124 12 112 15Q100 13 92 16Q82 12 72 15Q64 13 56 19Q48 13 38 15Q28 12 20 16Q10 13 0 15Z' fill='%23ffffff'/%3E%3Cpath d='M0 12Q4 3 14 5Q22 0 34 4Q44 1 52 5Q64 0 76 4Q86 2 96 5Q108 0 120 4Q130 1 142 5Q152 0 164 4Q176 1 186 5Q196 3 200 12' fill='none' stroke='%23d9e9f5' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 2px rgba(10,20,50,.25)); }

/* ---------- Figuren: wiegen sich sanft (statt der Loop-Videos) ---------- */
img.wiz-figur { transform-origin: 50% 90%; }
body.training:not(.hg-still) img.wiz-figur.welt-tier { animation: wiz-wiegen 5.5s ease-in-out infinite; }
body.training:not(.hg-still) .sn-spalte:nth-child(2) img.wiz-figur.welt-tier { animation-delay: -1.8s; }
body.training:not(.hg-still) .sn-spalte:nth-child(3) img.wiz-figur.welt-tier { animation-delay: -3.6s; }
@keyframes wiz-wiegen { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg) translateY(-2px); } }
.start-seite .welt-karte:hover img.wiz-figur.welt-tier { animation-play-state: paused; }
img.wiz-figur.welt-tier, img.wiz-figur.welt-kopf-tier { object-fit: cover; }
.wiz-luna { object-fit: cover; }

/* ---------- Spur hinter der Maus und Funkeln beim Tippen ---------- */
.wiz-spur { position: fixed; z-index: 2000; width: var(--g, 12px); height: var(--g, 12px); pointer-events: none; display: block; }
.wiz-spur svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wiz-spur.stern svg path { fill: currentColor; }
.wiz-spur.stern { filter: drop-shadow(0 0 4px rgba(242,195,91,.9)); }
.wiz-spur.flocke svg g { stroke: currentColor; }
.wiz-spur.flocke { filter: drop-shadow(0 0 3px rgba(191,227,245,.95)); }

/* ---------- Bewegung reduzieren und Druck ---------- */
@media (prefers-reduced-motion: reduce) {
  #wizFx, .wiz-spur { display: none !important; }
  .hg-szene .wiz-bild, .wiz-girlande *, img.wiz-figur { animation: none !important; }
}
@media print { #wizFx, .wiz-girlande, .wiz-haube, .wiz-spur { display: none !important; } }

/* ============================================================
   Weihnachtszauber: Glitzern und Weihnachtsschmuck (28.11.2026, nur lokal)
   Theresa: „es soll alles weihnachtlich sein und glitzern, wenn man Weihnachtshintergrund auswählt“.
   Gilt nur beim Weihnachtszauber. Die Schmuck-Ebenen setzt winterzauber.js (schmuecke) in jede Karte.
   Beim Üben und auf Unterseiten (body.hg-still) ist der Schmuck da, aber nichts bewegt sich.
   ============================================================ */
body[data-zauberhimmel="weihnacht"] { --wiz-stern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.8 7 17 11.2 24 12C17 12.8 12.8 17 12 24C11.2 17 7 12.8 0 12C7 11.2 11.2 7 12 0Z' fill='%23FFE08A'/%3E%3Cpath d='M12 5C12.5 9 15 11.5 19 12C15 12.5 12.5 15 12 19C11.5 15 9 12.5 5 12C9 11.5 11.5 9 12 5Z' fill='%23FFFBEA'/%3E%3C/svg%3E"); --wiz-zweig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 90'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M10 12Q62 16 122 50' stroke='%230c3222' stroke-width='11'/%3E%3Cpath d='M10 12Q62 16 122 50' stroke='%231f6b46' stroke-width='8' stroke-dasharray='2 3.2'/%3E%3Cpath d='M10 12Q62 16 122 50' stroke='%233a9a68' stroke-width='3.4' stroke-dasharray='1 4.4'/%3E%3Cpath d='M10 12Q26 50 58 82' stroke='%230c3222' stroke-width='11'/%3E%3Cpath d='M10 12Q26 50 58 82' stroke='%231f6b46' stroke-width='8' stroke-dasharray='2 3.2'/%3E%3Cpath d='M10 12Q26 50 58 82' stroke='%233a9a68' stroke-width='3.4' stroke-dasharray='1 4.4'/%3E%3Cpath d='M10 12Q50 34 92 76' stroke='%230c3222' stroke-width='11'/%3E%3Cpath d='M10 12Q50 34 92 76' stroke='%231f6b46' stroke-width='8' stroke-dasharray='2 3.2'/%3E%3Cpath d='M10 12Q50 34 92 76' stroke='%233a9a68' stroke-width='3.4' stroke-dasharray='1 4.4'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='22' cy='24' r='7' fill='%23B71C1C'/%3E%3Ccircle cx='34' cy='17' r='6' fill='%23D32F2F'/%3E%3Ccircle cx='18' cy='11' r='6.5' fill='%23C62828'/%3E%3Ccircle cx='20' cy='21.5' r='2' fill='%23FF8A80'/%3E%3Ccircle cx='32.5' cy='15' r='1.7' fill='%23FF8A80'/%3E%3Ccircle cx='16.5' cy='9' r='1.8' fill='%23FF8A80'/%3E%3C/g%3E%3Cpath d='M70 40l2.4 5.2 5.7.7-4.2 3.9 1.1 5.6-5-2.8-5 2.8 1.1-5.6-4.2-3.9 5.7-.7z' fill='%23F2C35B' stroke='%23B8860B' stroke-width='.8'/%3E%3C/svg%3E"); --wiz-gesteck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 56'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M90 20Q56 6 10 20' stroke='%230c3222' stroke-width='10'/%3E%3Cpath d='M90 20Q56 6 10 20' stroke='%231f6b46' stroke-width='7.4' stroke-dasharray='2 3.2'/%3E%3Cpath d='M90 20Q56 6 10 20' stroke='%233a9a68' stroke-width='3.2' stroke-dasharray='1 4.4'/%3E%3Cpath d='M90 20Q124 6 170 20' stroke='%230c3222' stroke-width='10'/%3E%3Cpath d='M90 20Q124 6 170 20' stroke='%231f6b46' stroke-width='7.4' stroke-dasharray='2 3.2'/%3E%3Cpath d='M90 20Q124 6 170 20' stroke='%233a9a68' stroke-width='3.2' stroke-dasharray='1 4.4'/%3E%3Cpath d='M90 20Q62 36 30 46' stroke='%230c3222' stroke-width='10'/%3E%3Cpath d='M90 20Q62 36 30 46' stroke='%231f6b46' stroke-width='7.4' stroke-dasharray='2 3.2'/%3E%3Cpath d='M90 20Q62 36 30 46' stroke='%233a9a68' stroke-width='3.2' stroke-dasharray='1 4.4'/%3E%3Cpath d='M90 20Q118 36 150 46' stroke='%230c3222' stroke-width='10'/%3E%3Cpath d='M90 20Q118 36 150 46' stroke='%231f6b46' stroke-width='7.4' stroke-dasharray='2 3.2'/%3E%3Cpath d='M90 20Q118 36 150 46' stroke='%233a9a68' stroke-width='3.2' stroke-dasharray='1 4.4'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='80' cy='22' r='7.5' fill='%23B71C1C'/%3E%3Ccircle cx='100' cy='22' r='7.5' fill='%23C62828'/%3E%3Ccircle cx='90' cy='31' r='7.5' fill='%23D32F2F'/%3E%3Ccircle cx='77.6' cy='19.4' r='2' fill='%23FF8A80'/%3E%3Ccircle cx='97.6' cy='19.4' r='2' fill='%23FF8A80'/%3E%3Ccircle cx='87.6' cy='28.4' r='2' fill='%23FF8A80'/%3E%3C/g%3E%3Cpath d='M90 3l2.6 5.6 6.1.7-4.5 4.2 1.2 6-5.4-3-5.4 3 1.2-6-4.5-4.2 6.1-.7z' fill='%23F2C35B' stroke='%23B8860B' stroke-width='.8'/%3E%3C/svg%3E"); --wiz-girl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M0 3Q60 23 120 3' stroke='%230e3b28' stroke-width='9'/%3E%3Cpath d='M0 3Q60 23 120 3' stroke='%231f6b46' stroke-width='6' stroke-dasharray='2 3'/%3E%3Cpath d='M0 2Q60 21 120 2' stroke='%232f8a5c' stroke-width='2.4' stroke-dasharray='1 4'/%3E%3C/g%3E%3Cg fill='%23b3202e'%3E%3Cpath d='M0 3l-8-5v10zM0 3l8-5v10z'/%3E%3Cpath d='M120 3l-8-5v10zM120 3l8-5v10z'/%3E%3Cpath d='M-1 4l-3 9 3-2 2 2zM121 4l-3 9 3-2 2 2z'/%3E%3C/g%3E%3Ccircle cx='0' cy='3' r='2.4' fill='%23F2C35B'/%3E%3Ccircle cx='120' cy='3' r='2.4' fill='%23F2C35B'/%3E%3C/svg%3E"); }
.wiz-traeger { position: relative; }
.wiz-schmuck { position: absolute; inset: 0; z-index: 4; display: block; pointer-events: none; border-radius: inherit; }
.wiz-schmuck > b { position: absolute; inset: 0; display: block; pointer-events: none; background-repeat: no-repeat; }
body:not([data-zauberhimmel="weihnacht"]) .wiz-schmuck { display: none; }

/* Funkelsterne: drei Ebenen, die versetzt aufleuchten. Sie sitzen am Rand, damit kein Text verdeckt wird. */
.wiz-schmuck > .g1 { animation: wiz-funkeln 2.9s ease-in-out infinite; }
.wiz-schmuck > .g2 { animation: wiz-funkeln 3.7s ease-in-out -1.2s infinite; }
.wiz-schmuck > .g3 { animation: wiz-funkeln 4.6s ease-in-out -2.4s infinite; }
@keyframes wiz-funkeln { 0%, 100% { opacity: .12; } 45%, 55% { opacity: 1; } }
/* kleine Karten: Sterne in den Ecken */
.wiz-schmuck[data-art="karte"] > .g1, .wiz-schmuck[data-art="zweig"] > .g1 { background-image: var(--wiz-stern), var(--wiz-stern); background-position: left 7px top 6px, right 9px bottom 8px; background-size: 15px, 11px; }
.wiz-schmuck[data-art="karte"] > .g2, .wiz-schmuck[data-art="zweig"] > .g2 { background-image: var(--wiz-stern), var(--wiz-stern); background-position: right 7px top 9px, left 22px bottom 5px; background-size: 12px, 9px; }
.wiz-schmuck[data-art="karte"] > .g3, .wiz-schmuck[data-art="zweig"] > .g3 { background-image: var(--wiz-stern), var(--wiz-stern); background-position: right 30px top 4px, left 6px bottom 26px; background-size: 8px, 12px; }
.wiz-schmuck.v1[data-art="karte"] > .g1 { background-position: right 8px top 5px, left 10px bottom 7px; }
.wiz-schmuck.v1[data-art="karte"] > .g2 { background-position: left 8px top 10px, right 24px bottom 5px; }
.wiz-schmuck.v1[data-art="karte"] > .g3 { background-position: left 32px top 4px, right 6px bottom 28px; }
.wiz-schmuck.v2[data-art="karte"] > .g1 { background-position: left 26px top 4px, right 6px bottom 22px; }
.wiz-schmuck.v2[data-art="karte"] > .g2 { background-position: right 10px top 6px, left 8px bottom 8px; }
.wiz-schmuck.v2[data-art="karte"] > .g3 { background-position: left 6px top 24px, right 30px bottom 5px; }
/* große Tafel der Startseite: Sterne die beiden Ränder entlang */
.wiz-schmuck[data-art="tafel"] > .g1 { background-image: var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern);
  background-position: left 12px top 9%, right 14px top 17%, left 16px top 38%, right 10px top 55%, left 10px top 74%, right 16px top 92%; background-size: 17px, 12px, 11px, 16px, 13px, 12px; }
.wiz-schmuck[data-art="tafel"] > .g2 { background-image: var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern);
  background-position: right 12px top 6%, left 14px top 23%, right 18px top 34%, left 12px top 58%, right 12px top 71%, left 18px top 95%; background-size: 13px, 15px, 10px, 12px, 17px, 11px; }
.wiz-schmuck[data-art="tafel"] > .g3 { background-image: var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern), var(--wiz-stern);
  background-position: left 20px top 14%, right 20px top 26%, left 10px top 47%, right 14px top 44%, left 16px top 86%, right 20px top 82%; background-size: 10px, 11px, 15px, 9px, 10px, 15px; }
/* Unterseiten und Übungskarten: Sterne sitzen auf dem Rahmen, außerhalb des Lesebereichs */
.wiz-schmuck[data-art="seite"] > .g1, .wiz-schmuck[data-art="seite"] > .g2, .wiz-schmuck[data-art="seite"] > .g3 { inset: -10px; }
.wiz-schmuck[data-art="seite"] > .g1 { background-image: var(--wiz-stern), var(--wiz-stern), var(--wiz-stern); background-position: left 0 top 34%, right 0 top 68%, left 24% bottom 0; background-size: 18px, 16px, 14px; }
.wiz-schmuck[data-art="seite"] > .g2 { background-image: var(--wiz-stern), var(--wiz-stern), var(--wiz-stern); background-position: right 0 top 22%, left 0 top 78%, right 20% bottom 0; background-size: 14px, 18px, 16px; }
.wiz-schmuck[data-art="seite"] > .g3 { background-image: var(--wiz-stern), var(--wiz-stern); background-position: left 1px top 56%, right 1px top 44%; background-size: 11px, 12px; }

/* Tannenzweige mit roten Beeren und Goldstern */
.wiz-schmuck > .z1, .wiz-schmuck > .z2 { inset: auto; width: 118px; height: 82px; background: var(--wiz-zweig) center / contain no-repeat; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); }
.wiz-schmuck[data-art="tafel"] > .z1 { left: -16px; top: -18px; }
.wiz-schmuck[data-art="tafel"] > .z2 { right: -16px; top: -18px; transform: scaleX(-1); }
.wiz-schmuck[data-art="zweig"] > .z1 { display: none; }
.wiz-schmuck[data-art="zweig"] > .z2 { right: 1px; top: 0; width: 86px; height: 60px; transform: scaleX(-1); }
/* Unterseiten und Übungskarten: ein Gesteck aus Tannenzweigen, Beeren und Goldstern oben in der Mitte auf dem Rahmen */
.wiz-schmuck[data-art="seite"] > .z1 { left: 50%; margin-left: -66px; top: -21px; width: 132px; height: 41px; background-image: var(--wiz-gesteck); }
.wiz-schmuck[data-art="seite"] > .z2 { display: none; }
@media (max-width: 600px) {
  .wiz-schmuck[data-art="tafel"] > .z1, .wiz-schmuck[data-art="tafel"] > .z2 { width: 78px; height: 54px; top: -13px; }
  .wiz-schmuck[data-art="tafel"] > .z1 { left: -10px; } .wiz-schmuck[data-art="tafel"] > .z2 { right: -10px; }
  .wiz-schmuck[data-art="zweig"] > .z2 { width: 64px; height: 45px; }
  .wiz-schmuck[data-art="seite"] > .z1 { width: 100px; height: 31px; margin-left: -50px; top: -16px; }
}

/* Goldene Knöpfe: ein Lichtstreif zieht darüber */
body.training[data-zauberhimmel="weihnacht"] .aktion.gold:not(:disabled), body.training[data-zauberhimmel="weihnacht"] .kind-kopf .hn.aktiv {
  background-image: linear-gradient(110deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.9) 50%, rgba(255,255,255,0) 58%), linear-gradient(180deg, #F8D88B, #E6AE45);
  background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; background-position: 100% 0, 0 0; animation: wiz-glanz 4.4s ease-in-out infinite; }
body.training[data-zauberhimmel="weihnacht"] .start-seite .welt-karte .tk-status {
  background-image: linear-gradient(110deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.9) 50%, rgba(255,255,255,0) 58%), linear-gradient(180deg, #F8D88B, #E6AE45) !important;
  background-size: 260% 100%, 100% 100% !important; background-repeat: no-repeat !important; background-position: 100% 0, 0 0; animation: wiz-glanz 4.4s ease-in-out -1.5s infinite; }
body.training[data-zauberhimmel="weihnacht"] .start-seite .sn-spalte:nth-child(2) .aktion.gold { animation-delay: -1.4s; }
body.training[data-zauberhimmel="weihnacht"] .start-seite .sn-spalte:nth-child(3) .aktion.gold { animation-delay: -2.8s; }
@keyframes wiz-glanz { 0%, 58% { background-position: 100% 0, 0 0; } 100% { background-position: 0% 0, 0 0; } }

/* Überschriften auf dunklem Grund: Goldschrift, über die ein Schimmer läuft */
body.training[data-zauberhimmel="weihnacht"].hg-thema .start-seite > h1, body.training[data-zauberhimmel="weihnacht"].hg-thema .sn-kopf .tages-name, body.training[data-zauberhimmel="weihnacht"] .start-seite .boni-kopf h2 {
  background: linear-gradient(100deg, #F6E2A6 0%, #FFFDF2 14%, #F2C35B 30%, #FFF3CF 50%, #E8B54A 68%, #FFFDF2 86%, #F6E2A6 100%) 0 0 / 200% 100% repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #F6E2A6; text-shadow: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)) drop-shadow(0 0 9px rgba(242,195,91,.4)); animation: wiz-goldschrift 7s linear infinite; }
body.training[data-zauberhimmel="weihnacht"].hg-thema .sn-kopf .tages-name::after { -webkit-text-fill-color: #F2C35B; }
@keyframes wiz-goldschrift { to { background-position: -200% 0; } }

/* Karten der Startseite: goldener Rand mit weinrotem Schatten wie Geschenkpapier */
body.training[data-zauberhimmel="weihnacht"] .start-seite .boni-reihe > *, body.training[data-zauberhimmel="weihnacht"] .start-seite .bc-home, body.training[data-zauberhimmel="weihnacht"] .start-seite .bue-home { border-color: #F2C35B; box-shadow: 4px 4px 0 #7a1f2b, 0 0 14px rgba(242,195,91,.25); }

/* Menü: Tannengirlande oben, goldener Rand */
body.training[data-zauberhimmel="weihnacht"] #link-menu { border: 2px solid #F2C35B; box-shadow: 0 16px 40px rgba(0,0,0,.45), 5px 5px 0 #7a1f2b; }
body.training[data-zauberhimmel="weihnacht"] #link-menu::before { content: ""; display: block; flex: none; height: 22px; margin: -2px 0 6px; background: var(--wiz-girl) 0 0 / 120px 22px repeat-x; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }

/* Beim Üben und auf Unterseiten bewegt sich nichts */
body.training.hg-still .wiz-schmuck > b { animation: none; opacity: .9; }
body.training.hg-still[data-zauberhimmel="weihnacht"] .aktion.gold, body.training.hg-still[data-zauberhimmel="weihnacht"] .kind-kopf .hn.aktiv { animation: none; background-position: 100% 0, 0 0; }
@media (prefers-reduced-motion: reduce) {
  .wiz-schmuck > b { animation: none !important; opacity: .9; }
  body.training[data-zauberhimmel="weihnacht"] .aktion.gold, body.training[data-zauberhimmel="weihnacht"] .kind-kopf .hn.aktiv, body.training[data-zauberhimmel="weihnacht"] .start-seite .welt-karte .tk-status, body.training[data-zauberhimmel="weihnacht"].hg-thema .start-seite > h1, body.training[data-zauberhimmel="weihnacht"].hg-thema .sn-kopf .tages-name, body.training[data-zauberhimmel="weihnacht"] .start-seite .boni-kopf h2 { animation: none !important; }
}
@media print { .wiz-schmuck { display: none !important; } }
