/* ========================================================================
   StartSammen.dk — marketingside
   Designsprog inspireret af VhAT: mørk navy-violet + lavendel, Inter +
   display-font, scroll-fade-animationer.
   ======================================================================== */

:root {
  --white: #ffffff;
  --primary: #10072d;          /* deep navy-purple — mørk bg & overskrifter */
  --primary-2: #1a0f3d;
  --violet: #7d4ce5;           /* hovedaccent / knapper */
  --violet-hover: #6a3bd0;
  --violet-2: #9782fb;
  --violet-light: #c6b1ff;
  --lav-1: #f4efff;            /* lys sektionsbaggrund */
  --lav-2: #efeaff;
  --lav-3: #e2d8ff;
  --gray: #878295;
  --border: rgba(16, 7, 45, 0.12);
  --border-light: rgba(255, 255, 255, 0.14);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-sm: 0 1px 2px rgba(16, 7, 45, 0.06);
  --shadow: 0 18px 50px rgba(16, 7, 45, 0.10);
  --shadow-lg: 0 40px 90px rgba(16, 7, 45, 0.28);
  --max: 1160px;
  --head: "Space Grotesk", "Neueregrade", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-size: 1rem; font-weight: 600;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }

.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px rgba(125, 76, 229, 0.35); }
.btn-primary:hover { background: var(--violet-hover); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); }

.btn-outline-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--lav-2); }

.btn-ghost { color: var(--violet-light); padding: 10px 14px; }
.btn-ghost:hover { color: #fff; transform: none; }

/* ===================== HERO WRAP (mørk) ===================== */
.hero-wrap {
  position: relative;
  background:
    radial-gradient(900px 480px at 75% -8%, rgba(125,76,229,0.45) 0%, rgba(125,76,229,0) 60%),
    radial-gradient(700px 420px at 10% 12%, rgba(151,130,251,0.30) 0%, rgba(151,130,251,0) 55%),
    var(--primary);
  color: #fff;
  padding-bottom: 170px;
}

/* ===================== HEADER ===================== */
.site-header { position: sticky; top: 0; z-index: 60; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: #fff; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; background: var(--violet); color: #fff;
  border-radius: 10px; font-weight: 700; font-size: 1.05rem; font-family: var(--head);
}
.logo-mark.sm { width: 22px; height: 22px; font-size: .8rem; border-radius: 7px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--violet-light); transition: color .15s; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { padding: 70px 0 0; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  color: var(--violet-light); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 7px 16px; border-radius: 999px;
}
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); margin-top: 26px; color: #fff; }
.hero-sub { font-size: clamp(1.05rem, 1.9vw, 1.25rem); color: var(--violet-light); max-width: 60ch; margin-top: 22px; }
.cta-group { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ===================== APP-MOCKUP ===================== */
.mockup-stage { margin-top: -110px; margin-bottom: 24px; position: relative; z-index: 5; }
.browser {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px rgba(16, 7, 45, 0.14); overflow: hidden; border: 1px solid var(--border);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #f3f1f8; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.browser-url { margin-left: 14px; font-size: .82rem; color: var(--gray); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 5px 16px; }

.browser-body { display: grid; grid-template-columns: 230px 1fr; min-height: 380px; }
.bm-side { background: var(--primary); color: var(--violet-light); padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; }
.bm-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--head); font-weight: 700; margin-bottom: 16px; }
.bm-nav { padding: 10px 12px; border-radius: 9px; font-size: .9rem; }
.bm-nav.active { background: var(--violet); color: #fff; }
.bm-main { padding: 22px; background: var(--lav-1); }
.bm-search { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 12px 18px; color: var(--gray); font-size: .9rem; margin-bottom: 18px; }
.bm-cards { display: grid; gap: 14px; }
.bm-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.bm-tag { display: inline-block; font-size: .76rem; font-weight: 600; color: var(--violet); background: var(--lav-2); padding: 4px 12px; border-radius: 999px; }
.bm-card h4 { font-size: 1.05rem; margin: 12px 0 6px; }
.bm-card p { color: var(--gray); font-size: .9rem; }
.bm-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .8rem; color: var(--gray); }

/* ===================== SECTIONS ===================== */
.section { padding: 96px 0; }
.section-lav { background: var(--lav-1); }
.section-title { font-size: clamp(1.8rem, 3.8vw, 2.7rem); text-align: center; }
.section-lead { text-align: center; color: var(--gray); font-size: 1.12rem; margin: 16px auto 0; max-width: 56ch; }
.kicker { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--violet); margin-bottom: 14px; }
.kicker.light { color: var(--violet-light); }
.kicker.center { text-align: center; }
.center { text-align: center; justify-content: center; }

/* ----- SPLIT layout ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.split-text > p { color: var(--gray); font-size: 1.08rem; margin: 18px 0 28px; }
.dark-band .split-text > p { color: var(--violet-light); }

/* stat */
.stat-badge { background: var(--primary); color: #fff; border-radius: var(--radius-xl); padding: 54px 44px; box-shadow: var(--shadow); }
.stat-big { font-family: var(--head); font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; color: var(--violet-light); }
.stat-badge p { color: var(--violet-light); font-size: 1.15rem; margin-top: 10px; }

/* ----- MINI feature grid ----- */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.mini { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--lav-2); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.mini h3 { font-size: 1.12rem; margin-bottom: 6px; }
.mini p { color: var(--gray); font-size: .94rem; }

/* ----- JOURNEY (brugerrejse) ----- */
.journey { display: grid; gap: 60px; margin-top: 60px; }
.journey-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.journey-row.reverse .journey-text { order: 2; }
.journey-step { display: inline-block; background: var(--lav-2); color: var(--violet); font-family: var(--head); font-weight: 600; font-size: .82rem; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.journey-text h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.journey-text p { color: var(--gray); font-size: 1.05rem; }
.jv-window { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.jv-bar { display: flex; gap: 7px; padding: 14px 18px; background: #f3f1f8; border-bottom: 1px solid var(--border); }
.jv-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d9d4e6; }
.jv-body { padding: 24px; }
.jv-q { color: var(--gray); font-size: .9rem; margin-bottom: 16px; }
.jv-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.jv-opt:last-child { margin-bottom: 0; }
.jv-opt.active { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(125, 76, 229, 0.12); }
.jv-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--lav-1); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: none; }
.jv-opt > div { flex: 1; }
.jv-opt strong { display: block; font-family: var(--head); }
.jv-opt > div span { color: var(--gray); font-size: .85rem; }
.jv-check { color: var(--violet); font-weight: 700; }
.jv-cover { height: 72px; background: linear-gradient(120deg, var(--violet), #5b34b0); }
.jv-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--lav-1); border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; color: var(--violet); margin: -30px 0 0 24px; box-shadow: var(--shadow-sm); font-size: 1.7rem; }
.jv-info { padding: 12px 24px 26px; }
.jv-info > strong { display: block; font-family: var(--head); font-size: 1.05rem; }
.jv-info > span { color: var(--gray); font-size: .85rem; }
.jv-meta { color: var(--gray); font-size: .85rem; margin-top: 12px; }
.jv-tags { display: flex; gap: 8px; margin-top: 12px; }
.jv-tags span { background: var(--lav-2); color: var(--violet); font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.jv-interest { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.jv-avatars { display: flex; }
.jv-avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: #fff; font-family: var(--head); }
.jv-avatars span:first-child { margin-left: 0; }
.jv-avatars span:nth-child(1) { background: var(--violet); }
.jv-avatars span:nth-child(2) { background: var(--violet-2); }
.jv-avatars span:nth-child(3) { background: #5b34b0; }
.jv-avatars span:nth-child(4) { background: var(--lav-2); color: var(--violet); }
.jv-interest-label { color: var(--gray); font-size: .85rem; font-weight: 500; }
.jv-chat { padding: 24px; display: grid; gap: 12px; }
.jv-msg { padding: 12px 16px; border-radius: 16px; font-size: .92rem; max-width: 88%; line-height: 1.45; }
.jv-msg.them { background: var(--lav-1); color: var(--primary); border-bottom-left-radius: 4px; justify-self: start; }
.jv-msg.me { background: var(--violet); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }

/* ===================== DARK BAND + ROLLE-TABS ===================== */
.dark-band { background: linear-gradient(135deg, var(--primary) 0%, #241252 100%); color: #fff; border-radius: 0; }
.dark-band h2 { color: #fff; }
.section-title.light { color: #fff; }
.section-lead.light { color: var(--violet-light); }
.role-tabs { display: flex; gap: 6px; width: fit-content; margin: 40px auto; background: rgba(255,255,255,0.06); border: 1px solid var(--border-light); border-radius: 999px; padding: 6px; }
.role-tab { border: none; background: transparent; color: var(--violet-light); font-family: var(--head); font-weight: 600; font-size: 1rem; padding: 11px 30px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.role-tab.active { background: var(--violet); color: #fff; }
.role-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.role-panel:not(.active) { display: none; }
.role-hero { background: linear-gradient(150deg, var(--violet) 0%, #5b34b0 100%); border-radius: var(--radius-xl); padding: 40px; display: flex; flex-direction: column; justify-content: flex-start; gap: 24px; box-shadow: var(--shadow); align-self: start; }
.role-hero-ic { width: 56px; height: 56px; border-radius: 15px; background: rgba(255,255,255,0.18); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.role-hero-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 10px; }
.role-hero-foot h3 { color: #fff; font-size: 1.5rem; margin-bottom: 24px; }
.role-list { list-style: none; display: grid; gap: 4px; align-content: center; }
.role-list li { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); transition: background .2s; }
.role-list li:hover { background: rgba(255,255,255,0.05); }
.role-list-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,0.08); border: 1px solid var(--border-light); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex: none; }
.role-list li div { color: var(--violet-light); font-size: .95rem; line-height: 1.5; }
.role-list li strong { display: block; color: #fff; font-family: var(--head); margin-bottom: 3px; font-weight: 600; }

/* ===================== PROBLEM ===================== */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.problem { padding: 34px 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--lav-1); transition: transform .2s, box-shadow .2s; }
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.problem-ic { width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.problem h3 { font-size: 1.15rem; margin-bottom: 8px; }
.problem p { color: var(--gray); font-size: .95rem; }

/* ===================== MISSION ===================== */
.mission-quote { background: var(--primary); color: #fff; border-radius: var(--radius-xl); padding: 48px 44px; box-shadow: var(--shadow); }
.mission-quote p { font-family: var(--head); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.35; color: #fff; }
.split-text > p + p { margin-top: -8px; }

/* ===================== FAQ ===================== */
.faq { margin-top: 44px; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--head); font-weight: 600; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--violet); transition: transform .2s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 26px 24px; color: var(--gray); }

/* ===================== FINAL CTA ===================== */
.final-cta { padding: 40px 0 80px; background: var(--white); }
#faq { padding-bottom: 48px; }
.final-card {
  background: var(--lav-1);
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final-badge {
  display: inline-block;
  font-size: .85rem; font-weight: 500;
  color: var(--primary); border: 1.5px solid rgba(16,7,45,0.2);
  padding: 7px 18px; border-radius: 999px; margin-bottom: 28px;
}
.final-cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--primary); }
.final-cta p { color: var(--gray); font-size: 1.1rem; margin-top: 14px; max-width: 54ch; }
.final-cta .cta-group { margin-top: 36px; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: #1e0f4a; }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: rgba(16,7,45,0.25); }
.btn-outline-dark:hover { border-color: var(--violet); color: var(--violet); }
.final-link { margin-top: 22px; color: var(--gray); font-weight: 500; font-size: .95rem; }
.final-link:hover { color: var(--primary); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--white); color: var(--primary); padding: 64px 0 30px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand .logo { color: var(--primary); }
.footer-brand .logo-mark { background: var(--violet); }
.footer-tagline { margin-top: 16px; color: var(--gray); font-size: .95rem; }
.footer-links { display: grid; gap: 12px; align-content: start; }
.footer-head { font-family: var(--head); color: var(--primary); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.footer-links a { color: var(--gray); font-size: .95rem; transition: color .15s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: var(--gray); font-size: .88rem; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-visual { order: 2; }
  .role-panel { grid-template-columns: 1fr; gap: 20px; }
  .journey-row, .journey-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .journey-row.reverse .journey-text { order: 0; }
}

@media (max-width: 767px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; position: absolute; top: 76px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--primary-2); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-lg);
  }
  .nav.open a { padding: 14px 16px; }

  .browser-body { grid-template-columns: 1fr; }
  .bm-side { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .bm-logo { width: 100%; margin-bottom: 8px; }
  .mockup-stage { margin-top: -80px; }
  .role-tabs { width: 100%; }
  .role-tab { flex: 1; padding: 11px 0; }
  .section { padding: 64px 0; }
  .cta-group { width: 100%; flex-direction: column; }
  .cta-group .btn { width: 100%; }
  .hero-wrap { padding-bottom: 90px; }
}

@media (max-width: 520px) {
  .mini-grid { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .btn:hover, .mini:hover, .problem:hover { transform: none; }
}
