/* ----- TOKENS ----- */
:root{
  --blue-900:#000000;
  --blue-700:#171717;
  --blue-400:#28a0e5;
  --orange:#F15622;
  --ink:#1A1A1A;
  --muted:#525252;
  --wcag-min:#767676;
  --line:#E5E7EB;
  --surface:#F7F8FA;
  --bg:#FFFFFF;
  --max:1240px;
  --gutter:24px;
  --section-y:96px;
  --radius-card:6px;
  --radius-btn:4px;
  --radius-xl:30px;
  --t:200ms ease;
}
@media (max-width:640px){
  :root{ --gutter:16px; --section-y:48px; }
}

/* ----- BASE ----- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:'Inter',Helvetica,Arial,sans-serif;
  font-size:1.0625rem;
  line-height:1.6;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color:var(--blue-700); text-decoration:none; transition:color var(--t); }
a:hover{ color:var(--blue-900); }
a:focus-visible, button:focus-visible{
  outline:2px solid var(--blue-700);
  outline-offset:3px;
  border-radius:2px;
}
h1,h2,h3,h4{ font-family:'Barlow Condensed','Inter',Helvetica,Arial,sans-serif; font-weight:600; margin:0; color:var(--ink); letter-spacing:-0.005em; }
h1{ font-size:clamp(2.5rem,5vw,4.25rem); line-height:1.05; letter-spacing:-0.015em; }
h2{ font-size:clamp(1.75rem,3vw,2.5rem); line-height:1.15; letter-spacing:-0.01em; }
h3{ font-size:clamp(1.125rem,1.4vw,1.375rem); line-height:1.3; }
p{ margin:0; }
.container{ width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--gutter); }
.eyebrow{
  font-size:.75rem; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; color:var(--blue-700);
}
.section{ padding:var(--section-y) 0; }
.section + .section{ border-top:1px solid var(--line); }

/* ----- BUTTONS ----- */
.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:'Barlow Condensed','Inter',Helvetica,Arial,sans-serif;
  font-weight:600; font-size:1.0625rem; letter-spacing:.01em;
  padding:.85rem 1.4rem;
  border-radius:var(--radius-xl);
  border:1px solid transparent;
  cursor:pointer;
  transition:background var(--t), color var(--t), border-color var(--t), transform var(--t);
  text-decoration:none; line-height:1;
}
.btn-primary{ background:var(--orange); color:#171717; }
.btn-primary:hover{ background:#D8431A; color:#171717; }
.topnav .btn-primary{ background:#171717; color:#fff; }
.topnav .btn-primary:hover{ background:#000; color:#fff; }
.btn-secondary{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-secondary:hover{ border-color:var(--ink); color:var(--ink); }
.btn .arrow{ transition:transform var(--t); }
.btn:hover .arrow{ transform:translateX(3px); }

/* ----- TOPNAV ----- */
.topnav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(8px);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.topnav .row{
  display:flex; align-items:center;
  height:120px; gap:24px;
}
.topnav nav{ margin-left:96px; }
.topnav .nav-actions{ margin-left:auto; }
@media (max-width:1100px){ .topnav nav{ margin-left:48px; } }
.brand{ display:inline-flex; align-items:center; }
.brand img{ height:80px; width:auto; display:block; }
@media (max-width:640px){ .topnav .row{ height:104px; } }
.nav-links{ display:flex; gap:28px; list-style:none; padding:0; margin:0; }
.nav-links a{
  font-family:'Barlow Condensed','Inter',Helvetica,Arial,sans-serif;
  color:var(--ink); font-size:1.0625rem; font-weight:600; letter-spacing:.01em;
  padding:6px 0; position:relative;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px;
  height:2px; background:var(--blue-700);
  transform:scaleX(0); transform-origin:left;
  transition:transform var(--t);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ transform:scaleX(1); }
.nav-actions{ display:flex; align-items:center; gap:12px; }
.icon-btn{
  width:40px; height:40px; padding:0;
  display:inline-grid; place-items:center;
  background:transparent; border:0; cursor:pointer;
  color:var(--ink); border-radius:4px;
  transition:background var(--t);
}
.icon-btn:hover{ background:rgba(23,23,23,.06); }
.icon-btn svg{ width:20px; height:20px; }
.nav-toggle{
  display:none; background:none; border:0; padding:8px; cursor:pointer;
  color:var(--ink);
}
.nav-toggle svg{ width:24px; height:24px; }
@media (max-width:960px){
  .nav-links, .nav-actions .btn-secondary, .nav-actions .icon-btn{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ----- HERO (B – søgefelt + svg) ----- */
.hero{ padding:48px 0; background:#F3F3F3; }
.hero > .container{ width:100%; }
.hero .grid{
  display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:center;
}
.hero .copy .eyebrow{ margin-bottom:18px; display:inline-block; }
.hero h1{
  font-size:64px; line-height:1.1; margin-bottom:24px;
  max-width:22ch;
  padding-bottom:.05em;
}
@media (max-width:640px){ .hero h1{ font-size:40px; } }
.hero .lead{
  font-size:1.125rem; line-height:1.55; color:var(--muted);
  max-width:540px; margin-bottom:32px;
}
.hero-search{
  position:relative;
  display:flex; align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  padding:6px 6px 6px 50px;
  max-width:540px;
  transition:border-color var(--t), box-shadow var(--t);
}
.hero-search:focus-within{
  border-color:#171717;
  box-shadow:0 0 0 4px rgba(23,23,23,.08);
}
.hero-search__icon{
  position:absolute; left:16px; top:50%; transform:translateY(-50%);
  color:var(--muted); display:inline-grid; place-items:center;
}
.hero-search__icon svg{ width:18px; height:18px; }
.hero-search input{
  flex:1; min-width:0;
  border:0; outline:0; background:transparent;
  font:inherit; font-size:.9375rem; color:var(--ink);
  padding:12px 8px 12px 0;
}
.hero-search input::placeholder{ color:var(--wcag-min); opacity:1; }
.hero-search__submit{
  font-family:'Barlow Condensed','Inter',Helvetica,Arial,sans-serif;
  font-weight:600; font-size:1.0625rem; letter-spacing:.01em;
  padding:.7rem 1.3rem; border:0; cursor:pointer;
  background:var(--orange); color:#171717;
  border-radius:var(--radius-xl);
  transition:background var(--t);
}
.hero-search__submit:hover{ background:#D8431A; }
.hero-search__hint{
  margin-top:20px; font-size:.875rem; color:var(--muted);
  max-width:540px;
}
.hero-search__hint a{ color:#171717; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.hero-search__hint a:hover{ color:#000; }
.sr{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.hero .meta{
  display:flex; flex-wrap:wrap; gap:32px;
  margin-top:48px;
  padding-top:28px; border-top:1px solid var(--line);
}
.hero .meta .stat .n{
  font-family:'Barlow Condensed','Inter',Helvetica,Arial,sans-serif;
  font-size:2rem; font-weight:600; color:var(--blue-700); line-height:1;
  letter-spacing:-.005em;
}
.hero .meta .stat .l{ margin-top:6px; font-size:.8125rem; color:var(--muted); }
.hero .visual{
  position:relative; aspect-ratio:4/5;
  border-radius:var(--radius-card);
  background:#F3F3F3;
}
.hero .visual img{
  width:100%; height:100%; object-fit:contain;
  padding:24px;
  transform:scale(1.20);
  transform-origin:center;
}
@media (max-width:960px){
  .hero{ padding:48px 0 56px; }
  .hero .grid{ grid-template-columns:1fr; gap:40px; }
  .hero .visual{ aspect-ratio:16/11; }
  .hero .meta{ gap:24px; }
}

/* ----- HERO (A – fullwidth accent) ----- */
.hero--accent{
  background:
    url("_assets/hero-a-bg.png") center/cover no-repeat,
    var(--orange);
  padding:120px 0;
}
.hero--accent .copy{ max-width:880px; }
.hero--accent h1{
  color:#171717; max-width:18ch; margin:0 0 32px;
  font-size:clamp(2.5rem, 6vw, 5rem);
  line-height:1.05;
}
.hero--accent .lead{
  color:#171717; max-width:60ch; margin:0 0 40px;
  font-size:1.1875rem; line-height:1.55;
}
.hero--accent .actions{
  display:flex; flex-wrap:wrap; gap:14px;
}
.hero--accent .btn-primary{ background:#171717; color:#fff; }
.hero--accent .btn-primary:hover{ background:#000; color:#fff; }
.hero--accent .btn-secondary{
  background:#fff; color:#171717; border-color:#fff;
}
.hero--accent .btn-secondary:hover{
  background:#F3F3F3; color:#171717; border-color:#F3F3F3;
}
@media (max-width:640px){ .hero--accent{ padding:80px 0; } }

/* ----- INDGANGE ----- */
.indgange{ padding:var(--section-y) 0; position:relative; }
.indgange::after{
  content:""; position:absolute; bottom:0; left:0; right:0;
  height:1px; background:var(--line);
  max-width:calc(var(--max) - var(--gutter) * 2);
  margin:0 auto;
}
.indgange .head{
  margin-bottom:48px;
  display:flex; justify-content:space-between; align-items:end;
  gap:32px; flex-wrap:wrap;
}
.indgange .head h2{ max-width:none; white-space:nowrap; }
.indgange .head .all{
  font-size:.9375rem; font-weight:600; color:#171717;
  display:inline-flex; align-items:center; gap:6px;
}
.indgange .cards{
  display:grid; grid-template-columns:repeat(5,1fr); gap:20px;
}
.indgange .entry{
  display:flex; flex-direction:column;
  text-decoration:none; color:inherit;
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius-card); overflow:hidden;
  transition:border-color var(--t), transform var(--t);
}
.indgange .entry:hover{ border-color:#171717; transform:translateY(-2px); }
.indgange .entry .thumb{ aspect-ratio:4/3; overflow:hidden; background:#F3F3F3; }
.indgange .entry .thumb img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 500ms ease;
}
.indgange .entry:hover .thumb img{ transform:scale(1.05); }
.indgange .entry .body{
  padding:20px 20px 24px;
  display:flex; flex-direction:column; gap:8px;
  flex:1;
}
.indgange .entry h3{
  font-size:21px; line-height:1.3;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.indgange .entry p{
  font-size:.875rem; line-height:1.5; color:var(--muted);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:calc(2 * 1.5 * .875rem);
}
@media (max-width:1100px){ .indgange .cards{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .indgange .cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .indgange .cards{ grid-template-columns:1fr; } }

/* ----- FEATURE ----- */
.feature{ padding:var(--section-y) 0; }
.feature .wrap{
  display:grid; grid-template-columns:1fr 1fr;
  align-items:center; position:relative;
}
.feature .visual{
  grid-column:2; grid-row:1;
  aspect-ratio:4/3;
  border-radius:var(--radius-card); overflow:hidden;
  background:var(--surface);
}
.feature .visual img{ width:100%; height:100%; object-fit:cover; }
.feature .box{
  grid-column:1; grid-row:1;
  background:var(--orange); color:#171717;
  padding:56px 56px;
  border-radius:var(--radius-card);
  position:relative; z-index:2;
  margin-right:-88px;
  box-shadow:0 30px 60px -20px rgba(241,86,34,.35);
}
.feature .box .eyebrow{ color:#171717; margin-bottom:18px; display:inline-block; }
.feature .box h2{ color:#171717; max-width:14ch; margin-bottom:18px; }
.feature .box p{
  color:#171717; font-size:1.0625rem; line-height:1.6;
  max-width:42ch; margin-bottom:28px;
}
.feature .box .btn-dark{
  display:inline-flex; align-items:center; gap:.5rem;
  font-weight:600; font-size:.9375rem;
  padding:.85rem 1.4rem;
  background:#171717; color:#fff;
  border-radius:var(--radius-btn);
  transition:background var(--t);
}
.feature .box .btn-dark:hover{ background:#000; color:#fff; }
.feature .box .btn-dark .arrow{ transition:transform var(--t); }
.feature .box .btn-dark:hover .arrow{ transform:translateX(3px); }
@media (max-width:960px){
  .feature .wrap{ grid-template-columns:1fr; }
  .feature .visual{ grid-column:1; grid-row:1; aspect-ratio:16/10; }
  .feature .box{
    grid-column:1; grid-row:2;
    margin-right:0; margin-top:-40px;
    padding:36px 28px;
  }
}

/* ----- FOKUSOMRAADER ----- */
.fokus{ background:var(--surface); }
.fokus .head{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:end;
  margin-bottom:56px;
}
.fokus .head h2{ max-width:20ch; }
.fokus .head .intro{
  color:var(--muted); font-size:1.0625rem; line-height:1.6;
  max-width:46ch; justify-self:end;
}
.fokus .cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.fokus .card{
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius-card); padding:32px 28px;
  display:flex; flex-direction:column; gap:20px;
  transition:border-color var(--t), transform var(--t);
}
.fokus .card:hover{ border-color:var(--blue-700); transform:translateY(-2px); }
.fokus .card .num{
  font-size:.75rem; font-weight:600; color:var(--blue-700);
  letter-spacing:.08em;
}
.fokus .card h3{ font-size:1.25rem; }
.fokus .card p{ color:var(--muted); font-size:.9375rem; line-height:1.55; }
.fokus .card .more{
  margin-top:auto; font-size:.875rem; font-weight:600;
  color:var(--blue-700); display:inline-flex; align-items:center; gap:6px;
}
.fokus .card .more .arrow{ transition:transform var(--t); }
.fokus .card:hover .more .arrow{ transform:translateX(4px); }
@media (max-width:1100px){ .fokus .cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){
  .fokus .head{ grid-template-columns:1fr; gap:20px; }
  .fokus .head .intro{ justify-self:start; }
  .fokus .cards{ grid-template-columns:1fr; }
}

/* ----- NYHEDER / AKTUELT ----- */
.nyheder .head{
  display:flex; justify-content:space-between; align-items:end;
  gap:32px; margin-bottom:56px; flex-wrap:wrap;
}
.nyheder .head h2{ max-width:14ch; }
.nyheder .head .all{
  font-size:.9375rem; font-weight:600; color:var(--blue-700);
  display:inline-flex; align-items:center; gap:6px;
}
.nyheder .cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.article{ display:flex; flex-direction:column; }
.article .thumb{
  aspect-ratio:16/10; overflow:hidden;
  border-radius:var(--radius-card); margin-bottom:20px;
  background:var(--surface); display:block;
}
.article .thumb img{
  width:100%; height:100%; object-fit:cover;
  transition:transform 500ms ease;
}
.article:hover .thumb img{ transform:scale(1.04); }
.article .meta{
  display:flex; gap:10px; align-items:center;
  font-size:.75rem; color:var(--muted); margin-bottom:10px;
  text-transform:uppercase; letter-spacing:.06em; font-weight:600;
}
.article .meta .tag{ color:var(--blue-700); }
.article .meta .dot{ width:3px; height:3px; background:var(--muted); border-radius:50%; }
.article h3{ font-size:1.25rem; margin-bottom:10px; line-height:1.3; }
.article h3 a{ color:var(--ink); }
.article h3 a:hover{ color:var(--blue-700); }
.article p{ color:var(--muted); font-size:.9375rem; line-height:1.55; }
@media (max-width:960px){ .nyheder .cards{ grid-template-columns:1fr; gap:40px; } }

/* ----- FOOTER ----- */
footer{
  background:var(--ink); color:#D1D5DB;
  padding:80px 0 32px;
}
footer .grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px;
  padding-bottom:56px; border-bottom:1px solid #2A2A2A;
}
footer h4{
  margin:0 0 18px; font-size:.75rem; letter-spacing:.08em;
  text-transform:uppercase; color:#fff; font-weight:600;
}
footer a{ color:#D1D5DB; }
footer a:hover{ color:#fff; }
footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
footer ul a{ font-size:.9375rem; }
footer .about p{ color:#A3A3A3; font-size:.9375rem; line-height:1.6; max-width:36ch; margin-top:16px; }
footer .brand-mark{ background:#fff; color:var(--blue-700); }
footer .brand-text{ color:#fff; }
footer .brand-text small{ color:#A3A3A3; }
footer .bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; gap:16px; flex-wrap:wrap;
  font-size:.8125rem; color:#A3A3A3;
}
footer .social{ display:flex; gap:14px; }
footer .social a{
  width:36px; height:36px; border-radius:4px;
  background:#2A2A2A; display:grid; place-items:center;
  transition:background var(--t);
}
footer .social a:hover{ background:var(--blue-700); }
footer .social svg{ width:16px; height:16px; fill:#fff; }
@media (max-width:960px){ footer .grid{ grid-template-columns:1fr 1fr; gap:40px; } }
@media (max-width:560px){ footer .grid{ grid-template-columns:1fr; } }

/* ----- DEBUG SECTION OUTLINES ----- */
body.debug-sections .hero,
body.debug-sections section,
body.debug-sections footer{
  outline:2px dashed #FF00AA;
  outline-offset:-2px;
  position:relative;
}
body.debug-sections .hero::before,
body.debug-sections section::before,
body.debug-sections footer::before{
  content:attr(data-debug-name);
  position:absolute; top:0; left:0;
  background:#FF00AA; color:#fff;
  font:600 11px/1 'Inter',sans-serif; letter-spacing:.06em; text-transform:uppercase;
  padding:5px 8px; z-index:60;
  pointer-events:none;
}

/* ----- REVEAL ANIMATION ----- */
.reveal{ opacity:0; transform:translateY(8px); transition:opacity 400ms ease-out, transform 400ms ease-out; }
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    transition-duration:0.01ms !important;
  }
  .reveal{ opacity:1; transform:none; }
}
