/* Live homepage overrides for the municipal hub launch. */
:root{
  --nav-h:86px;
  --page-max:min(1560px,calc(100vw - 2rem));
}

/* Restoration layer: closer to the local version built before deploy. */
.home-card-grid--single{
  grid-template-columns:1fr !important;
  max-width:min(1560px,calc(100vw - 2rem));
}
.home-card--event-wide{
  display:grid;
  grid-template-columns:minmax(360px,.94fr) minmax(0,1.06fr);
  gap:0;
  padding:0;
  overflow:hidden;
  align-items:stretch;
}
.home-card--event-wide .event-card-media{
  margin:0;
  min-height:100%;
  aspect-ratio:auto;
  border-radius:0;
}
.home-card--event-wide .event-card-media img{
  min-height:100%;
}
.event-card-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:var(--s-4);
  padding:clamp(2rem,4vw,4rem);
}
.event-card-content h2,
.home-card--event-wide .event-card-content h2{
  max-width:none;
  width:100%;
  color:var(--nacht);
  font-size:clamp(var(--fs-38),4.8vw,var(--fs-60));
  line-height:1.02;
  letter-spacing:0;
}
.event-card-content p{
  max-width:70ch;
  width:100%;
  color:var(--color-fg-muted);
  font-size:clamp(var(--fs-17),1.6vw,var(--fs-19));
  line-height:1.58;
  margin:0;
}
.home-card--event-wide .event-photo-badge{
  min-height:40px;
  padding:.58rem .95rem;
  font-size:var(--fs-14);
  font-weight:800;
  left:auto;
}
.home-card--event-wide .event-photo-badge--type{
  top:var(--s-4);
  right:var(--s-4);
}
.home-card--event-wide .event-photo-badge--date{
  top:calc(var(--s-4) + 48px);
  right:var(--s-4);
}
.home-card--event-wide .event-card-content .btn{
  margin-top:var(--s-3);
  align-self:flex-start;
  background:#fff;
  color:var(--bosgroen);
  border:1.5px solid var(--color-border-strong);
  box-shadow:none;
}
.home-card--event-wide .event-card-content .btn:hover,
.home-card--event-wide .event-card-content .btn:active{
  background:var(--bosgroen);
  color:#fff;
  border-color:var(--bosgroen);
  box-shadow:0 14px 30px rgba(26,77,46,.16);
}

.hub-demo{
  min-height:560px;
  padding:clamp(1rem,2.4vw,1.5rem);
  display:grid;
  place-items:center;
  background:
    radial-gradient(620px 360px at 16% 12%,rgba(168,213,162,.22),transparent 68%),
    linear-gradient(180deg,#fff,#f7fbf4);
}
.hub-demo::before,
.hub-demo .hub-rings,
.hub-demo .hub-center,
.hub-demo .hub-node{
  display:none;
}
.hub-demo-browser{
  width:100%;
  max-width:720px;
  border:1px solid var(--color-border);
  border-radius:22px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 28px 70px -38px rgba(26,77,46,.5),0 2px 12px rgba(28,43,32,.06);
  animation:hubDemoFloat 7s ease-in-out infinite;
}
.hub-demo-topbar{
  display:flex;
  align-items:center;
  gap:.5rem;
  padding:.9rem 1rem;
  background:linear-gradient(180deg,#fff,#f6fbf2);
  border-bottom:1px solid var(--color-border);
}
.hub-demo-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--lentegroen);
}
.hub-demo-dot:nth-child(2){background:var(--grasgroen)}
.hub-demo-dot:nth-child(3){background:var(--bosgroen)}
.hub-demo-url{
  flex:1;
  min-width:0;
  margin-left:.35rem;
  padding:.46rem .75rem;
  border-radius:var(--r-pill);
  background:#fff;
  border:1px solid var(--color-border);
  color:var(--color-fg-subtle);
  font-size:var(--fs-12);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@keyframes hubDemoFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}
.hub-demo-brandbar{
  padding:.85rem 1rem .25rem;
}
.hub-demo-brandbar .hub-demo-brand{
  display:flex !important;
  width:max-content;
  max-width:100%;
  margin:0;
}
.hub-demo-brand{
  display:flex !important;
  align-items:center;
  gap:.26rem;
  flex:1 1 auto;
  min-width:178px;
  color:var(--nacht);
  font-size:var(--fs-13);
  line-height:1.1;
  margin-right:.4rem;
}
.hub-demo-brand b{
  position:relative;
  display:inline-grid;
  min-width:86px;
  height:1.12em;
  overflow:hidden;
  color:var(--bosgroen);
  font-style:normal;
}
.hub-demo-brand i{
  grid-area:1/1;
  font-style:normal;
  opacity:0;
  transform:translateY(.35em);
  animation:municipalityRotate 12s ease-in-out infinite;
}
.hub-demo-brand i:nth-child(2){animation-delay:2s}
.hub-demo-brand i:nth-child(3){animation-delay:4s}
.hub-demo-brand i:nth-child(4){animation-delay:6s}
.hub-demo-brand i:nth-child(5){animation-delay:8s}
.hub-demo-brand i:nth-child(6){animation-delay:10s}
.hub-demo-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.65rem;
  margin:.35rem 1rem .85rem;
  padding:.55rem;
  border:1px solid var(--color-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 34px -30px rgba(26,77,46,.45);
}
.hub-demo-nav > .hub-demo-brand{
  display:none !important;
}
.hub-demo-menu{
  display:flex;
  align-items:center;
  gap:.35rem;
  min-width:0;
  flex:1 1 auto;
}
.hub-demo-menu span,
.hub-demo-nav-actions span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  border-radius:var(--r-pill);
  font-size:var(--fs-12);
  font-weight:800;
  white-space:nowrap;
}
.hub-demo-menu span{
  padding:.4rem .62rem;
  background:transparent;
  color:var(--bosgroen);
}
.hub-demo-menu span:first-child{
  background:var(--dauwwit);
}
.hub-demo-nav-actions{
  display:flex;
  align-items:center;
  gap:.4rem;
  flex:none;
}
.hub-demo-search{
  min-width:148px;
  justify-content:flex-start;
  padding:.4rem .7rem;
  background:#fff;
  border:1px solid var(--color-border);
  color:var(--color-fg-subtle);
}
.hub-demo-search::before,
.hub-demo-search::after{
  display:none;
}
.hub-demo-nav .hub-demo-login{
  padding:.4rem .7rem;
  background:var(--bosgroen);
  color:#fff;
}
.hub-demo-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.75rem;
  padding:0 1rem 1rem;
}
.hub-demo-card{
  min-height:104px;
  padding:1rem;
  border:1px solid var(--color-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 34px -30px rgba(26,77,46,.44);
}
.hub-demo-card--wide,
.hub-demo-card--events,
.hub-demo-card--report,
.hub-demo-card--coaches{
  grid-column:span 2;
}
.hub-demo-card--photo{
  position:relative;
  min-height:142px;
  overflow:hidden;
  color:#fff;
}
.hub-demo-card--roof{
  background:
    linear-gradient(180deg,rgba(18,34,23,.06),rgba(18,34,23,.74)),
    url("klimaatadaptatie-buurttuin.jpeg") center 38%/cover;
}
.hub-demo-card--report{
  min-height:150px;
  background:
    linear-gradient(180deg,rgba(18,34,23,.08),rgba(18,34,23,.78)),
    url("hero_moestuin.jpg") center 58%/cover;
}
.hub-demo-card--photo span,
.hub-demo-card--photo strong,
.hub-demo-card--photo small{
  position:relative;
  z-index:1;
  color:#fff;
  text-shadow:0 1px 18px rgba(0,0,0,.24);
}
.hub-demo-card--photo strong{
  margin-top:3.1rem;
}
.hub-demo-card--report strong{
  margin-top:4rem;
}
.hub-demo-profiles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.45rem;
  margin-top:.7rem;
}
.hub-demo-profiles div{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"avatar name" "avatar role";
  align-items:center;
  column-gap:.65rem;
  min-width:0;
  padding:.62rem .45rem;
  border-radius:14px;
  background:var(--dauwwit);
  text-align:left;
}
.hub-demo-profiles b{
  grid-area:avatar;
  position:relative;
  width:38px;
  height:38px;
  margin:0;
  border-radius:50%;
  background:linear-gradient(145deg,#e7f3df,#cfe8c6);
  overflow:hidden;
}
.hub-demo-profiles b::before{
  content:"";
  position:absolute;
  left:50%;
  top:7px;
  width:13px;
  height:13px;
  border-radius:50%;
  background:var(--bosgroen);
  transform:translateX(-50%);
}
.hub-demo-profiles b::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:5px;
  width:25px;
  height:16px;
  border-radius:15px 15px 6px 6px;
  background:var(--grasgroen);
  transform:translateX(-50%);
}
.hub-demo-profiles div:nth-child(2) b::before{background:#2f6f49}
.hub-demo-profiles div:nth-child(2) b::after{background:#5fa35b}
.hub-demo-profiles div:nth-child(3) b::before{background:#1f5d3a}
.hub-demo-profiles div:nth-child(3) b::after{background:#82bd72}
.hub-demo-profiles strong{grid-area:name}
.hub-demo-profiles small{grid-area:role}
.hub-demo-event-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.5rem;
  margin-top:.7rem;
}
.hub-demo-event-row strong{
  margin:0;
  min-height:64px;
  padding:.65rem;
  border-radius:14px;
  background:var(--dauwwit);
  color:var(--bosgroen);
  font-size:var(--fs-13);
  line-height:1.12;
}
.hub-demo-event-row small{
  margin:0 0 .24rem;
  color:var(--color-fg-subtle);
  font-size:11px;
}
.hub-demo-card--events button{
  min-height:34px;
  padding:.42rem .72rem;
  font-size:var(--fs-12);
  line-height:1;
  width:max-content;
  margin-top:.75rem;
  border-radius:var(--r-pill);
  background:#fff;
  border:1px solid var(--color-border-strong);
  color:var(--bosgroen);
  font-weight:800;
  box-shadow:none;
}
.hub-demo-card--events button:hover{
  background:var(--bosgroen);
  color:#fff;
  border-color:var(--bosgroen);
}

.work-grid{
  align-items:stretch;
}
.work-copy{
  padding:clamp(1.75rem,3vw,2.35rem);
  border:1px solid var(--color-border);
  border-radius:var(--r-xl);
  background:#fff;
  box-shadow:0 24px 54px -34px rgba(26,77,46,.42),0 2px 10px rgba(28,43,32,.04);
}
.work-copy .lede{
  margin-top:var(--s-6);
}
.work-summary-list div{
  box-shadow:0 14px 34px -30px rgba(26,77,46,.45);
}
.work-copy .work-primary-cta{
  background:#fff;
  color:var(--bosgroen);
  border:1.5px solid var(--color-border-strong);
  box-shadow:none;
}
.work-copy .work-primary-cta:hover,
.work-copy .work-primary-cta:active{
  background:var(--bosgroen);
  color:#fff;
  border-color:var(--bosgroen);
  box-shadow:0 14px 30px rgba(26,77,46,.16);
}
@media (min-width:960px){
  .nav-links a[href="#diensten"]{
    padding-inline:1.7rem;
    font-size:var(--fs-16);
  }
  .header-cta{
    min-height:54px;
    padding:.9rem 1.45rem;
    font-size:var(--fs-15);
  }
  .work-grid{
    align-items:stretch;
  }
  .work-copy,
  .hub-demo{
    height:100%;
  }
  .hub-demo{
    align-content:stretch;
  }
  .hub-demo-browser{
    height:100%;
  }
  .mission-grid{
    grid-template-columns:1fr 1fr;
    align-items:stretch;
  }
  .missie--wide .missie-card{
    order:1;
    max-width:none;
    height:100%;
  }
  .mission-principles{
    order:2;
    height:100%;
    grid-template-columns:1fr 1fr;
  }
}
.mission-principles div{
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:var(--s-4);
  align-items:start;
  position:relative;
  overflow:hidden;
  padding:var(--s-6);
}
.mission-principles div::after{
  content:"";
  position:absolute;
  right:-28px;
  top:-28px;
  width:92px;
  height:92px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(168,213,162,.28),transparent 68%);
}
.mission-principles div > span{
  grid-row:1 / span 2;
  margin-bottom:0;
}
.mission-principles strong{
  align-self:center;
  font-size:clamp(var(--fs-24),2.2vw,var(--fs-30));
  line-height:1.04;
}
.mission-principles p{
  grid-column:2;
}
.site-footer{
  background:var(--nacht);
}
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer strong{
  color:#fff;
}
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer .copy{
  color:rgba(255,255,255,.74);
}
.site-footer a:hover{
  color:#fff;
}
.site-footer .foot-brand .brand-logo{
  background:#fff;
  border-radius:18px;
  padding:.65rem .9rem;
  filter:none;
}
@media (max-width:860px){
  .home-card--event-wide{
    grid-template-columns:1fr;
  }
}
@media (max-width:767px){
  .hub-demo{
    min-height:auto;
  }
  .hub-demo-grid,
  .hub-demo-profiles,
  .hub-demo-event-row{
    grid-template-columns:1fr;
  }
  .hub-demo-card--wide,
  .hub-demo-card--events,
  .hub-demo-card--report,
  .hub-demo-card--coaches{
    grid-column:auto;
  }
  .hub-demo-nav{
    align-items:stretch;
    flex-direction:column;
  }
  .hub-demo-menu,
  .hub-demo-nav-actions{
    flex-wrap:wrap;
  }
  .hub-demo-brand{
    width:100%;
    min-width:0;
  }
  .work-copy{
    padding:var(--s-6);
  }
}

body{
  background:
    radial-gradient(900px 520px at 80% -10%,rgba(168,213,162,.24),transparent 62%),
    linear-gradient(180deg,#fbfdf9 0%,#f4faf0 42%,#fff 100%);
}

.section,
.home-cards,
.work-overview{
  background:
    radial-gradient(760px 420px at 88% 0%,rgba(168,213,162,.16),transparent 62%),
    linear-gradient(180deg,#fbfdf9 0%,#fff 100%);
}

.site-header{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(198,216,186,.72);
  backdrop-filter:saturate(180%) blur(14px);
}

@media (min-width:960px){
  .nav{
    min-height:var(--nav-h);
    gap:var(--s-6);
  }
  .brand-logo{
    height:58px;
  }
  .nav-links{
    display:flex;
    flex:1;
    justify-content:flex-end;
    gap:.45rem;
    margin-left:var(--s-8);
  }
  .nav-links a{
    min-height:54px;
    display:inline-flex;
    align-items:center;
    padding:.9rem 1.1rem;
    border:1.5px solid transparent;
    border-radius:var(--r-pill);
    color:var(--bosgroen);
    font-size:var(--fs-15);
    font-weight:800;
    background:#fff;
  }
  .nav-links a:hover{
    background:var(--bosgroen);
    border-color:var(--bosgroen);
    color:#fff;
  }
  .header-cta{
    display:inline-flex;
    min-height:54px;
    padding:.9rem 1.45rem;
    font-size:var(--fs-15);
  }
  .nav-right{
    margin-left:0;
  }
  .menu-toggle{
    display:none;
  }
}

.btn,
.btn--primary,
.btn--secondary,
.btn--accent,
.home-card a.btn{
  border-radius:var(--r-pill);
  background:#fff;
  color:var(--bosgroen);
  border:1.5px solid var(--color-border-strong);
  box-shadow:none;
}

.btn:hover,
.btn:active,
.btn--primary:hover,
.btn--secondary:hover,
.btn--accent:hover,
.home-card a.btn:hover{
  background:var(--bosgroen);
  border-color:var(--bosgroen);
  color:#fff;
  box-shadow:0 14px 30px rgba(26,77,46,.16);
  transform:translateY(-1px);
}

.header-cta,
.hero-actions .btn,
.request-form .btn{
  background:var(--grasgroen);
  color:#fff;
  border-color:var(--grasgroen);
  box-shadow:0 12px 28px rgba(58,125,68,.18);
}

.header-cta:hover,
.hero-actions .btn:hover,
.request-form .btn:hover{
  background:var(--bosgroen);
  border-color:var(--bosgroen);
  color:#fff;
}

.mobile-menu{
  background:#fff;
}

.mobile-menu .m-link{
  border-radius:var(--r-pill);
}

.hero--photo{
  min-height:auto;
  display:block;
  padding-block:clamp(1.5rem,4vw,3rem) var(--s-8);
  background:
    radial-gradient(760px 420px at 88% 0%,rgba(168,213,162,.16),transparent 62%),
    linear-gradient(180deg,#fbfdf9 0%,#fff 100%);
  border-bottom:0;
}

@media (min-width:1100px){
  .hero--photo .container,
  .work-overview > .container,
  .home-card-grid--single,
  .missie--wide > .container{
    max-width:var(--page-max);
    padding-inline:0;
  }
}

.hero-photo-card{
  position:relative;
  min-height:clamp(440px,58svh,610px);
  overflow:hidden;
  border-radius:var(--r-xl);
  border:1px solid var(--color-border);
  box-shadow:0 26px 64px -34px rgba(26,77,46,.42),0 4px 14px rgba(28,43,32,.05);
  background:#102016;
}

.hero-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.hero-photo-overlay{
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(90deg,rgba(18,34,23,.56),rgba(18,34,23,.24) 54%,rgba(18,34,23,.03)),
    linear-gradient(0deg,rgba(18,34,23,.2),rgba(18,34,23,0) 50%);
}

.hero-photo-content{
  position:relative;
  z-index:1;
  width:100%;
  min-height:inherit;
  display:flex;
  align-items:flex-end;
  padding:clamp(2rem,6vw,5rem);
}

.hero--photo .hero-copy{
  max-width:46rem;
}

.hero-one-liner{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:.58rem 1rem;
  border-radius:var(--r-pill);
  background:rgba(18,34,23,.58);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  font-size:var(--fs-15);
  font-weight:800;
  backdrop-filter:blur(8px);
}

.hero--photo h1{
  max-width:15ch;
  margin-top:var(--s-5);
  color:#fff;
  font-size:clamp(2.65rem,5.2vw,4.35rem);
  font-weight:900;
  text-shadow:0 2px 18px rgba(0,0,0,.22);
}

.hero--photo .sub{
  max-width:39ch;
  color:rgba(255,255,255,.92);
  font-size:clamp(var(--fs-18),2vw,var(--fs-24));
  text-shadow:0 1px 12px rgba(0,0,0,.18);
}

.hero-actions{
  margin-top:var(--s-7);
}

.home-cards{
  position:relative;
  z-index:2;
  padding-block:var(--s-6) clamp(3.5rem,8vw,6rem);
}

.home-card-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--s-6);
  margin-top:0;
  align-items:stretch;
}

.home-card-grid--single{
  max-width:var(--page-max);
}

.home-card{
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:var(--r-xl);
  box-shadow:0 24px 54px -34px rgba(26,77,46,.42),0 2px 10px rgba(28,43,32,.04);
}

.home-card--event-wide{
  display:grid;
  gap:0;
  overflow:hidden;
  padding:0;
}

.home-card--event-wide:hover{
  border-color:var(--color-border);
  box-shadow:0 24px 54px -34px rgba(26,77,46,.42),0 2px 10px rgba(28,43,32,.04);
  transform:none;
}

@media (min-width:900px){
  .home-card--event-wide{
    grid-template-columns:minmax(360px,.9fr) 1.1fr;
  }
}

.event-card-media{
  position:relative;
  min-height:320px;
  margin:0;
  overflow:hidden;
}

.event-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 58%;
}

.event-photo-badge{
  position:absolute;
  left:1rem;
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:.55rem .9rem;
  border-radius:var(--r-pill);
  background:rgba(255,255,255,.92);
  color:var(--bosgroen);
  font-size:var(--fs-14);
  font-weight:900;
  box-shadow:0 14px 34px rgba(18,34,23,.16);
}

.event-photo-badge--date{
  top:1rem;
}

.event-photo-badge--type{
  top:4rem;
}

.event-card-content{
  padding:clamp(2rem,5vw,4rem);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.event-card-content h2{
  color:var(--nacht);
  font-size:clamp(var(--fs-38),4.8vw,var(--fs-60));
  line-height:1.02;
  font-weight:900;
}

.event-card-content p{
  max-width:64ch;
  margin-top:var(--s-5);
  color:var(--color-fg-muted);
  font-size:var(--fs-18);
  line-height:1.58;
}

.event-card-content .btn{
  align-self:flex-start;
  margin-top:var(--s-6);
  padding:.85rem 1.45rem;
  min-height:48px;
  font-weight:900;
}

.work-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--s-6);
  align-items:stretch;
}

@media (min-width:960px){
  .work-grid{
    grid-template-columns:minmax(360px,.78fr) 1.22fr;
  }
}

.work-copy,
.hub-demo-browser,
.missie-card,
.mission-principles div{
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:var(--r-xl);
  box-shadow:0 24px 54px -34px rgba(26,77,46,.42),0 2px 10px rgba(28,43,32,.04);
}

.work-copy{
  height:100%;
  padding:clamp(1.75rem,3vw,2.35rem);
}

.work-copy h2{
  font-size:clamp(var(--fs-38),4.8vw,var(--fs-60));
  font-weight:900;
}

.work-copy .lede{
  margin-top:var(--s-6);
}

.work-copy p{
  margin-top:var(--s-5);
  color:var(--color-fg-muted);
  font-size:var(--fs-17);
  line-height:1.58;
}

.work-primary-cta{
  margin-top:var(--s-5);
}

.work-summary-list{
  display:grid;
  gap:var(--s-3);
  margin-top:var(--s-7);
}

.work-summary-list div{
  padding:var(--s-4) var(--s-5);
  border:1px solid var(--color-border);
  border-radius:18px;
  background:#fff;
}

.work-summary-list strong{
  display:block;
  color:var(--nacht);
  font-size:var(--fs-18);
  line-height:1.15;
}

.work-summary-list span{
  display:block;
  margin-top:.3rem;
  color:var(--color-fg-muted);
  font-size:var(--fs-15);
  line-height:1.42;
}

.hub-demo{
  height:100%;
}

.hub-demo-browser{
  height:100%;
  max-width:none;
  overflow:hidden;
}

.hub-demo-topbar{
  display:flex;
  align-items:center;
  gap:.45rem;
  padding:.8rem 1rem;
  background:#f7fbf4;
  border-bottom:1px solid var(--color-border);
}

.hub-demo-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--mintgroen);
}

.hub-demo-url{
  margin-left:.5rem;
  color:var(--color-fg-subtle);
  font-size:var(--fs-12);
  font-weight:800;
}

.hub-demo-brandbar{
  padding:.85rem 1rem .25rem;
}

.hub-demo-brand{
  display:flex;
  align-items:center;
  gap:.26rem;
  color:var(--nacht);
  font-size:var(--fs-15);
  line-height:1.1;
}

.hub-demo-brand b{
  position:relative;
  display:inline-grid;
  min-width:96px;
  height:1.12em;
  overflow:hidden;
  color:var(--bosgroen);
  font-style:normal;
}

.hub-demo-brand i{
  grid-area:1/1;
  font-style:normal;
  opacity:0;
  transform:translateY(.35em);
  animation:municipalityRotate 12s ease-in-out infinite;
}

.hub-demo-brand i:nth-child(2){animation-delay:2s}
.hub-demo-brand i:nth-child(3){animation-delay:4s}
.hub-demo-brand i:nth-child(4){animation-delay:6s}
.hub-demo-brand i:nth-child(5){animation-delay:8s}
.hub-demo-brand i:nth-child(6){animation-delay:10s}

@keyframes municipalityRotate{
  0%{opacity:0;transform:translateY(.35em)}
  6%,13%{opacity:1;transform:translateY(0)}
  19%,100%{opacity:0;transform:translateY(-.35em)}
}

.hub-demo-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.65rem;
  margin:.35rem 1rem .85rem;
  padding:.55rem;
  border:1px solid var(--color-border);
  border-radius:18px;
  background:#fff;
}

.hub-demo-menu,
.hub-demo-nav-actions{
  display:flex;
  align-items:center;
  gap:.35rem;
  min-width:0;
}

.hub-demo-menu span,
.hub-demo-nav-actions span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  border-radius:var(--r-pill);
  font-size:var(--fs-12);
  font-weight:900;
  white-space:nowrap;
}

.hub-demo-menu span{
  padding:.4rem .62rem;
  color:var(--bosgroen);
}

.hub-demo-menu span:first-child{
  background:var(--dauwwit);
}

.hub-demo-search{
  min-width:148px;
  justify-content:flex-start;
  padding:.4rem .7rem;
  background:#fff;
  border:1px solid var(--color-border);
  color:var(--color-fg-subtle);
}

.hub-demo-login{
  padding:.4rem .7rem;
  background:var(--bosgroen);
  color:#fff;
}

.hub-demo-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.8rem;
  padding:0 1rem 1rem;
}

.hub-demo-card{
  min-height:118px;
  padding:1rem;
  border:1px solid var(--color-border);
  border-radius:18px;
  background:#fff;
}

.hub-demo-card--wide,
.hub-demo-card--coaches,
.hub-demo-card--events,
.hub-demo-card--report{
  grid-column:span 2;
}

.hub-demo-card span{
  display:flex;
  align-items:center;
  gap:.45rem;
  color:var(--bosgroen);
  font-size:var(--fs-13);
  font-weight:900;
}

.hub-demo-card span svg{
  width:17px;
  height:17px;
  flex:none;
}

.hub-demo-card span svg *{
  stroke:currentColor;
}

.hub-demo-card strong{
  display:block;
  margin-top:.65rem;
  color:var(--nacht);
  font-size:var(--fs-18);
  line-height:1.18;
}

.hub-demo-card small{
  display:block;
  margin-top:.35rem;
  color:var(--color-fg-subtle);
  font-size:var(--fs-12);
  font-weight:800;
}

.hub-demo-card--photo{
  position:relative;
  overflow:hidden;
  color:#fff;
}

.hub-demo-card--roof{
  background:
    linear-gradient(180deg,rgba(18,34,23,.06),rgba(18,34,23,.74)),
    url("klimaatadaptatie-buurttuin.jpeg") center 38%/cover;
}

.hub-demo-card--report{
  min-height:150px;
  background:
    linear-gradient(180deg,rgba(18,34,23,.08),rgba(18,34,23,.78)),
    url("hero_moestuin.jpg") center 58%/cover;
}

.hub-demo-card--photo span,
.hub-demo-card--photo strong,
.hub-demo-card--photo small{
  position:relative;
  z-index:1;
  color:#fff;
  text-shadow:0 1px 18px rgba(0,0,0,.24);
}

.hub-demo-card--photo strong{
  margin-top:3.1rem;
}

.hub-demo-card--report strong{
  margin-top:4rem;
}

.hub-demo-profiles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.45rem;
  margin-top:.7rem;
}

.hub-demo-profiles div{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"avatar name" "avatar role";
  align-items:center;
  column-gap:.65rem;
  min-width:0;
  padding:.62rem .45rem;
  border-radius:14px;
  background:var(--dauwwit);
}

.hub-demo-profiles b{
  grid-area:avatar;
  position:relative;
  width:38px;
  height:38px;
  border-radius:50%;
  background:linear-gradient(145deg,#e7f3df,#cfe8c6);
  overflow:hidden;
}

.hub-demo-profiles b::before{
  content:"";
  position:absolute;
  left:50%;
  top:7px;
  width:13px;
  height:13px;
  border-radius:50%;
  background:var(--bosgroen);
  transform:translateX(-50%);
}

.hub-demo-profiles b::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:5px;
  width:25px;
  height:16px;
  border-radius:15px 15px 6px 6px;
  background:var(--grasgroen);
  transform:translateX(-50%);
}

.hub-demo-profiles strong{
  grid-area:name;
  margin:0;
  font-size:var(--fs-13);
}

.hub-demo-profiles small{
  grid-area:role;
  margin-top:.2rem;
  font-size:11px;
}

.hub-demo-event-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.5rem;
  margin-top:.7rem;
}

.hub-demo-event-row strong{
  margin:0;
  min-height:64px;
  padding:.65rem;
  border-radius:14px;
  background:var(--dauwwit);
  color:var(--bosgroen);
  font-size:var(--fs-13);
  line-height:1.12;
}

.hub-demo-event-row small{
  margin:0 0 .24rem;
  color:var(--color-fg-subtle);
  font-size:11px;
}

.hub-demo-card--events button{
  width:max-content;
  min-height:34px;
  margin-top:.75rem;
  padding:.42rem .72rem;
  border-radius:var(--r-pill);
  background:#fff;
  border:1px solid var(--color-border-strong);
  color:var(--bosgroen);
  font-size:var(--fs-12);
  font-weight:900;
}

.hub-demo-card--events button:hover{
  background:var(--bosgroen);
  border-color:var(--bosgroen);
  color:#fff;
}

.missie--wide{
  background:
    radial-gradient(720px 420px at 10% 0%,rgba(168,213,162,.18),transparent 62%),
    linear-gradient(180deg,#f6fbf2 0%,#fff 100%);
}

.mission-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--s-6);
  align-items:stretch;
}

@media (min-width:960px){
  .mission-grid{
    grid-template-columns:1fr 1fr;
  }
}

.missie-card{
  max-width:none;
  height:100%;
  padding:clamp(1.75rem,3vw,2.6rem);
}

.missie-card h2{
  color:var(--nacht);
  font-size:clamp(var(--fs-30),4vw,var(--fs-48));
  font-weight:900;
}

.missie-lead{
  margin-top:var(--s-5);
  color:var(--color-fg-muted);
  font-size:var(--fs-18);
  line-height:1.6;
}

.mission-principles{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--s-4);
}

@media (min-width:720px){
  .mission-principles{
    grid-template-columns:1fr 1fr;
  }
}

.mission-principles div{
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:var(--s-4);
  align-items:start;
  position:relative;
  overflow:hidden;
  padding:var(--s-6);
}

.mission-principles div > span{
  grid-row:1 / span 2;
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:13px;
  background:linear-gradient(145deg,var(--lentegroen),var(--grasgroen));
  color:#fff;
  font-weight:900;
  font-size:var(--fs-13);
}

.mission-principles strong{
  align-self:center;
  color:var(--nacht);
  font-size:clamp(var(--fs-24),2.2vw,var(--fs-30));
  line-height:1.04;
}

.mission-principles p{
  grid-column:2;
  margin-top:var(--s-3);
  color:var(--color-fg-muted);
  font-size:var(--fs-16);
  line-height:1.55;
}

.site-footer{
  background:var(--nacht);
  color:var(--color-on-dark-muted);
  padding-block:var(--s-16) var(--s-8);
}

.foot-brand .brand-logo{
  display:inline-block;
  height:64px;
  padding:.65rem .9rem;
  border-radius:18px;
  background:#fff;
  filter:none;
}

.foot-col h4,
.foot-brand .logo .wm-main{
  color:#fff;
}

.foot-col a,
.foot-bottom a,
.foot-tag,
.foot-bottom .copy{
  color:var(--color-on-dark-muted);
}

.foot-col a:hover,
.foot-bottom a:hover,
.foot-contact a:hover{
  color:#fff;
}

.request-modal[hidden]{
  display:none;
}

.request-modal{
  position:fixed;
  inset:0;
  z-index:300;
  display:grid;
  place-items:center;
  padding:var(--s-5);
}

.request-backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,34,23,.52);
  backdrop-filter:blur(8px);
}

.request-dialog{
  position:relative;
  width:min(560px,100%);
  border:1px solid var(--color-border);
  border-radius:var(--r-xl);
  background:#fff;
  padding:clamp(1.75rem,4vw,2.5rem);
  box-shadow:0 34px 80px -34px rgba(18,34,23,.55);
}

.request-close{
  position:absolute;
  top:1rem;
  right:1rem;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--dauwwit);
  color:var(--bosgroen);
  font-size:1.45rem;
  line-height:1;
}

.request-kicker{
  display:inline-flex;
  padding:.5rem .85rem;
  border-radius:var(--r-pill);
  background:var(--dauwwit);
  color:var(--bosgroen);
  border:1px solid var(--color-border-strong);
  font-weight:900;
}

.request-dialog h2{
  max-width:14ch;
  margin-top:var(--s-5);
  font-size:clamp(var(--fs-30),4vw,var(--fs-44));
  line-height:1.04;
}

.request-intro{
  margin-top:var(--s-4);
  color:var(--color-fg-muted);
  font-size:var(--fs-17);
  line-height:1.5;
}

.request-form{
  display:grid;
  gap:var(--s-4);
  margin-top:var(--s-6);
}

.request-form label{
  display:grid;
  gap:.45rem;
  color:var(--nacht);
  font-weight:900;
}

.request-form input,
.request-form textarea{
  width:100%;
  min-height:52px;
  border:1px solid var(--color-border);
  border-radius:var(--r-pill);
  background:var(--color-surface);
  color:var(--nacht);
  padding:.85rem 1rem;
  font:inherit;
  outline:none;
}

.request-form textarea{
  min-height:118px;
  border-radius:18px;
  resize:vertical;
}

.request-note{
  color:var(--color-fg-muted);
  font-size:var(--fs-15);
  line-height:1.45;
}

.request-note.is-ok{
  color:var(--bosgroen);
  font-weight:900;
}

.request-modal.is-event .request-dialog{
  background:
    radial-gradient(520px 280px at 90% 0%,rgba(168,213,162,.22),transparent 68%),
    linear-gradient(180deg,#fff,#f6fbf2);
  border-color:var(--color-border-strong);
}

.request-modal.is-event .request-kicker{
  background:var(--bosgroen);
  border-color:var(--bosgroen);
  color:#fff;
}

/* Final alignment polish. */
@media (min-width:960px){
  .work-grid{
    align-items:stretch;
  }
  .work-copy,
  .hub-demo{
    align-self:stretch;
    height:auto;
    min-height:100%;
  }
  .hub-demo{
    display:flex;
    align-items:stretch;
  }
  .hub-demo-browser{
    flex:1;
    display:flex;
    flex-direction:column;
    min-height:100%;
  }
  .hub-demo-grid{
    flex:1;
    align-content:start;
  }
}

.request-kicker,
.request-modal.is-event .request-kicker{
  background:var(--bosgroen);
  border-color:var(--bosgroen);
  color:#fff;
}

@media (min-width:1100px){
  .site-header > .container{
    max-width:var(--page-max);
    padding-inline:0;
  }
}

@media (min-width:960px){
  .nav{
    gap:.45rem;
  }
  .logo{
    margin-right:auto;
  }
  .nav-links{
    flex:0 1 auto;
    margin-left:auto;
    gap:.3rem;
  }
  .nav-right{
    margin-left:.3rem;
  }
  .nav-links a,
  .header-cta{
    min-height:44px;
    padding:.62rem .9rem;
    border-radius:var(--r-pill);
    font-size:var(--fs-14);
    line-height:1;
  }
  .nav-links a[href="#diensten"]{
    padding-inline:.9rem;
    font-size:var(--fs-14);
  }
  .header-cta{
    background:var(--bosgroen);
    border-color:var(--bosgroen);
    color:#fff;
    box-shadow:none;
  }
  .header-cta:hover,
  .header-cta:active{
    background:#fff;
    border-color:var(--bosgroen);
    color:var(--bosgroen);
  }
}

#groen-nederland,
#diensten,
#missie{
  scroll-margin-top:calc(var(--nav-h) + 1.5rem);
}

@media (max-width:767px){
  :root{
    --nav-h:72px;
  }
  .hero-photo-card{
    min-height:calc(82svh - var(--nav-h));
  }
  .hero-photo-overlay{
    background:linear-gradient(0deg,rgba(18,34,23,.9),rgba(18,34,23,.34));
  }
  .hero--photo h1{
    max-width:11ch;
  }
  .hub-demo-grid{
    grid-template-columns:1fr;
  }
  .hub-demo-card--wide,
  .hub-demo-card--coaches,
  .hub-demo-card--events,
  .hub-demo-card--report{
    grid-column:auto;
  }
  .hub-demo-nav{
    align-items:stretch;
    flex-direction:column;
  }
  .hub-demo-menu,
  .hub-demo-nav-actions,
  .hub-demo-profiles,
  .hub-demo-event-row{
    grid-template-columns:1fr;
    flex-wrap:wrap;
  }
  .event-photo-badge{
    left:.8rem;
  }
}

/* Page-wide polish: cleaner demo frame, consistent copy, stronger mobile behavior. */
.hub-demo{
  background:transparent !important;
  padding:0 !important;
  box-shadow:none !important;
}

.hub-demo-browser{
  width:100%;
}

.event-card-content p,
.work-copy p,
.missie-lead,
.mission-principles p,
.work-summary-list span{
  font-size:clamp(var(--fs-16),1.2vw,var(--fs-17));
  line-height:1.58;
}

.work-copy .lede{
  font-size:clamp(var(--fs-16),1.2vw,var(--fs-17));
  line-height:1.58;
}

.home-card,
.work-copy,
.missie-card,
.mission-principles div,
.hub-demo-browser{
  overflow-wrap:anywhere;
}

@media (max-width:767px){
  html,
  body{
    max-width:100%;
    overflow-x:hidden;
  }

  .section,
  .home-cards,
  .work-overview,
  .missie--wide,
  .hero--photo{
    padding-block:clamp(2rem,8vw,3rem);
  }

  .container,
  .hero--photo .container,
  .work-overview > .container,
  .home-card-grid--single,
  .missie--wide > .container{
    width:100%;
    max-width:100%;
    padding-inline:1rem;
  }

  .hero-photo-card{
    min-height:min(680px,calc(100svh - var(--nav-h) - 1.5rem));
    border-radius:18px;
  }

  .hero-photo-content{
    align-items:flex-end;
    padding:1.35rem;
  }

  .hero-one-liner{
    max-width:100%;
    min-height:0;
    white-space:normal;
    font-size:var(--fs-13);
    line-height:1.15;
  }

  .hero--photo h1,
  .event-card-content h2,
  .work-copy h2,
  .missie-card h2{
    max-width:100%;
    font-size:clamp(2rem,10vw,2.8rem);
    line-height:1.02;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:auto;
  }

  .hero--photo .sub{
    max-width:100%;
    font-size:clamp(var(--fs-16),5vw,var(--fs-19));
    line-height:1.35;
  }

  .home-card--event-wide,
  .work-grid,
  .mission-grid{
    grid-template-columns:1fr;
    gap:1rem;
  }

  .event-card-content,
  .work-copy,
  .missie-card,
  .mission-principles div{
    padding:1.25rem;
  }

  .event-card-media{
    min-height:230px;
  }

  .event-photo-badge{
    max-width:calc(100% - 1.6rem);
    font-size:var(--fs-12);
  }

  .hub-demo{
    min-height:0;
  }

  .hub-demo-browser{
    border-radius:18px;
    animation:none;
  }

  .hub-demo-brand{
    flex-wrap:wrap;
    font-size:var(--fs-14);
  }

  .hub-demo-nav{
    margin:.35rem .75rem .75rem;
  }

  .hub-demo-grid{
    padding:0 .75rem .75rem;
    gap:.65rem;
  }

  .hub-demo-card{
    min-height:0;
    padding:.85rem;
  }

  .hub-demo-card strong{
    font-size:var(--fs-16);
    line-height:1.18;
  }

  .mission-principles{
    grid-template-columns:1fr;
  }

  .mission-principles div{
    grid-template-columns:auto minmax(0,1fr);
  }

  .mission-principles strong{
    font-size:clamp(var(--fs-22),7vw,var(--fs-26));
  }

  .mission-principles p{
    grid-column:1 / -1;
  }

  .btn,
  .header-cta,
  .event-card-content .btn,
  .work-primary-cta{
    max-width:100%;
    white-space:normal;
  }
}
