/* ============================================================
   KindVerstehen – Main Stylesheet
   Replace placeholder images with licensed DACH photography
   ============================================================ */

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

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  --sage:        #7a9e7a;
  --sage-dark:   #558755;
  --sage-light:  #c9dbc9;
  --sage-pale:   #e4ede4;
  --rose:        #d4a5a5;
  --rose-light:  #fbe8e8;
  --rose-dark:   #cb8080;
  --cream:       #faf4e8;
  --cream-dark:  #f5e8d0;
  --warm:        #e8ddd0;
  --warm-dark:   #c8b09a;
  --bg:          #fdfaf6;
  --text:        #3d3530;
  --text-mid:    #6b5e55;
  --text-light:  #8a7a70;
  --text-faint:  #9a8878;
  --border:      #ede8e0;
  --white:       #ffffff;
  --dark:        #3d3530;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;
  --radius-sm:   0.75rem;
  --radius-md:   1rem;
  --radius-lg:   1.5rem;
  --radius-xl:   2rem;
  --shadow-soft: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.09);
  --shadow-warm: 0 4px 30px rgba(180,150,120,0.12);
  --transition:  all 0.22s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; color: var(--text); font-weight: 400; }
p { color: var(--text-mid); }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 3px; }

/* ── Layout Helpers ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ── Typography ─────────────────────────────────────────────── */
.display-xl  { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; line-height: 1.08; }
.display-lg  { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; }
.display-md  { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.25; }
.display-sm  { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.text-lg     { font-size: 1.125rem; line-height: 1.7; }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.text-sage   { color: var(--sage-dark); }
.text-rose   { color: var(--rose-dark); }
.text-light  { color: var(--text-light); }
.text-faint  { color: var(--text-faint); }
.italic      { font-style: italic; }
.label       { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 9999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 400;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
}
.btn-primary   { background: var(--sage); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--sage-dark); box-shadow: var(--shadow-card); transform: translateY(-1px); }
.btn-secondary { background: var(--rose); color: #fff; }
.btn-secondary:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn-outline   { border: 2px solid var(--sage); color: var(--sage-dark); }
.btn-outline:hover { background: var(--sage); color: #fff; }
.btn-ghost     { color: var(--sage-dark); }
.btn-ghost:hover { background: var(--sage-pale); }
.btn-dark      { background: var(--white); color: var(--dark); }
.btn-dark:hover { background: var(--cream); }
.btn-sm        { padding: 0.6rem 1.3rem; font-size: 0.875rem; }
.btn-lg        { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn svg       { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: var(--transition);
}
.card-hover:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card-body { padding: 1.75rem; }
.card-body-lg { padding: 2.5rem; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.9rem; border-radius: 9999px;
  font-size: 0.75rem; font-family: var(--font-body);
}
.badge-sage { background: var(--sage-pale); color: #416b41; }
.badge-rose { background: var(--rose-light); color: #9a5050; }
.badge-warm { background: var(--cream-dark); color: #8a6040; }

/* ── Section Heading ────────────────────────────────────────── */
.section-heading { margin-bottom: 3.5rem; }
.section-heading .label { margin-bottom: 0.75rem; display: block; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { max-width: 600px; font-size: 1.1rem; line-height: 1.7; }
.section-heading.center { text-align: center; }
.section-heading.center p { margin: 0 auto; }

/* ── Progress Bar ───────────────────────────────────────────── */
.progress-bar { height: 6px; background: var(--sage-pale); border-radius: 3px; overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--sage), #9ab89a);
  transition: width 0.5s ease;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; color: var(--text); margin-bottom: 0.4rem; }
.form-control {
  width: 100%; padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
  background: #faf8f5; transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122,158,122,0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1rem; }
.form-check input[type=checkbox] { margin-top: 3px; accent-color: var(--sage); width: 16px; height: 16px; flex-shrink: 0; }
.form-check label { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }

/* ── Disclaimer ─────────────────────────────────────────────── */
.disclaimer {
  background: #f9f5ee; border: 1px solid var(--warm);
  border-radius: var(--radius-md); padding: 0.9rem 1.2rem;
  font-size: 0.8rem; color: var(--text-faint); line-height: 1.5;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.disclaimer svg { flex-shrink: 0; color: var(--warm-dark); margin-top: 2px; }
.disclaimer strong { color: var(--text-light); }

/* ── Stars ──────────────────────────────────────────────────── */
.stars { display: flex; gap: 3px; }
.stars svg { width: 1rem; height: 1rem; fill: var(--rose); color: var(--rose); }

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 0.75rem; }
.faq-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.5rem; background: none; font-family: var(--font-display);
  font-size: 1.15rem; color: var(--text); text-align: left; cursor: pointer;
  transition: var(--transition);
}
.faq-trigger:hover { background: var(--cream); }
.faq-trigger svg { flex-shrink: 0; transition: transform 0.3s ease; color: var(--text-faint); width: 1.2rem; height: 1.2rem; }
.faq-trigger.open svg { transform: rotate(180deg); color: var(--sage); }
.faq-body { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-body.open { padding: 0 1.5rem 1.2rem; max-height: 500px; }
.faq-body p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 1rem; }

/* ── Answer Options (Test) ──────────────────────────────────── */
.answer-opt {
  width: 100%; text-align: left; padding: 1rem 1.25rem;
  border: 2px solid var(--border); border-radius: var(--radius-md);
  background: var(--white); color: var(--text-mid); font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.85rem;
  transition: var(--transition); margin-bottom: 0.6rem; cursor: pointer;
}
.answer-opt:hover { border-color: var(--sage-light); background: #f5f8f5; }
.answer-opt.selected { border-color: var(--sage); background: var(--sage-pale); color: var(--text); }
.answer-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--sage-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.answer-opt.selected .answer-dot { border-color: var(--sage-dark); background: var(--sage-dark); }
.answer-dot-inner { width: 8px; height: 8px; border-radius: 50%; background: white; display: none; }
.answer-opt.selected .answer-dot-inner { display: block; }

/* ── Result Score Bar ───────────────────────────────────────── */
.result-band { border-radius: var(--radius-xl); padding: 2.5rem; text-align: center; margin-bottom: 2rem; }
.result-band.low  { background: linear-gradient(135deg, var(--sage-pale), #d4e8d4); }
.result-band.mid  { background: linear(135deg, var(--cream-dark), #eddcc0); background: linear-gradient(135deg, var(--cream-dark), #eddcc0); }
.result-band.high { background: linear-gradient(135deg, var(--rose-light), #f0d0d0); }
.result-icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.fade-in-up { animation: fadeInUp 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.5rem; padding: 0 1.5rem; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--sage-pale); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.logo:hover .logo-icon { background: var(--sage-light); }
.logo-icon svg { width: 1rem; height: 1rem; color: var(--sage-dark); }
.logo-text { font-family: var(--font-display); font-size: 1.3rem; }
.logo-text span:first-child { color: var(--text); }
.logo-text span:last-child  { color: var(--sage); }
.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav a { font-size: 0.9rem; color: var(--text-mid); }
.main-nav a:hover { color: var(--sage-dark); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
  width: 2rem; cursor: pointer;
}
.hamburger span {
  display: block; height: 2px; background: var(--text-mid);
  border-radius: 2px; transition: var(--transition);
}
.mobile-nav {
  display: none; background: var(--white); border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-nav a { display: block; padding: 0.75rem 0; font-size: 1rem; color: var(--text-mid); border-bottom: 1px solid #f5f0e8; }
.mobile-nav a:hover { color: var(--sage-dark); }
.mobile-nav .btn { margin-top: 1rem; width: 100%; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: #c8b8a8; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-logo-icon { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(122,158,122,0.25); display: flex; align-items: center; justify-content: center; }
.footer-logo-icon svg { width: 1rem; height: 1rem; color: #9ab89a; }
.footer-logo span { font-family: var(--font-display); font-size: 1.3rem; color: #f5e8d0; }
.footer-desc { font-size: 0.875rem; color: #a09080; line-height: 1.65; margin-bottom: 1.25rem; }
.footer-disclaimer { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 0.75rem 1rem; font-size: 0.75rem; color: #8a7a70; line-height: 1.5; }
.footer-disclaimer strong { color: #a09080; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: #8a7a70; }
.footer-social a:hover { background: rgba(122,158,122,0.3); color: #9ab89a; }
.footer-social svg { width: 1rem; height: 1rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #d4c4b4; margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.875rem; color: #a09080; }
.footer-col ul li a:hover { color: var(--sage-light); }
.footer-bottom { border-top: 1px solid #4d4540; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; color: #6b5e55; }

/* ── Global Disclaimer Banner ───────────────────────────────── */
.global-disclaimer { background: #f5f0e8; border-top: 1px solid var(--warm); padding: 0.85rem 0; }
.global-disclaimer .inner { display: flex; gap: 0.65rem; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.global-disclaimer svg { flex-shrink: 0; color: #9a8060; margin-top: 2px; width: 1rem; height: 1rem; }
.global-disclaimer p { font-size: 0.78rem; color: #8a7a70; line-height: 1.5; }
.global-disclaimer strong { color: var(--text-mid); }

/* ── Page Hero ──────────────────────────────────────────────── */
.page-hero { padding: 5rem 0 4rem; }
.hero-sage   { background: linear-gradient(135deg, var(--sage-pale), #faf4e8); }
.hero-cream  { background: linear-gradient(135deg, var(--cream), var(--cream-dark)); }
.hero-rose   { background: linear-gradient(135deg, var(--rose-light), var(--cream)); }
.hero-dark   { background: linear-gradient(135deg, #3d3530, #5a4e47); color: #faf4e8; }
.hero-dark p { color: #a09080; }
.hero-split  { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-img    { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.hero-img img { width: 100%; height: 480px; object-fit: cover; }

/* ── Trust Stats ────────────────────────────────────────────── */
.trust-stats { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.trust-stats .grid-4 { align-items: center; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 2.5rem; color: var(--sage-dark); line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.825rem; color: var(--text-faint); }

/* ── Test Cards ─────────────────────────────────────────────── */
.test-card { border-top: 4px solid transparent; }
.test-card.sage  { border-top-color: var(--sage-light); }
.test-card.warm  { border-top-color: #e2be88; }
.test-card.rose  { border-top-color: var(--rose); }
.test-icon {
  width: 3.5rem; height: 3.5rem; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.test-icon.sage { background: var(--sage-pale); }
.test-icon.warm { background: var(--cream-dark); }
.test-icon.rose { background: var(--rose-light); }
.test-meta { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.test-meta span { font-size: 0.8rem; color: var(--text-faint); display: flex; align-items: center; gap: 0.35rem; }
.test-meta svg  { width: 0.85rem; height: 0.85rem; }

/* ── Article Cards ──────────────────────────────────────────── */
.article-card img { width: 100%; height: 13rem; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover img { transform: scale(1.04); }
.article-img { overflow: hidden; position: relative; }
.article-img .badge { position: absolute; top: 1rem; left: 1rem; }
.article-meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-faint); margin-bottom: 0.6rem; }
.article-meta svg { width: 0.85rem; height: 0.85rem; }
.read-more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: var(--sage-dark); margin-top: 0.75rem; }
.read-more svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.article-card:hover .read-more svg { transform: translateX(4px); }

/* ── Steps ──────────────────────────────────────────────────── */
.step-icon { width: 3rem; height: 3rem; border-radius: var(--radius-md); background: var(--sage-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-icon svg { width: 1.25rem; height: 1.25rem; color: var(--sage-dark); }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-text { font-style: italic; color: var(--text-mid); line-height: 1.7; margin-bottom: 1rem; font-size: 0.925rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 2rem; height: 2rem; border-radius: 50%; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--sage-dark); font-weight: 700; }

/* ── Modules (Program) ──────────────────────────────────────── */
.module-card { display: flex; gap: 1.25rem; padding: 1.5rem; background: #faf8f5; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.module-week { width: 3.5rem; height: 3.5rem; border-radius: var(--radius-md); background: var(--sage-pale); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.65rem; color: var(--sage-dark); text-align: center; line-height: 1.3; }

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-price { font-family: var(--font-display); font-size: 3rem; color: var(--text); line-height: 1; }
.pricing-price sub { font-size: 1rem; font-family: var(--font-body); color: var(--text-faint); }
.feature-check { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.65rem; }
.feature-check svg { color: var(--sage); flex-shrink: 0; margin-top: 3px; width: 1rem; height: 1rem; }
.feature-check span { font-size: 0.9rem; color: var(--text-mid); }

/* ── Checklist ──────────────────────────────────────────────── */
.checklist li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; list-style: none; }
.checklist svg { color: var(--sage); flex-shrink: 0; margin-top: 3px; }

/* ── Success Message ────────────────────────────────────────── */
.success-msg { text-align: center; padding: 3rem 2rem; }
.success-icon { width: 4rem; height: 4rem; border-radius: 50%; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.success-icon svg { width: 2rem; height: 2rem; color: var(--sage-dark); }

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section { background: var(--dark); padding: 5rem 0; text-align: center; }
.cta-section h2 { color: #faf4e8; margin-bottom: 1.25rem; }
.cta-section p  { color: #a09080; max-width: 620px; margin: 0 auto 2.5rem; line-height: 1.7; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Routing (SPA) ─────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ── Prose Content ──────────────────────────────────────────── */
.prose h2 { font-family: var(--font-display); font-size: 1.75rem; color: var(--text); margin: 2.5rem 0 1rem; }
.prose p  { color: var(--text-mid); margin-bottom: 1.25rem; line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ul li { color: var(--text-mid); margin-bottom: 0.4rem; }
.prose .tag { display: inline-block; background: var(--sage-pale); color: #416b41; padding: 0.25rem 0.7rem; border-radius: 9999px; font-size: 0.75rem; margin: 0.2rem; }

/* ── Floating Card ──────────────────────────────────────────── */
.floating-card {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: white; border-radius: var(--radius-lg); padding: 1.25rem;
  box-shadow: var(--shadow-card); border: 1px solid var(--border); max-width: 200px;
}

/* ── Back Nav ───────────────────────────────────────────────── */
.back-nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0.85rem 1.5rem; }
.back-nav a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-faint); }
.back-nav a:hover { color: var(--sage-dark); }
.back-nav svg { width: 1rem; height: 1rem; }

/* ── Category Tabs ──────────────────────────────────────────── */
.cat-tabs { position: sticky; top: 72px; z-index: 90; background: var(--white); border-bottom: 1px solid var(--border); overflow-x: auto; }
.cat-tabs-inner { display: flex; gap: 0.5rem; padding: 0.85rem 1.5rem; min-width: max-content; }
.cat-tab { padding: 0.4rem 1rem; border-radius: 9999px; font-size: 0.85rem; background: #f5f0e8; color: var(--text-mid); cursor: pointer; transition: var(--transition); white-space: nowrap; }
.cat-tab:hover, .cat-tab.active { background: var(--sage); color: white; }

/* ── Shop Book Card ─────────────────────────────────────────── */
.book-card { display: flex; flex-direction: row; }
.book-cover { width: 160px; flex-shrink: 0; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-info { padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.book-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.book-includes { list-style: none; margin-bottom: 1.25rem; }
.book-includes li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-faint); margin-bottom: 0.25rem; }
.book-includes svg { width: 0.8rem; height: 0.8rem; color: var(--sage); flex-shrink: 0; }
.book-footer { display: flex; align-items: center; justify-content: space-between; }
.book-price { font-family: var(--font-display); font-size: 2rem; color: var(--text); }

/* ── Legal Pages ────────────────────────────────────────────── */
.legal-block { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--border); margin-bottom: 1rem; box-shadow: var(--shadow-soft); }
.legal-block h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.legal-block p  { font-size: 0.9rem; line-height: 1.7; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .hero-split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-split .hero-img { order: -1; }
  .hero-img img { height: 280px; }
  .main-nav, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3.5rem 0; }
  .hero-split { gap: 2rem; }
  .book-card { flex-direction: column; }
  .book-cover { width: 100%; height: 180px; }
  .book-cover img { height: 180px; }
  .floating-card { display: none; }
  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .display-xl { font-size: 2.4rem; }
  .card-body-lg { padding: 1.5rem; }
}
