/* Papier-Stilvariante für Lektion 298 (2025). */
body.paper-edition {
  background: #eeece3;
  background-image: radial-gradient(ellipse at 50% 0, #faf8f0 0, transparent 70%);
}
.paper-edition .site-header { border-bottom-color: #d9d7ca; }
.paper-edition .site-header nav { font-size: .88rem; }
.paper-edition .brand-logo { width: 220px; }
.paper-main {
  --sheet-gutter: clamp(1.25rem, 5.5vw, 4.25rem);
  width: min(790px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 54px;
}
.paper-breadcrumb {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 22px;
  color: #59635a;
  font: .82rem/1.6 Arial, Helvetica, sans-serif;
}
.paper-breadcrumb a { text-decoration-thickness: 1px; }
.preview-label { letter-spacing: .06em; text-transform: uppercase; font-size: .68rem; }
.lesson-paper {
  position: relative;
  isolation: isolate;
  padding: 48px var(--sheet-gutter) 46px;
  background-color: #fffdf6;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath d='M0 0h180v180H0z' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E"),
    linear-gradient(103deg, #fffdf7, #fffef9 48%, #faf6eb);
  border: 1px solid #ddd8c9;
  border-radius: 2px 3px 3px 2px;
  box-shadow: 0 16px 42px #4f49321a, 0 2px 4px #4f49320b, 0 4px 0 -1px #f8f4e9, 0 5px 0 -1px #dcd7c8;
  color: #2f3b33;
  font: 1.08rem/1.76 Georgia, 'Times New Roman', serif;
}
.lesson-paper::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 36px;
  left: calc(var(--sheet-gutter) - 20px);
  border-left: 1px solid #d8bfb048;
  pointer-events: none;
}
.paper-heading { padding-bottom: 26px; }
.paper-kicker {
  margin: 0 0 20px;
  color: #74684f;
  font: .71rem/1.6 Arial, Helvetica, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.lesson-paper h1 {
  margin: 0;
  font: 400 clamp(2.1rem, 4.8vw, 3.15rem)/1.13 Georgia, 'Times New Roman', serif;
  letter-spacing: -.04em;
  color: #263b34;
  overflow-wrap: break-word;
}
.paper-title-rule {
  display: block;
  width: 50px;
  height: 2px;
  margin-top: 24px;
  background: #b49357;
  border-radius: 50%;
  transform: rotate(-1deg);
}
.paper-intro { margin: 0; font-size: 1.08em; line-height: 1.73; }
.paper-intro strong { font-weight: 700; }
.paper-points { list-style: none; margin: 29px 0 0; padding: 0; }
.paper-point {
  position: relative;
  margin: 0;
  padding: 23px 0 25px;
  border-top: 1px solid #dcd6c7;
  break-inside: avoid;
}
.paper-point:last-child { padding-bottom: 0; }
.paper-point-heading { position: relative; }
.paper-number {
  position: absolute;
  top: 1px;
  left: -41px;
  width: 25px;
  color: #8b6638;
  text-align: center;
  font: italic 1.43rem/1.3 Georgia, 'Times New Roman', serif;
  font-variant-numeric: lining-nums;
}
.lesson-paper .paper-point h2 {
  margin: 0;
  color: #2f3e33;
  font: 700 1.16em/1.36 Georgia, 'Times New Roman', serif;
  letter-spacing: -.018em;
}
.paper-point p { margin: 11px 0 0; }
.paper-point em { font-style: italic; }
.paper-illustration {
  width: calc(100% - var(--sheet-gutter) * 2 - 2px);
  margin: 42px auto 0;
}
.paper-illustration img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9d4c5;
  border-radius: 3px;
}
.paper-illustration figcaption {
  margin-top: 12px;
  color: #59635a;
  font: .82rem/1.65 Arial, Helvetica, sans-serif;
}
.paper-illustration figcaption a { display: inline-block; min-height: 32px; }
.paper-edition .site-footer { border-top: 1px solid #d9d7ca; }
@media (max-width: 640px) {
  .paper-edition .site-header { gap: 18px; }
  .paper-edition .site-header nav { gap: 18px; font-size: .8rem; }
  .paper-edition .brand-logo { width: 210px; max-width: 100%; }
  .paper-main { --sheet-gutter: 20px; padding-top: 22px; }
  .paper-breadcrumb { margin-bottom: 18px; font-size: .75rem; }
  .preview-label { font-size: .61rem; }
  .lesson-paper { padding-top: 28px; padding-bottom: 30px; font-size: 1.04rem; line-height: 1.74; }
  .lesson-paper::before { display: none; }
  .paper-kicker { margin-bottom: 14px; font-size: .65rem; letter-spacing: .1em; }
  .paper-heading { padding-bottom: 23px; }
  .lesson-paper h1 { font-size: clamp(1.8rem, 7.8vw, 2.4rem); line-height: 1.16; }
  .paper-title-rule { margin-top: 20px; width: 42px; }
  .paper-intro { font-size: 1em; }
  .paper-points { margin-top: 23px; }
  .paper-point { padding-block: 22px; }
  .paper-point:last-child { padding-bottom: 0; }
  .paper-point-heading { display: flex; gap: 12px; align-items: baseline; }
  .paper-number { position: static; flex: 0 0 16px; width: auto; font-size: 1.22rem; text-align: left; }
  .lesson-paper .paper-point h2 { font-size: 1.12em; line-height: 1.4; letter-spacing: -.01em; }
  .paper-point p { margin-top: 10px; }
  .paper-illustration { margin-top: 30px; }
}
@media (max-width: 360px) {
  .paper-main { --sheet-gutter: 16px; }
  .paper-edition .site-header nav { column-gap: 15px; }
  .paper-point-heading { gap: 9px; }
}
@media print {
  body.paper-edition { background: white; }
  .site-header, .site-footer, .paper-breadcrumb { display: none; }
  .paper-main { width: 100%; max-width: none; padding: 0; }
  .lesson-paper { box-shadow: none; border: 0; background: white; padding: 0; font-size: 11pt; }
  .lesson-paper::before { display: none; }
  .paper-number { position: static; display: inline-block; width: 22px; text-align: left; }
  .paper-point-heading { display: flex; gap: 10px; }
  .paper-illustration { break-before: page; }
}


/* Jahresnavigation und Aufnahme bleiben außerhalb des Blatts in derselben Lesespalte. */
.paper-main > .lesson-edition { margin: 0 0 22px; font: .82rem/1.6 Arial, Helvetica, sans-serif; }
.paper-main > .lesson-years, .paper-main > .lesson-episodes, .paper-main > .lesson-links,
.paper-main > .lesson-checklist { width: calc(100% - var(--sheet-gutter) * 2 - 2px); margin-inline: auto; }
.paper-intro + .paper-intro { margin-top: 18px; }
.paper-main .lesson-figure img { border-radius: 3px; }
@media print { .paper-main > .lesson-edition { display: none; } }
