/**
 * Landleben Gestaltung: Aktions-Leiste ganz oben (v1.6.24)
 * Kastanienbraun-rot, damit sie sich vom Holz-Kopf und der hellen Familienleiste abhebt (kein Grün).
 */

.ll-aktion {
	position: relative;
	z-index: 7;
	background: #8e3f1f;
	background-image: var(--ll-rauschen, none), linear-gradient(90deg, #7a3418, #9c4a24 50%, #7a3418);
	color: #fff8ee;
	font-size: 15px;
	line-height: 1.45;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14);
}

.ll-aktion-innen {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	max-width: var(--global-content-width, 1200px);
	margin: 0 auto;
	padding: 10px 20px;
	text-align: center;
}

.ll-aktion-stern { display: inline-flex; flex: none; color: #e9b77a; }
.ll-aktion-stern svg { rotate: -18deg; }

.ll-aktion .ll-aktion-text { margin: 0 !important; font-weight: 600; letter-spacing: .01em; }

.ll-aktion-code {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	margin: 0 .3em !important;
	padding: 3px 10px !important;
	min-height: 0 !important;
	border: 2px dashed #f3d3a6 !important;
	border-radius: 4px !important;
	background: #fff3e0 !important;
	color: #5a2410 !important;
	font: inherit !important;
	font-weight: 800 !important;
	letter-spacing: .08em !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: copy;
	vertical-align: baseline;
	transition: background .2s, transform .2s;
}

.ll-aktion-code:hover { background: #fff !important; transform: translateY(-1px); }
.ll-aktion-code:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.ll-aktion-kopiert {
	position: absolute;
	left: 50%;
	top: calc(100% + 6px);
	translate: -50% 0;
	padding: 2px 8px;
	border-radius: 3px;
	background: #3b2a1e;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
	z-index: 2;
}

.ll-aktion-code.ist-kopiert .ll-aktion-kopiert { opacity: 1; }

.ll-aktion .ll-aktion-link {
	flex: none;
	color: #fff8ee !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-color: rgba(255, 248, 238, .5);
	text-underline-offset: 4px;
	white-space: nowrap;
}

.ll-aktion .ll-aktion-link:hover { text-decoration-color: currentColor; }

@media (max-width: 760px) {
	/* Gleicher Text wie am PC, in zwei Zeilen: erster Satz, dann Code und Datum */
	.ll-aktion { font-size: 13.5px; }
	.ll-aktion-innen { flex-wrap: wrap; gap: 4px 10px; padding: 9px 12px 10px; }
	.ll-aktion-stern { display: none; }
	.ll-aktion-zeile1 { display: block; font-size: 15px; font-weight: 800; }
	.ll-aktion-zeile2 { display: block; margin-top: 3px; }
	.ll-aktion-code { padding: 1px 7px !important; margin: 0 .2em !important; }
	.ll-aktion .ll-aktion-link { display: none; }
}

/* Kastanienblätter beim ersten Seitenaufruf */
.ll-konfetti {
	position: fixed;
	inset: 0;
	z-index: 99999;
	overflow: hidden;
	pointer-events: none;
}

.ll-konfetti svg {
	position: absolute;
	top: -60px;
	will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
	.ll-konfetti { display: none; }
	.ll-aktion-code { transition: none; }
}
