/* BLOK header_home */ 
.contentblok.header_home {
	margin-top: 2rem!important;
	position: relative;
	display: flex;
	align-items: center;
}

.contentblok.header_home h1,
.contentblok.header_home h2,
.contentblok.header_home h3 {
	color: var(--color-lichtgroen);
}

/* PLUSJES */
.header_afbeelding .plusjes {
  position: absolute;
  bottom: -3rem;
  right: 0;
  width: 100%;
  max-width: 150px;
  z-index: 999;
}

/* Container voor afbeeldingen */
.header_afbeelding {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;	/* responsive hoogte */
	min-height: 260px;		/* fallback voor browsers zonder aspect-ratio */
	margin-left: auto;
	margin-right: auto;
  margin-bottom: 6rem;
}

/* Gestapelde afbeeldingen */
.stacked-image {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%) rotate(var(--rotation)) scale(0.95);
	opacity: 0; /* start onzichtbaar */
}
.stacked-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 15px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* Middelste afbeelding iets groter */
.stacked-1 {
	transform: translate(-50%, -50%) rotate(var(--rotation)) scale(1.05);
}
/* Animatie */
.fade-in {
	animation: fadeInScale 0.8s ease forwards;
}
/* Zorg dat elke afbeelding steeds hoger ligt */
.stacked-0 { animation-delay: 0s; z-index: 1; }
.stacked-1 { animation-delay: 1s; z-index: 2; }
.stacked-2 { animation-delay: 2s; z-index: 3; } /* hoogste = laatste foto */
@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.9) rotate(var(--rotation, 0deg));
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1) rotate(var(--rotation, 0deg));
	}
}


/* Desktop: extra ruimte en decoratie */
@media (min-width: 1200px) { 
  .contentblok.header_home {
    margin-top: 6rem !important;
  }
  .header_afbeelding {
    padding-top: 6rem;
    margin-bottom: 0;
  }
  .header_afbeelding .plusjes {
    position: absolute;
    bottom: -3rem;
    right: 0;
    width: 100%;
    max-width: 250px;
    z-index: 999;
  }
}
