/* ==========================================================================
   CityFoundry AG — Services overview (Leistungen)
   Banner, three service cards, formats, FAQ, closing CTA.
   Requires: tokens.css, base.css, components.css, inner.css
   ========================================================================== */

/* --- Banner ------------------------------------------------------------------- */
.cf-lhero {
  background: var(--cf-ink);
  padding: 88px var(--cf-gutter) 96px;
}

.cf-lhero__eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cf-cyan);
  animation: cf-fade .7s ease both;
}

.cf-lhero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: end;
}

.cf-lhero__title {
  margin: 0;
  font-family: var(--cf-font-head);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--cf-white);
  animation: cf-fade .8s ease .1s both;
}

.cf-lhero__lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
  color: #a9c8c5;
  animation: cf-fade .8s ease .2s both;
}

/* --- Service cards -------------------------------------------------------------- */
.cf-lservices {
  max-width: var(--cf-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- Formats --------------------------------------------------------------------- */
.cf-formats__head {
  max-width: 620px;
  margin-bottom: 44px;
}

.cf-formats__title {
  margin: 0 0 16px;
  font-family: var(--cf-font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.cf-formats__lead {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--cf-muted);
}

.cf-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cf-format {
  background: var(--cf-white);
  border-radius: 26px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf-format__title {
  margin: 0;
  font-family: var(--cf-font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.025em;
}

.cf-format__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cf-muted);
}

/* Duration / delivery note pinned to the foot of the card. */
.cf-format__note {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--cf-line-ink-08);
  font-size: 15px;
  color: var(--cf-link);
}

/* --- FAQ ------------------------------------------------------------------------------ */
.cf-faq-grid {
  max-width: var(--cf-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.cf-faq__title {
  margin: 0;
  font-family: var(--cf-font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.cf-faq {
  display: flex;
  flex-direction: column;
}

.cf-faq__item {
  padding: 26px 0;
  border-top: 1px solid var(--cf-line-ink-12);
}

/* The last entry closes the list. */
.cf-faq__item--last { border-bottom: 1px solid var(--cf-line-ink-12); }

.cf-faq__q {
  margin: 0 0 10px;
  font-family: var(--cf-font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
}

.cf-faq__a {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--cf-muted);
}

/* --- Closing CTA ------------------------------------------------------------------------- */
.cf-lcta__title {
  margin: 0;
  max-width: 620px;
  font-family: var(--cf-font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--cf-white);
}

/* Static variant of the primary pill — this one does not lift. */
.cf-btn--static {
  padding: 11px 11px 11px 28px;
  border: 0;
  background: var(--cf-cyan);
  color: var(--cf-ink);
}

.cf-btn--static:hover { color: var(--cf-ink); }

/* --- Responsive ------------------------------------------------------------------------------ */
@media (max-width: 1000px) {
  .cf-lhero__grid,
  .cf-faq-grid { grid-template-columns: 1fr; }

  .cf-lservices,
  .cf-formats { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .cf-lhero {
    padding-left: var(--cf-gutter-sm);
    padding-right: var(--cf-gutter-sm);
  }
}
