/* ============================================================
   TW Projects — Leistungen subpages
   Reading layout on the shared design system (core.css + sections.css).
   Calm starfield background, editorial prose, FAQ, cross-links.
   ============================================================ */

.lpage main { padding: clamp(120px, 17vh, 200px) 0 40px; }
/* only the reading column narrows — header/footer keep the full-width container */
.lpage main .container { max-width: 820px; }

/* ---------- Page head ---------- */
.lpage .page-head { margin-bottom: clamp(40px, 7vw, 76px); }
.lpage .page-head .mono-label { display: inline-block; margin-bottom: 24px; }
.lpage h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem); line-height: 1.0;
  letter-spacing: -0.03em; font-weight: 500; margin: 0;
}
.lpage .page-head .lede { margin-top: 26px; }

/* ---------- Prose ---------- */
.lpage .prose .sec { margin-top: clamp(40px, 6vw, 72px); }
.lpage .prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 500; letter-spacing: -0.02em;
  margin: 0 0 20px; padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line);
}
.lpage .prose p { color: var(--fg-2); margin: 0 0 16px; line-height: 1.72; font-size: 1.05rem; }
.lpage .prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color 0.3s var(--ease); }
.lpage .prose a:hover { border-color: var(--accent); }
.lpage .prose ul { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 13px; }
.lpage .prose li { color: var(--fg-2); line-height: 1.6; padding-left: 26px; position: relative; }
.lpage .prose li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent);
}
.lpage .prose strong { color: var(--fg); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-block { margin-top: clamp(56px, 8vw, 96px); }
.faq-block > h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 8px;
}
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item summary {
  cursor: pointer; color: var(--fg); font-weight: 500; font-size: 1.1rem;
  list-style: none; padding-right: 34px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: -2px;
  color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--fg-2); margin: 14px 0 0; padding-right: 34px; line-height: 1.68; }

/* ---------- CTA ---------- */
.lcta { margin-top: clamp(60px, 8vw, 100px); padding: clamp(30px, 4vw, 48px); border-radius: 20px; }
.lcta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 14px; }
.lcta p { color: var(--fg-2); margin: 0 0 26px; max-width: 48ch; line-height: 1.6; }

/* ---------- Cross-links ---------- */
.next-block { margin-top: clamp(48px, 7vw, 80px); padding-top: 34px; border-top: 1px solid var(--line); }
.next-label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 20px; display: block;
}
.next-link {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 30px 10px 0;
  font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.04em; color: var(--accent);
  border-bottom: 1px solid var(--line-2); padding-bottom: 5px; text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.next-link:hover { color: var(--accent-bright); border-bottom-color: var(--accent); }

/* ---------- Case-study stat tiles ---------- */
.case-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 36px; }
.case-stat { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg-base) 60%, transparent); display: flex; flex-direction: column; gap: 8px; position: relative; }
.case-stat-val { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; color: var(--accent); }
.case-stat-lbl { font-size: 0.82rem; color: var(--fg-2); line-height: 1.4; }
.case-stat.is-est .case-stat-val { color: var(--fg); }
.case-stat.is-est::after { content: "\2248 Sch\00e4tzung"; position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }

/* ---------- Transparency / assumptions note ---------- */
.assump { margin-top: clamp(40px, 6vw, 64px); padding: 22px 24px; border-radius: 14px; border: 1px dashed var(--line-2); background: color-mix(in oklab, var(--bg-base) 40%, transparent); }
.assump-label { display: inline-block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.assump p { color: var(--fg-3); font-size: 0.9rem; line-height: 1.65; margin: 0; }
.assump strong { color: var(--fg-2); font-weight: 500; }

/* ---------- Case-study CTA actions ---------- */
.lcta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Case-study client quote (draft until approved) ---------- */
.case-quote { margin: 26px 0 0; padding: 18px 22px; border-left: 2px solid var(--accent); background: color-mix(in oklab, var(--accent) 6%, transparent); border-radius: 0 12px 12px 0; }
.case-quote p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--fg); margin: 0 0 8px; line-height: 1.5; }
.case-quote cite { font-style: normal; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
