/* ===== DAICA – Jobformular landing page ===== */

:root {
  --navy: #16334a;
  --navy-dark: #10263a;
  --navy-deep: #0c1e2e;
  --pink: #e8c4d8;
  --pink-hover: #f0d3e2;
  --pink-text: #cf9fc0;
  --ink: #22303c;
  --muted: #5b6b78;
  --line: #e3e8ee;
  --bg-tint: #f5f2f4;
  --white: #ffffff;
  --error: #d64545;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(12, 30, 46, 0.16);
  --font-head: "Bree Serif", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--pink { background: var(--pink); color: var(--navy-dark); }
.btn--pink:hover { background: var(--pink-hover); box-shadow: 0 8px 20px rgba(232, 196, 216, 0.35); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--small { padding: 10px 22px; font-size: 14px; }

/* ===== Nav ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.nav__links a:hover { color: var(--white); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}
.nav__phone .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ed957;
  box-shadow: 0 0 0 3px rgba(126, 217, 87, 0.25);
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(232, 196, 216, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 90px;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink-text);
  margin-bottom: 18px;
}
.eyebrow--dark { color: #b06a97; }
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 22px;
}
.hero__lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.hero__badges svg { width: 18px; height: 18px; color: var(--pink-text); flex-shrink: 0; }

/* Formularkortet i hero (klonet fra bunden) */
.hero__form { scroll-margin-top: 90px; }
.hero__form .form-card { padding: 34px 32px 38px; }
.hero__form .form-card__title { font-size: 23px; }
.hero__form .form-card__title span { display: block; font-size: 15px; margin-top: 4px; }
.hero__form .choice-grid { grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); }
.hero__form .choice__sub { font-size: 11px; margin-top: -6px; }
.hero__form .choice-grid--city { grid-template-columns: repeat(2, 1fr); }
.hero__form .choice-grid--city .choice { padding: 14px 10px 12px; gap: 8px; }
.hero__form .choice-grid--city .choice__icon { width: 36px; height: 36px; }
.hero__form .choice-grid--city .choice__icon svg { width: 18px; height: 18px; }
.hero__form .choice { padding: 20px 10px 16px; }
.hero__form .choice__icon { width: 48px; height: 48px; }
.hero__form .choice__icon svg { width: 23px; height: 23px; }
.hero__form .choice__label { font-size: 13.5px; }
.hero__form .field-grid { grid-template-columns: 1fr; gap: 16px; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section--tint { background: var(--bg-tint); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--navy);
  margin-bottom: 16px;
}
.section__lead { max-width: 700px; color: var(--muted); font-size: 16.5px; margin-bottom: 44px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.two-col--center { align-items: center; gap: 56px; }
.two-col p { color: var(--muted); margin-bottom: 16px; }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.info-card--accent { background: var(--navy); border-color: var(--navy); color: var(--white); }
.info-card h3 { font-size: 21px; margin-bottom: 18px; color: var(--navy); }
.info-card--accent h3 { color: var(--pink); }

.check-list { list-style: none; display: grid; gap: 13px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--muted);
}
.info-card--accent .check-list li { color: rgba(255, 255, 255, 0.85); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pink) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2316334a" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/10px no-repeat;
}

/* ===== Perks ===== */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perk {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.perk:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(12, 30, 46, 0.09); }
.perk__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--pink);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.perk__icon svg { width: 26px; height: 26px; }
.perk h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.perk p { font-size: 15px; color: var(--muted); }

/* ===== Sabbatår ===== */
#sabbataar .two-col {
  align-items: stretch;
  grid-template-columns: 1.1fr 1fr;
}
.sabbat__img { position: relative; height: 100%; min-height: 420px; }
.sabbat__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(12, 30, 46, 0.18);
}
@media (max-width: 940px) {
  #sabbataar .two-col { grid-template-columns: 1fr; }
  .sabbat__img { min-height: 0; height: auto; }
  .sabbat__img img { position: static; height: auto; }
}
.sabbat__badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--pink);
  color: var(--navy-dark);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(12, 30, 46, 0.28);
}
.sabbat__badge svg { width: 16px; height: 16px; }
.sabbat__cta { margin-top: 26px; }

/* ===== Udtalelser – billedfokuserede kort med modal ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 20px;
}
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(12, 30, 46, 0.09); }
.testimonial > img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}
.testimonial > strong {
  font-size: 15.5px;
  color: var(--navy);
  line-height: 1.3;
}
.testimonial__role {
  font-size: 13px;
  font-weight: 600;
  color: #b06a97;
  margin-bottom: 12px;
}
.testimonial__teaser {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.testimonial__more {
  margin-top: auto;
  background: none;
  border: none;
  font: 600 13.5px var(--font-body);
  color: #b06a97;
  cursor: pointer;
  padding: 4px 8px;
}
.testimonial__more:hover { text-decoration: underline; }

/* Modal */
.t-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.t-modal[hidden] { display: none; }
.t-modal__backdrop { position: absolute; inset: 0; background: rgba(12, 30, 46, 0.6); }
.t-modal__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 40px 38px 34px;
  max-width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  animation: stepIn 0.25s ease;
}
.t-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.t-modal__close:hover { color: var(--navy); }
.t-modal__img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.t-modal__name { font-size: 18px; color: var(--navy); }
.t-modal__role { font-size: 13.5px; font-weight: 600; color: #b06a97; margin-bottom: 18px; }
.t-modal__text p { font-size: 15px; color: var(--muted); margin-bottom: 14px; text-align: left; }
.t-modal__text p:last-child { margin-bottom: 0; }

.quote-card {
  background: var(--bg-tint);
  border-left: 4px solid var(--pink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 34px 36px;
}
.quote-card p {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 14px;
}
.quote-card__source { font-size: 14px; font-weight: 600; color: #b06a97; letter-spacing: 0.06em; }

/* ===== Apply section ===== */
.apply {
  background:
    radial-gradient(700px 400px at 15% 110%, rgba(232, 196, 216, 0.12), transparent 60%),
    linear-gradient(200deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 100px 0;
}
.apply__inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.form-card {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 44px 48px 48px;
}
/* Notifikations-badge: "Det tager kun 1 minut" */
.form-card__notif {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  background: var(--pink);
  color: var(--navy-dark);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(12, 30, 46, 0.12);
}
.notif-icon { display: grid; place-items: center; }
.notif-icon svg { width: 17px; height: 17px; }
.form-card__title {
  font-size: 27px;
  color: var(--navy);
  margin-bottom: 26px;
}
.form-card__title span { font-weight: 400; font-size: 19px; color: var(--muted); font-family: var(--font-body); }

/* Progress */
.progress { margin-bottom: 34px; }
.progress__meta {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 9px;
}
.progress__meta .progress__pct { color: #b06a97; }
.progress__track { height: 7px; background: #edf0f3; border-radius: 999px; overflow: hidden; }
.progress__bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-text), var(--pink));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Steps */
fieldset.step { border: 0; }
.step { display: none; }
.step.is-active { display: block; animation: stepIn 0.35s ease; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
.step__title { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.step__hint { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }

/* Choice cards */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px 22px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.choice:hover {
  border-color: var(--pink-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 30, 46, 0.08);
}
.choice.is-selected {
  border-color: #b06a97;
  background: #fdf7fb;
  box-shadow: 0 10px 24px rgba(176, 106, 151, 0.14);
}
.choice__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.choice.is-selected .choice__icon { background: var(--pink); color: var(--navy-dark); }
.choice__icon svg { width: 27px; height: 27px; }
.choice__label { font-size: 15px; font-weight: 600; color: var(--ink); text-align: center; }
.choice__sub {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  margin-top: -8px;
}

/* Afdelingsvalg – kompaktere kort, så alle seks kan være der */
.choice-grid--city { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.choice-grid--city .choice { padding: 20px 12px 16px; gap: 10px; }
.choice-grid--city .choice__icon { width: 44px; height: 44px; }
.choice-grid--city .choice__icon svg { width: 21px; height: 21px; }
.choice-grid--city .choice__label { font-size: 14px; }

/* Fields */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-bottom: 30px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field label em { color: var(--error); font-style: normal; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font: 400 15px/1.5 var(--font-body);
  color: var(--ink);
  background: #fafbfc;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #b06a97;
  box-shadow: 0 0 0 3px rgba(176, 106, 151, 0.13);
  background: var(--white);
}
.field.has-error input, .field.has-error .file-drop { border-color: var(--error); }
.field__error {
  display: none;
  font-size: 12.5px;
  color: var(--error);
  margin-top: 6px;
}
.field.has-error .field__error { display: block; }

/* File inputs */
.file-drop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: #fafbfc;
  border: 1.5px dashed #c7d0d9;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.file-drop:hover { border-color: #b06a97; background: #fdf7fb; }
.file-drop svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.file-drop__text {
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-drop.has-file { border-style: solid; border-color: #b06a97; background: #fdf7fb; }
.file-drop.has-file svg, .file-drop.has-file .file-drop__text { color: var(--navy); font-weight: 600; }

.btn--block { width: 100%; padding: 16px; font-size: 16px; }
.btn--block[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Back button */
.step-nav { margin-top: 26px; }
.step-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font: 600 14px var(--font-body);
  color: var(--muted);
  cursor: pointer;
  padding: 6px 4px;
}
.step-nav__back:hover { color: var(--navy); }
.step-nav__back[hidden] { display: none; }
.step-nav__back svg { width: 16px; height: 16px; }

/* Success */
.step--success { text-align: center; padding: 30px 10px 10px; }
.success__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--navy-dark);
  display: grid;
  place-items: center;
}
.success__icon svg { width: 34px; height: 34px; }
.step--success h3 { font-size: 26px; color: var(--navy); margin-bottom: 12px; }
.step--success p { color: var(--muted); font-size: 15.5px; }

/* Trust row */
.apply__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin-top: 30px;
}
.apply__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  font-weight: 500;
}
.apply__trust svg { width: 16px; height: 16px; color: var(--pink-text); }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); padding: 44px 0; }
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}
.footer__logo { display: block; margin-bottom: 12px; }
.footer__logo img { height: 24px; width: auto; margin: 0 auto; display: block; }
.footer__inner a { color: var(--pink-text); text-decoration: none; font-weight: 600; }
.footer__inner p { margin-bottom: 8px; }
.footer__offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.footer__offices strong {
  display: block;
  color: var(--pink-text);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.footer__offices span { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 720px) {
  .footer__offices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .footer__offices { grid-template-columns: 1fr; }
}

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; padding: 64px 24px 72px; gap: 44px; }
  .two-col { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .form-card { padding: 32px 22px 36px; }
  .field-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .nav__phone { display: none; }
}
@media (max-width: 420px) {
  .choice-grid { grid-template-columns: 1fr; }
}
