/* Inter, self-hosted (no requests to Google = GDPR-friendly) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg-top: #191c20;
  --bg-bottom: #0a0f12;
  --text: #fafafa;
  --text-muted: #a5a5a5;
  --text-subtle: #969696;

  --page-max: 550px;
  --gutter: 16px;
  --pad-top: 80px;
  --pad-bottom: 40px;
  --section-gap: 60px;

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg-bottom);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-image: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--text-muted);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-wrap: anywhere;
}

::selection {
  background: rgba(250, 250, 250, 0.9);
  color: var(--bg-bottom);
}

.page {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: var(--pad-top) var(--gutter) var(--pad-bottom);
}

/* ---------- Header ---------- */

.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.avatar {
  display: block;
  width: 80px;
  height: 80px;
}

.name,
.location {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

.name {
  color: var(--text);
}

.location {
  color: var(--text-subtle);
}

/* ---------- Sections ---------- */

.section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.section p {
  margin: 0;
}

.section p + p {
  margin-top: 24px;
}

.hl {
  color: var(--text);
}


.dash-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dash-list li {
  padding-left: 0.75em;
  text-indent: -0.75em;
}

.dash-list li::before {
  content: "- ";
}

/* ---------- Links ---------- */

a {
  color: var(--text);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

.section a,
.socials a {
  font-style: italic;
  text-decoration-line: underline;
  text-decoration-color: rgba(250, 250, 250, 0);
}

a:hover,
.section a:hover,
.socials a:hover {
  text-decoration-line: underline;
  text-decoration-color: rgba(250, 250, 250, 0.6);
}

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.imprint-link {
  font-weight: 500;
  line-height: 1.3;
  padding-top: 2px;
}

/* ---------- Impressum page ---------- */

.legal address {
  font-style: normal;
}

.back-link {
  font-weight: 500;
}

/* ---------- Tablet ---------- */

@media (max-width: 1023px) {
  :root {
    --gutter: 24px;
    --pad-top: 72px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --pad-top: 56px;
    --section-gap: 48px;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
  }

  .socials {
    gap: 8px 24px;
  }

  .imprint-link {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.legal-title {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.legal address {
  margin-top: 24px;
}
