@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-variable.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-400.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;
}

* { box-sizing: border-box; }

html {
  background: #FAFAF8;
}

body {
  margin: 0;
  background: #FAFAF8;
  color: #1A1A1A;
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding: 0 24px;
}

a {
  color: #1A1A1A;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page {
  max-width: 780px;
  margin: 0 auto;
}

.section {
  border-top: 1px solid #D9D4CE;
  padding: 64px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A09A94;
  margin-bottom: 32px;
}

/* Person */

.person {
  border-top: none;
  padding: 96px 0 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.person-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
  background: #F2F0EC;
}

.person-photo img {
  position: absolute;
  width: 208px;
  height: auto;
  left: -18px;
  top: -1px;
  filter: saturate(0.85);
}

.person-info {
  flex: 1 1 280px;
  min-width: 0;
}

.person-info h1 {
  margin: 0 0 10px;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.person-info p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #6B6560;
}

/* Publikationen */

.pub-list-wrap {
  overflow: hidden;
}

.pub-list {
  list-style: none;
  margin: -1px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.pub-list li {
  border-top: 1px solid #D9D4CE;
}

.pub-list a {
  display: block;
  padding: 20px 0;
}

.pub-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.pub-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  flex: 1 1 260px;
  min-width: 0;
}

.pub-date {
  font-size: 13px;
  color: #6B6560;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.pub-summary {
  font-size: 14px;
  color: #6B6560;
  line-height: 1.5;
  margin-top: 6px;
  max-width: 600px;
}

/* Kontakt */

.mail-reveal-button {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #F7F5F2;
  background: #1A1A1A;
  border: 1px solid #1A1A1A;
  border-radius: 0;
  padding: 11px 24px;
  cursor: pointer;
}

.mail-reveal-button:hover {
  background: #000;
  border-color: #000;
  text-decoration: none;
}

.mail-reveal-hint {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6B6560;
  max-width: 520px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 420px;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-field { display: flex; flex-direction: column; gap: 8px; }

.contact-label { font-size: 13px; font-weight: 500; color: #6B6560; }

.contact-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #1A1A1A;
  background: #FAFAF8;
  border: 1px solid #D9D4CE;
  border-radius: 0;
  padding: 10px 12px;
}

.contact-input:focus { outline: none; border-color: #1A1A1A; }

textarea.contact-input { resize: vertical; min-height: 96px; }

.contact-success-title { margin: 0; font-size: 18px; font-weight: 500; color: #1A1A1A; }

.mail-pgp-hint {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6B6560;
}

[hidden] { display: none !important; }

/* Kontakt-Unterseite */

.back-nav {
  padding: 48px 0 0;
}

.back-nav a {
  font-size: 14px;
  color: #6B6560;
}

/* Prose (Datenschutz etc.) */

.prose {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.7;
  color: #3A3530;
}

.prose p { margin: 0 0 20px; }

.prose h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #A09A94;
  margin: 40px 0 12px;
}

.prose a { color: #1A1A1A; text-decoration: underline; text-underline-offset: 3px; }

/* Impressum */

.impressum {
  padding: 64px 0 96px;
  font-size: 16px;
  line-height: 1.7;
  color: #6B6560;
}

.impressum p {
  margin: 0 0 16px;
  max-width: 520px;
}

.impressum-contact {
  font-size: 14px;
  color: #6B6560;
}

.impressum address {
  margin: 0;
  font-style: normal;
  color: #1A1A1A;
}
