*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #1c1c1c;
  --ink-mid:   #6b6b6b;
  --ink-light: #b0b0b0;
  --rule:      #e4e4e4;
  --bg:        #ffffff;
  --serif:     'DM Serif Display', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
  --max:       1060px;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 2rem; width: 100%; }

/* ── HEADER ── */
header {
  border-bottom: 1px solid var(--rule);
  padding: 1.75rem 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.header-inner { display: flex; align-items: baseline; justify-content: space-between; }

.site-name { font-size: 1.35rem; line-height: 1; letter-spacing: -0.3px; }
.site-name .part-light { font-family: var(--serif); font-style: italic; font-weight: 400; }
.site-name .part-heavy { font-family: var(--serif); font-style: normal; font-weight: 400; }

.header-ig {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--ink-light);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.header-ig:hover { color: var(--ink); }
.header-ig svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── HERO SLIDER ── */
.hero { border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.slide-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
}

.slide-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
}

.slide-author {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
}

.slide-stars { display: flex; gap: 4px; margin-bottom: 1.5rem; }

.slide-excerpt {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-mid);
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 2rem;
}

.slide-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.2s;
  display: inline-block;
}
.slide-link:hover { opacity: 0.45; }

.slide-right { display: flex; align-items: center; justify-content: center; }

.book-cover {
  width: 200px;
  height: 290px;
  background: var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 6px 6px 0 0 var(--rule);
  overflow: hidden;
}

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

.book-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-light);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
.book-cover-placeholder svg { width: 32px; height: 32px; stroke: var(--ink-light); }

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.slider-dots { display: flex; gap: 8px; }

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: var(--ink); }

.slider-btn {
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  transition: border-color 0.2s, color 0.2s;
}
.slider-btn:hover { border-color: var(--ink); color: var(--ink); }
.slider-btn svg { width: 14px; height: 14px; }

/* ── STARS ── */
.star, .star-sm {
  display: inline-block;
  background: var(--ink);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.star        { width: 13px; height: 13px; }
.star.empty  { background: var(--rule); }
.star-sm        { width: 10px; height: 10px; }
.star-sm.empty  { background: var(--rule); }

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2.5rem 0 1.25rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2rem;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── BOOK GRID ── */
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 5rem;
}

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

.book-card-thumb-link { display: block; }

.book-card-thumb {
  width: 100%;
  aspect-ratio: 2/3;
  background: var(--rule);
  margin-bottom: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.book-card:hover .book-card-thumb img { opacity: 0.85; }

.thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--ink-light);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.thumb-placeholder svg { width: 28px; height: 28px; stroke: var(--ink-light); }

.book-card-author {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-mid);
  margin-bottom: 0.25rem;
}

.book-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.25;
  padding-bottom: 1rem;
  transition: opacity 0.2s;
}
.book-card-title:hover { opacity: 0.6; }

.book-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

.card-stars { display: flex; gap: 3px; }
.card-date { font-size: 0.65rem; color: var(--ink-light); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--rule); padding: 1.5rem 0; margin-top: auto; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.7rem;
  color: var(--ink-light);
}

.footer-inner a { color: var(--ink-light); transition: color 0.2s; }
.footer-inner a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 1.25rem; }

/* ── STATIC PAGES (Impressum, Datenschutz) ── */
.static-page {
  max-width: 640px;
  padding: 3.5rem 0 5rem;
}

.static-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 3rem;
}

.static-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.static-section:last-child { border-bottom: none; }

.static-section h2 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1rem;
}

.static-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 0.75rem;
}

.static-section p:last-child { margin-bottom: 0; }

.static-section a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  transition: text-decoration-color 0.2s;
}

.static-section a:hover { text-decoration-color: var(--ink); }

/* ── REVIEW PAGE ── */
.review-hero {
  border-bottom: 1px solid var(--rule);
  padding: 3.5rem 0;
}

.review-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}

.back-link {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1.75rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--ink); }

.review-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.4px;
  margin-bottom: 0.5rem;
}

.review-author {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
}

.review-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.review-stars { display: flex; gap: 4px; }

.review-date {
  font-size: 0.72rem;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

.review-hero-cover {
  width: 160px;
  flex-shrink: 0;
}

.review-hero-cover img {
  width: 100%;
  display: block;
  box-shadow: 5px 5px 0 0 var(--rule);
}

/* ── BODY TEXT ── */
.review-body {
  max-width: 640px;
  padding: 3.5rem 0 4rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.review-body p {
  margin-bottom: 1.4em;
}

.review-body p:last-child {
  margin-bottom: 0;
}

.review-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  transition: text-decoration-color 0.2s;
}

.review-body a:hover {
  text-decoration-color: var(--ink);
}

.review-body em {
  font-style: italic;
}

.review-body strong {
  font-weight: 500;
}

/* ── PREV / NEXT NAV ── */
.review-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.review-nav-next { text-align: right; }

.review-nav-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.4rem;
}

.review-nav-title {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
  transition: opacity 0.2s;
}

.review-nav-title:hover { opacity: 0.55; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .slide { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 4rem; }
  .slide-right { display: none; }
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .review-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .review-hero-cover { width: 120px; }
  .review-nav { grid-template-columns: 1fr; gap: 1.5rem; }
  .review-nav-next { text-align: left; }
}

@media (max-width: 500px) {
  .wrap { padding: 0 1.25rem; }
  .slide-title { font-size: 1.8rem; }
  .book-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .slider-track { transition: none; }
  * { transition: none !important; }
}