:root {
  --bg: #ffffff;
  --text: #26241f;
  --muted: #75716a;
  --accent: #8c6a3c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.page {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 1240px;
  min-height: calc(100vh - 8rem);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 3rem) clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 4vw, 4rem);
}

.portrait { margin: 0; }
.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1 span { display: block; }

.role {
  margin: 1rem 0 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.statement {
  max-width: 32rem;
  margin: 2.5rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
}

.credits {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.75rem 1.5rem;
  max-width: 40rem;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 300;
}
.credits dt { color: var(--muted); }
.credits dd { margin: 0; font-weight: 400; }

section.contact {
  max-width: 40rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e4e1db;
}
.credits a { color: var(--text); }
.credits a:hover { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem clamp(1.5rem, 4vw, 4rem) 0;
  display: flex;
  justify-content: flex-end;
  font-size: 0.875rem;
}
.bar nav { display: flex; gap: 1rem; }
.bar a { color: var(--muted); text-decoration: none; }
.bar a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.3em; }
.bar a:hover { color: var(--accent); }

.footer {
  display: flex;
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem) 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Ein einziger Auftritt beim Laden */
@keyframes in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.portrait { animation: in 1.1s ease-out both; }
h1 { animation: rise 0.9s 0.35s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .portrait, h1 { animation: none; }
}

@media (max-width: 820px) {
  .page {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
  }
  .portrait { max-width: 500px; }
  .credits { grid-template-columns: 1fr; gap: 0.15rem; }
  .credits dd { margin-bottom: 0.9rem; }
}
