/* Language-World – ontwerpvoorstel (testversie)
   Layout: donkere servicebalk (contact + taal) > witte kop met woordmerk en menu >
   leeskolom van ±65 tekens met een contactkaart ernaast > donkere voet.
   Alle kleuren en letters staan als tokens in :root, zodat de designer ze op één plek kan bijsturen. */

@font-face { font-family: "Literata Variable"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("fonts/literata-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #14293a;          /* koppen, servicebalk, voet */
  --text: #26343f;         /* lopende tekst */
  --muted: #5a6a77;        /* labels, bijschriften */
  --brand: #2c5d7c;        /* staalblauw, afgeleid van het bestaande #3C6B87 */
  --brand-dark: #1e4660;
  --paper: #f3f6f8;        /* pagina-achtergrond, koel grijs met blauwe zweem */
  --surface: #ffffff;
  --line: #d5dde3;
  --tint: #e3ebf1;         /* paginakop en zachte vlakken */
  --brass: #a8772a;        /* spaarzaam accent: koppelteken, actieve pagina, citaatlijn */
  --font-display: "Literata Variable", Georgia, "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Servicebalk: smalle, lichte strook met contact + taalkeuze */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.util { background: var(--tint); color: var(--muted); border-bottom: 1px solid var(--line); font-size: .85rem; line-height: 1.4; }
.util-in { display: flex; align-items: center; justify-content: space-between; gap: 0 1.25rem; }
.util-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1.5rem; font-style: normal; }
.util-contact a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; min-height: 2.25rem; font-variant-numeric: tabular-nums; }
.util-contact a:hover { text-decoration: underline; }
.util-ico { width: 1rem; height: 1rem; flex: none; fill: var(--brand); }
.lang { display: flex; gap: .15rem; margin-left: auto; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.25rem; padding-inline: .4rem; border-radius: var(--radius); color: var(--muted); text-decoration: none; font-weight: 600; letter-spacing: .06em; }
.lang a:hover { background: rgba(20,41,58,.08); color: var(--ink); }
.lang a[aria-current] { background: var(--ink); color: #fff; }

/* Kop */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; line-height: 1.2; }
.brand span { color: var(--brass); }
.brand-logo { display: block; height: 5.6rem; width: auto; }
.brand:hover { color: var(--ink); }
.nav ul { display: flex; align-items: center; gap: .25rem 1.5rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text); text-decoration: none; font-size: .975rem; border-bottom: 2px solid transparent; }
.nav-contact { display: none; }
.nav a:hover { color: var(--brand-dark); border-bottom-color: var(--line); }
.nav a[aria-current], .nav a.is-parent { color: var(--ink); font-weight: 600; border-bottom-color: var(--brass); }
.nav .has-sub { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: -1rem; z-index: 20; min-width: 17rem; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(20,41,58,.12); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.nav .sub a { display: flex; padding-inline: .75rem; border-bottom: 0; border-radius: 4px; font-weight: 400; }
.nav .sub a:hover { background: var(--paper); }
.nav .sub a[aria-current] { font-weight: 600; box-shadow: inset 2px 0 0 var(--brass); }
.nav a.nav-cta { padding-inline: 1rem; border: 1px solid var(--brand); border-radius: var(--radius); color: var(--brand); font-weight: 600; min-height: 2.5rem; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.menu-btn { display: none; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 600 .95rem var(--font-body); cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Hero (startpagina) */
.hero { background: radial-gradient(60rem 30rem at 85% 40%, #2c5d7c 0%, rgba(44,93,124,0) 60%), var(--ink); color: #dbe5ec; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 3.7vw, 2.75rem); max-width: 16em; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; color: #d6e1e9; margin: 1.5rem 0 2rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.hero .btn { background: #fff; border-color: #fff; color: var(--ink); }
.hero .btn:hover { background: var(--tint); border-color: var(--tint); color: var(--ink); }
.hero .btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.hero-art svg { display: block; width: 100%; max-width: 33rem; height: auto; margin-inline: auto; }

/* Diensten op de startpagina */
.services { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-h { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.75rem); color: var(--ink); margin: 0 0 1.5rem; }
.section-h a { color: inherit; text-decoration: none; }
.section-h a:hover { text-decoration: underline; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.service { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.service:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgba(20,41,58,.10); transform: translateY(-2px); color: var(--ink); }
.service-ico { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--brand); flex: none; }
.service-ico svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-t { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.service-go { color: var(--brass); font-size: 1.25rem; }

/* Paginakop (overige pagina's) */
.band { background: var(--tint); border-bottom: 1px solid var(--line); overflow: hidden; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem clamp(1rem, 4vw, 3rem); padding-block: clamp(1.25rem, 3vw, 2rem); }
.band-art { flex: 0 0 clamp(8.5rem, 32vw, 19rem); }
.band-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.band .page-head { margin: 0; min-width: 0; }

/* Inhoud */
.main { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 8vw, 6rem); }
.layout { display: grid; grid-template-columns: minmax(0, 40rem) minmax(15rem, 19rem); justify-content: space-between; align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.layout-single { grid-template-columns: minmax(0, 44rem); }
.page-head { margin-bottom: 1.75rem; }
.eyebrow, .quote legend, .contact-list dt, .foot-h { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 .4rem; }
h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -.015em; color: var(--ink); margin: 0; text-wrap: balance; }
h1::after { content: ""; display: block; width: 3rem; height: 2px; background: var(--brass); margin-top: 1.1rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 1.15rem; }
.prose .lead { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.4rem); line-height: 1.5; color: var(--ink); margin-bottom: 1.5rem; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.3; color: var(--ink); margin: 2.25rem 0 .6rem; text-wrap: balance; }
.page-voorwaarden .prose h2 { font-family: var(--font-body); font-size: 1.05rem; margin-top: 2rem; }
.prose .callout { border-left: 3px solid var(--brass); padding: .15rem 0 .15rem 1.1rem; color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2rem; }
.prose li::marker { color: var(--brass); }
.prose .facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; font-variant-numeric: tabular-nums; }

/* Subnavigatie op de dienstenpagina's */
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.subnav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: .95rem; }
.subnav a:hover { border-color: var(--brand); color: var(--brand-dark); }
.subnav a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* Contactgegevens */
.contact-list { margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list dt { color: var(--muted); margin-bottom: .1rem; }
.contact-list dd { margin: -.3rem 0; overflow-wrap: anywhere; }
.contact-list a { display: inline-block; padding-block: .55rem; font-variant-numeric: tabular-nums; }
.prose > .contact-list { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; gap: 1.25rem 2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 8rem; box-shadow: 0 6px 20px rgba(20,41,58,.06); }
.card h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin: 0 0 1rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem 1.25rem; border: 1px solid var(--brand); border-radius: var(--radius); background: var(--brand); color: #fff; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* WhatsApp-groen (#25D366) met donkere tekst: wit op dit groen is te zwak leesbaar */
.btn-wa { gap: .5rem; background: #25d366; border-color: #25d366; color: #06301f; }
.btn-wa:hover { background: #1fbe5b; border-color: #1fbe5b; color: #06301f; }
.btn-wa img { width: 1.35rem; height: 1.35rem; flex: none; }
.btn-wa svg { width: 1.2rem; height: 1.2rem; fill: currentColor; flex: none; }
.contact-wa dd { margin-top: .35rem; }
.contact-list a.btn { display: inline-flex; padding: .5rem 1.25rem; color: #06301f; }
.wa-ico { display: inline-grid; }
.wa-ico svg, .wa-ico img { width: 100%; height: 100%; fill: #128c7e; }

/* Offerteformulier */
.quote fieldset { border: 0; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem 1.5rem; min-width: 0; }
.quote legend { padding: 0; margin-bottom: 1rem; }
.field { display: grid; gap: .3rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field textarea { width: 100%; min-height: 2.9rem; padding: .6rem .8rem; border: 1px solid #b9c5ce; border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--brand); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.form-note { color: var(--muted); font-size: .9rem; }
.notice { border: 1px dashed var(--brass); background: #fdf7ea; border-radius: var(--radius); padding: .9rem 1.1rem; color: var(--ink); }

/* Voet */
.site-foot { background: var(--ink); color: #c5d1da; font-size: .95rem; line-height: 1.6; }
.site-foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem 3rem; padding-block: 3rem 2rem; }
.foot-in p { margin: 0 0 .5rem; }
.brand-foot { color: #fff; font-size: 1.3rem; min-height: 0; }
.foot-h { color: #9fb3c2; }
.foot-logo img { display: block; width: 11.5rem; height: auto; margin: -.5rem 0 .75rem -.4rem; }
.foot-in a { display: inline-block; padding-block: .55rem; font-variant-numeric: tabular-nums; }
.foot-lang { display: flex; flex-direction: column; align-items: flex-start; }
.foot-lang a { text-decoration: none; color: #c5d1da; }
.foot-lang a:hover { color: #fff; text-decoration: underline; }
.foot-lang a[aria-current] { color: #fff; font-weight: 600; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 2rem; padding-block: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; }
.foot-legal p { margin: 0; }
.foot-legal a { color: #c5d1da; }

/* Tablet en smartphone */
@media (max-width: 56rem) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-art svg { max-width: 22rem; }
  .card { position: static; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { flex-basis: 100%; }
  .js .site-head:not(.nav-open) .nav { display: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); padding-top: .5rem; }
  .nav a { display: flex; min-height: 3rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current] { border-bottom-color: var(--brass); }
  .nav a.nav-cta { margin-top: .75rem; justify-content: center; min-height: 3rem; }
  .nav .sub, .nav .has-sub:hover .sub { display: flex; position: static; min-width: 0; padding: 0 0 0 1.25rem; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .nav .sub a { padding-inline: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--muted); }
  .nav .sub a[aria-current] { color: var(--ink); box-shadow: none; border-bottom-color: var(--brass); }
  .head-in { padding-block: .35rem; gap: .25rem 1rem; }
  .brand-logo { height: 3.9rem; }
  .util-contact a, .lang a { min-height: 2.75rem; }
  .nav-contact { display: grid; gap: 0; margin: .75rem 0 .5rem; }
  .nav-contact a { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; border: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
  .nav-contact .util-ico { width: 1.15rem; height: 1.15rem; }
  /* open menu mag nooit hoger zijn dan het scherm (vaste kop): dan zelf scrollen */
  .site-head.nav-open .nav { max-height: calc(100vh - 5.5rem); max-height: calc(100dvh - 5.5rem); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 40rem) {
  .util-addr { display: none; }
  .band h1 { font-size: clamp(1.6rem, 7vw, 2rem); overflow-wrap: anywhere; }
  /* servicebalk op smartphone: één rij met bel- en mailknop (iconen) en de taalkeuze */
  .util-contact { gap: 0; flex-wrap: nowrap; margin-left: -.7rem; }
  .util-contact a { min-width: 2.75rem; justify-content: center; }
  .util-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .util-ico { width: 1.3rem; height: 1.3rem; }
  .lang a { min-height: 2.75rem; }
  body { font-size: 1rem; }
  .card-actions .btn { flex: 1 1 8rem; }
}
@media (max-width: 22.5rem) {
  .menu-btn { padding-inline: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .service { transition: none; } .service:hover { transform: none; } }
@media print { .util, .site-head, .card, .site-foot, .hero-art, .band-art { display: none; } body { background: #fff; } }
