/*
 * Energietipp (listmonk): öffentliche Seiten im Design der Website „Praxis am Hof“.
 * Einfügen unter listmonk → Einstellungen → Erscheinungsbild → Öffentlich → CSS.
 * Farben wie theme.json der Website (Creme, Fläche, Linie, Grün, Beere, Fließtext).
 */
:root {
	--pah-bg: #F9F6F1;
	--pah-surface: #FCF8F4;
	--pah-line: #DCCFC4;
	--pah-green: #8FB04F;
	--pah-green-text: #587530;
	--pah-wine: #8A3A58;
	--pah-wine-hover: #702E48;
	--pah-text: #3B3F3C;
	--pah-head: #22282A;
	--pah-muted: #666A62;
	--pah-pastell: #F0F4DC;
}

html, body {
	background: var(--pah-bg);
	color: var(--pah-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
}

.wrap {
	background: var(--pah-surface);
	border: 1px solid var(--pah-line);
	border-radius: 22px;
	box-shadow: none;
}

.header {
	border-bottom: 1px solid var(--pah-line);
	text-align: center;
}

.header .logo img {
	width: auto;
	max-width: 140px;
	max-height: 170px;
}

h2, h3 {
	color: var(--pah-wine);
	font-weight: 800;
	letter-spacing: -0.01em;
}

a {
	color: var(--pah-wine);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--pah-wine-hover);
}

label {
	color: var(--pah-head);
	font-weight: 600;
}

input[type="text"], input[type="email"], input[type="password"], select {
	background: #fff;
	border: 1px solid var(--pah-line);
	border-radius: 12px;
	box-shadow: none;
	color: var(--pah-text);
}

input:focus {
	border-color: var(--pah-green);
	outline: 3px solid rgba(143, 176, 79, 0.35);
	outline-offset: 0;
}

input[type="checkbox"] {
	accent-color: var(--pah-green);
}

.button {
	background: var(--pah-wine);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	padding: 12px 28px;
	min-height: 44px;
}

.button:hover {
	background: var(--pah-wine-hover);
}

.button.button-outline {
	background: transparent;
	border: 2px solid var(--pah-wine);
	color: var(--pah-wine);
}

.button.button-outline:hover {
	background: var(--pah-wine);
	color: #fff;
}

/* Nur eine Liste: die Überschrift „Listen“ braucht es nicht, die Liste selbst als ruhige Hinweisbox. */
.lists h2 {
	display: none;
}

.lists li {
	background: var(--pah-pastell);
	border-radius: 14px;
	padding: 12px 16px;
}

.lists .description,
.archive .date,
.small {
	color: var(--pah-muted);
}

.archive li {
	border-bottom: 1px solid var(--pah-line);
	padding-bottom: 12px;
}

.archive li:last-child {
	border-bottom: 0;
}

footer.container,
footer a {
	color: var(--pah-muted);
}

/* Startseite: „Abonnieren“ als großer Knopf, „Anmelden“ (nur für die Verwaltung) klein ganz unten. */
section.center {
	display: flex;
	flex-direction: column;
	align-items: center;
}

section.center .home-options {
	order: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-top: 8px;
}

section.center .home-options a[href$="/subscription/form"] {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 14px 40px;
	border-radius: 999px;
	background: var(--pah-wine);
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	text-decoration: none;
}

section.center .home-options a[href$="/subscription/form"]:hover {
	background: var(--pah-wine-hover);
	color: #fff;
}

section.center > a[href="admin"] {
	order: 2;
	margin-top: 36px;
	padding: 0;
	min-height: 0;
	background: none;
	color: var(--pah-muted);
	font-size: 14px;
	font-weight: 400;
	text-decoration: underline;
}

section.center > a[href="admin"]:hover {
	background: none;
	color: var(--pah-text);
}
