/* Porträtgeschichten: ein verbindliches 2:3-Bildfeld, auch für Altendorff.
 * Ihre vorhandene Hochformatfassung wird seitlich beschnitten; die Figur
 * bleibt vollständig. Alle bereits passenden Porträts bleiben unbeschnitten. */
body.profile-page[data-profile] .profile-tableau {
  aspect-ratio: 2 / 3;
}

body.profile-page[data-profile] .profile-tableau :is(picture, img) {
  display: block;
  width: 100%;
  height: 100%;
}

body.profile-page[data-profile] .profile-tableau img {
  object-fit: cover;
  object-position: center;
}

/* Encounter stories can be discovered before entering the long portrait text. */
body.profile-page[data-profile] .profile-encounters {
  margin: .85rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

body.profile-page[data-profile] .profile-encounters > summary {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: .45rem 0;
  color: #bdaa80;
  font: 300 1rem/1.45 var(--ad-reading);
  list-style: none;
  cursor: pointer;
}

body.profile-page[data-profile] .profile-encounters > summary::-webkit-details-marker {
  display: none;
}

body.profile-page[data-profile] .profile-encounters__indicator::before {
  content: '+';
}

body.profile-page[data-profile] .profile-encounters[open] .profile-encounters__indicator::before {
  content: '−';
}

body.profile-page[data-profile] .profile-encounters ul {
  display: grid;
  gap: .7rem;
  margin: .6rem 0 0;
  padding: 0 0 .5rem;
  list-style: none;
}

body.profile-page[data-profile] .profile-encounters li {
  margin: 0;
  padding: 0;
}

body.profile-page[data-profile] .profile-encounters a {
  display: block;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: .2rem 0;
  border: 0;
  color: #c6b58e;
  text-decoration: none;
}

body.profile-page[data-profile] .profile-encounters__title {
  display: block;
  font: 400 1.18rem/1.3 var(--ad-heading);
}

body.profile-page[data-profile] .profile-encounters__with {
  display: block;
  margin-top: .2rem;
  color: var(--ad-cream-muted);
  font: 300 .9rem/1.45 var(--ad-reading);
  hyphens: none;
}

body.profile-page[data-profile] .profile-encounters :is(summary, a):hover {
  color: var(--ad-cream-soft);
}

body.profile-page[data-profile] .profile-encounters :is(summary, a):focus-visible {
  outline: 1px solid #bdaa80;
  outline-offset: 4px;
}

body.profile-page[data-profile] .profile-encounters-empty {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  color: var(--ad-cream-muted);
  font: 300 .9rem/1.5 var(--ad-reading);
}

@media (max-width: 820px) {
  body.profile-page[data-profile] .profile-hero {
    padding-bottom: 0;
  }

  body.profile-page[data-profile] .profile-intro {
    padding: 2rem 0 1.8rem;
  }

  body.profile-page[data-profile] .profile-intro > .section-kicker,
  body.profile-page[data-profile] .profile-intro__kicker {
    display: none;
  }

  body.profile-page[data-profile] .profile-intro__role {
    margin: .5rem 0 0;
    padding: 0;
    border: 0;
  }

  body.profile-page[data-profile] .profile-intro__essence {
    display: block;
    margin: .95rem 0 0;
    padding: 0;
    border: 0;
    color: rgba(234, 213, 175, .75);
    font: 300 1.03rem/1.6 var(--ad-reading);
    text-wrap: pretty;
    hyphens: auto;
    -webkit-hyphenate-limit-lines: 2;
    hyphenate-limit-lines: 2;
  }

  body.profile-page[data-profile] .profile-reading-heading {
    width: calc(100% - 54px);
    margin: 0 auto;
    padding: .3rem 0 1.3rem;
  }

  body.profile-page[data-profile] .profile-reading-heading .profile-story__title {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    color: #bdaa80;
    font: 400 clamp(1.55rem, 6.5vw, 1.85rem)/1.2 var(--ad-heading);
    letter-spacing: -.018em;
    text-align: left;
    text-wrap: balance;
    white-space: normal;
    hyphens: none;
  }

  body.profile-page[data-profile] .profile-story {
    margin-top: 0;
    padding-top: 2rem;
  }

  body.profile-page[data-profile] .profile-connections {
    display: block;
    width: calc(100% - 54px);
    margin: 2.75rem auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
  }

  body.profile-page[data-profile] .profile-connections[hidden] {
    display: none;
  }

  body.profile-page[data-profile] .profile-connections__group {
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.profile-page[data-profile] .profile-connections__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
  }

  body.profile-page[data-profile] .profile-connections__item {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.profile-page[data-profile] .profile-connections__link,
  body.profile-page[data-profile] .profile-connections__name {
    font-size: 1.08rem;
    line-height: 1.45;
  }

  body.profile-page[data-profile] .profile-connections__role,
  body.profile-page[data-profile] .profile-connections__with {
    margin-top: .25rem;
    color: var(--ad-cream-muted);
    font-size: .95rem;
    line-height: 1.5;
  }

  body.profile-page[data-profile] .profile-figures {
    border-top: 1px solid rgba(177, 145, 83, .3);
  }

  body.profile-page[data-profile] .profile-figures > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    padding: .9rem 0;
    color: #bdaa80;
    font: 300 1.06rem/1.4 var(--ad-heading);
    list-style: none;
    cursor: pointer;
  }

  body.profile-page[data-profile] .profile-figures > summary::-webkit-details-marker {
    display: none;
  }

  body.profile-page[data-profile] .profile-figures > summary:focus-visible {
    outline: 1px solid #bdaa80;
    outline-offset: 4px;
  }

  body.profile-page[data-profile] .profile-figures__indicator::before {
    content: '+';
  }

  body.profile-page[data-profile] .profile-figures[open] .profile-figures__indicator::before {
    content: '−';
  }

  body.profile-page[data-profile] .profile-figures .profile-connections__title {
    display: none;
  }

  body.profile-page[data-profile] .profile-figures .profile-connections__group {
    padding: .25rem 0 1.25rem;
  }

  body.profile-page[data-profile] [data-profile-target="encounters"] {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(177, 145, 83, .3);
  }

  body.profile-page[data-profile] [data-profile-target="encounters"] .profile-connections__title {
    margin: 0 0 1rem;
    font-size: .76rem;
    line-height: 1.4;
    letter-spacing: .1em;
  }

  body.profile-page[data-profile] [data-profile-target="encounters"] .profile-connections__link {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  body.profile-page[data-profile] .profile-connections__new {
    position: static;
    display: block;
    margin: 0 0 .2rem;
  }
}

@media (min-width: 821px) {
  /* Der Name gehört zum Porträt, der Erzählungstitel zur folgenden Lesespalte. */
  body.profile-page.reading-layout--desktop .profile-hero {
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
  }

  body.profile-page.reading-layout--desktop .profile-reading-heading {
    width: min(702px, calc(100% - 24vw));
    margin: 0 auto;
    padding: 1.5rem 0 1.8rem;
  }

  body.profile-page.reading-layout--desktop .profile-reading-heading .profile-story__title {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--ad-gold-light, #baa67b);
    font-family: var(--ad-heading);
    font-size: clamp(1.9rem, 2.55vw, 2.5rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -.018em;
    white-space: normal;
    text-align: left;
    text-wrap: balance;
    border: 0;
  }

  body.profile-page.reading-layout--desktop .profile-story {
    margin-top: 0;
    padding-top: 2.7rem;
  }

  /* Ergänzungen folgen dem letzten Absatz, in derselben ruhigen Mittelachse. */
  body.profile-page.reading-layout--desktop .profile-connections--top {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    column-gap: 3.5rem;
    row-gap: 2.25rem;
    width: min(830px, calc(100% - 14vw));
    margin: 3.5rem auto 0;
    padding: 2rem 0 0;
    border: 0;
    border-top: 1px solid var(--ad-gold-line);
    text-align: left;
    background: transparent;
  }

  body.profile-page.reading-layout--desktop .profile-connections--single {
    grid-template-columns: minmax(0, 1fr);
  }

  body.profile-page.reading-layout--desktop .profile-connections__group {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.profile-page.reading-layout--desktop [data-profile-target="encounters"] {
    grid-column: 1 / -1;
  }

  body.profile-page.reading-layout--desktop .profile-connections__title {
    margin: 0 0 .8rem;
    font-size: .8rem;
    line-height: 1.4;
    letter-spacing: .11em;
  }

  body.profile-page.reading-layout--desktop .profile-connections__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
    margin: 0;
    padding: 0;
  }

  body.profile-page.reading-layout--desktop [data-profile-target="encounters"] .profile-connections__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem 2.5rem;
  }

  body.profile-page.reading-layout--desktop .profile-connections__item {
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.profile-page.reading-layout--desktop .profile-connections__link,
  body.profile-page.reading-layout--desktop .profile-connections__name {
    font-size: 1.12rem;
    line-height: 1.4;
  }

  body.profile-page.reading-layout--desktop .profile-connections__role,
  body.profile-page.reading-layout--desktop .profile-connections__with {
    margin-top: .25rem;
    font-size: .98rem;
    line-height: 1.5;
    color: var(--ad-cream-soft);
  }

  body.profile-page.reading-layout--desktop .profile-connections__link::after {
    content: none;
  }

  body.profile-page.reading-layout--desktop .profile-connections__new {
    position: static;
    display: block;
    margin: 0 0 .2rem;
  }

  /* Begegnungen: Titel und Namen vor dem Bild, die Erzählung direkt danach. */
  body.encounter-page.reading-layout--desktop .encounter-intro--editorial {
    display: block;
    width: min(1040px, calc(100% - 14vw));
    margin: 0 auto;
    padding: clamp(2.5rem, 4vw, 4rem) 0 2.2rem;
    border: 0;
    text-align: left;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro > .section-kicker {
    margin: 0 0 .7rem;
    font-size: .75rem;
    line-height: 1.4;
    letter-spacing: .14em;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro h1 {
    max-width: none;
    margin: 0;
    color: var(--ad-cream);
    font-size: clamp(2.4rem, 3.2vw, 3.25rem);
    line-height: 1.13;
    letter-spacing: -.025em;
    white-space: normal;
    text-wrap: balance;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro__wollwesen {
    margin: 1rem 0 0;
    padding: 0;
    border: 0;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro__wollwesen-title,
  body.encounter-page.reading-layout--desktop .encounter-intro__lead {
    display: none;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro--editorial .encounter-intro__names {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25em .4em;
    width: auto;
    margin: 0;
    color: var(--ad-gold-light);
    font-size: 1.06rem;
    line-height: 1.5;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro--editorial .encounter-intro__names a {
    display: inline;
    width: auto;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(177, 145, 83, .35);
    text-underline-offset: .22em;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro--editorial .encounter-intro__names a::before {
    content: none;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro--editorial .encounter-intro__names i {
    position: static;
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    font-style: normal;
  }

  body.encounter-page.reading-layout--desktop .encounter-tableau-stage {
    width: min(1040px, calc(100% - 14vw));
    max-width: none;
    margin: 0 auto 3.5rem;
    padding: 0;
    border: 0;
  }

  body.encounter-page.reading-layout--desktop .encounter-tableau {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    aspect-ratio: auto;
    border: 0;
  }

  body.encounter-page.reading-layout--desktop .encounter-tableau :is(picture, img) {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  body.encounter-page.reading-layout--desktop .encounter-story {
    margin-top: 0;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro__others {
    width: min(830px, calc(100% - 14vw));
    margin: 3.5rem auto 0;
    padding: 2rem 0 0;
    border: 0;
    border-top: 1px solid var(--ad-gold-line);
  }

  body.encounter-page.reading-layout--desktop .encounter-intro__others h2 {
    font-size: .8rem;
    line-height: 1.4;
    letter-spacing: .11em;
    margin: 0 0 1rem;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro__others ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 3rem;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro__others li {
    margin: 0;
    padding: 0;
    border: 0;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro__others strong {
    font-size: 1.12rem;
    line-height: 1.4;
  }

  body.encounter-page.reading-layout--desktop .encounter-intro__others span {
    font-size: .98rem;
    line-height: 1.5;
    color: var(--ad-cream-soft);
  }
}


/* Quiet, expandable story and character connections below each introduction. */
body:is(.profile-page, .encounter-page) .story-connections {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 1.1rem 0 0;
  text-align: left;
}
body:is(.profile-page, .encounter-page) .story-connections__group {
  display: block;
}
body:is(.profile-page, .encounter-page) .story-connections__group > summary {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  height: auto;
  padding: 10px 12px;
  border: 1px solid rgba(189, 170, 128, .6);
  border-radius: 2px;
  background: rgba(11, 19, 14, .18);
  color: #bdaa80;
  font: 400 12px/1.5 var(--ad-navigation);
  letter-spacing: .02em;
  text-transform: none;
  list-style: none;
  cursor: pointer;
}
body:is(.profile-page, .encounter-page) .story-connections__group > summary::-webkit-details-marker { display:none; }
body:is(.profile-page, .encounter-page) .story-connections__group > summary > span { font:300 16px/1 var(--ad-reading); transition:transform .2s; }
body:is(.profile-page, .encounter-page) .story-connections__group[open] > summary > span { transform:rotate(45deg); }
body:is(.profile-page, .encounter-page) .story-connections__group > ul { grid-column:1 / -1; display:grid; gap:.5rem; margin:10px 0 0; padding:8px 0 12px; list-style:none; }
body:is(.profile-page, .encounter-page) .story-connections__group li { display:block; margin:0; padding:0; border:0; }
body:is(.profile-page, .encounter-page) .story-connections__group :is(a, .story-connections__person) { display:block; width:fit-content; max-width:100%; padding:.3rem 0; color:#d9c9a6; font:400 18px/1.4 var(--ad-reading); text-decoration:none; border:0; }
body:is(.profile-page, .encounter-page) .story-connections__group a { min-height:44px; }
body:is(.profile-page, .encounter-page) .story-connections__title { display:block; }
body:is(.profile-page, .encounter-page) .story-connections__subtitle,
body:is(.profile-page, .encounter-page) .story-connections__group li > span:not(.story-connections__person) { display:block; color:#a99e83; font:400 15px/1.45 var(--ad-reading); }
body:is(.profile-page, .encounter-page) .story-connections__group strong { font:400 18px/1.4 var(--ad-reading); color:#d9c9a6; }
body:is(.profile-page, .encounter-page) .story-connections__group :is(a, summary):focus-visible { outline:1px solid #bdaa80; outline-offset:4px; }
body:is(.profile-page, .encounter-page) .story-connections__group :is(a, summary):hover { color:#e5d3ae; }

body:is(.profile-page, .encounter-page) .story-connections__group:not([open]) > ul { display:none; }
body:is(.profile-page, .encounter-page) .story-connections__group[open] > summary { border-color:#bdaa80; background:rgba(189,170,128,.08); }
@media (max-width: 600px) {
  body:is(.profile-page, .encounter-page) .story-connections__group > summary { font-size:11px; padding:9px 10px; }
}
/* Native disclosure content must also participate in the shared grid. */


/* Story-specific figures belong to the beginning of the narrative. */
body:is(.profile-page, .encounter-page) .story-connections--figures {
  max-width: none;
  margin: .65rem 0 1.25rem;
}
body:is(.profile-page, .encounter-page) .story-connections--figures summary,
body:is(.profile-page, .encounter-page) .story-connections--figures details[open] > summary {
  justify-content: flex-start;
  gap: .8rem;
  width: fit-content;
  padding: .35rem 0;
  border: 0;
  background: transparent;
}
body.profile-page .profile-reading-heading .story-connections--figures {
  text-align: inherit;
  margin-bottom: 0;
}
body.profile-page.reading-layout--desktop .profile-reading-heading .story-connections--figures summary {
  margin-inline: 0;
}
body.profile-page.reading-layout--desktop .profile-reading-heading .story-connections--figures ul {
  width: fit-content;
  margin-inline: auto;
  text-align: left;
}
body.encounter-page .encounter-article > .story-connections--figures {
  width: min(72ch, calc(100% - 48px));
  margin: 2rem auto 0;
}

/* The current story distinguishes Wollwesen from its other characters. */
body:is(.profile-page, .encounter-page) .story-connections__group:not([open]) > .story-connections__cast { display: none; }
body:is(.profile-page, .encounter-page) .story-connections__cast { display: grid; gap: .35rem; margin: .7rem 0 1rem; text-align: left; }
body:is(.profile-page, .encounter-page) .story-connections__cast-group > summary { margin: 0; color: #bdaa80; font: 400 12px/1.5 var(--ad-navigation); letter-spacing: .04em; }
body:is(.profile-page, .encounter-page) .story-connections__cast-group ul { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
body.profile-page.reading-layout--desktop .story-connections__cast { width: fit-content; margin-inline: auto; }

/* Ein kursiver altgoldener Verweis führt zu weiteren Geschichten. */
body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"] {
  max-width: 360px;
  background: transparent;
}
body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"] > summary {
  min-height: 48px;
  padding: 9px 0;
  gap: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #bdaa80;
  font: italic 400 20px/1.4 var(--ad-reading);
  letter-spacing: .01em;
  text-transform: none;
  transition: color .18s ease;
}
body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"] > summary:hover,
body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"][open] > summary {
  background: transparent;
  color: #d1bd94;
}
body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"] > summary > span {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin: -4px 2px 0 0;
  font-size: 0;
  border-right: 1px solid #c6b58c;
  border-bottom: 1px solid #c6b58c;
  transform: rotate(45deg);
}
body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"][open] > summary > span {
  transform: translateY(4px) rotate(225deg);
}
body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"] > ul {
  margin: 0;
  padding: 10px 0 14px;
  gap: .55rem;
}
@media (prefers-reduced-motion: reduce) {
  body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"] > summary,
  body:is(.profile-page, .encounter-page) .story-connections__group[data-story-connections="stories"] > summary > span { transition: none; }
}

/* Titel und Figuren gehören zur hellen Lesefläche. */
body.profile-page[data-profile] .profile-story .profile-reading-heading,
body.encounter-page .encounter-story .encounter-reading-heading {
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(1.5rem, 3vw, 2.2rem);
  padding: .4rem 0 0;
  text-align: center;
}
body.profile-page[data-profile] .profile-story .profile-reading-heading .profile-story__title,
body.encounter-page .encounter-story .encounter-reading-heading > h2 {
  display: block;
  position: static;
  width: auto;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  clip: auto;
  overflow: visible;
  color: #514837;
  font: 400 clamp(1.65rem, 2.7vw, 2.3rem)/1.25 var(--ad-heading);
  letter-spacing: -.012em;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  hyphens: none;
  scroll-margin-top: 1rem;
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections--figures {
  width: 100%;
  margin: .75rem 0 0;
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections--figures summary {
  margin-inline: 0;
  color: #665638;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast,
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast ul {
  width: 100%;
  margin-inline: 0;
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast-group > summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  min-height: 36px;
  color: #665638;
  font: 400 12px/1.5 var(--ad-navigation);
  margin: 0;
  padding: .2rem 0;
  gap: .55rem;
  letter-spacing: .04em;
  list-style: none;
  cursor: pointer;
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast-group > summary::-webkit-details-marker {
  display: none;
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast-group > summary > span {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform .18s ease;
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast-group[open] > summary > span {
  transform: translateY(2px) rotate(225deg);
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast-group > ul {
  padding-top: .25rem;
}
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__group :is(a, .story-connections__person, strong) { color: #383429; }
body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) :is(.story-connections__subtitle, .story-connections__group li > span:not(.story-connections__person)) { color: #625b4c; }

/* Ein feiner Buchanfang bündelt Titel und aufklappbare Besetzung. */
body:is(.profile-page, .encounter-page) :is(.profile-story, .encounter-story) :is(.profile-reading-heading, .encounter-reading-heading)::after {
  content: "";
  display: block;
  width: 156px;
  height: 28px;
  margin: 1rem auto 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20180%2032%22%20fill%3D%22none%22%20stroke%3D%22%2396815a%22%20stroke-width%3D%22.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019C20%2019%2026%208%2040%208C54%208%2056%2024%2046%2024C39%2024%2037%2016%2043%2014C48%2012%2051%2018%2047%2019M40%208C57%205%2065%2023%2082%2017M175%2019C160%2019%20154%208%20140%208C126%208%20124%2024%20134%2024C141%2024%20143%2016%20137%2014C132%2012%20129%2018%20133%2019M140%208C123%205%20115%2023%2098%2017%22%2F%3E%3Cpath%20d%3D%22M15%2019C29%2023%2037%2012%2051%2012C62%2012%2069%2025%2081%2021M165%2019C151%2023%20143%2012%20129%2012C118%2012%20111%2025%2099%2021M63%2015C62%205%2070%203%2073%207C76%2011%2071%2014%2068%2010M117%2015C118%205%20110%203%20107%207C104%2011%20109%2014%20112%2010%22%2F%3E%3Cpath%20d%3D%22M90%2026C88%2019%2082%2016%2083%2011C84%207%2088%2010%2090%2015C92%2010%2096%207%2097%2011C98%2016%2092%2019%2090%2026ZM90%2018C85%2011%2086%207%2090%203C94%207%2095%2011%2090%2018Z%22%2F%3E%3Cpath%20d%3D%22M78%2017C82%2016%2086%2020%2090%2023C94%2020%2098%2016%20102%2017%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  opacity: .85;
}
body:is(.profile-page, .encounter-page) :is(.profile-story, .encounter-story) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections--figures summary {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-inline: auto;
  padding: .3rem 0;
  gap: .6rem;
  color: #746344;
  font: italic 400 15px/1.45 var(--ad-reading);
  letter-spacing: .005em;
  text-align: center;
}
body:is(.profile-page, .encounter-page) :is(.profile-story, .encounter-story) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast {
  max-width: 28rem;
  margin: .65rem auto 0;
  text-align: left;
}

body:is(.profile-page, .encounter-page) :is(.profile-story, .encounter-story) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast-group ul {
  width: 100%;
  margin-inline: 0;
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  body:is(.profile-page, .encounter-page) :is(.profile-reading-heading, .encounter-reading-heading) .story-connections__cast-group > summary > span {
    transition: none;
  }
}

/* Wollwesen-Namen sind dauerhaft als Profilverweise erkennbar. Der feine
   Unterstrich liegt am Text selbst, damit Safari ihn beim Öffnen des Details
   nicht erst nach einem erneuten Zeichnen sichtbar macht. */
body:is(.profile-page, .encounter-page) :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast-group:first-child a .story-connections__title {
  display: inline-block;
  padding-bottom: .05em;
  border-bottom: 1px solid rgba(116, 99, 68, .72);
}
body:is(.profile-page, .encounter-page) :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast-group:first-child a:is(:hover, :focus-visible) .story-connections__title {
  border-bottom-color: #665638;
}

/* Eine gemeinsame Kurzbeschreibung für Übersicht und Begegnungseinleitung. */
body.encounter-page .encounter-intro .encounter-intro__summary {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(234, 213, 175, .75);
  font: 300 clamp(1.03rem, 1.35vw, 1.2rem)/1.6 var(--ad-reading);
  text-wrap: pretty;
}

/* Die vollständige Besetzung steht einmalig oben im hellen Lesefeld.
   Ältere Begegnungslisten bleiben als Quelle für den Seitengenerator erhalten. */
body.encounter-page .encounter-figures,
body.encounter-page .encounter-intro__others {
  display: none;
}

/* Begegnungskopf: Titel, Einführung und Navigation haben getrennte Gewichte. */
body.encounter-page[class] .encounter-intro.encounter-intro--editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "kicker" "title" "names" "summary" "connections";
  gap: 0;
  padding: 2rem 0 1.5rem;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .section-kicker {
  grid-area: kicker;
  margin: 0 0 .65rem;
  color: #aa9c7d;
  font: 400 10px/1.5 var(--ad-navigation);
  letter-spacing: .16em;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > h1 {
  grid-area: title;
  margin: 0;
  max-width: 19ch;
  font: 400 clamp(2.15rem, 9.5vw, 2.7rem)/1.08 var(--ad-heading);
  color: #ead5af;
  letter-spacing: -.025em;
  white-space: normal;
  text-wrap: balance;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen {
  grid-area: names;
  margin: .65rem 0 0;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font: 400 12px/1.5 var(--ad-navigation);
  letter-spacing: .015em;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 0;
  font: inherit;
  color: #bbaa89;
  text-decoration: underline;
  text-decoration-color: #6f654e;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial .encounter-intro__names i { display: none; }
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__summary {
  grid-area: summary;
  max-width: 34ch;
  margin: 1.15rem 0 0;
  color: #d2c5a8;
  font: 400 18px/1.55 var(--ad-reading);
  text-wrap: pretty;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .story-connections {
  grid-area: connections;
  max-width: 34rem;
  margin: .9rem 0 0;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial .story-connections__group[data-story-connections="stories"] { max-width: none; }
body.encounter-page[class] .encounter-intro.encounter-intro--editorial .story-connections__group[data-story-connections="stories"] > summary {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  gap: 15px;
  padding: 8px 0;
  color: #b6a17a;
  font: italic 400 15px/1.45 var(--ad-reading);
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial .story-connections__group[data-story-connections="stories"] > summary > span {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
}
@media (min-width: 821px) {
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "kicker summary" "title summary" "names connections";
    column-gap: clamp(2rem, 6vw, 6rem);
    padding: 3rem 0 2.5rem;
    align-items: start;
  }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > h1 { font-size: clamp(2.4rem, 3.5vw, 3.25rem); }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__summary { margin: 1.6rem 0 0; font-size: 21px; }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .story-connections { margin-top: .7rem; }
}

/* Deutscher Flattersatz im mobilen Lesefeld, mit behutsamer Silbentrennung. */
@media (max-width: 820px) {
  body.profile-page[data-profile] .profile-story .profile-story__paragraph,
  body.encounter-page .encounter-story p {
    text-align: left;
    -webkit-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-lines: 2;
    hyphenate-limit-chars: 7 3 3;
    hyphenate-limit-lines: 2;
    word-break: normal;
    overflow-wrap: normal;
  }
  body:is(.profile-page, .encounter-page) :is(.profile-story, .encounter-story) :is(h2, h3, .story-connections, .story-connections *) {
    -webkit-hyphens: none;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* Bestätigter iPhone-Auftakt; die eigenständige Mac-Komposition folgt unten. */
.profile-opening__read, .encounter-opening__read { display: none; }
@media (max-width: 820px) {
/* Bildauftakt mit linksbündiger Einführung; der Titel steht im Lesefeld. */
body.encounter-page[class] .encounter-tableau-stage {
  width: min(1040px, calc(100% - 2.25rem));
  margin: 0 auto;
  padding: 1rem 0 0;
  border: 0;
}
body.encounter-page[class] .encounter-tableau-stage .encounter-tableau {
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  aspect-ratio: auto;
  border: 0;
}
body.encounter-page[class] .encounter-tableau-stage .encounter-tableau :is(picture, img) {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 58svh;
  margin: 0 auto;
  object-fit: contain;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "summary";
  gap: 0;
  width: min(760px, calc(100% - 2.25rem));
  margin: 0 auto;
  padding: .65rem 0 2.25rem;
  justify-items: start;
  text-align: left;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .section-kicker {
  display: none;
  grid-area: kicker;
  margin: 0 0 .65rem;
  color: #aa9c7d;
  font: 400 10px/1.5 var(--ad-navigation);
  letter-spacing: .16em;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > h1 {
  /* Seitenüberschrift bleibt für Hilfstechniken vorhanden; sichtbar steht der
   * Erzählungstitel nur noch am Anfang des hellen Lesefelds. */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  grid-area: title;
  margin: 0;
  max-width: 24ch;
  font: 400 clamp(2rem, 8.3vw, 2.55rem)/1.13 var(--ad-heading);
  color: #ead5af;
  letter-spacing: -.025em;
  white-space: normal;
  text-wrap: balance;
}
/* Die beteiligten Namen stehen bereits im aufklappbaren Figurenverzeichnis. */
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen {
  display: none;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  font: italic 400 20px/1.4 var(--ad-reading);
  letter-spacing: 0;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  max-width: 100%;
  font: inherit;
  color: #c3b596;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial .encounter-intro__names a:hover {
  color: #ead5af;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial .encounter-intro__names a:focus-visible {
  outline: 1px solid #b6a17a;
  outline-offset: 4px;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial .encounter-intro__names i { display: none; }
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__summary {
  grid-area: summary;
  max-width: 46ch;
  margin: .6rem 0 0;
  color: #b7a783;
  font: italic 300 18px/1.55 var(--ad-reading);
  text-wrap: pretty;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .story-connections {
  grid-area: connections;
  max-width: 34rem;
  margin: 1.15rem 0 0;
  text-align: left;
}
body.encounter-page[class] .encounter-connections-after {
  width: min(760px, calc(100% - 2.25rem));
  max-width: none;
  margin: 2rem auto 0;
  padding: 0 0 1rem;
}
body.encounter-page[class] .encounter-connections-after .story-connections__group[data-story-connections="stories"] { max-width: none; }
body.encounter-page[class] .encounter-connections-after .story-connections__group[data-story-connections="stories"] > summary {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  gap: 15px;
  padding: 8px 0;
  margin-inline: 0;
  color: #b6a17a;
  font: italic 400 15px/1.45 var(--ad-reading);
}
body.encounter-page[class] .encounter-connections-after .story-connections__group[data-story-connections="stories"] > summary > span {
  width: 6px;
  height: 6px;
  flex-basis: 6px;
}
@media (min-width: 821px) {
  body.encounter-page[class] .encounter-tableau-stage {
    width: min(1040px, calc(100% - 14vw));
    padding-top: 1.5rem;
  }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial {
    padding: .85rem 0 3rem;
  }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > h1 { font-size: clamp(2.4rem, 3.5vw, 3rem); }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names { font-size: 22px; }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__summary { font-size: 20px; }
}

/* Mobile Begegnungsbilder nutzen ihre ganze Breite im ursprünglichen Format. */
@media (max-width: 820px) {
  body.encounter-page[class] .encounter-tableau-stage .encounter-tableau,
  body.encounter-page[class] .encounter-tableau-stage .encounter-tableau :is(picture, img) {
    width: 100%;
    height: auto;
    max-height: none;
  }
}

/* Deutscher Blocksatz im mobilen Lesefeld; die letzte Zeile bleibt linksbündig. */
@media (max-width: 820px) {
  /* Den nativen Scrollbalken färben, ohne eine eigene Ziehleiste einzufügen.
   * Auf dem Wurzelelement gilt die Farbe für den Seiten-Scrollbalken.
   * Safari auf iOS unterstützt scrollbar-color ab Version 26.2. */
  html:has(> body:is(.profile-page, .encounter-page)) {
    scrollbar-color: #514c43 transparent;
  }
  body.profile-page[data-profile] .profile-story .profile-story__paragraph,
  body.encounter-page .encounter-story p {
    text-align: justify;
    text-align-last: left;
    -webkit-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-lines: 2;
    hyphenate-limit-chars: 7 3 3;
    hyphenate-limit-lines: 2;
    word-break: normal;
    overflow-wrap: normal;
  }
  body:is(.profile-page, .encounter-page) :is(.profile-story, .encounter-story) :is(h2, h3, .story-connections, .story-connections *) {
    -webkit-hyphens: none;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* Ein ruhiger grüner Bildauftakt; die Erzählung beginnt auf dem nächsten Bildschirm. */
body.encounter-page[class] .encounter-opening {
  background: #111e17;
}
body.encounter-page[class] .encounter-opening :is(.encounter-tableau-stage, .encounter-intro) {
  background: transparent;
}
.encounter-opening__read { display: none; }
@media (max-width: 820px) {
  body.encounter-page[class] .encounter-opening {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--opening-offset, 66px));
    padding-bottom: 12px;
    box-sizing: border-box;
  }
  body.encounter-page[class] .encounter-opening > .encounter-tableau-stage {
    width: min(calc(100% - 3rem), 320px);
    flex-shrink: 0;
  }
  body.encounter-page[class] .encounter-opening > .encounter-intro {
    flex: 0 0 auto;
    width: min(calc(100% - 3rem), 320px);
    align-content: start;
    padding: clamp(28px, 4svh, 40px) 0 24px;
  }
  body.encounter-page[class] .encounter-opening > .encounter-intro > .encounter-intro__summary {
    margin-top: 0;
  }
  body.encounter-page[class] .encounter-opening__read {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    width: 48px;
    height: 48px;
    margin: auto 0 0;
    color: #b7a378;
    border: 0;
    background: transparent;
    text-decoration: none;
  }
  .encounter-opening__read:focus-visible { outline: 1px solid #b7a378; outline-offset: 3px; }
}

/* Bestätigter Porträtauftakt für sämtliche Lebensgeschichten. */
body.profile-page[data-profile] .profile-hero {
  background: #0e1a13;
  border: 0;
}
body.profile-page[data-profile] .profile-intro {
  background: transparent;
}
body.profile-page[data-profile] .profile-intro > .section-kicker { display: none; }
body.profile-page[data-profile] .profile-intro .profile-intro__name {
  color: #e2d1ad;
  font: 400 36px/1.15 var(--ad-heading);
  letter-spacing: -.02em;
  margin: 0;
}
body.profile-page[data-profile] .profile-intro__role {
  font: 300 14px/1.4 var(--ad-navigation);
  letter-spacing: .04em;
  color: #a99b7e;
  margin: 8px 0 0;
}
body.profile-page[data-profile] .profile-intro__essence {
  font: italic 300 19px/1.55 var(--ad-reading);
  color: #b7a783;
  margin: 24px 0 0;
  max-width: 42ch;
}
body.profile-page[data-profile] .profile-intro .story-connections {
  margin: 18px 0 0;
}
body.profile-page[data-profile] .profile-intro .story-connections summary {
  font: italic 300 15px/1.45 var(--ad-reading);
  min-height: 44px;
  padding: 8px 0;
  color: #b7a783;
}
.profile-opening__read {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #b7a378;
  text-decoration: none;
  margin: 0 auto;
}
.profile-opening__read:focus-visible { outline: 1px solid #b7a378; outline-offset: 3px; }
@media (max-width: 820px) {
  body.profile-page[data-profile] .profile-hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: calc(100svh - var(--opening-offset, 66px));
    padding: 16px 24px 12px;
    box-sizing: border-box;
  }
  body.profile-page[data-profile] .profile-tableau {
    width: min(100%, 240px);
    margin: 0 auto;
    flex-shrink: 0;
  }
  body.profile-page[data-profile] .profile-intro {
    width: 100%;
    max-width: none;
    padding: 24px 0 8px;
    margin: auto 0;
  }
  body.profile-page[data-profile] .profile-intro .profile-intro__name { font-size: 29px; }
  body.profile-page[data-profile] .profile-intro__essence { font-size: 19px; margin-top: 18px; }
  body.profile-page[data-profile] .profile-opening__read { flex-shrink: 0; }
}
@media (min-width: 821px) {
  body.profile-page[data-profile] .profile-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: 24px 7%;
    padding: 48px 8% 28px;
    align-items: center;
  }
  body.profile-page[data-profile] .profile-tableau { width: min(100%, 340px); margin: 0 auto; }
  body.profile-page[data-profile] .profile-intro { width: auto; padding: 0; margin: 0; }
  body.profile-page[data-profile] .profile-opening__read { grid-column: 1 / -1; }
}

/* Begegnungsauftakt: die beiden Namen geben der Einführung eine eigene Ebene. */
body.encounter-page[class] .encounter-intro.encounter-intro--editorial {
  grid-template-areas: "names" "summary";
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen {
  display: block;
  grid-area: names;
  margin: 0;
  padding: 0;
  border: 0;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names {
  font: 400 14px/1.5 var(--ad-navigation);
  letter-spacing: .025em;
}
body.encounter-page[class] .encounter-opening > .encounter-intro > .encounter-intro__summary {
  margin-top: 18px;
}
@media (max-width: 820px) {
  body.encounter-page[class] .encounter-opening { padding-bottom: 32px; }
  body.encounter-page[class] .encounter-opening > .encounter-intro > .encounter-intro__summary { font-size: 19px; }
  body.encounter-page[class] .encounter-opening__read { width: 48px; height: 48px; }
  body.encounter-page[class] .encounter-opening__read svg { width: 38px; height: 35px; }
}

body.encounter-page[class] .encounter-intro.encounter-intro--editorial .encounter-intro__names a {
  min-height: 30px;
  padding: 4px 0;
  color: #b7a783;
}

/* Gemeinsamer Bildauftakt: Namen als leise Bildunterschrift, Text als Einführung. */
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen {
  width: 100%;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names {
  align-items: center;
  gap: 0;
  font: 400 18px/1.35 var(--ad-heading);
  letter-spacing: .01em;
  text-align: center;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names a {
  justify-content: center;
  min-height: 30px;
  padding: 3px 0;
  color: #c3b596;
}
body.encounter-page[class] .encounter-intro.encounter-intro--editorial .encounter-intro__names i {
  display: block;
  color: #a99b7e;
  font: italic 300 14px/1.2 var(--ad-reading);
  letter-spacing: 0;
}
body.encounter-page[class] .encounter-opening > .encounter-intro > .encounter-intro__summary {
  margin: 22px auto 0;
  text-align: center;
  text-wrap: balance;
}
@media (max-width: 820px) {
  body.encounter-page[class] .encounter-opening > .encounter-tableau-stage {
    margin-top: auto;
    padding-top: 20px;
  }
  body.encounter-page[class] .encounter-opening > .encounter-intro {
    padding: 20px 0 28px;
    margin-bottom: auto;
  }
  body.encounter-page[class] .encounter-opening__read {
    margin-top: 0;
  }
}

}

/* Mac: Der Auftakt folgt seinem Inhalt, unabhängig von der Fensterhöhe. */
@media (min-width: 821px) {
  body.encounter-page[class] .encounter-opening,
  body.profile-page[data-profile] .profile-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: min(calc(100% - 8.4vw), 1320px);
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 32px 40px 28px;
    box-sizing: border-box;
    background: #111e17;
    border: 0;
  }
  body.encounter-page[class] .encounter-opening > .encounter-tableau-stage {
    width: min(640px, 100%);
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
  }
  body.encounter-page[class] .encounter-tableau-stage .encounter-tableau,
  body.encounter-page[class] .encounter-tableau-stage :is(picture, img) {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 100%;
    margin: 0;
    padding: 0;
    aspect-ratio: auto;
    object-fit: contain;
    border: 0;
  }
  body.encounter-page[class] .encounter-opening > .encounter-intro.encounter-intro--editorial {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(620px, 100%);
    max-width: none;
    margin: 26px auto 0;
    padding: 0;
    gap: 0;
    border: 0;
    background: transparent;
    text-align: center;
  }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .section-kicker,
  body.profile-page[data-profile] .profile-intro > .section-kicker { display: none; }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial > .encounter-intro__wollwesen .encounter-intro__names {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0 14px;
    margin: 0;
    font: 400 21px/1.45 var(--ad-heading);
    letter-spacing: .01em;
  }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial .encounter-intro__names a {
    display: inline-block;
    padding: 4px 0;
    min-height: 0;
    font: inherit;
    color: #c3b596;
    text-decoration: none;
  }
  body.encounter-page[class] .encounter-intro.encounter-intro--editorial .encounter-intro__names i {
    display: inline;
    color: #a99b7e;
    font: italic 300 17px/1.4 var(--ad-reading);
  }
  body.encounter-page[class] .encounter-opening > .encounter-intro > .encounter-intro__summary {
    max-width: 43ch;
    margin: 18px auto 0;
    color: #b7a783;
    font: italic 300 22px/1.55 var(--ad-reading);
    text-align: center;
    text-wrap: balance;
  }
  body.profile-page[data-profile] .profile-tableau {
    width: min(230px, 100%);
    margin: 0 auto;
    flex-shrink: 0;
    box-shadow: 0 18px 36px rgba(0,0,0,.18);
  }
  body.profile-page[data-profile] .profile-intro {
    width: min(620px, 100%);
    max-width: none;
    margin: 24px auto 0;
    padding: 0;
    background: transparent;
    text-align: center;
  }
  body.profile-page[data-profile] .profile-intro .profile-intro__name {
    max-width: none;
    margin: 0;
    color: #e2d1ad;
    font: 400 34px/1.2 var(--ad-heading);
    letter-spacing: -.015em;
    text-wrap: balance;
  }
  body.profile-page[data-profile] .profile-intro__role {
    margin: 8px 0 0;
    font: 300 14px/1.4 var(--ad-navigation);
    color: #a99b7e;
    letter-spacing: .04em;
  }
  body.profile-page[data-profile] .profile-intro__essence {
    max-width: 48ch;
    margin: 20px auto 0;
    padding: 0;
    border: 0;
    font: italic 300 21px/1.55 var(--ad-reading);
    color: #b7a783;
    text-wrap: balance;
  }
  body.profile-page[data-profile] .profile-intro__essence::before { display: none; }
  body.profile-page[data-profile] .profile-intro .story-connections { margin: 14px auto 0; }
  body.profile-page[data-profile] .profile-intro .story-connections summary {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 0;
    min-height: 40px;
    font: italic 300 16px/1.45 var(--ad-reading);
    color: #b7a783;
  }
  body.profile-page[data-profile] .profile-intro .story-connections__list { text-align: left; }
  body.encounter-page[class] .encounter-opening__read,
  body.profile-page[data-profile] .profile-opening__read {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 26px auto 0;
    color: #b7a378;
    background: transparent;
    border: 0;
    text-decoration: none;
  }
  body:is(.encounter-page, .profile-page) :is(.encounter-opening__read, .profile-opening__read) svg { width: 40px; height: 37px; }
  body:is(.encounter-page, .profile-page) :is(.encounter-opening__read, .profile-opening__read):focus-visible { outline: 1px solid #b7a378; outline-offset: 4px; }
  body.encounter-page[class] .encounter-connections-after {
    width: min(760px, calc(100% - 4rem));
    margin: 32px auto;
    padding: 0;
  }
  body.encounter-page[class] .encounter-connections-after summary {
    font: italic 300 19px/1.5 var(--ad-reading);
    color: #b7a783;
    padding: 12px 0;
  }
}

/* Bildlinks bewahren den vorhandenen Bildausschnitt und die Bildgröße. */
body:is(.profile-page, .encounter-page) .story-opening__image {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
body.profile-page[data-profile] .profile-tableau > .story-opening__image { height: 100%; }
body:is(.profile-page, .encounter-page) .story-opening__image:focus-visible {
  outline: 1px solid #b7a378;
  outline-offset: 6px;
}
body.profile-page[data-profile] .profile-tableau::after { pointer-events: none; }

/* Einheitlich tiefes Waldgrün für beide Geschichtenarten und Geräte. */
body.profile-page[data-profile],
body.encounter-page[class],
body.profile-page[data-profile] .profile-hero,
body.encounter-page[class] .encounter-opening {
  background: #0b1710;
}

/* Nur der iPhone-Auftakt erhält die redaktionell gekürzte Einführung. */
body.profile-page[data-profile] .profile-intro__essence--mobile { display: none; }
@media (max-width: 820px) {
  body.profile-page[data-profile] .profile-intro__essence--desktop { display: none; }
  body.profile-page[data-profile] .profile-intro__essence--mobile { display: block; }
}

/* Lange Namen brauchen auf niedrigen iPhones etwas mehr Raum. */
@media (max-width: 820px) and (max-height: 740px) {
  body.profile-page[data-profile] .profile-intro { padding-top: 12px; padding-bottom: 4px; }
  body.profile-page[data-profile] .profile-intro__essence { margin-top: 12px; }
}

/* Safari may show the following section through its translucent bottom bar.
   Keep the invitation in the current viewport and extend its green backdrop
   through the bottom safe area without moving the reading arrow down. */
@media (max-width: 820px) {
  body.profile-page[data-profile] .profile-hero,
  body.encounter-page[class] .encounter-opening {
    min-height: calc(100dvh - var(--opening-offset, 66px));
    margin-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* Der kurze mobile Porträttext folgt der Mittelachse von Bild und Lesepfeil. */
@media (max-width: 820px) {
  body.profile-page[data-profile] .profile-intro .profile-intro__name,
  body.profile-page[data-profile] .profile-intro .profile-intro__role,
  body.profile-page[data-profile] .profile-intro .profile-intro__essence--mobile {
    text-align: center;
    text-wrap: balance;
  }
}

@media (max-width: 820px) {
  body.profile-page[data-profile] .profile-intro .story-connections__group[data-story-connections="stories"] {
    max-width: none;
    margin-inline: auto;
  }
  body.profile-page[data-profile] .profile-intro .story-connections__group[data-story-connections="stories"] > summary {
    position: relative;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 20px;
    text-wrap: balance;
  }
  body.profile-page[data-profile] .profile-intro .story-connections__group[data-story-connections="stories"] > summary > span {
    position: absolute;
    right: 2px;
    top: 50%;
  }
}

/* Die Besetzung erscheint als eine einzige feine, romantische Namensliste. */
body:is(.profile-page, .encounter-page)
  :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast {
  display: block;
  max-width: 31rem;
  margin: .55rem auto 0;
  text-align: center;
}
body:is(.profile-page, .encounter-page)
  :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast > ul {
  display: grid;
  gap: .16rem;
  width: 100%;
  margin: 0;
  padding: .08rem 0 .15rem;
  list-style: none;
}
body:is(.profile-page, .encounter-page)
  :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast > ul :is(a, .story-connections__person) {
  width: fit-content;
  min-height: 30px;
  margin-inline: auto;
  padding: .06rem .12rem;
  text-align: center;
}
body:is(.profile-page, .encounter-page)
  :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast > ul .story-connections__title {
  color: #4b4334;
  font: italic 400 16px/1.28 var(--ad-reading);
  letter-spacing: .003em;
}
body:is(.profile-page, .encounter-page)
  :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast > ul a .story-connections__title {
  display: inline;
  text-decoration-line: underline;
  text-decoration-color: #a58a55;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
  text-decoration-skip-ink: auto;
}
body:is(.profile-page, .encounter-page)
  :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast > ul .story-connections__subtitle {
  max-width: 30rem;
  margin: .08rem auto 0;
  font-size: 14px;
  line-height: 1.38;
}
body:is(.profile-page, .encounter-page)
  :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast > ul .story-connections__person {
  display: block;
  width: min(100%, 27rem);
  margin: .5rem auto 0;
  padding-inline: 0;
  text-align: left;
}
body:is(.profile-page, .encounter-page)
  :is(.profile-story, .encounter-story)
  :is(.profile-reading-heading, .encounter-reading-heading)
  .story-connections__cast > ul .story-connections__person .story-connections__subtitle {
  margin: .06rem 0 0;
  text-align: left;
}
