/* aeterno-lp-2026 · SION Design
   Reset, Basis, gemeinsame Bausteine (API.md §5), Header, Sticky-Leiste, Footer.
   Modul-eigene Regeln stehen unter assets/css/modules/. Keine Farbwerte hier —
   alles kommt aus tokens.css. */

/* ---------------------------------------------------------------- Reset */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body,
h1, h2, h3, h4,
p, figure, blockquote, dl, dd {
	margin: 0;
}

img,
svg,
video {
	max-width: 100%;
}

img,
video {
	height: auto;
}

img,
svg {
	display: block;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

/* ------------------------------------------------------------- Basis */

html {
	scroll-behavior: smooth;
	/* Der Header ist nicht fixiert, ein kleiner Puffer hilft trotzdem beim Ankersprung. */
	scroll-padding-top: 24px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--sans);
	font-size: var(--fs-body);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--c-primary);
	text-decoration: none;
	transition: color .2s;
}

a:hover,
a:focus-visible {
	color: var(--c-primary-hover);
}

strong,
b {
	font-weight: 700;
}

/* Native Marker aus, das „+" macht .lp-plus. */
summary {
	list-style: none;
	cursor: pointer;
}

summary::-webkit-details-marker {
	display: none;
}

:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 2px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Skip-Link: erst beim Tabben sichtbar. */
.lp-skip {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	padding: 12px 20px;
	background: var(--c-primary);
	color: var(--c-white);
	font-weight: 700;
	border-radius: 0 0 var(--r-btn) 0;
	transform: translateY(-120%);
}

.lp-skip:focus {
	color: var(--c-white);
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* --------------------------------------------------- Sektion und Container */

.lp-section {
	padding: var(--pad-section);
}

.lp-section--surface {
	background: var(--c-surface);
}

.lp-section--primary {
	background: var(--c-primary);
	color: var(--c-white);
}

.lp-section--primary a {
	color: var(--c-white);
}

/* „0 48px 60px": schließt direkt an die Sektion darüber an. */
.lp-section--tight {
	padding-top: 0;
}

.lp-container {
	max-width: var(--maxw);
	margin: 0 auto;
}

.lp-container--hero {
	max-width: var(--maxw-hero);
	margin: 0 auto;
	width: 100%;
}

.lp-container--narrow {
	max-width: var(--maxw-narrow);
	margin: 0;
}

/* ------------------------------------------------------------ Typografie */

.lp-h2 {
	margin: 0;
	font-size: var(--fs-h2);
	line-height: 1.15;
	font-weight: 800;
}

.lp-lede {
	margin: 0 0 32px;
	font-size: var(--fs-lede);
	line-height: 1.55;
	color: var(--c-text-2);
}

.lp-section--primary .lp-lede {
	color: var(--c-on-primary);
}

.lp-kicker {
	font-size: var(--fs-meta);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c-text-3);
}

.lp-section--primary .lp-kicker {
	color: var(--c-on-primary-label);
}

.lp-meta {
	font-size: var(--fs-meta);
	color: var(--c-text-3);
}

/* Telefonnummer im Fließtext — {telefon} setzt diese Klasse. */
.lp-tel {
	font-weight: 700;
}

/* Schlichte Liste für 404 und Suchergebnisse. */
.lp-list {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-lede);
}

.lp-list li + li {
	margin-top: 10px;
}

/* ---------------------------------------------------------------- Buttons */

.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 30px;
	border: 0;
	border-radius: var(--r-btn);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}

.lp-btn--primary,
.lp-section--primary .lp-btn--primary {
	background: var(--c-primary);
	color: var(--c-white);
}

.lp-btn--primary:hover,
.lp-btn--primary:focus-visible {
	background: var(--c-primary-hover);
	color: var(--c-white);
}

.lp-btn--outline {
	border: 1.5px solid var(--c-primary);
	color: var(--c-primary);
	background: transparent;
	/* Der Rahmen sitzt innen, damit Outline- und Primärbutton gleich hoch sind. */
	padding: 14.5px 28.5px;
}

.lp-btn--outline:hover,
.lp-btn--outline:focus-visible {
	background: var(--c-primary-soft);
	color: var(--c-primary);
}

.lp-btn--pill {
	border-radius: var(--r-pill);
	padding: 14px 26px;
	gap: 10px;
}

.lp-btn--small {
	padding: 12px 22px;
	font-size: 16px;
}

.lp-btn--outline.lp-btn--small {
	padding: 10.5px 20.5px;
}

/* ------------------------------------------------------ Plus, Icon, Rating */

.lp-plus {
	flex: 0 0 auto;
	font-size: var(--fs-kpi);
	font-weight: 400;
	line-height: 1;
	color: var(--c-text-3);
	transition: transform .2s;
}

details[open] .lp-plus {
	transform: rotate(45deg);
}

.lp-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	stroke: currentColor;
}

.lp-rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.lp-rating b {
	font-size: var(--fs-body);
	font-weight: 700;
}

.lp-rating > span {
	font-size: 16px;
	color: var(--c-text-2);
}

.lp-rating__star,
.lp-rating__stars {
	color: var(--c-star);
	font-style: normal;
}

.lp-rating__stars {
	letter-spacing: .05em;
}

/* ----------------------------------------------------------------- Header */

.lp-header {
	background: var(--c-bg);
	padding: 18px 48px;
	border-bottom: 1px solid var(--line-1);
}

.lp-header__inner {
	max-width: var(--maxw);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.lp-header__logo img {
	height: 46px;
	width: auto;
	display: block;
}

.lp-header__right {
	display: flex;
	align-items: center;
	gap: 28px;
}

.lp-header__line {
	text-align: right;
}

.lp-header__line span {
	display: block;
	font-size: var(--fs-meta);
	color: var(--c-text-3);
}

.lp-header__line b {
	display: block;
	font-size: var(--fs-body);
	font-weight: 700;
}

.lp-header .lp-icon {
	width: 18px;
	height: 18px;
}

/* ---------------------------------------------------------- Sticky-Leiste */

.lp-sticky {
	display: none;
}

@media (max-width: 900px) {
	.lp-sticky {
		display: flex;
		gap: 10px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		padding: 12px;
		padding-bottom: calc(12px + env(safe-area-inset-bottom));
		background: var(--c-bg);
		border-top: 1px solid var(--line-2);
		transition: transform .3s;
	}

	.lp-sticky.is-hidden {
		transform: translateY(100%);
	}

	.lp-sticky > * {
		flex: 1 1 50%;
		min-width: 0;
		padding: 14px 12px;
		font-size: 16px;
	}

	.lp-sticky .lp-btn--outline {
		padding: 12.5px 10.5px;
	}

	/* Platz für die Leiste, damit der Footer nicht darunter verschwindet. */
	body.has-sticky {
		padding-bottom: 84px;
	}
}

/* ----------------------------------------------------------------- Footer */

.lp-footer {
	background: var(--c-primary);
	color: var(--c-footer-text);
	padding: 44px 48px;
}

.lp-footer__inner {
	max-width: var(--maxw);
	margin: 0 auto;
}

.lp-footer__top {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.lp-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lp-footer__brand img {
	height: 40px;
	width: auto;
	align-self: flex-start;
}

.lp-footer__claim {
	font-size: 16px;
}

.lp-footer__cols {
	display: flex;
	gap: 56px;
	flex-wrap: wrap;
}

.lp-footer__kicker {
	display: block;
	margin-bottom: 10px;
	font-size: var(--fs-meta);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--c-footer-kicker);
}

.lp-footer__col p {
	font-size: 16px;
	line-height: 1.7;
}

.lp-footer a {
	color: var(--c-footer-text);
}

.lp-footer__col a {
	color: var(--c-white);
}

.lp-footer a:hover,
.lp-footer a:focus-visible {
	color: var(--c-white);
	text-decoration: underline;
}

.lp-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	flex-wrap: wrap;
	border-top: 1px solid var(--c-footer-line);
	margin-top: 32px;
	padding-top: 20px;
	font-size: var(--fs-meta);
}

.lp-footer__links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 900px) {
	.lp-section {
		padding: var(--pad-section-m);
	}

	.lp-container--narrow {
		max-width: none;
	}

	.lp-header {
		padding: 14px 20px;
	}

	.lp-header__logo img {
		height: 36px;
	}

	/* Auf kleinen Geräten zählt nur der Anruf-Button. */
	.lp-header__line {
		display: none;
	}

	.lp-header .lp-btn--pill {
		padding: 12px 18px;
	}

	.lp-footer {
		padding: 36px 20px;
	}

	.lp-footer__top,
	.lp-footer__cols,
	.lp-footer__bottom {
		flex-direction: column;
		gap: 24px;
	}

	.lp-footer__bottom {
		align-items: flex-start;
	}
}

/* ------------------------------------------------------------------ Print */

@media print {
	.lp-sticky,
	.lp-skip {
		display: none !important;
	}

	body.has-sticky {
		padding-bottom: 0;
	}
}
