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

:root {
  --paper: #FAF8F5;
  --ink: #171512;
  --muted: #6E6862;
  --line: #E6E0D8;
  --line-strong: #CBC2B6;
  --focus: #F87B21;
  --label: 12.5rem;
  --gap: 2.5rem;
  --side: clamp(1.25rem, 5vw, 3rem);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12100E;
    --ink: #F2EEE8;
    --muted: #A39C93;
    --line: #2A2622;
    --line-strong: #4D463F;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(248, 123, 33, .22); }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--line-strong); transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.page { max-width: 64rem; margin: 0 auto; padding: 0 var(--side); }

/* Hero */
.hero {
  --w: clamp(4.5rem, min(30vw, 50vh - 6rem), 10rem);
  --f: clamp(1.25rem, 2.3vw, 1.625rem);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(2rem, 6vh, 4rem) 0 clamp(2.5rem, 10vh, 6rem);
  text-align: center;
  container-type: inline-size;
}
@supports (width: 1cqi) {
  .hero { --w: clamp(4.5rem, min(100cqi / 3.2, 50svh - 6rem), 10rem); }
}
.mark { display: block; width: clamp(4rem, var(--w) * .68, 5.5rem); height: auto; overflow: visible; }
.hero-id { margin-top: calc(var(--w) * .21); }
.wordmark {
  margin-left: -.08em;
  font-size: var(--w);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.045em;
}
.hero-foot { display: grid; row-gap: calc(var(--w) * .45); margin-top: calc(var(--w) * .25 - var(--f) * .351); }
.fields {
  font-size: var(--f);
  font-weight: 300;
  line-height: 1.45;
}
.contact { line-height: 1.6; }
.contact-name { font-weight: 500; margin-bottom: .2rem; }
.contact a { display: inline-block; padding: .35rem 0; }

/* Profile rows */
.row { display: grid; gap: .5rem; padding: 2rem 0 2.25rem; border-top: 1px solid var(--line); }
.row > h2 { font-size: .9375rem; font-weight: 400; line-height: 1.9; color: var(--muted); }
.body { max-width: 36rem; }
.body p { text-wrap: pretty; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
.body p + p { margin-top: .9rem; }
.lead { font-size: clamp(1.125rem, 1.7vw, 1.375rem); font-weight: 300; line-height: 1.55; }

.facts { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .3rem 1rem; margin-top: 1.5rem; font-size: .9375rem; }
.facts dt { color: var(--muted); }

.name { font-size: 1.25rem; font-weight: 500; line-height: 1.4; }
.role { color: var(--muted); }
.body .name + .role { margin-top: 0; }
.body .role + p { margin-top: 1rem; }

.values li + li { margin-top: 1.4rem; }
.values h3 { font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.values p { color: var(--muted); }

.foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy link";
  gap: .6rem 1rem; padding: 1.75rem 0 2.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted);
}
.foot-copy { grid-area: copy; }
.foot-link { grid-area: link; }

@media (min-width: 50rem) {
  .hero { --w: clamp(4.5rem, min(20vw, 50vh - 6rem), 16rem); align-items: stretch; text-align: left; }
  .mark { width: clamp(3.5rem, var(--w) * .382, 7rem); }
  .hero-id { margin-top: calc(var(--w) * -.01); }
  .wordmark { margin-left: -.045em; }
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gap); align-items: last baseline; margin-top: calc(var(--w) * .2 - var(--f) * .351); }
  .fields { margin-left: -.07em; line-height: 1.4; }
  .contact { line-height: 1.75; text-align: right; }
  .contact-name { margin-bottom: 0; }
  .contact a { padding: 0; }

  .row { grid-template-columns: var(--label) minmax(0, 1fr); column-gap: var(--gap); padding: 3rem 0 3.25rem; align-items: baseline; }
  .body p { hyphens: manual; -webkit-hyphens: manual; }
  .foot { grid-template-columns: var(--label) minmax(0, 1fr) auto; grid-template-areas: "copy . link"; column-gap: var(--gap); }
}
@supports (width: 1cqi) {
  @media (min-width: 50rem) {
    .hero { --w: clamp(4.5rem, min(100cqi / 3.6, 50svh - 6rem), 16rem); }
  }
}

/* Subpages (Impressum, 404) */
.top { padding-top: clamp(1.75rem, 5vh, 2.75rem); }
.home { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.5rem; font-weight: 500; letter-spacing: -.035em; line-height: 1; text-decoration: none; }
.home img { width: 2.25rem; height: 2.25rem; }
.page-title { margin: clamp(3rem, 11vh, 6rem) 0 clamp(2rem, 6vh, 3.5rem); font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.address { font-style: normal; }

.nf {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  padding: clamp(2rem, 6vh, 4rem) 0 clamp(2.5rem, 10vh, 6rem);
  text-align: center;
}
.nf .mark { width: clamp(7rem, 26vw, 10rem); }
.nf h1 { margin-top: clamp(2rem, 6vh, 3rem); font-size: clamp(2rem, 7vw, 3.25rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.nf p { margin-top: .75rem; color: var(--muted); text-wrap: balance; }
.nf .back { margin-top: clamp(1.5rem, 4vh, 2.25rem); font-size: 1.125rem; font-weight: 300; padding: .35rem 0; }

/* Logo */
.z-trace { display: none; fill: none; stroke: url(#zg); stroke-width: 21.25; }
.z-ghost { opacity: .14; }
@media (prefers-reduced-motion: no-preference) {
  .z-trace { display: inline; stroke-dasharray: 100; stroke-dashoffset: 100; animation: z-draw .9s cubic-bezier(.65, 0, .35, 1) .1s forwards; }
  .z-ring { opacity: 0; animation: z-show .2s linear .95s forwards; }
  .z-piece { opacity: 0; animation: z-slide .95s cubic-bezier(.16, 1, .3, 1) forwards; }
  .z-a, .z-b { --dx: 18px; --dy: -31.18px; }
  .z-c, .z-d { --dx: -18px; --dy: 31.18px; }
  .z-b { animation-delay: .45s; }
  .z-c { animation-delay: .55s; }
  .z-a { animation-delay: .68s; }
  .z-d { animation-delay: .78s; }
  .z-sheen { animation: z-sheen 1.1s cubic-bezier(.45, 0, .25, 1) 1.5s forwards; }
  .z-ghost { opacity: 0; animation: z-ghost .8s ease-out 1.25s forwards; }
  .nf h1, .nf p, .nf .back { opacity: 0; animation: rise .7s cubic-bezier(.16, 1, .3, 1) 1s forwards; }
  .nf p { animation-delay: 1.1s; }
  .nf .back { animation-delay: 1.2s; }

  .wordmark {
    clip-path: polygon(-.1em -.05em, -.1em -.05em, -.62em calc(100% + .05em), -.62em calc(100% + .05em));
    animation: wipe 1s cubic-bezier(.65, 0, .35, 1) .85s forwards;
  }
  .fields li { opacity: 0; animation: rise .7s cubic-bezier(.16, 1, .3, 1) forwards; }
  .fields li:nth-child(1) { animation-delay: 1.3s; }
  .fields li:nth-child(2) { animation-delay: 1.38s; }
  .fields li:nth-child(3) { animation-delay: 1.46s; }
  .fields li:nth-child(4) { animation-delay: 1.54s; }
  .contact { opacity: 0; animation: rise .7s cubic-bezier(.16, 1, .3, 1) 1.7s forwards; }
}
@keyframes z-draw { to { stroke-dashoffset: 0; } }
@keyframes z-show { to { opacity: 1; } }
@keyframes z-ghost { to { opacity: .14; } }
@keyframes z-slide { from { opacity: 0; transform: translate(var(--dx), var(--dy)); } 35% { opacity: 1; } to { opacity: 1; transform: translate(0, 0); } }
@keyframes z-sheen { to { transform: translateX(430px); } }
@keyframes wipe { to { clip-path: polygon(-.1em -.05em, calc(100% + .62em) -.05em, calc(100% + .1em) calc(100% + .05em), -.62em calc(100% + .05em)); } }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }

@media print {
  :root { --paper: #fff; --ink: #000; --muted: #555; --line: #ccc; }
  .hero { display: block; min-height: 0; padding: 0 0 2rem; }
  .wordmark { font-size: 5rem; }
  a { text-decoration: none; }
}
