/* ══════════════════════════════════════════════════════════
   Pflegediener24h — Unterseiten (Editorial V3): Kosten & Leistungen
   Ergänzt css/editorial-v3.css um seitenspezifische Bausteine:
   kompakter Seitenkopf, Preiskarten, Förder-Panel, Rechenbeispiel,
   Aufgaben-Karten, ausgeschlossene Leistungen, Tagesablauf.
   ══════════════════════════════════════════════════════════ */

/* ── Seitenkopf ── */
.k-hero { padding-bottom: 0; }
.k-hero-inner { max-width: 860px; }
.k-hero h1 { font-size: clamp(2.5rem, 4.8vw, 3.9rem); }

/* ── Preiskarten ── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 30px 30px; border-radius: var(--radius-3xl);
  background: #fff; border: 1px solid var(--line-200); box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--edln-blue); }
.price-card.is-featured { background: var(--tint-blue); border-color: var(--edln-blue); }
.price-card.is-featured:hover { background: var(--tint-blue-h); }
.price-badge {
  position: absolute; top: 22px; right: 22px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--highlight); color: #fff;
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  box-shadow: 0 6px 14px -6px rgba(224, 116, 42, 0.55);
}
.price-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.24rem; color: var(--ink-900); }
.price-tag { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.price-tag .val { font-family: var(--font-heading); font-weight: 700; font-size: 2.35rem; line-height: 1; color: var(--navy-900); font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.price-tag .per { font-size: var(--text-sm); font-weight: 600; color: var(--text-muted); }
.price-sub { margin-top: 10px; font-size: var(--text-sm); color: var(--text-muted); line-height: var(--leading-relaxed); }
.pfeat { list-style: none; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--edln-blue); display: grid; gap: 11px; }
.price-card:not(.is-featured) .pfeat { border-top-color: var(--line-200); }
.pfeat li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--text-sm); font-weight: 600; color: var(--text-strong); }
.pfeat li i, .pfeat li svg { width: 17px; height: 17px; color: var(--navy-700); flex-shrink: 0; margin-top: 2px; }
.pfeat li.dim { color: var(--text-muted); font-weight: 500; }
.pfeat li.dim i, .pfeat li.dim svg { color: var(--line-300); }
.price-note { margin-top: 26px; font-size: var(--text-sm); color: var(--text-muted); line-height: var(--leading-relaxed); max-width: 78ch; }

/* ── Förder-Panel im dunklen Band ── */
.fund-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-2xl); padding: clamp(22px, 2.6vw, 30px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.fund-panel .fp-label { display: block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: rgba(210, 224, 239, 0.65); margin-bottom: 14px; }
.fund-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; border-radius: var(--radius-lg); margin-top: 9px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
}
.fund-row:first-of-type { margin-top: 0; }
.fund-row span { font-size: var(--text-sm); font-weight: 600; color: var(--ink-300); }
.fund-row strong { font-family: var(--font-heading); font-weight: 700; font-size: 1.14rem; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fund-panel .fp-note { display: block; margin-top: 14px; font-size: var(--text-xs); color: rgba(210, 224, 239, 0.55); }

/* ── Rechenbeispiel ── */
.calc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.calc-copy { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.calc-copy .chap-kicker { margin-bottom: 0; }
.calc-copy h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); letter-spacing: var(--tracking-tight); }
.calc-copy .owner-box { margin-top: 14px; }
.calc-card {
  background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-3xl);
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-card);
}
.calc-card h3 { font-size: 1.3rem; }
.calc-card .cc-sub { margin: 6px 0 22px; font-size: var(--text-sm); color: var(--text-muted); }
.calc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 20px; border-radius: var(--radius-lg); margin-bottom: 10px;
  background: var(--tint-gray);
}
.calc-row span { font-size: 0.98rem; color: var(--text-strong); }
.calc-row strong { font-family: var(--font-heading); font-weight: 700; font-size: 1.12rem; color: var(--ink-900); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row.neg { background: var(--tint-blue); }
.calc-row.neg strong { color: var(--navy-800); }
.calc-total {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding: 20px 24px; border-radius: var(--radius-xl);
  background: var(--navy-800); color: #fff;
  box-shadow: 0 18px 36px -18px rgba(42, 106, 172, 0.6);
}
.calc-total span { font-family: var(--font-heading); font-weight: 600; font-size: 1.06rem; }
.calc-total strong { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-note { margin-top: 16px; font-size: var(--text-xs); color: var(--text-muted); line-height: var(--leading-relaxed); }

/* ── Aufgaben-Karten (Leistungen) ── */
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.task-card {
  background: #fff; border: 1px solid var(--line-200); border-radius: var(--radius-3xl);
  padding: 28px 28px 26px; box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
}
.task-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--edln-blue); }
.task-card h3 { font-size: 1.32rem; margin-top: 16px; }
.task-card > p { margin-top: 8px; color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); }
.task-card .pfeat { border-top-color: var(--line-200); margin-top: 18px; padding-top: 18px; }

/* ── Ausgeschlossene Leistungen ── */
.ex-stack { display: grid; gap: clamp(16px, 2vw, 22px); }
.ex-card { background: var(--tint-gray); border-radius: var(--radius-3xl); padding: 28px 30px; }
.ex-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ex-ic {
  width: 46px; height: 46px; border-radius: var(--radius-xl); flex-shrink: 0;
  background: var(--clay-a08); color: var(--clay-500);
  display: flex; align-items: center; justify-content: center;
}
.ex-ic i, .ex-ic svg { width: 21px; height: 21px; }
.ex-label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--clay-500); }
.ex-card h3 { font-size: 1.32rem; margin-top: 16px; }
.ex-card > p { margin-top: 8px; color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); }
.ex-alt { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--tint-blue); }
.ex-alt i, .ex-alt svg { width: 18px; height: 18px; color: var(--navy-700); flex-shrink: 0; margin-top: 2px; }
.ex-alt span { font-size: var(--text-sm); color: var(--text-strong); line-height: var(--leading-relaxed); }
.ex-alt strong { color: var(--ink-900); }

/* ── Tagesablauf-Zeilen im dunklen Band ── */
.day-row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: baseline;
  padding: 12px 16px; border-radius: var(--radius-lg); margin-top: 9px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
}
.day-row strong { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; }
.day-row span { font-size: var(--text-sm); font-weight: 600; color: var(--ink-300); }

/* ── Weiter-Karte (Querverweis) ── */
.next-card {
  background: var(--tint-blue); border: 1px solid var(--edln-blue); border-radius: var(--radius-3xl);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.next-card h3 { font-size: 1.5rem; }
.next-card > p { margin-top: 10px; color: var(--text-muted); line-height: var(--leading-relaxed); }
.next-card .pfeat { border-top: none; padding-top: 0; margin-top: 18px; }
.next-card .ebtn { margin-top: 26px; }

/* ── Über uns: Team-Bild ── */
.about-fig { margin: 0; }
.about-fig .ed-frame image-slot { display: block; width: 100%; height: 460px; }

/* ── Legal-Seiten (Impressum, Datenschutz, Datenverarbeitung) ── */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 46px 0 14px; }
.legal > h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.legal p { color: var(--text-muted); line-height: var(--leading-relaxed); margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; color: var(--text-muted); line-height: var(--leading-relaxed); display: grid; gap: 6px; }
.legal ul li::marker { color: var(--navy-600); }
.legal strong { color: var(--text-strong); }
.legal a { color: var(--navy-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-card { background: var(--tint-gray); border-radius: var(--radius-2xl); padding: 24px 28px; margin: 0 0 18px; }
.legal-card p { margin: 0; color: var(--text-strong); line-height: var(--leading-relaxed); }
.legal-card p + p { margin-top: 10px; }
.legal-note { display: flex; align-items: flex-start; gap: 10px; background: var(--tint-blue); border-radius: var(--radius-lg); padding: 14px 16px; margin: 0 0 14px; }
.legal-note i, .legal-note svg { width: 18px; height: 18px; color: var(--navy-700); flex-shrink: 0; margin-top: 2px; }
.legal-note span { font-size: var(--text-sm); color: var(--text-strong); line-height: var(--leading-relaxed); }
.legal-meta { font-size: var(--text-sm); color: var(--text-muted); margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line-200); }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 940px) {
  .calc-grid { grid-template-columns: 1fr; }
  .task-grid { grid-template-columns: 1fr; }
  .about-fig .ed-frame image-slot { height: 340px; }
}
