:root{
  --nav-bg-height: calc(20em + calc(2em + 3em + 2.5em + 3em));
  --cubic-default: cubic-bezier(0.525, 0, 0, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.450s;
  --color-dark: #2b1d15;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible, button:focus-visible{
  outline: 1px solid var(--color-dark);
}

.nav {
  z-index: 100;
  color: #fff;
  position: fixed;
  background: white;
  top: 0;
  left: 0;
  right: 0;
  transition: color var(--duration-fast) var(--cubic-default);
}

.nav-inner {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 25px 0px;
  display: flex;
  position: relative;
}

.nav-container {
  z-index: 1;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3em;
  padding-right: 3em;
  position: relative;
}

.resource-bg {
  color: #fff;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  height: 100svh;
  padding-bottom: 2em;
  padding-left: 2.5em;
  display: flex;
  position: relative;
}

.resource-bg__img {
  z-index: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.resource-bg__heading {
  z-index: 1;
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(100px, 15vw, 200px);
  font-weight: 500;
  line-height: 1;
  position: relative;
}

.nav-logo {
  width: 150px;
}

.nav-end {
  grid-column-gap: .75em;
  grid-row-gap: .75em;
  justify-content: flex-end;
  align-items: stretch;
  display: flex;
}

.nav-button {
  border-radius: .25em;
  justify-content: center;
  align-items: center;
  height: 3em;
  padding-left: 1.5em;
  padding-right: 1.5em;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 100px;
  display: flex;
  background: red;
  transition: all var(--duration-fast) var(--cubic-default);
}

.nav-button.is--primary {
  color: white;
  background-color: #f75d1c;;
  border-color: #f75d1c;;
}

.nav-center__list {
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
}

.nav-link {
  grid-column-gap: .375em;
  grid-row-gap: .375em;
  background-color: #0000;
  border-radius: .25em;
  justify-content: center;
  align-items: center;
  padding: .75em 1.25em;
  display: flex;
}

.nav-link__label {
  font-size: 15px;
  line-height: 1;
  position: relative;
  color: #000;
}

.nav-link__dropdown-icon {
  width: 12px;
  position: relative;
  top: 3px;
}

.nav-dropdown {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  width: 100%;
  padding-top: 4em;
  padding-bottom: 3em;
  position: fixed;
  left: 0;
  right: 0;
  transition: all var(--duration-fast) ease, transform var(--duration-normal) var(--cubic-default);
}

.nav-dropdown.visible {
  opacity: 100;
  pointer-events: auto;
  visibility: visible;
}

.nav-bg {
  background-color: #fff;
  width: 100%;
  height: 0;
  position: absolute;
  inset: 0% 0% auto;
  transition: height var(--duration-normal) var(--cubic-default); 
}

.nav-dropdown__content {
  grid-column-gap: 1.25em;
  grid-row-gap: 1.25em;
  width: 100%;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
}

.nav-dropdown__content-li {
  flex: 1;
}

.nav-dropdown__link {
  color: #fff;
  border-radius: 0px;
  flex-flow: column;
  flex: 1;
  justify-content: flex-end;
  align-items: stretch;
  height: 22em;
  padding: 1.5em;
  display: flex;
  position: relative;
  overflow: hidden;
}

.nav-dropdown__link.is--static {
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  transition: background-color .2s cubic-bezier(.625, .05, 0, 1);
}

.nav-dropdown__link-inner {
  z-index: 1;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
}

.nav-dropdown__link-label {
  font-size: 26px;
  transition: transform .2s cubic-bezier(.625, .05, 0, 1);
}

.nav-dropdown__link-bubble {
  color: #fff;
  background-color: #2b93cc;
  border-radius: 100em;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  padding: .25em;
  transition: transform .2s cubic-bezier(.625, .05, 0, 1);
  display: flex;
}

.icon {
  width: 100%;
  height: 100%;
}

.nav-dropdown__link-bg {
  position: absolute;
  inset: 0%;
}

.nav-dropdown__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .35s cubic-bezier(.625, .05, 0, 1);
}

.nav-dropdown__img-overlay {
  z-index: 1;
  opacity: .25;
  background-image: linear-gradient(#0000, #0000 50%, #000);
  transition: opacity .2s cubic-bezier(.625, .05, 0, 1);
  position: absolute;
  inset: 0%;
}

.page-bg {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background-color: #0000004d;
  width: 100%;
  height: 100vh;
  position: absolute;
  inset: 0% 0% auto;
  transition: opacity var(--duration-fast) var(--cubic-default);
}

.menu-button {
  grid-column-gap: .25em;
  grid-row-gap: .25em;
  background-color: currentColor;
  border-radius: .25em;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 3em;
  height: 3em;
  padding: .75em;
  display: none;
}

.menu-button.is--primary {
  color: #2b93cc;
  background-color: #fff;
  border-color: #fff;
}

.menu-button__line {
  background-color: white;
  width: 100%;
  height: 1px;
}

/* ———— SHOW DROPDOWN ———— */
.nav-dropdown{ 
 transition: all var(--duration-fast) ease, transform var(--duration-normal) var(--cubic-default);
}

[data-dropdown-toggle]:hover + .nav-dropdown,
[data-dropdown-toggle]:focus-visible + .nav-dropdown,
.nav-dropdown:hover,
.nav-dropdown:focus-within{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ———— STYLING WHEN DROPDOWN IS OPEN ———— */
:is(
  body:has([data-dropdown-toggle]:hover),
  body:has([data-dropdown-toggle]:focus-visible),
  body:has([data-dropdown-toggle]:focus-within),
  body:has(.nav-dropdown:hover),
  body:has(.nav-dropdown:focus-within)
) .nav-bg {
  height: var(--nav-bg-height);
}

:is(
  body:has([data-dropdown-toggle]:hover),
  body:has([data-dropdown-toggle]:focus-visible),
  body:has([data-dropdown-toggle]:focus-within),
  body:has(.nav-dropdown:hover),
  body:has(.nav-dropdown:focus-within)
) .page-bg {
  opacity: 1;
}

:is(
  body:has([data-dropdown-toggle]:hover),
  body:has([data-dropdown-toggle]:focus-visible),
  body:has([data-dropdown-toggle]:focus-within),
  body:has(.nav-dropdown:hover),
  body:has(.nav-dropdown:focus-within)
) .nav {
  color: var(--color-dark);
}

:is(
  body:has([data-dropdown-toggle]:hover),
  body:has([data-dropdown-toggle]:focus-visible),
  body:has([data-dropdown-toggle]:focus-within),
  body:has(.nav-dropdown:hover),
  body:has(.nav-dropdown:focus-within)
) .nav-button {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

:is(
  body:has([data-dropdown-toggle]:hover),
  body:has([data-dropdown-toggle]:focus-visible),
  body:has([data-dropdown-toggle]:focus-within),
  body:has(.nav-dropdown:hover),
  body:has(.nav-dropdown:focus-within)
) .nav-button.is--primary {
  background-color: #f75d1c;
  border-color: #f75d1c;
  color: #FFF;
}


/* ———— DROPDOWN TOGGLE ———— */
.nav-link__dropdown-icon{ 
  transition: transform var(--duration-normal) var(--cubic-default);
}
[data-dropdown-toggle]{
  transition: background-color var(--duration-fast) var(--cubic-default);
}

/* ———— DESKTOP HOVER AND FOCUS ———— */
@media screen and (min-width: 768px){
  [data-dropdown-toggle]:hover .nav-link__dropdown-icon,
  [data-dropdown-toggle]:focus .nav-link__dropdown-icon,
  [data-dropdown-toggle]:focus-within .nav-link__dropdown-icon,
  [data-dropdown-toggle]:has(+ .nav-dropdown:hover) .nav-link__dropdown-icon,
  [data-dropdown-toggle]:has(+ .nav-dropdown:focus-within) .nav-link__dropdown-icon{
    transform: rotate(180deg);
  }
  
}


.nav-dropdown__content-li{
 transition: all var(--duration-normal) var(--cubic-default);
 transition-delay: 0.18s;
 opacity:0;
 transform: translate(4em, 0px);
}

.nav-dropdown__content-li:nth-child(2){ transition-delay:0.24s; }
.nav-dropdown__content-li:nth-child(3){ transition-delay:0.3s; }
.nav-dropdown__content-li:nth-child(4){ transition-delay:0.36s; }
.nav-dropdown__content-li:nth-child(5){ transition-delay:0.44s; }
body:has([data-dropdown-toggle]:hover) [data-dropdown-toggle]:hover + .nav-dropdown .nav-dropdown__content-li,
body:has([data-dropdown-toggle]:focus-visible) .nav-dropdown__content-li,
body:has([data-dropdown-toggle]:focus-within) .nav-dropdown__content-li,
body:has(.nav-dropdown:hover) .nav-dropdown__content-li,
body:has(.nav-dropdown:focus-within) .nav-dropdown__content-li{
  opacity: 1;
  transform: translate(0em, 0px);
}

/* ————  DROPDOWN LINKS + IMAGES ———— */
.nav-dropdown__link:hover .nav-dropdown__img-overlay,
.nav-dropdown__link:focus-visible .nav-dropdown__img-overlay{
  opacity: 0;
}

.nav-dropdown__link:hover .nav-dropdown__img,
.nav-dropdown__link:focus-visible .nav-dropdown__img{
  transform: scale(1.1);
}

/* ———— DROPDOWN LINKS ———— */
.nav-dropdown__link.is--static:hover,
.nav-dropdown__link.is--static:focus-visible{
  background: #D7D1CD;
}

/* ———— NAV LINKS ———— */
a.nav-link .nav-link__label::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform var(--duration-normal) var(--cubic-default);
  transform: scale(0, 1);
  transform-origin: right center;
}

a.nav-link:hover .nav-link__label::after,
a.nav-link:focus-visible .nav-link__label::after{
  transform: scale(1, 1);
  transform-origin: left center;
}

@media screen and (max-width: 991px) {
  .nav-inner {
    padding-top: 1.25em;
  }

  .nav-container {
    padding-left: 1.25em;
    padding-right: 1.25em;
  }

  .nav-button.md--hide {
    display: none;
  }

  .nav-link {
    padding-left: 1em;
    padding-right: 1em;
  }

  .nav-link__label {
    font-size: 1em;
  }

  .md--hide, .menu-button.md--hide {
    display: none;
  }
}



@media screen and (max-width: 479px) {
  .resource-bg__heading {
    font-size: clamp(40px, 15vw, 200px);
  }

  .nav-logo {
    width: 5em;
  }

  .nav-end {
    grid-column-gap: .5em;
    grid-row-gap: .5em;
  }

  .nav-button.is--primary {
    height: 2.5em;
    padding-left: .75em;
    padding-right: .75em;
  }

  .nav-dropdown__link {
    padding: .75em;
  }

  .nav-dropdown__link-label {
    font-size: 1em;
  }

  .nav-dropdown__link-bubble {
    width: 1.25em;
    height: 1.25em;
    padding: .375em;
  }

  .xs--hide {
    display: none;
  }

  .menu-button {
    width: 2.5em;
    height: 2.5em;
  }
}




.luchtbehandelingskasten-menu-foto {
  height: 20rem;
  background-size: cover;
  background-position: center;
}

.luchtbehandelingskasten-menu {
  padding-top: 50px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 50px;

}

.menu-items-producten {
  position: relative;
  padding: 50px;
  background: rgba(43, 147, 204, 0.1);
  height: 100%;
}

.luchtbehandelingskasten-menu h6, .menu-items-producten h6 {
  font-size: 16px;
  font-weight: 800;
  padding-bottom: 10px;
}

.menu-items-producten .menu-item {
  position: relative;
  padding-left: 20px; /* ruimte voor de dot */
  margin-bottom: 6px;
}

.menu-items-producten .menu-item::before {
  content: "•";       /* de dot */
  position: absolute;
  left: 0;
  top: 0;
  color: #000;        /* kleur dot, pas aan indien gewenst */
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
}

.service-menu-foto {
  height: 20rem;
  background-size: cover;
  background-position: center;
}