

.thema-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

@media (max-width: 991px) {
  .thema-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .thema-grid {
    grid-template-columns: 1fr;
  }
}

.thema-tile {
  display: flex;
  flex-direction: column;

  background: var(--weiss, #ffffff);
  color: inherit;

  position: relative;
  overflow: hidden;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.3s cubic-bezier(.2, .8, .2, 1),
    box-shadow 0.3s ease;
}

.thema-tile:hover,
.thema-tile:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.thema-tile__image {
  display: flex;
  align-items: center;
  justify-content: center;

  aspect-ratio: 16 / 10;

  background: rgba(0, 84, 55, 0.04);
  overflow: hidden;
}

.thema-tile__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  transition: transform 0.5s cubic-bezier(.2, .8, .2, 1);
}

.thema-tile:hover .thema-tile__image img {
  transform: scale(1.04);
}

.thema-tile__image svg {
  width: 80px;
  height: 80px;

  color: var(--darkgreen, #005437);
  opacity: 0.35;
}

.thema-tile__body {
  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 28px;
  flex: 1;
}

@media (max-width: 600px) {
  .thema-tile__body {
    padding: 22px;
  }
}

.thema-tile__name {
  margin: 0;

  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;

  text-transform: none;

  color: var(--darkgreen, #005437);
}

.thema-tile__desc {
  margin: 0;

  font-size: 16px;
  line-height: 1.55;

  color: rgba(0, 34, 22, 0.78);
}

.thema-tile__cta {
  margin-top: auto;
  padding-top: 12px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  align-self: flex-start;

  font-weight: 700;
  font-size: 14px;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--darkgreen, #005437);
  text-decoration: none;

  position: static;

  transition: color 0.2s ease;
}

.thema-tile__cta-text {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;

  position: relative;
  z-index: 2;
}

.thema-tile__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.thema-tile__cta:hover {
  color: var(--middlegreen, #008939);
}

.thema-tile__cta svg {
  width: 14px;
  height: 14px;

  color: currentColor;

  position: relative;
  z-index: 2;

  transition: transform 0.25s ease;
}

.thema-tile__cta svg path {
  stroke: currentColor;
}

.thema-tile__cta:hover svg {
  transform: translateX(4px);
}

.thema-tile__cta:focus-visible::after {
  outline: 3px solid var(--lightgreen, #8abd24);
  outline-offset: 4px;
}