/* ============================================================
   Block: Onepager Finanzierung
   Prefix: onf-
   ============================================================ */

.block-onepager-finanzierung {
  font-family: "Jost", sans-serif;
  background: #c41230;
  color: #fff;
}

.block-onepager-finanzierung-wrapper {
  padding: 80px 0px;
  max-width: 1440px;
  margin: 0 auto;
}
.onf-content {
  display: flex;
  justify-content: space-between;
}

/* ── Linke Spalte ──────────────────────────────────────────── */

.onf-left {
  display: flex;
  flex-direction: column;
  flex-basis: 50%;
}

.onf-heading {
  font-size: 3rem;
  font-weight: 300;
  color: #fff;
  margin: 0 0 2rem;
  line-height: 1.1;
}

.onf-text {
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.onf-text p {
  margin: 0 0 0.85rem;
}

.onf-text p:last-child {
  margin-bottom: 0;
}

/* ── Kontaktperson ─────────────────────────────────────────── */

.onf-person {
  display: flex;
  align-items: flex-end;
  gap: 2.5rem;
  margin-top: auto;
  padding-top: 2.5rem;
}

.onf-person__foto {
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  overflow: hidden;
}

.onf-person__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  display: block;
}

.onf-person__info {
  padding-top: 0.35rem;
}

.onf-person__name {
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.onf-person__rolle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
}

/* Kontaktdaten */
.onf-kontakt {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.8;
}

.onf-kontakt__adresse {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.1rem;
}

.onf-kontakt__zeile {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.onf-kontakt__label {
  width: 1.4em;
  flex-shrink: 0;
}

.onf-kontakt__zeile a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.onf-kontakt__zeile a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── Rechte Spalte: Vorteils-Liste ─────────────────────────── */

.onf-vorteile {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-basis: 45%;
  gap: 1.5rem;
}

.onf-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.onf-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1em;
}

.onf-item__text {
  font-size: 1.25rem;
  line-height: 1.65;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1200px) {
  .block-onepager-finanzierung {
    padding: 60px 56px;
    gap: 56px;
  }
}

@media (max-width: 1024px) {
  .block-onepager-finanzierung {
    padding: 56px 40px;
    gap: 44px;
  }

  .onf-left {
    flex: 0 0 44%;
  }

  .onf-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .block-onepager-finanzierung {
    flex-direction: column;
    padding: 48px 28px;
    gap: 0;
  }

  .onf-left {
    flex: none;
    width: 100%;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .onf-vorteile {
    padding-top: 40px;
  }
}

@media (max-width: 480px) {
  .block-onepager-finanzierung-wrapper {
    padding: 0px;
  }

  .onf-text,
  .onf-item__text {
    font-size: 1rem;
  }
  .onf-item__icon {
    width: 28px;
    height: 28px;
  }
  .onf-person {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .onf-content {
    flex-direction: column;
  }

  .onf-heading {
    font-size: 2rem;
  }
}
