/* SovAI-Q · Typografie-Standard für ALLE Inhaltsseiten (außer Hero).
   Ziel: gleiche Größen für Eyebrow, Überschrift, Untertitel und Kartentexte auf jeder Seite – unabhängig von einzelnen Editor-Anpassungen.
   Anpassen: nur die Werte in diesem Block ändern. Diese Datei entfernen (Link in render.php), um wieder die Einzelwerte aus dem Editor zu verwenden. */
:root{
  --sqs-eyebrow:12px;
  --sqs-h2:clamp(32px,3.3vw,43px);
  --sqs-sub:17px;
  --sqs-card-title:22px;
  --sqs-card-text:14.5px;
  --sqs-weight-h2:600;
  --sqs-weight-card:700;
  --sqs-measure:900px;
}
@media(max-width:1023px){:root{--sqs-h2:clamp(30px,4.6vw,38px);--sqs-sub:16px;--sqs-card-title:20px}}
@media(max-width:599px){:root{--sqs-h2:30px;--sqs-sub:15px;--sqs-eyebrow:11px;--sqs-card-title:19px;--sqs-card-text:14px}}

/* Seitenkopf: Eyebrow, Überschrift, Untertitel immer untereinander – gleiche Anordnung auf jeder Seite */
body.sq-design-v3 .site-section:not(.section-hero):not(.section-contact):not(.section-wave) .section-intro{display:block!important;max-width:none!important;margin:0 0 26px!important;padding:0!important}
body.sq-design-v3 .site-section:not(.section-hero):not(.section-contact):not(.section-wave) .section-intro>.eyebrow{margin:0 0 10px!important;font-size:var(--sqs-eyebrow)!important;letter-spacing:.14em!important;line-height:1.3!important}
body.sq-design-v3 .site-section:not(.section-hero):not(.section-contact):not(.section-wave) .section-intro>h2{margin:0 0 12px!important;font-size:var(--sqs-h2)!important;font-weight:var(--sqs-weight-h2)!important;line-height:1.12!important;letter-spacing:-.015em!important;max-width:var(--sqs-measure)!important;translate:none!important;transform:none!important;position:static!important;inset:auto!important}
body.sq-design-v3 .site-section:not(.section-hero):not(.section-contact):not(.section-wave) .section-intro>.section-sub{margin:0!important;max-width:var(--sqs-measure)!important;border-left:0!important;padding-left:0!important;font-size:var(--sqs-sub)!important;line-height:1.55!important;font-weight:400!important;translate:none!important;transform:none!important;position:static!important;inset:auto!important}

/* Kartenüberschriften und -texte */
body.sq-design-v3 .site-section:not(.section-hero) :is(.feature-card,.sqx-cap,.sqx-trust,.sqx-role,.sqx-flow-step,.sqv3-gov-benefit,.step,.sqv3-benefit) h3,
body.sq-design-v3 .site-section:not(.section-hero) .sqv3-benefit strong{font-size:var(--sqs-card-title)!important;font-weight:var(--sqs-weight-card)!important;line-height:1.2!important;letter-spacing:-.01em!important}
body.sq-design-v3 .site-section:not(.section-hero) :is(.feature-card,.sqx-trust,.sqx-role,.sqx-flow-step,.sqv3-gov-benefit,.step,.sqv3-benefit) p,
body.sq-design-v3 .site-section:not(.section-hero) .sqx-li-text{font-size:var(--sqs-card-text)!important;line-height:1.55!important}
body.sq-design-v3 .site-section:not(.section-hero) .sqx-sub-title{font-size:calc(var(--sqs-card-title) + 8px)!important;font-weight:var(--sqs-weight-h2)!important;line-height:1.2!important}
body.sq-design-v3 .site-section:not(.section-hero) .sqx-sub-text{font-size:var(--sqs-sub)!important;line-height:1.55!important}

/* FAQ-Gruppen: gleiche Stufe wie andere Kartenüberschriften */
body.sq-design-v3 .section-faq .sqv3-faq-topic h3{font-size:var(--sqs-card-title)!important;font-weight:var(--sqs-weight-card)!important}
body.sq-design-v3 .section-faq .sqv3-faq-topic p,body.sq-design-v3 .section-faq details p{font-size:var(--sqs-card-text)!important}
body.sq-design-v3 .section-faq details summary span:first-child{font-size:calc(var(--sqs-card-text) + 2px)!important}

/* Kontaktseite: gleiche Überschriftsstufe */
body.sq-design-v3 .site-section.section-contact:not(.section-hero) .section-intro>h2{font-size:var(--sqs-h2)!important;font-weight:var(--sqs-weight-h2)!important}
body.sq-design-v3 .site-section.section-contact:not(.section-hero) .section-intro>.eyebrow{font-size:var(--sqs-eyebrow)!important}
body.sq-design-v3 .site-section.section-contact:not(.section-hero) .section-intro>.section-sub{font-size:var(--sqs-sub)!important}

/* Zusätzliche Sicherung gegen horizontales Scrollen auf kleinen Bildschirmen */
body.sq-design-v3 .site-section{overflow-x:clip}
