/* Finaforte Vastgoedcalculator — frontend.
   Alles gescoped onder .ffc-root zodat het thema niet wordt beïnvloed. */

.ffc-root, .ffc-root * { box-sizing: border-box; }
.ffc-root {
	font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
	color: #0f1f20;
	-webkit-font-smoothing: antialiased;
}
.ffc-root h1, .ffc-root h2, .ffc-root p { margin: 0; }

/* ── Range sliders ── */
.ffc-root input[type=range] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient( to right, #00A2AA var(--pct, 30%), #dce8e9 var(--pct, 30%) );
	outline: none;
	cursor: pointer;
	display: block;
	margin: 0;
}
.ffc-root input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 20px; height: 20px; border-radius: 50%;
	background: #fff; border: 2px solid #00A2AA;
	box-shadow: 0 2px 12px rgba(0,162,170,0.25);
	cursor: pointer; margin-top: -9px; transition: box-shadow 0.15s;
}
.ffc-root input[type=range]::-webkit-slider-thumb:hover { box-shadow: 0 2px 18px rgba(0,162,170,0.4); }
.ffc-root input[type=range]::-moz-range-thumb {
	width: 20px; height: 20px; border-radius: 50%;
	background: #fff; border: 2px solid #00A2AA;
	box-shadow: 0 2px 12px rgba(0,162,170,0.25); cursor: pointer;
}

/* ── Layout ── */
.ffc-wrap { max-width: 1080px; margin: 0 auto; padding: 56px 32px 72px; background: #f8f7f5; }
.ffc-header { margin-bottom: 44px; }
.ffc-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: #00A2AA; margin-bottom: 14px; }
.ffc-h1 { font-size: clamp(30px,4vw,50px); font-weight: 300; color: #0b2426; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 14px; }
.ffc-h1 strong { font-weight: 800; color: #00A2AA; }
.ffc-lead { font-size: clamp(14px,1.5vw,16px); line-height: 1.7; color: #4a6566; max-width: 520px; }

.ffc-grid { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }

.ffc-left { background: #fff; border-radius: 20px; padding: 32px 36px 36px; border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,41,43,0.05); }

/* type buttons */
.ffc-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.ffc-type-btn { background: #fff; border: 1.5px solid #e8edef; border-radius: 14px; padding: 18px 12px 16px; cursor: pointer; text-align: center; transition: all 0.18s; font-family: inherit; position: relative; }
.ffc-type-btn.is-active { border-color: #00A2AA; background: linear-gradient(135deg,#f0fafa 0%,#e6f5f5 100%); box-shadow: 0 0 0 3px rgba(0,162,170,0.1); }
.ffc-type-btn:hover:not(.is-active):not(.is-disabled) { border-color: #b8d8da; background: #fafefe; }
.ffc-type-btn.is-disabled { opacity: 0.38; cursor: not-allowed; }
.ffc-type-icon { width: 36px; height: 36px; border-radius: 10px; background: #f0fafa; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.ffc-type-label { font-size: 13.5px; font-weight: 600; color: #0f1f20; line-height: 1.35; letter-spacing: -0.01em; }
.ffc-type-sub { font-size: 11.5px; color: #7a9a9b; margin-top: 3px; }

.ffc-section-lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #7a9a9b; margin-bottom: 14px; }

/* sliders */
.ffc-slider-block { margin-top: 30px; }
.ffc-slider-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.ffc-slider-lbl { font-size: 15px; font-weight: 600; color: #2a4244; }
.ffc-slider-val { font-size: 26px; font-weight: 700; color: #0f1f20; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ffc-slider-range { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: #9ab0b1; }

/* toggle */
.ffc-toggle-row { display: flex; gap: 6px; margin-top: 14px; }
.ffc-toggle-btn { flex: 1; background: #f5f8f8; border: 1.5px solid transparent; border-radius: 10px; padding: 12px 16px; font-size: 14.5px; font-weight: 500; color: #4a6566; cursor: pointer; text-align: center; transition: all 0.16s; font-family: inherit; white-space: nowrap; }
.ffc-toggle-btn.is-active { background: #fff; border-color: #00A2AA; color: #09686E; font-weight: 600; box-shadow: 0 1px 4px rgba(0,162,170,0.15); }
.ffc-toggle-btn:hover:not(.is-active) { background: #eef5f5; color: #09686E; }

/* financiering toggle */
.ffc-fin-toggle { display: inline-flex; background: #efefed; border-radius: 13px; padding: 5px; gap: 3px; margin-bottom: 30px; }
.ffc-fin-btn { padding: 11px 26px; border-radius: 10px; border: none; font-size: 15px; font-weight: 500; color: #4a6566; cursor: pointer; font-family: inherit; transition: all 0.18s; background: transparent; letter-spacing: -0.01em; }
.ffc-fin-btn.is-active { background: #fff; color: #0f1f20; font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,0.1), 0 2px 12px rgba(0,0,0,0.06); }
.ffc-fin-btn:hover:not(.is-active) { color: #09686E; }

/* afl pct pills */
.ffc-aflpct-wrap { margin-top: 14px; }
.ffc-aflpct-lbl { font-size: 11.5px; font-weight: 600; color: #9ab0b1; margin-bottom: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.ffc-aflpct-btns { display: flex; gap: 7px; flex-wrap: wrap; }
.ffc-aflpct-btn { padding: 8px 16px; border-radius: 8px; border: 1.5px solid #D1EBEE; background: #fff; color: #09686E; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.15s; }
.ffc-aflpct-btn.is-active { background: #00A2AA; color: #fff; border-color: #00A2AA; }

/* right card */
.ffc-right { background: #0b2426; border-radius: 20px; padding: 30px; color: #fff; position: relative; overflow: hidden; transition: background 0.3s; }
.ffc-right::before { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.07); pointer-events: none; }
.ffc-right::after { content: ''; position: absolute; right: -30px; bottom: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle,rgba(0,162,170,0.18) 0%,transparent 70%); pointer-events: none; }
.ffc-result-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.ffc-result-amount { font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin-bottom: 6px; display: flex; align-items: baseline; gap: 8px; }
.ffc-result-amount span { font-size: 42px; font-weight: 400; color: #fff; letter-spacing: 0; }
.ffc-result-sub { font-size: 13.5px; color: rgba(255,255,255,0.55); margin-bottom: 26px; line-height: 1.5; }
.ffc-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 20px; }
.ffc-result-table { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.ffc-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; }
.ffc-row-label { color: rgba(255,255,255,0.55); font-weight: 400; }
.ffc-row-val { font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.ffc-slag-block { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; margin-bottom: 22px; }
.ffc-slag-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ffc-slag-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.ffc-slag-badge { padding: 3px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; }
.ffc-slag-bar-bg { height: 3px; border-radius: 999px; background: rgba(255,255,255,0.12); margin-bottom: 12px; overflow: hidden; }
.ffc-slag-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg,#00A2AA,#4ecdc4); transition: width 0.5s cubic-bezier(0.22,0.61,0.36,1); }
.ffc-slag-hint { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.55; }

.ffc-social { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ffc-avatars { display: flex; }
.ffc-avatar { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); margin-right: -8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #09686E; }
.ffc-avatar:last-child { margin-right: 0; color: #fff; }
.ffc-social-text { font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.ffc-social-text strong { color: rgba(255,255,255,0.9); }

.ffc-cta { width: 100%; background: #F28E18; border: none; border-radius: 12px; padding: 16px; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer; font-family: inherit; transition: all 0.18s; margin-bottom: 10px; letter-spacing: -0.01em; }
.ffc-cta:hover { background: #e07e0c; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(242,142,24,0.35); }

.ffc-trust { display: flex; justify-content: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.ffc-trust span { font-size: 11px; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 4px; }

/* feature bar */
.ffc-feat-bar { background: #fff; border-radius: 14px; padding: 18px 28px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; border: 1px solid rgba(0,0,0,0.06); }
.ffc-feat-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9ab0b1; white-space: nowrap; }
.ffc-feat-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #4a6566; }

@media (max-width: 960px) { .ffc-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
	.ffc-wrap { padding: 24px 16px 48px; }
	.ffc-left { padding: 22px 20px; }
	.ffc-right { padding: 24px 20px; }
	.ffc-type-btn { padding: 14px 8px; }
	.ffc-type-label { font-size: 11.5px; }
	.ffc-result-amount { font-size: 38px; }
	.ffc-toggle-btn { font-size: 13px; padding: 9px 8px; }
	.ffc-feat-bar { padding: 14px 18px; }
	.ffc-feat-label { width: 100%; }
	.ffc-fin-btn { padding: 9px 14px; font-size: 13px; }
}
@media (min-width: 1300px) { .ffc-wrap { max-width: 1140px; } .ffc-grid { grid-template-columns: 1fr 380px; } }
@media (min-width: 1700px) { .ffc-wrap { max-width: 1320px; } .ffc-grid { grid-template-columns: 1fr 420px; } .ffc-left { padding: 40px 44px; } .ffc-right { padding: 36px; } }

/* ════════ HAALBAARHEIDS-CHECK ════════ */
@keyframes ffcFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ffcCheckPop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.ffc-anim { animation: ffcFadeUp 0.45s cubic-bezier(0.22,0.61,0.36,1) both; }
.ffc-anim-1 { animation-delay: 0.05s; }
.ffc-anim-2 { animation-delay: 0.12s; }
.ffc-anim-3 { animation-delay: 0.19s; }
.ffc-anim-4 { animation-delay: 0.26s; }
.ffc-anim-5 { animation-delay: 0.33s; }

.ffc-check { background: #f8f7f5; min-height: 100%; padding: 48px 24px 80px; }
.ffc-check-inner { width: 100%; max-width: 960px; margin: 0 auto; }

.ffc-step1 { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.ffc-form-card { background: #fff; border-radius: 20px; padding: 40px 44px; border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,41,43,0.05); }
.ffc-step-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #00A2AA; margin-bottom: 12px; }
.ffc-form-h1 { font-size: 32px; font-weight: 300; color: #0b2426; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 8px; }
.ffc-form-h1 strong { font-weight: 800; }
.ffc-form-intro { font-size: 15px; color: #4a6566; line-height: 1.65; margin-bottom: 32px; }
.ffc-fields { display: flex; flex-direction: column; gap: 18px; }
.ffc-field label { display: block; font-size: 13px; font-weight: 600; color: #2a4244; margin-bottom: 6px; }
.ffc-field label span { font-weight: 400; color: #9ab0b1; }
.ffc-input { width: 100%; padding: 13px 16px; border: 1.5px solid #dce8e9; border-radius: 10px; font-size: 15px; color: #0f1f20; background: #fff; outline: none; transition: border-color 0.15s; font-family: inherit; }
.ffc-input:focus { border-color: #00A2AA; }
.ffc-input--textarea { resize: vertical; line-height: 1.55; }
.ffc-adres-row { display: grid; grid-template-columns: 1fr 100px; gap: 10px; margin-bottom: 10px; }
.ffc-form-error { margin-top: 16px; padding: 12px 16px; background: #fff5f5; border: 1px solid #fecaca; border-radius: 8px; font-size: 13.5px; color: #b91c1c; }
.ffc-submit { width: 100%; margin-top: 24px; background: #F28E18; border: none; border-radius: 12px; padding: 17px; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; font-family: inherit; transition: all 0.18s; letter-spacing: -0.01em; }
.ffc-submit:hover { background: #e07e0c; }
.ffc-submit:disabled { opacity: 0.6; cursor: wait; }
.ffc-form-trust { margin-top: 14px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.ffc-form-trust span { font-size: 11.5px; color: #9ab0b1; display: flex; align-items: center; gap: 5px; }

.ffc-sidebar { display: flex; flex-direction: column; gap: 14px; }
.ffc-summary-card { background: #0b2426; border-radius: 20px; padding: 26px; color: #fff; position: relative; overflow: hidden; }
.ffc-summary-card::before { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.07); pointer-events: none; }
.ffc-summary-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 10px; }
.ffc-summary-amount { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ffc-summary-pm { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; margin-bottom: 20px; }
.ffc-summary-rows { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; }
.ffc-summary-rows > div { display: flex; justify-content: space-between; font-size: 13.5px; }
.ffc-summary-rows span:first-child { color: rgba(255,255,255,0.5); }
.ffc-summary-rows span:last-child { font-weight: 600; }
.ffc-usp-card { background: #fff; border-radius: 14px; padding: 20px 22px; border: 1px solid rgba(0,0,0,0.06); }
.ffc-usp-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9ab0b1; margin-bottom: 14px; }
.ffc-usp-list { display: flex; flex-direction: column; gap: 12px; }
.ffc-usp-item { display: flex; gap: 12px; align-items: flex-start; }
.ffc-usp-icon { width: 28px; height: 28px; border-radius: 8px; background: #e6f5f5; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.ffc-usp-h { font-size: 13.5px; font-weight: 600; color: #0f1f20; line-height: 1.3; }
.ffc-usp-p { font-size: 12px; color: #7a9a9b; margin-top: 2px; }

/* step 2 */
.ffc-step2 { max-width: 680px; margin: 0 auto; text-align: center; }
.ffc-success-icon { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg,#00A2AA,#09686E); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: 0 8px 32px rgba(0,162,170,0.3); }
.ffc-success-icon svg { animation: ffcCheckPop 0.4s 0.3s cubic-bezier(0.22,0.61,0.36,1) both; }
.ffc-step2-h2 { font-size: 36px; font-weight: 300; color: #0b2426; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 12px; }
.ffc-step2-h2 strong { font-weight: 800; }
.ffc-step2-lead { font-size: 16px; color: #4a6566; line-height: 1.65; margin-bottom: 36px; }
.ffc-step2-lead strong { color: #0b2426; }
.ffc-indicatie { background: #0b2426; border-radius: 20px; padding: 28px 32px; color: #fff; text-align: left; margin-bottom: 24px; position: relative; overflow: hidden; }
.ffc-indicatie::before { content: ''; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); pointer-events: none; }
.ffc-indicatie-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.ffc-indicatie-amount { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.ffc-indicatie-amount span { font-size: 20px; font-weight: 400; opacity: 0.5; margin-left: 6px; }
.ffc-indicatie-sub { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.ffc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.ffc-stat { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 12px 14px; }
.ffc-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.ffc-stat-val { font-size: 16px; font-weight: 700; }
.ffc-cta-col { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.ffc-cta-primary { width: 100%; background: #F28E18; border: none; border-radius: 12px; padding: 17px; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; font-family: inherit; transition: all 0.18s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ffc-cta-primary:hover { background: #e07e0c; }
.ffc-cta-secondary { width: 100%; background: #fff; border: 1.5px solid #dce8e9; border-radius: 12px; padding: 16px; font-size: 15px; font-weight: 600; color: #09686E; cursor: pointer; font-family: inherit; transition: all 0.18s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ffc-cta-secondary:hover { border-color: #00A2AA; }
.ffc-back { font-size: 13.5px; color: #9ab0b1; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; font-family: inherit; }

@media (max-width: 760px) {
	.ffc-step1 { grid-template-columns: 1fr; }
	.ffc-form-card { padding: 28px 22px; }
}
