/* Desktop-header: 90px hoog, wit, sticky met schaduw.
   Mobiel (<=1024px): 81px hoog, crème (#F5F0E8): zo staat het in het origineel
   (twee aparte Elementor-headers: 5bf9f45 desktop, 53e5eb84 mobiel). */

.header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: var(--kleur-wit);
  box-shadow: var(--schaduw-header);
}

.header__binnen {
  display: flex;
  align-items: center;
  gap: 2%;
  height: var(--header-h);
  padding-inline: var(--container-pad);
}

.header__logo { display: block; flex: 0 0 auto; }
.header__logo-img { width: 251px; height: auto; }

/* ---------- Navigatie ---------- */
.nav { margin-left: auto; }
.nav__lijst { display: flex; align-items: center; margin: 0; }

.nav__link {
  position: relative;
  display: block;
  padding: 10px 0;
  margin-inline: 8px;
  font-family: var(--font-tekst);
  font-size: var(--fs-knop);
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--kleur-zwart);
  transition: color var(--transitie);
}

/* Pointer "underline" met fade: 1px, goud, onderaan het item */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--kleur-goud);
  opacity: 0;
  transition: opacity var(--transitie);
}

/* Actieve pagina: bruin + zichtbare underline. Geldt op elk scherm. */
.nav__link[aria-current="page"] { color: var(--kleur-bruin); }
.nav__link[aria-current="page"]::after { opacity: 1; }

/* Hover alleen op apparaten met een echte muisaanwijzer */
@media (min-width: 1025px) {
  .nav__link:hover, .nav__link:focus-visible { color: var(--kleur-zwart); }
  .nav__link:hover::after, .nav__link:focus-visible::after { opacity: 1; }
}

/* ---------- Telefoonknop + WhatsApp ---------- */
.header__tel { flex: 0 0 auto; white-space: nowrap; gap: 8px; }
.header__tel--mobiel { display: none; }
.header__tel-icoon { display: inline-flex; }
.header__tel-icoon svg { width: 13px; height: 13px; fill: currentColor; }

/* Ronde WhatsApp-knop naast het nummer */
.header__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--kleur-creme);
  color: var(--kleur-bruin);
  transition: background-color var(--transitie), color var(--transitie);
}
.header__wa svg { width: 22px; height: 22px; fill: currentColor; }
@media (min-width: 1025px) {
  .header__wa:hover, .header__wa:focus-visible { background: var(--kleur-goud); color: var(--kleur-wit); }
}

/* ---------- Hamburger ---------- */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.header__toggle-balk {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--kleur-zwart);
  transition: transform var(--transitie), opacity var(--transitie);
}
.header__toggle[aria-expanded="true"] .header__toggle-balk:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .header__toggle-balk:nth-child(2) { opacity: 0; }
.header__toggle[aria-expanded="true"] .header__toggle-balk:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobiel paneel ---------- */
.header__paneel {
  background: var(--kleur-creme);
  border-top: 1px solid rgba(74, 63, 50, 0.12);
}
.header__paneel-lijst { margin: 0; }
.header__paneel-link {
  display: block;
  padding: 14px var(--container-pad);
  font-family: var(--font-tekst);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--kleur-zwart);
  min-height: 44px;
}
/* Dropdown-staten uit het origineel: bruine tekst op crème */
.header__paneel-link[aria-current="page"] {
  color: var(--kleur-bruin);
  background: var(--kleur-creme-licht);
}
@media (min-width: 1025px) {
  .header__paneel-link:hover, .header__paneel-link:focus-visible {
    color: var(--kleur-bruin);
    background: var(--kleur-creme-licht);
  }
}

/* ---------- Omschakelpunt ---------- */
@media (max-width: 1024px) {
  .header { background: var(--kleur-creme); }
  .header__binnen { height: var(--header-h-mobiel); gap: 12px; }
  .header__logo-img { width: 124px; }
  .nav { display: none; }
  .header__tel--desktop { display: none; }
  .header__tel--mobiel { display: inline-flex; margin-left: auto; }
  .header__wa { width: 40px; height: 40px; background: var(--kleur-wit); }
  .header__toggle { display: flex; }
}

@media (max-width: 380px) {
  .header__tel--mobiel { padding: 10px 12px; font-size: 12px; }
  .header__logo-img { width: 104px; }
}
