/**
 * i18n typography — readable copy in fixed print blocks; slight scale-down for verbose langs.
 * flyer-type-fit.js fine-tunes individual blocks before PDF export.
 */
html {
  --flyer-type-scale: 1;
  --text-body-scaled: calc(var(--text-body) * var(--flyer-type-scale));
  --text-lead-scaled: calc(var(--text-lead) * var(--flyer-type-scale));
  --ploesung-type-scaled: calc(var(--ploesung-type) * var(--flyer-type-scale));
  --ploesung-body-scaled: calc(var(--ploesung-body) * var(--flyer-type-scale));
}

html[lang="el"],
html[lang="ar"],
html[lang="pl"],
html[lang="ru"],
html[lang="uk"],
html[lang="bg"],
html[lang="ro"],
html[lang="vi"],
html[lang="sq"],
html[lang="bn"],
html[lang="hi"],
html[lang="fa"],
html[lang="tr"],
html[lang="fi"],
html[lang="lt"],
html[lang="lv"],
html[lang="et"],
html[lang="mt"] {
  --flyer-type-scale: 0.94;
}

html[lang="ja"],
html[lang="zh"],
html[lang="ko"],
html[lang="cs"],
html[lang="hu"],
html[lang="nl"],
html[lang="pt"],
html[lang="es"],
html[lang="fr"],
html[lang="it"],
html[lang="hr"],
html[lang="sr"],
html[lang="id"],
html[lang="sv"],
html[lang="da"],
html[lang="sk"],
html[lang="sl"] {
  --flyer-type-scale: 0.97;
}

.sheet-body--spikes .spikes-panel .ploesung-points {
  font-size: calc(var(--ploesung-body-scaled) * 1.03);
  line-height: 1.36;
}

.sheet-body--spikes .spikes-panel .ploesung-panel__label {
  font-size: calc(var(--ploesung-type-scaled) * 0.9);
}

.sheet-body--spikes .overlay-caption--cinema.compare-hero__caption {
  font-size: calc(var(--text-body-scaled) * 1.04);
  line-height: 1.32;
  text-wrap: pretty;
}

.sheet-body--spikes .quote-band--solid {
  font-size: var(--text-lead-scaled);
  line-height: 1.28;
  text-wrap: pretty;
}

.sheet--loesung .ploesung-points,
.sheet--loesung .ploesung-benefits {
  font-size: var(--ploesung-body-scaled);
}

.ploesung-point-text {
  text-wrap: pretty;
  overflow-wrap: break-word;
  hyphens: auto;
}

html[lang="de"] .ploesung-point-text,
html[lang="el"] .ploesung-point-text {
  hyphens: manual;
}

.sheet-body--spikes .spikes-panel .ploesung-points--emoji li + li {
  margin-top: calc(var(--ploesung-list-gap) * 0.85);
}

.sheet--faith-poster .page-head--faith .lead--faith-merged {
  font-size: calc(16pt * var(--flyer-type-scale));
}

.sheet--faith-poster .faith-poster__list {
  font-size: calc(11.5pt * var(--flyer-type-scale));
}

.sheet--faith-poster .faith-poster__col-head {
  font-size: calc(12.5pt * var(--flyer-type-scale));
}

.faith-poster__foot-line:first-child {
  font-size: calc(12.6pt * var(--flyer-type-scale));
}

.faith-poster__foot-line:last-child {
  font-size: calc(14pt * var(--flyer-type-scale));
}

/* Seite 9 — lange i18n-Beschriftungen */
html:not([lang="de"]) .sheet--page9-combined .abundance-head {
  font-size: calc(var(--text-lead) * var(--flyer-type-scale) * 0.92);
  line-height: 1.2;
  text-wrap: balance;
}

html:not([lang="de"]) .sheet--page9-combined .page9-caption__text {
  font-size: calc(var(--page9-caption-fs, 12.5pt) * var(--flyer-type-scale) * 0.9) !important;
  line-height: 1.18 !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Seite 7 — Schritt-Karten (feste Cream-Slots, Step 4 nur ~25% Breite) */
html:not([lang="de"]) .pumzug-step-copy p {
  font-size: calc(9.6pt * var(--flyer-type-scale));
  line-height: 1.14;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html:not([lang="de"]) .pumzug-step-copy p strong,
html:not([lang="de"]) .pumzug-step-copy__lead {
  font-size: calc(10.2pt * var(--flyer-type-scale));
  line-height: 1.1;
}

html:not([lang="de"]) .pumzug-step-copy__keep {
  white-space: normal;
}

html:not([lang="de"]) .pumzug-step-copy--2,
html:not([lang="de"]) .pumzug-step-copy--3,
html:not([lang="de"]) .pumzug-step-copy--4 {
  max-height: 36mm;
  top: 90.4%;
}

html[lang="ar"] .pumzug-step-copy,
html[lang="fa"] .pumzug-step-copy {
  text-align: start;
  line-height: 1.2;
}

html[lang="ar"] .pumzug-step-copy p,
html[lang="fa"] .pumzug-step-copy p {
  font-size: calc(9.2pt * var(--flyer-type-scale));
  line-height: 1.16;
}

html[lang="ar"] .pumzug-step-copy__lead,
html[lang="fa"] .pumzug-step-copy__lead {
  font-size: calc(9.9pt * var(--flyer-type-scale));
}