/* WhatsApp-verzoek taak e5f3cf04: dienstkaarten en fotoraster op /nieuwbouw/aanbouw en /nieuwbouw/verbouw/renovatie */
.ewg-wd{background:#fff;padding:8px 20px 80px;font-family:'Source Sans Pro',sans-serif}
.ewg-wd__in{max-width:1200px;margin-inline:auto}
.ewg-wd,.ewg-wd *{letter-spacing:normal!important;word-spacing:normal!important;text-transform:none}
.ewg-wd__kaarten{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:48px}
.ewg-wd__kaart{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;overflow:hidden;
  background:#1f2a2e;border-radius:16px;padding:40px 26px 32px;text-decoration:none!important;color:#fff!important;
  box-shadow:0 18px 40px -22px rgba(31,42,46,.55);
  transition:transform .85s cubic-bezier(.22,.61,.36,1),box-shadow .85s cubic-bezier(.22,.61,.36,1)}
.ewg-wd__kaart::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:rgb(35,76,151);
  transform:scaleX(.18);transition:transform .85s cubic-bezier(.22,.61,.36,1)}
.ewg-wd__kaart:hover,.ewg-wd__kaart:focus-visible{transform:translateY(-6px);box-shadow:0 26px 50px -24px rgba(31,42,46,.7)}
.ewg-wd__kaart:hover::after,.ewg-wd__kaart:focus-visible::after{transform:scaleX(1)}
.ewg-wd__nr{position:absolute;top:14px;right:18px;font-size:44px;font-weight:900;line-height:1;color:rgba(255,255,255,.07);letter-spacing:-1px}
.ewg-wd__ico{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 20px;border-radius:50%;
  background:rgb(35,76,151);color:#fff;box-shadow:0 10px 22px -10px rgba(35,76,151,.9)}
.ewg-wd__ico svg{width:30px;height:30px}
.ewg-wd h3.ewg-wd__kop{margin:0 0 10px!important;font-size:22px!important;line-height:1.2!important;font-weight:700!important;
  color:#fff!important;text-align:center!important;font-family:'Source Sans Pro',sans-serif!important}
.ewg-wd p.ewg-wd__tekst{margin:0 0 20px!important;font-size:16px!important;line-height:1.55!important;color:rgba(255,255,255,.76)!important;
  text-align:center!important;flex:1}
.ewg-wd__meer{font-size:15px;font-weight:700;color:#b3ccf3;letter-spacing:.02em}
.ewg-wd__kaart:hover .ewg-wd__meer{color:#fff}
.ewg-wd__fotos{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,270px);gap:14px}
.ewg-wd__foto{position:relative;display:block;overflow:hidden;border-radius:16px;background:#e9edf2}
.ewg-wd__foto--groot{grid-row:1 / span 2}
.ewg-wd__foto img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;display:block;margin:0!important;transition:transform .85s cubic-bezier(.22,.61,.36,1)}
.ewg-wd__foto::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(31,42,46,.55),rgba(31,42,46,0) 55%);
  opacity:0;transition:opacity .85s cubic-bezier(.22,.61,.36,1)}
.ewg-wd__foto:hover img,.ewg-wd__foto:focus-visible img{transform:scale(1.05)}
.ewg-wd__foto:hover::after,.ewg-wd__foto:focus-visible::after{opacity:1}
.ewg-wd__zoom{position:absolute;right:14px;bottom:14px;z-index:1;display:flex;align-items:center;justify-content:center;width:42px;height:42px;
  border-radius:50%;background:#fff;color:rgb(35,76,151);opacity:0;transform:translateY(8px);
  transition:opacity .85s cubic-bezier(.22,.61,.36,1),transform .85s cubic-bezier(.22,.61,.36,1)}
.ewg-wd__zoom svg{width:20px;height:20px}
.ewg-wd__foto:hover .ewg-wd__zoom,.ewg-wd__foto:focus-visible .ewg-wd__zoom{opacity:1;transform:none}
@media (min-width:901px) and (max-width:1024px){.ewg-wd__kaarten{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.ewg-wd__kaarten{grid-template-columns:repeat(2,1fr);gap:16px}
  .ewg-wd__fotos{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}
  .ewg-wd__foto--groot{grid-column:1 / -1;grid-row:auto;aspect-ratio:4/3}
  .ewg-wd__foto:not(.ewg-wd__foto--groot){aspect-ratio:1/1}}
@media (max-width:640px){.ewg-wd{padding:4px 16px 56px}
  .ewg-wd__kaarten{grid-template-columns:1fr;gap:14px;margin-bottom:32px}
  .ewg-wd__kaart{padding:30px 22px 26px}
  .ewg-wd__ico{width:56px;height:56px;margin-bottom:16px}.ewg-wd__ico svg{width:26px;height:26px}
  .ewg-wd h3.ewg-wd__kop{font-size:21px!important}
  .ewg-wd__fotos{gap:10px}.ewg-wd__foto{border-radius:12px}
  .ewg-wd__zoom{opacity:1;transform:none;width:36px;height:36px;right:10px;bottom:10px}}
/* lightbox */
.ewg-lb{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;background:rgba(10,14,16,.92);
  opacity:0;transition:opacity .4s ease;padding:56px 64px}
.ewg-lb.is-open{opacity:1}
.ewg-lb img{max-width:100%;max-height:100%;border-radius:10px;box-shadow:0 30px 60px -20px rgba(0,0,0,.7)}
.ewg-lb button{position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;
  border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font-size:26px;line-height:1;padding:0}
.ewg-lb button:hover{background:rgb(35,76,151);border-color:rgb(35,76,151)}
.ewg-lb__dicht{top:16px;right:16px}.ewg-lb__vorige{left:12px;top:50%;margin-top:-24px}.ewg-lb__volgende{right:12px;top:50%;margin-top:-24px}
@media (max-width:640px){.ewg-lb{padding:64px 12px}.ewg-lb__vorige,.ewg-lb__volgende{top:auto;bottom:14px;margin:0}
  .ewg-lb__vorige{left:calc(50% - 60px)}.ewg-lb__volgende{right:calc(50% - 60px)}}
@media (prefers-reduced-motion:reduce){.ewg-wd__kaart,.ewg-wd__kaart::after,.ewg-wd__foto img,.ewg-wd__foto::after,.ewg-wd__zoom,.ewg-lb{transition:none}}
@media print{.ewg-wd__fotos{display:none}.ewg-wd__kaart{box-shadow:none;border:1px solid #ccc}}
