/* ==========================================================================
   Quality-Box Theme – Designsystem
   Palette: Anthrazit + Signalgelb, kühle helle Flächen, i.O./n.i.O.-Akzente
   Type:    Archivo (Display) · IBM Plex Sans (Body) · IBM Plex Mono (Maschine)
   ========================================================================== */

/* ---------- Fonts (lokal, DSGVO-freundlich) ---------- */
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/archivo-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/archivo-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/archivo-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plexsans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/plexsans-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/plexsans-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plexmono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/plexmono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/plexmono-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }

/* ---------- Tokens ---------- */
:root {
	--ink: #12161a;
	--ink-2: #1b2127;
	--ink-3: #242c34;
	--paper: #ffffff;
	--mist: #eef1f3;
	--line: #dde2e6;
	--line-dark: #333c45;
	--steel: #5c6873;
	--steel-light: #97a3ad;
	--signal: #ffc400;
	--signal-deep: #eab000;
	--ok: #1f9d55;
	--nok: #e5484d;

	--font-display: "Archivo", "Arial Narrow", sans-serif;
	--font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
	--font-mono: "IBM Plex Mono", "Consolas", monospace;

	--shell: 1180px;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(18, 22, 26, 0.09);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	/* Deutsche Komposita („Bildverarbeitungsprojekt") sind länger als eine
	   schmale Grid-Spalte – ohne Umbruch schieben sie die ganze Seite auf. */
	overflow-wrap: break-word;
}
/* Grid- und Flex-Kinder dürfen nie breiter werden als ihre Spalte. */
.qb-facts__grid > *, .qb-cards > *, .qb-steps > *, .qb-apps > *,
.qb-branchen > *, .qb-compare > *, .qb-proof > *, .qb-flow > * { min-width: 0; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); font-weight: 800; }
h2, .qb-h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

.qb-shell { max-width: var(--shell); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.qb-shell--narrow { max-width: 820px; }

.qb-skip {
	position: absolute; left: -999px; top: 0; z-index: 200;
	background: var(--signal); color: var(--ink); padding: 0.6rem 1rem; font-weight: 600;
}
.qb-skip:focus { left: 0; }

/* ---------- Eyebrow (Maschinen-Label) ---------- */
.qb-eyebrow {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--steel);
	margin: 0 0 0.9rem;
	padding-left: 1.1rem;
	position: relative;
}
.qb-eyebrow::before {
	content: "";
	position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	width: 0.55rem; height: 0.55rem;
	background: var(--signal);
}
.qb-eyebrow--light { color: var(--steel-light); }

/* ---------- Buttons ---------- */
.qb-btn {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	padding: 0.95rem 1.5rem;
	border: 2px solid transparent;
	border-radius: 6px;
	transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}
.qb-btn--signal { background: var(--signal); color: var(--ink); }
.qb-btn--signal:hover { background: var(--signal-deep); box-shadow: 0 4px 14px rgba(18, 22, 26, 0.18); }
.qb-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.qb-btn--ghost:hover { background: rgba(151, 163, 173, 0.15); }
.qb-btn--block { display: block; text-align: center; width: 100%; }

/* ---------- Header ---------- */
.qb-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.qb-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; }
.qb-header__brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.qb-brand__icon { width: 77px; height: 77px; flex-shrink: 0; }
.qb-brand__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 3rem;
	letter-spacing: -0.015em;
	color: var(--ink);
	line-height: 1;
	white-space: nowrap;
}
.qb-brand__name--light { color: #fff; }
.qb-header__brand--footer { margin-bottom: 1rem; }
.qb-nav { display: flex; align-items: center; gap: 1.6rem; }
.qb-nav a:not(.qb-btn) {
	text-decoration: none;
	font-weight: 500;
	font-size: 0.98rem;
	color: var(--ink);
	border-bottom: 2px solid transparent;
	padding: 0.2rem 0;
}
.qb-nav a:not(.qb-btn):hover { border-bottom-color: var(--signal); }
.qb-nav__cta { margin-left: 0.4rem; padding: 0.7rem 1.2rem; }
.qb-burger { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.qb-burger span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.qb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.qb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.qb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.qb-hero { background: var(--ink); color: #fff; overflow: hidden; }
.qb-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	padding-top: clamp(3.5rem, 8vw, 6.5rem);
	padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
/* Hero ohne zweite Spalte (Landingpages): Text über die volle Breite statt
   halbe Spalte neben einer Leerfläche. */
.qb-hero__grid > .qb-hero__copy:only-child { grid-column: 1 / -1; max-width: 52rem; }
.qb-hero__grid > .qb-hero__copy:only-child .qb-hero__sub { max-width: 44em; }
/* Hero mit Film: das Video ist hier das Hauptargument, nicht die Beigabe.
   Es bekommt die größere Spalte – aber vollständig im Raster, ein
   angeschnittener Film beweist nichts. */
@media (min-width: 1000px) {
	.qb-hero--film .qb-hero__grid {
		grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
		gap: clamp(2rem, 4vw, 3.5rem);
	}
	/* Der Text bleibt in der Flucht von Logo und Navigation; nur der Film
	   holt sich den freien Rand rechts – gedeckelt, damit er nicht bis an
	   die Fensterkante läuft und angeschnitten wird. */
	.qb-hero--film .qb-hero__visual {
		margin-right: calc(-1 * clamp(0px, (100vw - var(--shell)) / 2 - 2rem, 260px));
	}
}
.qb-hero h1 em { font-style: normal; color: var(--signal); }
.qb-hero__sub { font-size: 1.15rem; color: #c9d2d9; max-width: 34em; }
.qb-hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 1.4rem; }
.qb-hero--sub .qb-hero__cta { margin-bottom: 0; }
.qb-hero__trust { font-family: var(--font-mono); font-size: 0.8rem; color: var(--steel-light); margin: 0; }

/* Sucher-Rahmen (Signature-Element) */
.qb-viewfinder { position: relative; margin: 0; padding: 14px; }
.qb-viewfinder video, .qb-viewfinder img { border-radius: 4px; width: 100%; }
.qb-viewfinder__corner {
	position: absolute; width: 26px; height: 26px;
	border: 3px solid var(--signal);
}
.qb-viewfinder__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.qb-viewfinder__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.qb-viewfinder__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.qb-viewfinder__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.qb-verdict {
	position: absolute; left: 28px; bottom: 28px;
	display: flex; align-items: center; gap: 0.55rem;
	background: rgba(18, 22, 26, 0.85);
	border: 1px solid var(--line-dark);
	border-radius: 4px;
	padding: 0.45rem 0.8rem;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #fff;
}
.qb-verdict__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ok); }
.qb-verdict--nok .qb-verdict__dot { background: var(--nok); }
.qb-verdict--nok .qb-verdict__label { color: #ffb3b6; }

/* Signalstrom-Divider (0-0-0-1-0…) */
.qb-stream {
	display: flex; justify-content: space-between;
	font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
	color: #39434c;
	border-top: 1px solid var(--line-dark);
	padding: 0.55rem clamp(1.1rem, 4vw, 2rem);
	user-select: none;
}
.qb-stream__nok { color: var(--nok); font-weight: 600; }

/* ---------- Fakten ---------- */
.qb-facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.qb-facts__grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.2rem, 3vw, 2.5rem);
	padding-top: 2.6rem; padding-bottom: 2.6rem;
}
.qb-fact strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 0.3rem;
}
.qb-fact span { font-size: 0.92rem; color: var(--steel); line-height: 1.45; display: block; }

/* ---------- Sektionen ---------- */
.qb-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.qb-section-short { padding: clamp(3.5rem, 8vw, 6rem) 0; padding-bottom: 3vw; }
.qb-section--mist { background: var(--mist); }
.qb-section--first { padding-top: clamp(2.5rem, 6vw, 4rem); }
.qb-section__head { max-width: 46em; margin: 0 auto 2.8rem; text-align: center; }
.qb-section__head p:not(.qb-eyebrow) { color: var(--steel); font-size: 1.08rem; }
.qb-section__head--left { text-align: left; margin-left: 0; }

/* ---------- Vorteile-Karten ---------- */
.qb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.qb-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.8rem 1.6rem;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.qb-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--signal); }
.qb-card__icon { display: inline-flex; margin-bottom: 1.1rem; }
.qb-card__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.qb-card h3 { margin-bottom: 0.5rem; }
.qb-card p { margin: 0; color: var(--steel); font-size: 0.97rem; }

/* ---------- Ablauf ---------- */
.qb-steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
	counter-reset: step;
}
.qb-step {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.8rem 1.6rem;
	position: relative;
}
.qb-step .qb-step__num, .qb-step__num {
	display: inline-block;
	width: fit-content;
	font-family: var(--font-mono);
	font-size: 0.75rem; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--ink);
	background: var(--signal);
	padding: 0.25rem 0.6rem;
	border-radius: 3px;
	margin: 0 0 1rem;
}
.qb-step p { color: var(--steel); font-size: 0.97rem; margin-bottom: 0; }
.qb-step p + p { margin-top: 0.8rem; }
.qb-step__signals { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.qb-chip {
	font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600;
	padding: 0.3rem 0.65rem; border-radius: 4px;
}
.qb-chip--ok { background: rgba(31, 157, 85, 0.12); color: var(--ok); }
.qb-chip--nok { background: rgba(229, 72, 77, 0.12); color: var(--nok); }

/* ---------- Anwendungen ---------- */
.qb-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.qb-app {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex; flex-direction: column;
}
.qb-app:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.qb-app img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.qb-app__body { padding: 1.3rem 1.4rem 1.5rem; }
.qb-app__body h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.qb-app__body p { margin: 0; color: var(--steel); font-size: 0.95rem; }
.qb-app--cta { background: var(--ink); color: #fff; justify-content: center; }
.qb-app--cta .qb-app__body { padding: 2rem 1.6rem; }
.qb-app--cta p { color: var(--steel-light); margin-bottom: 1.3rem; }

/* ---------- Referenzen ---------- */
.qb-refs { border-top: 1px solid var(--line); padding: 2.6rem 0; }
.qb-refs .qb-shell { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.qb-refs .qb-eyebrow { margin: 0; }
.qb-refs__logos { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.qb-refs__logos img { height: 52px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s ease, opacity 0.2s ease; }
.qb-refs__logos img:hover { filter: none; opacity: 1; }

/* ---------- Starter-Kit-Band ---------- */
.qb-kit { background: var(--ink); color: #fff; }
.qb-kit__grid {
	display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
	padding-top: clamp(3.5rem, 8vw, 5.5rem); padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}
.qb-kit__visual img { border-radius: var(--radius); }
.qb-kit__copy p { color: #c9d2d9; }
.qb-kit__price { margin: 1.4rem 0 0.4rem; color: var(--steel-light); font-size: 0.95rem; }
.qb-kit__price strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--signal); margin-right: 0.6rem; }
.qb-kit__price span { color: var(--steel-light); font-size: 0.95rem; }

/* ---------- Team ---------- */
.qb-team { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 2rem; }
.qb-person { margin: 0; text-align: center; }
.qb-person img {
	width: 168px; height: 168px; object-fit: cover; border-radius: 50%;
	margin: 0 auto 1.1rem; border: 4px solid var(--mist);
}
.qb-person strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.qb-person span { color: var(--steel); font-size: 0.92rem; }

/* ---------- Demo / Formular ---------- */
.qb-demo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.qb-demo__copy p { color: var(--steel); }
.qb-demo__copy h1, .qb-demo__copy h2 { color: var(--ink); }
.qb-demo__contact { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.qb-demo__contact h3 { font-size: 1rem; }
.qb-demo__contact p { color: var(--steel); }
/* „Lieber gleich ein Angebot?" ist der zweite Weg in den Vertrieb – wer nicht
   auf eine Demo warten will, bekommt sofort ein PDF. Als Fußnote unter dem
   Formular ging das unter, deshalb ein eigener Block. */
.qb-demo__offer {
	margin: 2rem 0 0;
	padding: 1rem 1.25rem;
	background: var(--mist);
	border-left: 4px solid var(--signal);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--ink);
	font-weight: 500;
}
.qb-demo__offer a {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--signal);
	text-decoration-thickness: 3px;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.qb-demo__offer a:hover { text-decoration-color: var(--ink); }
.qb-checklist { list-style: none; margin: 1.2rem 0; padding: 0; }
.qb-checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.7rem; }
.qb-checklist li::before {
	content: "";
	position: absolute; left: 0; top: 0.28em;
	width: 1.05rem; height: 1.05rem;
	background: var(--signal);
	clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 16%, 84% 2%, 38% 68%);
}
.qb-checklist--big li { margin-bottom: 1rem; font-size: 1.05rem; }
.qb-checklist--big strong { font-weight: 600; }
.qb-checklist--hero { margin: 1.4rem 0 0.4rem; }
.qb-checklist--hero li {
	color: var(--steel-light);
	font-size: 0.92rem;
	line-height: 1.45;
	margin-bottom: 0.65rem;
}
.qb-checklist--hero strong { color: #fff; font-weight: 600; font-size: 1rem; }

.qb-demo__form {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: clamp(1.1rem, 2.2vw, 1.6rem);
}
.qb-demo__form p { margin: 0 0 0.5rem; }
.qb-demo__form label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 0.5rem; }
.qb-demo__form .qb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.8rem; }
.qb-demo__form input[type="text"],
.qb-demo__form input[type="email"],
.qb-demo__form input[type="tel"],
.qb-demo__form textarea {
	width: 100%;
	font: inherit;
	font-size: 0.95rem;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 0.5rem 0.75rem;
	margin-top: 0.2rem;
}
.qb-demo__form input:focus, .qb-demo__form textarea:focus { border-color: var(--signal); outline: 2px solid var(--signal); outline-offset: 0; }
.qb-demo__form textarea { height: 72px; min-height: 56px; resize: vertical; }
.qb-demo__form .wpcf7-acceptance label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.82rem; color: var(--steel); margin-bottom: 0.4rem; }
.qb-demo__form .wpcf7-acceptance input { margin-top: 0.2rem; }
.qb-demo__form input[type="submit"] {
	font-family: var(--font-display); font-weight: 700; font-size: 1rem;
	background: var(--signal); color: var(--ink);
	border: 0; border-radius: 6px;
	padding: 0.8rem 1.5rem;
	cursor: pointer;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}
.qb-demo__form input[type="submit"]:hover { background: var(--signal-deep); box-shadow: 0 4px 14px rgba(18, 22, 26, 0.18); }
.qb-demo__form .wpcf7-response-output {
	margin: 1rem 0 0; padding: 0.8rem 1rem;
	border: 1px solid var(--line); border-left: 4px solid var(--signal);
	border-radius: 4px; font-size: 0.92rem;
}
.qb-demo__form .wpcf7-not-valid-tip { color: var(--nok); font-size: 0.85rem; }
.qb-form-fallback { color: var(--steel); }
.qb-hp { position: absolute; left: -9999px; top: -9999px; }
.qb-angebot-summary {
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 0.9rem 1.1rem;
	margin: 0 0 1.1rem;
}
.qb-angebot-summary__title {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--steel);
	margin: 0 0 0.5rem;
}
.qb-angebot-summary__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: baseline;
}
.qb-angebot-summary__name { font-weight: 600; font-size: 0.95rem; }
.qb-angebot-summary__row strong { font-family: var(--font-display); white-space: nowrap; }
.qb-angebot-summary__desc { color: var(--steel); font-size: 0.82rem; line-height: 1.45; margin: 0.2rem 0 0; }
.qb-angebot-summary__total {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: baseline;
	border-top: 1px solid var(--line);
	margin-top: 0.7rem;
	padding-top: 0.6rem;
	font-size: 0.95rem;
}
.qb-angebot-summary__total strong { font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; }
.qb-angebot-summary__note { color: var(--steel); font-size: 0.78rem; margin: 0.4rem 0 0; }
.qb-form-msg {
	padding: 0.8rem 1rem;
	margin: 0 0 1rem;
	border: 1px solid var(--line);
	border-radius: 4px;
	font-size: 0.92rem;
}
.qb-form-msg--ok { border-color: var(--ok); border-left-width: 4px; }
.qb-form-msg--err { border-color: var(--nok); border-left-width: 4px; }
.qb-form-msg a { font-weight: 600; text-decoration-color: var(--signal); }

/* ---------- Starter-Kit-Seite ---------- */
.qb-kitpage__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.qb-guarantee {
	display: flex; gap: 1.1rem; align-items: flex-start;
	background: var(--mist); border-radius: var(--radius);
	padding: 1.5rem 1.6rem; margin-top: 2rem;
}
.qb-guarantee__badge svg { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.qb-guarantee h3 { margin-bottom: 0.3rem; }
.qb-guarantee p { margin: 0; color: var(--steel); font-size: 0.97rem; }
.qb-pricecard {
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	padding: 2rem 1.8rem;
	position: sticky; top: 100px;
}
.qb-pricecard__price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; margin: 0.2rem 0 0.4rem; }
.qb-pricecard__note { color: var(--steel); font-size: 0.9rem; }
.qb-pricecard .qb-checklist li { font-size: 0.94rem; margin-bottom: 0.55rem; }
.qb-pricecard__hint { margin: 0.8rem 0 0; text-align: center; color: var(--steel); font-size: 0.85rem; }
.qb-videofeature { max-width: 900px; margin: 0 auto; }
.qb-videofeature video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ink); }

/* ---------- Prose (Impressum etc.) ---------- */
.qb-prose { color: var(--ink); }
.qb-prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.qb-prose h3 { margin-top: 1.6rem; }
.qb-prose a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

/* ---------- Footer ---------- */
.qb-footer { background: var(--ink); color: #c9d2d9; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.qb-footer a { color: #e6ebef; text-decoration-color: var(--signal); }
.qb-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.qb-footer__col--brand p { font-size: 0.95rem; }
.qb-footer h3 {
	font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--steel-light); margin-bottom: 0.9rem;
}
.qb-footer address { font-style: normal; }
.qb-footer ul { list-style: none; margin: 0; padding: 0; }
.qb-footer li { margin-bottom: 0.5rem; }
.qb-footer__support {
	border-top: 1px solid var(--line-dark);
	padding-top: 2rem; margin-bottom: 2rem;
	display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.qb-footer__support .qb-eyebrow { margin: 0; }
.qb-footer__logos { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.qb-footer__logos img { background: #fff; border-radius: 6px; padding: 0.5rem 0.8rem; height: 90px; width: auto; }
.qb-footer__meta {
	border-top: 1px solid var(--line-dark);
	padding-top: 1.5rem;
	display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	font-size: 0.85rem; color: var(--steel-light);
}

/* ---------- Block-Editor-Unterstützung ----------
   Die Seiten bestehen aus Gutenberg-Blöcken mit qb-*-Klassen; diese Regeln
   bilden die Template-Strukturen auf Block-Markup ab. */
.qb-fact__num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 0.3rem;
	color: var(--ink);
}
.qb-fact__text { font-size: 0.92rem; color: var(--steel); line-height: 1.45; margin: 0; }

.qb-person__name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; margin: 0; color: var(--ink); }
.qb-person__role { color: var(--steel); font-size: 0.92rem; margin: 0; }
.qb-person .wp-block-image { margin: 0 0 1.1rem; }

.qb-app > .wp-block-image, .qb-kit__visual .wp-block-image, .qb-refs__logos .wp-block-image { margin: 0; }
.qb-videofeature .wp-block-video { margin: 0; }
.qb-videofeature .wp-block-video video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ink); }

/* Core-Buttons im Theme-Look */
.wp-block-buttons { gap: 0.9rem !important; }
.wp-block-button .wp-block-button__link {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	padding: 0.95rem 1.5rem;
	border: 2px solid transparent;
	border-radius: 6px;
	background: var(--signal);
	color: var(--ink);
	transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.wp-block-button .wp-block-button__link:hover { background: var(--signal-deep); box-shadow: 0 4px 14px rgba(18, 22, 26, 0.18); text-decoration: none; }
.wp-block-button.qb-btn--ghost .wp-block-button__link { border-color: currentColor; color: inherit; background: transparent; }
.wp-block-button.qb-btn--ghost .wp-block-button__link:hover { background: rgba(151, 163, 173, 0.15); box-shadow: none; }
.wp-block-button.qb-btn--block { width: 100%; }
.wp-block-button.qb-btn--block .wp-block-button__link { display: block; width: 100%; text-align: center; }

/* ---------- Branchen ---------- */
.qb-branchen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.qb-branche {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.2rem 1.3rem;
}
.qb-branche h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.qb-branche p { margin: 0; color: var(--steel); font-size: 0.88rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.qb-faq { max-width: 820px; margin: 0 auto; }
.qb-faq .wp-block-details {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 0;
	margin: 0 0 0.7rem;
	overflow: hidden;
}
.qb-faq summary {
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	padding: 0.95rem 2.6rem 0.95rem 1.2rem;
	position: relative;
}
.qb-faq summary::-webkit-details-marker { display: none; }
.qb-faq summary::after {
	content: "+";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-mono);
	font-size: 1.2rem;
	font-weight: 500;
	color: var(--steel);
}
.qb-faq details[open] summary::after { content: "–"; }
.qb-faq details[open] summary { border-bottom: 1px solid var(--line); }
.qb-faq details p { margin: 0; padding: 0.9rem 1.2rem 1rem; color: var(--steel); font-size: 0.97rem; }

/* ---------- Splitscreen „Was Sie sehen / Was die Box sieht" ---------- */
.qb-split { max-width: 900px; margin: 0 auto; }
/* Beispielwahl: welches Teil im Splitscreen läuft. */
.qb-split__picker {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0 0 1.1rem;
}
.qb-split__pick {
	position: relative;
	overflow: hidden;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--steel);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.5rem 0.95rem;
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s, background-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.qb-split__pick:hover { color: var(--ink); border-color: var(--steel-light); }
/* Das laufende Beispiel soll auf einen Blick erkennbar sein: dunkel gefüllt,
   im Signalring und mit dem Fortschritt bis zum nächsten Wechsel. */
.qb-split__pick[aria-pressed="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
	font-weight: 600;
	transform: translateY(-1px);
	box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.45), 0 6px 14px rgba(18, 22, 26, 0.18);
}
.qb-split__pick:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
/* Fortschrittsbalken – nur solange automatisch weitergeschaltet wird. */
.qb-split__pick::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--signal);
	transform: scaleX(0);
	transform-origin: left center;
}
.qb-split__picker--auto .qb-split__pick[aria-pressed="true"]::after {
	animation: qb-split-fortschritt var(--qb-split-dauer, 6s) linear forwards;
}
@keyframes qb-split-fortschritt {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
	.qb-split__pick { transition: none; }
	.qb-split__pick[aria-pressed="true"] { transform: none; }
	.qb-split__picker--auto .qb-split__pick[aria-pressed="true"]::after { animation: none; }
}
.qb-split__frame {
	position: relative;
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink);
	box-shadow: var(--shadow);
	--qb-split-pos: 50%;
}
.qb-split__frame img, .qb-split__frame video { width: 100%; display: block; }
.qb-split__overlay {
	position: absolute;
	inset: 0;
	clip-path: inset(0 0 0 var(--qb-split-pos));
}
.qb-split__overlay img, .qb-split__overlay video { width: 100%; height: 100%; object-fit: cover; }
.qb-split__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--qb-split-pos);
	width: 2px;
	background: var(--signal);
	pointer-events: none;
}
.qb-split__handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 38px;
	height: 38px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--signal);
	box-shadow: 0 2px 10px rgba(18, 22, 26, 0.35);
}
.qb-split__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
}
.qb-split__range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; cursor: ew-resize; }
.qb-split__range::-moz-range-thumb { width: 44px; height: 100%; border: 0; background: transparent; cursor: ew-resize; }
.qb-split__range:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.qb-split__tag {
	position: absolute;
	top: 0.9rem;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(18, 22, 26, 0.78);
	color: #fff;
	padding: 0.3rem 0.6rem;
	border-radius: 4px;
	pointer-events: none;
}
.qb-split__tag--left { left: 0.9rem; }
.qb-split__tag--right { right: 0.9rem; }
.qb-split__score {
	position: absolute;
	left: 0.9rem;
	bottom: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 500;
	background: rgba(18, 22, 26, 0.85);
	color: #fff;
	padding: 0.42rem 0.75rem;
	border-radius: 4px;
	pointer-events: none;
}
.qb-split__score::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--nok); }
.qb-split__score--ok::before { background: var(--ok); }
/* display: inline-flex würde [hidden] sonst aushebeln. */
.qb-split__score[hidden] { display: none; }
.qb-split__caption { margin: 0.9rem 0 0; text-align: center; color: var(--steel); font-size: 0.9rem; }

/* ---------- Defekt-Galerie ---------- */
.qb-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.qb-gallery figure {
	margin: 0;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.qb-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.qb-gallery figcaption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.7rem 0.85rem 0.8rem;
	font-size: 0.88rem;
	font-weight: 600;
}
.qb-gallery figcaption span { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; color: var(--nok); }
/* Platzhalter in der Galerie: quadratisch wie die späteren Aufnahmen. Die
   Klasse muss `.qb-gallery figure` überstimmen, sonst verliert sie ihr Muster. */
.qb-gallery figure.qb-figure--placeholder {
	aspect-ratio: 1 / 1;
	background: repeating-linear-gradient(-45deg, var(--mist), var(--mist) 10px, #e6eaed 10px, #e6eaed 20px);
	border: 2px dashed var(--line);
}

/* ---------- Platzhalter für noch fehlende Aufnahmen ---------- */
.qb-figure--placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	aspect-ratio: 3 / 2;
	padding: 1.2rem;
	text-align: center;
	background: repeating-linear-gradient(-45deg, var(--mist), var(--mist) 10px, #e6eaed 10px, #e6eaed 20px);
	border: 2px dashed var(--line);
	border-radius: var(--radius);
	color: var(--steel);
}
.qb-figure--placeholder strong { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.qb-figure--placeholder span { font-size: 0.85rem; line-height: 1.4; max-width: 30ch; }

/* ---------- Triage: 100 Teile, 2 für den Menschen ---------- */
.qb-triage__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.qb-triage__dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; max-width: 340px; }
.qb-triage__dots i { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--ok); opacity: 0.32; }
.qb-triage__dots i.is-marginal { background: var(--signal); opacity: 1; }
.qb-triage__dots i.is-nok { background: var(--nok); opacity: 1; }
.qb-triage__legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--steel); }
.qb-triage__legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.qb-triage__legend b { display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 3px; }
.qb-triage__bands { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.qb-band {
	display: grid;
	grid-template-columns: 5.5rem 1fr;
	gap: 1rem;
	align-items: baseline;
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 4px solid var(--line);
	border-radius: 8px;
	padding: 0.85rem 1.1rem;
}
.qb-band strong { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em; }
.qb-band p { margin: 0; font-size: 0.92rem; color: var(--steel); }
.qb-band--ok { border-left-color: var(--ok); }
.qb-band--marginal { border-left-color: var(--signal); }
.qb-band--nok { border-left-color: var(--nok); }

/* ---------- Können / Funktionsbeweis ---------- */
.qb-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.4rem; }
.qb-proof__item {
	display: grid;
	grid-template-columns: 2.6rem 1fr;
	gap: 0 1rem;
	padding: 1.1rem 0;
	border-top: 1px solid var(--line);
}
.qb-proof__item span {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--signal-deep);
	padding-top: 0.15rem;
}
.qb-proof__item h3 { font-size: 1.02rem; margin: 0 0 0.25rem; }
.qb-proof__item p { grid-column: 2; margin: 0; color: var(--steel); font-size: 0.94rem; }

/* ---------- Ablauf-Kette mit echten Zahlen ---------- */
.qb-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.qb-flow__node {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.2rem 1.2rem 1.3rem;
	text-align: center;
}
.qb-flow__node:not(:last-child)::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: -0.65rem;
	transform: translateY(-50%);
	z-index: 1;
	font-family: var(--font-mono);
	color: var(--steel-light);
	background: var(--mist);
	line-height: 1;
}
.qb-flow__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin: 0 0 0.2rem; }
.qb-flow__node p { margin: 0; font-size: 0.88rem; color: var(--steel); line-height: 1.45; }

/* ---------- Vergleich: üblicher Weg vs. Quality-Box ---------- */
.qb-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.qb-compare__col {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.6rem 1.7rem 1.8rem;
}
.qb-compare__col--qb { background: var(--ink); color: #fff; border-color: var(--ink); }
.qb-compare__col--qb h3, .qb-compare__col--qb .qb-compare__price { color: #fff; }
.qb-compare__col--qb li { color: #c9d2d9; }
.qb-compare__col--qb li::before { color: var(--signal); }
.qb-compare h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.qb-compare__price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.1; margin: 0.6rem 0 0.1rem; }
.qb-compare__unit { font-family: var(--font-mono); font-size: 0.8rem; color: var(--steel); margin: 0 0 1.2rem; }
.qb-compare__col--qb .qb-compare__unit { color: var(--steel-light); }
.qb-compare ul { list-style: none; margin: 0; padding: 0; }
.qb-compare li { position: relative; padding-left: 1.6rem; margin-bottom: 0.65rem; font-size: 0.94rem; color: var(--steel); }
.qb-compare li::before { content: "–"; position: absolute; left: 0; font-family: var(--font-mono); color: var(--steel-light); }
.qb-compare__note { margin: 1.4rem 0 0; font-size: 0.8rem; color: var(--steel); }

/* ---------- ROI-Rechner ---------- */
.qb-roi__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.qb-roi__inputs {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.6rem 1.7rem;
}
.qb-roi__field { margin-bottom: 1.1rem; }
.qb-roi__field:last-child { margin-bottom: 0; }
.qb-roi__field label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 0.35rem; }
.qb-roi__field small { display: block; color: var(--steel); font-size: 0.8rem; margin-top: 0.3rem; }
.qb-roi__input { display: flex; align-items: center; gap: 0.6rem; }
.qb-roi__input input {
	width: 100%;
	font-family: var(--font-mono);
	font-size: 1rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--paper);
	color: var(--ink);
}
.qb-roi__input input:focus { border-color: var(--signal); outline: 2px solid var(--signal); outline-offset: 0; }
.qb-roi__input span { font-family: var(--font-mono); font-size: 0.85rem; color: var(--steel); flex-shrink: 0; min-width: 3.4rem; }
.qb-roi__result {
	position: sticky;
	top: 108px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
	padding: 1.7rem 1.7rem 1.8rem;
}
.qb-roi__result .qb-eyebrow { color: var(--steel-light); }
.qb-roi__payback { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--signal); margin: 0.2rem 0 0.1rem; }
.qb-roi__paybackunit { font-family: var(--font-mono); font-size: 0.85rem; color: var(--steel-light); margin: 0 0 1.4rem; }
.qb-roi__lines { list-style: none; margin: 0 0 1.4rem; padding: 1.2rem 0 0; border-top: 1px solid var(--line-dark); }
.qb-roi__lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; font-size: 0.92rem; color: #c9d2d9; }
.qb-roi__lines b { font-family: var(--font-mono); font-weight: 500; color: #fff; white-space: nowrap; }
.qb-roi__note { font-size: 0.78rem; color: var(--steel-light); margin: 1.2rem 0 0; line-height: 1.5; }
.qb-roi__result .qb-btn { width: 100%; justify-content: center; text-align: center; }

/* ---------- Anwendungs- und Branchenseiten ---------- */
.qb-detect { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.qb-detect li { position: relative; padding-left: 1.9rem; color: var(--steel); }
.qb-detect li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 3px;
	background: var(--nok);
}
.qb-detect strong { color: var(--ink); font-weight: 600; }
.qb-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.qb-related a {
	display: block;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem 1.2rem;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.qb-related a:hover { border-color: var(--signal); transform: translateY(-2px); }
.qb-related a::after { content: " →"; color: var(--steel-light); font-weight: 400; }
.qb-tasklist { columns: 3; column-gap: 2rem; list-style: none; margin: 0; padding: 0; }
.qb-tasklist li { break-inside: avoid; padding: 0.4rem 0 0.4rem 1.4rem; position: relative; color: var(--steel); font-size: 0.95rem; }
.qb-tasklist li::before { content: "·"; position: absolute; left: 0.3rem; color: var(--signal-deep); font-weight: 700; }

/* ---------- Entwurfs-Kennzeichnung (noch nicht freigegebene Angebote) ---------- */
.qb-draft {
	border: 2px dashed var(--signal-deep);
	border-radius: var(--radius);
	padding: 1.4rem 1.6rem;
	background: rgba(255, 196, 0, 0.07);
}
.qb-draft::before {
	content: "Entwurf – vor Veröffentlichung freigeben";
	display: block;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--signal-deep);
	margin-bottom: 0.7rem;
}

/* ---------- Scroll-Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
	.qb-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
	.qb-reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.qb-hero__grid, .qb-kit__grid, .qb-kitpage__grid, .qb-demo__grid { grid-template-columns: 1fr; }
	.qb-cards, .qb-steps, .qb-apps { grid-template-columns: repeat(2, 1fr); }
	.qb-branchen { grid-template-columns: repeat(2, 1fr); }
	.qb-team { grid-template-columns: repeat(3, 1fr); }
	.qb-facts__grid { grid-template-columns: repeat(2, 1fr); }
	.qb-footer__grid { grid-template-columns: 1fr 1fr; }
	.qb-pricecard { position: static; }
	.qb-kit__visual { order: 2; }
	.qb-stream span:nth-child(n+24) { display: none; }
	.qb-gallery { grid-template-columns: repeat(3, 1fr); }
	.qb-triage__grid, .qb-roi__grid { grid-template-columns: 1fr; }
	.qb-roi__result { position: static; }
	.qb-flow { grid-template-columns: repeat(2, 1fr); }
	.qb-flow__node:nth-child(2)::after { display: none; }
	.qb-tasklist { columns: 2; }
	.qb-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
	.qb-nav {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		padding: 0.5rem 1.2rem 1.2rem;
	}
	.qb-nav.is-open { display: flex; }
	.qb-nav a:not(.qb-btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
	.qb-nav__cta { margin: 1rem 0 0; text-align: center; }
	.qb-burger { display: block; }
	/* Logo + Wortmarke (77 px / 3 rem, nicht umbrechend) sind zusammen breiter
	   als ein Telefon – ohne Verkleinerung scrollt die ganze Seite waagerecht. */
	.qb-brand__icon { width: 52px; height: 52px; }
	.qb-brand__name { font-size: 1.9rem; }
	.qb-header__inner { min-height: 68px; gap: 0.75rem; }
	/* Zwei Fußzeilen-Spalten sind auf dem Telefon schmaler als „Datenschutz-
	   erklärung" – das schob die Seite um rund 46 px in die Breite. */
	.qb-footer__grid { grid-template-columns: 1fr; }
	.qb-footer__col { min-width: 0; }
	.qb-cards, .qb-steps, .qb-apps, .qb-team, .qb-branchen { grid-template-columns: 1fr; }
	.qb-team { justify-items: center; }
	.qb-stream span:nth-child(n+16) { display: none; }
	.qb-verdict { left: 20px; bottom: 20px; }
	.qb-demo__form .qb-form-row { grid-template-columns: 1fr; }
	.qb-gallery { grid-template-columns: repeat(2, 1fr); }
	.qb-facts__grid { grid-template-columns: 1fr; }
	.qb-proof, .qb-compare, .qb-detect { grid-template-columns: 1fr; }
	.qb-flow { grid-template-columns: 1fr; }
	.qb-flow__node::after { display: none; }
	.qb-tasklist, .qb-related { columns: 1; grid-template-columns: 1fr; }
	.qb-triage__dots { max-width: 100%; }
	.qb-split__tag { font-size: 0.62rem; padding: 0.25rem 0.45rem; }
	.qb-split__pick { font-size: 0.7rem; padding: 0.42rem 0.7rem; letter-spacing: 0.04em; }
}
