/*
 * Nimovis component styles.
 *
 * Tokens come from theme.json (--wp--preset--*, --wp--custom--*).
 * Components use the "nv-" prefix and never hard code brand values.
 */

/* ---------------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------------- */

:root {
	--nv-ease: var(--wp--custom--motion--ease);
	--nv-fast: var(--wp--custom--motion--fast);
	--nv-base: var(--wp--custom--motion--base);
	--nv-slow: var(--wp--custom--motion--slow);
	--nv-header-h: var(--wp--custom--header--height);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

/*
 * Class selectors that set display would otherwise beat the browser rule
 * for [hidden]. Elements toggled by markup or script must stay hidden.
 */
[hidden] {
	display: none !important;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

:where(a) {
	text-underline-offset: 0.2em;
	transition: color var(--nv-fast) var(--nv-ease);
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	border-radius: 2px;
}

[id] {
	scroll-margin-top: calc(var(--nv-header-h) + 24px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------------------------------------------------------------------------
 * Layout helpers
 * ------------------------------------------------------------------------- */

.nv-container {
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.nv-container--wide {
	max-width: var(--wp--style--global--wide-size);
}

.nv-section {
	position: relative;
	padding-block: var(--wp--preset--spacing--70);
}

.nv-section--tight {
	padding-block: var(--wp--preset--spacing--60);
}

.nv-section--soft {
	background: var(--wp--preset--color--surface);
}

.nv-section--night {
	background: var(--wp--preset--color--night);
	color: var(--wp--preset--color--paper);
}

.nv-section--night :is(h1, h2, h3, h4) {
	color: var(--wp--preset--color--paper);
}

.nv-section--night p,
.nv-section--night .nv-section__head > p {
	color: #9aa5b1;
}

.nv-section__head {
	max-width: 46rem;
	margin-bottom: var(--wp--preset--spacing--60);
}

.nv-section__head--center {
	margin-inline: auto;
	text-align: center;
}

.nv-section__head > h2 {
	margin: 0 0 0.75rem;
}

.nv-section__head > p {
	margin: 0;
	font-size: var(--wp--preset--font-size--lg);
	color: var(--wp--preset--color--muted);
}

.nv-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-strong);
}

.nv-section--night .nv-eyebrow {
	color: var(--wp--preset--color--accent-bright);
}

.nv-eyebrow::before {
	content: "";
	width: 1.5rem;
	height: 2px;
	border-radius: 2px;
	background: currentcolor;
}

.nv-lead {
	font-size: var(--wp--preset--font-size--lg);
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
}

.nv-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 700px) {
	.nv-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.nv-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.nv-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
	.nv-grid--3-wide { grid-template-columns: repeat(3, 1fr); }
	.nv-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------- */

.nv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.375rem;
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--md);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--nv-fast) var(--nv-ease),
		border-color var(--nv-fast) var(--nv-ease),
		color var(--nv-fast) var(--nv-ease),
		transform var(--nv-fast) var(--nv-ease);
}

.nv-btn:active {
	transform: translateY(1px);
}

.nv-btn--primary {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

.nv-btn--primary:hover {
	background: var(--wp--preset--color--accent-strong);
	color: var(--wp--preset--color--base);
}

.nv-btn--ghost {
	background: transparent;
	border-color: var(--wp--preset--color--line-strong);
	color: var(--wp--preset--color--contrast);
}

.nv-btn--ghost:hover {
	border-color: var(--wp--preset--color--graphite);
	color: var(--wp--preset--color--contrast);
}

.nv-btn--inverse {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--graphite);
}

.nv-btn--inverse:hover {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--graphite);
}

.nv-btn--lg {
	padding: 0.9375rem 1.75rem;
	font-size: 1.0625rem;
	border-radius: var(--wp--custom--radius--lg);
}

.nv-btn .nv-btn__arrow {
	transition: transform var(--nv-fast) var(--nv-ease);
}

.nv-btn:hover .nv-btn__arrow {
	transform: translateX(3px);
}

/* ---------------------------------------------------------------------------
 * Skip link
 * ------------------------------------------------------------------------- */

.nv-skip {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 200;
	padding: 0.625rem 1rem;
	background: var(--wp--preset--color--graphite);
	color: var(--wp--preset--color--paper);
	border-radius: var(--wp--custom--radius--sm);
	font-weight: 600;
	text-decoration: none;
	transition: top var(--nv-fast) var(--nv-ease);
}

.nv-skip:focus-visible {
	top: 1rem;
	color: var(--wp--preset--color--paper);
}

/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------- */

.nv-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--nv-base) var(--nv-ease), background-color var(--nv-base) var(--nv-ease);
}

.nv-header.is-scrolled {
	background: rgba(255, 255, 255, 0.92);
	border-bottom-color: var(--wp--preset--color--line);
}

.nv-header__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	height: var(--nv-header-h);
}

.nv-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.nv-logo__img {
	height: 30px;
	width: auto;
	display: block;
}

.nv-nav {
	display: none;
	align-items: center;
	gap: 0.25rem;
	margin-inline-start: 1rem;
}

.nv-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 0.875rem;
	border: 0;
	border-radius: var(--wp--custom--radius--sm);
	background: transparent;
	color: var(--wp--preset--color--text);
	font: inherit;
	font-weight: 500;
	font-size: 0.9375rem;
	text-decoration: none;
	cursor: pointer;
}

.nv-nav__link:hover,
.nv-nav__link[aria-expanded="true"] {
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--surface);
}

.nv-nav__link.is-active {
	color: var(--wp--preset--color--accent-strong);
}

.nv-nav__chevron {
	transition: transform var(--nv-fast) var(--nv-ease);
}

.nv-nav__link[aria-expanded="true"] .nv-nav__chevron {
	transform: rotate(180deg);
}

.nv-header__actions {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin-inline-start: auto;
}

.nv-header__login {
	display: none;
	padding: 0.5rem 0.875rem;
	color: var(--wp--preset--color--text);
	font-weight: 500;
	text-decoration: none;
	border-radius: var(--wp--custom--radius--sm);
}

.nv-header__login:hover {
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--surface);
}

.nv-header__cta {
	display: none;
}

@media (min-width: 1080px) {
	.nv-nav,
	.nv-header__login,
	.nv-header__cta {
		display: inline-flex;
	}

	.nv-burger {
		display: none;
	}
}

/* Mega dropdown */

/*
 * Hidden entirely below the desktop breakpoint. Merely making it
 * invisible left it in the layout, where its three column grid pushed
 * past the screen edge and allowed the page to be swiped sideways.
 * On small screens the burger menu covers the same links.
 */
.nv-mega {
	display: none;
}

@media (min-width: 1080px) {
	.nv-mega {
		display: block;
	}
}

.nv-mega {
	position: absolute;
	top: calc(var(--nv-header-h) - 8px);
	left: 50%;
	translate: -50% 0;
	width: min(720px, calc(100vw - 2rem));
	padding: 1rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition:
		opacity var(--nv-fast) var(--nv-ease),
		transform var(--nv-fast) var(--nv-ease),
		visibility 0s linear var(--nv-fast);
}

.nv-mega.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}

.nv-mega__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
}

.nv-mega__item {
	display: flex;
	gap: 0.875rem;
	padding: 0.875rem;
	border-radius: var(--wp--custom--radius--md);
	text-decoration: none;
	transition: background-color var(--nv-fast) var(--nv-ease);
}

.nv-mega__item:hover {
	background: var(--wp--preset--color--surface);
}

.nv-mega__name {
	display: block;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	margin-bottom: 0.125rem;
}

.nv-mega__desc {
	display: block;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--wp--preset--color--muted);
}

.nv-mega__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.75rem;
	padding: 0.875rem 0.875rem 0.25rem;
	border-top: 1px solid var(--wp--preset--color--line);
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.nv-mega__foot a {
	font-weight: 600;
	text-decoration: none;
}

/* Product tile icon */

.nv-tile {
	flex-shrink: 0;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	color: #fff;
}

.nv-tile svg {
	display: block;
}

.nv-tile--buchhaltung { background: var(--wp--custom--produkt--buchhaltung--base); }
.nv-tile--pdf { background: var(--wp--custom--produkt--pdf--base); }
.nv-tile--hub { background: var(--wp--custom--produkt--hub--base); }
.nv-tile--rechnungen { background: var(--wp--custom--produkt--rechnungen--base); }
.nv-tile--lohn { background: var(--wp--custom--produkt--lohn--base); }
.nv-tile--webdesign { background: var(--wp--custom--produkt--webdesign--base); }
.nv-tile--branding { background: var(--wp--custom--produkt--branding--base); }
.nv-tile--marketing { background: var(--wp--custom--produkt--marketing--base); }

/* Burger + mobile nav */

.nv-burger {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--sm);
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
}

@media (min-width: 1080px) {
	.nv-burger {
		display: none;
	}
}

.nv-mobile {
	position: fixed;
	inset: 0;
	z-index: 150;
	display: flex;
	flex-direction: column;
	padding: 1rem clamp(1.25rem, 4vw, 2rem) 2rem;
	background: var(--wp--preset--color--base);
	overflow-y: auto;
}

.nv-mobile[hidden] {
	display: none;
}

.nv-mobile__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--nv-header-h);
	margin-bottom: 1rem;
}

.nv-mobile__nav {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.nv-mobile__link {
	padding: 0.875rem 0.75rem;
	border-radius: var(--wp--custom--radius--sm);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.nv-mobile__link:hover {
	background: var(--wp--preset--color--surface);
}

.nv-mobile__group {
	margin: 0.5rem 0.75rem 0;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--line);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.nv-mobile__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 2rem;
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------- */

.nv-hero {
	position: relative;
	overflow: hidden;
	padding-block: var(--wp--preset--spacing--80);
}

.nv-hero__inner {
	position: relative;
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 1080px) {
	.nv-hero__inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		gap: 4rem;
	}
}

.nv-hero h1 {
	margin: 0 0 1.25rem;
	max-width: 16ch;
}

.nv-hero .nv-lead {
	max-width: 34rem;
	margin: 0 0 2rem;
}

.nv-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.nv-hero__note {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
}

/* Aurora background: soft brand washes plus a faint grid. */

.nv-aurora {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(38rem 26rem at 12% -10%, rgba(37, 99, 235, 0.10), transparent 62%),
		radial-gradient(30rem 22rem at 88% 6%, rgba(124, 58, 237, 0.08), transparent 60%),
		radial-gradient(26rem 20rem at 68% 92%, rgba(13, 148, 136, 0.07), transparent 62%);
}

.nv-aurora--grid::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(35, 40, 48, 0.045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(35, 40, 48, 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(70% 60% at 50% 32%, #000 0%, transparent 100%);
	-webkit-mask-image: radial-gradient(70% 60% at 50% 32%, #000 0%, transparent 100%);
}

.nv-section--night .nv-aurora {
	background-image:
		radial-gradient(36rem 24rem at 14% 0%, rgba(77, 130, 243, 0.16), transparent 62%),
		radial-gradient(28rem 20rem at 86% 100%, rgba(157, 107, 245, 0.12), transparent 60%);
}

/* Floating brand composition in the hero. */

.nv-hero__art {
	position: relative;
	min-height: 320px;
}

.nv-hero__art svg {
	width: 100%;
	height: auto;
	display: block;
}

.nv-float {
	animation: nv-float 11s var(--nv-ease) infinite alternate;
	transform-origin: center;
}

.nv-float--2 { animation-duration: 13s; animation-delay: -4s; }
.nv-float--3 { animation-duration: 15s; animation-delay: -8s; }

@keyframes nv-float {
	from { transform: translateY(-7px); }
	to { transform: translateY(9px); }
}

/* ---------------------------------------------------------------------------
 * Cards
 * ------------------------------------------------------------------------- */

.nv-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--sm);
	transition:
		transform var(--nv-base) var(--nv-ease),
		box-shadow var(--nv-base) var(--nv-ease),
		border-color var(--nv-base) var(--nv-ease);
}

.nv-card--hover:hover {
	transform: translateY(-3px);
	border-color: var(--wp--preset--color--line-strong);
	box-shadow: var(--wp--custom--shadow--md);
}

.nv-card h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--xl);
}

.nv-card p {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

.nv-card__link {
	margin-top: auto;
	font-weight: 600;
	text-decoration: none;
}

.nv-arrow {
	display: inline-block;
	vertical-align: -0.1em;
	transition: transform var(--nv-fast) var(--nv-ease);
}

:is(.nv-card__link, .nv-gcard):hover .nv-arrow {
	transform: translateX(3px);
}

.nv-card--night {
	background: var(--wp--preset--color--night-soft);
	border-color: rgba(243, 245, 247, 0.10);
}

.nv-card--night h3 {
	color: var(--wp--preset--color--paper);
}

.nv-card--night p {
	color: #9aa5b1;
}

/* Feature list inside cards */

.nv-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.nv-list li {
	position: relative;
	padding-left: 1.625rem;
	color: var(--wp--preset--color--text);
}

.nv-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 1rem;
	height: 1rem;
	background-color: var(--wp--preset--color--accent-strong);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000' opacity='0.14'/%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000' opacity='0.14'/%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------------------------------------------------------------------------
 * KPI band
 * ------------------------------------------------------------------------- */

.nv-kpis {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem 1.5rem;
}

@media (min-width: 900px) {
	.nv-kpis {
		grid-template-columns: repeat(var(--nv-kpi-cols, 6), 1fr);
	}
}

.nv-kpi {
	text-align: center;
}

.nv-kpi__value {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.125rem, 1.6rem + 1.6vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--wp--preset--color--contrast);
	font-variant-numeric: tabular-nums;
}

.nv-kpi__label {
	display: block;
	margin-top: 0.375rem;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
}

.nv-section--night .nv-kpi__value {
	color: var(--wp--preset--color--paper);
}

/* ---------------------------------------------------------------------------
 * Steps
 * ------------------------------------------------------------------------- */

.nv-steps {
	counter-reset: nv-step;
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.nv-steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nv-steps li {
	counter-increment: nv-step;
	padding: 1.75rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
}

.nv-steps li::before {
	content: counter(nv-step, decimal-leading-zero);
	display: block;
	margin-bottom: 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--accent);
}

.nv-steps h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1875rem;
}

.nv-steps p {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------------------
 * FAQ (native details/summary)
 * ------------------------------------------------------------------------- */

.nv-faq {
	max-width: 46rem;
	margin-inline: auto;
}

.nv-faq details {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.nv-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.25rem;
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	list-style: none;
}

.nv-faq summary::-webkit-details-marker {
	display: none;
}

.nv-faq summary::after {
	content: "";
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2357606a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 100%;
	transition: transform var(--nv-fast) var(--nv-ease);
}

.nv-faq details[open] summary::after {
	transform: rotate(180deg);
}

.nv-faq details > div {
	padding-bottom: 1.25rem;
	color: var(--wp--preset--color--muted);
	max-width: 60ch;
}

/* ---------------------------------------------------------------------------
 * CTA band
 * ------------------------------------------------------------------------- */

.nv-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--wp--preset--color--night);
	border-radius: var(--wp--custom--radius--xl);
	text-align: center;
	color: var(--wp--preset--color--paper);
}

.nv-cta h2 {
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--paper);
}

.nv-cta p {
	margin: 0 auto 2rem;
	max-width: 38rem;
	color: #9aa5b1;
	font-size: var(--wp--preset--font-size--lg);
}

.nv-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.nv-cta__note {
	margin-top: 1.25rem;
	font-size: 0.9375rem;
	color: #7d8894;
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */

.nv-footer {
	background: var(--wp--preset--color--night);
	color: #9aa5b1;
	font-size: 0.9375rem;
}

.nv-footer__top {
	display: grid;
	gap: 2.5rem;
	padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60);
}

@media (min-width: 760px) {
	.nv-footer__top {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1000px) {
	.nv-footer__top {
		grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
		gap: 3rem;
	}
}

.nv-footer__brand p {
	margin: 1.25rem 0 0.875rem;
	max-width: 34ch;
}

.nv-footer__mail {
	font-weight: 500;
	color: var(--wp--preset--color--paper) !important;
	text-decoration: none;
	border-bottom: 1px solid rgba(243, 245, 247, 0.28);
	padding-bottom: 1px;
}

.nv-footer__mail:hover {
	border-bottom-color: var(--wp--preset--color--paper);
}

.nv-footer__cta p {
	margin: 0 0 1rem;
	max-width: 30ch;
}

.nv-footer__cta .nv-btn {
	width: fit-content;
}

.nv-footer__login {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.875rem;
}

.nv-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.5rem;
}

/* Polylang renders its switcher as list items. */
.nv-footer__legal li {
	list-style: none;
	display: inline;
}

.nv-footer__legal a {
	white-space: nowrap;
}

.nv-footer h2 {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--paper);
}

.nv-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.nv-footer a:not(.nv-btn) {
	color: #9aa5b1;
	text-decoration: none;
}

.nv-footer a:not(.nv-btn):hover {
	color: var(--wp--preset--color--paper);
}

/* Buttons keep their own colours, the link rule must not reach them. */
.nv-footer .nv-btn--inverse {
	color: var(--wp--preset--color--graphite);
}

.nv-footer .nv-btn--inverse:hover {
	color: var(--wp--preset--color--graphite);
}

.nv-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(243, 245, 247, 0.12);
}

/* ---------------------------------------------------------------------------
 * Forms
 * ------------------------------------------------------------------------- */

.nv-form {
	display: grid;
	gap: 1.125rem;
	max-width: 40rem;
}

.nv-form__row {
	display: grid;
	gap: 1.125rem;
}

@media (min-width: 700px) {
	.nv-form__row--2 {
		grid-template-columns: 1fr 1fr;
	}
}

.nv-field {
	margin: 0;
}

.nv-field label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

.nv-field :is(input, select, textarea) {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.875rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--sm);
	font: inherit;
	color: var(--wp--preset--color--contrast);
	transition: border-color var(--nv-fast) var(--nv-ease), box-shadow var(--nv-fast) var(--nv-ease);
}

.nv-field :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px var(--wp--preset--color--accent-soft);
}

.nv-field--error :is(input, select, textarea) {
	border-color: #dc2626;
}

.nv-field__msg {
	display: block;
	margin-top: 0.375rem;
	font-size: 0.875rem;
	color: #b91c1c;
}

.nv-field--check {
	display: flex;
	gap: 0.625rem;
	align-items: flex-start;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
}

.nv-field--check input {
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.2rem;
	accent-color: var(--wp--preset--color--accent);
}

/* Select needs its own arrow once the browser default is overridden. */
.nv-field select {
	appearance: none;
	padding-right: 2.25rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2357606a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1.125rem;
}

.nv-form__status {
	padding: 1rem 1.25rem;
	border-radius: var(--wp--custom--radius--md);
	border: 1px solid;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.nv-form__status--success {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #15803d;
}

.nv-form__status--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.nv-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Contact form: card, grouped fieldsets, choice chips, states */

.nv-formwrap {
	max-width: 40rem;
	padding: clamp(1.5rem, 4vw, 2.25rem);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--xl);
	box-shadow: var(--wp--custom--shadow--md);
}

.nv-fieldset {
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
}

.nv-fieldset:last-of-type {
	margin-bottom: 1.25rem;
}

.nv-fieldset > legend {
	padding: 0;
	margin-bottom: 0.75rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

.nv-choices {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.nv-choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--md);
	font-size: 0.9375rem;
	color: var(--wp--preset--color--text);
	cursor: pointer;
	transition:
		border-color var(--nv-fast) var(--nv-ease),
		background-color var(--nv-fast) var(--nv-ease),
		color var(--nv-fast) var(--nv-ease);
}

.nv-choice:hover {
	border-color: var(--wp--preset--color--accent);
}

.nv-choice input {
	appearance: none;
	flex-shrink: 0;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0;
	border: 1.5px solid var(--wp--preset--color--line-strong);
	border-radius: 50%;
	transition: border-color var(--nv-fast) var(--nv-ease), border-width var(--nv-fast) var(--nv-ease);
}

.nv-choice:has(input:checked) {
	border-color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

.nv-choice input:checked {
	border-color: var(--wp--preset--color--accent);
	border-width: 5.5px;
}

.nv-choice:has(input:focus-visible) {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.nv-req {
	color: var(--wp--preset--color--accent-strong);
}

.nv-opt {
	font-weight: 400;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.nv-field__foot {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.375rem;
}

.nv-field__foot .nv-field__msg {
	margin-top: 0;
}

.nv-counter {
	margin-left: auto;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
	font-variant-numeric: tabular-nums;
}

.nv-counter.is-near {
	color: #b45309;
}

.nv-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 0;
}

.nv-form__hint {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.nv-btn[disabled] {
	opacity: 0.65;
	cursor: progress;
}

.nv-spinner {
	width: 1rem;
	height: 1rem;
	border: 2px solid currentcolor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: nv-spin 0.7s linear infinite;
}

@keyframes nv-spin {
	to { transform: rotate(360deg); }
}

.nv-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 1.5rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--wp--preset--color--line);
	list-style: none;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.nv-trust li {
	display: flex;
	align-items: center;
	gap: 0.4375rem;
}

.nv-trust svg {
	flex-shrink: 0;
	color: var(--wp--preset--color--accent);
}

/* Success panel replacing the form */

.nv-form__done {
	text-align: center;
	padding: 1rem 0 0.5rem;
}

.nv-form__done[hidden] {
	display: none;
}

.nv-form__done-icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: #f0fdf4;
	color: #15803d;
}

.nv-form__done-icon svg {
	width: 26px;
	height: 26px;
	stroke-width: 2;
}

.nv-form__done h3 {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--xl);
}

.nv-form__done p {
	margin: 0 auto;
	max-width: 34ch;
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------------------
 * Consent banner
 * ------------------------------------------------------------------------- */

.nv-consent {
	position: fixed;
	inset-inline: 1rem;
	bottom: 1rem;
	z-index: 190;
	max-width: 34rem;
	margin-inline: auto;
	padding: 1.5rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--lg);
}

.nv-consent[hidden] {
	display: none;
}

.nv-consent h2 {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
}

.nv-consent p {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
}

.nv-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

/* ---------------------------------------------------------------------------
 * Placeholder figure (clearly marked until real photography exists)
 * ------------------------------------------------------------------------- */

.nv-placeholder {
	position: relative;
	display: grid;
	place-items: center;
	margin: 0;
	background:
		repeating-linear-gradient(-45deg, transparent 0 14px, rgba(35, 40, 48, 0.03) 14px 28px),
		var(--wp--preset--color--surface);
	border: 1px dashed var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--lg);
	overflow: hidden;
}

.nv-placeholder svg {
	width: clamp(56px, 18%, 96px);
	height: auto;
	opacity: 0.85;
}

.nv-placeholder__label {
	position: absolute;
	bottom: 0.75rem;
	left: 50%;
	translate: -50% 0;
	padding: 0.25rem 0.75rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}

/* ---------------------------------------------------------------------------
 * App mockups: browser window frame with a clickable SVG interface
 * ------------------------------------------------------------------------- */

.nv-mock {
	--nv-hot: var(--wp--preset--color--accent);
	margin: 0;
}

.nv-mock--pdf {
	--nv-hot: var(--wp--custom--produkt--pdf--base);
}

.nv-mock--hub {
	--nv-hot: var(--wp--preset--color--graphite);
}

.nv-window {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--lg);
	overflow: hidden;
}

.nv-window__bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--surface);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.nv-window__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--line-strong);
}

.nv-window__url {
	margin-inline: auto;
	padding: 0.25rem 1.25rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

.nv-window svg {
	display: block;
	width: 100%;
	height: auto;
}

.nv-mock figcaption {
	margin-top: 0.875rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.nv-hot {
	cursor: pointer;
	outline: none;
}

.nv-hot__zone {
	fill: transparent;
	stroke: transparent;
	stroke-width: 1.5;
	transition: stroke var(--nv-fast) var(--nv-ease), fill var(--nv-fast) var(--nv-ease);
}

.nv-hot:hover .nv-hot__zone,
.nv-hot:focus-visible .nv-hot__zone {
	stroke: var(--nv-hot);
	fill: color-mix(in srgb, var(--nv-hot) 7%, transparent);
}

/* ---------------------------------------------------------------------------
 * Reveal on scroll
 * ------------------------------------------------------------------------- */

.nv-reveal {
	opacity: 0;
	transform: translateY(14px);
}

.nv-reveal.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity var(--nv-slow) var(--nv-ease), transform var(--nv-slow) var(--nv-ease);
}

@media (prefers-reduced-motion: reduce) {
	.nv-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ---------------------------------------------------------------------------
 * Product scoping: product pages adopt their accent inside <main>
 * ------------------------------------------------------------------------- */

.nv-scope--buchhaltung main {
	--nv-spot: var(--wp--custom--produkt--buchhaltung--base);
	--nv-spot-soft: var(--wp--custom--produkt--buchhaltung--soft);
	--nv-aur-a: rgba(37, 99, 235, 0.12);
	--nv-aur-b: rgba(13, 148, 136, 0.08);
}

.nv-scope--pdf main {
	--wp--preset--color--accent: var(--wp--custom--produkt--pdf--text);
	--wp--preset--color--accent-strong: #93291f;
	--wp--preset--color--accent-soft: var(--wp--custom--produkt--pdf--soft);
	--wp--preset--color--accent-bright: var(--wp--custom--produkt--pdf--bright);
	--nv-spot: var(--wp--custom--produkt--pdf--base);
	--nv-spot-soft: var(--wp--custom--produkt--pdf--soft);
	--nv-aur-a: rgba(220, 91, 78, 0.12);
	--nv-aur-b: rgba(217, 119, 6, 0.07);
}

.nv-scope--hub main {
	/* The hub carries graphite; interactive elements keep brand blue. */
	--nv-spot: var(--wp--preset--color--graphite);
	--nv-spot-soft: var(--wp--preset--color--paper);
	--nv-aur-a: rgba(35, 40, 48, 0.10);
	--nv-aur-b: rgba(124, 58, 237, 0.07);
}

/* Aurora reads scoped colors with brand fallbacks. */

.nv-aurora {
	background-image:
		radial-gradient(38rem 26rem at 12% -10%, var(--nv-aur-a, rgba(37, 99, 235, 0.10)), transparent 62%),
		radial-gradient(30rem 22rem at 88% 6%, var(--nv-aur-b, rgba(124, 58, 237, 0.08)), transparent 60%),
		radial-gradient(26rem 20rem at 68% 92%, rgba(13, 148, 136, 0.07), transparent 62%);
}

/* ---------------------------------------------------------------------------
 * Tinted sections and ornaments
 * ------------------------------------------------------------------------- */

.nv-section--tint {
	background:
		radial-gradient(42rem 26rem at 88% -20%, var(--nv-aur-a, rgba(37, 99, 235, 0.09)), transparent 60%),
		var(--nv-spot-soft, var(--wp--preset--color--accent-soft));
}

.nv-ornament {
	position: absolute;
	top: clamp(1rem, 6vw, 4rem);
	right: clamp(0.5rem, 5vw, 5rem);
	width: clamp(90px, 12vw, 160px);
	height: auto;
	pointer-events: none;
	opacity: 0.5;
}

@media (max-width: 899px) {
	.nv-ornament {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
 * Icon cards
 * ------------------------------------------------------------------------- */

.nv-icard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: clamp(1.375rem, 2.5vw, 1.75rem);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--sm);
	transition: transform var(--nv-base) var(--nv-ease), box-shadow var(--nv-base) var(--nv-ease);
}

.nv-icard:hover {
	transform: translateY(-3px);
	box-shadow: var(--wp--custom--shadow--md);
}

.nv-icard__icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--nv-spot-soft, var(--wp--preset--color--accent-soft));
	color: var(--wp--preset--color--accent);
}

.nv-icard h3 {
	margin: 0;
	font-size: 1.125rem;
}

.nv-icard p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
}

.nv-section--night .nv-icard {
	background: var(--wp--preset--color--night-soft);
	border-color: rgba(243, 245, 247, 0.10);
	box-shadow: none;
}

.nv-section--night .nv-icard h3 {
	color: var(--wp--preset--color--paper);
}

.nv-section--night .nv-icard p {
	color: #9aa5b1;
}

.nv-section--night .nv-icard__icon {
	background: rgba(243, 245, 247, 0.08);
	color: var(--wp--preset--color--accent-bright);
}

/* ---------------------------------------------------------------------------
 * Feature rows: text and spot illustration, alternating
 * ------------------------------------------------------------------------- */

.nv-frow {
	display: grid;
	gap: 2rem;
	align-items: center;
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 900px) {
	.nv-frow {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: clamp(2.5rem, 6vw, 5rem);
	}

	.nv-frow--flip > .nv-frow__media {
		order: -1;
	}
}

.nv-frow + .nv-frow {
	border-top: 1px solid var(--wp--preset--color--line);
}

.nv-frow h3 {
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--2xl);
}

.nv-frow__text > p {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--muted);
	max-width: 54ch;
}

.nv-section--night .nv-frow__text > p,
.nv-section--night .nv-frow__text .nv-list li {
	color: #9aa5b1;
}

.nv-section--night .nv-frow__text h3 {
	color: var(--wp--preset--color--paper);
}

.nv-frow__media {
	position: relative;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 2vw, 1.5rem);
	background: var(--nv-spot-soft, var(--wp--preset--color--surface));
	border-radius: var(--wp--custom--radius--xl);
	min-height: 220px;
}

.nv-spot__svg {
	width: min(300px, 82%);
	height: auto;
}

/* ---------------------------------------------------------------------------
 * Technik im Detail (collapsible proof points)
 * ------------------------------------------------------------------------- */

.nv-tech {
	margin-top: 0.75rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--surface);
	font-size: 0.875rem;
}

.nv-tech summary {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	list-style: none;
}

.nv-tech summary::-webkit-details-marker {
	display: none;
}

.nv-tech summary::before {
	content: "";
	width: 0.875rem;
	height: 0.875rem;
	background: currentcolor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
	transition: transform var(--nv-fast) var(--nv-ease);
}

.nv-tech[open] summary::before {
	transform: rotate(45deg);
}

.nv-tech > div {
	padding: 0 0.875rem 0.75rem;
	color: var(--wp--preset--color--muted);
}

.nv-tech > div p {
	margin: 0 0 0.5rem;
}

.nv-tech strong {
	color: var(--wp--preset--color--text);
}

.nv-section--night .nv-tech {
	background: rgba(243, 245, 247, 0.05);
	border-color: rgba(243, 245, 247, 0.14);
}

.nv-section--night .nv-tech summary,
.nv-section--night .nv-tech > div {
	color: #9aa5b1;
}

.nv-section--night .nv-tech strong {
	color: var(--wp--preset--color--paper);
}

/* ---------------------------------------------------------------------------
 * Timeline (milestones)
 * ------------------------------------------------------------------------- */

.nv-timeline {
	position: relative;
	max-width: 46rem;
	margin-inline: auto;
	display: grid;
	gap: 1.75rem;
	padding-left: 1.75rem;
}

.nv-timeline::before {
	content: "";
	position: absolute;
	left: 0.4375rem;
	top: 0.5rem;
	bottom: 0.5rem;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(to bottom, var(--wp--preset--color--accent), var(--wp--preset--color--line));
}

.nv-timeline__item {
	position: relative;
}

.nv-timeline__item::before {
	content: "";
	position: absolute;
	left: -1.75rem;
	top: 0.375rem;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	border: 3px solid var(--wp--preset--color--accent);
}

.nv-timeline__date {
	display: inline-block;
	margin-bottom: 0.25rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--accent-strong);
}

.nv-timeline__item p {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------------------
 * Guides: reading layout, notes, table of contents, cards
 * ------------------------------------------------------------------------- */

.nv-prose {
	max-width: 44rem;
	margin-inline: auto;
	font-size: 1.0625rem;
	line-height: 1.75;
}

.nv-prose h2 {
	margin: 2.5rem 0 1rem;
	font-size: var(--wp--preset--font-size--2xl);
}

.nv-prose p {
	margin: 0 0 1.125rem;
	color: var(--wp--preset--color--text);
}

.nv-prose .nv-list {
	margin: 0 0 1.25rem;
}

.nv-guide-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.nv-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.3125rem 0.75rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--base);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.nv-toc {
	max-width: 44rem;
	margin: 0 auto 2rem;
	padding: 1.125rem 1.375rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
}

.nv-toc strong {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.nv-toc ol {
	margin: 0;
	padding-left: 1.25rem;
	display: grid;
	gap: 0.375rem;
	font-size: 0.9375rem;
}

.nv-toc a {
	text-decoration: none;
}

.nv-toc a:hover {
	text-decoration: underline;
}

.nv-note {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--wp--preset--color--accent);
	border-radius: 0 var(--wp--custom--radius--md) var(--wp--custom--radius--md) 0;
	background: var(--wp--preset--color--accent-soft);
	font-size: 0.9375rem;
}

.nv-note--wichtig {
	border-left-color: #b45309;
	background: #fdf6e7;
}

.nv-note--beispiel {
	border-left-color: var(--wp--preset--color--teal);
	background: #edf9f7;
}

.nv-note strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--wp--preset--color--contrast);
}

.nv-note p {
	margin: 0;
	color: var(--wp--preset--color--text);
}

.nv-quellen {
	max-width: 44rem;
	margin: 2.5rem auto 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--line);
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.nv-quellen ul {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
	display: grid;
	gap: 0.25rem;
}

.nv-disclaimer {
	max-width: 44rem;
	margin: 1.5rem auto 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	font-style: italic;
}

.nv-gcard {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--sm);
	text-decoration: none;
	transition: transform var(--nv-base) var(--nv-ease), box-shadow var(--nv-base) var(--nv-ease);
}

.nv-gcard:hover {
	transform: translateY(-3px);
	box-shadow: var(--wp--custom--shadow--md);
}

.nv-gcard h3 {
	margin: 0;
	font-size: 1.25rem;
	color: var(--wp--preset--color--contrast);
}

.nv-gcard p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
}

.nv-gcard__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.5rem;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.nv-gcard__more {
	font-weight: 600;
	color: var(--wp--preset--color--accent-strong);
}

/* ---------------------------------------------------------------------------
 * Pricing: free tier band, package cards, building blocks
 * ------------------------------------------------------------------------- */

.nv-freecard {
	display: grid;
	gap: 1.75rem;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	background:
		radial-gradient(36rem 20rem at 90% -30%, rgba(37, 99, 235, 0.10), transparent 62%),
		var(--wp--preset--color--accent-soft);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--xl);
}

@media (min-width: 900px) {
	.nv-freecard {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(2rem, 5vw, 4rem);
		align-items: center;
	}
}

.nv-freecard__badge {
	display: inline-block;
	margin-bottom: 0.875rem;
	padding: 0.3125rem 0.75rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	font-size: 0.8125rem;
	font-weight: 600;
}

.nv-freecard h2 {
	margin: 0 0 0.625rem;
	font-size: var(--wp--preset--font-size--2xl);
}

.nv-freecard p {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

.nv-freecard__note {
	margin-top: 0.75rem !important;
	font-size: 0.875rem;
}

.nv-freecard__list {
	margin: 0;
}

.nv-plans {
	display: grid;
	gap: 1.25rem;
	align-items: start;
}

@media (min-width: 900px) {
	.nv-plans {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nv-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--custom--shadow--sm);
}

.nv-plan--featured {
	border-color: var(--wp--preset--color--accent);
	box-shadow: var(--wp--custom--shadow--md);
}

@media (min-width: 900px) {
	.nv-plan--featured {
		margin-block: -0.75rem;
		padding-block: calc(clamp(1.5rem, 3vw, 2rem) + 0.75rem);
	}
}

.nv-plan__badge {
	position: absolute;
	top: -0.75rem;
	left: 50%;
	translate: -50% 0;
	padding: 0.25rem 0.75rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.nv-plan h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--xl);
}

.nv-plan__for {
	margin: 0;
	min-height: 2.8em;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
}

.nv-plan__price {
	margin: 0.375rem 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
}

.nv-plan__price strong {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--contrast);
}

.nv-plan__year {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.nv-plan .nv-list {
	margin-bottom: 1.25rem;
}

.nv-plan__cta {
	margin-top: auto;
	justify-content: center;
}

.nv-plans__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
}

.nv-plans__note svg {
	color: var(--wp--preset--color--accent);
}

.nv-bricks {
	max-width: 52rem;
	margin-inline: auto;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--lg);
	overflow: hidden;
	background: var(--wp--preset--color--base);
}

.nv-brick {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.25rem 1rem;
	padding: 0.875rem 1.25rem;
	align-items: baseline;
}

@media (min-width: 700px) {
	.nv-brick {
		grid-template-columns: 12rem 1fr auto;
		gap: 1.5rem;
	}
}

.nv-brick + .nv-brick {
	border-top: 1px solid var(--wp--preset--color--line);
}

.nv-brick:nth-child(odd) {
	background: var(--wp--preset--color--surface);
}

.nv-brick__name {
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

.nv-brick__text {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
	grid-column: 1 / -1;
}

@media (min-width: 700px) {
	.nv-brick__text {
		grid-column: auto;
	}
}

.nv-brick__price {
	grid-row: 1;
	grid-column: 2;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--wp--preset--color--accent-strong);
	white-space: nowrap;
}

@media (min-width: 700px) {
	.nv-brick__price {
		grid-column: 3;
	}
}

/* ---------------------------------------------------------------------------
 * Contact: form leads, details support
 * ------------------------------------------------------------------------- */

.nv-contact {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 1000px) {
	.nv-contact {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
		gap: 2.5rem;
	}
}

.nv-contact__form > h2 {
	margin: 0 0 0.5rem;
}

.nv-contact__form > p {
	margin: 0 0 1.5rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--lg);
}

.nv-contact__form .nv-formwrap {
	max-width: none;
}

.nv-contact__side {
	display: grid;
	gap: 1rem;
}

@media (min-width: 1000px) {
	.nv-contact__side {
		position: sticky;
		top: calc(var(--nv-header-h) + 1.5rem);
	}
}

/* ---------------------------------------------------------------------------
 * Guides: even rhythm on the overview and inside an article
 * ------------------------------------------------------------------------- */

.nv-guide-hero {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

/* Overview: hero and card grid share one rhythm instead of stacking two
   full section paddings on top of each other. */
.nv-guides-page .nv-hero {
	padding-block: var(--wp--preset--spacing--70) var(--wp--preset--spacing--40);
}

.nv-guides-page .nv-hero + .nv-section {
	padding-top: var(--wp--preset--spacing--50);
}

.nv-guide-body > .nv-prose > h2:first-child {
	margin-top: 0;
}

.nv-guides {
	display: grid;
	gap: 1.25rem;
	max-width: 64rem;
	margin-inline: auto;
}

@media (min-width: 800px) {
	.nv-guides {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*
 * No height:100% here. The grid already stretches its items, and the
 * extra declaration made tall cards overflow their row and overlap the
 * next one.
 */
.nv-gcard {
	gap: 0.625rem;
}

.nv-gcard .nv-eyebrow {
	margin: 0;
	font-size: 0.75rem;
}

.nv-gcard p {
	flex: 1;
	margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------------------------
 * Company page: brand panel instead of a portrait
 * ------------------------------------------------------------------------- */

.nv-brandpanel {
	display: grid;
	place-items: center;
	gap: 1.25rem;
	padding: clamp(2rem, 5vw, 3rem);
	background:
		radial-gradient(28rem 18rem at 50% -20%, rgba(37, 99, 235, 0.12), transparent 65%),
		var(--wp--preset--color--night);
	border-radius: var(--wp--custom--radius--xl);
	text-align: center;
}

.nv-brandpanel img {
	width: min(220px, 70%);
	height: auto;
}

.nv-brandpanel p {
	margin: 0;
	font-size: 0.9375rem;
	color: #9aa5b1;
	max-width: 26ch;
}

.nv-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.nv-fact {
	padding: 1rem 1.125rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--md);
}

.nv-fact__value {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

.nv-fact__label {
	display: block;
	margin-top: 0.125rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------------------
 * Legal pages: quiet reading layout
 * ------------------------------------------------------------------------- */

.nv-legal {
	max-width: 44rem;
	margin-inline: auto;
}

.nv-legal h2 {
	margin: 2.25rem 0 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--line);
	font-size: var(--wp--preset--font-size--xl);
}

.nv-legal h2:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.nv-legal p {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--text);
	line-height: 1.75;
}

.nv-legal__meta {
	margin-bottom: 2rem;
	padding: 0.875rem 1.125rem;
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--md);
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------------------------
 * Staggered reveals
 * ------------------------------------------------------------------------- */

.nv-grid > .nv-reveal:nth-child(2),
.nv-steps > .nv-reveal:nth-child(2) { transition-delay: 70ms; }

.nv-grid > .nv-reveal:nth-child(3),
.nv-steps > .nv-reveal:nth-child(3) { transition-delay: 140ms; }

.nv-grid > .nv-reveal:nth-child(4) { transition-delay: 210ms; }

.nv-grid > .nv-reveal:nth-child(5) { transition-delay: 280ms; }

/* ---------------------------------------------------------------------------
 * Utility
 * ------------------------------------------------------------------------- */

.nv-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.nv-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.3125rem 0.75rem;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--wp--custom--radius--pill);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	background: var(--wp--preset--color--base);
}

.nv-badge:hover {
	color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--graphite);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
