/* ==========================================================================
   Raw Materials Trade — a11y-fixes.v1.css
   A site.v20260709.min.css UTAN toltodik be.

   A PageSpeed Insights (2026-08-10, mobil) altal jelzett hibak javitasa:
     - "Nem megfelelo a hatter- es elotersz\00ED nek kozotti kontrasztarany."
     - "A linkeket szin alapjan lehet felismerni."
   Plusz: a h4 -> h3 atsorolas utan a vizualis megjelenes valtozatlan marad.

   Merteket a repo sajat tokenjeibol szamoltuk:
     --accent   #22d3ee  feheren  1.9:1   BUKIK  (AA min. 4.5:1)
     --blue-mid #1e88e5  feheren  3.4:1   BUKIK
     --grey-400 #94a3b8  #f8fafc-on 2.4:1 BUKIK
     --green    #16a34a  feher szoveggel 3.0:1 BUKIK (0.65rem = kis szoveg)
   ========================================================================== */

:root {
  /* Vilagos hatteren hasznalt, AA-konform megfelelok. A --blue (#1565c0)
     mar a paletta resze, igy a markaarculat nem valtozik. */
  --rmt-accent-aa:  #0f5aa8;   /* 6.4:1 feheren  — az #22d3ee helyett */
  --rmt-label-aa:   #14639e;   /* 5.6:1 feheren  — az #1e88e5 helyett */
  --rmt-muted-aa:   #4b5c70;   /* 7.4:1 #f8fafc-on — a #94a3b8 helyett */
  --rmt-green-aa:   #15702f;   /* 6.6:1 feher szoveggel — a #16a34a helyett */
}

/* --------------------------------------------------------------------------
   1. Szekcio-cimkek  (.section-label)
   Alap: var(--blue-mid) vilagos hatteren -> bukik.
   A sotet hattern levo valtozatokat (.quality-section, .catalogue-page-hero)
   NEM irjuk felul: azok vilagos szoveg sotet alapon, ott a kontraszt rendben.
   -------------------------------------------------------------------------- */
.section-label {
  color: var(--rmt-label-aa);
}

.quality-section .section-label,
.catalogue-page-hero .section-label,
.bg-navy .section-label,
.hero .section-label {
  color: #77d4e7;   /* valtozatlan: sotet alapon megfelelo */
}

/* --------------------------------------------------------------------------
   2. Vezetoi kartyak  (.leader-kicker, .leader-link)
   Mindketto var(--accent) = #22d3ee vilagos kartyan -> 1.9:1.
   -------------------------------------------------------------------------- */
.leader-kicker {
  color: var(--rmt-label-aa);
}

.leader-link {
  color: var(--rmt-accent-aa);
  /* WCAG 1.4.1: a link ne csak szinnel legyen megkulonboztetheto */
  text-decoration: underline;
  text-decoration-thickness: .07em;
  text-underline-offset: .2em;
  text-decoration-skip-ink: auto;
}

.leader-link:hover,
.leader-link:focus-visible {
  text-decoration-thickness: .12em;
}

/* --------------------------------------------------------------------------
   3. Urlap-labjegyzet  (.form-notice) — --grey-400 a --grey-50 alapon
   -------------------------------------------------------------------------- */
.form-notice {
  color: var(--rmt-muted-aa);
}

.form-notice a {
  color: var(--rmt-accent-aa);
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* --------------------------------------------------------------------------
   4. "Valid / Ervenyes / Gultig" tanusitvany-jelveny
   0.65rem-es szoveg, ezert a 4.5:1 az iranyado, nem a 3:1.
   -------------------------------------------------------------------------- */
.cert-valid-badge {
  background: var(--rmt-green-aa);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Folyoszovegben levo linkek alahuzasa
   Gombok, navigacio, nyelvvalto es kartya-linkek kimaradnak.
   -------------------------------------------------------------------------- */
p a,
li a,
dd a,
.legal-note a,
.disclaimer a,
.footer-legal a,
.cookie-banner a {
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-skip-ink: auto;
}

.btn, .btn:hover,
.site-nav a, .lang-switcher a,
.card-link, .arrow-link,
.footer-col a {
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. h4 -> h3 atsorolas utani vizualis kompenzacio
   A meglevo CSS a .step h4 es .footer-col h4 szelektorokhoz kotott.
   A cimsorok szemantikai szintje valtozott, a megjelenes nem.
   -------------------------------------------------------------------------- */
.step h3 {
  font-size: .88rem;
  margin-bottom: .35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.footer-col h3 {
  color: rgba(255, 255, 255, .90);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .85rem;
  font-weight: 700;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   7. Lathato billentyuzet-fokusz
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f2a900;
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   8. Csokkentett mozgas keresenek tiszteletben tartasa
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   9. Footer contrast hardening — PSI follow-up 2026-08-10

   Lighthouse still flagged the legal links in the global dark footer because
   .footer-legal a used rgba(255,255,255,.40) on --navy (#0d1b2a), which is
   below WCAG AA for normal text. Keep the visual hierarchy subtle, but move
   all footer copy and links comfortably above AA. Links stay underlined so
   they are not identifiable by colour alone.
   -------------------------------------------------------------------------- */
footer[role="contentinfo"],
footer:not(.legal-footer),
.site-footer {
  color: rgba(255, 255, 255, .78);
}

footer[role="contentinfo"] .footer-brand p,
footer[role="contentinfo"] .footer-bottom,
footer[role="contentinfo"] .footer-col a,
footer[role="contentinfo"] .footer-legal a,
footer[role="contentinfo"] a,
.site-footer,
.site-footer a {
  color: rgba(255, 255, 255, .82);
}

footer[role="contentinfo"] .footer-col a,
footer[role="contentinfo"] .footer-legal a,
footer[role="contentinfo"] a,
.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: .07em;
  text-underline-offset: .2em;
  text-decoration-skip-ink: auto;
}

footer[role="contentinfo"] .footer-col a:hover,
footer[role="contentinfo"] .footer-col a:focus-visible,
footer[role="contentinfo"] .footer-legal a:hover,
footer[role="contentinfo"] .footer-legal a:focus-visible,
footer[role="contentinfo"] a:hover,
footer[role="contentinfo"] a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration-thickness: .12em;
}

/* Legal-only pages have a separate compact footer. Its original 45% white
   also remains too close to the AA threshold on the navy background. */
.legal-footer,
.legal-footer-inner,
.legal-footer-link,
.legal-footer a {
  color: rgba(255, 255, 255, .82);
}

/* The enquiry stays lightweight until the visitor chooses to open it. */
.inquiry-form-toggle {
  width: 100%;
  min-height: 56px;
  justify-content: center;
  font-size: 1rem;
}

.inquiry-form-panel[hidden] {
  display: none !important;
}


/* --------------------------------------------------------------------------
   10. Dark-surface heading and muted-copy contrast
   Fixes dark default heading color on dark translucent panels and sections.
   Text remains white on dark surfaces; light cards retain their dark text.
   -------------------------------------------------------------------------- */
.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4,
.bg-navy h5,
.bg-navy h6,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6,
.quality-section h1,
.quality-section h3,
.quality-section h4,
.quality-section h5,
.quality-section h6,
.strategic-section h1,
.strategic-section h2,
.strategic-section h3,
.strategic-section h4,
.strategic-section h5,
.strategic-section h6,
.dach-section h1,
.dach-section h2,
.dach-section h3,
.dach-section h4,
.dach-section h5,
.dach-section h6 {
  color: #fff;
}

.strategic-section .section-label,
.dach-section .section-label {
  color: #fff;
}

.legal-footer .legal-footer-inner,
.legal-footer .legal-footer-link {
  color: rgba(255, 255, 255, .82);
}

.legal-footer .legal-footer-link:hover,
.legal-footer .legal-footer-link:focus-visible {
  color: #fff;
}

@media (forced-colors: active) {
  .bg-navy h1,
  .bg-navy h2,
  .bg-navy h3,
  .bg-navy h4,
  .bg-navy h5,
  .bg-navy h6,
  .hero h2,
  .hero h3,
  .hero h4,
  .hero h5,
  .hero h6,
  .quality-section h1,
  .quality-section h3,
  .quality-section h4,
  .quality-section h5,
  .quality-section h6,
  .strategic-section h1,
  .strategic-section h2,
  .strategic-section h3,
  .strategic-section h4,
  .strategic-section h5,
  .strategic-section h6,
  .dach-section h1,
  .dach-section h2,
  .dach-section h3,
  .dach-section h4,
  .dach-section h5,
  .dach-section h6 {
    color: CanvasText;
  }
}


/* Other dark CTA and product-hero surfaces use the same high-contrast heading rule. */
.catalogue-contact-band h1,
.catalogue-contact-band h2,
.catalogue-contact-band h3,
.catalogue-contact-band h4,
.catalogue-contact-band h5,
.catalogue-contact-band h6,
.product-hero-detail .product-hero-copy h1,
.product-hero-detail .product-hero-copy h2,
.product-hero-detail .product-hero-copy h3,
.product-hero-detail .product-hero-copy h4,
.product-hero-detail .product-hero-copy h5,
.product-hero-detail .product-hero-copy h6 {
  color: #fff;
}


/* Keep product and catalogue dark-surface headings legible in forced-colors mode. */
@media (forced-colors: active) {
  .catalogue-contact-band h1,
  .catalogue-contact-band h2,
  .catalogue-contact-band h3,
  .catalogue-contact-band h4,
  .catalogue-contact-band h5,
  .catalogue-contact-band h6,
  .product-hero-detail .product-hero-copy h1,
  .product-hero-detail .product-hero-copy h2,
  .product-hero-detail .product-hero-copy h3,
  .product-hero-detail .product-hero-copy h4,
  .product-hero-detail .product-hero-copy h5,
  .product-hero-detail .product-hero-copy h6 {
    color: CanvasText;
  }
}




/* Keep the About section background continuous across its full mobile height. */
#about{background:#f8fafc}

/* Shared floating controls + product intelligence surfaces (v3) */
:root{
  --rmt-float-pad-y:.5rem;
  --rmt-float-pad-x:.8rem;
  --rmt-float-font:.74rem;
  --rmt-float-radius:999px;
  --rmt-float-min-h:44px;
  --rmt-float-z:1000;
  --rmt-float-shadow:0 8px 22px rgba(0,0,0,.18);
}
.cookie-settings-toggle,
.rmt-contact-trigger{
  min-height:var(--rmt-float-min-h);
  min-width:var(--rmt-float-min-h);
  padding:var(--rmt-float-pad-y) var(--rmt-float-pad-x);
  font-size:var(--rmt-float-font);
  line-height:1.2;
  font-weight:600;
  border-radius:var(--rmt-float-radius);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:var(--rmt-float-shadow);
}
.cookie-settings-toggle{position:fixed;left:max(1rem,env(safe-area-inset-left));bottom:max(1rem,env(safe-area-inset-bottom));background:#1f2937;color:#fff;z-index:var(--rmt-float-z);cursor:pointer}
.rmt-contact-fab{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:var(--rmt-float-z);display:flex!important;flex-direction:column;align-items:flex-end;gap:8px;visibility:visible!important;opacity:1!important}
.rmt-contact-options[hidden]{display:none!important}
.rmt-contact-trigger{order:2;background:#142b3e;color:#fff;cursor:pointer}
.rmt-contact-options{order:1;max-width:min(300px,calc(100vw - 32px));padding:8px;border:1px solid #c5ccd3;border-radius:12px;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.rmt-contact-options a{display:block;min-height:44px;padding:12px;color:#142b3e;text-decoration:none;border-radius:6px}
.rmt-contact-options a:hover,.rmt-contact-options a:focus-visible{background:#edf2f6;text-decoration:underline}
.rmt-contact-trigger:focus-visible,.rmt-contact-options a:focus-visible,.cookie-settings-toggle:focus-visible{outline:3px solid #f3b84a;outline-offset:3px}
.product-dual-path,.product-checkpoints,.product-faq{margin:1.25rem 0}
.dual-path-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.dual-path-card{padding:1rem 1.1rem;border:1px solid rgba(20,43,62,.14);border-radius:12px;background:#fff}
.dual-path-card h3,.product-checkpoints h2,.product-faq h2{color:#142b3e}
.product-checkpoints ul{margin:.4rem 0 0;padding-left:1.1rem}
.product-checkpoints li{margin:.35rem 0;line-height:1.45;color:#1f2937}
.qualification-note,.catalogue-trust-note{margin:.55rem 0 .85rem;max-width:46rem;line-height:1.45;font-size:.95rem}
.product-hero-detail .qualification-note,.product-hero-detail .catalogue-trust-note{color:#e8eef7}
.product-hero-detail .qualification-note a,.product-hero-detail .catalogue-trust-note a{color:#9bdcf0;text-decoration:underline;text-underline-offset:.18em}
.product-hero-detail .product-hero-copy .lead,.product-hero-detail .product-hero-copy p{color:#e8eef7}
.product-dl dt{color:#334155}
.product-dl dd{color:#0f172a}
.sub-accordion>summary{color:#142b3e}
@media(max-width:600px){
  .cookie-settings-toggle,.rmt-contact-fab{bottom:max(12px,env(safe-area-inset-bottom))}
  .cookie-settings-toggle{left:max(12px,env(safe-area-inset-left))}
  .rmt-contact-fab{right:max(12px,env(safe-area-inset-right))}
  .product-dl, table{display:block;max-width:100%;overflow-x:auto}
}
@media print{.rmt-contact-fab,.cookie-settings-toggle{display:none!important}}

/* v4 UX: RFQ checklist, doc status, audience split, trust classes */
.product-rfq-checklist,.product-doc-status,.manufacturer-intake-checklist,.audience-split-panel{margin:1.25rem 0}
.product-rfq-checklist ol,.manufacturer-intake-checklist ol{margin:.5rem 0 0;padding-left:1.2rem}
.product-rfq-checklist li,.manufacturer-intake-checklist li{margin:.35rem 0;line-height:1.45;color:#0f172a}
.audience-split-panel{padding:1.25rem 0;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%)}
.audience-split-panel h2,.trust-evidence-classes h2{color:#142b3e}
.trust-evidence-classes article{margin:1rem 0;padding:0;border:0}
.product-doc-status .product-dl dt{color:#334155}
.product-doc-status .product-dl dd{color:#0f172a}


/* Global restrained heading scale — applies consistently across all page families. */
body h1{font-size:clamp(2.2rem,4.4vw,4.4rem)!important;line-height:1.04}
body h2{font-size:clamp(1.6rem,2.8vw,2.8rem)!important;line-height:1.12}
@media(max-width:600px){body h1{font-size:clamp(1.9rem,8.5vw,3rem)!important}body h2{font-size:clamp(1.45rem,7vw,2.25rem)!important}}
