/*
Theme Name: Lademagazin
Theme URI: https://lademagazin.com
Author: Lademagazin.com
Description: Theme für das Fachportal Lademagazin.com – Lademagazine, Stangenlader und automatisierte Drehbearbeitung für CNC-Drehmaschinen. Inhalte, Routen und SEO-Felder liegen im Theme, nicht in der Datenbank.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lademagazin
*/

/* =========================================================
   Schriften – lokal gehostet, keine externen Anfragen
   Satoshi, Indian Type Foundry. Lizenz vor Livegang prüfen.
   ========================================================= */
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Light.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Light.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Regular.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Medium.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Bold.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Satoshi";
	src: url("assets/fonts/Satoshi-Black.woff2") format("woff2"),
		url("assets/fonts/Satoshi-Black.woff") format("woff");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* =========================================================
   Design-Tokens

   Basis ist die Farbwelt des Kelira-Themes. Für den industriellen
   Kontext ergänzt: ein kühler Technikton für Schemazeichnungen,
   Messlinien und Zustandsangaben. Bewusst kein Rot-Grau-Schema.
   ========================================================= */
:root {
	--color-bg: #0d0e12;
	--color-bg-elev: #14161c;
	--color-bg-card: #181b22;
	--color-bg-sunken: #0a0b0e;
	--color-border: #262a33;
	--color-border-strong: #333945;

	--color-accent: #ccff22;
	--color-accent-dim: #b6e61e;
	--color-accent-soft: rgba(204, 255, 34, 0.12);

	/* Technikton: Öl, Bewegung, Bemaßung. */
	--color-tech: #5aa9f0;
	--color-tech-soft: rgba(90, 169, 240, 0.14);

	--color-text: #f2f3f5;
	--color-text-muted: #b2b8c2;
	--color-text-faint: #8a909c;

	--font-sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

	--maxw: 1200px;
	--maxw-text: 780px;
	--radius: 14px;
	--radius-lg: 22px;
	--space: clamp(4rem, 9vw, 8rem);

	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	/* Zeichnungen */
	--fig-line: #6e7686;
	--fig-fill: rgba(255, 255, 255, 0.02);
}

/* =========================================================
   Reset / Grundlagen
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

::selection { background: var(--color-accent); color: #0d0e12; }

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

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--color-accent);
	color: #0d0e12;
	font-weight: 700;
	padding: 0.85rem 1.4rem;
	border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
	left: 0;
}

/* =========================================================
   Layout
   ========================================================= */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--text { max-width: calc(var(--maxw-text) + 5rem); }

.section { padding-block: var(--space); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--color-bg-elev); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 1rem;
}
.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--color-accent);
}

.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.section-head p { color: var(--color-text-muted); font-size: 1.1rem; margin-bottom: 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.95rem 1.6rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1;
	cursor: pointer;
	border: 1px solid transparent;
	text-align: center;
	transition: transform 0.2s var(--ease), background 0.2s var(--ease),
		color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-accent); color: #0d0e12; }
.btn--primary:hover { background: #d9ff52; color: #0d0e12; }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.88rem; }
.btn { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.btn:hover { transform: none; }
	html { scroll-behavior: auto; }
}

/* =========================================================
   Kopfbereich und Navigation
   ========================================================= */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	border-bottom: 1px solid transparent;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(13, 14, 18, 0.86);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom-color: var(--color-border);
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: 84px;
	transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: 68px; }
.site-header.is-scrolled .brand__mark { width: 36px; height: 36px; }

.site-brand { display: inline-flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__mark {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	transition: transform 0.3s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
}
.site-brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__name {
	font-weight: 900;
	font-size: 1.5rem;
	letter-spacing: -0.03em;
	line-height: 1;
}
.brand__name span { color: var(--color-accent); }
.footer__brand .brand__name { font-size: 1.4rem; }
.footer__brand .brand__mark { width: 38px; height: 38px; }

.main-nav { display: flex; align-items: center; }
.nav-list {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-item { position: relative; }
.nav-item > a {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-weight: 500;
	font-size: 0.96rem;
	color: var(--color-text-muted);
	padding-block: 0.4rem;
}
.nav-item > a:hover { color: var(--color-text); }
.nav-item.is-current > a { color: var(--color-text); }
.nav-item.is-current > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 1.1rem;
	bottom: -2px;
	height: 2px;
	background: var(--color-accent);
}
.nav-item--cta.is-current > a::after { display: none; }
.nav-item__caret { display: inline-flex; transition: transform 0.2s var(--ease); }
.nav-item--has-children:hover .nav-item__caret,
.nav-item--has-children:focus-within .nav-item__caret { transform: rotate(180deg); }

.nav-sub {
	position: absolute;
	top: calc(100% + 0.6rem);
	left: -1rem;
	min-width: 250px;
	list-style: none;
	margin: 0;
	padding: 0.6rem;
	background: var(--color-bg-elev);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
/* Unsichtbare Brücke, damit der Zeiger die Lücke überqueren kann. */
.nav-item--has-children::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 0.7rem;
}
.nav-item--has-children:hover .nav-sub,
.nav-item--has-children:focus-within .nav-sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-sub a {
	display: block;
	padding: 0.55rem 0.85rem;
	border-radius: 9px;
	font-size: 0.93rem;
	color: var(--color-text-muted);
}
.nav-sub a:hover { background: var(--color-bg-card); color: var(--color-text); }
.nav-sub a[aria-current="page"] { color: var(--color-accent); }

.nav-item--cta .btn { padding: 0.6rem 1.2rem; font-size: 0.92rem; }
.nav-list a.btn--primary,
.nav-list a.btn--primary:hover { color: #0d0e12; }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	width: 44px;
	height: 44px;
	padding: 10px;
}
.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--color-text);
	margin: 5px 0;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
	position: relative;
	padding-top: clamp(9rem, 16vh, 12rem);
	padding-bottom: var(--space);
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	top: -22%;
	left: 50%;
	transform: translateX(-50%);
	width: 70vw;
	height: 70vw;
	max-width: 900px;
	max-height: 900px;
	background: radial-gradient(circle, rgba(204, 255, 34, 0.13), transparent 62%);
	pointer-events: none;
	z-index: 0;
}
.hero__grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(var(--color-border) 1px, transparent 1px),
		linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(circle at 50% 26%, #000 0%, transparent 70%);
	opacity: 0.28;
	z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
	font-size: clamp(2.4rem, 6.2vw, 4.6rem);
	max-width: 20ch;
}
.hero h1 em { color: var(--color-accent); font-style: normal; }
.hero__lead {
	max-width: 62ch;
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	color: var(--color-text-muted);
	margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__figure { margin-top: 3.5rem; }
.hero__note {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
	color: var(--color-text-faint);
	font-size: 0.92rem;
	max-width: 70ch;
}

/* =========================================================
   Seitenkopf der Unterseiten
   ========================================================= */
.page-hero {
	padding-top: clamp(8rem, 14vh, 11rem);
	padding-bottom: 2.5rem;
	position: relative;
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 22ch; }
.page-hero__lead {
	max-width: 68ch;
	font-size: clamp(1.02rem, 1.6vw, 1.2rem);
	color: var(--color-text-muted);
	margin-bottom: 0;
}

.breadcrumbs { font-size: 0.85rem; color: var(--color-text-faint); margin-bottom: 1.1rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--color-border-strong); }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-accent); }

/* =========================================================
   Karten
   ========================================================= */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 1.25rem;
}
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--color-accent); }
.card__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--color-accent-soft);
	color: var(--color-accent);
	margin-bottom: 1.5rem;
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--color-text-muted); margin-bottom: 0; }
.card ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.card li {
	color: var(--color-text-muted);
	font-size: 0.94rem;
	padding-left: 1.4rem;
	position: relative;
	margin-bottom: 0.4rem;
}
.card li::before { content: "→"; position: absolute; left: 0; color: var(--color-accent); }
.card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 1.5rem;
	font-weight: 700;
	font-size: 0.94rem;
	color: var(--color-accent);
}
.card__link svg { transition: transform 0.25s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

.badge {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-tech);
	background: var(--color-tech-soft);
	border-radius: 999px;
	padding: 0.3rem 0.7rem;
}

/* =========================================================
   Prozessschritte
   ========================================================= */
.process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.25rem;
	counter-reset: step;
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
}
.process__step {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 1.9rem;
	background: var(--color-bg-card);
}
.process__step::before {
	counter-increment: step;
	content: "0" counter(step);
	font-size: 2.4rem;
	font-weight: 900;
	color: var(--color-accent);
	opacity: 0.28;
	line-height: 1;
	display: block;
	margin-bottom: 0.9rem;
}
.process__step h3 { font-size: 1.12rem; }
.process__step p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* =========================================================
   Schemazeichnungen
   ========================================================= */
.figure { margin: 2.5rem 0; }
.figure__frame {
	background:
		radial-gradient(120% 140% at 50% 0%, rgba(90, 169, 240, 0.06), transparent 60%),
		var(--color-bg-sunken);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: clamp(1rem, 3vw, 2rem);
	overflow-x: auto;
}
.fig { display: block; width: 100%; height: auto; min-width: 460px; }
.figure figcaption {
	margin-top: 0.9rem;
	font-size: 0.9rem;
	color: var(--color-text-faint);
	line-height: 1.6;
}

.f-body { fill: none; stroke: var(--fig-line); stroke-width: 1.7; stroke-linejoin: round; color: var(--fig-line); }

/* Pfeilspitzen tragen dieselbe Klasse wie ihre Linie und zusaetzlich
   fill="currentColor". Eine CSS-Regel schlaegt das Praesentationsattribut,
   deshalb muessen die gefuellten Formen ausdruecklich zurueckgeholt werden –
   sonst bleiben sie unsichtbar. */
.f-body[fill],
.f-tech[fill],
.f-dim[fill] { fill: currentColor; }
.f-step { fill: var(--fig-fill); }
.f-tech { fill: none; stroke: var(--color-tech); stroke-width: 1.8; stroke-linecap: round; color: var(--color-tech); }
.f-tech-fill { fill: var(--color-tech); }
.f-bar { fill: none; stroke: var(--color-accent); }
.f-bar-fill { fill: var(--color-accent-soft); stroke: var(--color-accent); stroke-width: 1.8; }
.f-bar-active { fill: rgba(204, 255, 34, 0.55); stroke-width: 3.2; }
.f-dash { stroke-dasharray: 5 5; }
.f-oil { fill: none; stroke: var(--color-tech); stroke-width: 7; opacity: 0.7; }
.f-dim { fill: none; stroke: var(--color-text-faint); stroke-width: 1.1; color: var(--color-text-faint); }
.f-label {
	fill: var(--color-text-muted);
	font-family: var(--font-sans);
	font-size: 12.5px;
	font-weight: 500;
}
.f-label--strong { fill: var(--color-text); font-weight: 700; }
.f-badge { fill: var(--color-bg); stroke: var(--color-accent); stroke-width: 1.4; }
.f-badge-t {
	fill: var(--color-accent);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	text-anchor: middle;
}

/* ---------------------------------------------------------
   Bewegung in den Schemazeichnungen

   Die Animationen zeigen Wirkzusammenhänge, die eine
   Standbildskizze nur behaupten kann: dass die Materialstange
   im Takt vorgeschoben wird, dass das Öl umläuft und dass
   zwischen den Steuerungen Signale hin und her gehen.
   Ein gemeinsamer Takt von 6,8 s hält Vorschub, Vereinzelung
   und Signalpaar synchron – der Ölumlauf läuft bewusst
   unabhängig, weil er nicht am Takt hängt.

   Alles wird bei prefers-reduced-motion abgeschaltet.
   --------------------------------------------------------- */

/* Materialstange: wandernde Kerben als Vorschubmarkierung. */
.f-feed {
	fill: none;
	stroke: var(--color-bg-sunken);
	stroke-linecap: butt;
	opacity: 0.5;
	stroke-dasharray: 7 34;
	animation: lm-fig-feed 3.4s linear infinite;
}
@keyframes lm-fig-feed {
	to { stroke-dashoffset: -41; }
}

/* Vorschubstange: zustellen, halten, zurückfahren. */
.f-push { animation: lm-fig-push 6.8s var(--ease) infinite; }
@keyframes lm-fig-push {
	0%, 8%    { transform: translateX(0); }
	38%, 62%  { transform: translateX(26px); }
	92%, 100% { transform: translateX(0); }
}

/* Vereinzelung: gibt am Ende des Takts die nächste Stange frei. */
.f-pivot {
	transform-box: view-box;
	transform-origin: 266px 148px;
	animation: lm-fig-pivot 6.8s var(--ease) infinite;
}
@keyframes lm-fig-pivot {
	0%, 62%   { transform: rotate(0deg); }
	72%, 84%  { transform: rotate(26deg); }
	94%, 100% { transform: rotate(0deg); }
}

/* Ölkreislauf: gleichmäßiger Umlauf, unabhängig vom Takt. */
.f-flow {
	stroke-dasharray: 6 9;
	animation: lm-fig-flow 1.4s linear infinite;
}
@keyframes lm-fig-flow {
	to { stroke-dashoffset: -15; }
}

/* Signalpaar: Anforderung, dann Rückmeldung. */
.f-pulse { animation: lm-fig-pulse 6.8s var(--ease) infinite; }
.f-pulse--b { animation-delay: 1.6s; }
@keyframes lm-fig-pulse {
	0%, 16%   { opacity: 0.22; }
	24%, 38%  { opacity: 1; }
	52%, 100% { opacity: 0.22; }
}

@media (prefers-reduced-motion: reduce) {
	.f-feed,
	.f-push,
	.f-pivot,
	.f-flow,
	.f-pulse { animation: none; }
	.f-pulse { opacity: 1; }
}

/* =========================================================
   Fließtext
   ========================================================= */
.page-content { padding-bottom: var(--space); }
.entry-content { max-width: var(--maxw-text); }
.entry-content > *:first-child { margin-top: 0; }

.entry-content p.lead {
	font-size: 1.18rem;
	color: var(--color-text);
	margin-bottom: 2rem;
}
.entry-content h2 {
	font-size: clamp(1.5rem, 3vw, 2.05rem);
	margin-top: 3rem;
	scroll-margin-top: 100px;
}
.entry-content h3 { font-size: 1.22rem; margin-top: 2rem; }
.entry-content p { color: var(--color-text-muted); }
.entry-content strong { color: var(--color-text); font-weight: 700; }
.entry-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: #dfff6a; }

.entry-content ul,
.entry-content ol { margin: 1.2rem 0 1.8rem; padding-left: 0; }
.entry-content ul { list-style: none; }
.entry-content ul li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.6rem;
	color: var(--color-text-muted);
}
.entry-content ul li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--color-accent);
	font-weight: 700;
}
.entry-content ol { padding-left: 1.4rem; }
.entry-content ol li { margin-bottom: 0.6rem; color: var(--color-text-muted); }
.entry-content ol li::marker { color: var(--color-accent); font-weight: 700; }

.deflist { margin: 1.5rem 0 2rem; }
.deflist dt {
	font-weight: 700;
	color: var(--color-text);
	margin-top: 1.1rem;
}
.deflist dd {
	margin: 0.3rem 0 0;
	color: var(--color-text-muted);
	padding-left: 1.1rem;
	border-left: 2px solid var(--color-border);
}

.note {
	font-size: 0.92rem;
	color: var(--color-text-faint);
	border-left: 2px solid var(--color-border-strong);
	padding-left: 1rem;
	margin: 1.5rem 0;
}

.callout {
	margin: 2rem 0;
	padding: 1.6rem 1.8rem;
	background:
		radial-gradient(120% 120% at 100% 0%, var(--color-accent-soft), transparent 55%),
		var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-left: 3px solid var(--color-accent);
	border-radius: var(--radius);
}
.callout__title { font-size: 1.05rem; margin: 0 0 0.5rem; }
.callout p { margin: 0; color: var(--color-text-muted); }

/* Externe Verweise klar erkennbar machen */
.link-ext { display: inline; }
.link-ext__icon {
	display: inline-block;
	margin-left: 0.2em;
	font-size: 0.85em;
	color: var(--color-text-faint);
	text-decoration: none;
}

/* =========================================================
   Tabellen
   ========================================================= */
.table-wrap {
	overflow-x: auto;
	margin: 2rem 0;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-bg-card);
}
.table-wrap:focus-visible { outline: 2px solid var(--color-accent); }
.data-table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 0.94rem;
}
.data-table caption {
	caption-side: top;
	text-align: left;
	padding: 1rem 1.2rem 0;
	color: var(--color-text-faint);
	font-size: 0.87rem;
}
.data-table th,
.data-table td {
	padding: 0.85rem 1.2rem;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
	vertical-align: top;
}
.data-table thead th {
	color: var(--color-text);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--color-bg-elev);
	white-space: nowrap;
}
.data-table tbody th { color: var(--color-text); font-weight: 500; }
.data-table td { color: var(--color-text-muted); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

/* =========================================================
   Inhaltsverzeichnis
   ========================================================= */
.toc {
	margin: 2.5rem 0;
	padding: 1.4rem 1.6rem;
	background: var(--color-bg-elev);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}
.toc__title {
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-text-faint);
	font-weight: 700;
	margin: 0 0 0.8rem;
}
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 0.4rem; color: var(--color-text-muted); }
.toc li::marker { color: var(--color-text-faint); font-size: 0.85em; }
.toc a { color: var(--color-text-muted); font-size: 0.95rem; }
.toc a:hover { color: var(--color-accent); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; gap: 0.7rem; margin: 1.5rem 0 2rem; }
.faq__item {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}
.faq__item summary:focus-visible { outline-offset: -3px; }
.faq__item summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.4rem;
	cursor: pointer;
	list-style: none;
	color: var(--color-text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.faq__item summary svg { flex: 0 0 auto; color: var(--color-accent); transition: transform 0.25s var(--ease); margin-top: 2px; }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__item[open] summary { border-bottom: 1px solid var(--color-border); }
.faq__answer { padding: 1.15rem 1.4rem; }
.faq__answer p { margin: 0; color: var(--color-text-muted); }

/* =========================================================
   Weiterführende Verweise
   ========================================================= */
.related { margin: 3rem 0; }
.related h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.related__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 0.7rem;
}
.related__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.95rem 1.2rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text-muted);
	font-size: 0.95rem;
	font-weight: 500;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.related__list a:hover { border-color: var(--color-accent); color: var(--color-text); }
.related__list svg { flex: 0 0 auto; color: var(--color-accent); }

/* =========================================================
   Quellen
   ========================================================= */
.sources {
	margin: 3rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}
.sources h2 { font-size: 1.15rem; }
.sources__list { list-style: none; margin: 0; padding: 0; }
.sources__list li {
	margin-bottom: 0.6rem;
	color: var(--color-text-muted);
	font-size: 0.92rem;
	padding-left: 1.2rem;
	position: relative;
}
.sources__list li::before {
	content: "·";
	position: absolute;
	left: 0.3rem;
	color: var(--color-text-faint);
}
.sources__list a { color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 2px; }
.sources__list a:hover { color: var(--color-accent); }
.sources__note { color: var(--color-text-faint); }

/* =========================================================
   Autorenbox
   ========================================================= */
.author-box {
	display: flex;
	gap: 1.3rem;
	margin: 3rem 0 0;
	padding: 1.8rem;
	background: var(--color-bg-elev);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}
.author-box__mark {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: var(--color-accent-soft);
	color: var(--color-accent);
}
.author-box__name { font-size: 1.05rem; margin: 0 0 0.5rem; }
.author-box p { color: var(--color-text-muted); font-size: 0.94rem; margin-bottom: 0.5rem; }
.author-box__meta { color: var(--color-text-faint); font-size: 0.87rem; }
.author-box__meta a { color: var(--color-text-muted); text-decoration: underline; }

/* =========================================================
   Handlungsaufforderungen
   ========================================================= */
.cta-panel,
.contact-panel {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin: 3rem 0;
	padding: 2.2rem;
	background:
		radial-gradient(110% 130% at 100% 0%, var(--color-accent-soft), transparent 55%),
		var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}
.cta-panel__text,
.contact-panel__text { flex: 1 1 340px; }
.cta-panel h2,
.contact-panel h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.cta-panel p,
.contact-panel p { color: var(--color-text-muted); margin-bottom: 0; font-size: 0.98rem; }
.cta-panel__action { display: grid; gap: 0.5rem; justify-items: start; }
.cta-panel__hint,
.contact-panel__note {
	font-size: 0.82rem;
	color: var(--color-text-faint);
}
.contact-panel__note { margin-top: 0.8rem; }
.contact-panel__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* =========================================================
   Produkte und Finder
   ========================================================= */
.finder { margin-top: 2.5rem; }
.finder__form {
	display: grid;
	gap: 1.6rem;
	padding: 1.8rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}
.finder__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder__legend {
	padding: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--color-text-faint);
	margin-bottom: 0.7rem;
}
.finder__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip { position: relative; display: inline-flex; }
.chip input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}
.chip span {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--color-border-strong);
	border-radius: 999px;
	font-size: 0.88rem;
	color: var(--color-text-muted);
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.chip:hover span { border-color: var(--color-text-faint); color: var(--color-text); }
.chip input:checked + span {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #0d0e12;
	font-weight: 700;
}
.chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.chip--reset span { border-style: dashed; }
.chip--reset input:checked + span {
	background: transparent;
	border-color: var(--color-border-strong);
	color: var(--color-text-faint);
	font-weight: 500;
}

.finder__basis {
	margin: 0.7rem 0 0;
	font-size: 0.85rem;
	color: var(--color-tech);
	background: var(--color-tech-soft);
	border-radius: 9px;
	padding: 0.55rem 0.8rem;
}
.finder__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.4rem;
	border-top: 1px solid var(--color-border);
}
.finder__count { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); font-weight: 500; }
.finder__disclaimer {
	margin: 1.2rem 0 0;
	font-size: 0.88rem;
	color: var(--color-text-faint);
	max-width: 78ch;
}
.finder__empty {
	margin-top: 2rem;
	padding: 1.5rem;
	border: 1px dashed var(--color-border-strong);
	border-radius: var(--radius);
	color: var(--color-text-muted);
	text-align: center;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.1rem;
	margin-top: 2rem;
}
.product {
	display: flex;
	flex-direction: column;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.5rem;
	transition: border-color 0.2s var(--ease);
}
.product:hover { border-color: var(--color-border-strong); }
.product[hidden] { display: none; }
.product__head { margin-bottom: 1rem; }
.product__name { font-size: 1.18rem; margin: 0 0 0.25rem; }
.product__brand {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-faint);
	margin-right: 0.4rem;
	vertical-align: 0.18em;
}
.product__machines { margin: 0; font-size: 0.85rem; color: var(--color-tech); }

.product__specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 0.8rem;
	margin: 0 0 1rem;
	padding: 0.9rem 0;
	border-block: 1px solid var(--color-border);
}
.product__specs dt {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-faint);
	margin-bottom: 0.2rem;
}
.product__specs dd { margin: 0; font-size: 0.94rem; color: var(--color-text); font-weight: 500; }

.product__desc { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: 1rem; }

.product__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1.2rem; padding: 0; }
.product__tags li {
	font-size: 0.76rem;
	color: var(--color-text-muted);
	background: var(--color-bg-elev);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 0.24rem 0.6rem;
}

.product__foot { margin-top: auto; display: grid; gap: 0.6rem; justify-items: start; }
.product__verified { margin: 0; font-size: 0.76rem; color: var(--color-text-faint); }

.series { margin-bottom: 3.5rem; }
.series__name { font-size: 1.5rem; margin-bottom: 0.4rem; scroll-margin-top: 100px; }
.series__summary { color: var(--color-text-muted); max-width: 72ch; margin-bottom: 0; }

/* =========================================================
   Ratgeberübersicht
   ========================================================= */
.article-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.1rem;
}
.article-card {
	display: flex;
	flex-direction: column;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.6rem;
	transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.article-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.article-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.article-card p { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.article-card__more {
	margin-top: auto;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--color-accent);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.cluster { margin-bottom: 3rem; }
.cluster__title { font-size: 1.35rem; margin-bottom: 1.2rem; scroll-margin-top: 100px; }

.planned {
	margin-top: 1rem;
	padding: 1.5rem 1.7rem;
	background: var(--color-bg-elev);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}
.planned h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.planned p { color: var(--color-text-faint); font-size: 0.9rem; }
.planned ul { list-style: none; margin: 0.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.planned li {
	font-size: 0.83rem;
	color: var(--color-text-faint);
	border: 1px dashed var(--color-border-strong);
	border-radius: 999px;
	padding: 0.28rem 0.75rem;
}

/* =========================================================
   Formulare
   ========================================================= */
.form { display: grid; gap: 1rem; max-width: 560px; margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin: 0; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--color-text-muted); margin-bottom: 0.4rem; }
.field input, .field textarea {
	width: 100%;
	background: var(--color-bg);
	border: 1px solid var(--color-border-strong);
	border-radius: 12px;
	color: var(--color-text);
	font: inherit;
	padding: 0.85rem 1rem;
	transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); }
.field textarea { min-height: 140px; resize: vertical; }
.field-check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.88rem;
	color: var(--color-text-muted);
	line-height: 1.5;
	cursor: pointer;
}
.field-check input { margin-top: 0.2rem; flex: 0 0 auto; accent-color: var(--color-accent); width: 17px; height: 17px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.92rem; }
.form-status--ok { background: var(--color-accent-soft); color: var(--color-accent); }
.form-status--error { background: rgba(255, 120, 120, 0.12); color: #ff9d9d; }

/* =========================================================
   Fußbereich
   ========================================================= */
.site-footer {
	border-top: 1px solid var(--color-border);
	background: var(--color-bg-elev);
	padding-block: 4rem 2rem;
}
.footer__grid {
	display: grid;
	grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr));
	gap: 2rem 1.5rem;
	margin-bottom: 2.5rem;
}
.footer__brand { margin-bottom: 1rem; }
.footer__intro p { color: var(--color-text-muted); font-size: 0.93rem; max-width: 38ch; }
.footer__col h2 {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-text-faint);
	font-weight: 700;
	margin-bottom: 0.9rem;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer__col a { color: var(--color-text-muted); font-size: 0.92rem; }
.footer__col a:hover { color: var(--color-accent); }

.footer__disclaimer {
	max-width: 88ch;
	padding: 1.1rem 1.3rem;
	background: var(--color-bg-sunken);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text-faint);
	font-size: 0.86rem;
	line-height: 1.6;
	margin-bottom: 2rem;
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.8rem;
	border-top: 1px solid var(--color-border);
	color: var(--color-text-faint);
	font-size: 0.88rem;
}

/* =========================================================
   Reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* Ohne JavaScript wird is-visible nie gesetzt. Der Inhalt bliebe komplett
   unsichtbar – deshalb hier zurueckgenommen. Ergaenzend steht in header.php
   ein noscript-Block fuer Browser ohne Unterstuetzung von scripting. */
@media (scripting: none) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Druck

   Auf Papier zaehlt der Text. Heller Text auf weissem Grund waere
   unbrauchbar, Navigation und Finder sind gedruckt sinnlos, und URLs
   hinter internen Links helfen beim Nachschlagen.
   ========================================================= */
@media print {
	:root {
		--color-bg: #fff;
		--color-bg-elev: #fff;
		--color-bg-card: #fff;
		--color-bg-sunken: #fff;
		--color-text: #000;
		--color-text-muted: #222;
		--color-text-faint: #444;
		--color-border: #bbb;
		--color-border-strong: #888;
		--fig-line: #444;
	}
	body { background: #fff; color: #000; font-size: 11pt; }
	.site-header,
	.main-nav,
	.nav-toggle,
	.finder,
	.skip-link,
	.cta-panel,
	.contact-panel,
	.related,
	.site-footer nav { display: none !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
	main { padding-top: 0 !important; }
	.section { padding-block: 1.2rem; }
	a { color: #000; text-decoration: underline; }
	.entry-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
	h1, h2, h3 { break-after: avoid; }
	.figure, .data-table, .callout, .faq__item { break-inside: avoid; }
	.figure__frame { border: 1px solid #bbb; background: #fff; }
	.faq__item summary { list-style: none; }
	.faq__item[open] .faq__answer { display: block; }
	.f-feed, .f-push, .f-pivot, .f-flow, .f-pulse { animation: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
	.footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer__intro { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
	.nav-list { gap: 1.1rem; }
	.nav-item > a { font-size: 0.92rem; }
}

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	body.admin-bar .main-nav { top: calc(68px + 46px); }
	.main-nav {
		position: fixed;
		inset: 68px 0 auto 0;
		max-height: calc(100vh - 68px);
		overflow-y: auto;
		flex-direction: column;
		align-items: stretch;
		background: var(--color-bg-elev);
		border-bottom: 1px solid var(--color-border);
		padding: 1rem 1.5rem 2rem;
		transform: translateY(-120%);
		/* visibility nimmt die geschlossene Navigation aus der Tabfolge.
		   Ohne sie bleiben rund 40 Links fokussierbar, obwohl sie ausserhalb
		   des Bildschirms stehen. */
		visibility: hidden;
		transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
		z-index: 99;
	}
	.main-nav.is-open {
		transform: translateY(0);
		visibility: visible;
		transition: transform 0.35s var(--ease), visibility 0s;
	}
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.nav-item { border-bottom: 1px solid var(--color-border); }
	.nav-item > a { display: flex; justify-content: space-between; padding: 0.95rem 0; font-size: 1.05rem; }
	.nav-item.is-current > a::after { display: none; }
	.nav-item__caret { display: none; }

	/* Untermenüs auf schmalen Viewports dauerhaft sichtbar –
	   kein Aufklappen, kein zusätzliches JavaScript. */
	.nav-sub {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0 0 0.9rem 0.8rem;
	}
	.nav-sub a { padding: 0.42rem 0; font-size: 0.92rem; }
	.nav-item--cta { border-bottom: 0; padding-top: 1.2rem; }
	.nav-item--cta .btn { width: 100%; }

	.cta-panel, .contact-panel { padding: 1.8rem; }
}

@media (max-width: 700px) {
	body { font-size: 16px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.figure__frame { padding: 0.9rem; }
	.author-box { flex-direction: column; gap: 1rem; }
}

@media (max-width: 520px) {
	.form-row { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; }
	.product-grid { grid-template-columns: 1fr; }
	.finder__form { padding: 1.3rem; }
	.cta-panel__action { justify-items: stretch; width: 100%; }
	.cta-panel__action .btn { width: 100%; }
}
