/* =============================================
   Infinitia Digital — Shared typography overrides
   Loaded after page CSS. Values: Aug 2026 audit.
   ============================================= */

/* Fließtext baseline: all pages */
body{
  font-weight:400;
  line-height:1.45;
}
p,li,td,th,.blog-details__text,.about-one__content__text-one,.service-three__text,
.service-three__item__hover__text,.work-process-one__item__text,
.faq-page__accrodion .accrodion-content p{
  font-weight:400;
  line-height:1.45;
}

/* Headings line-height + weight */
h1,h2,h3,h4,
.section-title__title,.blog-details__title,.main-slider__two__content__title{
  font-weight:700 !important;
}
h1,h2,.section-title__title,.blog-details__title,.main-slider__two__content__title{
  line-height:1.2 !important;
}
h3,h4{
  line-height:1.3 !important;
}


/* h1–h4 weight lock — all pages, desktop + mobile */
h1,h2,h3,h4,
.section-title__title,
.blog-details__title,
.main-slider__two__content__title,
.page-header__title,
.services-details__content__title,
.services-details__content__title-two,
.services-details__content__title-three,
.services-details__points__title,
.services-details__benefit__title,
.fs-heading,
.wa-banner__title,
.kontakt-success-title,
.home-hero__title,
.error-page__title,
.id-cta-card__title{
  font-weight:700 !important;
}
@media(max-width:767px){
  h1,h2,h3,h4,
  .section-title__title,
  .blog-details__title,
  .main-slider__two__content__title,
  .page-header__title,
  .services-details__content__title,
  .services-details__content__title-two,
  .services-details__content__title-three,
  .services-details__points__title,
  .services-details__benefit__title,
  .fs-heading,
  .wa-banner__title,
  .kontakt-success-title,
  .home-hero__title,
  .error-page__title,
  .id-cta-card__title{
    font-weight:700 !important;
  }
}


/* CTA buttons — desktop 17 / mobile 16 */
.ogency-btn,
.id-btn-primary,
a.id-btn.id-btn-primary{
  font-size:17px !important;
}
@media(max-width:767px){
  .ogency-btn,
  .id-btn-primary,
  a.id-btn.id-btn-primary{
    font-size:16px !important;
  }
}

/* Home + Impressum + Datenschutz: Fließtext außer Box */
.about-one__content__text-one,
.service-three__text,
.container_impressum .blog-details__text{
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1.45 !important;
}
@media(max-width:767px){
  .about-one__content__text-one,
  .service-three__text,
  .container_impressum .blog-details__text{
    font-size:15px !important;
  }
}
/* Override old ≤490px legal shrink from ogency.css */
@media(max-width:490px){
  .container_impressum .blog-details__text{
    font-size:15px !important;
    line-height:1.45 !important;
  }
  .container_impressum h1.blog-details__title{
    font-size:32px !important;
    line-height:1.2 !important;
  }
  .container_impressum h2.blog-details__title{
    line-height:1.2 !important;
  }
}


/* Impressum + Datenschutz + Kontakt: h1 */
h1.section-title__title,
.container_impressum h1.blog-details__title{
  font-size:52px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
}
.container_impressum h1.blog-details__title{
  letter-spacing:0.015em !important;
}
@media(max-width:767px){
  h1.section-title__title,
  .container_impressum h1.blog-details__title{
    font-size:32px !important;
  }
}

/* Legal h2 titles keep class but get LH 1.2; size unchanged unless needed */
.container_impressum h2.blog-details__title{
  line-height:1.2 !important;
  font-weight:700 !important;
}

/* Kontakt h2 (FAQ etc.) */
.kontakt-page h2.section-title__title,
body.kontakt-page h2.section-title__title{
  font-size:40px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
}
@media(max-width:767px){
  .kontakt-page h2.section-title__title,
  body.kontakt-page h2.section-title__title{
    font-size:28px !important;
  }
}

/* Fallback without body class: FAQ section h2 on kontakt */
#faq h2.section-title__title,
section.faq-page h2.section-title__title{
  font-size:40px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
}
@media(max-width:767px){
  #faq h2.section-title__title,
  section.faq-page h2.section-title__title{
    font-size:28px !important;
  }
}
