/* ===== Article + FAQ styles ===== */
/* Used by /de/blog/<slug>/, /en/blog/<slug>/ and /de|en/faq/ */

/* Production www.slow.health fonts (DM Serif Display + DM Sans).
   @import must stay at the very top of the file. Re-skin block is at EOF. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.article-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
.article-header .eyebrow { margin-bottom: 20px; }
.article-header h1 {
  font-family: 'Kalice', serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--ink);
}
.article-header h1 em { color: var(--tropical); font-style: italic; }
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.article-byline a { color: var(--ink-2); }
.article-byline a:hover { color: var(--tropical); }

.article-body { color: var(--ink-2); }
.article-body p {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 24px;
}
.article-body h2 {
  font-family: 'Kalice', serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 56px 0 20px;
  color: var(--ink);
}
.article-body h3 {
  font-family: 'Kalice', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: var(--ink);
}
.article-body a {
  color: var(--tropical);
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 123, 92, 0.3);
  transition: border-color 0.15s ease;
}
.article-body a:hover { border-bottom-color: var(--tropical); }
.article-body ul, .article-body ol {
  font-size: 18px;
  line-height: 1.65;
  padding-left: 22px;
  margin: 0 0 24px;
}
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 2px solid var(--tropical);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  font-family: 'Kalice', serif;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
}
.article-body figure { margin: 32px 0; }
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.article-body figcaption {
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.article-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  background: var(--almond-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ===== FAQ block (used on /faq/ pages and at the end of articles) ===== */
.faq {
  margin-top: 64px;
  padding: 48px;
  background: var(--almond-soft);
  border-radius: 12px;
}
.faq h2 {
  font-family: 'Kalice', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  color: var(--ink);
}
.faq dl { margin: 0; }
.faq dt {
  font-family: 'Kalice', serif;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 32px 0 12px;
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Collapsible variant (preferred for /faq/ pages) */
.faq .faq-list { margin: 0; }
.faq details {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
}
.faq details:first-child {
  border-top: none;
  padding-top: 0;
}
.faq summary {
  font-family: 'Kalice', serif;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  transition: color 0.15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-3);
  flex-shrink: 0;
  line-height: 1;
  transform: translateY(2px);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--tropical); }
.faq summary:hover::after { color: var(--tropical); }
.faq details > p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.faq details > p + p { margin-top: 12px; }

/* ===== Magazine listing — editorial cards ===== */
.blog-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.blog-card {
  display: block;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.25s ease;
}
.blog-card:first-child { padding-top: 0; }
.blog-card:hover { padding-left: 8px; }
.blog-card-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.blog-card-eyebrow time { color: var(--ink-3); }
.blog-card-eyebrow .dot { opacity: 0.5; }
.blog-card-title {
  font-family: 'Kalice', serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--ink);
  max-width: 22ch;
}
.blog-card-title em { color: var(--tropical); font-style: italic; }
.blog-card:hover .blog-card-title { color: var(--tropical); }
.blog-card-excerpt {
  font-family: 'Suisse Intl', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 56ch;
}
.blog-card-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tropical);
}
.blog-card-link .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.25s ease;
}
.blog-card:hover .blog-card-link .arrow { transform: translateX(4px); }

@media (max-width: 768px) {
  .blog-card { padding: 32px 0; }
  .blog-card-title { font-size: 26px; }
  .blog-card-excerpt { font-size: 15px; }
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin: 56px 0 24px;
  text-transform: uppercase;
}
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--ink); }

@media (max-width: 768px) {
  .article { padding: 48px 20px 72px; }
  .article-header h1 { font-size: 36px; }
  .article-body p, .article-body ul, .article-body ol { font-size: 16px; }
  .article-body h2 { font-size: 28px; margin-top: 40px; }
  .article-body h3 { font-size: 22px; margin-top: 32px; }
  .faq { padding: 28px; }
  .faq dt,
  .faq summary { font-size: 18px; }
  .faq summary::after { font-size: 20px; }
}

figure.hero {
  margin: 0 0 2.4em;
  line-height: 0;
}

figure.hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* ===== Magazine comments ===== */
.comments {
  max-width: 760px;
  margin: 80px auto 0;
  padding: 56px 0 0;
  border-top: 1px solid var(--rule);
}
.comments-heading {
  font-family: 'Kalice', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  color: var(--ink);
}
.comments-loading,
.comments-empty,
.comments-error {
  font-size: 16px;
  color: var(--ink-3);
  margin: 0 0 40px;
}
.comments-error { color: #a73a2c; }

.comments-list {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
}
.comment {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.comments-list > .comment:first-child { border-top: 0; padding-top: 0; }
.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.comment-author { color: var(--ink-2); }
.comment-dot { opacity: 0.5; }
.comment-body {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}
.comment-body p { margin: 0 0 12px; }
.comment-body p:last-child { margin-bottom: 0; }
.comment-actions { margin-top: 12px; }
.comment-reply-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tropical);
  cursor: pointer;
}
.comment-reply-btn:hover { text-decoration: underline; }

.comment-replies {
  list-style: none;
  margin: 16px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--almond);
}
.comment-replies .comment { padding: 16px 0; border-top: 1px solid var(--rule); }
.comment-replies .comment:first-child { border-top: 0; padding-top: 0; }

.comments-form {
  background: var(--almond-soft);
  padding: 32px;
  border-radius: 6px;
}
.comments-form-heading {
  font-family: 'Kalice', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}
.comments-form-intro {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 24px;
}
.comments-form-replying {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 20px;
  padding: 10px 14px;
  background: rgba(6, 42, 50, 0.06);
  border-radius: 4px;
}
.comments-form-cancel-reply {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--tropical);
  cursor: pointer;
}
.comments-field {
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.comments-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.comments-field input,
.comments-field textarea {
  font-family: 'Suisse Intl', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
}
.comments-field textarea { resize: vertical; min-height: 120px; }
.comments-field input:focus,
.comments-field textarea:focus {
  outline: 0;
  border-color: var(--tropical);
}
.comments-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.comments-form-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.comments-submit { cursor: pointer; }
.comments-submit[disabled] { opacity: 0.6; cursor: wait; }
.comments-form-feedback {
  font-size: 14px;
  color: var(--ink-3);
}
.comments-form-feedback.is-success { color: var(--tropical); }
.comments-form-feedback.is-error { color: #a73a2c; }

@media (max-width: 768px) {
  .comments { margin-top: 48px; padding-top: 40px; }
  .comments-heading { font-size: 26px; }
  .comments-form { padding: 24px; }
  .comment-replies { padding-left: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   www.slow.health PRODUCTION RE-SKIN
   Scope: nur Content-Seiten (FAQ, Magazin-Listing, Artikel) + Publish-
   Templates — nur sie laden article.css. Die Staging-SPA-Home lädt diese
   Datei NICHT und bleibt im Outer-Space-Theme. Kompletter Re-Skin in
   diesem einen Block, damit supabrand-Publishes (fügen nur HTML hinzu)
   minimal kollidieren. Palette/Fonts gespiegelt aus dem Prod-Theme
   (assets/css/slow-theme.css, Repo Slow-waitinglist): Forest/Cream +
   DM Serif Display / DM Sans.
   ═══════════════════════════════════════════════════════════════════════ */

/* --- Farb-Token auf body-Scope: überschreibt die site.css :root-Werte nur
       auf Content-Seiten (kaskadiert in Nav/Footer/Sub-Hero/FAQ/Cards) --- */
body {
  --paper: #FDFBF7;          /* warm-white — Seiten-Hintergrund      */
  --offwhite: #FDFBF7;
  --outer-space: #2F3E2E;    /* forest — dunkle Flächen (Footer)      */
  --ink: #2F3E2E;            /* forest — Überschriften (wie Prod content-header) */
  --ink-2: #5A5A5A;          /* text-secondary — Fließtext            */
  --ink-3: #8A8A8A;          /* text-light — gedämpft (Byline/Breadcrumb) */
  --tropical: #2F3E2E;       /* Akzent → forest (Links, Bullets, Read-more) */
  --almond: #F5F0E8;         /* cream — Text auf dunkel / Avatar-BG   */
  --almond-soft: #F5F0E8;    /* cream — Panels (FAQ-BG, Code, Formular) */
  --rule: rgba(47, 62, 46, 0.12);   /* forest-getönte Trennlinien     */
  --yellow-green: #A8B89E;   /* sage-light — Akzent auf dunkel        */
  --sage: #7A8B6F;
  --terracotta: #C4703F;
  --soft-rose: #D4A59A;
  color: #2C2C2C;            /* charcoal — Basistext                  */
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Serif-Headings → DM Serif Display --- */
h1, h2, h3, h4,
.sub-hero h1,
.article-header h1, .article-body h2, .article-body h3, .article-body blockquote,
.faq h2, .faq dt, .faq summary,
.blog-card-title,
.comments-heading, .comments-form-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
}

/* --- em-Akzente in Headings: Terracotta→Soft-Rose-Verlauf (wie Prod hero em) --- */
.sub-hero h1 em, .article-header h1 em,
.article-body h2 em, .article-body h3 em,
.blog-card-title em, .faq summary em,
h1 em, h2 em {
  font-style: normal;
  color: var(--terracotta);                 /* Fallback ohne background-clip */
  background: linear-gradient(135deg, var(--terracotta), var(--soft-rose));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Sans-Elemente inkl. geteilter Chrome-Selektoren aus site.css → DM Sans --- */
.nav-links a, .lang-toggle, .btn,
.foot-col h5,
.blog-card-excerpt,
.comments-field input, .comments-field textarea {
  font-family: 'DM Sans', -apple-system, sans-serif;
}

/* --- Label/Eyebrow (ehem. JetBrains Mono) → DM Sans; Overline-Look
       (uppercase + letter-spacing) bleibt aus den Basisregeln erhalten --- */
.article-byline, .article-body figcaption,
.blog-card-eyebrow, .blog-card-link, .breadcrumbs,
.comment-meta, .comment-reply-btn, .comments-field label,
.comments-form-replying, .foot-brand .email, .foot-base {
  font-family: 'DM Sans', -apple-system, sans-serif;
}

/* Eyebrows/Breadcrumbs in Sage (Pendant zum Prod-.overline) */
.eyebrow, .blog-card-eyebrow, .breadcrumbs { color: var(--sage); }

/* --- Chrome-Literale aus site.css angleichen (nicht var-getrieben) --- */
.nav {
  background: rgba(253, 251, 247, 0.85);
  border-bottom-color: rgba(47, 62, 46, 0.06);
}
.article-body a { border-bottom-color: rgba(47, 62, 46, 0.3); }
.comments-form-replying { background: rgba(47, 62, 46, 0.06); }

/* Footer-Textfarben (almond-Literale → warm-weiße Tints wie Prod-Footer auf Forest) */
.foot-brand p     { color: rgba(245, 240, 232, 0.7); }
.foot-col a       { color: rgba(245, 240, 232, 0.82); }
.foot-col a:hover { color: #FFFFFF; }
.foot-col h5      { color: rgba(245, 240, 232, 0.55); }
.foot-base        { color: rgba(245, 240, 232, 0.5); }
.foot-brand .email { color: #F5F0E8; }