/* Entwurf: Bücherwand, Wegweiser, Neu erschienen (nur entwurf-index.html) */
.ew-streifen{background:#7a2e2e;color:#fff;text-align:center;font:600 .85rem/1.4 var(--font);letter-spacing:.08em;padding:.35rem 1rem;text-transform:uppercase}

/* ---- Bücherwand ---- */
.ew-wand{background:linear-gradient(180deg,#FBF9F3 0%,#F4F2EA 100%);border-bottom:1px solid var(--gray-light);padding:1.4rem 0 1.2rem;overflow:hidden;max-width:100%}
.ew-wand__zeile{max-width:1000px;margin:0 auto .9rem;padding:0 16px;text-align:center;font-size:clamp(1.05rem,2.4vw,1.3rem);color:var(--anthracite);line-height:1.45}
.ew-wand__reihen{display:flex;flex-direction:column;gap:.7rem}
.ew-reihe{overflow:hidden;width:100%}
.ew-reihe__band{display:flex;align-items:flex-end;width:max-content;will-change:transform;animation:ewZiehen var(--ew-dauer,160s) linear infinite}
.ew-reihe:nth-child(2) .ew-reihe__band{animation-delay:-37s}
.ew-reihe:nth-child(3) .ew-reihe__band{animation-delay:-81s}
@keyframes ewZiehen{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.ew-wand:hover .ew-reihe__band,.ew-wand:focus-within .ew-reihe__band,.ew-wand.ew-halt .ew-reihe__band{animation-play-state:paused}
.ew-cover{flex:none;display:block;margin-right:.9rem;line-height:0;border-radius:2px;transition:transform .25s ease}
/* feste Kachelgröße: die Wand ist schon vor dem Laden der Bilder gleich breit, die Schleife bleibt nahtlos */
.ew-cover{width:84px;height:120px}
.ew-cover img{width:100%;height:100%;max-width:none;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 3px 5px rgba(44,42,39,.22))}
.ew-cover:hover,.ew-cover:focus-visible{transform:translateY(-4px)}
.ew-cover:focus-visible{outline:2px solid var(--gold-dark);outline-offset:3px}
.ew-wand__mehr{text-align:center;margin:.9rem 0 0;padding:0 16px;font-size:.95rem}
.ew-wand__mehr a{color:var(--gold-dark);text-decoration:none;border-bottom:1px solid rgba(168,135,45,.4)}
@media (max-width:600px){.ew-wand{padding-top:4.4rem}.ew-cover{width:64px;height:92px}.ew-cover{margin-right:.65rem}.ew-wand__reihen{gap:.55rem}}
@media (prefers-reduced-motion:reduce){
  .ew-reihe{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.4rem}
  .ew-reihe__band{animation:none;padding:0 16px}
  .ew-cover,.ew-cover:hover{transition:none;transform:none}
}

/* ---- Wegweiser ---- */
.ew-wege{max-width:1100px;margin:0 auto;padding:1.6rem 16px .4rem;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.ew-weg{background:#fff;border:1px solid var(--gray-light);border-top:3px solid var(--gold);border-radius:6px;padding:1rem 1.1rem 1.05rem;min-width:0}
.ew-weg h2{font-size:1.2rem;font-weight:600;margin:0 0 .3rem;line-height:1.3}
.ew-weg h2 a{color:var(--anthracite);text-decoration:none}
.ew-weg h2 a::after{content:" →";color:var(--gold-dark)}
.ew-weg h2 a:hover{color:var(--gold-dark)}
.ew-weg p{margin:0 0 .55rem;color:var(--gray-mid);font-size:.98rem;line-height:1.5}
.ew-weg ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem .9rem;font-size:.92rem}
.ew-weg li a{color:var(--gold-dark);text-decoration:none;border-bottom:1px solid rgba(168,135,45,.35)}
@media (max-width:820px){.ew-wege{grid-template-columns:1fr;gap:.7rem}}

/* ---- Neu erschienen ---- */
.ew-neu{max-width:1100px;margin:1.2rem auto 1.8rem;padding:0 16px}
.ew-neu__in{background:var(--anthracite);color:var(--cream);border-radius:8px;padding:1.3rem 1.4rem 1.2rem}
.ew-neu__kopf{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.ew-neu__kopf h2{margin:0;font-size:1.45rem;font-weight:500;color:#f5e9d0}
.ew-neu__kopf a{color:var(--gold);text-decoration:none;font-size:.95rem}
.ew-neu__liste{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.ew-neu__liste a{display:flex;gap:.8rem;align-items:flex-start;color:inherit;text-decoration:none;min-width:0}
.ew-neu__liste img{width:62px;height:auto;flex:none;box-shadow:0 3px 10px rgba(0,0,0,.35);border-radius:2px}
.ew-neu__liste img.ew-neu__icon{width:62px;height:62px;border-radius:14px;object-fit:cover}
.ew-neu__art{display:block;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
.ew-neu__titel{display:block;font-size:1.05rem;line-height:1.3;color:#fff;overflow-wrap:break-word}
.ew-neu__info{display:block;font-size:.88rem;color:#cfc8b8;margin-top:.15rem;line-height:1.4}
.ew-neu__liste a:hover .ew-neu__titel{color:#f5e9d0;text-decoration:underline}
@media (max-width:980px){.ew-neu__liste{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.ew-neu__liste{grid-template-columns:1fr}.ew-neu__in{padding:1.1rem 1rem}}

/* ---- Kopf: Leitspruch zuerst ---- */
.hero-home.hero-oben{padding:5.6rem 0 1.2rem!important}
.hero-oben h1{font-size:clamp(2.4rem,6.4vw,5.6rem)!important;margin-bottom:.35em!important}
.hero-oben #wl-mob{padding:.6rem 0 0}
.hero-oben #wl-mob::before{display:none}
.hero-home-center #wl-mob-text,.hero-home-center #wl-mob-autor{text-align:left}
.hero-oben #wl-mob-autor{margin-bottom:0}
.hero-oben .farbwahl{top:1.8rem;right:max(2rem,calc((100% - 1180px)/2 + 2rem))}
@media (min-width:1100px){.hero-oben #wl-mob{display:block!important;max-width:44em}}
.hero-home:not(.hero-oben){padding-top:3rem!important}
@media (max-width:600px){
  .hero-home.hero-oben{padding:4.3rem 0 .9rem!important}
  .hero-oben h1{font-size:2.3rem!important;line-height:1.05!important}
  .hero-oben .hero-home-center{padding:0 1.1rem!important}
  .hero-oben .farbwahl{top:auto;bottom:auto;right:auto;left:1.1rem;position:relative;margin-top:.8rem}
  .ew-wand{padding-top:1rem}
  #music-btn,#greet-btn{padding:.3rem .65rem!important;font-size:.76rem!important;gap:.3rem!important;min-height:0!important;line-height:1.2!important}
  #music-btn{top:4.9rem!important;left:.7rem!important;right:auto!important;bottom:auto!important}
  #greet-btn{top:4.9rem!important;left:8.6rem!important}
  #music-btn svg,#greet-btn svg{width:13px;height:13px}
}
.hero-oben .hero-home-center>*{animation:none!important;opacity:1!important}

.hero-oben .hero-willkommen{margin:.6rem 0 0;font-size:1.1rem}
/* Musik und Begrüßung bleiben oben auf der Seite, statt beim Scrollen über dem Text zu schweben */
#music-btn,#greet-btn{position:absolute!important}
.books-all-box .book-card{opacity:1!important;transform:none!important}
