/*
Theme Name: Finxpert Child
Description: Child Theme für Finxpert Theme mit Figtree-Font und FontAwesome-Fix
Author: zozothemes
Version: 1.0
Template: finxpert
Text Domain: zozothemes
*/

/* ===================== Figtree Font ===================== */

/* figtree-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/figtree-v8-latin-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/figtree-v8-latin-300italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/figtree-v8-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/figtree-v8-latin-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/figtree-v8-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/figtree-v8-latin-500italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/figtree-v8-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/figtree-v8-latin-600italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/figtree-v8-latin-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/figtree-v8-latin-700italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/figtree-v8-latin-800.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 800;
  src: url('fonts/figtree-v8-latin-800italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/figtree-v8-latin-900.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 900;
  src: url('fonts/figtree-v8-latin-900italic.woff2') format('woff2');
}

/* ===================== Global Font Override ===================== */

html, body {
  font-family: 'Figtree', sans-serif;
}

body :not(i):not([class*="icon"]):not([class^="fa-"]):not([class^="ti-"]):not([class^="gmi-"]) {
  font-family: 'Figtree', sans-serif !important;
}

.gm-menu-item__txt,
.feature-box-title,
h1, h2, h3, h4, h5, h6,
button, input, textarea,
.elementor-widget,
body,
* {
  font-family: 'Figtree', sans-serif !important;
}

/* ===================== Icon Fonts wiederherstellen ===================== */

/* Font Awesome 4.7.0 */
.fa,
.fa-fw,
[class^="fa-"],
[class*=" fa-"],
i.fa {
  font-family: "FontAwesome" !important;
  font-style: normal;
  font-weight: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fallback für fehlendes fa-angle-down Icon */
.fa-angle-down:before {
  content: "\f107";
}

/* Material Icons */
[class^="gmi-"],
[class*=" gmi-"] {
  font-family: "Material Icons" !important;
}

/* Themify Icons */
[class^="ti-"],
[class*=" ti-"] {
  font-family: "themify" !important;
}

/* Verhindert Figtree-Überschreibung bei generischen Icons */
i[class*="icon"],
span[class*="icon"],
svg[class*="icon"],
.icon {
  font-family: inherit !important;
}

/* -------------------------
   Workaround: Lupe anzeigen
---------------------------- */
.gmi.gmi-zoom-search::before {
  font-family: 'FontAwesome' !important;
  content: "\f002"; /* Lupe */
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  color: #000;
  display: inline-block;
}

/* ===================== Typografie-Grundwerte ===================== */

/* Headlines */
h1,
.elementor-heading-title.elementor-size-xl {
  font-size: 72px;
  font-weight: 800;
}
h2,
.elementor-heading-title.elementor-size-large {
  font-size: 48px;
  font-weight: 700;
}
h3,
.elementor-heading-title.elementor-size-medium {
  font-size: 36px;
  font-weight: 700;
}
h4,
.elementor-heading-title.elementor-size-small {
  font-size: 30px;
  font-weight: 600;
}
h5 {
  font-size: 24px;
  font-weight: 500;
}
h6 {
  font-size: 20px;
  font-weight: 500;
}

/* Body / Fliesstext */
body,
p,
.elementor-widget-text-editor {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* Fussnoten */
small,
.footnote {
  font-size: 14px;
  font-weight: 300;
}

/* E-Mail, Forms */
input,
textarea,
select,
label {
  font-size: 14px;
  font-weight: 400;
}

/* Buttons */
button,
.button,
.elementor-button {
  font-size: 16px;
  font-weight: 600;
}

/* Untertitel / Captions */
.caption,
.video-subtitle {
  font-size: 14px;
  font-weight: 400;
}

/* Grafiken / Claims */
.claim,
.graphic-text {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Logo – falls typografisch gesetzt */
.logo-text {
  font-weight: 770;
  font-size: 36px;
}
