/* ============================================================
   Effecta theme.css: WordPress-specifiek, layout van header/footer,
   responsive gedrag van de ontwerpsecties, print.
   Tokens en componenten staan in ef.css.
   ============================================================ */

/* ---- Fonts (self-hosted) ---- */
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:300;font-display:swap;src:url("../fonts/Ubuntu-Light.woff2") format("woff2")}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/Ubuntu-Regular.woff2") format("woff2")}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/Ubuntu-Medium.woff2") format("woff2")}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ef-white)}
.ef-site{min-height:100vh;display:flex;flex-direction:column;overflow:visible}
.ef-main{flex:1;display:flex;flex-direction:column}
.ef-main > *{width:100%}
.ef-site--paper{background:var(--ef-paper)}
.ef-site--paper .ef-main{background:var(--ef-paper)}
.ef-skip{position:absolute;left:-9999px;top:0;z-index:1000;background:var(--ef-ink);color:#fff;padding:12px 16px;border-radius:0 0 8px 0}
.ef-skip:focus{left:0}
.ef-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ef-hp{position:absolute;left:-9999px;top:-9999px;height:0;overflow:hidden}
.ef *:focus-visible{outline:none;box-shadow:var(--ef-focus);border-radius:4px}
.ef-narrow{max-width:920px}
.ef-prose{display:flex;flex-direction:column;gap:20px;font-size:17px;line-height:1.65}
.ef-prose h2{font-size:var(--ef-fs-h3);font-weight:var(--ef-fw-medium);margin-top:16px}
.ef-prose h3{font-size:var(--ef-fs-h4);font-weight:var(--ef-fw-medium)}
.ef-prose ul,.ef-prose ol{padding-left:22px;list-style:disc;display:flex;flex-direction:column;gap:8px}
.ef-prose ol{list-style:decimal}
.ef-prose a{color:var(--ef-green-action);text-decoration:underline;text-underline-offset:2px}
.ef-prose table{width:100%;border-collapse:collapse}
.ef-prose td,.ef-prose th{padding:10px 12px;border-bottom:1px solid var(--ef-line);text-align:left;vertical-align:top}


/* ---- Fix: ".ef a{color:inherit}" in ef.css wint van de knopkleuren (hogere specificiteit). ---- */
.ef a.ef-btn--primary,.ef a.ef-btn--ink,.ef a.ef-btn--ghost-white,.ef a.ef-badge--free,.ef-section--ink a.ef-btn--white,.ef-card--ink a.ef-btn--white{color:var(--ef-white)}
.ef a.ef-btn--ghost,.ef a.ef-btn--mist,.ef a.ef-btn--white,.ef a.ef-btn--quiet{color:var(--ef-ink)}
.ef a.ef-btn--quiet:hover,.ef a.ef-link--green,.ef a.ef-link:hover,.ef a.ef-green{color:var(--ef-green-action)}
.ef a.ef-btn:disabled,.ef a.ef-btn.is-disabled{color:var(--ef-grey-soft)}
.ef-section--ink a.ef-link,.ef-card--ink a.ef-link{color:var(--ef-white)}
.ef-section--ink a.ef-link:hover,.ef-card--ink a.ef-link:hover{color:var(--ef-green-soft)}
.ef .ef-footer a{color:var(--ef-on-dark-muted)}
.ef .ef-footer a:hover,.ef .ef-footer__brand a{color:var(--ef-white)}

/* ---- Header ---- */
.ef-header{position:sticky;top:0;z-index:100;background:var(--ef-white)}
.ef-nav{transition:height .2s}
.ef-nav__item{position:relative}
.ef-nav__toggle{font:inherit;font-size:15px;font-weight:var(--ef-fw-medium);color:var(--ef-ink);background:none;border:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;gap:6px;height:44px}
.ef-nav__toggle svg{width:12px;height:12px;color:var(--ef-grey-soft);transition:transform .15s}
.ef-nav__item.is-open .ef-nav__toggle,.ef-nav__item.is-active .ef-nav__toggle,.ef-nav__toggle:hover{color:var(--ef-green-action)}
.ef-nav__item.is-open .ef-nav__toggle svg{transform:rotate(180deg)}
.ef-nav__panel{position:absolute;top:100%;left:-16px;padding-top:8px;display:none;z-index:101}
.ef-nav__item.is-open .ef-nav__panel{display:block}
.ef-nav__panel .ef-mega{width:720px;padding:16px;gap:4px}
.ef-nav__items .ef-mega a{height:auto;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px 14px;font-size:15px;line-height:1.35;white-space:normal;color:var(--ef-ink);border-radius:10px}
.ef-nav__items .ef-mega a:hover{background:var(--ef-paper);color:var(--ef-ink)}
.ef-nav__items .ef-mega a b{display:flex;align-items:center;gap:8px;font-weight:var(--ef-fw-medium);color:var(--ef-ink)}
.ef-nav__items .ef-mega a:hover b{color:var(--ef-green-action)}
.ef-nav__items .ef-mega a span{font-size:13px;line-height:1.4;color:var(--ef-grey);font-weight:var(--ef-fw-regular)}
.ef-nav__items .ef-mega a .ef-c{width:14px;height:14px;color:var(--ef-green)}
.ef-nav__items .ef-mega a .ef-c svg{width:14px;height:14px;color:inherit}
.ef-nav__panel .ef-mega--list{width:320px}
.ef-nav__panel .ef-mega--list{grid-template-columns:1fr}
.ef-burger{display:none}
.ef-mobilemenu{position:fixed;inset:64px 0 0;background:var(--ef-white);z-index:99;overflow:auto;padding:8px var(--ef-gutter) 32px;display:flex;flex-direction:column;gap:24px}
.ef-mobilemenu[hidden]{display:none}
.ef-mobilemenu .ef-accordion__head button{font:inherit;width:100%;display:flex;align-items:center;justify-content:space-between;min-height:52px;border:0;border-bottom:1px solid var(--ef-line);background:none;padding:0;font-weight:var(--ef-fw-medium);font-size:17px;color:var(--ef-ink);cursor:pointer}
.ef-mobilemenu .ef-accordion__head.is-open button{color:var(--ef-green-action)}
.ef-mobilemenu .ef-accordion__head button svg{width:14px;height:14px;color:var(--ef-grey-soft)}
.ef-mobilemenu .ef-accordion__link{display:flex;align-items:center;min-height:52px;border-bottom:1px solid var(--ef-line);font-weight:var(--ef-fw-medium);font-size:17px}
.ef-mobilemenu ul{padding:4px 0 12px 16px;border-bottom:1px solid var(--ef-line);display:flex;flex-direction:column}
.ef-mobilemenu ul a{display:block;padding:10px 0}
.ef-mobilemenu__cta{display:flex;flex-direction:column;gap:12px}
.ef-menu-open{overflow:hidden}
.ef-stickybar--fixed{position:fixed;display:none;z-index:98}
.ef-convnav{height:80px;display:flex;align-items:center;justify-content:space-between}
.ef-convfooter{height:64px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--ef-line);font-size:13px;color:var(--ef-grey);margin-top:auto;gap:16px;flex-wrap:wrap}
.ef-convfooter a{color:inherit}

/* ---- Footer ---- */
.ef-footer{margin-top:auto}
.ef-footer__grid > div > h4{cursor:default}
.ef-pagination{display:flex;gap:8px;justify-content:center}
.ef-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--ef-line);border-radius:var(--ef-radius-pill);font-weight:var(--ef-fw-medium)}
.ef-pagination .page-numbers.current{background:var(--ef-ink);color:#fff;border-color:var(--ef-ink)}

/* ---- Scan ---- */
.ef-scan-wrap{width:100%;max-width:760px;margin:0 auto;padding:40px var(--ef-gutter);display:flex;flex-direction:column;gap:32px}
.ef-scan-card{padding:48px}
.ef-scan-card h1{font-size:34px}
.ef-opt input:focus-visible ~ .ef-opt__radio{box-shadow:var(--ef-focus)}
.ef-scan-sticky{position:sticky;top:40px}
.ef-form button[type=submit]{width:100%}

/* ---- Formulierfouten ---- */
.ef-form .ef-input:invalid:not(:placeholder-shown),.ef-form .ef-textarea:invalid:not(:placeholder-shown){border-color:var(--ef-status-alert)}

/* Koppen met 800px-kolom plus knoppen rechts: knoppen mogen omlopen, kolom mag krimpen */
.ef-main [style*="grid-template-columns: 800px 1fr"]{grid-template-columns:minmax(0,1fr) auto!important}
.ef-main [style*="justify-content: flex-end"][style*="display: flex"]{flex-wrap:wrap}

/* ---- Responsive: ontwerpsecties zijn met inline grids gebouwd op 1440px ---- */
@media (max-width:1100px){
  .ef{--ef-gutter:40px}
  .ef-nav__items{gap:18px}
  .ef-nav__items a,.ef-nav__toggle{font-size:14px}
  .ef-main [style*="grid-template-columns: 560px"],.ef-main [style*="grid-template-columns: 800px"],.ef-main [style*="grid-template-columns: 1fr 600px"],.ef-main [style*="grid-template-columns: 1fr 560px"],.ef-main [style*="grid-template-columns: 1fr 520px"],.ef-main [style*="grid-template-columns: 420px"],.ef-main [style*="grid-template-columns: 1fr 380px"],.ef-main [style*="grid-template-columns: 1fr 420px"],.ef-main [style*="grid-template-columns: 1fr 440px"],.ef-main [style*="grid-template-columns: 1fr 480px"],.ef-main [style*="grid-template-columns: 1fr 2fr"],.ef-main [style*="grid-template-columns: 2fr 1fr"],.ef-main [style*="grid-template-columns: 1fr 1fr"]{grid-template-columns:1fr!important}
  .ef-main .ef-screen[style*="width"]{width:100%!important}
  .ef-main [style*="left: -80px"]{display:none}
  .ef-main .ef-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ef-main .ef-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ef-main [style*="position: sticky"]{position:static!important}
  .ef-title--right{align-items:flex-start;text-align:left}
  .ef-title--right .ef-anchor{align-self:flex-start;max-width:320px}
  .ef-main [style*="align-self: flex-end"]{align-self:flex-start!important}
  .ef-main [style*="max-width: 720px"]{max-width:none!important}
}
@media (max-width:900px){
  .ef-nav__items,.ef-nav__cta{display:none}
  .ef-burger{display:grid}
  .ef-nav{height:64px}
  .ef-nav__logo img{height:36px}
  .ef-nav--compact{height:64px}
  .ef-stickybar--fixed{display:flex}
  body:not(.ef-page--conversion) .ef-footer{padding-bottom:88px}
  .ef-footer__grid{grid-template-columns:1fr 1fr;gap:32px}
  .ef-footer__brand{grid-column:span 2;align-items:flex-start;text-align:left}
}
@media (max-width:767px){
  .ef{--ef-fs-display:48px;--ef-fs-h1:36px;--ef-fs-h2:28px;--ef-fs-h3:22px;--ef-fs-h4:18px;--ef-fs-lead:17px;--ef-fs-num:40px;--ef-section:64px;--ef-gutter:20px}
  .ef-wrap{padding:0 var(--ef-gutter)}
  .ef-logos{justify-content:flex-start;gap:var(--ef-space-3) var(--ef-space-6)}
  .ef-logos li{font-size:13px}
  .ef-quote__text{font-size:22px}
  .ef-grid-2,.ef-grid-3{grid-template-columns:1fr}
  .ef-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ef-main .ef-grid-3,.ef-main .ef-grid-2{grid-template-columns:1fr}
  .ef-main [style*="grid-template-columns"]:not(.ef-row):not(.ef-grid-4):not(.ef-screen__body):not(.ef-scan-row){grid-template-columns:1fr!important}
  .ef-main .ef-screen__body{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ef-main .ef-screen__body > [style*="grid-column: span 2"]{grid-column:span 2}
  .ef-main [style*="padding: 40px"],.ef-main [style*="padding: 48px"]{padding:24px!important}
  .ef-main [style*="min-height: 360px"]{min-height:0!important}
  .ef-main .ef-steps--row{grid-auto-flow:row}
  .ef-main [style*="font-size: 112px"]{font-size:72px!important}
  .ef-main [style*="font-size: 48px"]{font-size:32px!important}
  .ef-main [style*="font-size: 34px"]{font-size:26px!important}
  .ef-main [style*="font-size: 30px"]{font-size:24px!important}
  .ef-main .ef-scan-row{grid-template-columns:1fr!important;margin:0!important;padding-left:16px!important;padding-right:16px!important}
  .ef-main .ef-scan-result{padding:24px 0 48px}
  .ef-main [style*="gap: 96px"]{gap:40px!important}
  .ef-main [style*="gap: 80px"]{gap:40px!important}
  .ef-main [style*="gap: 64px"]{gap:32px!important}
  .ef-main [style*="flex-direction: row"]{flex-direction:column!important;align-items:flex-start!important}
  .ef-btn--lg{min-height:52px;font-size:16px;padding:0 24px}
  .ef-main .ef-btn{max-width:100%;white-space:normal;text-align:center}
  .ef-main [style*="display: flex; gap: 12px"] > .ef-btn{flex:1 1 100%}
  .ef-table{display:block;overflow-x:auto}
  .ef-scan-card{padding:24px}
  .ef-scan-card h1{font-size:26px}
  .ef-convfooter{height:auto;padding:16px 0;flex-direction:column;align-items:flex-start;gap:8px}
  .ef-mobilemenu{inset:64px 0 0}
  .ef-footer__grid{grid-template-columns:1fr;gap:0}
  .ef-footer__grid > div{border-bottom:1px solid #2E323C}
  .ef-footer__grid > div > h4{display:flex;justify-content:space-between;align-items:center;min-height:52px;margin:0;cursor:pointer;color:#fff;font-size:17px;text-transform:none;letter-spacing:0}
  .ef-footer__grid > div > h4::after{content:"";width:8px;height:8px;border-right:1.5px solid var(--ef-grey-soft);border-bottom:1.5px solid var(--ef-grey-soft);transform:rotate(45deg);transition:transform .15s}
  .ef-footer__grid > div.is-open > h4::after{transform:rotate(225deg)}
  .ef-footer__grid > div > ul{display:none;padding:0 0 16px}
  .ef-footer__grid > div.is-open > ul{display:flex}
  .ef-footer__brand{grid-column:auto;border-bottom:0;align-items:flex-start;text-align:left;padding:32px 0 24px}
  .ef-footer__bottom{flex-direction:column;align-items:flex-start;gap:12px}
  .ef-footer__bottom ul{flex-wrap:wrap;gap:16px}
}

/* ---- Print (scanresultaat) ---- */
@media print{
  .ef-header,.ef-footer,.ef-stickybar,.ef-convnav,.ef-convfooter,#ef-scan-status,.ef-card--ink{display:none!important}
  .ef-scan-result{grid-template-columns:1fr!important;gap:24px!important}
  body{background:#fff}
}
