/* ==========================================================================
   prof-voland.de – zentrales Stylesheet
   Gilt für alle Seiten (DE und EN). Keine externen Ressourcen:
   Schriften liegen lokal unter assets/fonts (SIL Open Font License).
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, DSGVO-freundlich) ---------- */
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Spectral";
  src: url("../fonts/spectral-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/fira-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/fira-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/fira-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Gestaltungs-Token ---------- */
:root {
  /* Farben – abgeleitet aus Gestein und Mineral */
  --paper:      #FAFAF8;  /* Papierweiß, neutral */
  --stone:      #ECEFEC;  /* Kalkstein, kühles Grau für Bänder */
  --rule:       #D2D8D4;  /* Linien, Rahmen */
  --graphite:   #23292C;  /* Fließtext, Überschriften */
  --slate:      #55605E;  /* Sekundärtext */
  --malachite:  #1E5B4B;  /* Links, Schaltflächen, Akzent */
  --malachite-dark: #143F34;
  --sulfur:     #D9A80F;  /* einziger Signalton: aktive Seite, Element-Hover */
  --white:      #FFFFFF;

  /* Schrift */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Fira Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Typografische Skala (Basis 18 px, Verhältnis ca. 1,2) */
  --fs-small: 0.8125rem;  /* 13 px  – Metadaten */
  --fs-ui:    0.9375rem;  /* 15 px  – Navigation, Schaltflächen */
  --fs-body:  1.125rem;   /* 18 px  – Fließtext */
  --fs-h3:    1.25rem;    /* 20 px */
  --fs-h2:    clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-h1:    clamp(2.125rem, 1.6rem + 2.2vw, 3.125rem);

  /* Raster */
  --wrap: 72rem;          /* 1152 px */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --measure: 66ch;
  --space-section: clamp(3rem, 2rem + 4vw, 5.5rem);
  --radius: 3px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--serif);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums proportional-nums;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0;
  hyphens: manual;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

p { margin: 0 0 1em; }

a { color: var(--malachite); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--malachite-dark); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--malachite);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: var(--gutter); top: -10rem;
  background: var(--graphite); color: var(--white);
  font-family: var(--sans); font-size: var(--fs-ui);
  padding: 0.6rem 1rem; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--white); }

/* ---------- Kopfbereich ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.site-name {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--graphite);
  margin-right: auto;
  line-height: 1.15;
}
.site-name:hover { color: var(--graphite); }
.site-name__person {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1875rem;
}
.site-name__field {
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--slate);
  letter-spacing: 0.01em;
  margin-top: 0.2rem;
}

.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}
.site-nav a {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fs-ui);
  font-weight: 500;
  color: var(--graphite);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--malachite); border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--sulfur); }

.lang-switch {
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}
.lang-switch:hover { color: var(--malachite); border-color: var(--malachite); }
.lang-switch__short { display: none; }

.menu-toggle { display: none; }

/* Mobile Navigation: ohne JavaScript bleibt die Navigation sichtbar */
@media (max-width: 66rem) {
  .site-header .wrap { flex-wrap: wrap; gap: 0.75rem 1rem; padding-block: 0.85rem; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--sans); font-size: var(--fs-ui); font-weight: 500;
    color: var(--graphite); background: transparent;
    border: 1px solid var(--rule); border-radius: var(--radius);
    padding: 0.4rem 0.75rem; cursor: pointer;
  }
  .menu-toggle__bars { width: 1rem; height: 2px; background: currentColor; position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  }
  .menu-toggle__bars::before { top: -5px; }
  .menu-toggle__bars::after  { top: 5px; }

  .site-name { flex: 1 1 auto; min-width: 0; }
  .lang-switch { order: 1; }
  .menu-toggle { order: 2; }
  .site-nav { order: 3; flex-basis: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a { display: block; padding: 0.8rem 0; border-bottom: 0; }
  .site-nav a[aria-current="page"] { border-left: 3px solid var(--sulfur); padding-left: 0.75rem; }
}

/* ---------- Einstieg (Hero) ---------- */
.intro {
  padding-block: var(--space-section) calc(var(--space-section) * 0.8);
}
.intro .wrap {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  align-items: start;
}
.intro__portrait {
  margin: 0;
}
.intro__portrait img {
  width: 11rem;
  aspect-ratio: 222 / 280;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--stone);
}
.intro__text { max-width: 38rem; }
.intro__text h1 { margin-bottom: 0.9rem; }
.intro__lead {
  hyphens: manual;
  -webkit-hyphens: manual;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--graphite);
  margin-bottom: 1.75rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fs-ui);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--malachite);
  line-height: 1.2;
}
.button--primary { background: var(--malachite); color: var(--white); }
.button--primary:hover { background: var(--malachite-dark); border-color: var(--malachite-dark); color: var(--white); }
.button--quiet { background: transparent; color: var(--malachite); }
.button--quiet:hover { background: var(--white); }

/* Elemente-Tafel: die Elemente, mit denen sich die Arbeiten befassen */
.elements { margin: 0; }
.elements__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 5.25rem);
  gap: 0.5rem;
}
.element {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 5.25rem;
  height: 5.25rem;
  padding: 0.35rem 0.45rem 0.4rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--graphite);
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.element::before {
  content: "";
  position: absolute; left: -1px; right: -1px; top: -1px;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: transparent;
  transition: background-color 120ms ease;
}
.element__number {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--slate);
  line-height: 1;
}
.element__symbol {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
  align-self: center;
  justify-self: center;
}
.element__name {
  font-family: var(--sans);
  font-size: 0.6875rem;
  line-height: 1;
  text-align: center;
  color: var(--slate);
}
.element:hover, .element:focus-visible {
  background: var(--malachite);
  border-color: var(--malachite);
  color: var(--white);
}
.element:hover::before, .element:focus-visible::before { background: var(--sulfur); }
.element:hover .element__number, .element:hover .element__name,
.element:focus-visible .element__number, .element:focus-visible .element__name { color: rgba(255,255,255,0.85); }

.elements__caption {
  font-family: var(--sans);
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--slate);
  max-width: 16.75rem;
  margin-top: 0.75rem;
}

@media (max-width: 60rem) {
  .intro .wrap { grid-template-columns: 9rem minmax(0, 1fr); }
  .intro__portrait img { width: 9rem; }
  .elements { grid-column: 1 / -1; }
  .elements__grid { grid-template-columns: repeat(9, minmax(0, 5.25rem)); }
  .elements__caption { max-width: none; }
}
@media (max-width: 40rem) {
  .lang-switch__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lang-switch__short { display: inline; }
  .site-name__person { font-size: 1.0625rem; }
  .intro .wrap { grid-template-columns: 1fr; }
  .intro__portrait img { width: 7.5rem; }
  .intro__lead { font-size: 1.125rem; }
  .elements__grid { grid-template-columns: repeat(3, 5.25rem); }
}

/* ---------- Bereiche des Archivs ---------- */
.archive {
  background: var(--stone);
  padding-block: calc(var(--space-section) * 0.75);
}
.archive__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.archive__item { border-top: 2px solid var(--graphite); padding-top: 1rem; }
.archive__item h2 { font-size: var(--fs-h3); margin-bottom: 0.35rem; }
.archive__item h2 a { color: var(--graphite); text-decoration: none; }
.archive__item h2 a:hover { color: var(--malachite); text-decoration: underline; }
.archive__count {
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--malachite);
  font-variant-numeric: lining-nums;
  margin-bottom: 0.5rem;
}
.archive__item p:last-child { font-size: 1rem; line-height: 1.5; color: var(--slate); margin: 0; }

@media (max-width: 60rem) { .archive__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .archive__list { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Abschnitte allgemein ---------- */
.section { padding-block: var(--space-section) 0; }
.section:last-of-type { padding-bottom: var(--space-section); }
.section__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: 2rem;
}
.section__head p { margin: 0; max-width: var(--measure); color: var(--slate); }
.section__intro { max-width: 40rem; }
.section__intro h2 { margin-bottom: 0.5rem; }
.more-link { font-family: var(--sans); font-size: var(--fs-ui); font-weight: 500; white-space: nowrap; }

/* ---------- Ausgewählte Schriften ---------- */
.works {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 1rem + 3vw, 4rem);
}
.work {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--rule);
}
.work__image {
  width: 5rem; height: 5rem;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--stone);
}
.work__meta {
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--slate);
  font-variant-numeric: lining-nums;
  margin: 0 0 0.3rem;
}
.work h3 { margin-bottom: 0.5rem; }
.work__summary { font-size: 1rem; line-height: 1.55; color: var(--slate); margin-bottom: 0.75rem; }
.work__link {
  font-family: var(--sans);
  font-size: var(--fs-ui);
  font-weight: 500;
  display: inline-flex; align-items: baseline; gap: 0.45rem;
}
.work__file { font-weight: 400; color: var(--slate); font-size: var(--fs-small); }
.pdf-badge {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--white); background: var(--malachite);
  border-radius: 2px; padding: 0.1rem 0.3rem;
  position: relative; top: -0.1em;
}

@media (max-width: 52rem) { .works { grid-template-columns: 1fr; } }

.usage-note {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem; line-height: 1.55; color: var(--slate);
  max-width: var(--measure);
}

/* ---------- Werdegang ---------- */
.vita {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem clamp(2rem, 1rem + 3vw, 4rem);
}
.vita h3 {
  font-size: 1.0625rem;
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 1rem;
}
.timeline { margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.timeline__entry {
  position: relative;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0 0 1.1rem 1.25rem;
}
.timeline__entry::before {
  content: "";
  position: absolute; left: -6px; top: 0.55rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--malachite);
}
.timeline dt {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-ui);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--malachite);
  padding-top: 0.15rem;
}
.timeline dd { margin: 0; font-size: 1.0625rem; line-height: 1.55; }

@media (max-width: 52rem) { .vita { grid-template-columns: 1fr; } }
@media (max-width: 30rem) {
  .timeline__entry { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* ---------- Fußbereich ---------- */
.site-footer {
  background: var(--graphite);
  color: #D9DEDB;
  font-family: var(--sans);
  font-size: var(--fs-ui);
  line-height: 1.6;
  padding-block: 3rem 2rem;
  margin-top: var(--space-section);
}
.site-footer a { color: var(--white); text-decoration-color: rgba(255,255,255,0.4); }
.site-footer a:hover { text-decoration-color: var(--sulfur); }
.site-footer :focus-visible { outline-color: var(--sulfur); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer__name { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem; }
.site-footer h2 { font-family: var(--sans); font-size: var(--fs-ui); font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  font-size: var(--fs-small); color: #AEB6B2;
}
.footer__bottom p { margin: 0; }

@media (max-width: 52rem) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Druck ---------- */
@media print {
  .site-nav, .menu-toggle, .lang-switch, .elements, .actions, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .archive, .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
  a[href^="http"]::after, a[href$=".pdf"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */

/* ---------- Seitenkopf ---------- */
.page-intro {
  padding-block: calc(var(--space-section) * 0.75) 2rem;
  border-bottom: 1px solid var(--rule);
}
.page-intro h1 { max-width: 48rem; margin-bottom: 1rem; }
.page-intro__lead { max-width: var(--measure); font-size: 1.1875rem; line-height: 1.55; }
.page-intro__lead p:last-child { margin-bottom: 0; }
.page-intro__kicker {
  font-family: var(--sans); font-size: var(--fs-ui); font-weight: 500;
  margin: 0 0 1rem;
}

.jump { margin-top: 1.5rem; }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jump a {
  display: inline-block;
  font-family: var(--sans); font-size: var(--fs-ui); font-weight: 500;
  font-variant-numeric: lining-nums;
  color: var(--malachite); text-decoration: none;
  border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 0.35rem 0.75rem; background: var(--white);
}
.jump a:hover { border-color: var(--malachite); }

/* ---------- Eintragslisten ---------- */
.entries-group { padding-top: calc(var(--space-section) * 0.6); scroll-margin-top: 1rem; }
.entries-group__title { margin-bottom: 0.5rem; }
.entries-group__intro { max-width: var(--measure); color: var(--slate); margin-bottom: 1.5rem; }

.entries { list-style: none; margin: 0; padding: 0; }
.entry {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}
.entry:target { background: linear-gradient(to right, var(--stone), transparent 70%); }
.entry__year {
  font-family: var(--sans); font-weight: 500; font-size: var(--fs-ui);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--malachite);
  margin: 0; padding-top: 0.2rem;
}
.entry__body { max-width: 46rem; }
.entry__title { font-size: 1.1875rem; line-height: 1.35; margin-bottom: 0.35rem; }
.entry__translation { font-style: italic; color: var(--slate); font-size: 1rem; line-height: 1.5; margin-bottom: 0.35rem; }
.entry__authors { font-family: var(--sans); font-size: var(--fs-ui); color: var(--graphite); margin-bottom: 0.25rem; }
.entry__source { font-size: 1rem; line-height: 1.5; color: var(--slate); margin-bottom: 0.5rem; }
.entry__note { font-size: 1rem; line-height: 1.55; margin-bottom: 0.5rem; }
.entry__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0.6rem 0 0; }

.element-mark {
  display: inline-block;
  font-family: var(--serif); font-weight: 600; font-size: 0.8125rem; line-height: 1;
  color: var(--malachite);
  border: 1px solid var(--malachite); border-radius: 2px;
  padding: 0.2rem 0.3rem 0.15rem;
  margin-left: 0.35rem;
  position: relative; top: -0.15em;
}

@media (max-width: 40rem) {
  .entry { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ---------- Projektliste ---------- */
.projects { border-bottom: 1px solid var(--rule); }
.projects__year {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--rule);
}
.projects__label {
  font-family: var(--sans); font-weight: 500; font-size: var(--fs-ui);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--malachite);
  padding-top: 0.15rem;
}
.projects__count {
  display: inline-block; margin-left: 0.35rem;
  font-weight: 400; font-size: var(--fs-small); color: var(--slate);
}
.projects__list { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.projects__list li { font-size: 1rem; line-height: 1.5; padding-block: 0.3rem; }
.projects__list li + li { border-top: 1px solid var(--stone); }

@media (max-width: 40rem) {
  .projects__year { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ---------- Fließtext (Impressum, Datenschutz, Kurzfassung) ---------- */
.section--tight { padding-top: 2.5rem; }
.prose > * { max-width: var(--measure); }
.prose h2 { margin: 0 0 0.75rem; }
.prose--legal h2 { font-size: var(--fs-h3); margin: 2.25rem 0 0.6rem; }
.prose--legal h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.25rem; }
.prose__hint { font-family: var(--sans); font-size: var(--fs-ui); color: var(--slate); }
.prose__subtitle { font-style: italic; font-size: 1.125rem; }
mark.todo {
  background: #FFF0B8; color: var(--graphite);
  outline: 1px dashed var(--sulfur); padding: 0 0.2rem;
  font-family: var(--sans); font-size: 0.9em;
}

.facts { margin: 1.5rem 0 0; display: grid; gap: 0.4rem; max-width: 48rem; }
.facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; }
.facts dt { font-family: var(--sans); font-size: var(--fs-ui); font-weight: 500; color: var(--slate); padding-top: 0.15rem; }
.facts dd { margin: 0; font-size: 1.0625rem; }
@media (max-width: 30rem) { .facts div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Abbildungen ---------- */
.figures {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.figure { margin: 0; }
.figure img { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.figure figcaption { font-family: var(--sans); font-size: var(--fs-small); line-height: 1.45; color: var(--slate); margin-top: 0.6rem; }

main > .wrap:last-child .usage-note { margin-top: 2rem; }

/* ---------- Wissenschaftlicher Volltext ---------- */
.paper h2 { font-size: var(--fs-h3); margin: 2.5rem 0 0.75rem; }
.paper h2.paper__label { font-size: var(--fs-h2); margin-top: 0; }
.paper ol, .paper ul { padding-left: 1.4rem; margin: 0 0 1em; }
.paper li { margin-bottom: 0.4rem; }
.paper .chain { padding: 0.9rem 1.1rem; background: var(--stone); border-left: 3px solid var(--malachite); }
.paper .references { list-style: none; padding-left: 0; font-size: 1rem; }
.paper .references li { padding-left: 1.5rem; text-indent: -1.5rem; }

.equation {
  display: flex; align-items: center; gap: 1.5rem;
  margin: 1.5rem 0; padding: 0.5rem 0;
  overflow-x: auto;
}
.equation math { font-size: 1.15em; margin: 0; flex: 1 1 auto; }
.equation__number { font-family: var(--sans); color: var(--slate); }
.symbols { margin: 0 0 1.5rem; display: grid; gap: 0.15rem; font-size: 1rem; }
.symbols div { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.75rem; }
.symbols dd { margin: 0; }

.table-wrap { overflow-x: auto; margin: 1.75rem 0 2rem; max-width: none; }
.data-table {
  border-collapse: collapse;
  font-family: var(--sans); font-size: var(--fs-ui);
  font-variant-numeric: lining-nums tabular-nums;
  min-width: 100%;
}
.data-table caption { caption-side: top; text-align: left; font-size: var(--fs-ui); color: var(--graphite); padding-bottom: 0.6rem; }
.data-table caption b { font-weight: 600; }
.data-table th, .data-table td { padding: 0.45rem 0.75rem; border-bottom: 1px solid var(--rule); }
.data-table thead th { font-weight: 600; text-align: right; border-bottom: 2px solid var(--graphite); vertical-align: bottom; }
.data-table thead tr:first-child th:first-child, .data-table tbody th { text-align: left; font-weight: 500; }
.data-table thead th[scope="colgroup"] { text-align: center; }
.data-table td { text-align: right; white-space: nowrap; }
.data-table__group th { font-style: italic; font-weight: 500; color: var(--malachite); background: var(--stone); }
