/* Countdown: dunkles Panel mit Ziffern-Kacheln; Größen skalieren mit der Boxbreite (Container-Einheiten) */
.cd-box { container-type: inline-size; --cd-accent: #ff3b3b; --cd-panel: #222; --cd-tile: #444; --cd-text: #fff; }
.cd-box + .cd-box { margin-top: 14px; }
/* Automatisch: Farbvariablen der Themes (radio_*: --cyan, red_style: --rs-accent, saugbilder: --sb-accent, gold_silber: --gold) */
.cd-box.cd-auto { --cd-accent: var(--cd-accent-js, var(--cyan, var(--rs-accent, var(--sb-accent, var(--gold, #ff3b3b))))); }
.cd-pos-middle_top, .cd-pos-middle_bottom { max-width: 520px; margin: 0 auto 14px; }

.cd-inner {
    padding: 3cqw 2.5cqw 2.5cqw;
    border-radius: 2.5cqw;
    background: var(--cd-panel);
    border: 1px solid var(--cd-accent);
    box-shadow: 0 0 10px color-mix(in srgb, var(--cd-accent) 35%, transparent);
    text-align: center;
}
.cd-units { display: flex; justify-content: center; align-items: flex-start; }
.cd-units[hidden], .cd-done[hidden] { display: none; }
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-digits { display: flex; gap: .8cqw; }
.cd-digit {
    position: relative;
    width: 9.2cqw; height: 13cqw;
    display: flex; align-items: center; justify-content: center;
    font: 400 11.5cqw/1 "Segoe UI", Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    color: var(--cd-text);
    background: var(--cd-tile);
    border-radius: 1.4cqw;
    box-shadow: inset 0 -.4cqw 0 rgba(0, 0, 0, .25);
}
.cd-digit::after {                      /* feine Teilungslinie wie bei einer Klappanzeige */
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55);
}
.cd-wide .cd-digit { width: 8cqw; font-size: 10cqw; }
.cd-colon {
    width: 3.2cqw; height: 13cqw; display: flex; align-items: center; justify-content: center;
    font: 400 9cqw/1 "Segoe UI", Arial, sans-serif; color: var(--cd-text);
}
.cd-label { margin-top: 1.4cqw; font-size: max(10px, 3.4cqw); font-weight: 700; color: var(--cd-text); letter-spacing: .02em; }
.cd-done {
    padding: 4cqw 2cqw; font-size: max(16px, 7cqw); font-weight: 800; color: var(--cd-text);
    text-shadow: 0 0 10px var(--cd-accent);
}

/* Bild unter dem Countdown (Event-Bild) */
.cd-img { display: block; width: 100%; height: auto; margin-top: 10px; border-radius: 2.5cqw; border: 1px solid var(--cd-accent); box-shadow: 0 0 10px color-mix(in srgb, var(--cd-accent) 35%, transparent); }
.cd-img[hidden] { display: none; }

/* Zusatz-Counter unter dem Bild: gleiche Kacheln wie der Haupt-Countdown, untereinander */
.cd-sub { container-type: inline-size; margin-top: 14px; }

/* ================= Grafische Hintergründe (Themen) =================
   Weihnachten, Silvester, Halloween, Ostern, Valentinstag, Geburtstag, Sommer – oder ein eigenes Bild.
   Alles reines CSS/SVG (keine externen Dateien); Bewegung nur mit Klasse .cd-anim und nicht bei „weniger Bewegung“. */
.cd-bg { --cd-dimlayer: linear-gradient(rgba(0,0,0,var(--cd-dim,.3)), rgba(0,0,0,var(--cd-dim,.3))); }
.cd-bg .cd-inner { position: relative; overflow: hidden; isolation: isolate; background-color: var(--cd-panel); background-repeat: no-repeat; }
.cd-bg .cd-inner > * { position: relative; z-index: 1; }
.cd-bg .cd-inner::before, .cd-bg .cd-inner::after { content: ""; position: absolute; z-index: 0; pointer-events: none; background-repeat: repeat; }
.cd-bg .cd-digit { background: color-mix(in srgb, var(--cd-tile) 84%, transparent); }
.cd-bg .cd-label, .cd-bg .cd-colon, .cd-bg .cd-done { text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }

@keyframes cd-fall  { to { transform: translateY(var(--cd-th, 200px)); } }
@keyframes cd-rise  { to { transform: translateY(calc(-1 * var(--cd-th, 200px))); } }
@keyframes cd-slide { to { transform: translateX(var(--cd-tx, 120px)); } }
@keyframes cd-pulse { 0%, 100% { opacity: 0; transform: scale(.82); } 45%, 60% { opacity: 1; transform: scale(1); } }
@keyframes cd-glow  { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes cd-fly   { 0% { transform: translate(0, 0); } 25% { transform: translate(26cqw, -8px); } 50% { transform: translate(55cqw, 6px); } 75% { transform: translate(82cqw, -6px); } 100% { transform: translate(115cqw, 0); } }
@keyframes cd-cloud { from { transform: translateX(0); } to { transform: translateX(125cqw); } }

/* ---- Eigenes Bild als Hintergrund ---- */
.cd-bg-custom > .cd-inner { background-image: var(--cd-dimlayer), var(--cd-bgimg); background-size: cover; background-position: center; }
.cd-bg-custom > .cd-inner::before, .cd-bg-custom > .cd-inner::after { display: none; }

/* ---- Weihnachten: Lichterkette + Schnee ---- */
.cd-bg-weihnachten > .cd-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22' %3E%3Cpath d='M0 4 Q24 12 48 4 T96 4' fill='none' stroke='%231d1d1d' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='11' r='4.2' fill='%23ff5252'/%3E%3Ccircle cx='36' cy='13' r='4.2' fill='%23ffd54a'/%3E%3Ccircle cx='60' cy='11' r='4.2' fill='%234caf50'/%3E%3Ccircle cx='84' cy='13' r='4.2' fill='%2342a5f5'/%3E%3C/svg%3E"), var(--cd-dimlayer), linear-gradient(165deg, #0d4a34 0%, #14603f 45%, #8c1424 100%);
    background-size: 96px 22px, 100% 100%, 100% 100%; background-repeat: repeat-x, no-repeat, no-repeat; background-position: 0 0, 0 0, 0 0;
}
.cd-bg-weihnachten > .cd-inner::before { inset: -200px 0 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200' %3E%3Ccircle cx='66' cy='33' r='2.0' fill='%23fff' fill-opacity='0.58'/%3E%3Ccircle cx='107' cy='74' r='1.3' fill='%23fff' fill-opacity='0.75'/%3E%3Ccircle cx='11' cy='87' r='1.3' fill='%23fff' fill-opacity='0.59'/%3E%3Ccircle cx='86' cy='163' r='1.3' fill='%23fff' fill-opacity='0.64'/%3E%3Ccircle cx='124' cy='186' r='1.9' fill='%23fff' fill-opacity='0.71'/%3E%3Ccircle cx='191' cy='13' r='2.2' fill='%23fff' fill-opacity='0.67'/%3E%3Ccircle cx='32' cy='27' r='1.6' fill='%23fff' fill-opacity='0.88'/%3E%3Ccircle cx='39' cy='116' r='2.0' fill='%23fff' fill-opacity='0.70'/%3E%3Ccircle cx='109' cy='16' r='1.3' fill='%23fff' fill-opacity='0.63'/%3E%3Ccircle cx='135' cy='86' r='1.6' fill='%23fff' fill-opacity='0.78'/%3E%3Ccircle cx='91' cy='62' r='2.2' fill='%23fff' fill-opacity='0.83'/%3E%3Ccircle cx='51' cy='114' r='1.8' fill='%23fff' fill-opacity='0.90'/%3E%3Ccircle cx='144' cy='59' r='2.4' fill='%23fff' fill-opacity='0.60'/%3E%3Ccircle cx='84' cy='149' r='1.4' fill='%23fff' fill-opacity='0.75'/%3E%3C/svg%3E"); background-size: 200px 200px; --cd-th: 200px; }
.cd-bg-weihnachten > .cd-inner::after  { inset: -300px 0 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300' %3E%3Ccircle cx='15' cy='199' r='3.8' fill='%23fff' fill-opacity='0.55'/%3E%3Ccircle cx='260' cy='96' r='3.7' fill='%23fff' fill-opacity='0.56'/%3E%3Ccircle cx='173' cy='137' r='3.9' fill='%23fff' fill-opacity='0.68'/%3E%3Ccircle cx='142' cy='198' r='2.5' fill='%23fff' fill-opacity='0.60'/%3E%3Ccircle cx='193' cy='294' r='3.9' fill='%23fff' fill-opacity='0.45'/%3E%3Ccircle cx='117' cy='199' r='2.4' fill='%23fff' fill-opacity='0.51'/%3E%3Ccircle cx='53' cy='38' r='2.5' fill='%23fff' fill-opacity='0.62'/%3E%3Ccircle cx='42' cy='76' r='3.1' fill='%23fff' fill-opacity='0.65'/%3E%3Ccircle cx='28' cy='135' r='3.4' fill='%23fff' fill-opacity='0.66'/%3E%3C/svg%3E"); background-size: 300px 300px; --cd-th: 300px; opacity: .9; }
.cd-anim.cd-bg-weihnachten > .cd-inner::before { animation: cd-fall 9s linear infinite; }
.cd-anim.cd-bg-weihnachten > .cd-inner::after  { animation: cd-fall 16s linear infinite; }

/* ---- Silvester: Nachthimmel, Konfetti, Feuerwerk ---- */
.cd-bg-silvester > .cd-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='140' viewBox='0 0 180 140' %3E%3Ccircle cx='157' cy='31' r='0.8' fill='%23fff' fill-opacity='0.54'/%3E%3Ccircle cx='72' cy='46' r='0.9' fill='%23fff' fill-opacity='0.54'/%3E%3Ccircle cx='41' cy='44' r='0.6' fill='%23fff' fill-opacity='0.70'/%3E%3Ccircle cx='165' cy='89' r='0.7' fill='%23fff' fill-opacity='0.46'/%3E%3Ccircle cx='28' cy='66' r='0.9' fill='%23fff' fill-opacity='0.39'/%3E%3Ccircle cx='155' cy='26' r='0.9' fill='%23fff' fill-opacity='0.45'/%3E%3Ccircle cx='125' cy='134' r='0.7' fill='%23fff' fill-opacity='0.54'/%3E%3Ccircle cx='66' cy='17' r='0.7' fill='%23fff' fill-opacity='0.50'/%3E%3Ccircle cx='83' cy='96' r='0.7' fill='%23fff' fill-opacity='0.58'/%3E%3Ccircle cx='55' cy='130' r='0.6' fill='%23fff' fill-opacity='0.76'/%3E%3Ccircle cx='44' cy='119' r='0.6' fill='%23fff' fill-opacity='0.47'/%3E%3Ccircle cx='159' cy='29' r='1.0' fill='%23fff' fill-opacity='0.72'/%3E%3Ccircle cx='149' cy='93' r='1.1' fill='%23fff' fill-opacity='0.53'/%3E%3Ccircle cx='96' cy='72' r='0.8' fill='%23fff' fill-opacity='0.50'/%3E%3Ccircle cx='52' cy='109' r='0.6' fill='%23fff' fill-opacity='0.75'/%3E%3Ccircle cx='51' cy='7' r='0.6' fill='%23fff' fill-opacity='0.47'/%3E%3Ccircle cx='108' cy='34' r='0.7' fill='%23fff' fill-opacity='0.40'/%3E%3Ccircle cx='7' cy='134' r='0.8' fill='%23fff' fill-opacity='0.76'/%3E%3Ccircle cx='111' cy='11' r='0.9' fill='%23fff' fill-opacity='0.77'/%3E%3Ccircle cx='170' cy='39' r='0.6' fill='%23fff' fill-opacity='0.77'/%3E%3Ccircle cx='112' cy='74' r='0.6' fill='%23fff' fill-opacity='0.55'/%3E%3Ccircle cx='119' cy='40' r='1.0' fill='%23fff' fill-opacity='0.80'/%3E%3C/svg%3E"), var(--cd-dimlayer), radial-gradient(ellipse at 50% 125%, #26357f 0%, #0b1038 55%, #04050f 100%);
    background-size: 180px 140px, 100% 100%, 100% 100%; background-repeat: repeat, no-repeat, no-repeat; background-position: 0 0, 0 0, 0 0;
}
.cd-bg-silvester > .cd-inner::before { inset: -220px 0 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' %3E%3Crect x='176' y='186' width='3.8' height='6.7' rx='1' fill='%235ad6ff' transform='rotate(65 176 186)'/%3E%3Crect x='205' y='37' width='3.5' height='5.9' rx='1' fill='%235ad6ff' transform='rotate(42 205 37)'/%3E%3Crect x='179' y='44' width='3.8' height='5.6' rx='1' fill='%23ff7ab8' transform='rotate(96 179 44)'/%3E%3Crect x='204' y='150' width='4.5' height='7.5' rx='1' fill='%23ffd700' transform='rotate(122 204 150)'/%3E%3Crect x='101' y='187' width='5.9' height='7.7' rx='1' fill='%235ad6ff' transform='rotate(101 101 187)'/%3E%3Crect x='89' y='28' width='4.9' height='5.2' rx='1' fill='%23e8e8f0' transform='rotate(12 89 28)'/%3E%3Crect x='98' y='29' width='4.8' height='5.4' rx='1' fill='%23ffd700' transform='rotate(102 98 29)'/%3E%3Crect x='203' y='134' width='3.2' height='5.8' rx='1' fill='%23ff7ab8' transform='rotate(68 203 134)'/%3E%3Crect x='205' y='131' width='4.4' height='5.5' rx='1' fill='%235ad6ff' transform='rotate(88 205 131)'/%3E%3Crect x='106' y='71' width='3.4' height='8.0' rx='1' fill='%235ad6ff' transform='rotate(133 106 71)'/%3E%3Crect x='178' y='40' width='3.1' height='8.8' rx='1' fill='%23e8e8f0' transform='rotate(95 178 40)'/%3E%3Crect x='150' y='196' width='5.3' height='6.2' rx='1' fill='%23ffd700' transform='rotate(116 150 196)'/%3E%3Crect x='151' y='60' width='4.1' height='5.7' rx='1' fill='%23ff7ab8' transform='rotate(139 151 60)'/%3E%3Crect x='138' y='134' width='5.4' height='8.0' rx='1' fill='%23e8e8f0' transform='rotate(35 138 134)'/%3E%3Crect x='176' y='160' width='3.7' height='7.1' rx='1' fill='%23ffd700' transform='rotate(64 176 160)'/%3E%3Crect x='212' y='170' width='4.4' height='5.8' rx='1' fill='%23ff7ab8' transform='rotate(109 212 170)'/%3E%3C/svg%3E"); background-size: 220px 220px; --cd-th: 220px; }
.cd-bg-silvester > .cd-inner::after  { inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200' viewBox='0 0 300 200' preserveAspectRatio='xMidYMid slice'%3E%3Ccircle cx='55' cy='55' r='2.4' fill='%23ffd700'/%3E%3Cline x1='66.4' y1='55.0' x2='85.0' y2='55.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='85.0' cy='55.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='64.9' y1='60.7' x2='81.0' y2='70.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='81.0' cy='70.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='60.7' y1='64.9' x2='70.0' y2='81.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='70.0' cy='81.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='55.0' y1='66.4' x2='55.0' y2='85.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='55.0' cy='85.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='49.3' y1='64.9' x2='40.0' y2='81.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='40.0' cy='81.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='45.1' y1='60.7' x2='29.0' y2='70.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='29.0' cy='70.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='43.6' y1='55.0' x2='25.0' y2='55.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='25.0' cy='55.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='45.1' y1='49.3' x2='29.0' y2='40.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='29.0' cy='40.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='49.3' y1='45.1' x2='40.0' y2='29.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='40.0' cy='29.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='55.0' y1='43.6' x2='55.0' y2='25.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='55.0' cy='25.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='60.7' y1='45.1' x2='70.0' y2='29.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='70.0' cy='29.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='64.9' y1='49.3' x2='81.0' y2='40.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='81.0' cy='40.0' r='1.7' fill='%23ffd700'/%3E%3Ccircle cx='235' cy='70' r='2.4' fill='%23ff6fa8'/%3E%3Cline x1='248.7' y1='70.0' x2='271.0' y2='70.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='271.0' cy='70.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='246.8' y1='76.8' x2='266.2' y2='88.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='266.2' cy='88.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='241.8' y1='81.8' x2='253.0' y2='101.2' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='253.0' cy='101.2' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='235.0' y1='83.7' x2='235.0' y2='106.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='235.0' cy='106.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='228.2' y1='81.8' x2='217.0' y2='101.2' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='217.0' cy='101.2' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='223.2' y1='76.8' x2='203.8' y2='88.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='203.8' cy='88.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='221.3' y1='70.0' x2='199.0' y2='70.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='199.0' cy='70.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='223.2' y1='63.2' x2='203.8' y2='52.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='203.8' cy='52.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='228.2' y1='58.2' x2='217.0' y2='38.8' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='217.0' cy='38.8' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='235.0' y1='56.3' x2='235.0' y2='34.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='235.0' cy='34.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='241.8' y1='58.2' x2='253.0' y2='38.8' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='253.0' cy='38.8' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='246.8' y1='63.2' x2='266.2' y2='52.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='266.2' cy='52.0' r='1.7' fill='%23ff6fa8'/%3E%3Ccircle cx='150' cy='38' r='2.4' fill='%235ad6ff'/%3E%3Cline x1='158.4' y1='38.0' x2='172.0' y2='38.0' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='172.0' cy='38.0' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='157.2' y1='42.2' x2='169.1' y2='49.0' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='169.1' cy='49.0' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='154.2' y1='45.2' x2='161.0' y2='57.1' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='161.0' cy='57.1' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='150.0' y1='46.4' x2='150.0' y2='60.0' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='150.0' cy='60.0' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='145.8' y1='45.2' x2='139.0' y2='57.1' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='139.0' cy='57.1' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='142.8' y1='42.2' x2='130.9' y2='49.0' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='130.9' cy='49.0' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='141.6' y1='38.0' x2='128.0' y2='38.0' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='128.0' cy='38.0' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='142.8' y1='33.8' x2='130.9' y2='27.0' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='130.9' cy='27.0' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='145.8' y1='30.8' x2='139.0' y2='18.9' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='139.0' cy='18.9' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='150.0' y1='29.6' x2='150.0' y2='16.0' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='150.0' cy='16.0' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='154.2' y1='30.8' x2='161.0' y2='18.9' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='161.0' cy='18.9' r='1.7' fill='%235ad6ff'/%3E%3Cline x1='157.2' y1='33.8' x2='169.1' y2='27.0' stroke='%235ad6ff' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='169.1' cy='27.0' r='1.7' fill='%235ad6ff'/%3E%3Ccircle cx='262' cy='150' r='2.4' fill='%23ffd700'/%3E%3Cline x1='269.6' y1='150.0' x2='282.0' y2='150.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='282.0' cy='150.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='268.6' y1='153.8' x2='279.3' y2='160.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='279.3' cy='160.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='265.8' y1='156.6' x2='272.0' y2='167.3' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='272.0' cy='167.3' r='1.7' fill='%23ffd700'/%3E%3Cline x1='262.0' y1='157.6' x2='262.0' y2='170.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='262.0' cy='170.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='258.2' y1='156.6' x2='252.0' y2='167.3' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='252.0' cy='167.3' r='1.7' fill='%23ffd700'/%3E%3Cline x1='255.4' y1='153.8' x2='244.7' y2='160.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='244.7' cy='160.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='254.4' y1='150.0' x2='242.0' y2='150.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='242.0' cy='150.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='255.4' y1='146.2' x2='244.7' y2='140.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='244.7' cy='140.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='258.2' y1='143.4' x2='252.0' y2='132.7' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='252.0' cy='132.7' r='1.7' fill='%23ffd700'/%3E%3Cline x1='262.0' y1='142.4' x2='262.0' y2='130.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='262.0' cy='130.0' r='1.7' fill='%23ffd700'/%3E%3Cline x1='265.8' y1='143.4' x2='272.0' y2='132.7' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='272.0' cy='132.7' r='1.7' fill='%23ffd700'/%3E%3Cline x1='268.6' y1='146.2' x2='279.3' y2='140.0' stroke='%23ffd700' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='279.3' cy='140.0' r='1.7' fill='%23ffd700'/%3E%3Ccircle cx='40' cy='150' r='2.4' fill='%23ff6fa8'/%3E%3Cline x1='46.8' y1='150.0' x2='58.0' y2='150.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='58.0' cy='150.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='45.9' y1='153.4' x2='55.6' y2='159.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='55.6' cy='159.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='43.4' y1='155.9' x2='49.0' y2='165.6' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='49.0' cy='165.6' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='40.0' y1='156.8' x2='40.0' y2='168.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='40.0' cy='168.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='36.6' y1='155.9' x2='31.0' y2='165.6' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='31.0' cy='165.6' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='34.1' y1='153.4' x2='24.4' y2='159.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='24.4' cy='159.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='33.2' y1='150.0' x2='22.0' y2='150.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='22.0' cy='150.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='34.1' y1='146.6' x2='24.4' y2='141.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='24.4' cy='141.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='36.6' y1='144.1' x2='31.0' y2='134.4' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='31.0' cy='134.4' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='40.0' y1='143.2' x2='40.0' y2='132.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='40.0' cy='132.0' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='43.4' y1='144.1' x2='49.0' y2='134.4' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='49.0' cy='134.4' r='1.7' fill='%23ff6fa8'/%3E%3Cline x1='45.9' y1='146.6' x2='55.6' y2='141.0' stroke='%23ff6fa8' stroke-width='1.6' stroke-linecap='round' stroke-opacity='.9'/%3E%3Ccircle cx='55.6' cy='141.0' r='1.7' fill='%23ff6fa8'/%3E%3C/svg%3E"); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: .9; }
.cd-anim.cd-bg-silvester > .cd-inner::before { animation: cd-fall 12s linear infinite; }
.cd-anim.cd-bg-silvester > .cd-inner::after  { animation: cd-pulse 3.6s ease-in-out infinite; }

/* ---- Halloween: Mond, Netz, Fledermäuse ---- */
.cd-bg-halloween > .cd-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 70 70' %3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.35' stroke-width='1'%3E%3Cpath d='M0 0L70 70M0 0L70 30M0 0L30 70M0 0L70 0M0 0L0 70'/%3E%3Cpath d='M14 0Q12 12 0 14M28 0Q24 24 0 28M42 0Q36 36 0 42M56 0Q48 48 0 56'/%3E%3C/g%3E%3C/svg%3E"), radial-gradient(circle at 86% 20%, #ffe9a8 0 15px, rgba(255,233,168,.28) 16px 30px, transparent 31px), var(--cd-dimlayer), linear-gradient(180deg, #120a04 0%, #3a1a06 60%, #7a3300 100%);
    background-size: 70px 70px, 100% 100%, 100% 100%, 100% 100%; background-repeat: no-repeat; background-position: 0 0, 0 0, 0 0, 0 0;
}
.cd-bg-halloween > .cd-inner::before { top: 9%; left: -60px; width: 60px; height: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30' %3E%3Cpath d='M30 9c-1.6-3.2-4.6-4.6-8-4.4 1.2 1.6 1.4 3.4.8 5.2C19 8.8 13 9.4 6 14c4.4-.4 7 .8 8.6 3.4 1.8-1.6 3.8-2.4 6-2.2l1.6 4.2 1.6-3.2 2.2 5 2.2-5 1.6 3.2 1.6-4.2c2.2-.2 4.2.6 6 2.2C37 14.8 39.6 13.6 54 14c-7-4.6-13-5.2-16.800-3.2-.6-1.800-.4-3.600.8-5.2-3.400-.2-6.400 1.200-8 4.400z' fill='%230b0b0b'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.cd-bg-halloween > .cd-inner::after  { top: 66%; left: -44px; width: 40px; height: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30' %3E%3Cpath d='M30 9c-1.6-3.2-4.6-4.6-8-4.4 1.2 1.6 1.4 3.4.8 5.2C19 8.8 13 9.4 6 14c4.4-.4 7 .8 8.6 3.4 1.8-1.6 3.8-2.4 6-2.2l1.6 4.2 1.6-3.2 2.2 5 2.2-5 1.6 3.2 1.6-4.2c2.2-.2 4.2.6 6 2.2C37 14.8 39.6 13.6 54 14c-7-4.6-13-5.2-16.800-3.2-.6-1.800-.4-3.600.8-5.2-3.400-.2-6.400 1.200-8 4.400z' fill='%230b0b0b'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.cd-anim.cd-bg-halloween > .cd-inner::before { animation: cd-fly 9s linear infinite; }
.cd-anim.cd-bg-halloween > .cd-inner::after  { animation: cd-fly 13s linear infinite -5s; }

/* ---- Ostern: Himmel, Wiese, Eier, Wolken ---- */
.cd-bg-ostern > .cd-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='46' viewBox='0 0 120 46' %3E%3Cpath d='M0 46V30l5 -10 4 12 5 -16 4 14 5 -8 4 10 5 -14 4 12 5 -10 4 12 5 -16 4 14 5 -8 4 10 5 -12 4 12 5 -10 4 10 5 -14 4 12 5 -8 4 8V46z' fill='%235fae45'/%3E%3Cellipse cx='26' cy='31' rx='9' ry='12' fill='%23ff9ec4'/%3E%3Cpath d='M17.5 30Q26 34 34.5 30' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M19 36Q26 40 33 36' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Cellipse cx='78' cy='33' rx='9' ry='12' fill='%23ffd86b'/%3E%3Cpath d='M69.5 32Q78 36 86.5 32' fill='none' stroke='%23e8743b' stroke-width='2'/%3E%3Cpath d='M71 38Q78 42 85 38' fill='none' stroke='%23e8743b' stroke-width='1.6'/%3E%3Cellipse cx='104' cy='34' rx='9' ry='12' fill='%238fd3ff'/%3E%3Cpath d='M95.5 33Q104 37 112.5 33' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M97 39Q104 43 111 39' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E"), var(--cd-dimlayer), linear-gradient(180deg, #a8dcff 0%, #d7f1c4 62%, #83c96b 100%);
    background-size: 120px 46px, 100% 100%, 100% 100%; background-repeat: repeat-x, no-repeat, no-repeat; background-position: 0 100%, 0 0, 0 0;
}
.cd-bg-ostern > .cd-inner::before { top: 8%; left: -90px; width: 90px; height: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='34' viewBox='0 0 90 34' %3E%3Cg fill='%23fff' fill-opacity='.85'%3E%3Cellipse cx='28' cy='22' rx='22' ry='10'/%3E%3Cellipse cx='50' cy='15' rx='18' ry='12'/%3E%3Cellipse cx='64' cy='23' rx='20' ry='9'/%3E%3C/g%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.cd-bg-ostern > .cd-inner::after  { display: none; }
.cd-anim.cd-bg-ostern > .cd-inner::before { animation: cd-cloud 38s linear infinite; }

/* ---- Valentinstag: aufsteigende Herzen ---- */
.cd-bg-valentinstag > .cd-inner {
    background-image: var(--cd-dimlayer), linear-gradient(160deg, #5c0a2e 0%, #b3124a 55%, #ff5c8a 100%);
    background-size: 100% 100%, 100% 100%; background-repeat: no-repeat;
}
.cd-bg-valentinstag > .cd-inner::before { inset: 0 0 -200px 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200' %3E%3Cpath transform='translate(14 30) scale(1.0)' d='M12 21C12 21 2 14.5 2 7.8 2 4.6 4.5 2.5 7.2 2.5c2 0 3.7 1.1 4.8 2.8C13.1 3.6 14.8 2.5 16.8 2.5 19.5 2.5 22 4.6 22 7.8 22 14.5 12 21 12 21Z' fill='%23ff9fbd' fill-opacity='0.7'/%3E%3Cpath transform='translate(100 90) scale(1.5)' d='M12 21C12 21 2 14.5 2 7.8 2 4.6 4.5 2.5 7.2 2.5c2 0 3.7 1.1 4.8 2.8C13.1 3.6 14.8 2.5 16.8 2.5 19.5 2.5 22 4.6 22 7.8 22 14.5 12 21 12 21Z' fill='%23ffd0de' fill-opacity='0.55'/%3E%3Cpath transform='translate(160 20) scale(0.8)' d='M12 21C12 21 2 14.5 2 7.8 2 4.6 4.5 2.5 7.2 2.5c2 0 3.7 1.1 4.8 2.8C13.1 3.6 14.8 2.5 16.8 2.5 19.5 2.5 22 4.6 22 7.8 22 14.5 12 21 12 21Z' fill='%23ff7aa5' fill-opacity='0.75'/%3E%3Cpath transform='translate(50 140) scale(1.2)' d='M12 21C12 21 2 14.5 2 7.8 2 4.6 4.5 2.5 7.2 2.5c2 0 3.7 1.1 4.8 2.8C13.1 3.6 14.8 2.5 16.8 2.5 19.5 2.5 22 4.6 22 7.8 22 14.5 12 21 12 21Z' fill='%23ffc2d6' fill-opacity='0.6'/%3E%3Cpath transform='translate(150 150) scale(0.9)' d='M12 21C12 21 2 14.5 2 7.8 2 4.6 4.5 2.5 7.2 2.5c2 0 3.7 1.1 4.8 2.8C13.1 3.6 14.8 2.5 16.8 2.5 19.5 2.5 22 4.6 22 7.8 22 14.5 12 21 12 21Z' fill='%23ff9fbd' fill-opacity='0.7'/%3E%3C/svg%3E"); background-size: 200px 200px; --cd-th: 200px; }
.cd-bg-valentinstag > .cd-inner::after  { inset: 0 0 -280px 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280' %3E%3Cpath transform='translate(40 60) scale(2.2)' d='M12 21C12 21 2 14.5 2 7.8 2 4.6 4.5 2.5 7.2 2.5c2 0 3.7 1.1 4.8 2.8C13.1 3.6 14.8 2.5 16.8 2.5 19.5 2.5 22 4.6 22 7.8 22 14.5 12 21 12 21Z' fill='%23ff5c8a' fill-opacity='0.35'/%3E%3Cpath transform='translate(190 170) scale(2.8)' d='M12 21C12 21 2 14.5 2 7.8 2 4.6 4.5 2.5 7.2 2.5c2 0 3.7 1.1 4.8 2.8C13.1 3.6 14.8 2.5 16.8 2.5 19.5 2.5 22 4.6 22 7.8 22 14.5 12 21 12 21Z' fill='%23ff86a9' fill-opacity='0.3'/%3E%3Cpath transform='translate(120 230) scale(1.8)' d='M12 21C12 21 2 14.5 2 7.8 2 4.6 4.5 2.5 7.2 2.5c2 0 3.7 1.1 4.8 2.8C13.1 3.6 14.8 2.5 16.8 2.5 19.5 2.5 22 4.6 22 7.8 22 14.5 12 21 12 21Z' fill='%23ffb3c8' fill-opacity='0.35'/%3E%3C/svg%3E"); background-size: 280px 280px; --cd-th: 280px; }
.cd-anim.cd-bg-valentinstag > .cd-inner::before { animation: cd-rise 14s linear infinite; }
.cd-anim.cd-bg-valentinstag > .cd-inner::after  { animation: cd-rise 24s linear infinite; }

/* ---- Geburtstag / Party: Wimpelkette, Konfetti, Luftballons ---- */
.cd-bg-geburtstag > .cd-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30' %3E%3Cpath d='M0 3Q30 11 60 3T120 3' fill='none' stroke='%23f5f5f5' stroke-width='1.4'/%3E%3Cpath d='M8 6L22 6L15 24Z' fill='%23ef476f'/%3E%3Cpath d='M38 8L52 8L45 26Z' fill='%23ffd166'/%3E%3Cpath d='M68 6L82 6L75 24Z' fill='%2306d6a0'/%3E%3Cpath d='M98 8L112 8L105 26Z' fill='%234cc9f0'/%3E%3C/svg%3E"), var(--cd-dimlayer), linear-gradient(160deg, #2b1055 0%, #7a2ea8 55%, #ff5d9e 100%);
    background-size: 120px 30px, 100% 100%, 100% 100%; background-repeat: repeat-x, no-repeat, no-repeat; background-position: 0 0, 0 0, 0 0;
}
.cd-bg-geburtstag > .cd-inner::before { inset: -220px 0 0 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' %3E%3Crect x='99' y='201' width='6.0' height='8.8' rx='1' fill='%2306d6a0' transform='rotate(66 99 201)'/%3E%3Crect x='27' y='104' width='4.0' height='6.9' rx='1' fill='%23ffffff' transform='rotate(177 27 104)'/%3E%3Crect x='181' y='106' width='5.0' height='8.2' rx='1' fill='%23ffd166' transform='rotate(15 181 106)'/%3E%3Crect x='195' y='169' width='5.3' height='6.9' rx='1' fill='%23ef476f' transform='rotate(32 195 169)'/%3E%3Crect x='24' y='203' width='5.2' height='6.9' rx='1' fill='%23ffd166' transform='rotate(134 24 203)'/%3E%3Crect x='157' y='41' width='3.4' height='5.6' rx='1' fill='%2306d6a0' transform='rotate(163 157 41)'/%3E%3Crect x='133' y='130' width='4.4' height='8.7' rx='1' fill='%23ffffff' transform='rotate(28 133 130)'/%3E%3Crect x='33' y='9' width='5.9' height='7.6' rx='1' fill='%2306d6a0' transform='rotate(95 33 9)'/%3E%3Crect x='96' y='187' width='5.5' height='5.8' rx='1' fill='%23ef476f' transform='rotate(45 96 187)'/%3E%3Crect x='110' y='165' width='4.0' height='7.2' rx='1' fill='%23ffd166' transform='rotate(150 110 165)'/%3E%3Crect x='195' y='80' width='4.4' height='7.3' rx='1' fill='%234cc9f0' transform='rotate(163 195 80)'/%3E%3Crect x='178' y='189' width='3.4' height='5.6' rx='1' fill='%234cc9f0' transform='rotate(92 178 189)'/%3E%3Crect x='168' y='133' width='5.3' height='5.6' rx='1' fill='%23ffffff' transform='rotate(25 168 133)'/%3E%3Crect x='157' y='122' width='4.0' height='7.1' rx='1' fill='%23ffd166' transform='rotate(100 157 122)'/%3E%3Crect x='190' y='18' width='3.6' height='5.2' rx='1' fill='%234cc9f0' transform='rotate(18 190 18)'/%3E%3Crect x='123' y='164' width='5.7' height='6.8' rx='1' fill='%23ffffff' transform='rotate(110 123 164)'/%3E%3Crect x='132' y='47' width='3.8' height='7.0' rx='1' fill='%23ffffff' transform='rotate(145 132 47)'/%3E%3Crect x='202' y='151' width='5.6' height='8.8' rx='1' fill='%23ffffff' transform='rotate(47 202 151)'/%3E%3C/svg%3E"); background-size: 220px 220px; --cd-th: 220px; }
.cd-bg-geburtstag > .cd-inner::after  { inset: 0 0 -240px 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' %3E%3Cellipse cx='40' cy='60' rx='11' ry='14' fill='%23ef476f'/%3E%3Cpath d='M40 74l-3 4h6z' fill='%23ef476f'/%3E%3Cpath d='M40 78q-5 10 0 20t0 20' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1'/%3E%3Cellipse cx='36' cy='55' rx='2.6' ry='4' fill='%23fff' fill-opacity='.4'/%3E%3Cellipse cx='130' cy='150' rx='11' ry='14' fill='%23ffd166'/%3E%3Cpath d='M130 164l-3 4h6z' fill='%23ffd166'/%3E%3Cpath d='M130 168q-5 10 0 20t0 20' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1'/%3E%3Cellipse cx='126' cy='145' rx='2.6' ry='4' fill='%23fff' fill-opacity='.4'/%3E%3Cellipse cx='200' cy='70' rx='11' ry='14' fill='%234cc9f0'/%3E%3Cpath d='M200 84l-3 4h6z' fill='%234cc9f0'/%3E%3Cpath d='M200 88q-5 10 0 20t0 20' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1'/%3E%3Cellipse cx='196' cy='65' rx='2.6' ry='4' fill='%23fff' fill-opacity='.4'/%3E%3Cellipse cx='70' cy='200' rx='11' ry='14' fill='%2306d6a0'/%3E%3Cpath d='M70 214l-3 4h6z' fill='%2306d6a0'/%3E%3Cpath d='M70 218q-5 10 0 20t0 20' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1'/%3E%3Cellipse cx='66' cy='195' rx='2.6' ry='4' fill='%23fff' fill-opacity='.4'/%3E%3C/svg%3E"); background-size: 240px 240px; --cd-th: 240px; opacity: .85; }
.cd-anim.cd-bg-geburtstag > .cd-inner::before { animation: cd-fall 11s linear infinite; }
.cd-anim.cd-bg-geburtstag > .cd-inner::after  { animation: cd-rise 26s linear infinite; }

/* ---- Sommer: Sonne und Wellen ---- */
.cd-bg-sommer > .cd-inner {
    background-image: var(--cd-dimlayer), linear-gradient(180deg, #1e90e8 0%, #6fcaf5 58%, #ffe7a0 100%);
    background-size: 100% 100%, 100% 100%; background-repeat: no-repeat;
}
.cd-bg-sommer > .cd-inner::before { left: -120px; right: 0; bottom: 0; height: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22' %3E%3Cpath d='M0 12Q15 2 30 12T60 12T90 12T120 12V22H0Z' fill='%231b9ad6' fill-opacity='.85'/%3E%3Cpath d='M0 16Q15 8 30 16T60 16T90 16T120 16V22H0Z' fill='%230e7fb8'/%3E%3C/svg%3E"); background-size: 120px 22px; background-repeat: repeat-x; --cd-tx: 120px; }
.cd-bg-sommer > .cd-inner::after  { inset: 0; background-image: radial-gradient(circle at 88% 18%, #fffbd0 0 12px, rgba(255,236,130,.55) 13px 24px, rgba(255,236,130,0) 46px); background-repeat: no-repeat; transform-origin: 88% 18%; }
.cd-anim.cd-bg-sommer > .cd-inner::before { animation: cd-slide 5s linear infinite; }
.cd-anim.cd-bg-sommer > .cd-inner::after  { animation: cd-glow 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .cd-anim .cd-inner::before, .cd-anim .cd-inner::after { animation: none !important; }
    .cd-anim.cd-bg-silvester > .cd-inner::after { opacity: .8; }
}

/* ---- Karaoke: Bühne, Scheinwerfer, Musiknoten, Mikrofon ---- */
@keyframes cd-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.cd-bg-karaoke > .cd-inner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='76' viewBox='0 0 48 76' %3E%3Ccircle cx='24' cy='16' r='13' fill='%23d9dcff' fill-opacity='.7'/%3E%3Cpath d='M13 12h22M12 17h24M14 22h20' stroke='%234a3a7a' stroke-width='1.4' stroke-opacity='.8' fill='none'/%3E%3Cpath d='M19 28h10l-3 40h-4z' fill='%23b9bdf0' fill-opacity='.6'/%3E%3Crect x='20' y='67' width='8' height='6' rx='2' fill='%23b9bdf0' fill-opacity='.6'/%3E%3C/svg%3E"), radial-gradient(ellipse at 50% 112%, rgba(255,110,220,.6) 0%, rgba(255,110,220,0) 62%), var(--cd-dimlayer), linear-gradient(180deg, #14052e 0%, #3b0a63 55%, #7d1a8c 100%);
    background-size: 36px 57px, 100% 100%, 100% 100%, 100% 100%; background-repeat: no-repeat; background-position: 97% 96%, 0 0, 0 0, 0 0;
}
.cd-bg-karaoke > .cd-inner::before { inset: 0 0 -220px 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' %3E%3Cg transform='translate(30 60) scale(1.1)' fill='%23fff' fill-opacity='0.75'%3E%3Cellipse cx='0' cy='0' rx='5.2' ry='3.8' transform='rotate(-22)'/%3E%3Crect x='3.6' y='-20' width='1.9' height='20'/%3E%3Cpath d='M5.5 -20q9 3 6.5 12q-1.5 -5.5 -6.5 -6.5z'/%3E%3C/g%3E%3Cg transform='translate(120 120) scale(1.0)' fill='%23ffd1f4' fill-opacity='0.7'%3E%3Cellipse cx='0' cy='0' rx='5' ry='3.6' transform='rotate(-22)'/%3E%3Cellipse cx='16' cy='-3' rx='5' ry='3.6' transform='rotate(-22 16 -3)'/%3E%3Crect x='3.4' y='-21' width='1.8' height='21'/%3E%3Crect x='19.4' y='-24' width='1.8' height='21'/%3E%3Cpath d='M3.4 -21L21.2 -24.5V-19.5L3.4 -16Z'/%3E%3C/g%3E%3Cg transform='translate(180 40) scale(0.9)' fill='%239fe8ff' fill-opacity='0.7'%3E%3Cellipse cx='0' cy='0' rx='5.2' ry='3.8' transform='rotate(-22)'/%3E%3Crect x='3.6' y='-20' width='1.9' height='20'/%3E%3Cpath d='M5.5 -20q9 3 6.5 12q-1.5 -5.5 -6.5 -6.5z'/%3E%3C/g%3E%3Cg transform='translate(70 190) scale(1.0)' fill='%23ffe27a' fill-opacity='0.7'%3E%3Cellipse cx='0' cy='0' rx='5.2' ry='3.8' transform='rotate(-22)'/%3E%3Crect x='3.6' y='-20' width='1.9' height='20'/%3E%3Cpath d='M5.5 -20q9 3 6.5 12q-1.5 -5.5 -6.5 -6.5z'/%3E%3C/g%3E%3Cg transform='translate(170 200) scale(0.8)' fill='%23fff' fill-opacity='0.55'%3E%3Cellipse cx='0' cy='0' rx='5' ry='3.6' transform='rotate(-22)'/%3E%3Cellipse cx='16' cy='-3' rx='5' ry='3.6' transform='rotate(-22 16 -3)'/%3E%3Crect x='3.4' y='-21' width='1.8' height='21'/%3E%3Crect x='19.4' y='-24' width='1.8' height='21'/%3E%3Cpath d='M3.4 -21L21.2 -24.5V-19.5L3.4 -16Z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 220px 220px; --cd-th: 220px; opacity: .85; }
.cd-bg-karaoke > .cd-inner::after  { inset: -6% -8% 0 -8%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='200' viewBox='0 0 300 200' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='.42'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='m' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ff4fd8' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23ff4fd8' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%234fd8ff' stop-opacity='.45'/%3E%3Cstop offset='1' stop-color='%234fd8ff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='60,0 76,0 150,200 20,200' fill='url(%23m)'/%3E%3Cpolygon points='150,0 166,0 236,200 96,200' fill='url(%23g)'/%3E%3Cpolygon points='240,0 256,0 300,200 170,200' fill='url(%23c)'/%3E%3C/svg%3E"); background-size: 100% 100%; background-repeat: no-repeat; transform-origin: 50% 0; }
.cd-anim.cd-bg-karaoke > .cd-inner::before { animation: cd-rise 15s linear infinite; }
.cd-anim.cd-bg-karaoke > .cd-inner::after  { animation: cd-sway 6s ease-in-out infinite; }

/* Zusatz-Counter mit eigener Grafik innerhalb der Event-Box: Thema der äußeren Box gilt nur für deren eigene Kachel-Box (> .cd-inner) */
.cd-sub.cd-bg .cd-inner { position: relative; overflow: hidden; isolation: isolate; }
