body{margin:0;background:#FBFCFB;color:#2F3E3B;font-family:'Nunito Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:18px;line-height:1.6;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:#207369}a:hover{color:#174F49}
h1,h2,h3,h4{font-family:'Newsreader',Georgia,'Times New Roman',serif;font-weight:400;color:#1B2725;margin:0;text-wrap:pretty;letter-spacing:-0.01em}
h1{font-size:60px;line-height:1.08}
h2{font-size:42px;line-height:1.15}
h3{font-size:26px;line-height:1.25}
h4{font-size:20px;line-height:1.3;font-family:'Nunito Sans',system-ui,sans-serif;font-weight:700}
p{margin:0;text-wrap:pretty}
ul{margin:0;padding:0;list-style:none}
.wrap{max-width:1200px;margin:0 auto;padding:0 48px}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#207369}
.lead{font-size:21px;line-height:1.55;color:#465854}
.muted{color:#607471}
.small{font-size:15px;line-height:1.5}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 26px;border-radius:999px;font-weight:700;font-size:16px;text-decoration:none;border:1.5px solid transparent;white-space:nowrap;font-family:'Nunito Sans',system-ui,sans-serif}
.btn-primary{background:#207369;color:#fff}.btn-primary:hover{background:#174F49;color:#fff}
.btn-secondary{background:transparent;color:#174F49;border-color:#A9CFC6}.btn-secondary:hover{background:#E6F1EE;color:#174F49}
.btn-light{background:#fff;color:#174F49}.btn-light:hover{background:#E6F1EE;color:#0F3B36}
.btn-sm{height:44px;padding:0 20px;font-size:15px}
.card{background:#fff;border:1px solid #D8E3DF;border-radius:20px;padding:32px}
.tint{background:#F2F7F5}
.sand{background:#F6F2EA}
.deep{background:#207369;color:#E6F1EE}
.deep h2,.deep h3{color:#fff}
.check{display:flex;gap:14px;align-items:flex-start;font-size:18px;line-height:1.5}
.icon{width:24px;height:24px;flex:none;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.icon-lg{width:32px;height:32px}
.logo{display:inline-flex;align-items:center;text-decoration:none}
.logo img{display:block}
.nav{display:flex;gap:26px;align-items:center}
.nav a{color:#2F3E3B;text-decoration:none;font-weight:600;font-size:16px;white-space:nowrap}
.nav a:hover{color:#207369}
.footer{background:#0F3B36;color:#CFE4DE}
.footer a{color:#CFE4DE;text-decoration:none}.footer a:hover{color:#fff}
.footer .logo{color:#fff}
.pill{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:999px;background:#E6F1EE;color:#174F49;font-size:14px;font-weight:700}
.step-num{width:44px;height:44px;border-radius:999px;background:#207369;color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Newsreader',Georgia,serif;font-size:22px;flex:none}
.faq{border-top:1px solid #D8E3DF}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;font-weight:700;font-size:19px;color:#1B2725}
.faq-a{padding:0 0 24px;color:#465854;max-width:820px}
table.tests{width:100%;border-collapse:collapse;font-size:16px}
table.tests th{text-align:left;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#607471;padding:12px 16px;border-bottom:1px solid #D8E3DF;font-weight:700}
table.tests td{padding:16px;border-bottom:1px solid #E6EEEB;vertical-align:top}
table.tests td:first-child{font-weight:700;color:#174F49;white-space:nowrap;width:180px}
.bleed{position:relative;background-size:cover;background-position:center;background-repeat:no-repeat}
.bleed > .wrap{position:relative}
.bleed-dark{position:absolute;inset:0;background:rgba(15,59,54,.84)}
.band-lg{height:600px}
.band-md{height:480px}
.band-sm{height:240px}
.nav a.nav-akut{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;border:1.5px solid #D8B77E;background:#FBF7EE;color:#9A6B1F}
.nav a.nav-akut:hover{background:#F3E4C4;color:#7A5416}
.bio{margin-top:auto;padding-top:8px}
.bio summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:14px;color:#207369}
.bio summary::-webkit-details-marker{display:none}
.bio summary .icon{transition:transform .2s}
.bio[open] summary .icon{transform:rotate(180deg)}
.bio summary:focus-visible{outline:2px solid #207369;outline-offset:3px;border-radius:4px}
.bio p{font-size:14.5px;line-height:1.55;color:#465854;margin-top:10px}


/* ---- prototype: layout, mobil og interaktion ---- */
html{scroll-behavior:smooth}
.page{max-width:100%}
header{position:sticky;top:0;z-index:20}
.nav a[aria-current="page"]{color:#207369;box-shadow:0 2px 0 #207369}
.burger{display:none;width:44px;height:44px;border-radius:999px;border:1px solid #D8E3DF;background:#fff;color:#1B2725;align-items:center;justify-content:center;cursor:pointer}
.faq-q{cursor:pointer;user-select:none}
.faq-q svg{transition:transform .2s}
.faq-a{display:none}
.faq.open .faq-a{display:block}
.faq.open .faq-q svg{transform:rotate(180deg)}
.ph{background:repeating-linear-gradient(45deg,#E6F1EE 0 12px,#F2F7F5 12px 24px);border:1.5px dashed #A9CFC6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#607471;font-size:13px;font-weight:700;text-align:center;letter-spacing:.04em;padding:12px}
.ph svg{width:28px;height:28px;stroke:#7FB3A6}
:target{scroll-margin-top:100px}
@media (max-width:1100px){
  div.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .wrap{padding:0 24px}
  h1{font-size:44px}h2{font-size:34px}
  header .wrap{gap:16px}
  .nav{gap:18px}.nav a{font-size:15px}
}
@media (max-width:860px){
  div.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .team-card{padding:10px 10px 16px!important;gap:10px!important}
  .team-card h3{font-size:17px!important}
  .team-photo{aspect-ratio:3/2!important;border-radius:16px 16px 0 0!important}
  body{font-size:17px}
  h1{font-size:36px}h2{font-size:30px}h3{font-size:22px}
  h1[style*="font-size:54px"]{font-size:36px!important}
  h1,h2,h3{overflow-wrap:break-word}
  .lead{font-size:18px}
  .wrap{padding:0 20px}
  main section[style*="padding"]{padding-top:56px!important;padding-bottom:56px!important}
  main section:not([style*="padding"]){padding:0!important}
  main section[style*="padding:96px 0 0"]{padding-bottom:0!important}
  main section > .wrap[style*="padding-top"]{padding-top:40px!important}
  main section > .wrap[style*="padding-bottom"]{padding-bottom:40px!important}
  [style*="grid-template-columns"]{grid-template-columns:1fr!important;gap:16px!important}
  [style*="height:480px"]{height:240px!important}
  .band-lg,.band-md{height:260px}
  .bleed[style*="height:440px"]{height:260px!important}
  .bleed img[style*="height:96px"]{height:64px!important}
  .btn{width:100%}
  .btn-sm{width:auto}
  main .card{padding:24px!important}
  main .card[style*="padding:8px"]{padding:4px!important}
  p,span,a,td,li,div{overflow-wrap:anywhere}
  nav[aria-label="Brødkrumme"]{flex-wrap:wrap;row-gap:4px}
  nav[aria-label="Brødkrumme"] a,nav[aria-label="Brødkrumme"] span{overflow-wrap:normal;white-space:nowrap}
  .pill{white-space:normal;height:auto;padding:8px 14px;line-height:1.3}
  header .wrap{height:auto!important;padding:12px 20px;flex-wrap:wrap;justify-content:space-between}
  header{box-shadow:0 1px 0 #E6EEEB}
  .nav.open{background:#FBFCFB}
  header .wrap > div:last-of-type{order:2;gap:8px}
  header .wrap > div:last-of-type .btn{height:40px;padding:0 12px;font-size:14px;gap:6px}
  header .wrap{gap:10px!important}
  header .wrap > div:last-of-type{margin-left:auto}
  .burger{display:inline-flex;order:3}
  .nav{display:none;order:4;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px 0 12px;border-top:1px solid #E6EEEB;margin-top:8px}
  .nav.open{display:flex}
  .nav a{padding:12px 4px;border-bottom:1px solid #F0F4F2;font-size:17px}
  .nav a[aria-current="page"]{box-shadow:none;background:#F2F7F5;padding-left:12px;border-radius:8px}
  .nav a.nav-akut{display:block;height:auto;border:0;background:none;border-radius:0;padding:12px 4px;border-bottom:1px solid #F0F4F2}
  .logo img{height:38px!important}
  footer .wrap > div:first-child{grid-template-columns:1fr!important}
  footer .wrap > div:last-child{flex-direction:column;gap:12px}
  table.tests{font-size:15px}
  table.tests thead{display:none}
  table.tests,table.tests tbody,table.tests tr,table.tests td{display:block;width:auto!important}
  table.tests tr{padding:14px 8px;border-bottom:1px solid #E6EEEB}
  table.tests tr:last-child{border-bottom:0}
  table.tests td{padding:0!important;border:0!important;white-space:normal;overflow-wrap:normal}
  table.tests td:first-child{margin-bottom:4px;font-size:16px}
  .ph{font-size:11px}
  [style*="max-height:640px"]{max-height:260px!important}
}
@media (max-width:480px){
  h1,h1[style*="font-size:54px"]{font-size:32px!important}
  .step-num{width:38px;height:38px;font-size:18px}
}

/* ---- fotos: størrelse efter skærm ---- */
@media (max-width:700px){
  [style*="foto-eng-stol.jpg"]{background-image:url(../img/foto-eng-stol-m.jpg)!important}
  [style*="foto-far-barn-sti.jpg"]{background-image:url(../img/foto-far-barn-sti-m.jpg)!important}
  [style*="foto-baenk-soe.jpg"]{background-image:url(../img/foto-baenk-soe-m.jpg)!important}
  [style*="foto-birkelund.jpg"]{background-image:url(../img/foto-birkelund-m.jpg)!important}
  [style*="foto-samtalerum.jpg"]{background-image:url(../img/foto-samtalerum-m.jpg)!important}
  [style*="foto-eng-eg.jpg"]{background-image:url(../img/foto-eng-eg-m.jpg)!important}
  [style*="foto-bord.jpg"]{background-image:url(../img/foto-bord-m.jpg)!important}
}
@media (min-width:1700px) and (min-resolution:1.2dppx), (min-width:2200px), (min-width:1100px) and (min-resolution:1.9dppx){
  [style*="foto-eng-stol.jpg"]{background-image:url(../img/foto-eng-stol-xl.jpg)!important}
  [style*="foto-far-barn-sti.jpg"]{background-image:url(../img/foto-far-barn-sti-xl.jpg)!important}
  [style*="foto-baenk-soe.jpg"]{background-image:url(../img/foto-baenk-soe-xl.jpg)!important}
  [style*="foto-birkelund.jpg"]{background-image:url(../img/foto-birkelund-xl.jpg)!important}
  [style*="foto-samtalerum.jpg"]{background-image:url(../img/foto-samtalerum-xl.jpg)!important}
  [style*="foto-eng-eg.jpg"]{background-image:url(../img/foto-eng-eg-xl.jpg)!important}
  [style*="foto-bord.jpg"]{background-image:url(../img/foto-bord-xl.jpg)!important}
}
