/* Design efter vestjyskmarketing.dk: marineblå #001330, blå #0065FC, skrifttypen McQueen, runde knapper med versaler.
   McQueen er en købt skrifttype. Læg filerne i mappen fonts/, hvis licensen tillader det - ellers bruges en lignende
   systemskrift automatisk. */
@font-face { font-family: McQueen; font-weight: 400; font-display: swap; src: local("McQueen Regular"), local("McQueen-Regular"), url("fonts/McQueen-Regular.woff2") format("woff2"); }
@font-face { font-family: McQueen; font-weight: 500; font-display: swap; src: local("McQueen Medium"), local("McQueen-Medium"), url("fonts/McQueen-Medium.woff2") format("woff2"); }
@font-face { font-family: McQueen; font-weight: 600 700; font-display: swap; src: local("McQueen SemiBold"), local("McQueen-SemiBold"), url("fonts/McQueen-SemiBold.woff2") format("woff2"); }

:root {
  --navy: #001330; --blue: #0065fc; --blue-dark: #0050c8; --grey: #71777a; --line: #d9dee6; --soft: #f2f5fa;
  --white: #ffffff; --err-bg: #fef3f2; --err: #b42318;
  --font: McQueen, "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--navy); font: 17px/1.55 var(--font); }
a { color: var(--blue); }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 16px; }

/* Topbjælke */
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.logo img { display: block; width: 190px; height: auto; }
.tool { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }

/* Indhold */
.hero { background: var(--navy); color: var(--white); border-radius: 22px; padding: 40px 32px; margin: 28px 0 0; }
.hero h1 { color: var(--white); }
.hero .lead { color: #dbe4f3; }
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.1; font-weight: 500; margin: 0 0 16px; }
h2 { font-size: clamp(22px, 3.5vw, 28px); line-height: 1.2; font-weight: 500; }
h3 { font-weight: 500; }
.lead { font-size: 19px; margin: 0 0 12px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; margin: 24px 0; }
.center { text-align: center; }
label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: 16px; }
input[type=text], input[type=email] { width: 100%; padding: 14px 18px; font: inherit; font-size: 17px; color: var(--navy);
  border: 1px solid #b8c1cf; border-radius: 999px; background: var(--white); }
input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.check { display: flex; gap: 10px; font-weight: 400; font-size: 15px; line-height: 1.45; align-items: flex-start; }
.check input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--blue); }

/* Knapper som på vestjyskmarketing.dk */
button, .button { display: inline-block; margin-top: 22px; padding: 15px 40px; font: inherit; font-size: 15px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--white); background: var(--navy); border: 0;
  border-radius: 999px; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: var(--blue); }
button:focus-visible, .button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.errors { background: var(--err-bg); color: var(--err); border-radius: 14px; padding: 4px 18px; margin-bottom: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--grey); font-size: 15px; }
.info { background: var(--soft); border-radius: 22px; padding: 8px 28px 16px; margin: 24px 0; }
.info ul { padding-left: 0; list-style: none; }
.info li { position: relative; padding-left: 30px; margin: 10px 0; }
.info li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); }
.status { font-size: 20px; font-weight: 600; }
.bar { height: 12px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--blue); }

/* Bund */
.foot-wrap { background: var(--navy); color: #c9d3e3; margin-top: 40px; }
.foot { font-size: 14px; padding-top: 22px; padding-bottom: 26px; }
.foot a { color: var(--white); }

.testbanner { background: #fff4e5; color: #93370d; border-bottom: 1px solid #f79009; text-align: center;
  font-size: 14px; font-weight: 600; padding: 8px 16px; }
.popup { max-width: 480px; width: calc(100% - 32px); border: 0; border-radius: 22px; padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 19, 48, .3); color: var(--navy); }
.popup::backdrop { background: rgba(0, 19, 48, .55); }
.popup h2 { margin-top: 0; }
.popup button { margin-top: 8px; }

@media (max-width: 560px) {
  .hero { padding: 28px 20px; border-radius: 18px; }
  .card, .info { padding-left: 20px; padding-right: 20px; }
  .logo img { width: 160px; }
  .tool { font-size: 12px; }
  button { width: 100%; }
}
