/* Contao integration: the editorial layout remains defined in theme.css. */
:root {
  --font-geist: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-manrope: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ol {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

#content,
#content > .mod_article,
#content > .mod_article > .inside {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.cms-native-page {
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

.cms-native-page .cms-group,
.cms-native-page .cms-element {
  min-width: 0;
}

/*
 * Editorial text must stay inside its grid cell at every breakpoint. German
 * hyphenation is used only when a long compound word cannot wrap at a space.
 */
.cms-native-page :where(h1, h2, h3, h4, p, li, address, a, strong, em) {
  min-width: 0;
  max-width: 100%;
}

.cms-native-page :where(h1, h2, h3, h4) {
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}

.cms-native-page :where(p, li, address, a, strong) {
  overflow-wrap: break-word;
}

/*
 * Block links are stored as editable Contao groups. The transparent child link
 * restores the original full-card click target without putting HTML code into
 * an article.
 */
.cms-native-page .cms-linked-card {
  position: relative;
}

.cms-native-page .cms-linked-card > .cms-link-card {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
  overflow: hidden;
  border: 0;
  font-size: 0;
  color: transparent;
  text-indent: -999rem;
}

.cms-native-page .cms-linked-card > .cms-link-card:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

/* The source design targets direct anchors in this grid. */
.cms-native-page .ad-path-grid > .cms-linked-card {
  min-height: 340px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}

.cms-native-page .ad-path-grid > .cms-linked-card:nth-child(2) { background: #d9f3e8; }
.cms-native-page .ad-path-grid > .cms-linked-card:nth-child(3) { background: #ffe2da; }
.cms-native-page .ad-path-grid > .cms-linked-card:nth-child(4) { background: #dceefa; }

.cms-native-page .ad-path-grid > .cms-linked-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(16, 26, 58, .08);
}

/*
 * Keep display typography open and readable. Earlier theme rules used very
 * tight negative tracking; this final Contao layer is authoritative.
 */
.hero h1,
.company-hero h1,
.ad-hero h1,
.legal-hero h1,
.privacy-hero h1,
.section h2,
.regional-intro h2,
.audience-section h2,
.faq-section h2,
.newsletter h2,
.company-block h2,
.ad-section-head h2,
.ad-deliverables h2,
.ad-faq h2,
.ad-cta h2,
.company-cta h2,
.manifesto-text,
.company-source-note h2 {
  letter-spacing: -.032em;
}

.learning-card h3,
.industry-grid .cms-card-title,
.audience-copy h3,
.topic-row .cms-card-title,
.feature-story h3,
.story-list h3,
.training-grid h3,
.ad-path-grid .cms-card-title,
.ad-problem-grid h3,
.ad-process-grid h3,
.company-item-grid h3,
.regional-promise strong,
.editorial-plane strong,
.approach-state > strong {
  letter-spacing: -.018em;
}

@media (max-width: 600px) {
  .hero h1,
  .company-hero h1,
  .ad-hero h1,
  .legal-hero h1,
  .privacy-hero h1,
  .section h2,
  .regional-intro h2,
  .audience-section h2,
  .faq-section h2,
  .newsletter h2,
  .company-block h2,
  .ad-section-head h2,
  .ad-deliverables h2,
  .ad-faq h2,
  .ad-cta h2,
  .company-cta h2,
  .manifesto-text,
  .company-source-note h2 {
    letter-spacing: -.025em;
  }
}

/* Animated logo mark. */
.brand-logo-roll {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  overflow: visible;
  flex: 0 0 auto;
}

.brand-logo-roll .brand-mark {
  width: 36px;
  height: 36px;
  animation: logo-roll-down 1.6s cubic-bezier(.22, .72, .24, 1) both;
  transform-origin: center;
}

@keyframes logo-roll-down {
  0% { transform: translateY(-10px) rotate(-135deg); }
  72% { transform: translateY(2px) rotate(330deg); }
  86% { transform: translateY(5px) rotate(350deg); }
  100% { transform: translateY(4px) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .brand-logo-roll .brand-mark {
    transform: translateY(4px);
  }
}

/* Responsive corrections for the native Contao component hierarchy. */
.company-hero > div,
.company-block-head,
.company-item-grid,
.company-item-grid > div,
.legal-card,
.privacy-content > * {
  min-width: 0;
}

.company-hero h1,
.ad-hero h1 {
  font-size: clamp(3.35rem, 6.35vw, 6.75rem);
}

.company-hero h1 em,
.ad-hero h1 em {
  hyphens: auto;
  overflow-wrap: break-word;
}

.editorial-plane strong {
  font-size: clamp(1.25rem, 2vw, 2rem);
  hyphens: none;
  overflow-wrap: normal;
  white-space: nowrap;
}

.plane-people strong {
  font-size: clamp(1rem, 1.75vw, 1.8rem);
}

.ad-hero-card {
  width: 100%;
}

.ad-hero-card > strong {
  font-size: clamp(2.15rem, 4.6vw, 4.4rem);
  hyphens: none;
  overflow-wrap: normal;
  white-space: nowrap;
}

.ad-deliverables li {
  grid-template-columns: minmax(0, 1fr);
}

.cms-faq-item > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  list-style: none;
}

.cms-faq-item > summary::-webkit-details-marker {
  display: none;
}

.cms-faq-item > summary > .cms-faq-question {
  display: block;
  min-width: 0;
  color: inherit;
  font: inherit;
  font-weight: 800;
  line-height: 1.45;
  transform: none !important;
  transition: none;
}

.cms-faq-item > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

.cms-faq-item[open] > summary::after {
  transform: rotate(45deg);
}

.company-block {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.company-block-head h2 {
  hyphens: none;
  overflow-wrap: normal;
}

.page-ki-loesungen-sachsen .company-block-head h2 {
  hyphens: manual;
}

.company-item-grid > div {
  grid-template-columns: minmax(210px, .72fr) minmax(0, 1fr);
}

.company-item-grid h3,
.legal-card h2,
.privacy-content h2 {
  hyphens: auto;
  overflow-wrap: break-word;
}

.company-footer .footer-contact {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .78);
}

.company-footer .footer-contact a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .32);
  text-underline-offset: .22em;
}

@media (max-width: 1120px) {
  .company-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  .company-block:nth-child(even) .company-block-head,
  .company-block:nth-child(even) .company-item-grid {
    order: initial;
  }
}

@media (max-width: 960px) {
  .ad-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .ad-hero-card {
    justify-self: stretch;
    max-width: none;
    min-height: 360px;
    box-shadow: 14px 14px 0 var(--mint);
  }

  .ad-deliverables,
  .ad-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .regional-promise strong {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  }
}

@media (max-width: 760px) {
  .company-item-grid > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-item-grid p {
    grid-column: 1;
  }

  .legal-card h2,
  .privacy-content h2 {
    font-size: clamp(1.7rem, 8.2vw, 2.65rem);
  }
}

@media (max-width: 430px) {
  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
    gap: .65rem;
  }

  .company-hero h1,
  .ad-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.15rem);
    line-height: .94;
  }

  .company-block-head h2,
  .ad-section-head h2,
  .ad-deliverables h2,
  .ad-faq h2,
  .ad-cta h2 {
    font-size: clamp(2.2rem, 10.7vw, 3rem);
    line-height: .98;
  }

  .legal-hero h1,
  .privacy-hero h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
    line-height: .93;
  }

  .regional-promise strong {
    font-size: 1.25rem;
  }
}

/* Legal pages use the same calm editorial rhythm as the source design. */
.legal-content > .cms-group,
.privacy-content > .cms-group:not(.privacy-toc) {
  width: 100%;
  margin-inline: 0;
}

.legal-content > .legal-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.legal-content > .legal-grid,
.privacy-content > .privacy-articles {
  padding: 0;
  border-bottom: 0;
}

.legal-content > .legal-note {
  padding: 0 0 0 clamp(1.5rem, 4vw, 4rem);
  border-bottom: 0;
}

.privacy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

.privacy-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .7rem 1rem;
  background: var(--paper);
  font-size: .75rem;
  font-weight: 800;
}

/*
 * eRecht24 injects a complete legal document as one content element. Keep the
 * vendor markup untouched and present it as a calm, readable editorial card.
 * The selectors are deliberately scoped so no other Contao content changes.
 */
.cms-native-page > .ce_er24_legal_text {
  width: min(calc(100% - clamp(2.5rem, 14vw, 16rem)), 1120px);
  margin: clamp(2.5rem, 6vw, 6rem) auto clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.75rem, 4vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2.2vw, 28px);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(16, 26, 58, .055);
  color: var(--ink);
  font-size: clamp(1rem, .95rem + .18vw, 1.12rem);
  line-height: 1.78;
}

/* The page hero already supplies the single visible page heading. */
.cms-native-page > .ce_er24_legal_text > h1:first-child {
  display: none;
}

.cms-native-page > .ce_er24_legal_text :where(h2, h3, h4) {
  max-width: 28ch;
  color: var(--ink);
  font-family: var(--font-geist), sans-serif;
  font-weight: 620;
  text-wrap: pretty;
  hyphens: auto;
  overflow-wrap: break-word;
}

.cms-native-page > .ce_er24_legal_text h2 {
  margin: clamp(3.5rem, 7vw, 6rem) 0 1.4rem;
  padding-top: clamp(1.75rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  font-size: clamp(2rem, 1.55rem + 1.7vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -.025em;
}

.cms-native-page > .ce_er24_legal_text h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.cms-native-page > .ce_er24_legal_text h3 {
  margin: clamp(2.5rem, 5vw, 4rem) 0 1rem;
  font-size: clamp(1.45rem, 1.2rem + .75vw, 2.1rem);
  line-height: 1.14;
  letter-spacing: -.016em;
}

.cms-native-page > .ce_er24_legal_text h4 {
  margin: 2rem 0 .75rem;
  font-size: clamp(1.12rem, 1.02rem + .32vw, 1.4rem);
  line-height: 1.3;
}

.cms-native-page > .ce_er24_legal_text :where(p, ul, ol, address, table) {
  max-width: 78ch;
  margin: 0;
}

.cms-native-page > .ce_er24_legal_text :where(p, ul, ol, address) + :where(p, ul, ol, address) {
  margin-top: 1.15rem;
}

.cms-native-page > .ce_er24_legal_text :where(ul, ol) {
  padding-left: 1.3em;
}

.cms-native-page > .ce_er24_legal_text li {
  padding-left: .35rem;
}

.cms-native-page > .ce_er24_legal_text li + li {
  margin-top: .65rem;
}

.cms-native-page > .ce_er24_legal_text a {
  color: currentColor;
  font-weight: 650;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  transition: color .18s ease, text-decoration-color .18s ease;
}

.cms-native-page > .ce_er24_legal_text a:hover {
  color: var(--coral);
}

.cms-native-page > .ce_er24_legal_text a:focus-visible {
  border-radius: 3px;
  outline: 3px solid color-mix(in srgb, var(--coral) 40%, transparent);
  outline-offset: 3px;
}

.cms-native-page > .ce_er24_legal_text table {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.cms-native-page > .ce_er24_legal_text :where(th, td) {
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cms-native-page > .ce_er24_legal_text th {
  background: var(--cream);
  font-weight: 750;
}

/* Use the wide legal card as an editorial information grid on the imprint. */
.page-impressum > .ce_er24_legal_text {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 4.5rem);
  row-gap: 0;
}

.page-impressum > .ce_er24_legal_text > p:first-of-type {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
  align-self: start;
  padding: .25rem clamp(1rem, 3vw, 2.5rem) 2rem 0;
  color: var(--ink);
  font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem);
  line-height: 1.62;
}

/* eRecht24 outputs street and house number with a separate line break. */
.page-impressum > .ce_er24_legal_text > p:first-of-type br:nth-of-type(4) {
  display: none;
}

.page-impressum > .ce_er24_legal_text > h2:first-of-type {
  grid-column: 8 / -1;
  grid-row: 1;
  align-self: end;
  max-width: none;
  margin: 0;
  padding: .25rem 0 0;
  border: 0;
  color: var(--coral);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.page-impressum > .ce_er24_legal_text > h2:first-of-type + p {
  grid-column: 8 / -1;
  grid-row: 2;
  align-self: start;
  max-width: none;
  margin: .65rem 0 0;
  font-size: clamp(1rem, .94rem + .22vw, 1.14rem);
  line-height: 1.7;
}

.page-impressum > .ce_er24_legal_text > h2:not(:first-of-type) {
  grid-column: 1 / span 4;
  max-width: none;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1rem, 3vw, 2.5rem) 0 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 1.15rem + .72vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -.018em;
}

.page-impressum > .ce_er24_legal_text > h2:not(:first-of-type) + p {
  grid-column: 5 / -1;
  max-width: none;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0 0;
  border-top: 1px solid var(--line);
  color: rgba(17, 24, 39, .7);
  line-height: 1.75;
}

/* Optional realization credit added as a regular editable Contao text item. */
.page-impressum > .ce_er24_legal_text + p {
  width: min(calc(100% - clamp(2.5rem, 14vw, 16rem)), 1120px);
  margin: 0 auto clamp(4rem, 9vw, 9rem);
  padding: 1.15rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  color: rgba(17, 24, 39, .62);
  font-size: .78rem;
  line-height: 1.55;
}

.page-impressum > .ce_er24_legal_text + p::before {
  content: "Realisierung";
  display: block;
  margin-bottom: .35rem;
  color: var(--coral);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.page-impressum > .ce_er24_legal_text + p a {
  color: var(--ink);
  font-weight: 750;
  text-decoration-color: color-mix(in srgb, var(--coral) 70%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .25em;
}

.page-impressum > .ce_er24_legal_text + p a:hover {
  color: var(--coral);
}

.page-impressum > .ce_er24_legal_text + p a:focus-visible {
  border-radius: 3px;
  outline: 3px solid color-mix(in srgb, var(--coral) 40%, transparent);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .cms-native-page > .ce_er24_legal_text {
    width: calc(100% - 2rem);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.4rem;
    border-radius: 18px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .page-impressum > .ce_er24_legal_text {
    display: block;
  }

  .page-impressum > .ce_er24_legal_text > p:first-of-type {
    padding: 0;
    font-size: 1.05rem;
    line-height: 1.58;
  }

  .page-impressum > .ce_er24_legal_text > h2:first-of-type {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    font-size: .64rem;
  }

  .page-impressum > .ce_er24_legal_text > h2:first-of-type + p {
    margin-top: .65rem;
    font-size: 1rem;
  }

  .page-impressum > .ce_er24_legal_text > h2:not(:first-of-type),
  .page-impressum > .ce_er24_legal_text > h2:not(:first-of-type) + p {
    margin-top: 2.5rem;
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--line);
  }

  .page-impressum > .ce_er24_legal_text > h2:not(:first-of-type) + p {
    margin-top: 1rem;
    padding-top: 0;
    border-top: 0;
  }

  .cms-native-page > .ce_er24_legal_text h2 {
    margin-top: 3.25rem;
    padding-top: 1.75rem;
  }

  .cms-native-page > .ce_er24_legal_text h3 {
    margin-top: 2.35rem;
  }

  .cms-native-page > .ce_er24_legal_text :where(h2, h3, h4) {
    max-width: 100%;
    text-wrap: wrap;
  }

  .page-impressum > .ce_er24_legal_text + p {
    width: calc(100% - 2rem);
    margin-bottom: 4.5rem;
    padding: 1rem 1.15rem;
  }
}

@media (max-width: 760px) {
  .hero h1,
  .company-hero h1,
  .ad-hero h1,
  .legal-hero h1,
  .privacy-hero h1 {
    hyphens: auto;
    overflow-wrap: normal;
    word-break: normal;
  }

  .privacy-toc {
    display: grid;
    grid-template-columns: 1fr;
  }

  .privacy-toc a {
    justify-content: center;
    text-align: center;
  }
}

/* Persistent, compact contact action without covering the cookie control. */
.floating-contact-cta {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: max(clamp(1rem, 2.5vw, 2rem), env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  max-width: calc(100vw - 2rem);
  padding: .95rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 16px 40px rgba(17, 24, 39, .2);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: translateY(12px);
  visibility: hidden;
  white-space: nowrap;
  transition: opacity .22s ease, transform .22s ease, background-color .2s ease, box-shadow .2s ease, visibility 0s linear .22s;
}

.floating-contact-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.floating-contact-cta:hover {
  background: var(--coral);
  box-shadow: 0 18px 44px rgba(239, 98, 61, .26);
  color: #fff;
  transform: translateY(-2px);
}

.floating-contact-cta:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--coral) 45%, transparent);
  outline-offset: 4px;
}

.floating-contact-cta__arrow {
  font-size: 1.05em;
  transition: transform .2s ease;
}

.floating-contact-cta:hover .floating-contact-cta__arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 560px) {
  .floating-contact-cta {
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    padding: .85rem 1rem;
    font-size: .8rem;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact-cta,
  .floating-contact-cta__arrow {
    transition: none;
  }
}

/*
 * Accessible type scale (WCAG 2.2 oriented)
 * Central theme rules keep typography separate from editable Contao content.
 * 106.25% respects the visitor's browser setting and yields 17px at the usual
 * 16px default. Relative units preserve browser zoom and text-only resizing.
 */
:root {
  font-size: 106.25%;
  --type-label: .75rem;
  --type-small: .875rem;
  --type-ui: .95rem;
  --type-copy: 1rem;
  --type-copy-large: clamp(1.0625rem, 1rem + .25vw, 1.25rem);
}

body {
  font-size: var(--type-copy);
  line-height: 1.6;
}

.main-nav {
  font-size: var(--type-ui);
}

.nav-login,
.button,
.text-link,
.privacy-toc a {
  font-size: var(--type-copy);
}

.hero-lede,
.ad-intro,
.company-hero .hero-lede {
  font-size: var(--type-copy-large);
}

.learning-card > p,
.regional-copy,
.industry-grid p,
.audience-copy li,
.topic-row p,
.values p,
.feature-story p,
.training-grid p,
.proof-grid p,
.ad-path-grid p,
.ad-problem-grid p,
.ad-process-grid p,
.ad-hero-card > p,
.ad-local > p:last-child,
.company-facts p,
.company-item-grid p {
  font-size: var(--type-copy);
  line-height: 1.65;
}

.eyebrow,
.card-eyebrow,
.panel-kicker,
.industry-grid article > span,
.topic-index,
.topic-count,
.values strong,
.story-list span,
.training-grid article > span,
.ad-path-grid span,
.ad-problem-grid article > span,
.ad-process-grid article > span,
.ad-hero-card > span,
.company-item-grid span,
.system-head,
.system-stage > span,
.system-stage small,
.coding-step span {
  font-size: var(--type-label) !important;
  line-height: 1.45;
}

.trust-line p,
.card-meta,
.training-grid li,
.ad-proof,
.company-footer > div:last-child,
.footer-contact,
.footer-main .footer-address,
.footer-links div,
.footer-bottom {
  font-size: var(--type-small);
  line-height: 1.55;
}

.floating-contact-cta {
  font-size: var(--type-ui);
  min-height: 44px;
}

@media (max-width: 560px) {
  .floating-contact-cta {
    font-size: var(--type-ui);
  }
}
