.gridbox_container {
  display: flex;
  overflow: visible; 
	gap:30px;
	margin-bottom: 50px;
}


.container.grid.uberlappen_oben {
	margin-top: -150px;
}


.container.grid {
	overflow: visible;
}

.gridbox_container a {
	flex: 1;
  transition: flex-grow 0.5s;
	display: flex;
	position: relative;
	 border-radius: 30px; 
}

.gridbox_container .box {
  flex: 1;
  transition: flex-grow 0.5s;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 30px; 
  overflow: hidden; 
height: 300px;
	
	background: rgba(var(--color-1), 1);
	color:#FFF;
	
	display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Text unten ausrichten */
  align-items: flex-start; /* Text links ausrichten */
  padding: 20px;
  box-sizing: border-box;
  text-align: left;
	line-height: 1.2em;	transition: background 1s;
	
}

.gridbox_container .box:not(:last-child) {
  margin-right: 2px;
}


.box .inner_text {
	position: relative;
	z-index: 3;
	width:100%;
}

.box {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}



.box img {
width: 130%;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 9;
}


.box[data-effekt="1"]::before {
  content: ""; /* Pseudo-Element, um den Hintergrund zu erstellen */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, #dce58b 0%, #293440  100%); 
  mix-blend-mode: multiply !important; 
  border-radius: 30px; 
}




.box::before {
  opacity: 1;
  transition: opacity 0.8s;
}

.box[data-effekt-hover=""]:hover::before {
  opacity: 0; 
}

@media only screen and (max-width: 1500px) {	
	.gridbox_container .box {
		height: 300px !important;
	}
}


a .box[data-background="1"] {
background: rgba(var(--color-2), 1);
	transition: all 1.5s;
}

.gridbox_container .box[data-background="1"]::after {
	background:transparent;
}


.box[data-mouseover="1"] {
  border-radius: 30px; 
}

.gridbox_container .box::after {
	content:'';
	position: absolute !important;
	width: 100%;
	left: 0;
	bottom: 0;
	height: 50%;
	background:red;
	opacity: 1;
	border-radius: 25px;
background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0) 85%);
	z-index: 1;
	transition: all 5.5s;
}

.gridbox_container .box:hover::after {
background: linear-gradient(0deg, rgba(0,0,0,0.2) 0%, rgba(255,255,255,0) 85%);
}
.gridbox_container .box:hover {
	background: rgba(var(--color-2), 1);
}


@media only screen and (max-width: 767px) {
	.gridbox_container {
 flex-direction: column;
	}
	.box img {
    width: 100%;
	}
}

.gridbox_container .box .icon {
	position: absolute;
    top: 50px;
	left:0;
    width: 100%;
    text-align: center;
}

.gridbox_container .box .icon svg {
	width:40%;
	height: 50%;
	transition: width 0.5s;
	fill:rgba(var(--color-2), 1);
}

.gridbox_container .box:hover .icon svg {
	width:50%;
	fill:rgba(var(--color-1), 1);
}

.gridbox_container .box:hover {
	color:rgba(var(--color-1), 1);
}


.moretext {
	display: none;
	padding-top:10px;
	border-top:1px solid #fff;
}


.gridbox_container .box:hover .moretext {
	display:block;
}

.gridbox_container .box i {
	opacity: 0.8;
}


.box[data-background="1"]:hover {
background: rgba(var(--color-1), 1);
	transition: all 0.5s;
	color:#FFF;
}



body.page-id-387 .gridbox_container .box {
height: 500px;
}


.gridbox_container.col_3 .box .icon svg {
    width: 30%;
    height: auto;
}

.inner_text p {
	text-align: center !important;
}

body.page-id-288 .gridbox_container .box .icon svg,
body.page-id-288 .gridbox_container .box .icon svg path{
   fill:rgba(var(--color-1), 1);
}


@media only screen and (max-width: 767px) {
	body.page-id-387 .gridbox_container .box {
	height: 500px !important;
}
}
