/*
Layer: 04-components
Datei: type-scale.css
*/

/*
 * Einheitliche Typografie – Hero als Referenz
 * Headline, Subline und Body auf Unterseiten (.adiumento-rich-page) und Startseite.
 *
 * Skala (tokens.css):
 *   hero-title · hero-subline · section-title · section-title-md · section-subline · hub-lead
 *   subsection-title · card-display · large · emphasis · lead · body · small · caption · meta · meta-xs
 */
/* —— Hero (alle Seiten mit .service-page-hero) —— */
.service-page-hero h1,
.service-page-hero .wp-block-cover__inner-container > h1,
.service-page-hero .wp-block-coblocks-hero__content h1 {
  font-size: var(--adi-font-hero-title) !important;
  line-height: 1.15 !important;
}

.service-page-hero .wp-block-cover__inner-container > p:not(.service-page-back),
.service-page-hero .wp-block-coblocks-hero__content > p:not(.service-page-back),
.service-page-hero .has-medium-font-size {
  font-size: var(--adi-font-hero-subline) !important;
  line-height: 1.55 !important;
}

body.adiumento-home-page .wp-block-cover.home-hero .home-hero-subline,
body.adiumento-home-page .wp-block-cover.home-hero .home-hero-lead {
  font-size: var(--adi-font-hero-subline) !important;
  line-height: 1.55 !important;
}

/* —— Section-Headlines (H2) —— */
body.adiumento-rich-page .site-main h2.wp-block-heading,
body.adiumento-home-page .site-main h2.wp-block-heading {
  font-size: var(--adi-font-section-title);
}

/* —— Sublines / Leads unter Headlines —— */
body.adiumento-rich-page .site-main :is(
  .service-section-lead,
  .service-orientation__text,
  .service-outcomes__lead,
  .adiumento-cards-grid__lead,
  .hub-outputs__lead,
  .hub-principles__lead,
  .service-split-accordion__lead,
  .example-cards__lead,
  .loesungen-section__subtitle,
  .case-snapshot__intro
),
body.adiumento-home-page .site-main :is(
  .service-section-lead,
  .adiumento-cards-grid__lead,
  .startseite-outcomes__lead
) {
  font-size: var(--adi-font-section-subline);
  line-height: 1.55;
}

/* —— Fließtext in Modulen —— */
body.adiumento-rich-page .site-main :is(
  .service-empathy-block__text,
  .beratung-topic__intro,
  .beratung-topic__part-text,
  .beratung-topic__closing,
  .service-scenario__text,
  .service-scenario__situation,
  .service-scenario__outcome,
  .service-process-path__text,
  .service-media-card__text,
  .hub-value-card__text,
  .outcome-card__text,
  .example-card__text,
  .split-accordion__panel p
),
body.adiumento-home-page .site-main .adiumento-passage > p.wp-block-paragraph {
  font-size: var(--adi-font-body);
  line-height: 1.6;
}

/* —— Unterabschnitte (H3) —— */
body.adiumento-rich-page .site-main h3.wp-block-heading,
body.adiumento-rich-page .site-main .beratung-topic__part-title,
body.adiumento-home-page .site-main h3.wp-block-heading {
  font-size: var(--adi-font-subsection-title);
}

body.adiumento-rich-page .site-main .case-snapshot__title {
  font-size: var(--adi-font-section-title);
}

/* Kleine Zwischenüberschrift in Empathie-Blöcken */
body.adiumento-rich-page .site-main .service-empathy-block__question {
  font-size: var(--adi-font-subsection-title);
  line-height: 1.3;
}
