/*────────────────────────────────────────────────────────────────────────────
   Off-Canvas Navigation
────────────────────────────────────────────────────────────────────────────*/

.offcanvas-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: #231f20;
  transform: translateX(-105%);
  transition: transform .4s ease;
  z-index: 90;
  overflow-y: auto;
}

.offcanvas-nav.open {
  transform: translateX(0);
}


/*────────────────────────────────────────────────────────────────────────────
   Home Scroll-Down Arrow (bouncing)
────────────────────────────────────────────────────────────────────────────*/

.home-scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 200;
}

.home-scroll-down-trigger {
  display: inline-block;
  animation: home-bounce 2s infinite;
  cursor: pointer;
}

.home-scroll-down-icon {
  width: 2rem;
  height: 2rem;
  stroke: rgba(255,255,255,0.8);
  transition: stroke 0.3s;
}

.home-scroll-down-trigger:hover .home-scroll-down-icon {
  stroke: #fff;
}

/* Bounce keyframes (scoped for home arrow) */
@keyframes home-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}


/*────────────────────────────────────────────────────────────────────────────
   ENTER SITE
────────────────────────────────────────────────────────────────────────────*/

#enter_site {
	position:		fixed;
	left:			0;
	top:			0;
	width:			100%;
	height:			100vh;
	background:		#fff;
	z-index:		900;
	opacity:		1;
	overflow:		hidden;
	transition:		visibility 1s ease-out,
				opacity 1s ease-out;
}

.splash-site-logo {
	position:		fixed;
	left:			calc(50% - 250px);
	top:			calc(50% - 140px);
	width:			500px;
	z-index:		901;
}

#enter_site_btn{
  position: fixed;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;                 /* square */
  padding: 0;                    /* don't use padding for square */
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;

  text-align: center;
  font-size: 1.5rem;
  line-height: 1.5rem;
  color: #231f20;
  background-color: #fff;
  z-index: 900;
  cursor: pointer;
  box-shadow: 0 0 9px rgba(0,0,0,.45);
}

/* rotate text back so it's normal left-to-right */
#enter_site_btn .enter_site_btn__label{
  display: inline-block;
  transform: rotate(-45deg);
}

/* optional: keep click area exactly the square, and soften corners */
#enter_site_btn{
  border-radius: 1rem;            /* optional */
}

#enter_site > img {
	position:		absolute;
	inset:			0;
	width:			100%;
	height:			100%;
	object-fit:		cover;
	object-position:	center; 
}

.otgs-development-site-front-end {
	display:		none;
}

.arbitrarily-placed-and-sized-parent-element {
	position:		relative;
	top:			0;
	left:			0;
	width:			100vw;
	height:			100vh;
}

.video-embed-object-fit-cover {
	position:		absolute;
	top:			0;
	bottom:			0;
	left:			0;
	right:			0;
	width:			100%;
	height:			100%;
	container-type:		size;
	overflow:		hidden;
	z-index:		28;
}

.video-embed-object-fit-cover > iframe {
	position:		absolute;
	top:			50%;
	left:			50%;
	width:			100%;
	height:			100%;
	transform:		translate(-50%, -50%);

	@container (min-aspect-ratio: 16/9) {
		height: 56.25cqw; /* 100*9/16 */
	}

	@container (max-aspect-ratio: 16/9) {
		width: 177.78cqh; /* 100*16/9 */
	}

	pointer-events: none;
}


/*────────────────────────────────────────────────────────────────────────────
   OFFCANVAS BACKDROP
────────────────────────────────────────────────────────────────────────────*/

.offcanvas-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 89;
}

.offcanvas-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}


/*────────────────────────────────────────────────────────────────────────────
   Menu Links & Colors
────────────────────────────────────────────────────────────────────────────*/

.offcanvas-menu {
  list-style: none;
  margin: 0;
  padding: 4.5rem 0 0;
}

.offcanvas-menu li {
  position: relative;
}

.offcanvas-nav .offcanvas-menu a {
  color: blue;
  display: block;
  padding: .25rem 2rem .25rem 1.75rem;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
}

.offcanvas-nav .offcanvas-menu a:hover {
  background: rgba(255,255,255,.1);
}


/*────────────────────────────────────────────────────────────────────────────
   Submenu Toggle & Styling
────────────────────────────────────────────────────────────────────────────*/

.offcanvas-nav .offcanvas-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  padding-left: 0;
  margin: 0 0 0 1.25rem;
}

.offcanvas-nav .offcanvas-menu .submenu-open > .sub-menu {
  max-height: 800px;
}

.submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #64777c;
  padding: .325rem 1.5rem;
  margin-left: auto;
}

.offcanvas-nav .offcanvas-menu .sub-menu a {
  padding-left: 2rem;
}


/*────────────────────────────────────────────────────────────────────────────
   Hamburger Toggle Button
────────────────────────────────────────────────────────────────────────────*/

.menu-toggle {
  position: fixed;
  top: 3.75rem;
  right: .75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

button.menu-toggle:hover,
button.menu-toggle:focus {
  background-color: transparent;
}

.menu-toggle .hamburger {
  display: block;
  width: 2rem;
  height: 18px;
  position: relative;
}

.menu-toggle .hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  background: #231f20;
  left: 0;
  border-radius: 2px;
  transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.page_scrolled .menu-toggle .hamburger span {
  background: #231f20;
}

body.offcanvas-open {
  overflow: hidden;
}

.menu-toggle .hamburger {
  position: relative;
  width: 50px;
  height: 50px;
}

.menu-toggle .hamburger span {
  position: absolute;
  left: 0;
  width: 29px;
  height: 2px;
}

.menu-toggle .hamburger span:nth-child(1) {
  top: 1px;
}

.menu-toggle .hamburger span:nth-child(2) {
  display: none;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle .hamburger span:nth-child(3) {
  left: 14px;
  top: -11px;
  width: 2px;
  height: 29px;
}

.menu-toggle.active {
  top: 2rem;
}

.menu-toggle.active .hamburger span:nth-child(1)::after,
.menu-toggle.active .hamburger span:nth-child(3)::before {
  content: none;
}

.menu-toggle.active .hamburger span:nth-child(1),
.menu-toggle.active .hamburger span:nth-child(3) {
  left: 0;
  width: 100%;
  background-color: #fff;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  height: 2px;
}

.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle .hamburger span {
  transform-origin: center center;
}

.menu-toggle.active .hamburger span:nth-child(1),
.menu-toggle.active .hamburger span:nth-child(3) {
  left: 0;              /* full‑width from the left edge */
  width: 28px;          /* span the entire container */
  top: 50%;             /* drop them to vertical center */
  bottom: auto;         /* unset any bottom positioning */
  transform: translateY(-50%); /* pull back up by half their own height */
}

.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(1)::after,
.menu-toggle.active .hamburger span:nth-child(3)::before {
  content: none;
}

body.page_scrolled .menu-toggle {
  top: 2rem;
}


/*────────────────────────────────────────────────────────────────────────────
   Site Branding (Logo) Styling
────────────────────────────────────────────────────────────────────────────*/

.site-branding {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 5rem 1rem;
  width: 100%;
  height: 140px;
  z-index: 120;
}

.site-logo-link {
  display: block;
}

.site-logo {
  display: inline-block;
}

/* move the reCAPTCHA v3 badge from bottom-right to bottom-left */
.grecaptcha-badge {
  left: 12px !important;
  right: auto !important;
  bottom: 12px !important;
  opacity: 0;
}



/*────────────────────────────────────────────────────────────────────────────
   SOCIAL SIDEBAR (bottom-right)
────────────────────────────────────────────────────────────────────────────*/

.social-sidebar {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  z-index: 80;
}

.social-sidebar a {
  display: block;
  text-decoration: none;
}

.social-sidebar .icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: #fff;
  transition: transform .3s ease, color .3s ease;
}

.social-sidebar a:hover .icon {
  transform: scale(1.15);
}

a.facebook_link,
a.instagram_link,
a.whatsapp_link,
a.linkedin_link,
a.email_link {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  margin: .25rem 0;
}

a.facebook_link > svg,
a.instagram_link > svg,
a.whatsapp_link > svg,
a.linkedin_link > svg,
a.email_link > svg {
  width: 2rem;
  height: 2rem;
  fill: #002e34;
}



/*────────────────────────────────────────────────────────────────────────────
   LANGUAGE SWITCHER
────────────────────────────────────────────────────────────────────────────*/

/* Compact language switcher: DE | EN | FR | ES | NL | RU */
.header-language-switcher {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  gap: 0.25rem;
  z-index: 125;
}

.header-language-switcher select {
  padding: .5rem;
  color: #fff;
  background-color: #a1905f;
  border-radius: .25rem; 	
  border: 1px solid #a1905f;
}

.language-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.05); /* dimmed backdrop */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.language-modal-content {
  background: rgba(255, 255, 255, .9);
  padding: 0 2.5rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  max-width: 90%;
  width: 500px;
  text-align: center;
}

.language-modal-content h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--color-heading);
}

.language-options {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.language-options li {
  margin: 0;
}

.language-options a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: var(--color-link);
  border-radius: .75rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.language-options a:hover {
  background-color: var(--color-link);
  color: #fff;
}

.popup-dismiss {
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.popup-dismiss:hover {
  color: var(--color-link-hover);
}

.wpml-ls-statics-footer {
  display: none;
}

.tile{
  position: fixed;          /* fixed so it doesn’t affect layout */
  right: 0;
  bottom: 1.25rem;
  width: 70px;
  height: 70px;
  background-color: rgba(255,255,255,.85);
  z-index: 10;
  transform: rotate(-45deg) translateX(55px);
  border-radius: 1rem;
  pointer-events: none;     /* optional */
}


/*────────────────────────────────────────────────────────────────────────────
   PARALLAX SECTIONS
────────────────────────────────────────────────────────────────────────────*/

.parallax-section {
  position: relative;
  min-height: 100vh;
  padding: 0;
}

.parallax-break {
  height: 100vh;
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-content {
  padding: 4.5rem 1.5rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

#home.parallax-section,
#inicio.parallax-section,
#accueil.parallax-section,
#startseite.parallax-section {
  min-height: calc(100vh - 152px);
}

#home .section-content,
#inicio .section-content,
#accueil .section-content,
#startseite .section-content {
  padding: 0;
}

h1 {
  margin: 0 !important;
  padding: 0 !important;
}

.parallax-section .section-content {
  transform: translateX(-80px);
  opacity: 0;
  transition: transform 1s ease-out, opacity .75s .25s ease-out;
}

.parallax-section.visible .section-content {
  transform: translateX(0);
  opacity: 1;
  text-align: center;
}

.parallax-section.visible img {
  opacity: 1;
  transform: scale(1);
}

.nav-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: #fff;
  text-decoration: none;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.nav-arrow:hover {
  opacity: 1;
}

.nav-arrow-up {
  top: .625rem;
}

.nav-arrow-down {
  bottom: .625rem;
}

.nav-arrow-up svg,
.nav-arrow-down svg {
  stroke: #002e34;
}



/*────────────────────────────────────────────────────────────────────────────
  Sub-menu grid & tiles (upgraded style only)
────────────────────────────────────────────────────────────────────────────*/
.sub-menu-grid {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem -1.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sub-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sub-item .sub-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

.sub-item .sub-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.sub-item .sub-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sub-item .sub-content h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  color: #333333;
}

.sub-item:hover,
.sub-item:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.sub-item img {
  border-radius: 0; /* already handled in container */
  transition: none;  /* keep your own hover scale if you like */
}



/*────────────────────────────────────────────────────────────────────────────
  HORIZONTAL SUB ITEMS
────────────────────────────────────────────────────────────────────────────*/

/* Horizontal sub-items — mobile-friendly (no vertical scroll trap) */
.horizontal-sub-items {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;                 /* enables horizontal swipe */
  overflow-y: visible;              /* allow vertical flow/scroll */
  -webkit-overflow-scrolling: touch;
  /* IMPORTANT: let the browser decide the gesture direction */
  touch-action: auto;               /* was pan-x; that blocked vertical scroll */
  scroll-snap-type: x proximity;    /* softer snap so it doesn't "stick" */
  padding-block: 0.75rem;
  scrollbar-gutter: stable;
}

/* Each section as a horizontal card */
.horizontal-sub-items > .parallax-section {
  flex: 0 0 auto;
  min-width: clamp(260px, 85vw, 920px);
  scroll-snap-align: start;
  scroll-margin-left: 1rem;
}

/* Media inside cards */
.horizontal-sub-items img,
.horizontal-sub-items video,
.horizontal-sub-items iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Optional cosmetics — safe to remove */
.horizontal-sub-items > .parallax-section .section-content {
  border-radius: 12px;
}

/* Optional WebKit scrollbar look */
.horizontal-sub-items::-webkit-scrollbar { height: 8px; }
.horizontal-sub-items::-webkit-scrollbar-thumb { background: rgba(0,0,0,.25); border-radius: 999px; }

/* Responsive tweaks */
@media (min-width: 768px) {
  .horizontal-sub-items { gap: 1.25rem; }
  .horizontal-sub-items > .parallax-section { min-width: clamp(420px, 70vw, 1000px); }
}
@media (min-width: 1200px) {
  .horizontal-sub-items > .parallax-section { min-width: clamp(520px, 60vw, 1100px); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .horizontal-sub-items { scroll-snap-type: none; }
}

.page-template-default .social-sidebar {

}

.page-template-default .page-content {
  padding: 2rem;
}


/*────────────────────────────────────────────────────────────────────────────
  FOOTER
────────────────────────────────────────────────────────────────────────────*/

.site-footer {
  padding: 18px 16px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background-color: #231f20;
}

.site-footer__links {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Footer menu separators: add "|" between items */
.site-footer__links li { margin: 0; padding: 0; }

.site-footer__links li + li::before{
  content: "|";
  opacity: .6;
  margin: 0 10px;   /* spacing around the separator */
  display: inline-block;
}

.site-footer__links a {
  color: #fff;
  text-decoration: none;
}
.site-footer__sep { margin: 0 8px; opacity: .6; }
.site-footer__meta { margin: 0; opacity: .85; }



/*────────────────────────────────────────────────────────────────────────────
   BLOG
────────────────────────────────────────────────────────────────────────────*/

.post-template-default .menu-toggle {
	display:		none;
}

.post-template-default .social-sidebar {
	display:		none;
}

.post-template-default #blog {
	background-color:	auto;
}

.post-template-default .page_thumbnail {
	margin:			0 -1.5rem;
}

.blog_title {
	margin:			2rem 0;
	font-weight:		bold;
	font-size:		1.5rem;
	line-height:		1.5rem;
	text-align:		center;
}

.post-template-default .page_content {
	margin:			1.5rem;
}

.blog_post_datetime {
	font-size:		.75rem;
	margin-bottom:		2rem;
}

#blog #social-media {
	bottom:			unset;
	top:			8.5rem;
}

@media (min-width: 768px) {
	.post-template-default .site-content {
		margin:		0 25%;
		width:		50%;
	}
}


/*────────────────────────────────────────────────────────────────────────────
   TESTIMONIALS
────────────────────────────────────────────────────────────────────────────*/

.glsr-reviews {
	position:		relative;
	display:		flex;
}

.glsr-review {
	position:		absolute;
	opacity:		0 !important;
	visibility:		hidden;
	z-index:		1;
	transition:		opacity .5s ease-out,
				visibility .5s ease-out,
				transform .5s ease-out !important;
}

.glsr-review.review_on {
	opacity:		1 !important;
	visibility:		visible;
}



/*────────────────────────────────────────────────────────────────────────────
   CONTACT FORM 7
────────────────────────────────────────────────────────────────────────────*/

.wpcf7 .wpcf7-text {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border-style: dashed;
  border-width: 0 0 1px;
  border-color: #002e34;
}

.wpcf7 .wpcf7-submit {
  display: block;
  width: 200px;
  color: #fff;
  margin: 1rem auto 0;
  background-color: #002e34;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

#how-to-contact-us .section-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#how-to-contact-us .section-content p {
  margin: 0 0 1rem;
}

#how-to-contact-us .section-content p.vertical_fill {
  margin-top: auto;
}

#contact h3 {
  color: #407c94 !important;
}

.wpcf7-list-item {
  display: block;
  margin: 0;
}


/*────────────────────────────────────────────────────────────────────────────
   Bump fixed header/nav/toggle for the WP admin bar
────────────────────────────────────────────────────────────────────────────*/

body.admin-bar .offcanvas-nav {
  top: 46px;
  height: calc(100% - 46px);
}

body.admin-bar .menu-toggle {
  top: calc(4.5rem + 46px);
}

body.admin-bar .menu-toggle.active {
  top: calc(2rem + 32px);
}

body.admin-bar .header-language-switcher {
  top: calc(2rem + 46px);
}

/*────────────────────────────────────────────────────────────────────────────
   SCROLL INDICATOR (mouse + "scroll down")
   - HTML: .scroll-indicator > .scroll-indicator__mouse + .scroll-indicator__text
   - Uses currentColor for border/line, so set color on parent (or here).
────────────────────────────────────────────────────────────────────────────*/

/* Wrapper: icon + text naast elkaar */
.scroll-indicator{
  position:  absolute;
  bottom:  4.5rem;
  width:  100%;
  display: inline-flex;       /* icon + text in 1 rij */
  align-items: center;        /* verticaal uitlijnen */
  justify-content: center;
  gap: 10px;                  /* spacing tussen icon en tekst */
  user-select: none;          /* voorkomt selecteren (cosmetisch) */
  color: #fff;                /* default kleur; liever via parent (bv. .hero) overriden */
  z-index: 10;
}

/* Tekst: “scroll down” */
.scroll-indicator__text{
  font-size: 14px;            /* leesbaar maar subtiel */
  letter-spacing: .08em;      /* “UI” look */
  text-transform: uppercase;  /* consistent met veel hero prompts */
  opacity: .85;               /* net iets zachter dan icoon */
  line-height: 1;
}

/*────────────────────────────────────────────────────────────────────────────
   MOUSE SHAPE (outline)
   - Afgeronde rechthoek: hoger dan breed
   - overflow:hidden zodat de animatie binnen de vorm blijft
────────────────────────────────────────────────────────────────────────────*/
.scroll-indicator__mouse{
  width: 28px;                /* breedte van “muis” */
  height: 42px;               /* hoogte van “muis” */
  border: 2px solid currentColor; /* outline */
  border-radius: 14px;        /* afgeronde hoeken -> mouse look */
  position: relative;         /* anker voor pseudo-elementen binnenin */
  display: inline-block;
  overflow: hidden;           /* knipt het bewegende “wieltje” af */
  box-sizing: border-box;
}

/* Optionele “split” lijn bovenin: geeft meer muis-gevoel */
.scroll-indicator__mouse::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;                  /* plek van de split */
  width: 60%;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  opacity: .25;               /* subtiel, niet dominant */
}

/*────────────────────────────────────────────────────────────────────────────
   WHEEL ANIMATION (verticale streep die omlaag beweegt)
   - Loopt in een nette loop: fade-in -> move-down -> fade-out
────────────────────────────────────────────────────────────────────────────*/
.scroll-indicator__wheel{
  position: absolute;
  left: 50%;
  top: 9px;                   /* startpositie van het wieltje */
  width: 2px;
  height: 10px;
  background: currentColor;
  border-radius: 2px;         /* iets zachter */
  transform: translateX(-50%);
  animation: scrollIndicatorWheel 1.1s ease-in-out infinite;
}

/* Keyframes: de “scroll” illusie */
@keyframes scrollIndicatorWheel{
  0%   { transform: translate(-50%, 0);     opacity: 0; }  /* start: onzichtbaar */
  15%  { opacity: 1; }                                     /* fade in */
  60%  { transform: translate(-50%, 16px);  opacity: 1; }  /* naar beneden */
  100% { transform: translate(-50%, 22px);  opacity: 0; }  /* fade out + eind */
}

/*────────────────────────────────────────────────────────────────────────────
   ACCESSIBILITY: REDUCED MOTION
   - Als user “reduce motion” aan heeft, stop de animatie
────────────────────────────────────────────────────────────────────────────*/
@media (prefers-reduced-motion: reduce){
  .scroll-indicator__wheel{
    animation: none;
    opacity: 1;
    transform: translate(-50%, 10px);
  }
}


/*────────────────────────────────────────────────────────────────────────────
   Diamond Gallery
────────────────────────────────────────────────────────────────────────────*/

.dg-gallery{
  --dg-size: 210px;           /* smaller diamonds */
  --dg-radius: 22px;
  --dg-shadow: 0 0px 16px rgba(0,0,0,.22); /* <-- updated shadow */

  padding: 0;
  overflow: visible;
  box-sizing: border-box;
}

/* Neutralize any global figure margins inside section-content */
.section-content .dg-gallery,
.section-content .dg-gallery figure{
  margin: 0 !important;
}

/* Track: grid paging = one slide per view */
.dg-gallery > figure.wp-block-gallery{
  width: 100% !important;
  box-sizing: border-box !important;

  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 100% !important;
  gap: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow-x: auto !important;
  overflow-y: visible !important;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}
.dg-gallery > figure.wp-block-gallery::-webkit-scrollbar{ display:none; }

/* Each slide */
.dg-gallery > figure.wp-block-gallery > figure.wp-block-image{
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  flex: none !important; /* kill any flex sizing */

  display: grid !important;
  place-items: center !important;

  scroll-snap-align: center;
  scroll-snap-stop: always;

  position: relative !important;
}

/* If container narrower than viewport, force slide width to viewport minus padding */
@media (max-width: 767px){
  .dg-gallery > figure.wp-block-gallery > figure.wp-block-image{
    min-width: calc(100vw - 48px) !important; /* 24px + 24px */
  }
}

/* Diamond frame */
.dg-gallery .dg-media{
  width: var(--dg-size) !important;
  height: var(--dg-size) !important;

  border-radius: var(--dg-radius) !important;
  overflow: hidden !important;

  transform: rotate(45deg);
  box-shadow: var(--dg-shadow);

  position: relative !important;
  background: rgba(255,255,255,.02);
}

.dg-gallery .dg-media > img{
  position: absolute !important;
  inset: 0 !important;                 /* fill the square */
  width: 100% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: center !important;

  /* keep photo upright + scale to fully cover rotated mask */
  transform: rotate(-45deg) scale(3.1) !important;
  transform-origin: center !important;

  max-width: none !important;
  max-height: none !important;
  display: block !important;
}


/* Neutralize WP “is-cropped” behaviour */
.dg-gallery figure.wp-block-gallery.is-cropped img{
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
}

/* Each slide */
.dg-gallery > figure.wp-block-gallery > figure.wp-block-image{
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  flex: none !important;

  display: grid !important;
  place-items: center !important;

  scroll-snap-align: center;
  scroll-snap-stop: always;

  position: relative !important;

  padding-block: calc((var(--dg-size) * 0.22) + 16px) !important;
}

.dg-gallery > figure.wp-block-gallery{
  scroll-behavior: smooth;
}

/*────────────────────────────────────────────────────────────────────────────
  Diamond Gallery — Desktop: 3 naast elkaar + kleinere diamonds
────────────────────────────────────────────────────────────────────────────*/

@media (min-width: 768px){

  .dg-gallery{
    --dg-size: 170px; /* ✅ kleiner op desktop (pas aan: 160–200) */
  }

  .dg-gallery > figure.wp-block-gallery{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;

    gap: 2.25rem !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
  }

  .dg-gallery > figure.wp-block-gallery > figure.wp-block-image{
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;

    /* buffer blijft correct met nieuwe size */
    padding-block: calc((var(--dg-size) * 0.22) + 16px) !important;
  }
}

/* iOS Safari: stop auto-detected numbers in the footer from getting link styling */
.site-footer a[href^="tel"],
.site-footer a[x-apple-data-detectors],
.site-footer a[x-apple-data-detectors] *,
.site-footer a[href^="tel"] *{
  color: inherit !important;
  text-decoration: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

section#before-during-after .dg-gallery .dg-media {
  width: 240px !important;
  height: 150px !important;
  transform: rotate(0deg) !important;
}

section#before-during-after .dg-gallery .dg-media > img {
  transform: rotate(0deg) scale(3.1) !important;
}

body:not(.home) .menu-toggle {
  display: none !important;
}



/*────────────────────────────────────────────────────────────────────────────
   Responsive Width Cap
────────────────────────────────────────────────────────────────────────────*/

@media (min-width: 768px) {
  body.admin-bar .offcanvas-nav {
    top: 32px;
    height: calc(100% - 32px);
  }

  body.admin-bar .menu-toggle {
    top: calc(5.75rem + 32px);
  }

  body.offcanvas-open {
    overflow: unset;
  }

  .site-content {
    padding: 140px 0 0;
  }

  .site-branding {
    position: fixed;
    padding: 1.5rem 0 0;
  }

  .site-logo {
	height: 80px;
  }

  body.page_scrolled .menu-toggle {
    top: 3.75rem;
  }

  .header-language-switcher {
    right: 2rem;
    top: 2rem;
  }

  .social-sidebar {
    bottom: 2rem;
  }

  .menu-toggle {
    z-index: 200;
  }

  .menu-toggle.active {
    top: 3.75rem;
  }

  .menu-toggle.active .hamburger span:nth-child(1), .menu-toggle.active .hamburger span:nth-child(3) {
    background-color: #231f20;
  }

  .offcanvas-menu {
    padding: 1rem 0 0;
  }

  .offcanvas-nav {
    left: unset;
    right: 0;
    top: 140px;
    width: 350px;
    transform: translateX(350px);
    background: rgba(255, 255, 255, .8);
  }

  .offcanvas-nav .offcanvas-menu a {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #231f20;
  }

  .parallax-section {
    min-height: calc(100vh - 136px);
  }

  .parallax-section .section-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4.5rem 2rem;
  }

  #how-to-contact-us .section-content {
    padding: 4.5rem 2rem;
  }

  #home.parallax-section .section-content,
  #inicio.parallax-section .section-content,
  #startseite.parallax-section .section-content,
  #accueil.parallax-section .section-content {
    max-width: unset;
    margin: 0;
    padding: 0;
  }

  .sub-menu-grid {
    margin: 1.5rem -1.5rem 0;
  }

  .footer-language-switcher {
    margin-top: 0;
  }

  .site-footer {
    padding: 2rem;
  }
}
