/*
Theme Name: Brokerfree PropTech
Theme URI: https://brokerfree.net
Author: Dein Team
Description: Ein reduziertes WordPress-Theme für eine Landingpage mit Lead-Gate und Exposé-Generator.
Version: 2.0.0
Text Domain: brokerfree
*/

:root {
	--bf-ink: #0a1630;
	--bf-navy: #10284e;
	--bf-gold: #c89f4a;
	--bf-sand: #f4efe6;
	--bf-sky: #d9e6f6;
	--bf-line: rgba(16, 40, 78, 0.12);
	--bf-text: #18253b;
	--bf-muted: #66758d;
	--bf-white: #ffffff;
	--bf-shadow: 0 24px 70px rgba(10, 22, 48, 0.12);
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	color: var(--bf-text);
	background:
		radial-gradient(circle at top left, rgba(201, 159, 74, 0.12), transparent 28%),
		radial-gradient(circle at top right, rgba(16, 40, 78, 0.08), transparent 30%),
		linear-gradient(180deg, #fbfbfa 0%, #f4f6f8 100%);
	line-height: 1.6;
	min-height: 100vh;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

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

.container {
	width: 100%;
	max-width: 1180px;
	padding-right: 20px;
	padding-left: 20px;
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(14px);
	background: rgba(255, 255, 255, 0.82);
	border-bottom: 1px solid rgba(16, 40, 78, 0.08);
}

.header-inner,
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0;
}

.main-navigation .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	list-style: none;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--bf-muted);
}

.main-navigation .menu a {
	transition: color 0.18s ease;
}

.main-navigation .menu a:hover {
	color: var(--bf-navy);
}

.site-title {
	display: inline-flex;
	align-items: baseline;
	gap: 0;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--bf-navy);
}

.site-title strong {
	color: var(--bf-gold);
}

.site-title-footer {
	font-size: 1.15rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.85rem 1.3rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	letter-spacing: -0.01em;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		background-color 0.22s ease,
		color 0.22s ease,
		border-color 0.22s ease;
	cursor: pointer;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: linear-gradient(135deg, var(--bf-gold), #e2bd6f);
	color: var(--bf-ink);
	box-shadow: 0 16px 36px rgba(200, 159, 74, 0.22);
}

.btn-primary:hover {
	box-shadow: 0 20px 46px rgba(200, 159, 74, 0.3);
}

.btn-secondary {
	background: rgba(16, 40, 78, 0.06);
	color: var(--bf-navy);
	border-color: rgba(16, 40, 78, 0.08);
}

.btn-secondary:hover {
	background: rgba(16, 40, 78, 0.09);
}

.site-main {
	padding-bottom: 72px;
}

.hero-section,
.page-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 36px;
}

.page-hero-tight {
	padding-bottom: 0;
}

.generator-intro {
	padding-top: 34px;
	padding-bottom: 10px;
}

.generator-intro .hero-copy h1 {
	font-size: clamp(2rem, 4vw, 3.4rem);
	max-width: none;
}

.generator-intro .hero-lead {
	margin-top: 12px;
	font-size: 1rem;
}

.generator-content {
	padding-top: 10px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
	gap: clamp(34px, 7vw, 96px);
	align-items: center;
}

.hero-copy h1 {
	font-size: clamp(2.4rem, 5vw, 4.75rem);
	line-height: 0.98;
	letter-spacing: -0.06em;
	max-width: 12ch;
	color: var(--bf-ink);
}

.hero-lead {
	margin-top: 20px;
	max-width: 62ch;
	font-size: 1.12rem;
	color: var(--bf-muted);
}

.hero-reassurance {
	margin-top: 14px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--bf-muted);
}

.hero-visual {
	position: relative;
	padding: 22px;
	border-radius: 32px;
	background: linear-gradient(145deg, var(--bf-navy), var(--bf-ink));
	box-shadow: 0 28px 70px rgba(10, 22, 48, 0.22);
	transform: rotate(2deg);
}

.hero-visual-top {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-visual-top strong {
	margin-left: auto;
	color: var(--bf-gold);
}

.visual-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #72d5a1;
	box-shadow: 0 0 0 5px rgba(114, 213, 161, 0.14);
}

.document-preview {
	min-height: 290px;
	padding: 28px 24px;
	border-radius: 18px;
	background: #fffdf8;
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.document-kicker {
	display: block;
	margin-bottom: 12px;
	color: var(--bf-gold);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.document-preview strong {
	display: block;
	color: var(--bf-ink);
	font-size: 1.8rem;
	letter-spacing: -0.05em;
}

.document-line {
	display: block;
	width: 55%;
	height: 7px;
	margin-top: 11px;
	border-radius: 99px;
	background: #dfe5eb;
}

.document-line-long { width: 78%; }
.document-line-short { width: 38%; }

.document-image {
	height: 92px;
	margin-top: 22px;
	border-radius: 12px;
	background: linear-gradient(135deg, #e8c77d 0%, #d6e4ec 48%, #9fb6bd 100%);
}

.visual-note {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.86rem;
}

.visual-note > span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bf-gold);
	color: var(--bf-ink);
	font-weight: 800;
}

.visual-note p { margin: 0; }
.visual-note strong { color: #fff; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 0.42rem 0.78rem;
	border-radius: 999px;
	background: rgba(16, 40, 78, 0.07);
	color: var(--bf-navy);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-actions,
.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.hero-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 28px;
}

.metric,
.panel-card,
.step-card,
.lead-form,
.cta-band,
.service-card,
.form-embed {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(16, 40, 78, 0.08);
	box-shadow: var(--bf-shadow);
}

.service-placeholder-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 24px;
}

.service-card {
	padding: 24px;
	border-radius: 24px;
}

.service-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--bf-ink);
	margin-bottom: 10px;
}

.form-embed-box {
	padding: 24px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.95);
}

.form-note {
	margin-bottom: 16px;
	font-size: 1rem;
	color: var(--bf-muted);
}

.form-embed {
	border-radius: 24px;
	overflow: hidden;
}

.form-embed iframe {
	display: block;
	border: 0;
	width: 100%;
	height: 1200px;
	min-height: 0;
	overflow: hidden;
}

.metric {
	padding: 18px;
	border-radius: 22px;
}

.metric strong {
	display: block;
	font-size: 1rem;
	color: var(--bf-ink);
}

.metric span {
	display: block;
	margin-top: 6px;
	font-size: 0.92rem;
	color: var(--bf-muted);
}

.hero-panel {
	display: grid;
	gap: 16px;
}

.panel-card {
	padding: 26px;
	border-radius: 28px;
}

.panel-card-accent {
	background:
		linear-gradient(180deg, rgba(16, 40, 78, 0.96), rgba(16, 40, 78, 0.88)),
		radial-gradient(circle at top left, rgba(200, 159, 74, 0.2), transparent 36%);
	color: rgba(255, 255, 255, 0.92);
	border-color: rgba(255, 255, 255, 0.08);
}

.panel-label {
	margin-bottom: 14px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.82;
}

.check-list,
.bullet-list {
	list-style: none;
	display: grid;
	gap: 12px;
}

.check-list li,
.bullet-list li {
	position: relative;
	padding-left: 28px;
}

.check-list li::before,
.bullet-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 14px;
	height: 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--bf-gold), #f3d999);
	box-shadow: 0 0 0 6px rgba(200, 159, 74, 0.16);
}

.content-section {
	padding: 36px 0;
}

.content-section-alt {
	background: linear-gradient(180deg, rgba(16, 40, 78, 0.03), rgba(16, 40, 78, 0.01));
	border-top: 1px solid rgba(16, 40, 78, 0.05);
	border-bottom: 1px solid rgba(16, 40, 78, 0.05);
}

.section-heading {
	max-width: 760px;
	margin-bottom: 28px;
}

.section-heading h2,
.split-grid h2,
.cta-band h2,
.panel-card h1 {
	font-size: clamp(1.7rem, 3vw, 2.8rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: var(--bf-ink);
}

.section-heading p,
.split-grid p,
.cta-band p,
.panel-card p {
	margin-top: 14px;
	color: var(--bf-muted);
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.step-card {
	padding: 26px;
	border-radius: 26px;
}

.step-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	margin-bottom: 18px;
	background: rgba(16, 40, 78, 0.07);
	color: var(--bf-navy);
	font-weight: 800;
}

.step-card h3,
.panel-card h3 {
	font-size: 1.2rem;
	line-height: 1.2;
	color: var(--bf-ink);
}

.step-card p {
	margin-top: 10px;
	color: var(--bf-muted);
}

.split-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 20px;
	align-items: start;
}

.cta-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 30px;
	border-radius: 30px;
}

.lead-form {
	padding: 28px;
	border-radius: 30px;
}

.generator-form {
	margin-top: -8px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.field {
	display: grid;
	gap: 8px;
}

.field-full {
	grid-column: 1 / -1;
}

.field label {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--bf-ink);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 0.95rem 1rem;
	border-radius: 16px;
	border: 1px solid rgba(16, 40, 78, 0.14);
	background: #fff;
	color: var(--bf-text);
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.field textarea {
	resize: vertical;
	min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: rgba(200, 159, 74, 0.9);
	box-shadow: 0 0 0 4px rgba(200, 159, 74, 0.16);
}

.consent-box {
	display: grid;
	gap: 14px;
	margin-top: 22px;
	padding: 20px;
	border-radius: 24px;
	background: rgba(16, 40, 78, 0.04);
	border: 1px solid rgba(16, 40, 78, 0.08);
}

.consent-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 0.95rem;
	color: var(--bf-text);
}

.consent-item input {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	accent-color: var(--bf-gold);
}

.consent-item a {
	color: var(--bf-navy);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.notice {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 16px;
	font-weight: 600;
}

.notice-success {
	background: rgba(44, 160, 101, 0.12);
	color: #1d6a43;
	border: 1px solid rgba(44, 160, 101, 0.2);
}

.notice-webhook-error,
.notice-missing,
.notice-invalid,
.notice-lead-missing {
	background: rgba(204, 92, 60, 0.12);
	color: #8c341e;
	border: 1px solid rgba(204, 92, 60, 0.2);
}

.status-panel {
	margin-top: 22px;
	padding: 24px;
	border-radius: 26px;
	border: 1px solid transparent;
	box-shadow: var(--bf-shadow);
}

.status-panel-success {
	background:
		linear-gradient(180deg, rgba(25, 111, 74, 0.98), rgba(24, 92, 64, 0.94)),
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%);
	color: rgba(255, 255, 255, 0.95);
}

.status-panel-error {
	background:
		linear-gradient(180deg, rgba(138, 57, 35, 0.98), rgba(104, 38, 23, 0.94)),
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%);
	color: rgba(255, 255, 255, 0.95);
}

.status-panel-badge {
	display: inline-flex;
	align-items: center;
	margin-bottom: 14px;
	padding: 0.36rem 0.72rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.status-panel h2 {
	font-size: 1.45rem;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.status-panel p {
	margin-top: 10px;
	opacity: 0.94;
}

.status-panel-list {
	list-style: none;
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.status-panel-list li {
	position: relative;
	padding-left: 24px;
}

.status-panel-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.56em;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: currentColor;
	opacity: 0.9;
}

.lead-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 24px;
}

.lead-summary > div {
	padding: 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(16, 40, 78, 0.08);
}

.lead-summary strong {
	display: block;
	font-size: 1rem;
	color: var(--bf-ink);
}

.lead-summary span {
	display: block;
	margin-top: 4px;
	font-size: 0.9rem;
	color: var(--bf-muted);
}

.footer-links {
	display: flex;
	justify-content: flex-end;
}

.footer-links .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	color: var(--bf-muted);
	font-weight: 600;
}

.footer-links .menu a {
	transition: color 0.18s ease;
}

.footer-links .menu a:hover {
	color: var(--bf-navy);
}

.footer-copy {
	margin-top: 8px;
	color: var(--bf-muted);
	max-width: 34ch;
}

.site-footer {
	margin-top: 28px;
	padding: 20px 0 10px;
	border-top: 1px solid rgba(16, 40, 78, 0.08);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(10px);
}

.footer-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	padding: 0 0 18px;
	color: var(--bf-muted);
	font-size: 0.9rem;
}

@media (max-width: 980px) {
	.hero-grid,
	.split-grid,
	.steps-grid,
	.lead-summary,
	.hero-metrics,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.hero-copy h1 {
		max-width: none;
	}

	.cta-band,
	.header-inner,
	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-links {
		justify-content: flex-start;
	}

	.hero-visual {
		transform: none;
		max-width: 560px;
		width: 100%;
		margin: 0 auto;
	}
}

@media (max-width: 640px) {
	.container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.hero-section,
	.page-hero {
		padding-top: 52px;
	}

	.site-main {
		padding-bottom: 52px;
	}

	.panel-card,
	.step-card,
	.lead-form,
	.cta-band {
		padding: 22px;
		border-radius: 22px;
	}

	.hero-actions,
	.form-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.btn {
		width: 100%;
	}

}
