/* =========================
   RESET + BASIS
   ========================= */
/* Reset: haalt standaard margins/paddings weg en maakt box sizing voorspelbaar */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: 700; /* jij wilde overal vet */
}

/* Basis link/image gedrag (super handig) */
a{ color: inherit; text-decoration: none; }
img{ display: block; max-width: 100%; }

/* (Optioneel) smooth scroll als je anchor links gebruikt */
html{ scroll-behavior: smooth; }


/* ===== Responsive helpers ===== */
.desktop-only{ display: flex; }
.mobile-only{ display: none; }

@media (max-width: 820px){
  .desktop-only{ display: none !important; }
  .mobile-only{ display: inline-flex !important; }

  /* op mobiel: grid zodat hamburger rechts past */
  .navbar{
    padding: 0 18px;
    grid-template-columns: 1fr auto 1fr; /* logo blijft mooi center */
  }
}

/* =========================
   NAVBAR (fixed + glass)
   ========================= */
.navbar{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 72px;
  z-index: 50;

  display: grid;
  grid-template-columns: 1fr auto 1fr; /* links - logo - rechts */
  align-items: center;

  padding: 0 40px;

  background: rgba(10,10,10,0.18);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Links: knoppen naast elkaar */
.nav-left{
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Center: logo echt in het midden */
.nav-center{ justify-self: center; }

/* Rechts */
.nav-right{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Navbar links */
.nav-btn{
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.nav-btn:hover{
  border-bottom-color: rgba(255,255,255,0.7);
}

/* Rond logo “WG” */
.logo-mark{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);

  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;

  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  text-decoration: none;
}

/* Navbar scrolled state */
.navbar.scrolled{
  background: rgba(248,246,243,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.navbar.scrolled a{
  color: #1a1814;
}

/* =========================
   MOBILE MENU (hamburger + side menu)
   ========================= */

/* Hamburger: standaard verbergen (desktop) */
.hamburger{
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;

  margin-left: 10px;
}

.hamburger span{
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.92);
  border-radius: 2px;
}

/* Overlay */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 60;
}

/* Side menu */
.side-menu{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 360px);

  background: rgba(15,15,15,0.96);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255,255,255,0.08);

  transform: translateX(100%);
  transition: transform .22s ease;
  z-index: 70;

  padding: 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-menu-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.side-title{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

.menu-close{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.92);
  font-size: 20px;
  cursor: pointer;
}

.side-link{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;

  padding: 12px 10px;
  border-radius: 12px;
}
.side-link:hover{
  background: rgba(255,255,255,0.08);
}

/* Open state */
.menu-open .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}
.menu-open .side-menu{
  transform: translateX(0);
}

/* =========================
   MOBILE BEHAVIOR
   ========================= */
@media (max-width: 768px){

  /* Logo perfect gecentreerd: nav-left blijft ruimte innemen maar is onzichtbaar */
  .nav-left{
    visibility: hidden;
  }

  /* Atelier link weg op mobiel (menu zit in side menu) */
  .desktop-link{
    display: none !important;
  }

  /* Hamburger tonen op mobiel */
  .hamburger{
    display: inline-flex;
  }
}

/* Hamburger wordt donker wanneer navbar scrolled is */
.navbar.scrolled .hamburger span{
  background: #1a1814;
}
/* === Legal pages (Algemene voorwaarden / Privacy / Cookies) === */
.legal-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.legal-hero{
  padding: 120px 0 70px;
  background: #f8f6f3;
  border-bottom: 1px solid rgba(26,24,20,0.08);
}

.legal-eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color: rgba(26,24,20,0.55);
  margin-bottom: 14px;
}

.legal-title{
  font-size: 48px;
  line-height: 1.08;
  font-weight: 600;
  color: rgba(26,24,20,0.92);
  margin: 0 0 14px 0;
}

.legal-lead{
  font-size: 16px;
  line-height: 1.8;
  color: rgba(26,24,20,0.65);
  max-width: 900px;
  margin: 0 0 22px 0;
}

.legal-meta{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 760px;
}

.legal-meta-item{
  border: 1px solid rgba(26,24,20,0.10);
  background: rgba(255,255,255,0.65);
  padding: 16px;
}

.legal-meta-label{
  display:block;
  font-size:12px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color: rgba(26,24,20,0.55);
  margin-bottom: 8px;
}

.legal-meta-value{
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(26,24,20,0.82);
  text-decoration: none;
}

.legal-section{
  padding: 80px 0 120px;
  background: #fff;
}

.legal-layout{
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 26px;
  align-items: start;
}

.legal-toc-box{
  border: 1px solid rgba(26,24,20,0.08);
  background: rgba(255,255,255,0.55);
  padding: 26px;
  position: sticky;
  top: 24px;
}

.legal-toc-title{
  margin: 0 0 12px 0;
  font-size: 16px;
  color: rgba(26,24,20,0.92);
}

.legal-toc a{
  display: block;
  text-decoration: none;
  color: rgba(26,24,20,0.78);
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,24,20,0.08);
}

.legal-toc a:last-child{ border-bottom: none; }
.legal-toc a:hover{ opacity: 0.7; }

.legal-card{
  border: 1px solid rgba(26,24,20,0.08);
  background: #fff;
  padding: 34px;
  margin-bottom: 16px;
}

.legal-card h2{
  margin: 0 0 12px 0;
  font-size: 18px;
  color: rgba(26,24,20,0.92);
}

.legal-card p{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(26,24,20,0.65);
}

.legal-card ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(26,24,20,0.65);
}

.legal-card li{
  margin: 8px 0;
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-link{
  color: rgba(26,24,20,0.85);
  font-weight: 600;
  text-decoration: none;
}
.legal-link:hover{ opacity: 0.7; }

.legal-bottom{
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.legal-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  background: rgba(26,24,20,0.9);
  color: #fff;
}

.legal-btn:hover{
  background: rgba(26,24,20,0.75);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 980px){
  .legal-container{ padding: 0 30px; }
  .legal-title{ font-size: 36px; }
  .legal-meta{ grid-template-columns: 1fr; }

  .legal-layout{
    grid-template-columns: 1fr;
  }

  .legal-toc-box{
    position: relative;
    top: 0;
  }
}
.footer{
  background: #ffffff;
  border-top: 1px solid rgba(26,24,20,0.08);
  padding: 70px 80px 30px;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(26,24,20,0.08);
}

.footer-col h4{
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(26,24,20,0.55);
  margin-bottom: 18px;
}

.footer-col a{
  display: block;
  text-decoration: none;
  font-size: 14.5px;
  color: rgba(26,24,20,0.78);
  margin-bottom: 12px;
  transition: opacity 0.25s ease;
}

.footer-col a:hover{
  opacity: 0.65;
}

.footer-brand img{
  height: 34px;
  width: auto;
  margin-bottom: 14px;
}

.footer-text{
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(26,24,20,0.62);
  max-width: 320px;
}

.footer-muted{
  display: block;
  font-size: 14.5px;
  color: rgba(26,24,20,0.62);
  margin-bottom: 10px;
}

.footer-bottom{
  padding-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(26,24,20,0.62);
}

/* Responsive */
@media (max-width: 1050px){
  .footer{
    padding: 60px 30px 25px;
  }

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

  .footer-text{
    max-width: 100%;
  }
}

@media (max-width: 560px){
  .footer-top{
    grid-template-columns: 1fr;
  }
}

/* =========================
   TO TOP BUTTON
   ========================= */
.to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(26,24,20,0.65);
  color: rgba(255,255,255,0.95);

  display: grid;
  place-items: center;

  cursor: pointer;
  z-index: 9999;
  backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.to-top.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover{ background: rgba(26,24,20,0.85); }