:root {
  --ink: #171713;
  --paper: #eee9df;
  --paper-light: #f8f5ee;
  --red: #a51f25;
  --line: rgba(23, 23, 19, .24);
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-light); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: -5rem; background: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 4vw; color: white; border-bottom: 1px solid rgba(255,255,255,.25); transition: .25s ease; }
.site-header.scrolled { color: var(--ink); background: rgba(248,245,238,.95); border-color: var(--line); backdrop-filter: blur(12px); }
.wordmark { text-decoration: none; text-transform: uppercase; font-size: .84rem; font-weight: 600; letter-spacing: .09em; }
.wordmark span { color: #e4b7a9; margin-left: .5rem; }
.wordmark b { margin-left: .5rem; font: inherit; }
.site-header.scrolled .wordmark span { color: var(--red); }
nav { display: flex; gap: 2rem; }
nav a { text-decoration: none; font-size: .77rem; letter-spacing: .06em; text-transform: uppercase; }
nav a:hover { text-decoration: underline; text-underline-offset: .35rem; }
.menu-button { display: none; border: 0; background: transparent; color: inherit; font: inherit; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: end; color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url('/assets/archive/Stasiakten-BStU-000007-OBST-Mario-scaled.jpeg') center 37%/cover, #26241f; filter: grayscale(100%) contrast(1.05); transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,11,.94) 0%, rgba(13,13,11,.7) 47%, rgba(13,13,11,.34) 100%), linear-gradient(0deg, rgba(13,13,11,.75), transparent 55%); }
.hero-content { position: relative; width: min(850px, 90vw); padding: 10rem 0 8rem 8vw; }
.eyebrow { margin: 0 0 1.5rem; color: #e6c7bc; font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.dark { color: var(--red); }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 650; line-height: .96; letter-spacing: -.055em; }
h1 { max-width: 800px; font-size: clamp(4rem, 9.5vw, 9rem); }
h2 { font-size: clamp(3rem, 6vw, 6.5rem); }
.lead { max-width: 670px; margin: 2rem 0 2.5rem; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.55; }
.button { display: inline-flex; align-items: center; gap: .75rem; padding: .9rem 1.25rem; border: 1px solid white; text-decoration: none; text-transform: uppercase; font-size: .73rem; font-weight: 600; letter-spacing: .08em; transition: .2s; }
.button:hover { color: var(--ink); background: white; }
.hero-date { position: absolute; right: 4vw; bottom: 4rem; margin: 0; writing-mode: vertical-rl; font-size: .73rem; letter-spacing: .12em; }

.section { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 4fr); gap: 4vw; padding: clamp(6rem, 11vw, 11rem) 8vw; }
.section-label { border-top: 1px solid var(--line); padding-top: .8rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.kicker { margin: 0 0 3rem; max-width: 950px; font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 3.6rem); font-weight: 500; line-height: 1.25; letter-spacing: -.03em; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 900px; }
.columns p { margin: 0; }
.intro-video { position: relative; margin: 4rem 0; overflow: hidden; background: var(--ink); }
.intro-video video { display: block; width: 100%; max-height: min(72vh, 760px); background: var(--ink); object-fit: contain; cursor: pointer; }
.intro-video figcaption { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; color: white; background: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.intro-video figcaption span { display: grid; width: 1.7rem; height: 1.7rem; place-items: center; padding-left: .12rem; color: var(--ink); background: white; border-radius: 50%; font-size: .65rem; }
.name-note { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; max-width: 900px; margin-top: 4.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.name-note > span { color: var(--red); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.name-note p { max-width: 690px; margin: 0; }
.name-note a { color: var(--red); text-underline-offset: .2rem; }

.quote-band { padding: clamp(7rem, 12vw, 13rem) 10vw; color: white; background: var(--red); text-align: center; }
.quote-band blockquote { max-width: 1050px; margin: 0 auto 2rem; font-family: var(--display); font-size: clamp(2rem, 4.6vw, 5rem); font-weight: 500; line-height: 1.18; letter-spacing: -.04em; }
.quote-band p { margin: 0; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }

.timeline { background: var(--paper); }
.timeline-heading { padding-bottom: 6rem; }
.events { grid-column: 2; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.events li { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.events time { color: var(--red); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.events h3 { margin: -.25rem 0 .5rem; font: 500 clamp(1.5rem, 2.5vw, 2.4rem)/1.2 var(--display); letter-spacing: -.025em; }
.events p { max-width: 680px; margin: 0; }

.place { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 700px; background: var(--ink); color: white; }
.place figure { position: relative; min-height: 650px; margin: 0; overflow: hidden; }
.place figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); }
.place figcaption { position: absolute; left: 1.5rem; bottom: 1.2rem; font-size: .7rem; }
.place-copy { display: flex; flex-direction: column; justify-content: center; padding: 8vw; }
.place-copy h2 { margin-bottom: 3rem; }
.place-copy p:not(.eyebrow) { max-width: 550px; color: #c9c5bb; }
.place-copy .place-link { color: white; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: .3rem; }

.documents { overflow: hidden; }
.documents-heading { max-width: 800px; }
.documents-heading > p:last-child { max-width: 620px; margin-top: 2rem; }
.document-grid { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; padding: 7rem 3vw 2rem; }
.document-card { margin: 0; padding: 1.2rem; background: white; box-shadow: 0 25px 60px rgba(24,20,13,.15); }
.document-card img { width: 100%; max-height: 650px; object-fit: contain; }
.document-card figcaption { padding: 1rem .2rem 0; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.document-series { grid-column: 2; display: grid; grid-template-columns: minmax(300px, .95fr) minmax(0, 1.35fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; margin: 5rem 3vw 2rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.document-series-copy h3 { margin: .8rem 0 1.3rem; max-width: 12ch; font: 600 clamp(2rem, 3.3vw, 3.4rem)/1.04 var(--display); letter-spacing: -.03em; }
.document-series-copy a { color: var(--red); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.document-series-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.5vw, 1.4rem); align-items: center; }
.document-series-images a { display: block; padding: .45rem; background: white; box-shadow: 0 12px 30px rgba(24,20,13,.14); transition: transform .2s ease; }
.document-series-images a:nth-child(odd) { transform: rotate(-1.2deg); }
.document-series-images a:nth-child(even) { transform: rotate(1.2deg); }
.document-series-images a:hover { transform: translateY(-6px); }
.document-series-images img { display: block; width: 100%; height: auto; }
.tilted-left { transform: rotate(-3deg); }
.tilted-right { transform: rotate(2.5deg); }

.meaning { color: white; background: #2a2a24; }
.meaning .section-label { border-color: rgba(255,255,255,.25); }
.meaning h2 { margin-bottom: 4rem; color: #eee9df; }
.meaning .kicker { max-width: 900px; color: white; }
.meaning p:not(.kicker):not(.signature) { max-width: 680px; color: #c4c2b9; }
.signature { margin-top: 4rem; font-size: .9rem; }
.signature strong { font: 500 1.4rem var(--display); }

.more { padding: clamp(7rem, 12vw, 12rem) 8vw; background: var(--red); color: white; text-align: center; }
.more .eyebrow { color: #edcec5; }
.more p:not(.eyebrow) { max-width: 650px; margin: 2rem auto 2.5rem; }
.button.light { background: white; color: var(--ink); }
.button.light:hover { background: transparent; color: white; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2.5rem 4vw; color: #b9b6ad; background: var(--ink); font-size: .72rem; }
footer p { margin: 0; }
footer div { display: flex; flex-wrap: wrap; gap: 1.5rem; }

.inner-page { padding-top: 4.5rem; background: var(--paper-light); }
.inner-page .site-header { color: var(--ink); }
.article-hero { padding: clamp(6rem, 11vw, 11rem) 8vw clamp(4rem, 7vw, 7rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 1100px; color: var(--ink); font-size: clamp(3.2rem, 7.5vw, 7.8rem); overflow-wrap: anywhere; }
.article-layout { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 4fr); gap: 4vw; padding: clamp(5rem, 9vw, 9rem) 8vw; }
.article-layout > aside { display: flex; flex-direction: column; gap: 1rem; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.article-layout > aside a { color: var(--red); text-underline-offset: .3rem; }
.prose { width: min(100%, 820px); font-size: clamp(1rem, 1.5vw, 1.16rem); }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { margin: 3.5rem 0 1.25rem; font-family: var(--display); line-height: 1.15; letter-spacing: -.025em; }
.prose h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.prose h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.prose p, .prose li { line-height: 1.75; }
.prose a { color: #7d181d; text-underline-offset: .2rem; overflow-wrap: anywhere; }
.prose figure { margin: 3rem 0; }
.prose img, .prose video { max-width: 100%; height: auto; border: 1px solid var(--line); }
.prose figcaption { margin-top: .6rem; color: #615e57; font-size: .76rem; }
.prose blockquote { margin: 3rem 0; padding: 1.5rem 0 1.5rem 2rem; border-left: 4px solid var(--red); font: 500 clamp(1.3rem, 2.2vw, 2rem)/1.45 var(--display); }
.prose .article-lead { margin-bottom: 4rem; font: 500 clamp(1.45rem, 2.6vw, 2.4rem)/1.4 var(--display); letter-spacing: -.02em; }
.newspaper-cutting { padding: 1.2rem; background: #e5ddcb; box-shadow: 0 18px 45px rgba(24,20,13,.13); }
.newspaper-cutting a { display: block; }
.newspaper-cutting img { width: 100%; max-height: 780px; border: 0; object-fit: contain; }
.portrait-cutting { max-width: 610px; }
.wide-cutting { width: min(1100px, 86vw); }
.source-note { margin: 4rem 0 0; padding: 1.5rem 1.7rem; background: var(--paper); border-left: 4px solid var(--red); }
.source-note strong { color: var(--red); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.source-note p { margin-bottom: 0; font-size: .92rem; }
.file-document { margin: 3.5rem 0; padding: clamp(1rem, 3vw, 2rem); background: #e4ddcf; box-shadow: 0 18px 45px rgba(24,20,13,.12); }
.file-document img { width: 100%; border: 0; }
.case-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 3.5rem 0; align-items: start; }
.case-files .file-document { margin: 0; padding: .8rem; }
.case-files figcaption { font-size: .72rem; line-height: 1.45; }
.record-correction { margin: 4rem 0; padding: clamp(1.6rem, 4vw, 3rem); background: #e4ddcf; border-left: 5px solid var(--red); }
.record-correction h2 { margin-top: .7rem; }
.personal-reflection { background: #191915; color: #eee9df; }
.personal-reflection .eyebrow { color: #d95b52; }
.personal-reflection h2 { color: white; }
@media (max-width: 1000px) {
  .document-series { grid-template-columns: 1fr; }
  .document-series-copy h3 { max-width: 16ch; }
  .document-series-images { max-width: 680px; }
}
.personal-document { max-width: 760px; }
.statement-quote { padding-block: 2.5rem !important; color: var(--red); font-size: clamp(2.5rem, 6vw, 5.5rem) !important; line-height: 1.05 !important; }
.chapter-teaser { margin: 5rem 0 1rem; padding: clamp(2rem, 5vw, 4rem); background: var(--paper); border-top: 4px solid var(--red); }
.chapter-teaser h2 { margin-top: 0; }
.chapter-teaser > a { color: var(--red); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.article-end { padding: 0 8vw 6rem; text-align: right; }
.article-end a { color: var(--red); text-underline-offset: .35rem; }
.chronology-page, .story-page { padding: clamp(5rem, 9vw, 9rem) 8vw; }
.chronology-intro { max-width: 920px; margin: 0 0 6rem; font: 500 clamp(1.6rem, 3.2vw, 3rem)/1.3 var(--display); letter-spacing: -.025em; }
.chronology-page ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.chronology-page li { display: grid; grid-template-columns: 65px 130px 1fr; gap: 2rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.chapter-number, .chronology-page time { color: var(--red); font-size: .72rem; font-weight: 600; letter-spacing: .06em; }
.chronology-page h2 { margin: -.4rem 0 .8rem; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.15; }
.chronology-page h2 a { text-decoration: none; }
.chronology-page h2 a:hover { color: var(--red); }
.chronology-page li p { max-width: 720px; margin: 0; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.story-grid article { padding: clamp(2rem, 4vw, 4rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-grid h2 { margin: 0 0 1.5rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.1; }
.story-grid h2 a { text-decoration: none; }
.story-grid article > a { color: var(--red); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.page-cta { margin-top: 4rem; text-align: center; }
.dark-button { color: white; background: var(--ink); border-color: var(--ink); }
.dark-button:hover { color: var(--ink); background: transparent; }

.lightbox-trigger { cursor: zoom-in; }
.image-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) 2rem; color: white; background: rgba(16, 16, 14, .96); border: 0; overflow: auto; }
.image-lightbox::backdrop { background: rgba(16, 16, 14, .82); backdrop-filter: blur(5px); }
.image-lightbox figure { display: flex; min-height: calc(100vh - 8rem); margin: 0; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.image-lightbox img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 10rem); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.image-lightbox figcaption { max-width: 900px; color: #d5d0c7; font-size: .78rem; line-height: 1.5; text-align: center; }
.image-lightbox-close { position: fixed; z-index: 2; top: 1rem; right: 1.2rem; width: 2.8rem; height: 2.8rem; padding: 0; color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font: 300 2rem/1 sans-serif; cursor: pointer; }
.image-lightbox-close:hover, .image-lightbox-close:focus-visible { color: var(--ink); background: white; outline: none; }
.lightbox-open { overflow: hidden; }

.eyewitness-page { background: var(--paper-light); }
.eyewitness-portrait { margin: 0; background: var(--ink); }
.eyewitness-portrait a { display: block; }
.eyewitness-portrait img { width: 100%; max-height: 82vh; object-fit: cover; object-position: center 42%; }
.eyewitness-portrait figcaption { padding: 1rem 8vw 1.2rem; color: #bdb9b0; background: var(--ink); font-size: .72rem; line-height: 1.55; }
.eyewitness-intro { padding: clamp(6rem, 11vw, 11rem) 8vw; background: var(--paper); }
.eyewitness-intro > p:last-child { max-width: 1100px; margin: 0; font: 500 clamp(2.2rem, 5vw, 5.2rem)/1.13 var(--display); letter-spacing: -.04em; }
.eyewitness-origin, .eyewitness-dialogue { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 9rem); padding: clamp(6rem, 10vw, 10rem) 8vw; }
.eyewitness-origin h2, .eyewitness-dialogue h2 { max-width: 9ch; font-size: clamp(3rem, 6vw, 6.3rem); }
.eyewitness-copy { max-width: 700px; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.eyewitness-copy p { margin: 0 0 1.6rem; line-height: 1.8; }
.eyewitness-copy blockquote { margin: 3rem 0; padding: 2rem 0 2rem 2rem; color: var(--red); border-left: 4px solid var(--red); font: 500 clamp(1.5rem, 2.7vw, 2.6rem)/1.35 var(--display); }
.eyewitness-stations { padding: clamp(6rem, 10vw, 10rem) 8vw; color: white; background: var(--ink); }
.eyewitness-stations > h2 { max-width: 970px; margin-bottom: 5rem; color: white; }
.eyewitness-stations ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.eyewitness-stations li { display: grid; grid-template-columns: minmax(130px, .3fr) 1fr; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.eyewitness-stations time { color: #e6aaa2; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyewitness-stations h3 { margin: -.25rem 0 .7rem; font: 500 clamp(1.7rem, 3vw, 3rem)/1.15 var(--display); }
.eyewitness-stations li p { max-width: 760px; margin: 0; color: #c9c5bb; }
.eyewitness-dialogue { background: var(--paper); }
.eyewitness-sources { padding: clamp(6rem, 10vw, 9rem) 8vw; }
.eyewitness-sources h2 { margin-bottom: 3rem; }
.eyewitness-sources > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.eyewitness-sources a { display: flex; min-height: 150px; padding: 2rem; flex-direction: column; justify-content: space-between; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 500 clamp(1.25rem, 2vw, 1.8rem)/1.25 var(--display); text-decoration: none; }
.eyewitness-sources a:hover { color: white; background: var(--red); }
.eyewitness-sources a span { margin-top: 1.5rem; font: 600 .68rem/1.4 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.eyewitness-contact { padding: clamp(7rem, 12vw, 12rem) 8vw; color: white; background: var(--red); text-align: center; }
.eyewitness-contact .eyebrow { color: #edcec5; }
.eyewitness-contact h2 { color: white; }
.eyewitness-contact p:not(.eyebrow) { margin: 2rem auto 2.5rem; }

@media (max-width: 780px) {
  .site-header { padding: 1rem 5vw; }
  .menu-button { display: block; }
  .wordmark { max-width: 72vw; font-size: .68rem; line-height: 1.35; }
  .wordmark span, .wordmark b { margin-left: .28rem; }
  .site-header #navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 1rem; padding: 1.5rem 5vw 2rem; color: var(--ink); background: var(--paper-light); border-bottom: 1px solid var(--line); }
  .site-header #navigation.open { display: flex; }
  .hero-image { background-position: 56% center; }
  .hero-content { padding: 8rem 6vw 7rem; }
  h1 { font-size: clamp(3.4rem, 17vw, 6rem); }
  .hero-date { display: none; }
  .section { display: block; padding: 6rem 6vw; }
  .section-label { margin-bottom: 4rem; }
  .columns { grid-template-columns: 1fr; gap: 1rem; }
  .intro-video { margin: 3rem 0; }
  .name-note { grid-template-columns: 1fr; gap: .7rem; margin-top: 3rem; }
  .events { margin-top: 4rem; }
  .events li { grid-template-columns: 1fr; gap: .7rem; }
  .place { grid-template-columns: 1fr; }
  .place figure { min-height: 430px; }
  .place-copy { padding: 6rem 6vw; }
  .document-grid { grid-template-columns: 1fr; gap: 4rem; padding: 5rem 5vw 2rem; }
  .document-series { grid-template-columns: 1fr; margin-inline: 0; }
  .document-series-images { grid-template-columns: repeat(2, 1fr); }
  .case-files { grid-template-columns: 1fr; }
  .tilted-left, .tilted-right { transform: none; }
  footer, footer div { flex-direction: column; }
  .article-hero { padding-inline: 6vw; }
  .article-layout { display: block; padding-inline: 6vw; }
  .article-layout > aside { margin-bottom: 3rem; }
  .chronology-page, .story-page { padding-inline: 6vw; }
  .chronology-page li { grid-template-columns: 45px 1fr; gap: .8rem 1rem; }
  .chronology-page li > div { grid-column: 2; }
  .story-grid { grid-template-columns: 1fr; }
  .eyewitness-portrait img { min-height: 440px; object-fit: cover; object-position: 58% center; }
  .eyewitness-portrait figcaption { padding-inline: 6vw; }
  .eyewitness-intro, .eyewitness-origin, .eyewitness-dialogue, .eyewitness-stations, .eyewitness-sources, .eyewitness-contact { padding-inline: 6vw; }
  .eyewitness-origin, .eyewitness-dialogue { grid-template-columns: 1fr; }
  .eyewitness-origin h2, .eyewitness-dialogue h2 { max-width: none; }
  .eyewitness-stations li { grid-template-columns: 1fr; gap: .8rem; }
  .eyewitness-sources > div { grid-template-columns: 1fr; }
}

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

.not-found-page { min-height: 100vh; display: flex; flex-direction: column; background: #e8e4dc; }
.not-found-main { flex: 1; display: grid; place-items: center; width: 100%; padding: 9rem 1.5rem 5rem; background: linear-gradient(90deg, rgba(232, 228, 220, .97), rgba(232, 228, 220, .88)), url("/assets/archive/Stasiakten-BStU-000007-OBST-Mario-scaled.jpeg") center / cover; }
.not-found-card { position: relative; width: min(760px, 100%); padding: clamp(2rem, 6vw, 4.5rem); overflow: hidden; background: rgba(245, 242, 235, .96); border-top: 5px solid var(--red); box-shadow: 0 24px 70px rgba(23, 23, 19, .24); }
.not-found-card h1 { max-width: 13ch; margin: .65rem 0 1.5rem; font-size: clamp(2.25rem, 7vw, 4.7rem); line-height: .98; }
.not-found-card > p:not(.eyebrow, .not-found-code) { max-width: 62ch; font-size: 1.08rem; line-height: 1.7; }
.not-found-card .button { position: relative; display: inline-block; margin-top: 1.35rem; }
.not-found-code { position: absolute; top: -.3em; right: -.02em; margin: 0; color: rgba(127, 35, 35, .08); font-size: clamp(9rem, 28vw, 18rem); font-weight: 800; line-height: 1; pointer-events: none; }

@media (max-width: 620px) {
  .not-found-main { padding: 7rem 1rem 3rem; }
  .not-found-card { padding: 2rem 1.4rem 2.4rem; }
}

/* Historisches Dossier: Quellen, Arbeitsstand und Kapitelzugang. */
.history-layout { grid-template-columns: minmax(170px, 1fr) minmax(0, 4fr); }
.history-layout .history-toc { align-self: start; position: sticky; top: 7rem; max-height: calc(100vh - 8rem); overflow-y: auto; }
.history-toc p { margin: 0; font-weight: 700; }
.history-status { border-left: 4px solid var(--red); padding: 1.25rem 1.5rem; margin-bottom: 3rem; background: var(--paper); font-size: .9rem; }
.history-status p { margin: .5rem 0 0; }
.history-layout section, .history-sources li, .history-layout sup a { scroll-margin-top: 8rem; }
.history-layout sup { font-size: .72em; padding-left: .2em; }
.history-outline li, .history-sources li { margin-bottom: 1rem; }
.history-sources ol { padding-left: 1.5rem; font-size: .9rem; }
.history-sources details { padding: 1.25rem; border: 1px solid var(--line); margin: 2rem 0; font-size: .9rem; }
.history-sources summary { cursor: pointer; font-weight: 700; }
#navigation a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35rem; }
@media (min-width: 781px) and (max-width: 1180px) { .site-header { padding-inline: 2vw; } #navigation { gap: .8rem; } .wordmark { font-size: .7rem; } .wordmark b { display: block; margin-left: 0; } }
@media (max-width: 780px) { .history-layout { display: block; } .history-layout .history-toc { position: static; max-height: none; overflow: visible; } .history-status { padding: 1rem; } }
@media print { .site-header, .history-toc, footer, .skip-link { display: none; } .history-layout { display: block; padding: 0; } .article-hero { padding: 1rem 0; } .prose { width: 100%; } .history-sources details { display: none; } }

/* Both languages share the same header and documentary translation layout. */
.site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 1.3rem; }
.site-header .wordmark { grid-column: 1; min-width: 0; }
.site-header #navigation { grid-column: 3; justify-self: end; gap: 1.25rem; }
.language-switch { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .78rem; font-weight: 500; white-space: nowrap; }
.language-switch a { text-decoration: none; padding: .25rem; }
.language-switch a[aria-current="true"] { font-weight: 800; text-decoration: underline; text-underline-offset: .35rem; }
.language-switch a:hover { text-decoration: underline; text-underline-offset: .35rem; }
.language-switch a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.language-unavailable { opacity: .45; padding: .25rem; }
.language-badge { display: inline-block; margin-left: .35em; padding: 0 .25em; border: 1px solid currentColor; font-size: .65em; font-weight: 600; line-height: 1.4; vertical-align: middle; letter-spacing: .02em; }
.document-translation { margin: 1.75rem 0 3rem; padding: clamp(1.2rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); }
.document-translation h2, .document-translation h3 { margin: 0 0 1.2rem; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.025em; }
.document-translation .eyebrow { margin-bottom: .8rem; }
.document-translation dl { margin: 1.4rem 0; }
.document-translation dl > div { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.document-translation dt { font-weight: 600; }
.document-translation dd { margin: 0; }
.prose .document-translation blockquote { margin: 1.5rem 0; padding: .8rem 0; border: 0; font-size: 1.35rem; font-style: normal; }
.document-translation .translation-note { margin: 1.25rem 0 0; font-size: .85rem; line-height: 1.6; }
.document-card:has(.document-translation) { transform: none; align-self: start; }
.document-card .document-translation { margin-bottom: 0; padding: 1.2rem; font-size: .95rem; line-height: 1.65; }
.document-card .document-translation h3 { font-size: 1.5rem; }
.document-reading-note { margin-top: 3rem; }
@media (min-width: 1281px) and (max-width: 1400px) {
  .site-header { padding-inline: 2vw; column-gap: .65rem; }
  .site-header .wordmark { font-size: .69rem; }
  .site-header .wordmark b { display: block; margin-left: 0; }
  .site-header #navigation { gap: .75rem; }
  .site-header #navigation a { font-size: .69rem; }
}
@media (max-width: 1280px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; padding: .9rem 5vw; column-gap: .75rem; }
  .site-header .wordmark { max-width: none; font-size: .68rem; line-height: 1.35; }
  .site-header .wordmark b { display: block; margin-left: 0; }
  .site-header .menu-button { grid-column: 3; display: block; justify-self: end; font-size: .8rem; }
  .site-header #navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 1rem; padding: 1.5rem 5vw 2rem; color: var(--ink); background: var(--paper-light); border-bottom: 1px solid var(--line); }
  .site-header #navigation.open { display: flex; }
}
@media (max-width: 380px) {
  .site-header { column-gap: .4rem; }
  .language-switch { font-size: .7rem; gap: .15rem; }
  .document-translation dl > div { grid-template-columns: 1fr; gap: .15rem; }
}

/* Namenserklärung unauffällig im Fließtext, mit sichtbarem Hover/Fokus. */
.prose a.history-name-link { color: inherit; text-decoration: none; }
.prose a.history-name-link:hover, .prose a.history-name-link:focus-visible { color: var(--red); text-decoration: underline; text-underline-offset: .2rem; }
.history-layout h3[id], .history-layout h4[id] { scroll-margin-top: 8rem; }
.history-layout h4 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

/* A short entry page with optional reading paths. */
.stasi-overview { padding: clamp(3rem, 6vw, 6rem) 8vw; }
.stasi-overview .prose { margin: 0 auto; }
.stasi-overview section, .stasi-overview .history-sources li { scroll-margin-top: 8rem; }
.stasi-overview .article-lead { margin-bottom: 1.8rem; }
.stasi-draft-note { color: #615e57; font-size: .8rem; }
.stasi-overview sup { font-size: .72em; padding-left: .2em; }
.stasi-overview .prose h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.stasi-topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stasi-topic-links a { display: block; padding: 1.3rem; border: 1px solid var(--line); text-decoration: none; background: var(--paper); }
.stasi-topic-links strong { display: block; font-size: 1.08rem; }
.stasi-topic-links span { display: block; margin-top: .5rem; color: var(--ink); font-size: .9rem; line-height: 1.5; }
.stasi-topic-links a:hover, .stasi-topic-links a:focus-visible { border-color: var(--red); text-decoration: underline; }
@media (max-width: 580px) { .stasi-topic-links { grid-template-columns: 1fr; } }

.history-back-link { font-weight: 700; }
.history-topic-picker { min-width: 0; }
.history-topic-picker summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.history-topic-picker nav { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.history-sources details ol { margin-top: 1.5rem; }
@media (max-width: 780px) {
  .history-layout .history-toc { margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
  .history-topic-picker nav { font-size: .8rem; }
}
