/* 1.76.554: homepage v2 (parts/home-v2.php). Rustig, rigide raster, haarlijnen, mono-cijfers, alleen #7643c8 als accent. */

/* --- Hero: tekst links, ingelijste video rechts (geen tekst over bewegende video) --- */
.nsl-hv-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); overflow: hidden; }
.nsl-hv-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%); mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%); opacity: .5; }
.nsl-hv-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.nsl-hv-hero__h { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.04em; margin: 0 0 22px; }
.nsl-hv-accent { color: #7643c8; }
.nsl-hv-hero__text .nsl-lead { max-width: 560px; margin: 0 0 28px; }
.nsl-hv-hero__search { max-width: 600px; }
.nsl-hv-hero__search .nsl-dsearch__why { display: none; }
.nsl-hv-hero__facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: 600px; }
.nsl-hv-hero__facts li { display: inline-flex; align-items: baseline; gap: 8px; font-size: .92rem; color: var(--muted); }
.nsl-hv-hero__facts em { font: 600 .82rem/1 var(--f-mono); font-style: normal; color: var(--text); }
.nsl-hv-hero__facts small { color: var(--dim); }
.nsl-hv-hero__trust { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.nsl-hv-hero__trust img { height: auto; }

.nsl-hv-frame { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px -40px rgba(118, 67, 200, .35); }
.nsl-hv-frame__video, .nsl-hv-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nsl-hv-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,16,.55) 0, transparent 22%, transparent 62%, rgba(15,15,16,.9) 100%); pointer-events: none; }
.nsl-hv-frame__bar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(15,15,16,.6); backdrop-filter: blur(8px); }
.nsl-hv-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.nsl-hv-frame__bar span { margin-left: 8px; font: 500 .76rem/1 var(--f-mono); color: var(--muted); }
.nsl-hv-frame__stats { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(15,15,16,.72); backdrop-filter: blur(8px); }
.nsl-hv-frame__stats li { padding: 14px 16px; display: grid; gap: 4px; }
.nsl-hv-frame__stats li + li { border-left: 1px solid var(--line); }
.nsl-hv-frame__stats em { font: 600 .95rem/1 var(--f-display); font-style: normal; }
.nsl-hv-frame__stats span { font: 500 .74rem/1.2 var(--f-mono); color: var(--muted); }

/* --- Gedeeld --- */
.nsl-hv-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.nsl-hv-list li { position: relative; padding-left: 22px; line-height: 1.5; color: var(--text); }
.nsl-hv-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: #7643c8; }
.nsl-hv-price { margin: 0 0 22px; color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.nsl-hv-price .nsl-hv-num { font: 600 1.5rem/1 var(--f-mono); color: var(--text); letter-spacing: -.02em; }
.nsl-hv-price small { flex-basis: 100%; color: var(--dim); font-size: .84rem; }

/* --- Drie ingangen (tabs) --- */
.nsl-hv-tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; overflow: hidden; }
.nsl-hv-tabs__list button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 20px 22px; position: relative; transition: background .2s var(--ease); }
.nsl-hv-tabs__list button + button { border-left: 1px solid var(--line); }
.nsl-hv-tabs__list button em { grid-row: span 2; font: 600 .8rem/1.6 var(--f-mono); font-style: normal; color: var(--dim); }
.nsl-hv-tabs__list button b { font: 600 1.12rem/1.3 var(--f-display); color: var(--muted); transition: color .2s; }
.nsl-hv-tabs__list button span { font-size: .88rem; color: var(--dim); }
.nsl-hv-tabs__list button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #7643c8; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nsl-hv-tabs__list button:hover { background: rgba(255,255,255,.025); }
.nsl-hv-tabs__list button:hover b { color: var(--text); }
.nsl-hv-tabs__list button[aria-selected="true"] { background: var(--bg-2); }
.nsl-hv-tabs__list button[aria-selected="true"] b { color: var(--text); }
.nsl-hv-tabs__list button[aria-selected="true"] em { color: #7643c8; }
.nsl-hv-tabs__list button[aria-selected="true"]::after { transform: scaleX(1); }
.nsl-hv-tabs__list button:focus-visible { outline: 2px solid #7643c8; outline-offset: -2px; }
.nsl-hv-tabs__panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--bg-2); animation: nsl-hv-in .35s var(--ease); }
@keyframes nsl-hv-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.nsl-hv-tabs__copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 12px; }
.nsl-hv-tabs__copy > p { color: var(--muted); margin: 0 0 20px; }
.nsl-hv-tabs__shot { margin: 0; position: relative; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg); aspect-ratio: 14 / 9; }
.nsl-hv-tabs__shot img, .nsl-hv-tabs__shot video { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.nsl-hv-tabs__shot figcaption, .nsl-hv-edge__shot figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: 6px; background: rgba(15,15,16,.82); font: 500 .72rem/1 var(--f-mono); color: var(--muted); }

/* --- Pakketten --- */
.nsl-hv-plans__more { margin: 26px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }

/* --- Netslim Edge --- */
.nsl-hv-edge { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nsl-hv-edge::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 0%, rgba(118, 67, 200, .14), transparent 70%); }
.nsl-hv-edge__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.nsl-hv-edge__text .nsl-lead { margin-bottom: 26px; }
.nsl-hv-edge__check .nsl-sitecheck__hint { font-size: .88rem; }
.nsl-hv-edge__shot { margin: 0; position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 14 / 9; background: var(--bg-2); transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transition: transform .6s var(--ease); }
.nsl-hv-edge__shot:hover { transform: none; }
.nsl-hv-edge__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.nsl-hv-edge__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.nsl-hv-edge__steps > div { display: grid; gap: 8px; align-content: start; padding: 22px 22px 6px 0; }
.nsl-hv-edge__steps > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.nsl-hv-edge__steps em { font: 600 .78rem/1 var(--f-mono); font-style: normal; color: #7643c8; }
.nsl-hv-edge__steps b { font: 600 1.02rem/1.3 var(--f-display); }
.nsl-hv-edge__steps span { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.nsl-hv-tiers { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(36px, 4vw, 56px); }
.nsl-hv-tier { display: grid; align-content: start; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); transition: border-color .25s, transform .25s var(--ease); }
.nsl-hv-tier:hover { border-color: var(--line-2); transform: translateY(-2px); }
.nsl-hv-tier.is-pro { border-color: rgba(118, 67, 200, .55); }
.nsl-hv-tier__for { margin: 0; font: 600 .78rem/1 var(--f-mono); color: var(--muted); }
.nsl-hv-tier h3 { font-size: 1.5rem; margin: 6px 0 0; }
.nsl-hv-tier > p:not([class]) { color: var(--muted); margin: 0 0 12px; }
.nsl-hv-tier .nsl-btn { justify-self: start; }

/* --- Game Developer --- */
.nsl-hv-rbx__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.nsl-hv-rbx__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nsl-hv-rbx__media figure { margin: 0; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); }
.nsl-hv-rbx__media figure.is-main { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.nsl-hv-rbx__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nsl-hv-rbx__media figure:hover img { transform: scale(1.03); }

/* --- Grote organisaties --- */
.nsl-hv-ent__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.nsl-hv-ent__rows { border-top: 1px solid var(--line); }
.nsl-hv-ent__rows a { display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto auto; column-gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .25s var(--ease); }
.nsl-hv-ent__rows a:hover { background: rgba(255,255,255,.025); padding-left: 12px; }
.nsl-hv-ent__rows em { grid-row: span 2; font: 600 .8rem/1.6 var(--f-mono); font-style: normal; color: #7643c8; }
.nsl-hv-ent__rows b { font: 600 1.08rem/1.35 var(--f-display); }
.nsl-hv-ent__rows span { color: var(--muted); font-size: .94rem; }

/* --- Slot --- */
.nsl-hv-close { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.nsl-hv-close__grid { display: grid; justify-items: center; text-align: center; gap: 18px; }
.nsl-hv-close__grid .nsl-h2 { margin: 0; }
.nsl-hv-close__search { width: 100%; max-width: 640px; }

/* --- 1.76.584: Veilig blijven (video's van de oude homepage, tekst onder het beeld) --- */
.nsl-hv-threat__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.nsl-hv-threat__head .nsl-h2 { margin: 10px 0 12px; }
.nsl-hv-threat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.nsl-hv-threat__card { display: flex; flex-direction: column; min-width: 0; }
.nsl-hv-threat__media { position: relative; display: block; aspect-ratio: 16 / 11; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.nsl-hv-threat__media video, .nsl-hv-people__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nsl-hv-threat__card:hover .nsl-hv-threat__media video { transform: scale(1.04); }
.nsl-hv-threat__tag { display: flex; align-items: center; gap: 10px; margin: 18px 0 6px; font: 500 .78rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nsl-hv-threat__tag span { color: #7643c8; }
.nsl-hv-threat__card h3 { margin: 0 0 8px; font: 600 1.2rem/1.3 var(--f-display); }
.nsl-hv-threat__card > p:not(.nsl-hv-threat__tag) { margin: 0 0 14px; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.nsl-hv-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--text); text-decoration: none; }
.nsl-hv-more svg { transition: transform .2s var(--ease); }
.nsl-hv-more:hover svg { transform: translateX(3px); }

/* --- 1.76.584: Mensen --- */
.nsl-hv-people__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.nsl-hv-people__main { margin: 0; position: sticky; top: calc(var(--header-h, 72px) + 24px); }
.nsl-hv-people__frame, .nsl-hv-people__main > picture { position: relative; display: block; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.nsl-hv-people__main .nsl-hv-people__frame, .nsl-hv-people__main > picture { aspect-ratio: 4 / 5; }
.nsl-hv-people__main > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nsl-hv-people__main.is-sharp .nsl-hv-people__frame { display: none; }
.nsl-hv-people__grid figcaption { padding-top: 14px; }
.nsl-hv-people__grid figcaption b { display: block; font: 600 1.05rem/1.3 var(--f-display); }
.nsl-hv-people__grid figcaption span { color: var(--muted); font-size: .92rem; }
.nsl-hv-people__side .nsl-h2 { margin: 10px 0 12px; }
.nsl-hv-people__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(24px, 3vw, 36px) 0; }
.nsl-hv-people__tiles figure { margin: 0; min-width: 0; }
.nsl-hv-people__tiles .nsl-hv-people__frame { aspect-ratio: 3 / 4; }
.nsl-hv-people__tiles figure:hover video { transform: scale(1.04); }
.nsl-hv-people__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

/* --- 1.76.584: Slot met video ernaast --- */
.nsl-hv-close__wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.nsl-hv-close__wrap .nsl-hv-close__grid { justify-items: start; text-align: left; }
.nsl-hv-close__media { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.nsl-hv-close__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
	.nsl-hv-threat__grid { grid-template-columns: minmax(0, 1fr); }
	.nsl-hv-threat__card { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 16px; }
	.nsl-hv-threat__media { grid-row: span 4; aspect-ratio: 4 / 5; }
	.nsl-hv-threat__tag { margin-top: 0; }
	.nsl-hv-people__grid, .nsl-hv-close__wrap { grid-template-columns: minmax(0, 1fr); }
	.nsl-hv-people__main { position: static; }
	.nsl-hv-people__main .nsl-hv-people__frame, .nsl-hv-people__main > picture { aspect-ratio: 4 / 4; }
	.nsl-hv-close__wrap .nsl-hv-close__grid { justify-items: center; text-align: center; }
	.nsl-hv-close__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
	.nsl-hv-people__tiles { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.nsl-hv-people__tiles figure { scroll-snap-align: start; }
	.nsl-hv-threat__card { grid-template-columns: minmax(0, 1fr); }
	.nsl-hv-threat__media { grid-row: auto; aspect-ratio: 16 / 10; }
	.nsl-hv-threat__tag { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .nsl-hv-threat__media video, .nsl-hv-people__frame video { transition: none; } }

/* --- Mobiel --- */
@media (max-width: 980px) {
	.nsl-hv-hero__grid, .nsl-hv-tabs__panel, .nsl-hv-edge__grid, .nsl-hv-rbx__grid, .nsl-hv-ent__grid { grid-template-columns: minmax(0, 1fr); }
	.nsl-hv-hero__grid > *, .nsl-hv-edge__grid > *, .nsl-hv-rbx__grid > *, .nsl-hv-ent__grid > *, .nsl-hv-tabs__panel > * { min-width: 0; }
	.nsl-hv-frame { aspect-ratio: 16 / 11; }
	.nsl-hv-edge__steps { grid-template-columns: 1fr 1fr; }
	.nsl-hv-edge__steps > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.nsl-hv-edge__steps > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.nsl-hv-edge__shot { transform: none; }
}
@media (max-width: 640px) {
	.nsl-hv-tabs__list { grid-template-columns: 1fr; }
	.nsl-hv-tabs__list button + button { border-left: 0; border-top: 1px solid var(--line); }
	.nsl-hv-tabs__list button { padding: 16px 18px; }
	.nsl-hv-tabs__panel { padding: 22px 18px; }
	.nsl-hv-tiers, .nsl-hv-edge__steps { grid-template-columns: 1fr; }
	.nsl-hv-edge__steps > div, .nsl-hv-edge__steps > div + div { padding-left: 0; border-left: 0; }
	.nsl-hv-edge__steps > div + div { border-top: 1px solid var(--line); }
	.nsl-hv-ent__rows a { grid-template-columns: 1fr; }
	.nsl-hv-ent__rows em { grid-row: auto; }
	.nsl-hv-frame__stats li { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.nsl-hv-tabs__panel { animation: none; }
	.nsl-hv-edge__shot, .nsl-hv-edge__shot:hover { transform: none; }
}

/* 1.76.576: domeinzoeker: de resultaten blijven paginabreed (zoals ontworpen); zolang ze er staan, gaat het beeld rechts weg
   zodat niets eronder valt. Zonder zoekopdracht blijft de hero precies zoals hij was. */
.nsl-hv-hero__grid:has(.nsl-dsearch__results:not(:empty)) .nsl-hv-hero__media { visibility: hidden; opacity: 0; transition: opacity .2s; }
.nsl-hv-hero__search { position: relative; z-index: 2; }
