/* NeuroKompas  |  fælles stylesheet */

/* Skrifttyper ligger på siden selv, så besøgende ikke sendes videre til Google */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/lora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/nunito-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@view-transition { navigation: auto; }

:root {
  --ink: #172338;
  --muted: #556075;
  --teal: #1F3D6B;
  --teal-dark: #152C50;
  --teal-soft: #E5EDF7;
  --teal-light: #8DB0DB;
  --clay: #E2A33A;
  --clay-dark: #8C5D0E;
  --clay-soft: #FBF0DA;
  --sand: #F2F5F9;
  --cream: #FFFFFF;
  --line: #DCE3EC;
  --white: #FFFFFF;
  --radius: 22px;
  --max: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 28px 56px -32px rgba(23, 35, 56, .38);
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 { font-family: "Lora", Georgia, serif; font-weight: 600; line-height: 1.18; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
a[href^="tel:"] { white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }
section { padding: 96px 0; position: relative; }
.alt { background: var(--sand); }
.sand { background: var(--sand); }

.lead { font-size: 1.18rem; color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 44px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--white);
  text-decoration: none; font: inherit; font-weight: 700;
  padding: 15px 28px; border: 0; border-radius: 999px; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(21, 44, 80, .7); }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--teal-soft); box-shadow: inset 0 0 0 2px var(--teal); }
.btn-light { background: var(--white); color: var(--teal-dark); }
.btn-light:hover, .btn-light:focus-visible { background: var(--clay-soft); }
.btn-sm { padding: 10px 20px; }

.more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--teal); text-decoration: none; }
.more .arr { transition: transform .35s var(--ease); }
.more:hover .arr { transform: translateX(5px); }

/* ---------- Top bar & header ---------- */


.topbar { background: var(--teal-dark); color: var(--white); font-size: .88rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; opacity: .9; transition: opacity .2s; }
.topbar a:hover { opacity: 1; }
.topbar svg { flex: none; color: var(--clay); }
.topbar .contacts { display: flex; gap: 24px; }
@media (max-width: 640px) { .topbar .contacts { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 30px -24px rgba(23, 35, 56, .35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; transition: height .35s var(--ease); }
.scrolled .nav { height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand span { font-family: "Lora", Georgia, serif; font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; }
.logo-needle {
  transform-box: view-box; transform-origin: 24px 24px;
  transform: rotate(calc(35deg + var(--scroll-rot, 0deg)));
}
.brand:hover .logo-needle { transition: transform .8s var(--ease); transform: rotate(395deg); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-links > li > a:not(.btn) { position: relative; padding: 6px 0; }
.nav-links > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--clay); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links > li > a:not(.btn):hover::after,
.nav-links > li > a[aria-current="page"]::after,
.has-sub.is-active > a::after { transform: scaleX(1); }
.nav-links .btn { color: var(--white); }

.has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.has-sub > a::before {
  content: ""; order: 2; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.has-sub:hover > a::before, .has-sub:focus-within > a::before { transform: rotate(225deg); margin-top: 3px; }
.sub {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 260px;
  list-style: none; margin: 0; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; transition: background .2s, padding .3s var(--ease); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--sand); padding-left: 20px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; margin-right: -10px; color: var(--ink); }
.bars { display: grid; gap: 5px; width: 24px; }
.bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); padding: 16px 24px 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(23, 35, 56, .3);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease), visibility .45s;
  }
  .nav-links.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav-links > li > a:not(.btn) { display: block; padding: 12px 0; font-size: 1.1rem; }
  .nav-links > li > a:not(.btn)::after { bottom: 6px; width: 40px; }
  .has-sub > a::before { display: none; }
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px 14px; min-width: 0; }
  .sub::before { display: none; }
  .sub a { padding: 8px 12px; color: var(--muted); }
  .nav-links .btn { justify-content: center; margin-top: 12px; }
}

/* ---------- Entry & reveal animations ---------- */

.js [data-load] { opacity: 0; animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 130ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.js [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Blobs ---------- */

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .6; pointer-events: none; z-index: 0; animation: drift 24s ease-in-out infinite alternate; }
.blob.a { width: 460px; height: 460px; background: #CFE0F4; top: -160px; right: -120px; }
.blob.b { width: 380px; height: 380px; background: #F9E6C0; bottom: -180px; left: -140px; animation-duration: 30s; }
.blob.c { width: 260px; height: 260px; background: #E8F0FA; top: 40%; left: 45%; animation-duration: 36s; opacity: .45; }
@keyframes drift { 50% { transform: translate(30px, 40px) scale(1.06); } 100% { transform: translate(-30px, 10px) scale(.96); } }

/* ---------- Home hero ---------- */

.hero { overflow: hidden; background: var(--sand); padding: 72px 0 140px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.compass-wrap { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1; margin-inline: auto; }
.compass { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 40px rgba(23, 35, 56, .14)); }
.compass .face { fill: var(--white); stroke: var(--line); stroke-width: 2; }
.compass .ticks { fill: none; stroke: var(--ink); stroke-width: 10; stroke-dasharray: 1.5 13.2; opacity: .55; }
.compass .ring { fill: none; stroke: var(--line); stroke-width: 2; }
.compass .inner { fill: var(--cream); }
.compass .spin { transform-box: view-box; transform-origin: 200px 200px; animation: spin 140s linear infinite; }
.compass .dir { font-family: "Lora", Georgia, serif; font-size: 22px; font-weight: 600; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.compass .dir.n { fill: var(--clay); }
.needle-n { fill: var(--ink); }
.needle-s { fill: var(--teal); }
#needle { transform-box: view-box; transform-origin: 200px 200px; transform: rotate(var(--angle, 35deg)); }
#needle.intro { animation: settle 2.8s var(--ease) both .35s; }
#needle.live { transition: transform 1.1s var(--ease); }
@keyframes settle {
  0% { transform: rotate(-170deg); }
  24% { transform: rotate(100deg); }
  44% { transform: rotate(4deg); }
  62% { transform: rotate(58deg); }
  78% { transform: rotate(27deg); }
  90% { transform: rotate(39deg); }
  100% { transform: rotate(35deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 940px) {
  .hero { padding: 48px 0 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .compass-wrap { max-width: 340px; }
}

/* ---------- Pillars ---------- */

.pillars { padding: 0; margin-top: -84px; z-index: 2; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.pillar .num { font-family: "Lora", Georgia, serif; font-size: .95rem; color: var(--clay-dark); font-weight: 600; }
.pillar h3 { font-size: 1.5rem; margin: 4px 0 8px; }
.pillar p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---------- Scatter: fra kaos til overblik ---------- */

.scatter { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0 0 32px; }
.scatter li {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; font-weight: 600;
  transition: transform 1.2s var(--ease), box-shadow .4s, border-color .4s;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.scatter li::before { content: "?"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: "Lora", Georgia, serif; background: var(--clay-soft); color: var(--clay-dark); transition: background .6s, color .6s; transition-delay: inherit; }
.js .scatter:not(.is-visible) li { transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)); }
.scatter.is-visible li::before { content: "✓"; background: var(--teal-soft); color: var(--teal); transition-delay: calc(var(--i, 0) * 70ms + 700ms); }
.scatter li:hover { border-color: var(--teal-light); box-shadow: var(--shadow); }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; text-decoration: none; color: inherit;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .3s;
}
.alt .card { background: var(--white); }
.card::before {
  content: ""; position: absolute; z-index: -1; right: -90px; bottom: -110px;
  width: 240px; height: 240px; border-radius: 50%; background: var(--teal-soft);
  transform: scale(.55); transition: transform .8s var(--ease);
}
.card.warm::before { background: var(--clay-soft); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scale(2.6); }
.card h3 { margin: 6px 0 0; font-size: 1.45rem; }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: 14px; }
.icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal);
  transition: transform .7s var(--ease), background .4s;
}
.warm .icon { background: var(--clay-soft); color: var(--clay-dark); }
.card:hover .icon { transform: rotate(-10deg) scale(1.08); background: var(--white); }
@media (max-width: 860px) { .cards, .cards.three { grid-template-columns: 1fr; } }

/* ---------- Split, quote ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.quote {
  position: relative; overflow: hidden; margin: 0;
  font-family: "Lora", Georgia, serif; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.38;
  background: var(--teal); color: var(--white); border-radius: var(--radius); padding: 64px 44px 44px;
}
.quote::before { content: "”"; position: absolute; top: -48px; right: 22px; font-size: 13rem; line-height: 1; color: rgba(255, 255, 255, .12); }
.quote.warm { background: var(--clay); color: var(--ink); }

.big-statement { font-family: "Lora", Georgia, serif; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.25; max-width: 900px; margin: 0 auto; text-align: center; }

/* ---------- Steps with progress ---------- */

.steps { position: relative; margin-top: 52px; --p: 0; }
.steps::before, .steps .track { content: ""; position: absolute; top: 25px; left: 25px; right: 25px; height: 3px; border-radius: 3px; background: var(--line); }
.steps .track { background: var(--clay); transform: scaleX(var(--p)); transform-origin: left; }
.steps ol { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.steps .dot {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
  background: var(--white); color: var(--muted); border: 3px solid var(--line);
  transition: background .5s var(--ease), border-color .5s, color .5s, transform .5s var(--ease);
}
.steps li.on .dot { background: var(--clay); border-color: var(--clay); color: var(--ink); transform: scale(1.1); }
.steps h3 { margin: 22px 0 8px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) {
  .steps::before, .steps .track { top: 25px; bottom: 25px; left: 25px; right: auto; width: 3px; height: auto; }
  .steps .track { transform: scaleY(var(--p)); transform-origin: top; }
  .steps ol { grid-template-columns: 1fr; gap: 34px; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; }
  .steps h3 { margin-top: 10px; }
}

.steps.vertical::before, .steps.vertical .track { top: 25px; bottom: 25px; left: 25px; right: auto; width: 3px; height: auto; }
.steps.vertical .track { transform: scaleY(var(--p)); transform-origin: top; }
.steps.vertical ol { grid-template-columns: 1fr; gap: 30px; }
.steps.vertical li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; }
.steps.vertical h3 { margin-top: 10px; }

/* ---------- Page hero (undersider) ---------- */

.page-hero { overflow: hidden; background: var(--sand); padding: 84px 0 76px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 860px; }
.page-hero .lead { max-width: 700px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.page-hero .deco { position: absolute; right: -60px; top: 50%; width: 360px; transform: translateY(-50%); color: var(--ink); opacity: .06; z-index: 0; }
.page-hero .deco .spin { transform-box: view-box; transform-origin: 200px 200px; animation: spin 120s linear infinite; }
@media (max-width: 760px) { .page-hero .deco { display: none; } }

/* ---------- Topics ---------- */

.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.topics li {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; font-weight: 600;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.alt .topics li { background: var(--white); }
.topics li:hover { transform: translateY(-3px); border-color: var(--teal-light); box-shadow: var(--shadow); }
.topics .n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 700; background: var(--teal-soft); color: var(--teal); }
.warm-page .topics .n { background: var(--clay-soft); color: var(--clay-dark); }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 18px 22px; border-radius: 16px;
  background: var(--clay-soft); color: var(--ink); font-size: .98rem;
}
.note::before { content: "i"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--clay); color: var(--ink); font-family: "Lora", Georgia, serif; font-weight: 600; margin-top: 2px; }
.note p { margin: 0; }

/* ---------- Photo placeholder ---------- */

.photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--teal-soft), #D5E3F3);
  display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: .95rem; padding: 24px;
}
img.photo { display: block; width: 100%; height: auto; padding: 0; object-fit: cover; object-position: center top; }
.framed { position: relative; isolation: isolate; }
.framed::after {
  content: ""; position: absolute; z-index: -1; inset: 20px -20px -20px 20px;
  border: 2px solid var(--clay); border-radius: var(--radius);
  transition: inset .7s var(--ease);
}
.framed:hover::after { inset: 10px -10px -10px 10px; }

.badge { display: inline-flex; align-items: center; gap: 10px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: .92rem; padding: 9px 18px; border-radius: 999px; }
.badge::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: var(--white); display: grid; place-items: center; font-size: .7rem; }

/* ---------- Values ---------- */

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.values .value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.values .value h3 { font-size: 1.6rem; color: var(--clay-dark); }
.values .value p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Facts & prices ---------- */

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fact { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fact.featured { background: var(--teal); color: var(--white); border-color: var(--teal); }
.fact.featured .label, .fact.featured p { color: rgba(255, 255, 255, .8); }
.fact .label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact .value { font-family: "Lora", Georgia, serif; font-size: 1.9rem; margin: 8px 0 10px; }
.fact p { margin: 0; font-size: .97rem; color: var(--muted); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 38px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: var(--teal-soft); color: var(--teal); }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.price.wide { grid-column: 1 / -1; }
.price-top { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 16px; }
.price h3 { margin: 0 0 6px; }
.price p { font-size: .97rem; color: var(--muted); }
.price p:last-child { margin-bottom: 0; }
.amount, .price p.amount { font-family: "Lora", Georgia, serif; font-size: 1.7rem; color: var(--teal-dark); margin: 0; line-height: 1.3; }
.amount span { display: block; font-family: "Nunito Sans", system-ui, sans-serif; font-size: .88rem; font-weight: 700; color: var(--clay-dark); }
.tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: .92rem; font-weight: 600; }
@media (max-width: 960px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .prices { grid-template-columns: 1fr; } }

.package {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  margin-top: 22px; padding: 40px; border-radius: var(--radius);
  background: var(--teal); color: var(--white);
}
.package h3 { font-size: 1.9rem; margin: 0 0 8px; }
.package p { color: rgba(255, 255, 255, .85); }
.package .amount { color: var(--white); font-size: 2.2rem; }
.package-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.package .checks { margin-top: 12px; }
.package .checks li::before { background: rgba(255, 255, 255, .16); color: var(--white); }
@media (max-width: 760px) { .package { grid-template-columns: 1fr; gap: 20px; padding: 30px; } }
.split .note { margin-top: 22px; }

/* ---------- FAQ ---------- */

.faq { max-width: 840px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; transition: border-color .3s, box-shadow .4s var(--ease); interpolate-size: allow-keywords; }
.faq details[open] { border-color: var(--teal-light); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 26px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 400;
  background: var(--teal-soft); color: var(--teal);
  transition: transform .45s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--teal); color: var(--white); }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-list .icon { width: 46px; height: 46px; border-radius: 14px; }
.contact-list a:hover .icon { transform: rotate(-8deg); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.7rem; margin-bottom: 4px; }
.form-card .hint { color: var(--muted); font-size: .95rem; }
.field { margin-top: 18px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px var(--teal-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.privacy-hint { margin-top: 16px; font-size: .9rem; color: var(--muted); background: var(--sand); border-radius: 12px; padding: 12px 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.form-card .btn { margin-top: 22px; width: 100%; justify-content: center; }
.form-card .btn:disabled { opacity: .6; cursor: wait; }
.form-error { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--clay-soft); border-left: 4px solid var(--clay); font-size: .95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 30px 0; }
.form-success svg { width: 84px; height: 84px; margin: 0 auto 18px; }
.form-success .tick { stroke-dasharray: 60; stroke-dashoffset: 60; }
form.sent .fields { display: none; }
form.sent .form-success { display: block; animation: rise .8s var(--ease); }
form.sent .form-success .tick { animation: draw .9s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Prose (privatlivspolitik) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.draft-banner { background: var(--clay-soft); border-left: 4px solid var(--clay); border-radius: 12px; padding: 16px 20px; margin-bottom: 32px; font-weight: 600; }

/* ---------- CTA band ---------- */

.cta { overflow: hidden; background: var(--teal); color: var(--white); padding: 110px 0; }
.cta .watermark { position: absolute; width: 680px; right: -220px; top: -200px; color: var(--white); opacity: .07; animation: spin 100s linear infinite; }
.cta .wrap { position: relative; }
.cta blockquote { font-family: "Lora", Georgia, serif; font-size: clamp(1.7rem, 3.8vw, 2.7rem); line-height: 1.25; margin: 6px 0 22px; }
.cta .lead { color: rgba(255, 255, 255, .86); margin-bottom: 32px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 72px 0 32px; font-size: .96rem; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: var(--white); }
.foot-tag { font-family: "Lora", Georgia, serif; font-size: 1.15rem; color: var(--white); margin: 16px 0 6px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: rgba(255, 255, 255, .58); }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-load], .js [data-reveal] { opacity: 1; transform: none; }
  .js .scatter li { transform: none !important; }
}
