/* A Solution – offentlig hjemmeside + rekrutterings-wizard */

/* Brand-font: Manrope (self-hostet, OFL-licens – ingen ekstern CDN/GDPR-tracking) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-brand: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --navy: #213a4b;
  --navy-dark: #16252f;
  --purple: #4b2e83;
  --coral: #e35d52;
  --orange: #ed7d1f;
  --amber: #f2a922;
  --blue: #4db8d6;
  --teal: #719898;

  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-2: #f4f1e9;
  --border: #e7e2d6;
  --text: #2b3a44;
  --muted: #7c8893;

  --radius: 14px;
  --shadow: 0 14px 40px rgba(33, 58, 75, 0.10);
  --shadow-sm: 0 4px 14px rgba(33, 58, 75, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-brand);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--navy); }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.01em; }
img { max-width: 100%; display: block; }
::selection { background: var(--amber); color: var(--navy); }
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.brand .logo-badge { width: 42px; height: 42px; border-radius: 11px; overflow: hidden; flex: none;
  background: #fbf7ee; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.brand .logo-badge img { width: 100%; height: 100%; object-fit: cover; object-position: center 33%;
  transform: scale(2.55); transform-origin: center 33%; }
.brand b { font-size: 18px; letter-spacing: 1.5px; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 3px; }
.nav a { text-decoration: none; color: var(--text); padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); }
.nav a.cta { background: var(--navy); color: #fff; padding: 9px 18px; margin-left: 4px; white-space: nowrap; }
.nav a.cta:hover { background: var(--navy-dark); color: #fff; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; margin-left: 10px; }
.nav-phone .svg-inline { width: 15px; height: 15px; }
.burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--navy); }

/* ---- Sprogvælger (placeret yderst til højre, adskilt fra nav) ---- */
.lang-switch { position: relative; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--border); }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text); font-weight: 700; font-size: 13px;
  padding: 7px 11px; border-radius: 9px; cursor: pointer; line-height: 1; }
.lang-btn:hover { background: var(--surface); border-color: var(--navy); }
.lang-btn svg { width: 18px; height: 18px; flex: none; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; margin: 0; padding: 6px;
  list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); z-index: 60; display: none; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  cursor: pointer; font-size: 14px; color: var(--text); }
.lang-menu li:hover { background: var(--surface-2); }
.lang-menu li.active { background: var(--navy); color: #fff; }
.lang-menu .lang-code { font-weight: 800; font-size: 12px; width: 24px; color: var(--muted); }
.lang-menu li.active .lang-code { color: #cfe0e8; }
.lang-menu .lang-name { font-weight: 600; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 12px 20px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: transform .05s, box-shadow .15s; }
.btn:hover { box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: #d96f12; box-shadow: 0 8px 22px rgba(237,125,31,.28); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---- Hero ---- */
/* Fuld-bredde hero: forside.png (blueprint + logo) som baggrund i hele skærmbredden,
   teksten lagt ovenpå til venstre – som på den gamle hjemmeside. */
.hero { position: relative; overflow: hidden;
  background: #fcf8ec url('/img/forside.png') no-repeat right center; background-size: contain; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #fcf8ec 0%, rgba(252,248,236,.85) 34%, rgba(252,248,236,0) 60%); }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  min-height: min(560px, 66vh); padding: 64px 22px; }
.hero .wrap > div { max-width: 600px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 0 0 18px; color: var(--navy); letter-spacing: -.5px; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 32em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
/* Taleboble-badge: "Dansk firma · dansk kontrakt · danske vilkår" */
.speech-badge { position: relative; display: inline-flex; align-items: center; gap: 9px;
  margin: 14px 0 32px; background: linear-gradient(135deg, var(--navy), #2d4c61); color: #fff;
  font-weight: 700; font-size: 14px; letter-spacing: .2px;
  padding: 10px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(33,58,75,.20); }
.speech-badge .speech-badge-ic { width: 19px; height: 19px; color: var(--amber); flex: none; }
.speech-badge::after { content: ""; position: absolute; left: 22px; bottom: -6px;
  width: 14px; height: 14px; background: #2d4c61; clip-path: polygon(0 0, 100% 0, 50% 100%); }
/* CV-autoudfyld (upload/scan på trin 2) */
.cv-autofill { border: 1px dashed var(--blue); background: linear-gradient(180deg, rgba(77,184,214,.10), rgba(77,184,214,.04));
  border-radius: 14px; padding: 16px 16px 14px; margin: 4px 0 22px; transition: border-color .15s, background .15s, box-shadow .15s; }
.cv-autofill.drag-over, .cv-autofill.drop-prompt { border-color: var(--orange); background: rgba(255,152,56,.12);
  box-shadow: 0 0 0 3px rgba(255,152,56,.18); }
.cv-autofill.drop-prompt #cvDropBtn { border-color: var(--orange); background: rgba(255,152,56,.14); }
.cv-autofill-head { display: flex; gap: 11px; align-items: flex-start; }
.cv-autofill-head .svg-inline { width: 24px; height: 24px; color: var(--navy); flex: none; margin-top: 2px; }
.cv-autofill-head strong { display: block; color: var(--navy); font-size: 15px; }
.cv-autofill-head span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.cv-autofill-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cv-autofill-actions .btn { gap: 8px; }
.cv-autofill-actions .btn .svg-inline { width: 17px; height: 17px; }
.cv-autofill-msg:not(:empty) { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.cv-autofill-msg.ok { color: #1c7a4a; font-weight: 600; }
.cv-autofill-msg.loading { color: var(--navy); }
input.autofilled, select.autofilled { background: #fffaf0; border-color: var(--amber); }
/* Logoet kommer fra hero-baggrunden på desktop – kortet vises kun på mobil. */
.hero-art { display: none; justify-content: center; align-items: center; }
.hero-art img { max-height: 320px; filter: drop-shadow(0 18px 30px rgba(33,58,75,.18)); }
/* Fuld-bredde foto-banner med overlay-tekst + CTA */
.photo-banner {
  position: relative;
  background-image: linear-gradient(90deg, rgba(20,32,43,.72) 0%, rgba(20,32,43,.45) 55%, rgba(20,32,43,.25) 100%), var(--banner-img);
  background-size: cover;
  background-position: center;
  margin: 56px 0;
}
.photo-banner-inner { padding: 96px 0; max-width: 620px; }
.photo-banner h2 {
  color: #fff; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1;
  margin: 0 0 28px; text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.btn.btn-on-photo {
  background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(3px);
}
.btn.btn-on-photo:hover { background: #fff; color: var(--navy, #213a4b); border-color: #fff; }
@media (max-width: 860px) {
  .photo-banner { margin: 36px 0; }
  .photo-banner-inner { padding: 64px 0; }
}

/* Hero-banner: brand-banner i et rundet kort (3:2 = ingen beskæring) */
.hero-art .hero-logo {
  width: 100%; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; object-position: center;
  background: #fbf7ee; border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 18px 40px rgba(33,58,75,.12); padding: 0; filter: none;
}

.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700;
  color: var(--orange); margin: 0 0 10px; }

/* ---- Sections ---- */
section.block { padding: 72px 0; }
section.block.alt { background: var(--surface-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 38px); color: var(--navy); margin: 6px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .14s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8d2c4; }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 20px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 16px; color: var(--navy);
  background: linear-gradient(135deg, #fff4e8, var(--surface-2));
  border: 1px solid rgba(33, 58, 75, 0.06); }
.card .ic svg { width: 26px; height: 26px; display: block; }

/* Proces-trin 1-2-3: nummer-cirkler der lyser op i rækkefølge + pile imellem */
.process .step { position: relative; }
.process .step-num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; margin-bottom: 16px; background: var(--surface-2); color: var(--muted);
  border: 2px solid var(--border); transition: all .2s;
  animation: stepGlow 4.32s ease-in-out infinite; animation-delay: calc(var(--i) * 0.96s); }
@keyframes stepGlow {
  0%, 55%, 100% { background: var(--surface-2); color: var(--muted); border-color: var(--border);
    box-shadow: none; transform: translateY(0) scale(1); }
  18%, 33% { background: var(--blue); color: #fff; border-color: var(--blue);
    box-shadow: 0 10px 22px rgba(77,184,214,.45); transform: translateY(-4px) scale(1.06); }
}
.process .step-arrow { position: absolute; top: 36px; right: -22px; width: 30px; height: 30px; z-index: 2;
  display: grid; place-items: center; color: var(--border);
  animation: arrowGlow 4.32s ease-in-out infinite; animation-delay: calc(var(--i) * 0.96s + 0.48s); }
.process .step-arrow svg { width: 28px; height: 28px; }
@keyframes arrowGlow {
  0%, 55%, 100% { color: var(--border); transform: translateX(0); }
  18%, 33% { color: var(--blue); transform: translateX(5px); }
}
@media (max-width: 860px) { .process .step-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .process .step-num, .process .step-arrow { animation: none; }
  .process .step-num { background: var(--blue); color: #fff; border-color: var(--blue); }
  .process .step-arrow { color: var(--blue); }
}
.svg-inline { width: 1.05em; height: 1.05em; vertical-align: -0.14em; margin-right: 7px; flex: none; }
.btn .svg-inline { margin: 0; }
.contact-card .ic svg { width: 22px; height: 22px; color: var(--navy); }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #cdd8df; padding: 50px 0 30px; margin-top: 40px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 18px;
  font-size: 13px; color: #9fb0ba; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer .social-link .svg-inline { width: 16px; height: 16px; margin-right: 6px; }

/* ---- Fra pladsen: historier + galleri ---- */
.story-grid { display: grid; gap: 28px; margin-bottom: 48px; }
.story-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.story-card:nth-child(even) .story-media { order: 2; }
.story-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.story-body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.story-date { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.story-body h2 { margin: 0 0 14px; color: var(--navy); font-size: 1.35rem; line-height: 1.3; }
.story-body p { color: var(--text); margin: 0 0 12px; line-height: 1.65; }
.story-body p:last-child { margin-bottom: 0; }
.gal-section-title { margin: 0 0 18px; color: var(--navy); font-size: 1.5rem; }
.gal-section-sub { color: var(--muted); margin: -10px 0 22px; }

/* ---- Wizard (job.html) ---- */
.wizard { max-width: 760px; margin: 0 auto; padding: 40px 22px 70px; }
.wizard-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px; }
.steps { display: flex; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.steps .dot { flex: 1; min-width: 40px; height: 6px; border-radius: 4px; background: var(--border); }
.steps .dot.active { background: var(--orange); }
.steps .dot.done { background: var(--teal); }
.step h2 { color: var(--navy); margin: 0 0 6px; font-size: 24px; }
.step .sub { color: var(--muted); margin: 0 0 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text); font-size: 15px; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req { color: var(--coral); }

.choice { display: flex; gap: 12px; flex-wrap: wrap; }
.choice label { flex: 1; min-width: 130px; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; background: var(--bg); }
.choice input { width: auto; }
.choice label:hover { border-color: var(--blue); }

.upload-zone { border: 2px dashed var(--border); border-radius: 12px; padding: 26px; text-align: center; transition: border-color .15s, background .15s, box-shadow .15s;
  cursor: pointer; background: var(--bg); }
.upload-zone:hover { border-color: var(--orange); }
.upload-zone.drag-over { border-color: var(--orange); background: rgba(255,152,56,.08); box-shadow: 0 0 0 3px rgba(255,152,56,.16); }
.upload-zone .big { font-size: 30px; }
.file-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  background: var(--surface-2); padding: 8px 12px; border-radius: 20px; font-size: 13px; }

.consent-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.consent-box input { width: 20px; height: 20px; margin-top: 2px; }

.wizard-actions { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }

.notice { background: #fff7e8; border: 1px solid var(--amber); border-radius: 12px; padding: 16px 18px;
  color: #7a5a12; margin-bottom: 22px; }
.notice strong { color: #6a4d0f; }

.done-screen { text-align: center; padding: 20px 0; }
.done-screen .check { width: 74px; height: 74px; border-radius: 50%; background: var(--teal); color: #fff;
  font-size: 40px; display: grid; place-items: center; margin: 0 auto 20px; }

.lang-bar { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-bottom: 18px; }
.lang-bar select { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow);
  z-index: 100; max-width: 90vw; }
.toast.error { background: var(--coral); }
.hidden { display: none !important; }

/* ---- Hero photo ---- */
.hero-photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--surface-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; background: #eaf6ef; color: #1f7a45;
  border: 1px solid #bfe3cd; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }

/* ---- Trust badges ---- */
.trust { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; padding: 28px 0; }
.trust img { height: 38px; width: auto; opacity: .85; filter: grayscale(.2); }
.trust .t-label { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* ---- Stat band ---- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-band .num { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--orange); line-height: 1; }
.stat-band .lbl { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* ---- Checklist ---- */
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--purple)); color: #fff; border-radius: 18px;
  padding: 44px; text-align: center; }
.cta-band h2 { color: #fff; margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: #d7e0e6; margin: 0 0 22px; font-size: 17px; }
.cta-band .btn { margin: 0 6px 8px; }

/* ---- Page hero (sub pages) ---- */
.page-hero { background: radial-gradient(700px 300px at 80% -40%, #fff, var(--bg)); padding: 56px 0 10px; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); color: var(--navy); margin: 8px 0 10px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 44em; margin: 0; }
.crumb { font-size: 13px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }

/* ---- Prose ---- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { color: var(--navy); margin: 32px 0 10px; }
.prose p { color: var(--text); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); }
.contact-card .line { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-card .line:last-child { border-bottom: 0; }
.contact-card .ic { font-size: 20px; width: 30px; }

@media (max-width: 860px) {
  /* På mobil droppes fuld-bredde-baggrunden, og banneret vises som et kort over teksten,
     så logoet ikke beskæres. */
  .hero { background-image: none; }
  .hero::before { display: none; }
  .hero .wrap { min-height: auto; padding: 28px 22px 48px; }
  .hero .wrap > div { max-width: none; }
  .hero-art { display: flex; order: -1; margin-bottom: 22px; }
  .hero-art img { max-height: 200px; }
  .hero-art .hero-logo { max-height: none; }
  .grid-3, .grid-2, .site-footer .cols, .stat-band, .contact-grid, .story-card { grid-template-columns: 1fr; }
  .story-card:nth-child(even) .story-media { order: 0; }
  .story-media img { min-height: 220px; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 22px; }
  .burger { display: block; }
  .row2 { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 20px; }
  .lang-switch { align-self: flex-start; }
  .lang-menu { position: static; box-shadow: none; margin-top: 6px; min-width: 0; width: 100%; }
}

/* ---- Sprogniveauer ---- */
.lang-levels { display: flex; flex-direction: column; gap: 10px; }
.lang-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface-2, #faf7f0); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.lang-row .lang-name { font-weight: 700; color: var(--navy); min-width: 84px; }
.lang-pick { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.lang-pick select { padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.lang-legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 12px; font-size: 13px; color: var(--muted); }
.lang-legend li { display: inline-flex; align-items: center; gap: 6px; }
.lang-legend .lvl { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 700; font-size: 12px; flex: none; }

/* ---- Kørekort-vælger (grafiske kategori-chips) ---- */
.lic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.lic-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 6px;
  transition: border-color .12s, background .12s, transform .06s; font: inherit; }
.lic-chip:hover { border-color: var(--orange); }
.lic-chip:hover .lic-icon { color: var(--orange); }
.lic-chip:active { transform: scale(.97); }
.lic-chip .lic-icon { display: flex; align-items: center; justify-content: center; gap: 1px; height: 36px; color: var(--navy); }
.lic-chip .lic-svg { width: 36px; height: 36px; }
.lic-chip .lic-icon.combo .lic-svg { width: 28px; height: 28px; }
.lic-chip .lic-icon .lic-svg.tr { width: 22px; height: 22px; margin-left: -2px; }
.lic-chip .lic-cat { font-weight: 700; font-size: 13px; color: var(--navy); }
.lic-chip.selected .lic-icon { color: var(--orange); }
.lic-chip.selected { border-color: var(--orange); background: #fff4e8;
  box-shadow: 0 0 0 2px rgba(237,125,31,.18) inset; }

/* ---- Faglige kompetencer (projektleder/konsulent) ---- */
.pm-panel { margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--border); }
.pm-section-title { color: var(--navy); font-size: 17px; margin: 20px 0 8px; }
.pm-section-title:first-child { margin-top: 0; }
.pm-lang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 8px; }
.pm-lang-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--navy); }
.pm-lang-grid select { padding: 10px; border: 1px solid var(--border); border-radius: 10px; }
.choice-wrap { flex-wrap: wrap; gap: 8px 14px; }
.industry-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.industry-row { display: grid; grid-template-columns: 1fr 90px 1fr; gap: 10px; align-items: center; }
.industry-row .ind-check { font-size: 14px; }
.industry-row .ind-years, .industry-row .ind-other { padding: 10px; border: 1px solid var(--border); border-radius: 10px; }
.industry-row .ind-other.hidden { display: none; }
.geo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-chip { padding: 8px 14px; border: 1px solid var(--border); border-radius: 20px; background: #fff; cursor: pointer; font-size: 14px; }
.geo-chip.selected { border-color: var(--orange); background: #fff4e8; color: var(--navy); font-weight: 600; }
.cert-list { display: flex; flex-direction: column; gap: 8px; }
.cert-row input { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; }
.pm-doc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.comp-list { display: flex; flex-direction: column; gap: 8px; }
.comp-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.comp-row .comp-name { flex: 1; min-width: 160px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text); font-size: 15px; font-family: inherit; }
.comp-row .comp-level, .comp-row .comp-years { width: 72px; padding: 11px 8px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--text); font-size: 15px; font-family: inherit; }
.comp-row .comp-name:focus, .comp-row .comp-level:focus, .comp-row .comp-years:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

/* ---- Quiz-timer (nedtælling pr. spørgsmål) ---- */
.quiz-timer { position: relative; height: 8px; background: #eee; border-radius: 6px; margin: 4px 0 26px; }
.quiz-timer-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--orange, #ed7d1f);
  border-radius: 6px; transition: width 1s linear; }
.quiz-timer-bar.low { background: #d9534f; }
.quiz-timer-num { position: absolute; right: 2px; top: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.quiz-next-hint { margin: 0 0 12px; padding: 10px 14px; background: #fff8ee; border: 1px solid #f0d4a8; border-radius: 10px; font-size: 14px; color: var(--navy); }

/* ---- Validering: blink på manglende felt ---- */
@keyframes field-miss-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); }
  50% { box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.45); }
}
.field.field-miss, .consent-box.field-miss {
  animation: field-miss-pulse 0.55s ease 3;
  border-radius: 12px;
}
.field.field-miss input, .field.field-miss select, .field.field-miss textarea,
.field.field-miss .choice label:first-of-type {
  outline: 2px solid #d9534f;
  outline-offset: 2px;
}

/* ---- Layout + consent ---- */
.field-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-grid-2 { grid-template-columns: 1fr; } }
.check-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); cursor: pointer; }
.avail-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 16px; }
.consent-info { margin-bottom: 16px; }
.consent-hint { color: #c0392b; font-size: 14px; margin: 10px 0 0; font-weight: 600; }
.consent-hint.hidden { display: none; }
#stepConsent.consent-pending .consent-box { border-color: #e8b4b4; background: #fff9f9; }
.consent-box.consent-ok { border-color: #8fd19e; background: #f4fff6; }
.comp-head { display: flex; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; padding: 0 2px; }
.comp-head-name { flex: 1; min-width: 160px; }
.comp-head-level, .comp-head-years { width: 72px; text-align: center; }
.comp-add-btn { margin: 8px 0 16px; }
