/* =========================================================
   QE — shared global stylesheet
   Brand: oranje #F99D3E · paars #6A2C91 · donkerblauw #001E45 · achtergrond #FFFCF8
   Section layout uses inline styles (pixel-faithful to the design); this file
   holds the global resets, keyframes, component (nav/footer) chrome and the
   responsive layer that scales type / collapses grids on small screens.
   ========================================================= */

/* ---- Global reset ---- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #FFFCF8; }
body { font-family: 'Roboto', sans-serif; -webkit-font-smoothing: antialiased; color: #001E45; }
a { color: inherit; }
img { max-width: 100%; }

/* ---- Keyframes ---- */
@keyframes a-ken { 0% { transform: scale(1.04); } 100% { transform: scale(1.14); } }
@keyframes a-cue { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(7px); opacity: 1; } }
@keyframes qe-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes qeFlick {
  0%, 100% { transform: scaleY(1) scaleX(1) translateY(0); }
  25% { transform: scaleY(1.12) scaleX(.92) translateY(-1.5px); }
  50% { transform: scaleY(.93) scaleX(1.06); }
  75% { transform: scaleY(1.07) scaleX(.96) translateY(-1px); }
}
@keyframes qePulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* ---- Homepage interactive hover states ---- */
.qe-srow:hover { color: #F99D3E !important; }
.qe-srow:hover .qe-sarrow { transform: translateX(8px); color: #F99D3E; }
.qe-rcard:hover { transform: translateY(-6px); }
.qe-rcard { flex: none; width: 400px; background: #fff; border: 1px solid #ECEEF2; border-radius: 18px; padding: 30px; transition: transform .4s cubic-bezier(.16,1,.3,1); display: flex; flex-direction: column; }
.qe-rcard p { font-size: 15px; line-height: 1.6; color: #3C4A5A; margin: 16px 0 20px 0; flex: 1; }
.qe-rster { color: #F99D3E; font-size: 16px; letter-spacing: 3px; }
.qe-rnaam { font-weight: 700; font-size: 15px; }
.qe-rbron { font-size: 13px; color: #9AA1AD; }
.qe-marq:hover { animation-play-state: paused; }

/* Service-page option/choice cards (e.g. onderhoud) lift on hover */
.qe-opt:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 30, 69, .18); }

/* Form fields + contact rows (contact, nieuwe-klant, …) */
.qe-field:focus { border-color: #6A2C91 !important; outline: none; }
.qe-row:hover { background: #FFF8F0; }
.qe-submit { transition: background .2s; }
.qe-submit:hover { background: #E88A2A; }

/* Realisaties portfolio tabs + project-card image zoom on hover */
.qe-tab { cursor: pointer; font-size: 15px; font-weight: 500; padding: 14px 22px; border-radius: 12px 12px 0 0; transition: all .25s; color: #9AA1AD; border-bottom: 2px solid transparent; }
.qe-tab.active { color: #001E45; border-bottom: 2px solid #F99D3E; }
.qe-proj:hover .qe-ph, .qe-proj:hover img { transform: scale(1.05); }

/* Jobs — vacancy card highlights its border on hover */
.qe-vac:hover { border-color: #F99D3E !important; }

/* Syndicus — service card lifts + highlights on hover */
.syn-card:hover { border-color: #F99D3E !important; transform: translateY(-5px); box-shadow: 0 24px 50px rgba(0, 30, 69, .1); }

/* Mijn installatie — dashboard action tile hover */
.qe-act:hover { border-color: #F99D3E !important; transform: translateY(-3px); }

/* Portal document folders — mirror the Robaws mappenstructuur (collapsible) */
.qe-doc-folder > summary { list-style: none; }
.qe-doc-folder > summary::-webkit-details-marker { display: none; }
.qe-doc-folder > summary .qe-doc-caret { transition: transform .2s; }
.qe-doc-folder[open] > summary .qe-doc-caret { transform: rotate(90deg); }

/* Mijn QE — functiekaarten */
.qe-mqe-kaart { background: #fff; border: 1px solid #ECEEF2; border-radius: 20px; padding: 30px; }
.qe-mqe-ico { width: 50px; height: 50px; border-radius: 14px; background: #FFF3E5; display: flex; align-items: center; justify-content: center; }
.qe-mqe-kaart h3 { font-size: 20px; font-weight: 700; letter-spacing: -.3px; margin: 20px 0 0 0; }
.qe-mqe-kaart p { font-size: 15px; line-height: 1.6; color: #5A6675; margin: 10px 0 0 0; }

/* Kenniscentrum — FAQ accordion */
.qe-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; cursor: pointer; width: 100%; background: none; border: 0; text-align: left; font: inherit; color: inherit; }
.qe-faq-q:focus-visible { outline: 2px solid #6A2C91; outline-offset: 4px; border-radius: 6px; }
.qe-faq-icon { display: inline-flex; flex: none; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.qe-faq-item.open .qe-faq-icon { transform: rotate(45deg); }
.qe-faq-a { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s cubic-bezier(.4, 0, .2, 1), opacity .35s; }
.qe-faq-item.open .qe-faq-a { max-height: 900px; opacity: 1; }

/* Legal pages — prose (privacybeleid, voorwaarden, cookiebeleid) */
.qe-legal h2 { font-size: 26px; font-weight: 700; letter-spacing: -.5px; margin: 48px 0 14px 0; }
.qe-legal p { font-size: 16px; line-height: 1.7; color: #3C4A5A; margin: 0 0 14px 0; }
.qe-legal li { font-size: 16px; line-height: 1.7; color: #3C4A5A; margin-bottom: 8px; }

/* 404 — floating flame */
@keyframes qe-fll { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
/* bedankt — success checkmark pop / ring / draw */
@keyframes qe-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes qe-ring { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes qe-draw { to { stroke-dashoffset: 0; } }

/* Calculator controls (premiecalculator, energiebespaar) — .on = selected */
.pc-opt { cursor: pointer; border: 2px solid #ECEEF2; background: #fff; color: #001E45; border-radius: 16px; padding: 20px; font-size: 14px; transition: all .25s; text-align: left; }
.pc-opt.on { border-color: #F99D3E; background: #FFF8F0; color: #E8642A; }
.pc-pill, .eb-pill { cursor: pointer; flex: 1; text-align: center; border: 2px solid #ECEEF2; background: #fff; color: #6B7A8D; border-radius: 12px; font-weight: 500; transition: all .25s; }
.pc-pill { padding: 14px 10px; font-size: 14px; }
.eb-pill { padding: 13px 8px; font-size: 13.5px; }
.pc-pill.on { border-color: #6A2C91; background: #F0E6F6; color: #6A2C91; }
.eb-pill.on { border-color: #F99D3E; background: #FFF8F0; color: #E8642A; }

/* Booking calendar type pills (bestaande-klant) */
.bk-type { cursor: pointer; border: 2px solid #ECEEF2; background: #fff; color: #6B7A8D; border-radius: 12px; padding: 13px 22px; font-size: 15px; font-weight: 500; transition: all .25s; }
.bk-type.on { border-color: #F99D3E; background: #FFF8F0; color: #E8642A; }

/* Range slider (energiebespaar) */
input[type=range].qe-rng { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: #ECEEF2; outline: none; }
input[type=range].qe-rng::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #F99D3E; cursor: pointer; box-shadow: 0 4px 12px rgba(249,157,62,.45); border: 3px solid #fff; }
input[type=range].qe-rng::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #F99D3E; cursor: pointer; border: 3px solid #fff; }

/* ---- Homepage: knop bij de dronevideo in de kop (pauze / afspelen / opnieuw) ---- */
.qe-vknop { position: absolute; top: 96px; right: 7%; z-index: 6; width: 42px; height: 42px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.qe-vknop:hover { background: rgba(255, 255, 255, .26); transform: scale(1.06); }
.qe-vknop:focus-visible { outline: 2px solid #F99D3E; outline-offset: 3px; }
.qe-vknop[hidden] { display: none; }
.qe-vknop svg { display: none; }
.qe-vknop[data-stand="speelt"] .i-pauze, .qe-vknop[data-stand="gepauzeerd"] .i-speel, .qe-vknop[data-stand="einde"] .i-opnieuw { display: block; }

@media (prefers-reduced-motion: reduce) {
  #a-frame-inner { animation: none !important; }
  .qe-marq { animation: none !important; overflow-x: auto; max-width: 100%; }
  .qe-marq [data-kopie] { display: none !important; }
}

/* =========================================================
   NAV — shared chrome
   ========================================================= */
.qe-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 252, 248, .82);
  border-bottom: 1px solid rgba(0, 30, 69, .07);
  font-family: 'Roboto', sans-serif;
}
.qe-navlink { text-decoration: none; color: #001E45; padding: 6px 0; transition: color .2s; }
.qe-navlink:hover { color: #F99D3E; }

/* Diensten mega-dropdown (hover-driven on desktop) */
.qe-dd { position: relative; }
.qe-dd-trigger { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; padding: 6px 0; }
.qe-caret { transition: transform .25s cubic-bezier(.4, 0, .2, 1); }
.qe-drop-panel {
  position: absolute; top: 34px; left: -14px; width: 290px;
  background: #fff; border-radius: 18px; padding: 8px;
  border: 1px solid #ECEEF2; box-shadow: 0 24px 60px rgba(0, 30, 69, .16);
  display: flex; flex-direction: column; gap: 2px;
  transform-origin: top left;
  transition: opacity .26s cubic-bezier(.4, 0, .2, 1), transform .26s cubic-bezier(.4, 0, .2, 1);
  opacity: 0; transform: translateY(-8px) scale(.97); pointer-events: none; z-index: 80;
}
.qe-dd:hover .qe-drop-panel, .qe-dd:focus-within .qe-drop-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.qe-dd:hover .qe-caret, .qe-dd:focus-within .qe-caret { transform: rotate(180deg); }
/* keyboard accessibility: visible focus ring on the interactive nav elements */
.qe-dd-trigger:focus-visible, .qe-navlink:focus-visible, .qe-drop-item:focus-visible { outline: 2px solid #6A2C91; outline-offset: 3px; border-radius: 6px; }
.qe-drop-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: 12px; text-decoration: none; color: #001E45; transition: background .15s;
}
.qe-drop-item:hover { background: #FFF3E5; }
.qe-drop-item .t { display: block; font-weight: 700; font-size: 14px; }
.qe-drop-item .s { display: block; font-size: 12px; color: #9AA1AD; }

/* Mijn QE (klantenportaal op mijnqe.be) */
.qe-mijnqe { text-decoration: none; color: #6A2C91; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; transition: color .2s; }
.qe-mijnqe:hover { color: #E8642A; }
.qe-mijnqe:focus-visible, .qe-cta:focus-visible, .qe-mobile-link:focus-visible, #qe-burger:focus-visible { outline: 2px solid #6A2C91; outline-offset: 3px; border-radius: 6px; }

/* Nav call-to-action buttons */
.qe-cta { text-decoration: none; padding: 11px 22px; border-radius: 99px; font-weight: 500; transition: background .2s; }
.qe-cta-orange { background: #F99D3E; color: #001E45; }   /* navy text on orange — WCAG-AA */
.qe-cta-orange:hover { background: #E88A2A; }
.qe-cta-dark { background: #001E45; color: #fff; }
.qe-cta-dark:hover { background: #F99D3E; color: #001E45; }   /* turns orange on hover → navy text */

/* Burger + mobile panel */
#qe-burger { display: none; cursor: pointer; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
#qe-burger span { width: 23px; height: 2px; background: #001E45; border-radius: 2px; transition: transform .25s, opacity .25s; }
#qe-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#qe-burger.open span:nth-child(2) { opacity: 0; }
#qe-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.qe-mobile-panel {
  position: fixed; top: 70px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid #ECEEF2;
  box-shadow: 0 24px 40px rgba(0, 30, 69, .12);
  padding: 16px 28px 28px 28px; display: flex; flex-direction: column;
  max-height: calc(100vh - 70px); overflow-y: auto;
  transition: opacity .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1);
  opacity: 0; transform: translateY(-12px); pointer-events: none; z-index: 89;
}
.qe-mobile-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.qe-mobile-cap { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: .16em; color: #9AA1AD; }
.qe-mobile-link { text-decoration: none; color: #001E45; font-size: 17px; font-weight: 500; padding: 11px 0; border-bottom: 1px solid #F1F3F6; }

/* =========================================================
   RESPONSIVE LAYER
   Attribute selectors + !important override the inline desktop styles on
   small screens. Mirrors the design's qe-responsive.css.
   ========================================================= */
/* Nav collapses to the burger as soon as the full link row would overflow
   (~1120px), not just at the 900px content breakpoint the design used. */
/* Belknop in de kop, alleen op gsm en tablet (js/qe-nav.js) */
#qe-belknop { display: none; align-items: center; gap: 7px; margin-left: auto; margin-right: 10px; height: 40px; padding: 0 16px; border-radius: 99px; background: #F99D3E; color: #001E45; font-size: 15px; font-weight: 600; text-decoration: none; }
#qe-belknop:focus-visible { outline: 2px solid #6A2C91; outline-offset: 3px; }
@media (max-width: 380px) { #qe-belknop { width: 40px; padding: 0; justify-content: center; } #qe-belknop span { display: none; } }
@media (max-width: 1120px) {
  #qe-nav-links { display: none !important; }
  #qe-burger { display: flex !important; }
  #qe-belknop { display: flex; }
  .qe-navbar { padding-left: 20px !important; padding-right: 20px !important; }
}

@media (max-width: 900px) {
  /* --- multi-column grids collapse to a single column --- */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(5,1fr)"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1.05fr 1fr"],
  [style*="grid-template-columns:1fr 1.05fr"],
  [style*="grid-template-columns:1fr 1.1fr"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns:1fr 1.15fr"],
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns:1.5fr 1fr"],
  [style*="grid-template-columns:1.5fr 1fr 1fr 1.2fr"],
  [style*="grid-template-columns:1.05fr .98fr"],
  [style*="grid-template-columns:1.02fr .98fr"],
  [style*="grid-template-columns:64px 1fr 1.5fr 48px"],
  [style*="grid-template-columns:80px 1fr 1.4fr 60px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  [style*="grid-template-columns:1fr 1fr"] { gap: 16px !important; }

  /* --- headings scale to viewport --- */
  h1 { font-size: clamp(34px, 9vw, 58px) !important; letter-spacing: -1.5px !important; }
  h2 { font-size: clamp(27px, 6.6vw, 44px) !important; letter-spacing: -1px !important; }

  /* sticky result panels shouldn't pin on mobile (class form is immune to the
     reveal engine's inline-style normalization, unlike the [style*=…] selector) */
  [style*="position:sticky"], .qe-nostick { position: static !important; }

  /* realisatie-pagina's (realisaties/<slug>): kop met de foto rechts wordt één kolom,
     de extra foto's staan onder elkaar op volle breedte */
  .qe-rd-kop { grid-template-columns: 1fr !important; gap: 28px !important; padding: 120px 20px 48px 20px !important; }
  .qe-rd-kopfoto { justify-self: stretch !important; }
  .qe-rd-kopfoto img { width: 100% !important; max-height: 72vh !important; object-fit: cover; }
  .qe-rd-fotos { flex-direction: column !important; max-width: none !important; }
  .qe-rd-fotos figure { flex: none !important; }

  /* button / stat / CTA groups wrap instead of overflowing */
  [style*="display:flex"][style*="gap:14px"],
  [style*="display:flex"][style*="gap:16px"],
  [style*="display:flex"][style*="gap:20px"] { flex-wrap: wrap !important; }

  /* roomy fixed vertical paddings tighten */
  [style*="padding:90px"], [style*="padding:100px"], [style*="padding:110px"],
  [style*="padding:120px"], [style*="padding:130px"], [style*="padding:140px"] {
    padding-top: 64px !important; padding-bottom: 64px !important;
  }

  /* the flowing services list: drop the row number + arrow columns */
  .qe-srow { grid-template-columns: 1fr !important; gap: 8px !important; }
  .qe-srow .qe-snum, .qe-srow .qe-sarrow { display: none !important; }

  /* The reveal engine rewrites the inline `style` of [data-reveal] elements,
     which normalizes the string so the [style*=...] selectors above can't match
     a grid/flex container that is itself data-reveal. Collapse those by class. */
  .qe-collapse { grid-template-columns: 1fr !important; }
  .qe-stack { flex-direction: column !important; }
}

@media (max-width: 600px) {
  .qe-rcard { width: 290px; padding: 24px; }
  [style*="font-size:46px"], .qe-manifest { font-size: clamp(24px, 7.2vw, 34px) !important; letter-spacing: -.5px !important; }
  [style*="font-size:34px"] { font-size: 26px !important; }
  h1 { font-size: clamp(30px, 10.5vw, 46px) !important; }
  h2 { font-size: clamp(24px, 7.5vw, 36px) !important; }
  /* oversized hero / editorial / stat type */
  [style*="font-size:104px"], [style*="font-size:94px"], [style*="font-size:86px"],
  [style*="font-size:80px"], [style*="font-size:78px"], [style*="font-size:74px"] {
    font-size: clamp(32px, 11vw, 54px) !important;
  }
  [style*="font-size:72px"], [style*="font-size:68px"], [style*="font-size:64px"],
  [style*="font-size:62px"], [style*="font-size:60px"], [style*="font-size:58px"] {
    font-size: clamp(40px, 13vw, 58px) !important;
  }
}

/* SITE-DATA:BEGIN */
/* =========================================================
   Inhoud uit QE Software (tegel Website): team, acties, aankondigingsbalk.
   De HTML komt uit js/qe-site.js. sync-website.js neemt dit blok over voor
   het voorbeeld in de beheerpagina: alles wat die inhoud nodig heeft staat hier.
   ========================================================= */

/* ---- Team ---- */
.qe-team { padding: 40px 7% 0 7%; max-width: 1400px; margin: 0 auto; }
.qe-team-cat { padding-top: 30px; }
.qe-team-cat + .qe-team-cat { padding-top: 64px; }
.qe-team-kop { font-family: 'Roboto Mono', monospace; font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: #9AA1AD; padding-bottom: 18px; border-bottom: 1px solid #ECEEF2; margin: 0 0 32px 0; }
.qe-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px 22px; }
.qe-team-lid { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.qe-team-foto { width: 108px; height: 108px; flex: none; border-radius: 50%; overflow: hidden; background: #F99D3E; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 33px; font-weight: 700; }
.qe-team-foto.p { background: #6A2C91; }
.qe-team-foto.f { background: #F1EDE6; box-shadow: 0 10px 26px rgba(0, 30, 69, .12); }
.qe-team-foto img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.qe-team-naam { font-size: 17px; font-weight: 700; margin-top: 16px; overflow-wrap: anywhere; }
.qe-team-functie { font-size: 14px; color: #6A2C91; margin-top: 2px; }
.qe-team-extra { font-size: 13px; line-height: 1.45; color: #6B7A8D; margin-top: 6px; max-width: 240px; }
.qe-team.portret .qe-team-foto { width: 100%; max-width: 250px; height: auto; aspect-ratio: 4 / 5; border-radius: 20px; font-size: 46px; }
@media (max-width: 1000px) { .qe-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .qe-team { padding-left: 20px; padding-right: 20px; }
  .qe-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .qe-team-foto { width: 90px; height: 90px; font-size: 28px; }
  .qe-team.portret .qe-team-foto { font-size: 36px; border-radius: 16px; }
  .qe-team-naam { font-size: 15px; margin-top: 13px; }
  .qe-team-functie { font-size: 13px; }
}

/* ---- Aankondigingsbalk (bovenaan, over de pagina heen: er verschuift niets) ---- */
.qe-balk { position: fixed; top: 0; left: 0; right: 0; z-index: 91; min-height: 40px; padding: 9px 20px; display: flex; align-items: center; justify-content: center; gap: 12px; background: #001E45; color: #fff; font-family: 'Roboto', sans-serif; font-size: 14.5px; line-height: 1.35; text-decoration: none; transform: translateY(-101%); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
html.qe-balk-aan .qe-balk { transform: translateY(0); }
.qe-balk-label { flex: none; font-family: 'Roboto Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; background: #F99D3E; color: #001E45; padding: 3px 10px; border-radius: 99px; }
.qe-balk-tekst { min-width: 0; }
.qe-balk-pijl { flex: none; color: #F99D3E; transition: transform .2s; }
a.qe-balk:hover .qe-balk-pijl { transform: translateX(4px); }
a.qe-balk:focus-visible { outline: 2px solid #F99D3E; outline-offset: -4px; }
.qe-navbar { transition: top .35s cubic-bezier(.16, 1, .3, 1); }
html.qe-balk-aan .qe-navbar { top: var(--qe-balk-h, 40px); }
/* het gsm-menu hangt IN de menubalk (die heeft backdrop-filter en is dus zelf het ankerpunt): het schuift vanzelf mee, alleen de hoogte krimpt */
html.qe-balk-aan .qe-mobile-panel { max-height: calc(100vh - 70px - var(--qe-balk-h, 40px)); }
/* wat in de kop van de startpagina vlak onder het menu staat, schuift mee */
.qe-vknop { transition: background .2s, transform .2s, top .35s cubic-bezier(.16, 1, .3, 1); }
.qe-herochip { transition: top .35s cubic-bezier(.16, 1, .3, 1); }
html.qe-balk-aan .qe-vknop { top: calc(96px + var(--qe-balk-h, 40px)); }
html.qe-balk-aan .qe-herochip { top: calc(96px + var(--qe-balk-h, 40px)) !important; }
@media (max-width: 640px) {
  .qe-balk { font-size: 13.5px; padding: 8px 14px; gap: 9px; justify-content: flex-start; }
}
/* Pagina zonder kopfoto op een smal scherm: de algemene regel hierboven brengt de ruimte bovenaan terug tot 64 px,
   minder dan de hoogte van het menu. Het eerste blok houdt daarom genoeg ruimte, ook met de balk erbij. */
@media (max-width: 900px) {
  main > div:first-child[style*="padding:120px"], main > div:first-child[style*="padding:130px"], main > div:first-child[style*="padding:140px"] { padding-top: 112px !important; }
  html.qe-balk-aan main > div:first-child[style*="padding:120px"], html.qe-balk-aan main > div:first-child[style*="padding:130px"], html.qe-balk-aan main > div:first-child[style*="padding:140px"] { padding-top: calc(112px + var(--qe-balk-h, 40px)) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .qe-balk, .qe-navbar, .qe-herochip { transition: none; }
}

/* ---- Actie op de startpagina ---- */
.qe-astart-wrap { padding: 0 7% 110px 7%; max-width: 1400px; margin: 0 auto; }
.qe-astart { position: relative; display: block; overflow: hidden; background: #001E45; color: #fff; border-radius: 24px; padding: 58px 64px; text-decoration: none; transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s; }
.qe-astart:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(0, 30, 69, .24); }
.qe-astart:focus-visible { outline: 3px solid #F99D3E; outline-offset: 4px; }
.qe-astart-gloed { position: absolute; right: -90px; bottom: -140px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, #F99D3E, rgba(249, 157, 62, 0) 70%); opacity: .42; pointer-events: none; }
.qe-astart-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.qe-astart.smal .qe-astart-in { grid-template-columns: minmax(0, 1fr); }
.qe-astart-tekst { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.qe-astart-label { font-family: 'Roboto Mono', monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #FFB85C; }
.qe-astart-titel { font-size: 44px; line-height: 1.08; font-weight: 300; letter-spacing: -1.4px; margin-top: 16px; overflow-wrap: anywhere; }
.qe-astart-p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin-top: 16px; max-width: 640px; }
.qe-astart-knop { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; background: #F99D3E; color: #001E45; font-weight: 500; font-size: 15px; padding: 15px 28px; border-radius: 99px; transition: background .2s; }
.qe-astart:hover .qe-astart-knop { background: #FFB85C; }
.qe-astart-zij { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 0; }
.qe-astart-zij .qe-actie-groot { display: block; font-size: 92px; font-weight: 700; letter-spacing: -3.5px; line-height: 1; color: #F99D3E; overflow-wrap: anywhere; }
.qe-astart-zij .qe-actie-grootsub { display: block; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .82); margin-top: 12px; max-width: 260px; }
.qe-astart-zij.beeld img { width: 100%; max-width: none; max-height: 300px; object-fit: cover; border-radius: 18px; display: block; }
.qe-astart-meer { display: inline-block; margin-top: 20px; font-size: 15px; font-weight: 500; color: #6A2C91; text-decoration: none; border-bottom: 1px solid #6A2C91; padding-bottom: 3px; }
@media (max-width: 900px) {
  .qe-astart-wrap { padding: 0 20px 72px 20px; }
  .qe-astart { padding: 40px 28px; border-radius: 20px; }
  .qe-astart-in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .qe-astart-titel { font-size: clamp(27px, 7.4vw, 38px); letter-spacing: -1px; }
  .qe-astart-p { font-size: 16px; }
  .qe-astart-zij { align-items: flex-start; text-align: left; order: -1; }
  .qe-astart-zij .qe-actie-groot { font-size: clamp(56px, 17vw, 80px); letter-spacing: -2.5px; }
}

/* ---- Actiepagina ---- */
.qe-acties { padding: 0 7%; max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 38px; min-height: 260px; }
.qe-actie { background: #fff; border: 1px solid #ECEEF2; border-radius: 24px; overflow: hidden; scroll-margin-top: 140px; box-shadow: 0 20px 50px rgba(0, 30, 69, .06); }
.qe-actie-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.qe-actie.smal .qe-actie-in { grid-template-columns: minmax(0, 1fr); }
.qe-actie-tekst { padding: 52px; min-width: 0; }
.qe-actie-label { font-family: 'Roboto Mono', monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #6A2C91; }
.qe-actie .qe-actie-titel { font-size: clamp(27px, 3.4vw, 40px) !important; line-height: 1.1; font-weight: 300; letter-spacing: -1.2px !important; margin: 14px 0 0 0; overflow-wrap: anywhere; }
.qe-actie-p { font-size: 16.5px; line-height: 1.65; color: #3C4A5A; margin: 16px 0 0 0; }
ul.qe-actie-p { padding-left: 20px; }
ul.qe-actie-p li { margin-bottom: 6px; }
.qe-actie-tussenkop { font-family: 'Roboto Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9AA1AD; margin-top: 32px; }
.qe-actie-stappen { list-style: none; counter-reset: stap; padding: 0; margin: 16px 0 0 0; display: flex; flex-direction: column; gap: 14px; }
.qe-actie-stappen li { counter-increment: stap; position: relative; padding: 5px 0 5px 48px; min-height: 34px; font-size: 16px; line-height: 1.5; color: #001E45; }
.qe-actie-stappen li::before { content: counter(stap); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: #FFF3E5; color: #C2410C; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.qe-actie-knop { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; background: #F99D3E; color: #001E45; font-weight: 500; font-size: 15px; padding: 15px 28px; border-radius: 99px; text-decoration: none; transition: background .2s; }
.qe-actie-knop:hover { background: #E88A2A; }
.qe-actie-knop:focus-visible { outline: 2px solid #6A2C91; outline-offset: 3px; }
.qe-actie-vw { margin-top: 28px; border-top: 1px solid #ECEEF2; padding-top: 18px; }
.qe-actie-vw summary { cursor: pointer; font-size: 14px; font-weight: 500; color: #5A6675; }
.qe-actie-vw summary:focus-visible { outline: 2px solid #6A2C91; outline-offset: 3px; border-radius: 4px; }
.qe-actie-vwp { font-size: 14px; line-height: 1.6; color: #5A6675; margin: 10px 0 0 0; }
ul.qe-actie-vwp { padding-left: 18px; }
.qe-actie-zij { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 0; }
.qe-actie-zij.getal { position: relative; overflow: hidden; background: #001E45; color: #fff; padding: 44px 30px; }
.qe-actie-zij.getal::after { content: ''; position: absolute; right: -90px; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, #F99D3E, rgba(249, 157, 62, 0) 70%); opacity: .4; pointer-events: none; }
.qe-actie-zij .qe-actie-groot { position: relative; z-index: 1; font-size: 80px; font-weight: 700; letter-spacing: -3px; line-height: 1; color: #F99D3E; overflow-wrap: anywhere; }
.qe-actie-zij .qe-actie-grootsub { position: relative; z-index: 1; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .84); margin-top: 12px; max-width: 250px; }
.qe-actie-zij.beeld img { width: 100%; height: 100%; max-width: none; min-height: 300px; object-fit: cover; display: block; }
.qe-actie-leeg { background: #fff; border: 1px solid #ECEEF2; border-radius: 24px; padding: 60px 52px; text-align: center; }
.qe-actie-leeg h2 { font-size: 30px !important; font-weight: 300; letter-spacing: -.8px !important; margin: 0; }
.qe-actie-leeg p { font-size: 16.5px; line-height: 1.6; color: #5A6675; margin: 14px 0 0 0; }
.qe-acties-laden { height: 260px; border-radius: 24px; background: linear-gradient(100deg, #F6F2EC 30%, #FBF8F3 50%, #F6F2EC 70%); background-size: 300% 100%; animation: qe-laden 1.6s ease-in-out infinite; }
@keyframes qe-laden { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* formulier bij een actie */
.qe-actie-form { position: relative; border-top: 1px solid #ECEEF2; background: #FFFCF8; padding: 46px 52px 50px 52px; scroll-margin-top: 130px; }
.qe-af-kop { font-size: 24px; font-weight: 700; letter-spacing: -.4px; margin: 0 0 6px 0; }
.qe-af-rij { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.qe-af-rij.een { grid-template-columns: minmax(0, 1fr); }
.qe-af-label { display: block; font-size: 13px; font-weight: 500; color: #5A6675; margin-bottom: 8px; }
.qe-af-label span { font-weight: 400; color: #8A93A0; }
.qe-af-veld { width: 100%; padding: 14px 16px; border: 2px solid #ECEEF2; border-radius: 12px; font-size: 15px; font-family: inherit; color: #001E45; background: #fff; transition: border-color .2s; }
textarea.qe-af-veld { resize: vertical; min-height: 110px; line-height: 1.5; }
.qe-af-knop { margin-top: 26px; border: 0; cursor: pointer; background: #F99D3E; color: #001E45; font-family: inherit; font-weight: 500; font-size: 16px; padding: 16px 32px; border-radius: 99px; }
.qe-af-knop:disabled { opacity: .6; cursor: default; }
.qe-af-fout { font-size: 14px; color: #B42318; margin: 16px 0 0 0; }
.qe-af-klein { font-size: 13px; line-height: 1.5; color: #6B7A8D; margin: 18px 0 0 0; max-width: 640px; }
.qe-af-klein a { color: #6A2C91; }
@media (max-width: 900px) {
  .qe-acties { padding: 0 20px; gap: 28px; }
  .qe-actie { border-radius: 20px; }
  .qe-actie-in { grid-template-columns: minmax(0, 1fr); }
  .qe-actie-tekst { padding: 34px 26px; }
  .qe-actie-zij { order: -1; }
  .qe-actie-zij.getal { padding: 34px 26px; align-items: flex-start; text-align: left; }
  .qe-actie-zij .qe-actie-groot { font-size: clamp(54px, 16vw, 76px); letter-spacing: -2.4px; }
  .qe-actie-zij.beeld img { min-height: 0; max-height: 260px; }
  .qe-actie-form { padding: 34px 26px 38px 26px; }
  .qe-af-rij { grid-template-columns: minmax(0, 1fr); }
  .qe-actie-leeg { padding: 44px 26px; }
}
@media (prefers-reduced-motion: reduce) { .qe-acties-laden { animation: none; } }

/* ---- Realisaties: lege groep, een adres dat niet (meer) bestaat, laden ---- */
.qe-rea-geen { grid-column: 1 / -1; font-size: 16.5px; line-height: 1.6; color: #5A6675; margin: 0; padding: 8px 0 30px 0; }
.qe-rea-weg { max-width: 760px; margin: 0 auto; padding: 190px 7% 130px 7%; }
.qe-rea-weg-label { font-family: 'Roboto Mono', monospace; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #6A2C91; margin-bottom: 20px; }
.qe-rea-weg h1 { font-size: 46px; line-height: 1.06; font-weight: 300; letter-spacing: -1.6px; color: #001E45; margin: 0; }
.qe-rea-weg p { font-size: 18px; line-height: 1.65; color: #5A6675; margin: 22px 0 0 0; }
.qe-rea-weg-knoppen { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.qe-rea-weg-link { margin-top: 32px; color: #6A2C91; font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 1px solid #6A2C91; padding-bottom: 3px; }
.qe-rea-laden { max-width: 1320px; margin: 0 auto; padding: 150px 7% 120px 7%; }
.qe-rea-laden-blok { height: 380px; border-radius: 24px; background: linear-gradient(100deg, #F6F2EC 30%, #FBF8F3 50%, #F6F2EC 70%); background-size: 300% 100%; animation: qe-laden 1.6s ease-in-out infinite; }
.qe-rea-laden-blok.smal { height: 120px; margin-top: 26px; max-width: 70%; }
@media (max-width: 760px) {
  .qe-rea-weg { padding: 140px 20px 90px 20px; }
  .qe-rea-weg h1 { font-size: 34px; letter-spacing: -1px; }
  .qe-rea-laden { padding: 120px 20px 80px 20px; }
  .qe-rea-laden-blok { height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .qe-rea-laden-blok { animation: none; } }

/* ---- Voorbeeld vanuit de beheerpagina ---- */
#qe-voorbeeld { position: fixed; left: 16px; bottom: 16px; z-index: 95; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: calc(100vw - 32px); background: #001E45; color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 11px 14px 11px 16px; font-family: 'Roboto', sans-serif; font-size: 13.5px; box-shadow: 0 18px 44px rgba(0, 30, 69, .32); }
#qe-voorbeeld b { font-family: 'Roboto Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; background: #F99D3E; color: #001E45; padding: 3px 10px; border-radius: 99px; }
#qe-voorbeeld span { color: rgba(255, 255, 255, .82); }
#qe-voorbeeld button { border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font: inherit; font-size: 13px; padding: 6px 13px; border-radius: 99px; cursor: pointer; }
#qe-voorbeeld button:hover { background: rgba(255, 255, 255, .12); }
/* SITE-DATA:EINDE */
