/* Gedeelde custom componenten (alle pagina's) */

/* Homepage-header: transparant over de hero, vast en donker na scrollen */
#header.fh-header-home {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
}

#header.fh-header-home .header-body {
	background: transparent !important;
	border: 0;
	transition: background-color 0.25s ease;
}

#header.fh-header-home.fh-header-solid {
	position: fixed !important;
	top: 0 !important;
	animation: fh-header-slide 0.3s ease;
}

#header.fh-header-home.fh-header-solid .header-body {
	background: #1b1f24 !important;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
	max-width: none !important;
	width: 100% !important;
	right: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

@keyframes fh-header-slide {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

/* Cijferband (10+ jaar ervaring, etc.) */
section.fh-stats {
	background: linear-gradient(120deg, #1b1f24 0%, #23282e 100%);
}

.fh-stats strong {
	color: #fff !important;
}

.fh-stats label {
	color: rgba(255, 255, 255, 0.65) !important;
}

/* Honeypot: onzichtbaar voor mensen, verleidelijk voor bots */
.fh-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* Kicker (klein uppercase label boven titels) */
.fh-kicker {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #008ace;
	margin-bottom: 10px;
}

/* Paginakop */
.fh-page-header {
	background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
	border-bottom: 1px solid #eef0f2;
	padding-bottom: 44px;
}

.fh-page-header h1 {
	font-weight: 800;
	color: #212529;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.15;
	margin-bottom: 10px;
}

.fh-page-header .fh-sub {
	font-size: 1.05rem;
	color: #6c757d;
	max-width: 760px;
	margin-bottom: 0;
}

/* Hero (homepage) */
.fh-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(88vh, 860px);
	padding: 170px 0 100px;
	background: #14181c;
	overflow: hidden;
}

.fh-hero-bg {
	position: absolute;
	inset: 0;
	background-image: url('/fotos/bar.jpg');
	background-size: cover;
	background-position: center;
	animation: fh-hero-zoom 20s ease-out forwards;
}

@keyframes fh-hero-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.07); }
}

.fh-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 14, 18, 0.9) 0%, rgba(10, 14, 18, 0.55) 55%, rgba(10, 14, 18, 0.25) 100%);
}

.fh-hero-content {
	position: relative;
	z-index: 2;
}

.fh-hero .fh-kicker {
	color: #6fcbf5;
}

.fh-hero h1 {
	color: #fff;
	font-weight: 800;
	font-size: clamp(2.5rem, 5.5vw, 4.2rem);
	line-height: 1.08;
	margin-bottom: 20px;
	max-width: 14em;
}

.fh-hero .fh-hero-sub {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.15rem;
	max-width: 560px;
	margin-bottom: 32px;
}

.fh-hero .btn {
	padding: 14px 32px;
	font-weight: 600;
}

.fh-btn-ghost {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.6);
}

.fh-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border-color: #fff;
}

/* Sectiekop (gecentreerd) */
.fh-section-head {
	max-width: 640px;
	margin: 0 auto 40px;
	text-align: center;
}

.fh-section-head h2 {
	font-weight: 800;
	color: #212529;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin-bottom: 10px;
}

.fh-section-head p {
	color: #6c757d;
	margin-bottom: 0;
}

/* Feature-cards (homepage) */
.fh-feature {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	background: #fff;
	border: 1px solid #eef0f2;
	border-radius: 16px;
	padding: 34px 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	text-align: left;
}

.fh-feature:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

.fh-feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 14px;
	background: rgba(0, 138, 206, 0.1);
	color: #008ace;
	font-size: 25px;
	margin-bottom: 20px;
}

.fh-feature h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #212529;
	text-transform: none;
	margin-bottom: 10px;
}

.fh-feature p {
	color: #6c757d;
	font-size: 0.95rem;
	margin-bottom: 18px;
}

.fh-feature-link {
	margin-top: auto;
	font-weight: 700;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #008ace;
}

.fh-feature-link:hover {
	color: #005f8f;
}

/* Checklist */
.fh-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
}

.fh-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 7px 0;
	font-weight: 500;
	color: #495057;
}

.fh-checklist .fa-check {
	color: #008ace;
	margin-top: 5px;
	flex-shrink: 0;
}

/* Video-kader */
.fh-video {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.fh-video video {
	display: block;
	width: 100%;
	height: auto;
}

/* Call-to-action band boven de footer */
.fh-cta {
	background: linear-gradient(120deg, #008ace 0%, #005f8f 100%);
	margin: 0;
}

.fh-cta .btn-light {
	padding: 12px 28px;
}

.fh-cta .btn-outline.btn-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
	padding: 12px 28px;
}

.fh-cta .btn-outline.btn-light:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* Pagina-modal (aankondiging/actie) */
.fh-modal-content {
	position: relative;
	border: 0;
	border-radius: 16px;
	overflow: hidden;
}

.fh-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #1b1f24;
	font-size: 22px;
	line-height: 1;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.fh-modal-close:hover {
	background: #fff;
}

.fh-modal-img {
	display: block;
	width: 100%;
	max-height: 85vh;
	object-fit: contain;
	background: #14181c;
}

.fh-modal-img-top {
	display: block;
	width: 100%;
	max-height: 320px;
	object-fit: cover;
}

.fh-modal-body {
	padding: 28px;
	text-align: center;
}

.fh-modal-body h3 {
	font-weight: 800;
	text-transform: none;
	color: #212529;
	margin-bottom: 10px;
}

.fh-modal-text {
	white-space: pre-line;
	color: #495057;
	margin-bottom: 18px;
}

/* Witte kaart (o.a. contactformulier) */
.fh-card {
	background: #fff;
	border: 1px solid #eef0f2;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	padding: 32px 28px;
}

.fh-card .form-control {
	background: #f4f6f8;
}

.fh-card .form-control:focus {
	background: #fff;
	border: 1px solid #008ace !important;
}

/* Feedback onder het contactformulier */
.fh-form-feedback {
	border-radius: 8px;
	padding: 12px 16px;
	font-weight: 500;
	font-size: 0.95rem;
}

.fh-form-feedback-error {
	background: #fdecec;
	color: #a12626;
	border: 1px solid #f3c3c3;
}

.fh-form-feedback-ok {
	background: #e5f6ee;
	color: #14713f;
	border: 1px solid #b8e6cd;
}

/* Contactinformatie */
.fh-info-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.fh-info-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px 0;
}

.fh-info-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(0, 138, 206, 0.1);
	color: #008ace;
	font-size: 17px;
	flex-shrink: 0;
}

.fh-info-list strong {
	display: block;
	color: #212529;
	font-size: 0.95rem;
}

.fh-info-list span,
.fh-info-list a {
	color: #6c757d;
	font-size: 0.95rem;
}

.fh-info-list a:hover {
	color: #008ace;
}

/* Veelgestelde vragen (homepage). Native <details>, dus geen JS nodig en de
   antwoorden staan altijd in de HTML — ook voor crawlers die niet klikken. */
.fh-faq-item {
	border: 1px solid #e9ecef;
	border-radius: 8px;
	margin-bottom: 10px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fh-faq-item[open] {
	border-color: #008ace;
	box-shadow: 0 2px 12px rgba(0, 138, 206, 0.08);
}

.fh-faq-q {
	cursor: pointer;
	list-style: none;
	padding: 16px 46px 16px 20px;
	position: relative;
	font-weight: 600;
	font-size: 1.02rem;
	color: #212529;
}

.fh-faq-q::-webkit-details-marker {
	display: none;
}

.fh-faq-q::after {
	content: "\002B";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	color: #008ace;
}

.fh-faq-item[open] .fh-faq-q::after {
	content: "\2212";
}

.fh-faq-q:hover {
	color: #008ace;
}

.fh-faq-q:focus-visible {
	outline: 2px solid #008ace;
	outline-offset: 2px;
	border-radius: 8px;
}

.fh-faq-a {
	padding: 0 20px 18px;
}

.fh-faq-a p {
	margin: 0;
	color: #6c757d;
	font-size: 0.97rem;
	line-height: 1.7;
}

/* Compacte infokaart (o.a. naast het inschrijfformulier) */
.fh-info-card {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-left: 3px solid #008ace;
	border-radius: 8px;
	padding: 24px;
}

.fh-info-card p,
.fh-info-card li {
	color: #6c757d;
}

.fh-info-card strong {
	color: #212529;
}

/* ---- Contactformulier ----
   Zelfde vormtaal als de contactinformatie ernaast: icoonchip links van het
   veld, rustige rand, blauw accent zodra je erin staat. */
.fh-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #212529;
	margin-bottom: 6px;
	letter-spacing: 0.01em;
}

.fh-req {
	color: #008ace;
	font-weight: 700;
}

.fh-optioneel {
	font-weight: 400;
	font-size: 0.78rem;
	color: #adb5bd;
	text-transform: lowercase;
}

.fh-field {
	position: relative;
}

.fh-field-icon {
	position: absolute;
	top: 0;
	left: 0;
	width: 46px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #adb5bd;
	font-size: 0.95rem;
	pointer-events: none;
	transition: color 0.15s ease;
	z-index: 2;
}

/* Bij een textarea hoort het icoon bovenaan uit te lijnen, niet in het midden. */
.fh-field-area .fh-field-icon {
	height: 52px;
	align-items: center;
}

/* De themaregel .fh-card .form-control zet een grijze vulling; hier overschreven
   zodat het veld wit is en de rand het werk doet. */
.fh-card .fh-field .form-control {
	background: #fff;
	border: 1px solid #e3e7ea;
	border-radius: 10px;
	padding: 14px 16px 14px 46px;
	min-height: 52px;
	font-size: 0.97rem;
	color: #212529;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fh-card .fh-field textarea.form-control {
	min-height: 130px;
	resize: vertical;
	line-height: 1.6;
}

.fh-card .fh-field .form-control::placeholder {
	color: #b6bdc4;
}

.fh-card .fh-field .form-control:focus {
	background: #fff;
	border-color: #008ace;
	box-shadow: 0 0 0 3px rgba(0, 138, 206, 0.14);
	outline: none;
}

.fh-field:focus-within .fh-field-icon {
	color: #008ace;
}

.fh-card .fh-field .form-control.is-invalid {
	border-color: #e05260;
	box-shadow: none;
	background-image: none;   /* geen Bootstrap-uitroepteken over het icoon heen */
	padding-right: 16px;
}

.fh-field .form-control.is-invalid ~ .invalid-feedback {
	display: block;
	font-size: 0.82rem;
	color: #e05260;
	margin-top: 6px;
}

.fh-field:focus-within .form-control.is-invalid {
	border-color: #e05260;
	box-shadow: 0 0 0 3px rgba(224, 82, 96, 0.14);
}

.fh-submit {
	min-width: 190px;
	padding: 13px 30px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* Pijltje via ::after — de JS vervangt de tekst van de knop tijdens het
   versturen, een echt <i>-element zou daarbij verdwijnen. */
.fh-submit::after {
	content: "\f061";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.8em;
	margin-left: 10px;
	display: inline-block;
	transition: transform 0.2s ease;
}

.fh-submit:hover::after {
	transform: translateX(4px);
}

.fh-submit:disabled {
	opacity: 0.65;
}

.fh-form-note {
	margin-top: 14px;
	font-size: 0.8rem;
	color: #9aa2aa;
	line-height: 1.6;
}
