/* Rijschool Oude Maas – Proefles-kaart */

.rom-proefles {
	position: relative;
	z-index: 4;
	padding: 0 24px;
}

.rom-proefles__card {
	position: relative;
	width: 100%;
	max-width: 1125px;
	margin: 0 auto;
	background: var(--rom-pf-card-bg, #fff);
	color: var(--rom-pf-title, #0f1b2d);
	border-radius: 24px;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
	overflow: visible;
}

.rom-proefles__step { display: none; }
.rom-proefles__step.is-active {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}
.rom-proefles__step--3.is-active { display: block; }

/* Promo-badge */
.rom-proefles__promo {
	position: absolute;
	top: -16px;
	right: -12px;
	z-index: 5;
	background: var(--rom-pf-promo-bg, #e5007d);
	color: var(--rom-pf-promo-text, #fff);
	padding: 8px 12px;
	border-radius: 10px;
	transform: rotate(6deg);
	box-shadow: 0 16px 36px rgba(229, 0, 125, .4);
	text-align: center;
	font-family: 'Outfit', sans-serif;
}
.rom-proefles__promo-old { font-size: 10px; font-weight: 600; opacity: .85; text-decoration: line-through; }
.rom-proefles__promo-new { font-size: 16px; font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.rom-proefles__promo-sub { font-size: 9px; font-weight: 600; margin-top: 2px; opacity: .85; }

/* Linker paneel (stap 1) */
.rom-proefles__left {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--rom-pf-left-from, #0091d5) 0%, var(--rom-pf-left-via, #0b68a0) 45%, var(--rom-pf-left-to, #c4006a) 100%);
	border-radius: 24px 0 0 24px;
	padding: 34px 40px;
	color: var(--rom-pf-left-text, #fff);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.rom-proefles__left-glow {
	position: absolute;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%);
	top: -160px;
	left: -120px;
}
.rom-proefles__left-top {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}
.rom-proefles__badge {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .3);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	padding: 8px 14px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 12px;
}
.rom-proefles__badge-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: #ffc43d; box-shadow: 0 0 0 4px rgba(255, 196, 61, .3);
}
.rom-proefles__price { display: flex; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.rom-proefles__price-big {
	font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 44px;
	line-height: .9; letter-spacing: -.05em; text-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}
.rom-proefles__price-meta { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 12px; line-height: 1.3; padding-bottom: 5px; }
.rom-proefles__price-meta s { display: block; opacity: .7; }
.rom-proefles__left .rom-proefles__left-title {
	position: relative; margin: 0;
	font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 44px; line-height: 1.02; letter-spacing: -.03em;
	color: var(--rom-pf-left-text, #fff);
}
.rom-proefles__left .rom-proefles__left-title span { display: block; font-weight: 600; font-size: 20px; letter-spacing: -.01em; opacity: .9; margin-bottom: 4px; color: var(--rom-pf-left-text, #fff); }
.rom-proefles__left-text { position: relative; margin: 0; font-size: 15px; line-height: 1.65; max-width: 400px; color: rgba(255, 255, 255, .88); }
.rom-proefles__usps {
	position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; font-size: 13px; font-weight: 600;
}
.rom-proefles__usp { display: flex; align-items: center; gap: 10px; }
.rom-proefles__check {
	width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
	background: var(--rom-pf-check-bg, #fff); color: var(--rom-pf-check, #e5007d);
	display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

/* Formulier (stap 1) */
.rom-proefles__form { padding: 34px 40px; display: flex; flex-direction: column; gap: 9px; }
.rom-proefles__form-title { margin: 0 60px 0 0; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--rom-pf-title, #0f1b2d); }
.rom-proefles__form-sub { margin: 0 0 10px; font-size: 14px; color: var(--rom-pf-muted, #5a6b7a); }
.rom-proefles__err { background: #fff0f6; color: var(--rom-pf-accent, #e5007d); border-radius: 10px; padding: 10px 14px; font-size: 12px; font-weight: 600; }
.rom-proefles__field { position: relative; display: block; }
.rom-proefles__field > span { position: absolute; left: 16px; top: 7px; font-size: 11px; font-weight: 700; color: var(--rom-pf-input-label, #0b68a0); pointer-events: none; }
.rom-proefles__field input {
	width: 100%; background: var(--rom-pf-input-bg, #f4f7fa);
	border: 2px solid transparent; border-radius: 14px; padding: 20px 16px 8px;
	font-size: 15px; font-weight: 600; color: var(--rom-pf-input-text, #0f1b2d); outline: none;
	font-family: inherit;
}
.rom-proefles__field input:focus { border-color: var(--rom-pf-input-focus-border, #0091d5); background: var(--rom-pf-input-focus-bg, #fff); }
.rom-proefles__field.is-error input { border-color: var(--rom-pf-accent, #e5007d); }
.rom-proefles__field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rom-proefles__submit {
	cursor: pointer; font-family: 'Outfit', sans-serif; width: 100%; margin-top: 4px;
	border: 0; border-radius: 14px; padding: 15px 22px;
	background: linear-gradient(135deg, var(--rom-pf-accent, #e5007d), var(--rom-pf-accent-dark, #c4006a));
	color: #fff; font-weight: 700; font-size: 16px;
	display: flex; align-items: center; justify-content: center; gap: 12px;
	box-shadow: 0 14px 30px rgba(229, 0, 125, .35); transition: transform .2s;
}
.rom-proefles__submit:hover { transform: translateY(-2px); }
.rom-proefles__submit--2 { padding: 19px 22px; margin-top: 8px; }
.rom-proefles__submit[disabled] { opacity: .45; box-shadow: none; cursor: default; transform: none; }
.rom-proefles__form-footer {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 4px; padding-top: 12px; border-top: 1px solid #e1e8ef;
	font-size: 12px; font-weight: 600; color: var(--rom-pf-muted, #5a6b7a);
}
.rom-proefles__stars { color: #ffc43d; letter-spacing: 2px; font-size: 14px; margin-right: 6px; }

/* Stap 2 – links */
.rom-proefles__left2 {
	padding: 44px 40px; background: var(--rom-pf-step2-bg, #f4f7fa);
	border-radius: 24px 0 0 24px; display: flex; flex-direction: column; gap: 14px;
}
.rom-proefles__step2-badge { display: inline-flex; align-items: center; gap: 8px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 12px; color: var(--rom-pf-accent, #e5007d); }
.rom-proefles__step2-num { width: 22px; height: 22px; border-radius: 50%; background: var(--rom-pf-accent, #e5007d); color: #fff; display: inline-grid; place-items: center; font-size: 11px; }
.rom-proefles__step2-title { margin: 0; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--rom-pf-title, #0f1b2d); }
.rom-proefles__step2-text { margin: 0 0 8px; font-size: 14px; color: var(--rom-pf-muted, #5a6b7a); }
.rom-proefles__cars { display: flex; flex-direction: column; gap: 12px; }
.rom-proefles__car {
	cursor: pointer; font-family: inherit; background: #fff; border: 2px solid transparent;
	border-radius: 16px; padding: 18px; text-align: left; display: flex; align-items: center; gap: 14px; transition: all .2s;
}
.rom-proefles__car:hover { border-color: var(--rom-pf-blue, #0091d5); }
.rom-proefles__car.is-selected { border-color: var(--rom-pf-accent, #e5007d); box-shadow: 0 10px 26px rgba(229, 0, 125, .15); }
.rom-proefles__car-ico { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; width: 40px; text-align: center; color: #0b68a0; }
.rom-proefles__car.is-selected .rom-proefles__car-ico { color: var(--rom-pf-accent, #e5007d); }
.rom-proefles__car-body { flex: 1; }
.rom-proefles__car-body b { display: block; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 17px; color: var(--rom-pf-title, #0f1b2d); }
.rom-proefles__car-body span { display: block; font-size: 12px; color: var(--rom-pf-muted, #5a6b7a); margin-top: 3px; }
.rom-proefles__car-vink { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #e1e8ef; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.rom-proefles__car.is-selected .rom-proefles__car-vink { border-color: var(--rom-pf-accent, #e5007d); background: var(--rom-pf-accent, #e5007d); }
.rom-proefles__car.is-selected .rom-proefles__car-vink::after { content: '✓'; }
.rom-proefles__back { cursor: pointer; margin-top: auto; padding-top: 20px; align-self: flex-start; background: none; border: 0; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; color: var(--rom-pf-muted, #5a6b7a); }
.rom-proefles__back:hover { color: var(--rom-pf-title, #0f1b2d); }

/* Stap 2 – kalender */
.rom-proefles__cal { padding: 44px 40px; display: flex; flex-direction: column; gap: 8px; }
.rom-proefles__cal-head { display: flex; align-items: center; justify-content: space-between; }
.rom-proefles__cal-head h4 { margin: 0; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px; text-transform: capitalize; color: var(--rom-pf-title, #0f1b2d); }
.rom-proefles__cal-nav { display: flex; gap: 6px; }
.rom-proefles__cal-nav button { cursor: pointer; width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--rom-pf-cal-bg, #f4f7fa); color: var(--rom-pf-cal-text, #0f1b2d); font-size: 16px; }
.rom-proefles__cal-nav button:disabled { opacity: .35; cursor: default; }
.rom-proefles__cal-hint { font-size: 13px; color: var(--rom-pf-muted, #5a6b7a); margin-bottom: 6px; }
.rom-proefles__cal-hint b { color: var(--rom-pf-accent, #e5007d); font-family: 'Outfit', sans-serif; }
.rom-proefles__cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 11px; color: #9aa8b5; }
.rom-proefles__cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.rom-proefles__day {
	height: 42px; border-radius: 10px; border: 2px solid transparent;
	font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; transition: all .15s;
	cursor: pointer; background: var(--rom-pf-cal-bg, #f4f7fa); color: var(--rom-pf-cal-text, #0f1b2d);
}
.rom-proefles__day.is-empty { background: transparent; border-color: transparent; cursor: default; }
.rom-proefles__day.is-past { background: transparent; color: #c5cfd8; cursor: not-allowed; }
.rom-proefles__day.is-today { border-color: #e1e8ef; }
.rom-proefles__day.is-selected { background: linear-gradient(135deg, var(--rom-pf-accent, #e5007d), var(--rom-pf-accent-dark, #c4006a)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(229, 0, 125, .35); }
.rom-proefles__day.is-disabled { opacity: .4; cursor: not-allowed; }
.rom-proefles__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; min-height: 30px; align-items: center; }
.rom-proefles__chips-empty { font-size: 12px; color: #9aa8b5; }
.rom-proefles__chip { display: inline-flex; align-items: center; gap: 6px; background: var(--rom-pf-chip-bg, #fff0f6); color: var(--rom-pf-chip-text, #e5007d); border-radius: 50px; padding: 6px 10px 6px 12px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 12px; }
.rom-proefles__chip button { cursor: pointer; width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--rom-pf-accent, #e5007d); color: #fff; font-size: 12px; line-height: 1; display: grid; place-items: center; }

/* Stap 3 */
.rom-proefles__success { padding: 60px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rom-proefles__success-ico { width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 145, 213, .15); color: var(--rom-pf-blue, #0091d5); display: grid; place-items: center; font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.rom-proefles__success-title { margin: 0; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--rom-pf-title, #0f1b2d); }
.rom-proefles__success-text { margin: 0; font-size: 15px; color: var(--rom-pf-muted, #5a6b7a); line-height: 1.6; max-width: 460px; }
.rom-proefles__summary { margin-top: 14px; background: var(--rom-pf-step2-bg, #f4f7fa); border-radius: 14px; padding: 16px 22px; text-align: left; font-size: 13px; line-height: 1.8; color: var(--rom-pf-title, #0f1b2d); }
.rom-proefles__summary b { font-family: 'Outfit', sans-serif; }

/* ---------- Mobiel/tablet: compact (naar aanmeldformulier-oude-maas-2-stappen-v3-mobiel.html) ---------- */
@media (max-width: 900px) {
	.rom-proefles { padding: 0 14px; }
	.rom-proefles__card { border-radius: 22px; }
	.rom-proefles__step.is-active { grid-template-columns: 1fr; }

	/* Sticker kleiner, op de hoek van de kaart */
	.rom-proefles__promo { top: -14px; right: 8px; padding: 8px 12px; border-radius: 10px; transform: rotate(4deg); }
	.rom-proefles__promo-old { font-size: 10px; }
	.rom-proefles__promo-new { font-size: 17px; }
	.rom-proefles__promo-sub { font-size: 9px; }

	/* Linkerpaneel korter */
	.rom-proefles__left { border-radius: 22px 22px 0 0; padding: 24px 20px 20px; gap: 10px; }
	.rom-proefles__left-top { flex-wrap: wrap; gap: 10px 14px; }
	.rom-proefles__badge { font-size: 11px; padding: 6px 12px; }
	.rom-proefles__price { gap: 8px; }
	.rom-proefles__price-big { font-size: 40px; }
	.rom-proefles__price-meta { font-size: 11.5px; padding-bottom: 4px; }
	.rom-proefles__left .rom-proefles__left-title { font-size: 30px; }
	.rom-proefles__left .rom-proefles__left-title span { font-size: 15px; margin-bottom: 2px; }
	.rom-proefles__left-text { font-size: 13.5px; line-height: 1.5; max-width: none; }
	.rom-proefles__usps { grid-template-columns: 1fr 1fr; gap: 8px 10px; font-size: 12px; }
	.rom-proefles__usp { gap: 8px; }
	.rom-proefles__check { width: 18px; height: 18px; font-size: 11px; }

	/* Formulier compacter */
	.rom-proefles__form { padding: 22px 18px 20px; gap: 8px; }
	.rom-proefles__form-title { font-size: 21px; margin-right: 0; }
	.rom-proefles__form-sub { font-size: 13px; margin-bottom: 4px; }
	.rom-proefles__field > span { left: 14px; top: 6px; font-size: 10.5px; }
	.rom-proefles__field input { padding: 19px 14px 8px; font-size: 14px; border-radius: 12px; }
	.rom-proefles__field-row { grid-template-columns: 1fr 1fr; gap: 8px; }
	.rom-proefles__submit, .rom-proefles__submit--2 { padding: 14px 18px; font-size: 15px; margin-top: 4px; }
	.rom-proefles__form-footer { padding-top: 10px; font-size: 11.5px; }
	.rom-proefles__stars { font-size: 12px; }

	/* Stap 2 compacter */
	.rom-proefles__left2 { border-radius: 22px 22px 0 0; padding: 22px 18px 16px; gap: 10px; }
	.rom-proefles__step2-title { font-size: 21px; }
	.rom-proefles__step2-text { font-size: 13px; margin-bottom: 2px; }
	.rom-proefles__cars { gap: 8px; }
	.rom-proefles__car { padding: 12px 14px; gap: 12px; }
	.rom-proefles__car-ico { font-size: 18px; width: 30px; }
	.rom-proefles__car-body b { font-size: 15px; }
	.rom-proefles__back { margin-top: 0; padding-top: 10px; }
	.rom-proefles__cal { padding: 18px 18px 22px; gap: 6px; }
	.rom-proefles__cal-head h4 { font-size: 16px; }
	.rom-proefles__cal-hint { font-size: 12px; margin-bottom: 2px; }
	.rom-proefles__day { height: 36px; font-size: 12px; }
	.rom-proefles__chips { margin-top: 6px; }

	/* Stap 3 */
	.rom-proefles__success { padding: 40px 22px; }
}

@media (max-width: 380px) {
	.rom-proefles__field-row { grid-template-columns: 1fr; }
	.rom-proefles__usps { grid-template-columns: 1fr; }
	.rom-proefles__left .rom-proefles__left-title { font-size: 27px; }
}
