/* keen Verlag — Stylesheet
   Schrift: Spectral, lokal eingebunden (DSGVO-sauber, kein Nachladen von Google).
   Farbwerte: Richtwerte laut Styleguide 1.0. Verbindliche Sand-Werte
   nach Erhalt vom Grafiker hier zentral austauschen. */

/* ---------- Schrift: Spectral (lokal) ---------- */

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 300;
  src: url('schriften/spectral-300.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  src: url('schriften/spectral-400.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  font-style: italic;
  font-weight: 400;
  src: url('schriften/spectral-400-italic.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 600;
  src: url('schriften/spectral-600.woff2') format('woff2');
  font-display: swap;
}

:root {
  --bg: #faf8f4;
  --sand: #efe8da;
  --sand-deep: #f1ede4;
  --cover: #e9dfcd;
  --ink: #1c1a17;
  --body: #3a362f;
  --muted: #8a8378;
  --line: #e3ddd1;
  /* Spectral trägt Titel und Lesetext. Georgia bleibt als Fallback,
     bis die Schrift geladen ist. */
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  /* Neutrale System-Sans für Interface-Elemente: Navigation, Labels,
     Buttons, Kleingedrucktes. Lädt nichts nach. */
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { border-bottom: 1px solid var(--muted); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */

header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 26px 0;
  gap: 24px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark b { font-weight: 600; }
.wordmark span { font-weight: 300; color: var(--muted); }
.wordmark:hover { border-bottom: none; }

nav { display: flex; gap: 26px; flex-wrap: wrap; }
nav a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}
nav a:hover, nav a.active { color: var(--ink); border-bottom: 1px solid var(--muted); }

/* ---------- Buch / Hero ---------- */

.hero {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  padding: 88px 0 72px;
}

.cover-slot { flex: 0 0 280px; }

.cover-img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 18px 40px -18px rgba(28, 26, 23, 0.35);
}

/* Platzhalter, bis das echte Cover-JPG eingesetzt ist */
.cover-placeholder {
  aspect-ratio: 135 / 215;
  background: var(--cover);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 40px -18px rgba(28, 26, 23, 0.35);
}
.cover-placeholder .cp-author {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #5c5341;
  text-transform: uppercase;
}
.cover-placeholder .cp-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  color: #2b2619;
}
.cover-placeholder .cp-subtitle {
  font-family: var(--sans);
  font-size: 13px;
  color: #6d6350;
  margin-top: 12px;
  line-height: 1.5;
}
.cover-placeholder .cp-note {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.hero-text { flex: 1; min-width: 0; }

.author-line {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 8px;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 8px;
}

.subtitle {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--muted);
  margin: 0 0 30px;
}

/* Lesetext im Buch-Abschnitt: Spectral Regular */
.hero-text p {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 16px;
  max-width: 34em;
}

/* ---------- Zitatband ---------- */

.quote-band {
  background: var(--sand);
  padding: 52px 24px;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 25px;
  line-height: 1.4;
  color: #4a4232;
  margin: 0 auto;
  max-width: 22em;
}

/* ---------- Bestellen ---------- */

.bestellen {
  text-align: center;
  padding: 48px 0 76px;
  border-bottom: 1px solid var(--line);
}

.bestellen h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 26px;
}

.buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  padding: 11px 30px;
}
.btn:hover { background: var(--ink); color: var(--bg); border-bottom: 1px solid var(--ink); }

.biblio {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

.vormerken { max-width: 30em; margin: 0 auto 30px; }

/* ---------- Verlag & Autor ---------- */

.verlag-autor {
  text-align: center;
  padding: 84px 0 96px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
  margin: 0 0 18px;
  text-align: center;
}

/* Lesetext im Verlag/Autor-Abschnitt: Spectral Regular, linksbündig */
.verlag-autor p {
  font-family: var(--serif);
  margin: 0 auto 18px;
  max-width: 33em;
}
.verlag-autor p:not(.eyebrow) {
  text-align: left;
}

.autor-block { margin-top: 72px; }

.portrait {
  width: 224px;
  height: auto;
  filter: grayscale(1);
  margin: 0 auto 30px;
  display: block;
}

.portrait-placeholder {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #d6d2c9;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}

.buchtitel { font-style: italic; }

/* ---------- Unterseiten (Presse, Impressum) ---------- */

.page { padding: 64px 0 96px; }

.page h1 { font-size: 34px; margin-bottom: 20px; }

.page h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 52px 0 14px;
}

/* Lesetext auf den Unterseiten: Spectral Regular */
.page p {
  font-family: var(--serif);
  margin: 0 0 16px;
}
.page ul {
  font-family: var(--serif);
  margin: 0 0 16px;
  padding-left: 22px;
}
.page li { margin-bottom: 8px; }

.biblio-box {
  font-family: var(--serif);
  background: var(--sand-deep);
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.9;
}

.downloads {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
}

.download-card {
  flex: 1 1 170px;
  font-family: var(--sans);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 20px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--ink);
}
.download-card:hover { border-color: var(--muted); border-bottom: 1px solid var(--muted); }
.download-card small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }

.legal { font-size: 15px; }
.legal h2:first-of-type { margin-top: 40px; }

/* ---------- Footer ---------- */

footer {
  background: var(--sand-deep);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.footer-inner .wordmark,
.footer-inner b { font-family: var(--serif); }
.footer-inner a { color: var(--muted); font-size: 13px; }
.footer-inner a:hover { color: var(--ink); }

/* ---------- Mobil ---------- */

@media (max-width: 720px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 56px 0 48px;
    gap: 40px;
    text-align: center;
  }
  .cover-slot { flex-basis: auto; width: min(240px, 70vw); }
  .hero-text p { margin-left: auto; margin-right: auto; }
  h1 { font-size: 32px; }
  .header-inner { flex-direction: column; align-items: center; gap: 14px; }
  nav { gap: 18px; justify-content: center; }
  .buttons { flex-direction: column; align-items: center; }
  .btn { width: min(280px, 100%); text-align: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
