/* Dan Hauge Consulting – fælles design (retning A) */

@font-face { font-family: "Outfit"; font-weight: 300; font-display: swap; src: url("../fonts/outfit-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #26343D;
  --navy-2: #3E5563;
  --teal: #6B9E9E;
  --teal-dark: #4A6E6E;
  --teal-light: #A9CFCB;
  --sand: #EBD5B5;
  --sand-light: #F7F2EA;
  --line: #E4DCCF;
  --cream: #F3EADB;
  --muted: #5A6670;
  --max: 1160px;
  --display: "Outfit", "Helvetica Neue", sans-serif;
  --body: "Source Sans 3", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--navy); background: #fff; }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; color: #fff; }

h1, h2, h3 { font-family: var(--display); color: var(--navy); }
h1 { font-weight: 300; font-size: clamp(40px, 6vw, 64px); line-height: 1.06; letter-spacing: -0.01em; margin: 0; }
h2 { font-weight: 400; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; margin: 0 0 24px; }
h3 { font-weight: 500; font-size: 22px; line-height: 1.3; margin: 0 0 8px; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(19px, 2vw, 21px); max-width: 660px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 16px; padding-bottom: 16px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 16px; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.lang { color: var(--muted); }
.lang a { color: var(--navy); }

/* Knapper */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-block; padding: 13px 26px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--navy); min-height: 48px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* Sektioner */
.section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.section-light { background: var(--sand-light); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: var(--teal-light); }
.page-intro { padding: 80px 0 64px; background: var(--sand); }
.page-intro .lead { margin-top: 24px; }

/* Forside – top */
.hero { padding: 96px 0 104px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.hero-mark { flex: 1 1 240px; display: flex; justify-content: center; }
.hero-mark img { width: 240px; height: 240px; }
.tagline { font-style: italic; letter-spacing: 0.28em; font-size: 16px; margin: 0 0 24px; }
.hero .lead { margin-top: 28px; }

/* Spørgsmålskort */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--sand-light); border-top: 4px solid var(--teal); text-decoration: none; }
.card:hover { background: #F1E8DA; color: var(--navy); }
.card strong { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.25; }
.card span { font-size: 16px; }
.card .more { margin-top: auto; font-weight: 600; font-size: 15px; }

/* To kolonner */
.split { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.split > :first-child { flex: 1 1 320px; }
.split > :last-child { flex: 2 1 480px; }
.split h2 { font-weight: 300; font-size: clamp(30px, 3.6vw, 40px); }

/* Lister */
.case-list { list-style: none; margin: 0; padding: 0; }
.case-list a { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.case-list li:last-child a { border-bottom: 1px solid var(--line); }
.case-list .who { flex: 0 0 300px; color: var(--teal-dark); font-weight: 600; }
.case-list .what { flex: 1 1 380px; font-size: 20px; }
.case-list a:hover .what { text-decoration: underline; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; margin-top: 8px; }
.facts p { margin: 0; }
.fact { border-top: 3px solid var(--teal); padding-top: 16px; }

.trust p { margin: 0 0 6px; }

/* Ydelser */
.service { padding: 48px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service .examples { font-size: 16px; color: var(--muted); margin: 0; }
.service .examples a { color: var(--navy); }

/* Cases */
.case { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.case:first-of-type { border-top: 0; }
.case .meta { color: var(--teal-dark); font-weight: 600; margin: 0 0 4px; }
.case .tag { display: inline-block; font-size: 14px; background: var(--sand-light); padding: 3px 10px; margin: 0 0 20px; }
.case h2 { margin-bottom: 8px; }
.case dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 12px 28px; max-width: 900px; }
.case dt { font-family: var(--display); font-weight: 500; }
.case dd { margin: 0; }

/* Om */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 48px; }
.principles h3 { font-size: 21px; }
.certs { columns: 2 280px; padding-left: 20px; margin: 0; }
.certs li { margin-bottom: 6px; }
.prose { max-width: 760px; }
.wrap.prose { max-width: var(--max); }
.wrap.prose > * { max-width: 760px; }

.results { margin: 0; padding-left: 20px; }
.results li { margin-bottom: 14px; }

/* Kontakt */
.contact-lines { font-size: 22px; line-height: 1.8; margin: 0; }
.contact-lines dt { font-family: var(--display); font-weight: 500; font-size: 16px; color: var(--muted); margin-top: 12px; }
.contact-lines dd { margin: 0; }

/* Afslutning og sidefod */
.cta .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0; }
.cta p { margin: 8px 0 0; max-width: 680px; }
.site-footer { background: var(--navy); color: #D9D2C5; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; }
.site-footer a { color: #D9D2C5; }
.site-footer a:hover { color: #fff; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-mark { display: none; }
  .brand img { height: 44px; }
  .case dl { grid-template-columns: 1fr; gap: 4px; }
  .case dd { margin-bottom: 12px; }
}

/* Billeder af Dan */
.cta-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: none; }
.cta .cta-text { flex: 1 1 380px; }
.person { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.person > .prose, .person > div { flex: 1 1 420px; max-width: 760px; }
.person-photo { flex: 0 0 240px; width: 240px; max-width: 100%; height: auto; margin-top: 8px; }
.contact-photo { flex-basis: 260px; width: 260px; margin-top: 0; }
@media (max-width: 640px) { .cta-photo { width: 110px; height: 110px; } }
