@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --navy:       #1C2B3A;
  --navy-dark:  #0D1829;
  --orange:     #C05621;
  --slate:      #8899AA;
  --cream:      #F0EFED;
  --sand:       #E0DDD9;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Source Sans 3', Helvetica Neue, sans-serif;

  --max-width: 1100px;
  --section-pad: clamp(64px, 10vw, 120px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--navy-dark);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-align: center;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
}
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(240,239,237,0.35);
}
.btn-secondary:hover { border-color: var(--cream); }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: linear-gradient(to bottom, rgba(13,24,41,0.95) 0%, transparent 100%);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.75; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(192,86,33,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 12px;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.4;
}
.hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(240,239,237,0.75);
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-book {
  display: flex;
  justify-content: center;
  align-items: center;
}
.book-cover-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
}
.book-cover-placeholder {
  aspect-ratio: 2/3;
  background: var(--navy);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: -8px 12px 60px rgba(0,0,0,0.7), -2px 2px 0 rgba(0,0,0,0.3);
  border-left: 6px solid rgba(192,86,33,0.4);
  padding: 40px 24px;
  text-align: center;
}
.book-cover-placeholder .book-title-preview {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--cream);
  line-height: 1.2;
}
.book-cover-placeholder .book-subtitle-preview {
  font-size: 0.75rem;
  color: var(--slate);
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.book-cover-placeholder .book-author-preview {
  font-size: 0.8rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}
.book-cover-img {
  border-radius: 3px;
  box-shadow: -8px 12px 60px rgba(0,0,0,0.7), -2px 2px 0 rgba(0,0,0,0.3);
  width: 100%;
}

/* ── Nutzen-Punkte ── */
.benefits {
  padding: var(--section-pad) 0;
  background: var(--navy);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.benefit-item {
  padding: 36px 28px;
  border-top: 2px solid var(--orange);
}
.benefit-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: rgba(192,86,33,0.25);
  line-height: 1;
  margin-bottom: 16px;
}
.benefit-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 12px;
}
.benefit-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(240,239,237,0.65);
}

/* ── Buchbeschreibung ── */
.beschreibung {
  padding: var(--section-pad) 0;
  background: var(--navy-dark);
}
.beschreibung-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.2;
}
.klappentext {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(240,239,237,0.75);
  text-align: left;
}
.klappentext p + p { margin-top: 1.2em; }

/* ── Autor ── */
.autor {
  padding: var(--section-pad) 0;
  background: var(--navy);
}
.autor-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.autor-foto-wrap { position: relative; }
.autor-foto {
  width: 100%;
  border-radius: 2px;
  filter: grayscale(100%);
}
.autor-foto-placeholder {
  aspect-ratio: 3/4;
  background: var(--navy-dark);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 0.85rem;
}
.autor-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cream);
  margin-bottom: 6px;
}
.autor-titel {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.autor-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240,239,237,0.72);
  margin-bottom: 28px;
}
.autor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--orange);
  transition: gap 0.2s;
}
.autor-link:hover { gap: 14px; }
.autor-link::after { content: '→'; }

/* ── Bonus-Teaser ── */
.bonus-teaser {
  padding: var(--section-pad) 0;
  background: var(--navy-dark);
  text-align: center;
  border-top: 1px solid rgba(136,153,170,0.15);
}
.bonus-teaser .section-title { margin-bottom: 16px; }
.bonus-text {
  font-size: 1.05rem;
  color: rgba(240,239,237,0.65);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  background: #080F1A;
  padding: 40px 0;
  border-top: 1px solid rgba(136,153,170,0.1);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--slate);
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--slate);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-book { order: -1; }
  .book-cover-wrap { max-width: 240px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr; gap: 0; }
  .benefit-item { border-top: none; border-left: 2px solid var(--orange); padding: 24px 20px; }
  .autor-inner { grid-template-columns: 1fr; }
  .autor-foto-wrap { max-width: 220px; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ── 3D Buchcover ──────────────────────────────────────────────────────────── */
.book-3d-scene {
  perspective: 1000px;
  perspective-origin: 50% 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 60px 20px;
}

.book-3d {
  --book-w: 220px;
  --book-h: 330px;
  --book-d: 28px;

  position: relative;
  width: var(--book-w);
  height: var(--book-h);
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-28deg);
  cursor: pointer;
  will-change: transform;
}

.book-face {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

/* Vorderseite */
.book-front {
  width: var(--book-w);
  height: var(--book-h);
  transform: translateZ(var(--book-d));
  box-shadow: 6px 6px 30px rgba(0,0,0,0.6);
}
.book-front img,
.book-spine img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Buchrücken — schwingt aus der linken Kante heraus */
.book-spine {
  width: var(--book-d);
  height: var(--book-h);
  transform-origin: left center;
  transform: rotateY(90deg);
  background: #111d28;
}

/* Oberkante (Seiten) */
.book-top {
  width: var(--book-w);
  height: var(--book-d);
  top: 0;
  transform-origin: top center;
  transform: rotateX(-90deg);
  background: linear-gradient(to right,
    #b8b0a8 0%, #e8e0d8 15%, #f4f0ec 50%, #e8e0d8 85%, #b8b0a8 100%);
}

/* Seitenschnitt (rechts) */
.book-pages {
  width: var(--book-d);
  height: var(--book-h);
  left: calc(var(--book-w) - var(--book-d));
  transform-origin: right center;
  transform: rotateY(-90deg);
  background: linear-gradient(to bottom,
    #d8d0c8 0%, #f0ece8 20%, #f8f4f0 50%, #f0ece8 80%, #d8d0c8 100%);
}

/* Schatten unterm Buch */
.book-shadow {
  width: 180px;
  height: 16px;
  margin-top: 18px;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0.45) 0%, transparent 70%);
  filter: blur(6px);
  transform: scaleX(1.1);
}

@media (max-width: 860px) {
  .book-3d {
    --book-w: 170px;
    --book-h: 255px;
    --book-d: 22px;
  }
  .book-3d-scene { padding: 24px 40px 16px; }
  .book-shadow { width: 140px; }
}

/* ── Blick ins Buch – Button ──────────────────────────────────────────────── */
.btn-blick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.btn-blick:hover { color: var(--cream); }

/* ── Blick ins Buch – Modal ───────────────────────────────────────────────── */
.vorschau-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 24, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.vorschau-overlay[hidden] { display: none; }

.vorschau-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-height: 95vh;
  width: 100%;
}

.vorschau-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--slate);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
  line-height: 1;
}
.vorschau-close:hover { color: var(--cream); }

.vorschau-stage {
  display: flex;
  align-items: center;
  gap: 16px;
  max-height: 85vh;
}

.vorschau-img-wrap {
  max-height: 85vh;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.vorschau-img-wrap img {
  display: block;
  max-height: 85vh;
  max-width: calc(100vw - 120px);
  width: auto;
  object-fit: contain;
}

.vorschau-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(136,153,170,0.25);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vorschau-arrow:hover { background: rgba(192,86,33,0.3); }

.vorschau-counter {
  font-size: 0.8rem;
  color: var(--slate);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .vorschau-arrow { width: 36px; height: 36px; font-size: 1rem; }
  .vorschau-img-wrap img { max-width: calc(100vw - 100px); }
}
