/**
 * front-page.css – Startseite: Hero-Slider, Promo-Grid, Versprechen, Newsletter
 *
 * @package Lauffen_WooCommerce
 */

/* ===== HERO-SLIDER ===== */
.hero-slider {
	position: relative;
	background: var(--white-color, #fff);
	overflow: hidden;
}

.hero-slider-container {
	position: relative;
	display: flex;
	width: 100%;
	transition: transform 0.4s ease-in-out;
}

.hero-slider-container.sliding {
	transition: transform 0.4s ease-in-out;
}

.hero-slide {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	min-height: 450px;
	flex-shrink: 0;
}

.hero-slide-content {
	flex: 1 1 50%;
	padding: 2rem 5rem;
}

.hero-subtitle {
	display: block;
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-size: 1.4rem;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--rot-weine-4-color, #2e0b06);
	margin-bottom: 0.5rem;
}

.hero-title {
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-size: 2.8rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--black-color, #010101);
	margin-bottom: 2rem;
}

.hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	background-color: var(--weissweine-2-color, #f9b301);
	color: var(--rot-weine-4-color, #2e0b06);
	padding: 16px 20px 10px 25px;
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-size: 1.4rem;
	font-weight: 500;
	text-transform: uppercase;
	border-radius: 0;
	transition: background-color 0.25s ease;
}

.hero-cta:hover,
.hero-cta:focus {
	background-color: var(--weissweine-1-color, #d19221);
	text-decoration: none;
}

.hero-cta i {
	font-size: 1.2rem;
}

.hero-slide-image {
	flex: 1 1 50%;
	display: flex;
	height: 100%;
	justify-content: end;
}

.hero-slide-image img {
	object-fit: cover;
	width: auto;
}

/* Pfeile */
.hero-prev,
.hero-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: #fff;
	border: none;
	color: var(--rot-weine-4-color, #2e0b06);
	font-size: 1.6rem;
	cursor: pointer;
	z-index: 10;
	transition: color 0.2s;
}

.hero-prev:hover,
.hero-next:hover {
	color: var(--weissweine-1-color, #d19221);
}

.hero-prev {
	left: 0rem;
}

.hero-next {
	right: 0rem;
}

/* Dots */
.hero-dots {
	position: absolute;
	bottom: 1.5rem;
	left: 5rem;
	display: flex;
	gap: 0.6rem;
	z-index: 10;
}

.hero-dot {
	width: 1.5rem;
	height: 1.5rem;
	border: 2px solid var(--rot-weine-4-color, #2e0b06);
	background: transparent;
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
	box-sizing: content-box;
}

.hero-dot.active {
	background: var(--rot-weine-4-color, #2e0b06);
}

/* ===== PROMO-GRID ===== */
.promo-grid {
	padding: 2rem 0;
	background: var(--bg-warm, #f4ede7);
}

.promo-row {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
	max-width: var(--container-max-width, 1280px);
	margin-left: auto;
	margin-right: auto;
}

.promo-row:last-child {
	margin-bottom: 0;
}

.promo-box {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	overflow: hidden;
	border-radius: 0;
	min-height: 200px;
	background-size: cover;
	background-position: center;
	color: var(--white-color, #fff);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
}

.promo-box:hover,
.promo-box:focus,
.promo-box:active {
	text-decoration: none;
}

.promo-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.promo-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	z-index: 0;
}

.promo-row-2 .promo-box {
	flex: 1 1 50%;
	min-height: 280px;
	align-items: flex-start;
	justify-content: flex-start;
}

.promo-row-2 .promo-box.promo-large {
	background-color: var(--white-color, #fff);
	color: var(--black-color, #010101);
}

.promo-row-2 .promo-box.promo-large .title,
.promo-row-2 .promo-box.promo-large h2 {
	color: var(--black-color, #010101);
}

.promo-row-2 .promo-box.promo-large .inner {
	background: var(--white-color, #fff);
	color: var(--black-color, #010101);
	padding: 2rem;
}

.promo-row-2 .promo-box .promo-badge {
	background: #bf9a5f;
	color: var(--white-color, #fff);
	font-size: 2.6rem;
	padding: 1rem 1rem 0.6rem;
	margin: 0;
}

/* Promo-Box Large: weisser Hintergrund, schwarzer Text, mit Abstand vom Rand. */
.promo-row-2 .promo-box.promo-large .promo-badge {
	background: var(--white-color, #fff);
	color: var(--black-color, #010101);
	margin: 1.5rem;
	padding: 0.4rem 0.8rem;
}

.promo-row-4 .promo-box {
	flex: 1 1 25%;
	min-height: 220px;
}

.promo-box.promo-color {
	background-color: var(--promo-bg, var(--rot-weine-4-color, #2e0b06));
	align-items: flex-end;
	justify-content: flex-start;
}

.promo-box.promo-logo-box {
	background: var(--white-color, #fff);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 1rem;
}

.promo-box.promo-logo-box img {
	position: relative;
	width: auto;
	max-height: 120px;
	object-fit: contain;
}

.promo-badge {
	position: relative;
	z-index: 2;
	background: var(--white-color, #fff);
	color: var(--rot-weine-4-color, #2e0b06);
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-weight: 500;
	font-size: 1.4rem;
	text-transform: uppercase;
	padding: 0.4rem 0.8rem;
	margin: 1rem;
	border-radius: 0;
	text-decoration: none;
}

/* Badges innerhalb von Promo-Links bekommen keine Hover-Underline. */
.promo-box:hover .promo-badge,
.promo-box:focus .promo-badge,
.promo-box:active .promo-badge {
	text-decoration: none;
}

.promo-box .promo-badge {
	display: inline-block;
}

a.promo-box,
a.promo-box:hover,
a.promo-box:focus {
	text-decoration: none;
}

a.promo-box:hover .promo-badge {
	text-decoration: none;
}

.promo-btn {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--weissweine-2-color, #f9b301);
	color: var(--rot-weine-4-color, #2e0b06);
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-weight: 500;
	font-size: 1.2rem;
	text-transform: uppercase;
	padding: 0.6rem 1.2rem;
	border-radius: 0;
}

.promo-more {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--weissweine-2-color, #f9b301);
	color: var(--rot-weine-4-color, #2e0b06);
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-weight: 500;
	font-size: 1.3rem;
	text-transform: uppercase;
	padding: 0.8rem 1rem;
}

/* ===== UNSER VERSPRECHEN ===== */
.versprechen-section {
	background: var(--bg-warm, #f4ede7);
	padding: 3rem 1rem 4rem;
}

.versprechen-section .container {
	max-width: var(--container-max-width, 1280px);
	margin: 0 auto;
}

.versprechen-title {
	text-align: center;
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-size: 2rem;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--rotweine-1-color, #6c3a55);
	margin-bottom: 2.5rem;
}

.versprechen-grid {
	display: flex;
	justify-content: space-around;
	gap: 2rem;
	flex-wrap: wrap;
}

.versprechen-item {
	text-align: center;
	flex: 1 1 22%;
	max-width: 220px;
}

.versprechen-icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: #f5f3ed;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	color: var(--rot-weine-4-color, #2e0b06);
	font-size: 2.2rem;
}

.versprechen-text {
	font-family: 'BrandonGrotesqueWeb-Bold', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--black-color, #010101);
	line-height: 1.3;
	margin: 0;
}

/* ===== NEWSLETTER-BEREICH ===== */
.newsletter-section {
	position: relative;
}

.newsletter-bg {
	background-size: cover;
	background-position: center;
	padding: 4rem 1rem;
	position: relative;
}

.newsletter-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.45);
	z-index: 1;
}

.newsletter-content {
	max-width: 500px;
	margin-left: auto;
	background: transparent;
	padding: 2rem;
	border-radius: 0;
	position: relative;
	z-index: 2;
}

.newsletter-title {
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-size: 2rem;
	font-weight: 500;
	color: var(--black-color, #010101);
	margin-bottom: 1rem;
}

.newsletter-lead {
	font-family: var(--font-body, 'Prompt', sans-serif);
	font-size: 1.4rem;
	color: var(--text, #333);
	margin-bottom: 1rem;
}

.newsletter-benefits {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.newsletter-benefits li {
	font-family: var(--font-body, 'Prompt', sans-serif);
	font-size: 1.4rem;
	color: var(--text, #333);
	margin-bottom: 0.4rem;
}

.newsletter-benefits li i {
	color: var(--weissweine-2-color, #f9b301);
	margin-right: 0.4rem;
}

.newsletter-desc {
	font-family: var(--font-body, 'Prompt', sans-serif);
	font-size: 1.4rem;
	color: var(--secondary-text, #575757);
	margin-bottom: 1.5rem;
	line-height: 1.5;
}

.newsletter-form-placeholder {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.newsletter-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-family: var(--font-body, 'Prompt', sans-serif);
	font-size: 1.3rem;
	color: var(--text, #333);
	cursor: not-allowed;
}

.newsletter-checkbox-label input[type="checkbox"] {
	margin-top: 0.2rem;
	accent-color: var(--weissweine-2-color, #f9b301);
}

.newsletter-checkbox-label a {
	color: var(--rot-weine-4-color, #2e0b06);
	text-decoration: underline;
	font-weight: 500;
}

.newsletter-input {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--border-color, #d1d1d1);
	border-radius: 0;
	font-family: var(--font-body, 'Prompt', sans-serif);
	font-size: 1.4rem;
	color: var(--text, #333);
	background: var(--white-color, #fff);
	cursor: not-allowed;
}

.newsletter-input::placeholder {
	color: var(--secondary-text, #575757);
}

.newsletter-submit {
	display: inline-block;
	width: 100%;
	padding: 1rem 1.5rem;
	background: var(--weissweine-2-color, #f9b301);
	color: var(--rot-weine-4-color, #2e0b06);
	font-family: var(--font-heading, 'Prompt', sans-serif);
	font-size: 1.4rem;
	font-weight: 500;
	text-transform: uppercase;
	border: none;
	border-radius: 0;
	cursor: not-allowed;
	transition: background-color 0.25s ease;
}

.newsletter-submit:not(:disabled):hover {
	background: var(--weissweine-1-color, #d19221);
}

.newsletter-hinweis {
	font-family: var(--font-body, 'Prompt', sans-serif);
	font-size: 1.2rem;
	color: var(--secondary-text, #575757);
	margin: 0.5rem 0 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
	.hero-slide {
		flex-direction: column-reverse;
		min-height: auto;
		padding: 1rem;
	}

	.hero-slide-content {
		max-width: 100%;
		padding: 1rem 0;
		text-align: center;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-slide-image {
		max-width: 100%;
	}

	.hero-dots {
		left: 50%;
		transform: translateX(-50%);
	}

	.hero-prev,
	.hero-next {
		display: none;
	}

	.promo-row-2,
	.promo-row-4 {
		flex-wrap: wrap;
	}

	.promo-row-2 .promo-box {
		flex: 1 1 100%;
		min-height: 220px;
	}

	.promo-row-4 .promo-box {
		flex: 1 1 48%;
		min-height: 180px;
	}

	.versprechen-grid {
		gap: 1.5rem;
	}

	.versprechen-item {
		flex: 1 1 45%;
	}

	.newsletter-content {
		margin: 0 auto;
		max-width: 100%;
	}
}

@media (max-width: 576px) {
	.promo-row-4 .promo-box {
		flex: 1 1 100%;
		min-height: 180px;
	}

	.versprechen-item {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.hero-title {
		font-size: 1.6rem;
	}
}
