#foerderungen-bg {
  height: clamp(200px, 33vw, 400px);
  background: url('../images/index/viessmann.jpg');
  background-repeat: no-repeat;
  background-position: 50% 71%;
  background-size: cover;
}

#foerderungen {
  display: flex;
  align-items: center;
  height: 100%;
}

#foerderungen h1 {
  color: var(--grey-light);
}

.funding-amount {
  text-align: center;
  text-wrap: balance;
}

#youtube-bg .video-title {
  margin-bottom: 0;
  color: var(--grey-light);
  text-align: center;
}

.funding-cards {
  --columns: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.funding-card {
  display: flex;
  flex: 0 1 calc((100% - (var(--columns) - 1) * 1.25rem) / var(--columns));
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  padding: 1.4rem 1.4rem 1.2rem;
  color: var(--grey-light);
  background: var(--navy);
  border-radius: 4px;
}

.funding-source {
  font-size: var(--font-xs);
  font-weight: bold;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.funding-card h3 {
  margin: 0;
  font-size: var(--font-lg);
  line-height: 1.3;
  color: var(--white);
}

.funding-card p {
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.55;
  color: var(--text-on-dark);
  text-wrap: balance;
}

.funding-actions {
  display: flex;
  flex-direction: column;
  padding-top: 0.8rem;
  margin-top: auto;
}

.funding-actions a {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  font-weight: bold;
  color: var(--white);
  border-top: 1px solid rgba(var(--grey-light-rgb), 0.16);
  transition: color 0.15s linear;
}

.funding-actions a i {
  font-size: 0.8em;
}

.funding-actions a:hover {
  color: var(--copper-light);
}

.funding-actions a:focus-visible {
  outline: 2px solid transparent;
  border-radius: 2px;
  box-shadow:
    0 0 0 2px var(--cream),
    0 0 0 6px rgba(var(--cream-rgb), 0.22);
}

@media (max-width: 999px) {
  .funding-cards {
    --columns: 2;
  }
}

@media (max-width: 620px) {
  .funding-cards {
    --columns: 1;
    gap: 0.75rem;
  }
}

#youtube-bg {
  overflow: auto;
  background: var(--navy);
}

.video-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}

.video-block h3 {
  margin: 0;
  color: var(--grey-light);
}

#uebersicht > h3 {
  font-weight: normal;
}

#uebersicht > h2,
#uebersicht > h3 {
  text-align: center;
}

.video-block p {
  margin: 0.8rem 0 1.4rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  text-wrap: balance;
}

.video-block small {
  display: block;
  margin-top: 0.9rem;
  font-size: var(--font-sm);
  line-height: 1.5;
  color: var(--text-on-dark-soft);
  text-wrap: balance;
}

@media (max-width: 800px) {
  .video-block {
    grid-template-columns: 1fr;
  }

  .video-block [data-video],
  .video-block small {
    display: none;
  }

  .video-block p {
    margin-bottom: 0;
  }
}

#umstieg h2,
#umstieg p {
  text-align: center;
}
