/* ==========================================================================
   AppForge Studio Premium – hoofdstijl
   Kleuren: donkerblauw #1E3A8A, helderblauw #2563EB, oranje #F97316 (hover #EA580C),
   lichtblauw #E0F2FE, tekst #1F2937, groen #22C55E.
   ========================================================================== */

:root {
	--afs-navy: #0B1A45;
	--afs-navy-2: #12235F;
	--afs-dark-blue: #1E3A8A;
	--afs-blue: #2563EB;
	--afs-orange: #F97316;
	--afs-orange-hover: #EA580C;
	--afs-light-blue: #E0F2FE;
	--afs-soft: #F4F7FC;
	--afs-text: #1F2937;
	--afs-muted: #5B6478;
	--afs-line: #E3E8F2;
	--afs-green: #22C55E;
	--afs-purple: #7C3AED;
	--afs-radius: 18px;
	--afs-radius-sm: 12px;
	--afs-shadow: 0 18px 40px -24px rgba(30, 58, 138, .35);
	--afs-shadow-lg: 0 30px 70px -30px rgba(11, 26, 69, .45);
	--afs-header-h: 78px;
	--afs-container: 1240px;
	--afs-font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--afs-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Basis ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--afs-header-h) + 16px); }
body { margin: 0; font-family: var(--afs-font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--afs-text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--afs-blue); text-underline-offset: 3px; }
a:hover { color: var(--afs-orange-hover); }
h1, h2, h3, h4, h5, h6 { font-family: var(--afs-font-heading); color: var(--afs-navy); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(249, 115, 22, .7); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.afs-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--afs-orange); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.afs-skip:focus { top: 12px; color: #fff; }
.afs-accent { color: var(--afs-orange); }
.afs-icon { flex: none; display: inline-block; vertical-align: middle; }
.afs-rot-270 { transform: rotate(-90deg); }

/* Footer altijd onderaan */
.afs-site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.afs-main { flex: 1 0 auto; outline: 0; }

.afs-container { width: 100%; max-width: calc(var(--afs-container) + 48px); margin-inline: auto; padding-inline: 24px; }

/* Knoppen ---------------------------------------------------------------- */
.afs-btn { --b-bg: var(--afs-orange); --b-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: .98rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background .18s, transform .18s, box-shadow .18s, color .18s, border-color .18s; white-space: nowrap; }
.afs-btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.afs-btn--primary { background: linear-gradient(135deg, #FB923C 0%, var(--afs-orange) 45%, var(--afs-orange-hover) 100%); box-shadow: 0 14px 28px -14px rgba(249, 115, 22, .95); }
.afs-btn--primary:hover { background: var(--afs-orange-hover); box-shadow: 0 16px 30px -14px rgba(234, 88, 12, 1); }
.afs-btn--glass { --b-bg: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .85); }
.afs-btn--glass:hover { --b-bg: rgba(255, 255, 255, .14); }
.afs-btn--outline { --b-bg: #fff; --b-fg: var(--afs-dark-blue); border-color: #C9D6EE; }
.afs-btn--outline:hover { --b-fg: var(--afs-orange-hover); border-color: var(--afs-orange); }
.afs-btn--ghost-orange { --b-bg: #fff; --b-fg: var(--afs-orange-hover); border-color: #FDBA8C; min-height: 44px; }
.afs-btn--ghost-orange:hover { --b-bg: #FFF5EE; --b-fg: var(--afs-orange-hover); border-color: var(--afs-orange); }
.afs-btn--sm { min-height: 42px; padding: 0 18px; font-size: .93rem; border-radius: 10px; }
.afs-btn--lg { min-height: 56px; padding: 0 26px; font-size: 1.04rem; border-radius: 13px; }
.afs-btn--block { width: 100%; }
.afs-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.afs-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--afs-orange-hover); text-decoration: none; }
.afs-link:hover .afs-icon { transform: translateX(3px); }
.afs-link .afs-icon { transition: transform .15s; }

.afs-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 9px; font-size: .88rem; font-weight: 700; background: rgba(255, 255, 255, .1); color: #fff; letter-spacing: .01em; }
.afs-pill--blue { background: var(--afs-blue); box-shadow: 0 10px 24px -14px rgba(37, 99, 235, .9); }
.afs-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--afs-light-blue); color: var(--afs-dark-blue); white-space: nowrap; }
.afs-tag--status { background: #FFF1E6; color: #9A3A00; }
.afs-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Header ------------------------------------------------------------------ */
.afs-header { position: sticky; top: 0; z-index: 100; background: linear-gradient(90deg, #0A1740 0%, #0F2160 60%, #142A73 100%); color: #fff; transition: box-shadow .2s; }
.admin-bar .afs-header { top: 32px; }
.afs-header.is-scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.afs-header__inner { display: flex; align-items: center; gap: 22px; min-height: var(--afs-header-h); }
.afs-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.afs-logo:hover { color: #fff; }
.afs-logo .afs-logo__mark { width: auto; max-width: none; height: 54px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.afs-logo__img { max-height: 54px; width: auto; }
.afs-logo__text { display: flex; flex-direction: column; line-height: 1; }
.afs-logo__name { font-family: var(--afs-font-heading); font-weight: 800; font-size: 1.62rem; letter-spacing: -.03em; color: #fff; }
.afs-logo__tagline { font-size: .76rem; font-weight: 600; color: #D7E0F5; margin-top: 5px; letter-spacing: .01em; white-space: nowrap; }
.afs-nav { margin-left: auto; }
.afs-menu, .afs-menu ul { list-style: none; margin: 0; padding: 0; }
.afs-menu { display: flex; align-items: center; gap: 2px; }
.afs-menu > li { position: relative; display: flex; align-items: center; }
.afs-menu > li > a { display: block; white-space: nowrap; padding: 10px 11px; color: #fff; text-decoration: none; font-weight: 600; font-size: .96rem; border-radius: 9px; transition: background .15s, color .15s; }
.afs-menu > li > a:hover, .afs-menu > li.current-menu-item > a, .afs-menu > li.current-menu-ancestor > a, .afs-menu > li.current-menu-parent > a { background: rgba(255, 255, 255, .09); color: #fff; }
.afs-menu > li.current-menu-item > a, .afs-menu > li.current-menu-ancestor > a { box-shadow: inset 0 -2px 0 var(--afs-orange); border-radius: 9px 9px 2px 2px; }
.afs-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 32px; margin-left: -8px; padding: 0; border: 0; background: none; color: #C9D4F0; cursor: pointer; border-radius: 6px; }
.afs-sub-toggle:hover { color: #fff; }
.afs-menu .sub-menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 250px; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(11, 26, 69, .45), 0 0 0 1px rgba(11, 26, 69, .06); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; z-index: 10; }
.afs-menu .sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.afs-menu > li:hover > .sub-menu, .afs-menu > li:focus-within > .sub-menu, .afs-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.afs-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--afs-text); text-decoration: none; font-weight: 600; font-size: .94rem; }
.afs-menu .sub-menu a:hover, .afs-menu .sub-menu .current-menu-item > a { background: var(--afs-soft); color: var(--afs-blue); }
.afs-menu .sub-menu li:last-child a { color: var(--afs-orange-hover); }
.afs-header__tools { display: flex; align-items: center; gap: 4px; flex: none; }
.afs-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 11px; background: none; color: #fff; cursor: pointer; text-decoration: none; transition: background .15s; }
.afs-iconbtn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.afs-cart__count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--afs-orange); color: #fff; font-size: .7rem; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #0F2160; }
.afs-header__cta { margin-left: 10px; }
.afs-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.afs-burger__lines { display: grid; gap: 5px; width: 22px; }
.afs-burger__lines i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.afs-burger[aria-expanded="true"] .afs-burger__lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.afs-burger[aria-expanded="true"] .afs-burger__lines i:nth-child(2) { opacity: 0; }
.afs-burger[aria-expanded="true"] .afs-burger__lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.afs-nav__mobile-extra { display: none; }
.afs-search { background: #0A1740; border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.afs-search .afs-container { display: flex; gap: 12px; align-items: center; }
.afs-search form { flex: 1; }

/* Zoekformulier */
.afs-searchform { display: flex; gap: 10px; }
.afs-searchform input[type=search] { flex: 1; min-width: 0; height: 52px; border-radius: 12px; border: 1.5px solid #CBD5E1; padding: 0 16px; background: #fff; color: var(--afs-text); }
.afs-searchform input[type=search]:focus { outline: 0; border-color: var(--afs-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .18); }

/* Hero -------------------------------------------------------------------- */
.afs-hero { position: relative; isolation: isolate; color: #fff; background: radial-gradient(1200px 600px at 78% 30%, rgba(124, 58, 237, .32), transparent 60%), radial-gradient(900px 500px at 10% 0%, rgba(37, 99, 235, .35), transparent 60%), linear-gradient(135deg, #0A1740 0%, #10225F 52%, #1B2C86 100%); padding: 54px 0 0; }
.afs-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.afs-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); }
.afs-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.afs-orb--1 { width: 420px; height: 420px; right: 8%; top: 8%; background: #7C3AED; opacity: .35; }
.afs-orb--2 { width: 300px; height: 300px; left: -80px; bottom: 10%; background: #2563EB; opacity: .35; }
.afs-orb--3 { width: 220px; height: 220px; right: 35%; bottom: 5%; background: #F97316; opacity: .16; }
.afs-hero__inner { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.12fr); gap: 36px; align-items: center; padding-bottom: 96px; }
.afs-hero__title { color: #fff; font-size: clamp(2.5rem, 4.4vw, 4.15rem); line-height: 1.04; letter-spacing: -.035em; margin: 20px 0 22px; }
.afs-hero__title .afs-accent { background: linear-gradient(90deg, #FB923C, #F97316 60%, #FDBA74); -webkit-background-clip: text; background-clip: text; color: transparent; }
.afs-hero__lead { font-size: 1.16rem; line-height: 1.6; color: #D5DEF2; max-width: 560px; margin: 0; }
.afs-hero .afs-actions { margin-top: 30px; }
.afs-hero__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 28px 0 0; padding: 0; font-weight: 600; color: #E6ECFA; }
.afs-hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.afs-hero__checks .afs-icon { color: var(--afs-green); stroke-width: 3; }
.afs-hero__visual { position: relative; min-height: 420px; }
.afs-hero__image img { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }

/* Voordelenbalk */
.afs-usp-wrap { position: relative; z-index: 2; margin-bottom: -58px; transform: translateY(-36px); }
.afs-usp { list-style: none; margin: 0; padding: 22px 26px; display: grid; grid-template-columns: repeat(var(--afs-usp, 5), minmax(0, 1fr)); gap: 0; background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -28px rgba(11, 26, 69, .55), 0 0 0 1px rgba(11, 26, 69, .04); color: var(--afs-text); }
.afs-usp li { display: flex; align-items: center; gap: 14px; padding: 6px 18px; position: relative; }
.afs-usp li + li::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--afs-line); }
.afs-usp__icon { display: inline-flex; color: var(--afs-dark-blue); flex: none; }
.afs-usp li:nth-child(5n+2) .afs-usp__icon { color: var(--afs-purple); }
.afs-usp li:nth-child(5n+4) .afs-usp__icon { color: #8B5CF6; }
.afs-usp strong { display: block; font-family: var(--afs-font-heading); color: var(--afs-navy); font-size: .98rem; line-height: 1.25; }
.afs-usp small { display: block; color: var(--afs-muted); font-size: .84rem; line-height: 1.35; margin-top: 2px; }

/* Apparaat-mock-ups ------------------------------------------------------- */
.afs-devices { position: relative; width: 100%; aspect-ratio: 1.42; max-width: 720px; margin-left: auto; }
.afs-laptop { position: relative; }
.afs-laptop__lid { position: relative; background: linear-gradient(160deg, #2A2F3A, #0F1219); border-radius: 18px 18px 6px 6px; padding: 2.2% 2.2% 2.6%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 70px -30px rgba(0, 0, 0, .7); }
.afs-laptop__screen { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #fff; }
.afs-laptop__base { height: 0; padding-bottom: 3.4%; margin: 0 -7%; background: linear-gradient(180deg, #D7DCE6 0%, #A5AEBF 55%, #7A8396 100%); border-radius: 0 0 18px 18px / 0 0 60% 60%; position: relative; }
.afs-laptop__base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 30%; background: rgba(0, 0, 0, .18); border-radius: 0 0 8px 8px; }
.afs-devices__laptop { position: absolute; left: 0; top: 2%; width: 78%; transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: right center; }
.afs-tablet { background: linear-gradient(160deg, #2A2F3A, #0F1219); border-radius: 22px; padding: 3%; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.afs-tablet__screen { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #fff; }
.afs-devices__tablet { position: absolute; right: 0; top: 7%; width: 36%; transform: perspective(1400px) rotateY(-12deg); }
.afs-phone { background: linear-gradient(160deg, #2E3340, #0D1017); border-radius: 30px; padding: 4.5%; box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.afs-phone__screen { aspect-ratio: 9 / 19; border-radius: 22px; overflow: hidden; background: #fff; position: relative; }
.afs-phone__screen::before { content: ""; position: absolute; top: 2.5%; left: 50%; width: 30%; height: 3%; transform: translateX(-50%); background: #0D1017; border-radius: 99px; z-index: 2; }
.afs-devices__phone { position: absolute; left: 50%; bottom: -2%; width: 22%; transform: translateX(-38%) rotate(-2deg); z-index: 3; }
.afs-mock-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.afs-mock-browser { height: 100%; display: flex; flex-direction: column; background: #fff; }
.afs-mock-browser__bar { display: flex; gap: 5px; align-items: center; padding: 0 10px; height: 20px; flex: none; background: #EEF2F8; border-bottom: 1px solid #E2E8F0; }
.afs-mock-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #FCA5A5; }
.afs-mock-browser__bar i:nth-child(2) { background: #FCD34D; }
.afs-mock-browser__bar i:nth-child(3) { background: #86EFAC; }
.afs-mock-browser__body { flex: 1; min-height: 0; overflow: hidden; }

/* Dashboard-scherm */
.afs-dash { display: grid; grid-template-columns: 24% 1fr; height: 100%; font-family: var(--afs-font-body); color: #1F2937; background: #F5F7FC; font-size: clamp(5px, .62vw, 9px); }
.afs-dash__side { background: linear-gradient(180deg, #13246A, #0B1A45); color: #C7D2F0; padding: 9% 7%; }
.afs-dash__brand { display: flex; align-items: center; gap: 5px; color: #fff; margin-bottom: 14%; font-size: 1.25em; }
.afs-dash__brand img { width: 2.6em; height: auto; }
.afs-dash__side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7%; }
.afs-dash__side li { display: flex; align-items: center; gap: 6%; padding: 5% 6%; border-radius: 5px; }
.afs-dash__side li i { width: .9em; height: .9em; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.afs-dash__side li.is-active { background: rgba(124, 58, 237, .55); color: #fff; }
.afs-dash__main { padding: 3.5% 4%; display: flex; flex-direction: column; gap: 4%; min-width: 0; }
.afs-dash__top { display: flex; gap: 6%; align-items: center; color: #64748B; font-weight: 600; }
.afs-dash__top em { width: 1.4em; height: 1.4em; border-radius: 50%; background: #E2E8F0; margin-left: auto; }
.afs-dash__top em + em { margin-left: 4px; }
.afs-dash__avatar { background: linear-gradient(135deg, #F97316, #7C3AED) !important; }
.afs-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.afs-dash__kpis div { position: relative; background: #fff; border-radius: 6px; padding: 6% 7%; box-shadow: 0 3px 10px -6px rgba(15, 23, 42, .3); }
.afs-dash__kpis small { display: block; color: #64748B; }
.afs-dash__kpis strong { display: block; font-size: 2em; font-family: var(--afs-font-heading); color: #0B1A45; line-height: 1.2; }
.afs-dot { position: absolute; right: 8%; bottom: 14%; width: 1.4em; height: 1.4em; border-radius: 50%; }
.afs-dot--blue { background: #DBEAFE; box-shadow: inset 0 0 0 .35em #2563EB; }
.afs-dot--green { background: #DCFCE7; box-shadow: inset 0 0 0 .35em #22C55E; }
.afs-dot--orange { background: #FFEDD5; box-shadow: inset 0 0 0 .35em #F97316; }
.afs-dash__chart { background: #fff; border-radius: 6px; padding: 3% 3% 0; box-shadow: 0 3px 10px -6px rgba(15, 23, 42, .3); flex: 1; min-height: 0; display: flex; }
.afs-dash__chart svg { width: 100%; height: 100%; }
.afs-dash__list { background: #fff; border-radius: 6px; padding: 3% 4%; box-shadow: 0 3px 10px -6px rgba(15, 23, 42, .3); display: grid; gap: .6em; }
.afs-dash__list small { font-weight: 700; color: #0B1A45; }
.afs-dash__row { display: grid; grid-template-columns: 34% 1fr 3em; gap: 4%; align-items: center; }
.afs-bar { display: block; height: .7em; border-radius: 99px; background: #EEF2F7; overflow: hidden; }
.afs-bar i { display: block; height: 100%; border-radius: 99px; }
.afs-bar--green { background: #22C55E; }
.afs-bar--blue { background: #2563EB; }
.afs-dash__row em { font-style: normal; color: #64748B; text-align: right; }

/* Webshop-scherm (tablet) */
.afs-mshop { height: 100%; padding: 6% 6%; font-size: clamp(5px, .6vw, 9px); background: #F8F7FF; display: flex; flex-direction: column; gap: 5%; color: #1F2937; }
.afs-mshop__top { display: flex; align-items: center; gap: 5%; }
.afs-mshop__top b { color: #0B1A45; font-size: 1.3em; margin-right: auto; }
.afs-mshop__top span { width: 1.2em; height: 1.2em; border-radius: 50%; background: #E2E8F0; }
.afs-mshop__banner { border-radius: 8px; padding: 9% 8%; color: #fff; background: radial-gradient(circle at 85% 30%, rgba(249, 115, 22, .55), transparent 45%), linear-gradient(135deg, #4C1D95, #7C3AED 60%, #A855F7); }
.afs-mshop__banner strong { display: block; font-family: var(--afs-font-heading); font-size: 1.9em; line-height: 1.1; font-style: italic; }
.afs-mshop__banner em { display: inline-block; margin-top: 8%; padding: 3% 6%; border-radius: 99px; background: #F97316; font-style: normal; font-weight: 700; }
.afs-mshop small { font-weight: 700; color: #0B1A45; }
.afs-mshop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.afs-mshop__grid div { display: grid; gap: .3em; }
.afs-mshop__thumb { display: block; aspect-ratio: 1.2; border-radius: 5px; }
.afs-mshop__thumb--blue { background: linear-gradient(135deg, #BFDBFE, #2563EB); }
.afs-mshop__thumb--orange { background: linear-gradient(135deg, #FED7AA, #F97316); }
.afs-mshop__thumb--purple { background: linear-gradient(135deg, #DDD6FE, #7C3AED); }
.afs-mshop__thumb--green { background: linear-gradient(135deg, #BBF7D0, #22C55E); }
.afs-mshop__thumb--navy { background: linear-gradient(135deg, #C7D2FE, #1E3A8A); }
.afs-mshop__grid b, .afs-mshop__grid s { display: block; height: .55em; border-radius: 9px; background: #E2E8F0; text-decoration: none; }
.afs-mshop__grid s { width: 60%; background: #FDBA74; }

/* Afsprakenscherm (telefoon) */
.afs-mbook { height: 100%; padding: 22% 9% 8%; display: flex; flex-direction: column; gap: 5%; font-size: clamp(4px, .5vw, 8px); background: linear-gradient(180deg, #F5F3FF, #fff); color: #1F2937; }
.afs-mbook__head small { color: #7C3AED; font-weight: 700; }
.afs-mbook__head b { display: block; font-family: var(--afs-font-heading); font-size: 2.1em; line-height: 1.05; color: #4C1D95; font-style: italic; }
.afs-mbook__cal { background: #fff; border-radius: 8px; padding: 8%; box-shadow: 0 4px 12px -6px rgba(76, 29, 149, .35); }
.afs-mbook__month { display: block; font-weight: 700; text-align: center; margin-bottom: 6%; }
.afs-mbook__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.afs-mbook__days i { font-style: normal; line-height: 1.9; border-radius: 4px; }
.afs-mbook__days i.is-label { color: #94A3B8; font-weight: 700; }
.afs-mbook__days i.is-off { color: #CBD5E1; }
.afs-mbook__days i.is-sel { background: #7C3AED; color: #fff; font-weight: 700; }
.afs-mbook__btn { margin-top: auto; text-align: center; padding: 8% 0; border-radius: 8px; background: linear-gradient(135deg, #7C3AED, #6D28D9); color: #fff; font-weight: 700; }

/* Code-scherm */
.afs-mcode { height: 100%; background: #0F172A; color: #E2E8F0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(6px, .66vw, 10px); display: flex; flex-direction: column; }
.afs-mcode__tabs { display: flex; gap: 2px; background: #0B1222; padding: 4px 6px 0; }
.afs-mcode__tabs span { padding: 3px 9px; border-radius: 5px 5px 0 0; color: #64748B; }
.afs-mcode__tabs span.is-active { background: #0F172A; color: #E2E8F0; }
.afs-mcode pre { margin: 0; padding: 8px 10px; line-height: 1.65; white-space: pre; overflow: hidden; font: inherit; }
.afs-mcode__ln { display: inline-block; width: 2em; color: #475569; }
.afs-mcode__k { color: #C084FC; }
.afs-mcode__f { color: #60A5FA; }
.afs-mcode__s { color: #4ADE80; }
.afs-mcode__p { color: #E2E8F0; }

/* Generieke productvisual (zonder screenshot) */
.afs-mprod { height: 100%; display: grid; grid-template-columns: 22% 1fr; background: #F6F8FD; font-size: clamp(6px, .7vw, 11px); }
.afs-mprod__side { background: var(--m-accent, #1E3A8A); padding: 14% 12%; display: grid; align-content: start; gap: 12%; }
.afs-mprod__side b { width: 2.4em; height: 2.4em; border-radius: 8px; background: #fff; color: var(--m-accent, #1E3A8A); display: grid; place-items: center; font-family: var(--afs-font-heading); font-size: 1.3em; }
.afs-mprod__side i { height: .8em; border-radius: 9px; background: rgba(255, 255, 255, .35); }
.afs-mprod__main { padding: 8% 7%; display: grid; align-content: start; gap: 8%; }
.afs-mprod__main strong { font-family: var(--afs-font-heading); font-size: 1.6em; color: #0B1A45; }
.afs-mprod__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.afs-mprod__cards span { aspect-ratio: 1.6; border-radius: 6px; background: #fff; box-shadow: 0 3px 10px -6px rgba(15, 23, 42, .4); border-top: 3px solid var(--m-accent, #1E3A8A); }
.afs-mprod__rows { display: grid; gap: .7em; }
.afs-mprod__rows i { height: .8em; border-radius: 9px; background: #E2E8F0; }
.afs-mprod__rows i:nth-child(2n) { width: 70%; }
.afs-mprod--blue { --m-accent: #2563EB; }
.afs-mprod--purple { --m-accent: #7C3AED; }
.afs-mprod--orange { --m-accent: #F97316; }
.afs-mprod--green { --m-accent: #16A34A; }
.afs-mprod--navy { --m-accent: #1E3A8A; }

/* Secties ----------------------------------------------------------------- */
.afs-section { padding: clamp(56px, 7vw, 92px) 0; position: relative; }
.afs-section--soft { background: linear-gradient(180deg, #F6F9FE 0%, #EEF4FD 100%); }
.afs-projects + .afs-shop, .afs-solutions + .afs-projects { padding-top: 0; }
.afs-solutions { padding-top: clamp(100px, 10vw, 130px); background: radial-gradient(700px 300px at 50% 0, rgba(224, 242, 254, .7), transparent 70%); }
.afs-section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(30px, 4vw, 44px); }
.afs-section-head--action { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; max-width: none; gap: 20px; }
.afs-section-head--action .afs-section-head__text { grid-column: 2; max-width: 860px; }
.afs-section-head--action .afs-btn { grid-column: 3; justify-self: end; margin-bottom: 4px; }
.afs-section-title { font-size: clamp(1.9rem, 3.2vw, 2.65rem); margin: 0 0 10px; }
.afs-section-sub { color: var(--afs-muted); font-size: 1.04rem; margin: 0; }

.afs-grid { display: grid; gap: clamp(18px, 2vw, 26px); }
.afs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.afs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.afs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.afs-grid--narrow { max-width: 1060px; margin-inline: auto; }
.afsc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* Accentkleuren voor kaarten */
.afs-accent-blue { --c1: #DBEAFE; --c2: #93C5FD; --c3: #2563EB; --c-deep: #1E3A8A; }
.afs-accent-purple { --c1: #EDE9FE; --c2: #C4B5FD; --c3: #7C3AED; --c-deep: #4C1D95; }
.afs-accent-orange { --c1: #FFEDD5; --c2: #FDBA74; --c3: #F97316; --c-deep: #9A3412; }
.afs-accent-green { --c1: #DCFCE7; --c2: #86EFAC; --c3: #16A34A; --c-deep: #14532D; }
.afs-accent-navy { --c1: #E0E7FF; --c2: #A5B4FC; --c3: #1E3A8A; --c-deep: #0B1A45; }

/* Oplossingkaarten */
.afs-sol { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--afs-shadow); border: 1px solid rgba(30, 58, 138, .07); transition: transform .2s, box-shadow .2s; }
.afs-sol:hover { transform: translateY(-4px); box-shadow: var(--afs-shadow-lg); }
.afs-sol__top { position: relative; display: block; padding: 22px 26px 28px; background: radial-gradient(160px 120px at 85% 15%, rgba(255, 255, 255, .8), transparent 70%), linear-gradient(160deg, var(--c1) 0%, var(--c2) 140%); }
.afs-laptop--card { width: 86%; margin-left: auto; }
.afs-laptop--card .afs-laptop__lid { border-radius: 10px 10px 4px 4px; padding: 2.4% 2.4% 2.8%; box-shadow: 0 20px 30px -18px rgba(15, 23, 42, .6); }
.afs-laptop--card .afs-laptop__base { border-radius: 0 0 10px 10px / 0 0 60% 60%; }
.afs-sol__icon { position: absolute; left: 22px; bottom: -26px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c2), var(--c3)); box-shadow: 0 0 0 5px #fff, 0 12px 24px -10px var(--c3); z-index: 2; }
.afs-sol__body { padding: 38px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.afs-sol__title { font-size: 1.32rem; margin: 0 0 8px; }
.afs-sol__title a { color: var(--c-deep); text-decoration: none; }
.afs-sol__body p { color: var(--afs-muted); font-size: .97rem; margin: 0 0 20px; flex: 1; }
.afs-sol .afs-btn { align-self: flex-start; }

/* Softwarekaarten */
.afs-soft { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--afs-shadow); border: 1px solid rgba(30, 58, 138, .07); transition: transform .2s, box-shadow .2s; }
.afs-soft:hover { transform: translateY(-4px); box-shadow: var(--afs-shadow-lg); }
.afs-soft__media { display: block; padding: 22px 22px 0; background: linear-gradient(160deg, var(--c1), #fff 90%); }
.afs-soft__screen { aspect-ratio: 16 / 10.6; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -2px 0 rgba(255, 255, 255, .6) inset, 0 18px 30px -18px rgba(15, 23, 42, .5); border: 1px solid rgba(15, 23, 42, .08); border-bottom: 0; }
.afs-soft__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.afs-soft__head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.afs-soft__logo { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c2), var(--c3)); color: #fff; overflow: hidden; box-shadow: 0 10px 20px -10px var(--c3); }
.afs-soft__logo-img { width: 100%; height: 100%; object-fit: cover; }
.afs-soft__initial { font-family: var(--afs-font-heading); font-weight: 800; font-size: 1.35rem; }
.afs-soft__title { font-size: 1.32rem; margin: 0 0 5px; }
.afs-soft__title a { color: var(--afs-navy); text-decoration: none; }
.afs-soft__text { color: var(--afs-muted); font-size: .97rem; margin: 0 0 14px; }
.afs-soft__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.afs-soft__actions .afs-btn { min-height: 44px; font-size: .93rem; padding: 0 18px; }

.afs-checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.afs-checks li { display: flex; gap: 10px; align-items: flex-start; }
.afs-checks__icon { margin-top: 3px; padding: 3px; width: 20px; height: 20px; border-radius: 50%; background: #DCFCE7; color: #15803D; stroke-width: 3; }
.afs-checks strong { font-weight: 600; color: var(--afs-text); }
.afs-checks small { display: block; color: var(--afs-muted); font-size: .9rem; }
.afs-checks--compact { gap: 7px; font-size: .94rem; }

.afs-softchips { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.afs-softchip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--afs-line); text-decoration: none; color: var(--afs-text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.afs-softchip:hover { border-color: var(--c2); box-shadow: var(--afs-shadow); transform: translateY(-2px); color: var(--afs-text); }
.afs-softchip__logo { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c2), var(--c3)); color: #fff; font-weight: 800; font-family: var(--afs-font-heading); }
.afs-softchip strong { display: block; color: var(--afs-navy); font-family: var(--afs-font-heading); }
.afs-softchip small { display: block; color: var(--afs-muted); font-size: .84rem; line-height: 1.35; }
.afs-softchip > .afs-icon { margin-left: auto; color: var(--afs-orange); }

/* Projectkaarten */
.afs-proj { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--afs-shadow); border: 1px solid rgba(30, 58, 138, .08); transition: transform .2s, box-shadow .2s; }
.afs-proj:hover { transform: translateY(-4px); box-shadow: var(--afs-shadow-lg); }
.afs-proj__top { position: relative; display: block; text-decoration: none; background: linear-gradient(150deg, var(--c-deep) 0%, var(--c3) 120%); padding: 0 0 0; }
.afs-accent-orange .afs-proj__top { background: linear-gradient(150deg, #1E3A8A 0%, #2563EB 130%); }
.afs-accent-purple .afs-proj__top { background: linear-gradient(150deg, #4C1D95 0%, #7C3AED 120%); }
.afs-proj__bar { display: flex; align-items: center; gap: 8px; padding: 13px 14px; color: #fff; min-height: 58px; }
.afs-proj__icon { flex: none; }
.afs-proj__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .14); }
.afs-proj__name { font-family: var(--afs-font-heading); font-weight: 800; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.afs-proj__badge { margin-left: auto; flex: none; max-width: 52%; overflow: hidden; text-overflow: ellipsis; padding: 4px 10px; border-radius: 99px; background: rgba(167, 139, 250, .9); color: #fff; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.afs-accent-green .afs-proj__badge, .afs-accent-blue .afs-proj__badge { background: rgba(99, 102, 241, .95); }
.afs-proj__shot { display: block; margin: 0 14px; aspect-ratio: 16 / 9.6; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, .6); }
.afs-kind { position: absolute; left: 22px; bottom: 12px; padding: 4px 10px; border-radius: 99px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; background: #FEF3C7; color: #92400E; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.afs-kind--demo { background: #E0F2FE; color: #075985; }
.afs-proj__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.afs-proj__title { font-size: 1.22rem; margin: 0 0 6px; }
.afs-proj__title a { color: var(--afs-navy); text-decoration: none; }
.afs-proj__body p { color: var(--afs-muted); font-size: .95rem; margin: 0 0 18px; flex: 1; }

/* Shop (homepage) */
.afs-shop { overflow: hidden; }
.afs-shopcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--afs-shadow); border: 1px solid rgba(30, 58, 138, .07); transition: transform .2s, box-shadow .2s; }
.afs-shopcard:hover { transform: translateY(-4px); box-shadow: var(--afs-shadow-lg); }
.afs-shopcard__top { position: relative; display: block; padding: 26px 30px 30px; background: linear-gradient(160deg, var(--t1), var(--t2)); }
.afs-tint-purple { --t1: #F5F3FF; --t2: #E9E3FF; --t3: #7C3AED; }
.afs-tint-blue { --t1: #EFF6FF; --t2: #DCE9FF; --t3: #2563EB; }
.afs-tint-pink { --t1: #FFF1F5; --t2: #FFE0EA; --t3: #DB2777; }
.afs-tint-orange { --t1: #FFF7ED; --t2: #FFE7CF; --t3: #F97316; }
.afs-tint-green { --t1: #F0FDF4; --t2: #DCFCE7; --t3: #16A34A; }
.afs-shopcard .afs-laptop--card { width: 92%; margin: 0 auto; }
.afs-shopcard__icon { position: absolute; left: 22px; bottom: -22px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--t3); color: #fff; box-shadow: 0 0 0 4px #fff, 0 12px 20px -10px var(--t3); }
.afs-shopcard__body { padding: 32px 26px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.afs-shopcard__title { font-size: 1.28rem; margin: 0 0 6px; }
.afs-shopcard__title a { color: var(--afs-navy); text-decoration: none; }
.afs-shopcard__body p { color: var(--afs-muted); font-size: .95rem; margin: 0 0 14px; flex: 1; }
.afs-shopcard__price { font-weight: 800; color: var(--afs-navy); margin-bottom: 14px; }

/* Cijferbalk */
.afs-stats-wrap { padding: 0 0 clamp(40px, 5vw, 60px); }
.afs-stats { list-style: none; margin: 0; padding: 26px 30px; display: grid; grid-template-columns: repeat(var(--afs-stats, 5), minmax(0, 1fr)); border-radius: 20px; color: #fff; background: radial-gradient(500px 200px at 80% 0, rgba(124, 58, 237, .45), transparent 70%), linear-gradient(120deg, #0B1A45, #1E3A8A); box-shadow: var(--afs-shadow-lg); }
.afs-stats li { display: flex; align-items: center; gap: 14px; padding: 4px 18px; position: relative; }
.afs-stats li + li::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, .18); }
.afs-stats__icon { color: #fff; opacity: .95; }
.afs-stats strong { display: block; font-family: var(--afs-font-heading); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; }
.afs-stats small { display: block; color: #CBD5F5; font-size: .84rem; margin-top: 4px; }

/* CTA */
.afs-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(115deg, #0A1740 0%, #142A73 55%, #4C1D95 100%); padding: clamp(46px, 6vw, 70px) 0; }
.afs-cta__photo { position: absolute; inset: 0; z-index: -2; }
.afs-cta__photo img { width: 100%; height: 100%; object-fit: cover; }
.afs-cta--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 23, 64, .95) 0%, rgba(10, 23, 64, .8) 50%, rgba(10, 23, 64, .2) 100%); }
.afs-cta__bg { position: absolute; inset: 0; z-index: -1; }
.afs-orb--cta1 { width: 380px; height: 380px; right: 10%; top: -120px; background: #F97316; opacity: .3; }
.afs-orb--cta2 { width: 420px; height: 420px; left: 30%; bottom: -260px; background: #2563EB; opacity: .4; }
.afs-cta__mountains { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, transparent, rgba(10, 23, 64, .5)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 300' preserveAspectRatio='none'%3E%3Cpath d='M0 300V180l120-60 110 50 150-110 140 90 120-40 160 100 140-130 130 70 150-60 120 50 100-30v180z' fill='%23ffffff' fill-opacity='.05'/%3E%3Cpath d='M0 300V230l160-50 140 40 170-70 130 60 190-40 150 50 160-60 160 50 180-30v150z' fill='%23ffffff' fill-opacity='.06'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }
.afs-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.afs-cta__title { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin: 0 0 12px; line-height: 1.12; }
.afs-cta__title .afs-accent { display: block; }
.afs-cta__text p { color: #D5DEF2; max-width: 620px; margin: 0; font-size: 1.04rem; }
.afs-cta__action { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none; }
.afs-cta__mail { display: inline-flex; gap: 8px; align-items: center; color: #D5DEF2; text-decoration: none; font-weight: 600; }
.afs-cta__mail:hover { color: #fff; }

/* Paginakop binnenpagina's ---------------------------------------------- */
.afs-page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: radial-gradient(800px 400px at 85% 10%, rgba(124, 58, 237, .35), transparent 60%), linear-gradient(135deg, #0A1740 0%, #12276E 60%, #1B2C86 100%); padding: clamp(40px, 5vw, 64px) 0 clamp(46px, 6vw, 76px); }
.afs-glow { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 65%); }
.afs-page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.afs-page-hero--visual .afs-page-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.afs-page-hero__title { color: #fff; font-size: clamp(2.1rem, 3.8vw, 3.3rem); margin: 14px 0 14px; }
.afs-page-hero__title .afs-accent { color: var(--afs-orange); }
.afs-page-hero__sub { color: #D5DEF2; font-size: 1.12rem; max-width: 680px; margin: 0; }
.afs-page-hero .afs-actions { margin-top: 26px; }
.afs-page-hero__visual { position: relative; }
.afs-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: #B9C6E6; }
.afs-crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.afs-crumbs a { color: #DCE5F8; text-decoration: none; }
.afs-crumbs a:hover { color: #fff; text-decoration: underline; }
.afs-crumbs span[aria-current] { color: #fff; font-weight: 600; }

/* Inhoud (Gutenberg) -------------------------------------------------- */
.afs-prose { max-width: 820px; margin-inline: auto; }
.afs-prose > * + * { margin-top: 1.1em; }
.afs-prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.8em; }
.afs-prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.afs-prose img { border-radius: 14px; }
.afs-prose .alignwide { max-width: 1240px; margin-left: 50%; transform: translateX(-50%); width: min(1240px, 92vw); }
.afs-prose .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.afs-prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--afs-orange); background: var(--afs-soft); border-radius: 0 14px 14px 0; }
.afs-prose table { width: 100%; border-collapse: collapse; }
.afs-prose th, .afs-prose td { padding: 10px 12px; border-bottom: 1px solid var(--afs-line); text-align: left; }
.afs-prose .wp-block-button__link { border-radius: 12px; font-weight: 700; }
.afs-prose .wp-block-details { margin-block: 12px; }
.afs-prose .wp-block-details summary { font-weight: 700; cursor: pointer; color: var(--afs-navy); }
.afs-legal-note { padding: 14px 18px; border-radius: 12px; background: #FFF7ED; border: 1px solid #FED7AA; }
.afs-page { padding: clamp(40px, 6vw, 72px) 0; }
.wp-block-image figcaption, .wp-caption-text { font-size: .88rem; color: var(--afs-muted); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }

/* Detailpagina's (software, project, dienst) ------------------------------ */
.afs-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.afs-detail__aside { position: sticky; top: calc(var(--afs-header-h) + 20px); display: grid; gap: 18px; }
.afs-box { background: #fff; border: 1px solid var(--afs-line); border-radius: 18px; padding: 22px; box-shadow: var(--afs-shadow); }
.afs-box h2, .afs-box h3 { font-size: 1.08rem; margin: 0 0 12px; }
.afs-box--navy { background: linear-gradient(140deg, #0B1A45, #1E3A8A); color: #fff; border: 0; }
.afs-box--navy h2, .afs-box--navy h3 { color: #fff; }
.afs-box--navy p { color: #D5DEF2; }
.afs-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.afs-facts li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--afs-line); }
.afs-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.afs-facts span { color: var(--afs-muted); }
.afs-facts strong { text-align: right; color: var(--afs-navy); }
.afs-box .afs-btn { width: 100%; margin-top: 10px; }
.afs-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.afs-feature-grid li { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--afs-soft); border: 1px solid var(--afs-line); }
.afs-feature-grid .afs-icon { color: var(--afs-blue); margin-top: 2px; }
.afs-feature-grid strong { display: block; color: var(--afs-navy); }
.afs-feature-grid small { display: block; color: var(--afs-muted); font-size: .9rem; margin-top: 2px; }
.afs-block-title { font-size: 1.6rem; margin: 46px 0 18px; }
.afs-block-title:first-child { margin-top: 0; }
.afs-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.afs-gallery a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--afs-line); box-shadow: var(--afs-shadow); }
.afs-gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .3s; }
.afs-gallery a:hover img { transform: scale(1.03); }
.afs-showcase { position: relative; padding-bottom: 6%; }
.afs-showcase .afs-laptop { width: 88%; }
.afs-showcase__phone { position: absolute; right: 0; bottom: 0; width: 24%; }
.afs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: step; }
.afs-steps li { position: relative; padding: 22px 18px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--afs-line); box-shadow: var(--afs-shadow); counter-increment: step; }
.afs-steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #FB923C, #F97316); color: #fff; font-weight: 800; margin-bottom: 12px; }
.afs-steps strong { display: block; color: var(--afs-navy); font-family: var(--afs-font-heading); }
.afs-steps small { color: var(--afs-muted); font-size: .92rem; }
.afs-techs { display: flex; flex-wrap: wrap; gap: 8px; }
.afs-techs span { padding: 6px 12px; border-radius: 10px; background: var(--afs-light-blue); color: var(--afs-dark-blue); font-weight: 700; font-size: .88rem; }
.afs-faq details { border: 1px solid var(--afs-line); border-radius: 14px; padding: 14px 18px; background: #fff; }
.afs-faq details + details { margin-top: 10px; }
.afs-faq summary { cursor: pointer; font-weight: 700; color: var(--afs-navy); }
.afs-notice { display: flex; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #FFF7ED; border: 1px solid #FED7AA; color: #7C2D12; }
.afs-quote-band { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; border-radius: 20px; color: #fff; background: radial-gradient(400px 200px at 90% 0, rgba(249, 115, 22, .35), transparent 70%), linear-gradient(120deg, #0B1A45, #1E3A8A); }
.afs-quote-band h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.afs-quote-band p { color: #D5DEF2; margin: 0; }

/* Archieven en filters ---------------------------------------------------- */
.afs-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--afs-line); box-shadow: var(--afs-shadow); }
.afs-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.afs-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--afs-line); background: #fff; color: var(--afs-text); font-weight: 600; font-size: .92rem; text-decoration: none; cursor: pointer; transition: .15s; }
.afs-chip:hover { border-color: var(--afs-blue); color: var(--afs-blue); }
.afs-chip.is-active, .afs-chip[aria-pressed="true"] { background: var(--afs-navy); border-color: var(--afs-navy); color: #fff; }
.afs-filters__search { display: flex; gap: 8px; flex: 1 1 260px; max-width: 380px; }
.afs-filters__search input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1.5px solid var(--afs-line); padding: 0 14px; background: var(--afs-soft); }
.afs-filters__search input:focus { outline: 0; border-color: var(--afs-blue); background: #fff; }
.afs-filters select { height: 44px; border-radius: 12px; border: 1.5px solid var(--afs-line); padding: 0 12px; background: #fff; }
.afs-count { color: var(--afs-muted); font-size: .92rem; margin: -10px 0 18px; }
.afs-empty { text-align: center; padding: 50px 20px; border-radius: 20px; background: var(--afs-soft); color: var(--afs-muted); }
.afs-pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.afs-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--afs-line); text-decoration: none; color: var(--afs-text); font-weight: 700; }
.afs-pagination .page-numbers.current { background: var(--afs-navy); color: #fff; border-color: var(--afs-navy); }

/* Blog */
.afs-post { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--afs-line); box-shadow: var(--afs-shadow); transition: transform .2s, box-shadow .2s; }
.afs-post:hover { transform: translateY(-3px); box-shadow: var(--afs-shadow-lg); }
.afs-post__media img, .afs-post__ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.afs-post__ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--afs-light-blue), #EDE9FE); color: var(--afs-dark-blue); }
.afs-post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.afs-post__meta { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--afs-muted); margin-bottom: 10px; }
.afs-post__title { font-size: 1.2rem; margin: 0 0 8px; }
.afs-post__title a { color: var(--afs-navy); text-decoration: none; }
.afs-post__body p { color: var(--afs-muted); font-size: .95rem; flex: 1; }
.afs-article__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: #D5DEF2; font-size: .95rem; margin-top: 10px; }
.afs-article__image { margin: -40px auto 30px; max-width: 1000px; border-radius: 20px; overflow: hidden; box-shadow: var(--afs-shadow-lg); position: relative; z-index: 2; }
.afs-article__image img { width: 100%; }
.afs-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; }
.afs-postnav a { display: block; padding: 18px; border-radius: 14px; border: 1px solid var(--afs-line); text-decoration: none; }
.afs-postnav small { display: block; color: var(--afs-muted); }
.afs-postnav strong { color: var(--afs-navy); }
.afs-postnav .is-next { text-align: right; }

/* 404 */
.afs-404 { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.afs-404__code { font-family: var(--afs-font-heading); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; background: linear-gradient(135deg, #2563EB, #7C3AED 50%, #F97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.afs-404 .afs-searchform { max-width: 520px; margin: 26px auto; }
.afs-404 .afs-actions { justify-content: center; }

/* Widgets / reacties */
.afs-widget { margin-bottom: 26px; }
.afs-widget__title { font-size: 1.05rem; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 18px; border: 1px solid var(--afs-line); border-radius: 14px; margin-bottom: 12px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; border: 1.5px solid var(--afs-line); border-radius: 12px; padding: 12px 14px; }
.comment-form .submit { background: var(--afs-orange); color: #fff; border: 0; border-radius: 12px; padding: 12px 22px; font-weight: 700; cursor: pointer; }

/* Footer ------------------------------------------------------------------ */
.afs-footer { position: relative; isolation: isolate; overflow: hidden; color: #C9D4EE; background: linear-gradient(180deg, #0A1740 0%, #081232 100%); padding-top: clamp(50px, 6vw, 72px); margin-top: auto; }
.afs-glow--footer { mask-image: radial-gradient(ellipse at 10% 0%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 10% 0%, #000 0%, transparent 60%); }
.afs-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 34px; padding-bottom: 44px; }
.afs-footer__brand p { margin: 18px 0 18px; font-size: .95rem; max-width: 340px; }
.afs-footer__title { color: #fff; font-size: 1rem; margin: 6px 0 16px; }
.afs-footer__menu, .afs-footer__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
.afs-footer a { color: #C9D4EE; text-decoration: none; }
.afs-footer a:hover { color: #fff; text-decoration: underline; }
.afs-footer__info li { display: flex; gap: 10px; align-items: center; }
.afs-footer__info .afs-icon { color: var(--afs-orange); }
.afs-footer__contact .afs-btn { margin-top: 18px; color: #fff; text-decoration: none; }
.afs-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.afs-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s, transform .15s; }
.afs-social a:hover { background: var(--afs-orange); transform: translateY(-2px); text-decoration: none; }
.afs-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: .88rem; }
.afs-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.afs-footer__bottom p { margin: 0; }
.afs-legal__menu { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.afs-totop { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.afs-logo.afs-logo--footer .afs-logo__mark { height: 48px; width: auto; }
.afs-logo--footer .afs-logo__name { font-size: 1.5rem; }

/* Animaties (alleen als de bezoeker geen beperkte beweging wil) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.afs-js .afs-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
	.afs-js .afs-reveal.is-visible { opacity: 1; transform: none; }
	.afs-devices__phone { animation: afs-float 6s ease-in-out infinite; }
	.afs-devices__tablet { animation: afs-float2 7s ease-in-out infinite; }
	@keyframes afs-float { 0%, 100% { transform: translateX(-38%) rotate(-2deg) translateY(0); } 50% { transform: translateX(-38%) rotate(-2deg) translateY(-10px); } }
	@keyframes afs-float2 { 0%, 100% { transform: perspective(1400px) rotateY(-12deg) translateY(0); } 50% { transform: perspective(1400px) rotateY(-12deg) translateY(-8px); } }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* Responsief --------------------------------------------------------------- */
@media (max-width: 1440px) {
	.afs-menu > li > a { padding: 10px 8px; font-size: .93rem; }
	.afs-header__inner { gap: 14px; }
	.afs-logo__name { font-size: 1.45rem; }
}
@media (max-width: 1400px) {
	.afs-header__tools .afs-iconbtn.afs-hide-sm { display: none; }
}
@media (max-width: 1320px) {
	.afs-header__cta { display: none; }
}
@media (max-width: 1180px) {
	:root { --afs-header-h: 70px; }
	.afs-burger { display: inline-flex; }
	.afs-header__cta { display: none; }
	.afs-nav { position: fixed; inset: var(--afs-header-h) 0 0 auto; width: min(420px, 100vw); margin: 0; padding: 18px 18px 30px; background: #0A1740; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .6); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; z-index: 99; }
	.admin-bar .afs-nav { top: calc(var(--afs-header-h) + 32px); }
	.afs-nav.is-open { transform: none; visibility: visible; }
	.afs-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.afs-menu > li { flex-wrap: wrap; }
	.afs-menu > li > a { flex: 1; padding: 14px 12px; font-size: 1.05rem; }
	.afs-menu > li.current-menu-item > a, .afs-menu > li.current-menu-ancestor > a { box-shadow: inset 3px 0 0 var(--afs-orange); border-radius: 9px; }
	.afs-sub-toggle { width: 48px; height: 48px; margin: 0; color: #fff; background: rgba(255, 255, 255, .06); }
	.afs-sub-toggle[aria-expanded="true"] .afs-icon { transform: rotate(180deg); }
	.afs-menu .sub-menu { position: static; width: 100%; min-width: 0; padding: 4px 0 8px 12px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.afs-menu > li.is-open > .sub-menu { display: block; }
	.afs-menu > li:hover > .sub-menu { display: none; }
	.afs-menu > li.is-open:hover > .sub-menu { display: block; }
	.afs-menu .sub-menu a { color: #D5DEF2; padding: 11px 12px; }
	.afs-menu .sub-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
	.afs-nav__mobile-extra { display: block; margin-top: 20px; }
	body.afs-menu-open { overflow: hidden; }
	.afs-hero__inner { grid-template-columns: 1fr; gap: 26px; padding-bottom: 80px; }
	.afs-hero__text { max-width: 760px; }
	.afs-hero__visual { min-height: 0; max-width: 760px; width: 100%; }
	.afs-usp { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
	.afs-usp li:nth-child(4)::before { display: none; }
	.afs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-footer__grid { grid-template-columns: repeat(3, 1fr); }
	.afs-footer__brand { grid-column: 1 / -1; }
	.afs-detail { grid-template-columns: 1fr; }
	.afs-detail__aside { position: static; }
	.afs-page-hero--visual .afs-page-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.afs-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
	.afs-stats li:nth-child(4)::before { display: none; }
}
@media (max-width: 900px) {
	.afs-softchips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-section-head--action { grid-template-columns: 1fr; text-align: center; }
	.afs-section-head--action .afs-section-head__text, .afs-section-head--action .afs-btn { grid-column: 1; justify-self: center; }
	.afs-cta__inner { flex-direction: column; align-items: flex-start; }
	.afs-cta__action { align-items: flex-start; }
	.afs-quote-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) {
	.admin-bar .afs-header { top: 46px; }
	.admin-bar .afs-nav { top: calc(var(--afs-header-h) + 46px); }
}
@media (max-width: 700px) {
	body { font-size: 1rem; }
	.afs-container { padding-inline: 18px; }
	.afs-hide-sm { display: none; }
	.afs-logo .afs-logo__mark { height: 40px; }
	.afs-header__inner { gap: 8px; }
	.afs-logo { min-width: 0; flex: 1 1 auto; gap: 8px; }
	.afs-logo__text { min-width: 0; }
	.afs-logo__tagline { overflow: hidden; text-overflow: ellipsis; }
	.afs-header__tools { margin-left: auto; }
	.afs-burger { width: 42px; height: 42px; }
	.afs-logo__name { font-size: 1.28rem; }
	.afs-logo__tagline { font-size: .66rem; }
	.afs-iconbtn { width: 38px; height: 38px; }
	.afs-hero { padding-top: 34px; }
	.afs-hero__title { font-size: clamp(2.2rem, 10vw, 2.9rem); }
	.afs-hero__lead { font-size: 1.04rem; }
	.afs-hero .afs-actions .afs-btn { width: 100%; }
	.afs-hero__checks { gap: 8px 18px; font-size: .95rem; }
	.afs-usp { grid-template-columns: 1fr 1fr; padding: 16px 12px; }
	.afs-usp li { padding: 8px 10px; }
	.afs-usp li::before { display: none; }
	.afs-usp li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.afs-grid--4, .afs-grid--3, .afs-grid--2, .afs-softchips { grid-template-columns: 1fr; }
	.afs-stats { grid-template-columns: 1fr 1fr; padding: 20px 14px; }
	.afs-stats li { padding: 6px 8px; }
	.afs-stats li::before { display: none; }
	.afs-stats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.afs-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
	.afs-feature-grid, .afs-gallery { grid-template-columns: 1fr; }
	.afs-postnav { grid-template-columns: 1fr; }
	.afs-filters { flex-direction: column; align-items: stretch; }
	.afs-filters__search { max-width: none; }
	.afs-totop { margin-left: 0; }
	.afs-section-title { font-size: clamp(1.65rem, 7vw, 2.1rem); }
}
@media (max-width: 380px) {
	.afs-logo__tagline { display: none; }
	.afs-logo__name { font-size: 1.12rem; }
	.afs-logo .afs-logo__mark { height: 34px; }
	.afs-usp { grid-template-columns: 1fr; }
	.afs-usp li:last-child:nth-child(odd) { grid-column: auto; }
	.afs-footer__grid { grid-template-columns: 1fr; }
	.afs-stats { grid-template-columns: 1fr; }
	.afs-btn--lg { padding: 0 18px; }
	.afs-header__tools { gap: 0; }
}

/* Afdrukken */
@media print {
	.afs-header, .afs-footer, .afs-cta, .afs-filters { display: none !important; }
	.afs-page-hero, .afs-hero { background: none !important; color: #000 !important; }
	.afs-page-hero__title, .afs-hero__title { color: #000 !important; }
}
.afs-prose--wide { max-width: var(--afs-container); }
.afs-landing > *:not(.alignfull) { max-width: var(--afs-container); margin-inline: auto; padding-inline: 24px; }

/* Lange Nederlandse samenstellingen netjes afbreken op smalle schermen */
h1, h2, h3, .afs-usp strong, .afs-usp small, .afs-stats small, .afs-softchip small { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 1180px) { h1, h2, h3, .afs-usp strong, .afs-usp small, .afs-stats small, .afs-softchip small { hyphens: auto; } }
.afs-usp strong, .afs-usp small, .afs-stats small { hyphens: auto; }
.afs-usp li, .afs-stats li, .afs-usp li > span, .afs-stats li > span { min-width: 0; }
.afs-filters > div, .afs-filters__search .afs-searchform { min-width: 0; max-width: 100%; }
.afs-filters__search .afs-searchform { flex: 1; }
@media (max-width: 480px) {
	.afs-searchform .afs-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.afs-searchform .afs-btn { padding: 0 14px; }
	.afs-usp, .afs-stats { grid-template-columns: 1fr; }
	.afs-usp li:last-child:nth-child(odd), .afs-stats li:last-child:nth-child(odd) { grid-column: auto; }
}
.afs-filters__search { min-width: 0; }
.afs-filters__search input, .afs-searchform input[type=search] { width: 0; }
@media (max-width: 700px) { .afs-filters__search { width: 100%; flex: none; } }
@media (max-width: 380px) { .afs-page-hero .afs-actions .afs-btn { width: 100%; white-space: normal; text-align: center; } }

/* Gutenberg-blokken in de huisstijl -------------------------------------- */
.afs-prose .wp-block-columns { gap: 28px; margin-block: 1.6em; }
.afs-prose .wp-block-column > :first-child { margin-top: 0; }
.afs-prose .wp-block-group.has-background, .afs-prose .wp-block-column.has-background { padding: clamp(20px, 3vw, 34px); border-radius: var(--afs-radius); }
.afs-prose .wp-block-button__link { background: linear-gradient(135deg, #FB923C 0%, var(--afs-orange) 45%, var(--afs-orange-hover) 100%); color: #fff; padding: 14px 24px; box-shadow: 0 14px 28px -14px rgba(249, 115, 22, .95); text-decoration: none; }
.afs-prose .wp-block-button__link:hover { background: var(--afs-orange-hover); color: #fff; }
.afs-prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--afs-dark-blue); border: 1.5px solid #C9D6EE; box-shadow: none; }
.afs-prose .is-style-outline .wp-block-button__link:hover { color: var(--afs-orange-hover); border-color: var(--afs-orange); }
.afs-prose .wp-block-buttons { gap: 12px; }
.afs-prose .wp-block-gallery { gap: 14px; }
.afs-prose .wp-block-gallery img, .afs-prose .wp-block-image img, .afs-prose .wp-block-media-text__media img { border-radius: 14px; }
.afs-prose .wp-block-table { overflow-x: auto; }
.afs-prose .wp-block-table table { border: 1px solid var(--afs-line); border-radius: 14px; overflow: hidden; }
.afs-prose .wp-block-table thead th, .afs-prose table thead th { background: var(--afs-soft); color: var(--afs-navy); font-family: var(--afs-font-heading); }
.afs-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--afs-soft); }
.afs-prose .wp-block-cover { border-radius: var(--afs-radius); overflow: hidden; padding: clamp(32px, 5vw, 64px); }
.afs-prose .wp-block-cover.alignfull { border-radius: 0; }
.afs-prose .wp-block-cover h1, .afs-prose .wp-block-cover h2, .afs-prose .wp-block-cover h3 { color: #fff; }
.afs-prose .wp-block-embed iframe, .afs-prose .wp-block-video video { width: 100%; border-radius: 14px; }
.afs-prose .wp-block-embed__wrapper { position: relative; }
.afs-prose .wp-block-separator { border: 0; border-top: 1px solid var(--afs-line); margin-block: 2.2em; }
.afs-prose .wp-block-separator.is-style-dots { border: 0; }
.afs-prose .wp-block-quote, .afs-prose .wp-block-pullquote { border-left: 4px solid var(--afs-orange); background: var(--afs-soft); border-radius: 0 14px 14px 0; padding: 18px 22px; }
.afs-prose .wp-block-pullquote { border-left: 0; border-top: 4px solid var(--afs-orange); border-radius: 14px; text-align: center; }
.afs-prose .wp-block-media-text { gap: 28px; }
.afs-prose .wp-block-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.afs-prose .wp-block-file__button { background: var(--afs-navy); color: #fff; border-radius: 10px; padding: 8px 14px; text-decoration: none; }
.afs-prose .wp-block-code, .afs-prose pre { background: #0B1A45; color: #E6ECFA; padding: 18px; border-radius: 14px; overflow-x: auto; }
.afs-prose .wp-block-details { border: 1px solid var(--afs-line); border-radius: 14px; padding: 14px 18px; background: #fff; }
.afs-prose .wp-block-details[open] summary { color: var(--afs-orange-hover); margin-bottom: 8px; }
.afs-prose .has-text-align-center { text-align: center; }
.afs-prose iframe { max-width: 100%; }
.afsc-landing-page > .wp-block-html, .afsc-landing-page { overflow-x: clip; }

/* Taalkeuze met vlaggen ---------------------------------------------------- */
.afs-flag { display: block; flex: none; width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); overflow: hidden; }
.afs-lang { position: relative; margin-right: 4px; }
.afs-lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 11px; background: rgba(255, 255, 255, .06); color: #fff; font: 700 .82rem/1 var(--afs-font-body); letter-spacing: .04em; cursor: pointer; transition: background .15s, border-color .15s; }
.afs-lang__btn:hover, .afs-lang__btn[aria-expanded="true"] { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.afs-lang__btn .afs-icon { opacity: .8; transition: transform .2s; }
.afs-lang__btn[aria-expanded="true"] .afs-icon { transform: rotate(180deg); }
.afs-lang__list { position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; min-width: 210px; max-height: min(70vh, 520px); overflow-y: auto; margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -18px rgba(11, 26, 69, .45), 0 0 0 1px rgba(11, 26, 69, .06); }
.afs-lang__list[hidden] { display: none; }
.afs-lang__list a, .afs-langs-mobile a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: var(--afs-text); font-weight: 600; font-size: .94rem; text-decoration: none; }
.afs-lang__list a:hover, .afs-lang__list a:focus-visible { background: var(--afs-soft); color: var(--afs-navy); }
.afs-lang__list a.is-current { background: #E0F2FE; color: var(--afs-dark-blue); }
.afs-lang__list a.is-current::after { content: "✓"; margin-left: auto; color: var(--afs-orange-hover); font-weight: 800; }
.afs-lang__list .afs-flag { box-shadow: 0 0 0 1px rgba(11, 26, 69, .12); }
.afs-langs-mobile { margin-bottom: 18px; }
.afs-langs-mobile__title { margin: 0 0 8px; color: #9FB0D6; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.afs-langs-mobile ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.afs-langs-mobile a { color: #E6ECFA; background: rgba(255, 255, 255, .05); padding: 10px 11px; font-size: .92rem; }
.afs-langs-mobile a.is-current { background: rgba(249, 115, 22, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(249, 115, 22, .5); }
@media (max-width: 1180px) { .afs-lang { display: none; } }
@media (min-width: 1181px) { .afs-langs-mobile { display: none; } }

/* Header iets breder dan de inhoud, zodat menu, taalkeuze en knop naast elkaar passen */
.afs-header > .afs-container.afs-header__inner { max-width: 1440px; }
.afs-lang__code { display: none; }
.afs-lang__btn { padding: 0 9px; gap: 6px; }
/* Lange ondertitel bij het logo (bijv. in andere talen) mag de header niet breder maken */
.afs-header .afs-logo__tagline { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
