.jkf-image-grid {
  display: flex;
  background-color: white;
  padding: 15px;
  gap: 15px;
  flex-wrap: wrap;
  &:after {
    content: "";
    display: block;
    flex-grow: 10;
  }
}

.jkf-image-grid-item {
  height: 32vh;
  flex-grow: 1;
}

.jkf-image-grid-item img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

@media (max-aspect-ratio: 1/1) {
  .jkf-image-grid-item {
    height: 20vh;
  }
}

@media (max-height: 480px) {
  .jkf-image-grid-item {
    height: 60vh;
  }
}

@media (max-aspect-ratio: 1/1) and (max-width: 560px) {
  .jkf-image-grid {
    flex-direction: row;
  }

  .jkf-image-grid-item {
    height: auto;
    width: 100%;
  }
  .jkf-image-grid-item img {
    width: 100%;
    max-height: 75vh;
    min-width: 0;
  }
}

.hochzeits-box {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
  max-width: 1200px;

  position: relative;
  z-index: 10;
}

.namen {
  font-family: "Ephesis", cursive;
  font-size: 84px;
  color: black;
  line-height: 1.2;
}

.namen span:first-child {
  display: inline-block;
  margin-right: 20px;
}

.namen span:last-child {
  display: inline-block;
  transform: translateY(10px);
}

.hochzeits-text {
  font-family: "Great Vibes", cursive;
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

h2.jkf-slider-title {
  font-family: "Ephesis", cursive;
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: normal;
  color: white;
}

.jkf-header {
  font-family: "Ephesis", cursive;
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: normal;
  color: black;
}
