.grid_3container {
  position: relative;
	height: 70vh;
}

.container--overlayer {
  background: #fff6f0; /* Farbe aus dem Screenshot */
  position: absolute;
  top: 0;
  width: 100vw;
  height: 600px;
  clip-path: ellipse(75% 20% at 50% 0%);
  z-index: 2;
  overflow: hidden;
}

.grid_3container img {
  width: 100vw;
  height: 100%;
  position: relative;
  z-index: 1;
	object-fit: cover;
}
img.grid-background {
	opacity: 0.5;
}

.grid-overlay {
  position: absolute;
  top: 50px;
  width: 100%;
  z-index: 9;
	padding:50px 0;
background: rgb(244,244,244);
background: linear-gradient(0deg, rgba(244,244,244,1) 55%, rgba(255,255,255,0) 55%);
}

.grid3 {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  top: -50px;
  z-index: 4;
}

.grid3-item {
  position: relative;
  background: white;
  border-radius: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  min-height: 500px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s ease, transform 0.3s ease;
}

.grid3-item:hover {
  background: rgba(var(--color-1), 1);
  color: #fff !important;
  transform: scale(1.05);
}

.grid3-item .image-holder {
  width: 100%;
  height: 90%;
  position: relative;
  z-index: 1;
  border-radius: 250px 250px 0 0;
  overflow: hidden; /* Bild bleibt innerhalb der Rundung */
}

.grid3-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.3s ease;
}

.grid3-item:hover img {
  opacity: 0.5;
  transform: scale(1.05);
}

.grid3-item .image-holder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 90%);
  z-index: 2;
  pointer-events: none;
  transition: background 0.3s ease;
}

.grid3-item:hover .image-holder::before {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, rgba(var(--color-1), 1) 100%);
}

.grid3-item .text-holder {
  width: calc(100% - 40px);
  padding: 20px;
  position: relative;
  top: -80px;
  z-index: 3;
}

.grid3-item .text-holder .grid-headline {
  font-size: 20px;
	font-weight: 500;
	line-height: 1.2em;
}

.grid3-item p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5em;
  z-index: 3;
	padding-bottom: 40px;
}



.grid3-item .link-circle {
  border-radius: 100%;
  background: #fff;
  position: absolute;
  width: 40%;
  height: auto;
  z-index: 10;

  /* Positionierung */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  /* Kreisverhältnis und Schatten */
  aspect-ratio: 1 / 1;
  box-shadow: 0px 0px 43px 0px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  color: rgba(var(--color-1), 1);
  opacity: 0;
	  cursor: pointer;

  /* Animation */
  transition: opacity 0.3s ease, width 0.3s ease;
}

.grid3-item .link-circle svg {
  fill: rgba(var(--color-1), 1);
  width: 50px;
  transition: transform 0.3s ease; /* Animation für das SVG */
}

.grid3-item:hover .link-circle {
  opacity: 1;
  width: 60%; /* Die Größe erhöht sich */
}

.grid3-item:hover .link-circle svg {
  transform: scale(1.2); /* Das Icon vergrößert sich leicht */
}


.grid3-item a {
	height: 350px;
}

@media only screen and (min-width: 767px) {
.swiper-container-grid{
	width: calc(100vw - var(--main-padding) * 2);
	padding-left:calc(var(--main-padding));
	padding-right:calc(var(--main-padding));
	margin: 0 auto;
	
}

.swiper-container-grid .swiper-wrapper{
	justify-content: center !important;
	
}

.swiper-container-grid .swiper-slide {
	width: auto !important;
}
}


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

.grid_3container .swiper-container-grid {
    width: 100%;
    height: auto;
	overflow: hidden;
}

.grid_3container .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next:after, .swiper-button-prev:after {
    color: rgba(var(--color-2), 1) !important;
}
	
.grid3-item:hover {
  transform: scale(1);
}	
.grid_3container {
    height: 80vh;
}
	

	
	
}