/* ============================================================
   Schulverlag Hanse – Designsystem
   1. Tokens          5. Buttons        9. Bücher
   2. Basis           6. Header        10. Verlag / Editorial
   3. Raster          7. Hero          11. Downloads / CTA
   4. Typografie      8. Zielgruppen   12. Footer / Motion
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Farben */
  --sh-marine:        #14294b;
  --sh-marine-tief:   #0d1b33;
  --sh-marine-hell:   #1d3a66;
  --sh-rot:           #b23a2b;
  --sh-rot-dunkel:    #8f2d20;
  --sh-gelb:          #b5801b;  /* Gelbe Fläche – Schrift darauf immer weiß */
  --sh-gelb-dunkel:   #96681a;
  --sh-messing:       #c9a45c;
  --sh-papier:        #f5efe3;
  --sh-papier-hell:   #fbf8f1;
  --sh-schwarz:       #22262b;
  --sh-muted:         #5a6070;
  --sh-line:          #ddd6c7;
  --sh-line-dark:     rgba(255,255,255,.16);
  --sh-white:         #ffffff;

  /* Schrift */
  --sh-sans:  Lexend, "Segoe UI", system-ui, -apple-system, sans-serif;
  --sh-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Raster – Weißraum ist Teil des Designs, nicht Restfläche */
  --sh-gutter:   clamp(1.25rem, 4vw, 2.5rem);
  --sh-wide:     78rem;
  --sh-prose:    42rem;
  --sh-section:  clamp(5rem, 9vw, 9.5rem);
  --sh-block:    clamp(2.5rem, 5vw, 4.5rem);   /* Sektionskopf → Inhalt */
  --sh-card-pad: clamp(1.75rem, 3vw, 2.5rem);
  --sh-grid-gap: clamp(1.5rem, 3vw, 2.5rem);

  /* Form */
  --sh-r-sm: 6px;
  --sh-r:    14px;
  --sh-r-lg: 22px;
  --sh-pill: 999px;

  /* Schatten */
  --sh-sh-card:  0 1px 2px rgba(20,41,75,.05), 0 8px 24px -12px rgba(20,41,75,.14);
  --sh-sh-lift:  0 2px 4px rgba(20,41,75,.06), 0 24px 48px -16px rgba(20,41,75,.22);
  --sh-sh-cover: 0 2px 6px rgba(20,41,75,.10), 0 30px 60px -20px rgba(20,41,75,.34);

  /* Bewegung */
  --sh-ease: cubic-bezier(.2, .7, .2, 1);
  --sh-dur:  .5s;

  --sh-header-h: 76px;
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html:has(.sh-nav-open), body.sh-nav-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sh-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--sh-schwarz);
  background: var(--sh-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums tabular-nums;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* WordPress' eigenen Blockabstand im Seitengerüst neutralisieren –
   die Sektionen bringen ihre Abstände selbst mit. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks { overflow-x: clip; }

:where(a):focus-visible,
:where(button, [role="button"], input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--sh-marine-hell);
  outline-offset: 3px;
  border-radius: var(--sh-r-sm);
}
.sh-on-dark :focus-visible { outline-color: var(--sh-messing); }

::selection { background: var(--sh-marine); color: var(--sh-white); }

.sh-sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.sh-skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--sh-marine); color: var(--sh-white);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--sh-r-sm) var(--sh-r-sm);
  text-decoration: none; font-size: .9375rem; font-weight: 500;
}
.sh-skip:focus { transform: translate(-50%, 0); }

/* ---------- 3. Raster ---------- */
.sh-wrap {
  width: 100%;
  max-width: var(--sh-wide);
  margin-inline: auto;
  padding-inline: var(--sh-gutter);
}
.sh-wrap--narrow { max-width: 58rem; }

.sh-section { padding-block: var(--sh-section); }
.sh-section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

.sh-section--papier     { background: var(--sh-papier); }
.sh-section--papierhell { background: var(--sh-papier-hell); }
.sh-section--marine     { background: var(--sh-marine); }
.sh-section--marinetief { background: var(--sh-marine-tief); }

/* Dunkle Flächen: ein Schalter, der alle Textrollen mitnimmt */
.sh-on-dark { color: rgba(255,255,255,.80); }
.sh-on-dark h1, .sh-on-dark h2, .sh-on-dark h3, .sh-on-dark h4,
.sh-on-dark .sh-display, .sh-on-dark .sh-h2, .sh-on-dark .sh-h3 { color: var(--sh-white); }
.sh-on-dark .sh-label { color: var(--sh-messing); }
.sh-on-dark .sh-lead, .sh-on-dark .sh-muted { color: rgba(255,255,255,.74); }
.sh-on-dark .sh-rule { background: var(--sh-line-dark); }
.sh-on-dark a { color: var(--sh-white); }

.sh-rule { height: 1px; background: var(--sh-line); border: 0; margin: 0; }
.sh-rule--brass { height: 2px; background: var(--sh-messing); width: 48px; border-radius: 2px; }

.sh-stack > * { margin-block: 0; }
.sh-stack > * + * { margin-block-start: var(--sh-flow, 1.25rem); }

/* ---------- 4. Typografie ---------- */
.sh-label {
  display: block;
  font-family: var(--sh-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--sh-rot);
}

.sh-display, .sh-h1 {
  font-family: var(--sh-serif);
  font-weight: 600;
  color: var(--sh-marine);
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.sh-display { font-size: clamp(2.75rem, 7.5vw, 5.75rem); }
.sh-h1      { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -.025em; line-height: 1.05; }

.sh-h2 {
  font-family: var(--sh-serif);
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--sh-marine);
  margin: 0;
  text-wrap: balance;
}
.sh-h3 {
  font-family: var(--sh-sans);
  font-size: clamp(1.1875rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--sh-marine);
  margin: 0;
}

.sh-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.55;
  font-weight: 300;
  color: var(--sh-muted);
  margin: 0;
  max-width: 34ch;
  text-wrap: pretty;
}
.sh-lead--wide { max-width: 52ch; }

.sh-body  { margin: 0; max-width: 64ch; text-wrap: pretty; }
.sh-muted { color: var(--sh-muted); }
.sh-small { font-size: .875rem; line-height: 1.55; }

/* Akzentwort in Überschriften */
.sh-accent { color: var(--sh-rot); }
.sh-italic { font-style: italic; font-weight: 400; }

/* Sektionskopf: Label, Überschrift, optionaler Beitext + Link */
.sh-head { margin-bottom: var(--sh-block); }
.sh-head .sh-label { margin-bottom: 1rem; }
.sh-head .sh-h2 + .sh-lead { margin-top: 1.25rem; }
.sh-head--split {
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 56rem) {
  .sh-head--split { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ---------- 5. Buttons ---------- */
.sh-btn {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--sh-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  padding: 1rem 1.75rem;
  border-radius: var(--sh-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--sh-ease), color .25s var(--sh-ease),
              border-color .25s var(--sh-ease), transform .25s var(--sh-ease),
              box-shadow .25s var(--sh-ease);
}
.sh-btn { white-space: nowrap; }
.sh-btn svg { width: 1.15em; height: 1.15em; flex: none; }
.sh-btn:hover { transform: translateY(-2px); }
.sh-btn:active { transform: translateY(0); }

.sh-btn--primary {
  background: var(--sh-rot);
  color: var(--sh-white);
  box-shadow: 0 10px 24px -14px rgba(178,58,43,.8);
}
.sh-btn--primary:hover { background: var(--sh-rot-dunkel); color: var(--sh-white); }

.sh-btn--ghost {
  background: transparent;
  color: var(--sh-marine);
  border-color: rgba(20,41,75,.25);
}
.sh-btn--ghost:hover { border-color: var(--sh-marine); background: rgba(20,41,75,.04); color: var(--sh-marine); }

.sh-on-dark .sh-btn--ghost { color: var(--sh-white); border-color: rgba(255,255,255,.35); }
.sh-on-dark .sh-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--sh-white); color: var(--sh-white); }

.sh-btn--light { background: var(--sh-white); color: var(--sh-marine); }
.sh-btn--light:hover { background: var(--sh-papier); color: var(--sh-marine); }

.sh-btn--small { font-size: .9375rem; padding: .75rem 1.25rem; }

/* Textlink mit Pfeil */
.sh-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--sh-marine);
  text-decoration: none;
  border-bottom: 1.5px solid var(--sh-messing);
  padding-bottom: 3px;
  transition: color .25s var(--sh-ease), border-color .25s var(--sh-ease), gap .25s var(--sh-ease);
}
.sh-link:hover { color: var(--sh-rot); border-color: var(--sh-rot); gap: .875rem; }
.sh-link svg { width: 1em; height: 1em; flex: none; }
.sh-on-dark .sh-link { color: var(--sh-white); border-color: var(--sh-messing); }
.sh-on-dark .sh-link:hover { color: var(--sh-messing); }

.sh-actions { display: flex; flex-wrap: wrap; gap: .875rem 1rem; align-items: center; }

/* ---------- Gelb-Regel ----------
   Auf jeder gelben Fläche ist die Schrift weiß. Das Gelb ist dafür so
   abgedunkelt, dass Weiß darauf lesbar bleibt (3,5:1 für große, fette Typo). */
.sh-gelb.sh-gelb,
.has-gelb-background-color {
  background: var(--sh-gelb);
}
.sh-gelb, .sh-gelb *,
.has-gelb-background-color, .has-gelb-background-color * {
  color: var(--sh-white) !important;
  border-color: rgba(255,255,255,.3);
}
/* Weiß auf diesem Gelb liegt bei 3,46:1. Das genügt der WCAG nur für große
   oder fette Schrift – Text auf Gelb wird deshalb eine Stufe größer und fetter
   gesetzt. Kleine Schrift gehört nicht auf eine gelbe Fläche. */
.sh-gelb .sh-card__text,
.sh-gelb .sh-body,
.sh-gelb .sh-lead  { font-size: 1.1875rem; font-weight: 700; line-height: 1.5; }
.sh-gelb .sh-h3    { font-size: 1.5rem; font-weight: 700; }
.sh-gelb .sh-rule  { background: rgba(255,255,255,.35); }

/* ---------- 6. Header ---------- */
.sh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--sh-ease), box-shadow .3s var(--sh-ease),
              background-color .3s var(--sh-ease);
}
.sh-nav-open .sh-header {
  background: var(--sh-papier);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
.sh-header[data-scrolled="true"] {
  border-bottom-color: var(--sh-line);
  box-shadow: 0 2px 20px -12px rgba(20,41,75,.3);
}
.sh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--sh-header-h);
  padding-block: .875rem;
}
.sh-logo { display: block; flex: none; text-decoration: none; }
.sh-logo img { height: clamp(34px, 4.5vw, 42px); width: auto; }

.sh-nav { display: none; }
.sh-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.sh-nav__link {
  position: relative;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--sh-marine);
  text-decoration: none;
  padding-block: .375rem;
  transition: color .2s var(--sh-ease);
}
.sh-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--sh-rot);
  transition: right .3s var(--sh-ease);
}
.sh-nav__link:hover { color: var(--sh-rot); }
.sh-nav__link:hover::after { right: 0; }
.sh-nav__link[aria-current="page"] { color: var(--sh-rot); }
.sh-nav__link[aria-current="page"]::after { right: 0; }

.sh-header__cta { display: none; }

/* Burger */
.sh-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-pill);
  cursor: pointer;
}
.sh-burger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--sh-marine); border-radius: 2px;
  transition: transform .3s var(--sh-ease), opacity .2s var(--sh-ease);
}
.sh-nav-open .sh-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sh-nav-open .sh-burger span:nth-child(2) { opacity: 0; }
.sh-nav-open .sh-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobiles Vollbildmenü */
.sh-mobilenav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--sh-papier);
  padding: calc(var(--sh-header-h) + clamp(2rem, 7vw, 3.5rem)) var(--sh-gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--sh-ease), transform .35s var(--sh-ease), visibility .3s;
}
.sh-nav-open .sh-mobilenav { opacity: 1; visibility: visible; transform: translateY(0); }
.sh-mobilenav__list { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.sh-mobilenav__list li { border-bottom: 1px solid var(--sh-line); }
.sh-mobilenav__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.125rem 0;
  font-family: var(--sh-serif);
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--sh-marine);
  text-decoration: none;
}
.sh-mobilenav__list a:hover { color: var(--sh-rot); }
.sh-mobilenav__num {
  font-family: var(--sh-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--sh-messing);
}

@media (min-width: 60rem) {
  .sh-nav { display: block; }
  .sh-header__cta { display: inline-flex; }
  .sh-burger, .sh-mobilenav { display: none; }
}

/* ---------- 7. Hero ---------- */
.sh-hero {
  position: relative;
  background: var(--sh-papier);
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7.5rem) clamp(4rem, 8vw, 7rem);
}
/* Feines Raster im Hintergrund – Andeutung von Papier, nicht Dekor */
.sh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20,41,75,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,41,75,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 85% 10%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 90% at 85% 10%, #000 0%, transparent 70%);
  pointer-events: none;
}
.sh-hero__inner { position: relative; }
.sh-hero__grid {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .sh-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(3rem, 6vw, 5.5rem); }
}
.sh-hero__text > * + * { margin-top: 0; }
.sh-hero__label { margin-bottom: 1.5rem; }
.sh-hero__title { margin-bottom: 1.75rem; max-width: 18ch; }
.sh-hero__lead { margin-bottom: 2.5rem; }
.sh-hero__actions { margin-bottom: 0; }


/* Buchstapel im Hero */
.sh-stack-art { position: relative; display: grid; place-items: center; }
.sh-stack-art__books {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(.75rem, 2vw, 1.5rem);
  perspective: 1400px;
}
.sh-bookfig {
  position: relative;
  width: clamp(92px, 20vw, 168px);
  aspect-ratio: 2 / 3;
  border-radius: 3px var(--sh-r-sm) var(--sh-r-sm) 3px;
  box-shadow: var(--sh-sh-cover);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .6s var(--sh-ease);
}
.sh-bookfig::after {           /* Buchrücken + Seitenglanz */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(0,0,0,.05) 7px, rgba(255,255,255,.14) 9px, transparent 22px);
  pointer-events: none;
}
.sh-bookfig:nth-child(1) { transform: rotateY(14deg) translateY(14px) scale(.93); z-index: 1; }
.sh-bookfig:nth-child(2) { transform: translateY(-16px); z-index: 3; }
.sh-bookfig:nth-child(3) { transform: rotateY(-14deg) translateY(14px) scale(.93); z-index: 1; }
.sh-stack-art:hover .sh-bookfig:nth-child(1) { transform: rotateY(10deg) translateY(8px) scale(.95); }
.sh-stack-art:hover .sh-bookfig:nth-child(2) { transform: translateY(-24px); }
.sh-stack-art:hover .sh-bookfig:nth-child(3) { transform: rotateY(-10deg) translateY(8px) scale(.95); }

/* Messing-Bodenlinie unter dem Stapel */
.sh-stack-art__shelf {
  width: min(100%, 420px);
  height: 3px;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(90deg, transparent, var(--sh-messing) 15%, var(--sh-messing) 85%, transparent);
  border-radius: 3px;
}

/* ---------- Laufband ---------- */
.sh-marquee {
  background: var(--sh-marine);
  color: var(--sh-white);
  padding-block: 1.125rem;
  overflow: hidden;
  user-select: none;
}
.sh-marquee__track {
  display: flex;
  width: max-content;
  animation: sh-scroll 46s linear infinite;
}
.sh-marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-right: clamp(1.75rem, 4vw, 3rem);
  flex: none;
}
.sh-marquee span {
  font-family: var(--sh-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: .01em;
  white-space: nowrap;
}
.sh-marquee i {
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sh-messing);
  flex: none;
}
@keyframes sh-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 8. Zielgruppen ---------- */
.sh-cards {
  display: grid;
  gap: var(--sh-grid-gap);
}
@media (min-width: 46rem)  { .sh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem)  { .sh-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sh-card-pad);
  background: var(--sh-white);
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-r-lg);
  overflow: hidden;
  transition: transform .35s var(--sh-ease), box-shadow .35s var(--sh-ease);
}
.sh-card:hover { transform: translateY(-4px); box-shadow: var(--sh-sh-lift); }

.sh-card--marine { background: var(--sh-marine); border-color: transparent; }
.sh-card--gelb   { border-color: transparent; }

.sh-card__num {
  font-family: var(--sh-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--sh-muted);
  margin: 0 0 2.25rem;
}
.sh-card__icon svg { width: 100%; height: 100%; }
.sh-card__icon {
  display: block;
  width: 40px; height: 40px;
  margin-bottom: 1.5rem;
  color: var(--sh-rot);
}
.sh-card--marine .sh-card__icon,
.sh-card--gelb .sh-card__icon { color: var(--sh-messing); }
.sh-card--gelb .sh-card__icon { color: var(--sh-white); }
.sh-card__title { margin-bottom: .875rem; }
.sh-card__text  { color: var(--sh-muted); margin: 0; font-size: 1rem; }
.sh-card--marine .sh-card__text { color: rgba(255,255,255,.76); }
.sh-card__foot { margin-top: auto; padding-top: 2rem; }

/* ---------- 9. Bücher ---------- */
.sh-books {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem) var(--sh-grid-gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.sh-books--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }

.sh-book { display: flex; flex-direction: column; }

.sh-book__coverlink {
  display: block;
  text-decoration: none;
  border-radius: 3px var(--sh-r-sm) var(--sh-r-sm) 3px;
}
.sh-book__cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 3px var(--sh-r-sm) var(--sh-r-sm) 3px;
  overflow: hidden;
  background: var(--sh-marine);
  box-shadow: var(--sh-sh-card);
  transition: transform .4s var(--sh-ease), box-shadow .4s var(--sh-ease);
}
.sh-book__cover img { width: 100%; height: 100%; object-fit: cover; }
.sh-book__cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.26) 0, rgba(0,0,0,.04) 6px, rgba(255,255,255,.12) 8px, transparent 20px);
  pointer-events: none;
}
.sh-book:hover .sh-book__cover { transform: translateY(-6px); box-shadow: var(--sh-sh-cover); }

.sh-book__body { padding-top: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sh-book__series {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sh-rot);
  margin: 0 0 .625rem;
}
.sh-book__title {
  font-family: var(--sh-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--sh-marine);
  margin: 0 0 .5rem;
}
.sh-book__title a { color: inherit; text-decoration: none; }
.sh-book__title a:hover { color: var(--sh-rot); }
.sh-book__sub { font-size: .9375rem; line-height: 1.5; color: var(--sh-muted); margin: 0; }
.sh-book__meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1rem 0 0;
}
.sh-book__foot { margin-top: auto; padding-top: 1.25rem; }

/* Platzhalter-Cover, solange keine Titel hinterlegt sind */
.sh-cover-ph { position: absolute; inset: 0; display: grid; }
.sh-cover-ph svg { width: 100%; height: 100%; }

.sh-tag {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .625rem;
  border-radius: var(--sh-r-sm);
  background: rgba(20,41,75,.07);
  color: var(--sh-marine);
}
.sh-tag--soon  { background: transparent; border: 1px solid var(--sh-line); color: var(--sh-muted); }
.sh-on-dark .sh-tag { background: rgba(255,255,255,.14); color: var(--sh-white); }

/* Leerzustand: wirkt gesetzt, nicht kaputt */
.sh-empty {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 58rem) { .sh-empty { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }

/* Im Leerzustand immer drei Cover nebeneinander, leicht versetzt. */
.sh-empty .sh-books {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
}
.sh-empty .sh-book:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.5rem); }
.sh-empty .sh-book:nth-child(3) { margin-top: clamp(2rem, 6vw, 5rem); }

/* ---------- 10. Verlag / Editorial ---------- */
.sh-split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 58rem) {
  .sh-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 7vw, 6rem); }
  .sh-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-split--center { align-items: center; }
}

.sh-quote { max-width: 40ch; }
.sh-quote__mark {
  font-family: var(--sh-serif);
  font-size: 4rem;
  line-height: .7;
  color: var(--sh-messing);
  display: block;
  margin-bottom: 1rem;
}
.sh-quote p {
  font-family: var(--sh-serif);
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin: 0;
}

/* Wertepunkte mit Messing-Linien */
.sh-values { list-style: none; margin: 0; padding: 0; }
.sh-values li { padding: clamp(1.5rem, 3vw, 2rem) 0; border-top: 1px solid var(--sh-line); }
.sh-values li:last-child { border-bottom: 1px solid var(--sh-line); }
.sh-on-dark .sh-values li { border-color: var(--sh-line-dark); }
.sh-values__grid { display: grid; gap: .625rem 2rem; }
@media (min-width: 40rem) {
  .sh-values__grid { grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; }
}
.sh-values__k {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sh-rot); margin: 0;
}
.sh-on-dark .sh-values__k { color: var(--sh-messing); }
.sh-values__v { margin: 0; color: var(--sh-muted); }
.sh-on-dark .sh-values__v { color: rgba(255,255,255,.76); }

/* ---------- 11. Downloads / CTA ---------- */
.sh-dl {
  display: grid;
  gap: var(--sh-grid-gap);
}
@media (min-width: 46rem) { .sh-dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sh-dl__item {
  padding: var(--sh-card-pad);
  border: 1px dashed var(--sh-line);
  border-radius: var(--sh-r);
  background: rgba(255,255,255,.5);
}
.sh-dl__item .sh-h3 { margin-bottom: .625rem; }
.sh-dl__item p { margin: 0; color: var(--sh-muted); font-size: .9375rem; }

.sh-cta {
  position: relative;
  background: var(--sh-marine);
  overflow: hidden;
}
.sh-cta::before {
  content: "";
  position: absolute;
  width: 46rem; height: 46rem;
  right: -14rem; top: -22rem;
  background: radial-gradient(circle, rgba(201,164,92,.18) 0%, transparent 62%);
  pointer-events: none;
}
.sh-cta__inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 2rem; }
.sh-cta__title { max-width: 24ch; }

/* ---------- 12. Footer ---------- */
.sh-footer { background: var(--sh-marine-tief); }
.sh-footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 4vw, 3.5rem);
}
@media (min-width: 46rem) { .sh-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .sh-footer__top { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }

.sh-footer__brand img { height: 30px; width: auto; margin-bottom: 1.5rem; }
.sh-footer__claim {
  font-family: var(--sh-serif);
  font-size: 1.125rem;
  line-height: 1.45;
  color: rgba(255,255,255,.78);
  margin: 0;
  max-width: 28ch;
}
.sh-footer__h {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sh-messing);
  margin: 0 0 1.25rem;
}
.sh-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.sh-footer__list a {
  font-size: .9375rem;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s var(--sh-ease);
}
.sh-footer__list a:hover { color: var(--sh-white); text-decoration: underline; text-underline-offset: 4px; }

.sh-footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-block: 1.75rem;
  border-top: 1px solid var(--sh-line-dark);
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
}
.sh-footer__bottom a { color: inherit; text-decoration: none; }
.sh-footer__bottom a:hover { color: var(--sh-white); }

/* ---------- Fließtext-Seiten (Impressum etc.) ---------- */
.sh-page { padding-block: clamp(3.5rem, 7vw, 6rem) var(--sh-section); }
.sh-prose-area { max-width: var(--sh-prose); margin-inline: auto; }
.sh-prose-area > * + * { margin-top: 1.5rem; }
.sh-prose-area h2 { margin-top: 3rem; }
.sh-prose-area h3 { margin-top: 2.25rem; }
.sh-prose-area ul, .sh-prose-area ol { padding-left: 1.25rem; }
.sh-prose-area li + li { margin-top: .5rem; }
.sh-prose-area a { color: var(--sh-marine); text-underline-offset: 3px; }

/* ---------- Buch-Einzelseite ---------- */
.sh-crumb {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: .8125rem; color: var(--sh-muted);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.sh-crumb a { color: var(--sh-marine); text-decoration: none; }
.sh-crumb a:hover { color: var(--sh-rot); text-decoration: underline; text-underline-offset: 3px; }
.sh-crumb span { color: var(--sh-messing); }

.sh-buchseite__grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
@media (min-width: 56rem) {
  .sh-buchseite__grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(3rem, 6vw, 5rem); }
}
.sh-buchseite__cover { max-width: 320px; }
.sh-buchseite__text {
  max-width: 60ch;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--sh-line);
}
.sh-buchseite__text > * + * { margin-top: 1.25rem; }
.sh-buchseite__text h2, .sh-buchseite__text h3 { margin-top: 2.5rem; }

/* ---------- Beitragsliste ---------- */
.sh-postlist { display: grid; }
.sh-postitem {
  display: grid;
  gap: .5rem 2rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--sh-line);
}
.sh-postitem:last-child { border-bottom: 1px solid var(--sh-line); }
@media (min-width: 46rem) {
  .sh-postitem { grid-template-columns: 10rem minmax(0, 1fr); align-items: baseline; }
}
.sh-postitem__date {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sh-messing); margin: 0;
}
.sh-postitem .sh-h3 a { color: inherit; text-decoration: none; }
.sh-postitem .sh-h3 a:hover { color: var(--sh-rot); }

.wp-block-query-pagination, .navigation.pagination {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center;
}
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-numbers {
  display: inline-grid; place-items: center;
  min-width: 2.5rem; min-height: 2.5rem; padding: 0 .75rem;
  border: 1px solid var(--sh-line); border-radius: var(--sh-pill);
  font-size: .9375rem; color: var(--sh-marine); text-decoration: none;
}
.page-numbers:hover { border-color: var(--sh-marine); }
.page-numbers.current { background: var(--sh-marine); color: var(--sh-white); border-color: var(--sh-marine); }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--sh-ease), transform .7s var(--sh-ease);
  transition-delay: var(--sh-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .sh-marquee__track { animation: none; }
  .sh-btn:hover, .sh-card:hover, .sh-book:hover .sh-book__cover { transform: none; }
}

@media print {
  .sh-header, .sh-marquee, .sh-cta, .sh-mobilenav, .sh-burger { display: none !important; }
  .sh-section { padding-block: 1.5rem; }
  body { background: #fff; color: #000; }
}
