.lesezeit { margin: -.2em 0 0; font-size: .95rem; color: var(--grau); font-style: italic; }

.aufsatz-inhalt { margin: 0 auto clamp(36px, 6vw, 56px); padding: 18px 22px 12px; max-width: 36em; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: color-mix(in srgb, var(--papier-2) 55%, transparent); }
.aufsatz-inhalt:focus { outline: none; }
.aufsatz-inhalt:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.aufsatz-inhalt .kapit-klein { text-align: center; margin-bottom: 8px; }
.aufsatz-inhalt ol { list-style: none; margin: 0; padding: 0; }
.aufsatz-inhalt li.unter button { padding-left: 1.4em; font-size: 1rem; color: var(--tinte-2); }
.aufsatz-inhalt li.unter button:hover, .aufsatz-inhalt li.unter button[aria-current="true"] { color: var(--bordeaux); }
.aufsatz-inhalt button { display: grid; grid-template-columns: 2.4em 1fr; align-items: baseline; width: 100%; padding: 7px 4px; border: 0; border-bottom: 1px dotted var(--linie); background: none; color: var(--tinte); font: inherit; font-size: 1.05rem; line-height: 1.3; text-align: left; cursor: pointer; transition: color .2s, background-color .2s; }
.aufsatz-inhalt button:hover { color: var(--bordeaux); background: var(--mark); }
.aufsatz-inhalt button[aria-current="true"] { color: var(--bordeaux); }
.aufsatz-inhalt button[aria-current="true"] .nr::after { content: ' ·'; }
.aufsatz-inhalt .nr { font-family: var(--f-titel); color: var(--gold-text); font-size: 1rem; }
.aufsatz h2[id^="abschnitt-"] { scroll-margin-top: calc(var(--kopf) + 24px); }
.aufsatz h2[id^="abschnitt-"]:focus { outline: none; }
.aufsatz h2[id^="abschnitt-"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

.zum-inhalt { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border: 1px solid var(--linie); border-radius: 999px; background: color-mix(in srgb, var(--papier) 94%, transparent); box-shadow: var(--schatten); color: var(--tinte); font: inherit; font-size: 1rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.zum-inhalt.sichtbar { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.zum-inhalt:hover { border-color: var(--gold); color: var(--bordeaux); }
.zum-inhalt .pfeil { color: var(--gold-text); }
.zum-inhalt .stand { font-size: .85rem; color: var(--grau); font-variant-numeric: lining-nums tabular-nums; }
.zum-inhalt .stand:empty { display: none; }
@media print { .zum-inhalt, .aufsatz-inhalt { display: none !important; } }

.aufsatz-ende { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 2.4em auto 0; max-width: 200px; color: var(--gold); }
.aufsatz-ende::before, .aufsatz-ende::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .5; }
.aufsatz-ende svg { width: 18px; height: 18px; }

.seite .aufsatz-liste {
  position: relative; isolation: isolate; overflow: hidden; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 34px 18px;
  padding: 24px 20px 30px; border: 0; border-radius: 4px;
  background: repeating-linear-gradient(91deg, rgba(0, 0, 0, .10) 0 2px, transparent 2px 7px, rgba(255, 220, 170, .05) 7px 9px, transparent 9px 15px), linear-gradient(180deg, #3f2718, #2e1c12);
  box-shadow: inset 0 0 0 6px #4e3220, inset 0 0 0 7px rgba(0, 0, 0, .35), inset 0 18px 30px -12px rgba(0, 0, 0, .6), var(--schatten);
}
.seite .aufsatz-liste a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 250px; padding: 22px 16px 18px 30px;
  border: 0; border-radius: 2px 5px 5px 2px; text-align: center; color: #efe3c4; text-decoration: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .42) 0 15px, rgba(255, 236, 190, .14) 15px 16px, rgba(0, 0, 0, .12) 16px 19px, transparent 19px),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px),
    var(--band, #1f3d33);
  box-shadow: inset -2px 0 0 rgba(255, 255, 255, .06), inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 14px -8px rgba(0, 0, 0, .7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.seite .aufsatz-liste a::before { content: ''; position: absolute; inset: 9px 9px 9px 26px; border: 1px solid rgba(214, 186, 120, .42); border-radius: 2px; pointer-events: none; }
.seite .aufsatz-liste a::after {
  content: ''; position: absolute; left: -30px; right: -30px; bottom: -22px; height: 12px; z-index: -1;
  background: linear-gradient(180deg, #7a5233, #5a3b24 60%, #3a2516); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .6); transition: transform .3s var(--ease);
}
.seite .aufsatz-liste a:nth-child(4n+2) { --band: #5a1f28; }
.seite .aufsatz-liste a:nth-child(4n+3) { --band: #4a3322; }
.seite .aufsatz-liste a:nth-child(4n+4) { --band: #23364a; }
.seite .aufsatz-liste a:hover { color: #fff3d6; transform: translateY(-5px); box-shadow: inset -2px 0 0 rgba(255, 255, 255, .06), 0 18px 20px -10px rgba(0, 0, 0, .75); }
.seite .aufsatz-liste a:focus-visible { outline: 2px solid #e4c682; outline-offset: 3px; }
.seite .aufsatz-liste a:hover::after { transform: translateY(5px); }
.seite .aufsatz-liste a .nr {
  display: inline-grid; place-items: center; min-width: 2.2em; padding: .25em .5em .2em; border: 1px solid rgba(228, 198, 130, .6); border-radius: 999px;
  color: #e4c682; font-size: 1.05rem; line-height: 1; letter-spacing: .06em;
}
.seite .aufsatz-liste a .t { display: block; color: #ecd393; font-size: 1.32rem; line-height: 1.15; text-shadow: 0 1px 0 rgba(0, 0, 0, .55); hyphens: auto; overflow-wrap: anywhere; }
.seite .aufsatz-liste a .k { margin-top: 8px; color: rgba(239, 227, 196, .78); font-size: .9rem; line-height: 1.3; }
.seite .aufsatz-liste a .z { margin-top: auto; color: rgba(228, 198, 130, .8); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }

.seite .aufsatz-liste { display: flex; flex-wrap: wrap; justify-content: center; }
.seite .aufsatz-liste > a { flex: 0 0 calc((100% - 2 * 18px) / 3); min-width: 0; }
.seite .aufsatz-liste a::after { left: -100vw; right: -100vw; }
.seite .aufsatz-liste a:nth-child(n) { --band: #1f3d33; }
.seite .aufsatz-liste a:nth-of-type(4n+2) { --band: #5a1f28; }
.seite .aufsatz-liste a:nth-of-type(4n+3) { --band: #4a3322; }
.seite .aufsatz-liste a:nth-of-type(4n+4) { --band: #23364a; }
.seite .aufsatz-liste::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 6px #4e3220, inset 0 0 0 7px rgba(0, 0, 0, .35); }
.seite .aufsatz-liste .buchstuetze { display: none; position: relative; flex: 0 0 18px; align-self: flex-end; height: 56%; min-height: 110px; border-radius: 9px 9px 1px 1px; background: var(--messing); box-shadow: inset 0 1px 0 rgba(255, 248, 220, .7), inset -2px 0 0 rgba(90, 60, 15, .35), 0 0 0 1px rgba(60, 40, 10, .5), 0 8px 10px -6px rgba(0, 0, 0, .7); }
.seite .aufsatz-liste .buchstuetze::after { content: ''; position: absolute; bottom: 0; left: 0; width: 34px; height: 5px; border-radius: 1px; background: var(--messing); box-shadow: 0 0 0 1px rgba(60, 40, 10, .5); }
.seite .aufsatz-liste .buchstuetze.rechts::after { left: auto; right: 0; }
.seite .aufsatz-liste .buchstuetze:not(.rechts) { margin-right: -10px; }
.seite .aufsatz-liste .buchstuetze.rechts { margin-left: -10px; }
@media (min-width: 521px) { .seite .aufsatz-liste.einzeln-3 .buchstuetze { display: block; } }
@media (max-width: 520px) { .seite .aufsatz-liste.einzeln-2 .buchstuetze { display: block; } }
@media (max-width: 520px) {
  .seite .aufsatz-liste > a { flex-basis: calc((100% - 12px) / 2); }
  .seite .aufsatz-liste .buchstuetze { flex-basis: 14px; min-height: 96px; }
  .seite .aufsatz-liste .buchstuetze::after { width: 26px; }
}
@media (max-width: 520px) {
  .seite .aufsatz-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; padding: 18px 12px 26px; }
  .seite .aufsatz-liste a { min-height: 220px; padding: 18px 10px 14px 26px; }
  .seite .aufsatz-liste a::before { inset: 7px 7px 7px 23px; }
  .seite .aufsatz-liste a .t { font-size: 1.08rem; }
  .seite .aufsatz-liste a .k { font-size: .8rem; }
}

.aufsatz .fn-ref[aria-expanded="true"] { background: var(--mark-stark) !important; border-radius: 3px; }
.fn-notiz { margin: -.3em 0 1.3em; padding: 14px 18px 12px; max-width: 41.75rem;   border-left: 3px solid var(--gold); background: var(--papier-2); font-size: 1.04rem; line-height: 1.55; color: var(--tinte-2); box-shadow: 0 6px 18px -14px rgba(29, 27, 23, .5); animation: fn-auf .35s var(--ease) both; }
.fn-notiz:focus { outline: none; }
.fn-notiz:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.fn-notiz .fn-kopf { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.fn-notiz .fn-nr { font-family: var(--f-titel); font-size: 1.5rem; line-height: 1; color: var(--bordeaux); }
.aufsatz .fn-notiz p { margin: 0 0 10px; text-align: left; hyphens: manual; max-width: none; }
.fn-notiz .fn-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.fn-notiz .fn-alle { border: 0; background: none; padding: 6px 2px; font: inherit; font-size: .95rem; color: var(--bordeaux); cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
@keyframes fn-auf { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.fussnoten ol { padding-left: 2em; }
.fussnoten li { padding: 4px 6px; border-radius: 3px; scroll-margin-top: calc(var(--kopf) + 20px); }
.fussnoten li::marker { font-family: var(--f-titel); color: var(--bordeaux); font-size: 1.1em; }
.fussnoten li:focus { outline: none; background: var(--mark); }

.jahr-schritt { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -8px; padding-bottom: 12px; border-bottom: 1px solid var(--linie); }
.jahr-schritt-knopf { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--linie); border-radius: 999px; background: var(--papier-2); color: var(--tinte); font-family: var(--f-titel); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.jahr-schritt-knopf:hover { border-color: var(--gold); color: var(--bordeaux); }
.jahr-schritt-knopf span { color: var(--gold-text); font-family: var(--f-text); font-size: 1rem; }
.jahr-schritt-mitte { flex: 1; text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grau); }
.jahr-detail { align-items: start; }
.jahr-detail figure img { width: 100%; }
@media (max-width: 520px) {
  .jahr-schritt { gap: 8px; }
  .jahr-schritt-knopf { padding: 8px 10px; font-size: 1.2rem; }
  .jahr-schritt-mitte { min-width: 0; overflow-wrap: anywhere; font-size: .8rem; letter-spacing: .06em; }
}

.werkbank-register { max-width: 860px; margin: clamp(40px, 6vw, 64px) auto 0; padding-top: 18px; border-top: 1px solid var(--linie); }
.werkbank-register .kapit-klein { text-align: center; margin-bottom: 10px; }
.werkbank-register ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.werkbank-register button { display: grid; grid-template-columns: 2.6em 1fr; grid-template-areas: 'nr t' 'nr art'; align-items: baseline; width: 100%; padding: 9px 4px; border: 0; border-bottom: 1px dotted var(--linie); background: none; color: var(--tinte); font: inherit; text-align: left; cursor: pointer; transition: color .2s, background-color .2s; }
.werkbank-register button:hover { color: var(--bordeaux); background: var(--mark); }
.werkbank-register .nr { grid-area: nr; font-family: var(--f-titel); font-size: 1.15rem; color: var(--gold-text); }
.werkbank-register .t { grid-area: t; font-family: var(--f-titel); font-size: 1.22rem; line-height: 1.2; }
.werkbank-register .art { grid-area: art; font-size: .9rem; font-style: italic; color: var(--grau); }
@media (max-width: 700px) { .werkbank-register ol { grid-template-columns: 1fr; } }

.werkbank { position: relative; padding-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--linie); scroll-margin-top: calc(var(--kopf) + 30px); }
.werkbank-nr { position: absolute; top: 0; left: 0; transform: translateY(-50%); display: inline-flex; align-items: baseline; gap: 10px; padding-right: 14px; background: var(--papier); }
.werkbank-nr .nr { font-family: var(--f-titel); font-size: 1.5rem; line-height: 1; color: var(--gold-text); }
.werkbank-nr .art { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grau); }
.werkbank h2 { margin-top: .1em; }
.werkbank h2:focus { outline: none; }
.werkbank h2:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.widmungen-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 18px; }
.widmungen-reihe .widmung-karte { margin: 0; padding: 18px 20px 16px 22px; background: var(--papier-2); border: 1px solid var(--linie); border-left: 3px solid var(--bordeaux); line-height: 1.5; }

.werkbank .buecherbord { gap: 8px; padding: 30px 20px 0; background: linear-gradient(to bottom, transparent 40%, rgba(92, 68, 48, .07)); }
.werkbank .buchruecken:first-child { margin-left: auto; }
.werkbank .buchruecken:last-child { margin-right: auto; }
.werkbank .buchruecken { padding: 14px 8px 48px; line-height: 1.15; width: auto; min-width: 52px; }
.werkbank .buchruecken:nth-child(2n) { min-width: 48px; }
.werkbank .buchruecken:nth-child(3n) { min-width: 58px; }
.werkbank .buch-info { max-width: 560px; margin: 22px auto 0; padding: 4px 22px 16px; text-align: center; border-bottom: 1px solid var(--linie); }
.werkbank .buch-info h3 { font-size: 1.45rem; line-height: 1.2; }
.werkbank .buch-info:empty { display: none; }

.raetsel-ergebnis { text-align: center; }
.raetsel-ergebnis .ergebnis-zahl { font-size: clamp(3.2rem, 9vw, 4.4rem); margin: .15em 0 .1em; font-variant-numeric: lining-nums; }
.ergebnis-reihe { display: flex; justify-content: center; gap: 8px; margin: 0 0 18px; }
.ergebnis-reihe i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--linie); font-style: normal; font-size: .95rem; color: var(--grau); background: var(--papier-2); animation: ergebnis-tropfen .5s var(--ease) both; }
.ergebnis-reihe i.richtig { border-color: var(--gruen-2); background: color-mix(in srgb, var(--gruen-2) 16%, var(--papier-2)); color: var(--gruen-2); }
:root[data-abend="an"] .ergebnis-reihe i.richtig { color: #9cc6ad; border-color: #7fae94; }
.ergebnis-reihe i:nth-child(2) { animation-delay: .08s; } .ergebnis-reihe i:nth-child(3) { animation-delay: .16s; }
.ergebnis-reihe i:nth-child(4) { animation-delay: .24s; } .ergebnis-reihe i:nth-child(5) { animation-delay: .32s; }
.ergebnis-reihe i:nth-child(6) { animation-delay: .4s; } .ergebnis-reihe i:nth-child(7) { animation-delay: .48s; }
@keyframes ergebnis-tropfen { from { opacity: 0; transform: translateY(-6px) scale(.8); } to { opacity: 1; transform: none; } }
.ergebnis-vers { margin: 28px auto 0; max-width: 520px; padding: 22px 26px 16px; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); animation: ergebnis-vers 1.2s .6s var(--ease) both; }
.ergebnis-vers blockquote { margin: 0; font-family: var(--f-titel); font-size: clamp(1.3rem, 3.4vw, 1.6rem); line-height: 1.32; }
.ergebnis-vers blockquote.zweit { margin-top: .7em; font-size: clamp(1.1rem, 2.8vw, 1.25rem); font-style: italic; color: var(--tinte-2); }
.ergebnis-vers figcaption { margin-top: 12px; font-size: .92rem; }
@keyframes ergebnis-vers { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ergebnis-knoepfe { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ergebnis-liste { margin-top: clamp(36px, 6vw, 56px); text-align: left; }
.ergebnis-liste h2 { font-family: var(--f-text); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grau); font-weight: 500; text-align: center; margin-bottom: 10px; }
.ergebnis-liste ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.ergebnis-liste a { display: grid; grid-template-columns: 1.8em 1fr auto; gap: 4px 12px; align-items: baseline; padding: 10px 4px; border-bottom: 1px dotted var(--linie); text-decoration: none; color: var(--tinte); }
.ergebnis-liste a:hover { background: var(--mark); color: var(--bordeaux); }
.ergebnis-liste .zeichen { font-weight: 600; text-align: center; }
.ergebnis-liste .richtig .zeichen { color: var(--gruen-2); }
:root[data-abend="an"] .ergebnis-liste .richtig .zeichen { color: #9cc6ad; }
.ergebnis-liste .falsch .zeichen { color: var(--bordeaux); }
.ergebnis-liste .t-ru { font-family: var(--f-titel); font-size: 1.18rem; line-height: 1.2; }
.ergebnis-liste .t-de { font-style: italic; color: var(--grau); font-size: .95rem; text-align: right; }
@media (max-width: 560px) {
  .ergebnis-liste a { grid-template-columns: 1.8em 1fr; }
  .ergebnis-liste .t-de { grid-column: 2; text-align: left; }
  .ergebnis-reihe { gap: 6px; } .ergebnis-reihe i { width: 26px; height: 26px; }
}

.cento-schluss { text-align: center; margin: -1em 0 1.8em; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), visibility 0s 1.4s; }
.cento-schluss.da { opacity: 1; visibility: visible; transform: none; transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.cento-siegelstrich { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 220px; margin: 0 auto 10px; color: #a9853f; }
.cento-siegelstrich::before, .cento-siegelstrich::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .55; transform: scaleX(0); transition: transform 1.6s .3s var(--ease); }
.cento-siegelstrich::before { transform-origin: right; } .cento-siegelstrich::after { transform-origin: left; }
.cento-schluss.da .cento-siegelstrich::before, .cento-schluss.da .cento-siegelstrich::after { transform: scaleX(1); }
.cento-siegelstrich svg { width: 20px; height: 20px; }
.cento-quellen-knopf { border: 1px solid #d6c9a9; border-radius: 999px; background: none; padding: 8px 18px; min-height: 44px; font: inherit; font-family: var(--f-titel); font-style: italic; font-size: 1.1rem; color: #3b362d; cursor: pointer; transition: border-color .2s, color .2s; }
.cento-quellen-knopf:hover { border-color: #a9853f; color: #6e1f2a; }
.cento.quellen-an .cento-zeile .q { position: static; display: block; margin: .1em 0 .6em; opacity: 1; font-size: .98rem; line-height: 1.3; white-space: normal; }
.cento.quellen-an .cento-zeile.gleiche-quelle .q { display: none; }
.cento.quellen-an .cento-zeile .q::before { content: '— '; }

@media (max-width: 600px) { .cento:not(.quellen-an) .cento-zeile .q { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .fn-notiz, .ergebnis-reihe i, .ergebnis-vers { animation: none; }
  .cento-schluss, .cento-siegelstrich::before, .cento-siegelstrich::after, .zum-inhalt { transition: none; }
}
:root[data-ruhig="an"] .fn-notiz, :root[data-ruhig="an"] .ergebnis-reihe i, :root[data-ruhig="an"] .ergebnis-vers { animation: none; }

@media (max-width: 700px) {
  .himmel .motiv-stern text { paint-order: stroke; stroke: rgba(9, 14, 22, .82); stroke-width: 7px; stroke-linejoin: round; }
  .himmel .motiv-stern text.ru-text { stroke-width: 7px; }
}

@media (max-width: 760px) {
  .seismo button, .jahresachse span { flex-basis: 44px; min-width: 44px; }
  .seismo .balken { width: 19px; }
}

.brief-platz {
  margin: .4em 0 1.2em; padding: 2.2em 1em; text-align: center; font-family: var(--f-titel); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: #6c6354;
  background: repeating-linear-gradient(180deg, transparent 0 1.9em, rgba(110, 31, 42, .14) 1.9em calc(1.9em + 1px));
}

.foto-platz .foto-leer small { font-size: .82rem; line-height: 1.3; letter-spacing: 0; padding: 0 10px; font-style: italic; }

.vorschau-zettel {
  position: relative; width: min(460px, 100%); margin-top: 76px; padding: 26px clamp(18px, 4vw, 30px) 20px;
  background: #fbf5e6; color: #3b362d; border: 1px solid #d9cba8; border-top: 3px solid #6e1f2a; border-radius: 3px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .7); transform: rotate(.6deg); font-size: 1rem; line-height: 1.5;
}
.vorschau-zettel .vz-stempel {
  position: absolute; top: -14px; right: 18px; padding: 3px 12px 2px; background: #fbf5e6; border: 2px solid #6e1f2a; border-radius: 3px; color: #6e1f2a;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; transform: rotate(-3deg);
}
.vorschau-zettel h2 { margin: 0 0 .4em; font-family: var(--f-titel); font-style: italic; font-weight: 500; font-size: 1.4rem; line-height: 1.2; color: #1d1b17; }
.vorschau-zettel p { margin: .4em 0; }
.vorschau-zettel ul { margin: .5em 0 .7em; padding-left: 1.3em; }
.vorschau-zettel li { margin: .25em 0; }
.vorschau-zettel li::marker { content: '❦  '; color: #a9853f; font-size: .85em; }
.vorschau-zettel .vz-schluss { font-style: italic; color: #6c6354; font-size: .95rem; border-top: 1px solid #e3d7bb; padding-top: .6em; }
:root[data-abend="an"] .vorschau-zettel, :root[data-abend="an"] .vorschau-zettel .vz-stempel { background: #ece2cb; }

.fuss .leihkarte .lk-vorschau { font-style: italic; color: #6e1f2a; }
:root[data-abend="an"] .fuss .leihkarte .lk-vorschau { color: var(--bordeaux); }
:root[data-abend="an"] .fuss .leihkarte .lk-vorschau a { color: inherit; }
@media print { .vorschau-zettel, .fuss .lk-vorschau { display: none; } }

.konfetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 55; }

.brief-glanz {
  position: fixed; inset: 0; pointer-events: none; z-index: 55; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 40%), rgba(212, 182, 115, .38), rgba(212, 182, 115, .14) 26%, transparent 58%);
}

.brief-nochmal {
  position: absolute; top: -44px; right: 0; min-height: 36px; padding: 4px 14px;
  border: 1px solid rgba(212, 182, 115, .4); border-radius: 999px; background: transparent; color: #d4b673;
  font-family: var(--f-titel); font-style: italic; font-size: 1rem; line-height: 1; letter-spacing: .02em;
  cursor: pointer; opacity: .78; transition: opacity .25s, border-color .25s, background-color .25s;
}
.brief-nochmal span { font-style: normal; font-size: .85em; }
.brief-nochmal:hover, .brief-nochmal:focus-visible { opacity: 1; border-color: #d4b673; background: rgba(212, 182, 115, .08); }
.brief-nochmal:focus-visible { outline: 2px solid #d4b673; outline-offset: 2px; }
@media (pointer: coarse) { .brief-nochmal { min-height: 40px; top: -46px; } }
@media print { .konfetti, .brief-glanz, .brief-nochmal { display: none !important; } }

.aufsatz p { text-align: left; text-wrap: pretty; }
.aufsatz p:lang(de) { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3; }

.karte-wege .ort circle.treffer, .karte-wege .ort:hover circle.treffer, .karte-wege .ort.an circle.treffer { r: 24px; fill: transparent; stroke: none; }
.karte-wege .ort text { stroke-linejoin: round; }
.karte-wege .ort:focus { outline: none; }
.karte-wege .ort:focus-visible circle.punkt { stroke: var(--gold); stroke-width: 3; }

.raetsel-schild-zeile { text-align: center; margin-bottom: 4px; }
.raetsel-schild-zeile .tuerschild { margin-bottom: 22px; }
.raetsel-karte {
  position: relative; isolation: isolate; overflow: hidden; margin: 6px 0 28px; padding: clamp(26px, 4vw, 38px) clamp(18px, 5vw, 46px) clamp(24px, 4vw, 34px);
  min-height: 9.5em; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%), var(--papier-2);
  border: 1px solid var(--linie); border-radius: 3px;
  box-shadow: inset 0 0 0 7px var(--papier-2), inset 0 0 0 8px color-mix(in srgb, var(--gold) 55%, transparent), var(--schatten);
}
.raetsel-karte .rk-wasserzeichen { position: absolute; right: -18px; bottom: -26px; z-index: -1; width: 150px; height: 150px; color: var(--gold); opacity: .13; pointer-events: none; }
.raetsel-karte .rk-wasserzeichen svg { width: 100%; height: 100%; }
.raetsel-karte .rk-ornament { display: flex; align-items: center; gap: 12px; width: min(220px, 70%); margin: 0 auto 14px; color: var(--gold-text); }
.raetsel-karte .rk-ornament::before, .raetsel-karte .rk-ornament::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.raetsel-karte .rk-ornament span { font-family: var(--f-titel); font-size: 1.15rem; line-height: 1; font-variant-numeric: lining-nums; }
.raetsel-karte .raetsel-text { margin: 0; }

.raetsel-karte .raetsel-text:empty::before { content: attr(data-probe); font-style: italic; color: var(--grau); }
:root[data-abend="an"] .raetsel-karte .rk-wasserzeichen { opacity: .09; }
@media (max-width: 560px) { .raetsel-karte { margin-inline: -4px; } .raetsel-karte .rk-wasserzeichen { width: 110px; height: 110px; } }

.brief-buehne { padding-top: 120px; }
.brief-buehne > .brief-schild { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; z-index: 2; }
.vorschau-zettel li b { font-weight: 600; color: #1d1b17; }
.vorschau-zettel .vz-formular { margin-top: .7em; padding: .5em .8em; background: rgba(169, 133, 63, .1); border-left: 2px solid #a9853f; }
.vorschau-zettel .vz-formular i { font-family: var(--f-titel); font-size: 1.08em; }
@media print { .brief-schild { display: none; } }

.himmel.sb-nacht {
  isolation: isolate; border-radius: 8px;
  background:
    radial-gradient(ellipse 70% 55% at 74% 16%, rgba(64, 88, 146, .26), transparent 70%),
    radial-gradient(ellipse 60% 50% at 16% 90%, rgba(96, 60, 92, .16), transparent 70%),
    radial-gradient(ellipse at 50% 40%, #12213a 0%, #0a1222 52%, #04070d 100%);
}
.himmel.sb-nacht::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(212, 182, 115, .45), inset 0 0 0 5px rgba(5, 8, 14, .5), inset 0 0 0 6px rgba(212, 182, 115, .14), inset 0 0 90px 12px rgba(2, 4, 9, .6);
}
.himmel.sb-nacht svg { position: relative; z-index: 1; }
.himmel.sb-nacht .himmel-tipp { z-index: 3; }
.sb-nacht .sb-ebene { position: absolute; top: -40px; left: -40px; width: calc(100% + 80px); height: calc(100% + 80px); pointer-events: none; will-change: transform; }
.sb-nacht .hg-sterne { transition: none; }

.sb-nacht .motiv-stern .sb-aura { fill: url(#sb-aura); opacity: .75; pointer-events: none; transform-box: fill-box; transform-origin: center; transition: opacity .5s; }
.sb-nacht .motiv-stern .sb-strahl { fill: url(#sb-strahl); opacity: .7; pointer-events: none; transform-box: fill-box; transform-origin: center; transition: opacity .4s, transform .7s var(--ease); }
.sb-nacht .motiv-stern .kern { fill: #fff1cf; filter: drop-shadow(0 0 4px rgba(255, 226, 160, .9)); }
.sb-nacht .motiv-stern .sb-ring { fill: none; stroke: #f0d696; stroke-width: 1.2; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.sb-nacht .motiv-stern:hover .sb-strahl, .sb-nacht .motiv-stern.an .sb-strahl, .sb-nacht .motiv-stern.gewaehlt .sb-strahl, .sb-nacht .motiv-stern:focus-visible .sb-strahl { opacity: 1; transform: rotate(45deg) scale(1.08); }
.sb-nacht .motiv-stern.nah .hof { opacity: .85; }
.sb-nacht .motiv-stern.nah .sb-aura, .sb-nacht .motiv-stern.an .sb-aura { opacity: 1; }
.sb-nacht .motiv-stern.nah text:not(.ru-text) { fill: #f6e7c4; }
.sb-nacht .motiv-stern.gewaehlt .hof { opacity: 1; }
.sb-nacht .motiv-stern.gewaehlt .sb-aura { opacity: 1; animation: sb-atmen 4s ease-in-out infinite; }
.sb-nacht .motiv-stern.gewaehlt .sb-ring { animation: sb-puls 2.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.sb-nacht .motiv-stern.gewaehlt text:not(.ru-text) { fill: #f3d58f; }
.sb-nacht .motiv-stern:focus { outline: none; }
.sb-nacht .motiv-stern:focus-visible .sb-ring { opacity: 1; animation: none; stroke: #ffe3a0; stroke-width: 1.6; stroke-dasharray: 3 3; transform: scale(1.6); }
@keyframes sb-puls { 0% { opacity: .9; transform: scale(.75); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes sb-atmen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (min-width: 701px) {
  .sb-nacht .motiv-stern text { paint-order: stroke; stroke: rgba(4, 8, 15, .7); stroke-width: 4px; stroke-linejoin: round; transition: fill .3s; }
  .sb-nacht .motiv-stern text.ru-text { stroke-width: 3px; }
}

.sb-nacht .sb-band { fill: none; stroke: rgba(196, 212, 246, .32); stroke-width: calc(.7px + var(--n) * .25px); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; pointer-events: none; transition: stroke .5s, opacity .5s; animation: sb-ziehen 1.8s var(--ease) var(--d) both; }
.sb-nacht .sb-band.leise { opacity: 0; animation: none; }
.sb-nacht svg.gezogen .sb-band { animation: none; }
.sb-nacht svg .sb-band.an { stroke: rgba(243, 212, 140, .92); opacity: 1; filter: drop-shadow(0 0 3px rgba(243, 205, 120, .55)); animation: sb-ziehen 1.1s var(--ease) both; }
.sb-nacht svg .sb-band.leise.an { stroke: rgba(243, 212, 140, .6); }
.sb-nacht svg .sb-band.aus { stroke: rgba(196, 212, 246, .1); }
@keyframes sb-ziehen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.sb-schnuppe {
  position: absolute; z-index: 0; width: 170px; height: 2px; margin-top: -1px; pointer-events: none; opacity: 0; transform-origin: 100% 50%;
  background: linear-gradient(90deg, rgba(255, 244, 220, 0), rgba(255, 244, 220, .85)); border-radius: 2px;
  animation: sb-schnuppe 1.25s cubic-bezier(.3, .1, .6, 1) forwards;
}
.sb-schnuppe::after { content: ''; position: absolute; right: -2px; top: -1.5px; width: 5px; height: 5px; border-radius: 50%; background: #fff8e8; box-shadow: 0 0 8px 2px rgba(255, 236, 190, .8); }
@keyframes sb-schnuppe {
  0% { opacity: 0; transform: rotate(var(--w)) translateX(0) scaleX(.15); }
  12% { opacity: 1; } 70% { opacity: .9; }
  100% { opacity: 0; transform: rotate(var(--w)) translateX(300px) scaleX(1); }
}

.sternbild-panel.sb-panel {
  border-color: color-mix(in srgb, var(--gold) 40%, var(--linie)); border-top: 2px solid var(--gold); border-radius: 0 0 6px 6px;
  background: radial-gradient(ellipse 120% 50% at 50% 0%, color-mix(in srgb, var(--gold) 9%, transparent), transparent 70%), var(--papier-2);
}
.sb-panel.sb-ein { animation: sb-panel-ein .6s var(--ease) both; }
.sb-panel.sb-ein .sb-karten li { animation: sb-karte-ein .55s var(--ease) both; animation-delay: calc(.12s + var(--i) * .04s); }
@keyframes sb-panel-ein { from { opacity: 0; transform: translateX(24px); } }
@keyframes sb-panel-ein-unten { from { opacity: 0; transform: translateY(14px); } }
@keyframes sb-karte-ein { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 1100px) { .sb-panel.sb-ein { animation-name: sb-panel-ein-unten; } }
.sb-panel .sb-zweit { color: var(--grau); }
.sb-panel .sb-frage { font-size: 1.15rem; margin: 14px 0 0; padding: 3px 0 3px 14px; border-left: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); }
.sb-panel .sb-lesen { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 10px; font-family: var(--f-titel); font-size: 1.14rem; color: var(--gold-text); text-decoration: none; }
.sb-panel .sb-lesen:hover, .sb-panel .sb-lesen:focus-visible { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.sb-panel .sb-lesen-stern { display: inline-block; color: var(--gold); transition: transform .6s var(--ease); }
.sb-panel .sb-lesen:hover .sb-lesen-stern { transform: rotate(72deg) scale(1.15); }
.sternbild-panel ul.sb-karten { display: grid; gap: 8px; margin-top: 6px; }
.sternbild-panel .sb-karten li a.sb-karte {
  display: block; padding: 10px 12px 11px; border: 1px solid var(--linie); border-radius: 4px; text-decoration: none; color: var(--tinte);
  background: color-mix(in srgb, var(--papier) 60%, transparent); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.sternbild-panel .sb-karten li a.sb-karte:hover, .sternbild-panel .sb-karten li a.sb-karte:focus-visible { border-color: var(--gold); transform: translateX(3px); box-shadow: inset 3px 0 0 var(--gold); }
.sternbild-panel .sb-karte span { display: block; font-style: normal; color: inherit; font-size: inherit; }
.sternbild-panel .sb-karte .sb-k-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sternbild-panel .sb-karte .sb-k-ru { font-family: var(--f-titel); font-size: 1.15rem; line-height: 1.2; min-width: 0; }
.sternbild-panel .sb-karte .sb-k-jahr { flex: none; font-size: .86rem; letter-spacing: .04em; color: var(--gold-text); }
.sternbild-panel .sb-karte .sb-k-de { font-size: .95rem; color: var(--grau); margin-top: 1px; }
.sternbild-panel .sb-karte .sb-k-zeile { font-style: italic; font-size: .93rem; line-height: 1.35; color: var(--tinte-2); margin-top: 5px; }
.sb-panel .sb-verwandt { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linie); }
.sb-panel .sb-verwandt .motiv-knoepfe { justify-content: flex-start; margin-top: 8px; }
.sb-panel .sb-unten { margin-top: 16px; }
.sb-panel h2:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .sb-nacht .sb-band, .sb-nacht svg .sb-band.an, .sb-nacht .motiv-stern.gewaehlt .sb-ring, .sb-nacht .motiv-stern.gewaehlt .sb-aura, .sb-panel.sb-ein, .sb-panel.sb-ein .sb-karten li { animation: none; }
  .sb-nacht .motiv-stern.gewaehlt .sb-ring { opacity: .75; transform: scale(1.5); }
  .sb-schnuppe { display: none; }
}
:root[data-ruhig="an"] .sb-nacht .sb-band, :root[data-ruhig="an"] .sb-nacht svg .sb-band.an, :root[data-ruhig="an"] .sb-nacht .motiv-stern.gewaehlt .sb-ring,
:root[data-ruhig="an"] .sb-nacht .motiv-stern.gewaehlt .sb-aura, :root[data-ruhig="an"] .sb-panel.sb-ein, :root[data-ruhig="an"] .sb-panel.sb-ein .sb-karten li { animation: none; }
:root[data-ruhig="an"] .sb-nacht .motiv-stern.gewaehlt .sb-ring { opacity: .75; transform: scale(1.5); }
:root[data-ruhig="an"] .sb-schnuppe { display: none; }
.sb-nacht .linie { stroke: rgba(214, 196, 150, .08); }

.aufsatz .hervor { border-left: 3px solid var(--bordeaux); padding: 4px 0 4px 16px; }
