:root {
  /* Farver fra PowerPoint-tema */
  --hc-primary: #0068FF;
  --hc-secondary: #5B9BD5;
  --hc-dark: #434E5E;
  --hc-muted: #637183;
  --hc-light: #E7E6E6;
  --hc-bg: #FFFFFF;

  --radius: 18px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);

  --container: 1100px;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth
}

body {
  overflow-x: hidden
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--hc-dark);
  background: var(--hc-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto
}

a {
  color: var(--hc-primary);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto
}

/* Container tweaks for small screens */
@media (max-width: 520px) {
  .hero {
    /* Mindre zoom, så tekst/ikoner i venstre side af billedet ikke forsvinder */
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0.00) 0%,
        rgba(255, 255, 255, 0.00) 60%,
        rgba(255, 255, 255, 0.92) 100%),
      url('hero.jpg') 10% center / cover no-repeat;
    min-height: 62svh;
  }

  .container {
    width: min(var(--container), calc(100% - 1.5rem))
  }
}


/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--hc-primary);
  color: #fff;
  font-weight: 600;
  gap: .5rem;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  filter: brightness(.95);
  text-decoration: none
}

.btn:focus {
  outline: 3px solid rgba(0, 104, 255, .25);
  outline-offset: 3px
}

.btn--ghost {
  background: transparent;
  border-color: rgba(67, 78, 94, .25);
  color: var(--hc-dark);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(231, 230, 230, .6)
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 104, 255, .25);
  color: var(--hc-primary);
  background: rgba(0, 104, 255, .06);
  font-size: .85rem;
  font-weight: 600;
}

.card {
  background: #fff;
  border: 1px solid rgba(67, 78, 94, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card__inner {
  padding: 1.25rem
}

.grid {
  display: grid;
  gap: 1rem
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: 1fr
  }

  .grid--2 {
    grid-template-columns: 1fr
  }
}

/* Header/Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(67, 78, 94, .10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: .05rem
}

.brand__name {
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--hc-dark)
}

.brand__tag {
  font-size: .85rem;
  color: var(--hc-muted)
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(67, 78, 94, .18);
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.nav__toggle::before,
.nav__toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--hc-dark);
  border-radius: 2px;
}

.nav__toggle::before {
  top: 16px
}

.nav__toggle::after {
  top: 26px
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: .4rem
}

.nav__item {
  position: relative
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  color: var(--hc-dark);
  font-weight: 650;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.nav__link:hover {
  background: rgba(231, 230, 230, .65);
  text-decoration: none
}

.nav__link.is-active {
  border-color: rgba(0, 104, 255, .25);
  background: rgba(0, 104, 255, .06);
  color: var(--hc-primary)
}

.nav__item--dropdown {
  display: flex;
  align-items: stretch
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  width: max-content;
  min-width: 220px;
  padding: .4rem;
  background: #fff;
  border: 1px solid rgba(67, 78, 94, .12);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none;
}

.nav__dropdown.is-open {
  display: flex;
  flex-direction: column
}

.nav__dropdown a {
  justify-content: flex-start
}

@media (max-width: 900px) {
  .nav {
    padding: .6rem .75rem;
    padding-top: calc(.6rem + env(safe-area-inset-top))
  }

  .nav__toggle {
    display: inline-block
  }

  .nav__menu {
    display: none
  }

  html.nav-open,
  html.nav-open body {
    overflow: hidden
  }

  html.nav-open .nav__menu {
    display: flex;
    position: fixed;
    top: calc(64px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(67, 78, 94, .10);
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;

    max-height: calc(100dvh - 64px - env(safe-area-inset-top));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__item {
    width: 100%
  }

  .nav__link {
    width: 100%;
    justify-content: space-between
  }

  .nav__dropdown {
    position: static;
    box-shadow: none;
    border-radius: 14px
  }
}

/* Hero (Forside) */
.hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  max-height: 920px;
  display: flex;
  align-items: stretch;
  color: var(--hc-dark);
  background-color: #fff;
  /* Vis venstre del (inkl. teksten i billedet) tydeligere på desktop */
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.00) 0%,
      rgba(255, 255, 255, 0.00) 58%,
      rgba(255, 255, 255, 0.78) 76%,
      rgba(255, 255, 255, 1.00) 100%),
    url('hero.jpg') left center / auto 92% no-repeat;
}

.hero__inner {
  width: 100%;
  display: flex;
  align-items: stretch;
  /* var center */
}

.hero__panel {
  margin-left: auto;
  /* tekst til højre */
  margin-right: 0;
  /* helt ud til højre (indenfor wrapperen) */

  /* Undgå fast højde på mobil (adresselinje ændrer viewport-højden).
     Brug min-height i stedet, så boksen kan vokse med indhold. */
  height: auto;
  min-height: 60vh;
  min-height: 60svh;

  width: min(820px, 92vw);
  /* bredere boks */
  padding: 2.25rem 2.25rem 2rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  /* centrer tekst inde i boksen lodret */

  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(67, 78, 94, .10);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero__kicker {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .6rem
}

.hero__title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: .2rem 0 .6rem
}

.hero__lead {
  color: var(--hc-muted);
  margin: 0 0 1rem
}

.hero__cta {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1rem
}

@media (max-width: 900px) {
  .hero {
    min-height: 70vh;
    min-height: 70svh;
    max-height: none;
    /* På tablets/mobil: fyld mere ud, men behold fokus mod venstre */
    background:
      linear-gradient(90deg,
        rgba(255, 255, 255, 0.00) 0%,
        rgba(255, 255, 255, 0.00) 40%,
        rgba(255, 255, 255, 0.88) 72%,
        rgba(255, 255, 255, 1.00) 100%),
      url('hero.jpg') 18% center / cover no-repeat;
  }

.hero__panel {
    margin: 1rem auto 2rem;
  }
}

/* Home: forside fylder én skærmhøjde */
body.home .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0
}

body.home main {
  padding-top: 0
}

body.home .hero {
  min-height: 100vh;
  min-height: 100svh
}

body.home .hero__inner {
  padding-top: 5.2rem;
  padding-bottom: 2rem
}

body.home .hero .container {
  width: min(1320px, calc(100% - 2rem))
}

body.home .hero__panel {
  width: min(720px, 100%);
  padding: 1.75rem 1.75rem 1.5rem
}

body.home .hero__title {
  font-size: clamp(2.35rem, 4.0vw, 3.25rem)
}

body.home .hero__lead {
  font-size: 1.05rem
}

@media (max-width: 900px) {
  body.home .hero__inner {
    padding-top: 4.6rem
  }
}

/* Sections */
.section {
  padding: 3rem 0
}

.section--muted {
  background: linear-gradient(180deg, rgba(231, 230, 230, .6), rgba(231, 230, 230, 0))
}

.section__title {
  font-size: 1.6rem;
  margin: 0 0 .6rem
}

.section__intro {
  color: var(--hc-muted);
  max-width: 70ch;
  margin: 0 0 1.2rem
}

.list {
  margin: .6rem 0 0;
  padding-left: 1.2rem
}

.list li {
  margin: .25rem 0
}

/* Page header */
.page-hero {
  padding: 2.3rem 0 1.2rem;
  background: linear-gradient(120deg, rgba(0, 104, 255, .08), rgba(231, 230, 230, .55));
  border-bottom: 1px solid rgba(67, 78, 94, .10);
}

.page-hero__title {
  margin: 0;
  font-size: 2rem
}

.page-hero__crumbs {
  margin: .3rem 0 0;
  color: var(--hc-muted)
}

/* Contact */
.form {
  display: grid;
  gap: .8rem
}

.field {
  display: grid;
  gap: .35rem
}

label {
  font-weight: 650
}

input,
textarea {
  padding: .75rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(67, 78, 94, .18);
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical
}

/* Footer */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(67, 78, 94, .10);
  background: #fff
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap
}

.footer__title {
  font-weight: 750
}

.footer__meta {
  color: var(--hc-muted);
  font-size: .95rem
}

.footer__right {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap
}

/* --- Mobile refinements --- */
@media (max-width: 600px) {
  .section {
    padding: 2.25rem 0
  }

  .page-hero {
    padding: 1.9rem 0 1rem
  }

  .page-hero__title {
    font-size: 1.75rem
  }

  .card__inner {
    padding: 1.05rem
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start
  }
}

@media (max-width: 520px) {
  .hero__panel {
    width: 100%;
    margin: 1rem 0 1.25rem;
    padding: 1.25rem 1.05rem 1.05rem;
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.25rem)
  }

  .hero__lead {
    font-size: 1rem
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch
  }

  .hero__cta .btn {
    width: 100%
  }

  /* Dropdown i mobilmenu må gerne fylde i bredden */
  .nav__dropdown {
    min-width: 0;
    width: 100%
  }

  input,
  textarea {
    width: 100%
  }
}



@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================
   High-contrast refresh (global overrides)
   Goal: Sharper contrast + more “snap” across the whole site.
   (Primary color kept; secondary tuned slightly richer.)
   ============================================================ */

:root {
  --hc-primary: #0068FF;
  --hc-primary-700: #0052D6;
  --hc-primary-800: #003FA8;

  --hc-secondary: #2F7DD1;
  --hc-secondary-700: #2567AD;

  --hc-dark: #0B1220;
  --hc-muted: #334155;
  --hc-light: #E2E8F0;
  --hc-bg: #F5F7FB;

  --shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.12);
}

/* Base contrast */
body {
  background: var(--hc-bg);
  color: var(--hc-dark);
}

a:hover {
  color: var(--hc-primary-700);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Header/Nav */
.nav {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(15, 23, 42, .18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.nav__toggle {
  border-color: rgba(15, 23, 42, .26);
}

.nav__link:hover {
  background: rgba(0, 104, 255, .10);
}

.nav__link.is-active {
  border-color: rgba(0, 104, 255, .40);
  background: rgba(0, 104, 255, .16);
  color: var(--hc-primary-800);
}

.nav__dropdown {
  border-color: rgba(15, 23, 42, .18);
}

/* Buttons */
.btn {
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.btn:hover {
  filter: brightness(.92);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(.90);
}

.btn:focus,
.btn:focus-visible {
  outline: 3px solid rgba(0, 104, 255, .45);
  outline-offset: 3px;
}

.btn--ghost {
  border-color: rgba(15, 23, 42, .30);
  color: var(--hc-dark);
}

.btn--ghost:hover {
  background: rgba(0, 104, 255, .08);
  border-color: rgba(0, 104, 255, .30);
}

/* Badges & cards */
.badge {
  border-color: rgba(0, 104, 255, .35);
  background: rgba(0, 104, 255, .12);
  color: var(--hc-primary-800);
}

.card {
  border-color: rgba(15, 23, 42, .16);
  box-shadow: var(--shadow-soft);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 104, 255, .25);
}

/* Sections */
.section--muted {
  background: linear-gradient(180deg, rgba(0, 104, 255, .12), rgba(245, 247, 251, 0));
}

/* Page header */
.page-hero {
  background: linear-gradient(120deg,
    rgba(0, 104, 255, .20),
    rgba(47, 125, 209, .12) 35%,
    rgba(255, 255, 255, .95));
  border-bottom: 1px solid rgba(15, 23, 42, .18);
}

.page-hero__crumbs {
  color: rgba(11, 18, 32, .72);
}

/* Hero: (ingen ekstra override – styres i hoved-hero-reglerne ovenfor) */
.hero__panel {
  background: rgba(255, 255, 255, .90);
  border: 1px solid rgba(15, 23, 42, .18);
  border-top: 5px solid rgba(0, 104, 255, .55);
}

/* Forms */
input,
textarea {
  border-color: rgba(15, 23, 42, .26);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04) inset;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 104, 255, .60);
  outline: 3px solid rgba(0, 104, 255, .35);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(0, 104, 255, .10);
}

::placeholder {
  color: rgba(51, 65, 85, .70);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(15, 23, 42, .18);
}

