:root {
  --paper: #f5f2eb;
  --paper-deep: #e9e3d9;
  --ink: #342c27;
  --brown: #49372d;
  --muted: #71665f;
  --line: #cfc7bb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
html[data-lang="en"] .lang-de,
html[data-lang="de"] .lang-en { display: none !important; }

.page { width: min(100%, 760px); min-height: 100vh; margin: 0 auto; padding: 0 28px; }
.topbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark { font: 34px/.82 var(--serif); letter-spacing: -2px; }
.wordmark span { display: block; margin-top: 12px; font: 7px/1 var(--sans); letter-spacing: 1.65px; }
.lang-switch { display: flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: 1px; }
.lang-switch button { padding: 10px 3px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.lang-switch button:is(:hover, .active) { color: var(--ink); }
.lang-switch > span { color: var(--line); }

.profile {
  padding: 52px 0 48px;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid var(--line);
}
.portrait { width: 132px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 39%; }
.eyebrow { margin-bottom: 12px; color: var(--muted); font-size: 9px; letter-spacing: 1.45px; text-transform: uppercase; }
.profile h1 { font: 400 42px/1.08 var(--serif); letter-spacing: -.045em; }
.intro { max-width: 470px; margin-top: 15px; color: var(--muted); font-size: 13px; line-height: 1.72; }

.links { padding: 54px 0 62px; }
.links-heading { margin-bottom: 25px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.links-heading h2 { font: 400 31px/1.1 var(--serif); letter-spacing: -.035em; }
.links-heading p { color: var(--muted); font-size: 11px; text-align: right; }
.link-list { border-top: 1px solid var(--line); }
.link-card {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 112px 1fr;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.link-card:hover { background: var(--paper-deep); }
.link-image { position: relative; min-height: 112px; overflow: hidden; background: #d2c9bf; }
.link-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.link-card:hover .link-image img { transform: scale(1.025); }
.link-initial { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font: 36px var(--serif); }
.link-content { min-width: 0; padding: 24px 26px 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.link-label { font: 400 clamp(23px, 4vw, 31px)/1.1 var(--serif); letter-spacing: -.025em; overflow-wrap: anywhere; }
.arrow { position: relative; width: 38px; min-width: 38px; height: 1px; background: var(--ink); transition: transform .25s ease; }
.arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.link-card:hover .arrow { transform: translateX(4px); }
.links-loading, .links-error { padding: 30px 0; color: var(--muted); font: italic 17px/1.5 var(--serif); }

@media (prefers-reduced-motion: no-preference) {
  .link-card { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease, background .25s ease; }
  .link-card[data-visible] { opacity: 1; transform: translateY(0); }
}

.contact {
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--brown);
  color: var(--paper);
}
.contact p { color: #ded2c8; font-size: 11px; letter-spacing: 1.1px; text-transform: uppercase; }
.contact a { min-height: 42px; padding: 10px 0; border-bottom: 1px solid #f5f2eb80; font: 400 24px/1 var(--serif); }
.contact a:hover { border-color: var(--paper); }
.footer { padding: 30px 0 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 9px; }
.footer nav { display: flex; gap: 24px; }
.footer nav a { padding: 7px 0; border-bottom: 1px solid transparent; }
.footer nav a:hover { color: var(--ink); border-color: var(--ink); }

.lang-switch button:focus-visible,
.wordmark:focus-visible,
.link-card:focus-visible,
.contact a:focus-visible,
.footer a:focus-visible { outline: 2px solid #a56641; outline-offset: 4px; }

@media (max-width: 700px) {
  .page { padding: 0 18px; }
  .topbar { min-height: 80px; }
  .wordmark { font-size: 29px; }
  .wordmark span { margin-top: 9px; font-size: 6px; letter-spacing: 1.25px; }
  .profile { padding: 36px 0 35px; grid-template-columns: 92px 1fr; gap: 22px; }
  .portrait { width: 92px; }
  .eyebrow { margin-bottom: 9px; font-size: 7px; letter-spacing: 1px; }
  .profile h1 { font-size: 32px; }
  .intro { margin-top: 10px; font-size: 11px; line-height: 1.6; }
  .links { padding: 38px 0 46px; }
  .links-heading { margin-bottom: 20px; }
  .links-heading h2 { font-size: 27px; }
  .links-heading p { display: none; }
  .link-card { min-height: 84px; grid-template-columns: 84px 1fr; }
  .link-image { min-height: 84px; }
  .link-content { padding: 17px 16px 17px 20px; gap: 14px; }
  .link-label { font-size: clamp(20px, 6vw, 25px); }
  .arrow { width: 24px; min-width: 24px; }
  .contact { padding: 30px 24px; }
  .contact p { font-size: 9px; }
  .contact a { font-size: 21px; }
}

@media (max-width: 460px) {
  .page { padding: 0 14px; }
  .profile { display: block; text-align: center; }
  .portrait { width: 88px; margin: 0 auto 20px; }
  .intro { max-width: 330px; margin: 11px auto 0; }
  .link-card { min-height: 76px; grid-template-columns: 72px 1fr; }
  .link-image { min-height: 76px; }
  .link-content { padding: 14px 12px 14px 16px; }
  .link-label { font-size: 20px; }
  .contact { display: block; text-align: center; }
  .contact a { display: inline-block; margin-top: 12px; }
  .footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer nav { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
