/* Nieuwe huisstijl: rustig, zakelijk, overheidsachtig. Standaard sinds 3 oktober 2026.
   Met ?voorbeeld=oud is de oude stijl nog te zien (app/lib/stijl.php).
   Alles staat onder body.stijl-nieuw, zodat de oude stijl ongemoeid blijft. */

.stijl-nieuw {
  --ns-navy: #0B1D4F;
  --ns-blauw: #1862B3;
  --ns-blauw-tekst: #1A6FD1;
  --ns-licht: #F2F5F9;
  --ns-lichtblauw: #E6EEF7;
  --ns-rand: #D5DEEA;
  --ns-tekst: #1F2937;
  --ns-gedempt: #4B5563;
  color: var(--ns-tekst);
}

/* Rechte hoeken op knoppen, kaarten en velden: sober en betrouwbaar. */
.stijl-nieuw a.rounded-md, .stijl-nieuw button.rounded-md,
.stijl-nieuw a.rounded-lg, .stijl-nieuw button.rounded-lg,
.stijl-nieuw .rounded-xl, .stijl-nieuw .rounded-lg, .stijl-nieuw .rounded-md,
.stijl-nieuw input, .stijl-nieuw select, .stijl-nieuw textarea { border-radius: 2px; }
.stijl-nieuw [class*="shadow-"] { box-shadow: none !important; }

/* Koppen: navy, iets minder zwaar. Kicker rustiger. */
.stijl-nieuw h1, .stijl-nieuw h2, .stijl-nieuw h3 { letter-spacing: -0.01em; }
.stijl-nieuw .kicker { letter-spacing: .12em; color: var(--ns-blauw-tekst); }

/* Knoppen */
.ns-knop {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--ns-navy); color: #fff !important; border: 2px solid var(--ns-navy);
  padding: .75rem 1.3rem; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none !important; border-radius: 2px; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.ns-knop:hover { background: var(--ns-blauw); border-color: var(--ns-blauw); }
.ns-knop:focus-visible { outline: 3px solid #FFB612; outline-offset: 2px; }
.ns-knop-licht { background: #fff; color: var(--ns-navy) !important; border-color: var(--ns-navy); }
.ns-knop-licht:hover { background: var(--ns-lichtblauw); border-color: var(--ns-navy); }
.ns-knop::after { content: "\2192"; font-weight: 400; }

/* Paginakop (hero) */
.ns-hero { background: var(--ns-licht); border-bottom: 1px solid var(--ns-rand); }
.ns-hero-binnen { display: grid; gap: 2.5rem; align-items: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 64rem) {
  .ns-hero-binnen { grid-template-columns: 1.15fr 1fr; gap: 4rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .ns-hero-compact .ns-hero-binnen { grid-template-columns: 1.6fr 1fr; padding-top: 3rem; padding-bottom: 3rem; }
}
.ns-hero-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ns-blauw-tekst); margin: 0 0 1rem; }
.ns-hero h1 { color: var(--ns-navy); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; margin: 0 0 1.25rem; }
.ns-hero-compact h1 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.ns-hero-tekst { font-size: 1.15rem; line-height: 1.6; color: var(--ns-gedempt); max-width: 38rem; margin: 0; }
.ns-hero-knoppen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.ns-hero-foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--ns-rand); background: #fff; }
.ns-hero-compact .ns-hero-foto { aspect-ratio: 16 / 10; }
@media (max-width: 63.99rem) { .ns-hero-compact .ns-hero-foto { display: none; } }
.ns-hero-schaal { display: flex; justify-content: center; }
.ns-hero-schaal > div { box-shadow: none; }

/* Labelkleuren uit de oude CSS (tags en hulpklassen) ook in blauw. */
.stijl-nieuw {
  --color-it1plus: #0B1D4F; --color-it1: #133C7C; --color-it2: #1862B3;
  --color-it3: #1E8BF0; --color-it4: #77B3F5; --color-it5: #C4DCF8;
}
.stijl-nieuw .it-rating { border-radius: 2px; }
.stijl-nieuw .it-rating-1plus { color: #fff; background: #0B1D4F; }
.stijl-nieuw .it-rating-1 { color: #fff; background: #133C7C; }
.stijl-nieuw .it-rating-2 { color: #fff; background: #1862B3; }
.stijl-nieuw .it-rating-3 { color: #fff; background: #1E8BF0; }
.stijl-nieuw .it-rating-4 { color: #0B1D4F; background: #77B3F5; }
.stijl-nieuw .it-rating-5 { color: #0B1D4F; background: #C4DCF8; }

/* ─── Paginakop homepage: foto met IT-Label-bordje (app/components/heroGebouw.php) ─── */
.hg { background: #fff; border-bottom: 1px solid var(--ns-rand); }
.hg-binnen { display: grid; gap: 2.5rem; align-items: center; padding-top: 3rem; padding-bottom: 3.5rem; }
@media (min-width: 64rem) { .hg-binnen { grid-template-columns: 1fr 1.05fr; gap: 4rem; padding-top: 4rem; padding-bottom: 4.5rem; } }
.hg-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ns-blauw-tekst); margin: 0 0 .9rem; }
.hg h1 { color: var(--ns-navy); font-weight: 700; font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.1; margin: 0 0 1.1rem; }
.hg-intro { font-size: 1.12rem; line-height: 1.6; color: var(--ns-gedempt); margin: 0 0 1.4rem; max-width: 36rem; }
.hg-feiten { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.hg-feiten li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ns-tekst); font-weight: 500; }
.hg-feiten svg { color: var(--ns-blauw); flex: none; margin-top: .1rem; }

.hf-figuur { position: relative; margin: 0; }
.hf-foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--ns-rand); background: var(--ns-licht); }
.hf-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hf-zoek { position: relative; background: #fff; border: 1px solid var(--ns-rand); border-top: 4px solid var(--ns-navy); padding: 1.25rem; margin-top: -3rem; margin-inline: 1rem; }
@media (min-width: 64rem) { .hf-zoek { position: absolute; left: -2.5rem; right: 12%; bottom: -1.5rem; margin: 0; } .hf-figuur { margin-bottom: 1.5rem; } }
.hf-zoek-kop { font-weight: 700; color: var(--ns-navy); font-size: 1.05rem; margin: 0 0 .2rem; }
.hf-zoek-tekst { font-size: .88rem; color: var(--ns-gedempt); margin: 0 0 .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* ─── Homepage (app/components/homepageNieuw.php) ─── */
.hp-pijl { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; flex: none; transition: transform .15s; }
.hp-sectie { padding: 4rem 0; background: #fff; border-bottom: 1px solid var(--ns-rand); }
.hp-licht { background: var(--ns-licht); }
.hp-tekst { color: var(--ns-gedempt); font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.2rem; max-width: 40rem; }
.hp-intro { margin-bottom: 2rem; }
.hp-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ns-blauw-tekst); text-decoration: underline; text-underline-offset: 3px; }
.hp-link:hover .hp-pijl { transform: translateX(3px); }
.hp-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; }
.hp-twee { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 64rem) { .hp-twee { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hp-schaal { display: flex; justify-content: center; }
.hp-kop-rij { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

/* Toptaken: een rij duidelijke tegels direct onder de kop. */
.hp-taken-sectie { background: var(--ns-navy); padding: 0; }
.hp-taken { display: grid; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .hp-taken { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .hp-taken { grid-template-columns: repeat(4, 1fr); } }
.hp-taak { display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem 1.25rem; color: #fff; text-decoration: none; text-align: left;
  background: none; border: 0; border-left: 1px solid rgba(255,255,255,.15); cursor: pointer; font: inherit; }
.hp-taak:first-child { border-left: 0; }
.hp-taak strong { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; font-weight: 700; color: #fff; }
.hp-taak span { font-size: .9rem; color: #C5D3E6; }
.hp-taak:hover { background: #133C7C; }
.hp-taak:hover .hp-pijl { transform: translateX(3px); }
.hp-taak:focus-visible { outline: 3px solid #FFB612; outline-offset: -3px; }

/* Services */
.hp-services { display: grid; gap: 1.25rem; }
@media (min-width: 64rem) { .hp-services { grid-template-columns: repeat(3, 1fr); } }
.hp-service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ns-rand); border-top: 4px solid var(--ns-navy); padding: 1.6rem; text-decoration: none; color: var(--ns-tekst); }
.hp-service:hover { border-top-color: var(--ns-blauw); }
.hp-nr { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--ns-blauw-tekst); margin-bottom: .6rem; }
.hp-service h3 { color: var(--ns-navy); font-size: 1.2rem; font-weight: 700; margin: 0 0 .6rem; }
.hp-service p { color: var(--ns-gedempt); font-size: .97rem; line-height: 1.6; margin: 0 0 1.2rem; }
.hp-meer { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ns-blauw-tekst); }
.hp-service:hover .hp-pijl { transform: translateX(3px); }

/* Pandtypen */
.hp-panden { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .hp-panden { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .hp-panden { grid-template-columns: repeat(4, 1fr); } }
.hp-pand { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: var(--ns-tekst); }
.hp-pand-foto { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--ns-rand); margin-bottom: .6rem; }
.hp-pand strong { display: flex; align-items: center; gap: .45rem; color: var(--ns-navy); font-size: 1.08rem; font-weight: 700; }
.hp-pand span:last-child { color: var(--ns-gedempt); font-size: .94rem; line-height: 1.5; }
.hp-pand:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hp-pand:hover .hp-pijl { transform: translateX(3px); }

/* Kenniscollectief */
.hp-leden { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ns-rand); }
@media (min-width: 40rem) { .hp-leden { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.hp-leden li { display: flex; flex-direction: column; padding: .85rem 0; border-bottom: 1px solid var(--ns-rand); }
.hp-leden strong { color: var(--ns-navy); }
.hp-leden span { color: var(--ns-gedempt); font-size: .92rem; }

/* Koppen van secties */
.ns-h2 { color: var(--ns-navy); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; margin: 0 0 .6rem; }
