*{box-sizing:border-box}body{margin:0;background:#eeeae2;color:#242320;font:17px/1.65 Arial,Helvetica,sans-serif}header.glass-hero{min-height:85vh;display:grid;grid-template-columns:40% 60%;background:#d8d4ca}header.glass-hero .intro{padding:9vw 5vw 5vw;align-self:center}h1{font-size:clamp(42px,5vw,86px);line-height:1.02;letter-spacing:-.055em;margin:20px 0}header.glass-hero em{font-size:21px;font-style:normal}header.glass-hero > img{width:100%;height:100%;object-fit:contain;padding:25px}p{max-width:620px}nav:not(.hb-topnav){position:sticky;top:0;background:#eeeae2ed;backdrop-filter:blur(12px);padding:13px 4vw;z-index:3;display:flex;gap:18px;overflow:auto;white-space:nowrap;border-bottom:1px solid #c9c4ba;font-size:13px}a{color:inherit}nav:not(.hb-topnav) a{text-decoration:none}section{padding:80px 4vw;border-bottom:1px solid #c9c4ba}.chapter{max-width:800px;margin:0 auto 48px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.18em}h2{font-size:clamp(35px,4vw,62px);letter-spacing:-.04em;line-height:1.1;margin:12px 0}h3{font-size:20px;font-weight:400}.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:25px;align-items:center}.gallery figure{margin:0;text-align:center}.gallery img{display:block;width:100%;max-height:640px;object-fit:contain;background:transparent}.gallery a{display:block}#archiv .gallery{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}#archiv img{max-height:250px}footer:not(.hb-story-footer){padding:60px 5vw;background:#d8d4ca;font-size:14px}@media(max-width:700px){header.glass-hero{grid-template-columns:1fr}header.glass-hero .intro{padding:55px 7vw 20px}header.glass-hero > img{height:55vh}section{padding:45px 5vw}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
.chapter p{max-width:740px;line-height:1.72;margin:0 auto 1.05em}.chapter .closing{font-weight:700}.gallery img{object-fit:contain;width:100%;height:auto}#archive-grid{opacity:.85}

/* Nur der vereinbarte separate Negativkasten – bestehendes Layout bleibt exakt erhalten. */
.negative-feature{margin:24px 0;padding:22px;background:#d8d4ca;border:1px solid #c9c4ba}
.negative-feature h3{font-size:22px;font-weight:700;margin:0 0 8px}
.negative-feature-intro{font-size:14px;margin:0 0 18px!important}
.negative-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.negative-example h4{font-size:15px;margin:12px 0 4px}
.negative-example p{font-size:13px;line-height:1.5;margin:0!important}
.negative-placeholder{min-height:145px;border:1px dashed #aaa49a;background:#eeeae2;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px}
.negative-placeholder-label{font-size:12px;color:#6b675f}
@media(max-width:650px){.negative-feature-grid{grid-template-columns:1fr}}

/* Hero-Bild-Platzhalter: Ergänzung NACH den unveränderten Bildleisten.
   Später dieses Element durch ein <img> ersetzen oder als Hintergrund nutzen. */
.chapter-hero-placeholder {
  width:100%;
  aspect-ratio:2.45 / 1;
  max-height:560px;
  min-height:230px;
  margin:26px 0 0;
  background:#bcbab4;
  display:flex;align-items:center;justify-content:center;
}
.chapter-hero-placeholder-label {
  color:#77756f; font-size:12px; letter-spacing:.14em; text-transform:uppercase;
}
@media(max-width:700px) {
  .chapter-hero-placeholder {aspect-ratio:1.85 / 1;min-height:180px;margin-top:15px;}
}

/* Herobild unmittelbar nach dem Kapiteltext, vor der vorhandenen Bildleiste.
   Testweise überall Glasplatte 107406, ohne Beschnitt. */
.chapter-hero-placeholder {margin:0 0 26px;overflow:hidden;}
.chapter-hero-placeholder a {display:flex;width:100%;height:100%;align-items:center;justify-content:center;}
.chapter-hero-placeholder img {display:block;width:100%;height:100%;object-fit:contain;}
@media(max-width:700px){.chapter-hero-placeholder{margin:0 0 15px;}}

/* Hero-Bilder: 20 % größer als die vorherige 560px-Darstellung (nun bis ca. 672px Höhe).
   Kein grauer Kasten, kein Beschnitt; die Kapitel-Bildleisten bleiben unangetastet. */
.chapter-hero-placeholder {
  width:100%; height:auto; min-height:0; max-height:none; aspect-ratio:auto;
  padding:0; margin:0 0 26px; background:transparent; overflow:visible;
  display:flex; align-items:center; justify-content:center;
}
.chapter-hero-placeholder a {
  width:auto; height:auto; max-width:100%; display:block;
}
.chapter-hero-placeholder img {
  display:block; width:auto; height:auto; max-width:100%;
  max-height:672px; object-fit:contain; background:transparent;
}
@media(max-width:700px){
 .chapter-hero-placeholder{margin:0 0 15px; min-height:0; aspect-ratio:auto;}
 .chapter-hero-placeholder img{max-height:none;width:100%;height:auto;}
}

/* Leseszene in Kapitel 2 unmittelbar unter dem zugehörigen Absatz; nie breiter als die Textspalte. */
.chapter-inline-photo{max-width:100%;margin:22px 0 27px;text-align:center}
.chapter-inline-photo a{display:block}
.chapter-inline-photo img{display:block;width:auto;max-width:100%;height:auto;max-height:680px;object-fit:contain;margin:0 auto}


/* Gestapelte Hero-Bilder in Kapitel 4 */
#s3 .chapter-hero-placeholder{margin:0 0 26px;}
#s3 .chapter-hero-placeholder + .chapter-hero-placeholder{margin-top:0;}
#s5 .chapter-hero-placeholder{margin:0 0 26px;}

/* Kapitel 1: drei verbleibende Glasplatten größer und nebeneinander – nur diese Bildleiste. */
#s0 .chapter-one-three-images{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:700px){#s0 .chapter-one-three-images{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px){#s0 .chapter-one-three-images{grid-template-columns:1fr;}}

/* Fertige Negativanimationen – bewusst untereinander für ausreichende Darstellungsgröße. */
#s4 .negative-feature-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:30px;}
#s4 .negative-example h4 {font-size:18px;margin:4px 0 5px;}
#s4 .negative-example > p {font-size:13px;line-height:1.5;margin:0 0 12px!important;}
#s4 .negative-animation-frame {width:100%;height:680px;display:block;border:0;background:#d8d4ca;}
@media(max-width:760px){#s4 .negative-feature{padding:14px;}#s4 .negative-animation-frame{height:550px;}#s4 .negative-feature-grid{gap:24px;}}
@media(max-width:460px){#s4 .negative-animation-frame{height:495px;}}


/* Kapitel 5: Beide Negativ-Animationen nebeneinander, nahezu volle Bildschirmbreite.
   Der restliche Seitenaufbau bleibt unverändert. */
#s4 .negative-feature {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 8vw);
  max-width: none;
  margin: 26px 0 30px;
  padding: clamp(12px, 1.6vw, 26px);
}
#s4 .negative-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  align-items: start;
  gap: clamp(12px,1.4vw,28px);
}
#s4 .negative-example {min-width:0;}
#s4 .negative-animation-frame {
  display:block;
  width:100%;
  height: clamp(430px, 50vw, 690px);
  border:0;
}
@media (max-width: 800px) {
  #s4 .negative-feature {width:calc(100vw - 10vw);padding:12px;}
  #s4 .negative-feature-grid {grid-template-columns:1fr;gap:22px;}
  #s4 .negative-animation-frame {height:min(112vw,700px);}
}

/* Kapitel 05: genau ein Kasten fuer Einleitung und beide Negativanimationen. */
#s4 .negative-single-box {
  width:100%; max-width:none; margin:0;
  padding:clamp(20px,3vw,48px);
  background:#d8d4ca;
  border:1px solid #c9c4ba;
}
#s4 .negative-single-box .eyebrow,
#s4 .negative-single-box h2,
#s4 .negative-opening {max-width:800px;margin-left:auto;margin-right:auto;}
#s4 .negative-opening {margin-top:22px;margin-bottom:34px;}
#s4 .negative-opening h2 {font-size:clamp(35px,4vw,62px);font-weight:700;line-height:1.1;letter-spacing:-.04em;margin:12px 0 24px;}
#s4 .negative-opening p {max-width:800px;margin:0 0 1.1em;line-height:1.7;}
#s4 .negative-single-box .negative-feature-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.4vw,28px);}
#s4 .negative-single-box .negative-example {min-width:0;}
#s4 .negative-single-box .negative-animation-frame {background:transparent;}
@media(max-width:800px){
 #s4 .negative-single-box{padding:18px 14px;}
 #s4 .negative-single-box .negative-feature-grid{grid-template-columns:1fr;gap:22px;}
}

/* Full-viewport fallback for browsers that disallow native fullscreen in local file iframes. */
body.animation-overlay-open {overflow:hidden;}
#s4 .negative-example.animation-expanded {
 position:fixed!important;inset:0!important;z-index:9999!important;
 width:100vw!important;height:100dvh!important;
 margin:0!important;padding:0!important;background:#d8d4ca!important;
 display:flex!important;flex-direction:column!important;
}
#s4 .negative-example.animation-expanded h4 {display:none!important;}
#s4 .negative-example.animation-expanded .negative-animation-frame {
 width:100%!important;height:100%!important;max-height:none!important;flex:1!important;
}

.chapter-lead{font-weight:700;text-transform:uppercase;}


/* Dezenter Mouseover-Zoom ausschließlich in den mehrteiligen Bildleisten.
   Titelbild, Kapitel-Herobilder, Einzelbilder und Negativanimationen bleiben ruhig. */
main .gallery img {transition:transform .28s ease; transform-origin:center center;}
main .gallery img:hover {transform:scale(1.035);}
main a:has(> img), header img.hb-photo-clickable {cursor:zoom-in;}
main .gallery figure:hover {position:relative;z-index:1;}
@media (prefers-reduced-motion: reduce) {
  main .gallery img {transition:none;}
}

/* Eigenständige Großansicht mit Zurück/Vorwärts und Schließen, kein Bildbeschnitt. */
body.hb-lightbox-open {overflow:hidden;}
.hb-lightbox {
  position:fixed;inset:0;z-index:10000;background:rgba(13,13,13,.96);
  display:none;align-items:center;justify-content:center;
  color:#fff;padding:60px 76px 55px;
}
.hb-lightbox.is-open {display:flex;}
.hb-lightbox-content {margin:0;max-width:100%;width:100%;height:100%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;}
.hb-lightbox-image {display:block;max-width:100%;max-height:calc(100% - 32px);
  width:auto;height:auto;object-fit:contain;}
.hb-lightbox button {position:absolute;display:flex;align-items:center;justify-content:center;
  background:rgba(35,35,35,.6);border:1px solid rgba(255,255,255,.28);color:#fff;
  cursor:pointer;border-radius:50%;width:48px;height:48px;font-size:29px;line-height:1;}
.hb-lightbox button:hover {background:rgba(95,95,95,.85);}
.hb-lightbox button:focus-visible {outline:2px solid white;outline-offset:4px;}
.hb-lightbox-close {top:15px;right:19px;font-size:36px!important;}
.hb-lightbox-prev {left:16px;top:50%;transform:translateY(-50%);}
.hb-lightbox-next {right:16px;top:50%;transform:translateY(-50%);}
.hb-lightbox-counter {position:absolute;bottom:16px;left:0;right:0;text-align:center;
  font:12px/1 Arial,Helvetica,sans-serif;color:#aaa;pointer-events:none;}
@media(max-width:700px) {
  .hb-lightbox {padding:60px 8px 65px;}
  .hb-lightbox button {width:42px;height:42px;font-size:25px;}
  .hb-lightbox-prev,.hb-lightbox-next {top:auto;bottom:9px;transform:none;}
  .hb-lightbox-close {top:10px;right:10px;}
  .hb-lightbox-counter {bottom:25px;}
}

/* Typografie aus „Der Traum vom Fliegen“. Bildraster, Bilder und Animationen bleiben unverändert. */
:root{--hb-body-size:20px;--hb-paragraph-gap:25px}
body{background:#f1ece2;color:#27231f;font-family:Arial,Helvetica,sans-serif;font-size:var(--hb-body-size);line-height:1.72}
header.glass-hero h1{font-size:clamp(48px,6.5vw,104px);font-weight:400;line-height:1.02;letter-spacing:-.045em;margin:30px 0 28px}
header.glass-hero em{font-size:var(--hb-body-size);line-height:1.72}
.chapter p{font-size:var(--hb-body-size);line-height:1.72;margin-bottom:var(--hb-paragraph-gap)}
.chapter h2,section h2{font-size:clamp(34px,4.5vw,62px);font-weight:400;line-height:1.12;letter-spacing:-.035em}
/* Header/Footer: Chrome kommt zentral aus shared; diese Fallback-Regeln greifen bei lokaler Vorschau. */
.hb-story-header,.hb-story-footer{box-sizing:border-box;display:block;min-height:0;background:#282521;color:#f1ece2;font:14px/1.5 Arial,Helvetica,sans-serif}
.hb-story-header{padding:16px max(24px,5vw);border-bottom:1px solid #625c54}
.hb-story-footer{padding:28px max(24px,5vw)}
.hb-chrome-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.hb-brand{display:inline-flex;align-items:center;gap:9px;color:inherit;text-decoration:none;font-size:18px;font-weight:700}
.hb-brand i{width:12px;height:12px;border-radius:50%;background:#a65d4b;display:inline-block}
.hb-topnav{position:static;display:flex;align-items:center;gap:20px;overflow:visible;white-space:normal;padding:0;background:transparent;border:0;backdrop-filter:none;font-size:14px;z-index:auto}
.hb-topnav a,.hb-story-footer a{color:inherit;text-decoration:none}
.hb-credit,.hb-legal{font-size:12px;color:#d5cec4}
@media(max-width:560px){:root{--hb-body-size:18px;--hb-paragraph-gap:22px}.hb-story-header,.hb-story-footer{padding:18px 24px}.hb-topnav{gap:12px}}

/* Preserve the existing animation caption typography with semantic headings. */
#s4 .negative-example h3{font-size:18px;line-height:inherit;margin:4px 0 5px;font-weight:700}
