/* ───────────────────────────────────────────────────────────────
 * Herzensseiten — Shared Story Stylesheet
 * Wird von allen story-*.php Files referenziert (single source of truth).
 * ─────────────────────────────────────────────────────────────── */

:root {
  --bg: #fbf8f3;
  --bg-soft: #f3ede2;
  --paper: #ffffff;
  --ink: #1c1814;
  --ink-soft: #4a423b;
  --ink-faint: #8a7e72;
  --rule: #e2d8c8;
  --accent: #a8472d;
  --accent-soft: #c87456;
  --rose: #d4a596;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Lora', Georgia, serif;
  background: var(--bg); color: var(--ink);
  font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── "Anzeige"-Kennzeichnung (rechtlich, dezent) ─────────────── */
.ad-label {
  background: var(--bg-soft); border-bottom: 1px solid var(--rule);
  text-align: center; padding: 6px 16px;
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── Magazin-Header ──────────────────────────────────────────── */
.mag-head {
  text-align: center; padding: 18px 16px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.mag-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink);
}
.mag-name a { color: var(--ink); text-decoration: none; }
.mag-tag {
  font-family: 'Inter', sans-serif; font-size: 10px;
  color: var(--ink-faint); letter-spacing: 0.2em;
  text-transform: uppercase; margin-top: 4px;
}

/* ── Article container ───────────────────────────────────────── */
article { max-width: 680px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { article { padding: 0 32px; } }

.kicker {
  font-family: 'Inter', sans-serif; font-size: 12px;
  color: var(--accent); letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600;
  margin-top: 40px; margin-bottom: 16px;
}
h1.title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500; font-size: 36px; line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 18px;
  color: var(--ink);
}
@media (min-width: 768px) { h1.title { font-size: 50px; line-height: 1.05; } }
.lead {
  font-size: 20px; line-height: 1.55; color: var(--ink-soft);
  font-style: italic; margin-bottom: 28px;
}
@media (min-width: 768px) { .lead { font-size: 22px; } }

.byline {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; margin-bottom: 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: 'Inter', sans-serif; font-size: 13px;
  color: var(--ink-soft);
}
.byline-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--accent-soft));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 14px;
  font-family: 'Cormorant Garamond', serif;
}
.byline-meta b { color: var(--ink); font-weight: 600; }
.byline-meta .sep { margin: 0 6px; color: var(--ink-faint); }

.hero-img {
  margin: 0 -20px 12px; aspect-ratio: 4/3;
  background: var(--bg-soft);
  background-size: cover; background-position: center;
  overflow: hidden;
}
@media (min-width: 768px) { .hero-img { margin: 0 0 12px; border-radius: 4px; aspect-ratio: 16/10; } }
.hero-caption {
  font-family: 'Inter', sans-serif; font-size: 12px;
  color: var(--ink-faint); font-style: italic;
  margin-bottom: 32px; padding-left: 4px;
}

/* ── Promise / Editorial-Vorabkommentar (v2) ─────────────────── */
.promise {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 17px; line-height: 1.55; color: var(--ink-soft);
  border-left: 2px solid var(--accent-soft);
  padding: 4px 0 4px 16px;
  margin: 0 0 28px;
}

/* ── Body typography ─────────────────────────────────────────── */
article p { margin-bottom: 22px; }
article p.first::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 600;
  float: left; line-height: 0.85;
  margin: 6px 8px 0 0; color: var(--accent);
}
article h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 500; line-height: 1.15;
  margin: 40px 0 18px; color: var(--ink);
}
@media (min-width: 768px) { article h2 { font-size: 36px; } }
article em { font-style: italic; }
article strong { font-weight: 600; color: var(--ink); }
article ul { margin: 0 0 22px 28px; }
article ul li { margin-bottom: 6px; }

/* ── Pull quote ──────────────────────────────────────────────── */
blockquote.pull {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 22px; margin: 32px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-style: italic;
  line-height: 1.3; color: var(--ink);
}
@media (min-width: 768px) { blockquote.pull { font-size: 30px; padding-left: 28px; } }

/* ── Inline Text-Link (editorial in-flow link, NO product card) ─ */
.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s;
}
.inline-link:hover { color: var(--ink); }
.inline-link::after {
  content: ' →';
  font-weight: 400;
  margin-left: 1px;
  display: inline-block;
  transition: transform .2s;
}
.inline-link:hover::after { transform: translateX(3px); }

/* ── Editorial-Recommendation (Magazin-Style, am Ende der Story) ─ */
/* Kleines Produktbild + Text-Recommendation, wirkt wie redaktioneller Hinweis */
.editor-rec {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  margin: 36px 0;
  font-family: 'Lora', serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 16px;
}
.editor-rec-img {
  width: 96px; height: 96px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.editor-rec-text { flex: 1; min-width: 0; }
.editor-rec b { color: var(--ink); font-style: normal; font-weight: 600; }
@media (max-width: 600px) {
  .editor-rec { gap: 12px; }
  .editor-rec-img { width: 76px; height: 76px; }
}

/* ── DEPRECATED: Inline soft CTA als Produkt-Card (NICHT mid-story nutzen) ─ */
.rec-box {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: 4px; margin: 36px 0; overflow: hidden;
  box-shadow: 0 1px 2px rgba(28,24,20,0.04), 0 16px 48px -24px rgba(28,24,20,0.18);
  transition: transform .25s, box-shadow .25s;
}
.rec-box:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(28,24,20,0.04), 0 24px 64px -20px rgba(28,24,20,0.28); }
.rec-link { display: block; color: inherit; text-decoration: none; }
.rec-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 600px) { .rec-grid { grid-template-columns: 220px 1fr; } }
.rec-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f3ede2, #ede5db);
  background-size: cover; background-position: center;
}
@media (min-width: 600px) { .rec-img { aspect-ratio: auto; height: 100%; min-height: 200px; } }
.rec-body { padding: 22px 22px 24px; }
.rec-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 8px;
}
.rec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; line-height: 1.2; margin-bottom: 8px;
  color: var(--ink);
}
.rec-desc {
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
  font-family: 'Lora', serif; margin-bottom: 14px;
}
.rec-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.04em;
}
.rec-cta::after { content: '→'; transition: transform .2s; }
.rec-link:hover .rec-cta::after { transform: translateX(4px); }
.rec-stars {
  display: inline-flex; gap: 2px; align-items: center;
  margin-top: 8px; font-size: 12px;
  font-family: 'Inter', sans-serif; color: var(--ink-faint);
}
.rec-stars .stars { color: #b8945c; letter-spacing: 0.05em; margin-right: 6px; font-size: 13px; }

/* ── Update-Box (social proof) ───────────────────────────────── */
.update {
  background: var(--bg-soft); border-left: 3px solid var(--accent);
  padding: 18px 20px; margin: 28px 0;
  font-size: 16px; line-height: 1.55;
}
.update-label {
  font-family: 'Inter', sans-serif; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 6px;
}

/* ── Value-Math Box (v2) ─────────────────────────────────────── */
.value-math {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 22px 24px;
  margin: 28px 0;
  font-family: 'Inter', sans-serif; font-size: 15px;
}
.value-math-h {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 22px; color: var(--ink); margin-bottom: 14px;
}
.value-math-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; border-bottom: 1px dashed var(--rule);
  color: var(--ink-soft);
}
.value-math-row:last-of-type { border-bottom: 2px solid var(--ink); }
.value-math-row span:last-child { font-variant-numeric: tabular-nums; }
.value-math-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0 4px;
  font-weight: 700; color: var(--accent); font-size: 17px;
}
.value-math-total .was {
  font-weight: 400; font-size: 13px; color: var(--ink-faint);
  text-decoration: line-through; margin-right: 8px;
}
.value-math-note {
  margin-top: 10px; font-size: 12px; color: var(--ink-faint);
  font-family: 'Lora', serif; font-style: italic;
}

/* ── Objection-Handling (v2) ─────────────────────────────────── */
.obj-box {
  background: var(--bg-soft); border-radius: 4px;
  padding: 22px 24px; margin: 28px 0;
}
.obj-h {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 24px; color: var(--ink); margin-bottom: 14px;
}
.obj-item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.obj-item:last-child { border-bottom: none; }
.obj-pill {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-soft); padding-top: 3px; white-space: nowrap;
}
.obj-text { font-family: 'Lora', serif; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.obj-text b { color: var(--ink); font-weight: 600; }

/* ── Risk-Reversal Sektion (v2) ──────────────────────────────── */
.risk-rev {
  border: 2px solid var(--ink); border-radius: 4px;
  padding: 24px 26px; margin: 32px 0;
  text-align: center; background: var(--bg);
}
.risk-rev-h {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 26px; color: var(--ink); margin-bottom: 10px;
}
.risk-rev-text {
  font-family: 'Lora', serif; font-style: italic;
  font-size: 16px; line-height: 1.55; color: var(--ink-soft);
  max-width: 480px; margin: 0 auto;
}
.risk-rev-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin-top: 16px; font-family: 'Inter', sans-serif;
  font-size: 11px; color: var(--ink-faint);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.risk-rev-badges span::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* ── Tipps-Liste (jahrestag-style) ───────────────────────────── */
.tips { background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: 22px 24px; margin: 28px 0; }
.tips h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; margin-bottom: 12px; color: var(--ink); }
.tips ol { padding-left: 24px; }
.tips ol li { margin-bottom: 10px; line-height: 1.55; font-size: 16px; color: var(--ink-soft); }
.tips ol li strong { color: var(--ink); }

/* ── Comments / Reviews block ────────────────────────────────── */
.comments {
  margin: 48px 0 32px; padding: 28px 0;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.comments-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; margin-bottom: 4px;
}
.comments-sub {
  font-family: 'Inter', sans-serif; font-size: 13px;
  color: var(--ink-faint); margin-bottom: 20px;
}
.comment {
  padding: 16px 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 36px 1fr; gap: 12px;
}
.comment:last-child { border-bottom: none; }
.comment-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  color: var(--accent); font-size: 14px;
}
.comment-name {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 2px;
}
.comment-meta {
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: var(--ink-faint); margin-bottom: 6px;
  display: flex; gap: 8px; align-items: center;
}
.comment-meta .stars { color: #b8945c; letter-spacing: 0.04em; }
.comment-text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* ── Final big CTA — Editorial paper-feel, kein Sales-Block ─── */
.final-cta {
  margin: 40px 0 32px;
  padding: 40px 28px 36px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 16px rgba(28, 24, 20, 0.04);
}
.final-cta::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  background: var(--accent);
}
.final-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; line-height: 1.2; margin-bottom: 14px;
  color: var(--ink);
}
@media (min-width: 768px) { .final-cta h3 { font-size: 34px; } }
.final-cta p {
  color: var(--ink-soft);
  font-size: 17px;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.55;
}

.cta-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 14px;
}

/* ── Value-Stack im Final-CTA Block ─────────────────────────── */
.cta-stack {
  list-style: none; padding: 0;
  margin: 28px auto 30px;
  max-width: 460px; text-align: left;
}
.cta-stack li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  color: var(--ink-soft);
  font-size: 15px; line-height: 1.5;
  border-bottom: 1px solid var(--rule);
}
.cta-stack li:last-child { border-bottom: none; }
.cta-stack li::before {
  content: '✓'; flex-shrink: 0;
  color: var(--accent);
  font-size: 16px; font-weight: 700;
  line-height: 1.5;
}
.cta-stack b {
  display: block;
  color: var(--ink); font-weight: 600;
  margin-bottom: 2px;
  font-size: 16px;
}

.btn {
  display: inline-block; background: var(--ink); color: white;
  padding: 18px 42px; border-radius: 2px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; transition: all .2s;
  box-shadow: 0 4px 14px rgba(28, 24, 20, 0.18);
}
.btn:hover {
  background: var(--accent); color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(168, 71, 45, 0.28);
}

/* ── Trust-Row unter dem Button ─────────────────────────────── */
.cta-trust {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 18px;
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.cta-trust span { white-space: nowrap; }
.cta-trust span::before {
  content: '✓ '; color: var(--accent); font-weight: 700;
}

/* ── Light Closing CTA (nach Reviews) ───────────────────────── */
.final-cta-light {
  margin: 36px 0 32px;
  padding: 26px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-align: center;
}
.final-cta-light p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; line-height: 1.3;
  color: var(--ink);
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  .final-cta-light p { font-size: 26px; }
}
.btn-light {
  display: inline-block;
  background: var(--ink); color: white;
  padding: 14px 30px; border-radius: 2px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
}
.btn-light:hover {
  background: var(--accent); color: white;
  transform: translateY(-1px);
}
.final-cta-light .small-trust {
  margin-top: 12px;
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.final-cta .small {
  margin-top: 14px; font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
}

/* ── PS-Sektion (v2) ─────────────────────────────────────────── */
.ps {
  margin: 32px 0 16px;
  font-family: 'Lora', serif; font-size: 16px; line-height: 1.65;
  color: var(--ink-soft);
  padding-left: 20px; border-left: 3px solid var(--accent-soft);
}
.ps b { color: var(--ink); font-weight: 600; }
.ps-label {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-right: 4px;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  text-align: center; padding: 32px 16px 48px;
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: var(--ink-faint); border-top: 1px solid var(--rule);
  background: var(--bg-soft);
}
footer a { color: var(--ink-soft); text-decoration: underline; }
footer p { margin-bottom: 6px; }
