/* Light up Reader – Aquarell Revision 2 */

:root {
  --ink: #061116;
  --text: #f7f6ee;
  --line: rgba(255,255,255,.24);
  --gold: #ead47d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  background: #063747;
}

.lake-art {
  position: absolute;
  inset: 0;
  background-image: url("bergsee-aquarell.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.02) contrast(.98);
}

.water-tint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 51%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 55% 10%, rgba(255,255,255,.12), transparent 27%),
    linear-gradient(to bottom, rgba(86,169,183,.04), rgba(18,109,129,.20) 45%, rgba(6,55,71,.34));
  mix-blend-mode: multiply;
}

.water-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.76) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(234,212,125,.45) 0 1px, transparent 2px);
  background-size: 120px 52px, 190px 68px;
  animation: glimmer 9s ease-in-out infinite alternate;
}

@keyframes glimmer {
  from { transform: translateX(-34px) translateY(3px); }
  to   { transform: translateX(44px) translateY(-3px); }
}

.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 0 63%, rgba(0,0,0,.10) 88%, rgba(0,0,0,.24) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0 72%, rgba(0,0,0,.18) 100%);
}

/* Schlafende Katze als freigestelltes PNG, ohne rechteckigen Hintergrund */
.akira-cutout {
  position: absolute;
  z-index: 4;
  left: clamp(70px, 8.5vw, 130px);
  bottom: clamp(205px, 23vh, 285px);
  width: clamp(245px, 27vw, 390px);
  height: auto;
  overflow: visible;
  margin: 0;
  filter: drop-shadow(0 16px 16px rgba(0,0,0,.38));
}

.akira-cutout img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(.98) contrast(1.04) brightness(.98);
}

.opening-text {
  position: absolute;
  z-index: 5;
  left: clamp(480px, 47vw, 760px);
  bottom: clamp(92px, 13vh, 160px);
  width: min(560px, 45vw);
  padding: 1.25rem 1.45rem;
  border: 1px solid var(--line);
  background: rgba(4, 18, 24, .28);
  backdrop-filter: blur(5px);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}

.opening-text p {
  margin: .35rem 0;
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  line-height: 1.38;
  text-shadow: 0 3px 12px rgba(0,0,0,.45);
}

.line {
  opacity: 0;
  transform: translateY(8px);
  animation: reveal .9s ease forwards;
}

.line-1 { animation-delay: 1.0s; }
.line-2 { animation-delay: 2.7s; }
.line-3 { animation-delay: 4.4s; }
.line-4 { animation-delay: 5.9s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.enter {
  display: inline-block;
  margin-top: 1rem;
  padding: .8rem 1.05rem;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.60);
  text-decoration: none;
  background: rgba(0,0,0,.12);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.enter:hover { background: rgba(255,255,255,.13); }

.journey {
  min-height: 100vh;
  padding: 7rem 7vw;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(86,169,183,.20), transparent 36%),
    linear-gradient(to bottom, #061116, #0a1f28);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
}

.journey h1 {
  max-width: 1000px;
  font-weight: normal;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
}

@media (max-width: 920px) {
  .hero { min-height: 820px; }

  .akira-cutout {
    left: 7vw;
    bottom: 275px;
    width: 58vw;
    height: auto;
  }

  .opening-text {
    left: 6vw;
    right: 6vw;
    bottom: 88px;
    width: auto;
  }

  .opening-text p { font-size: 1.25rem; }
}


/* Erweiterung: Inhaltsarchitektur */

.journey-inner,
.map-inner,
.pilot-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.lead {
  max-width: 780px;
  color: rgba(247,246,238,.82);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2.2rem;
}

.section-nav a {
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.055);
  padding: .7rem .9rem;
}

.section-nav a:hover {
  background: rgba(255,255,255,.14);
}

.content-map,
.pilot {
  padding: 6.5rem 7vw;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(86,169,183,.14), transparent 34%),
    linear-gradient(to bottom, #081923, #061116);
  border-top: 1px solid rgba(255,255,255,.08);
}

.content-map.deep {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(86,169,183,.20), transparent 34%),
    linear-gradient(to bottom, #07141c, #0a2430);
}

.content-map h2,
.pilot h2 {
  font-weight: normal;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: .2rem 0 1rem;
}

.content-map p,
.pilot p {
  max-width: 760px;
  color: rgba(247,246,238,.82);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
}

.tag-grid span {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.055);
  padding: .65rem .85rem;
  color: rgba(247,246,238,.92);
}

.pilot {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(234,212,125,.10), transparent 34%),
    linear-gradient(to bottom, #081923, #040b0f);
}

.article-list {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: article;
  display: grid;
  gap: .9rem;
}

.article-list li {
  counter-increment: article;
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.045);
}

.article-list li::before {
  content: counter(article, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .08em;
}

.article-list strong {
  display: block;
  font-weight: normal;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.3;
}

.article-list span {
  display: block;
  margin-top: .35rem;
  color: rgba(247,246,238,.66);
  font-size: .95rem;
}

@media (max-width: 720px) {
  .content-map,
  .pilot,
  .journey {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .article-list li {
    padding-left: 3.5rem;
  }
}


/* Integrierte Textstruktur */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
}

.article-card {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
  overflow: hidden;
  min-height: 100%;
}

.article-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.article-card-image {
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.article-card:hover img { transform: scale(1.035); }

.article-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at center, rgba(234,212,125,.16), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  color: rgba(247,246,238,.72);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
}

.article-card-body {
  padding: 1.2rem 1.15rem 1.35rem;
}

.article-card h3 {
  margin: .2rem 0 .55rem;
  font-weight: normal;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.16;
}

.article-card p {
  font-size: 1rem;
  line-height: 1.48;
  color: rgba(247,246,238,.78);
}

.card-subtitle {
  color: rgba(234,212,125,.82) !important;
  margin: -.1rem 0 .8rem;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: 1rem;
}

.mini-tags span {
  border: 1px solid rgba(255,255,255,.18);
  padding: .34rem .5rem;
  font-size: .78rem;
  color: rgba(247,246,238,.72);
  background: rgba(255,255,255,.04);
}

.texts-intro {
  padding: 7rem 7vw 4rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(234,212,125,.10), transparent 34%),
    linear-gradient(to bottom, #061116, #040b0f);
  border-top: 1px solid rgba(255,255,255,.08);
}

.texts-intro h2 {
  font-weight: normal;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: .2rem 0 1rem;
}

.essay {
  padding: 4.5rem 7vw 6.5rem;
  background: linear-gradient(to bottom, #040b0f, #061116);
  border-top: 1px solid rgba(255,255,255,.08);
}

.essay:nth-of-type(even) {
  background: linear-gradient(to bottom, #07141c, #061116);
}

.essay-inner {
  max-width: 980px;
  margin: 0 auto;
}

.essay-header h2 {
  margin: .2rem 0 .8rem;
  font-weight: normal;
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  line-height: 1.06;
}

.article-subtitle {
  max-width: 760px;
  color: rgba(234,212,125,.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.48;
}

.article-hero-image {
  margin: 2.4rem 0 2.2rem;
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0,0,0,.28);
}

.article-hero-image img {
  width: 100%;
  display: block;
}

.essay-text {
  max-width: 760px;
  margin: 0 auto;
}

.essay-text p {
  color: rgba(247,246,238,.88);
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  line-height: 1.72;
  margin: 0 0 1.05rem;
}

.back-link {
  display: inline-block;
  margin-top: 2.4rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(234,212,125,.48);
}

.back-link:hover { border-bottom-color: var(--gold); }

@media (max-width: 720px) {
  .article-grid { grid-template-columns: 1fr; }
  .essay, .texts-intro { padding-left: 6vw; padding-right: 6vw; }
}




/* Briefe an den Leuchtturm */
.letters-section {
  padding: 6.5rem 7vw;
  background:
    radial-gradient(ellipse at 75% 18%, rgba(234,212,125,.10), transparent 34%),
    radial-gradient(ellipse at 20% 0%, rgba(86,169,183,.14), transparent 36%),
    linear-gradient(to bottom, #040b0f, #07141c);
  border-top: 1px solid rgba(255,255,255,.08);
}

.letters-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 360px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.letters-copy h2 {
  margin: .2rem 0 1.1rem;
  font-weight: normal;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
}

.letters-copy p {
  max-width: 720px;
  color: rgba(247,246,238,.86);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.68;
}

.letter-link {
  display: inline-block;
  margin-top: 1.2rem;
  padding: .78rem 1rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.055);
}

.letter-link:hover { background: rgba(255,255,255,.13); }

.letters-lighthouse {
  margin: 0;
  justify-self: center;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.36));
}

.letters-lighthouse img {
  display: block;
  width: min(330px, 100%);
  height: auto;
}

@media (max-width: 820px) {
  .letters-inner { grid-template-columns: 1fr; }
  .letters-lighthouse { justify-self: start; max-width: 280px; }
}


/* Tauchgang und Rechtliches */
.tauchgang-essay {
  padding-top: 4.5rem;
}

.legal-section {
  padding: 5.5rem 7vw;
  background: linear-gradient(to bottom, #061116, #040b0f);
  border-top: 1px solid rgba(255,255,255,.08);
}

.legal-section.deep {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(86,169,183,.16), transparent 34%),
    linear-gradient(to bottom, #07141c, #061116);
}

.legal-inner {
  max-width: 860px;
  margin: 0 auto;
}

.legal-inner h2 {
  margin: .2rem 0 1.4rem;
  font-weight: normal;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
}

.legal-inner h3 {
  margin: 2rem 0 .7rem;
  font-weight: normal;
  color: var(--gold);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.legal-inner p {
  color: rgba(247,246,238,.86);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.68;
}

.legal-inner a {
  color: var(--gold);
}

.article-card-link { cursor: pointer; }


/* Mappa Cognitionis: Die Reise beginnt */
.journey-orientation.mappa-section {
  margin-top: 3.8rem;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  border: 1px solid rgba(234,212,125,.22);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(234,212,125,.11), transparent 36%),
    radial-gradient(ellipse at 88% 28%, rgba(86,169,183,.12), transparent 44%),
    rgba(255,255,255,.026);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.mappa-copy {
  max-width: 940px;
  margin: 0 0 1.15rem;
}

.mappa-copy h2 {
  margin: .2rem 0 .65rem;
  font-weight: normal;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.mappa-copy p:not(.eyebrow) {
  max-width: 840px;
  color: rgba(247,246,238,.78);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.62;
}

.mappa-wrap {
  position: relative;
  margin: 1.35rem 0 0;
  border: 1px solid rgba(234,212,125,.24);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  overflow: hidden;
  background: #21170d;
}

.mappa-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.mappa-hotspot {
  position: absolute;
  width: clamp(2.2rem, 5vw, 4rem);
  height: clamp(2.2rem, 5vw, 4rem);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(120, 18, 12, .01);
  outline: none;
  z-index: 3;
}

.mappa-hotspot:hover,
.mappa-hotspot:focus-visible {
  background: rgba(141, 32, 22, .16);
  box-shadow: 0 0 0 2px rgba(255,232,142,.65), 0 0 22px rgba(153, 34, 22, .45);
}

.mappa-marker {
  position: absolute;
  width: clamp(1rem, 2.2vw, 1.55rem);
  height: clamp(1rem, 2.2vw, 1.55rem);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #9b2218;
  border: 2px solid rgba(255, 224, 124, .95);
  box-shadow: 0 0 0 4px rgba(82,14,10,.28), 0 0 24px rgba(255,219,108,.55);
  pointer-events: none;
  z-index: 4;
  transition: left .45s ease, top .45s ease;
}

@media (max-width: 720px) {
  .journey-orientation.mappa-section { padding: .9rem; }
  .mappa-copy p:not(.eyebrow) { font-size: .98rem; }
}


/* Separate category pages */
.category-page {
  min-height: auto;
  padding: 72px 0 36px;
  background: radial-gradient(circle at 50% 10%, rgba(231, 202, 120, 0.10), transparent 36%), linear-gradient(180deg, rgba(2, 21, 25, 0.98), rgba(1, 10, 13, 0.98));
}
.category-header { display: grid; gap: 20px; }
.category-cat {
  margin: 14px 0 0; padding: 18px;
  border: 1px solid rgba(236, 218, 154, 0.22);
  background: rgba(255,255,255,0.025); min-height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.category-cat img { max-width: min(720px, 100%); max-height: 360px; object-fit: contain; }
.backlink { margin: 0 0 1.2rem; font-size: .95rem; }
.backlink a { color: var(--accent, #e7ca78); text-decoration: none; border-bottom: 1px solid currentColor; }
.backlink a:hover { opacity: .82; }

/* Gästebuch im Abschnitt „Briefe an den Leuchtturm“ */
.letter-prompts {
  max-width: 720px;
  margin: 1rem 0 1.25rem;
  padding-left: 1.15rem;
  color: rgba(247,246,238,.84);
  line-height: 1.7;
}

.letter-prompts li { margin: .25rem 0; }

.guestbook-panel {
  max-width: 1040px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}

.guestbook-intro h3,
.guestbook-entries h3 {
  margin: .2rem 0 1rem;
  font-family: var(--serif);
  font-weight: normal;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.guestbook-intro p,
.form-note,
.guestbook-entry p {
  color: rgba(247,246,238,.82);
  line-height: 1.65;
}

.guestbook-form {
  display: grid;
  gap: .8rem;
}

.guestbook-form label {
  color: rgba(247,246,238,.9);
  font-size: .95rem;
  letter-spacing: .03em;
}

.guestbook-form label span {
  color: rgba(247,246,238,.56);
  font-size: .85rem;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(4,11,15,.58);
  color: var(--text);
  padding: .85rem .95rem;
  font: inherit;
  outline: none;
}

.guestbook-form textarea { resize: vertical; }

.guestbook-form input::placeholder,
.guestbook-form textarea::placeholder { color: rgba(247,246,238,.45); }

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  border-color: rgba(234,212,125,.62);
  box-shadow: 0 0 0 3px rgba(234,212,125,.10);
}

.guestbook-form button {
  justify-self: start;
  margin-top: .35rem;
  padding: .82rem 1.05rem;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.08);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.guestbook-form button:hover { background: rgba(255,255,255,.14); }

.form-note {
  margin: .25rem 0 0;
  font-size: .9rem;
  color: rgba(247,246,238,.62);
}

.guestbook-entries {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.10);
}

.guestbook-entry {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(234,212,125,.55);
  background: rgba(4,11,15,.38);
}

.guestbook-entry .entry-meta {
  margin: 0 0 .45rem;
  color: rgba(234,212,125,.88);
  letter-spacing: .05em;
}

.guestbook-entry p:last-child { margin-bottom: 0; }

@media (max-width: 820px) {
  .guestbook-panel { grid-template-columns: 1fr; }
}


/* Bücher & Empfehlungen */
.category-books {
  background:
    radial-gradient(circle at 16% 8%, rgba(234,212,125,.13), transparent 32%),
    radial-gradient(circle at 84% 0%, rgba(86,169,183,.10), transparent 30%),
    linear-gradient(180deg, rgba(2,21,25,.98), rgba(1,10,13,.98));
}

.bookshop-section {
  padding: 6.5rem 7vw;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(234,212,125,.10), transparent 34%),
    linear-gradient(to bottom, #081923, #061116);
  border-top: 1px solid rgba(255,255,255,.08);
}

.bookshop-section.deep {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(86,169,183,.16), transparent 34%),
    linear-gradient(to bottom, #07141c, #0a2430);
}

.bookshop-section h2 {
  font-weight: normal;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: .2rem 0 1rem;
}

.bookshop-section p,
.bookshop-lead,
.bookshop-note {
  max-width: 780px;
  color: rgba(247,246,238,.82);
  font-size: clamp(1.02rem, 1.7vw, 1.26rem);
  line-height: 1.6;
}

.bookshop-note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(234,212,125,.58);
  background: rgba(4,11,15,.36);
  color: rgba(247,246,238,.76);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-top: 3rem;
}

.book-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  box-shadow: 0 26px 70px rgba(0,0,0,.20);
}

.book-card.featured {
  border-color: rgba(234,212,125,.28);
}

.book-cover {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 1.4rem;
}

.placeholder-cover {
  background:
    radial-gradient(circle at 50% 28%, rgba(234,212,125,.22), transparent 32%),
    linear-gradient(145deg, rgba(74,40,22,.75), rgba(9,23,30,.96));
}

.placeholder-cover.muted {
  background:
    radial-gradient(circle at 50% 28%, rgba(86,169,183,.18), transparent 32%),
    linear-gradient(145deg, rgba(25,48,56,.82), rgba(5,17,23,.96));
}

.placeholder-cover.dark {
  background:
    radial-gradient(circle at 50% 28%, rgba(234,212,125,.14), transparent 32%),
    linear-gradient(145deg, rgba(8,12,18,.92), rgba(38,24,18,.96));
}

.book-cover span {
  max-width: 76%;
  text-align: center;
  font-family: var(--serif);
  color: rgba(247,246,238,.92);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  text-shadow: 0 8px 26px rgba(0,0,0,.44);
}

.book-card-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.book-card h3 {
  margin: .2rem 0 .7rem;
  font-family: var(--serif);
  font-weight: normal;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.book-card p {
  color: rgba(247,246,238,.78);
  line-height: 1.6;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.15rem;
}

.book-button {
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  padding: .72rem .9rem;
  line-height: 1.2;
}

.book-button.primary {
  border-color: rgba(234,212,125,.48);
  background: rgba(234,212,125,.10);
}

.book-button:hover {
  background: rgba(255,255,255,.14);
}

@media (max-width: 920px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-cover { min-height: 210px; }
}


.book-cover.image-cover {
  padding: 0;
  min-height: 260px;
  background: rgba(0,0,0,.22);
  overflow: hidden;
}

.book-cover.image-cover img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.book-card.featured .book-cover.image-cover {
  border-bottom: 1px solid rgba(234,212,125,.22);
}


/* Bibliothek V2 – Lesesaal, Werkregal und Resonanzräume */
.library-hero {
  padding: 7.2rem 7vw 5.2rem;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(234,212,125,.13), transparent 34%),
    radial-gradient(ellipse at 86% 8%, rgba(86,169,183,.12), transparent 34%),
    linear-gradient(180deg, #061116 0%, #08232c 55%, #061116 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.library-hero-inner h1,
.library-books-section h2,
.library-materials-section h2,
.library-recommendations-section h2 {
  margin: .2rem 0 1rem;
  font-weight: normal;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.04;
}

.library-books-section,
.library-materials-section,
.library-recommendations-section {
  padding: 6.2rem 7vw;
  border-top: 1px solid rgba(255,255,255,.08);
}

.library-books-section {
  background:
    radial-gradient(ellipse at 75% 0%, rgba(234,212,125,.10), transparent 32%),
    linear-gradient(to bottom, #081923, #061116);
}

.library-book-shelf {
  display: grid;
  gap: 1.35rem;
  margin-top: 3rem;
}

.library-book-panel {
  display: grid;
  grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
  gap: clamp(1.35rem, 3vw, 2.4rem);
  align-items: stretch;
  border: 1px solid rgba(234,212,125,.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(4,11,15,.45);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
  overflow: hidden;
}

.library-book-cover {
  margin: 0;
  min-height: 265px;
  background: rgba(0,0,0,.24);
  border-right: 1px solid rgba(234,212,125,.14);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.library-book-cover img {
  width: 100%;
  height: 100%;
  min-height: 265px;
  object-fit: cover;
  display: block;
}

.library-book-copy {
  padding: clamp(1.25rem, 3vw, 2.1rem);
  align-self: center;
}

.library-book-copy h3,
.resonance-copy h3,
.shelf-item strong {
  margin: .15rem 0 .75rem;
  font-weight: normal;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.library-book-copy p,
.resonance-copy p,
.shelf-item p {
  color: rgba(247,246,238,.80);
  line-height: 1.62;
}

.library-divider {
  display: grid;
  place-items: center;
  padding: 1.25rem 7vw;
  background: #061116;
  border-top: 1px solid rgba(234,212,125,.10);
  border-bottom: 1px solid rgba(234,212,125,.10);
}

.library-divider span {
  color: rgba(234,212,125,.80);
  letter-spacing: .4em;
}

.library-materials-section {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(86,169,183,.14), transparent 36%),
    linear-gradient(to bottom, #07141c, #0a2430);
}

.library-shelf {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .9rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(234,212,125,.20);
  background:
    linear-gradient(to bottom, rgba(120,75,36,.24), rgba(37,21,13,.24)),
    rgba(255,255,255,.035);
  box-shadow: inset 0 -12px 0 rgba(80,45,22,.28), 0 26px 70px rgba(0,0,0,.20);
}

.shelf-item {
  min-height: 210px;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(234,212,125,.11), transparent 45%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
}

.shelf-item span {
  color: rgba(234,212,125,.82);
  font-size: .78rem;
  letter-spacing: .14em;
  margin-bottom: auto;
}

.shelf-item strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.shelf-item p {
  margin: .4rem 0 0;
  font-size: .95rem;
}

.library-recommendations-section {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(234,212,125,.10), transparent 35%),
    linear-gradient(to bottom, #081923, #040b0f);
}

.resonance-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 3rem;
}

.resonance-card {
  display: grid;
  grid-template-columns: minmax(280px, 45%) minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
  box-shadow: 0 26px 70px rgba(0,0,0,.20);
  overflow: hidden;
}

.resonance-banner {
  margin: 0;
  min-height: 220px;
  background: rgba(0,0,0,.22);
  overflow: hidden;
  border-right: 1px solid rgba(234,212,125,.14);
}

.resonance-banner img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.resonance-copy {
  padding: clamp(1.25rem, 3vw, 2rem);
  align-self: center;
}

@media (max-width: 920px) {
  .library-book-panel,
  .resonance-card {
    grid-template-columns: 1fr;
  }

  .library-book-cover,
  .resonance-banner {
    border-right: 0;
    border-bottom: 1px solid rgba(234,212,125,.14);
  }

  .library-shelf {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .library-books-section,
  .library-materials-section,
  .library-recommendations-section,
  .library-hero {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .library-shelf {
    grid-template-columns: 1fr;
  }

  .library-book-cover img,
  .resonance-banner img {
    min-height: 210px;
  }
}
