/* ==========================================================================
   twenty seconds – Buch-Detailseite
   ========================================================================== */

/* ── Hero ── */
.book-hero {
  padding-top: calc(72px + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.book-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(109, 58, 199, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(109, 58, 199, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.book-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.book-hero-cover {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-hero-cover img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.book-hero-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.book-hero-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-violet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.book-hero-title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  color: var(--color-dark);
}

.book-hero-author {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  font-weight: var(--fw-medium);
}

.book-hero-cta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}


/* ── Breadcrumb ── */
.book-back-link {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: color var(--duration-fast) var(--ease-out);
}

.book-back-link:hover {
  color: var(--color-violet);
}


/* ── Content Sections ── */
.book-section {
  padding: var(--space-section) 0;
}

.book-section:nth-child(even) {
  background: var(--color-surface);
}

.book-section-inner {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.book-section-inner h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-lg);
  line-height: var(--lh-snug);
}

.book-section-inner h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-md);
  margin-top: var(--space-2xl);
}

.book-section-inner p {
  font-size: var(--fs-body);
  color: var(--color-text);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
}

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


/* ── Blockquote / Zitat ── */
.book-quote {
  border-left: 4px solid var(--color-violet);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-2xl) 0;
  background: var(--color-violet-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--fs-body-lg);
  font-style: italic;
  color: var(--color-dark);
  line-height: var(--lh-body);
}


/* ── Invitation List ── */
.book-invitation {
  margin: var(--space-xl) 0;
}

.book-invitation p {
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  position: relative;
}

.book-invitation p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-violet);
}


/* ── Author Section ── */
.book-author-section {
  background: var(--color-white);
}

.book-author-inner {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.book-author-tagline {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-violet);
  margin-bottom: var(--space-md);
  font-style: italic;
}


/* ── CTA Section ── */
.book-cta-section {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
}

.book-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 50%, rgba(109, 58, 199, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.book-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.book-cta-cover {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cta-cover img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.book-cta-text h2 {
  color: var(--color-white);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.book-cta-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  margin-bottom: var(--space-xl);
}

.book-cta-text .btn {
  display: inline-flex;
}

.book-cta-section .btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 1.5rem;
}

.book-cta-section .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}


/* ── Author Website Link ── */
.book-author-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-violet);
  text-decoration: none;
  margin-top: var(--space-lg);
  transition: color var(--duration-fast) var(--ease-out);
}

.book-author-link:hover {
  color: var(--color-violet-dark);
}


/* ── Responsive ── */
@media (max-width: 768px) {
  .book-hero {
    padding-top: calc(72px + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .book-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .book-hero-cover {
    max-width: 220px;
    margin: 0 auto;
  }

  .book-hero-cta {
    justify-content: center;
  }

  .book-hero-title {
    font-size: var(--fs-h2);
  }

  .book-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-cta-cover {
    max-width: 180px;
    margin: 0 auto;
  }

  .book-invitation p {
    font-size: var(--fs-body);
  }
}
