/* Volot Business – Rechner, Website-Check, Kundenstimmen. Nutzt die Theme-Farben. */

.vz, .vz-tm, .vz-print-area {
	--vz-bg: var(--wp--preset--color--base, #F1EFEA);
	--vz-surface: var(--wp--preset--color--surface, #E8E5DE);
	--vz-ink: var(--wp--preset--color--contrast, #161616);
	--vz-muted: var(--wp--preset--color--muted, #5E5B55);
	--vz-line: var(--wp--preset--color--line, #D6D3CC);
	--vz-accent: var(--wp--preset--color--accent, #D9822B);
	--vz-bad: #B4411F;
	--vz-mono: var(--wp--preset--font-family--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
	color: var(--vz-ink);
}
.vz *, .vz *::before, .vz *::after { box-sizing: border-box; }
.vz button { font: inherit; color: inherit; }
.vz :focus-visible { outline: 2px solid var(--vz-accent); outline-offset: 2px; }
.vz-num { font-variant-numeric: tabular-nums; }

/* Allgemein */
.vz-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0.85em 1.6em; border: 0; border-radius: 999px;
	background: var(--vz-ink); color: var(--vz-bg) !important; text-decoration: none;
	font-size: 0.9375rem; font-weight: 500; cursor: pointer; white-space: nowrap; flex: none;
	transition: background-color 200ms ease, color 200ms ease;
}
.vz-btn:hover { background: var(--vz-accent); color: #161616 !important; }
.vz-btn[disabled] { opacity: .6; cursor: progress; }
.vz-link {
	min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	color: var(--vz-muted) !important; text-decoration: underline; text-underline-offset: 3px; font-size: 0.9375rem;
}
.vz-link:hover { color: var(--vz-ink) !important; }
.vz-input {
	width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
	border: 1px solid var(--vz-line); border-radius: 8px; background: var(--vz-bg); color: var(--vz-ink);
	font: inherit; font-size: 1rem;
}
.vz-input:focus { outline: none; border-color: var(--vz-ink); }
.vz-field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.vz-field label { font-size: 0.875rem; color: var(--vz-muted); }
.vz-field.is-invalid .vz-input { border-color: var(--vz-bad); }
.vz-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.8125rem; color: var(--vz-muted); margin: 0.25rem 0 1rem; }
.vz-consent input { width: 20px; height: 20px; flex: none; margin-top: 0.1rem; accent-color: var(--vz-ink); }
.vz-consent.is-invalid label { color: var(--vz-bad); }
.vz-consent a { color: inherit; }
.vz-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vz-error { color: var(--vz-bad); font-size: 0.9375rem; margin: 0.5rem 0; }

/* ---------- Preisrechner ---------- */
.vz-calc__wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .vz-calc__wrap { grid-template-columns: 1fr; } }

.vz-calc__group { border: 0; border-top: 1px solid var(--vz-line); margin: 0; padding: 1.25rem 0 1.75rem; min-width: 0; }
.vz-calc__legend { display: flex; gap: 0.75rem; align-items: baseline; padding: 0; margin-bottom: 1rem; font-weight: 500; font-size: 1.0625rem; float: left; width: 100%; }
.vz-calc__legend + * { clear: both; }
.vz-calc__no, .vz-calc__label { font-family: var(--vz-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vz-muted); }
.vz-calc__no { color: var(--vz-accent); }

.vz-calc__types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
@media (max-width: 640px) { .vz-calc__types { grid-template-columns: 1fr; } }
.vz-calc__type {
	display: flex; flex-direction: column; gap: 0.4rem; text-align: left;
	padding: 1rem; border: 1px solid var(--vz-line); border-radius: 10px; background: transparent; cursor: pointer;
	transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}
.vz-calc__type:hover { border-color: var(--vz-ink); }
.vz-calc__type.is-on { border-color: var(--vz-ink); background: var(--vz-surface); box-shadow: inset 0 0 0 1px var(--vz-ink); }
.vz-calc__type-title { font-weight: 500; }
.vz-calc__type-desc { font-size: 0.8125rem; color: var(--vz-muted); line-height: 1.4; flex: 1; }
.vz-calc__type-price { font-family: var(--vz-mono); font-size: 0.8125rem; }
.vz-calc__type.is-on .vz-calc__type-price::before { content: "● "; color: var(--vz-accent); }

.vz-calc__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0; }
.vz-calc__row-label { display: flex; flex-direction: column; gap: 0.15rem; }
.vz-calc__row-price { font-family: var(--vz-mono); font-size: 0.75rem; color: var(--vz-muted); white-space: nowrap; }
.vz-stepper { display: inline-flex; align-items: center; border: 1px solid var(--vz-line); border-radius: 999px; }
.vz-stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.125rem; border-radius: 999px; }
.vz-stepper button:hover:not([disabled]) { background: var(--vz-surface); }
.vz-stepper button[disabled] { opacity: .3; cursor: default; }
.vz-stepper output { min-width: 2.5ch; text-align: center; font-family: var(--vz-mono); font-variant-numeric: tabular-nums; }

.vz-calc__check { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center; padding: 0.7rem 0; cursor: pointer; border-bottom: 1px dashed var(--vz-line); }
.vz-calc__check:last-child { border-bottom: 0; }
.vz-calc__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vz-calc__check-box { width: 22px; height: 22px; border: 1px solid var(--vz-muted); border-radius: 6px; display: grid; place-items: center; transition: background-color 150ms ease, border-color 150ms ease; }
.vz-calc__check.is-on .vz-calc__check-box { background: var(--vz-ink); border-color: var(--vz-ink); }
.vz-calc__check.is-on .vz-calc__check-box::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--vz-bg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.vz-calc__check input:focus-visible + .vz-calc__check-box { outline: 2px solid var(--vz-accent); outline-offset: 2px; }
.vz-calc__check-text { display: flex; flex-direction: column; gap: 0.1rem; }
.vz-calc__check-text strong { font-weight: 500; }
.vz-calc__check-text span { font-size: 0.8125rem; color: var(--vz-muted); }

.vz-calc__summary {
	position: sticky; top: 6rem;
	padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--vz-line); border-radius: 12px; background: var(--vz-bg);
	/* technischer Zeichnungs-Look: Raster in der Ecke */
	background-image: linear-gradient(var(--vz-line) 1px, transparent 1px), linear-gradient(90deg, var(--vz-line) 1px, transparent 1px);
	background-size: 16px 16px; background-position: -1px -1px; background-repeat: repeat;
	background-blend-mode: normal;
}
.vz-calc__summary > * { position: relative; }
.vz-calc__summary::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(to bottom, color-mix(in srgb, var(--vz-bg) 92%, transparent), var(--vz-bg) 40%); }
.vz-calc__lines { list-style: none; margin: 0.75rem 0 1rem; padding: 0; font-size: 0.875rem; }
.vz-calc__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--vz-line); }
.vz-calc__lines li span:last-child { font-family: var(--vz-mono); white-space: nowrap; }
.vz-calc__total { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.75rem; }
.vz-calc__sum { font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.vz-calc__total--small .vz-num { font-size: 1.0625rem; }
.vz-calc__note { font-size: 0.75rem; color: var(--vz-muted); margin: 1rem 0; line-height: 1.5; }
.vz-calc__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; margin-top: 0.5rem; }
.vz-calc__form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--vz-line); }
.vz-calc__done { margin-top: 1rem; padding: 1rem; border-left: 2px solid var(--vz-accent); background: var(--vz-surface); }
.vz-calc__done-title { font-weight: 500; margin: 0 0 0.25rem; }
.vz-calc__done p { margin: 0 0 0.75rem; font-size: 0.9375rem; }

/* ---------- Website-Check ---------- */
.vz-check__label { display: block; font-size: 0.875rem; color: var(--vz-muted); margin-bottom: 0.5rem; }
.vz-check__bar { display: flex; gap: 0.5rem; }
.vz-check__bar .vz-input { border-radius: 999px; padding-left: 1.2rem; font-family: var(--vz-mono); }
@media (max-width: 520px) { .vz-check__bar { flex-direction: column; } }
.vz-check__note { font-size: 0.8125rem; color: var(--vz-muted); margin: 0.6rem 0 0; }
.vz-check__scan { position: relative; height: 2px; margin-top: 1rem; background: var(--vz-line); overflow: hidden; border-radius: 2px; }
.vz-check__scan::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--vz-accent); animation: vz-scan 1.4s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes vz-scan { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .vz-check__scan::after { animation: none; width: 100%; opacity: .5; } }

.vz-check__head { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.25rem; }
.vz-check__dial {
	--p: 0; flex: none; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
	background: conic-gradient(var(--vz-accent) calc(var(--p) * 1%), var(--vz-line) 0);
	position: relative; font-family: var(--vz-mono); font-size: 1rem;
}
.vz-check__dial::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--vz-bg); }
.vz-check__dial span { position: relative; }
.vz-check__host { font-family: var(--vz-mono); font-size: 0.8125rem; color: var(--vz-muted); margin: 0; word-break: break-all; }
.vz-check__score { font-size: clamp(1.25rem, 2.5vw, 1.625rem); font-weight: 500; margin: 0.15rem 0 0; letter-spacing: -0.01em; }
.vz-check__list { list-style: none; margin: 0 0 1.25rem; padding: 0; counter-reset: vzc; }
.vz-check__item { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; padding: 0.75rem 0; border-top: 1px solid var(--vz-line); }
.vz-check__dot { width: 12px; height: 12px; margin-top: 0.35rem; border-radius: 50%; border: 1.5px solid currentColor; }
.vz-check__item.is-ok .vz-check__dot { background: var(--vz-ink); border-color: var(--vz-ink); }
.vz-check__item.is-warn .vz-check__dot { background: var(--vz-accent); border-color: var(--vz-accent); }
.vz-check__item.is-bad .vz-check__dot { border-color: var(--vz-bad); background: transparent; box-shadow: inset 0 0 0 2.5px var(--vz-bg), inset 0 0 0 6px var(--vz-bad); }
.vz-check__text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.vz-check__text strong { font-weight: 500; }
.vz-check__text span { font-size: 0.875rem; color: var(--vz-muted); overflow-wrap: anywhere; }

/* ---------- Kundenstimmen ---------- */
.vz-tm { padding: var(--wp--preset--spacing--70, 6rem) var(--wp--style--root--padding-right, 1.25rem); padding-left: var(--wp--style--root--padding-left, 1.25rem); }
.vz-tm__inner { max-width: 1280px; margin: 0 auto; }
.vz-tm__inner > h2 { margin: 0.5rem 0 var(--wp--preset--spacing--60, 3rem); }
.vz-tm__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--wp--preset--spacing--50, 2rem); }
.vz-tm__card { margin: 0; padding: 1.75rem 0 0; border-top: 1px solid var(--vz-ink); display: flex; flex-direction: column; gap: 1.25rem; }
.vz-tm__no { font-family: var(--vz-mono); font-size: 0.75rem; color: var(--vz-accent); }
.vz-tm__quote { margin: 0; padding: 0; border: 0; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.45; letter-spacing: -0.01em; }
.vz-tm__quote p { margin: 0 0 0.75em; }
.vz-tm__quote p:first-child::before { content: "„"; }
.vz-tm__quote p:last-child::after { content: "“"; }
.vz-tm__quote p:last-child { margin: 0; }
.vz-tm__who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; font-size: 0.9375rem; }
.vz-tm__who > span { display: flex; flex-direction: column; }
.vz-tm__who strong { font-weight: 500; }
.vz-tm__role, .vz-tm__role a { color: var(--vz-muted); font-size: 0.8125rem; }
.vz-tm__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }

/* ---------- Druck / PDF ---------- */
.vz-print-area { display: none; }
@media print {
	html.vz-printing body > *:not(.vz-print-area) { display: none !important; }
	html.vz-printing .vz-print-area { display: block; color: #161616; font: 11pt/1.5 var(--wp--preset--font-family--sans, system-ui, sans-serif); padding: 0; }
	.vz-print-area h1 { font-size: 22pt; font-weight: 500; margin: 24pt 0 12pt; letter-spacing: -0.02em; }
	.vz-print__head { display: flex; justify-content: space-between; border-bottom: 1px solid #161616; padding-bottom: 8pt; font-family: var(--vz-mono); font-size: 9pt; letter-spacing: 0.1em; }
	.vz-print-area table { width: 100%; border-collapse: collapse; margin-bottom: 16pt; }
	.vz-print-area td { padding: 6pt 0; border-bottom: 0.5pt solid #bbb; }
	.vz-print-area td:last-child { text-align: right; white-space: nowrap; font-family: var(--vz-mono); }
	.vz-print-area tr.is-total td { font-weight: 600; border-bottom: 1pt solid #161616; font-size: 13pt; }
	.vz-print-area p { font-size: 9.5pt; color: #444; margin: 0 0 6pt; }
	.vz-print__foot { margin-top: 24pt !important; font-family: var(--vz-mono); }
	@page { margin: 18mm; }
}

/* ---------- Bericht des Website-Checks (Druck / PDF) ---------- */
@media print {
	.vz-report h1 { margin-top: 4pt; overflow-wrap: anywhere; }
	.vz-report h2 { font-size: 9pt; font-weight: 500; font-family: var(--vz-mono); letter-spacing: 0.1em; text-transform: uppercase; margin: 14pt 0 5pt; color: #161616; }
	.vz-report__kicker { margin: 22pt 0 0 !important; font-family: var(--vz-mono); font-size: 9pt !important; letter-spacing: 0.1em; text-transform: uppercase; color: #B4641A !important; }
	.vz-report__score { display: flex; align-items: baseline; gap: 12pt; padding: 10pt 0; border-block: 1pt solid #161616; }
	.vz-report__score strong { font-size: 30pt; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
	.vz-report__score span { font-size: 10.5pt; color: #444; }
	.vz-report__top { margin: 0; padding: 0 0 0 16pt; }
	.vz-report__top li { margin: 0 0 5pt; padding-left: 4pt; break-inside: avoid; }
	.vz-report__top strong { display: block; font-size: 11.5pt; }
	.vz-report__top span { font-size: 10pt; color: #444; }
	.vz-report td { font-size: 9.5pt; padding: 3.2pt 0 !important; }
	.vz-report td:last-child { font-size: 8.5pt; text-transform: uppercase; letter-spacing: 0.06em; }
	.vz-report tr.is-ok td:last-child { color: #6b6b6b; }
	.vz-report tr.is-warn td:last-child { color: #B4641A; }
	.vz-report tr.is-bad td:last-child { color: #161616; font-weight: 700; }
	.vz-report__next { margin-top: 14pt; padding: 12pt 14pt; border: 1pt solid #161616; break-inside: avoid; }
	.vz-report__next h2 { margin-top: 0; }
	.vz-report__next p { font-size: 10.5pt !important; color: #161616 !important; }
	.vz-report__contact { margin: 8pt 0 0 !important; }
	.vz-report__contact strong, .vz-report__contact span { display: block; }
	.vz-report__contact span { font-family: var(--vz-mono); font-size: 9pt; color: #444; }
	.vz-report .vz-print__foot { font-size: 8pt !important; color: #777 !important; font-family: inherit; }
}
.vz-calc__demo { display: inline-block; margin-top: 0.75rem; }
