/* ==========================================================================
   fielen.de — leistungen.html (seitenspezifische Styles)
   Werte exakt aus design/Leistungen.dc.html
   ========================================================================== */

/* Anker-Ziele unter dem Sticky-Header */
#ki, #schulung, #software, #it { scroll-margin-top: 88px; }

/* ---------- Intro ---------- */
.intro {
  padding-top: 64px;
  padding-bottom: 48px;
}
.intro h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.1;
  margin: 20px 0 16px;
  letter-spacing: -.01em;
}
.intro p {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--c-muted);
  max-width: 640px;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Panels (Weg 1 / Weg 2) ---------- */
.panel-wrap { padding-bottom: 28px; }

.panel {
  border-radius: var(--radius-card-xl);
  padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 48px);
}
.panel--tint { background: var(--c-tint); }
.panel--card {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
}

.panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.panel__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--c-on-tint);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
}
.panel--tint .panel__badge { background: #FFFFFF; }
.panel--card .panel__badge { background: var(--c-tint); }

.panel h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin: 16px 0 14px;
}
.panel__copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.panel__copy p:last-of-type { margin-bottom: 0; }

/* Preis-Box (Weg 2) */
.price-box {
  margin-top: 20px;
  background: var(--c-tint);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.price-box__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  color: var(--c-on-tint);
}
.price-box__note {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-muted);
}

/* Feature-Listen (rechte Spalte) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature {
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.panel--tint .feature { background: #FFFFFF; }
.panel--card .feature {
  background: var(--c-bg);
  border: 1px solid rgba(44, 36, 28, .06);
}
.feature__check {
  color: var(--c-primary);
  font-weight: 800;
  font-size: 16px;
}
.feature__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
}
.feature__text {
  font-size: 14.5px;
  color: var(--c-muted);
  line-height: 1.55;
  margin-top: 3px;
}

/* Praxis-Zeile im Tint-Panel */
.panel__practice {
  border-top: 1px solid rgba(184, 91, 16, .15);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 14.5px;
  color: var(--c-muted);
}
.panel__practice a {
  color: var(--c-on-tint);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Software + IT ---------- */
.duo-grid {
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 20px;
}
.duo-card {
  background: #FFFFFF;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card-xl);
  padding: 38px 40px;
}
.duo-card h2 {
  font-size: 26px;
  margin: 0 0 12px;
}
.duo-card > p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list__item {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.check-list__item .feature__check { font-size: inherit; }
.check-list__label {
  font-size: 14.5px;
  font-weight: 600;
}
.duo-card__practice {
  border-top: 1px solid var(--line-soft);
  margin-top: 22px;
  padding-top: 16px;
  font-size: 14px;
  color: var(--c-muted);
}
.duo-card__practice a {
  color: var(--c-primary);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Ablauf ---------- */
.process { background: var(--c-bg-alt); }
.process__inner {
  padding-top: 64px;
  padding-bottom: 64px;
}
.process h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 10px;
}
.process__lead {
  font-size: 16.5px;
  color: var(--c-muted);
  margin: 0 0 36px;
  max-width: 560px;
  line-height: 1.6;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}
.step {
  background: #FFFFFF;
  border-radius: var(--radius-card-md);
  padding: 26px;
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-tint);
  color: var(--c-on-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.step__num--primary {
  background: var(--c-primary);
  color: #FFFFFF;
}
.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
}

/* ---------- CTA-Banner ---------- */
.cta-wrap {
  padding-top: 64px;
  padding-bottom: 72px;
}
.cta {
  background: var(--c-primary);
  border-radius: var(--radius-card-xl);
  padding: clamp(30px, 5vw, 52px) clamp(24px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta h2 {
  font-size: clamp(25px, 3.6vw, 34px);
  color: #FFFFFF;
  margin: 0 0 10px;
}
.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, .92);
  margin: 0;
  line-height: 1.55;
}
.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta__phone {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
}

@media (max-width: 880px) {
  .cta { grid-template-columns: 1fr; }
  .cta__actions { align-items: flex-start; }
}
