/* =========================
   HEADER (hero zonder topbar)
========================= */
.site-header {
  position: fixed;
  top: 0%;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--header-max-h);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--bg);
}

.site-header .overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.site-header .container {
  max-width: none;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.site-logo {
  max-height: 64px;
  width: auto;
  height: auto;      
  transform: translateY(2px); 
  display: inline-block;
  vertical-align: baseline;
}

.brand {
  display: inline-flex;
  align-items: baseline;  /* <— baseline i.p.v. center */
  gap: 6px;
  font-weight: 700;
  text-decoration: none;       /* zorg dat logo en tekst delen */
}

.header-top {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.site-header .container.header-top {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  padding: 0 32px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.brand-name {
  color: #fff;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-left: 0;
}

.lang,
.cta {
  color: rgba(255, 255, 255, .95);
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  font-weight: 600;
}

.lang svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  opacity: .95;
}

.lang:hover,
.cta:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.lang:hover svg {
  stroke: #111;
}

.burger {
  border: none;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger div,
.burger div::before,
.burger div::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  transition: transform .2s ease, opacity .2s ease;
  top: -6px;
  left: 0;
}

body.menu-open .burger div {
  background: transparent;
}

body.menu-open .burger div::before {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .burger div::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .primary-nav {
    margin: 0 auto;
  }
}


@media (min-width: 1024px) {
  .primary-nav {
    position: static;
    inset: auto;
    background: transparent;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    display: block;
  }

  .primary-nav .menu {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .primary-nav .menu li {
    padding: 0;
  }

  .primary-nav .menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }

  .primary-nav .menu>li>a {
    padding: 0 14px;
    display: inline-block;
    line-height: 1;
    border-left: 1px solid transparent;
  }

  .primary-nav .menu>li+li>a {
    border-left-color: rgba(255, 255, 255, .45);
  }

  .primary-nav .menu>li>a:hover,
  .primary-nav .menu>li>a:focus {
    border-left-color: rgba(255, 255, 255, .7);
  }

  .burger {
    display: none !important;
  }
}

#primary-nav {
  display: inline-flex;    
  align-items: baseline;
}
.primary-nav .menu {
  display: inline-flex;       
  align-items: baseline;
}
.primary-nav .menu > li > a {
  line-height: 1;             
  padding-top: 0;
  padding-bottom: 0;       
}

.header-actions {
  gap: 12px;
  margin-left: auto;
  gap: 12px;
  display: inline-flex;
  align-items: baseline;
}

.header-actions .cta,
.header-actions .lang {
  line-height: 1;               
  height: auto;            
  padding: 8px 12px;          
}

.primary-nav { transform: translateY(-2px); } 

/* ====== Notice bar onder de header ====== */
.site-notice {
  width:100% !important;
  position: relative;
  z-index: 1000; 
  background: var(--tertiary-orange);  
  left:0;
}

.site-notice .container {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 32px ;
  max-width: none !important;   /* niet centreren/limiteren */
  width: 100% !important;       /* pak de volle breedte */
  margin: 0 !important;
  box-sizing: border-box;
  align-items: center;
}

.site-notice__text {
  margin: 0;
  font-size: clamp(.6rem, 0.8vw, 0.9rem);
  color: var(--text);
  text-align: left;
}

@media (max-width: 1023px) {
  .site-notice .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.admin-bar .site-header { top: 32px; }


@media (max-width: 1023px) {
  .brand-name {
    display: none !important;
  }

  .header-actions .cta,
  .header-actions .lang {
    display: none !important;
  }

  .header-top {
    position: relative;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-max-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    display: block;
    padding: 0;
    margin: 0;
  }

  body.menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  .primary-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
  }

  .primary-nav .menu>li>a {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--primary-dark-grey);
    font-weight: 700;
    border-bottom: 1px solid var(--tertiary-light-grey);
  }

  .primary-nav .menu li ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .primary-nav .menu li ul li a {
    display: block;
    padding: 12px 24px;
    color: var(--secondary-dark-grey);
    text-decoration: none;
    border-bottom: 1px solid var(--tertiary-light-grey);
    font-weight: 500;
  }

  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .burger {
    display: inline-flex !important;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    overflow: visible;
    z-index: 1100;
  }

  .site-logo {
    max-height: 44px;
    height: auto;
    width: auto;
  }

  :root {
    --header-max-h: 64px;
  }

  .site-header {
    height: var(--header-max-h);
    overflow: visible;
  }

  .burger div {
    position: relative;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
  }

  .burger div::before,
  .burger div::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
  }

  .burger div::before {
    transform: translateY(-6px);
  }

  .burger div::after {
    transform: translateY(6px);
  }

  body.menu-open .burger div {
    background: transparent;
  }

  body.menu-open .burger div::before {
    transform: rotate(45deg);
  }

  body.menu-open .burger div::after {
    transform: rotate(-45deg);
  }

  .site-header .container.header-top {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 12px;
    display: block;
  }
}