/*
 * Brutto-Netto-Rechner 2026 - verticus Theme.
 *
 * Portiert aus bruttonetto2026a.html. Drei bewusste Abweichungen vom Original:
 *
 * 1. Jede Regel haengt unter .vc-bn-page. Das Original arbeitet mit nackten
 *    Element-Selektoren (body, table, details, select, input), die sonst das
 *    komplette Theme ueberschreiben wuerden.
 * 2. Die Klasse .row heisst hier .vcbn-row. critical.css und style.css
 *    definieren ein eigenes, immer geladenes .row (display:flex mit negativen
 *    Aussenabstaenden) - das haette jede Formularzeile zerlegt.
 * 3. Kein prefers-color-scheme-Block und keine Google-Fonts. Das Theme ist
 *    reines Light und laedt system-ui; ein dunkler Rechner in einer weissen
 *    Seite und ein externer Font-Request neben dem Klaro-Consent waeren beides
 *    Rueckschritte.
 * 4. Der Seitengrund ist weiss statt papiergrau, damit der Rechner nicht als
 *    eingesetzter Block wirkt. Die Karten grenzen sich ueber ihre Rahmen ab,
 *    die eingesenkten Flaechen (Legenden, Absendebalken) ueber --sunk.
 */

.vc-bn-page {
	--paper: #ffffff;
	--card: #ffffff;
	--sunk: #f4f6f8;
	--ink: #14181d;
	--ink2: #59636e;
	--ink3: #8b959e;
	--rule: #cfd6dc;
	--rule2: #e3e8ec;
	--accent: #075bd8;
	--accent-soft: #e7effc;
	--minus: #a83e2e;
	--ag: #8a6118;
	--sv-bar: #c98a7c;
	--ag-bar: #c9a05a;
	--focus: #075bd8;
	--shadow: 0 1px 2px rgba(20, 24, 29, .05), 0 10px 26px -14px rgba(20, 24, 29, .22);
	--ff-ui: var(--vtc-font, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
	--ff-num: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

	background: var(--paper);
	color: var(--ink);
	font-family: var(--ff-ui);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.vc-bn-page * {
	box-sizing: border-box;
}

.vc-bn-page [hidden] {
	display: none !important;
}

.vc-bn-page .wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 20px 64px;
}

.vc-bn-page header {
	border-bottom: 2px solid var(--ink);
	padding-bottom: 14px;
}

.vc-bn-page .eyebrow {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink2);
	font-weight: 600;
	margin: 0 0 7px;
}

/* Farbe und Gewicht wie auf den anderen Vergleichsrechnern
   (.vc-pkv-hero h1 in vergleichsrechner.css), damit die Seite nicht als
   Fremdkoerper wirkt. Groesse und Zeilenfall bleiben rechnerspezifisch. */
.vc-bn-page h1 {
	font-size: clamp(30px, 4.4vw, 46px);
	font-weight: 850;
	letter-spacing: -.02em;
	margin: 0;
	color: var(--vtc-blue-dark, #062d63);
	text-wrap: balance;
	line-height: 1.04;
}

.vc-bn-page .sub {
	margin: 9px 0 0;
	color: var(--ink2);
	max-width: 120ch;
	font-size: 14px;
}

.vc-bn-page .hairline {
	height: 1px;
	background: var(--ink);
	margin-top: 3px;
}

/* Hauptspalte und Ansprechpartner. Die Karte steht im Markup hinter dem
   Rechner, rutscht auf schmalen Viewports also unter das Ergebnis. */
.vc-bn-page .cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 26px;
	margin-top: 26px;
	align-items: start;
}

@media (min-width: 1100px) {
	.vc-bn-page .cols {
		grid-template-columns: minmax(0, 1fr) 340px;
	}

	.vc-bn-page .wrap {
		max-width: 1300px;
	}

	.vc-bn-page .vcbn-side {
		position: sticky;
		top: 18px;
	}
}

.vc-bn-page .sheet,
.vc-bn-page .slip {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: 3px;
	box-shadow: var(--shadow);
}

.vc-bn-page .slip + .slip {
	margin-top: 18px;
}

.vc-bn-page .sheet-hd {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 12px 16px 9px;
	border-bottom: 1px solid var(--ink);
}

.vc-bn-page .sheet-hd h2 {
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0;
	color: var(--ink);
	font-weight: 600;
}

.vc-bn-page .sheet-hd span {
	font-size: 11px;
	color: var(--ink3);
	font-family: var(--ff-num);
}

.vc-bn-page fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.vc-bn-page legend {
	display: block;
	width: 100%;
	font-size: 10.5px;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--ink3);
	font-weight: 600;
	padding: 13px 16px 5px;
	background: var(--sunk);
	border-top: 1px solid var(--rule2);
	border-bottom: 1px solid var(--rule2);
	float: none;
}

.vc-bn-page .vcbn-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 8px 16px;
	border-bottom: 1px dotted var(--rule);
}

.vc-bn-page .vcbn-row:last-child {
	border-bottom: 0;
}

.vc-bn-page .vcbn-row > label {
	font-size: 13.5px;
	line-height: 1.3;
	margin: 0;
}

.vc-bn-page .vcbn-row .hint {
	display: block;
	font-size: 11.5px;
	color: var(--ink3);
	margin-top: 1px;
}

.vc-bn-page input[type=number],
.vc-bn-page select {
	font-family: var(--ff-num);
	font-size: 14px;
	color: var(--ink);
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: 2px;
	padding: 5px 8px;
	width: 128px;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.vc-bn-page select {
	font-family: var(--ff-ui);
	text-align: left;
	width: auto;
	max-width: 206px;
	padding: 5px 6px;
}

.vc-bn-page input:focus-visible,
.vc-bn-page select:focus-visible,
.vc-bn-page button:focus-visible,
.vc-bn-page summary:focus-visible,
.vc-bn-page a:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 1px;
}

.vc-bn-page input[type=checkbox] {
	accent-color: var(--accent);
	width: 16px;
	height: 16px;
	margin: 0;
}

.vc-bn-page .seg {
	display: flex;
	border: 1px solid var(--rule);
	border-radius: 2px;
	overflow: hidden;
}

.vc-bn-page .seg button {
	font-family: var(--ff-ui);
	font-size: 12.5px;
	padding: 5px 11px;
	border: 0;
	border-left: 1px solid var(--rule);
	cursor: pointer;
	background: var(--card);
	color: var(--ink2);
}

.vc-bn-page .seg button:first-child {
	border-left: 0;
}

.vc-bn-page .seg button[aria-pressed=true] {
	background: var(--ink);
	color: var(--card);
	font-weight: 600;
}

.vc-bn-page .unit {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.vc-bn-page .unit::after {
	content: '\20AC';
	position: absolute;
	right: 8px;
	color: var(--ink3);
	font-family: var(--ff-num);
	font-size: 13px;
	pointer-events: none;
}

.vc-bn-page .unit.pct::after {
	content: '%';
}

.vc-bn-page .unit input {
	padding-right: 22px;
}

.vc-bn-page .slip-hd {
	padding: 12px 18px 9px;
	border-bottom: 1px solid var(--ink);
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

.vc-bn-page .slip-hd h2 {
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0;
	color: var(--ink);
	font-weight: 600;
}

.vc-bn-page .badge {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	padding: 2px 8px;
	border-radius: 2px;
	background: var(--accent-soft);
	color: var(--accent);
}

.vc-bn-page .badge.warn {
	background: var(--sunk);
	color: var(--ag);
}

.vc-bn-page .flag {
	margin: 0;
	padding: 10px 18px;
	font-size: 12.5px;
	line-height: 1.45;
	background: var(--sunk);
	color: var(--ink2);
	border-bottom: 1px solid var(--rule);
}

.vc-bn-page .tbl-scroll {
	overflow-x: auto;
}

.vc-bn-page table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin: 0;
}

.vc-bn-page th,
.vc-bn-page td {
	padding: 5px 18px;
	text-align: right;
	border: 0;
}

.vc-bn-page th:first-child,
.vc-bn-page td:first-child {
	text-align: left;
	width: 100%;
}

.vc-bn-page thead th {
	font-size: 10.5px;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--ink3);
	font-weight: 600;
	padding-top: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--rule);
}

.vc-bn-page tbody td:not(:first-child) {
	font-family: var(--ff-num);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.vc-bn-page tr.grp td {
	font-size: 10.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink3);
	font-weight: 600;
	padding-top: 15px;
	padding-bottom: 3px;
}

.vc-bn-page tr.sum td {
	border-top: 1px solid var(--rule);
	font-weight: 600;
	padding-top: 6px;
}

.vc-bn-page tr.minus td:not(:first-child) {
	color: var(--minus);
}

.vc-bn-page tr.faint td {
	color: var(--ink2);
}

.vc-bn-page tr.net td {
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	font-weight: 700;
	font-size: 16px;
	padding-top: 10px;
	padding-bottom: 10px;
	background: var(--accent-soft);
}

.vc-bn-page tr.net td:not(:first-child) {
	color: var(--accent);
}

.vc-bn-page .tag {
	font-size: 11px;
	color: var(--ink3);
	font-weight: 400;
	margin-left: 7px;
	font-family: var(--ff-ui);
}

.vc-bn-page .kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--rule);
	border-top: 1px solid var(--rule);
	margin: 16px 0 0;
}

.vc-bn-page .kpi {
	background: var(--card);
	padding: 11px 18px;
}

.vc-bn-page .kpi dt {
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink3);
	font-weight: 600;
	margin: 0;
}

.vc-bn-page .kpi dd {
	margin: 3px 0 0;
	font-family: var(--ff-num);
	font-size: 19px;
	font-weight: 500;
	letter-spacing: -.02em;
}

.vc-bn-page .kpi small {
	display: block;
	font-size: 11.5px;
	color: var(--ink3);
	margin-top: 1px;
}

@media (max-width: 560px) {
	.vc-bn-page .kpis {
		grid-template-columns: 1fr;
	}
}

.vc-bn-page .bars {
	padding: 15px 18px 17px;
	border-top: 1px solid var(--rule);
}

.vc-bn-page .bar-lbl {
	display: flex;
	justify-content: space-between;
	font-size: 11.5px;
	color: var(--ink2);
	margin: 0 0 5px;
}

.vc-bn-page .bar-lbl b {
	font-family: var(--ff-num);
	font-weight: 500;
	color: var(--ink);
}

.vc-bn-page .bar {
	display: flex;
	height: 20px;
	border-radius: 2px;
	overflow: hidden;
	background: var(--sunk);
	margin-bottom: 7px;
}

.vc-bn-page .bar i {
	display: block;
	transition: width .22s ease;
}

.vc-bn-page .s-net { background: var(--accent); }
.vc-bn-page .s-tax { background: var(--minus); }
.vc-bn-page .s-sv { background: var(--sv-bar); }
.vc-bn-page .s-ag { background: var(--ag-bar); }
.vc-bn-page .s-uml { background: var(--ink3); }

.vc-bn-page .legend {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 16px;
	font-size: 11.5px;
	color: var(--ink2);
	margin: 0 0 15px;
}

.vc-bn-page .legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.vc-bn-page .legend i {
	width: 9px;
	height: 9px;
	border-radius: 1px;
	display: block;
	flex: none;
}

.vc-bn-page .bars .legend:last-child {
	margin-bottom: 0;
}

.vc-bn-page details {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: 3px;
	margin-top: 18px;
	box-shadow: var(--shadow);
}

.vc-bn-page summary {
	cursor: pointer;
	padding: 11px 18px;
	font-size: 12px;
	letter-spacing: .11em;
	text-transform: uppercase;
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.vc-bn-page summary::-webkit-details-marker {
	display: none;
}

.vc-bn-page summary::after {
	content: '+';
	font-family: var(--ff-num);
	font-size: 16px;
	color: var(--ink3);
}

.vc-bn-page details[open] summary {
	border-bottom: 1px solid var(--rule);
}

.vc-bn-page details[open] summary::after {
	content: '\2013';
}

.vc-bn-page .det-body {
	padding: 6px 0 14px;
}

.vc-bn-page .note {
	font-size: 12.5px;
	color: var(--ink2);
	padding: 12px 18px 0;
	max-width: 76ch;
	margin: 0;
}

.vc-bn-page .slip .note {
	padding-bottom: 14px;
}

.vc-bn-page footer {
	margin-top: 24px;
	padding-top: 14px;
	border-top: 1px solid var(--rule);
	font-size: 12px;
	line-height: 1.6;
	color: var(--ink3);
	max-width: 132ch;
}

@media (prefers-reduced-motion: reduce) {
	.vc-bn-page * {
		transition: none !important;
	}
}

/* ---------------------------------------------------------------------
   Zwei Schritte: Erfassung und Auswertung
   --------------------------------------------------------------------- */

/* Im Erfassungsschritt steht die ganze Hauptspalte zur Verfuegung, deshalb
   liegen die Feldgruppen ab 760px nebeneinander. */
.vc-bn-page .vcbn-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 760px) {
	.vc-bn-page .vcbn-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vc-bn-page .vcbn-fields > fieldset:nth-child(odd) {
		border-right: 1px solid var(--rule2);
	}
}

.vc-bn-page .vcbn-submit {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	padding: 16px;
	background: var(--sunk);
	border-top: 1px solid var(--ink);
}

.vc-bn-page .vcbn-submit p {
	margin: 0;
	max-width: 46ch;
	font-size: 12px;
	color: var(--ink3);
}

/* Die Buttons folgen der Marke, nicht der Formular-Anmutung: gleiche Radien,
   Gewichte, Farben und Schatten wie .vc-btn-primary in vergleichsrechner.css.
   Felder, Tabellen und Karten bleiben kantig -- dort traegt die Papieroptik
   eine Bedeutung, und sie konkurriert nicht mit der Wiedererkennung. */
.vc-bn-page .vcbn-btn {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-family: var(--ff-ui);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	padding: .85rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--vtc-radius, 10px);
	cursor: pointer;
	text-decoration: none;
}

.vc-bn-page .vcbn-btn--primary,
.vc-bn-page .vcbn-btn--primary:visited {
	background: var(--vtc-blue-dark, #062d63);
	color: #fff;
	box-shadow: 0 14px 28px rgba(11, 40, 83, .18);
}

.vc-bn-page .vcbn-btn--primary:hover,
.vc-bn-page .vcbn-btn--primary:focus {
	background: #08356f;
	color: #fff;
}

.vc-bn-page .vcbn-btn--ghost {
	background: var(--card);
	color: var(--ink);
	border-color: var(--rule);
}

.vc-bn-page .vcbn-btn--ghost:hover,
.vc-bn-page .vcbn-btn--ghost:focus {
	border-color: var(--ink);
	color: var(--ink);
}

.vc-bn-page .vcbn-btn svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.vc-bn-page .vcbn-step:focus {
	outline: none;
}

.vc-bn-page .vcbn-result-hd {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

/* Basis 320px: nebeneinander, solange dafuer Platz ist -- darunter rutscht
   der Zurueck-Button unter die Zusammenfassung, statt sie zu quetschen. */
.vc-bn-page .vcbn-result-hd > div {
	flex: 1 1 320px;
	min-width: 0;
}

.vc-bn-page .vcbn-result-hd h2 {
	margin: 0;
	font-size: 23px;
	font-weight: 850;
	letter-spacing: -.02em;
	color: var(--vtc-blue-dark, #062d63);
}

.vc-bn-page .vcbn-result-hd__summary {
	margin: 5px 0 0;
	font-size: 12.5px;
	color: var(--ink2);
	font-family: var(--ff-num);
}

.vc-bn-page .vcbn-result-hd .vcbn-btn {
	flex: none;
}

/* ---------------------------------------------------------------------
   Anschlussempfehlung. Welcher der drei Kaesten sichtbar ist, entscheidet
   das Skript anhand von Versicherungsart und Jahresarbeitsentgelt.
   --------------------------------------------------------------------- */

.vc-bn-page .vcbn-advice__box {
	background: var(--card);
	border: 1px solid var(--rule);
	border-left: 3px solid var(--accent);
	border-radius: 3px;
	box-shadow: var(--shadow);
	padding: 15px 18px 18px;
	margin-bottom: 18px;
}

.vc-bn-page .vcbn-advice__box--jaeg {
	background: var(--accent-soft);
	border-color: #b8d0f5;
	border-left-color: var(--accent);
}

.vc-bn-page .vcbn-advice__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 10.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ink3);
}

.vc-bn-page .vcbn-advice__eyebrow svg {
	width: 15px;
	height: 15px;
	flex: none;
	color: var(--accent);
}

.vc-bn-page .vcbn-advice__box h3 {
	margin: 0 0 7px;
	font-size: 17px;
	font-weight: 850;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: var(--vtc-blue-dark, #062d63);
	text-wrap: balance;
}

.vc-bn-page .vcbn-advice__box p {
	margin: 0 0 11px;
	max-width: 70ch;
	font-size: 13.5px;
	color: var(--ink2);
}

.vc-bn-page .vcbn-advice__caveat {
	font-size: 12.5px;
	color: var(--ink3);
}

.vc-bn-page .vcbn-btn--outline {
	background: var(--card);
	color: var(--vtc-blue-dark, #062d63);
	border-color: #b8d0f5;
}

.vc-bn-page .vcbn-btn--outline:hover,
.vc-bn-page .vcbn-btn--outline:focus {
	border-color: var(--vtc-blue-dark, #062d63);
	color: var(--vtc-blue-dark, #062d63);
}

.vc-bn-page .vcbn-advice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.vc-bn-page .vcbn-advice__box p strong {
	font-weight: 700;
	color: var(--ink);
	font-family: var(--ff-num);
	font-variant-numeric: tabular-nums;
}

