:root{
  --bg: #0b0b0c;
  --fg: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.62);
  --faint: rgba(255,255,255,0.42);
  --rule: rgba(255,255,255,0.12);

  --max: 760px;
}

*{
  box-sizing: border-box;
}

html, body{
  height: 100%;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container{
  width: min(var(--max), 92vw);
  margin: 0 auto;
  padding: 56px 0 44px;
}

/* ---------------------------
   Headers
---------------------------- */

.author-header h1{
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.author-header h2{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------------------
   Base content block
---------------------------- */

.author-profile{
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}

.author-profile p{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
  max-width: 70ch;
}

.author-profile p:last-child{
  margin-bottom: 0;
}

/* >>> WICHTIGE ERGÄNZUNG <<< */
/* Abschnittsüberschriften (Context, Author, Scope, Credentials) */

.author-profile p strong{
  color: var(--fg);
  font-weight: 600;
}

/* Section label paragraphs inside author-profile (e.g., "Author Note") */
.author-profile p > strong:only-child{
  display: inline-block;
  margin-top: 10px;
}

/* --------------------------------------------------
   Publications Index (Institutional list, non-blue links)
-------------------------------------------------- */

.pub-index{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.pub-item{
  margin: 0 0 14px;
}

.pub-line{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: baseline;
}

.pub-no{
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pub-sep{
  color: var(--faint);
}

.pub-title{
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 1px;
}

.pub-title:hover{
  border-bottom-color: rgba(255,255,255,0.42);
}

.pub-title:visited{
  color: var(--fg);
}

.pub-title:focus-visible{
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 6px;
  border-bottom-color: transparent;
}

.pub-desc{
  margin-top: 4px;
  color: var(--muted);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.65;
}

/* --------------------------------------------------
   Canon end-of-content signature (institutional meta)
-------------------------------------------------- */

.canon-signature{
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  max-width: 70ch;
}

.canon-version{
  margin: 0 0 0.5rem;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.canon-governance{
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.canon-governance a{
  color: var(--fg);
  border-bottom-color: rgba(255,255,255,0.18);
}

.canon-governance a:hover{
  border-bottom-color: rgba(255,255,255,0.42);
}

/* --------------------------------------------------
   Corpus version marker (canonical meta)
-------------------------------------------------- */

.corpus-version{
  margin-top: 2.5rem;
  font-size: 0.85rem;
  opacity: 0.65;
}

.subtle{
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--faint);
}

/* ---------------------------
   Navigation
---------------------------- */

.primary-nav{
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.primary-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-nav a{
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 1px;
}

.primary-nav a:hover{
  border-bottom-color: rgba(255,255,255,0.42);
}

.primary-nav a:focus-visible{
  outline: 2px solid rgba(255,255,255,0.9);
  outline-offset: 6px;
  border-bottom-color: transparent;
}

/* ---------------------------
   Footer – System Reference (Institutional)
---------------------------- */

footer,
.site-footer{
  margin-top: 120px;
  padding-top: 0;
  border-top: none;
  font-size: 12px;
  line-height: 1.6;
  color: var(--faint);
}

footer p,
.site-footer p{
  margin: 0;
}

.footer-rule{
  height: 1px;
  background: var(--rule);
  margin: 0 0 14px 0;
}

.footer-text{
  color: var(--faint);
}

footer a,
.site-footer a{
  color: var(--faint);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 1px;
}

footer a:hover,
.site-footer a:hover{
  border-bottom-color: rgba(255,255,255,0.42);
}

footer a:focus-visible,
.site-footer a:focus-visible{
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 4px;
  border-bottom-color: transparent;
}

/* ---------------------------
   Divider (used in footer)
---------------------------- */

.divider{
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0 0 18px 0;
}

/* ---------------------------
   Utility
---------------------------- */

.rule{
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 22px 0;
}

.clean-list{
  margin: 8px 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.clean-list li{
  margin: 6px 0;
  line-height: 1.6;
}

/* --------------------------------------------------
   Essay Layout – Institutional / Paper-like
-------------------------------------------------- */

.essay{
  margin-top: 40px;
}

.essay-header{
  margin-bottom: 28px;
}

.essay-header h1{
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.essay-meta{
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.essay-body{
  margin-top: 32px;
}

.essay-body p{
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 70ch;
}

/* Headlines inside essays */

.essay-body h2{
  margin: 36px 0 14px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg);
}

/* Lists inside essays */

.essay-body .clean-list{
  margin: 8px 0 20px;
  padding-left: 18px;
}

.essay-body .clean-list li{
  margin: 6px 0;
  line-height: 1.65;
  color: var(--muted);
}

/* References block */

.references{
  margin-top: 48px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}

.references h2{
  margin: 36px 0 12px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg);
}

.references .clean-list{
  margin: 8px 0 0;
}

.references .clean-list li{
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--faint);
}

/* Essay footer */

.essay-footer{
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.essay-footer p{
  margin: 6px 0;
}

/* Link styling — neutral, non-promotional */
a {
  color: #e6e6e6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------- */

@media (max-width: 480px){
  .container{
    padding: 44px 0 38px;
  }

  .author-header h1{
    font-size: 26px;
  }

  .author-profile p{
    font-size: 15.5px;
    line-height: 1.75;
  }

  .essay-header h1{
    font-size: 24px;
  }

  .essay-body p{
    font-size: 15.5px;
  }

  footer,
  .site-footer{
    margin-top: 96px;
  }
}

/* Normalize all link states – no underline, no weight change */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
  font-weight: inherit;
  outline: none;
}

/* --- Canon: no hover underline flash --- */

/* Kill global underline on hover */
a:hover {
  text-decoration: none !important;
}

/* Kill component hover "underline" (border-bottom brightening) */
.primary-nav a:hover,
footer a:hover,
.site-footer a:hover,
.pub-title:hover {
  border-bottom-color: rgba(255,255,255,0.18) !important;
}

@media (prefers-reduced-motion: reduce){
  *{
    transition: none !important;
    scroll-behavior: auto !important;
  }
}