/* ---------------- BANNER CONTAINER ---------------- */
#banner-container-knaus {
  position: relative;
  width: 100%;
  height: 800px; /* vaste hoogte desktop */
  overflow: hidden;
}

/* ---------------- BODY ---------------- */
body {
  margin: 0;
  padding: 0;
  color: #000000;
  line-height: 1.450;
  background-color: #ffffff;
}

/* ---------------- ALGEMENE ELEMENTEN ---------------- */


#contentwrapper {
  width: 100%;
  height: auto;
   background-image: url(../images/NL_dichtigkeitsgarantie_button_300x300mm_190617.png);
   background-position: top 20px right;
    background-repeat: no-repeat;
    background-size: 16%;
}
#content p, #content ul {
    margin-bottom: 20px;
    color: #fff;
}


a {
 
  text-decoration: none;
}

/* ---------------- TYPOGRAFIE ---------------- */
h1 {
  font-family: 'Teko', sans-serif;
  font-size: 41px;

  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-family: 'Teko', sans-serif;
  font-size: 40px;
 
  letter-spacing: 2px;
  text-align: center;
}

h5 {
  font-family: 'Teko', sans-serif;
  font-size: 24px;
 
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.dienst p {
  font-size: 20px;
  line-height: 22px;
   margin-bottom: 0;
}

/* ---------------- DIENSTEN ---------------- */
#dienstenwrapper {   

}

.dienst img {
  border-radius: 100%;
  border: solid 1px #ccc;
}

#diensten {
  max-width: 65%;
  margin: inherit;
  padding: 58px 20px 60px 59px;
}

/* ---------------- BACKGROUND CONTAINERS ---------------- */
.bgcontainer, .bgcontainer2 {
  position: relative;
  width:100%;
}

.bgcontainer::after,
.bgcontainer2::after {
  content: "";
  position: absolute;
  width: 54vw;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  pointer-events: none;
  opacity: 1;
  z-index: 9;
}

.bgcontainer::after {
  top: -400px;
  right: -382px;
  background-image: url("../images/1100_R03_700-LEG_EX_FS_3363.webp");
}

.bgcontainer2::after {
  top: -390px;
  left: -382px;
  background-image: url(../images/1100_R03_700-LEG_EX_FS_3360.webp);
}

/* ---------------- CONTACT ---------------- */


#contact-right {  
  background-color: #5896d2;
}

#contact-left {
  margin-left: auto;
  background-color: #1a2b49;
}

#contactwrapper {
  width: 100%;
  background: linear-gradient(90deg, #1a2b49 51%, #5896d2 49%);
}

#content {   
  width: 100%;
  max-width: inherit;
  margin: inherit;
  padding:46px 20% 62px 44%;
  position: relative;
}

/* ---------------- BANNER FLEX ---------------- */
.naam-knaus-banner {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mx_logged_in #banner-container-knaus {
  top:52px !important;
}

/* Video wrapper */
.naam-knaus-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.naam-knaus-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
}

.naam-knaus-video-container {
  width: 70%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.youtube {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  flex-wrap: wrap;
}

.video-wrapper {
  position: relative;
  flex: 1 1 calc(33.33% - 13.33px);
  min-width: 250px;
  height: 300px;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.naam-knaus-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ---------------- OVERLAYS ---------------- */
.video-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 5;
}

/* --- Video overlay basis (desktop & tablet) --- */
.video-overlay {
  position: absolute;
  top: 26%;
  left: 8%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transform: none;
  transition: all 0.4s ease-in-out;
}

.video-overlay .video-logo {
  width: 60%;
  max-width: 800px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: inherit;
  margin-right: auto;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.4s ease-in-out;
}

.video-overlay .video-text h2 {
  color: #f2e5b2;
  font-size: clamp(32px, 5vw, 70px);
  margin: 0 0 10px 0;
  font-family: 'Teko', sans-serif;
  line-height: 1.2;
  text-align: left;	
  transition: all 0.4s ease-in-out;
}

.video-overlay .video-text h2::after {display:none;}

.video-overlay .video-text p {
  color: #ffffff;
  font-size: clamp(16px, 2.5vw, 25px);
  margin: 0;
  line-height: 1.4;
  text-align: left;	
  transition: all 0.4s ease-in-out;
}

/* ---------------- FORMULIER ---------------- */
.naam-knaus-form {
  width: 30%;
  height: 100%;
  padding: 7% 50px;
  background-color: #5896d2;
}

.naam-knaus-form h3 {
  font-family: 'Teko', sans-serif;
  font-size: 35px;
  line-height: 43px !important;
  color: #FFFFFF;
  letter-spacing: 2px;
  font-weight: normal;
}

/* ---------------- FOTO’S RECHTS ---------------- */
.naam-knaus-photos {
  width: 30%;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.naam-knaus-photo {
  width: 50%;
  height: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.naam-knaus-hide-md {
  display: block;
}

/* ---------------- OVERIGE ---------------- */
#streamer-knaus {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 115px;
  padding: 20px 10px;
  background-color: #1a2b49;
  z-index: 9;
}

#aanbodheader {
  background-color: #5896d2;
}

#logo {
  position: relative;
}
#footerwrapper {}
#footer, #footer p, #footer ul {
    font-size: 19px;
    line-height: 30px;
}
#footer ul li a {
    display: block;
    padding: 0;
    color: #000;
}
#column-4 a {
      background-color: #5896d2;   
}
#column-4 a i {
  color: #fff;
    display: inline-block;
    border: solid 1px #ffffff;
}
#copy, #copy a {
      color: #666;
    
}
.aanbod-item .overlay {
    position: absolute;
    display: none;
}
#column-4 {
     padding-left: 0;
	width: 32%;color:#fff;
  
}
#column-4 a {color:#fff;}
#column-1
 {width: 32%; color:#fff;}
#column-2 {color:#fff;}

.button-center {
    display: flex;
    justify-content: center; /* horizontaal centreren */
    align-items: center;     /* verticaal centreren */
    width: 100%;
            /* hele schermhoogte, pas aan naar wens */
}

.meer-fotos-btn {
    padding: 12px 30px;
    font-size: 18px;
    font-family: 'Teko', sans-serif;
    color: #ffffff;
    background-color: #5896d2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.meer-fotos-btn:hover {
    background-color: #1a2b49;
    transform: scale(1.05);
}

.aanbod-item {
  position: relative;
  display: inline-block; /* of block/flex zoals je layout wil */
}

/* Hover overlay standaard verborgen */
.aanbod-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

/* Tekst in overlay */
.aanbod-hover-overlay a {
  color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 25px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2)
}

/* Overlay zichtbaar bij hover op het item */
.aanbod-item:hover .aanbod-hover-overlay {
  opacity: 1;
}

/* Derde item: overlay standaard zichtbaar */
.aanbod-item:nth-child(2) .aanbod-hover-overlay {
  opacity: 1;
}




/* ---------------- MEDIA QUERIES ---------------- */
@media (max-width: 1440px) {
#content {
     padding: 46px 20% 62px 29%;
}
	.naam-knaus-form
 {
    width: 50%;
   
}
}
@media (max-width: 1300px) {
#diensten
{ max-width: 94%;}
	
	.bgcontainer::after {
    display:none;
}
	.bgcontainer2::after {
    top: -285px;
    left: -382px;
   
}
	
	
	
}



/* Tablet / middelgrote schermen (<=1024px) */
@media (max-width: 1024px) {
  .naam-knaus-hide-md {
    display: none;
  }

        .bgcontainer2::after {
        top: 167px;
        left: inherit;
        width: 60vw;
        right: 0;
			display:none;
    }

  .video-overlay .video-logo {
    margin-bottom: 15px;
  }

  #content {
           padding: 25px 20% 25px 25px;
    
  }
	#diensten {
    max-width: 100%;
	}
	
}

/* Vanaf 860px: derde blok neemt hele breedte */
@media (max-width: 860px) {
  #blokken {
    display: flex;
    flex-wrap: wrap; /* Zorgt dat blokken op nieuwe rij kunnen */
    gap: 0px; /* Optioneel: ruimte tussen blokken */
  }

  #blokken .block {
    flex: 1 1 calc(50% - 10px); /* Standaard: 2 blokken per rij */
  }

  /* Derde blok full-width */
  #blokken .block:nth-child(3) {
    flex: 1 1 100%; /* Hele breedte */
  }
}



/* Mobiel (<=768px) */
@media (max-width: 768px) {
  .naam-knaus-form {
    width: 100%;
    height: 100%;
    padding: 25px 25px 182px;
  }

  #banner-container-knaus {
    height: auto;
  }

  .naam-knaus-banner {
    flex-direction: column;
    height: auto;
  }

  .naam-knaus-video-container {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    height: 446px;
  }

  .naam-knaus-video-container .naam-knaus-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .naam-knaus-video-container .naam-knaus-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .naam-knaus-photos {
    width: 100%;
    height: auto;
  }

  .naam-knaus-photo {
    width: 50%;
    height: 200px;
  }

  .naam-knaus-hide-md {
    display: block;
  }

  /* Mobiel: gecentreerd */
  .video-overlay {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .video-overlay .video-logo {
    margin: 0 auto 10px;
  }

  .video-overlay .video-text h2,
  .video-overlay .video-text p {
    text-align: center;
  }
}

/* Zeer klein mobiel (<=480px) */
@media (max-width: 540px) {
	#column-1, #column-2, #column-3,#column-4  {
    width: 100%;
}
	
 #blokken .block {
    flex: 1 1 100%; /* Hele breedte */
  }
	
  #content {
    padding: 25px;
  }

  .video-overlay .video-logo {
    width: 120px;
    margin-bottom: 8px;
  }

  .naam-knaus-photos {
    display: none;
  }

  .naam-knaus-video-container {
    width: 100%;
  }
}
