/**
 * Herolde Saison – Weihnachten
 * Pfad: media/plg_system_heroldesaison/css/weihnachten.css
 * 1 = Adventskranz, 3 = Weihnachtsgruß mit Wappen, 4 = Tannenzweig-Bordüre
 */

/* 1 – Adventskranz */
.saison-kranz {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	padding: .35rem 1.1rem .35rem .5rem;
	border-radius: 999px;
	background: rgba(14, 12, 11, .62);
	border: 1px solid rgba(212, 160, 23, .5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.saison-kranz__bild {
	width: 92px;
	height: auto;
	display: block;
	overflow: visible;
}

.saison-kranz__text {
	font-family: var(--hd-fraktur, serif);
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	color: var(--hd-glut, #ffb070);
	line-height: 1;
}

.saison-flamme {
	animation: saison-flackern 1.6s ease-in-out infinite alternate;
}

.saison-flamme:nth-of-type(2n) {
	animation-duration: 1.25s;
}

@keyframes saison-flackern {
	0% { transform: scale(1, 1) rotate(-2deg); opacity: .95; }
	40% { transform: scale(.94, 1.06) rotate(2deg); opacity: 1; }
	100% { transform: scale(1.04, .96) rotate(-1deg); opacity: .9; }
}

/* 3 – Weihnachtsgruß mit Wappen */
.saison-gruss {
	position: absolute;
	right: var(--hd-rand, 2rem);
	bottom: clamp(5rem, 12vh, 9rem);
	z-index: 2;
	width: min(22rem, 34vw);
	padding: 1.6rem 1.6rem 1.4rem;
	text-align: center;
	color: var(--hd-text, #f4efe8);
	background:
		radial-gradient(120% 90% at 50% 0%, rgba(212, 160, 23, .18), transparent 60%),
		rgba(14, 12, 11, .72);
	border: 1px solid rgba(212, 160, 23, .55);
	border-radius: var(--hd-radius, 1.25rem);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .45), inset 0 0 0 6px rgba(14, 12, 11, .6), inset 0 0 0 7px rgba(212, 160, 23, .35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.saison-gruss__wappen {
	width: 84px;
	height: 84px;
	object-fit: contain;
	margin: -3.4rem auto .4rem;
	display: block;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6));
}

.saison-gruss__titel {
	margin: 0;
	font-family: var(--hd-fraktur, serif);
	font-size: clamp(2rem, 3.2vw, 2.9rem);
	line-height: 1.05;
	color: #f2c94c;
	text-shadow: 0 2px 0 rgba(0, 0, 0, .5);
}

.saison-gruss__text {
	margin: .5rem 0 0;
	font-size: 1rem;
	color: var(--hd-text-leise, #bfb6aa);
}

.saison-gruss::before,
.saison-gruss::after {
	content: "✦";
	position: absolute;
	top: 1rem;
	color: #d4a017;
	font-size: .9rem;
}

.saison-gruss::before { left: 1.1rem; }
.saison-gruss::after { right: 1.1rem; }

@media (max-width: 1099px) {
	.saison-gruss {
		position: relative;
		right: auto;
		bottom: auto;
		width: auto;
		margin: 3rem var(--hd-rand, 1rem) 2rem;
		align-self: stretch;
	}
}

/* 4 – Tannenzweig-Bordüre über der Fußzeile */
.saison-bordure {
	height: 64px;
	margin-top: -32px;
	background: url("../images/tannenzweig.svg") repeat-x center / auto 64px;
	position: relative;
	z-index: 2;
	pointer-events: none;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45));
}

footer.container-footer {
	position: relative;
}

@media (max-width: 767px) {
	.saison-bordure {
		height: 46px;
		margin-top: -23px;
		background-size: auto 46px;
	}
}

/* Adventskranz-Foto als Startbild (mit animierten Flammen) */
.saison-kranzbild {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #0e0c0b;
}

.saison-kranzbild svg,
.saison-kranzbild__notbild {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Text links lesbar halten, Kranz rechts frei lassen */
.saison-kranzbild::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(14, 12, 11, .78) 0%, rgba(14, 12, 11, .5) 32%, rgba(14, 12, 11, 0) 55%),
		linear-gradient(0deg, rgba(14, 12, 11, .7) 0%, rgba(14, 12, 11, 0) 30%);
}

.saison-kranz--nurtext {
	padding: .55rem 1.2rem;
}

.saison-kranz--nurtext::before {
	content: "";
	width: .7rem;
	height: 1.1rem;
	border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
	background: radial-gradient(circle at 50% 75%, #fffbe8, #ffd27a 45%, #ff9a2e 80%);
	box-shadow: 0 0 12px rgba(255, 179, 92, .8);
	animation: saison-flackern 1.6s ease-in-out infinite alternate;
}

.saison-gruss--klein {
	bottom: 1.5rem;
	width: min(18rem, 24vw);
	padding: 1.3rem 1.2rem 1.1rem;
}

.saison-gruss--klein .saison-gruss__titel {
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

@media (max-width: 1099px) {
	.saison-kranzbild::after {
		background: linear-gradient(0deg, rgba(14, 12, 11, .85) 0%, rgba(14, 12, 11, .35) 60%, rgba(14, 12, 11, .2) 100%);
	}
}

/* Weihnachtsgruß als Urkunde (zum Adventskranz-Foto) */
.saison-urkunde {
	position: absolute;
	right: var(--hd-rand, 2rem);
	bottom: 1.25rem;
	z-index: 2;
	width: clamp(15rem, 19vw, 25rem);
	margin: 0;
	container-type: inline-size;
	transform: rotate(2.5deg);
	transform-origin: 100% 100%;
	filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .65));
}

.saison-urkunde__bild {
	display: block;
	width: 100%;
	height: auto;
}

.saison-urkunde__text {
	position: absolute;
	left: 15%;
	right: 15%;
	top: 45%;
	bottom: 21%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2.6cqi;
	text-align: center;
	color: var(--hd-tinte, #2b2118);
}

.saison-urkunde__oben {
	font-family: var(--hd-fraktur, serif);
	font-size: 5.3cqi;
	line-height: 1.2;
	color: var(--hd-tinte-leise, #5a4632);
}

.saison-urkunde__wunsch {
	font-family: var(--hd-fraktur, serif);
	font-size: 7.8cqi;
	line-height: 1.15;
	text-wrap: balance;
	color: #3a2414;
	text-shadow: 0 1px 0 rgba(255, 245, 220, .5);
}

.saison-urkunde__oben::first-letter {
	color: var(--hd-siegel, #8e1b12);
	font-size: 1.6em;
	line-height: .8;
}

/* Monogramm im leeren Wachssiegel */
.saison-urkunde__siegel {
	position: absolute;
	left: 76.1%;
	top: 88.2%;
	width: 15%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	font-family: var(--hd-fraktur, serif);
	font-size: 7.4cqi;
	line-height: 1;
	color: #5a3b1f;
	text-shadow: 0 1px 0 rgba(255, 220, 170, .35), 0 -1px 0 rgba(0, 0, 0, .45);
}
