/* Ausschließlich die beiden Themenkarten der separaten Vergleichsfassung. */
.library-topic {
  min-width: 0;
  padding: 32px;
  border-color: #c6d2b8;
  background: radial-gradient(ellipse at 100% 0%, #e7efd4 0%, transparent 65%), linear-gradient(150deg, #fff 28%, #f3f6ec 100%);
  transition: transform .22s ease-out, border-color .22s ease-out;
}
.library-topic .topic-tab {
  margin-bottom: 22px;
  color: #59634f;
  font-size: 13px;
  align-items: center;
}
.library-topic .topic-tab > span:last-child {
  position: absolute;
  top: -15px;
  right: 28px;
  margin: 0;
  border-color: #c6d2b8;
  background: linear-gradient(120deg, #f3f7e9, #dce7c8);
  padding: 6px 19px;
  color: #405331;
}
.topic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
body[data-page="wissen"] .library-topic h3 {
  color: #35432d;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -.025em;
  max-width: 22ch;
  overflow-wrap: anywhere;
}
.topic-emblem {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 17px;
  border: 1px solid #bbc99f;
  background: linear-gradient(140deg, #fff 5%, #e8f0d3 50%, #c5d89d);
  box-shadow: inset 0 0 0 3px #ffffff70;
  color: #536a39;
}
.knowledge .topic-emblem svg {
  width: 39px;
  height: 39px;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.library-topic ul {
  margin: 24px 0 28px;
  padding-left: 18px;
  color: #4c5b40;
  font-size: 16px;
  line-height: 1.9;
}
.library-topic li::marker { color: #78944f; font-size: .8em; }
.library-topic .text-action {
  border-top: 1px solid #cdd8c0;
  padding-top: 20px;
  color: #35432d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.topic-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #465238;
  color: #fff;
  transition: background .2s ease-out;
}
.knowledge .topic-arrow svg { width: 21px; height: 21px; }
.library-topic:hover, .library-topic:focus-visible {
  background: radial-gradient(ellipse at 100% 0%, #e2eccb 0%, transparent 65%), linear-gradient(150deg, #fff 28%, #edf3e2 100%);
  border-color: #91a774;
  transform: translateY(-3px);
}
.library-topic:hover .topic-arrow, .library-topic:focus-visible .topic-arrow { background: #304526; }
.library-topic:focus-visible { outline: 3px solid #526b32; outline-offset: 5px; }
.library-topic:active { transform: translateY(0); }
@media (max-width: 1100px) {
  .library-topic { padding: 27px; }
  .topic-heading { gap: 16px; }
  body[data-page="wissen"] .library-topic h3 { font-size: 28px; }
  .topic-emblem { width: 52px; height: 52px; flex-basis: 52px; border-radius: 14px; }
  .knowledge .topic-emblem svg { width: 33px; height: 33px; }
}
@media (max-width: 650px) {
  .library-topic { padding: 24px; }
  .library-topic .topic-tab > span:last-child { right: 22px; }
  body[data-page="wissen"] .library-topic h3 { font-size: 27px; }
  .topic-heading { align-items: flex-start; gap: 12px; }
  .topic-heading { display: block; }
  .library-topic .topic-tab { min-height: 36px; margin-bottom: 18px; padding-right: 48px; }
  .topic-emblem { position: absolute; top: 25px; right: 24px; width: 36px; height: 36px; border-radius: 10px; }
  .knowledge .topic-emblem svg { width: 29px; height: 29px; }
  .library-topic ul { font-size: 15px; line-height: 1.85; margin: 23px 0 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .library-topic, .topic-arrow { transition: none; }
  .library-topic:hover, .library-topic:focus-visible { transform: none; }
}
