/* Subpages in the new design (Ergosign). Builds on home.css: the .hn tokens, .hn-btn,
   .hn-eyebrow, .hn-head, .hn-card, .hn-icon, .hn-wave. Scoped with .pg- so the current pages
   are not affected. */

/* Page hero: the start page hero without product column, lower */
.pg-hero {
  position: relative;
  overflow: hidden;
  padding: 72px var(--hn-gutter) 80px;
  background:
    radial-gradient(ellipse 823px 46% at calc(var(--hn-gutter) + 354px) 64%, rgba(41, 168, 216, .16), rgba(41, 168, 216, 0)),
    var(--hn-navy);
  color: var(--hn-on-dark);
}
/* wave over the same share of the hero as on the start page (top 52 %, 40 % high), cropped, not squeezed */
.pg-hero .hn-wave { top: 52%; height: 40%; object-fit: cover; object-position: center; }
.pg-hero--proof .hn-wave { height: 30%; }
.pg-hero-inner { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.pg-hero .hn-eyebrow { color: var(--hn-cyan); }
.pg-hero h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.3; font-weight: 600; color: #fff; }
.pg-hero-lead { font-size: 18px; line-height: 1.55; font-weight: 600; color: var(--hn-on-dark-2); max-width: 36em; }
.pg-hero .hn-actions { margin-top: 8px; }

/* Facts strip under the page hero (same look as the start page proof strip) */
.pg-hero + .hn-proof { background: var(--hn-navy); }

/* Sections */
.pg-section { padding: 88px var(--hn-gutter); background: #fff; }
.pg-section--subtle { background: var(--hn-subtle); }
.pg-section--dark { position: relative; overflow: hidden; background: var(--hn-navy); color: var(--hn-on-dark-2); }
.pg-section--dark .hn-wave { top: 45%; left: 50%; width: 142%; transform: translateX(-50%); }
.pg-section--dark > *:not(.hn-wave) { position: relative; }
.pg-section > .hn-head + * { margin-top: 48px; }

/* Left-aligned section head, for text-heavy sections */
.pg-head { display: flex; flex-direction: column; gap: 8px; }
.pg-head h2 { font-size: 36px; line-height: 1.4; font-weight: 600; color: var(--hn-text); }
.pg-head > p:last-child:not(.hn-eyebrow) { font-family: var(--hn-font-ui); font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--hn-text-2); }
.pg-section--dark .pg-head h2 { color: #fff; }
.pg-section--dark .pg-head .hn-eyebrow { color: var(--hn-cyan); }

/* Two columns: text and a side element */
.pg-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.pg-split--center { align-items: center; }

/* Running text */
.pg-text { display: flex; flex-direction: column; gap: 16px; }
.pg-text p, .pg-text li { font-size: 16px; line-height: 1.65; color: var(--hn-text-2); }
.pg-text a { color: var(--hn-link); text-decoration: underline; text-underline-offset: 3px; }
.pg-text ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Prose for long texts (legal pages) */
.pg-prose { max-width: 820px; }
.pg-prose h2 { margin: 48px 0 12px; font-size: 26px; line-height: 1.4; font-weight: 600; color: var(--hn-text); }
.pg-prose h2:first-child { margin-top: 0; }
.pg-prose h3 { margin: 32px 0 8px; font-size: 19px; line-height: 1.45; font-weight: 600; color: var(--hn-text); }
.pg-prose h4 { margin: 24px 0 6px; font-size: 16px; font-weight: 600; color: var(--hn-text); }
.pg-prose p, .pg-prose li, .pg-prose address { margin: 0 0 12px; font-size: 16px; line-height: 1.7; font-style: normal; color: var(--hn-text-2); }
.pg-prose ul, .pg-prose ol { margin: 0 0 16px; padding-left: 22px; }
.pg-prose li { margin-bottom: 6px; }
.pg-prose a { color: var(--hn-link); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pg-prose strong { color: var(--hn-text); font-weight: 600; }

/* Accent list: titles with a cyan bar, like the start page expertise */
.pg-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pg-bars--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-bars--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-bars > div { display: flex; flex-direction: column; gap: 12px; }
.pg-bars > div::before { content: ""; display: block; width: 56px; height: 4px; background: var(--hn-tile); }
.pg-bars h3 { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--hn-text); }
.pg-bars p { font-size: 16px; line-height: 1.55; color: var(--hn-text-2); }
.pg-bars a { color: var(--hn-link); text-decoration: underline; text-underline-offset: 3px; }
.pg-section--dark .pg-bars h3 { color: #fff; }
.pg-section--dark .pg-bars p { color: var(--hn-on-dark-2); }

/* Simple list with dividers (e.g. work areas) */
.pg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hn-line); }
.pg-list li { padding: 14px 0; border-bottom: 1px solid var(--hn-line); font-size: 16px; font-weight: 500; color: var(--hn-text); }
.pg .pg-list-title { margin: 8px 0 16px; font-size: 18px; font-weight: 600; color: var(--hn-text); }

/* Cards with a logo instead of a photo (partners, projects, open source) */
.pg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--hn-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 22, 51, .06);
}
.pg-card-logo { display: flex; align-items: center; height: 56px; }
.pg-card-logo img { max-height: 56px; max-width: 180px; width: auto; height: auto; }
.pg-card h3 { font-size: 20px; line-height: 1.45; font-weight: 600; color: var(--hn-text); }
.pg-card p, .pg-card li { font-size: 16px; line-height: 1.6; color: var(--hn-text-2); }
.pg-card ul { margin: 0; padding-left: 20px; }
.pg-card a { color: var(--hn-link); text-decoration: underline; text-underline-offset: 3px; }
.pg-card-meta { font-size: 14px; font-weight: 500; color: var(--hn-link); }
.pg-card .hn-btn { align-self: flex-start; margin-top: auto; }

/* People */
.pg-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pg-person {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--hn-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 22, 51, .06);
}
.pg-person img { display: block; width: 160px; height: 200px; object-fit: cover; object-position: 50% 25%; border-radius: 12px; }
.pg-person h3 { font-size: 22px; line-height: 1.4; font-weight: 600; color: var(--hn-text); }
.pg-person .pg-person-role { margin: 2px 0 14px; font-size: 14px; font-weight: 600; color: var(--hn-link); }
.pg-person p { font-size: 16px; line-height: 1.6; color: var(--hn-text-2); }
.pg-person dl { margin: 16px 0 0; }
.pg-person dt { margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--hn-text); }
.pg-person dd { position: relative; margin: 0 0 4px; padding-left: 18px; font-size: 16px; line-height: 1.5; color: var(--hn-text-2); }
.pg-person dd::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--hn-tile); }

/* Timeline */
.pg-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.pg-timeline li { padding-top: 16px; border-top: 4px solid var(--hn-line); }
.pg-timeline li:first-child, .pg-timeline li:last-child { border-top-color: var(--hn-tile); }
.pg-timeline strong { display: block; font-size: 24px; line-height: 1.2; font-weight: 600; color: var(--hn-text); }
.pg-timeline h3 { margin: 10px 0 6px; font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--hn-text); }
.pg-timeline p { font-size: 15px; line-height: 1.5; color: var(--hn-text-2); }
.pg-timeline a { color: var(--hn-link); text-decoration: underline; text-underline-offset: 3px; }

/* Closing call to action */
.pg-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 48px;
  border-radius: 20px;
  background: var(--hn-navy);
}
.pg-cta h2 { font-size: 28px; line-height: 1.4; font-weight: 600; color: #fff; }
.pg-cta p { font-size: 16px; color: var(--hn-on-dark-2); }
.pg-cta-section { padding-top: 72px; padding-bottom: 88px; }

@media (max-width: 1100px) {
  .pg-split, .pg-people { grid-template-columns: 1fr; gap: 40px; }
  .pg-bars, .pg-bars--4, .pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .pg-hero { padding: 48px var(--hn-gutter) 56px; }
  .pg-section { padding: 56px var(--hn-gutter); }
  .pg-head h2, .hn .hn-head h2 { font-size: 28px; }
  .pg-bars, .pg-bars--4, .pg-bars--2, .pg-cards, .pg-cards--2, .pg-timeline { grid-template-columns: 1fr; }
  .pg-person { grid-template-columns: 1fr; padding: 20px; }
  .pg-person img { width: 120px; height: 150px; }
  .pg-prose h2 { font-size: 22px; }
}

/* Page hero with the facts strip at its bottom edge */
.pg-hero--proof { padding-bottom: 0; }
.pg-hero--proof .hn-proof { margin: 56px calc(-1 * var(--hn-gutter)) 0; }
@media (max-width: 640px) {
  .pg-hero--proof .hn-proof { margin: 40px calc(-1 * var(--hn-gutter)) 0; }
}

/* Values artwork on the About page */
.pg-values-art svg { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; }

/* Eyebrows inside text columns keep the eyebrow style */
.pg-text .hn-eyebrow { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--hn-link); }

/* ---------------------------------------------------------------------------
   Content blocks of the older subpages, restyled in the new design
   --------------------------------------------------------------------------- */

/* Font Awesome icons from the old info cards, inside the facts strip */
.pg-fa svg { display: block; width: 20px; height: 20px; fill: var(--hn-cyan); }

/* Card lists: network, projects, open source */
.pg .network-section { display: block; padding: 88px var(--hn-gutter); background: #fff; }
.pg .network-section > * { max-width: none; }
.pg .network-section + .network-section { background: var(--hn-subtle); }
.pg .network-intro { max-width: none; margin: 0 0 40px; font-size: 18px; line-height: 1.6; font-weight: 400; color: var(--hn-text-2); text-align: left; }
.pg .network-grid { display: flex; flex-direction: column; gap: 24px; }
.pg .network-card,
.pg .network-card-alt {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--hn-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 22, 51, .06);
  transform: none;
}
.pg .network-card:hover { transform: none; box-shadow: 0 12px 32px rgba(11, 22, 51, .06); }
.pg .network-logo { flex: 0 0 180px; align-items: center; justify-content: center; align-self: flex-start; min-height: 120px; padding: 20px; box-sizing: border-box; border-radius: 12px; background: var(--hn-subtle); }
.pg .network-logo img, .pg .network-logo svg { max-width: 140px; max-height: 80px; width: auto; height: auto; }
.pg .network-info { min-width: 0; }
.pg .network-info h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.45; font-weight: 600; color: var(--hn-text); }
.pg .network-info h3 a { color: inherit; text-decoration: none; }
.pg .network-info h4 { margin: 20px 0 8px; font-size: 16px; font-weight: 600; color: var(--hn-text); }
.pg .network-info p, .pg .network-info li { font-size: 16px; line-height: 1.6; color: var(--hn-text-2); }
.pg .network-info p { margin: 0 0 12px; }
.pg .network-info ul { margin: 0 0 12px; padding-left: 20px; }
.pg .network-info a { color: var(--hn-link); text-underline-offset: 3px; }
.pg .skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pg .skill-tag { padding: 4px 12px; border: 1px solid rgba(41, 168, 216, .35); border-radius: 14px; background: rgba(41, 168, 216, .08); font-size: 13px; font-weight: 500; color: var(--hn-link); }
.pg .project-license { font-size: 14px; color: var(--hn-text-2); }
.pg .minor-contributions li { font-size: 16px; line-height: 1.6; color: var(--hn-text-2); }
.pg .network-section > h2, .pg .network-section h2 { font-size: 30px; line-height: 1.4; font-weight: 600; color: var(--hn-text); text-align: left; margin: 0 0 24px; }

/* Legal texts: privacy policy and legal notice */
.pg .legal-section { display: block; padding: 88px var(--hn-gutter); background: #fff; }
.pg .legal-section > * { max-width: 820px; }
.pg .legal-section h2 { margin: 48px 0 12px; font-size: 26px; line-height: 1.4; font-weight: 600; color: var(--hn-text); text-align: left; }
.pg .legal-section h2:first-child { margin-top: 0; }
.pg .legal-section h3 { margin: 32px 0 8px; font-size: 19px; line-height: 1.45; font-weight: 600; color: var(--hn-text); }
.pg .legal-section h4 { margin: 24px 0 6px; font-size: 16px; font-weight: 600; color: var(--hn-text); }
.pg .legal-content p, .pg .legal-content li { font-size: 16px; line-height: 1.7; color: var(--hn-text-2); }
.pg .legal-content a { color: var(--hn-link); overflow-wrap: anywhere; }
.pg .legal-notice-box { border: 1px solid rgba(41, 168, 216, .35); border-radius: 12px; background: rgba(41, 168, 216, .08); font-size: 16px; }

/* Contact page: legal notice next to the contact card, laid out like the start page (.hn-about) */
.pg .pg-contact .legal-section { display: flex; padding: 40px 0; background: none; }
.pg .pg-contact .legal-section > * { max-width: none; }
.pg .pg-contact .legal-content p { margin: 0; }
.pg-contact .company-name { font-size: 20px; font-weight: 600; color: var(--hn-text); }
.pg-contact .impressum-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 24px 0 0; }
.pg-contact .impressum-list dt { font-weight: 600; color: var(--hn-text); }
.pg-contact .impressum-list dd { margin: 0; color: var(--hn-text-2); }

/* 404 page */
.pg .error-404-section { padding: 88px var(--hn-gutter); background: #fff; }
.pg .error-404-number { color: var(--hn-tile); }

@media (max-width: 900px) {
  .pg .network-card, .pg .network-card-alt { flex-direction: column; gap: 20px; padding: 24px; }
  .pg .network-logo { flex: none; align-self: stretch; min-height: 100px; }
}
@media (max-width: 640px) {
  .pg .network-section, .pg .legal-section, .pg .error-404-section { padding: 56px var(--hn-gutter); }
  .pg-contact .legal-section { padding: 0; }
}

/* 404: the page's inline styles set a gradient and bottom padding on main */
.pg.pg-404 { background: #fff !important; padding-bottom: 0 !important; }
.pg .error-404-section { min-height: 60vh; }
.pg .error-404-number { font-weight: 600; opacity: .35; }
.pg .error-404-content h2 { color: var(--hn-text); }
.pg .error-404-content p { color: var(--hn-text-2); }

/* LingoMatch project page: align the project sections with the site gutter and the new palette */
.pg [class^="lm-"][class$="-section"], .pg .lm-project-banner { padding-left: var(--hn-gutter); padding-right: var(--hn-gutter); }
.pg [class^="lm-"][class$="-section"] > *, .pg .lm-banner-content, .pg .lm-hero-content, .pg .lm-problem-grid,
.pg .lm-solution-content, .pg .lm-benefits-grid, .pg .lm-market-stats { max-width: none; }
.pg .lm-project-banner { background: var(--hn-subtle); border-bottom: 0; }
.pg .lm-problem-card, .pg .lm-stat-card { border: 1px solid var(--hn-line); box-shadow: 0 12px 32px rgba(11, 22, 51, .06); }
.pg [class^="lm-"] h2 { color: var(--hn-text); }
/* "Vorteile": navy band like the dark sections on the start and product page */
.pg .lm-benefits-section { background: var(--hn-navy); }
.pg .lm-benefits-section h2, .pg .lm-benefits-section .section-heading h2 { color: #fff; }
.pg .lm-benefit-column { border: 1px solid rgba(111, 208, 245, .25); border-radius: 16px; background: rgba(41, 168, 216, .1); }
.pg .lm-benefit-column li::before { color: var(--hn-cyan); }
.pg .lm-benefits-section { position: relative; overflow: hidden; }
.pg .lm-benefits-section > *:not(.hn-wave) { position: relative; }
.pg .lm-benefits-section .hn-wave { top: 294px; left: 50%; width: 142%; transform: translateX(-50%); }
.pg .lm-benefit-column h3 { margin-bottom: 20px; }
@media (max-width: 640px) {
}

/* About page: secforge mark as a hanging column beside "Wer wir sind" */
.pg-split--mark { grid-template-columns: 112px minmax(0, 6fr) minmax(0, 5fr); gap: 48px; }
.pg-mark { display: block; width: 112px; height: auto; margin-top: 8px; }

/* About page: journey on a navy band, compact */
.pg-journey { padding-top: 72px; padding-bottom: 72px; }
.pg-journey .pg-timeline { margin-top: 40px; }
.pg-journey .pg-timeline li { border-top-color: rgba(111, 208, 245, .25); }
.pg-journey .pg-timeline li:first-child, .pg-journey .pg-timeline li:last-child { border-top-color: var(--hn-cyan); }
.pg-journey .pg-timeline strong, .pg-journey .pg-timeline h3 { color: #fff; }
.pg-journey .pg-timeline p { color: var(--hn-on-dark-2); }
.pg-journey .pg-timeline a { color: var(--hn-cyan); }

/* 404: number and buttons in the action colour, buttons like .hn-btn */
.pg .error-404-number { color: var(--hn-navy) !important; opacity: 1; }
.pg .error-404-link {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: 44px; padding: 0 24px; border: 1px solid var(--hn-navy) !important; border-radius: 22px; font-family: var(--hn-font-ui);
  background: var(--hn-navy) !important; color: #fff !important; font-size: 16px; font-weight: 600; text-decoration: none;
}
.pg .error-404-link-secondary { background: transparent !important; color: var(--hn-navy) !important; }
.pg .error-404-suggestions a { color: var(--hn-link); }

@media (max-width: 1100px) {
  .pg-split--mark { grid-template-columns: 1fr; gap: 24px; }
  .pg-mark { width: 64px; margin: 0; }
}

/* Contact page: headings like the contact card next to it */
.pg .pg-contact .legal-section h2 { margin: 0; font-size: 36px; line-height: 1.5; }
.pg .pg-contact .legal-section .hn-eyebrow { margin-bottom: 8px; }

/* LingoMatch: alternating bands like the other pages (after the navy hero:
   grey, white, grey, white, navy, grey, white) and the heading spacing that .hn resets */
.pg .lm-project-banner { background: var(--hn-subtle); padding-top: 56px; padding-bottom: 56px; }
.pg .lm-hero-section { background: #fff; padding-top: 72px; padding-bottom: 72px; }
.pg .lm-problem-section { background: var(--hn-subtle); }
.pg .lm-solution-section { background: #fff; }
.pg .lm-market-section { background: var(--hn-subtle); }
.pg .lm-partners-section { background: #fff; }
.pg [class^="lm-"][class$="-section"]:not(.lm-hero-section) { padding-top: 88px; padding-bottom: 88px; }

.pg .lm-hero-content { gap: 64px; }
.pg .lm-hero-text { display: flex; flex-direction: column; gap: 12px; }
.pg .lm-hero-text h2 { font-size: 36px; line-height: 1.4; font-weight: 600; color: var(--hn-text); }
.pg .lm-tagline { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--hn-link); }
.pg .lm-hero-text p { font-size: 16px; line-height: 1.65; color: var(--hn-text-2); }
.pg .lm-hero-image img { max-width: 240px; }

.pg [class^="lm-"] .section-heading { margin-bottom: 48px; }
.pg [class^="lm-"] .section-heading h2 { font-size: 36px; line-height: 1.4; font-weight: 600; }
.pg .lm-solution-features h3 { margin-bottom: 28px; font-size: 22px; line-height: 1.45; font-weight: 600; color: var(--hn-text); }
.pg .lm-feature-icon { color: var(--hn-tile); }
.pg .lm-problem-card h3 { margin: 16px 0 8px; }
.pg .lm-benefit-column h3 { margin-bottom: 20px; }

/* LingoMatch banner: text, then the buttons with room, buttons like on the other pages */
.pg .lm-banner-text { display: flex; flex-direction: column; gap: 12px; }
.pg .lm-banner-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hn-btn--outline { background: transparent; border-color: var(--hn-navy); color: var(--hn-navy); }
.hn-btn--outline:hover { background: var(--hn-navy); border-color: var(--hn-navy); color: #fff; }

/* Page hero with the white secforge logo to the right of the text (About page) */
.pg-hero-row { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 64px; }
.pg-hero-row .pg-hero-inner { flex: 1 1 auto; }
.pg-hero-logo { flex: none; display: block; width: 360px; max-width: 32%; height: auto; margin-top: 44px; }
@media (max-width: 900px) {
  .pg-hero-row { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .pg-hero-logo { width: 200px; max-width: 60%; }
}
@media (max-width: 900px) { .pg-hero-logo { margin-top: 0; } }

/* Type scale of the start and product pages (Figma) applied to the subpages:
   h1 48/1.5, h2 36/1.5, card titles 22/1.5, small titles 18/1.5, body Poppins 400 16/1.5,
   section leads Inter 400 18, captions Poppins 500 14 */
main.pg .pg-hero h1 { line-height: 1.5; }
main.pg .pg-head h2, main.pg .lm-hero-text h2, main.pg .section-heading h2,
main.pg [class^="lm-"] .section-heading h2, main.pg .error-404-content h2 { font-size: 36px; line-height: 1.5; font-weight: 600; }
main.pg .pg-prose h2, main.pg .legal-section h2, main.pg .network-section h2, main.pg .lm-banner-text h2 { font-size: 28px; line-height: 1.5; }
main.pg .network-info h3, main.pg .pg-person h3, main.pg .lm-solution-features h3, main.pg .lm-benefit-column h3,
main.pg .lm-problem-card h3, main.pg .pg-contact .company-name { font-size: 22px; line-height: 1.5; font-weight: 600; color: var(--hn-text); }
main.pg .lm-benefits-section .lm-benefit-column h3 { color: #fff; }
main.pg .pg-prose h3, main.pg .legal-section h3, main.pg .network-info h4, main.pg .legal-section h4, main.pg .pg-list-title,
main.pg .pg-timeline h3, main.pg .lm-solution-image h4, main.pg .error-404-suggestions h2 { font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--hn-text); }
main.pg .pg-journey .pg-timeline h3 { color: #fff; }
main.pg .pg-prose h4, main.pg .legal-content h5 { font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--hn-text); }
main.pg .pg-text p, main.pg .pg-text li, main.pg .pg-prose p, main.pg .pg-prose li, main.pg .legal-content p, main.pg .legal-content li,
main.pg .impressum-list dd, main.pg .network-info p, main.pg .network-info li, main.pg .minor-contributions li, main.pg .pg-card p, main.pg .pg-card li,
main.pg .pg-person p, main.pg .pg-timeline p, main.pg .lm-hero-text p, main.pg .lm-banner-text p, main.pg .lm-problem-card p, main.pg .lm-solution-image p,
main.pg .lm-stat-card p, main.pg .lm-market-note, main.pg .lm-partners-intro, main.pg .lm-project-description p, main.pg .lm-partner-text,
main.pg .lm-solution-features li > div, main.pg .error-404-suggestions a { font-size: 16px; line-height: 1.5; font-weight: 400; }
main.pg .pg-journey .pg-timeline p { color: var(--hn-on-dark-2); }
main.pg .legal-content p, main.pg .legal-content li, main.pg .lm-banner-text p, main.pg .lm-partner-text, main.pg .lm-problem-card p,
main.pg .lm-solution-image p, main.pg .lm-stat-card p, main.pg .lm-hero-text p, main.pg .lm-solution-features li > div, main.pg .pg-person p { color: var(--hn-text-2); }
main.pg .legal-content b, main.pg .legal-content strong, main.pg .lm-solution-features strong, main.pg .impressum-list dt { font-weight: 600; color: var(--hn-text); }
main.pg .pg-timeline strong, main.pg .lm-stat-number { font-size: 36px; line-height: 1.5; font-weight: 600; }
main.pg .lm-stat-number { color: var(--hn-text); }
main.pg .pg-person .pg-person-role, main.pg .pg-card-meta { font-size: 14px; line-height: 1.5; font-weight: 500; text-transform: uppercase; color: var(--hn-link); }
main.pg .network-info h3 > span[style] { font-size: 14px !important; line-height: 1.5; font-weight: 400; color: var(--hn-text-2) !important; }
main.pg .skill-tag { font-size: 14px; line-height: 1.5; }
main.pg .lm-banner-partner a > span { font-size: 14px; line-height: 1.5; color: var(--hn-text-2); }
main.pg .lm-benefit-column li { font-size: 16px; line-height: 1.5; }
main.pg .impressum-list dt, main.pg .impressum-list dd { line-height: 1.5; }
main.pg p.hn-eyebrow { font-size: 14px; line-height: 21px; font-weight: 500; text-transform: uppercase; }
main.pg .lm-hero-text p.lm-tagline { font-size: 18px; font-weight: 600; color: var(--hn-link); }
main.pg .network-intro, main.pg .error-404-content > p { font-family: var(--hn-font-ui); font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--hn-text-2); }

/* Unser Weg: months above, a short light-blue line (1/3 of the column) below them, left aligned */
main.pg .pg-journey .pg-timeline li { border-top: 0; padding-top: 0; }
main.pg .pg-journey .pg-timeline strong { font-size: 20px; line-height: 1.3; }
main.pg .pg-journey .pg-timeline strong::after { content: ""; display: block; width: 33.333%; height: 4px; margin: 12px 0 14px; border-radius: 2px; background: var(--hn-cyan); }

/* Former inline styles (the production CSP forbids inline style attributes) */
.pg-gh-icon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; }
.pg-mx16 { margin: 0 16px; }
.pg-svg80 { width: 80px; height: 80px; color: var(--color-accent); }
.pg-subnote { font-size: 0.65em; color: var(--color-text); font-weight: normal; margin-left: 0.5em; }
