/* KI-Assistent: Knopf „Sunny fragen“ mit der kleinen Sonne (reines CSS, lädt im Fuß). Farben aus theme.json, mit Rückfallwerten.
   Handy: runde Sonne rechts über der Buchungsleiste (4,5 rem Leistenhöhe), der Name nur für Vorleseprogramme.
   Computer: Pille mit Name mittig am rechten Rand, dort frei von Startbild-Knöpfen und Buchungsleiste. */
.sonne-assistent-knopf {
	position: fixed;
	inset-inline-end: var(--wp--preset--spacing--40, 1rem);
	bottom: calc(4.5rem + 0.75rem + env(safe-area-inset-bottom));
	z-index: 999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding: 0.35rem;
	border-radius: 50%;
	background: var(--wp--preset--color--eiche, #241a14);
	color: var(--wp--preset--color--licht, #f4eadb);
	border: 1px solid var(--wp--preset--color--messing, #e0a84a);
	font-family: var(--wp--preset--font-family--instrument, system-ui, sans-serif);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}
.sonne-assistent-knopf img {
	display: block;
	width: 2.75rem;
	height: 2.75rem;
}
.sonne-assistent-knopf__name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.sonne-assistent-knopf:hover {
	background: var(--wp--preset--color--licht, #f4eadb);
	color: var(--wp--preset--color--nacht, #16100c);
}
.sonne-assistent-knopf:focus-visible {
	outline: 2px solid var(--wp--preset--color--messing, #e0a84a);
	outline-offset: 3px;
}
/* Seiten ohne Buchungsleiste: kein Abstand für die Leiste nötig. */
body:not(:has(.sonne-buchungsleiste)) .sonne-assistent-knopf {
	bottom: calc(var(--wp--preset--spacing--40, 1rem) + env(safe-area-inset-bottom));
}
@media (min-width: 782px) {
	.sonne-assistent-knopf,
	body:not(:has(.sonne-buchungsleiste)) .sonne-assistent-knopf {
		inset-inline-end: var(--wp--preset--spacing--40, 1rem);
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
		padding-inline-end: 1.1rem;
		border-radius: 999px;
	}
	.sonne-assistent-knopf__name {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip-path: none;
	}
}
@media print {
	.sonne-assistent-knopf {
		display: none;
	}
}
