/* Huisstijl apparaatstoring.nl (november 2026): paars, Figtree en DM Mono, zelf gehost (SIL OFL 1.1). */
@font-face { font-family: 'Figtree'; font-weight: 400 800; font-display: swap; src: url('fonts/figtree.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 500; font-display: swap; src: url('fonts/dm-mono-500.woff2') format('woff2'); }

:root:root {
	--as-paars: oklch(0.48 0.15 300);
	--as-paars-donker: oklch(0.35 0.15 300);
	--as-link: oklch(0.45 0.15 300);
	--as-inkt: oklch(0.22 0.02 300);
	--as-gedempt: oklch(0.45 0.02 300);
	--as-vlak: oklch(0.94 0.03 300);
	--as-rand: oklch(0.91 0.015 300);
	--as-grond: oklch(0.98 0.005 300);
	--as-mono: 'DM Mono', ui-monospace, Menlo, monospace;
	--global-palette1: var(--as-paars);
	--global-palette2: var(--as-paars-donker);
	--global-palette3: var(--as-inkt);
	--global-palette4: var(--as-inkt);
	--global-palette5: var(--as-gedempt);
	--global-palette6: var(--as-gedempt);
	--global-palette7: var(--as-rand);
	--global-palette8: var(--as-grond);
	--global-palette9: #fff;
	--global-body-font-family: Figtree, Helvetica, Arial, sans-serif;
	--global-heading-font-family: Figtree, Helvetica, Arial, sans-serif;
}
body { background: var(--as-grond); color: var(--as-inkt); font-family: Figtree, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .entry-title { font-weight: 800; letter-spacing: -0.02em; color: var(--as-inkt); }
.entry-content a, .asc-merken a { color: var(--as-link); }
.site-branding .site-title { font-weight: 800; }
.main-navigation .primary-menu-container > ul > li.menu-item > a { font-weight: 600; }
.content-bg, .entry.content-bg, body.content-style-unboxed .site { background: transparent; }

/* Homepage */
.as-hero { background: var(--as-paars); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 22px; margin-bottom: 40px; }
.as-hero h1 { color: #fff; margin: 0; font-size: clamp(36px, 6vw, 64px); line-height: 1.02; max-width: 760px; text-wrap: balance; }
.as-hero > p { margin: 0; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; max-width: 600px; color: oklch(0.94 0.03 300); }
.as-zoek { display: flex; gap: 8px; flex-wrap: wrap; max-width: 680px; }
.as-zoek input { flex: 1 1 240px; min-width: 0; height: 60px; border: 0; border-radius: 14px; padding: 0 20px; font-size: 19px; color: var(--as-inkt); }
.as-zoek button { height: 60px; padding: 0 28px; border: 0; border-radius: 14px; background: var(--as-inkt); color: #fff; font-weight: 700; font-size: 18px; cursor: pointer; }
.as-zoek input:focus { outline: 3px solid oklch(0.82 0.1 300); }
.as-hero .as-populair { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 15px; }
.as-populair span { color: oklch(0.9 0.03 300); }
.as-hero .as-populair a { font-family: var(--as-mono); background: oklch(1 0 0 / .15); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 14px; text-decoration: none; }
.as-apparaten { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 40px; }
.as-apparaten a, .as-merken a { background: #fff; border: 1px solid var(--as-rand); border-radius: 18px; padding: 22px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--as-inkt); text-decoration: none; }
.as-apparaten strong { font-size: 21px; font-weight: 700; }
.as-apparaten span { font-size: 14px; color: var(--as-gedempt); }
.as-apparaten a:hover, .as-merken a:hover { border-color: var(--as-paars); }
.as-merken { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 40px; }
.as-merken a { justify-content: center; border-radius: 12px; padding: 16px; font-weight: 700; font-size: 17px; }
.as-veilig { background: var(--as-inkt); color: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 36px); }
.as-veilig h2 { color: #fff; margin: 0 0 18px; font-size: 26px; }
.as-veilig > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.as-veilig p { margin: 0; font-size: 16px; line-height: 1.5; }
.as-veilig p span { display: block; font-family: var(--as-mono); font-size: 13px; color: oklch(0.82 0.1 300); margin-bottom: 6px; }

/* Foutcodepagina */
.asc-info { margin: 0 0 28px; }
.asc-code { display: inline-block; font-family: var(--as-mono); font-size: 22px; background: var(--as-paars); color: #fff; border-radius: 10px; padding: 6px 14px; margin-bottom: 14px; }
.asc-kort { font-size: 1.15em; font-weight: 600; line-height: 1.45; margin: 0 0 18px; }
.asc-tegels { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.asc-tegel { background: #fff; border: 1px solid var(--as-rand); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.asc-tegel span { font-family: var(--as-mono); font-size: 12px; color: var(--as-gedempt); text-transform: uppercase; }
.asc-tegel strong { font-size: 20px; font-weight: 800; line-height: 1.25; }
.asc-tegel.zelf-ja { background: oklch(0.93 0.06 150); border-color: transparent; }
.asc-tegel.ernst-hoog { background: oklch(0.93 0.05 30); border-color: transparent; }
.asc-modellen { font-size: 15px; color: var(--as-gedempt); margin: 12px 0 0; }
.asc-veilig { background: var(--as-inkt); color: #fff; border-radius: 18px; padding: 18px 22px; }
.asc-veilig strong { color: #fff; }
.asc-bron, .asc-melden { font-size: .9em; color: var(--as-gedempt); }
.asc-verwant { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.asc-verwant a { font-family: var(--as-mono); }
.asc-tabel { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.asc-tabel th, .asc-tabel td { padding: 10px 12px; text-align: left; }
.asc-tabel tr + tr { border-top: 1px solid var(--as-rand); }
.asc-tabel td:first-child a { font-family: var(--as-mono); }

/* Kadence verbergt de sitenaam op tablet en mobiel; die willen we juist zien, met het merkteken ervoor. */
.site-branding .site-title.vs-md-false, .site-branding .site-title.vs-sm-false { display: block !important; }
.site-branding .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-branding .brand::before { content: ""; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--as-paars) radial-gradient(circle, transparent 3px, #fff 3.5px, #fff 6px, transparent 6.5px); }
.site-branding .site-title { font-size: 22px !important; font-weight: 800 !important; color: var(--as-inkt) !important; }

/* Afvinkbare stappen (stappen.js) */
.asc-voortgang { margin: -4px 0 12px; font-weight: 600; color: var(--as-link); font-size: 15px; }
.entry-content ol.asc-stappen { list-style: none; padding: 0; margin-left: 0; display: flex; flex-direction: column; gap: 8px; }
.asc-stappen > li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--as-rand); border-radius: 14px; padding: 16px; margin: 0; line-height: 1.5; }
.asc-stappen > li.is-gedaan { background: oklch(0.95 0.03 150); }
.asc-vink { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; background: var(--as-vlak); color: oklch(0.35 0.1 300); font: 700 14px Figtree, sans-serif; cursor: pointer; }
.is-gedaan .asc-vink { background: oklch(0.55 0.13 150); color: #fff; }
.asc-vink:focus-visible { outline: 3px solid var(--as-paars); outline-offset: 2px; }
