:root{
  --bg: #f8f8f6;
  --text: #1f1f1f;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --max: 920px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Courier New", Courier, monospace;
  line-height: 1.65;
}

a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover{
  text-decoration-thickness: 2px;
}

.site-header{
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-brand{
  text-decoration: none;
  font-weight: 700;
}

.site-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-nav a{
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover{
  border-bottom-color: var(--text);
}

.site-main{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 18px 48px;
}

.page h1{
  margin: 30px 0 12px 0;
  font-size: 26px;
  line-height: 1.25;
}

.page h2{
  margin: 22px 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.lead{
  color: var(--muted);
  margin: 0 0 18px;
}

.hr{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}

.meta{
  color: var(--muted);
  margin: 0 0 14px;
}

.small{
  color: var(--muted);
  font-size: 0.95em;
}

.site-footer{
  border-top: 1px solid var(--line);
}
.site-footer__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 18px;
  color: var(--muted);
}

.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.8rem;
}

.footer-nav a {
  color: inherit;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: #666;
}

/* Was bleibt */
.wb-list{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.wb-item{
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.wb-item:last-child{
  border-bottom: 0;
}

.wb-title{
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--text);
}
.wb-title:hover{
  border-bottom-width: 2px;
}

.wb-bookline{
  margin: 8px 0 0;
  color: var(--muted);
}

.wb-short{
  margin: 30px 0 14px 0;
}

.wb-related__soon span{
  opacity: .55;
}
.wb-related__soon{
  cursor: default;
}

.wb-related {
  margin-top: 40px;
}

.backlink{
  display: inline-block;
  margin: 0 0 14px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.backlink:hover{
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Books */
.book-grid{
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.book-card{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start; /* explizit */
}

.book-card:last-child{
  border-bottom: 0;
}

.book-cover{
  display: block;
  text-decoration: none;
}

.book-cover img{
  display: block;
  width: 100%;
  height: auto;
}

.book-body{
  min-width: 0;
}

.book-title{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.book-title a{
  text-decoration: none;
  border-bottom: 1px solid var(--text);
}

.book-title a:hover{
  border-bottom-width: 2px;
}

.book-meta{
  margin: 8px 0 0;
  color: var(--muted);
}

.book-text{
  margin: 12px 0 0;
}

.book-links{
  margin: 12px 0 0;
  color: var(--muted);
}

.book-link{
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.book-link:hover{
  border-bottom-color: var(--text);
  color: var(--text);
}

.book-links .sep{
  margin: 0 8px;
}

/* Responsive */
@media (max-width: 640px){
  .book-card{
    grid-template-columns: 1fr;
  }

  .book-cover{
    width: 180px;
  }
}

.about-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-image img {
  max-width: 240px;
  height: auto;
  border-radius: 4px;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.about-image img:hover {
  filter: grayscale(0%);
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text p {
  margin-bottom: 1.2rem;
}

.home-hub{
  margin-top: 18px;
}

.home-hub__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.home-hub__card{
  display: block;
  text-decoration: none;
  padding: 14px;
  border: 1px solid var(--line);
}

.home-hub__card:hover{
  border-color: var(--text);
}

.home-hub__title{
  font-weight: 700;
}

.home-hub__text{
  margin-top: 8px;
  color: var(--muted);
}

.home-hub__cta{
  margin-top: 10px;
  text-decoration: underline;
}

@media (max-width: 840px){
  .home-hub__grid{
    grid-template-columns: 1fr;
  }
}

/* Breadcrumb */

.breadcrumb{
  margin: 16px 0 40px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb__item::after{
  content: "/";
  margin-left: 6px;
  color: var(--text);
}

.breadcrumb__item:last-child::after{
  content: "";
}

.breadcrumb__item a{
  text-decoration: none;
  color: var(--muted);
}

.breadcrumb__item a:hover{
  color: var(--text);
  text-decoration: underline;
}

.breadcrumb__item--current{
  color: var(--text);
}