/* SaltWaveBooks — Premium Edition */
/* Edel, minimalistisch, viel Weißraum */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --green: #2D5A3D;
  --green-light: #3A6F4E;
  --green-dark: #1B3928;
  --green-muted: rgba(45, 90, 61, 0.08);
  --copper: #B87333;
  --copper-light: #CFA06A;
  --copper-muted: rgba(184, 115, 51, 0.1);
  --cream: #FDFBF7;
  --cream-warm: #F8F3EB;
  --dark: #1A1A1A;
  --dark-soft: #333333;
  --grey: #777777;
  --grey-light: #B0B0B0;
  --grey-ultra: #E8E4DE;
  --white: #FFFFFF;
  --shadow-soft: 0 8px 40px rgba(45, 90, 61, 0.06);
  --shadow-hover: 0 12px 48px rgba(45, 90, 61, 0.12);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--dark-soft);
  line-height: 1.8;
  font-size: 16px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* === EDITORIAL TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--dark);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
p { margin-bottom: 16px; }

.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}
.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 12px;
}
.small { font-size: 0.82rem; color: var(--grey); font-weight: 400; }
.muted { color: var(--grey); }

/* === LAYOUT === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }
.section-alt { background: var(--white); }
.text-center { text-align: center; }

/* === DIVIDER === */
.divider {
  width: 48px;
  height: 2px;
  background: var(--copper);
  margin: 32px auto;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  border-bottom: 1px solid rgba(45, 90, 61, 0.06);
}
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.nav.scrolled .nav-logo { color: var(--green-dark); }
.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(253, 251, 247, 0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav.scrolled .nav-links a { color: var(--grey); }
.nav-links a:hover { color: var(--copper); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--green-dark);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(184, 115, 51, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: var(--cream);
  font-weight: 300;
  line-height: 1.05;
}
.hero h1 span { color: var(--copper-light); }
.hero .subtitle {
  color: rgba(253, 251, 247, 0.6);
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.hero p { color: rgba(253, 251, 247, 0.55); font-size: 0.95rem; line-height: 1.7; }
.hero-book { text-align: center; }
.hero-book img {
  max-width: 300px;
  border-radius: 4px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hero-book img:hover { transform: translateY(-8px) rotate(0deg); }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--copper);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(184, 115, 51, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(253, 251, 247, 0.3);
}
.btn-secondary:hover {
  border-color: var(--copper-light);
  color: var(--copper-light);
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45, 90, 61, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.feature-card {
  padding: 40px 32px;
  border-radius: 2px;
  background: var(--white);
  border: 1px solid var(--grey-ultra);
  transition: var(--transition);
  position: relative;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.8;
}
.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--dark);
}

/* === STATS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 900px;
  margin: 48px auto 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number.copper { color: var(--copper); }
.stat-label { font-size: 0.82rem; color: var(--grey); }

/* === BOOK DETAILS === */
.book-details {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.book-cover img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}
.book-meta {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 20px;
  line-height: 2;
}
.book-toc { list-style: none; padding: 0; }
.book-toc li {
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--dark-soft);
  border-bottom: 1px solid var(--grey-ultra);
  transition: var(--transition);
}
.book-toc li:hover { padding-left: 8px; color: var(--green); }
.book-toc .teil {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  padding-top: 28px;
  border-bottom: none;
  letter-spacing: 0.02em;
}

/* === CHECK SECTION === */
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.check-card {
  padding: 28px 16px;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  border: 1px solid var(--grey-ultra);
  background: var(--white);
  transition: var(--transition);
}
.check-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.check-card .chapter-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--green);
}
.check-card .chapter-title {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 8px;
  line-height: 1.4;
}
.check-card.completed { border-color: var(--green); background: var(--green-muted); }
.check-card.completed::after { content: '✓'; display: block; color: var(--green); margin-top: 8px; }

/* === AUTHOR === */
.author-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}
.author-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
}

/* === ORDER === */
.order-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 48px auto 0;
}
.order-card {
  padding: 40px 32px;
  border: 1px solid var(--grey-ultra);
  border-radius: 2px;
  text-align: center;
  background: var(--white);
  transition: var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.order-card.featured { border-color: var(--copper); border-width: 2px; }
.order-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
}

/* === QUIZ === */
.check-hero {
  background: var(--green-dark);
  color: var(--cream);
  padding: 120px 0 60px;
  text-align: center;
}
.check-hero h1 { color: var(--cream); font-weight: 300; }
.check-hero .subtitle { color: rgba(253, 251, 247, 0.5); }

.quiz-container { max-width: 640px; margin: 0 auto; padding: 48px 0; }
.quiz-question {
  background: var(--white);
  padding: 36px;
  border-radius: 2px;
  margin-bottom: 20px;
  border: 1px solid var(--grey-ultra);
  transition: var(--transition);
}
.quiz-question:hover { box-shadow: var(--shadow-soft); }
.quiz-question h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--dark);
}
.quiz-option {
  display: block;
  padding: 14px 20px;
  margin: 8px 0;
  border: 1px solid var(--grey-ultra);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.92rem;
}
.quiz-option:hover { border-color: var(--green); background: var(--green-muted); }
.quiz-option.selected { border-color: var(--green); background: var(--green-muted); font-weight: 500; }
.quiz-option input { display: none; }

/* === RESULTS === */
.result-card {
  background: var(--white);
  padding: 48px;
  border-radius: 2px;
  border: 1px solid var(--grey-ultra);
  text-align: center;
  margin: 32px 0;
}
.result-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
}
.result-label { color: var(--grey); font-size: 0.9rem; margin-bottom: 8px; }
.result-bar {
  height: 6px;
  background: var(--grey-ultra);
  border-radius: 3px;
  margin: 32px 0 8px;
  overflow: hidden;
}
.result-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--green));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.result-comparison {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--grey-light);
}

/* === FOOTER === */
.footer {
  background: var(--green-dark);
  color: rgba(253, 251, 247, 0.5);
  padding: 64px 0;
  font-size: 0.82rem;
}
.footer a { color: var(--copper-light); text-decoration: none; transition: var(--transition); }
.footer a:hover { color: var(--copper); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream);
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.footer p { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(253, 251, 247, 0.08);
  text-align: center;
  font-size: 0.75rem;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.8s ease both; }
.fade-in-delay-1 { animation-delay: 0.15s; }
.fade-in-delay-2 { animation-delay: 0.3s; }
.fade-in-delay-3 { animation-delay: 0.45s; }

/* === QUOTE === */
.quote-block {
  border-left: 2px solid var(--copper);
  padding: 24px 0 24px 32px;
  margin: 48px 0;
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
}
.quote-author { font-size: 0.85rem; color: var(--copper); margin-top: 12px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-book { order: -1; }
  .hero-book img { max-width: 180px; }
  .features-grid, .stats-grid, .order-grid { grid-template-columns: 1fr; }
  .book-details { grid-template-columns: 1fr; gap: 40px; }
  .book-cover { text-align: center; }
  .book-cover img { max-width: 200px; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .author-section { grid-template-columns: 1fr; text-align: center; }
  .author-photo { margin: 0 auto; }
  .btn-group { justify-content: center; }
}
