/* =========================================================
   login2.php — moderne layout + warme kleuren van de originele login
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,560;9..144,700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
	/* Warmer palet zoals originele login: charcoal overlay + bootstrap-groen */
	--l2-ink: #141210;
	--l2-deep: #1e1a17;
	--l2-mid: #2c2622;
	--l2-mint: #5cb85c;
	--l2-mint-deep: #449d44;
	--l2-foam: #f2f0ec;
	--l2-mist: #ebe8e3;
	--l2-text: #2f2a26;
	--l2-muted: #6a635c;
	--l2-glass: rgba(255, 255, 255, 0.94);
	--l2-radius: 1.25rem;
	--l2-font: "Outfit", system-ui, sans-serif;
	--l2-display: "Fraunces", Georgia, serif;
}

/* Pagina-shell: full-bleed, geen grijze balk/rand rond overlay */
html.l2-page,
html.l2-page body {
	margin: 0 !important;
	padding: 0 !important;
	background: var(--l2-ink) !important;
	overflow-x: hidden;
}
html.l2-page .wrapper,
html.l2-page .wrapper.bg-default,
body:has(#landing2) .wrapper.bg-default {
	background: var(--l2-ink) !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 100vh;
	max-width: none !important;
	width: 100% !important;
}

#landing2.l2 {
	font-family: var(--l2-font);
	color: #fff;
	min-height: 100vh;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

#landing2 a {
	text-decoration: none;
}

/* ---- Motion ---- */
@keyframes l2-ken {
	0% { transform: scale(1.05) translate3d(0, 0, 0); }
	100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
@keyframes l2-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes l2-pulse {
	0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.55); }
	50% { transform: scale(1.05); opacity: 0.9; box-shadow: 0 0 0 10px rgba(92, 184, 92, 0); }
}

.l2-reveal {
	opacity: 0;
	transform: translateY(18px);
}
.l2--ready .l2-reveal {
	animation: l2-rise 0.7s ease forwards;
}
.l2--ready .l2-reveal--delay {
	animation-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
	.l2-hero__media,
	.l2-reveal,
	.l2--ready .l2-reveal {
		animation: none !important;
		opacity: 1;
		transform: none;
	}
}

/* ---- Buttons ---- */
.l2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	border-radius: 999px;
	font-family: var(--l2-font);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	padding: 0.7rem 1.35rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.l2-btn--lg {
	padding: 0.9rem 1.6rem;
	font-size: 1.05rem;
}
.l2-btn--solid,
.l2-btn--solid:link,
.l2-btn--solid:visited {
	background: var(--l2-mint) !important;
	border-color: var(--l2-mint) !important;
	color: #fff !important;
}
.l2-btn--solid:hover,
.l2-btn--solid:focus {
	background: var(--l2-mint-deep) !important;
	border-color: #419641 !important;
	color: #fff !important;
	transform: translateY(-1px);
}
.l2-btn--ghost,
.l2-btn--ghost:link,
.l2-btn--ghost:visited {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.45) !important;
	color: #fff !important;
}
.l2-btn--ghost:hover,
.l2-btn--ghost:focus {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
}

/* ---- Hero ---- */
.l2-hero {
	position: relative;
	min-height: 100vh;
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	isolation: isolate;
	overflow: hidden;
}
.l2-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: url('../images/bg02.jpg');
	background-size: cover;
	background-position: center;
	animation: l2-ken 28s ease-in-out alternate infinite;
}
.l2-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Zelfde warme donkere sluier als login.php — edge-to-edge */
	background:
		linear-gradient(115deg, rgba(12, 12, 12, 0.72) 0%, rgba(20, 16, 12, 0.58) 45%, rgba(12, 12, 12, 0.48) 100%),
		radial-gradient(ellipse 70% 55% at 85% 15%, rgba(92, 184, 92, 0.12), transparent 55%);
}

/* ---- Nav ---- */
.l2-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 0.85rem 0 0.35rem;
	position: relative;
	z-index: 5;
}
.l2-nav__brand {
	display: inline-flex;
	align-items: center;
	color: #fff !important;
	font-family: var(--l2-font);
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none !important;
}
.l2-nav__toggle {
	margin-left: auto;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 12px;
	background: transparent;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}
.l2-nav__toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: #fff;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.l2-nav__toggle.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.l2-nav__toggle.is-open span:nth-child(2) {
	opacity: 0;
}
.l2-nav__toggle.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}
.l2-nav__menu {
	display: none;
	width: 100%;
	flex-basis: 100%;
	padding: 0.5rem 0 0.75rem;
}
.l2-nav__menu.is-open {
	display: block;
}
.l2-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.l2-nav__list > li > a,
.l2-nav__parent {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.7rem 0.35rem;
	color: #fff !important;
	background: transparent;
	border: 0;
	text-align: left;
	font-family: var(--l2-font);
	font-size: 0.95rem;
	cursor: pointer;
}
.l2-nav__dropdown {
	list-style: none;
	margin: 0 0 0.4rem;
	padding: 0 0 0 0.85rem;
	display: none;
}
.l2-nav__item--has-children.is-open > .l2-nav__dropdown {
	display: block;
}
.l2-nav__dropdown a {
	display: block;
	padding: 0.4rem 0.35rem;
	color: #dedede !important;
	font-size: 0.9rem;
}
.l2-nav__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 0.75rem;
	margin-top: 0.35rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 992px) {
	.l2-nav__toggle {
		display: none;
	}
	.l2-nav__menu {
		display: flex !important;
		align-items: center;
		justify-content: flex-end;
		gap: 0.75rem;
		width: auto;
		flex: 1;
		flex-basis: auto;
		padding: 0;
	}
	.l2-nav__list {
		display: flex;
		align-items: center;
		gap: 0.15rem;
		margin-right: auto;
		margin-left: 1.25rem;
	}
	.l2-nav__list > li {
		position: relative;
	}
	.l2-nav__list > li > a,
	.l2-nav__parent {
		width: auto;
		padding: 0.5rem 0.75rem;
		border-radius: 999px;
	}
	.l2-nav__list > li > a:hover,
	.l2-nav__parent:hover {
		background: rgba(255, 255, 255, 0.1);
	}
	.l2-nav__dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		background: #fff;
		border-radius: 14px;
		box-shadow: 0 16px 40px rgba(11, 28, 34, 0.22);
		padding: 0.45rem;
		margin: 0;
		z-index: 40;
	}
	.l2-nav__item--has-children:hover > .l2-nav__dropdown,
	.l2-nav__item--has-children:focus-within > .l2-nav__dropdown,
	.l2-nav__item--has-children.is-open > .l2-nav__dropdown {
		display: block;
	}
	.l2-nav__dropdown a {
		color: var(--l2-text) !important;
		border-radius: 8px;
	}
	.l2-nav__dropdown a:hover {
		background: #f7f5f2;
		color: #2f2a26 !important;
	}
	.l2-nav__actions {
		border-top: 0;
		margin-top: 0;
		padding-top: 0;
	}
}

/* ---- Hero stage (copy + register) ---- */
.l2-hero__stage {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 1.5rem 0 3.5rem;
	display: grid;
	gap: 2rem;
	align-items: center;
	flex: 1;
}
.l2-hero__logo {
	display: block;
	height: clamp(72px, 14vw, 130px);
	width: auto;
	max-width: min(280px, 70vw);
	object-fit: contain;
	margin: 0 0 1.1rem;
	filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}
.l2-title {
	font-family: var(--l2-display);
	font-size: clamp(1.55rem, 3.4vw, 2.35rem);
	font-weight: 560;
	line-height: 1.2;
	margin: 0 0 0.85rem;
	max-width: 18ch;
	color: #f4fffa;
}
.l2-lead {
	margin: 0 0 1.5rem;
	max-width: 34rem;
	font-size: 1.08rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 400;
}
.l2-lead__stats {
	display: block;
	margin-top: 0.45rem;
	color: #dedede;
	font-weight: 500;
}
.l2-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 1.25rem;
}
.l2-live {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.78);
}
.l2-live__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--l2-mint);
	animation: l2-pulse 2.2s ease-out infinite;
}

@media (min-width: 992px) {
	.l2-hero__stage {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 2.5rem;
		padding: 2rem 0 4rem;
	}
	.l2-hero__cta .l2-btn--solid {
		display: none; /* register zit al rechts */
	}
}

/* ---- Register panel (interaction surface) ---- */
.l2-register__panel {
	background: var(--l2-glass);
	color: var(--l2-text);
	border-radius: var(--l2-radius);
	padding: 1.35rem 1.25rem 1.5rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.55);
}
.l2-reg-head {
	text-align: center;
	padding: 0.25rem 0.5rem 0.5rem;
}
.l2-reg-title {
	font-family: var(--l2-display);
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--l2-ink);
	margin: 0 0 0.35rem;
}
#landing2 .reg-lead {
	margin: 0 auto;
	max-width: 26rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--l2-muted) !important;
}
#landing2 .reg-progress {
	padding: 0.25rem 0.5rem 0.75rem;
	text-align: center;
}
#landing2 .reg-progress__track {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 0.45rem;
}
#landing2 .reg-progress__step {
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	border: 2px solid #c5d0d4;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.55rem;
	color: var(--l2-muted);
	background: #fff;
}
#landing2 .reg-progress__step.is-active {
	border-color: var(--l2-mint-deep);
	background: var(--l2-mint);
	color: #fff;
}
#landing2 .reg-progress__step.is-done {
	border-color: var(--l2-mint-deep);
	background: rgba(92, 184, 92, 0.28);
	color: var(--l2-deep);
}
#landing2 .reg-progress__bar {
	width: 2rem;
	height: 2px;
	background: #d0dbdf;
}
#landing2 .reg-progress__label {
	margin: 0;
	font-size: 0.88rem;
	color: var(--l2-muted) !important;
}
#landing2 .reg-step-content {
	padding: 0.5rem 0.15rem 0.25rem;
}
#landing2 .reg-choice-block {
	margin-bottom: 1.25rem;
	text-align: center;
}
#landing2 .reg-choice-label {
	display: block;
	margin-bottom: 0.55rem;
	font-weight: 600;
	color: var(--l2-text) !important;
}
#landing2 .reg-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}
#landing2 .reg-pills--compact .reg-pill {
	min-width: 7rem;
}
#landing2 .reg-pill {
	min-width: 5.5rem;
	padding: 0.65rem 1.1rem;
	border: 1.5px solid #c8d4d8;
	border-radius: 999px;
	font-weight: 600;
	font-family: var(--l2-font);
	cursor: pointer;
	background: #fff;
	color: var(--l2-text);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
#landing2 .reg-pill.is-active,
#landing2 .reg-pill:hover,
#landing2 .reg-pill:focus {
	border-color: var(--l2-mint-deep);
	background: var(--l2-mint);
	color: #fff;
	outline: none;
}
#landing2 .reg-native-fallback {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}
#landing2 .reg-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}
#landing2 .reg-back {
	color: var(--l2-muted) !important;
}
#landing2 .reg-back:hover {
	color: var(--l2-ink) !important;
}
#landing2 .reg-date-input,
#landing2 .reg-city-select,
#landing2 #regCitySearch,
#landing2 .form-control {
	border-radius: 12px;
	border-color: #c8d4d8;
	font-family: var(--l2-font);
}
#landing2 .reg-city-select {
	margin-top: 0.5rem;
	min-height: 9rem;
}
#landing2 .control-label,
#landing2 .reg-step-content label,
#landing2 .text-muted {
	color: var(--l2-muted) !important;
}
#landing2 .input-group-addon {
	border-radius: 12px 0 0 12px;
	background: var(--l2-foam);
	border-color: #c8d4d8;
	color: var(--l2-deep);
}
#landing2 .input-group .form-control {
	border-radius: 0 12px 12px 0;
}
#landing2 .help-block,
#landing2 .help-block li {
	color: #c0392b;
}
#landing2 .l2-success-icon {
	color: var(--l2-mint-deep);
}
@media (max-width: 575px) {
	#landing2 .reg-pill {
		flex: 1 1 40%;
	}
}

/* ---- Sections below fold ---- */
.l2-section {
	background: var(--l2-mist);
	color: var(--l2-text);
	padding: 4rem 0;
}
.l2-section__inner {
	width: min(900px, calc(100% - 2rem));
	margin: 0 auto;
}
.l2-section__title {
	font-family: var(--l2-display);
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 700;
	margin: 0 0 0.65rem;
	color: var(--l2-ink);
}
.l2-section__lead {
	margin: 0 0 2rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--l2-muted);
	max-width: 38rem;
}
.l2-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
}
.l2-features li {
	padding-left: 1.1rem;
	border-left: 3px solid var(--l2-mint);
}
.l2-features strong {
	display: block;
	font-size: 1.05rem;
	margin-bottom: 0.25rem;
	color: var(--l2-ink);
}
.l2-features span {
	color: var(--l2-muted);
	line-height: 1.5;
}
.l2-section__more {
	margin: 2rem 0 0;
	color: var(--l2-muted);
}
.l2-section__more a {
	color: var(--l2-deep) !important;
	font-weight: 600;
	border-bottom: 1px solid rgba(18, 48, 57, 0.25);
}
.l2-section__more a:hover {
	border-bottom-color: var(--l2-mint-deep);
}

.l2-pulse {
	background:
		radial-gradient(ellipse 70% 80% at 10% 20%, rgba(92, 184, 92, 0.16), transparent 50%),
		linear-gradient(160deg, #1e1a17 0%, #12100e 100%);
	color: #fff;
}
.l2-pulse .l2-section__title,
.l2-pulse .l2-section__lead {
	color: #fff;
}
.l2-pulse .l2-section__lead {
	opacity: 0.85;
}
.l2-pulse__row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	.l2-pulse__row {
		grid-template-columns: repeat(4, 1fr);
	}
}
.l2-pulse__item {
	text-align: center;
	padding: 0.5rem;
}
.l2-pulse__value {
	display: block;
	font-family: var(--l2-display);
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--l2-mint);
}
.l2-pulse__value--place {
	font-size: clamp(1.15rem, 2.8vw, 1.65rem);
	line-height: 1.15;
	word-break: break-word;
}
.l2-pulse__label {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.75);
}
.l2-pulse__cta {
	text-align: center;
}

.l2-trust {
	background: #fff;
}
.l2-trust__grid {
	display: grid;
	gap: 1.25rem;
}
.l2-trust__text {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--l2-muted);
	max-width: 36rem;
}
@media (min-width: 768px) {
	.l2-trust__grid {
		grid-template-columns: 1fr 1fr;
		align-items: end;
		gap: 2.5rem;
	}
	.l2-features {
		grid-template-columns: 1fr;
	}
}

/* ---- Footer ---- */
.l2-footer {
	background: var(--l2-ink);
	color: rgba(255, 255, 255, 0.65);
	padding: 1.5rem 0 2rem;
}
.l2-footer__inner {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}
.l2-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}
.l2-footer a {
	color: rgba(255, 255, 255, 0.8) !important;
	font-size: 0.92rem;
}
.l2-footer a:hover {
	color: var(--l2-mint) !important;
}
.l2-footer__copy {
	font-size: 0.88rem;
}

/* Modal blijft leesbaar */
#loginmodal {
	color: #000;
}
#loginmodal .modal-header {
	border-bottom: none;
}
#loginmodal .modal-footer {
	border-top: none;
}
#loginmodal .modal-body .fa {
	color: #fff;
}
#passwordHelp,
#forgotHelp {
	cursor: pointer;
}
