@font-face {
  font-family: Hedvig;
  src: url("heading.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Source;
  src: url("body.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --paper: #f6f4ed;
  --ink: #263d40;
  --deep: #182e31;
  --sage: #a8bba1;
  --pale: #e8ede3;
  --muted: #485d58;
  --line: #b9c6b7;
  --heading: Hedvig, Georgia, serif;
  --body: Source, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.125rem/1.55 var(--body); }
.wrap { width: min(1140px, 100% - clamp(2rem, 8vw, 7rem)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: absolute; z-index: 1; inset: .5rem auto auto .5rem; padding: .6rem 1rem; background: var(--paper); }
.skip:not(:focus) { clip-path: inset(50%); }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header { min-height: 96px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 650; line-height: 1.2; }
.brand small { display: block; margin-top: .3rem; font-weight: 400; }
.monogram { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--line); font: 1.05rem var(--heading); }
nav { display: flex; flex-wrap: wrap; column-gap: clamp(.75rem, 3vw, 2rem); }
nav a, .footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { background: var(--ink); color: var(--paper); }
.hero-grid, .two-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.hero-grid { padding-block: clamp(3rem, 7vw, 6rem); }
h1, h2, h3, h4 { margin: 0; font-family: var(--heading); font-weight: 400; line-height: 1.13; overflow-wrap: break-word; }
h1 { font-size: clamp(3.15rem, 6.6vw, 6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.45rem, 5vw, 4.35rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.025em; }
h4 { font-size: 1.38rem; }
.role { margin: 1rem 0; color: var(--sage); font: clamp(1.4rem, 2.5vw, 2rem)/1.25 var(--heading); }
.lead { max-width: 29rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap:  .5rem 1.35rem; margin-top: 1.75rem; }
.button, .text-link { display: inline-flex; align-items: center; min-height: 48px; font-size: 1rem; font-weight: 650; }
.button { padding: .65rem 1.15rem; background: var(--sage); color: var(--deep); text-decoration: none; }
.button:hover { background: var(--paper); }
.hero .button:focus-visible { outline-color: var(--paper); }
.portrait { aspect-ratio: 1; padding: 7%; margin: 0; border: 1px solid var(--sage); border-radius: 50%; width: min(100%, 440px); justify-self: end; }
.portrait-frame { aspect-ratio: 1; position: relative; overflow: clip; border-radius: 50%; }
.portrait img { position: absolute; width: 126%; height: auto; left: -13%; top: -11.5%; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.field { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1rem, 6vw, 5rem); margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.field-intro p, .topics p, .profile small { color: var(--muted); }
.topics article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.topics article:first-child { padding-top: 0; }
.topic-icon svg { width: 28px; height: 28px; }
.topics p { font-size: 1rem; margin: .35rem 0 0; }
.profile { background: var(--pale); }
.two-columns { align-items: start; }
.profile p, .contact p { max-width: 43ch; }
.credential { border-left: 1px solid var(--line); padding-left: 2rem; }
.contact { background: var(--deep); color: var(--paper); }
.contact p { margin: 0 0 1rem; }
.contact .button:focus-visible { outline-color: var(--paper); }
.footer { min-height: 85px; flex-wrap: wrap; font-size: 1rem; }
@media (max-width: 680px) {
  .header { flex-wrap: wrap; gap: .35rem; padding-block: .9rem .35rem; }
  .header nav { width: 100%; }
  .hero-grid, .field, .two-columns { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: min(80%, 300px); justify-self: center; }
  .credential { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.hero h1 { max-width: 12ch; font-size: clamp(2.8rem, 5.7vw, 5.3rem); }
.hero .lead { max-width: 40rem; font-size: 1.2rem; }
.hero-detail { border-top: 1px solid var(--sage); border-bottom: 1px solid var(--sage); padding: 2rem 0; max-width: 360px; justify-self: end; }
.hero-detail span { color: var(--sage); font-size: 1rem; }
.hero-detail p { font: 400 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--heading); margin: 1rem 0 1.5rem; }
.profile-portrait { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1rem; }
.profile-portrait .portrait-frame { width: 100px; flex: none; }
.profile-portrait img { position: absolute; width: 126%; height: auto; left: -13%; top: -11.5%; }
.profile-portrait figcaption { font-weight: 650; }
@media (max-width: 680px) { .hero-detail { justify-self: stretch; max-width: none; } }

/* Refined surfaces and interaction states */
:root {
  --soft: #d9e3d5;
  --line-dark: #779287;
  --surface: #eff2e9;
}
.header { min-height: 104px; }
.monogram { border-radius: 50%; background: var(--ink); color: var(--paper); border-color: var(--ink); }
nav { align-items: center; }
nav a { position: relative; transition: color 180ms ease; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; bottom: 4px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
nav a:not(.nav-cta):hover { text-decoration: none; }
nav .nav-cta { min-height: 46px; padding: 0 1.25rem; border: 1px solid var(--ink); border-radius: 999px; transition: background-color 180ms ease, color 180ms ease; }
nav .nav-cta:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.hero { position: relative; overflow: clip; background: var(--deep); }
.hero::before { content: ""; position: absolute; inset: 0 0 0 62%; background: var(--ink); transform: skewX(-12deg) translateX(20%); opacity: .75; pointer-events: none; }
.hero-grid { position: relative; min-height: 570px; }
.hero h1 { text-wrap: balance; }
.hero-kicker, .section-label { margin: 0 0 1.3rem; font-size: .95rem; font-weight: 650; }
.hero-kicker { color: var(--sage); }
.hero .lead { color: var(--soft); line-height: 1.7; }
.button { border-radius: 999px; padding: .85rem 1.5rem; transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgb(0 0 0 / .12); }
.button:active { transform: translateY(0); }
.text-link { text-decoration-thickness: 1px; transition: color 180ms ease; }
.text-link:hover { color: var(--sage); }
.hero-detail { width: 100%; max-width: 390px; padding: 2rem; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 4px 48px 4px 4px; box-shadow: 0 24px 60px rgb(0 0 0 / .12); }
.hero-detail a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; text-decoration-thickness: 1px; }
.hero-detail a:hover { color: var(--sage); }
.section-label { color: var(--muted); }
.field { gap: clamp(2rem, 7vw, 6rem); margin-top: 2.5rem; padding-top: 2.5rem; }
.field-intro p { max-width: 48ch; line-height: 1.7; }
.topics { display: grid; gap: .75rem; align-content: start; }
.topics article, .topics article:first-child { grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); background: var(--surface); border-radius: 4px 24px 4px 4px; transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease; }
.topics article:hover { transform: translateY(-3px); background: var(--pale); border-color: var(--muted); }
.topic-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--soft); }
.topic-icon svg { width: 25px; height: 25px; }
.profile .two-columns { align-items: center; }
.profile-portrait .portrait-frame { width: 116px; border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.credential { padding: 2rem; border: 1px solid var(--line); border-radius: 4px 32px 4px 4px; background: var(--paper); }
.credential p { font: 400 1.4rem/1.35 var(--heading); }
.contact .button { margin-top: .5rem; }
.footer { gap: 1rem 2rem; padding-block: 1rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-grid > div { animation: entrance 650ms ease both; }
  .hero-grid > div + div { animation-delay: 120ms; }
  @keyframes entrance { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 680px) {
  .header { padding-block: 1rem; }
  .header nav { justify-content: space-between; gap: .25rem; }
  nav .nav-cta { padding-inline: 1rem; }
  .hero-grid { min-height: 0; }
  .hero::before { inset: 45% 0 0 25%; }
  .hero-detail { max-width: none; padding: 1.5rem; }
  .credential { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Header identity */
.header { min-height: 110px; gap: 2rem; }
.brand { gap: 1rem; flex-shrink: 0; }
.brand-mark { display: block; width: 58px; height: 58px; color: var(--ink); flex: none; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-mark text { fill: currentColor; font: 400 19px var(--heading); letter-spacing: -.06em; }
.brand-name { display: flex; flex-direction: column; gap: .18rem; font-size: .83rem; font-weight: 450; color: var(--muted); }
.brand-name strong { color: var(--ink); font: 400 1.22rem/1.2 var(--heading); }
.header nav { gap: clamp(1.2rem, 3vw, 2.8rem); }
.header nav a:not(.nav-cta) { color: var(--muted); font-weight: 600; }
.header nav a:not(.nav-cta):hover { color: var(--ink); }
.header nav .nav-cta { padding: 0 1.45rem; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.header nav .nav-cta:hover { background: var(--deep); color: var(--paper); }
@media (max-width: 680px) {
  .header { min-height: 0; padding-block: 1rem .65rem; gap: .55rem; }
  .brand-mark { width: 50px; height: 50px; }
  .brand-name strong { font-size: 1.1rem; }
  .header nav { gap: .5rem; }
  .header nav a { font-size: .95rem; }
  .header nav .nav-cta { min-height: 42px; padding-inline: 1rem; }
}

/* Additional depth and a clearer editorial hierarchy */
:root { --hero-mid: #345350; --cream: #fdfcf7; --accent-soft: #d6e2cd; }
.header { min-height: 104px; }
.brand-mark { width: 62px; height: 62px; }
.hero { background: linear-gradient(115deg, var(--deep), var(--ink) 68%, var(--hero-mid)); }
.hero::before { inset: -25% -10% -25% 57%; transform: rotate(19deg); background: transparent; border: 1px solid var(--line-dark); border-radius: 50%; opacity: .35; }
.hero::after { content: ""; position: absolute; width: 33rem; height: 33rem; right: -8rem; bottom: -22rem; border: 1px solid var(--line-dark); border-radius: 50%; opacity: .25; pointer-events: none; }
.hero-grid { z-index: 1; min-height: 640px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.hero h1 { max-width: 13ch; font-size: clamp(3rem, 6vw, 6.1rem); line-height: 1.04; }
.hero .lead { max-width: 35rem; margin-top: 1.8rem; }
.hero-kicker { display: flex; align-items: center; gap: .8rem; }
.hero-kicker::before { content: ""; width: 2rem; height: 1px; background: var(--sage); }
.hero-detail { align-self: end; margin-bottom: 1rem; padding: 2.25rem; background: var(--cream); color: var(--ink); border: 0; border-radius: 2px 36px 2px 2px; box-shadow: 0 30px 80px rgb(0 0 0 / .16); }
.hero-detail span { color: var(--muted); }
.hero-detail p { font-size: clamp(1.7rem, 2.7vw, 2.5rem); }
.hero-detail a:hover { color: var(--muted); }
.detail-rule { width: 3rem; height: 2px; background: var(--sage); margin: 1.4rem 0; }
#fachgebiete > h2 { max-width: 15ch; }
.field { margin-top: 3.5rem; }
.field-intro h3 { max-width: 17ch; }
.topics { gap: 1rem; }
.topics article, .topics article:first-child { padding: 1.65rem; background: var(--cream); border-color: transparent; box-shadow: 0 8px 28px rgb(38 61 64 / .06); }
.topics article:hover { box-shadow: 0 14px 35px rgb(38 61 64 / .1); }
.topic-icon { background: var(--pale); }
.approach { background: var(--sage); color: var(--deep); }
.approach-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 4rem; padding-block: clamp(4rem, 9vw, 8rem); }
.approach .section-label { grid-column: 1 / -1; }
.approach h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.approach-inner > p:last-child { align-self: end; max-width: 30ch; margin: 1rem 0 .25rem; font-size: 1.25rem; }
.profile .section { padding-block: clamp(4rem, 9vw, 8rem); }
.credential { padding: clamp(2rem, 4vw, 3rem); border: 0; box-shadow: 0 16px 45px rgb(38 61 64 / .07); }
.contact .section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.contact h2 { font-size: clamp(3rem, 6vw, 5.3rem); }
@media (max-width: 680px) {
 .hero-grid { min-height: 0; grid-template-columns: minmax(0, 1fr); }
 .hero-detail { margin-bottom: 0; padding: 1.6rem; }
 .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
 .approach-inner { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
 .approach .section-label { grid-column: auto; }
 .topics article, .topics article:first-child { padding: 1.25rem; }
}

/* Identity and navigation */
:root { --logo-accent: #c9a56f; --header-rule: #cfd8cb; }
.header { position: relative; }
.brand-mark { width: 62px; height: 62px; }
.logo-ground { fill: var(--ink); }
.logo-building { stroke: var(--paper); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.logo-accent { stroke: var(--logo-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark text { fill: var(--paper); font: 400 17px var(--heading); letter-spacing: -.04em; }
@media (max-width: 680px) {
  .header { padding-top: 1rem; padding-bottom: 0; gap: .75rem; }
  .brand-mark { width: 56px; height: 56px; }
  .header nav { border-top: 1px solid var(--header-rule); padding: .65rem 0; }
}

.certificate-link { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.5rem; min-height: 44px; color: var(--ink); font-weight: 650; text-underline-offset: .3em; }
.certificate-link:hover { color: var(--muted); }

.linkedin-icon { width: 22px; height: 22px; flex: none; }
.contact .button { gap: .7rem; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1); }
  .motion-ready.is-visible { opacity: 1; transform: translateY(0); }
  .topics article:nth-child(2) { transition-delay: 70ms; }
  .topics article:nth-child(3) { transition-delay: 140ms; }
  .brand-mark { transition: transform 260ms ease; }
  .brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }
  .profile-portrait img { transition: transform 400ms ease; }
  .profile-portrait:hover img { transform: scale(1.06); }
  .hero-detail { transition: transform 300ms ease, box-shadow 300ms ease; }
  .hero-detail:hover { transform: translateY(-5px); box-shadow: 0 36px 85px rgb(0 0 0 / .2); }
}

/* Motion inspired by staggered reveals and responsive controls. */
.button { gap: .8rem; }
.button-arrow, .link-arrow { width: 19px; height: 19px; flex: none; transition: transform 240ms cubic-bezier(.2,.8,.2,1); }
.hero-detail a { gap: .55rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover .button-arrow, .hero-detail a:hover .link-arrow { transform: translateX(5px); }
  .topics article:hover .topic-icon svg { transform: translateY(-3px) scale(1.07); }
}
.topic-icon svg { transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker::before { transform-origin: left; animation: line-in 700ms cubic-bezier(.2,.7,.2,1) both; }
  .detail-rule { transform-origin: left; animation: line-in 850ms 250ms cubic-bezier(.2,.7,.2,1) both; }
  .topics article { transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1), border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease; }
  @keyframes line-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

.building-image { margin-block: clamp(2rem, 5vw, 4rem) 0; }
.building-image img { display: block; width: 100%; height: clamp(220px, 35vw, 430px); object-fit: cover; border-radius: 3px 44px 3px 3px; }
.building-image figcaption { margin-top: .6rem; color: var(--muted); font-size: .85rem; }

.topics article, .topics article:first-child { grid-template-columns: 52px minmax(0, 1fr); }
.topic-image { display: block; grid-column: 1 / -1; width: 100%; height: 170px; object-fit: cover; border-radius: 2px 18px 2px 2px; }
.image-note { font-size: .85rem; }
@media (max-width: 680px) { .topic-image { height: 155px; } }
/* Keep the photograph above the icon and the full-width text column. */
.topics article > .topic-image { grid-row: 1; grid-column: 1 / -1; }
.topics article > .topic-icon { grid-row: 2; grid-column: 1; }
.topics article > div { grid-row: 2; grid-column: 2; min-width: 0; }
.topics h4 { overflow-wrap: normal; hyphens: auto; }
/* Consistent rounded corners on cards and photographs. */
.hero-detail, .topics article, .topics article:first-child, .credential { border-radius: 24px; }
.topic-image { border-radius: 14px; }
.building-image img { border-radius: 24px; }

.model-section { background: var(--pale); }
.model-section h2 { max-width: 18ch; }
.model-intro { max-width: 55ch; margin-bottom: 2rem; }
.model-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 2rem; align-items: center; }
.model-stage { min-height: 430px; border-radius: 24px; background: var(--soft); display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.model-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.model-stage canvas:active { cursor: grabbing; }
.model-loading { padding: 1rem; }
.model-controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.model-controls button { font: 600 1rem var(--body); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem; cursor: pointer; }
.model-controls button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.model-controls button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.model-description { margin-top: 2rem; }
.model-description p { max-width: 45ch; }
@media (max-width: 680px) { .model-layout { grid-template-columns: 1fr; } .model-stage { min-height: 320px; } }

.model-stage {
  position: relative;
  min-height: 0;
  height: clamp(300px, 40vw, 480px);
  background: radial-gradient(ellipse at 50% 40%, var(--paper), var(--soft));
}
.model-stage canvas { position: absolute; inset: 0; }
.model-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 650 1rem var(--body);
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / .26);
}
.model-marker[aria-pressed="true"] { background: var(--logo-accent); color: var(--deep); }
.model-marker:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .model-marker { transition: color 220ms ease, background-color 220ms ease; }
}

.model-reset {
  margin-top: .8rem;
  min-height: 44px;
  padding: .4rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 650 1rem var(--body);
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.model-reset:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
