/* findinvestor.dk - redaktionel: creme, kul og koboltblå ejerandele */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-vf.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-vf.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --creme: #f3efe7; --creme-2: #e9e3d7; --hvid: #fcfaf6;
  --kul: #121417; --daempet: #565a61; --streg: #d9d3c7;
  --kobolt: #2b44d6; --kobolt-dyb: #1d2f9e; --kobolt-lys: #dfe3fb; --gul: #e9c46a; --graa: #9aa0a8;
  --display: "Instrument Serif", Georgia, serif; --tekst: "Hanken Grotesk", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --maxb: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--kul); font: 400 1.0625rem/1.65 var(--tekst); }
svg { max-width: 100%; }
a { color: var(--kobolt); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--kobolt-dyb); }
:focus-visible { outline: 3px solid var(--kobolt); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h1 em { color: var(--kobolt); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.ramme { width: 100%; max-width: var(--maxb); margin: 0 auto; padding: 0 1.25rem; }
.spring { position: absolute; left: -999px; top: .5rem; background: var(--kul); color: #fff; padding: .5rem 1rem; z-index: 10; }
.spring:focus { left: .5rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { border-bottom: 1px solid var(--kul); }
.top-ind { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.ordmaerke { display: inline-flex; align-items: center; gap: .55rem; color: var(--kul); text-decoration: none; font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.ordmaerke .logo { width: 28px; height: 28px; color: var(--kobolt); }
.menu { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; font-size: .95rem; font-weight: 500; }
.menu a { color: var(--kul); text-decoration: none; padding: .2rem 0; }
.menu a:hover { color: var(--kobolt); }
.menu a[aria-current="page"] { color: var(--kobolt); box-shadow: inset 0 -2px 0 var(--kobolt); }

.helt { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--streg); }
.helt-ind { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.overrubrik { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--kobolt); margin-bottom: 1rem; }
.indledning { font-size: 1.15rem; color: var(--daempet); max-width: 40rem; }
.knapper { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.knap { display: inline-block; padding: .8rem 1.35rem; background: var(--kul); color: var(--creme); font-weight: 600; text-decoration: none; border-radius: 999px; }
.knap:hover { background: var(--kobolt); color: #fff; }
.knap-lys { background: transparent; color: var(--kul); box-shadow: inset 0 0 0 1.5px var(--kul); }
.knap-lys:hover { background: var(--kul); color: var(--creme); }
.ejerfig { margin: 0; text-align: center; }
.ejerfig svg { width: 100%; max-width: 320px; display: block; margin: 0 auto; }
.ring-bund { fill: none; stroke: var(--creme-2); stroke-width: 44; }
.seg { fill: none; stroke-width: 44; }
.seg-a { stroke: var(--kobolt); }
.seg-b { stroke: var(--kul); }
.seg-c { stroke: var(--gul); }
.midt-1 { font-family: var(--display); font-size: 30px; fill: var(--kul); }
.midt-2 { font-family: var(--mono); font-size: 13px; fill: var(--daempet); letter-spacing: 1px; }
.ejerfig figcaption, .forklaring { font-size: .88rem; color: var(--daempet); margin-top: .75rem; }
.noegle { display: inline-block; width: .75rem; height: .75rem; border-radius: 50%; vertical-align: -1px; margin: 0 .3rem 0 .7rem; }
.par { white-space: nowrap; }
.par:first-child .noegle { margin-left: 0; }
.noegle.a { background: var(--kobolt); }
.noegle.b { background: var(--kul); }
.noegle.c { background: var(--gul); }
.noegle.o { background: var(--graa); }

.sektion { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.fem { list-style: none; counter-reset: f; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.fem li { counter-increment: f; border-top: 1px solid var(--kul); padding-top: 1rem; }
.fem li::before { content: counter(f); font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--kobolt); display: block; margin-bottom: .6rem; }
.fem h3 { font-size: 1.35rem; }
.fem p { color: var(--daempet); font-size: .97rem; margin: 0; }
.baand { background: var(--kul); color: #d5d7db; }
.baand h2 { color: #fff; }
.baand a { color: #aab7ff; }
.baand-ind { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.citat { margin: 0; }
.citat p { font-family: var(--display); font-style: normal; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; color: #fff; margin-bottom: .6rem; }
.citat footer { font-family: var(--mono); font-size: .8rem; color: var(--graa); text-transform: uppercase; letter-spacing: .08em; }
.pil { font-weight: 600; }
.pil::after { content: " \2192"; }

.tekstside { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.side-top { max-width: 48rem; margin-bottom: 2.25rem; }
.artikel-smal { max-width: 44rem; }
.artikel-smal h2 { margin-top: 2.25rem; }
.typer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.typer article { border-top: 1px solid var(--kul); padding: 1.1rem 0 1.6rem; }
.typer h2 { font-size: 1.9rem; }
.typer p:last-child { margin: 0; color: #33363c; }
.fase { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--kobolt); margin-bottom: .5rem; }
.advarsel { background: var(--kobolt-lys); border-radius: 14px; padding: 1.4rem 1.6rem; margin-top: 1.5rem; max-width: 48rem; }
.advarsel h2 { font-size: 1.6rem; }
.advarsel p { margin: 0; }
.hop { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.hop a { font-size: .92rem; text-decoration: none; padding: .35rem .85rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--kul); color: var(--kul); }
.hop a:hover { background: var(--kul); color: var(--creme); }
.ord-gruppe { padding-top: 1.25rem; scroll-margin-top: 1rem; }
.ord { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
.ord div { border-top: 1px solid var(--streg); padding: .9rem 0; }
.ord dt { font-weight: 700; margin-bottom: .2rem; }
.ord dd { margin: 0; color: #33363c; }

.tjek-layout { display: grid; grid-template-columns: 1fr 18rem; gap: 2rem; align-items: start; margin-bottom: 1rem; }
.tjekliste fieldset { border: 0; border-top: 1px solid var(--kul); margin: 0 0 1.5rem; padding: .9rem 0 0; }
.tjekliste legend { font-family: var(--display); font-size: 1.6rem; padding: 0 .5rem 0 0; }
.tjekliste label { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; padding: .6rem 0; cursor: pointer; align-items: start; }
.tjekliste input { width: 1.2rem; height: 1.2rem; margin: .25rem 0 0; accent-color: var(--kobolt); }
.tjekliste input:checked + span { color: var(--daempet); }
.status { position: sticky; top: 1rem; background: var(--kul); color: #d5d7db; border-radius: 14px; padding: 1.4rem; }
.status-tal { font-family: var(--display); font-size: 2.8rem; color: #fff; line-height: 1; margin-bottom: .8rem; }
.status-bar { height: 10px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; margin-bottom: 1rem; }
.status-bar span { display: block; height: 100%; width: 0; background: var(--kobolt); transition: width .2s ease-out; }
.status-tekst { color: #fff; }
.status .smaa { color: var(--graa); }
.smaa { font-size: .88rem; color: var(--daempet); margin: 0; }

.regner-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: start; margin-bottom: 1rem; }
.regner { display: grid; gap: 1rem; background: var(--hvid); border: 1px solid var(--streg); border-radius: 14px; padding: 1.5rem; }
.regner label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
input:not([type="checkbox"]) { font: 500 1.08rem var(--mono); color: var(--kul); background: var(--creme); border: 1.5px solid var(--streg); border-radius: 8px; padding: .6rem .75rem; width: 100%; min-width: 0; }
input:not([type="checkbox"]):focus { border-color: var(--kobolt); outline: 2px solid var(--kobolt-lys); outline-offset: 1px; }
.resultat { background: var(--hvid); border: 1px solid var(--kul); border-radius: 14px; padding: 1.5rem; }
.res-liste { margin: 0 0 1.25rem; }
.res-liste div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--streg); }
.res-liste dd { margin: 0; font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.res-liste .stor dt { font-weight: 700; }
.res-liste .stor dd { font-family: var(--display); font-weight: 400; font-size: 2.3rem; color: var(--kobolt); }
.soejler { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 22rem; }
.soejle p { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--daempet); margin: 0 0 .4rem; }
.stak { height: 180px; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: var(--creme-2); }
.del { display: block; width: 100%; transition: height .25s ease-out; }
.del.a { background: var(--kobolt); }
.del.b { background: var(--kul); }
.del.c { background: var(--gul); }
.del.o { background: var(--graa); }
.formel { font-family: var(--mono); font-size: .98rem; background: var(--kobolt-lys); padding: .65rem .8rem; border-radius: 8px; overflow-wrap: anywhere; }

.bund { border-top: 1px solid var(--kul); padding: 2rem 0 2.5rem; background: var(--creme-2); }
.bund-ind { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2rem; }
.bund-navn { font-family: var(--display); font-size: 1.5rem; margin: 0 0 .25rem; line-height: 1; }
.bund-note { color: var(--daempet); font-size: .9rem; max-width: 27rem; margin: 0; }
.bund nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .95rem; align-content: start; }
.bund a { color: var(--kul); }

@media (max-width: 1000px) { .fem { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .helt-ind, .baand-ind, .tjek-layout, .regner-layout { grid-template-columns: 1fr; }
  .status { position: static; }
  .ejerfig svg { max-width: 260px; }
}
@media (max-width: 640px) {
  .fem, .typer, .ord { grid-template-columns: 1fr; }
  .menu { gap: .1rem .9rem; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
