/**
 * Händler Landing Page Styles - Conversion Optimized
 * Sprint 5: Complete rebuild as conversion landing page
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.haendler-hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
	overflow: hidden;
}

.haendler-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.haendler-hero-inner {
	position: relative;
	z-index: 1;
}

.haendler-hero-bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(3px);
}

.haendler-hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.35);
}

.haendler-hero-inner {
	position: relative;
	z-index: 1;
}

.haendler-hero-content {
	max-width: 800px;
}

.haendler-hero-title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	margin: 0 0 24px;
}

.haendler-hero-line {
	display: block;
}

.haendler-hero-accent {
	color: var(--color-accent, #f97316);
}

.haendler-hero-sub {
	font-size: clamp(1.125rem, 2.5vw, 1.375rem);
	line-height: 1.6;
	color: rgba(255,255,255,0.9);
	margin: 0 0 32px;
	max-width: 640px;
}

.haendler-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 32px;
}

.haendler-hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.haendler-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9375rem;
	color: rgba(255,255,255,0.85);
}

.haendler-trust-item svg {
	color: var(--color-accent, #f97316);
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.haendler-hero {
		min-height: auto;
		padding: 100px 0 60px;
	}

	.haendler-hero-cta {
		flex-direction: column;
	}

	.haendler-hero-cta .btn {
		width: 100%;
		justify-content: center;
	}

	.haendler-hero-trust {
		flex-direction: column;
		gap: 12px;
	}
}

/* ==========================================================================
   Section Titles
   ========================================================================== */

.haendler-section-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-text, #1a202c);
	margin: 0 0 16px;
	text-align: center;
}

.haendler-section-lead {
	font-size: 1.125rem;
	color: var(--color-text-muted, #64748b);
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}

/* ==========================================================================
   Problem Section
   ========================================================================== */

.haendler-problem {
	background: var(--color-surface, #f8fafc);
	padding: 80px 0;
}

.haendler-problem-content {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.haendler-problem-text {
	font-size: clamp(1.125rem, 2vw, 1.25rem);
	line-height: 1.8;
	color: var(--color-text, #1a202c);
}

.haendler-problem-text p {
	margin: 0 0 24px;
}

.haendler-problem-text strong {
	color: var(--color-primary, #2563eb);
}

.haendler-problem-solution {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	color: var(--color-accent, #f97316) !important;
	margin-top: 32px !important;
}

/* ==========================================================================
   Flow Section (Timeline)
   ========================================================================== */

.haendler-flow {
	position: relative;
	padding: 80px 0;
	overflow: hidden;
}

.haendler-flow-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-flow-timeline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	margin-top: 48px;
}

.haendler-flow-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 16px;
	min-width: 120px;
	max-width: 140px;
	text-align: center;
}

.haendler-flow-icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	color: var(--color-primary, #2563eb);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.haendler-flow-icon-accent {
	background: var(--color-accent, #f97316);
	color: #fff;
}

.haendler-flow-step:hover .haendler-flow-icon {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.haendler-flow-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
	line-height: 1.4;
}

.haendler-flow-connector {
	width: 24px;
	height: 2px;
	background: var(--color-border, #e2e8f0);
	margin-top: 44px;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.haendler-flow-timeline {
		gap: 4px;
	}

	.haendler-flow-step {
		min-width: 100px;
		max-width: 120px;
		padding: 12px 8px;
	}

	.haendler-flow-icon {
		width: 56px;
		height: 56px;
	}

	.haendler-flow-icon svg {
		width: 28px;
		height: 28px;
	}

	.haendler-flow-connector {
		width: 16px;
		margin-top: 40px;
	}
}

@media (max-width: 768px) {
	.haendler-flow-timeline {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}

	.haendler-flow-step {
		flex-direction: row;
		max-width: 100%;
		width: 100%;
		text-align: left;
		gap: 16px;
		padding: 16px 0;
	}

	.haendler-flow-connector {
		width: 2px;
		height: 24px;
		margin: 0;
	}
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

.haendler-benefits {
	position: relative;
	padding: 80px 0;
	overflow: hidden;
}

.haendler-benefits-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-benefits-bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.06;
	filter: grayscale(100%);
}

.haendler-benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.haendler-benefit-card {
	padding: 32px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.haendler-benefit-card:hover {
	transform: translateY(-8px);
}

.haendler-benefit-icon {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	background: var(--color-primary-light, #eff6ff);
	border-radius: 20px;
	color: var(--color-primary, #2563eb);
}

.haendler-benefit-icon-accent {
	background: var(--color-accent-light, #fff7ed);
	color: var(--color-accent, #f97316);
}

.haendler-benefit-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-text, #1a202c);
	margin: 0 0 12px;
}

.haendler-benefit-text {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text-muted, #64748b);
	margin: 0;
}

.haendler-benefits-cta {
	text-align: center;
	margin-top: 48px;
}

@media (max-width: 1024px) {
	.haendler-benefits-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.haendler-benefits-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.haendler-pricing {
	position: relative;
	padding: 80px 0;
	background: var(--color-surface, #f8fafc);
	overflow: hidden;
}

.haendler-pricing-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-pricing-intro {
	text-align: center;
	margin-bottom: 40px;
}

.haendler-pricing-formula {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 24px 40px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.haendler-formula-item {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text, #1a202c);
}

.haendler-formula-op {
	font-size: 1.5rem;
	color: var(--color-text-muted, #64748b);
}

.haendler-formula-result {
	color: var(--color-accent, #f97316);
}

.haendler-pricing-table-wrap {
	max-width: 640px;
	margin: 0 auto 32px;
	overflow-x: auto;
}

.haendler-pricing-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.haendler-pricing-table th,
.haendler-pricing-table td {
	padding: 16px 24px;
	text-align: left;
}

.haendler-pricing-table thead {
	background: var(--color-primary, #2563eb);
	color: #fff;
}

.haendler-pricing-table th {
	font-weight: 600;
	font-size: 0.9375rem;
}

.haendler-pricing-table tbody tr {
	border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.haendler-pricing-table tbody tr:last-child {
	border-bottom: none;
}

.haendler-pricing-table tbody tr:hover {
	background: var(--color-surface, #f8fafc);
}

.haendler-pricing-table td {
	font-size: 1rem;
	color: var(--color-text, #1a202c);
}

.haendler-pricing-extras {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-bottom: 32px;
}

.haendler-pricing-extra {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.haendler-extra-label {
	font-size: 0.9375rem;
	color: var(--color-text-muted, #64748b);
}

.haendler-extra-value {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-text, #1a202c);
}

.haendler-pricing-badges {
	display: flex;
	justify-content: center;
	gap: 24px;
}

.haendler-pricing-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
}

.haendler-pricing-badge svg {
	color: var(--color-success, #22c55e);
}

@media (max-width: 640px) {
	.haendler-pricing-formula {
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
		padding: 20px;
	}

	.haendler-pricing-extras {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.haendler-pricing-badges {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
}

/* ==========================================================================
   Examples Section
   ========================================================================== */

.haendler-examples {
	padding: 80px 0;
}

.haendler-examples-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.haendler-example-card {
	padding: 0;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.haendler-example-card:hover {
	transform: translateY(-8px);
}

.haendler-example-header {
	padding: 24px;
	background: var(--color-primary, #2563eb);
	color: #fff;
}

.haendler-example-type {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.8;
	margin-bottom: 8px;
}

.haendler-example-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
}

.haendler-example-details {
	padding: 24px;
}

.haendler-example-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.haendler-example-row:last-child {
	border-bottom: none;
}

.haendler-example-label {
	font-size: 0.9375rem;
	color: var(--color-text-muted, #64748b);
}

.haendler-example-value {
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-text, #1a202c);
}

.haendler-example-total {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 2px solid var(--color-primary, #2563eb);
	border-bottom: none;
}

.haendler-example-total .haendler-example-value {
	font-size: 1.25rem;
	color: var(--color-accent, #f97316);
}

.haendler-example-note {
	padding: 0 24px 16px;
	font-size: 0.875rem;
	color: var(--color-text-muted, #64748b);
	margin: 0;
}

.haendler-examples-cta {
	text-align: center;
	margin-top: 48px;
}

@media (max-width: 1024px) {
	.haendler-examples-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.haendler-examples-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Dashboard Section
   ========================================================================== */

.haendler-dashboard {
	position: relative;
	padding: 80px 0;
	background: var(--color-surface, #f8fafc);
	overflow: hidden;
}

.haendler-dashboard-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-dashboard-flow {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-bottom: 48px;
}

.haendler-dashboard-metric {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
	min-width: 100px;
}

.haendler-dashboard-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary-light, #eff6ff);
	border-radius: 12px;
	color: var(--color-primary, #2563eb);
}

.haendler-dashboard-icon-accent {
	background: var(--color-accent-light, #fff7ed);
	color: var(--color-accent, #f97316);
}

.haendler-dashboard-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
	text-align: center;
}

.haendler-dashboard-arrow {
	color: var(--color-text-muted, #64748b);
	flex-shrink: 0;
}

.haendler-dashboard-placeholder {
	max-width: 800px;
	margin: 0 auto;
}

.haendler-dashboard-mock {
	aspect-ratio: 16/9;
	background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed var(--color-border, #cbd5e1);
}

.haendler-dashboard-mock-text {
	font-size: 1rem;
	color: var(--color-text-muted, #64748b);
}

.haendler-dashboard-image {
	display: block;
	width: 100%;
	max-width: 700px;
	height: auto;
	margin: 0 auto;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
	.haendler-dashboard-flow {
		flex-direction: column;
	}

	.haendler-dashboard-metric {
		flex-direction: row;
		width: 100%;
		justify-content: flex-start;
		gap: 16px;
	}

	.haendler-dashboard-arrow {
		transform: rotate(90deg);
	}
}

/* ==========================================================================
   Customer View Section
   ========================================================================== */

.haendler-customer-view {
	padding: 80px 0;
}

.haendler-customer-flow {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 24px;
	flex-wrap: wrap;
}

.haendler-customer-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 280px;
}

.haendler-customer-device {
	position: relative;
	margin-bottom: 24px;
}

.haendler-customer-screenshot {
	display: block;
	width: 180px;
	height: auto;
	max-height: 360px;
	border-radius: 24px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
	object-fit: contain;
}

.haendler-customer-info {
	padding: 0 8px;
}

.haendler-customer-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--color-primary, #2563eb);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	border-radius: 50%;
	margin-bottom: 12px;
}

.haendler-customer-info h4 {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-text, #1a202c);
	margin: 0 0 8px;
}

.haendler-customer-info p {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-text-muted, #64748b);
	margin: 0;
}

.haendler-customer-connector {
	display: flex;
	align-items: center;
	color: var(--color-border, #cbd5e1);
	font-size: 2rem;
	padding-top: 120px;
}

.haendler-customer-connector::before {
	content: '→';
}

@media (max-width: 900px) {
	.haendler-customer-flow {
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	.haendler-customer-connector {
		padding-top: 0;
		transform: rotate(90deg);
	}

	.haendler-customer-step {
		max-width: 320px;
	}
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */

.haendler-reviews {
	padding: 80px 0;
}

.haendler-reviews-content {
	max-width: 800px;
	margin: 0 auto;
}

.haendler-reviews-info {
	text-align: center;
	margin-bottom: 48px;
}

.haendler-reviews-info p {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--color-text, #1a202c);
	margin: 0 0 16px;
}

.haendler-reviews-features {
	display: flex;
	justify-content: center;
	gap: 32px;
}

.haendler-review-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.haendler-review-icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary-light, #eff6ff);
	border-radius: 16px;
	color: var(--color-primary, #2563eb);
}

.haendler-review-icon-accent {
	background: var(--color-accent-light, #fff7ed);
	color: var(--color-accent, #f97316);
}

.haendler-review-feature span {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
	max-width: 140px;
}

@media (max-width: 640px) {
	.haendler-reviews-features {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.haendler-review-feature {
		flex-direction: row;
		text-align: left;
		gap: 16px;
	}

	.haendler-review-feature span {
		max-width: none;
	}
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.haendler-faq {
	position: relative;
	padding: 80px 0;
	background: var(--color-surface, #f8fafc);
	overflow: hidden;
}

.haendler-faq-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-faq-list {
	max-width: 800px;
	margin: 48px auto 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.haendler-faq-item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
	overflow: hidden;
}

.haendler-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--color-text, #1a202c);
	cursor: pointer;
	list-style: none;
}

.haendler-faq-question::-webkit-details-marker {
	display: none;
}

.haendler-faq-question span {
	flex: 1;
}

.haendler-faq-arrow {
	flex-shrink: 0;
	color: var(--color-text-muted, #64748b);
	transition: transform 0.3s ease;
}

.haendler-faq-item[open] .haendler-faq-arrow {
	transform: rotate(180deg);
}

.haendler-faq-answer {
	padding: 0 24px 20px;
}

.haendler-faq-answer p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text-muted, #64748b);
	margin: 0;
}

.haendler-faq-answer strong {
	color: var(--color-text, #1a202c);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.haendler-cta {
	position: relative;
	padding: 100px 0;
	overflow: hidden;
	/* The .haendler-cta-bg child sits at z-index -1, which without a stacking
	   context here paints behind the white page background instead of behind
	   this section - the gradient never showed and the white CTA text was
	   invisible on white. */
	isolation: isolate;
}

.haendler-cta-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-cta-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark, #1a365d) 100%);
}

.haendler-cta .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	/* Top, not center: the embedded registration form is far taller than the
	   copy, and centering pushed the heading into the middle of the section. */
	align-items: start;
}

.haendler-cta-content {
	color: #fff;
	/* Keep the copy beside the form while scrolling past its full height. */
	position: sticky;
	top: 120px;
}

.haendler-cta-title,
.haendler-cta-text {
	/* The global "h1, h2, h3, h4" rule sets a dark heading colour that wins
	   over the inherited white of .haendler-cta-content. */
	color: #fff;
}

.haendler-cta-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
}

.haendler-cta-text {
	font-size: 1.125rem;
	line-height: 1.6;
	opacity: 0.9;
	margin: 0;
}

.haendler-cta-form {
	max-width: 480px;
}

.haendler-cta-buttons {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.haendler-cta-buttons .btn {
	justify-content: center;
}

.btn-outline-white {
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
}

.btn-outline-white:hover {
	background: rgba(255,255,255,0.1);
}

.haendler-cta-buttons .btn-outline-white {
	background: var(--color-primary, #2563eb);
	border-color: var(--color-primary, #2563eb);
	color: #fff;
}

.haendler-cta-buttons .btn-outline-white:hover {
	background: var(--color-primary-dark, #1e40af);
	border-color: var(--color-primary-dark, #1e40af);
}

.haendler-form-card {
	padding: 32px;
}

/* subpages-shared.css strips the glass fill off .haendler-form-card and moves
   it onto .haendler-form-embed, which it tints translucent white for the light
   background of the old onboarding section. On this gradient that reads blue,
   so the embedded form gets an opaque card of its own. */
.haendler-cta .haendler-form-embed {
	background: #fff;
	border-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 18px 40px rgba(2, 74, 176, 0.22);
}

.haendler-form-admin-note {
	font-size: 0.875rem;
	color: var(--color-text-muted, #64748b);
	text-align: center;
	padding: 24px;
	background: var(--color-surface, #f8fafc);
	border-radius: 8px;
}

@media (max-width: 1024px) {
	.haendler-cta .container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.haendler-cta-form {
		max-width: 100%;
	}

	/* One column: sticking the copy would pin it over the form while scrolling
	   through the fields below it. */
	.haendler-cta-content {
		position: static;
	}
}

/* ==========================================================================
   Utility Classes & Animations
   ========================================================================== */

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

.glass-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 16px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.light-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.4;
}

.light-blob-blue {
	width: 400px;
	height: 400px;
	background: var(--color-primary, #2563eb);
	top: 20%;
	left: -10%;
}

.light-blob-orange {
	width: 300px;
	height: 300px;
	background: var(--color-accent, #f97316);
	bottom: 20%;
	right: -5%;
}

.light-blob-parallax {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* ==========================================================================
   Demo Section
   ========================================================================== */

.haendler-demo {
	position: relative;
	padding: 100px 0;
	background: var(--color-surface, #f8fafc);
	overflow: hidden;
}

.haendler-demo-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-demo-bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.08;
}

.haendler-demo-bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, var(--color-surface, #f8fafc) 0%, transparent 30%, transparent 70%, var(--color-surface, #f8fafc) 100%);
}

.haendler-demo .section-header {
	max-width: 700px;
	margin: 0 auto 64px;
}

.haendler-demo .haendler-section-lead {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--color-text-muted, #64748b);
	margin-top: 16px;
}

.haendler-demo-flow {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 64px;
}

.haendler-demo-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 16px 12px;
	text-align: center;
	position: relative;
	min-width: 120px;
	max-width: 160px;
}

.haendler-demo-step-number {
	position: absolute;
	top: 0;
	right: 8px;
	width: 24px;
	height: 24px;
	background: var(--color-accent, #f97316);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.haendler-demo-step-icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary-light, #eff6ff);
	border-radius: 16px;
	color: var(--color-primary, #2563eb);
}

.haendler-demo-step-icon-accent {
	background: var(--color-accent-light, #fff7ed);
	color: var(--color-accent, #f97316);
}

.haendler-demo-step-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
	line-height: 1.4;
}

.haendler-demo-connector {
	width: 32px;
	height: 2px;
	background: linear-gradient(90deg, var(--color-primary, #2563eb) 0%, var(--color-accent, #f97316) 100%);
	margin-top: 44px;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.haendler-demo-flow {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}

	.haendler-demo-step {
		flex-direction: row;
		text-align: left;
		max-width: 100%;
		width: 100%;
		padding: 12px 0;
		gap: 16px;
	}

	.haendler-demo-step-number {
		position: static;
	}

	.haendler-demo-connector {
		width: 2px;
		height: 24px;
		margin: 0 0 0 76px;
	}
}

.haendler-demo-features {
	background: #fff;
	border-radius: 20px;
	padding: 40px;
	margin-bottom: 48px;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.haendler-demo-features-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text, #1a202c);
	margin: 0 0 24px;
	text-align: center;
}

.haendler-demo-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.haendler-demo-feature {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--color-surface, #f8fafc);
	border-radius: 10px;
}

.haendler-demo-feature svg {
	flex-shrink: 0;
	color: var(--color-accent, #f97316);
}

.haendler-demo-feature span {
	font-size: 0.9375rem;
	color: var(--color-text, #1a202c);
}

.haendler-demo-videos {
	max-width: 900px;
	margin: 0 auto 48px;
}

.haendler-demo-videos-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-text, #1a202c);
	margin: 0 0 24px;
	text-align: center;
}

.haendler-demo-videos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 24px;
}

.haendler-demo-video {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.haendler-demo-video-embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: #000;
}

.haendler-demo-video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.haendler-demo-video-title {
	margin: 0;
	padding: 14px 16px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
}

.haendler-demo-sandbox {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	max-width: 700px;
	margin: 0 auto 48px;
	padding: 24px;
	background: rgba(37, 99, 235, 0.05);
	border-radius: 16px;
	border: 1px solid rgba(37, 99, 235, 0.15);
}

.haendler-demo-sandbox-body {
	flex: 1;
}

.haendler-demo-sandbox-title {
	margin: 0 0 6px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-primary, #2563eb);
}

.haendler-demo-sandbox-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary-light, #eff6ff);
	border-radius: 12px;
	color: var(--color-primary, #2563eb);
}

.haendler-demo-sandbox-text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-text, #1a202c);
	margin: 0;
}

.haendler-demo-cta {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* ==========================================================================
   Demo Form Section
   ========================================================================== */

.haendler-demo-form {
	position: relative;
	padding: 100px 0;
	overflow: hidden;
}

.haendler-demo-form-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-demo-form-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark, #1a365d) 100%);
}

.haendler-demo-form-content {
	text-align: center;
	color: #fff;
	max-width: 600px;
	margin: 0 auto 48px;
}

.haendler-demo-form-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
}

.haendler-demo-form-text {
	font-size: 1.125rem;
	line-height: 1.6;
	opacity: 0.9;
	margin: 0;
}

.haendler-demo-form-card {
	max-width: 640px;
	margin: 0 auto;
	padding: 40px;
}

.haendler-demo-request-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.haendler-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 640px) {
	.haendler-form-row {
		grid-template-columns: 1fr;
	}
}

.haendler-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.haendler-form-group label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
}

.haendler-form-group .required {
	color: var(--color-accent, #f97316);
}

.haendler-form-group input,
.haendler-form-group select,
.haendler-form-group textarea {
	padding: 12px 16px;
	font-size: 1rem;
	border: 1px solid var(--color-border, #e2e8f0);
	border-radius: 10px;
	background: #fff;
	color: var(--color-text, #1a202c);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.haendler-form-group input:focus,
.haendler-form-group select:focus,
.haendler-form-group textarea:focus {
	outline: none;
	border-color: var(--color-primary, #2563eb);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.haendler-form-group input::placeholder,
.haendler-form-group textarea::placeholder {
	color: var(--color-text-muted, #94a3b8);
}

.haendler-form-group select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	padding-right: 40px;
}

.haendler-form-group textarea {
	resize: vertical;
	min-height: 80px;
}

.haendler-form-submit {
	text-align: center;
	margin-top: 8px;
}

.haendler-form-submit .btn {
	min-width: 240px;
}

.haendler-form-privacy {
	font-size: 0.8125rem;
	color: var(--color-text-muted, #64748b);
	text-align: center;
	margin: 0;
}

.haendler-form-privacy a {
	color: var(--color-primary, #2563eb);
	text-decoration: underline;
}

/* ==========================================================================
   Platforms Section (Mobile vs Desktop)
   ========================================================================== */

.haendler-platforms {
	position: relative;
	padding: 80px 0;
	overflow: hidden;
}

.haendler-platforms-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.haendler-platforms-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-top: 48px;
}

.haendler-platform-card {
	padding: 32px;
	position: relative;
	display: flex;
	flex-direction: column;
}

.haendler-platform-featured {
	border: 2px solid var(--color-accent, #f97316);
}

.haendler-platform-badge {
	position: absolute;
	top: -12px;
	left: 24px;
	background: var(--color-accent, #f97316);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 12px;
	border-radius: 4px;
}

.haendler-platform-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.haendler-platform-icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary-light, #eff6ff);
	border-radius: 16px;
	color: var(--color-primary, #2563eb);
	flex-shrink: 0;
}

.haendler-platform-icon-accent {
	background: var(--color-accent-light, #fff7ed);
	color: var(--color-accent, #f97316);
}

.haendler-platform-title {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--color-text, #1a202c);
	margin: 0;
}

.haendler-platform-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	flex: 1;
}

.haendler-platform-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.haendler-platform-list li:last-child {
	border-bottom: none;
}

.haendler-platform-list svg {
	flex-shrink: 0;
	color: var(--color-success, #22c55e);
	margin-top: 2px;
}

.haendler-platform-list span {
	font-size: 0.9375rem;
	color: var(--color-text, #1a202c);
	line-height: 1.5;
}

.haendler-platform-screenshot {
	margin-top: auto;
}

.haendler-screenshot-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
	border-radius: 12px;
	border: 2px dashed var(--color-border, #cbd5e1);
	color: var(--color-text-muted, #64748b);
	font-size: 0.875rem;
}

img.haendler-screenshot-mobile {
	display: block;
	width: 180px;
	height: auto;
	max-height: 380px;
	margin: 0 auto;
	border-radius: 24px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
	object-fit: contain;
}

img.haendler-screenshot-desktop {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
	object-fit: contain;
}

.haendler-screenshot-mobile {
	width: 180px;
	height: 320px;
	margin: 0 auto;
	border-radius: 24px;
}

.haendler-screenshot-desktop {
	width: 100%;
	aspect-ratio: 16/10;
}

.btn-platform-cta {
	margin-top: 24px;
	text-align: center;
	justify-content: center;
}

.haendler-platform-note {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--color-border, #e2e8f0);
	font-size: 0.8125rem;
	color: var(--color-text-muted, #64748b);
	text-align: center;
}

.haendler-platform-note a {
	color: var(--color-primary, #2563eb);
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.haendler-platforms-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Creation Section (Offer Workflow)
   ========================================================================== */

.haendler-creation {
	padding: 80px 0;
	background: var(--color-surface, #f8fafc);
}

.haendler-creation-flow {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 48px;
}

.haendler-creation-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 16px 12px;
	min-width: 100px;
	max-width: 130px;
	text-align: center;
	position: relative;
}

.haendler-creation-number {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	background: var(--color-primary, #2563eb);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.haendler-creation-step-highlight .haendler-creation-number {
	background: var(--color-accent, #f97316);
}

.haendler-creation-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	color: var(--color-primary, #2563eb);
}

.haendler-creation-icon-accent {
	background: var(--color-accent, #f97316);
	color: #fff;
}

.haendler-creation-label {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
	line-height: 1.4;
}

.haendler-creation-connector {
	width: 24px;
	height: 2px;
	background: var(--color-border, #e2e8f0);
	margin-top: 40px;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.haendler-creation-flow {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}

	.haendler-creation-step {
		flex-direction: row;
		max-width: 100%;
		width: 100%;
		text-align: left;
		gap: 16px;
		padding: 12px 0;
	}

	.haendler-creation-number {
		position: static;
		width: 24px;
		height: 24px;
		font-size: 0.75rem;
	}

	.haendler-creation-connector {
		width: 2px;
		height: 20px;
		margin: 0 0 0 60px;
	}
}

.haendler-creation-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-bottom: 32px;
}

.haendler-creation-feature {
	padding: 24px;
	text-align: center;
}

.haendler-creation-feature-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	background: var(--color-primary-light, #eff6ff);
	border-radius: 14px;
	color: var(--color-primary, #2563eb);
}

.haendler-creation-feature-icon-accent {
	background: var(--color-accent-light, #fff7ed);
	color: var(--color-accent, #f97316);
}

.haendler-creation-feature-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-text, #1a202c);
	margin: 0 0 8px;
}

.haendler-creation-feature-text {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--color-text-muted, #64748b);
	margin: 0;
}

@media (max-width: 1024px) {
	.haendler-creation-features {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.haendler-creation-features {
		grid-template-columns: 1fr;
	}
}

.haendler-creation-note {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	max-width: 700px;
	margin: 0 auto;
	padding: 20px 24px;
	background: rgba(37, 99, 235, 0.05);
	border-radius: 12px;
	border: 1px solid rgba(37, 99, 235, 0.15);
}

.haendler-creation-note-icon {
	flex-shrink: 0;
	color: var(--color-primary, #2563eb);
}

.haendler-creation-note p {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-text, #1a202c);
	margin: 0;
}

/* ==========================================================================
   Moderation Section
   ========================================================================== */

.haendler-moderation {
	padding: 80px 0;
}

.haendler-moderation-flow {
	max-width: 700px;
	margin: 0 auto 48px;
	padding: 32px;
	background: var(--color-surface, #f8fafc);
	border-radius: 16px;
}

.haendler-moderation-step {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
}

.haendler-moderation-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	color: var(--color-primary, #2563eb);
	flex-shrink: 0;
}

.haendler-moderation-icon-small {
	width: 40px;
	height: 40px;
	border-radius: 10px;
}

.haendler-moderation-icon-accent {
	background: var(--color-accent, #f97316);
	color: #fff;
}

.haendler-moderation-label {
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-text, #1a202c);
}

.haendler-moderation-connector {
	display: flex;
	justify-content: center;
	padding: 8px 0;
	color: var(--color-text-muted, #64748b);
}

.haendler-moderation-branch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 16px;
}

.haendler-moderation-path {
	padding: 20px;
	background: #fff;
	border-radius: 12px;
	border: 2px solid var(--color-border, #e2e8f0);
}

.haendler-moderation-path-ok {
	border-color: var(--color-success, #22c55e);
}

.haendler-moderation-path-review {
	border-color: var(--color-accent, #f97316);
}

.haendler-moderation-connector-h {
	display: none;
}

.haendler-moderation-result {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 0.9375rem;
	margin-bottom: 8px;
}

.haendler-moderation-result-ok {
	color: var(--color-success, #22c55e);
}

.haendler-moderation-result-review {
	color: var(--color-accent, #f97316);
}

.haendler-moderation-result-human {
	color: var(--color-primary, #2563eb);
}

.haendler-moderation-result-text {
	font-size: 0.875rem;
	color: var(--color-text-muted, #64748b);
	margin: 0;
}

.haendler-moderation-substep {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
}

.haendler-moderation-connector-v {
	display: none;
}

.haendler-moderation-sublabel {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text, #1a202c);
}

.haendler-moderation-subbranch {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.haendler-moderation-subresult {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 10px 14px;
	background: var(--color-surface, #f8fafc);
	border-radius: 8px;
}

@media (max-width: 768px) {
	.haendler-moderation-branch {
		grid-template-columns: 1fr;
	}
}

.haendler-moderation-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.haendler-moderation-feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px;
	background: var(--color-surface, #f8fafc);
	border-radius: 12px;
}

.haendler-moderation-feature-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary-light, #eff6ff);
	border-radius: 12px;
	color: var(--color-primary, #2563eb);
	flex-shrink: 0;
}

.haendler-moderation-feature-icon-accent {
	background: var(--color-accent-light, #fff7ed);
	color: var(--color-accent, #f97316);
}

.haendler-moderation-feature-content h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-text, #1a202c);
	margin: 0 0 6px;
}

.haendler-moderation-feature-content p {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--color-text-muted, #64748b);
	margin: 0;
}

@media (max-width: 1024px) {
	.haendler-moderation-features {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
	.haendler-hero,
	.haendler-cta,
	.haendler-demo-form {
		background: #fff !important;
		color: #000 !important;
	}

	.haendler-hero-bg,
	.haendler-cta-bg,
	.haendler-demo-form-bg,
	.light-blob-parallax {
		display: none !important;
	}

	.reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}
