/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 1rem;
	background: url(../../img/background.jpg);
}

.bg-custom {
    background-color: #e8f8ed !important; 
}

.text-custom {
    color: #e8f8ed !important; /* Rottton */
}

.nav{
  text-transform: uppercase;
}

.nav-link{
  color: #333 !important;
	margin-right: 5px;
}

.nav-item .active{
  background-color: #e8f8ed !important; 
border:#caeed4 1px solid;
	border-radius: 4px;
}


.gallery-item{
  overflow:hidden;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: scroll;
  background-clip: padding-box;
  position:relative;
}
.gallery-item::before {
  transition: all .5s;
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #deede0;
  opacity: 0.6;
}
.gallery-item:hover::before {
  opacity: 0.1;
}

.gallery-wrapper {
  width: 100%;
  max-width: clamp(480px, 90vw, 1920px); /* Responsiver Maximalwert */
  margin: auto;
  position: relative;
  padding-top: calc(900 / 1920 * 100%); /* Beibehaltung des Verhältnisses */
}

.parent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 15px;
}


.div1 { grid-area: 1 / 1 / 3 / 3; 
  background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/LKW_LSteine.jpg');
}
.div2 { grid-area: 1 / 3 / 4 / 4; 
  background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/IMG_7619.jpg');  
}
.div3 { grid-area: 3 / 1 / 7 / 2; 
  background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/IMG_7605.jpg');
}
.div4 { grid-area: 3 / 2 / 7 / 3; 
  background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/IMG_7614.jpg');
}
.div5 { grid-area: 4 / 3 / 7 / 4; 
  background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/Profile.jpg');
}
.div6 { grid-area: 1 / 4 / 5 / 6; 
    background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/L_Steine.jpg');
}
.div7 { grid-area: 1 / 6 / 4 / 7; 
  background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/Individuelle_Oberflaechengestaltung_2.jpg');
}
.div8 { grid-area: 5 / 4 / 7 / 6; 
  background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/IMG_7607.jpg');
}
.div9 {  grid-area: 4 / 6 / 7 / 7;
  background-image:url('https://betonsteinwerk.debondtdirekt.de/img/collage/IMG_7599.jpg');
}
@media only screen and (max-width: 976px) {
.gallery-wrapper {
  width: 100%;
  max-width: clamp(480px, 90vw, 1920px); /* Responsiver Maximalwert */
  margin: auto;
  position: relative;
  padding-top: calc(900 / 1920 * 400%); /* Beibehaltung des Verhältnisses */
}
.parent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(12, 1fr);
gap: 15px;
}

.div1 { grid-area: 1 / 1 / 3 / 3; }
.div2 { grid-area: 1 / 3 / 4 / 4; }
.div3 { grid-area: 3 / 1 / 7 / 2; }
.div4 { grid-area: 3 / 2 / 7 / 3; }
.div5 { grid-area: 4 / 3 / 7 / 4; }
.div6 { grid-area: 7 / 1 / 11 / 3; }
.div7 { grid-area: 7 / 3 / 10 / 4; }
.div8 { grid-area: 11 / 1 / 13 / 3; }
.div9 { grid-area: 10 / 3 / 13 / 4; } 

}




/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
	bottom: 8rem;
  z-index: 10;
}
	.carousel-caption h1 span {
  display: inline-block;
  background-color: rgba(232, 248, 237,0.8);
		color: black;
  padding: 12px 12px;
  border-radius: 2px;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 45rem;
  position: relative;
  overflow: hidden;
}

.carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(2px);         /* Blur anwenden */
  transform: scale(1.1);      /* Optional: leicht vergrößern, um Ränder zu kaschieren */
  z-index: 0;
}

.carousel-item .container::before {
  transition: all .5s;
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #deede0;
  opacity: 0.6;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
	
	.hide{display: none;}
	.img-border{
		border-radius: 25px 15px;
	}
	
  .carousel-caption h1 {
    font-size: clamp(16px, 5vw, 32px);
    line-height: clamp(1.4em, 2.5vw, 2em);
  }