/* humexa.de, shared by every page: tokens, type, nav, footer, legal pages, /avatar, print. */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/onest-latin.woff2") format("woff2");
  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: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/onest-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #000;
  --bg-2: #0b0b0c;
  --ink: #f5f5f3;
  --ink-2: #dcdcd8;           /* long-form body text */
  --grey-1: #a8a8a4;          /* 8.6:1 on black */
  --grey-2: #7a7a76;          /* 4.9:1 on black */
  --line: rgba(245, 245, 243, .12);
  --accent: #e7bf8e;          /* stage light: interactive and highlighted states only */
  --accent-ink: #0b0b0c;
  --pad: clamp(22px, 5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Onest", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  scrollbar-color: #343432 var(--bg);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}
::selection { background: var(--accent); color: var(--accent-ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 50;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #000;
  font-weight: 600; text-decoration: none; transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------------- shared pieces */
.wordmark {
  font-weight: 600; font-size: 1.1875rem; letter-spacing: -.025em;
  text-decoration: none; color: var(--ink);
}
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: #000;
  font-weight: 600; font-size: 1rem; letter-spacing: -.008em; text-decoration: none;
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.pill:hover { background: var(--accent); }
.pill:active { transform: scale(.98); }
.pill:focus-visible { outline-offset: 4px; border-radius: 999px; }
.textlink {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 500; color: var(--ink); text-decoration: none;
  transition: color .3s var(--ease);
}
.textlink svg { width: 13px; height: 13px; transition: transform .4s var(--ease); }
.textlink:hover { color: var(--accent); }
.textlink:hover svg { transform: translateY(2px); }
h2 {
  font-size: clamp(2.75rem, 5.4vw, 5rem); font-weight: 600;
  letter-spacing: -.036em; line-height: .98; text-wrap: balance;
}
.lead {
  margin-top: 26px; max-width: 34ch;
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.5; color: var(--grey-1);
  text-wrap: pretty;
}
.lead strong { color: var(--ink); font-weight: 500; }
.nb { white-space: nowrap; }

/* ---------------- nav */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px var(--pad);
}
.nav__link {
  font-size: .875rem; color: var(--grey-1); text-decoration: none;
  transition: color .3s var(--ease);
}
.nav__link:hover { color: var(--ink); text-decoration: underline; }
.nav__short { display: none; }

/* ---------------- footer */
.foot {
  border-top: 1px solid var(--line); padding: 28px var(--pad) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 36px;
  font-size: .875rem; color: var(--grey-1);
}
.foot__brand { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.foot .wordmark { font-size: 1rem; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.foot a:not(.wordmark) { color: var(--grey-1); text-decoration: none; transition: color .3s var(--ease); }
.foot a:not(.wordmark):hover, .foot a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* ---------------- text pages: legal texts, /avatar, 404 */
.page .nav { position: relative; }
.doc-wrap {
  width: 100%; max-width: 1160px; margin: 0 auto;
  padding: clamp(40px, 9vh, 96px) var(--pad) clamp(80px, 12vh, 140px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(40px, 6vw, 96px);
}
.doc-head { grid-column: 1 / -1; padding-bottom: clamp(36px, 6vh, 64px); }
.doc-head h1 {
  font-size: clamp(2rem, 8.2vw, 4.5rem); font-weight: 600; letter-spacing: -.036em; line-height: 1.02;
  text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.doc-head .stand { margin-top: 18px; font-size: .9375rem; color: var(--grey-2); font-variant-numeric: tabular-nums; }

.toc { display: none; }
.toc__title { font-size: .8125rem; font-weight: 600; color: var(--grey-1); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent;
  font-size: .875rem; line-height: 1.35; color: var(--grey-2); text-decoration: none;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.toc li li a { padding-left: 30px; font-size: .8125rem; }
.toc li a:hover { color: var(--ink); }
.toc li a.is-current { color: var(--ink); border-left-color: var(--accent); }
.toc ol ol { border: 0; }

.doc {
  max-width: 35em; min-width: 0;
  font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2);
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.doc > * + * { margin-top: 1.05em; }
.doc h2 {
  margin-top: 2.6em; margin-bottom: .2em; scroll-margin-top: 32px;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.2; letter-spacing: -.022em; color: var(--ink);
  hyphens: manual;
}
.doc h3 {
  margin-top: 2em; scroll-margin-top: 32px;
  font-size: 1.1875rem; line-height: 1.3; font-weight: 600; letter-spacing: -.012em; color: var(--ink);
  hyphens: manual;
}
.doc h2 + *, .doc h3 + * { margin-top: .7em; }
.doc > :first-child { margin-top: 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--ink); text-decoration-color: rgba(231, 191, 142, .7); }
.doc a:hover { color: var(--accent); }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li + li { margin-top: .45em; }
.doc ul li::marker { color: var(--grey-2); }
.doc ol li::marker { color: var(--grey-1); font-variant-numeric: tabular-nums; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 3.2em 0; }
.doc blockquote { padding-left: 1em; border-left: 1px solid var(--line); color: var(--grey-1); }

@media (min-width: 1000px) {
  .doc-wrap--toc { grid-template-columns: 15rem minmax(0, 1fr); }
  .doc-wrap--toc .toc { display: block; position: sticky; top: 32px; align-self: start; max-height: calc(100vh - 64px); overflow: auto; padding-bottom: 24px; }
}

/* /avatar: the QR landing page, read on a phone in the store */
.visit .doc-wrap { max-width: 760px; }
.visit .doc-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 32px; align-items: end; }
.visit .doc-head .visit__face { margin-bottom: 8px; }
.visit .doc-head h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.visit__face {
  width: min(64vw, 260px); aspect-ratio: 1;
  -webkit-mask-image: linear-gradient(#000 64%, transparent 98%), linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(#000 64%, transparent 98%), linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.visit__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; }
.visit .doc { font-size: 1.0625rem; }
.visit .doc h2 { font-size: 1.375rem; margin-top: 2.2em; }
.visit .doc ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.visit .doc li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.visit .doc li > strong:first-child { display: block; font-size: 1.25rem; letter-spacing: -.01em; }
@media (min-width: 700px) {
  .visit .doc-head { grid-template-columns: auto minmax(0, 1fr); }
  .visit .doc-head .visit__face { grid-row: 1 / span 2; margin: 0; }
  .visit .doc-head h1, .visit .doc-head .stand { grid-column: 2; }
}

/* 404 */
.lost .doc-head { padding-bottom: 24px; }
.lost .doc p { color: var(--grey-1); }
.lost .doc p + p { margin-top: 28px; }

/* /umfrage: the anonymous survey, filled in on a phone. Answers are radio inputs under round
   tap targets, like the outfit swatches on the start page: the form works without script. */
.survey-page .doc-wrap { max-width: 760px; }
.survey { margin-top: 2.2em; }
.survey [hidden] { display: none !important; }   /* .pill sets display, which would beat [hidden] */
.survey__section + .survey__section { margin-top: 2.6em; }
.survey__note { margin-top: .5em; font-size: .9375rem; line-height: 1.5; color: var(--grey-1); }
.survey__anchors { margin-top: .5em; font-size: .8125rem; line-height: 1.4; color: var(--grey-2); }
.q { margin: 0; padding: 0 0 18px; min-width: 0; border: 0; border-bottom: 1px solid var(--line); }   /* the top padding sits on the legend: in a fieldset it would fall below it */
.q__label { display: block; padding: 18px 0 0; font-size: 1.0625rem; line-height: 1.45; color: var(--ink); }
.q__num { margin-right: .35em; font-size: .8125rem; font-weight: 600; color: var(--grey-2); font-variant-numeric: tabular-nums; }
.scale { display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; }
.scale__opt { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.scale input, .choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.scale__dot {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--grey-2);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.scale--11 .scale__dot { width: 26px; height: 26px; }
.scale__opt:hover .scale__dot { border-color: var(--ink); }
.scale input:checked + .scale__dot { background: var(--accent); border-color: var(--accent); }
.scale input:focus-visible + .scale__dot { outline: 2px solid var(--accent); outline-offset: 3px; }
.scale__val { font-size: .8125rem; color: var(--grey-2); font-variant-numeric: tabular-nums; }
.scale input:checked ~ .scale__val { color: var(--ink); }
.pair__ends, .scale__ends { display: flex; justify-content: space-between; gap: 12px; }
.pair__ends { margin-top: 10px; font-size: .9375rem; color: var(--ink-2); }
.scale__ends { margin-top: 8px; font-size: .8125rem; color: var(--grey-1); }
.choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--grey-2); font-size: .9375rem; color: var(--ink-2);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.choice__opt:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.q--text textarea {
  display: block; width: 100%; min-height: 7.5em; margin-top: 12px; padding: 12px 14px;
  border-radius: 12px; border: 1.5px solid var(--grey-2); background: var(--bg-2); color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.5; resize: vertical;
}
.q--text textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }
.survey__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.survey__send, .survey__nav { margin-top: 32px; }
.survey__nav { display: flex; align-items: center; gap: 20px; }
.survey .pill { border: 0; font-family: inherit; cursor: pointer; }   /* .pill is written for <a>; Weiter and Absenden are buttons */
.survey__back { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.survey__progress { display: flex; align-items: center; gap: 14px; font-size: .875rem; color: var(--grey-1); font-variant-numeric: tabular-nums; }
.survey__progress progress { flex: 1; height: 4px; border: 0; border-radius: 2px; background: var(--line); appearance: none; }
.survey__progress progress::-webkit-progress-bar { background: var(--line); border-radius: 2px; }
.survey__progress progress::-webkit-progress-value { background: var(--ink); border-radius: 2px; }
.survey__progress progress::-moz-progress-bar { background: var(--ink); border-radius: 2px; }
.survey__credits { margin-top: 40px; font-size: .8125rem; line-height: 1.5; color: var(--grey-2); }

@media (max-width: 819px) {
  .nav { padding: 18px 22px; }
  .nav__long { display: none; }
  .nav__short { display: inline; }
  .pill { min-height: 48px; padding: 0 22px; font-size: .9375rem; }
  .textlink { font-size: .9375rem; }
  .doc-wrap { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------------- print: the legal texts on paper */
@media print {
  :root { color-scheme: light; }
  html, body { background: #fff !important; color: #000 !important; }
  .nav, .toc, .foot, .skip, .visit__face { display: none !important; }
  .doc-wrap { display: block; padding: 0; max-width: none; }
  .doc, .doc h2, .doc h3, .doc strong, .doc a { color: #000 !important; }
  .doc { max-width: none; font-size: 11pt; line-height: 1.45; }
  .doc a[href^="http"]::after, .doc a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .doc h2, .doc h3 { break-after: avoid; }
  .doc-head h1 { font-size: 22pt; }
}
