/* Saison-Schmuck */

/* Grußzeile */
.saison-gruss {
	position: relative;
	z-index: 50;
	background: var(--saison-dunkel, #0f2440);
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	padding: 9px 44px;
	text-align: center;
}
.saison-gruss--neujahr {
	background: linear-gradient(90deg, var(--saison-dunkel, #0f2440), color-mix(in srgb, var(--saison-dunkel, #0f2440) 75%, #6a86b8));
}
.saison-gruss--ostern {
	background: #f3f7ee;
	color: #2d3b22;
	border-bottom: 1px solid #dfe8d4;
}
.saison-gruss__inner { max-width: 1200px; margin: 0 auto; }
.saison-gruss__icon { display: inline-block; vertical-align: -2px; margin-right: 6px; color: #f2b84b; }
.saison-gruss--ostern .saison-gruss__icon { color: var(--saison-akzent, #e8792b); }
.saison-gruss__text { font-weight: 600; }
.saison-gruss__info { opacity: .9; }
.saison-gruss__link { color: #f5c76a; font-weight: 600; text-decoration: none; white-space: nowrap; }
.saison-gruss__link:hover, .saison-gruss__link:focus { text-decoration: underline; color: #ffd98c; }
.saison-gruss__zu {
	position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
	background: transparent; border: 0; color: inherit; opacity: .7;
	font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.saison-gruss__zu:hover, .saison-gruss__zu:focus { opacity: 1; }
@media (max-width: 700px) {
	.saison-gruss { font-size: 13.5px; padding: 8px 38px 8px 14px; }
	.saison-gruss__info, .saison-gruss__link { display: block; }
}

/* Werkzeug in der Vorschau */
.saison-stueck.saison-stueck--ziehbar { pointer-events: auto; cursor: grab; outline: 1px dashed rgba(15, 36, 64, .35); outline-offset: 2px; }
.saison-stueck--gewaehlt { outline: 2px dashed rgba(232, 121, 43, .95); }
.saison-stueck--ziehbar:active { cursor: grabbing; }
.saison-werkzeug {
	position: fixed; right: 16px; bottom: 16px; z-index: 99999;
	background: #fff; color: #1d2b3a; border-radius: 10px; padding: 14px 16px; width: 270px; max-height: 80vh; overflow: auto;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .22); font: 14px/1.4 system-ui, sans-serif;
}
.saison-werkzeug p { margin: 4px 0 8px; color: #566577; font-size: 13px; }
.saison-werkzeug label { display: block; margin: 4px 0; }
.saison-werkzeug__zeile { padding: 3px 6px; border-radius: 6px; }
.saison-werkzeug__zeile span { cursor: pointer; }
.saison-werkzeug__zeile.ist-gewaehlt { background: #fdf0e6; }
.saison-werkzeug__regler { margin: 10px 0; padding-top: 8px; border-top: 1px solid #e6eaf0; }
.saison-werkzeug__regler em { font-style: normal; font-size: 13px; color: #566577; }
.saison-werkzeug input[type=range] { width: 100%; }
.saison-werkzeug button { margin-top: 6px; border: 0; border-radius: 6px; padding: 7px 12px; cursor: pointer; }
.saison-werkzeug__speichern { background: #0f2440; color: #fff; }
.saison-werkzeug__zurueck { background: #eef1f5; color: #1d2b3a; }
.saison-werkzeug__kopf { display: flex; align-items: center; gap: 6px; }
.saison-werkzeug__kopf strong { flex: 1; }
.saison-werkzeug .saison-werkzeug__kopf button { margin: 0; padding: 2px 8px; background: #eef1f5; color: #1d2b3a; }
.saison-werkzeug.ist-links { right: auto; left: 16px; }
.saison-werkzeug.ist-zu > :not(.saison-werkzeug__kopf) { display: none; }
.saison-werkzeug__fuss { margin-top: 10px !important; }

/* ================= Szenen ================= */
.saison-stueck { position: absolute; z-index: 20; pointer-events: none; transform-origin: 50% 50%; }
.saison-stueck > svg, .saison-teil-voll { display: block; width: 100%; height: auto; }
.saison-gruppe { position: relative; width: 100%; height: 0; }
.saison-teil { position: absolute; height: auto; display: block; max-width: none; }
.saison-stueck img { border: 0; box-shadow: none; margin: 0; padding: 0; background: none; }
/* weicher Schatten macht die Bilder „echt“ */
.saison-stueck .saison-teil, .saison-stueck .saison-teil-voll { filter: drop-shadow(0 6px 8px rgba(20, 24, 32, .22)); }

/* Mütze */
.saison-filz-bewegt { display: none; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
	.saison-filz-ruhig { display: none; }
	.saison-filz-bewegt { display: inline; }
	.saison-filz-bewegt image { animation: saison-filz 2.9s steps(12, end) infinite; }
}
@keyframes saison-filz { to { transform: translateX(-3756px); } }

/* Stern und Strohsterne schwingen sanft am Faden */
.saison-schwingt { transform-origin: 50% 0; animation: saison-schwingen 6s ease-in-out infinite; }
.saison-stern .saison-teil-voll { animation: saison-schwingen 6s ease-in-out infinite, saison-sternlicht 4s ease-in-out infinite alternate; }
@keyframes saison-schwingen { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes saison-sternlicht { from { filter: drop-shadow(0 6px 8px rgba(20,24,32,.2)) brightness(.97); } to { filter: drop-shadow(0 0 18px rgba(255, 196, 110, .75)) brightness(1.1); } }

/* Lichter im Bäumchen */
.saison-baumlicht {
	position: absolute; width: 2.4%; height: 0; padding-top: 2.4%; margin: -1.2% 0 0 -1.2%; border-radius: 50%;
	background: #fff4c4; box-shadow: 0 0 6px 3px rgba(255, 199, 106, .75);
	animation: saison-kerze 3.4s ease-in-out infinite alternate;
}
@keyframes saison-kerze { from { opacity: .35; } to { opacity: 1; } }

/* Klirren beim Anstoßen */
.saison-klirr { position: absolute; width: 10%; height: 0; padding-top: 10%; margin-left: -5%; }
.saison-klirr::before, .saison-klirr::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle, #fff 0 12%, rgba(255, 230, 160, .9) 13% 22%, transparent 60%);
	clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
	animation: saison-klirr 2.6s ease-in-out infinite;
}
.saison-klirr::after { transform: rotate(45deg) scale(.6); animation-delay: -.3s; }
@keyframes saison-klirr { 0%, 60%, 100% { opacity: 0; transform: scale(.3); } 75% { opacity: 1; transform: scale(1); } }

/* Schmetterling */
.saison-falter .saison-teil-voll { animation: saison-flattern .5s ease-in-out infinite alternate; transform-origin: 50% 50%; }
.saison-falter { animation: saison-fliegen 9s ease-in-out infinite; }
@keyframes saison-flattern { from { transform: scaleX(1); } to { transform: scaleX(.55); } }
@keyframes saison-fliegen {
	0%, 100% { translate: 0 0; } 25% { translate: 30px -18px; } 50% { translate: 60px 6px; } 75% { translate: 24px 20px; }
}

/* Happy New Year mit Jahreszahl */
.saison-jz {
	position: relative; text-align: center; line-height: 1; padding: .4em .2em;
	filter: drop-shadow(0 .06em .2em rgba(10, 20, 40, .35));
}
.saison-jz::before {
	/* weicher dunkler Schein hinter der Schrift, damit Gold auf hellem Grund lesbar bleibt */
	content: ""; position: absolute; inset: -8% -6%; z-index: -1; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(15, 30, 58, .55), rgba(15, 30, 58, 0));
}
.saison-jahrstueck { position: absolute; }
.saison-jz__titel {
	display: block; font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", Georgia, serif;
	font-style: italic; font-size: 1.15em; color: #fff6dd; letter-spacing: .01em;
	text-shadow: 0 .05em .25em rgba(0, 0, 0, .35);
}
.saison-jz__zahl {
	position: relative; display: block; margin-top: .05em;
	font-family: "Didot", "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700;
	font-size: 3.3em; letter-spacing: .02em; line-height: .95;
	background: linear-gradient(170deg, #fff4c9 0%, #f3cf6f 28%, #b98428 52%, #f7dc8c 70%, #a8751f 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.saison-jz__zahl::after {
	/* Glanz, der über die Zahl läuft */
	content: attr(data-zahl); position: absolute; inset: 0;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .95) 48%, transparent 60%);
	background-size: 300% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: saison-glanz 4.5s ease-in-out infinite;
}
@keyframes saison-glanz { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }
.saison-jz__linie { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .25em; color: #f2c35b; font-size: .8em; }
.saison-jz__linie i { display: block; width: 3.2em; height: 1px; background: linear-gradient(90deg, transparent, #f2c35b, transparent); }
.saison-jz__linie b { font-weight: 400; }
.saison-jz__unter { display: block; margin-top: .45em; font-size: .52em; letter-spacing: .18em; text-transform: uppercase; color: #fff; }

/* ================= Stimmungslicht ================= */
.saison-licht { position: absolute; pointer-events: none; z-index: 0; }
.saison-licht.ist-vorne {
	z-index: 15;
	-webkit-mask-image: radial-gradient(ellipse 48% 52% at 50% 46%, transparent 55%, #000 100%);
	mask-image: radial-gradient(ellipse 48% 52% at 50% 46%, transparent 55%, #000 100%);
	opacity: .75;
}
.saison-licht__innen { position: absolute; inset: 0; overflow: hidden; container-type: size; border-radius: 24px; }
.saison-licht--weihnachten .saison-licht__innen {
	background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(255, 196, 110, .55), rgba(255, 170, 80, .18) 55%, transparent 75%);
}
.saison-licht--neujahr .saison-licht__innen {
	background: radial-gradient(ellipse 62% 58% at 50% 40%, rgba(20, 38, 78, .92), rgba(24, 44, 88, .55) 50%, transparent 76%);
}
.saison-licht--neujahr.ist-vorne .saison-licht__innen { background: none; }
.saison-licht--ostern .saison-licht__innen {
	background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(255, 244, 190, .7), rgba(220, 240, 200, .35) 55%, transparent 76%);
}
.saison-bokeh {
	position: absolute; aspect-ratio: 1; border-radius: 50%;
	filter: blur(6px); opacity: .5; mix-blend-mode: screen;
	animation: saison-bokeh ease-in-out infinite alternate;
}
@keyframes saison-bokeh { from { opacity: .15; transform: scale(.85); } to { opacity: .55; transform: scale(1.08); } }

/* Feuerwerk */
.saison-knall { position: absolute; width: 0; height: 0; }
.saison-knall__funke {
	position: absolute; left: 0; top: 0; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%;
	background: currentColor; box-shadow: 0 0 6px 1px currentColor, 0 0 2px #fff;
	animation-name: saison-knall; animation-timing-function: cubic-bezier(.12, .75, .3, 1); animation-iteration-count: infinite;
	opacity: 0;
}
@keyframes saison-knall {
	0%   { transform: rotate(var(--saison-winkel)) translateY(0) scale(.5); opacity: 0; }
	5%   { opacity: 1; }
	45%  { transform: rotate(var(--saison-winkel)) translateY(calc(var(--saison-weite, 20cqw) * -1)) scale(1); opacity: .95; }
	75%  { transform: rotate(var(--saison-winkel)) translateY(calc(var(--saison-weite, 20cqw) * -1.05)) translate(0, 3cqw) scale(.5); opacity: 0; }
	100% { opacity: 0; }
}

/* Schnee nur über dem Foto */
.saison-schneefeld { position: absolute; overflow: hidden; pointer-events: none; z-index: 18; }
.saison-flocke {
	position: absolute; top: -12px; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%2012L22.00%2012.00%20M18.00%2012.00L19.50%209.40%20M18.00%2012.00L19.50%2014.60%20M12%2012L17.00%2020.66%20M15.00%2017.20L18.00%2017.20%20M15.00%2017.20L13.50%2019.79%20M12%2012L7.00%2020.66%20M9.00%2017.20L10.50%2019.79%20M9.00%2017.20L6.00%2017.20%20M12%2012L2.00%2012.00%20M6.00%2012.00L4.50%2014.60%20M6.00%2012.00L4.50%209.40%20M12%2012L7.00%203.34%20M9.00%206.80L6.00%206.80%20M9.00%206.80L10.50%204.21%20M12%2012L17.00%203.34%20M15.00%206.80L13.50%204.21%20M15.00%206.80L18.00%206.80%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
	box-shadow: none;
	filter: drop-shadow(0 0 0.6px rgba(80, 105, 140, .45));
	pointer-events: none;
	animation-name: saison-fallen, saison-schweben; animation-timing-function: linear, ease-in-out;
	animation-iteration-count: infinite, infinite; animation-direction: normal, alternate;
}
@keyframes saison-fallen { to { top: 105%; } }
@keyframes saison-schweben { from { margin-left: -10px; } to { margin-left: 10px; } }

@media (prefers-reduced-motion: reduce) {
	.saison-schwingt, .saison-stern .saison-teil-voll, .saison-baumlicht, .saison-klirr::before, .saison-klirr::after,
	.saison-falter, .saison-falter .saison-teil-voll, .saison-jz__zahl::after, .saison-bokeh { animation: none; }
	.saison-knall, .saison-flocke { display: none; }
}

/* ================= Abreißkalender „Noch X Tage bis Weihnachten“ ================= */
.saison-kal { position: relative; transform-origin: 50% 0; padding-top: .2em; pointer-events: auto; cursor: pointer; outline: none; }
.saison-kal:hover .saison-kal__block { transform: translateY(-.08em); box-shadow: 0 .2em 0 #f0eadc, 0 .32em 0 #e4dcc8, 0 .44em 0 #d8cfb8, 0 .85em 1.3em rgba(20, 24, 32, .34); }
.saison-kal:focus-visible .saison-kal__block { outline: 2px solid #154d77; outline-offset: 3px; }
.saison-kal__block { transition: transform .18s ease, box-shadow .18s ease; }
.saison-kal-schwingt { animation: saison-schwingen 7s ease-in-out infinite; }
.saison-kal__schleife { position: relative; z-index: 2; display: block; width: 2.6em; height: auto; margin: 0 auto -.35em; filter: drop-shadow(0 .08em .12em rgba(0, 0, 0, .3)); }
.saison-kal__band {
	display: block; position: relative; width: .4em; height: 1.35em; margin: 0 auto -.2em;
	border-radius: .12em;
	background: linear-gradient(90deg, #8e0b20 0%, #c8102e 30%, #f05a68 50%, #bd102c 72%, #82091e 100%);
	box-shadow: 0 .05em .12em rgba(0, 0, 0, .25);
}
.saison-kal__band::after { content: ""; position: absolute; top: 0; bottom: 0; left: 42%; width: 16%; background: rgba(255, 238, 220, .28); }
.saison-kal__block {
	position: relative; border: 1px solid rgba(150, 122, 72, .35); border-radius: .38em; background: #fffdf8;
	box-shadow: 0 .14em 0 #f0eadc, 0 .26em 0 #e4dcc8, 0 .38em 0 #d8cfb8, 0 .7em 1.1em rgba(20, 24, 32, .3);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: center; color: #1d2b3a; line-height: 1.15;
}
.saison-kal__kopf {
	position: relative; padding: .38em .2em .26em; border-radius: .38em .38em 0 0; color: #fff;
	background: linear-gradient(180deg, #d4183a, #a80d26);
	font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", Georgia, serif; font-style: italic; font-size: 1.25em; line-height: 1.1;
	text-shadow: 0 .05em .12em rgba(0, 0, 0, .3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.saison-kal__kopf i {
	position: absolute; top: -.32em; width: .34em; height: .6em; border-radius: .2em;
	border: .1em solid #7b818b; background: linear-gradient(90deg, #c9cdd3, #f4f5f7, #a9aeb6); box-sizing: border-box;
}
.saison-kal__kopf i:first-child { left: 22%; }
.saison-kal__kopf i:nth-child(2) { right: 22%; }
.saison-kal__stapel { position: relative; }
.saison-kal__seite { display: flex; flex-direction: column; align-items: center; padding: .32em .2em .5em; background: #fffdf8; border-radius: 0 0 .38em .38em; }
.saison-kal__oben { font-size: .58em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a6d3b; }
.saison-kal__zahl { font-family: "Didot", "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 2.7em; line-height: 1; color: #b3122e; margin: .02em 0 .06em; }
.saison-kal__zahl.ist-lang { font-size: 2.1em; }
.saison-kal__unten { font-size: .62em; font-weight: 600; line-height: 1.2; }
.saison-kal__oeffnen { display: block; margin-top: .45em; padding-top: .35em; border-top: 1px dashed #d8cdb6; color: #815e25; font-size: .48em; font-weight: 700; letter-spacing: .025em; white-space: nowrap; }
.saison-kal__ab {
	position: absolute; inset: 0; z-index: 1; border-top: .08em dashed #d9cfb9; border-radius: 0 0 .38em .38em;
	box-shadow: 0 .1em .3em rgba(0, 0, 0, .12); transform-origin: 8% 0;
	animation: saison-abreissen 1.5s 1.4s cubic-bezier(.5, 0, .75, .4) forwards;
}
@keyframes saison-abreissen {
	0% { transform: none; opacity: 1; }
	22% { transform: rotate(7deg); opacity: 1; }
	100% { transform: translate(.6em, 7em) rotate(34deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.saison-kal-schwingt { animation: none; }
	.saison-kal__ab { display: none; }
}
.saison-kal__kopf.ist-lang { font-size: .92em; padding-top: .5em; padding-bottom: .36em; }

/* Kleines, barrierearm bedienbares Adventsfenster */
.saison-advent-pop[hidden] { display: none !important; }
.saison-advent-pop { position: fixed; inset: 0; z-index: 1000000; display: grid; place-items: center; padding: 20px; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.saison-advent-pop__schatten { position: absolute; inset: 0; background: rgba(15, 25, 38, .56); animation: saison-pop-ein .2s ease-out both; }
.saison-advent-pop__fenster { position: relative; width: min(100%, 390px); max-height: min(82vh, 560px); overflow: auto; box-sizing: border-box; padding: 32px 30px 24px; border: 1px solid #ead9b7; border-radius: 16px; background: linear-gradient(155deg, #fffefa 0%, #fff8eb 100%); color: #263346; box-shadow: 0 18px 70px rgba(0, 0, 0, .32); text-align: center; animation: saison-pop-fenster .24s cubic-bezier(.2, .8, .2, 1) both; }
.saison-advent-pop__zu { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f2eadc; color: #463a2b; font: 28px/1 system-ui, sans-serif; cursor: pointer; }
.saison-advent-pop__zu:hover, .saison-advent-pop__zu:focus-visible { background: #e7d6b7; outline: 2px solid #154d77; outline-offset: 2px; }
.saison-advent-pop__stern { display: block; margin-bottom: 3px; color: #b28a36; font-size: 25px; }
.saison-advent-pop__tag { margin: 0; color: #8a6d3b; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.saison-advent-pop__thema { display: inline-block; margin: 12px 0 0; padding: 4px 10px; border-radius: 999px; background: #f4e9d4; color: #705327; font-size: 12px; font-weight: 700; }
.saison-advent-pop__fenster h2 { margin: 10px 0 12px; color: #7d1024; font: 700 25px/1.2 Georgia, "Times New Roman", serif; }
.saison-advent-pop__text { margin: 0; font-size: 16px; }
.saison-advent-pop__hinweis { margin: 22px 0 0; padding-top: 12px; border-top: 1px solid #eadfc9; color: #6a6d70; font-size: 11px; line-height: 1.4; }
@keyframes saison-pop-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes saison-pop-fenster { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.saison-kal__block, .saison-advent-pop__schatten, .saison-advent-pop__fenster { transition: none; animation: none; }
}
@media (max-width: 480px) {
	.saison-advent-pop { padding: 14px; }
	.saison-advent-pop__fenster { padding: 30px 22px 20px; }
	.saison-advent-pop__fenster h2 { font-size: 22px; }
}
