:root {
  --navy: #0f1f3d;
  --navy-light: #1a3260;
  --gold: #b8943a;
  --gold-light: #d4aa50;
  --cream: #f9f6f0;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --white: #ffffff;
  --border: #e0d8cc;
  --shadow: 0 4px 24px rgba(15, 31, 61, 0.10);
  --radius: 8px;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}

/* ── Navigation ── */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.nav-logo span { color: var(--gold-light); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: normal;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto 0;
  border: none;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184,148,58,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-amazon {
  background: #ff9900;
  color: #111;
}

.btn-amazon:hover {
  background: #e8890a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,153,0,0.35);
}

.btn-coming-soon {
  background: #ccc;
  color: #666;
  cursor: default;
}

/* ── Section layout ── */
section { padding: 4rem 2rem; }

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

.section-title {
  font-size: 1.8rem;
  font-weight: normal;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.gold-line {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1.5rem;
  border: none;
}

/* ── Book cards (homepage) ── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(15, 31, 61, 0.15);
}

.book-card-cover {
  height: 320px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.book-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-card-tag {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.book-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.book-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}

.book-card .btn {
  align-self: flex-start;
}

/* ── Featured book (homepage) ── */
.book-featured {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 40px rgba(15, 31, 61, 0.18);
  overflow: hidden;
}

.book-featured::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(184,148,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.book-featured-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--gold);
  color: var(--white);
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
}

.book-featured-cover {
  flex-shrink: 0;
}

.book-featured-cover img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  display: block;
}

.book-featured-body { color: var(--white); }

.book-featured-body .book-card-tag { color: var(--gold-light); }

.book-featured-body h3 {
  font-size: 1.9rem;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.book-featured-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.book-featured-body p {
  color: rgba(255,255,255,0.82);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.book-featured-body em {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

.book-featured-body .btn-primary {
  margin-top: 0.5rem;
  background: var(--gold);
}

.backlist-title {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: normal;
  margin-bottom: 1.5rem;
}

@media (max-width: 700px) {
  .book-featured {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-featured-cover img {
    width: 160px;
    margin: 0 auto;
  }
  .book-featured-badge { top: 1rem; right: 1rem; }
  .book-featured-body h3 { font-size: 1.5rem; }
  .book-featured-body .btn-primary { margin: 0.5rem auto 0; display: inline-block; }
}

/* ── Book detail page ── */
.book-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem 2rem;
}

.book-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
}

.book-header-cover {
  width: 200px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.book-header-meta {
  padding-top: 0.5rem;
}

.book-header-tag {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.book-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.book-header .subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.book-header-details {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.book-content { background: var(--white); }

.book-content .section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 800px;
}

.content-block h2 {
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: normal;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.content-block p {
  color: var(--text);
  margin-bottom: 1rem;
}

.leseprobe {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 2rem 2.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

.leseprobe p { margin-bottom: 1rem; }
.leseprobe p:last-child { margin-bottom: 0; }

.leseprobe-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: bold;
  font-style: normal;
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Cream sections ── */
.section-cream { background: var(--cream); }

/* ── Author section (homepage teaser) ── */
.author-teaser {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.author-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 4rem;
  margin: 0 auto;
  border: 4px solid var(--gold);
  font-family: 'Georgia', serif;
}

.author-teaser h2 {
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: normal;
  margin-bottom: 1rem;
}

.author-teaser p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Author full page ── */
.author-full {
  max-width: 800px;
  margin: 0 auto;
}

.author-full-header {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.author-full h1 {
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.author-full .tagline {
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.author-books-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.author-books-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

.author-books-list a {
  color: var(--navy);
  text-decoration: none;
  font-weight: bold;
}

.author-books-list a:hover { color: var(--gold); }

.author-books-list .book-year {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3, .contact-form-box h3 {
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: normal;
  margin-bottom: 1.25rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
}

.contact-info a:hover { text-decoration: underline; }

.contact-notice {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

form { display: flex; flex-direction: column; gap: 1rem; }

form input, form textarea, form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

form textarea { height: 140px; resize: vertical; }

form label {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: bold;
  display: block;
  margin-bottom: 0.25rem;
}

.form-group { display: flex; flex-direction: column; }

/* ── Impressum section ── */
.impressum {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.impressum-inner {
  max-width: 700px;
  margin: 0 auto;
}

.impressum h2 {
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: normal;
  margin-bottom: 1rem;
}

.impressum p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 2rem;
  text-align: center;
}

footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer .footer-logo {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: bold;
}

footer .footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

footer .footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  transition: color 0.2s;
}

footer .footer-links a:hover { color: var(--gold-light); }

footer .footer-copy {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .book-header-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-header-cover {
    width: 150px;
    margin: 0 auto;
  }

  .book-header-details { justify-content: center; }

  .author-teaser {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-full-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links { gap: 1rem; }
}

@media (max-width: 500px) {
  .nav-inner { padding: 0 1rem; }
  .nav-links { gap: 0.75rem; }
  .nav-links a { font-size: 0.8rem; }
  section { padding: 3rem 1rem; }
}
