/* Voorkom hoofdletters in invoervelden (main.css heeft globale text-transform: capitalize) */
.calc-form-field input,
.calc-form-field textarea {
	text-transform: none;
}

/* Buiten bezorggebied scherm (stap 3) */
.calc-buiten-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	line-height: 1;
}
#step3-buiten {
	text-align: center;
	padding: 1.5rem 0;
}
#step3-buiten h2 { color: #c0392b; }
#step3-buiten .calc-sub { max-width: 460px; margin-left: auto; margin-right: auto; }

/* Nav calculator button */
.main-menu .nav-calc-btn {
	background: #fab500;
	color: #15442c !important;
	padding: 0.2rem 0.9rem;
	border-radius: 20px;
	font-weight: 700;
}
.main-menu .nav-calc-btn:hover {
	background: #e0a500;
}

/* Calculator hero */
.calcHero {
	background: linear-gradient(135deg, #15442c 0%, #1a5c3a 100%);
	padding: 3rem 1.5rem 2.5rem;
	color: #fff;
	text-align: center;
}
.calcHero .wrap { max-width: 700px; margin: 0 auto; }
.calcHero h1 { font-size: 2rem; color: #fff; margin: 0.6rem 0 0.75rem; }
.calcHero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.calcHero-sub {
	color: rgba(255,255,255,0.85);
	font-size: 1.05rem;
	margin: 0 0 1.5rem;
	line-height: 1.6;
}
.calcHero-benefits {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}
.calcHero-benefit {
	color: rgba(255,255,255,0.9);
	font-size: 0.92rem;
	font-weight: 600;
}
.calcHero-cta {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	background: #fab500;
	color: #15442c;
	font-weight: 700;
	font-size: 1.05rem;
	padding: 0.85rem 2rem;
	border-radius: 50px;
	text-decoration: none;
	transition: background 0.2s;
}
.calcHero-cta:hover { background: #e0a500; }

/* Voortgangsbalk */
.calcProgress {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.75rem;
	width: 100%;
}
.calcProgress-track {
	flex: 1;
	background: #e8f0eb;
	border-radius: 99px;
	height: 6px;
	overflow: hidden;
}
.calcProgress-fill {
	height: 100%;
	background: #15442c;
	border-radius: 99px;
	transition: width 0.4s ease;
}
.calcProgress-label {
	font-size: 0.78rem;
	color: #888;
	white-space: nowrap;
}

/* Calculator wrapper */
.calcWrapper {
	padding: 3rem 1.5rem 4rem;
}
.calcWrapper .wrap {
	max-width: 640px;
	margin: 0 auto;
}


/* Steps */
.calcStep { display: none; }
.calcStep.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.calcStep h2 {
	font-size: 1.4rem;
	color: #15442c;
	margin-bottom: 0.4rem;
}
.calcStep .calc-sub {
	color: #666;
	font-size: 0.95rem;
	margin-bottom: 1.75rem;
}

/* Employee input */
.calc-employee-input {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.calc-employee-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #15442c;
	background: #fff;
	color: #15442c;
	font-size: 1.4rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: all 0.15s;
}
.calc-employee-btn:hover { background: #15442c; color: #fff; }
.calc-employee-field {
	width: 100px;
	text-align: center;
	font-size: 1.6rem;
	font-weight: 700;
	color: #15442c;
	border: 2px solid #d4ead9;
	border-radius: 8px;
	padding: 0.4rem;
}
.calc-employee-field:focus { outline: none; border-color: #15442c; }

/* Package cards */
.calc-packages {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.calc-package input { display: none; }
.calc-package-card {
	border: 2px solid #e8f4ec;
	border-radius: 10px;
	padding: 1.1rem 0.75rem;
	cursor: pointer;
	text-align: center;
	transition: all 0.2s;
	background: #fff;
}
.calc-package-card:hover { border-color: #11a23a; }
.calc-package input:checked + .calc-package-card {
	border-color: #15442c;
	background: #f0faf4;
}
.calc-package-card-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }
.calc-package-card-name { font-weight: 700; color: #15442c; font-size: 0.9rem; line-height: 1.3; }
.calc-package-card-desc { font-size: 0.78rem; color: #666; margin-top: 0.3rem; line-height: 1.4; }

/* Frequency cards */
.calc-frequencies {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.calc-freq input { display: none; }
.calc-freq-card {
	border: 2px solid #e8f4ec;
	border-radius: 10px;
	padding: 1.25rem 1rem;
	cursor: pointer;
	text-align: center;
	transition: all 0.2s;
}
.calc-freq-card:hover { border-color: #11a23a; }
.calc-freq input:checked + .calc-freq-card {
	border-color: #15442c;
	background: #f0faf4;
}
.calc-freq-card-num { font-size: 2rem; font-weight: 700; color: #15442c; }
.calc-freq-card-label { font-size: 0.9rem; color: #555; }
.calc-freq-card-sub { font-size: 0.78rem; color: #999; margin-top: 0.2rem; }

/* Buttons */
.calc-btn {
	display: inline-block;
	background: #15442c;
	color: #fff;
	border: none;
	padding: 0.85rem 2rem;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
	width: 100%;
	text-align: center;
}
.calc-btn:hover { background: #1a5c3a; }
.calc-btn-back {
	background: none;
	color: #999;
	font-size: 0.88rem;
	border: none;
	cursor: pointer;
	padding: 0.5rem 0;
	display: block;
	margin-top: 0.75rem;
	width: 100%;
	text-align: center;
}
.calc-btn-back:hover { color: #15442c; }

.calc-error {
	color: #c0392b;
	font-size: 0.88rem;
	margin-top: 0.4rem;
	display: none;
}

/* Gate */
.calcGate { display: none; }
.calcGate.active { display: block; animation: fadeIn 0.3s ease; }
.calcGate h2 { font-size: 1.4rem; color: #15442c; margin-bottom: 0.4rem; }
.calcGate .calc-sub { color: #666; font-size: 0.95rem; margin-bottom: 1.5rem; }
.calcGate-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.calcGate input, .calcTrialForm input { text-transform: none; }

/* Result */
.calcResult { display: none; animation: fadeIn 0.3s ease; }
.calcResult.active { display: block; }

/* Pakket-kaarten V2 */
.calc-pkg-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 1.5rem 0;
	width: 100%;
}
.calc-pkg-card {
	background: #f8fdf9;
	border: 2px solid #ddeee3;
	border-radius: 12px;
	padding: 1.4rem 1rem 1.2rem;
	text-align: center;
	position: relative;
}
.calc-pkg-card--featured {
	background: #15442c;
	border-color: #15442c;
}
.calc-pkg-badge {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	background: #fab500;
	color: #15442c;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.2rem 0.8rem;
	border-radius: 20px;
	white-space: nowrap;
}
.calc-pkg-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.calc-pkg-name {
	font-weight: 700;
	font-size: 0.9rem;
	color: #15442c;
	margin-bottom: 0.25rem;
}
.calc-pkg-card--featured .calc-pkg-name { color: #fff; }
.calc-pkg-desc {
	font-size: 0.75rem;
	color: #888;
	margin-bottom: 0.85rem;
	line-height: 1.4;
}
.calc-pkg-card--featured .calc-pkg-desc { color: rgba(255,255,255,0.65); }
.calc-pkg-price-week {
	font-size: 1.05rem;
	font-weight: 700;
	color: #15442c;
	margin-bottom: 0.2rem;
}
.calc-pkg-card--featured .calc-pkg-price-week { color: #fab500; }
.calc-pkg-price-week span { font-size: 0.78rem; font-weight: 400; opacity: 0.75; }
.calc-pkg-price-delivery {
	font-size: 0.75rem;
	color: #666;
}
.calc-pkg-card--featured .calc-pkg-price-delivery { color: rgba(255,255,255,0.55); }
.calc-result-summary {
	font-size: 0.88rem;
	color: #888;
	margin-bottom: 0.25rem;
}

.calc-result-card {
	border: 2px solid #15442c;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.calc-result-card-header {
	background: #15442c;
	padding: 0.9rem 1.5rem;
	text-align: center;
}
.calc-result-card-header-title {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: rgba(255,255,255,0.65);
	margin-bottom: 0.2rem;
}
.calc-result-card-header-sub {
	font-size: 0.88rem;
	color: rgba(255,255,255,0.88);
}
.calc-result-card-body {
	background: #f0faf4;
	padding: 1.75rem 2rem;
	text-align: center;
}
.calc-result-label {
	font-size: 0.82rem;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}
.calc-result-price {
	font-size: 3rem;
	font-weight: 800;
	color: #15442c;
	line-height: 1;
}
.calc-result-price span {
	font-size: 1rem;
	font-weight: 400;
	color: #666;
}
.calc-result-price.is-range {
	font-size: 1.9rem;
}
.calc-result-details {
	display: flex;
	justify-content: center;
	gap: 2.5rem;
	margin-top: 1.25rem;
	flex-wrap: wrap;
}
.calc-result-detail {
	text-align: center;
}
.calc-result-detail-val {
	font-size: 1.1rem;
	font-weight: 700;
	color: #15442c;
}
.calc-result-detail-lbl {
	font-size: 0.78rem;
	color: #888;
}

.calc-disclaimer {
	font-size: 0.88rem;
	color: #888;
	text-align: center;
	margin-top: 0.75rem;
	line-height: 1.6;
	padding: 0 0.5rem;
}

.calc-recalc {
	background: none;
	border: 1px solid #d4ead9;
	border-radius: 6px;
	padding: 0.5rem 1.25rem;
	color: #15442c;
	font-size: 0.88rem;
	cursor: pointer;
	margin: 0.5rem auto 0;
	display: block;
}
.calc-recalc:hover { background: #f0faf4; }

/* Trial form */
.calcTrialForm {
	background: #fff;
	border: 2px solid #15442c;
	border-radius: 12px;
	padding: 2rem;
	margin-top: 1.5rem;
}
.calcTrialForm-badge {
	display: inline-block;
	background: #fab500;
	color: #15442c;
	font-size: 0.7rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	margin-bottom: 0.75rem;
}
.calcTrialForm h3 {
	color: #15442c;
	font-size: 1.2rem;
	margin-bottom: 0.4rem;
}
.calcTrialForm > p {
	color: #666;
	font-size: 0.93rem;
	margin-bottom: 1.25rem;
}
.calcTrialForm-alt {
	text-align: center;
	font-size: 0.84rem;
	color: #999;
	margin-top: 1rem;
	margin-bottom: 0;
}
.calcTrialForm-alt a {
	color: #15442c;
	text-decoration: underline;
}
.calc-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}
.calc-form-field { display: flex; flex-direction: column; gap: 0.25rem; }
.calc-form-field.full { grid-column: 1 / -1; }
.calc-form-field label { font-size: 0.82rem; color: #555; font-weight: 600; }
.calc-form-field input {
	border: 1px solid #d4ead9;
	border-radius: 6px;
	padding: 0.6rem 0.75rem;
	font-size: 0.95rem;
	color: #333;
	transition: border-color 0.2s;
}
.calc-form-field input:focus { outline: none; border-color: #15442c; }

.calc-form-submit {
	margin-top: 0.75rem;
}
.calc-form-submit .calc-btn {
	background: #fab500;
	color: #15442c;
}
.calc-form-submit .calc-btn:hover { background: #e0a500; }

.calc-success {
	background: #f0faf4;
	border: 2px solid #15442c;
	border-radius: 12px;
	padding: 2.5rem 2rem;
	text-align: center;
}
.calc-success-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.calc-success h3 { color: #15442c; font-size: 1.3rem; margin-bottom: 0.5rem; }
.calc-success p { color: #555; font-size: 0.95rem; }

/* Gate trust signal */
.calcGate-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-bottom: 1.5rem;
	padding: 0.85rem 1.1rem;
	background: #f0faf4;
	border-radius: 8px;
	font-size: 0.88rem;
	color: #15442c;
	font-weight: 600;
}
.calcGate-trust-item::before {
	content: '✓ ';
	color: #11a23a;
}

/* Homepage CTA block */
.calculatorCtaBlock {
	background: #fab500;
	padding: 3rem 1.5rem;
}
.calculatorCtaBlock .wrap {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}
.calculatorCtaBlock-content h2 {
	font-size: 1.5rem;
	color: #15442c;
	margin-bottom: 0.5rem;
}
.calculatorCtaBlock-content p {
	color: #15442c;
	opacity: 0.8;
	font-size: 0.97rem;
}
.calculatorCtaBlock .button {
	background: #15442c;
	color: #fff;
	white-space: nowrap;
	flex-shrink: 0;
}
.calculatorCtaBlock .button:hover { background: #1a5c3a; }

.calculatorCtaBlock-badges {
	display: flex;
	gap: 1.25rem;
	margin-top: 0.75rem;
	flex-wrap: wrap;
}
.calculatorCtaBlock-badges span {
	font-size: 0.83rem;
	color: #15442c;
	font-weight: 600;
}

/* Calculator v2: Yes/No step */
.calc-yesno {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.calc-yesno-btn {
	border: 2px solid #e8f4ec;
	border-radius: 10px;
	padding: 1.6rem 1rem;
	background: #fff;
	cursor: pointer;
	font-size: 1.1rem;
	font-weight: 700;
	color: #15442c;
	transition: all 0.15s;
	text-align: center;
	line-height: 1.3;
}
.calc-yesno-btn:hover,
.calc-yesno-btn:active {
	border-color: #15442c;
	background: #f0faf4;
	transform: translateY(-1px);
}
.calc-yesno-icon {
	display: block;
	font-size: 1.8rem;
	margin-bottom: 0.4rem;
}

/* Calculator v2: Step 1 trust items */
.calc-step1-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	justify-content: center;
	margin-top: 1.5rem;
	padding: 1rem 1.1rem;
	background: #f0faf4;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #15442c;
}
.calc-step1-trust span::before {
	content: '✓ ';
	color: #11a23a;
	font-weight: 700;
}

/* Calculator v2: Loading animation */
.calcLoading {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 65vh;
	gap: 1.1rem;
	animation: fadeIn 0.3s ease;
	padding: 2rem 1rem;
	text-align: center;
	box-sizing: border-box;
}
.calcLoading-spinner {
	width: 52px;
	height: 52px;
	border: 4px solid #e8f4ec;
	border-top-color: #15442c;
	border-radius: 50%;
	animation: calcSpin 0.8s linear infinite;
	flex-shrink: 0;
	margin: 0 auto;
}
@keyframes calcSpin {
	to { transform: rotate(360deg); }
}
.calcLoading-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #15442c;
}
.calcLoading-msg-wrap {
	height: 2.8em;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.calcLoading-message {
	font-size: 0.9rem;
	color: #777;
	transition: opacity 0.22s;
	text-align: center;
	padding: 0 0.5rem;
	line-height: 1.4;
}
.calcLoading-bar-wrap {
	width: 200px;
	height: 6px;
	background: #e8f4ec;
	border-radius: 3px;
	overflow: hidden;
	flex-shrink: 0;
}
.calcLoading-bar {
	height: 100%;
	background: #11a23a;
	border-radius: 3px;
	width: 0%;
	transition: width 0.12s linear;
}

/* Gift highlight in hero benefits */
.calcHero-benefit--gift {
	color: #fab500;
}

/* Calculator v2: Result greeting */
.calc-result-greeting {
	text-align: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: #15442c;
	margin-bottom: 1rem;
	display: none;
}

@media (max-width: 767px) {
	.calc-pkg-cards { grid-template-columns: 1fr; }
	.calcHero { padding: 1.75rem 1.25rem 1.5rem; }
	.calcHero h1 { font-size: 1.4rem; margin: 0.4rem 0 0.5rem; }
	.calcHero-sub { font-size: 0.92rem; margin-bottom: 1rem; }
	.calcHero-benefits { gap: 0.75rem; margin-bottom: 1rem; }
	.calcHero-benefit { font-size: 0.82rem; }
	.calcHero-cta { font-size: 0.95rem; padding: 0.75rem 1.6rem; }
	.calc-packages { grid-template-columns: 1fr; }
	.calc-frequencies { grid-template-columns: 1fr; }
	.calc-form-grid { grid-template-columns: 1fr; }
	.calculatorCtaBlock .wrap { flex-direction: column; text-align: center; }
	.calculatorCtaBlock-badges { justify-content: center; }
	.calculatorCtaBlock { padding-bottom: 140px; }
	.calc-yesno { grid-template-columns: 1fr; }
}
