/* Unterseiten (Figuren, Leseprobe, Ausmalbilder …) — gleiche Farben und Schriften wie site.css, einspaltig */
.sub { max-width: 1240px; margin: 0 auto; padding: 0 var(--margin); }
.sub .nav { justify-content: flex-start; flex-wrap: wrap; padding-bottom: 8px; }
.sub .nav__home { font-family: var(--display); font-size: var(--step-lead); margin-right: auto; text-decoration: none; }
.sub .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.crumb { font-size: var(--step-small); color: var(--muted); margin: 28px 0 0; }
.crumb a { color: inherit; }
.sub-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 7vw, 110px) 0 clamp(56px, 8vw, 120px); }
.sub-hero h1 { font-size: var(--step-display); font-size: clamp(3rem, 8vw, 8.5rem); }
.sub-hero h1 { margin-bottom: 32px; }
.sub-hero p { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; margin: 0; }
.sub-hero__img { max-height: 82vh; object-position: 50% 15%; }
.band { width: 100%; height: clamp(220px, 34vw, 520px); object-fit: cover; margin-bottom: clamp(56px, 8vw, 120px); }
.sub-hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(64px, 9vw, 130px); padding: 0; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--surface); text-decoration: none; transition: background-color .18s var(--ease), transform .18s var(--ease); }
.toc a:hover { background: var(--surface-2); transform: translateY(-2px); }

/* Figuren */
.figure-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: center; margin-bottom: clamp(90px, 12vw, 180px); scroll-margin-top: 24px; }
.figure-row:nth-of-type(even) .figure-row__pic { order: 2; }
.figure-row__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.figure-row__pic figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 10px; }
.figure-row h2 { font-size: var(--step-head); margin-bottom: 10px; }
.figure-row .role { font-size: var(--step-body); font-weight: 500; color: var(--muted); margin-bottom: 28px; }
.figure-row .txt { max-width: 46ch; }
.facts { margin: 28px 0 0; padding: 6px 20px; list-style: none; background: var(--surface); max-width: 46ch; }
.facts li { padding: 10px 0; font-size: var(--step-small); display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.facts b { font-weight: 600; }
.quote { font-family: var(--display); font-size: var(--step-lead); line-height: 1.15; margin: 28px 0 0; max-width: 30ch; }
.quote small { display: block; font-family: var(--text); font-size: var(--step-small); color: var(--muted); margin-top: 10px; }

/* Leseprobe */
.chapter { max-width: 38em; margin: 0 auto clamp(90px, 12vw, 170px); scroll-margin-top: 24px; }
.chapter__head { text-align: center; margin-bottom: 48px; }
.chapter__head .src { margin-top: 14px; font-size: var(--step-body); font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.chapter__head h2 { font-size: var(--step-head); }
.chapter__text p { line-height: 1.7; margin-bottom: .9em; hyphens: auto; }
.chapter__text p:first-child::first-letter { font-family: var(--display); float: left; font-size: 4.2em; line-height: .82; margin: .06em .1em 0 0; }
.chapter__text .rule { margin-top: 2em; padding: 22px 26px; background: var(--surface); font-family: var(--display); font-size: var(--step-lead); line-height: 1.2; }
.chapter__text .rule small { display: block; font-family: var(--text); font-size: var(--step-small); margin-bottom: 8px; }
.chapter__end { margin-top: 40px; padding: 24px; background: var(--surface); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chapter__end p { margin: 0 auto 0 0; font-size: var(--step-small); color: var(--muted); }
.chapter__pic { margin: 0 0 48px; }
.chapter__pic video { width: 100%; max-height: 70vh; object-fit: cover; }
.chapter__pic img { width: 100%; max-height: 70vh; object-fit: cover; }

/* Ausmalbilder */
.colour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(90px, 12vw, 170px); }
.colour-card { transition: transform .25s var(--ease); }
.colour-card:hover { transform: translateY(-4px); }
.colour-card { background: #fffdf7; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.colour-card img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: contain; background: #fff; }
.colour-card h2 { font-size: var(--step-sub); }
.colour-card .btn { margin-top: auto; }

/* Seitenende: Weiterführendes */
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; margin-bottom: clamp(90px, 12vw, 160px); }
.more a { display: block; padding: 28px; background: var(--surface); text-decoration: none; transition: background-color .18s var(--ease); }
.more a:hover { background: var(--surface-2); }
.more b { display: block; font-family: var(--display); font-weight: 400; font-size: var(--step-sub); line-height: 1; margin-bottom: 8px; }
.more span { font-size: var(--step-small); }

.sub ~ .foot { min-height: 0; }

/* Einblenden */
html.js[data-motion="full"] [data-rv], html.js[data-motion="fade"] [data-rv] { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js[data-motion="full"] [data-rv] { transform: translateY(24px); }
html.js [data-rv].in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .sub-hero, .figure-row { grid-template-columns: 1fr; }
  .figure-row:nth-of-type(even) .figure-row__pic { order: 0; }
  .sub-hero__img { aspect-ratio: 4 / 5; max-height: none; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}
@media print {
  .tbtn, .nav, .foot, .toc, .more, .chapter__end { display: none !important; }
  body { background: #fff; }
}

/* Unterseiten: das Menü bleibt auf schmalen Bildschirmen sichtbar (site.css versteckt es dort für die Bühne) */
@media (max-width: 899px) {
  .sub .nav { position: static; padding: var(--margin) 0 8px; gap: 6px 18px; justify-content: flex-start; }
  .sub .nav { align-items: center; }
  .sub .nav__home { background: none; padding: 6px 0 !important; }
  .sub .m-menu { top: 72px; }
  .figure-row__pic figcaption { display: none; }
}
