/* „Bald verfügbar"-Seite (page-bald.php) – ganze Seite in Dunkelpetrol, mobile first.
   Formen + Laufband: css/buehne.css, Farben: css/marke.css */

body.bald-seite {
	margin: 0;
	background: var(--dotset-petrol);
}

.bald {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: hidden;
	color: var(--dotset-creme);
	isolation: isolate;
}

.bald__innen {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 2.5rem 1.25rem 2rem;
	box-sizing: border-box;
}

.bald__logo {
	width: min(15rem, 70vw);
	height: auto;
	margin-bottom: 2.5rem;
}

.bald__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	align-self: flex-start;
	margin: 0 0 1.25rem;
	padding: 0.45rem 1rem 0.45rem 0.8rem;
	border: 1px solid rgba(242, 232, 214, 0.25);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* pulsierender Punkt: „hier passiert gerade was" */
.bald__puls {
	position: relative;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--dotset-terrakotta);
}

.bald__puls::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--dotset-terrakotta);
	animation: bald-puls 1.8s ease-out infinite;
}

@keyframes bald-puls {
	from { transform: scale(1); opacity: 0.7; }
	to { transform: scale(3); opacity: 0; }
}

.bald__titel {
	margin: 0 0 1.25rem;
	font-size: clamp(3.2rem, 16vw, 8.5rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	color: var(--dotset-creme);
	text-shadow: 0.055em 0.055em 0 var(--dotset-terrakotta);
}

.bald__titel span {
	color: var(--dotset-terrakotta);
	text-shadow: none;
}

.bald__text {
	max-width: 32rem;
	margin: 0 0 2rem;
	font-size: 1.1rem;
	line-height: 1.55;
	color: rgba(242, 232, 214, 0.85);
}

/* Was es geben wird */
.bald__angebot {
	display: grid;
	gap: 0.6rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.bald__angebot li {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0 0.8rem;
	padding: 0.85rem 1rem;
	border-radius: 1.1rem;
	background: rgba(242, 232, 214, 0.07);
	border: 1px solid rgba(242, 232, 214, 0.12);
}

.bald__symbol {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: var(--dotset-terrakotta);
	color: var(--dotset-creme);
}

.bald__angebot strong {
	font-size: 1.05rem;
}

.bald__angebot small {
	font-size: 0.85rem;
	color: rgba(242, 232, 214, 0.65);
}

.bald__folgen p {
	margin: 0 0 0.7rem;
	font-weight: 700;
}

.bald__kontakt {
	margin: 1.75rem 0 0;
	color: rgba(242, 232, 214, 0.8);
}

.bald__kontakt a {
	color: var(--dotset-creme);
	font-weight: 800;
	text-decoration: none;
	border-bottom: 2px solid var(--dotset-terrakotta);
}

.bald__kontakt a:hover {
	color: var(--dotset-terrakotta);
}

/* Zwei gekreuzte Bänder wie aufgeklebte Folienstreifen: vorne Terrakotta, hinten dunkles Petrol (gegenläufig) */
.bald__baender {
	position: relative;
	z-index: 1;
	height: 10rem;
	margin: 1rem 0 0;
	overflow: hidden;
}

.bald__band {
	position: absolute;
	left: -2rem;
	right: -2rem;
	top: 50%;
	width: auto;
	margin: 0;
	padding: 0.8rem 0;
	box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55);
}

.bald__band .laufband__spur {
	animation-duration: 70s;
}

.bald__band--vorne {
	z-index: 2;
	transform: translateY(-50%) rotate(-3deg);
	background: var(--dotset-terrakotta);
	color: var(--dotset-creme);
}

.bald__band--vorne .laufband__spur b {
	color: var(--dotset-petrol);
}

.bald__band--vorne .laufband__punkt {
	background: var(--dotset-creme);
}

.bald__band--hinten {
	z-index: 1;
	transform: translateY(-50%) rotate(3deg);
	background: var(--dotset-petrol-hell);
	color: rgba(242, 232, 214, 0.55);
}

.bald__band--hinten .laufband__spur {
	animation-direction: reverse;
	animation-duration: 90s;
}

.bald__band--hinten .laufband__spur b {
	color: var(--dotset-mint);
}

/* Schmale Bildschirme: Bänder etwas auseinander, damit beide zu sehen sind */
@media (max-width: 767px) {
	.bald__band--hinten {
		top: 34%;
		transform: translateY(-50%) rotate(4deg);
	}

	.bald__band--vorne {
		top: 62%;
		transform: translateY(-50%) rotate(-4deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bald__band .laufband__spur {
		animation: none;
	}
}

.bald__fuss {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding: 1.1rem 1.25rem 1.4rem;
	font-size: 0.85rem;
	color: rgba(242, 232, 214, 0.6);
}

.bald__fuss nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
}

.bald__fuss a {
	color: rgba(242, 232, 214, 0.85);
	text-decoration: none;
}

.bald__fuss a:hover {
	color: var(--dotset-terrakotta);
}

@media (min-width: 768px) {
	.bald__innen {
		padding: 3.5rem 2rem 3rem;
	}

	.bald__logo {
		width: 17rem;
		margin-bottom: 3rem;
	}

	.bald__text {
		font-size: 1.25rem;
	}

	.bald__angebot {
		grid-template-columns: repeat(3, minmax(0, 15rem));
	}

	.bald__fuss {
		max-width: 1100px;
		width: 100%;
		margin: 0 auto;
		padding: 1.25rem 2rem 1.5rem;
		box-sizing: border-box;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bald__puls::after {
		animation: none;
	}
}

/* Social-Knöpfe linksbündig (im Fußbereich sind sie mittig) */
.bald__folgen .social-icons {
	justify-content: flex-start;
	margin: 0;
	padding: 0;
}

/* Anmelden (für Admins) – dezent oben rechts */
.bald__anmelden {
	position: absolute;
	top: 1.1rem;
	right: 1.1rem;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 1rem;
	border: 1.5px solid rgba(242, 232, 214, 0.35);
	border-radius: 999px;
	color: var(--dotset-creme);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	background: rgba(242, 232, 214, 0.06);
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.bald__anmelden:hover,
.bald__anmelden:focus-visible {
	background: var(--dotset-terrakotta);
	border-color: var(--dotset-terrakotta);
	color: var(--dotset-creme);
}

/* Handy: Logo unter den Anmelden-Knopf schieben, damit sich nichts überlappt */
@media (max-width: 640px) {
	.bald__logo {
		margin-top: 2.75rem;
	}
}

/* ---------- Kopfleiste (Kontakt + Rechtsseiten in der Bald-Phase) ---------- */
.bald-kopf {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
	background: var(--dotset-petrol);
}

.bald-kopf__logo img {
	display: block;
	width: clamp(8.5rem, 22vw, 11rem);
	height: auto;
}

.bald-kopf__zurueck {
	color: var(--dotset-creme);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	opacity: 0.8;
	white-space: nowrap;
}

.bald-kopf__zurueck:hover {
	color: var(--dotset-terrakotta);
	opacity: 1;
}

/* Rechtsseiten in der Bald-Phase: Kopf direkt über der Bühne, kein Theme-Abstand */
.bald-recht-seite .buehne--recht {
	margin-top: 0;
}

/* ---------- Fußzeile (alle Seiten der Bald-Phase) – schlank: links Schriftzug, Mitte Links, rechts Slogan ---------- */
.bald-fuss {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem 2rem;
	padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
	background: var(--dotset-petrol);
	border-top: 1px solid rgba(242, 232, 214, 0.1);
	font-size: 0.82rem;
	color: rgba(242, 232, 214, 0.6);
}

/* Breite UND Höhe fest (Seitenverhältnis der Bilder), damit Safari die Bilder nicht in Originalgröße zeigt */
.bald-fuss__logo {
	display: block;
	line-height: 0;
}

.bald-fuss__logo img {
	display: block;
	width: 8.05rem;
	max-width: none;
	height: 2.1rem;
	object-fit: contain;
}

.bald-fuss__slogan {
	display: block;
	width: 11.85rem;
	max-width: none;
	height: 0.95rem;
	object-fit: contain;
}

.bald-fuss__zentrum {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1.5rem;
}

.bald-fuss__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem 1.1rem;
}

.bald-fuss__links a {
	color: rgba(242, 232, 214, 0.7);
	text-decoration: none;
}

.bald-fuss__links a:hover {
	color: var(--dotset-terrakotta);
}

.bald-fuss__mitte {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.bald-fuss .social-icons {
	gap: 0.4rem;
	margin: 0;
	padding: 0;
}

.bald-fuss .social-icons a {
	width: 1.9rem;
	height: 1.9rem;
}

.bald-fuss .social-icons svg {
	width: 15px;
	height: 15px;
}

@media (max-width: 860px) {
	.bald-fuss {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.bald-fuss__slogan {
		order: 1;
	}

	.bald-fuss__zentrum {
		order: 2;
	}
}

/* Grüner Punkt wie auf der Startseite: links unterhalb des Terrakotta-Rings
   (auf der Bald-Seite oben verankert, sonst landet er unter dem Laufband) */
.bald .form--mini {
	top: 11rem;
	right: 7rem;
	bottom: auto;
	left: auto;
}

@media (min-width: 768px) {
	.bald .form--mini {
		top: 28.5rem;
		right: calc(6% + 19.5rem);
	}
}

/* ---------- Farben der Bald-Phase: Creme (#F2E8D6) ist die hellste Farbe – nichts Helleres, kein Weiß ----------
   Gilt nur auf den Seiten, die Besucher während „Bald verfügbar“ sehen (Bald-Seite, Kontakt, Impressum, Datenschutz). */
body.bald-seite,
body.bald-recht-seite {
	--dotset-creme-hell: #F2E8D6;
	--base-3: #F2E8D6;
}

body:is(.bald-seite, .bald-recht-seite) .kontakt input[type="text"],
body:is(.bald-seite, .bald-recht-seite) .kontakt input[type="email"],
body:is(.bald-seite, .bald-recht-seite) .kontakt textarea,
body:is(.bald-seite, .bald-recht-seite) .kontakt-check input:not(:checked),
body:is(.bald-seite, .bald-recht-seite) .botschutz,
body:is(.bald-seite, .bald-recht-seite) .einwilligung__kategorie,
body.bald-recht-seite .einwilligung__kategorie,
body:is(.bald-seite, .bald-recht-seite) .einwilligung__schalter span::after,
body.bald-recht-seite .einwilligung__schalter span::after {
	background-color: var(--dotset-creme);
}

/* Formularfelder auf der cremefarbenen Karte: etwas dunklerer Rahmen, damit sie sich abheben */
body:is(.bald-seite, .bald-recht-seite) .kontakt input[type="text"],
body:is(.bald-seite, .bald-recht-seite) .kontakt input[type="email"],
body:is(.bald-seite, .bald-recht-seite) .kontakt textarea,
body:is(.bald-seite, .bald-recht-seite) .botschutz {
	border-color: #D9CAB0;
}

/* Rechtsseiten der Bald-Phase: Karten auf cremefarbenem Grund mit feinem Rahmen statt hellerer Fläche */
body.bald-recht-seite .recht-karte,
body.bald-recht-seite .recht-navi {
	border: 1px solid var(--dotset-creme-dunkel);
}

/* Kompakter, damit die ganze Bald-Seite (inkl. Bänder und Fußzeile) möglichst ohne Scrollen passt */
.bald__titel {
	font-size: clamp(2.8rem, 12vw, 6rem);
	margin-bottom: 0.85rem;
}

/* Inhalt mittig: auf hohen Bildschirmen (Tablet) verteilt sich der freie Platz oben und unten,
   statt als große Lücke über den Bändern */
.bald__innen {
	justify-content: center;
	padding-top: 1.75rem;
	padding-bottom: 0;
}

.bald__logo {
	margin-bottom: 1.25rem;
}

.bald__kicker {
	margin-bottom: 1rem;
}

.bald__text {
	margin-bottom: 1.25rem;
}

.bald__folgen {
	margin-top: 1.25rem;
}

.bald__kontakt {
	margin-top: 1rem;
}

.bald__baender {
	height: 6.5rem;
	margin-top: 0.25rem;
}

@media (min-width: 768px) {
	.bald__innen {
		padding-top: 1.75rem;
		padding-bottom: 0;
	}
}

/* ---------- Sprachumschalter DE | EN auf den Bald-Seiten ---------- */
.bald__oben {
	position: absolute;
	top: 1.1rem;
	right: 1.1rem;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.bald__oben .bald__anmelden {
	position: static;
}

.bald-kopf__rechts {
	display: flex;
	align-items: center;
	gap: 1rem;
}
