main article {
  margin-top: 5%;
  margin-bottom: 5%;
}

main article.logo {
  margin: 4vh 0;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
}

main article.offers {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  font-family: "Epilogue", Helvetica, sans-serif;
  font-weight: 900;
  font-style: normal;

  hyphens: none;
}

main article a.angebote {
  padding: 5%;
  border: solid 2px var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  aspect-ratio: 3 / 2;
}

main article a.beratung {
  background-color: var(--color-beratung);
  text-decoration: none;
}

main article a.bewerbung {
  background-color: var(--color-bewerbungen);
  text-decoration: none;
}

main article a.texte {
  background-color: var(--color-texte);
  text-decoration: none;
}

main article a.zeremonien {
  background-color: var(--color-zeremonien);
  text-decoration: none;
}

main article a section div {
  display: grid;
}

main article a section div h2 {
  margin-top: 0;
}

.angebots-untertitel {
  font-size: 1.7rem;
  font-style: italic;
  text-align: center;
  font-family: "Crimson", "Times New Roman", Times, serif;
  margin: 0;
}

@media (min-width: 905px) {
  .angebots-untertitel {
    font-size: 2rem;
  }
}

@media (max-width: 375px) {
  .angebots-untertitel {
    font-size: 1.4rem;
  }
}

@media (max-width: 312px) {
  main article.offers {
    hyphens: auto;
  }
}

main article a section div p {
  margin: 0;
}

@media (min-width: 768px) {
  main article.offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  main article a.angebote {
    background-color: var(--white);
  }
  main article a.angebote:hover {
    border: solid 4px var(--black);
    text-decoration: none;
  }

  main article a.beratung:hover {
    background-color: var(--color-beratung);
    transition: all 0.5s ease;
  }
  main article a.bewerbung:hover {
    background-color: var(--color-bewerbungen);
    transition: all 0.5s ease;
  }

  main article a.texte:hover {
    background-color: var(--color-texte);
    transition: all 0.5s ease;
  }

  main article a.zeremonien:hover {
    background-color: var(--color-zeremonien);
    transition: all 0.5s ease;
  }

  main article a.angebote .angebots-untertitel {
    display: none;
  }

  main article a.angebote:hover .angebots-untertitel {
    display: contents;
    transition: all 0.5s ease;
  }

  main article a.angebote .angebots-titel {
    display: contents;
  }

  main article a.angebote:hover .angebots-titel {
    display: none;
    transition: all 0.5s ease;
  }

  main article a section div h2 span.doppelpunkt {
    display: none;
  }
}
