/* VICTUM – forslag til nyt udtryk. Farver fra logoet: dyb blå og orange.
   Layout: mørk, rolig åbning med arkitektonisk silhuet, lyse sektioner med store flader og masser af luft. */
:root {
  --blå: #1b2558;
  --blå-dyb: #101744;
  --blå-lys: #aab4e6;
  --orange: #f07f35;
  --orange-mørk: #c85f1a;
  --papir: #f5f6fa;
  --kort: #ffffff;
  --tekst: #151d4a;
  --dæmpet: #565f86;
  --linje: #dfe2ee;
  --radius: 18px;
  --maks: 1160px;
  --overskrift: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--papir); color: var(--tekst);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--overskrift); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: 1.45rem; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-mørk); margin: 1.5em 0 .6em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.ramme { max-width: var(--maks); margin-inline: auto; padding-inline: 24px; }
.mærke { color: var(--blå-lys); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin-bottom: 1.1em; }
.mærke-orange { color: var(--orange-mørk); }

/* Topbjælke */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--linje); }
.top-inde { max-width: var(--maks); margin-inline: auto; padding: 10px 24px; display: flex; align-items: center; gap: 20px; }
.logo img { display: block; height: 52px; width: auto; }
nav { display: flex; gap: 2px; }
.nav-hoved { margin-right: auto; }
nav a, .menu-kontakt { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 999px; color: var(--blå); white-space: nowrap; }
nav a:hover, .menu-kontakt:hover { background: #e7eaf4; }
.top-hojre { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Knapper */
.knap {
  display: inline-block; background: var(--orange); color: #1a1230; text-decoration: none;
  font-weight: 700; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--orange);
  transition: transform .15s ease, background .15s ease;
}
.knap:hover { background: #ff9550; border-color: #ff9550; transform: translateY(-1px); }
.knap-lille { padding: 9px 20px; font-size: .95rem; }
.knap-lys { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.knap-lys:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.knapper { display: flex; gap: 12px; flex-wrap: wrap; margin: 2em 0 0; }

/* Åbning */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 520px at 80% -10%, #2b3a8a 0%, transparent 60%), var(--blå-dyb); color: #fff; padding-block: 88px 72px; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; color: rgba(170,180,230,.2); pointer-events: none; }
.hero > .ramme { position: relative; }
.hero-indhold { padding-bottom: 56px; }
.hero h1 { max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.intro { font-size: 1.25rem; color: #d3d9f3; max-width: 36em; margin-top: 1.4em; }

.mission-titel { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--orange-mørk); margin-bottom: 1em; }
.mission {
  padding: 30px 34px 14px; font-size: 1.05rem; line-height: 1.65; color: #e5e9fa;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); backdrop-filter: blur(4px);
}
.mission p { max-width: 60em; margin: 0 0 1.2em; }

/* Sektioner */
.sektion { padding-block: 96px; }
.sektion-bånd { background: var(--kort); border-block: 1px solid var(--linje); }
.sektion h2 { margin-bottom: 1.2em; }
nav a[aria-current="page"] { background: #e7eaf4; }

/* Ydelser */
.ydelser { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.ydelse { background: var(--kort); border: 1px solid var(--linje); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; }
.foto { position: relative; aspect-ratio: 16 / 9; background: var(--blå); }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.35) contrast(1.05); mix-blend-mode: luminosity; opacity: .95; }
.foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,37,88,.05), rgba(16,23,68,.55)); }
.ydelse-intro { padding: 26px 26px 0; }
.ydelse-intro p { color: var(--dæmpet); }
.ydelse details { margin: 1.4em 26px 0; padding-bottom: 20px; }
.ydelse .fremhæv { color: var(--blå); font-weight: 700; font-size: 1.1rem; }

details { border-top: 1px solid var(--linje); }
summary {
  list-style: none; cursor: pointer; font-weight: 700; color: var(--orange-mørk);
  padding: 16px 0; display: flex; align-items: center; justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 400; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--dæmpet); }
details p.liste-intro { color: var(--tekst); font-weight: 600; margin: 1.2em 0 .6em; }

/* Hak-lister */
.hak { list-style: none; padding: 0; margin: 0; }
.hak li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.hak li::before {
  content: ""; position: absolute; left: 3px; top: .3em; width: 7px; height: 13px;
  border: solid var(--orange); border-width: 0 3px 3px 0; transform: rotate(40deg);
}

/* Kunder og samarbejdspartnere: løbende tekst i tre spalter over hele sidens bredde */
h1.mærke { font-family: inherit; font-size: .8rem; line-height: 1.65; letter-spacing: .14em; margin-top: 0; }
.kundeliste { list-style: none; margin: 1.4em 0 0; padding: 0; columns: 3; column-gap: 56px; font-size: 1.2rem; line-height: 1.5; }
.kundeliste li { break-inside: avoid; padding: 9px 0; }
@media (max-width: 900px) { .kundeliste { columns: 2; column-gap: 40px; } }
@media (max-width: 560px) { .kundeliste { columns: 1; } }

/* Om */
.om { display: grid; gap: 40px; align-items: start; }
@media (min-width: 760px) { .om { grid-template-columns: 220px 1fr; gap: 64px; } }
.portræt { width: 190px; height: auto; border-radius: var(--radius); display: block; box-shadow: 0 18px 40px -18px rgba(16,23,68,.5); }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--tekst); }
.om-tekst p { max-width: 42em; color: var(--dæmpet); }
.om-tekst p.lead { color: var(--tekst); }
.om-tekst .underoverskrift { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.35; font-weight: 800; color: var(--tekst); letter-spacing: -.015em; margin: 0 0 1em; max-width: 24em; }
.om-tekst .underoverskrift span { display: block; margin-top: .35em; font-size: 1.05rem; line-height: 1.5; font-weight: 400; color: inherit; letter-spacing: 0; }
.om-tekst p.mærke-orange { color: var(--orange-mørk); }

/* Kontakt */
/* Kontaktområdet bruger kun to skriftstørrelser: stor (overskrift, telefon, e-mail) og lille (alt andet) */
.kontakt { --stor: clamp(1.5rem, 3vw, 2rem); --lille: 1rem; background: var(--blå-dyb); color: #fff; padding-block: 96px; }
.kontakt-indhold { display: grid; gap: 0; }
.kontakt-indhold > div, .kontakt-liste { display: contents; }
.kontakt-indhold h2 { font-size: var(--stor); line-height: 1.2; margin: 0 0 1.2em; }
.adresse { color: #cdd3f0; font-size: var(--lille); margin: 0 0 2.4em; }
/* Overskriften står på linje med telefonnummeret (samme grundlinje) */
@media (min-width: 800px) {
  .kontakt-indhold { grid-template-columns: 1fr 1fr; column-gap: 64px; grid-template-rows: auto 1fr; }
  .kontakt-indhold h2 { grid-column: 1; grid-row: 1; margin: 0; align-self: last baseline; }
  .adresse { grid-column: 1; grid-row: 2; margin: 1.6em 0 0; align-self: start; }
  .kontakt-liste li:nth-child(1) { grid-column: 2; grid-row: 1; align-self: last baseline; }
  .kontakt-liste li:nth-child(2) { grid-column: 2; grid-row: 2; }
}
.kontakt-liste { list-style: none; margin: 0; padding: 0; }
.kontakt-liste li { display: flex; flex-direction: column; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.kontakt-liste li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.kontakt-liste span { font-size: var(--lille); font-weight: 700; color: #cdd3f0; margin-bottom: .2em; }
.kontakt-liste a { font-family: var(--overskrift); font-size: var(--stor); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere; }
.kontakt-liste a:hover { color: var(--orange); }

footer { background: #0b1033; color: #98a2d0; text-align: center; padding: 26px 20px; font-size: 1rem; }
footer p { margin: 0; }

/* Mobil */
@media (max-width: 1020px) {
  .top-inde { flex-wrap: wrap; gap: 4px 16px; }
  .nav-hoved { order: 3; width: 100%; margin: 0; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .top-inde { gap: 8px 16px; }
  nav a { padding: 8px 12px; }
  .logo img { height: 44px; }
  .hero { padding-block: 56px 48px; }
  .sektion, .kontakt { padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knap, summary::after { transition: none; }
}
