/* Rubik (lokal gehostet, SIL Open Font License) */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/rubik-v21-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/rubik-v21-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/rubik-v21-latin-600.woff2') format('woff2');
}

html {
  font-family: Rubik, Helvetica, Arial, sans-serif;
  color: #222;
}

body {
  display: flex;
  flex-direction: column;
  margin: 2em;
  font-weight: 100;
  font-size: 14pt;
}

a { text-decoration: none; color: #444; }
a:hover, a:focus-visible { color: #222; text-decoration: underline; }

h1, h2, h3, h4 { font-weight: normal; }

.wrapper {
  display: flex;
  flex-direction: column;
  align-self: center;
  max-width: 100%;
}

header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  align-self: normal;
  gap: 1em;
}

.site-title {
  margin: 0;
  text-align: right;
  font-weight: 300;
  font-size: 30pt;
  letter-spacing: -0.05em;
}

strong { font-weight: 600; text-transform: uppercase; }

.best-logo { width: 5em; height: auto; max-width: 30vw; }
.best-logo path { fill: #222; }

.mission {
  font-size: 20pt;
  flex-shrink: 0;
}

address { font-style: normal; }

footer {
  margin-top: 8rem;
  padding-top: 1rem;
  border-top: 2px solid #444;
  text-align: center;
  font-size: 12pt;
}

.page { max-width: 40em; margin: 2em auto; }
.page h1 { font-size: 1.6em; }
.page h2 { font-size: 1.2em; margin-top: 1.6em; }
.page ul { padding-left: 1.2em; }
.stand { margin-top: 2em; font-size: 12pt; }

@media (max-width: 40em) {
  body { margin: 1.25em; font-size: 12pt; }
  .site-title { font-size: 22pt; }
  .mission { font-size: 16pt; }
  footer { margin-top: 4rem; }
}
