/* Mamas Kunstatelier – Sternenhimmel-Optik für die ganze Seite. */

.trulla-kunstatelier-himmel {
	position: relative;
	background: radial-gradient(ellipse 120% 90% at 50% -10%, #4E85DE 0%, #1A3A8F 75%);
	overflow-x: hidden;
	border-radius: 28px;
	margin: 1rem 0 2rem;
	padding: 1.75rem 1.25rem 2.5rem;
}

.trulla-kunstatelier-himmel .seitensterne {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.trulla-kunstatelier-himmel .seitensterne span {
	position: absolute;
	clip-path: polygon(50% 0%, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0% 50%, 37% 36%);
	animation-name: trulla-kunst-funkeln;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}
@keyframes trulla-kunst-funkeln {
	0%, 100% { opacity: 0.3; transform: scale(0.7) rotate(0deg); }
	50% { opacity: 1; transform: scale(1.7) rotate(12deg); }
}

.trulla-kunstatelier-himmel > *:not(.trulla-sk-seitenmenu):not(.trulla-sk-seitenmenu-hintergrund):not(.trulla-sk__menu-knopf):not(.seitensterne) {
	position: relative;
	z-index: 1;
}

/* Text-Lesbarkeit auf dem blauen Sternenhimmel */
.trulla-kunstatelier-himmel h1,
.trulla-kunstatelier-himmel h2,
.trulla-kunstatelier-himmel h3,
.trulla-kunstatelier-himmel h4 {
	color: #fff8ee;
}
.trulla-kunstatelier-himmel p,
.trulla-kunstatelier-himmel li {
	color: #e4ecfb;
}
.trulla-kunstatelier-himmel strong {
	color: #fff8ee;
}
.trulla-kunstatelier-himmel hr {
	border-color: rgba(255, 255, 255, 0.25);
}
.trulla-kunstatelier-himmel a {
	color: #ffe49a;
}
/* Textboxen für die 14 Bastelanleitungen: helle blaue Box mit dunkelblauer
   Schrift, wie auf den anderen Sternenkarte-Seiten (Gefühlswelt, Mitmach-Magie).
   Greift auf jeden unformatierten Absatz der ganzen Seite, lässt zentrierte
   Sonderabsätze (Stufe-Badge, Download-Button, Intro-Kursivtext) unangetastet. */
body.page-id-181 main p:not([class]) {
	background: #7baee8;
	color: #1a3a8f;
	border-radius: 14px;
	padding: 0.9rem 1.1rem;
	line-height: 1.6;
}
/* Ausnahme: der Einleitungssatz unter der Hauptüberschrift bleibt frei auf dem
   Sternenhimmel stehen, wie auf allen anderen Seiten (Klangwelt, Gefühlswelt). */
body.page-id-181 main .trulla-kunst-kopf p:not([class]) {
	background: none;
	color: #e4ecfb;
	border-radius: 0;
	padding: 0;
}

.trulla-kunstatelier-himmel .trulla-vorlage-download {
	display: inline-block;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	background: #e8621a;
	color: #fff !important;
	border-radius: 999px;
	padding: 0.6em 1.3em;
	text-decoration: none;
	font-size: 0.92rem;
}
.trulla-kunstatelier-himmel .trulla-vorlage-download:hover {
	background: #c9530f;
}

/* Sternbild-Navigation (Palette) */
.trulla-kunst-kopf {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto 2rem;
}
.trulla-kunst-kopf__eyebrow {
	display: block;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f5c842;
	margin-bottom: 0.6rem;
}
.trulla-kunst-kopf p {
	color: #e4ecfb;
	font-size: 0.98rem;
	line-height: 1.6;
	margin: 0;
}

.trulla-kunst-zurueck {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	color: #e4ecfb !important;
	text-decoration: none;
	margin-bottom: 1.5rem;
}

.trulla-kunst-palettebild {
	position: relative;
	width: 100%;
	max-width: 600px;
	aspect-ratio: 1 / 0.74;
	margin: 0 auto 1.5rem;
}
.trulla-kunst-linie {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.trulla-kunst-linie path {
	fill: none;
	stroke: #fff8ee;
	stroke-opacity: 0.22;
	stroke-width: 1.4;
	stroke-dasharray: 2 6;
	stroke-linecap: round;
}
.trulla-kunst-stern {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	transform: translate(-50%, -50%);
	text-decoration: none;
	color: inherit !important;
	width: 8.5rem;
}
.trulla-kunst-stern__form {
	position: relative;
	display: block;
	filter: drop-shadow(0 0 12px var(--glow, rgba(245, 200, 66, 0.6)));
	transition: filter 0.25s ease, transform 0.25s ease;
	animation: trulla-kunst-puls 3.6s ease-in-out infinite;
}
.trulla-kunst-stern:hover .trulla-kunst-stern__form,
.trulla-kunst-stern:focus-visible .trulla-kunst-stern__form {
	filter: drop-shadow(0 0 20px var(--glow, rgba(245, 200, 66, 0.9)));
	transform: scale(1.08);
}
@keyframes trulla-kunst-puls {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.04); }
}
.trulla-kunst-stern__form img {
	display: block;
	margin: 0 auto;
	width: 56px;
	height: auto;
}
.trulla-kunst-stern__name {
	font-family: 'Rum Raisin', 'Andika', serif;
	font-weight: 400;
	font-size: 0.8rem;
	color: #fff8ee;
	text-align: center;
	text-wrap: balance;
	text-shadow: 0 2px 8px rgba(15, 35, 96, 0.95);
}
.trulla-kunst-p0 { left: 52%; top: 9%; }
.trulla-kunst-p1 { left: 89%; top: 42%; }
.trulla-kunst-p2 { left: 71%; top: 74%; }
.trulla-kunst-p3 { left: 46%; top: 92%; }
.trulla-kunst-p4 { left: 10%; top: 50%; }

.trulla-kunst-fussnote {
	max-width: 32rem;
	margin: 0 auto;
	text-align: center;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 0.8rem;
	color: #e4ecfb;
	line-height: 1.6;
}

@media (max-width: 640px) {
	.trulla-kunst-stern { width: 5.8rem; }
	.trulla-kunst-stern__form img { width: 44px; }
	.trulla-kunst-stern__name { font-size: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
	.trulla-kunstatelier-himmel .seitensterne span,
	.trulla-kunst-stern__form { animation: none; }
}
