/*
Theme Name: Lustvolle Federn Sanft
Theme URI: https://www.lustvollefedern.de/
Description: Ruhiges, hochwertiges Child-Theme für Bettwaren, Daunen, Federn und erholsamen Schlaf.
Author: TBS Multimedia
Template: tbs-affiliate-neon
Version: 1.1.0
Text Domain: lustvollefedern-sanft
*/

:root {
	--lf-ink: #27302d;
	--lf-muted: #65716c;
	--lf-cream: #fbf8f2;
	--lf-sand: #eadfcf;
	--lf-sage: #57756a;
	--lf-sage-dark: #314f45;
	--lf-blush: #dca79a;
	--lf-white: #ffffff;
	--lf-shadow: 0 18px 50px rgba(49, 79, 69, .12);
}

body {
	background: var(--lf-cream);
	color: var(--lf-ink);
}

.home .content-layout:has(.lf-home) {
	display: block;
	max-width: none;
	padding: 0;
}

.home .content-layout:has(.lf-home) .content-area {
	width: 100%;
	max-width: none;
}

.home .content-layout:has(.lf-home) .widget-area,
.home .content-layout:has(.lf-home) aside {
	display: none !important;
}

.lf-home {
	color: var(--lf-ink);
	overflow: hidden;
}

.lf-shell {
	width: min(1160px, calc(100% - 40px));
	margin-inline: auto;
}

.lf-hero {
	position: relative;
	min-height: 620px;
	display: grid;
	align-items: center;
	background:
		linear-gradient(90deg, rgba(247,238,227,.98) 0%, rgba(247,238,227,.9) 38%, rgba(247,238,227,.22) 67%, rgba(247,238,227,.05) 100%),
		url("assets/images/hero-schlafzimmer.jpg") center / cover no-repeat;
	border-radius: 0 0 72px 72px;
}

.lf-hero::after {
	content: "";
	position: absolute;
	right: 8%;
	top: 18%;
	width: clamp(220px, 31vw, 430px);
	aspect-ratio: 1;
	border-radius: 65% 35% 60% 40%;
	background: rgba(255,255,255,.18);
	box-shadow: 52px 46px 0 rgba(255,255,255,.10), -18px 78px 0 rgba(87,117,106,.08);
	transform: rotate(-18deg);
}

.lf-hero__content {
	position: relative;
	z-index: 1;
	max-width: 650px;
	padding-block: 90px;
}

.lf-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: .82rem;
	font-weight: 750;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lf-sage-dark);
}

.lf-kicker::before {
	content: "";
	width: 34px;
	height: 2px;
	background: var(--lf-blush);
}

.lf-hero h1 {
	max-width: 720px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 7vw, 6.4rem);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.045em;
	color: var(--lf-sage-dark);
}

.lf-hero__lead {
	max-width: 570px;
	margin: 28px 0 32px;
	font-size: clamp(1.08rem, 2vw, 1.3rem);
	line-height: 1.65;
	color: #46534e;
}

.lf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 24px;
	border: 2px solid var(--lf-sage-dark);
	border-radius: 999px;
	background: var(--lf-sage-dark);
	color: var(--lf-white) !important;
	font-weight: 750;
	text-decoration: none !important;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}

.lf-button:hover {
	transform: translateY(-2px);
	background: transparent;
	color: var(--lf-sage-dark) !important;
}

.lf-trust {
	margin-top: -38px;
	position: relative;
	z-index: 2;
}

.lf-trust__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--lf-sand);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--lf-shadow);
}

.lf-trust__item {
	padding: 25px 28px;
	background: var(--lf-white);
}

.lf-trust__item strong,
.lf-trust__item span { display: block; }
.lf-trust__item strong { color: var(--lf-sage-dark); }
.lf-trust__item span { margin-top: 5px; color: var(--lf-muted); font-size: .92rem; }

.lf-section {
	padding-block: 94px;
}

.lf-section--tint {
	background: #f1ebe2;
}

.lf-section__head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 28px;
	margin-bottom: 36px;
}

.lf-section h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 500;
	line-height: 1.08;
	color: var(--lf-sage-dark);
}

.lf-section__intro {
	max-width: 560px;
	margin: 12px 0 0;
	color: var(--lf-muted);
	line-height: 1.7;
}

.lf-topic-grid,
.lf-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.lf-topic {
	min-height: 230px;
	padding: 30px;
	border: 1px solid rgba(49,79,69,.12);
	border-radius: 24px;
	background: var(--lf-white);
	box-shadow: 0 10px 28px rgba(49,79,69,.06);
}

.lf-topic__number {
	display: block;
	margin-bottom: 32px;
	font-family: Georgia, serif;
	font-size: 2rem;
	color: var(--lf-blush);
}

.lf-topic h3 {
	margin: 0 0 10px;
	font-size: 1.25rem;
	color: var(--lf-sage-dark);
}

.lf-topic p { margin: 0; color: var(--lf-muted); line-height: 1.65; }

.lf-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
	border-radius: 24px;
	background: var(--lf-white);
	box-shadow: 0 12px 34px rgba(49,79,69,.08);
}

.lf-post-card__visual {
	display: grid;
	place-items: center;
	min-height: 190px;
	background: linear-gradient(135deg, #d5e3dc, #f4ddd6);
	font-family: Georgia, serif;
	font-size: 4rem;
	color: rgba(49,79,69,.58);
}

.lf-post-card__visual img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.lf-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.lf-post-card__meta { margin: 0 0 10px; color: var(--lf-muted); font-size: .82rem; }
.lf-post-card h3 { margin: 0 0 12px; font-size: 1.32rem; line-height: 1.3; }
.lf-post-card h3 a { color: var(--lf-sage-dark); text-decoration: none; }
.lf-post-card p { color: var(--lf-muted); line-height: 1.65; }
.lf-post-card__link { margin-top: auto; color: var(--lf-sage-dark); font-weight: 750; }

.lf-cta {
	padding-block: 84px;
	text-align: center;
	background: var(--lf-sage-dark);
	color: var(--lf-white);
}

.lf-cta h2 { color: var(--lf-white); }
.lf-cta p { max-width: 680px; margin: 18px auto 0; color: #dbe7e2; font-size: 1.08rem; }

.lf-home a:focus-visible {
	outline: 3px solid var(--lf-blush);
	outline-offset: 4px;
}

@media (max-width: 820px) {
	.lf-hero { min-height: 540px; border-radius: 0 0 40px 40px; }
	.lf-hero::after { opacity: .42; right: -12%; }
	.lf-trust__inner, .lf-topic-grid, .lf-post-grid { grid-template-columns: 1fr; }
	.lf-section__head { display: block; }
	.lf-section { padding-block: 68px; }
}

@media (max-width: 520px) {
	.lf-shell { width: min(100% - 28px, 1160px); }
	.lf-hero__content { padding-block: 70px 88px; }
	.lf-trust { margin-top: -28px; }
	.lf-trust__item { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.lf-button { transition: none; }
}
