/* ==========================================================================
   CityFoundry AG — Pillar template
   Shared by Führung stärken · HR professionalisieren · Administration
   reduzieren. Hero, typical situations, offers, process, quote, CTA.
   Requires: tokens.css, base.css, components.css, inner.css
   ========================================================================== */

/* --- Hero ------------------------------------------------------------------ */
.cf-phero {
  background: var(--cf-ink);
  padding: 80px var(--cf-gutter) 92px;
}

.cf-phero__grid {
  max-width: var(--cf-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.cf-phero__body { animation: cf-fade .8s ease both; }

.cf-phero__title {
  margin: 0 0 24px;
  font-family: var(--cf-font-head);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.02;
  font-size: clamp(38px, 4.8vw, 68px);
  color: var(--cf-white);
}

.cf-phero__lead {
  margin: 0 0 36px;
  max-width: 520px;
  font-size: 19px;
  line-height: 1.65;
  color: #a9c8c5;
}

.cf-phero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cf-phero__media {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  animation: cf-fade 1s ease .15s both;
}

.cf-phero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Three-up card row used by both the situations and the offers. */
.cf-pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Typical situations ------------------------------------------------------- */
.cf-situation {
  background: var(--cf-white);
  border-radius: 24px;
  padding: 32px;
}

.cf-situation__num {
  margin: 0 0 16px;
  font-family: var(--cf-font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--cf-link);
}

.cf-situation__title,
.cf-offer__title {
  margin: 0 0 10px;
  font-family: var(--cf-font-head);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  font-size: 21px;
}

.cf-situation__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cf-muted);
}

/* --- Offer cards ---------------------------------------------------------------- */
.cf-offer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--cf-surface);
  border-radius: 26px;
  padding: 32px;
}

.cf-offer__title {
  margin: 0;
  font-size: 22px;
}

.cf-offer__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cf-muted);
}

/* Price / date row pinned to the bottom of the card. */
.cf-offer__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(4, 33, 31, .09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
}

.cf-offer__arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--cf-line-ink-18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .4s var(--cf-ease);
}

.cf-offer:hover .cf-offer__arrow {
  background: var(--cf-ink);
  color: var(--cf-white);
  border-color: var(--cf-ink);
  transform: rotate(-45deg);
}

/* --- Process ---------------------------------------------------------------------- */
.cf-process {
  max-width: var(--cf-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.cf-process__aside {
  position: sticky;
  top: 130px;
}

.cf-process__title {
  margin: 0 0 16px;
  font-family: var(--cf-font-head);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
  font-size: clamp(28px, 3.2vw, 42px);
}

.cf-process__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--cf-muted);
}

.cf-process__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-pstep {
  display: flex;
  gap: 24px;
  padding: 32px;
  border-radius: 24px;
  background: var(--cf-surface);
}

.cf-pstep__num {
  flex-shrink: 0;
  font-family: var(--cf-font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--cf-link);
}

.cf-pstep__title {
  margin: 0 0 10px;
  font-family: var(--cf-font-head);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  font-size: 21px;
}

.cf-pstep__text {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cf-muted);
}

/* --- Quote ------------------------------------------------------------------------- */
.cf-pquote-section {
  background: var(--cf-surface-2);
  padding: 88px var(--cf-gutter);
}

.cf-pquote {
  max-width: var(--cf-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 0;
  background: var(--cf-white);
  border-radius: 32px;
  overflow: hidden;
}

.cf-pquote__media {
  position: relative;
  min-height: 320px;
}

.cf-pquote__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cf-pquote__body {
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.cf-pquote__text {
  margin: 0;
  font-family: var(--cf-font-head);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: -.02em;
}

.cf-pquote__meta {
  padding-top: 20px;
  border-top: 1px solid var(--cf-line-ink-10);
}

.cf-pquote__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.cf-pquote__role {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--cf-muted);
}

/* --- Responsive -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .cf-phero__grid,
  .cf-process,
  .cf-pquote { grid-template-columns: 1fr; }

  .cf-pgrid { grid-template-columns: 1fr; }

  .cf-process__aside { position: static; }
}

@media (max-width: 720px) {
  .cf-phero,
  .cf-pquote-section {
    padding-left: var(--cf-gutter-sm);
    padding-right: var(--cf-gutter-sm);
  }

  .cf-pquote__body { padding: 28px; }
}
