
  :root {
    --navy: #1a2b4c; --navy-deep: #12203a;
    --gold: #c99a3e; --gold-soft: #e5c98f;
    --cream: #faf7f1; --ink: #22293a;
    --muted: #5d6779; --line: #e6e1d7;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--ink); background: var(--cream);
    line-height: 1.6; -webkit-font-smoothing: antialiased;
  }

  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250,247,241,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
  }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .brand-name { font-size: 19px; font-weight: bold; color: var(--navy); letter-spacing: 0.02em; }
  nav { display: flex; align-items: center; gap: 28px; }
  nav a.nav-link {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14.5px; color: var(--navy); text-decoration: none;
  }
  nav a.nav-link:hover { color: var(--gold); }
  .lang { font-size: 13px; font-family: -apple-system, sans-serif; }
  .lang a { color: var(--muted); text-decoration: none; font-weight: 400; }
  .lang a.active { color: var(--navy); font-weight: 700; }

  .hero { max-width: 1080px; margin: 0 auto; padding: 56px 24px 52px 24px; }
  .kicker, .section-kicker {
    font-family: -apple-system, sans-serif;
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(30px, 4.5vw, 46px); line-height: 1.12;
    color: var(--navy); max-width: 780px; font-weight: bold;
  }
  .hero p { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 640px; }

  section { max-width: 1080px; margin: 0 auto; padding: 52px 24px; }
  h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); line-height: 1.2; }
  .section-intro { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 620px; }
  .rule {
    height: 3px; width: 64px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    margin-top: 22px;
  }

  .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
  @media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
  .card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 26px 24px; display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s ease;
  }
  .card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(45, 64, 99, 0.24);
  }
  .card:hover::before { transform: scaleX(1); }
  .card h3 { font-size: 19px; color: var(--navy); margin-bottom: 12px; }
  .card p { font-size: 14.5px; color: var(--muted); flex: 1; }
  .card a, .card .soon {
    margin-top: 22px; font-family: -apple-system, sans-serif;
    font-size: 14.5px; font-weight: 600; text-decoration: none;
  }
  .card a { color: var(--navy); }
  .card a:hover { color: var(--gold); }
  .card .soon { color: var(--muted); font-weight: 400; font-style: italic; }

  .om p { color: var(--muted); font-size: 17px; max-width: 680px; margin-top: 18px; }

  .partners {
    display: grid; grid-template-columns: repeat(2, minmax(0, 380px));
    gap: 30px; margin-top: 38px;
  }
  .partner {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .partner:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 43, 76, 0.10);
  }
  .partner-photo { height: 300px; width: 100%; overflow: hidden; background: #dfe3ea; }
  .partner-photo img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center top; display: block;
  }
  .partner-body { padding: 22px 24px 26px 24px; }
  .partner-name { font-size: 22px; font-weight: bold; color: var(--navy); }
  .partner-title {
    font-family: -apple-system, sans-serif;
    font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
    color: var(--gold); margin-top: 6px; margin-bottom: 16px;
  }
  .partner-title .dot { color: var(--muted); font-weight: 400; padding: 0 6px; }
  .partner-bio { font-size: 15px; color: var(--muted); }
  .partner-li {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    font-family: -apple-system, sans-serif; font-size: 14px; font-weight: 600;
    color: var(--navy); text-decoration: none;
  }
  .partner-li:hover { color: var(--gold); }

  .kontakt-wrap { background: var(--navy); }
  .kontakt-wrap h2 { color: #fff; }
  .kontakt-wrap .section-kicker { color: var(--gold-soft); }
  .kontakt-wrap .section-intro { color: #c3cadb; }
  .contact-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
  .contact-card {
    background: #22345a; border: 1px solid #33456e; border-radius: 12px;
    padding: 22px 26px; text-decoration: none; min-width: 260px;
  }
  .contact-card .label {
    font-family: -apple-system, sans-serif; font-size: 12.5px;
    font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold-soft); margin-bottom: 6px;
  }
  .contact-card .value { font-size: 16px; color: #fff; }
  .contact-card:hover { border-color: var(--gold); }


  /* Om-sektion: varmt sandfarvet bånd */
  .om-band { background: #f3ebda; border-top: 1px solid #eadfc8; border-bottom: 1px solid #eadfc8; }

  /* Kort-badges */
  .card {
    background: linear-gradient(160deg, #3d5178 0%, #34486c 60%, #2d4063 100%);
    border-color: #4a5f88;
  }
  .card h3 { color: #f2f5fa; }
  .card p { color: #d4dcea; }
  .card a { color: #ecd3a0; }
  .card a:hover { color: #fff; }
  .card .soon { color: #b9c4d8; }
  /* Struktureret mørk footer */
  .site-footer { background: var(--navy-deep); color: #b9c2d4; }
  .footer-inner { max-width: 1080px; margin: 0 auto; padding: 34px 24px 24px 24px; }
  .footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
  .footer-brand { display: flex; align-items: center; gap: 10px; font-family: Georgia, serif; font-size: 17px; font-weight: bold; color: #fff; }
  .footer-divider { height: 1px; background: linear-gradient(90deg, rgba(201,154,62,0.5), rgba(201,154,62,0.08)); margin: 26px 0 18px 0; }
  .footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    font-family: -apple-system, sans-serif; font-size: 13px; color: #8d99b0;
  }
  .legal { margin-top: 16px; font-family: -apple-system, sans-serif; font-size: 13px; color: #8d99b0; }
  .legal summary { cursor: pointer; font-weight: 600; color: #c3cadb; list-style: none; display: inline-block; }
  .legal summary::-webkit-details-marker { display: none; }
  .legal summary::after { content: " +"; color: var(--gold-soft); }
  .legal details[open] summary::after { content: " −"; }
  .legal-text { margin-top: 12px; max-width: 680px; }
  .legal-text p { margin-bottom: 10px; line-height: 1.55; }

  .burger {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; margin-right: 4px;
  }
  .burger span {
    display: block; width: 22px; height: 2.5px; border-radius: 2px;
    background: var(--navy); margin: 4.5px 0; transition: 0.25s;
  }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 820px) {
    .cards { grid-template-columns: 1fr; }
    .partners { grid-template-columns: 1fr; }
    .partner-photo { height: 280px; }
    .burger { display: block; }
    nav#site-nav {
      display: none;
      position: absolute; top: 100%; left: 0; right: 0;
      background: rgba(250,247,241,0.98);
      border-bottom: 1px solid var(--line);
      flex-direction: column; align-items: flex-start;
      gap: 0; padding: 8px 0 12px 0;
      box-shadow: 0 10px 24px rgba(26,43,76,0.08);
    }
    nav#site-nav.open { display: flex; }
    nav#site-nav a.nav-link {
      display: block; width: 100%;
      padding: 12px 24px; font-size: 16px;
    }
    nav#site-nav .lang { padding: 12px 24px 4px 24px; }
    .header-inner { position: relative; flex-wrap: wrap; }
    .hero { padding: 44px 24px 40px 24px; }
    section { padding: 42px 24px; }
  }

/* A126: URL-based language selection and space for translated labels. */
.header-inner { gap:16px; flex-wrap:nowrap; position:relative; }
.brand { flex-shrink:0; }
nav#site-nav { gap:18px; margin-left:auto; }
nav a.nav-link { line-height:1.4; }
.lang-picker { position:relative; flex-shrink:0; font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color:var(--navy); }
.lang-picker>summary { list-style:none; cursor:pointer; min-width:56px; min-height:42px; display:flex; align-items:center; justify-content:center; gap:7px; border:1px solid var(--line); border-radius:8px; font-weight:600; }
.lang-picker>summary::-webkit-details-marker { display:none; }
.lang-picker>summary:hover,.lang-picker[open]>summary { border-color:var(--gold); }
.lang-list { position:absolute; right:0; top:calc(100% + 10px); width:244px; max-width:calc(100vw - 32px); max-height:min(68vh,530px); overflow:auto; overscroll-behavior:contain; background:var(--cream); border:1px solid var(--line); border-radius:10px; padding:7px; box-shadow:0 12px 30px #12203a26; }
.lang-list a { display:flex; align-items:center; gap:14px; padding:10px 12px; color:var(--navy); text-decoration:none; border-radius:5px; line-height:1.3; }
.lang-list a:hover,.lang-list a:focus-visible { background:#f3ebda; }
.lang-list a[aria-current="page"] { background:#f3ebda; font-weight:700; }
.lang-code { width:24px; color:var(--muted); font-size:12px; }
:focus-visible { outline:2px solid var(--gold); outline-offset:4px; }
.card,.partner,.contact-card { min-width:0; overflow-wrap:anywhere; }
.contact-card { max-width:100%; }
.partner-li svg { flex-shrink:0; }
section[id],#top { scroll-margin-top:100px; }
@media(max-width:1120px) {
 .burger { display:block; margin:0; flex-shrink:0; }
 .lang-picker { margin-left:auto; }
 nav#site-nav { display:none; position:absolute; top:100%; left:0; right:0; margin:0; background:rgba(250,247,241,.98); border-bottom:1px solid var(--line); flex-direction:column; align-items:flex-start; gap:0; padding:8px 0 12px; box-shadow:0 10px 24px #1a2b4c14; max-height:calc(100svh - 80px); overflow:auto; }
 nav#site-nav.open { display:flex; }
 nav#site-nav a.nav-link { width:100%; display:block; padding:12px 24px; font-size:16px; }
}
@media(max-width:380px) {
 .header-inner { gap:8px; padding:12px 16px; }
 .brand { gap:8px; }
 .brand-name { font-size:16px; }
 .lang-picker>summary { min-width:48px; }
 .burger { padding:6px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .card,.partner,.card::before,.burger span { transition:none; } }
