/* HUNTWORKER – Vakanzkosten-Rechner (Cost of Vacancy)
   Gemeinsam genutzt von /tarife und /rechner/vakanzkosten, Logik: js/vakanzrechner.js */
.cov-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  margin-top: 48px;
}
.cov-inputs { padding: 40px 44px; display: grid; gap: 30px; }
.cov-field { display: grid; gap: 12px; }
.cov-field .cov-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.cov-field .cov-label strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
}
.cov-field .cov-label .cov-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--teal-dark);
  white-space: nowrap;
}
.cov-field .cov-hint { font-size: 13px; color: var(--gray-light); margin-top: -4px; }
.cov-field .cov-hint a { color: var(--teal-dark); font-weight: 600; }
.cov-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--teal-tint);
  outline: none;
}
.cov-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(44,58,61,0.25);
  cursor: pointer;
}
.cov-range::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(44,58,61,0.25);
  cursor: pointer;
}
.cov-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cov-seg label {
  display: block;
  text-align: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--gray);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  line-height: 1.3;
}
.cov-seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.cov-seg label:hover { border-color: var(--teal); }
.cov-seg input:checked + label,
.cov-seg label.is-active {
  border-color: var(--teal);
  background: var(--teal-tint);
  color: var(--teal-ink);
}
.cov-result {
  background: linear-gradient(150deg, var(--teal-ink) 0%, var(--teal-dark) 100%);
  color: #fff;
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.cov-result .cov-r-kick {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.cov-result .cov-total {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -1.5px;
}
.cov-result .cov-total-sub { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.cov-result .cov-perday {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
  margin-top: 4px;
}
.cov-result .cov-perday b { font-family: var(--font-head); font-size: 22px; }
.cov-result .cov-perday span { font-size: 14px; color: rgba(255,255,255,0.82); }
.cov-result .btn { margin-top: 20px; width: 100%; background: var(--orange); color: #fff; }
.cov-result .btn:hover { background: var(--orange-dark); }
.cov-howto-wrap { text-align: center; margin-top: 22px; }
.cov-howto-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--teal-ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.cov-howto-btn:hover { border-color: var(--teal); background: var(--teal-tint); }
.cov-howto-btn svg { width: 17px; height: 17px; }
.cov-disclaimer {
  max-width: 760px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.6;
}
.cov-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28,38,40,0.55);
  backdrop-filter: blur(3px);
}
.cov-modal.is-open { display: flex; }
.cov-modal-box {
  background: #fff;
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(28,38,40,0.32);
  position: relative;
}
.cov-modal-head {
  padding: 28px 30px 18px;
  border-bottom: 1px solid var(--line);
}
.cov-modal-head .kicker { margin: 0 0 6px; }
.cov-modal-head h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 23px;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.5px;
}
.cov-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cov-modal-close:hover { background: var(--teal); color: #fff; }
.cov-modal-body { padding: 22px 30px 28px; }
.cov-formula {
  background: var(--teal-tint);
  border-radius: 14px;
  padding: 18px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--teal-ink);
  line-height: 1.7;
  text-align: center;
}
.cov-formula b { color: var(--teal-dark); }
.cov-step { margin-top: 20px; }
.cov-step h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 5px;
}
.cov-step p { font-size: 14px; color: var(--gray); line-height: 1.6; margin: 0; }
.cov-example {
  margin-top: 22px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.cov-example .cov-ex-kick {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  display: block;
  margin-bottom: 10px;
}
.cov-ex-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 6px 0;
  color: var(--gray);
}
.cov-ex-row span:last-child { font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.cov-ex-row.cov-ex-total {
  border-top: 1.5px solid var(--line);
  margin-top: 6px;
  padding-top: 12px;
}
.cov-ex-row.cov-ex-total span:last-child { color: var(--teal-dark); font-size: 17px; }
@media (max-width: 820px) {
  .cov-card { grid-template-columns: 1fr; }
  .cov-inputs { padding: 30px 26px; }
  .cov-result { padding: 34px 26px; }
  .cov-result .cov-total { font-size: 42px; }
}
