/* FK Consulting — Leistungen-Seite specific styles */

/* ---------- Hero (paper, like Über) ---------- */
.leistungen-hero { background: var(--bg); }
.leistungen-hero .page-hero__inner { max-width: 1200px; }
.leistungen-title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  color: var(--accent);
  font-weight: 300;
}

/* ---------- Sektion 2: Services (linksbündige Editorial-Liste) ---------- */
.services {
  padding: clamp(80px, 12vh, 140px) clamp(24px, 4vw, 56px);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.services__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.services__kicker {
  color: var(--muted);
  margin-bottom: clamp(32px, 4vh, 56px);
}
.services__list {
  list-style: none;
  margin: 0; padding: 0;
}
.services__list li {
  display: grid;
  grid-template-columns: clamp(80px, 10vw, 140px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: baseline;
  padding: clamp(40px, 6vh, 64px) 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
}
.services__list li:last-child {
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
}
.services__list .num {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.services__list .body { max-width: 60ch; }
.services__list h3 {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 40, "opsz" 72;
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}
.services__list p {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 30, "opsz" 48;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--muted);
  margin: 0;
  max-width: 44ch;
}

/* ---------- Sektion 3: Timeline (5 Schritte) ---------- */
.timeline-section {
  padding: clamp(80px, 12vh, 140px) clamp(24px, 4vw, 56px);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  background: color-mix(in oklab, var(--bg) 92%, var(--ink) 8%);
}
.timeline-section__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.timeline-section__kicker {
  color: var(--muted);
  margin-bottom: 8px;
}
.timeline-section h2 {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 40, "opsz" 144;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 clamp(40px, 6vh, 72px);
  color: var(--ink);
  max-width: 20ch;
}
.timeline-section h2 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  color: var(--accent);
  font-weight: 300;
}

.timeline-wrap {
  position: relative;
}
.timeline {
  list-style: none;
  margin: 0; padding: 0;
  position: static;
}
.timeline::before {
  /* vertical rule (background track) */
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: clamp(14px, 2vw, 22px);
  width: 2px;
  background: color-mix(in oklab, var(--ink) 10%, transparent);
}
.timeline__fill {
  /* gold progress fill — controlled via JS scroll */
  position: absolute;
  top: 12px;
  left: clamp(14px, 2vw, 22px);
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.15s linear;
  pointer-events: none;
}
.timeline__step {
  display: grid;
  grid-template-columns: clamp(40px, 6vw, 70px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding: clamp(28px, 4vh, 40px) 0;
  position: relative;
}
.timeline__step .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ink) 20%, var(--bg));
  margin-left: clamp(8px, 1.3vw, 16px);
  margin-top: 10px;
  border: 2px solid var(--bg);
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.timeline__step.on .dot {
  background: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
}
.timeline__step h3 {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 40, "opsz" 72;
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink);
}
.timeline__step p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
}

/* ---------- Sektion 4: Warum FK (Manifest-Blöcke) ---------- */
.why {
  padding: clamp(80px, 12vh, 140px) clamp(24px, 4vw, 56px);
}
.why__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.why__kicker {
  color: var(--muted);
  margin-bottom: clamp(40px, 6vh, 72px);
}
.why__list {
  list-style: none;
  margin: 0; padding: 0;
}
.why__block {
  padding: clamp(32px, 5vh, 56px) 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
}
.why__block:last-child {
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
}
.why__block h3 {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 18px;
  color: var(--accent);
}
.why__block p {
  font-family: "Fraunces", serif;
  font-variation-settings: "SOFT" 30, "opsz" 48;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
  max-width: 44ch;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .services__list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 32px 0;
  }
  .services__list .num { font-size: 48px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .timeline__fill { height: 100% !important; }
  .timeline__step .dot {
    background: var(--accent) !important;
  }
}
