/* ==========================================================================
   Grünes Herz – Schrift Source Sans Pro
   Eine Schriftfamilie mit echten Schnitten (Regular, Italic, Bold,
   Bold Italic). Das Basis-Theme legt je Schnitt eine eigene Familie an;
   dort erzeugt font-weight: 700 ein künstliches Fett. Hier wählt der
   Browser über font-weight/font-style den passenden Schnitt.

   Schriftdateien: Resources/Public/Fonts/SourceSansPro/
   Lizenz: SIL Open Font License 1.1 (OFL.txt), frei nutzbar.
   Ersatzschrift laut Markenhandbuch: Arial.
   ========================================================================== */

@font-face {
	font-family: "GH Source Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-regular.woff2") format("woff2"),
	     url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-regular.woff") format("woff");
}
@font-face {
	font-family: "GH Source Sans";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-italic.woff2") format("woff2"),
	     url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-italic.woff") format("woff");
}
@font-face {
	font-family: "GH Source Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-700.woff2") format("woff2"),
	     url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-700.woff") format("woff");
}
@font-face {
	font-family: "GH Source Sans";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-700italic.woff2") format("woff2"),
	     url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-700italic.woff") format("woff");
}

/* Familiennamen des Basis-Themes auf dieselben Dateien legen: Regeln des
   Basis-Themes (z. B. TYPO3 11: h2–h6, b, strong) nutzen so ebenfalls diese
   Schnitte. Steht nach dem Basis-Theme und gewinnt daher. */
@font-face {
	font-family: "Source Sans Pro Regular";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-regular.woff2") format("woff2"),
	     url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-regular.woff") format("woff");
}
@font-face {
	font-family: "Source Sans Pro Italic";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-italic.woff2") format("woff2"),
	     url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-italic.woff") format("woff");
}
@font-face {
	font-family: "Source Sans Pro Bold";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-700.woff2") format("woff2"),
	     url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-700.woff") format("woff");
}
@font-face {
	font-family: "Source Sans Pro BoldItalic";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-700italic.woff2") format("woff2"),
	     url("../Fonts/SourceSansPro/source-sans-pro-v13-latin-700italic.woff") format("woff");
}

:root {
	--gh-font-text: "GH Source Sans", Arial, sans-serif;
	--gh-font-text-italic: var(--gh-font-text);
	--gh-font-bold: var(--gh-font-text);
	--gh-font-bold-italic: var(--gh-font-text);
	--gh-font-head: var(--gh-font-text);
	--th-font-sans-serif: var(--gh-font-text);
	--th-body-font-family: var(--gh-font-text);
}

/* --------------------------------------------------------------------------
   Schriftfamilien – ersetzt die Einzel-Familien des Basis-Themes
   -------------------------------------------------------------------------- */
body,
text,
button, input, select, textarea {
	font-family: var(--gh-font-text);
}

/* Icons (Font Awesome .fa/.fas/…, Bootstrap Icons .bi) ausnehmen – sie brauchen ihre Icon-Schrift */
.font-italic, em, i:not(.fa, .fas, .far, .fab, .fal, .fat, .fad, [class*="fa-"], .bi, [class*="bi-"]), .th-meta {
	font-family: var(--gh-font-text);
	font-style: italic;
}

.font-weight-bold, b, strong,
legend,
.th-idx .th-hdl,
.th-data > dd,
.th-data2 > dd,
.th-nav-service > ul > li .th-nav-item,
.th-weather > [class*=col] .th-weather-day .th-weather-head,
.th-nav-main .th-lvl1-lnk,
.th-nav-main .th-lvl1-lbl {
	font-family: var(--gh-font-text);
	font-weight: 700;
}

.font-weight-bold em, .font-weight-bold i:not(.fa, .fas, .far, .fab, .fal, .fat, .fad, [class*="fa-"], .bi, [class*="bi-"]),
b em, b i:not(.fa, .fas, .far, .fab, .fal, .fat, .fad, [class*="fa-"], .bi, [class*="bi-"]), strong em, strong i:not(.fa, .fas, .far, .fab, .fal, .fat, .fad, [class*="fa-"], .bi, [class*="bi-"]),
.font-italic b, .font-italic strong, em b, em strong,
h2 em, h3 em, h4 em, h5 em, h6 em {
	font-family: var(--gh-font-text);
	font-weight: 700;
	font-style: italic;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-family: var(--gh-font-text);
	font-weight: 700;
}
