/*!
 * Novasem Funnels – Runner
 * Novasem-CI: Montserrat 700 für Fragen und Buttons, Roboto für Text,
 * Orange nur als Signal (Fortschritt, CTA, Auswahl-Linie), kantige Formen.
 */

.nvf-runner {
	--nvf-accent: #E05218;
	--nvf-primary: #143B52;
	--nvf-bg: #FFFFFF;
	--nvf-text: #202027;
	--nvf-muted: #6F7378;
	--nvf-meta: #9A9DA2;
	--nvf-line: #E8E8E8;
	--nvf-soft: #F7F7F7;
	--nvf-error: #C0392B;
	--nvf-head: 'NVF Montserrat', Montserrat, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--nvf-body: 'NVF Roboto', Roboto, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	position: relative;
	overflow: hidden;
	background: var(--nvf-bg);
	color: var(--nvf-text);
	font-family: var(--nvf-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-align: left;
}
.nvf-runner *,
.nvf-runner *::before,
.nvf-runner *::after { box-sizing: border-box; }
.nvf-runner:focus { outline: none; }

body.nvf-standalone { margin: 0; background: #FFFFFF; }
.nvf-full { position: fixed; inset: 0; width: 100%; height: 100%; }
.nvf-full.nvf-page { position: relative; inset: auto; min-height: 100vh; height: auto; overflow: visible; }
.nvf-embed { width: 100%; min-height: 420px; border: 1px solid var(--nvf-line); }

/* Progress ------------------------------------------------------------ */
.nvf-progress { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--nvf-soft); z-index: 6; }
.nvf-progress-bar { height: 100%; width: 0; background: var(--nvf-accent); transition: width .5s cubic-bezier(.2, .7, .2, 1); }

/* Logo ------------------------------------------------------------------ */
.nvf-logo { position: absolute; top: 24px; left: 28px; z-index: 6; display: block; line-height: 0; }
.nvf-logo img { height: 38px; width: auto; max-width: 180px; display: block; }
.nvf-embed .nvf-logo { top: 16px; left: 18px; }
.nvf-embed .nvf-logo img { height: 28px; }

/* Stage & steps ---------------------------------------------------------- */
.nvf-stage { position: absolute; inset: 0; overflow: hidden; }
.nvf-step {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, transform .42s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .42s;
}
.nvf-step.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .38s ease .05s, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}
.nvf-step.nvf-from-bottom { transform: translateY(64px); }
.nvf-step.nvf-from-top { transform: translateY(-64px); }
.nvf-step.nvf-to-top { transform: translateY(-64px); opacity: 0; }
.nvf-step.nvf-to-bottom { transform: translateY(64px); opacity: 0; }

.nvf-inner {
	position: relative;
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 104px 40px 120px;
}
.nvf-q { position: relative; width: 100%; max-width: 720px; }

/* Question head ---------------------------------------------------------- */
.nvf-head { position: relative; }
.nvf-num {
	position: absolute;
	right: 100%;
	top: .5em;
	margin-right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-family: var(--nvf-head);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	color: var(--nvf-accent);
	white-space: nowrap;
}
.nvf-num-ico svg { width: 14px; height: 14px; display: block; }
.nvf-title {
	margin: 0;
	font-family: var(--nvf-head);
	font-weight: 700;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.32;
	letter-spacing: -.01em;
	color: var(--nvf-text);
	overflow-wrap: anywhere;
	hyphens: auto;
}
.nvf-title-xl { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.16; }
.nvf-title-long { font-size: clamp(22px, 2.5vw, 32px); line-height: 1.32; }
.nvf-req { color: var(--nvf-accent); }
.nvf-desc {
	margin: 14px 0 0;
	max-width: 66ch;
	font-size: 17px;
	line-height: 28px;
	color: var(--nvf-muted);
}
.nvf-desc p { margin: 0 0 12px; }
.nvf-desc p:last-child { margin-bottom: 0; }
.nvf-desc a { color: var(--nvf-primary); }
.nvf-rule { display: block; width: 44px; height: 3px; margin-bottom: 26px; background: var(--nvf-accent); }

.nvf-welcome .nvf-inner::after,
.nvf-ending .nvf-inner::after {
	content: "";
	position: absolute;
	right: 7vw;
	bottom: 10vh;
	width: 200px;
	height: 150px;
	background-image: radial-gradient(#DADCDF 1.5px, transparent 1.7px);
	background-size: 18px 18px;
	pointer-events: none;
}

/* Inputs ------------------------------------------------------------------ */
.nvf-field { margin-top: 30px; }
.nvf-input {
	display: block;
	width: 100%;
	margin: 0;
	padding: 8px 0 10px;
	border: 0;
	border-bottom: 2px solid #D5D7DA;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--nvf-body);
	font-size: clamp(20px, 2.1vw, 26px);
	line-height: 1.4;
	color: var(--nvf-primary);
	outline: none;
	transition: border-color .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.nvf-input::placeholder { color: #B6B9BD; opacity: 1; }
.nvf-input:focus { border-bottom-color: var(--nvf-primary); }
.nvf-textarea { resize: none; overflow: hidden; min-height: 52px; }
.nvf-subhint { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--nvf-meta); }
.nvf-subhint strong { font-weight: 500; color: var(--nvf-muted); }
.nvf-field > .nvf-subhint:first-child { margin: -14px 0 14px; }

/* Choices ------------------------------------------------------------------ */
.nvf-choices { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 580px; }
.nvf-yesno { max-width: 320px; }
.nvf-choice {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin: 0;
	padding: 11px 14px 11px 12px;
	border: 1px solid var(--nvf-line);
	border-radius: 2px;
	background: var(--nvf-soft);
	box-shadow: none;
	font-family: var(--nvf-body);
	font-size: 17px;
	line-height: 1.4;
	color: var(--nvf-text);
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.nvf-choice:hover { border-color: var(--nvf-primary); }
.nvf-choice:focus-visible { outline: 2px solid var(--nvf-primary); outline-offset: 2px; }
.nvf-key {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--nvf-primary);
	background: #FFFFFF;
	font-family: var(--nvf-head);
	font-weight: 700;
	font-size: 12px;
	line-height: 1;
	color: var(--nvf-primary);
}
.nvf-choice-label { flex: 1; min-width: 0; }
.nvf-choice-check {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--nvf-primary);
	color: #FFFFFF;
	opacity: 0;
	transform: scale(.5);
	transition: opacity .15s ease, transform .15s ease;
}
.nvf-choice-check svg { width: 13px; height: 13px; display: block; }
.nvf-choice.is-selected { background: #FFFFFF; border-color: var(--nvf-primary); box-shadow: inset 4px 0 0 var(--nvf-accent); }
.nvf-choice.is-selected .nvf-key { background: var(--nvf-primary); color: #FFFFFF; }
.nvf-choice.is-selected .nvf-choice-check { opacity: 1; transform: none; }
.nvf-other-wrap { padding: 4px 0 0 40px; }
.nvf-other { font-size: 18px; }

@keyframes nvf-blink { 0%, 100% { opacity: 1; } 25% { opacity: .3; } 50% { opacity: 1; } 75% { opacity: .3; } }
.nvf-blink { animation: nvf-blink .46s linear; }

/* Scale ------------------------------------------------------------------- */
.nvf-scale { display: grid; grid-template-columns: repeat(var(--nvf-cols, 5), minmax(0, 1fr)); gap: 8px; max-width: 660px; }
.nvf-scale-btn {
	height: 58px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--nvf-line);
	border-radius: 2px;
	background: var(--nvf-soft);
	font-family: var(--nvf-head);
	font-weight: 600;
	font-size: 18px;
	color: var(--nvf-text);
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.nvf-scale-btn:hover { border-color: var(--nvf-primary); }
.nvf-scale-btn:focus-visible { outline: 2px solid var(--nvf-primary); outline-offset: 2px; }
.nvf-scale-btn.is-selected { background: var(--nvf-primary); border-color: var(--nvf-primary); color: #FFFFFF; box-shadow: inset 0 -4px 0 var(--nvf-accent); }
.nvf-scale.is-stars { max-width: 480px; gap: 4px; }
.nvf-scale.is-stars .nvf-scale-btn { height: 54px; border: 0; background: transparent; color: #D5D7DA; box-shadow: none; }
.nvf-scale.is-stars .nvf-scale-btn.is-selected { color: var(--nvf-accent); background: transparent; }
.nvf-scale.is-stars .nvf-scale-btn:hover { color: var(--nvf-primary); }
.nvf-star svg { width: 40px; height: 40px; display: block; margin: 0 auto; }
.nvf-scale-labels { display: grid; grid-template-columns: 1fr 1fr 1fr; max-width: 660px; margin-top: 10px; font-size: 13px; color: var(--nvf-muted); }
.nvf-scale-labels span:nth-child(2) { text-align: center; }
.nvf-scale-labels span:nth-child(3) { text-align: right; }
/* Key to the scale, above the buttons: orange line + Montserrat in the primary colour. */
.nvf-scale-hint {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 660px;
	margin: -6px 0 16px;
	font-family: var(--nvf-head);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.4;
	color: var(--nvf-primary);
}
.nvf-scale-hint::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--nvf-accent); }

/* Dropdown ------------------------------------------------------------------ */
.nvf-combo { position: relative; max-width: 660px; }
.nvf-combo-input { padding-right: 48px; text-overflow: ellipsis; }
.nvf-combo-toggle {
	position: absolute;
	right: 0;
	top: 8px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--nvf-primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.nvf-combo-toggle svg { width: 20px; height: 20px; display: block; transition: transform .2s ease; }
.nvf-combo.is-open .nvf-combo-toggle svg { transform: rotate(180deg); }
.nvf-combo-list {
	display: none;
	position: absolute;
	z-index: 10;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	max-height: min(330px, 46vh);
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	list-style: none;
	background: #FFFFFF;
	border: 1px solid var(--nvf-line);
	box-shadow: 0 14px 34px rgba(20, 59, 82, .12);
}
.nvf-combo.is-open .nvf-combo-list { display: block; }
.nvf-combo-opt {
	margin: 0;
	padding: 10px 12px;
	border-left: 3px solid transparent;
	font-size: 15.5px;
	line-height: 1.35;
	color: var(--nvf-text);
	cursor: pointer;
}
.nvf-combo-opt:hover,
.nvf-combo-opt.is-active { background: var(--nvf-soft); border-left-color: var(--nvf-accent); }
.nvf-combo-opt.is-selected { color: var(--nvf-primary); font-weight: 500; }
.nvf-combo-empty { padding: 10px 12px; font-size: 14px; color: var(--nvf-meta); }

/* Actions ------------------------------------------------------------------ */
.nvf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.nvf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	margin: 0;
	padding: 12px 28px;
	border: 0;
	border-radius: 0;
	background: var(--nvf-accent);
	color: #FFFFFF;
	font-family: var(--nvf-head);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease;
}
.nvf-btn:hover,
.nvf-btn:focus-visible { color: #FFFFFF; background: #C84614; background: color-mix(in srgb, var(--nvf-accent) 86%, #000000); }
.nvf-btn:focus { color: #FFFFFF; }
.nvf-btn:focus-visible { outline: 3px solid var(--nvf-primary); outline-offset: 3px; }
.nvf-hint { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--nvf-meta); }
.nvf-hint strong { font-weight: 500; color: var(--nvf-muted); }
.nvf-hint svg { width: 14px; height: 14px; display: block; }
.nvf-link { padding: 0; border: 0; background: none; color: var(--nvf-primary); font: inherit; font-weight: 500; text-decoration: underline; cursor: pointer; }

/* Errors & states ------------------------------------------------------------ */
.nvf-error {
	display: none;
	margin-top: 18px;
	padding: 8px 14px;
	border-left: 3px solid var(--nvf-error);
	background: #FBECEA;
	font-size: 14.5px;
	line-height: 1.45;
	color: var(--nvf-error);
}
.nvf-error.is-visible { display: inline-block; }
@keyframes nvf-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.nvf-shake { animation: nvf-shake .36s ease; }
.nvf-submit-state { margin-top: 18px; font-size: 14px; color: var(--nvf-muted); }
.nvf-submit-state:empty { display: none; }
.nvf-submit-state.is-error { padding: 10px 14px; border-left: 3px solid var(--nvf-error); background: #FBECEA; color: var(--nvf-error); }

.nvf-loading { position: absolute; left: 50%; top: 50%; width: 120px; height: 3px; margin: -2px 0 0 -60px; overflow: hidden; background: var(--nvf-soft); }
.nvf-loading::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--nvf-accent); animation: nvf-load 1s ease-in-out infinite; }
@keyframes nvf-load { to { left: 100%; } }

/* Navigation ------------------------------------------------------------------ */
.nvf-nav { position: absolute; right: 24px; bottom: 24px; z-index: 6; display: flex; gap: 2px; }
.nvf-nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--nvf-primary);
	color: #FFFFFF;
	cursor: pointer;
	transition: opacity .15s ease, background-color .15s ease;
}
.nvf-nav-btn:hover:not(:disabled) { background: #123950; background: color-mix(in srgb, var(--nvf-primary) 82%, #000000); }
.nvf-nav-btn:disabled { opacity: .3; cursor: default; }
.nvf-nav-btn:focus-visible { outline: 2px solid var(--nvf-accent); outline-offset: 2px; }
.nvf-nav-btn svg { width: 18px; height: 18px; display: block; }

.nvf-preview-badge {
	position: absolute;
	top: 14px;
	left: 50%;
	z-index: 7;
	transform: translateX(-50%);
	padding: 4px 10px;
	background: var(--nvf-primary);
	color: #FFFFFF;
	font-family: var(--nvf-head);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: .04em;
	white-space: nowrap;
}
.nvf-hp { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* Voucher on the thank-you page ------------------------------------------------ */
.nvf-voucher { max-width: 560px; margin: 26px 0 4px; padding: 20px 22px 18px; background: var(--nvf-soft); border-left: 4px solid var(--nvf-accent); }
.nvf-voucher .nvf-kicker { margin-bottom: 8px; }
.nvf-voucher-t { font-family: var(--nvf-head); font-weight: 700; font-size: 20px; line-height: 1.35; color: var(--nvf-text); }
.nvf-voucher-code { display: flex; flex-wrap: wrap; align-items: stretch; margin-top: 14px; }
.nvf-voucher-c {
	padding: 10px 16px;
	background: #FFFFFF;
	border: 1px solid var(--nvf-line);
	border-right: 0;
	font-family: var(--nvf-head);
	font-weight: 700;
	font-size: 22px;
	line-height: 1.3;
	letter-spacing: .12em;
	color: var(--nvf-primary);
	user-select: all;
}
.nvf-voucher-copy {
	padding: 0 18px;
	border: 1px solid var(--nvf-primary);
	border-radius: 0;
	background: var(--nvf-primary);
	color: #FFFFFF;
	font-family: var(--nvf-head);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}
.nvf-voucher-copy:hover { background: var(--nvf-text); border-color: var(--nvf-text); }
.nvf-voucher-copy:focus-visible { outline: 2px solid var(--nvf-accent); outline-offset: 2px; }
.nvf-voucher .nvf-voucher-n { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--nvf-muted); }
.nvf-voucher .nvf-nb { white-space: nowrap; }
.nvf-voucher.is-note { padding: 14px 18px; border-left-color: var(--nvf-primary); }
.nvf-voucher.is-note .nvf-voucher-n { margin: 0; color: var(--nvf-text); }

/* Static message pages (closed funnel, opt-out, no JS) ---------------------- */
.nvf-message { max-width: 680px; margin: 0 auto; padding: 22vh 28px 80px; }
.nvf-message .nvf-title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; }
.nvf-message .nvf-desc { margin-bottom: 26px; }
.nvf-message form { margin: 0; }
.nvf-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-family: var(--nvf-head);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--nvf-primary);
}
.nvf-kicker::before { content: ""; width: 28px; height: 2px; background: var(--nvf-accent); }
.nvf-noscript { padding: 40px; font-family: Arial, sans-serif; }

/* Small screens --------------------------------------------------------------- */
@media (max-width: 860px) {
	.nvf-num { position: static; margin: 0 0 10px; display: flex; }
}
@media (max-width: 640px) {
	.nvf-inner { padding: 84px 20px 104px; align-items: flex-start; }
	.nvf-logo { top: 16px; left: 20px; }
	.nvf-logo img { height: 30px; }
	.nvf-desc { font-size: 16px; line-height: 26px; }
	.nvf-input { font-size: 18px; }
	.nvf-choice { font-size: 16px; }
	.nvf-scale-btn { height: 50px; font-size: 16px; }
	.nvf-scale[data-wide] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.nvf-scale-hint { font-size: 15px; gap: 10px; }
	.nvf-voucher { padding: 16px 16px 14px; }
	.nvf-voucher-t { font-size: 18px; }
	.nvf-voucher-c { font-size: 19px; padding: 9px 12px; }
	.nvf-scale-hint::before { width: 20px; }
	.nvf-nav { right: 16px; bottom: 16px; }
	.nvf-welcome .nvf-inner::after,
	.nvf-ending .nvf-inner::after { width: 120px; height: 90px; right: 20px; bottom: 76px; }
	.nvf-actions .nvf-btn { flex: 1 1 auto; }
}
@media (max-height: 560px) {
	.nvf-inner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.nvf-step,
	.nvf-step.is-active,
	.nvf-progress-bar,
	.nvf-choice,
	.nvf-scale-btn { transition: none !important; }
	.nvf-blink,
	.nvf-shake,
	.nvf-loading::after { animation: none !important; }
}
