/* RFS Typography v2.3 – ruhige B2B-Typografie auf Basis aktueller Webdesign-Systeme.
   16px Basisschrift, 15–16px Kartenkörper, zurückhaltende H1/H2-Titel.
   Das originale RFS-Bildlogo wird nicht verändert. */
:root {
  --rfs-type-body: 16px;
  --rfs-type-line: 1.6;
  --rfs-type-h1: clamp(44px, 3.9vw, 56px);
  --rfs-type-h2: clamp(32px, 3vw, 38px);
  --rfs-type-h3: 20px;
}
body, .px-page, .px-root {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
/* Display & hierarchy */
.px-hero h1 {
  font-size: var(--rfs-type-h1) !important;
  line-height: 1.13 !important;
  letter-spacing: -.025em !important;
  font-weight: 730 !important;
}
.px-section-head h2,
.px-values h2, .px-process h2,
.px-locations h2, .px-contact h2,
.px-interlude h2 {
  font-size: var(--rfs-type-h2) !important;
  line-height: 1.22 !important;
  letter-spacing: -.027em !important;
  font-weight: 720 !important;
}
.px-careers-heading h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(36px, 3.5vw, 44px) !important;
  line-height: 1.19 !important;
  font-weight: 720 !important;
  letter-spacing: -.026em !important;
}
.px-audience-card h3 {font-size: clamp(22px, 2vw, 26px) !important;line-height:1.28 !important;letter-spacing:-.025em !important}
.px-service-data h3 {font-size:20px !important;line-height:1.32 !important;letter-spacing:-.02em !important}
.px-step h3, .px-job-card h3 {font-size:20px !important;line-height:1.32 !important;letter-spacing:-.02em !important}
.px-form-card h3 {font-size:23px !important;line-height:1.3 !important}
.px-careers-tail h3 {font-size:22px !important;line-height:1.35 !important}
/* Content readability */
.px-hero-sub, .px-interlude p, .px-careers-intro p {font-size:17px !important;line-height:1.6 !important}
.px-section-head p, .px-values-intro, .px-process-intro,
.px-locations p, .px-contact-lead {font-size:16px !important;line-height:1.65 !important}
.px-service-data p, .px-job-card p, .px-audience-card p,
.px-dialog-main p, .px-dialog-main li {font-size:15px !important;line-height:1.65 !important}
.px-step p, .px-footer-motto, .px-footer a {font-size:14px !important;line-height:1.6 !important}
.px-job-card li, .px-careers-tail p {font-size:13px !important;line-height:1.5 !important}
.px-service-bottom p {font-size:13px !important;line-height:1.55 !important}
.px-trust-item strong {font-size:14px !important}
.px-trust-item span {font-size:12px !important}
/* UI: modern, clear, clickable */
.px-nav-link, .px-btn, .px-head-phone, .px-head-cta {font-size:14px !important;letter-spacing:0 !important}
.px-service-action, .px-job-apply {font-size:14px !important}
.px-form-field input, .px-form-field select, .px-form-field textarea {font-size:16px !important}
.px-form-field {font-size:13px !important}
.px-form-privacy {font-size:12px !important;line-height:1.5 !important}
.px-footer small, .px-footer-bottom {font-size:12px !important}
/* On larger sections don't let size itself carry all of the emphasis. */
.px-section-head h2 em, .px-hero h1 em, .px-careers-heading h2 em {font-weight:inherit}
@media (max-width: 1100px) {
  :root {--rfs-type-h1: clamp(40px, 5vw, 46px);--rfs-type-h2: clamp(30px, 3.8vw, 34px)}
  .px-careers-heading h2 {font-size:clamp(34px, 4.2vw, 40px) !important}
}
@media (max-width: 760px) {
  :root {--rfs-type-h1: clamp(30px, 7.7vw, 36px);--rfs-type-h2: clamp(26px, 6vw, 30px)}
  .px-hero h1 {line-height:1.19 !important;letter-spacing:-.02em !important}
  .px-careers-heading h2 {font-size:clamp(28px, 7vw, 34px) !important;letter-spacing:-.02em !important}
  .px-hero-sub {font-size:16px !important}
  .px-service-data h3, .px-job-card h3 {font-size:19px !important}
  .px-service-data p,.px-job-card p {font-size:15px !important}
  .px-btn,.px-nav-link,.px-head-phone,.px-head-cta {font-size:14px !important}
  .px-trust-item strong {font-size:12px !important}
  .px-trust-item span {font-size:10px !important}
}
@media (max-width: 380px) {
  :root {--rfs-type-h1:30px;--rfs-type-h2:26px}
  .px-careers-heading h2 {font-size:28px !important}
  .px-trust-item strong {font-size:11px !important}
  .px-trust-item span {font-size:9px !important}
}
