/* CSS Document */

#sfeertext-home {
padding: 7vw 55% 0 0;
}

#sfeertext-home .button:hover {
color:#FFFFFF;
border-color:#FFFFFF;
background-color:transparent;
}

#titlewrapper {
width:100%;
height:auto;
}

#title {
width:100%;
max-width:1240px;
margin: 0 auto;
padding:50px 30px;
text-align:center;
}

#aboutwrapper {
    width: 100%;
    background-color: #725849;
}

#about {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;

    display: grid;
    grid-template-columns: 35fr 30fr 35fr;
    gap: 30px;
}

/* Afbeelding */
#about-image {
    background-position: top center;
    background-size: cover;
    min-height: 100%;
}

/* Tekst */
#about-text {
    padding: 40px 0;
    color: #fff;
	min-width: 0;

    overflow-wrap: break-word;
    word-break: break-word;

}

/* Rechterkolom */
#about-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0;
}

/* Rechterblokken */
.right-block {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 200px;
}

/* Overlay 
.right-block .overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 30px;
    font-weight: 600;
    background: rgba(0,0,0,0.35);
}*/


/* Stijl blokken rechts */
.right-block {
    background-color:#668f7c;
    position:relative;
    padding:15px;
    text-align:center;
    display:flex;
}

.right-block .inner {
    border: solid 1px #FFFFFF;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.right-block .inner span {
    color:#FFFFFF;
  font-family: 'Questrial', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
	font-weight:bold;
    line-height:100%;
}
/* Rechterblok met afbeeldingen */
.right-block {
    position: relative;
    padding: 0;              /* padding weg zodat beeld echt volledig is */
    min-height: 200px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;        /* zorgt dat overlay netjes blijft */
}

/* Tekst overlay bovenop afbeelding */
.right-block .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* lichte donkere laag zodat tekst leesbaar is */
    color: #FFFFFF;
    font-family: 'Questrial', sans-serif;
     font-size: 30px;
	    font-weight: 700;
    text-transform: uppercase;
}
#block-wonen {
    background-image: url('../images3/factor-w-wonen.webp'); /* <-- jouw afbeelding */
}

#block-werken {
    background-image: url('../images3/factor-w-werken.webp'); /* <-- jouw afbeelding */
}
.right-block {
    position: relative;
    width: 100%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
}


/* hover: iets donkerder + subtiele scale */
.right-block:hover .overlay {
    background: rgba(0, 0, 0, 0.45);
    transform: scale(1.02);
}

/* subtiele zoom van de achtergrond zelf */
.right-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    transition: transform 0.5s ease;
    z-index: 0;
}

.right-block:hover::before {
    transform: scale(1.05);
}

/* zorg dat tekst boven alles blijft */
.right-block a,
.right-block .overlay {
    position: relative;
    z-index: 1;
}

/* hele blok klikbaar */
.right-block a {
    position: absolute;
    inset: 0;
    text-decoration: none;
    color: inherit;
}





/* --- Tablet --- */

    @media (max-width:1024px) {

    #about {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "image text"
            "right right";
		row-gap: 0;
    column-gap: 30px;
    }

    #about-image { grid-area: image;
        min-height: 100%;}
    #about-text  { grid-area: text; }
    #about-right { 
        grid-area: right;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }



}

/* --- Mobiel --- */
@media (max-width:700px) {

    #about {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "text"
            "right";
    }

    #about-image {
        min-height: 250px;
    }

    #about-right {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    #about-text {
        padding: 30px 0;
    }

}



#portfoliowrapper {
width:100%;
height:auto;
}

.homegrid-sizer,
.homegrid-item { width: 25%; }

.homegrid-item {
position:relative;
}

.homegrid-overlay {
opacity:0;
position:absolute;
top:0;
left:0;
height:100%;
width:100%;
transition: all 0.7s ease;
background: rgba(204,204,204,1.0);
/*background: -moz-linear-gradient(top, rgba(149,225,212,1) 0%, rgba(42,46,75,0.76) 68%, rgba(42,46,75,0.65) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(149,225,212,1)), color-stop(68%, rgba(42,46,75,0.76)), color-stop(100%, rgba(42,46,75,0.65)));
background: -webkit-linear-gradient(top, rgba(149,225,212,1) 0%, rgba(42,46,75,0.76) 68%, rgba(42,46,75,0.65) 100%);
background: -o-linear-gradient(top, rgba(149,225,212,1) 0%, rgba(42,46,75,0.76) 68%, rgba(42,46,75,0.65) 100%);
background: -ms-linear-gradient(top, rgba(149,225,212,1) 0%, rgba(42,46,75,0.76) 68%, rgba(42,46,75,0.65) 100%);
background: linear-gradient(to bottom, rgba(149,225,212,1) 0%, rgba(42,46,75,0.76) 68%, rgba(42,46,75,0.65) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#668f7c', endColorstr='#f18e7a', GradientType=0 );*/
}


.homegrid-item:hover .homegrid-overlay {
opacity:1;
}

.homegrid-overlay-text {
  position: absolute;
  width:100%;
  top: 50%;
  transform: translateY(-50%);
  text-align:center;
  color:#FFFFFF;
  padding:10px;
}

.homegrid-overlay-text h2 {
  font-size: clamp(20px, 2.8vw, 32px);
    line-height: 1.05;
margin-bottom:10px;
}

.homegrid-overlay-text p {
margin-bottom:0;
	 font-size: clamp(14px, 1.5vw, 16px);
}

.homegrid-item img{
width:100%;
height:auto;
display:block;
}
#sfeerwrapper { min-height:600px;}

#sfeerwrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images3/golf-wit.png);
    background-size: 51%;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
    transform: translateX(120%);
    animation: golfInkomen 3s ease-out forwards;
}


#sfeer {background:none;}

#blogwrapper {
width:100%;
height:auto;
}

#blog {
width:100%;
max-width:1240px;
margin: 0 auto;
padding:50px 30px;
text-align:center;
}

#reviewswrapper {
width:100%;
background-color:#725849;
	position: relative;
}

#reviewswrapper::after {
  content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images3/golf-roze-licht.png");
    background-size: 25%;
    background-position: left center;
    z-index: 2;
    pointer-events: none;
    background-repeat: no-repeat;
}

#reviews {
width:100%;
max-width:1240px;
margin: 0 auto;
padding:0 30px 0 0;
}

#reviews-payoff {
float:left;
width:17.5%;
background-color:#725849;
position: relative;
padding:15px;
text-align:center;
}

#reviews-text {
float:left;
width:82.5%;
padding:50px 0 50px 50px;
color:#FFFFFF;
	position: relative;
	z-index: 999;
}

#reviews-text h3 {
color:#FFFFFF;
}

#reviews-text p {
font-family: 'Questrial', sans-serif;
  font-size: clamp(16px, 1.6vw, 18px);
margin-bottom:0;
}

#reviews-payoff .inner {
border: solid 1px #FFFFFF;
height:100%;
}

#reviews-payoff .inner span{
width:100%;
left:0;
position:absolute;
top: 50%;
transform: translateY(-50%);
color:#FFFFFF;
  font-size: clamp(38px, 5vw, 60px);
line-height:100%;
}

@media screen and (max-width: 1280px) {
	
		#sfeerwrapper {
    min-height: 450px;
}
}


@media screen and (max-width: 1023px) {
	
		#sfeerwrapper {
    min-height: 400px;
}

.homegrid-sizer,
.homegrid-item { width: 50%; }

#reviews-payoff {
width:25%;
}

#reviews-text {
float:left;
width:75%;
}

} /* end mediaquery */

@media screen and (max-width: 890px) {
	
	#sfeerwrapper {
    min-height: 400px;
}
	
#about {
padding:0;
}

#about-text {
float:left;
width:100%;
padding:50px 30px 20px 30px;
}

/*#about-image {
float:left;
width:55%;
height:50vw;
background-position:top center;
background-size:cover;
}*/

#about-payoff {
float:left;
width:45%;
}

#reviews-payoff {
width:27%;
}

#reviews-text {
width:73%;
}

} /* end mediaquery */


@media screen and (max-width: 700px) {
	
	#sfeerwrapper {
    min-height: 400px;
}
	
	.homegrid-overlay {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: all 0.7s ease;
    background: rgba(0, 0, 0, 0.2);
}


#sfeertext-home {
padding: 7vw 25% 0 0;
}

#sfeer h3 {
 font-size: clamp(20px, 3vw, 32px);
}

#reviews {
padding:0;
}

#reviews-payoff {
width:100%;
height:120px;
}

#reviews-text {
float:left;
width:100%;
padding: 50px 30px 50px 30px;
}

} /* end mediaquery */

@media screen and (max-width: 680px) {

	#sfeerwrapper {
    min-height: 266px;
}
	#sfeerwrapper::after {
    background-size: 105%;
    background-position: right -153px center;
    
	}
	
#reviews-payoff .inner span {
 
    top: 45%;
     
    
}

#sfeertext-home {
padding: 7vw 0 0 0;
}

#about-payoff {
width:100%;
}

#about-payoff .inner {
height:auto;
padding: 50px 30px 50px 30px;
}

#about-image {
width:100%;
height:115vw;
background-position:center center;
}

.homegrid-sizer,
.homegrid-item { width: 100%; }

} /* end mediaquery */