@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #F6F1E7;
  --sand-dark: #EDE5D6;
  --paper: #FFFDF8;
  --line: #E2D8C4;
  --line-strong: #C9B999;
  --ink: #1F2A36;
  --ink-soft: #4E5A66;
  --gold: #8A6420;
  --gold-light: #E3C07A;
  --accent: #B8862B;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: #6B4C14; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.2vw, 50px); }
p { margin: 0; }

.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow-line { display: flex; align-items: center; gap: 12px; }
.eyebrow-line::before { content: ""; width: 40px; height: 2px; background: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink); cursor: pointer; font-family: inherit;
}
.btn-dark { background: var(--ink); color: var(--sand); }
.btn-dark:hover { background: #2E3D4D; color: var(--sand); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--sand); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { color: var(--gold); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; color: var(--sand); }
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
}
.logo, .nav .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .site-header .wrap { padding: 0 16px; min-height: 64px; }
  .logo { font-size: 18px; }
  .nav .btn { padding: 0 16px; }
}

/* Hero */
.hero .wrap { display: flex; align-items: center; gap: 72px; padding-top: 80px; padding-bottom: 96px; }
.hero-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-lead { font-size: 21px; color: var(--ink-soft); max-width: 560px; }
.hero-authors { font-weight: 600; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.hero-cover {
  flex: 0 0 380px; width: 380px; height: auto; border-radius: 4px 12px 12px 4px;
  box-shadow: 0 30px 60px rgba(31,42,54,0.22);
}
@media (max-width: 860px) {
  .hero .wrap { flex-direction: column; align-items: stretch; gap: 36px; padding-top: 40px; padding-bottom: 56px; }
  .hero-cover { flex: none; width: 260px; align-self: center; order: -1; }
  .hero-buttons .btn { flex: 1 1 100%; }
}

/* Story */
.story { background: var(--ink); color: var(--sand); }
.story .wrap { display: flex; gap: 80px; padding-top: 96px; padding-bottom: 96px; }
.story-head { flex: 0 0 380px; display: flex; flex-direction: column; gap: 18px; }
.story .eyebrow { color: var(--gold-light); }
.story-body { flex: 1; display: flex; flex-direction: column; gap: 22px; font-size: 20px; line-height: 1.7; color: #E6DFD2; }
@media (max-width: 860px) {
  .story .wrap { flex-direction: column; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
  .story-head { flex: none; }
  .story-body { font-size: 18px; }
}

/* Leseprobe */
.preview .wrap { display: flex; flex-direction: column; align-items: center; gap: 32px; padding-top: 96px; padding-bottom: 96px; text-align: center; }
.preview-intro { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.preview-intro p { color: var(--ink-soft); font-size: 20px; }
.book {
  display: flex; background: var(--paper); border-radius: 8px;
  box-shadow: 0 30px 60px rgba(31,42,54,0.18); max-width: 880px; width: 100%;
}
.book img { width: 50%; height: auto; aspect-ratio: 803 / 1039; object-fit: cover; }
.book img:first-child { border-radius: 8px 0 0 8px; border-right: 1px solid var(--line); }
.book img:last-child { border-radius: 0 8px 8px 0; }
.pager { display: flex; align-items: center; gap: 28px; }
.pager button {
  width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
}
.pager button.next { background: var(--ink); color: var(--sand); }
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager-label { min-width: 150px; font-weight: 600; color: var(--ink-soft); }
.preview-end { color: var(--ink-soft); }
.preview-end[hidden] { display: none; }
@media (max-width: 700px) {
  .preview .wrap { padding-top: 56px; padding-bottom: 56px; }
  .book { max-width: 360px; }
  .book img { width: 100%; border-radius: 8px !important; border-right: none !important; }
  .book img + img { display: none; }
}

/* Details */
.details .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.details-head { display: flex; flex-direction: column; gap: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.fact span { display: block; font-size: 15px; color: var(--ink-soft); }
.fact strong { display: block; margin-top: 6px; font-size: 22px; line-height: 1.3; }
@media (max-width: 860px) {
  .details .wrap { padding-top: 56px; padding-bottom: 56px; gap: 24px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fact { padding: 18px; }
  .fact strong { font-size: 18px; }
}

/* Shops */
.shops { background: var(--sand-dark); }
.shops .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 88px; padding-bottom: 88px; text-align: center; }
.shops p { color: var(--ink-soft); font-size: 20px; max-width: 640px; }
.shop-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 8px; }
.shop-links a {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px;
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.shop-links a:hover { border-color: var(--ink); }
@media (max-width: 700px) {
  .shops .wrap { padding-top: 56px; padding-bottom: 56px; align-items: stretch; text-align: left; }
  .shop-links { flex-direction: column; }
  .shop-links a { width: 100%; }
}

/* Autorinnen */
.authors .wrap { display: flex; align-items: center; gap: 72px; padding-top: 96px; padding-bottom: 96px; }
.authors img { flex: 0 0 560px; width: 560px; height: auto; border-radius: 24px; box-shadow: 0 24px 48px rgba(31,42,54,0.16); }
.authors-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.authors-text p { color: var(--ink-soft); font-size: 20px; line-height: 1.7; }
@media (max-width: 960px) {
  .authors .wrap { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
  .authors img { flex: none; width: 100%; }
  .authors-text p { font-size: 18px; }
}

/* Kontakt */
.contact .wrap { padding-bottom: 96px; }
.contact-card {
  display: flex; gap: 72px; padding: 56px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 24px;
}
.contact-intro { flex: 0 0 380px; display: flex; flex-direction: column; gap: 14px; }
.contact-intro p { color: var(--ink-soft); font-size: 19px; }
.contact-form { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 17px; font-weight: 400;
  background: #FFFFFF; color: var(--ink); border: 1px solid #B9A987; border-radius: 12px;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(184,134,43,0.35); border-color: var(--gold); }
.contact-form .hint { font-size: 15px; color: var(--ink-soft); }
.contact-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) {
  .contact .wrap { padding-bottom: 56px; }
  .contact-card { flex-direction: column; gap: 24px; padding: 28px 22px; }
  .contact-intro { flex: none; }
  .contact-form .btn { align-self: stretch; }
}

/* Footer */
.site-footer { background: var(--ink); color: #E6DFD2; font-size: 16px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.site-footer .logo { color: var(--sand); }
.footer-links { display: flex; gap: 28px; }
.site-footer a { color: var(--gold-light); }

/* Rechtstexte & Danke */
.legal .wrap { max-width: 860px; padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 22px; color: #2E3A46; }
.legal h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin-top: 16px; }
