/* =========================================================
   D-DIN Webfonts
   © 2017 Datto Inc. (fonts@datto.com) – SIL Open Font License 1.1
   Font files must keep accompanying license text (OFL.txt)
   ========================================================= */

/* ---- Familie: D-DIN ---- */

@font-face {
  font-family: "D-DIN";
  src: url("fonts/D-DIN.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN";
  src: url("fonts/D-DIN-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN";
  src: url("fonts/D-DIN-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Kein eigener Bold-Italic-Schnitt vorhanden.
   font-synthesis sorgt dafuer, dass der Browser bei
   font-weight:700 + font-style:italic aus dem Bold-Schnitt
   eine synthetische Schraeglage erzeugt. */

/* ---- Familie: D-DIN Condensed ---- */

@font-face {
  font-family: "D-DIN Condensed";
  src: url("fonts/D-DINCondensed.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "D-DIN Condensed";
  src: url("fonts/D-DINCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Kein Italic-Schnitt vorhanden (weder Regular- noch Bold-Italic).
   font-synthesis erzeugt bei font-style:italic eine
   synthetische Schraeglage aus dem jeweils passenden Weight. */


/* =========================================================
   Anwendung
   ========================================================= */

/* Synthetische Kursivierung/Fettung ausdruecklich erlauben
   (ist in den meisten Browsern zwar Default, hier zur
   Klarheit/Absicherung explizit gesetzt). */
.d-din-text,
.d-din-condensed-text {
  font-synthesis: style;
}

/* Beispiele: */

.d-din-regular {
  font-family: "D-DIN", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.d-din-bold {
  font-family: "D-DIN", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.d-din-italic {
  font-family: "D-DIN", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.d-din-bold-italic {
  font-family: "D-DIN", sans-serif;
  font-weight: 700;
  font-style: italic; /* synthetisch schraeg, da kein echter Schnitt existiert */
}

.d-din-condensed-regular {
  font-family: "D-DIN Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.d-din-condensed-bold {
  font-family: "D-DIN Condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.d-din-condensed-italic {
  font-family: "D-DIN Condensed", sans-serif;
  font-weight: 400;
  font-style: italic; /* synthetisch schraeg */
}

.d-din-condensed-bold-italic {
  font-family: "D-DIN Condensed", sans-serif;
  font-weight: 700;
  font-style: italic; /* synthetisch schraeg */
}
