/* ════════════════════════════════════════════════════════════
   PARITY: Offerings (/angebot/, /en/offerings/) + Consulting
   (/projektberatung/, /en/consulting/) page bodies.
   Source of truth: frontend/src/components/pages/OfferingsPage.tsx,
   ConsultingPage.tsx, sections/CTABanner.tsx, ui/Section.tsx,
   ui/Container.tsx, ui/Button.tsx (+ compiled Tailwind CSS).

   Editing model (wp-admin, core blocks only):
     Group "section oc-section"                               = live <Section background="white">
     Group "section section--alt oc-section oc-section--alt"  = live <Section background="alt">
     (page.php renders a body made only of Groups full-bleed; "section"
      is the shared page-shell primitive, oc-section pins the exact live
      values for these pages)
       Columns "offer-cards" > Column "offer-card offer-card--primary|secondary|neutral"
       Group "oc-process" > Group "oc-process__main" (h2 + Group "steps")
                          + Group "oc-process__aside" > Group "oc-stat"
       Columns "quotes" > Column "quote-card"
     Group "sic-cta oc-cta"             = live <CTABanner variant="primary">
   ════════════════════════════════════════════════════════════ */

/* ── Section (bg-surface py-16 sm:py-20) + Container (max-w-container px-4 sm:px-6 lg:px-8) ── */
.wp-block-group.oc-section {
  background: var(--surface);
  color: var(--neutral-800);
  padding: 4rem 0;
  margin: 0;
  border-radius: 0;
}
.wp-block-group.oc-section.oc-section--alt { background: var(--surface-alt); }
@media (min-width: 640px) {
  .wp-block-group.oc-section { padding-block: 5rem; }
}
.wp-block-group.oc-section > .wp-block-group__inner-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) {
  .wp-block-group.oc-section > .wp-block-group__inner-container { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
  .wp-block-group.oc-section > .wp-block-group__inner-container { padding-inline: 2rem; }
}
.wp-block-group.oc-section > .wp-block-group__inner-container > * { margin-block: 0; }

/* ════════ OFFERINGS: offer cards ════════
   grid grid-cols-1 md:grid-cols-3 gap-6 lg:gap-8 */
.oc-section .wp-block-columns.offer-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  max-width: none;
}
@media (min-width: 768px) {
  .oc-section .wp-block-columns.offer-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .oc-section .wp-block-columns.offer-cards { gap: 2rem; }
}
/* bg-surface-alt rounded-lg border-t-4 p-8 */
.oc-section .wp-block-columns.offer-cards > .wp-block-column.offer-card {
  background: var(--surface-alt);
  border: 0 solid var(--neutral-700);
  border-top-width: 4px;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 0;
  min-width: auto;
  word-break: normal;
  overflow-wrap: normal;
  box-shadow: none;
}
.oc-section .wp-block-columns.offer-cards > .offer-card.offer-card--primary   { border-top-color: var(--primary-500); }
.oc-section .wp-block-columns.offer-cards > .offer-card.offer-card--secondary { border-top-color: var(--secondary-500); }
.oc-section .wp-block-columns.offer-cards > .offer-card.offer-card--neutral   { border-top-color: var(--neutral-700); }
/* h3: font-heading text-xl font-semibold text-neutral-900 mb-3 (+ base tracking-tight) */
.oc-section .offer-card > h3.offer-card__title,
.oc-section .offer-card > h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  margin: 0 0 0.75rem;
  overflow-wrap: normal;
}
/* p: text-neutral-700 leading-relaxed */
.oc-section .offer-card > p.offer-card__desc,
.oc-section .offer-card > p {
  font-size: var(--text-base);
  line-height: 1.625;
  color: var(--neutral-700);
  margin: 0;
  max-width: none;
}

/* ════════ CTA banner (live CTABanner variant="primary") ════════
   section bg-primary-500 relative overflow-hidden + dot overlay;
   Container relative py-14 sm:py-16;
   flex flex-col md:flex-row items-start md:items-center justify-between gap-6 */
.wp-block-group.sic-cta.oc-cta {
  position: relative;
  overflow: hidden;
  background: var(--primary-500);
  color: var(--neutral-800);
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: left;
}
.wp-block-group.sic-cta.oc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.wp-block-group.sic-cta.oc-cta > .wp-block-group__inner-container {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 3.5rem 1rem;
  display: grid;
  grid-template-columns: auto;
  justify-content: start;
  align-items: start;
  column-gap: 1.5rem;
  row-gap: 0;
}
@media (min-width: 640px) {
  .wp-block-group.sic-cta.oc-cta > .wp-block-group__inner-container { padding: 4rem 1.5rem; }
}
@media (min-width: 768px) {
  .wp-block-group.sic-cta.oc-cta > .wp-block-group__inner-container {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}
@media (min-width: 1024px) {
  .wp-block-group.sic-cta.oc-cta > .wp-block-group__inner-container { padding-inline: 2rem; }
}
.wp-block-group.sic-cta.oc-cta > .wp-block-group__inner-container > * {
  max-width: none;
  margin: 0;
  padding: 0;
}
/* h2: text-3xl sm:text-4xl font-heading font-bold text-white leading-tight */
.wp-block-group.sic-cta.oc-cta h2 {
  grid-column: 1;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  text-align: left;
}
@media (min-width: 640px) {
  .wp-block-group.sic-cta.oc-cta h2 { font-size: var(--text-4xl); line-height: 2.75rem; }
}
/* p: mt-2 text-lg text-white/90 max-w-2xl */
.wp-block-group.sic-cta.oc-cta > .wp-block-group__inner-container > p {
  grid-column: 1;
  margin-top: 0.5rem;
  font-size: var(--text-lg);
  line-height: 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 42rem;
  text-align: left;
}
.wp-block-group.sic-cta.oc-cta > .wp-block-group__inner-container > .wp-block-buttons {
  grid-column: 1;
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
  gap: 0;
}
@media (min-width: 768px) {
  .wp-block-group.sic-cta.oc-cta > .wp-block-group__inner-container > .wp-block-buttons {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }
}

/* ── Shared live Button size="lg" (px-7 py-3 text-lg h-14 font-medium
      rounded-md gap-2 shadow-sm + 20px arrow icon) ── */
.oc-cta .wp-block-button .wp-block-button__link,
.oc-stat .wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.5rem;
  min-height: 0;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.75rem;
  font-weight: 500;
  letter-spacing: normal;
  white-space: nowrap;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.oc-cta .wp-block-button .wp-block-button__link::after,
.oc-stat .wp-block-button .wp-block-button__link::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat;
}
.oc-cta .wp-block-button .wp-block-button__link:hover,
.oc-stat .wp-block-button .wp-block-button__link:hover { box-shadow: var(--shadow-md); }
/* CTA banner button: bg-white text-primary-700 hover:bg-primary-50 */
.oc-cta .wp-block-button .wp-block-button__link { background: #fff; color: var(--primary-700); }
.oc-cta .wp-block-button .wp-block-button__link:hover { background: var(--primary-50); color: var(--primary-700); }
.oc-cta .wp-block-button .wp-block-button__link:active { background: var(--secondary-700); }
/* Stat card button: variant primary */
.oc-stat .wp-block-button .wp-block-button__link { background: var(--primary-500); color: #fff; }
.oc-stat .wp-block-button .wp-block-button__link:hover { background: var(--primary-600); color: #fff; }
.oc-stat .wp-block-button .wp-block-button__link:active { background: var(--primary-700); }
/* CTA button sits in a left-aligned flex column on live (text-align: start);
   core gives .wp-block-button__link text-align:center. The stat card button
   inherits live's text-center, which core already matches. */
.oc-cta .wp-block-button .wp-block-button__link { text-align: start; }
/* Focus ring = live Button: focus-visible:outline-none ring-2 ring-offset-2
   ring-offset-surface + ring-secondary-500 (CTA) / ring-primary-500 (stat),
   stacked on the shadow-sm (shadow-md while hovered); radius stays rounded-md. */
.oc-cta .wp-block-button .wp-block-button__link:focus-visible,
.oc-stat .wp-block-button .wp-block-button__link:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-radius: var(--radius-md);
}
.oc-cta .wp-block-button .wp-block-button__link:focus-visible {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--secondary-500), var(--shadow-sm);
}
.oc-cta .wp-block-button .wp-block-button__link:hover:focus-visible {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--secondary-500), var(--shadow-md);
}
.oc-stat .wp-block-button .wp-block-button__link:focus-visible {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--primary-500), var(--shadow-sm);
}
.oc-stat .wp-block-button .wp-block-button__link:hover:focus-visible {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--primary-500), var(--shadow-md);
}

/* ════════ CONSULTING: process (steps + stat card) ════════
   grid grid-cols-1 lg:grid-cols-12 gap-10 items-center */
.wp-block-group.oc-process > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}
.wp-block-group.oc-process > .wp-block-group__inner-container > * { margin: 0; }
@media (min-width: 1024px) {
  .wp-block-group.oc-process > .wp-block-group__inner-container { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .wp-block-group.oc-process > .wp-block-group__inner-container > .oc-process__main  { grid-column: span 7 / span 7; }
  .wp-block-group.oc-process > .wp-block-group__inner-container > .oc-process__aside { grid-column: span 5 / span 5; }
}
.oc-process__main > .wp-block-group__inner-container > *,
.oc-process__aside > .wp-block-group__inner-container > * { margin: 0; }
/* h2: text-3xl sm:text-4xl font-heading font-bold text-neutral-900 mb-8 */
.oc-section .oc-process__main h2,
.oc-section h2.oc-testimonials__heading {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  margin: 0 0 2rem;
  max-width: none;
}
@media (min-width: 640px) {
  .oc-section .oc-process__main h2,
  .oc-section h2.oc-testimonials__heading { font-size: var(--text-4xl); line-height: 2.75rem; }
}
/* ol space-y-6 */
.oc-process .wp-block-group.steps {
  display: block;
  max-width: none;
  margin: 0;
}
.oc-process .wp-block-group.steps > .wp-block-group__inner-container { display: block; }
.oc-process .wp-block-group.steps > .wp-block-group__inner-container > * { margin: 0; }
.oc-process .wp-block-group.steps > .wp-block-group__inner-container > * + * { margin-top: 1.5rem; }
/* li flex gap-5 */
.oc-process .wp-block-columns.step {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  margin: 0;
  max-width: none;
}
.oc-process .wp-block-columns.step > .wp-block-column.step-num-col {
  flex: 0 0 auto;
  min-width: auto;
  margin: 0;
}
.oc-process .wp-block-columns.step > .wp-block-column.step-body-col {
  flex: 0 1 auto;
  flex-basis: auto;
  min-width: auto;
  word-break: normal;
  overflow-wrap: normal;
  margin: 0;
}
/* shrink-0 h-10 w-10 rounded-full bg-primary-500 text-white font-heading font-bold flex items-center justify-center */
.oc-process .step-num-col > p.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  border-radius: 9999px;
  background: var(--primary-500);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  line-height: 1.5rem;
  font-weight: 700;
  letter-spacing: normal;
}
/* h3: font-heading text-lg font-semibold text-neutral-900 mb-1 */
.oc-process .step-body-col > h3.step__title,
.oc-process .step-body-col > h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  margin: 0 0 0.25rem;
  overflow-wrap: normal;
}
/* p: text-neutral-600 leading-relaxed */
.oc-process .step-body-col > p.step__desc,
.oc-process .step-body-col > p {
  font-size: var(--text-base);
  line-height: 1.625;
  color: var(--neutral-600);
  margin: 0;
}

/* Stat card: p-10 bg-gradient-to-br from-primary-50 to-secondary-50
   rounded-xl border border-primary-200 text-center */
.wp-block-group.oc-stat {
  padding: 2.5rem;
  margin: 0;
  background: linear-gradient(to bottom right, var(--primary-50), var(--secondary-50));
  border: 1px solid var(--primary-200);
  border-radius: var(--radius-xl);
  text-align: center;
}
.wp-block-group.oc-stat > .wp-block-group__inner-container > * { margin: 0; }
/* font-heading text-5xl sm:text-6xl font-bold text-primary-600 */
.wp-block-group.oc-stat p.oc-stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  line-height: 3.25rem;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--primary-600);
  margin: 0;
}
@media (min-width: 640px) {
  .wp-block-group.oc-stat p.oc-stat__number { font-size: var(--text-6xl); line-height: 1.1; }
}
/* mt-3 text-lg font-medium text-neutral-800 */
.wp-block-group.oc-stat p.oc-stat__label {
  margin: 0.75rem 0 0;
  font-size: var(--text-lg);
  line-height: 1.75rem;
  font-weight: 500;
  color: var(--neutral-800);
}
/* div.mt-8 > Button (inline-flex, centred by text-center) */
.wp-block-group.oc-stat > .wp-block-group__inner-container > .wp-block-buttons {
  display: block;
  margin: 2rem 0 0;
}
.wp-block-group.oc-stat .wp-block-buttons > .wp-block-button { display: inline-block; margin: 0; }

/* ════════ CONSULTING: testimonials ════════
   h2 … mb-10 text-center; grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 */
.wp-block-group.oc-section > .wp-block-group__inner-container > h2.oc-testimonials__heading { margin-bottom: 2.5rem; text-align: center; }
.oc-section .wp-block-columns.quotes {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  max-width: none;
}
@media (min-width: 768px) {
  .oc-section .wp-block-columns.quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .oc-section .wp-block-columns.quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* figure: flex flex-col justify-between rounded-xl bg-surface border border-neutral-200 p-6 shadow-sm */
.oc-section .wp-block-columns.quotes > .wp-block-column.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin: 0;
  box-shadow: var(--shadow-sm);
  min-width: auto;
  word-break: normal;
  overflow-wrap: normal;
}
/* blockquote: text-neutral-800 leading-relaxed italic */
.oc-section .quote-card > .quote-card__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.625;
  font-style: italic;
  font-weight: 400;
  color: var(--neutral-800);
  margin: 0;
  padding: 0;
  border: 0;
  quotes: none;
}
/* figcaption: mt-4 text-sm font-semibold uppercase tracking-wider text-primary-600 */
.oc-section .quote-card > .quote-card__author {
  font-family: var(--font-body);
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  font-size: var(--text-sm);
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-600);
}
