/* Nyt design for hjemmesiden (ticket #4117, Sejrs mockup 2/12).
   Farver: orange #F47920, mørk #1A1D20, lys baggrund #F8F6F3, mørk orange til lille tekst #C2570C.
   Skrifter: Space Grotesk (overskrifter), Inter (brødtekst).
   Indlæses kun, når designvalget "ny" er live (eller i forhåndsvisningen). */

body.nn-ny {
  --nn-orange: #F47920;
  --nn-orange-moerk: #C2570C;
  --nn-moerk: #1A1D20;
  --nn-lys: #F8F6F3;
  --nn-kant: #ECE8E2;
  --nn-graa: #495057;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--nn-moerk);
  background: #fff;
}
body.nn-ny h1, body.nn-ny h2, body.nn-ny h3, body.nn-ny h4 {
  font-family: 'Space Grotesk', Inter, sans-serif;
  letter-spacing: -0.02em;
}
body.nn-ny a { color: var(--nn-moerk); }
body.nn-ny a:hover { color: var(--nn-orange-moerk); }
.nn-orange { color: var(--nn-orange); }
.nn-center { text-align: center; }

.nn-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nn-wrap--smal { max-width: 860px; }

/* ── Header ─────────────────────────────────────────────────────────── */
.nn-hdr { background: var(--nn-moerk); position: sticky; top: 0; z-index: 1020; }
.nn-hdr__inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.nn-hdr__logo { display: flex; align-items: center; text-decoration: none; }
.nn-hdr__logo img { height: 44px; width: auto; display: block; }
.nn-hdr__nav { display: flex; align-items: center; gap: 28px; }
body.nn-ny .nn-hdr__nav a { color: #E9ECEF; text-decoration: none; font-weight: 500; font-size: 15px; }
body.nn-ny .nn-hdr__nav a:hover { color: var(--nn-orange); }
body.nn-ny .nn-ring {
  display: flex; align-items: center; gap: 10px; background: var(--nn-orange); color: #16191C;
  text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; min-height: 44px;
}
body.nn-ny .nn-ring:hover { color: #16191C; filter: brightness(1.05); }

@media (max-width: 720px) {
  .nn-hdr__inner { padding: 10px 16px; gap: 8px; }
  .nn-hdr__logo img { height: 36px; }
  .nn-ring { display: none !important; }      /* ring-knappen ligger i bundbjælken på mobil */
  .nn-hdr__nav { order: 3; width: 100%; gap: 20px; overflow-x: auto; padding-bottom: 2px; }
  body.nn-ny .nn-hdr__nav a { font-size: 14px; white-space: nowrap; }
}

/* ── Fælles byggeklodser ────────────────────────────────────────────── */
.nn-kicker {
  font-size: 13px; font-weight: 700; color: var(--nn-orange-moerk);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.nn-sektion { background: #fff; padding: 88px 0; }
.nn-sektion--lys { background: var(--nn-lys); }
.nn-sektion h2 { font-size: 40px; line-height: 1.1; margin: 10px 0 40px; }
.nn-lead { margin: -28px 0 40px; color: var(--nn-graa); font-size: 17px; max-width: 620px; }
.nn-kort-boks { border: 1px solid var(--nn-kant); border-radius: 20px; padding: 28px; }
.nn-knap {
  display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none;
  border-radius: 12px; padding: 14px 24px; min-height: 48px;
}
body.nn-ny .nn-knap--orange { background: var(--nn-orange); color: #16191C; }
body.nn-ny .nn-knap--moerk { background: var(--nn-moerk); color: #fff; }
body.nn-ny .nn-knap--orange:hover { color: #16191C; filter: brightness(1.05); }
body.nn-ny .nn-knap--moerk:hover { color: #fff; background: #2E3338; }
.nn-pil-link { display: inline-flex; margin-top: 32px; font-weight: 600; }
.nn-tom-note { border: 2px dashed #ccc; border-radius: 12px; padding: 20px; color: #6c757d; text-align: center; }
@media (max-width: 720px) {
  .nn-sektion { padding: 56px 0; }
  .nn-sektion h2 { font-size: 30px; margin-bottom: 28px; }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.nn-hero { background: var(--nn-lys); }
.nn-hero__inner { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.nn-hero__tekst { flex: 1 1 480px; min-width: 0; }
.nn-hero h1 { font-size: 56px; line-height: 1.05; margin: 20px 0 18px; font-weight: 700; }
.nn-hero__lead { font-size: 19px; line-height: 1.55; color: var(--nn-graa); margin: 0 0 32px; max-width: 520px; }
.nn-pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E5E1DB;
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600;
}
.nn-pill__prik { width: 8px; height: 8px; border-radius: 50%; background: #2F9E44; }
.nn-soeg {
  background: #fff; border-radius: 16px; padding: 8px; display: flex; flex-wrap: wrap; gap: 8px;
  box-shadow: 0 8px 30px rgba(26, 29, 32, 0.10); border: 1px solid #ECE8E2; max-width: 600px;
}
.nn-soeg .dawa-autocomplete-container { flex: 1 1 260px; min-width: 0; }
.nn-soeg__felt {
  flex: 1 1 260px; min-width: 0; width: 100%; border: 0; font-size: 17px; padding: 16px; border-radius: 10px;
  font-family: inherit; outline: none; background: transparent;
}
.nn-soeg__knap {
  flex: 0 0 auto; background: var(--nn-orange); color: #16191C; border: 0; font-weight: 700; font-size: 17px;
  padding: 16px 26px; border-radius: 10px; font-family: inherit; cursor: pointer; min-height: 52px;
}
.nn-soeg__knap--moerk { background: var(--nn-moerk); color: #fff; }
.nn-soeg__fejl { display: block; margin-top: 8px; color: #b42318; font-weight: 600; }
.nn-tjek { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; font-weight: 500; color: #343A40; }
.nn-tjek li { display: flex; align-items: center; gap: 8px; }
.nn-tjek li::before {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px;
  background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2570C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.nn-hero__billede { flex: 1 1 420px; min-width: 0; position: relative; }
.nn-hero__foto {
  aspect-ratio: 4 / 5; max-height: 560px; width: 100%; border-radius: 24px; background: #DDD7CF;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.nn-hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.nn-hero__foto img[src$="krage.png"] { width: 55%; height: auto; object-fit: contain; }
.nn-hero__citat {
  position: absolute; left: -24px; bottom: 32px; background: #fff; border-radius: 16px; padding: 18px 20px;
  max-width: 300px; box-shadow: 0 12px 40px rgba(26, 29, 32, 0.16);
}
.nn-hero__citat .nn-kicker { font-size: 12px; margin-bottom: 8px; }
.nn-hero__citat p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.nn-hero__citat-af { font-size: 13px; color: var(--nn-graa); font-weight: 500; }
@media (max-width: 720px) {
  .nn-hero__inner { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .nn-hero h1 { font-size: 38px; }
  .nn-hero__citat { left: 12px; right: 12px; bottom: 12px; }
}

/* Bestillingsflowet ligger under hero'en; tomt indtil en adresse er valgt. */
.nn-bestilling { padding-top: 24px; }
.nn-bestilling:empty { display: none; }

/* ── Tal-strimmel ───────────────────────────────────────────────────── */
.nn-tal-strip { background: var(--nn-moerk); color: #fff; }
.nn-tal-strip__grid { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; font-size: 14px; color: #CED4DA; }
.nn-tal { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--nn-orange); }

/* ── Tre trin ───────────────────────────────────────────────────────── */
.nn-trin { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.nn-trin__nr {
  width: 44px; height: 44px; border-radius: 12px; background: #FFF1E6; color: var(--nn-orange-moerk);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.nn-trin h3 { font-size: 21px; margin: 18px 0 8px; }
.nn-trin p { margin: 0; color: var(--nn-graa); line-height: 1.55; font-size: 15px; }

/* ── Behov (personas) ───────────────────────────────────────────────── */
.nn-behov { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.nn-behov__kort { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--nn-kant); }
.nn-behov__foto { height: 220px; background: #DDD7CF; overflow: hidden; }
.nn-behov__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nn-behov__krop { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.nn-behov__krop h3 { font-size: 24px; margin: 0 0 14px; }
.nn-behov__krop ul { margin: 0; padding-left: 18px; color: var(--nn-graa); line-height: 1.7; font-size: 15px; }
.nn-behov__krop .nn-knap { margin-top: auto; }

/* ── Kundecitater ───────────────────────────────────────────────────── */
.nn-citater__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.nn-citater__top h2 { margin-bottom: 0; }
.nn-citater__note { font-size: 13px; color: #6C757D; max-width: 340px; }
.nn-citater { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.nn-citat { margin: 0; background: var(--nn-lys); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.nn-citat blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.nn-citat figcaption { margin-top: auto; font-size: 13px; color: #6C757D; }
.nn-citat figcaption strong { color: var(--nn-moerk); font-size: 14px; }

/* ── TV-bånd ────────────────────────────────────────────────────────── */
.nn-tv { background: #FFF1E6; }
.nn-tv__inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.nn-tv__tekst { flex: 1 1 480px; min-width: 0; }
.nn-tv h2 { font-size: 34px; margin: 8px 0 10px; line-height: 1.15; }
.nn-tv p { margin: 0; color: var(--nn-graa); font-size: 16px; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.nn-faq { display: flex; flex-direction: column; gap: 12px; }
.nn-faq details { background: #fff; border-radius: 16px; padding: 22px 26px; border: 1px solid var(--nn-kant); }
.nn-faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.nn-faq summary::-webkit-details-marker { display: none; }
.nn-faq details p { margin: 12px 0 0; color: var(--nn-graa); line-height: 1.6; }
h2.nn-center { font-size: 40px; margin: 0 0 32px; }

/* ── Afsluttende opfordring ─────────────────────────────────────────── */
.nn-cta { background: var(--nn-orange); }
.nn-cta .nn-wrap { max-width: 1000px; padding-top: 72px; padding-bottom: 72px; }
.nn-cta h2 { font-size: 42px; margin: 0 0 12px; line-height: 1.1; color: #16191C; }
.nn-cta p { margin: 0 0 28px; font-size: 18px; color: #2B1A0C; }
.nn-soeg--cta { max-width: 640px; margin: 0 auto; box-shadow: none; border: 0; }

/* ── Sidefod ────────────────────────────────────────────────────────── */
.nn-ftr { background: var(--nn-moerk); color: #CED4DA; margin-top: 0; }
.nn-ftr__inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px 32px; }
.nn-ftr__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.nn-ftr__cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.nn-ftr h4 { color: #fff; font-family: Inter, sans-serif; font-weight: 700; font-size: 14px; margin: 0 0 4px; letter-spacing: 0; }
body.nn-ny .nn-ftr a { color: #CED4DA; text-decoration: none; }
body.nn-ny .nn-ftr a:hover { color: var(--nn-orange); }
body.nn-ny .nn-ftr .nn-ftr__tlf { color: #fff; font-weight: 600; }
.nn-ftr__brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: #fff; }
.nn-ftr__brand span { color: var(--nn-orange); }
.nn-ftr p { margin: 0; }
.nn-ftr__bund {
  border-top: 1px solid #343A40; margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: #ADB5BD;
}
.nn-ftr__bund .nn-kort { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nn-ftr__bund .nn-kort img { background: #fff; border-radius: 3px; padding: 1px 2px; }

/* ── Mobil: fast bundbjælke ─────────────────────────────────────────── */
.nn-mbar { display: none; }
@media (max-width: 720px) {
  .nn-mbar {
    display: flex; position: sticky; bottom: 0; z-index: 1020; background: #fff; border-top: 1px solid var(--nn-kant);
    padding: 10px 16px; gap: 10px;
  }
  body.nn-ny .nn-mbar__priser {
    flex: 1; display: flex; align-items: center; justify-content: center; background: var(--nn-orange); color: #16191C;
    font-weight: 700; text-decoration: none; border-radius: 12px; min-height: 48px;
  }
  .nn-mbar__ring { width: 48px; min-height: 48px; display: flex; align-items: center; justify-content: center; background: var(--nn-moerk); border-radius: 12px; }
}

/* De gamle undersider (Om, TV, Erhverv …) beholder deres paneler, men med de nye skrifter. */
body.nn-ny .container.mt-5 { margin-bottom: 48px; }
