:root {
  color-scheme: light;
  --papier: #f8f5ee;
  --schrift: #292720;
  --leise: #625b4f;
  --akzent: #764631;
  --linie: #d9cfc0;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--papier); color: var(--schrift); font: .95rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--akzent); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 4px; }
.skip { position: absolute; inset: .5rem auto auto .5rem; z-index: 1; padding: .5rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.rahmen { width: min(100% - 3rem, 71rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--linie); }
.kopf, .fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.kopf { min-height: 5rem; padding-block: .65rem; }
.wortmarke { font: 1.8rem var(--serif); text-decoration: none; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: .3rem clamp(.7rem, 3vw, 2.2rem); font-size: .9rem; }
nav a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
h1, h2, .listentitel { font-family: var(--serif); font-weight: normal; line-height: 1.06; }
h1, h2, p, figure { margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.75rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); letter-spacing: -.025em; }
h1 span, h2 span { display: block; color: var(--leise); font-size: .6em; margin-top: .28em; letter-spacing: 0; }
h2 a { text-decoration: none; }
p + p, h2 + p { margin-top: .85rem; }
.etikett { font-size: .74rem; font-weight: 650; color: var(--akzent); letter-spacing: .13em; text-transform: uppercase; }
.etikett + h1, .etikett + h2 { margin-top: .65rem; }
.einleitung { color: var(--leise); font-size: clamp(1rem, 1.7vw, 1.13rem); margin-top: 1.4rem; max-width: 38rem; }
.textlink { display: inline-flex; align-items: center; gap: .65em; min-height: 44px; font-weight: 550; }
.auftakt .textlink { margin-top: 1.15rem; }
.auftakt, .projekt { display: grid; gap: clamp(1.5rem, 6vw, 5.5rem); grid-template-columns: 1fr 1fr; }
.auftakt { align-items: center; padding-block: clamp(2rem, 6vw, 5rem); }
.auftakt h1 { max-width: 11ch; }
.auftakt img, .comicbild img { display: block; width: 100%; height: auto; }
figcaption { color: var(--leise); font-size: .87rem; padding-top: .45rem; }
.abschnitt { border-top: 1px solid var(--linie); padding-block: clamp(2rem, 5vw, 4rem); }
.leseliste { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linie); }
.schmal { max-width: 45rem; }
.schmal .leseliste { margin-top: 1.35rem; }
.leseliste li { border-bottom: 1px solid var(--linie); }
.leseliste a { position: relative; display: grid; gap: .25rem; padding: .85rem 2rem .95rem 0; text-decoration: none; }
.leseliste a:hover .listentitel { text-decoration: underline; }
.listentitel { font-size: clamp(1.35rem, 2.7vw, 1.8rem); }
.pfeil { position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); }
.seitenkopf { padding-block: clamp(2rem, 5vw, 4.75rem); }
blockquote { font: clamp(1.2rem, 2.4vw, 1.5rem)/1.4 var(--serif); border-left: 2px solid var(--akzent); margin: 1.65rem 0 1rem; padding-left: 1rem; max-width: 35rem; }
.rueckmeldung { margin-top: 1.35rem; }
.lesekopf { padding-block: clamp(1.45rem, 4vw, 3rem) 1.35rem; }
.lesekopf .textlink { margin-bottom: 1rem; }
.lesekopf h1 { overflow-wrap: anywhere; font-size: clamp(1.95rem, 5vw, 3.7rem); }
.leser { margin: 0 auto 3rem; }
.hoch { max-width: 34rem; }
.quer { max-width: 63rem; }
/* Limit both width and height while preserving the source proportions. */
.comicbild { margin: 0 auto 1rem; }
.hoch .comicbild { width: min(100%, 17rem, 40svh); }
.quer .comicbild { width: min(100%, 30rem, 75svh); }
button { min-height: 44px; border: 1px solid var(--linie); border-radius: 0; background: transparent; padding: .45rem .7rem; color: inherit; font: inherit; cursor: pointer; }
button:hover:not(:disabled) { border-color: var(--akzent); color: var(--akzent); }
button:disabled { opacity: .47; cursor: default; }
.fuss { color: var(--leise); border-top: 1px solid var(--linie); padding-block: 1rem 1.5rem; font-size: .85rem; }
.fuss p { display: flex; gap: .85rem; flex-wrap: wrap; }
@media (max-width: 42rem) {
  .rahmen { width: calc(100% - 2rem); }
  .auftakt, .projekt { grid-template-columns: 1fr; }
  .auftakt { gap: 1.35rem; }
  .auftakt h1 { max-width: 12ch; }
}
.entstehung { margin-top: 1.45rem; }
.entstehung h3 { margin: 0 0 .35rem; font: 1.25rem var(--serif); }
.bildlink { display: block; cursor: zoom-in; }
.nur-screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body:has(.lichtbox[open]) { overflow: hidden; }
.lichtbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: max(.35rem, env(safe-area-inset-top)) max(.6rem, env(safe-area-inset-right))
    max(.35rem, env(safe-area-inset-bottom)) max(.6rem, env(safe-area-inset-left));
  background: transparent;
  color: #fffaf1;
}
.lichtbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: .35rem; }
.lichtbox::backdrop { background: rgb(30 26 22 / 93%); }
.lichtkopf, .lichtsteuerung { display: flex; align-items: center; gap: .4rem .75rem; }
.lichtkopf { justify-content: space-between; }
.lichtkopf h2 { font-size: clamp(1rem, 3vw, 1.5rem); overflow-wrap: anywhere; }
.lichtsteuerung { justify-content: center; flex-wrap: wrap; text-align: center; font-size: .88rem; }
.lichtbox button { min-width: 44px; border-color: #a19789; }
.lichtbox button:hover { color: white; border-color: white; }
.lichtbox button[aria-disabled="true"] { opacity: .48; cursor: default; }
.lichtbox :focus-visible { outline-color: #ffdfae; outline-offset: 2px; }
.lichtkopf button { font-size: 1.55rem; line-height: 1; }
.lichtbild { min-width: 0; overflow: hidden; }
.lichtbild img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Version 4: compact hero in the existing two-column composition. */
@media (min-width: 42.001rem) {
  .auftakt { width: 82.5%; margin-inline: auto; }
}
.uebertext > section + section { margin-top: 2rem; }
.uebertext h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); margin-top: 1.5rem; }
.episode-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 5.5rem); align-items: start; margin-bottom: 3rem; }
.episode-layout .leser { width: 100%; margin: 0; min-width: 0; }
.episode-layout .begleittext { min-width: 0; }
.begleittext > section + section { border-top: 1px solid var(--linie); margin-top: 1.5rem; padding-top: 1.5rem; }
.begleittext h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.episode-layout figcaption { color: var(--akzent); }
@media (max-width: 42rem) {
  .episode-layout { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}

/* Version 5: separate about page; disabled controls retain their muted state on hover. */
.ueberseite { padding-bottom: clamp(2rem, 5vw, 4rem); }
.ueberseite > section:first-child h2 { margin-top: 0; }
.lichtbox button[aria-disabled="true"]:hover { color: inherit; border-color: #a19789; }


/* Accessible native expandable comic transcripts. */
.comictext { margin: 0 auto 2rem; max-width: 63rem; border-block: 1px solid var(--linie); }
.comictext summary { min-height: 44px; padding: .75rem .25rem; color: var(--akzent); cursor: pointer; font-weight: 600; text-underline-offset: .2em; }
.comictext summary:hover { text-decoration: underline; }
.comictext-inhalt { max-width: 48rem; padding: .5rem .25rem 1.25rem; }
.comictext-inhalt h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); margin: .25rem 0 1rem; }
.comictext-inhalt h3 { font: 1.2rem/1.35 var(--serif); margin: 1.25rem 0 .4rem; }
.comictext-inhalt p + p { margin-top: .55rem; }
.comictext-inhalt section + section { margin-top: .5rem; }


/* V8: keep episode copy alongside the artwork while the transcript stays compact. */
.episode-layout { grid-template-columns: minmax(15rem, .9fr) minmax(18rem, 1.1fr); align-items: start; }
.comic-spalte { min-width: 0; }
.comic-spalte .leser { margin: 0 auto 1rem; }
.comic-spalte .comictext { margin: 1rem 0 0; max-width: none; }
.comictext summary { min-height: 44px; padding: .55rem .15rem; }
.comictext-inhalt { max-height: 30rem; overflow-y: auto; }
@media (max-width: 42rem) {
  .episode-layout { grid-template-columns: minmax(0, 1fr); }
  .comictext-inhalt { max-height: none; }
}


/* V8 review refinements for legal pages and keyboard scrolling. */
.rechtstext { padding-bottom: clamp(2rem, 5vw, 4rem); }
.rechtstext > section + section { margin-top: 2rem; }
.rechtstext h2 { margin: 1.4rem 0 .65rem; font: 1.35rem/1.3 var(--serif); letter-spacing: 0; }
.rechtstext section > h2:first-child { margin-top: 0; }
.rechtstext p + p { margin-top: .8rem; }
.comictext-inhalt { min-width: 0; overflow-wrap: anywhere; }
.comictext-inhalt:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
.episode-layout > *, .comic-spalte { min-width: 0; }
.kontaktlink { color: var(--akzent); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }


.datenschutztext > p + section { margin-top: 2rem; }

/* V8.2: gemeinsame, gut bedienbare Comicnavigation. */
.episode-test { grid-template-columns: minmax(0, 1fr); }
.episode-test .comic-spalte { width: min(100%, 48rem); margin-inline: auto; }
.panelnavigation { min-width: 0; }
.panelnavigation [data-licht-stand] { min-width: 6.5rem; }
.panelnavigation button { min-height: 44px; }
.lichtbild img { max-width: 100%; }
.episode-test .comicbild { width: min(100%, 34rem, 52svh); }
@media (max-width: 42rem) {
  .panelnavigation { gap: .3rem; }
  .episode-test .comicbild { width: 100%; }
}

/* V8.3: About-Seite mit Foto in der rechten Spalte. */
.ueber-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; margin-bottom: clamp(2rem, 5vw, 4rem); }
.ueber-layout .uebertext { max-width: none; }
.ueber-foto { min-width: 0; margin: .35rem 0 0; }
.ueber-foto img { display: block; width: 100%; height: auto; }
.ueber-foto figcaption { padding-top: .55rem; color: var(--leise); font-size: .84rem; line-height: 1.45; }
.ueber-foto .bildtitel, .ueber-foto .bildquelle { display: block; }
.ueber-foto .bildtitel { color: var(--schrift); font: 1rem/1.4 var(--serif); }
@media (max-width: 48rem) { .ueber-layout { grid-template-columns: minmax(0, 1fr); } .ueber-foto { max-width: 38rem; margin: 0 auto; } }
