/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: "NettoWeb";
  src: url("NettoWeb.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "NettoWeb-Bold";
  src: url("NettoWeb-Bold.woff") format("woff");
  font-display: swap;
}

/* ==========================================================================
   Base typography
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--font-size);
  line-height: 1.4;
  color: var(--color-text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

strong,
b {
  font-weight: bold;
}

em,
i {
  font-style: italic;
}

h2 {
  font-family: var(--font-netto-bold);
  font-size: var(--font-size-large);
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--color-text);
}

h3 {
  font-size: var(--font-size-larger);
  line-height: 1.25;
  margin-bottom: 10px;

  & a,
  & a:hover {
    text-decoration: none;
  }
}

h4 {
  font-weight: bold;
  margin-bottom: 10px;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;

  &:hover {
    color: var(--color-text);
  }
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.main p,
.kontakt p,
.dialog p {
  line-height: var(--line-height);
}

.netto {
  font-family: var(--font-netto);
}

.netto_bold {
  font-family: var(--font-netto-bold);
}

body.jugendmedizin h2 {
  color: var(--color-accent);
}
