/* ==========================================================================
   Lisa Enna Schmidt – Autorenseite
   Stylesheet (zusammengeführte Version)
   ========================================================================== */

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

:root {
  --primary: #2c1810;
  --secondary: #8b4513;
  --accent: #d4af37;
  --light: #f5f5f5;
  --dark: #2c1810;
  --bg: #faf8f5;
  --card-bg: #ffffff;
  --border: #e7ddce;
  --notice-bg: #fbeee0;
  --notice-border: #e0b985;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 10px;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
}

a:hover,
a:focus {
  color: var(--primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip-Link (Barrierefreiheit) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1100;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.3s;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

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

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a:focus {
  color: var(--secondary);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--light);
  text-align: center;
}

.hero-content {
  padding-top: 4rem;
}

.author-portrait {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.hero .subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  color: var(--dark);
}

/* ==========================================================================
   Main Content / Bücher
   ========================================================================== */

.main-content {
  padding: 4rem 0;
}

.section-title {
  color: var(--primary);
  font-size: 1.9rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.book-info {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.book-cover {
  width: 150px;
  border-radius: 8px;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow);
}

.book-info h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.book-info p {
  margin-bottom: 0.85rem;
}

.book-info a {
  font-weight: bold;
  text-decoration: none;
}

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

.genre-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 0.2rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  font-family: Georgia, serif;
}

.isbn {
  font-family: 'Courier New', monospace;
  background: #f0f0f0;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  font-size: 0.85rem;
}

.notice {
  background: var(--notice-bg);
  border-left: 4px solid var(--notice-border);
  padding: 0.85rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
}

.small-note {
  font-size: 0.78rem;
  color: #8a8177;
  font-weight: normal;
}

/* ==========================================================================
   Anthologien
   ========================================================================== */

.anthologies {
  padding: 4rem 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.anthologies ul {
  list-style: none;
  margin-top: 1.5rem;
}

.anthologies li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
}

.anthologies li .small-note {
  display: block;
  margin-top: 0.3rem;
}

/* ==========================================================================
   Zitate
   ========================================================================== */

.quote-section {
  background: var(--primary);
  color: var(--light);
  padding: 3.5rem 0;
  text-align: center;
}

.quote-text {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.quote-author {
  opacity: 0.8;
  color: var(--accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: #1a1a1a;
  color: var(--light);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-email {
  margin: 0.5rem 0 0;
}

.contact-email a {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: bold;
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
}

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

.affiliate-disclaimer {
  max-width: 640px;
  margin: 1.5rem auto;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-size: 0.82rem;
  text-align: left;
  line-height: 1.5;
  color: #d8d3cc;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom p {
  margin-bottom: 0.3rem;
}

.footer-bottom a {
  color: inherit;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    gap: 1rem;
  }

  nav ul.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
