/* V40 — user-first editorial repair; no change to canonical V39 brand tokens. */
/* Start page: book selection first, not a cycle of explanatory chapters. */
.v40-features{padding-top:75px;padding-bottom:94px}
.v40-features .section-heading{display:block;margin-bottom:30px}
.v40-features .section-heading h2{font-size:clamp(35px,4vw,61px);line-height:1.1;letter-spacing:-.053em;max-width:none;margin:0}
.v40-features .feature-grid{align-items:stretch}
.v40-features .featured-book-link{display:block;text-decoration:none;color:inherit;cursor:pointer;position:relative}
.v40-features .featured-book-link:focus-visible{outline:3px solid var(--magenta);outline-offset:4px}
.v40-features .featured-book-link:hover .feature-text h3{color:var(--magenta)}
.v40-features .featured-book-link .amazon-btn{display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.v40-features .featured-book-link .ad-note{pointer-events:none}
.neo-shortcuts a{gap:11px}
.neo-shortcuts .shortcut-arrow{font-size:22px}
.category-link{grid-template-columns:minmax(0,1fr) 25px;gap:18px}
.category-arrow{font-size:23px}
.v40-features + .situation-section{padding-top:75px;padding-bottom:84px}
.v40-features + .situation-section .section-heading{margin-bottom:27px}
.v40-features + .situation-section .section-heading h2{margin-top:0}
.v40-features + .situation-section .section-heading p{max-width:60ch}
/* Category pages: a crisp introduction, immediately followed by original book recommendations. */
.topic-hero.v40-compact-topic{padding:40px 0 38px;background:#fff;border-bottom:0}
.topic-hero.v40-compact-topic > .shell{display:block;min-height:0}
.topic-hero.v40-compact-topic .breadcrumbs{margin:0 0 28px;font-size:12px}
.topic-hero.v40-compact-topic h1{font-size:clamp(38px,4.2vw,61px);line-height:1.1;max-width:23ch;margin:0 0 17px;letter-spacing:-.055em}
.topic-hero.v40-compact-topic .topic-sub{font-size:clamp(16px,1.6vw,19px);line-height:1.56;font-weight:400;color:var(--body);max-width:75ch;margin:0;letter-spacing:-.01em}
.topic-books.v40-direct-books{padding-top:16px;padding-bottom:74px;border-top:0}
.topic-books.v40-direct-books .section-heading{margin-bottom:19px}
.topic-books.v40-direct-books .section-heading h2{font-size:clamp(25px,2.2vw,34px);letter-spacing:-.035em;margin:0}
.topic-books.v40-direct-books .book-row{position:relative;transition:background-color .18s}
.topic-books.v40-direct-books .book-row:hover{background:linear-gradient(90deg,rgba(204,0,102,.018),transparent 60%)}
.topic-books.v40-direct-books .book-hit-target{position:absolute;inset:0;z-index:2;cursor:pointer}
.topic-books.v40-direct-books .book-end a{position:relative;z-index:3}
.topic-books.v40-direct-books .book-end .amazon-btn:hover{filter:brightness(.95)}
.topic-books.v40-direct-books .book-row:hover .book-identity h3{color:var(--magenta)}
.topic-books.v40-direct-books .book-list{border-top:1px solid var(--line)}
.topic-books.v40-direct-books .book-row{padding:34px 0 38px}
.topic-books.v40-direct-books .book-visual{background:transparent}
.topic-books.v40-direct-books .book-visual img{border:0;box-shadow:none;filter:drop-shadow(7px 9px 10px rgba(25,16,24,.2))}
.topic-books.v40-direct-books + .related{padding-top:10px;padding-bottom:65px}
.related > h2{margin:0 0 19px;font-size:clamp(24px,2.4vw,32px)}
.v39-home .gallery-eyebrow{font-size:9px;letter-spacing:.08em}
/* Motion optional: respect accessibility. */
@media (prefers-reduced-motion:reduce){.featured-book,.category-link,.book-row{transition:none!important}}
@media(max-width:900px){
 .topic-hero.v40-compact-topic{padding:29px 0 27px}
 .topic-hero.v40-compact-topic .breadcrumbs{margin-bottom:21px}
 .topic-books.v40-direct-books{padding-top:12px}
}
@media(max-width:650px){
 .v40-features{padding-top:53px;padding-bottom:66px}
 .v40-features .section-heading h2{font-size:clamp(32px,9vw,45px)}
 .topic-hero.v40-compact-topic{padding:27px 0 24px}
 .topic-hero.v40-compact-topic h1{font-size:clamp(33px,9.2vw,46px);max-width:100%;margin-bottom:10px}
 .topic-hero.v40-compact-topic .topic-sub{font-size:15px;line-height:1.52}
 .topic-books.v40-direct-books{padding-top:9px;padding-bottom:50px}
 .topic-books.v40-direct-books .section-heading{margin-bottom:15px}
 .topic-books.v40-direct-books .section-heading h2{font-size:25px}
 .topic-books.v40-direct-books .book-row{padding:28px 0}
 .v40-features + .situation-section{padding-top:56px;padding-bottom:64px}
}

/* V41: Scoped headline repair. An excessive 23ch limit caused the heading to
   wrap in Edge at some desktop font/viewport settings. Keep natural mobile wrap. */
body.v41-berufsstart .topic-hero.v40-compact-topic h1{
  max-width:none;
  font-size:clamp(35px,3.5vw,50px);
  line-height:1.045;
  letter-spacing:-.05em;
  margin-bottom:17px;
}
@media(min-width:900px){
  body.v41-berufsstart .topic-hero.v40-compact-topic h1{white-space:nowrap}
}
@media(max-width:650px){
  body.v41-berufsstart .topic-hero.v40-compact-topic h1{
    font-size:clamp(30px,7.8vw,39px);
    line-height:1.045;
    white-space:normal;
  }
}
