/* GEM V6.2.1 — Premium Visual Experience
   Visible public-site layer: editorial depth, light, glass, motion and refined hierarchy. */
:root{
  --pv-glass:rgba(255,255,255,.62);
  --pv-glass-strong:rgba(255,255,255,.78);
  --pv-line:rgba(255,255,255,.52);
  --pv-forest-glow:rgba(58,82,64,.16);
  --pv-rose-glow:rgba(207,172,172,.30);
  --pv-gold-glow:rgba(185,149,95,.18);
  --pv-shadow:0 24px 70px rgba(50,54,48,.11),0 2px 0 rgba(255,255,255,.55) inset;
  --pv-shadow-hover:0 38px 95px rgba(50,54,48,.18),0 1px 0 rgba(255,255,255,.82) inset;
}
html{scroll-padding-top:96px}
body{overflow-x:hidden;background:
 radial-gradient(circle at 12% 6%,rgba(243,229,216,.7),transparent 27rem),
 radial-gradient(circle at 92% 18%,rgba(207,172,172,.18),transparent 30rem),var(--surface-page)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:9999;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E")}

/* Refined type hierarchy */
h1,h2,h3{font-kerning:normal;text-wrap:balance}
h1{font-size:clamp(2.25rem,4vw,4rem);letter-spacing:-.035em;line-height:1.03}
h2{font-size:clamp(2rem,3.5vw,3.45rem);letter-spacing:-.027em;line-height:1.08}
h3{letter-spacing:-.018em}.lead{line-height:1.65;max-width:66ch}
.eyebrow,.ds-kicker{letter-spacing:.19em;font-size:.72rem;position:relative;display:inline-flex;align-items:center;gap:.7rem}
.eyebrow:before,.ds-kicker:before{content:"";width:26px;height:1px;background:currentColor;opacity:.48}

/* Floating, illuminated navigation */
.site-header{top:0;padding:12px 0;background:transparent;border:0;transition:padding .45s var(--ease-premium),background .45s,box-shadow .45s,backdrop-filter .45s;z-index:1200}
.site-header .nav{border:1px solid rgba(255,255,255,.58);border-radius:999px;padding:0 12px 0 20px;background:rgba(251,247,242,.72);box-shadow:0 10px 38px rgba(53,60,54,.08);backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);transition:.45s var(--ease-premium)}
.site-header.is-scrolled{padding:7px 0}.site-header.is-scrolled .nav{background:rgba(251,247,242,.9);box-shadow:0 15px 48px rgba(42,58,47,.13)}
.nav-links>a:not(.btn){position:relative}.nav-links>a:not(.btn):after{content:"";position:absolute;left:50%;right:50%;bottom:-7px;height:1.5px;background:var(--color-rose-600);transition:left .32s var(--ease-premium),right .32s var(--ease-premium)}
.nav-links>a:not(.btn):hover:after,.nav-links>a[aria-current="page"]:after{left:10%;right:10%}
.nav-links .btn{position:relative;overflow:hidden}.nav-links .btn:before,.hero-actions .btn:before{content:"";position:absolute;inset:-2px;transform:translateX(-120%) skewX(-18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);transition:transform .7s var(--ease-premium)}
.nav-links .btn:hover:before,.hero-actions .btn:hover:before{transform:translateX(120%) skewX(-18deg)}

/* Hero: depth, contained parallax and ambient light */
.hero-editorial{isolation:isolate;position:relative;padding-top:28px;background:linear-gradient(180deg,#F3E5D8 0%,#CFACAC 100%)}
.hero-editorial:after{content:"";position:absolute;width:36vw;height:36vw;max-width:560px;max-height:560px;border-radius:50%;right:-8vw;top:8%;background:radial-gradient(circle,rgba(255,255,255,.34),transparent 68%);filter:blur(12px);z-index:-1;animation:pvFloat 10s ease-in-out infinite alternate}
.hero-picture{box-shadow:0 45px 110px rgba(78,53,54,.22),0 1px 0 rgba(255,255,255,.8) inset;transform:translateZ(0);will-change:transform;transition:box-shadow .6s var(--ease-premium)}
.hero-picture:after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.55);border-radius:inherit;pointer-events:none;z-index:3}
.hero-picture img{transform:scale(1.045);will-change:transform;transition:filter .8s,transform .1s linear;filter:saturate(.93) contrast(1.02)}
.hero-editorial:hover .hero-picture{box-shadow:0 55px 125px rgba(78,53,54,.27),0 1px 0 rgba(255,255,255,.8) inset}
.hero-cta{background:rgba(251,247,242,.62);border:1px solid rgba(255,255,255,.7);box-shadow:0 20px 58px rgba(77,54,55,.11);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px);border-radius:25px;padding:1.05rem 1.15rem 1.05rem 1.4rem;position:relative;z-index:5}
.hero-cta p{font-family:var(--font-display);letter-spacing:-.02em}.hero-actions .btn{position:relative;overflow:hidden}

/* Inner-page hero becomes editorial instead of a flat heading */
.page-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(9rem,14vw,13rem) 0 clamp(5rem,9vw,8rem);background:linear-gradient(145deg,#f3e5d8 0%,#f8f0e9 48%,#e7cccc 100%)}
.page-hero:before,.page-hero:after{content:"";position:absolute;border-radius:50%;z-index:-1;filter:blur(2px)}
.page-hero:before{width:33vw;height:33vw;min-width:360px;min-height:360px;right:-10vw;top:-12vw;background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.72),rgba(207,172,172,.17) 46%,transparent 72%)}
.page-hero:after{width:25vw;height:25vw;left:-9vw;bottom:-14vw;background:radial-gradient(circle,rgba(58,82,64,.11),transparent 70%)}
.page-hero .container{position:relative}.page-hero h1{max-width:18ch}.page-hero .lead{font-size:clamp(1.1rem,1.55vw,1.35rem)}

/* Sections connect through soft light instead of hard bands */
main>.section{position:relative;isolation:isolate}
main>.section:not(.section-dark):not(.workflow-rose):not(.section-soft):before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.5))}
.section-soft{background:linear-gradient(150deg,rgba(237,228,218,.88),rgba(251,247,242,.94) 55%,rgba(234,216,216,.43));overflow:hidden}
.section-soft:after{content:"";position:absolute;width:30rem;height:30rem;border-radius:50%;right:-15rem;top:-15rem;background:radial-gradient(circle,var(--pv-rose-glow),transparent 68%);z-index:-1}
.section-dark{position:relative;overflow:hidden;background:linear-gradient(145deg,#263b2e,#405c48 58%,#6f7f72)}
.section-dark:after{content:"";position:absolute;inset:auto -12% -60% 38%;height:130%;background:radial-gradient(ellipse,rgba(255,255,255,.1),transparent 66%);pointer-events:none}
.workflow-rose{background:linear-gradient(145deg,#dfc2c2,#CFACAC 55%,#be9595);color:#2f4235}
.section-head{align-items:end}.section-head>div:first-child{max-width:760px}

/* Glass and light cards */
.card,.service-slide-link,.event-card,.team-card,.testimonial,.value,.step,.faq-item,.accordion-item,.ds-card{position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.83),rgba(255,255,255,.54));border:1px solid rgba(255,255,255,.78);box-shadow:var(--pv-shadow);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transform-style:preserve-3d;will-change:transform}
.card:before,.service-slide-link:before,.event-card:before,.team-card:before,.testimonial:before,.value:before,.step:before,.ds-card:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.45),transparent 38%);pointer-events:none;opacity:.55;z-index:1}
.card:hover,.service-slide-link:hover,.event-card:hover,.team-card:hover,.testimonial:hover,.value:hover,.step:hover,.ds-card:hover{box-shadow:var(--pv-shadow-hover);border-color:rgba(255,255,255,.95)}
.card img,.service-slide-image img,.event-card img,.team-card img,.media-frame img{transition:transform 1s var(--ease-premium),filter .8s var(--ease-premium)}
.card:hover img,.event-card:hover img,.team-card:hover img{transform:scale(1.035);filter:saturate(1.03)}
.value b{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:50%;background:rgba(207,172,172,.27);border:1px solid rgba(255,255,255,.7);box-shadow:0 10px 25px rgba(93,65,65,.08)}
.media-frame{box-shadow:0 32px 80px rgba(53,60,54,.14);border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.4)}
.media-frame:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.52);pointer-events:none}

/* Premium CTA panels */
.cta-panel,.services-cta,.ds-cta{position:relative;overflow:hidden;background:linear-gradient(135deg,#dfc3c3 0%,#CFACAC 48%,#bd9494 100%);color:#2d4034;box-shadow:0 38px 95px rgba(105,70,70,.19),inset 0 1px rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.56)}
.cta-panel:before,.services-cta:before,.ds-cta:before{content:"";position:absolute;width:22rem;height:22rem;right:-8rem;top:-10rem;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.44),transparent 67%);pointer-events:none}
.cta-panel h2,.services-cta h2,.cta-panel .lead{color:inherit!important}

/* Buttons feel tactile */
.btn{position:relative;isolation:isolate;box-shadow:0 12px 30px rgba(55,70,60,.10);transition:transform .34s var(--ease-premium),box-shadow .34s,background .34s,color .34s}
.btn:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(55,70,60,.18)}.btn:active{transform:translateY(0) scale(.985)}
.btn-secondary,.btn-glass{background:rgba(255,255,255,.56);backdrop-filter:blur(12px);border-color:rgba(255,255,255,.74)}

/* Forms */
.field input,.field textarea,.field select,.ds-field input,.ds-field textarea,.ds-field select{background:rgba(255,255,255,.75);border-color:rgba(255,255,255,.86);box-shadow:0 8px 25px rgba(58,82,64,.06),inset 0 1px rgba(255,255,255,.8)}
.field input:hover,.field textarea:hover,.field select:hover{border-color:rgba(207,172,172,.75)}

/* Footer and image light */
.site-footer{position:relative;overflow:hidden;background:linear-gradient(145deg,#1e2e25,#2c4233 62%,#3a5240)}
.site-footer:before{content:"";position:absolute;width:38rem;height:38rem;right:-18rem;top:-24rem;border-radius:50%;background:radial-gradient(circle,rgba(207,172,172,.16),transparent 68%)}
.footer-grid,.footer-bottom{position:relative;z-index:1}

/* JS driven reveals */
.pv-reveal{opacity:0;transform:translateY(30px);transition:opacity .9s var(--ease-premium),transform .9s var(--ease-premium);transition-delay:var(--pv-delay,0ms)}
.pv-reveal.pv-visible{opacity:1;transform:none}
.pv-image-reveal{clip-path:inset(0 0 100% 0 round var(--radius-lg));transition:clip-path 1.15s var(--ease-premium)}
.pv-image-reveal.pv-visible{clip-path:inset(0 0 0 0 round var(--radius-lg))}
.pv-tilt{transition:transform .18s ease-out,box-shadow .38s var(--ease-premium)}
.pv-cursor-light{position:fixed;width:420px;height:420px;border-radius:50%;pointer-events:none;z-index:-1;background:radial-gradient(circle,rgba(207,172,172,.12),transparent 67%);transform:translate(-50%,-50%);transition:opacity .3s;opacity:0}
body:hover .pv-cursor-light{opacity:1}
@keyframes pvFloat{to{transform:translate3d(-2.5vw,2vw,0) scale(1.08)}}

@media(max-width:900px){
 .site-header{padding:7px 0}.site-header .nav{border-radius:24px;padding-left:13px}.nav-links{border-radius:24px;box-shadow:0 28px 80px rgba(42,58,47,.16)}
 .hero-cta{border-radius:22px}.page-hero{padding-top:8rem}
}
@media(max-width:680px){
 h1{font-size:clamp(2.1rem,10vw,3rem)}h2{font-size:clamp(1.8rem,8vw,2.55rem)}
 .hero-cta{background:rgba(251,247,242,.82);padding:.95rem}.hero-actions{width:100%}.hero-actions .btn{flex:1;text-align:center}
 .pv-cursor-light{display:none}
}
@media(prefers-reduced-motion:reduce){
 .hero-editorial:after{animation:none}.pv-reveal{opacity:1;transform:none}.pv-image-reveal{clip-path:none}.pv-tilt{transform:none!important}
}

/* V6.2.2 polish retained in V6.3.0 */
.cta-band .btn-secondary,.premium-cta .btn-secondary{background:rgba(255,255,255,.88);color:#3a5240;border-color:rgba(255,255,255,.9)}
.cta-band .btn-secondary:hover,.premium-cta .btn-secondary:hover{background:#fff;color:#3a5240;border-color:#cfacac}


/* V6.3.1 editorial service content */
.service-editorial{display:grid;gap:clamp(2.5rem,6vw,5.5rem)}
.service-intro{margin-bottom:0}
.service-jump-nav{position:sticky;top:96px;z-index:15;display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem;padding:.75rem;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(247,239,232,.78);backdrop-filter:blur(18px);box-shadow:0 16px 45px rgba(58,82,64,.10)}
.service-jump-nav a{padding:.72rem 1.05rem;border-radius:999px;color:var(--color-primary,#3a5240);font-weight:700;text-decoration:none;transition:background .25s ease,transform .25s ease}
.service-jump-nav a:hover,.service-jump-nav a:focus-visible{background:rgba(207,172,172,.42);transform:translateY(-1px)}
.service-section{scroll-margin-top:175px;max-width:980px;margin-inline:auto}
.service-section>h2{margin:.25rem 0 1.25rem}
.service-section>p{font-size:clamp(1.03rem,1.4vw,1.16rem);line-height:1.85}
.service-section-soft{padding:clamp(2rem,5vw,4rem);border-radius:36px;background:linear-gradient(135deg,rgba(243,229,216,.92),rgba(207,172,172,.26));box-shadow:inset 0 1px rgba(255,255,255,.8)}
.service-list{display:grid;gap:.65rem;padding-left:1.25rem}
.service-method-grid,.service-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:1.5rem}
.service-method,.service-option{padding:clamp(1.4rem,3vw,2.1rem);height:100%}
.service-method h3,.service-option h3{margin:.2rem 0 .75rem}
.service-option{border:1px solid rgba(255,255,255,.72);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(243,229,216,.48));box-shadow:0 18px 50px rgba(58,82,64,.10);backdrop-filter:blur(14px)}
.service-final-cta{max-width:1100px;margin-inline:auto}
.service-disclaimer{text-align:center;max-width:760px;margin-inline:auto}
@media(max-width:760px){.service-jump-nav{position:sticky;top:96px;z-index:90;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:20px}.service-jump-nav::-webkit-scrollbar{display:none}.service-jump-nav a{flex:0 0 auto;white-space:nowrap}.service-method-grid,.service-options-grid{grid-template-columns:1fr}.service-section-soft{padding:1.5rem}}


/* V6.3.2 corrected editorial service layout */
.service-method-text-list{display:grid;gap:2.25rem;margin-top:1.5rem}
.service-method-text{padding:0;border:0;background:transparent;box-shadow:none}
.service-method-text h3{margin:0 0 .75rem;font-size:clamp(1.35rem,2.4vw,1.9rem)}
.service-method-text p{font-size:clamp(1.03rem,1.4vw,1.16rem);line-height:1.85}
.service-section-wide{max-width:1100px}
.service-section-wide .service-options-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem}
.service-section-wide .service-option{background:rgba(255,255,255,.36);border:1px solid rgba(255,255,255,.62);box-shadow:none;backdrop-filter:none}
.service-section-wide .service-option:last-child:nth-child(odd){grid-column:1/-1}
.service-closing-quote{margin:2.5rem 0 0;padding:1.5rem 0 0;border-top:1px solid rgba(58,82,64,.16);font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.25rem,2.2vw,1.7rem);line-height:1.5;color:var(--green-dark)}
@media(max-width:760px){.service-section-wide .service-options-grid{grid-template-columns:1fr}.service-section-wide .service-option:last-child:nth-child(odd){grid-column:auto}}


/* =========================================================
   GEM V6.3.3 — service layout alignment and CTA contrast fix
   ========================================================= */

/* 02 Voor wie? and 04 Mogelijkheden:
   same outer dimensions, padding and rounding as final CTA panel. */
.service-section.service-section-soft {
  width: min(1100px, calc(100% - 40px));
  max-width: 1100px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--radius-xl, 42px);
  background:
    linear-gradient(135deg,
      rgba(243, 229, 216, .96) 0%,
      rgba(229, 202, 198, .82) 52%,
      rgba(207, 172, 172, .62) 100%);
  border: 1px solid rgba(255, 255, 255, .64);
  box-shadow:
    0 38px 95px rgba(105, 70, 70, .12),
    inset 0 1px rgba(255, 255, 255, .62);
}

/* Keep the options content readable without changing the shared panel width. */
.service-section-wide {
  max-width: 1100px;
}

/* 03 Onze werkwijze must align exactly like 01 Wat is het? */
#wat-is-het,
#werkwijze {
  width: min(980px, calc(100% - 40px));
  max-width: 980px;
  margin-inline: auto;
  justify-self: center;
}

#werkwijze .service-method-text-list {
  width: 100%;
  margin-inline: 0;
  margin-top: 1.5rem;
  padding: 0;
  justify-items: stretch;
}

#werkwijze .service-method-text-list > * {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Homepage glass CTA: ensure a clear, brand-consistent contrast. */
.hero-cta .btn-glass,
.hero-cta a.btn-glass {
  color: #3A5240 !important;
  background: rgba(255, 251, 247, .90) !important;
  border-color: rgba(58, 82, 64, .24) !important;
  box-shadow:
    0 14px 34px rgba(75, 54, 55, .13),
    inset 0 1px rgba(255, 255, 255, .90);
  text-shadow: none !important;
}

.hero-cta .btn-glass:hover,
.hero-cta .btn-glass:focus-visible {
  color: #2A3E31 !important;
  background: #FFFFFF !important;
  border-color: #CFACAC !important;
  box-shadow:
    0 18px 42px rgba(75, 54, 55, .18),
    0 0 0 4px rgba(207, 172, 172, .16);
}

@media (max-width: 760px) {
  .service-section.service-section-soft {
    width: min(100% - 28px, 1100px);
    padding: 1.65rem;
    border-radius: 28px;
  }

  #wat-is-het,
  #werkwijze {
    width: min(100% - 28px, 980px);
  }
}


/* V6.4.2 acceptance fix #6 — mobile service detail sticky behaviour
   - Detail image must scroll normally on phones/tablets, including landscape phones >900 CSS px.
   - Service submenu stays sticky below the sticky site header and scrolls horizontally on narrow screens. */
@media(max-width:1024px){
  .service-intro.service-detail > img.service-detail-image{
    position:static !important;
    top:auto !important;
    align-self:auto;
  }
}
@media(max-width:760px){
  .service-jump-nav{
    position:sticky;
    top:96px;
    z-index:90;
    flex-wrap:nowrap;
    justify-content:flex-start;
    overflow-x:auto;
    overflow-y:hidden;
    max-width:100%;
    -webkit-overflow-scrolling:touch;
  }
  .service-jump-nav a{flex:0 0 auto;white-space:nowrap}
  .service-section{scroll-margin-top:190px}
}


/* V6.4.2 acceptance fix #7 — service submenu sticky offset
   Desktop navigation is 115px high; tablet/mobile navigation is 82px high.
   Keep the sticky service submenu fully below the main header. */
.service-jump-nav{top:127px}
.service-section{scroll-margin-top:210px}
@media(max-width:900px){
  .service-jump-nav{top:94px}
  .service-section{scroll-margin-top:180px}
}
@media(max-width:760px){
  .service-jump-nav{top:94px}
  .service-section{scroll-margin-top:180px}
}
