/* =========================================================
   GLOBAL HEADING FOUNDATION · v1108
   Wird nach allen Seiten-Styles geladen. Dadurch können alte,
   lokal definierte H2-Größen die gemeinsame Stufe nicht mehr
   unbemerkt überschreiben.
   ========================================================= */

:root {
  --tm-section-h2-size: clamp(2.5rem, 4.15vw, 4.35rem);
  --tm-section-h2-size-mobile: clamp(2rem, 9.2vw, 2.85rem);
  --tm-section-h2-line: 1.04;
  --tm-section-h2-spacing: -0.045em;
}

/* Startseite */
body main.toabai-home .tm-heading h2,
body main.toabai-home .tm-logo-head h2,
body main.toabai-home .tm-about-company h2,
body main.toabai-home .tm-faq-heading h2,
body main.toabai-home .tm-final h2,
body main.toabai-home .tmn-knowledge-v1092__title,
body main.tm-home-test .tm-heading h2,
body main.tm-home-test .tm-logo-head h2,
body main.tm-home-test .tm-about-company h2,
body main.tm-home-test .tm-faq-heading h2,
body main.tm-home-test .tm-final h2,
body main.tm-home-test .tmn-knowledge-v1092__title,

/* Wartung */
body main.tm-maint-page .tm-v1007-section-head h2,
body main.tm-maint-page .tm-v201-process-head h2,
body main.tm-maint-page .tm-v201-pricing-copy h2,
body main.tm-maint-page .tm-v200-trust-copy h2,
body main.tm-maint-page .tm-v200-dark-head h2,
body main.tm-maint-page .tm-v200-existing-box h2,
body main.tm-maint-page .tm-maint-head h2,
body main.tm-maint-page .tm-maint-head-center h2,
body main.tm-maint-page .tm-maint-copy > h2,

/* Website erstellen / regionale Webdesign-Seiten */
body main.tm-website-page .tm-web-head h2,
body main.tm-website-page .tm-web-stage-copy h2,
body main.tm-website-page .tm-web-journey-copy h2,
body main.tm-website-page .tm-web-status-copy h2,
body main.tm-website-page .tm-web-person-copy h2,
body main.tm-website-page .tm-web-final h2,
body main.tm-webdesign-region .tm-web-head h2,
body main.tm-webdesign-region .tm-web-stage-copy h2,
body main.tm-webdesign-region .tm-web-journey-copy h2,
body main.tm-webdesign-region .tm-web-status-copy h2,
body main.tm-webdesign-region .tm-web-person-copy h2,
body main.tm-webdesign-region .tm-web-final h2,

/* Kontakt */
body main.tm-contact-page .tm-contact-section-head h2,
body main.tm-contact-page .tm-contact-process h2,
body main.tm-contact-page .tm-contact-form-copy h2,
body main.tm-contact-page .tm-contact-form-copy-v704 h2,
body main.tm-contact-page .tm-contact-final-trust h2,

/* Über mich */
body main.ueber-mich-page > section h2,
body main.ueber-mich-page .tm-about-manifest h2,

/* Referenzen / betreute Websites */
body main.tm-ref-page .tm-section-head h2,
body main.tm-ref-page .tm-ref-method h2,
body main.tm-ref-page .tm-final-cta-copy h2,
body main.tm-care-sites-page .tm-care-sites-section-head h2,
body main.tm-care-sites-page .tm-care-sites-visible h2,
body main.tm-care-sites-page .tm-care-sites-day h2,

/* Wissen-Übersichts- und Archivseiten, nicht Artikel-Fließtext */
body main .tm-wissen-archive-head h2,
body main .tm-wissen-topic-title h2,
body main .tm-related-section .tm-section-head h2,
body main .tm-wissen-final-cta h2,

/* Allgemeine echte Abschnitts-Header */
body main .tm-section-head > h2,
body main .tm-section-header > h2,
body main .tm-section-header-center > h2 {
  font-size: var(--tm-section-h2-size) !important;
  line-height: var(--tm-section-h2-line) !important;
  letter-spacing: var(--tm-section-h2-spacing) !important;
  text-wrap: balance;
}

@media (max-width: 767px) {
  body main.toabai-home .tm-heading h2,
  body main.toabai-home .tm-logo-head h2,
  body main.toabai-home .tm-about-company h2,
  body main.toabai-home .tm-faq-heading h2,
  body main.toabai-home .tm-final h2,
  body main.toabai-home .tmn-knowledge-v1092__title,
  body main.tm-home-test .tm-heading h2,
  body main.tm-home-test .tm-logo-head h2,
  body main.tm-home-test .tm-about-company h2,
  body main.tm-home-test .tm-faq-heading h2,
  body main.tm-home-test .tm-final h2,
  body main.tm-home-test .tmn-knowledge-v1092__title,
  body main.tm-maint-page .tm-v1007-section-head h2,
  body main.tm-maint-page .tm-v201-process-head h2,
  body main.tm-maint-page .tm-v201-pricing-copy h2,
  body main.tm-maint-page .tm-v200-trust-copy h2,
  body main.tm-maint-page .tm-v200-dark-head h2,
  body main.tm-maint-page .tm-v200-existing-box h2,
  body main.tm-maint-page .tm-maint-head h2,
  body main.tm-maint-page .tm-maint-head-center h2,
  body main.tm-maint-page .tm-maint-copy > h2,
  body main.tm-website-page .tm-web-head h2,
  body main.tm-website-page .tm-web-stage-copy h2,
  body main.tm-website-page .tm-web-journey-copy h2,
  body main.tm-website-page .tm-web-status-copy h2,
  body main.tm-website-page .tm-web-person-copy h2,
  body main.tm-website-page .tm-web-final h2,
  body main.tm-webdesign-region .tm-web-head h2,
  body main.tm-webdesign-region .tm-web-stage-copy h2,
  body main.tm-webdesign-region .tm-web-journey-copy h2,
  body main.tm-webdesign-region .tm-web-status-copy h2,
  body main.tm-webdesign-region .tm-web-person-copy h2,
  body main.tm-webdesign-region .tm-web-final h2,
  body main.tm-contact-page .tm-contact-section-head h2,
  body main.tm-contact-page .tm-contact-process h2,
  body main.tm-contact-page .tm-contact-form-copy h2,
  body main.tm-contact-page .tm-contact-form-copy-v704 h2,
  body main.tm-contact-page .tm-contact-final-trust h2,
  body main.ueber-mich-page > section h2,
  body main.ueber-mich-page .tm-about-manifest h2,
  body main.tm-ref-page .tm-section-head h2,
  body main.tm-ref-page .tm-ref-method h2,
  body main.tm-ref-page .tm-final-cta-copy h2,
  body main.tm-care-sites-page .tm-care-sites-section-head h2,
  body main.tm-care-sites-page .tm-care-sites-visible h2,
  body main.tm-care-sites-page .tm-care-sites-day h2,
  body main .tm-wissen-archive-head h2,
  body main .tm-wissen-topic-title h2,
  body main .tm-related-section .tm-section-head h2,
  body main .tm-wissen-final-cta h2,
  body main .tm-section-head > h2,
  body main .tm-section-header > h2,
  body main .tm-section-header-center > h2 {
    font-size: var(--tm-section-h2-size-mobile) !important;
  }
}
