/* =========================================
   ChristophHeuermann.de – Main Stylesheet
   ========================================= */

:root {
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #a8891a;
  --dark: #0f0f1a;
  --dark-2: #1a1a2e;
  --dark-3: #252540;
  --text: #e8e6e0;
  --text-muted: #a09c90;
  --white: #ffffff;
  --border: rgba(212,175,55,0.2);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --radius: 8px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text) !important;
  font-family: var(--font-display);
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.logo-text strong { color: var(--gold); }

.main-nav { display: flex; gap: 1.5rem; }
.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}
.main-nav a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 60%);
  padding: 5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(212,175,55,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(212,175,55,0.05) 0%, transparent 40%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.gold { color: var(--gold); }
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-stars {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-stars span { font-size: 0.9rem; color: var(--text-muted); vertical-align: middle; margin-left: 0.3rem; }
.btn-hero { animation: fadeInUp 0.7s ease 0.4s both; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { display: block; width: 100%; margin-bottom: 0.4rem; }

/* ===== LAYOUT ===== */
.main-content { padding: 3rem 0 4rem; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
}

/* ===== ARTICLE ===== */
.article-intro .lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
}
.article-intro p { color: var(--text-muted); }

.content-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.content-section:first-child { border-top: none; }

.content-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}
.content-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 1.6rem 0 0.6rem;
}
.content-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.content-section strong { color: var(--text); }

/* ===== PRODUCT SECTION ===== */
.product-section { background: var(--dark-2); border-radius: 12px; padding: 2rem; margin-top: 3rem; }
.product-label {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.product-image-wrap {
  margin: 1.5rem 0;
  text-align: center;
}
.product-image {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.product-image-wrap figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== LISTS ===== */
.feature-list {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.feature-list li {
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  background: rgba(212,175,55,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  position: relative;
}
.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 1rem;
  color: var(--gold);
  font-size: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
}
.feature-list li strong { color: var(--text); }

.benefit-list {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.benefit-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}
.benefit-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== PULLQUOTE ===== */
.pullquote {
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  background: rgba(212,175,55,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
}
.pullquote cite {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--gold);
  font-style: normal;
}

/* ===== RATING BOX ===== */
.rating-box {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin: 2rem 0;
}
.rating-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.rating-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.stars { color: var(--gold); letter-spacing: 2px; }
.rating-total {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
}

/* ===== CTA BOXES ===== */
.cta-box {
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}
.cta-gold {
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.05));
  border: 1px solid var(--border);
}
.cta-box p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.dual-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2.5rem 0 1rem;
}

.disclaimer-note {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  text-align: center;
  font-style: italic;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th {
  background: var(--gold);
  color: var(--dark);
  padding: 0.8rem 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
}
.comparison-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.comparison-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.comparison-table td:first-child { color: var(--text); font-weight: 600; }

/* ===== FINAL CTA ===== */
.final-cta-section {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
}
.final-cta-section h2 { text-align: center; }
.final-cta-section p { max-width: 620px; margin: 0 auto 1rem; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.sidebar-cta { background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.03)); }
.widget-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.widget-rating-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.product-name { font-size: 0.85rem; color: var(--text-muted); }
.stars-small { color: var(--gold); font-size: 0.8rem; }
.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sidebar-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}
.footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.85rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ===== HERO BOOK IMAGE ===== */
.hero-book-img {
  margin-top: 2.5rem;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-book-img img {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(212,175,55,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-book-img img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,0.8), 0 0 50px rgba(212,175,55,0.25);
}

/* ===== AUTHOR PROFILE ===== */
.author-profile {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .author-profile { grid-template-columns: 1fr; }
}
.author-img-wrap {
  text-align: center;
}
.author-img {
  width: 100%;
  max-width: 240px;
  border-radius: 10px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.author-img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}
.author-img-wrap figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--gold);
  font-style: italic;
}


.page-hero {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.page-hero p { color: var(--text-muted); }
.page-content {
  padding: 3rem 0;
  max-width: 760px;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin: 2rem 0 0.8rem;
}
.page-content p { color: var(--text-muted); margin-bottom: 1rem; }
.page-content ul { padding-left: 1.5rem; color: var(--text-muted); margin-bottom: 1rem; }
.page-content ul li { margin-bottom: 0.4rem; }
.page-content a { color: var(--gold); }

/* ===== CONTACT FORM ===== */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.85rem; color: var(--text-muted); }
.form-group input, .form-group textarea {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .main-nav { display: none; }
  .dual-cta { flex-direction: column; }
  .btn-large { width: 100%; }
  .product-section { padding: 1.2rem; }
}
