/* Variant A – kop met logo in afgeronde tab */
/* ---------- Header ---------- */
.topbar {
  background: var(--navy-deep);
  color: #b9c7d9;
  font-size: .8rem;
  font-family: var(--mono);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; }
.motto-top { text-transform: uppercase; letter-spacing: .12em; color: var(--white); }
.topbar-right { display: flex; gap: 2rem; align-items: center; }
.sites { display: flex; gap: 1.2rem; }
.sites a { display: inline-flex; align-items: center; gap: .45rem; text-transform: uppercase; letter-spacing: .06em; }
.sites a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }
.langs { display: flex; gap: .9rem; }
.langs .on { color: var(--white); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 118px; transition: height .3s; }
/* Logo met afgeronde uitsparing die in de hero hangt, zoals op de huidige site */
.brand { position: relative; align-self: stretch; display: flex; align-items: center; z-index: 2; padding: 0 12px; }
.brand::after {
  content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  width: 300px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 34' preserveAspectRatio='none'%3E%3Cpath d='M0 0C70 0 90 34 200 34S330 0 400 0Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transition: width .3s, height .3s;
}
.brand img { position: relative; z-index: 1; height: 118px; width: auto; margin-bottom: -26px; transition: height .3s, margin .3s; }
.site-header.small .wrap { height: 80px; }
.site-header.small .brand img { height: 74px; margin-bottom: -14px; }
.site-header.small .brand::after { width: 200px; height: 20px; }
.lang-mobile { display: none; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a { font-size: 1rem; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: .4rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: .7rem 1.2rem; }
.nav .btn::after { display: none; }
.menu-toggle {
  display: none; background: none; border: 0; padding: .5rem 0; cursor: pointer;
  align-items: center; gap: .6rem; font: inherit; color: var(--ink);
}
.menu-toggle em { font-style: normal; font-size: 1rem; }
.menu-toggle .bars span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

@media (max-width: 1080px) {
  .sites .lbl { display: none; }
  .langs { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1.5rem; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility .25s; z-index: -1; box-shadow: 0 20px 30px -20px rgba(0,34,74,.3);
  }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; justify-content: center; }
  body.menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  body.menu-open .menu-toggle .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .wrap { height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; }
  .menu-toggle { display: inline-flex; justify-self: start; grid-column: 1; grid-row: 1; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .lang-mobile { display: block; grid-column: 3; grid-row: 1; justify-self: end; text-decoration: none; font-size: .95rem; }
  .brand img { height: 96px; margin-bottom: -22px; }
  .brand::after { width: 240px; height: 26px; }
  .site-header.small .wrap { height: 72px; }
  .site-header.small .brand img { height: 64px; margin-bottom: -12px; }
  .nav { inset: 100% 0 auto 0; position: absolute; z-index: -1; padding-top: 2rem; }
}
@media (max-width: 600px) {
  .motto-top { display: none; }
  .topbar-right { width: 100%; justify-content: center; }
}

.langs .lang-dd-btn { font-family: var(--mono); font-size: .8rem; padding: .25rem .6rem; }
.lang-mobile .lang-dd-btn { padding: .4rem .5rem; }
