/* =========================================================
   BRANDB THEME - Tech / Dashboard
   Dark default, Light via [data-mode="light"] on <html>
========================================================= */

:root {
	--font-display: 'Oswald', 'Helvetica Neue', sans-serif;
	--font-body: 'Manrope', Inter, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, monospace;

	--accent: #FF2E2E;
	--radius: 4px;
	--headline-tracking: 0.01em;
	--headline-weight: 600;

	--container: 1200px;
	--container-narrow: 760px;
	--section-rhythm: 72px;

	/* DARK DEFAULT */
	--bg: #0a0a0a;
	--bg-soft: #111111;
	--text: rgba(255,255,255,0.92);
	--text-muted: rgba(255,255,255,0.60);
	--line: transparent;
	--accent-weak: rgba(255,46,46,0.10);
	--cta-bg: #FF2E2E;
	--cta-fg: #ffffff;
}

html[data-mode="light"] {
	--bg: #f6f6f4;
	--bg-soft: #ffffff;
	--text: #0a0a0a;
	--text-muted: #666;
	--line: transparent;
	--accent-weak: rgba(255,46,46,0.08);
	--cta-bg: #FF2E2E;
	--cta-fg: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	transition: background 0.25s, color 0.25s;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: opacity .2s;
}
a:hover { opacity: 0.8; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 32px;
}

/* =========================================================
   SITE HEADER
========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 32px;
	max-width: var(--container);
	margin: 0 auto;
	gap: 24px;
	transition: padding 0.25s ease;
}
body.scrolled .site-header-inner { padding: 8px 32px !important; }
body.scrolled .site-logo { font-size: 24px !important; }
body.scrolled .brand-icon { transition: height 0.25s ease; }
.site-logo {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 38px;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
	line-height: 1;
	transition: font-size 0.25s ease;
}
.brand-icon {
	height: 1.21em;
	width: auto;
	display: inline-block;
	color: currentColor;
}
.site-footer-brand .brand-icon { height: 1.15em; }
sup.reg {
	font-size: 0.7em;
	vertical-align: super;
	margin-left: 2px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--accent);
}
.site-nav {
	display: flex;
	align-items: center;
	gap: 16px;
}
.nav-links {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}
.nav-links a {
	color: var(--text-muted);
	font-size: 14px;
	font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

.mode-toggle {
	width: 44px;
	height: 24px;
	border-radius: 12px;
	border: none;
	background: var(--line);
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	transition: background .25s;
	padding: 0;
}
.mode-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mode-toggle-thumb {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--text-muted);
	transition: transform .25s, background .25s;
}
html[data-mode="light"] .mode-toggle { background: var(--accent); }
html[data-mode="light"] .mode-toggle-thumb {
	transform: translateX(20px);
	background: #fff;
}

/* =========================================================
   TYPOGRAFIE
========================================================= */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: var(--headline-weight);
	line-height: 1.1;
	letter-spacing: var(--headline-tracking);
	color: var(--text);
	margin: 0;
}
h1 {
	font-size: clamp(38px, 5.5vw, 68px);
	text-transform: uppercase;
	letter-spacing: -0.01em;
}
h2 {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.15;
	margin-bottom: 24px;
}
h3 {
	font-size: clamp(18px, 2vw, 24px);
	line-height: 1.25;
	margin: 0 0 12px;
}

p { margin: 0 0 16px; color: var(--text); }
strong { color: var(--text); font-weight: 600; }
em { color: var(--accent); font-style: normal; }

/* =========================================================
   SECTIONS
========================================================= */
section {
	padding: var(--section-rhythm) 0;
	position: relative;
}
section + section { border-top: 1px solid var(--line); }

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--accent);
	background: var(--accent-weak);
	padding: 5px 12px;
	border: 1px solid var(--accent);
	border-radius: 2px;
	margin-bottom: 20px;
}

/* =========================================================
   HERO
========================================================= */
.hero { padding-top: calc(var(--section-rhythm) * 0.6); }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead {
	font-size: 19px;
	color: var(--text-muted);
	margin: 0 0 40px;
	max-width: 820px;
	line-height: 1.45;
}
.hero-lead em { color: var(--accent); }
.nowrap { white-space: nowrap; }
@media (max-width: 780px) { .nowrap { white-space: normal; } }
.nobr { white-space: nowrap; }

/* =========================================================
   CTA
========================================================= */
.cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: transform .15s, background .2s, color .2s;
	border: 2px solid var(--cta-bg);
	cursor: pointer;
	line-height: 1;
}
.cta.primary {
	background: var(--cta-bg);
	color: var(--cta-fg);
	transition: filter .2s, background .2s, color .2s;
}
.cta.primary:hover { filter: brightness(1.12); opacity: 1; transform: none; }
.cta.ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--text);
}
.cta.ghost:hover {
	background: var(--text);
	color: var(--bg);
	opacity: 1;
}
.cta .arrow { transition: transform .2s; }
.cta:hover .arrow { transform: translateX(3px); }
.cta.cta-sm { padding: 10px 16px; font-size: 13px; }

/* =========================================================
   CALLOUT / BREAKOUT (z.B. "Sichtbarkeit zahlt sich aus.")
========================================================= */
.callout {
	margin: 48px 0 0;
	padding: 32px 36px;
	background: var(--accent-weak);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius);
}
.callout-main {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(26px, 3.4vw, 42px);
	line-height: 1.15;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: var(--headline-tracking);
	margin: 0 0 10px;
}
.callout-sub {
	color: var(--text-muted);
	font-size: 16px;
	margin: 0;
	max-width: 560px;
}
.callout .cta-row {
	margin-top: 28px;
}

/* =========================================================
   STORY-SEKTIONEN (Searching, Diagnose, Bridge teilen Stil)
========================================================= */
.searching .story,
.diagnosis .story,
.bridge .story {
	font-size: 20px;
	line-height: 1.55;
	color: var(--text);
	max-width: 640px;
}
.searching .punchline,
.diagnosis .punchline,
.bridge .punchline {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 22px;
	font-weight: 600;
	color: var(--accent);
	font-family: var(--font-display);
	letter-spacing: var(--headline-tracking);
	line-height: 1.3;
	text-transform: uppercase;
}

/* =========================================================
   PUSH vs PULL (Bridge-Sektion)
========================================================= */
.push-pull {
	display: grid;
	grid-template-columns: 1fr 48px 1fr;
	gap: 24px;
	margin: 40px 0 32px;
	align-items: stretch;
}
.push-pull-col {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	padding: 28px;
	border-radius: var(--radius);
	position: relative;
}
.push-pull-col.pull {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent);
}
.push-pull-col .col-label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 16px;
}
.push-pull-col.pull .col-label {
	color: var(--accent);
}
.push-pull-col h3 {
	margin-bottom: 12px;
	font-size: 22px;
	line-height: 1.2;
}
.push-pull-col p {
	color: var(--text-muted);
	margin: 0;
}
.push-pull-col p strong { color: var(--text); }
.push-pull-col em { color: var(--accent); font-style: normal; }

.push-pull-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: 28px;
	font-weight: 500;
}

.bridge-punchline { text-align: left; }

@media (max-width: 780px) {
	.push-pull {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.push-pull-divider {
		transform: rotate(90deg);
		padding: 4px 0;
	}
}

/* =========================================================
   IRRTUEMER (2x2 Grid auf Desktop)
========================================================= */
.mistakes {
	margin-top: 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border-top: 1px solid var(--line);
}
.mistake {
	padding: 28px 32px 28px 0;
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 20px;
	align-items: start;
	border-bottom: 1px solid var(--line);
}
.mistake:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); padding-left: 0; }
.mistake:nth-child(even) { padding-left: 32px; }
.mistake:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 780px) {
	.mistakes { grid-template-columns: 1fr; }
	.mistake:nth-child(odd) { border-right: none; padding-right: 0; }
	.mistake:nth-child(even) { padding-left: 0; }
}
.mistake-num {
	font-family: var(--font-display);
	font-size: 56px;
	font-weight: 700;
	color: var(--accent);
	line-height: 1;
	letter-spacing: -0.02em;
}
.mistake h3 { margin-bottom: 10px; }
.mistake h3 .bb-icon { vertical-align: middle; margin-left: 8px; }
.mistake-quote { font-style: normal; }

.bb-icon {
	width: 0.85em;
	height: 0.85em;
	flex-shrink: 0;
	display: inline-block;
}
.bb-icon-x { color: var(--accent); width: 1.06em; height: 1.06em; }
.bb-icon-check { color: #2ecc71; }
.bb-icon-warn { color: var(--accent); width: 1em; height: 1em; }

.eyebrow-warn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.section-lead {
	color: var(--text-muted);
	font-size: 17px;
	max-width: 640px;
	margin-top: -8px;
	margin-bottom: 24px;
}

.process li h3 { display: flex; align-items: center; gap: 10px; }
.mistake p { color: var(--text-muted); margin: 0; }

/* =========================================================
   PROZESS
========================================================= */
.process ol {
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 32px 0 0;
}
.process li {
	counter-increment: step;
	padding: 24px 0 24px 72px;
	position: relative;
	border-bottom: 1px solid var(--line);
}
.process li:last-child { border-bottom: none; }
.process li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 22px;
	font-family: var(--font-mono);
	font-size: 22px;
	font-weight: 500;
	color: var(--accent);
}
.process li h3 { margin-bottom: 6px; }
.process li p { color: var(--text-muted); margin: 0; }

/* =========================================================
   CREDENTIALS / ZERTIFIKATE
========================================================= */
.credentials {
	padding: 72px 0 48px;
	background: #2a2a2a;
}
html[data-mode="light"] .credentials { background: #e0e0e0; }
.credentials-row {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
	align-items: start;
	margin-top: 32px;
}
.cred-item { text-align: center; position: relative; }
.cred-logo { height: 48px; display: flex; align-items: center; justify-content: center; }
.cred-logo img {
	display: block;
	height: 34px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.65;
	transition: opacity .2s;
}
html[data-mode="light"] .cred-logo img { filter: brightness(0); opacity: 0.7; }
.cred-item:hover .cred-logo img { opacity: 1; }
.cred-logo img.cred-logo-white { filter: none; }
.cred-tooltip {
	position: absolute;
	bottom: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	background: var(--bg-soft);
	border: 1px solid var(--accent);
	box-shadow: 0 12px 32px rgba(0,0,0,0.6);
	padding: 16px 20px;
	min-width: 240px;
	max-width: 280px;
	text-align: left;
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease, transform .18s ease;
	z-index: 30;
	border-radius: var(--radius);
}
.cred-item:hover .cred-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.cred-tooltip::after {
	content: ''; position: absolute; top: 100%; left: 50%;
	transform: translateX(-50%);
	border: 7px solid transparent;
	border-top-color: var(--bg-soft);
}
.cred-tooltip::before {
	content: ''; position: absolute; top: calc(100% + 1px); left: 50%;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-top-color: var(--accent);
	z-index: -1;
}
.tooltip-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.tooltip-title span {
	font-size: 11px;
	color: var(--accent);
	letter-spacing: 0.08em;
	font-weight: 500;
}
.tooltip-sub {
	font-size: 11px;
	color: var(--text-muted);
	letter-spacing: 0.02em;
	margin-top: -6px;
	margin-bottom: 12px;
	font-style: italic;
}
.cred-tooltip ul { list-style: none; margin: 0; padding: 0; }
.cred-tooltip ul li {
	font-size: 13px;
	line-height: 1.5;
	color: var(--text);
	padding: 3px 0;
	margin: 0;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.cred-tooltip li em {
	font-style: normal;
	font-size: 11px;
	color: var(--text-muted);
	letter-spacing: 0.04em;
	white-space: nowrap;
	flex-shrink: 0;
}
@media (max-width: 900px) {
	.credentials-row { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
}
@media (max-width: 500px) {
	.credentials-row { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   CTA-FINAL
========================================================= */
.cta-final {
	background: var(--bg-soft);
}

/* =========================================================
   PRICING (zwei Angebote nebeneinander)
========================================================= */
/* (background unten via Section-Gradients) */

.offers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 40px;
}
.offer {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px 28px 28px;
	display: flex;
	flex-direction: column;
	min-height: 260px;
}
.offer.featured {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(255,46,46,0.08);
	position: relative;
}
.offer.featured::before {
	content: "Empfohlen";
	position: absolute;
	top: -11px;
	right: 20px;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 2px;
}
.offer-label {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 14px;
}
.offer.featured .offer-label {
	color: var(--accent);
	font-weight: 600;
}
.offer-head {
	font-size: clamp(22px, 2.6vw, 30px);
	margin: 0 0 14px;
	color: var(--text);
	line-height: 1.15;
}
.offer-body {
	flex: 1;
	color: var(--text-muted);
	font-size: 15.5px;
	line-height: 1.55;
}
.offer-body p { margin: 0 0 12px; }
.offer-body p:last-child { margin-bottom: 0; }
.offer-cta {
	margin-top: 22px;
}
.offer-cta .cta { width: 100%; justify-content: center; }

@media (max-width: 780px) {
	.offers { grid-template-columns: 1fr; gap: 16px; }
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
	border-top: 1px solid var(--line);
	padding: 48px 0 24px;
	background: var(--bg-soft);
}
.site-footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
	flex-wrap: wrap;
	padding-bottom: 24px;
}
.site-footer-brand strong {
	font-family: var(--font-display);
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.site-footer-tagline {
	margin-top: 6px;
	color: var(--text-muted);
	font-size: 14px;
}
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}
.footer-links a {
	color: var(--text-muted);
	font-size: 14px;
}
.footer-discreet {
	font-size: 11px;
	color: var(--text-muted);
	opacity: 0.5;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-left: 16px;
}
.site-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.6fr auto;
	gap: 32px;
	align-items: start;
	padding: 56px 32px 40px;
}
.footer-col { min-width: 0; }
.footer-brand strong {
	font-family: var(--font-display);
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	display: inline-block;
}
.footer-brand strong { line-height: 1; display: block; }
.footer-brand .site-footer-tagline { margin-top: 0; margin-bottom: 0; line-height: 1.2; }
.footer-spacer { /* leer */ }
.footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.footer-contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}
.footer-contact-list a {
	color: var(--text);
}
.footer-contact-list a:hover { color: var(--accent); }
.contact-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: var(--accent);
}
.contact-ico svg { width: 18px; height: 18px; }
.footer-qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.footer-qr img {
	display: block;
	width: 110px;
	height: 110px;
	border-radius: 6px;
	background: #000;
	padding: 8px;
}
.footer-qr-label {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-muted);
}
@media (max-width: 700px) {
	.site-footer-contact { flex-direction: column; align-items: flex-start; }
	.site-footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px; }
	.footer-spacer { display: none; }
	.footer-qr { display: none; }
}

.site-footer-meta {
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: var(--text-muted);
	font-size: 12px;
	font-family: var(--font-mono);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
.site-footer-legal {
	display: flex;
	gap: 18px;
}
.site-footer-legal a {
	color: var(--text-muted);
	font-size: 12px;
	font-family: var(--font-mono);
}
.site-footer-legal a:hover { color: var(--text); }

/* =========================================================
   CONTENT (fuer einzelne Posts/Pages)
========================================================= */
.content-section { padding: var(--section-rhythm) 0; }
.post-content { max-width: 640px; }
.post-content p { margin-bottom: 16px; }
.post-content a {
	color: var(--accent);
	border-bottom: 1px solid var(--accent-weak);
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 700px) {
	section { padding: calc(var(--section-rhythm) * 0.55) 0; }
	.container { padding: 0 20px; }
	.site-header-inner { padding: 12px 20px; gap: 12px; }
	.mistake { grid-template-columns: 1fr; gap: 8px; }
	.mistake-num { font-size: 40px; }
	.site-footer-inner { flex-direction: column; }
}

/* =========================================================
   BURGER NAV (Mobile)
========================================================= */
.nav-burger {
	display: none;
	width: 36px;
	height: 36px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: transparent;
	cursor: pointer;
	padding: 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
}
.nav-burger span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--text);
	transition: transform .25s ease, opacity .2s ease;
	transform-origin: center;
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 961px) and (max-width: 1100px) {
	.nav-links { gap: 14px; }
}

.nav-links .menu-mobile-only { display: none; }

@media (max-width: 960px) {
	.nav-burger { display: inline-flex; order: 99; }
	.site-nav .cta.cta-sm { display: none; }
	.nav-links .menu-mobile-only { display: list-item; }
	.nav-links .menu-mobile-only a {
		background: #d32f2f;
		color: #fff !important;
		padding: 12px 16px;
		border-radius: var(--radius);
		display: inline-block;
		font-weight: 600;
	}
	.nav-links .menu-mobile-only a:hover { background: #b71c1c; }
	.site-logo { font-size: 22px !important; }
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bg-soft);
		border-bottom: 1px solid var(--line);
		flex-direction: column;
		gap: 0;
		padding: 8px 20px 16px;
		box-shadow: 0 12px 32px rgba(0,0,0,0.5);
		margin: 0;
		list-style: none;
	}
	body.nav-open .nav-links { display: flex; }
	.nav-links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.nav-links li:last-child { border-bottom: none; }
	.nav-links a {
		font-family: var(--font-display);
		font-size: 18px;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--text);
	}
	.site-header { position: sticky; }
}

@media (max-width: 500px) {
	.site-logo .site-logo-text { display: none; }
}

/* =========================================================
   GLOSSAR (page-seo-wissen.php)
========================================================= */
.bb-glossar { padding-bottom: var(--section-rhythm); }

.bb-glossar-hero {
	padding: 96px 0 32px;
	border-bottom: 1px solid var(--line);
}
.bb-glossar-eyebrow {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 16px;
}
.bb-glossar-hero h1 {
	font-family: var(--font-display);
	font-weight: var(--headline-weight);
	letter-spacing: var(--headline-tracking);
	font-size: clamp(40px, 6vw, 72px);
	line-height: 1.05;
	margin: 0 0 16px;
}
.bb-glossar-intro {
	color: var(--text-muted);
	max-width: 720px;
	font-size: 18px;
}
.bb-glossar-intro p { margin: 0 0 12px; }
.bb-glossar-meta {
	margin-top: 24px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--text-muted);
}

.bb-glossar-controls {
	position: sticky;
	top: 0;
	z-index: 5;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
}
.bb-glossar-search {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}
#bb-glossar-search {
	flex: 1;
	background: var(--bg-soft);
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	padding: 12px 16px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
#bb-glossar-search:hover,
#bb-glossar-search:focus {
	border-color: var(--text);
	box-shadow: 0 0 0 3px var(--accent-weak);
}
.bb-glossar-count {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--text-muted);
	white-space: nowrap;
}

.bb-glossar-az {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.bb-glossar-letter {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 14px;
	min-width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}
a.bb-glossar-letter:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--cta-fg);
}
.bb-glossar-letter.is-empty {
	color: var(--text-muted);
	opacity: 0.35;
	cursor: default;
}

.bb-glossar-list { padding-top: 48px; }
.bb-glossar-group {
	scroll-margin-top: 140px;
	margin-bottom: 56px;
}
.bb-glossar-group-head {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 56px;
	line-height: 1;
	color: var(--accent);
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.bb-glossar-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
}
.bb-glossar-item a {
	display: block;
	padding: 16px 18px;
	background: var(--bg-soft);
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	color: var(--text);
	transition: border-color .15s, transform .15s, background .15s;
	height: 100%;
}
.bb-glossar-item a:hover {
	border-color: var(--text);
	transform: translateY(-2px);
}
.bb-glossar-term {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: var(--headline-tracking);
	margin-bottom: 4px;
}
.bb-glossar-desc {
	display: block;
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.5;
}

.bb-glossar-empty {
	text-align: center;
	color: var(--text-muted);
	padding: 80px 0;
	font-family: var(--font-mono);
}

@media (max-width: 720px) {
	.bb-glossar-hero { padding-top: 56px; }
	.bb-glossar-group-head { font-size: 40px; }
	.bb-glossar-controls { position: static; }
}

/* =========================================================
   FAQ-Akkordeon (custom-faq-accordion plugin override)
   Plugin nutzt #f8f8f8 / #fff hardcoded - im Dark-Theme unlesbar.
   Wir uberschreiben auf brand-style: roter Rand, transparenter
   Hintergrund, Hover-Wechsel auf weiss (analog Glossar-Cards).
========================================================= */
.faq-accordion-container {
	margin: 24px 0 40px;
}

.faq-accordion {
	margin-bottom: 12px;
	width: 100%;
}

.faq-accordion h3.faq-title {
	background: transparent;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: var(--headline-tracking);
	padding: 16px 48px 16px 18px;
	cursor: pointer;
	margin: 0;
	position: relative;
	transition: border-color .15s, background .15s;
}
.faq-accordion h3.faq-title:hover {
	border-color: var(--text);
	background: transparent;
}
.faq-accordion h3.faq-title.active {
	background: transparent;
	border-color: var(--text);
}
.faq-accordion h3.faq-title:after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-mono);
	font-size: 22px;
	font-weight: 400;
	color: var(--accent);
	transition: transform .2s, color .2s;
}
.faq-accordion h3.faq-title.active:after {
	content: "-";
	color: var(--text);
}

.faq-accordion .faq-content {
	background: transparent;
	border: none;
	color: var(--text);
	padding: 12px 18px 8px;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
}
.faq-accordion .faq-content p:last-child {
	margin-bottom: 0;
}
.faq-accordion .faq-content code {
	background: var(--bg-soft);
	padding: 2px 6px;
	border-radius: 3px;
	font-family: var(--font-mono);
	font-size: 0.9em;
}

/* =========================================================
   GLOSSAR SINGLE (page.php fuer Children von /seo-wissen/)
========================================================= */
.bb-glossar-single {
	padding-bottom: var(--section-rhythm);
}

.bb-glossar-single-hero {
	padding: 96px 0 32px;
	border-bottom: 1px solid var(--line);
}
.bb-glossar-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	text-decoration: none;
	margin-bottom: 16px;
	transition: color .15s;
}
.bb-glossar-back:hover {
	color: var(--text);
}
.bb-glossar-single-title {
	font-family: var(--font-display);
	font-weight: var(--headline-weight);
	letter-spacing: var(--headline-tracking);
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.1;
	margin: 0;
}

.bb-glossar-single-body {
	padding: 56px 0;
}
.bb-glossar-single-grid {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 64px;
	align-items: start;
}
.bb-glossar-content {
	max-width: 760px;
	min-width: 0;
}

/* Sidebar */
.bb-glossar-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 14px;
}
.bb-glossar-sidebar-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-muted);
	text-decoration: none;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: color .15s;
	margin-bottom: 4px;
}
.bb-glossar-sidebar-back:hover {
	color: var(--accent);
}
.bb-glossar-sidebar-card {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px;
}
.bb-glossar-sidebar-head {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin: 0 0 12px;
}
.bb-glossar-toc-list,
.bb-glossar-related {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bb-glossar-toc-list li,
.bb-glossar-related li {
	margin: 0;
}
.bb-glossar-sidebar-card .bb-glossar-toc-list a,
.bb-glossar-sidebar-card .bb-glossar-related a {
	display: block;
	padding: 6px 0 6px 10px;
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	border-left: 2px solid transparent;
	margin-left: -10px;
	transition: color .15s, border-color .15s;
}
.bb-glossar-sidebar-card .bb-glossar-toc-list a:hover,
.bb-glossar-sidebar-card .bb-glossar-related a:hover {
	color: var(--accent);
}
.bb-glossar-sidebar-card .bb-glossar-toc-list a.is-active {
	color: var(--accent);
	border-left-color: var(--accent);
}

@media (max-width: 960px) {
	.bb-glossar-single-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.bb-glossar-sidebar {
		position: static;
		order: 2;
		margin-top: 32px;
	}
	.bb-glossar-content {
		order: 1;
		max-width: 100%;
	}
}
.bb-glossar-single-body h2 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.2;
	letter-spacing: var(--headline-tracking);
	margin: 56px 0 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}
.bb-glossar-single-body h2:first-child {
	margin-top: 0;
	border-top: none;
	padding-top: 0;
}
.bb-glossar-single-body h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 22px;
	margin: 32px 0 12px;
}
.bb-glossar-single-body p,
.bb-glossar-single-body ul,
.bb-glossar-single-body ol {
	font-size: 17px;
	line-height: 1.7;
	margin: 0 0 16px;
}
.bb-glossar-single-body ul,
.bb-glossar-single-body ol {
	padding-left: 24px;
}
.bb-glossar-single-body li {
	margin-bottom: 6px;
}
.bb-glossar-single-body code {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	padding: 2px 6px;
	border-radius: 3px;
	font-family: var(--font-mono);
	font-size: 0.9em;
	color: var(--text);
}
.bb-glossar-single-body pre {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 16px 20px;
	margin: 16px 0 24px;
	overflow-x: auto;
	font-family: var(--font-mono);
	font-size: 14px;
	line-height: 1.55;
}
.bb-glossar-single-body pre code {
	background: transparent;
	border: none;
	padding: 0;
	font-size: inherit;
	color: var(--text);
}
.bb-glossar-single-body a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.bb-glossar-single-body a:hover {
	color: var(--text);
}
.bb-glossar-single-body b,
.bb-glossar-single-body strong {
	font-weight: 600;
	color: var(--text);
}

/* Geschwister-Navigation */
.bb-glossar-single-nav {
	border-top: 1px solid var(--line);
	padding: 32px 0;
}
.bb-glossar-single-nav .container {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--container-narrow);
}
.bb-glossar-single-nav-link {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	background: var(--bg-soft);
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
	transition: border-color .15s, transform .15s;
	max-width: 48%;
}
.bb-glossar-single-nav-link:hover {
	border-color: var(--text);
	transform: translateY(-2px);
}
.bb-glossar-single-nav-link.is-next {
	text-align: right;
}
.bb-glossar-single-nav-label {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.bb-glossar-single-nav-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 18px;
}

@media (max-width: 720px) {
	.bb-glossar-single-hero { padding-top: 56px; }
	.bb-glossar-single-nav .container { flex-direction: column; }
	.bb-glossar-single-nav-link { max-width: 100%; }
	.bb-glossar-single-nav-link.is-next { text-align: left; }
}

/* ── MISTAKES INLINE TOGGLE ──────────────────────────────── */
.mistakes-section {
	background-color: #444444;
	background-image: url("../images/hazard-skull.svg");
	background-repeat: no-repeat;
	background-position: 75% center;
	background-size: 280px auto;
	position: relative;
	overflow: hidden;
}
.mistakes-section.is-open { background-image: none; }
.mistakes-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/hazard-skull-noyellow.svg") no-repeat center center;
	background-size: contain;
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
	z-index: 0;
}
.mistakes-section.is-open::before { opacity: 0.15; }
.mistakes-section .container { position: relative; z-index: 1; }
html[data-mode="light"] .mistakes-section { background-color: #ececec; }
html[data-mode="light"] .mistakes-section.is-open::before { opacity: 0.12; }
@media (max-width: 980px) {
	.mistakes-section--collapsible .mistakes-toggle-link { display: block; margin-top: 4px; }
}
@media (max-width: 760px) {
	.mistakes-section { background-size: 160px auto; background-position: 95% center; }
}
@media (max-width: 480px) {
	.mistakes-section { background-image: none; }
}

.mistakes-toggle-link {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: var(--accent);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	display: inline;
	transition: color .15s;
}
.mistakes-toggle-link:hover { color: var(--text); }
.mistakes-arrow {
	display: inline-block;
	margin-left: 8px;
	transition: transform .25s ease;
	font-size: 1.7em;
	line-height: 0;
	vertical-align: middle;
}
.mistakes-section.is-open .mistakes-arrow { transform: rotate(-90deg); }
.mistakes-section--collapsible .mistakes { margin-top: 32px; }
.mistakes[hidden] { display: none !important; }
.mistakes-section.is-open .mistakes {
	animation: mistakes-fade .3s ease both;
}
@keyframes mistakes-fade {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

/* ── BLOCKQUOTE ─────────────────────────────────────────── */
blockquote {
	margin: 32px 0;
	padding: 24px 32px;
	background: var(--accent-weak);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius);
	color: var(--text);
	position: relative;
}
blockquote p {
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 500;
}
blockquote p + p { margin-top: 12px; }
