/*
 * DruckLab Hybrid 1.1.0 (design round 3)
 * All colour, type, spacing, radius and motion values come from theme.json presets.
 * Light paper base; ".is-style-graphite" bands remap the semantic presets to the
 * graphite set, so every component below works on both without extra rules.
 * Round 3: hairline rules became cards (.dl-card), one accent colour ("filament",
 * preset "blue"), Mona Sans with its width axis for headings, icon navigation,
 * profile card, entry moment.
 */

/* Light values captured once at :root (inherited as resolved values, used to restore the receipt). */
:root {
	--dl-l-ground: var(--wp--preset--color--ground);
	--dl-l-line: var(--wp--preset--color--line);
	--dl-l-line-2: var(--wp--preset--color--line-2);
	--dl-gutter: var(--wp--custom--gutter--mobile);
	--dl-section: var(--wp--custom--section--desktop);
	--dl-ease-in: var(--wp--custom--motion--entrance);
	--dl-ease-ui: var(--wp--custom--motion--interaction);
	--dl-radius-card: var(--wp--custom--radius--card);
	--dl-radius-panel: var(--wp--custom--radius--panel);
	--dl-shadow-card: var(--wp--preset--shadow--card);
	/* Spacing scale (8px grid) for cards and lists. */
	--dl-card-pad: clamp(24px, 1.2rem + 1.4vw, 40px);
	--dl-gap: 16px;
}

/* Dark band: semantic presets point to the graphite set. */
.is-style-graphite {
	--wp--preset--color--ground: var(--wp--preset--color--graphite);
	--wp--preset--color--surface-1: var(--wp--preset--color--graphite-1);
	--wp--preset--color--surface-2: var(--wp--preset--color--graphite-2);
	--wp--preset--color--line: var(--wp--preset--color--graphite-line);
	--wp--preset--color--line-2: var(--wp--preset--color--graphite-line-2);
	--wp--preset--color--text: var(--wp--preset--color--on-graphite);
	--wp--preset--color--muted: var(--wp--preset--color--on-graphite-muted);
	--wp--preset--color--faint: var(--wp--preset--color--on-graphite-faint);
	--wp--preset--color--blue: var(--wp--preset--color--sky);
	--wp--preset--color--blue-hover: var(--wp--preset--color--sky-hover);
	--wp--preset--color--on-blue: var(--wp--preset--color--graphite);
	--wp--preset--color--action-hover: var(--wp--preset--color--bright);
	--dl-shadow-card: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 16px 40px -24px rgba(0, 0, 0, .7);
	background-color: var(--wp--preset--color--graphite);
	color: var(--wp--preset--color--on-graphite);
	color-scheme: dark;
}

/* The receipt is paper again, even inside a graphite band. */
.dl-receipt-paper {
	--wp--preset--color--ground: var(--wp--preset--color--paper);
	--wp--preset--color--surface-2: var(--wp--preset--color--paper);
	--wp--preset--color--line: var(--dl-l-line);
	--wp--preset--color--line-2: var(--dl-l-line-2);
	--wp--preset--color--text: var(--wp--preset--color--ink);
	--wp--preset--color--muted: var(--wp--preset--color--ink-2);
	--wp--preset--color--faint: var(--wp--preset--color--ink-2);
	--wp--preset--color--blue: var(--wp--preset--color--stamp);
	--wp--preset--color--blue-hover: var(--wp--preset--color--stamp-hover);
	--wp--preset--color--on-blue: var(--wp--preset--color--paper);
	--wp--preset--color--action-hover: var(--wp--preset--color--stamp-hover);
	color-scheme: light;
}

/* Short aliases, re-evaluated in every colour context. */
:root, .is-style-graphite, .dl-receipt-paper {
	--dl-ground: var(--wp--preset--color--ground);
	--dl-s1: var(--wp--preset--color--surface-1);
	--dl-s2: var(--wp--preset--color--surface-2);
	--dl-line: var(--wp--preset--color--line);
	--dl-line-2: var(--wp--preset--color--line-2);
	--dl-text: var(--wp--preset--color--text);
	--dl-muted: var(--wp--preset--color--muted);
	--dl-faint: var(--wp--preset--color--faint);
	--dl-blue: var(--wp--preset--color--blue);
	--dl-blue-hover: var(--wp--preset--color--blue-hover);
	--dl-on-blue: var(--wp--preset--color--on-blue);
	--dl-accent: var(--wp--preset--color--blue);
	--dl-accent-hover: var(--wp--preset--color--blue-hover);
	--dl-paper: var(--wp--preset--color--paper);
	--dl-ink: var(--wp--preset--color--ink);
	--dl-ink-2: var(--wp--preset--color--ink-2);
	--dl-stamp: var(--wp--preset--color--stamp);
	/* Card edge: ink at low alpha, so it follows the band. */
	--dl-card-line: color-mix(in srgb, var(--wp--preset--color--text) 9%, transparent);
	--dl-inset: color-mix(in srgb, var(--wp--preset--color--text) 4.5%, transparent);
}

@media (min-width: 900px) {
	:root { --dl-gutter: var(--wp--custom--gutter--desktop); }
}

* { box-sizing: border-box; }
html {
	background: var(--dl-ground);
	color: var(--dl-text);
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	scrollbar-color: var(--dl-line-2) var(--dl-ground);
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	caret-color: var(--dl-accent);
	-webkit-font-smoothing: antialiased;
	font-optical-sizing: auto;
	font-kerning: normal;
}
::selection { background: var(--dl-accent); color: var(--dl-on-blue); }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--dl-accent);
	outline-offset: 3px;
	border-radius: var(--wp--custom--radius--small);
}
img, svg { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
/* Headings use the width axis of Mona Sans: slightly expanded, heavier, tighter. */
h1, h2, .dl-profile-name, .dl-close h2 { font-variation-settings: "wdth" 110; }
h3, .dl-brand-fallback { font-variation-settings: "wdth" 105; }
.dl-mono, .dl-meta, .dl-part-size, .dl-log-date {
	font-family: var(--wp--preset--font-family--mono);
	font-variant-numeric: tabular-nums;
}
.dl-wrap {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-inline: var(--dl-gutter);
}
.dl-section { display: flow-root; padding-block: var(--dl-section); }
/* Full-width bands touch each other: no block-gap stripes between header, sections and footer. */
.wp-site-blocks > *,
.wp-site-blocks > main > *,
#hauptinhalt > .alignfull { margin-block: 0; }
.dl-section-surface { background: var(--dl-s1); }
/* Two consecutive sections of the same surface read as one chapter. */
.dl-section-surface + .dl-section-surface,
.is-style-graphite.dl-section + .is-style-graphite.dl-section { padding-top: 0; }
.dl-section-heading {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: var(--wp--preset--spacing--xl);
	align-items: end;
	margin-bottom: 56px;
}
.dl-section-heading > *, .dl-section-intro > * { margin: 0; }
.dl-section-heading h2 { max-width: 12em; }
.dl-section-intro { display: grid; gap: 14px; max-width: 34em; color: var(--dl-muted); }
.dl-section-heading > p { max-width: 34em; color: var(--dl-muted); }
.dl-section-heading-center { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-bottom: 40px; }
.dl-promise { color: var(--dl-text); font-weight: 600; }

/*
 * Card: the one container of the page. Raised surface, soft edge, one shadow with
 * offset and blur. Nothing is nested inside a card except an inset (tinted, no edge).
 */
.dl-card, .dl-proof-list, .dl-tool, .dl-step, .dl-sheet, .dl-download-item, .dl-worklog, .dl-faq {
	background: var(--dl-s2);
	border: 1px solid var(--dl-card-line);
	border-radius: var(--dl-radius-card);
	box-shadow: var(--dl-shadow-card);
}
.dl-inset { background: var(--dl-inset); border-radius: var(--dl-radius-panel); }

/* Key facts: bold label, plain value, no bullets. */
.dl-facts, .dl-profile-facts { margin: 0; padding: 0; list-style: none; }
.dl-facts { display: grid; gap: 10px; padding: 18px 22px; }
.dl-facts li { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); gap: 4px 20px; margin: 0; color: var(--dl-muted); font-size: 1rem; line-height: 1.5; }
.dl-fact-label { color: var(--dl-text); font-weight: 600; }
.dl-facts li + li { padding-top: 10px; border-top: 1px solid var(--dl-card-line); }

/* Admin-only notes and empty photo slots (rendered for logged-in admins only, see functions.php). */
.dl-admin-note {
	margin-block: 16px;
	padding: 12px 14px;
	border: 1px dashed var(--dl-accent);
	border-radius: var(--wp--custom--radius--small);
	background: color-mix(in srgb, var(--dl-accent) 6%, transparent);
	color: var(--dl-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}
.dl-admin-note::before,
details.dl-admin-note > summary::before {
	content: "Nur für Admins sichtbar · Mano bestätigt";
	display: block;
	margin-bottom: 4px;
	color: var(--dl-accent);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .03em;
}
details.dl-admin-note::before { content: none; }
.dl-admin-slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 220px;
	margin: 0;
	padding: 20px;
	border: 1px dashed var(--dl-line-2);
	border-radius: var(--wp--custom--radius--image);
	color: var(--dl-faint);
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}
.dl-admin-slot span { color: var(--dl-accent); font-size: .75rem; font-weight: 600; letter-spacing: .03em; }
.dl-admin-slot strong { color: var(--dl-text); font-weight: 600; }

/* Skip link and header */
.dl-skip-link {
	position: fixed;
	left: var(--dl-gutter);
	top: 8px;
	z-index: 10000;
	transform: translateY(-160%);
	padding: 10px 16px;
	border-radius: var(--wp--custom--radius--button);
	background: var(--dl-text);
	color: var(--dl-ground);
	font-weight: 600;
	text-decoration: none;
}
.dl-skip-link:focus { transform: none; }
.dl-site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--dl-ground) 88%, transparent); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); box-shadow: 0 1px 0 var(--dl-card-line); }
.dl-header-main { min-height: 84px; gap: 24px; }
.dl-header-nav { gap: 20px; }
.dl-brand { gap: 10px; flex: 0 0 auto; }
.dl-brand .wp-block-site-logo { flex: none; }
.dl-header-nav { min-width: 0; }
.dl-brand .wp-block-site-logo { line-height: 0; }
.dl-brand .wp-block-site-logo img { width: 148px; height: auto; max-width: 100%; }
.dl-brand-fallback { margin: 0; font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; }
.dl-brand-fallback a { color: var(--dl-text); text-decoration: none; }
.dl-brand .wp-block-site-logo:has(img) + .dl-brand-fallback { display: none; }
.dl-site-header .wp-block-navigation,
.dl-site-header .wp-block-navigation__container { gap: 6px; }
.dl-site-header .wp-block-navigation a { color: var(--dl-muted); text-decoration: none; position: relative; }
.dl-site-header .wp-block-navigation-item > a:hover { color: var(--dl-text); }
/* Icon items: a drawn line icon (1.5 px, currentColor through a mask) with the label underneath. */
.dl-site-header .dl-nav-item > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	min-width: 64px;
	padding: 8px 10px 7px !important;
	border-radius: var(--wp--custom--radius--control);
	font-size: .76rem;
	font-weight: 560;
	letter-spacing: .01em;
	line-height: 1;
	transition: color 180ms var(--dl-ease-ui), background-color 180ms var(--dl-ease-ui);
}
.dl-site-header .dl-nav-item > a::before {
	content: "";
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: var(--dl-icon) center / 24px 24px no-repeat;
	mask: var(--dl-icon) center / 24px 24px no-repeat;
	transition: transform 220ms var(--dl-ease-ui);
}
.dl-site-header .dl-nav-item > a:hover { background: var(--dl-inset); }
.dl-site-header .dl-nav-item > a:hover::before { transform: translateY(-1px); }
.dl-site-header .dl-nav-item > a[aria-current] { color: var(--dl-accent); }
.dl-site-header .dl-nav-item > a[aria-current]::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 1px;
	width: 14px;
	height: 2px;
	border-radius: 1px;
	background: var(--dl-accent);
	transform: translateX(-50%);
}
.dl-nav-tools { --dl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Cpath d='M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3'/%3E%3Cpath d='M8.6 15.4 10.6 9l2 6.4M9.3 13.2h2.6M15.2 9v6.4'/%3E%3C/svg%3E"); }
.dl-nav-print { --dl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3.5h18M5 3.5v17M19 3.5v17M2.5 20.5h19'/%3E%3Cpath d='M9.5 3.5v3.2h5V3.5M10.6 6.7l1.4 2.3 1.4-2.3'/%3E%3Cpath d='M8.5 20.5v-4.6h7v4.6M8.5 18.2h7'/%3E%3C/svg%3E"); }
.dl-nav-guides { --dl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2.5h7.5L18 7v14.5H6z'/%3E%3Cpath d='M13.5 2.5V7H18'/%3E%3Cpath d='M8.6 13.2c1.1-1.7 1.8 1.4 2.9 0s1.9 1.5 3 0'/%3E%3Cpath d='M8.6 17h6.8'/%3E%3C/svg%3E"); }
.dl-nav-blog { --dl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.1-4.2L15.8 5.1a1.6 1.6 0 0 1 2.3 0l.8.8a1.6 1.6 0 0 1 0 2.3L8.2 18.9z'/%3E%3Cpath d='M14.3 6.6l3.1 3.1'/%3E%3Cpath d='M13 20.5h7.5'/%3E%3C/svg%3E"); }
.dl-nav-about { --dl-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.8' cy='10.4' r='2'/%3E%3Cpath d='M5.6 16c.6-1.9 1.9-2.8 3.2-2.8s2.6.9 3.2 2.8'/%3E%3Cpath d='M14.5 10h3.5M14.5 13.5h3.5'/%3E%3C/svg%3E"); }
.dl-nav-contact { margin-left: 8px; }
.dl-nav-contact > a {
	border: 1px solid var(--dl-line-2);
	border-radius: var(--wp--custom--radius--button);
	padding: 10px 18px !important;
	color: var(--dl-text) !important;
	font-weight: 560;
	transition: border-color 180ms var(--dl-ease-ui), background 180ms var(--dl-ease-ui);
}
.dl-nav-contact > a:hover { border-color: var(--dl-text); background: var(--dl-s2); }
.dl-header-nav .wp-block-shortcode { margin: 0; }
.dl-lang ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; font-size: var(--wp--preset--font-size--small); }
.dl-lang ul { gap: 4px; }
.dl-lang li + li::before { content: none; }
.dl-lang a { display: inline-flex; gap: 6px; min-height: 44px; padding-inline: 8px; align-items: center; border-radius: 999px; color: var(--dl-muted); font-weight: 560; letter-spacing: .04em; text-decoration: none; }
.dl-flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / .12); flex: none; }
.dl-lang a[aria-current] { background: color-mix(in srgb, var(--dl-text) 7%, transparent); }
#trp-floater-ls, .trp-floating-switcher { display: none !important; }
.dl-lang a:hover, .dl-lang a[aria-current] { color: var(--dl-text); }
/* backdrop-filter makes the header the containing block of fixed children: the open menu was cut to header height. */
.dl-site-header:has(.wp-block-navigation__responsive-container.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--dl-ground); }
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--dl-ground);
	color: var(--dl-text);
	padding: var(--dl-gutter);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; font-size: 1.25rem; align-items: stretch; }
/* The block is set to "justify right" for the desktop bar; in the open menu every row starts at the left edge. */
.wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-page-list) { align-items: flex-start !important; justify-content: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch !important; justify-content: flex-start !important; }
/* Open menu: icon left of the label, one row per item. */
.wp-block-navigation__responsive-container.is-menu-open .dl-nav-item > a { flex-direction: row; justify-content: flex-start; gap: 14px; min-width: 0; padding: 12px 10px !important; font-size: 1.25rem; font-weight: 560; letter-spacing: -.01em; }
.wp-block-navigation__responsive-container.is-menu-open .dl-nav-item > a[aria-current]::after { content: none; }
.wp-block-navigation__responsive-container.is-menu-open .dl-nav-contact { margin: 12px 0 0; }
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

/* Buttons and text links */
.wp-element-button,
.wp-block-button__link {
	min-height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px color-mix(in srgb, var(--wp--preset--color--graphite) 18%, transparent);
	transition: background-color 180ms var(--dl-ease-ui), color 180ms var(--dl-ease-ui), border-color 180ms var(--dl-ease-ui), transform 120ms var(--dl-ease-ui);
}
.wp-element-button:active,
.wp-block-button__link:active { transform: translateY(1px); }
.wp-element-button:disabled,
.wp-element-button[aria-disabled="true"],
.wp-block-button__link[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.is-style-outline > .wp-block-button__link {
	min-height: 46px;
	background: transparent;
	color: var(--dl-text);
	border: 1px solid var(--dl-line-2);
	box-shadow: none;
}
.is-style-outline > .wp-block-button__link:hover { background: transparent; border-color: var(--dl-text); color: var(--dl-text); }
.dl-text-link { margin: 0; }
.dl-text-link a {
	color: var(--dl-text);
	font-weight: 600;
	text-decoration: none;
	padding-bottom: 4px;
	/* Hairline underneath, an accent line that draws over it on hover. */
	background: linear-gradient(var(--dl-accent), var(--dl-accent)) left bottom / 0 2px no-repeat, linear-gradient(var(--dl-line-2), var(--dl-line-2)) left bottom / 100% 1px no-repeat;
	transition: background-size 320ms var(--dl-ease-ui), color 180ms var(--dl-ease-ui);
}
.dl-text-link a::after {
	content: "";
	display: inline-block;
	width: .4em;
	height: .4em;
	margin-left: .55em;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-.12em) rotate(45deg);
	transition: transform 180ms var(--dl-ease-ui);
}
.dl-text-link a:hover { background-size: 100% 2px, 100% 1px; }
.dl-text-link a:hover::after { transform: translate(2px, -.12em) rotate(45deg); color: var(--dl-accent); }
.wp-block-group.dl-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 40px; }
.dl-hero-actions .wp-block-buttons { margin: 0; }

/* Hero (light, typographic; photo column appears only with a real photo) */
.dl-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 64px;
	align-items: end;
	padding-top: clamp(64px, 9vw, 140px);
	padding-bottom: clamp(56px, 7vw, 104px);
}
.dl-hero-grid:has(> .dl-hero-media) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.dl-hero-copy h1 { margin: 0; max-width: 15em; }
.dl-hero-line { display: block; }
.dl-hero-line + .dl-hero-line { position: relative; width: fit-content; color: var(--dl-muted); }
/* One printed layer under the second line, in filament colour; on load a nozzle lays it (see Motion). */
.dl-hero-line + .dl-hero-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.07em; height: 3px; border-radius: 2px; background: var(--dl-accent); transform-origin: left; }
.dl-hero-line + .dl-hero-line::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: calc(-.07em + 3px);
	width: 14px;
	height: 12px;
	background: var(--dl-text);
	clip-path: polygon(0 0, 100% 0, 100% 50%, 68% 50%, 56% 100%, 44% 100%, 32% 50%, 0 50%);
	transform: translateX(-50%);
	opacity: 0;
	pointer-events: none;
}
.dl-lead { max-width: 34em; margin: 36px 0 0; color: var(--dl-muted); font-size: var(--wp--preset--font-size--lead); line-height: 1.55; }
.dl-hero-media { margin: 0; }
.dl-hero-media img, .dl-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--wp--custom--radius--image); }
.dl-hero-media.dl-admin-slot, .dl-portrait.dl-admin-slot { aspect-ratio: 4 / 5; }

/* Proof line: one panel, three cells */
.dl-proof { padding-bottom: 8px; }
.dl-proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; color: var(--dl-text); font-size: 1rem; font-weight: 500; overflow: hidden; }
.dl-proof-list li { position: relative; margin: 0; padding: 22px 28px 22px 46px; line-height: 1.45; }
.dl-proof-list li + li { border-left: 1px solid var(--dl-card-line); }
/* A small printed square in filament colour marks each fact. */
.dl-proof-list li::before { content: ""; position: absolute; left: 26px; top: 31px; width: 7px; height: 7px; border-radius: 2px; background: var(--dl-accent); }

/* Four tools: one card per tool */
.dl-tool-list { display: grid; gap: var(--dl-gap); }
.dl-tool {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 20px 56px;
	padding: var(--dl-card-pad);
	transition: box-shadow 260ms var(--dl-ease-ui), transform 260ms var(--dl-ease-ui);
}
.dl-tool:hover { box-shadow: var(--wp--preset--shadow--soft); }
.dl-tool:has(> .dl-shot) { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); }
.dl-tool-head h3 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 620; letter-spacing: -.025em; line-height: 1.1; }
.dl-tool-price { margin: 12px 0 0; color: var(--dl-faint); font-size: var(--wp--preset--font-size--small); }
.dl-tool-body > * { margin: 0; }
.dl-tool-body > p:first-child { max-width: 36em; color: var(--dl-text); font-size: 1.12rem; line-height: 1.55; }
.dl-tool-body > p:first-child + .dl-facts { margin-top: 24px !important; }
.dl-tool .dl-facts { background: var(--dl-inset); border-radius: var(--dl-radius-panel); }
.dl-shot { margin: 0; }
.dl-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--dl-card-line); border-radius: var(--wp--custom--radius--control); box-shadow: var(--wp--preset--shadow--soft); }
.dl-shot.dl-admin-slot { min-height: 180px; }
.dl-tools-more { margin-top: 32px; }

/* Steps: three cards (order carries the information, so numbers stay) */
.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--dl-gap); counter-reset: dl-step; }
.dl-step { margin: 0; padding: var(--dl-card-pad); counter-increment: dl-step; }
.dl-steps:not(.dl-steps-plain) .dl-step::before {
	content: counter(dl-step);
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 28px;
	border-radius: 50%;
	background: var(--dl-accent);
	color: var(--dl-on-blue);
	font-size: 1.05rem;
	font-weight: 620;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.dl-step h3 { margin: 0 0 10px; }
.dl-step p { margin: 0; color: var(--dl-muted); }
.dl-step .wp-block-buttons { margin-top: 20px; }

/* 3D printing band with the receipt */
.dl-print { position: relative; overflow: hidden; }
.dl-print::before { content: ""; position: absolute; inset: 0; background: var(--wp--custom--light-cone); pointer-events: none; }
.dl-print-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 96px; align-items: start; }
.dl-print-copy { padding-top: 24px; }
.dl-print-copy h2 { margin: 0; max-width: 11em; }
.dl-print-materials { margin: 32px 0 0; color: var(--dl-faint); font-size: var(--wp--preset--font-size--small); }
.dl-station { position: relative; min-width: 0; }
.dl-printer {
	position: relative;
	z-index: 3;
	height: 30px;
	margin-inline: -14px;
	border-radius: 12px 12px 6px 6px;
	background: linear-gradient(var(--dl-line-2), var(--dl-s1));
	box-shadow: 0 1px 0 color-mix(in srgb, var(--dl-paper) 8%, transparent) inset, 0 12px 24px -10px color-mix(in srgb, var(--dl-ground) 90%, transparent);
}
.dl-printer::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 7px; height: 5px; border-radius: 3px; background: var(--dl-ground); }
.dl-printer-light { position: absolute; right: 22px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--dl-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dl-accent) 18%, transparent); }
.dl-receipt-shell { position: relative; overflow: hidden; margin: -12px 6px 0; padding: 0 14px 34px; }
.dl-receipt-paper {
	position: relative;
	margin: 0;
	padding: 30px 28px 28px;
	background: var(--dl-paper);
	color: var(--dl-ink);
	box-shadow: var(--wp--preset--shadow--receipt);
}
.dl-receipt-title {
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px dashed color-mix(in srgb, var(--dl-ink-2) 65%, transparent);
	font-family: var(--wp--preset--font-family--mono);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-align: center;
}
.dl-receipt-paper .wp-block-shortcode { margin: 0; }
.dl-receipt-line { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; margin: 0; padding: 12px 0; border-bottom: 1px dashed color-mix(in srgb, var(--dl-ink-2) 45%, transparent); font-size: .92rem; line-height: 1.45; }
.dl-receipt-line:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.dl-receipt-line strong { font-family: var(--wp--preset--font-family--mono); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dl-ink); padding-top: .15em; }
.dl-receipt-line span { color: var(--dl-ink-2); }
/* The price line is the hot one: filament colour, like a stamp. */
.dl-receipt-line:last-of-type strong, .dl-receipt-line:last-of-type span { color: var(--dl-stamp); }
.dl-receipt-line:last-of-type span { font-weight: 600; }
.dl-receipt-paper::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -11px;
	height: 12px;
	background: linear-gradient(135deg, var(--dl-paper) 8px, transparent 0) 0 0 / 16px 12px repeat-x, linear-gradient(225deg, var(--dl-paper) 8px, transparent 0) 8px 0 / 16px 12px repeat-x;
}
.dl-receipt-shell .dlsp { --dlsp-accent: var(--dl-stamp); --dlsp-line: color-mix(in srgb, var(--dl-ink) 36%, transparent); --dlsp-soft: color-mix(in srgb, var(--dl-stamp) 6%, transparent); --dlsp-radius: var(--wp--custom--radius--control); max-width: none; margin: 0; color: var(--dl-ink); font-size: .9rem; line-height: 1.45; }
.dl-receipt-shell .dlsp__drop { padding: 18px 12px; border-color: var(--dl-ink-2); }
.dl-receipt-shell .dlsp__options { grid-template-columns: 1fr; }
.dl-receipt-shell .dlsp__price strong { font-family: var(--wp--preset--font-family--mono); }
.dl-receipt-shell .dlsp__privacy a,
.dl-receipt-shell .dlsp__tocart,
.dl-receipt-shell .dlsp__offerlink { color: var(--dl-stamp); }
.dl-receipt-shell .dlsp .wp-element-button { background: var(--dl-stamp); color: var(--dl-paper); box-shadow: none; border-radius: var(--wp--custom--radius--button); }
.dl-receipt-shell .dlsp .wp-element-button:hover { background: var(--wp--preset--color--stamp-hover); }
.dl-receipt-shell :focus-visible { outline-color: var(--dl-stamp); }
/* 1.0.3: the receipt head already names the form, so the plugin heading is for screen readers only */
.dl-station .dlsp__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Price route: one line drawing (a deliberate rule: the path from file to price) */
.dl-price-head { display: grid; grid-template-columns: 5fr 7fr; gap: 20px var(--wp--preset--spacing--xl); align-items: baseline; padding-top: 24px; }
.dl-price-head > * { margin: 0; }
.dl-price-head h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.025em; line-height: 1.1; }
.dl-price-head p { max-width: 36em; color: var(--dl-muted); }
.dl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; }
.dl-flow-step { position: relative; margin: 0; padding: 30px 24px 0 0; }
.dl-flow-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 1px; background: var(--dl-line-2); }
.dl-flow-step::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border: 2px solid var(--dl-accent); border-radius: 50%; background: var(--dl-ground); }
.dl-flow-step:last-child::before { right: auto; width: 0; }
.dl-flow-step:last-child::after { background: var(--dl-accent); }
.dl-flow-step strong { display: block; color: var(--dl-text); font-weight: 620; }
.dl-flow-step span { color: var(--dl-muted); font-size: 1rem; }

/* Parts we design: a drawing sheet (one card with an inner grid, like a title block sheet) */
.dl-parts .dl-price-head { margin-top: 0; }
.dl-sheet { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 48px; overflow: hidden; }
.dl-part { margin: 0; padding: 28px 22px 24px; }
.dl-part + .dl-part { border-left: 1px solid var(--dl-card-line); }
.dl-part svg { display: block; width: 100%; height: 92px; margin-bottom: 20px; stroke: var(--dl-muted); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.dl-part svg .mass { stroke: var(--dl-accent); stroke-width: 1; }
.dl-part p { margin: 0; overflow-wrap: anywhere; hyphens: auto; }
.dl-part-name { color: var(--dl-text); font-size: 1rem; font-weight: 560; line-height: 1.35; }
.dl-part-size { margin-top: 4px !important; color: var(--dl-faint); font-size: .86rem; }

/* Guides: one card per PDF */
.dl-download-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--dl-gap); margin: 0; padding: 0; }
.dl-download-item { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 28px; align-items: start; margin: 0; padding: var(--dl-card-pad); transition: box-shadow 260ms var(--dl-ease-ui); }
.dl-download-item:hover { box-shadow: var(--wp--preset--shadow--soft); }
.dl-download-copy > * { margin: 0; }
.dl-download-copy h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.dl-download-copy p { max-width: 38em; margin-top: 8px; color: var(--dl-muted); font-size: 1.02rem; }
.dl-download-meta { margin-top: 14px !important; color: var(--dl-faint) !important; font-size: var(--wp--preset--font-size--small) !important; }

/* About: profile card */
.dl-profile { max-width: 820px; margin-inline: auto; padding: clamp(28px, 2rem + 2vw, 56px) var(--dl-card-pad) var(--dl-card-pad); }
.dl-profile > * { margin: 0; }
.dl-profile-head { display: grid; justify-items: center; text-align: center; }
.dl-profile-head > * { margin: 0; }
.dl-portrait { width: 152px; margin: 0 0 22px !important; }
.dl-profile-name { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 640; letter-spacing: -.03em; line-height: 1.1; }
.dl-profile-name a { color: var(--dl-text); text-decoration: none; background: linear-gradient(var(--dl-accent), var(--dl-accent)) left bottom / 0 2px no-repeat; transition: background-size 320ms var(--dl-ease-ui); padding-bottom: 3px; }
.dl-profile-name a:hover { background-size: 100% 2px; }
.dl-profile-role { margin-top: 8px !important; color: var(--dl-muted); font-size: 1.05rem; font-weight: 500; }
.dl-profile-role a { color: var(--dl-text); font-weight: 600; }
.dl-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; margin-top: 36px !important; }
.dl-profile-grid > * { margin: 0; }
/* Facts and contact rows sit on insets, not nested cards. */
.dl-profile-facts, .dl-profile .dl-contact { padding: 22px 26px; background: var(--dl-inset); border-radius: var(--dl-radius-panel); }
.dl-profile-facts { display: grid; gap: 12px; align-content: start; }
.dl-profile-facts li { position: relative; margin: 0; padding-left: 20px; color: var(--dl-text); font-weight: 600; line-height: 1.4; }
.dl-profile-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--dl-accent); }
.dl-contact { font-size: 1rem; display: grid; gap: 12px; align-content: start; }
.dl-contact-row { display: grid; grid-template-columns: 92px 1fr; gap: 16px; margin: 0; }
.dl-contact-row p { margin: 0; overflow-wrap: anywhere; }
.dl-contact-row .dl-contact-label { color: var(--dl-text); font-size: .9rem; font-weight: 700; line-height: 1.75; }
.dl-contact-row a { color: var(--dl-text); font-weight: 560; }
.dl-profile-copy { max-width: 36em; margin: 32px auto 0 !important; text-align: center; color: var(--dl-muted); }
.dl-profile-copy p { margin: 0; }
.dl-profile-copy p + p { margin-top: 10px; }

/* Log: one card, date column */
.dl-worklog { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 820px; margin-inline: auto; padding: var(--dl-card-pad); }
.dl-worklog > * { margin: 0; }
.dl-worklog > h3 { margin: 0; }
.dl-log-list { margin: 0; padding: 0; }
.dl-log-entry { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 0 0 18px; }
.dl-log-entry + .dl-log-entry { padding-top: 18px; border-top: 1px solid var(--dl-card-line); }
.dl-log-entry:last-child { padding-bottom: 0; }
.dl-log-entry p { margin: 0; color: var(--dl-muted); }
.dl-log-date { color: var(--dl-text); font-size: .9rem; line-height: 1.9; }

/* Questions: one card, rows inside */
.dl-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px var(--wp--preset--spacing--xl); align-items: start; }
.dl-faq-grid > h2 { margin: 0; }
.dl-faq { padding: 8px var(--dl-card-pad); }
.dl-faq details + details { border-top: 1px solid var(--dl-card-line); }
.dl-faq summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; font-size: 1.12rem; font-weight: 600; list-style: none; transition: color 180ms var(--dl-ease-ui); }
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--dl-muted); border-bottom: 1.5px solid var(--dl-muted); transform: translateY(-70%) rotate(45deg); transition: transform 220ms var(--dl-ease-ui), border-color 180ms var(--dl-ease-ui); }
.dl-faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); border-color: var(--dl-accent); }
.dl-faq summary:hover { color: var(--dl-accent); }
.dl-faq details p { max-width: 40em; margin: 0 0 24px; color: var(--dl-muted); }

/* Closing (graphite) */
.dl-close { display: flow-root; position: relative; overflow: hidden; padding-block: clamp(88px, 11vw, 152px); text-align: center; }
.dl-close::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 70% at 50% 0%, color-mix(in srgb, var(--dl-paper) 6%, transparent), transparent 70%); pointer-events: none; }
.dl-close > * { position: relative; }
.dl-close h2 { max-width: 16em; margin: 0 auto; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); }
.dl-close .dl-wrap > p:not(.dl-admin-note) { margin: 20px 0 0; color: var(--dl-muted); font-size: var(--wp--preset--font-size--lead); }
.dl-close .dl-hero-actions { justify-content: center; }
.dl-close .dl-admin-note { max-width: 40em; margin-inline: auto; text-align: left; }

/* Footer (graphite) and generic content templates */
.dl-site-footer { padding: 56px 0 64px; border-top: 1px solid var(--dl-line); color: var(--dl-muted); font-size: .95rem; }
.dl-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px 48px; align-items: start; }
.dl-site-footer h2 { margin: 0 0 10px; color: var(--dl-text); font-size: 1.05rem; }
/* Footer logo: an Image block (the dark-background logo), because the header site logo is the light-background variant. */
.dl-footer-logo { margin: 0 0 14px; line-height: 0; }
.dl-footer-logo img { width: 148px; height: auto; max-width: 100%; }
.dl-footer-logo.dl-admin-slot { min-height: 0; padding: 12px; line-height: 1.4; gap: 2px; align-items: flex-start; text-align: left; }
.dl-footer-brand:has(.dl-footer-logo img) .dl-footer-brand-fallback { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dl-site-footer p { margin: 0 0 4px; }
.dl-site-footer a { color: var(--dl-muted); }
.dl-site-footer a:hover { color: var(--dl-text); }
.dl-legal-nav { margin: 0; }
.dl-legal-nav .wp-block-navigation__container { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.dl-content-shell { min-height: 54vh; padding-block: var(--dl-section); }
.dl-content-shell :is(h1, .wp-block-post-title),
.dl-404 h1 {
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
	line-height: 1.05;
	overflow-wrap: anywhere;
	hyphens: auto;
}
.dl-content-shell .wp-block-post-content { margin-top: var(--wp--preset--spacing--l); }
.dl-post-list { display: grid; gap: var(--dl-gap); margin-top: var(--wp--preset--spacing--l); }
.dl-post-card { padding: var(--dl-card-pad); background: var(--dl-s2); border: 1px solid var(--dl-card-line); border-radius: var(--dl-radius-card); box-shadow: var(--dl-shadow-card); }
.dl-post-card .wp-block-post-title { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.dl-post-card .wp-block-post-title a { color: var(--dl-text); text-decoration: none; }
.dl-post-card .wp-block-post-excerpt { color: var(--dl-muted); }
.dl-404 { min-height: 60vh; display: grid; align-content: center; }
.dl-404-code { margin: 0; color: var(--dl-faint); font-family: var(--wp--preset--font-family--mono); font-size: 1rem; letter-spacing: .08em; }

/*
 * Entry moment. The <head> flag adds "dl-intro" once per session (sessionStorage), only
 * with motion allowed. A graphite sheet covers the page, one filament layer line is
 * printed across the top, then the sheet lifts: 880 ms in total, pure CSS, ends on its
 * own; theme.js removes the class early on any input. Without JavaScript nothing is shown.
 */
html.dl-intro::before,
html.dl-intro::after { content: ""; position: fixed; left: 0; top: 0; z-index: 10001; pointer-events: none; }
html.dl-intro::before {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--graphite);
	color: var(--wp--preset--color--on-graphite);
	content: "DruckLab";
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .02em;
	font-variation-settings: "wdth" 110;
	animation: dl-intro-sheet 880ms cubic-bezier(.7, 0, .2, 1) both;
}
html.dl-intro::after {
	width: 100%;
	height: 3px;
	background: var(--wp--preset--color--sky);
	transform-origin: left;
	animation: dl-intro-line 880ms linear both;
}
@keyframes dl-intro-sheet {
	0%, 62% { opacity: 1; transform: none; visibility: visible; }
	100% { opacity: 0; transform: translateY(-3%); visibility: hidden; }
}
@keyframes dl-intro-line {
	0% { transform: scaleX(0); opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
	58% { transform: scaleX(1); opacity: 1; }
	100% { transform: scaleX(1); opacity: 0; visibility: hidden; }
}

/*
 * Motion. Everything runs once. Hidden start states exist only with the "dl-js" flag
 * (set in <head> by functions.php, removed again if theme.js never runs) and only for
 * screens without reduced motion, so content is never hidden without JavaScript.
 * Hero: lines settle, then a nozzle lays one filament layer under the second line.
 * Reveals: blocks rise 12px as they enter (theme.js adds .is-in, staggered via --dl-d).
 * 3D printing: lamp blinks, paper feeds out of the slot, lines print one by one.
 */
@media screen and (prefers-reduced-motion: no-preference) {
	.dl-hero-line { animation: dl-up 900ms var(--dl-ease-in) both; }
	.dl-hero-line + .dl-hero-line { animation-delay: 90ms; }
	.dl-hero-line + .dl-hero-line::after { animation: dl-layer 1700ms linear 650ms both, dl-cool 1100ms ease 1850ms both; }
	.dl-hero-line + .dl-hero-line::before { animation: dl-nozzle 1700ms linear 650ms both; }
	.dl-hero .dl-lead { animation: dl-fade 800ms var(--dl-ease-in) 300ms both; }
	.dl-hero .dl-hero-actions { animation: dl-fade 800ms var(--dl-ease-in) 420ms both; }
	/* While the intro sheet is up, the hero waits for it. */
	html.dl-intro .dl-hero :is(.dl-hero-line, .dl-hero-line::before, .dl-hero-line::after, .dl-lead, .dl-hero-actions) { animation-delay: 1500ms; }
	html.dl-intro .dl-hero .dl-hero-line + .dl-hero-line::after { animation-delay: 1500ms, 2700ms; }

	/* Keep in sync with REVEAL in theme.js. */
	.dl-js :is(.dl-section-heading > *, .dl-price-head > *, .dl-tool, .dl-step, .dl-print-copy, .dl-flow-step, .dl-part, .dl-download-item, .dl-profile, .dl-worklog, .dl-faq-grid > h2, .dl-faq, .dl-close .dl-wrap > *) {
		transition: opacity 650ms var(--dl-ease-in) var(--dl-d, 0ms), transform 700ms var(--dl-ease-in) var(--dl-d, 0ms), box-shadow 260ms var(--dl-ease-ui);
	}
	.dl-js :is(.dl-section-heading > *, .dl-price-head > *, .dl-tool, .dl-step, .dl-print-copy, .dl-flow-step, .dl-part, .dl-download-item, .dl-profile, .dl-worklog, .dl-faq-grid > h2, .dl-faq, .dl-close .dl-wrap > *):not(.is-in) {
		opacity: 0;
		transform: translateY(12px);
	}
	/* Price route: each segment of the line is laid like a layer. */
	.dl-js .dl-flow-step::before { transform-origin: left; transition: transform 700ms var(--dl-ease-in) calc(var(--dl-d, 0ms) + 150ms); }
	.dl-js .dl-flow-step:not(.is-in)::before { transform: scaleX(0); }
	@media (max-width: 560px) {
		.dl-js .dl-flow-step::before { transform-origin: top; }
		.dl-js .dl-flow-step:not(.is-in)::before { transform: scaleY(0); }
	}
	/* Parts we design: strokes draw, dimension lines follow. */
	.dl-part .dl-draw :is(path, rect, circle) { stroke-dasharray: var(--dl-len); }
	.dl-part.is-in .dl-draw :is(path, rect, circle) { transition: stroke-dashoffset 1200ms cubic-bezier(.45, 0, .25, 1) calc(var(--dl-d, 0ms) + 120ms); }
	.dl-part.is-in .dl-draw .mass { transition-duration: 700ms; transition-delay: calc(var(--dl-d, 0ms) + 900ms); }
	.dl-part:not(.is-in) .dl-draw :is(path, rect, circle) { stroke-dashoffset: var(--dl-len); }
	/* Portrait: a slow, quiet settle. */
	.dl-portrait { overflow: hidden; border-radius: var(--wp--custom--radius--image); }
	.dl-portrait img { transition: transform 1600ms var(--dl-ease-in) var(--dl-d, 0ms); }
	.dl-js .dl-profile:not(.is-in) .dl-portrait img { transform: scale(1.04); }

	/* The receipt prints when its station is in view. */
	.dl-js .dl-station:not(.is-printed) .dl-receipt-paper { transform: translateY(-101%); }
	.dl-js .dl-station:not(.is-printed) :is(.dl-receipt-title, .dl-receipt-line) { opacity: 0; }
	.dl-station.is-printed .dl-printer-light { animation: dl-lamp 700ms ease-in-out both; }
	.dl-station.is-printed .dl-receipt-paper { animation: dl-print 1150ms cubic-bezier(.25, .55, .3, 1) 450ms both; }
	.dl-station.is-printed :is(.dl-receipt-title, .dl-receipt-line) { animation: dl-ink 380ms linear 1350ms both; }
	.dl-station.is-printed .dl-receipt-line:nth-of-type(2) { animation-delay: 1560ms; }
	.dl-station.is-printed .dl-receipt-line:nth-of-type(3) { animation-delay: 1770ms; }
	.dl-station.is-printed .dl-receipt-line:nth-of-type(4) { animation-delay: 1980ms; }
	.dl-station.is-printed .dl-receipt-line:nth-of-type(5) { animation-delay: 2260ms; }
	/* The price line glows briefly as it is stamped. */
	.dl-station.is-printed .dl-receipt-line:last-of-type { animation: dl-ink 380ms linear 2260ms both, dl-stamp 900ms ease-out 2640ms both; }

	/* Questions open smoothly where the browser can animate to height: auto. */
	@supports (interpolate-size: allow-keywords) {
		.dl-faq details { interpolate-size: allow-keywords; }
		.dl-faq details::details-content { height: 0; overflow: clip; transition: height 320ms var(--dl-ease-ui), content-visibility 320ms allow-discrete; }
		.dl-faq details[open]::details-content { height: auto; }
	}
}
@keyframes dl-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes dl-fade { from { opacity: 0; } }
@keyframes dl-print { from { transform: translateY(-101%); } }
@keyframes dl-lamp { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: .25; } }
/* A thermal head: each line appears in one pass, left to right, slightly darker first. */
@keyframes dl-ink { from { opacity: .2; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes dl-stamp { from { background-color: color-mix(in srgb, var(--dl-stamp) 14%, transparent); } }
/* Nozzle and layer share timing: wait, travel (10% to 80%), lift off. */
@keyframes dl-layer {
	0%, 10% { transform: scaleX(0); animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
	80%, 100% { transform: scaleX(1); }
}
@keyframes dl-nozzle {
	0% { left: 0; opacity: 0; }
	10% { left: 0; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .3, 1); }
	80% { left: 100%; opacity: 1; transform: translateX(-50%); animation-timing-function: ease-out; }
	100% { left: 100%; opacity: 0; transform: translate(-50%, -10px); }
}
/* The fresh layer is brighter (hot filament), then settles to the accent. */
@keyframes dl-cool { from { background-color: var(--wp--preset--color--sky); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	html.dl-intro::before, html.dl-intro::after { display: none; }
}

@media (max-width: 1100px) {
	.dl-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dl-part:nth-child(4) { border-left: 0; }
	.dl-part:nth-child(n+4) { border-top: 1px solid var(--dl-card-line); }
	.dl-print-grid { gap: 56px; }
	.dl-site-header .dl-nav-item > a { min-width: 56px; padding-inline: 6px !important; }
}
@media (max-width: 959px) {
	:root { --dl-section: var(--wp--custom--section--mobile); }
	body { font-size: 1.0625rem; }
	html { scroll-padding-top: 80px; }
	.dl-header-main { min-height: 68px; }
	.dl-site-header .wp-block-navigation__responsive-container-open {
		display: inline-flex !important;
		gap: 8px;
		padding: 8px 14px;
		border: 1px solid var(--dl-line-2);
		border-radius: var(--wp--custom--radius--button);
		color: var(--dl-text);
	}
	.dl-site-header .wp-block-navigation__responsive-container-open::after { content: "Menu"; font-size: .92rem; font-weight: 560; white-space: nowrap; }
	html:lang(de) .dl-site-header .wp-block-navigation__responsive-container-open::after { content: "Menü"; }
	.dl-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.dl-site-header .wp-block-navigation__responsive-container.is-menu-open .dl-nav-contact > a { border: 0; padding-inline: 10px !important; }
	.dl-header-nav { gap: 10px; }
	.dl-hero-grid, .dl-hero-grid:has(> .dl-hero-media) { grid-template-columns: 1fr; gap: 48px; }
	.dl-hero-media { max-width: 420px; }
	.dl-section-heading, .dl-price-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
	.dl-price-head { margin-bottom: 0; padding-top: 16px; }
	.dl-proof-list { grid-template-columns: 1fr; }
	.dl-proof-list li { padding: 16px 24px 16px 46px; }
	.dl-proof-list li + li { border-left: 0; border-top: 1px solid var(--dl-card-line); }
	.dl-proof-list li::before { top: 25px; }
	.dl-tool, .dl-tool:has(> .dl-shot) { grid-template-columns: 1fr; gap: 20px; }
	.dl-shot { max-width: 480px; }
	.dl-steps { grid-template-columns: 1fr; }
	.dl-steps:not(.dl-steps-plain) .dl-step::before { margin-bottom: 18px; }
	.dl-print-grid { grid-template-columns: 1fr; gap: 48px; }
	.dl-print-copy { padding-top: 0; }
	.dl-station { width: min(100%, 440px); }
	.dl-flow { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.dl-flow-step:nth-child(2)::before { right: 0; }
	.dl-download-list, .dl-worklog, .dl-faq-grid { grid-template-columns: 1fr; }
	.dl-profile-grid { grid-template-columns: 1fr; gap: var(--dl-gap); }
	.dl-log-entry { grid-template-columns: 1fr; gap: 2px; }
	.dl-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.dl-sheet { grid-template-columns: 1fr 1fr; }
	.dl-part:nth-child(n) { border-left: 0; border-top: 0; }
	.dl-part:nth-child(even) { border-left: 1px solid var(--dl-card-line); }
	.dl-part:nth-child(n+3) { border-top: 1px solid var(--dl-card-line); }
	.dl-facts { padding: 16px 18px; }
	.dl-facts li { grid-template-columns: 1fr; gap: 2px; }
	.dl-faq { padding-inline: 20px; }
}
@media (max-width: 560px) {
	.dl-brand .wp-block-site-logo img,
	.dl-footer-logo img { width: 124px; }
	.dl-receipt-shell { margin-inline: 0; padding-inline: 0; }
	.dl-receipt-paper { padding: 26px 20px; }
	.dl-receipt-line { grid-template-columns: 5.25rem minmax(0, 1fr); gap: 12px; }
	.dl-flow { grid-template-columns: 1fr; }
	.dl-flow-step { padding: 0 0 0 28px; }
	.dl-flow-step::before { top: 4px; bottom: -32px; left: 4px; right: auto; width: 2px; height: auto; }
	.dl-flow-step::after { top: 4px; }
	.dl-flow-step:last-child::before { content: none; }
	.dl-portrait { width: 128px; }
}
@media (max-width: 560px) {
	.dl-header-main { gap: 12px; }
	.dl-header-nav { gap: 6px; }
}
@media (max-width: 420px) {
	.dl-brand .wp-block-site-logo img { width: 104px; }
	.dl-site-header .wp-block-navigation__responsive-container-open { padding-inline: 10px; }
	.dl-lang ul { gap: 0; }
	.dl-lang a { gap: 4px; padding-inline: 4px; }
	.dl-sheet { grid-template-columns: 1fr; }
	.dl-part:nth-child(even) { border-left: 0; }
	.dl-part:nth-child(n+2) { border-top: 1px solid var(--dl-card-line); }
	.dl-contact-row { grid-template-columns: 1fr; gap: 2px; }
}

/* Mobile: eine linke Kante (Mano 13.10.). Guides als Liste statt Karten,
   Fakten-Kasten ohne Einzug, damit Text unter Überschrift und Absatz bündig steht. */
@media (max-width: 560px) {
	.dl-download-list { gap: 0; border-top: 1px solid var(--dl-card-line); }
	.dl-download-item { padding: 24px 0; background: none; border: 0; border-bottom: 1px solid var(--dl-card-line); border-radius: 0; box-shadow: none; gap: 16px; }
	.dl-download-item:hover { box-shadow: none; }
	.dl-tool .dl-facts { padding: 14px 0 0; background: none; border-radius: 0; border-top: 1px solid var(--dl-card-line); }
}

/*
 * Ratings band (13.10.2026): real eBay and Google ratings as speech bubbles on a slow
 * marquee, directly under the hero. Data: data/bewertungen.json. The list is printed
 * twice, so translating the track by -50 % loops without a gap. Hover, keyboard focus,
 * the Pause button and "reduced motion" all stop it (reduced motion: a plain scroll strip).
 */
.dl-reviews-wrap { margin-block: 0 !important; }
.dl-reviews { --dl-rev-w: 340px; --dl-rev-gap: 16px; padding-block: 8px 24px; overflow: hidden; }
.dl-rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; margin-bottom: 28px; }
.dl-rev-lead { flex: 1 1 22rem; min-width: 0; }
.dl-rev-title { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 620; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.dl-rev-title strong { font-weight: 700; color: var(--dl-accent); letter-spacing: -.03em; }
.dl-rev-meta, .dl-rev-gstat, .dl-rev-note { margin: 0; color: var(--dl-muted); font-size: var(--wp--preset--font-size--small); line-height: 1.5; }
.dl-rev-meta { margin-top: 8px; max-width: 46em; }
.dl-rev-meta a, .dl-rev-gstat a { display: inline-block; margin-left: .6em; color: var(--dl-text); font-weight: 560; }
.dl-rev-gstat { display: flex; align-items: center; gap: 12px; }
.dl-rev-gstat a { margin-left: 0; display: block; }
.dl-rev-toggle {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--dl-line-2);
	border-radius: var(--wp--custom--radius--button);
	background: transparent;
	color: var(--dl-text);
	font: inherit;
	font-size: .92rem;
	font-weight: 560;
	cursor: pointer;
	transition: border-color 180ms var(--dl-ease-ui), background-color 180ms var(--dl-ease-ui);
}
.dl-rev-toggle:hover { border-color: var(--dl-text); background: var(--dl-s2); }

.dl-rev-viewport { overflow: hidden; padding-block: 6px 12px; }
.dl-rev-viewport:focus-visible { outline-offset: -3px; }
.dl-rev-track { display: flex; width: max-content; margin-left: var(--dl-gutter); animation: dl-marquee var(--dl-rev-time, 100s) linear infinite; }
.dl-rev-list { display: flex; gap: var(--dl-rev-gap); margin: 0; padding: 0 var(--dl-rev-gap) 0 0; list-style: none; }
@keyframes dl-marquee { to { transform: translateX(-50%); } }
.dl-rev-viewport:hover .dl-rev-track,
.dl-rev-viewport:focus-within .dl-rev-track,
.dl-reviews.is-paused .dl-rev-track,
.dl-reviews.is-off .dl-rev-track { animation-play-state: paused; }

.dl-rev { display: flex; flex-direction: column; width: var(--dl-rev-w); margin: 0; }
.dl-rev-bubble { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 24px; }
/* Speech-bubble tail, drawn with two edges of a turned square. */
.dl-rev-bubble::after { content: ""; position: absolute; left: 30px; bottom: -7px; width: 12px; height: 12px; background: var(--dl-s2); border-right: 1px solid var(--dl-card-line); border-bottom: 1px solid var(--dl-card-line); transform: rotate(45deg); }
.dl-rev blockquote { margin: 0; }
.dl-rev blockquote p { margin: 0; color: var(--dl-text); font-size: 1.04rem; line-height: 1.5; text-wrap: pretty; }
.dl-rev-pos { display: inline-flex; align-items: center; gap: 8px; color: var(--dl-text); font-size: .82rem; font-weight: 620; letter-spacing: .01em; }
.dl-rev-pos::before { content: ""; width: 18px; height: 18px; background: var(--dl-accent); -webkit-mask: var(--dl-thumb) center / 18px 18px no-repeat; mask: var(--dl-thumb) center / 18px 18px no-repeat; }
.dl-rev { --dl-thumb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 10.5v9.5H4.5v-9.5z'/%3E%3Cpath d='M7.5 11 11.2 4c1.6 0 2.6 1.1 2.3 2.8L13 9.5h5.3c1.2 0 2 1.1 1.7 2.2l-1.4 6.6c-.2 1-1.1 1.7-2.1 1.7H7.5'/%3E%3C/svg%3E"); }
.dl-stars { flex: none; display: inline-block; width: 90px; height: 16px; background: var(--dl-accent); -webkit-mask: var(--dl-star) 0 0 / 18px 16px repeat-x; mask: var(--dl-star) 0 0 / 18px 16px repeat-x; --dl-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath fill='%23000' d='M9 .8l2.3 4.9 5.3.6-3.9 3.7 1 5.3L9 12.7l-4.7 2.6 1-5.3L1.4 6.3l5.3-.6z'/%3E%3C/svg%3E"); }
.dl-rev-by { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; margin: 14px 0 0; padding-left: 14px; font-size: .92rem; line-height: 1.4; color: var(--dl-muted); }
.dl-rev-by strong { color: var(--dl-text); font-weight: 620; }
.dl-rev-tr { margin: 8px 0 0; font-size: .78rem; letter-spacing: .02em; color: var(--dl-muted); }
.dl-rev-n { font-weight: 500; color: var(--dl-muted); }
.dl-rev-note { max-width: 62em; padding-top: 4px; }

@media (max-width: 959px) {
	.dl-reviews { --dl-rev-w: 292px; padding-block: 0 8px; }
	.dl-rev-head { margin-bottom: 20px; }
	.dl-rev-bubble { padding: 18px 20px 20px; }
	.dl-rev-lead { flex-basis: 100%; }
	.dl-rev-gstat { order: 2; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
	.dl-rev-toggle { order: 3; align-self: flex-start; }
}

/* Reduced motion: no marquee. The strip stands still and scrolls by hand; the copy is hidden. */
@media (prefers-reduced-motion: reduce) {
	.dl-rev-track { animation: none !important; transform: none !important; margin-left: 0; }
	.dl-rev-viewport { overflow-x: auto; padding-inline: var(--dl-gutter); scroll-padding-inline: var(--dl-gutter); scroll-snap-type: x proximity; }
	.dl-rev-list + .dl-rev-list, .dl-rev-toggle { display: none; }
	.dl-rev { scroll-snap-align: start; }
}

/*
 * Tornado (13.10.2026): next to the four tools, a swirl of small line icons that circle
 * a funnel. One registered angle (--dl-tor) turns once per cycle; every icon derives its
 * position from it with cos()/sin(): sideways = cos, depth (size, opacity) = sin.
 * Desktop only; mobile hides it. Without CSS trig or with reduced motion it stands still.
 */
@property --dl-tor { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.dl-tornado { display: none; }
.dl-tools-stage > * { margin: 0; }
@media (min-width: 1180px) {
	@supports (translate: calc(cos(1deg) * 1px)) {
		.dl-tools-stage { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; align-items: start; }
		.dl-tools-stage .dl-tool:has(> .dl-shot) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
		.dl-tools-stage .dl-shot { grid-column: 1 / -1; }
		.dl-tornado { display: block; position: sticky; top: 120px; width: 240px; height: 520px; color: var(--dl-muted); pointer-events: none; animation: dl-tor-spin 24s linear infinite; }
		.dl-tornado.is-off { animation-play-state: paused; }
	}
}
@keyframes dl-tor-spin { to { --dl-tor: 360deg; } }
.dl-tor-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.dl-tor-i {
	--a: calc(var(--dl-tor) * var(--k) + var(--p) * 1deg);
	--d: calc((sin(var(--a)) + 1) / 2);
	position: absolute;
	left: 50%;
	top: calc(var(--y) * 1px);
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	translate: calc(cos(var(--a)) * var(--r) * 1px) calc(sin(var(--a)) * var(--r) * .15px);
	scale: calc(.6 + .4 * var(--d));
	opacity: calc(.3 + .7 * var(--d));
}
.dl-tor-i svg { display: block; width: 100%; height: 100%; }
.dl-tor-hot { color: var(--dl-accent); }
@media (prefers-reduced-motion: reduce) {
	.dl-tornado { animation: none !important; --dl-tor: 35deg; }
}

/* dl-video */
.dl-shot video { display: block; width: 100%; height: auto; max-height: 80vh; background: #000; border: 1px solid var(--dl-card-line); border-radius: var(--wp--custom--radius--control); box-shadow: var(--wp--preset--shadow--soft); }

/* Blog-Beiträge: Bilder nicht seitenbreit (Mano 14.10.) */
.single-post .wp-block-post-content .wp-block-image{max-width:560px;margin-left:auto;margin-right:auto}
.single-post .wp-block-post-content .wp-block-image img{width:100%;height:auto}
