:root {
  --ink: #17324d;
  --teal: #0f766e;
  --paper: #f7f4ee;
  --gold: #d5a947;
  --white: #fff;
  --muted: #64748b;
  --line: #dbe2e8;
  --shadow: 0 16px 40px rgba(23, 50, 77, 0.12);
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}
a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.4rem, 7vw, 5.7rem);
  margin: 0.25em 0;
}
h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}
.wrap {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}
.narrow {
  width: min(760px, calc(100% - 2rem));
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
}
.skip-link:focus {
  top: 1rem;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 50, 77, 0.12);
}
.site-header__inner {
  width: min(1280px, calc(100% - 2rem));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  text-decoration: none;
}
.brand__logo {
  display: block;
  width: clamp(250px, 30vw, 410px);
  height: auto;
}
.brand__name {
  font:
    700 1.75rem Georgia,
    serif;
}
.brand__claim {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--teal);
}
.primary-nav ul,
.site-footer ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-nav a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.primary-nav a:hover {
  color: var(--teal);
}
.nav-toggle {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero:after {
  content: "";
  position: absolute;
  right: -10vw;
  top: -14vw;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold), transparent 64%);
  opacity: 0.22;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2rem));
  margin: auto;
  padding: clamp(5rem, 12vw, 10rem) 0;
}
.hero h1 {
  max-width: 900px;
}
.hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #dce6ed;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0;
}
.hero-search {
  display: flex;
  max-width: 740px;
  margin-top: 2rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.38rem;
  box-shadow: var(--shadow);
}
.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.8rem 1.2rem;
  font: inherit;
  color: var(--ink);
  outline: 0;
}
.hero-search button,
.button,
.catalog-filters button {
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section--ink {
  background: var(--ink);
  color: #fff;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.section-heading h2 {
  margin: 0.2rem 0;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.book-card {
  min-width: 0;
}
.book-card__cover {
  display: block;
  aspect-ratio: 2/3;
  background: #e7e3db;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.book-card__cover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.book-card__cover img,
.book-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-cover--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--ink), #295474);
  color: #fff;
  font:
    700 1.6rem Georgia,
    serif;
}
.book-card__copy {
  padding-top: 1rem;
}
.book-card__copy h2 {
  font-size: 1.25rem;
  margin: 0.25rem 0;
}
.book-card__copy h2 a {
  color: var(--ink);
  text-decoration: none;
}
.book-card__author,
.book-card__format {
  font-size: 0.82rem;
  margin: 0;
  color: var(--muted);
}
.archive-layout,
.page-content {
  padding-block: clamp(3rem, 7vw, 6rem);
}
.archive-header {
  max-width: 850px;
  margin-bottom: 2.5rem;
}
.archive-header h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
}
.catalog-filters {
  display: grid;
  grid-template-columns: 2fr repeat(4, minmax(120px, 1fr)) auto auto;
  gap: 0.8rem;
  align-items: end;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(23, 50, 77, 0.06);
  margin-bottom: 2rem;
}
.catalog-filters label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 750;
}
.catalog-filters input,
.catalog-filters select {
  width: 100%;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.filter-reset {
  padding: 0.7rem 0.3rem;
  text-align: center;
}
.result-count {
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.navigation.pagination {
  margin-top: 3rem;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.page-numbers {
  display: grid;
  place-items: center;
  min-width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  text-decoration: none;
}
.page-numbers.current {
  background: var(--teal);
  color: #fff;
}
.empty-state {
  padding: 4rem;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
}
.book-page {
  padding-block: clamp(3rem, 7vw, 7rem);
}
.book-hero {
  display: grid;
  grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}
.book-hero__cover {
  position: sticky;
  top: 110px;
}
.book-hero__cover img,
.book-hero__cover .book-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.book-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  margin: 0.25em 0;
}
.subtitle {
  font:
    italic clamp(1.1rem, 2vw, 1.45rem) Georgia,
    serif;
  color: #456078;
}
.byline {
  font-size: 1.15rem;
  font-weight: 750;
}
.book-description {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}
.editions {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.edition-list {
  display: grid;
  gap: 0.75rem;
}
.edition-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.edition-card div {
  display: grid;
}
.edition-card__facts {
  gap: 0.1rem;
}
.edition-card__actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.8rem;
}
.retailer-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}
.retailer-link:hover,
.retailer-link:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}
.edition-source {
  color: var(--muted);
  font-size: 0.78rem;
}
.edition-card span,
.edition-card small,
.availability {
  color: var(--muted);
}
.book-meta {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #ece8df;
  border-radius: var(--radius);
}
.site-footer {
  margin-top: 5rem;
  padding: 3rem 0;
  background: #102a41;
  color: #dfe8ee;
}
.site-footer__inner {
  width: min(1200px, calc(100% - 2rem));
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 2rem;
}
.site-footer a {
  color: #fff;
}
.prose {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}
.prose > * + * {
  margin-top: 1.2em;
}
@media (max-width: 980px) {
  .book-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalog-filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .book-hero {
    grid-template-columns: 280px 1fr;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    padding: 0.55rem 0.8rem;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 70px;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0.4rem;
  }
  .primary-nav a {
    display: block;
    padding: 0.6rem;
  }
  .hero-search {
    border-radius: 14px;
    flex-direction: column;
  }
  .hero-search button {
    border-radius: 9px;
  }
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-filters {
    grid-template-columns: 1fr;
  }
  .book-hero {
    grid-template-columns: 1fr;
  }
  .book-hero__cover {
    position: static;
    max-width: 320px;
    margin: auto;
  }
  .edition-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .edition-card__actions {
    justify-content: flex-start;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Gestaltung 0.2 */
:root {
  --ink: #142c3e;
  --teal: #176c68;
  --paper: #f4f0e8;
  --gold: #c8913c;
  --white: #fff;
  --muted: #66747d;
  --line: #d9d4ca;
  --shadow: 0 22px 55px rgba(20, 44, 62, 0.14);
  --radius: 18px;
}
body {
  background:
    radial-gradient(
      circle at 8% 7%,
      rgba(200, 145, 60, 0.09),
      transparent 25rem
    ),
    var(--paper);
}
.site-header {
  background: rgba(244, 240, 232, 0.92);
  border-bottom-color: rgba(20, 44, 62, 0.09);
}
.site-header__inner {
  min-height: 86px;
}
.brand {
  gap: 0.65rem;
}
.brand__name {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  letter-spacing: -0.045em;
}
.primary-nav a {
  position: relative;
  padding: 0.45rem 0.1rem;
}
.primary-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.15rem;
  height: 2px;
  background: var(--gold);
  transition: right 0.2s ease;
}
.primary-nav a:hover:after,
.primary-nav .current-menu-item > a:after {
  right: 0;
}
.hero {
  min-height: 660px;
  background: linear-gradient(125deg, #102b40 0%, #173a50 52%, #0e5553 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 49%,
    rgba(255, 255, 255, 0.025) 50%
  );
  background-size: 42px 42px;
  opacity: 0.6;
}
.hero:after {
  right: -8rem;
  top: -17rem;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(circle, var(--gold), transparent 67%);
  opacity: 0.28;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(1240px, calc(100% - 2rem));
  padding: clamp(5rem, 9vw, 8rem) 0;
}
.hero__copy {
  position: relative;
  z-index: 3;
}
.hero h1 {
  max-width: 770px;
  font-size: clamp(3.1rem, 6.4vw, 6.15rem);
  text-wrap: balance;
}
.hero__copy > p:not(.eyebrow) {
  max-width: 650px;
}
.hero-search {
  margin-top: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.hero__covers {
  position: relative;
  z-index: 2;
  min-height: 480px;
  perspective: 1200px;
}
.hero__covers span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(150px, 15vw, 210px);
  aspect-ratio: 2/3;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-radius: 5px;
  background: #e9e3d8;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.4);
  transform-origin: 50% 100%;
}
.hero__covers span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__covers span:nth-child(1) {
  transform: translate(-118%, -48%) rotate(-14deg);
}
.hero__covers span:nth-child(2) {
  transform: translate(-82%, -54%) rotate(-7deg);
}
.hero__covers span:nth-child(3) {
  z-index: 3;
  transform: translate(-50%, -58%) rotate(1deg);
}
.hero__covers span:nth-child(4) {
  z-index: 2;
  transform: translate(-17%, -52%) rotate(8deg);
}
.hero__covers span:nth-child(5) {
  transform: translate(18%, -45%) rotate(15deg);
}
.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}
.section-heading {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 {
  margin: 0;
}
.section-heading > a {
  font-weight: 800;
  text-decoration: none;
}
.book-grid {
  gap: clamp(1.35rem, 2.5vw, 2.35rem);
}
.book-card {
  position: relative;
  padding: 12px 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.book-card:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(20, 44, 62, 0.08);
  transform: translateY(-4px);
}
.book-card__cover {
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(20, 44, 62, 0.17);
}
.book-card__copy h2 {
  font-size: 1.3rem;
  line-height: 1.2;
}
.book-card__author {
  font-weight: 750;
  color: var(--teal);
}
.book-card__format {
  display: inline-flex;
  margin-top: 0.45rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(23, 108, 104, 0.09);
}
.archive-layout {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.archive-header {
  position: relative;
  max-width: 900px;
  margin-bottom: 2.7rem;
  padding-left: 1.35rem;
  border-left: 4px solid var(--gold);
}
.archive-header h1 {
  margin: 0.12em 0;
}
.catalog-filters {
  position: relative;
  padding: 1.2rem;
  border-color: rgba(20, 44, 62, 0.11);
  box-shadow: 0 14px 35px rgba(20, 44, 62, 0.07);
}
.catalog-filters input,
.catalog-filters select {
  min-height: 46px;
  border-color: #cbc7be;
}
.result-count {
  font-weight: 700;
}
.book-page {
  padding-block: clamp(3.5rem, 7vw, 7.5rem);
}
.book-hero {
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
}
.book-hero__cover:before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid rgba(200, 145, 60, 0.48);
  border-radius: 10px;
}
.book-hero__copy {
  padding: clamp(0.5rem, 3vw, 2.5rem) 0;
}
.book-hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 5.5rem);
  text-wrap: balance;
}
.byline a {
  color: var(--teal);
  text-decoration: none;
}
.book-description {
  max-width: 780px;
  margin-top: 2rem;
  font-size: 1.12rem;
  line-height: 1.78;
}
.editions {
  margin-top: clamp(4.5rem, 8vw, 7.5rem);
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 40px rgba(20, 44, 62, 0.06);
}
.editions h2 {
  margin-top: 0;
}
.edition-card {
  padding: 1.15rem 1.3rem;
  border-color: rgba(20, 44, 62, 0.1);
  box-shadow: 0 6px 18px rgba(20, 44, 62, 0.04);
}
.button {
  box-shadow: 0 7px 17px rgba(23, 108, 104, 0.2);
}
.book-meta {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(200, 145, 60, 0.12);
}
.book-meta p {
  margin: 0;
}
.book-meta p + p {
  margin-top: 0.45rem;
}
.related-books {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(49, 87, 255, 0.11);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 107, 74, 0.14), transparent 24rem),
    linear-gradient(135deg, #eef1ff 0%, #f8f4ff 100%);
}
.related-books .section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}
@media (max-width: 720px) {
  .related-books {
    padding: 1.25rem;
    border-radius: 22px;
  }
  .book-page,
  .book-page article,
  .book-hero,
  .book-hero__copy {
    min-width: 0;
    max-width: 100%;
  }
  .book-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .book-hero__copy,
  .book-description {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
.site-footer {
  margin-top: 3rem;
  padding: 3.2rem 0;
  border-top: 5px solid var(--gold);
  background: #102a3d;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-footer__brand {
  font:
    700 1.65rem Georgia,
    serif;
  color: #fff;
}
.empty-state {
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(20, 44, 62, 0.06);
}
@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 2.5rem;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__copy > p,
  .hero-search {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__covers {
    min-height: 350px;
  }
  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .site-header__inner {
    min-height: 74px;
  }
  .brand__name {
    font-size: 1.65rem;
  }
  .brand__logo {
    width: min(62vw, 300px);
  }
  .hero__inner {
    padding-top: 4.5rem;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }
  .hero__covers {
    min-height: 285px;
  }
  .hero__covers span {
    width: 135px;
    border-width: 4px;
  }
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .book-card {
    padding: 6px 6px 14px;
  }
  .book-card__copy h2 {
    font-size: 1.1rem;
  }
  .book-hero__cover:before {
    display: none;
  }
  .editions {
    padding: 1.2rem;
  }
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 430px) {
  .hero__covers span {
    width: 112px;
  }
  .hero__covers {
    min-height: 245px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 430px) {
  .book-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .book-card__copy h2 {
    font-size: 1rem;
  }
  .book-card__author,
  .book-card__format {
    font-size: 0.72rem;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .book-page {
    width: min(100% - 1.25rem, 1200px);
  }
}

/* Gestaltung 0.4 – klar, farbig und katalogorientiert */
:root {
  --ink: #111827;
  --teal: #3157ff;
  --paper: #f8f9ff;
  --gold: #ff6b4a;
  --white: #fff;
  --muted: #667085;
  --line: #dfe3f1;
  --shadow: 0 24px 70px rgba(36, 45, 92, 0.16);
  --radius: 22px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1,
h2,
h3,
.site-footer__brand {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.045em;
}
.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(17, 24, 39, 0.08);
}
.brand__name {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  letter-spacing: -0.055em;
}
.primary-nav > ul > li {
  position: relative;
}
.primary-nav .sub-menu {
  display: none;
  position: absolute;
  left: -1rem;
  top: calc(100% + 0.7rem);
  min-width: 245px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  display: grid;
  gap: 0.15rem;
}
.primary-nav .sub-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  white-space: nowrap;
}
.primary-nav .sub-menu a:hover {
  background: #f0f3ff;
}
.hero {
  min-height: 680px;
  background:
    radial-gradient(circle at 82% 18%, rgba(184, 245, 209, 0.45), transparent 24rem),
    radial-gradient(circle at 65% 95%, rgba(255, 217, 82, 0.32), transparent 26rem),
    linear-gradient(130deg, #182052 0%, #3157ff 55%, #7b4dff 100%);
}
.hero:before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
}
.hero:after {
  background: #ff6b4a;
  filter: blur(2px);
  opacity: 0.22;
}
.hero h1 {
  font-weight: 900;
  letter-spacing: -0.065em;
}
.hero-search button,
.button,
.catalog-filters button {
  background: #111827;
}
.eyebrow {
  color: var(--gold);
}
.book-card {
  border-radius: 20px;
}
.book-card:hover {
  background: #fff;
  border-color: rgba(49, 87, 255, 0.15);
}
.book-card__copy h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 820;
  letter-spacing: -0.035em;
}
.book-card__format {
  background: #eef1ff;
}
.discovery-strip {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #111827;
  color: #fff;
}
.section-heading--light {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.gateway-card {
  display: flex;
  min-height: 210px;
  padding: 1.35rem;
  border-radius: 22px;
  color: #111827;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gateway-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
}
.gateway-card span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.gateway-card strong {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
}
.gateway-card--coral { background: #ff8a70; }
.gateway-card--blue { background: #91a8ff; }
.gateway-card--mint { background: #b8f5d1; }
.gateway-card--yellow { background: #ffdc68; }
.series-preview {
  padding-bottom: 0;
}
.series-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.series-chips a {
  display: grid;
  gap: 0.25rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.series-chips a:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
}
.series-chips strong {
  font-size: 1.05rem;
}
.series-chips span {
  color: var(--muted);
  font-size: 0.8rem;
}
.discovery-page {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.discovery-header {
  max-width: 900px;
  margin-bottom: 3rem;
}
.discovery-header h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
}
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.discovery-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 110px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.discovery-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}
.discovery-card__mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eef1ff;
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 900;
}
.discovery-card__copy {
  display: grid;
  gap: 0.2rem;
}
.discovery-card__copy small {
  color: var(--muted);
}
.discovery-card__arrow {
  font-size: 1.4rem;
}
.archive-header {
  border-left-color: var(--gold);
}
.site-footer {
  border-top-color: var(--teal);
  background: #111827;
}
@media (max-width: 980px) {
  .gateway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .primary-nav .sub-menu {
    display: grid;
    position: static;
    min-width: 0;
    margin: 0.2rem 0 0.5rem 0.8rem;
    padding: 0 0 0 0.6rem;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .primary-nav .sub-menu a { white-space: normal; }
  .gateway-card { min-height: 155px; }
  .discovery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .gateway-grid,
  .series-chips { grid-template-columns: 1fr; }
}

/* Gestaltung 0.4.3 – weichere Flächen und mehr räumliche Tiefe */
body {
  background:
    radial-gradient(circle at 5% 24%, rgba(145, 168, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 96% 66%, rgba(184, 245, 209, 0.25), transparent 30rem),
    #f4f6ff;
}
.series-preview,
.featured-section {
  width: min(1280px, calc(100% - 2rem));
  margin-top: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid rgba(49, 87, 255, 0.1);
  border-radius: 36px;
  overflow: hidden;
}
.series-preview {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 107, 74, 0.18), transparent 22rem),
    linear-gradient(135deg, #eef1ff 0%, #f7efff 100%);
}
.featured-section {
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 0% 100%, rgba(49, 87, 255, 0.13), transparent 28rem),
    linear-gradient(135deg, #edfbf4 0%, #f6fbff 55%, #fff6e4 100%);
}
.series-preview .section-heading,
.featured-section .section-heading {
  border-bottom-color: rgba(17, 24, 39, 0.12);
}
.series-chips a {
  box-shadow: 0 10px 30px rgba(36, 45, 92, 0.07);
}
.featured-section .book-card:hover {
  box-shadow: 0 16px 38px rgba(36, 45, 92, 0.1);
}
.discovery-page,
.archive-layout,
.book-page,
.page-content {
  position: relative;
}
.discovery-page:before,
.archive-layout:before,
.book-page:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 1rem;
  right: -6vw;
  width: min(34rem, 52vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(145, 168, 255, 0.16);
  filter: blur(2px);
}
@media (max-width: 720px) {
  .series-preview,
  .featured-section {
    width: min(100% - 1rem, 1280px);
    border-radius: 24px;
  }
}
