/* ── Servicefradrag: fælles sektion og mærke for alle sider ── */
.sf-section {
  background: var(--yellow-bg);
  border-top: 1px solid #f0e3a0;
  border-bottom: 1px solid #f0e3a0;
  padding: 5rem 0;
}
.sf-header { max-width: 720px; margin-bottom: 2.5rem; }
.sf-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a6800;
  margin-bottom: 0.6rem;
}
.sf-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 1rem;
}
.sf-title .sf-hl {
  background: var(--yellow);
  padding: 0 0.2em;
}
.sf-lead { color: var(--text-soft); font-size: 1.05rem; line-height: 1.7; margin: 0; }

.sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.sf-card {
  background: #fff;
  border: 1px solid #efe3a3;
  border-radius: 12px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sf-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 1rem;
}
.sf-list, .sf-steps { list-style: none; margin: 0; padding: 0; }
.sf-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
}
.sf-list li:last-child { border-bottom: 0; }
.sf-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.sf-prices { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.sf-prices th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 0.5rem;
}
.sf-prices th:not(:first-child), .sf-prices td:not(:first-child) { text-align: right; }
.sf-prices td { padding: 0.55rem 0; border-top: 1px solid var(--border); color: var(--text); }
.sf-prices td s { color: var(--muted); }
.sf-prices td strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--black);
}
/* Når kortene bruges inde i en artikel (.legal), må artiklens tabelstil ikke slå igennem */
.legal .sf-prices { min-width: 0; font-size: 0.95rem; }
.legal .sf-prices th { background: none; padding: 0 0 0.5rem; border-bottom: 0; }
.legal .sf-prices td { padding: 0.55rem 0; border-bottom: 0; }
.legal .sf-card h3 { margin-top: 0; }
.legal .sf-steps { padding-left: 0; }

.sf-small { font-size: 0.8rem; color: var(--muted); margin: 0.8rem 0 0; line-height: 1.5; }

.sf-steps { counter-reset: sf; }
.sf-steps li {
  counter-increment: sf;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.sf-steps li::before {
  content: counter(sf);
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}

.sf-note { margin: 1.8rem 0 0; font-size: 0.85rem; color: var(--text-soft); }
.sf-note a { color: var(--black); text-decoration: underline; text-decoration-color: var(--yellow-dark); }

/* Lille mærke ved ydelser, der giver fradrag */
.fradrag-tag {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--black);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  text-decoration: none;
}
.fradrag-tag:hover { background: #2a2a2a; }

@media (max-width: 680px) {
  .sf-section { padding: 3.5rem 0; }
}
