.dk-footer,
.dk-footer * {
  box-sizing: border-box;
}

.dk-footer {
  width: 100%;
  color: #eef2eb;
  background: #07110b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dk-footer a {
  color: inherit;
  text-decoration: none;
}

.dk-footer-main {
  padding: 66px 0 30px;
}

.dk-footer-inner,
.dk-footer-contactbar,
.dk-footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.dk-footer-inner {
  display: grid;
  grid-template-columns:
    minmax(285px, 1.28fr)
    minmax(155px, .72fr)
    minmax(175px, .78fr)
    minmax(180px, .78fr);
  gap: 48px;
  align-items: start;
}

.dk-footer-brand {
  max-width: 360px;
}

.dk-footer-brand-link {
  display: inline-flex;
  align-items: center;
}

.dk-footer-logo {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.dk-footer-brand h2 {
  margin: 24px 0 13px;
  color: #fff;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.dk-footer-intro {
  max-width: 350px;
  margin: 0;
  color: #9da79d;
  font-size: 13.5px;
  line-height: 1.7;
}

.dk-footer-active {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.dk-footer-active-label {
  margin-right: 3px;
  color: #687367;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.dk-footer-country {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #334036;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #c5ccc4;
  background: rgba(255,255,255,.015);
  font-size: 11px;
}

.dk-footer-calculator {
  min-height: 46px;
  margin-top: 25px;
  padding: 0 16px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #14200f;
  background: #8eb65d;
  font-size: 12px;
  font-weight: 850;
  transition: background-color .18s ease, transform .18s ease;
}

.dk-footer-calculator svg {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
}

.dk-footer-calculator:hover,
.dk-footer-calculator:focus-visible {
  background: #9fc772;
  transform: translateY(-1px);
}

.dk-footer-calculator:hover svg,
.dk-footer-calculator:focus-visible svg {
  transform: translateX(3px);
}

.dk-footer-column h3 {
  margin: 5px 0 17px;
  color: #e8ede5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dk-footer-column nav {
  display: grid;
  gap: 2px;
}

.dk-footer-column nav a {
  width: fit-content;
  padding: 5px 0;
  color: #a4aea3;
  font-size: 12.5px;
  line-height: 1.4;
  transition: color .18s ease, transform .18s ease;
}

.dk-footer-column nav a:hover,
.dk-footer-column nav a:focus-visible {
  color: #fff;
  transform: translateX(2px);
}

.dk-footer-contactbar {
  margin-top: 56px;
  border-top: 1px solid #2a352d;
  border-bottom: 1px solid #2a352d;
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr .9fr;
}

.dk-footer-contactitem {
  min-height: 92px;
  padding: 24px 20px 22px;
  border-right: 1px solid #263028;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dk-footer-contactitem:first-child {
  padding-left: 0;
}

.dk-footer-contactitem:last-child {
  border-right: 0;
}

.dk-footer-contactitem span {
  margin-bottom: 8px;
  color: #677268;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.dk-footer-contactitem strong,
.dk-footer-contactitem a {
  color: #dce3da;
  font-size: 12.5px;
  font-weight: 750;
}

.dk-footer-contactitem a:hover,
.dk-footer-contactitem a:focus-visible {
  color: #9acb68;
}

.dk-footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dk-footer-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #6f7a70;
  font-size: 9.5px;
}

.dk-footer-bottom-left strong,
.dk-footer-bottom-left a {
  color: #a7b0a7;
  font-weight: 750;
}

.dk-footer-bottom-left a:hover,
.dk-footer-bottom-left a:focus-visible {
  color: #fff;
}

.dk-footer-divider {
  width: 1px;
  height: 14px;
  margin: 0 5px;
  background: #344037;
}

.dk-footer-social-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.dk-footer-social-label {
  color: #687368;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.dk-footer-socials {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dk-footer-socials a {
  width: 34px;
  height: 34px;
  border: 1px solid #313c34;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c3cbc2;
  background: rgba(255,255,255,.015);
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.dk-footer-socials a:hover,
.dk-footer-socials a:focus-visible {
  color: #fff;
  background: rgba(142,182,93,.12);
  border-color: rgba(142,182,93,.48);
  transform: translateY(-2px);
}

.dk-footer-socials svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 980px) {
  .dk-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 38px 32px;
  }

  .dk-footer-brand {
    max-width: none;
    grid-column: 1 / -1;
  }

  .dk-footer-contactbar {
    grid-template-columns: 1fr 1fr;
  }

  .dk-footer-contactitem:nth-child(2) {
    border-right: 0;
  }

  .dk-footer-contactitem:nth-child(-n+2) {
    border-bottom: 1px solid #263028;
  }

  .dk-footer-bottom {
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dk-footer-social-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .dk-footer-inner,
  .dk-footer-contactbar,
  .dk-footer-bottom {
    width: calc(100% - 28px);
  }

  .dk-footer-main {
    padding-top: 52px;
  }

  .dk-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dk-footer-brand {
    grid-column: auto;
  }

  .dk-footer-logo {
    width: 68px;
    height: 68px;
  }

  .dk-footer-brand h2 {
    font-size: 22px;
  }

  .dk-footer-calculator {
    width: 100%;
  }

  .dk-footer-contactbar {
    margin-top: 40px;
    grid-template-columns: 1fr;
  }

  .dk-footer-contactitem,
  .dk-footer-contactitem:nth-child(2) {
    min-height: 78px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid #263028;
  }

  .dk-footer-contactitem:last-child {
    border-bottom: 0;
  }

  .dk-footer-bottom-left {
    line-height: 1.6;
  }

  .dk-footer-social-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .dk-footer-socials {
    flex-wrap: wrap;
  }
}


/* FOOTER V6 - onderbalk zonder middenlink */
.dk-footer-bottom {
  min-height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.dk-footer-bottom-center {
  display: none !important;
}

@media (max-width: 980px) {
  .dk-footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
}


/* FOOTER V8 - kostenindicatie CTA */
.dk-footer-calculator {
  min-width: 154px !important;
  padding-inline: 17px !important;
}


/* MOBILE FLOATING BUTTONS FIX V9 */
@media (max-width: 767px) {

  .dk-footer {
    position: relative !important;
    z-index: 1 !important;

    padding-bottom: 92px !important;
  }

  body {
    padding-bottom: 82px !important;
  }

  /* Common WhatsApp widgets: always above the Call Now bar */
  .joinchat,
  .joinchat__button,
  .ht-ctc-chat,
  #ht-ctc-chat,
  .qlwapp,
  #qlwapp,
  .wa__btn_popup,
  .whatsapp-button,
  .whatsapp_float,
  .floating-whatsapp {
    bottom: 96px !important;
    z-index: 999999 !important;
  }

  /* Common Call Now Button plugin selectors */
  #callnowbutton,
  .call-now-button,
  .cnb-single,
  .cnb-full,
  .cnb-full-bottom {
    z-index: 99990 !important;
  }
}

/* MOBILE FOOTER + QLWAPP V10 */
@media (max-width: 767px) {

  /* oude extra ruimte terugdraaien */
  body {
    padding-bottom: 0 !important;
  }

  .dk-footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .dk-footer-main {
    padding-bottom: 24px !important;
  }

  .dk-footer-bottom {
    margin-bottom: 0 !important;
    padding-bottom: 18px !important;
  }

  /* Exacte QuadLayers WhatsApp widget */
  #qlwapp,
  .qlwapp {
    bottom: 84px !important;
    z-index: 999999 !important;
  }

  #qlwapp .qlwapp__button,
  .qlwapp .qlwapp__button,
  .qlwapp__button.qlwapp__button--button {
    margin: 0 !important;

    transform: translateY(-2px) !important;
  }

  /* Call Now blijft onder WhatsApp */
  #callnowbutton,
  .call-now-button,
  .cnb-single,
  .cnb-full,
  .cnb-full-bottom {
    z-index: 99990 !important;
  }
}

/* MOBILE FOOTER FIX V11 */
@media (max-width: 767px) {

  /* Geen witte extra ruimte onder de footer */
  html,
  body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: #07110b !important;
  }

  .dk-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: #07110b !important;
  }

  /* Houd socials volledig boven de vaste belbalk */
  .dk-footer-bottom {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 92px !important;

    background: #07110b !important;
  }

  .dk-footer-social-wrap {
    position: relative !important;
    z-index: 2 !important;

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .dk-footer-socials {
    position: relative !important;
    z-index: 2 !important;

    margin-bottom: 0 !important;
  }

  /* QuadLayers WhatsApp: parent omhoog, niet de knop naar beneden transformeren */
  #qlwapp,
  .qlwapp {
    bottom: 106px !important;
    top: auto !important;

    margin: 0 !important;

    z-index: 999999 !important;

    transform: none !important;
  }

  #qlwapp .qlwapp__button,
  .qlwapp .qlwapp__button,
  .qlwapp__button.qlwapp__button--button {
    margin: 0 !important;

    transform: translateY(-2px) !important;
  }

  /* Belbalk blijft onder WhatsApp */
  #callnowbutton,
  .call-now-button,
  .cnb-single,
  .cnb-full,
  .cnb-full-bottom {
    z-index: 99990 !important;
  }
}
