/* Вторая мировая война в немецкой школе · Parallelausgabe
   Werte, die später verschoben werden sollen, stehen als Variablen auf :root. */

@font-face { font-family: "Oranienbaum"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/oranienbaum-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oranienbaum"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/oranienbaum-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/old-standard-tt-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/old-standard-tt-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Old Standard TT"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/old-standard-tt-cyrillic-400-italic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Old Standard TT"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/old-standard-tt-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/old-standard-tt-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/old-standard-tt-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/pt-mono-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/pt-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Farben */
  --paper: #F7F7F5;
  --band: #ECEDE9;
  --ink: #141414;
  --rust: #8A3A1C;
  --grey: #5F5F5F;      /* Nebentext, 6,2:1 auf --paper */
  --hair: #C6C6C6;
  --night: #141414;
  --night-ink: #EDEDEA;

  /* Schriften */
  --f-display: "Oranienbaum", "Old Standard TT", Georgia, serif;
  --f-text: "Old Standard TT", Georgia, "Times New Roman", serif;
  --f-mono: "PT Mono", ui-monospace, "Courier New", monospace;

  /* Größen */
  --fs-h1: clamp(2.4rem, 3.96vw, 3.82rem); /* proportional, damit die H1 zwischen 1280 und 1536 px zweizeilig bleibt */  /* 61px bei 1536 */
  --fs-ch: clamp(2rem, 1.3rem + 2vw, 2.9rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem);
  --fs-text: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); /* 20px */
  --fs-sub: clamp(1.15rem, 1.36vw, 1.3125rem); /* 21px bei 1536 */
  --fs-small: 1rem;
  --fs-mono: .875rem;
  --lh-text: 1.6;

  /* Abstände */
  --page-pad: clamp(1rem, .4rem + 2.6vw, 2.875rem);   /* 46px bei 1536 */
  --head-h: 4rem;
  --tit-top: 2.6rem;
  --tit-gap: clamp(2rem, 4vw, 3rem);
  --col-pad: .5rem;
  --toc-row: clamp(5.8rem, 7.19vw, 6.9rem); /* 110px bei 1536, proportional darunter */
  --measure: 40rem;
  --max: 96rem;
}

*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--rust); color: var(--paper); }
html { scrollbar-color: #5F5F5F var(--band); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-text)/var(--lh-text) var(--f-text);
  font-kerning: normal; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--page-pad); top: -4rem; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { top: .5rem; }

/* ------------------------------------------------ Kolumnentitel */
.run {
  max-width: var(--max); margin: 0 auto; height: var(--head-h);
  padding: 0 var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: relative;
}
.run::after { content: ""; position: absolute; left: var(--page-pad); right: var(--page-pad); bottom: 0; border-bottom: 1px solid var(--hair); }
.run__brand { font-size: 1.375rem; text-decoration: none; letter-spacing: -.03em; }
.run__nav { display: flex; gap: .9rem; font-size: 1.0625rem; }
.run__nav a { text-decoration: none; white-space: nowrap; }
.run__nav a:hover { text-decoration: underline; }
.run__nav span { color: var(--grey); }
.run__menu { display: none; white-space: nowrap; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink); padding: .35rem .7rem; }

/* ------------------------------------------------ Titelei (erster Bildschirm) */
.tit {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--page-pad);
  display: grid; grid-template-columns: 47fr 53fr;
}
.tit__left { padding: var(--tit-top) 3% 2.4rem 1.9rem; }
.tit h1 { font-family: var(--f-display); font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -.003em; max-width: 12em; }
.tit__sub { font-size: var(--fs-sub); line-height: 1.42; letter-spacing: -.02em; margin: 2.2rem 0 .7rem; max-width: 36em; }
.col { margin: 0; border-top: 0; }
.col__row { display: grid; grid-template-columns: 9.2rem 1fr; align-items: baseline; gap: 1rem; padding: var(--col-pad) 0 calc(var(--col-pad) - .1rem); border-bottom: 1px solid var(--hair); }
.col__row:first-child { padding-top: 0; }
.col dt { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.col dd { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.tit__act { margin: 1.3rem 0 0; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.45rem; padding: 0 3.9rem;
  background: var(--ink); color: var(--paper); text-decoration: none; font-size: 1.25rem; letter-spacing: .01em;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--rust); color: var(--paper); }
.btn-link { display: none; font-size: 1.125rem; }

.toc { border-left: 1px solid var(--hair); padding: 2.1rem 0 .3rem 3.6rem; }
.toc__h { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .24em; text-transform: uppercase; color: #4c4c4c; margin-bottom: .55rem; }
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__item { min-height: var(--toc-row); } /* feste Comp-Höhe, wächst bei schmalen Spalten */
.toc__link {
  display: grid; grid-template-columns: 4rem 2.4rem auto 1fr auto; grid-template-rows: auto 1fr;
  column-gap: .9rem; align-items: baseline; text-decoration: none; padding: .38rem 0;
}
.toc__thumb { /* Sprite aus assets/plates/toc-thumbs.png: Kacheln 324x250, Seite 140x204 bei 92/23 */
  --tw: 4rem;
  grid-row: 1 / span 2; align-self: start; display: block; width: var(--tw); height: calc(var(--tw) * 204 / 140);
  outline: 1px solid var(--hair); outline-offset: 0;
  background: url(../plates/toc-thumbs.webp) no-repeat;
  background-size: calc(var(--tw) * 324 / 140) auto;
  background-position: calc(var(--tw) * -92 / 140) calc(var(--tw) * (-23 - 250 * var(--i)) / 140);
  filter: grayscale(1) contrast(.95); transition: transform .25s ease; }
.toc__no { font-family: var(--f-display); font-size: 1.9rem; color: var(--rust); line-height: 1; justify-self: center; }
.toc__t { font-size: 1.4375rem; line-height: 1.25; letter-spacing: -.02em; }
.toc__lead { align-self: baseline; height: 0; border-bottom: 2px dotted #9a9a9a; min-width: 1.5rem; transform: translateY(-.3em); }
.toc__pg { color: var(--rust); font-size: 1.125rem; }
.toc__d { grid-column: 3 / -1; align-self: start; color: var(--grey); font-size: 1.0625rem; line-height: 1.35; margin-top: .45rem; }
.toc__link:hover .toc__t { text-decoration: underline; text-decoration-thickness: 1px; }
.toc__link:hover .toc__thumb { transform: translateY(-2px); }
.toc__link:hover { color: inherit; }

/* ------------------------------------------------ Vorwort mit angeschnittenem Scan */
.pre {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--page-pad);
  display: grid; grid-template-columns: 47fr 53fr; position: relative;
}
.pre::before { content: ""; position: absolute; left: var(--page-pad); right: var(--page-pad); top: 0; border-top: 1px solid var(--hair); }
.pre__scan { margin: 0; padding: 1.9rem 9% 3rem 1.4rem; }
.pre__btn { all: unset; display: block; cursor: zoom-in; padding: 0 2.6rem 0 0; }
.pre__btn picture { display: block; background: url(../plates/scan-peek.webp) no-repeat top center / 100% auto; } /* Platzhalter: oberer Ausschnitt derselben Seite */
.pre__btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.pre__img { width: 100%; box-shadow: 0 0 0 1px var(--hair); }
.pre__scan figcaption { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--grey); margin-top: .6rem; letter-spacing: .04em; }
.pre__text { padding: 1.5rem 0 3rem 3rem; max-width: 46rem; }
.pre__text h2 { font-family: var(--f-display); font-size: clamp(1.45rem, 1.7vw, 1.7rem); line-height: 1.15; margin-bottom: 1rem; }

/* ------------------------------------------------ Einleitung des Autors */
.intro { background: var(--band); }
.intro__in { max-width: 46rem; margin: 0 auto; padding: 4.5rem var(--page-pad) 4rem; }
.intro h2 { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1.15; margin-bottom: 1.6rem; }
.intro p { font-style: italic; }
.intro__sign { font-style: normal !important; text-align: right; margin-top: 2rem; }
.intro__mail { font-style: normal !important; text-align: right; font-size: 1.0625rem; }

/* ------------------------------------------------ Edition: Register, Original, Text */
.ed { max-width: var(--max); margin: 0 auto; padding: 0 var(--page-pad); display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); }
.rail { position: sticky; top: 0; align-self: start; height: 100vh; height: 100dvh; padding: 2.2rem 0 1.5rem; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 1.6rem; overflow: hidden; }
.rail ol { list-style: none; margin: 0; padding: 0; }
.rail__ch a { display: block; text-decoration: none; font-size: 1rem; line-height: 1.15; padding: .3rem 0; color: var(--grey); }
.rail__ch a span { display: block; font-family: var(--f-display); font-size: 1.5rem; color: var(--rust); line-height: 1; }
.rail__ch a[aria-current="true"] { color: var(--ink); }
.rail__ch a:hover { color: var(--ink); }
.rail__pg { font-family: var(--f-mono); font-size: .8125rem; color: var(--grey); line-height: 1.55; border-left: 1px solid var(--hair); padding-left: .6rem !important; margin-left: .1rem !important; }
.rail__pg li { position: relative; transition: color .2s ease; }
.rail__pg li.is-cur { color: var(--rust); }
.rail__pg li.is-cur::before { content: ""; position: absolute; left: calc(-.6rem - 2px); top: .15em; bottom: .15em; width: 3px; background: var(--rust); }

.ed__body { min-width: 0; padding-left: 3.6rem; }
.part { padding: 4.5rem 0 1rem; margin: 0; font-family: var(--f-display); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.05; display: flex; align-items: baseline; }
.part__t { max-width: 16em; }
.part__pg { margin-left: auto; padding-left: 1rem; font-family: var(--f-text); font-size: 1.125rem; line-height: 1; color: var(--rust); white-space: nowrap; }

.ch { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(16rem, 26rem); column-gap: 3.6rem; padding: 3.5rem 0 3rem; border-top: 1px solid var(--hair); margin-top: 2.5rem; }
.ch__head { grid-column: 1 / -1; margin-bottom: 2.4rem; }
.ch__title { font-family: var(--f-display); font-size: var(--fs-ch); line-height: 1.08; display: flex; align-items: baseline; gap: .45em; }
.ch__tt { max-width: 18em; }
.ch__pg { margin-left: auto; padding-left: 1rem; font-family: var(--f-text); font-size: 1.125rem; color: var(--rust); white-space: nowrap; }
.ch__no { color: var(--rust); font-size: 1.9em; line-height: .8; }

.orig { grid-column: 2; grid-row: 2; }
.orig__inner { position: sticky; top: 1.25rem; }
.orig__label { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .7rem; }
.orig__label [data-cur] { color: var(--rust); }
.orig__view { display: block; position: relative; background: #EEEDEA; cursor: zoom-in; text-decoration: none; }
.orig__img { width: 100%; max-height: calc(100vh - 12rem); max-height: calc(100dvh - 12rem); object-fit: contain; object-position: top left; mix-blend-mode: multiply; transition: opacity .18s ease, transform .18s ease; }
/* Umblättern: alte Seite weicht gegen die Leserichtung aus, neue kommt aus ihr (--dx = ±1) */
.orig__img.is-swap { opacity: .15; transform: translateX(calc(var(--dx, 1) * -10px)); }
.orig__img.is-in { animation: page-in .32s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes page-in { from { opacity: .15; transform: translateX(calc(var(--dx, 1) * 14px)); } }
.orig__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.orig__zoom { flex: none; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--hair); padding: .3rem .6rem; font-size: 1rem; color: var(--ink); text-decoration: none; }
.orig__zoom:hover { border-color: var(--ink); }
.orig__pages { display: flex; gap: .6rem; flex-wrap: wrap; }
.orig__p { display: grid; justify-items: center; gap: .2rem; text-decoration: none; font-family: var(--f-mono); font-size: .8125rem; color: var(--grey); }
.orig__p img { width: 2.75rem; height: auto; border: 1px solid var(--hair); filter: grayscale(1); opacity: .75; transition: opacity .2s ease, border-color .2s ease; }
.orig__p:hover img { opacity: 1; }
.orig__p[aria-current="page"] { color: var(--rust); }
.orig__p[aria-current="page"] img { opacity: 1; border-color: var(--rust); outline: 1px solid var(--rust); }

.ch__text { grid-column: 1; grid-row: 2; min-width: 0; }
.ch__text > p, .ch__text .data p { hyphens: auto; }
.ch__text .q { font-style: italic; }
.ch__text b { font-weight: 700; }
.sub { font-family: var(--f-display); font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); line-height: 1.15; margin: 2.6rem 0 1.2rem; }
.sub2 { font-family: var(--f-text); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; margin: 2.2rem 0 .7rem; }
.mat { position: relative; font-family: var(--f-text); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; margin: 2.4rem 0 .8rem; }
.mat__no { color: var(--rust); font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1; margin-right: .5rem; }
@media (min-width: 1241px) { /* Marginalie im Rand der Lesespalte, wie comp-3 */
  .mat__no { position: absolute; right: 100%; top: .1em; margin-right: 1rem; }
  .mat:has(.mat__t:empty) { height: 0; margin-bottom: 0; }
  .mat:has(.mat__t:empty) + .fig { margin-top: 0; }
}
.src { font-size: var(--fs-small); color: var(--grey); line-height: 1.45; }
.pre__src { margin-top: 1.6rem; padding-top: .9rem; border-top: 1px solid var(--hair); max-width: 38rem; }
.pre__src a, .col dd a, .legal a { color: inherit; text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.pre__src a:hover, .col dd a:hover, .legal a:hover { color: var(--rust); }
.data { margin-bottom: 1em; }
.data p { margin: 0; }
.data ul { margin: 0 0 .3em; padding-left: 1.4em; }

.fig { margin: 1.2rem 0 1.8rem; }
.fig__zoom { all: unset; display: block; cursor: zoom-in; }
.fig__zoom:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.fig img { width: auto; max-width: 100%; max-height: 80vh; }
.fig figcaption { font-size: var(--fs-small); color: var(--grey); line-height: 1.45; margin-top: .55rem; max-width: 36em; }
.ch__back { margin-top: 2.5rem; font-size: 1.0625rem; }

/* ------------------------------------------------ Fragen und Antworten */
.faq { background: var(--night); color: var(--night-ink); padding: 5rem var(--page-pad) 4.5rem; }
.faq > h2, .faq__grid { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: calc(7.5rem + 2.6rem); }
.faq > h2 { font-family: var(--f-display); font-size: var(--fs-h2); margin-bottom: 2.4rem; }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 4rem; }
.faq h3 { font-family: var(--f-text); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; margin-bottom: .6rem; }
.faq p { color: #CFCFCB; margin: 0; }
.faq a { color: var(--night-ink); }
.faq a:hover { color: #E5B39A; }

/* ------------------------------------------------ Fuß */
.foot { background: var(--night); color: #BDBDB8; border-top: 1px solid #333; padding: 2rem var(--page-pad) 2.5rem; font-size: var(--fs-small); display: flex; flex-wrap: wrap; gap: .4rem 2.5rem; justify-content: center; }
.foot p { margin: 0; }
.foot a { color: var(--night-ink); }
.foot a:hover { color: #E5B39A; }
.foot__brand { color: var(--night-ink); }
.foot__legal { display: flex; gap: 1.2rem; }

/* ------------------------------------------------ Vergrößern */
.zoom { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #1b1b1b; color: #eee; }
.zoom::backdrop { background: rgba(10, 10, 10, .85); }
.zoom[open] { display: flex; flex-direction: column; }
.zoom[open] { animation: zoom-fade .2s ease both; }
.zoom[open]::backdrop { animation: zoom-fade .2s ease both; }
.zoom[open] .zoom__stage img { animation: zoom-rise .28s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes zoom-fade { from { opacity: 0; } }
@keyframes zoom-rise { from { opacity: 0; transform: scale(.975); } }
.zoom__bar { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border-bottom: 1px solid #333; }
.zoom__cap { flex: 1; margin: 0; font-size: 1rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zoom button { font: inherit; background: transparent; color: #eee; border: 1px solid #555; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .7rem; cursor: pointer; }
.zoom button:hover { border-color: #eee; }
.zoom button svg { display: block; margin: auto; }
.zoom button:disabled { opacity: .35; cursor: default; }
.zoom button[hidden] { display: none; }


.zoom__stage { flex: 1; overflow: auto; display: grid; place-items: center; padding: 1rem; overscroll-behavior: contain; }
.zoom__stage img { max-width: 100%; max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem); width: auto; height: auto; background: #fff; }
.zoom.is-full .zoom__stage { place-items: start; }
.zoom.is-full .zoom__stage img { max-width: none; max-height: none; }

/* ------------------------------------------------ Rechtsseiten */
.legal-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.legal { flex: 1; width: 100%; max-width: 44rem; margin: 0 auto; padding: 3.5rem var(--page-pad) 5rem; }
.legal h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); line-height: 1.1; margin-bottom: 1.6rem; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { line-height: 1.55; }
.legal__stand { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .08em; color: var(--grey); }
.legal code { font-family: var(--f-mono); font-size: .9em; }
.optout { margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--hair); }
.optout__state { margin-bottom: .7rem; }
.optout__btn { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--ink); padding: .55rem .9rem; min-height: 2.75rem; cursor: pointer; }
.optout__btn:hover { color: var(--rust); border-color: var(--rust); }
.legal__todo { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .08em; color: var(--rust); border: 1px dashed var(--rust); padding: .8rem 1rem; }

/* ------------------------------------------------ Breiten */
@media (max-width: 1240px) {
  .ed { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .ed__body { padding-left: 0; }
  .faq > h2, .faq__grid { padding-left: 0; }
}
@media (max-width: 1100px) {
  .tit, .pre { grid-template-columns: 1fr; }
  .tit__left { padding: 2.5rem 0 2.5rem; }
  .toc { border-left: 0; border-top: 1px solid var(--hair); padding: 2rem 0 2.5rem; }
  .pre__scan { padding: 2rem 0 0; max-width: 34rem; }
  .pre__text { padding: 2rem 0 3rem; }
  .ch { grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem); column-gap: 2.2rem; }
}
@media (max-width: 940px) {
  .run__brand { font-size: 1.15rem; }
  .run__nav { gap: .55rem; font-size: 1rem; }
}
@media (max-width: 760px) {
  :root { --head-h: 3.5rem; }
  .run__nav { display: none; }
  .run__menu { display: inline-block; }
  .run__brand { font-size: 1.125rem; line-height: 1.15; }
  .tit__sub { margin: 1.4rem 0 1.6rem; }
  .col__row { grid-template-columns: 1fr; gap: .15rem; padding: .7rem 0; }
  .col dd { font-size: 1.1875rem; }
  .btn { width: 100%; }
  .tit__act { gap: 1rem; justify-content: center; }
  .toc__item { min-height: 0; }
  .toc__link { grid-template-columns: 3rem 1.8rem 1fr auto; column-gap: .7rem; }
  .toc__thumb { --tw: 3rem; }
  .toc__lead { display: none; }
  .toc__t { font-size: 1.25rem; }
  .toc__d { grid-column: 3 / -1; font-size: 1rem; }
  .toc__no { font-size: 1.6rem; }
  .ch { grid-template-columns: minmax(0, 1fr); padding-top: 2.5rem; }
  .ch__head { margin-bottom: 1.2rem; }
  .ch__title, .part { flex-wrap: wrap; row-gap: .35rem; }
  .ch__pg, .part__pg { flex-basis: 100%; margin-left: 0; padding-left: 0; font-size: 1rem; }
  .orig, .ch__text { grid-column: 1; }
  .orig { grid-row: auto; margin-bottom: 1.6rem; }
  .orig__inner { position: static; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; align-items: start; }
  .orig__label { grid-column: 1 / -1; margin: 0; }
  .orig__view { display: none; }
  .orig__bar { grid-column: 1 / -1; margin-top: 0; flex-direction: column; align-items: flex-start; gap: .7rem; }
  .orig__pages { margin: 0; }
  .orig__p img { width: 3.5rem; }
  .ch__text { grid-row: auto; }
  .faq__grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq { padding-top: 3.5rem; }
  .foot { justify-content: flex-start; flex-direction: column; }
  .zoom__cap { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .run__nav, .run__menu, .rail, .orig, .tit__act, .zoom, .skip { display: none !important; }
  .ch { display: block; }
  .faq, .foot { background: none; color: #000; }
  .faq p { color: #000; }
}
