.kachel-block {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 30% 70%;
  box-sizing: border-box;
}

.kachel-block .headline {
  max-width: 800px;
  margin: 0;
  width: 100%;
  padding: 7rem 0rem 0 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
}

.kachel-block .headline h3 {
  font-family: 'Vidaloka-Regular';
  font-size: 36px;
  line-height: 1.2;
  font-weight: 400;
  text-align: right;
  z-index: 10;
  margin: 0 0 1rem;
}

.kachel-block .headline p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
  max-width: 400px;
}

.kachel-block .kacheln {
  background-position: center!important;
  background-repeat: no-repeat!important;
  background-size: cover!important;
  display: grid;
  grid-template-columns: repeat(2, 46.7%);
  gap: 3rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 0;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

.kachel-block .kacheln.bg-color {
  background-color: #cfd3d7;
}

.kachel-block .kacheln .item {
  width: 100%;
  height: 300px;
  background-position: center!important;
  background-repeat: no-repeat!important;
  background-size: cover!important;
  display: flex;
  flex-direction: column;
  position: relative; 
  background-color: #efefef;
  padding: 2rem;
  box-sizing: border-box;
  justify-content: flex-end;
  align-items: center;
}

.kachel-block .kacheln .item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgb(0,0,0);
  background: linear-gradient(0deg, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.40) 100%);
  z-index: 1;
}
.kachel-block .kacheln .item .content {
  position: absolute;
  bottom: 1rem;
  left: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: contents;
}

.kachel-block .kacheln .item .content h1,
.kachel-block .kacheln .item .content h2,
.kachel-block .kacheln .item .content h3,
.kachel-block .kacheln .item .content h4,
.kachel-block .kacheln .item .content h5,
.kachel-block .kacheln .item .content h6
{
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 5px;
  margin-bottom: 20px;
  line-height: 1.4;
  font-size: 14px;
  text-align: center;
  z-index: 10;
}

.kachel-block .kacheln .item .content p {
  font-family: 'Lato', sans-serif;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  z-index: 10;
}

.kachel-block .kacheln .item .content p:last-of-type {
  margin-bottom: 0;
}

.kachel-block .kacheln .item .content p > a {
  font-family: 'Lato', sans-serif;
  background-color: transparent;
  padding-top: 16px;
  padding-left: 36px;
  padding-right: 36px;
  padding-bottom: 16px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-top-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #b5a167;
  border-right-color: #b5a167;
  border-bottom-color: #b5a167;
  border-left-color: #b5a167;
  border-radius: 0;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-property: all;
  color: #ffffff;
  display: block;
  margin-top: 10px;
} 

.kachel-block .kacheln .item .content p > a:hover {  
  text-decoration: none;
  background: #bcbcbc;
  color: #ffffff;
}  


@media only screen and (max-width: 1024px) {
  .kachel-block .kacheln {
    grid-template-columns: repeat(1, 100%)!important;
    padding: 0;
    gap: 2rem;
  }
  .kachel-block { 
    padding: 3rem 2rem 2rem; 
    grid-template-columns: 1fr;
  }
  .kachel-block .headline { 
    padding: 0rem 0rem 1rem; 
    justify-content: flex-start;
    align-items: flex-start;
  }
  .kachel-block .headline p,
  .kachel-block .headline h3 {
    text-align: left;
  }
}

@media only screen and (max-width: 768px) {
  .kachel-block .kacheln .item .content h1, 
  .kachel-block .kacheln .item .content h2, 
  .kachel-block .kacheln .item .content h3, 
  .kachel-block .kacheln .item .content h4,
  .kachel-block .kacheln .item .content h5, 
  .kachel-block .kacheln .item .content h6 {
    word-break: break-word;
    hyphens: auto;
  }
}

.block-editor-block-list__block .kachel-block {
  padding: 2rem;
}