/* Hyundai Sans Text */
@font-face {
  font-family: 'Hyundai Sans Text';
  src: url('HyundaiSansText-Regular.woff2') format('woff2'),
       url('HyundaiSansText-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hyundai Sans Text';
  src: url('HyundaiSansText-Italic.woff2') format('woff2'),
       url('HyundaiSansText-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hyundai Sans Text';
  src: url('HyundaiSansText-Medium.woff2') format('woff2'),
       url('HyundaiSansText-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hyundai Sans Text';
  src: url('HyundaiSansText-MediumItalic.woff2') format('woff2'),
       url('HyundaiSansText-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hyundai Sans Text';
  src: url('HyundaiSansText-Bold.woff2') format('woff2'),
       url('HyundaiSansText-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hyundai Sans Text';
  src: url('HyundaiSansText-BoldItalic.woff2') format('woff2'),
       url('HyundaiSansText-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Hyundai Sans Head */
@font-face {
  font-family: 'Hyundai Sans Head';
  src: url('HyundaiSansHead-Light.woff2') format('woff2'),
       url('HyundaiSansHead-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hyundai Sans Head';
  src: url('HyundaiSansHead-Regular.woff2') format('woff2'),
       url('HyundaiSansHead-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hyundai Sans Head';
  src: url('HyundaiSansHead-Medium.woff2') format('woff2'),
       url('HyundaiSansHead-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hyundai Sans Head';
  src: url('HyundaiSansHead-Bold.woff2') format('woff2'),
       url('HyundaiSansHead-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   Zuweisung der Hyundai-Schrift
   Greift auf allen Beiträgen und Seiten mit body.bro-hyundai-font
   (Kontrollkästchen „Hyundai-Schrift verwenden“ im Editor, siehe functions.php).
   Stand: 20.10.2026 – ersetzt die festen Selektoren .postid-30228 / .postid-30238.
   Textfarbe nach Hyundai Design CI: Schwarz #000000.
   ========================================================================== */

body.bro-hyundai-font #wpb-content-root,
body.bro-hyundai-font #wpb-content-root * {
  font-family: 'Hyundai Sans Text', sans-serif;
}

body.bro-hyundai-font #wpb-content-root h1 p,
body.bro-hyundai-font #wpb-content-root h2 p,
body.bro-hyundai-font #wpb-content-root h3 p,
body.bro-hyundai-font #wpb-content-root h4 p {
  font-family: 'Hyundai Sans Head', sans-serif !important;
  color: #000 !important;
}

body.bro-hyundai-font #wpb-content-root h3 span {
  text-transform: none;
  color: #000 !important;
  font-family: 'Hyundai Sans Head', sans-serif !important;
}

body.bro-hyundai-font #hyundai-garantie h3 a {
  text-transform: none;
  font-family: 'Hyundai Sans Head', sans-serif !important;
}

body.bro-hyundai-font #wpb-content-root #car-offer {
  color: #000 !important;
}
