.home-pagecontent {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
}

.hp-section {
    width: 100%;
    box-sizing: border-box;
    padding: 88px 5vw;
    position: relative;
}

.hp-section--tint {
    background: var(--second-color);
}

.hp-section-inner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.hp-section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 44px;
}

.hp-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--deep-green);
    font-weight: 500;
    display: inline-block;
}

.hp-section-head h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    color: var(--ink-navy);
    margin: 10px 0 12px;
}

.hp-section-head p {
    color: var(--font-color);
    opacity: 0.8;
    font-size: 16px;
    margin: 0;
}

/* ---------- Hero (dossier) ---------- */
.hp-hero {
    background: var(--ink-navy);
    color: #F4FBF7;
    overflow: hidden;
}

.hp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--main-color) 22%, transparent) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--main-color) 14%, transparent) 0%, transparent 40%);
    pointer-events: none;
}

.hp-hero .hp-section-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    text-align: left;
    z-index: 1;
}

.hp-hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--main-color);
    font-weight: 500;
}

.hp-hero h1 {
    color: #F4FBF7;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    margin: 16px 0 18px;
    font-weight: 600;
}

.hp-hero h1 em {
    color: var(--main-color);
    font-style: normal;
}

.hp-hero-lead {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(244, 251, 247, 0.78);
    margin: 0 0 30px;
    max-width: 480px;
}

.hp-hero-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.hp-hero-trust {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    color: rgba(244, 251, 247, 0.55);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-hero-trust .hp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--main-color);
    flex-shrink: 0;
}

/* document stack visual */
.hp-dossier {
    position: relative;
    height: 380px;
}

.hp-doc {
    position: absolute;
    width: 280px;
    max-width: 82%;
    background: #F4FBF7;
    color: var(--ink-text, var(--font-color));
    border-radius: 6px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    padding: 22px 22px;
    font-size: 13px;
    line-height: 1.55;
}

.hp-doc-1 {
    top: 6px;
    left: 4px;
    transform: rotate(-6deg);
    border-left: 4px solid var(--main-color);
}

.hp-doc-2 {
    top: 84px;
    left: 100px;
    transform: rotate(4deg);
    border-left: 4px solid var(--deep-green);
}

.hp-doc-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--deep-green);
    margin-bottom: 8px;
    display: block;
}

.hp-doc-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink-navy);
    margin-bottom: 8px;
}

.hp-doc-lines span {
    display: block;
    height: 7px;
    background: var(--ink-line);
    border-radius: 3px;
    margin-bottom: 7px;
}

.hp-doc-lines span:nth-child(1) { width: 92%; }
.hp-doc-lines span:nth-child(2) { width: 80%; }
.hp-doc-lines span:nth-child(3) { width: 60%; }

.hp-doc-lines--grow span {
    transform-origin: left;
    transform: scaleX(0);
}

.hp-doc-lines--grow.is-grown span {
    animation: hpLineGrow 0.5s ease forwards;
}

.hp-doc-lines--grow.is-grown span:nth-child(2) { animation-delay: 0.18s; }
.hp-doc-lines--grow.is-grown span:nth-child(3) { animation-delay: 0.36s; }

@keyframes hpLineGrow {
    to { transform: scaleX(1); }
}

.hp-doc-kws {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.hp-doc-kw {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--deep-green);
    background: var(--second-color);
    border-radius: 999px;
    padding: 3px 9px;
    opacity: 0;
    transform: translateY(4px) scale(0.92);
}

.hp-doc-kws.is-revealed .hp-doc-kw {
    animation: hpKwPop 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) forwards;
}

.hp-doc-kws.is-revealed .hp-doc-kw:nth-child(2) { animation-delay: 0.22s; }
.hp-doc-kws.is-revealed .hp-doc-kw:nth-child(3) { animation-delay: 0.44s; }

@keyframes hpKwPop {
    to { opacity: 1; transform: none; }
}

.hp-seal-badge {
    position: absolute;
    bottom: 10px;
    right: -10px;
    width: 156px;
    filter: drop-shadow(0 8px 16px rgba(20, 131, 79, 0.35));
    opacity: 0;
    transform: rotate(-6deg) scale(0.85);
}

.hp-seal-badge.is-shown {
    animation: hpSealPop 0.45s cubic-bezier(0.2, 1.5, 0.4, 1) forwards;
}

@keyframes hpSealPop {
    to { opacity: 1; transform: rotate(0deg) scale(1); }
}

/* Knapper (.hp-button*) er flyttet til den delte pricing_cards.css */

/* ---------- Sagsmappen: feature rows ---------- */
.hp-feature-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    padding: 44px 0;
    border-top: 1px solid var(--second-color-darken);
}

.hp-feature-row:first-of-type { border-top: none; padding-top: 0; }

.hp-feature-row.hp-reverse { grid-template-columns: 1.1fr 0.9fr; }
.hp-feature-row.hp-reverse .hp-feature-copy { order: 2; }

.hp-feature-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--deep-green);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-feature-copy h3,
.hp-feature-copy h2 {
    font-size: 21px;
    margin: 10px 0 12px;
    color: var(--ink-navy);
}

.hp-feature-copy h2 em {
    font-style: normal;
    color: var(--deep-green);
}

.hp-feature-copy p {
    color: var(--font-color);
    line-height: 1.65;
    font-size: 15px;
    margin: 0;
}

.hp-feature-visual {
    background: var(--ink-navy);
    border-radius: 12px;
    padding: 30px;
    color: #F4FBF7;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 16px 36px rgba(18, 53, 36, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-feature-row:hover .hp-feature-visual {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(18, 53, 36, 0.24);
}

.hp-feature-visual .hp-chip {
    display: inline-flex;
    align-self: flex-start;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    background: color-mix(in srgb, var(--main-color) 18%, transparent);
    color: var(--main-color);
    padding: 5px 10px;
    border-radius: 4px;
}

.hp-feature-visual .hp-bar {
    height: 8px;
    background: rgba(244, 251, 247, 0.14);
    border-radius: 5px;
}

.hp-feature-visual .hp-bar.w1 { width: 88%; }
.hp-feature-visual .hp-bar.w2 { width: 65%; }
.hp-feature-visual .hp-bar.w3 { width: 44%; background: var(--main-color); }

/* ---------- Kompetenceprofilen: mini match-visual ---------- */
.hp-match {
    cursor: default;
}

.hp-match-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 6vw, 40px);
    position: relative;
}

.hp-match-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.hp-match-col:last-child { align-items: flex-end; text-align: right; }

.hp-match-node {
    font-size: 12.5px;
    font-weight: 600;
    background: rgba(244, 251, 247, 0.06);
    border: 1px solid rgba(244, 251, 247, 0.16);
    border-radius: 8px;
    padding: 7px 11px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.hp-match-node.is-lit {
    border-color: var(--main-color);
    background: color-mix(in srgb, var(--main-color) 16%, transparent);
}

.hp-match-wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hp-match-wire {
    fill: none;
    stroke: var(--main-color);
    stroke-width: 1.5;
    opacity: 0.35;
    stroke-dasharray: var(--len);
    stroke-dashoffset: var(--len);
}

.hp-match-wire.is-drawn {
    animation: hpWireDraw 0.9s ease forwards;
}

@keyframes hpWireDraw {
    to { stroke-dashoffset: 0; }
}

.hp-match-score {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(244, 251, 247, 0.16);
}

.hp-match-meter {
    flex: 1;
    min-width: 80px;
    height: 6px;
    border-radius: 100px;
    background: rgba(244, 251, 247, 0.14);
    overflow: hidden;
}

.hp-match-meter i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--main-color), var(--deep-green));
    border-radius: inherit;
    position: relative;
    overflow: hidden;
    transition: width 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hp-match-meter i::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: translateX(-100%);
    animation: hpMatchShine 2.2s ease-in-out infinite;
}

@keyframes hpMatchShine {
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .hp-match-meter i { transition: none; }
    .hp-match-meter i::after { animation: none; display: none; }
}

/* ---------- CV-fotoet: interaktiv før/efter-slider ---------- */
.hp-slider-visual {
    padding: 20px;
    gap: 14px;
}

.hp-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.2;
    border-radius: 10px;
    overflow: hidden;
    touch-action: none;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.hp-slider:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 3px;
}

.hp-slider-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.hp-slider-layer.hp-slider-after {
    background: radial-gradient(130% 100% at 30% 0%, var(--ink-navy) 0%, var(--ink-navy-2) 60%, #0A1610 100%);
}

.hp-slider-layer.hp-slider-after::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 55% at 68% 22%, color-mix(in srgb, var(--main-color) 32%, transparent), transparent 60%);
}

.hp-slider-layer.hp-slider-before {
    background: radial-gradient(120% 90% at 50% 0%, #C9CDD6 0%, #9AA1AE 55%, #7C8494 100%);
}

/* stiliseret portræt-silhuet — skal være block-level (div), ikke span,
   ellers ignorerer den width/aspect-ratio og kun hovedet (position:absolute
   blokificeres automatisk) ender med at vise noget */
.hp-slider-person {
    width: 58%;
    aspect-ratio: 1 / 1.35;
    position: relative;
    z-index: 1;
}

.hp-slider-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44%;
    aspect-ratio: 1;
    border-radius: 50%;
}

.hp-slider-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 52%;
    border-radius: 48% 48% 0 0;
}

.hp-slider-person--before .hp-slider-head,
.hp-slider-person--before .hp-slider-body {
    background: #5E6674;
}

.hp-slider-person--after .hp-slider-head {
    background: linear-gradient(160deg, #F0E4C4 8%, #C9A45C 90%);
}

.hp-slider-person--after .hp-slider-body {
    background: linear-gradient(160deg, var(--deep-green), var(--ink-navy-2));
}

.hp-slider-person--after .hp-slider-body::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 14%;
    height: 60%;
    background: linear-gradient(#F4FBF7, var(--main-color));
    clip-path: polygon(50% 0, 100% 22%, 50% 100%, 0 22%);
}

.hp-slider-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--main-color);
    color: var(--ink-navy-2);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.hp-slider-clip {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    width: var(--x, 55%);
    height: 100%;
}

.hp-slider-clip .hp-slider-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100vw;
}

.hp-slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--x, 55%);
    width: 2px;
    background: #fff;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.35);
    transform: translateX(-1px);
    z-index: 3;
}

.hp-slider-handle {
    position: absolute;
    top: 50%;
    left: var(--x, 55%);
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--main-color);
    display: grid;
    place-items: center;
    color: var(--deep-green);
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.hp-slider-lbl {
    position: absolute;
    bottom: 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    z-index: 2;
}

.hp-slider-lbl--before {
    left: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink-navy);
}

.hp-slider-lbl--after {
    right: 12px;
    background: rgba(13, 42, 27, 0.72);
    color: var(--main-color);
}

.hp-slider-cta {
    align-self: center;
    color: #F4FBF7;
}

.hp-slider-cta:hover {
    color: var(--main-color);
}

/* ---------- CV-foto i praksis: scene-kort ---------- */
.hp-scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hp-scene-card {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(18, 53, 36, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-scene-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(18, 53, 36, 0.18);
}

.hp-scene-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hp-scene-before {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F4FBF7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hp-scene-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(13, 42, 27, 0.72);
    color: #F4FBF7;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 999px;
}

.hp-scene-grid .hp-scene-card:nth-child(2) { transition-delay: 0.06s; }
.hp-scene-grid .hp-scene-card:nth-child(3) { transition-delay: 0.12s; }
.hp-scene-grid .hp-scene-card:nth-child(4) { transition-delay: 0.18s; }

@media (max-width: 900px) {
    .hp-scene-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hp-scene-grid { grid-template-columns: 1fr; }
}

/* ---------- Fremgangsmåden: interaktive trin ---------- */
.hp-guide-link {
    text-align: center;
    margin-top: 36px;
}

.hp-guide-link .sm-action-link {
    justify-content: center;
}

.hp-flow {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
    gap: clamp(20px, 4vw, 48px);
    align-items: start;
}

@media (max-width: 760px) {
    .hp-flow { grid-template-columns: 1fr; }
}

.hp-flow-tabs {
    display: flex;
    flex-direction: column;
}

.hp-flow-tab {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    border-top: 1px solid var(--second-color-darken);
    padding: 18px 4px;
    cursor: pointer;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 6px 12px;
    font-family: inherit;
    color: inherit;
}

.hp-flow-tab:last-of-type { border-bottom: 1px solid var(--second-color-darken); }

.hp-flow-tab:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: -3px;
    border-radius: 6px;
}

.hp-flow-tab .hp-step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: var(--second-color-darken);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.hp-flow-tab[aria-selected="true"] .hp-step-num { color: var(--deep-green); }

.hp-flow-tab-copy h3 {
    font-size: 16.5px;
    margin: 0 0 6px;
    color: var(--ink-navy);
    transition: color 0.3s ease;
}

.hp-flow-tab-copy p {
    color: var(--font-color);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}

.hp-flow-tab[aria-selected="true"] .hp-flow-tab-copy p {
    max-height: 100px;
    opacity: 1;
}

.hp-flow-bar {
    display: block;
    height: 3px;
    border-radius: 100px;
    background: var(--second-color-darken);
    margin-top: 12px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-flow-tab[aria-selected="true"] .hp-flow-bar { opacity: 1; }

.hp-flow-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--main-color);
}

.hp-flow-tab[aria-selected="true"] .hp-flow-bar i {
    animation: hpFlowFill var(--dur, 5.5s) linear forwards;
}

@keyframes hpFlowFill {
    to { width: 100%; }
}

.hp-flow-scene {
    background: var(--ink-navy);
    border-radius: 12px;
    color: #F4FBF7;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(18, 53, 36, 0.18);
}

.hp-flow-panel {
    position: absolute;
    inset: 0;
    padding: clamp(20px, 4vw, 30px);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.hp-flow-panel.is-active {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.hp-flow-tag {
    display: block;
    margin-bottom: 16px;
    color: var(--main-color) !important;
}

.hp-flow-line {
    height: 8px;
    border-radius: 100px;
    background: rgba(244, 251, 247, 0.14);
    margin-bottom: 9px;
    transform-origin: left;
    transform: scaleX(0);
}

.hp-flow-panel.is-active .hp-flow-line { animation: hpFlowGrow 0.5s ease forwards; }
.hp-flow-panel.is-active .hp-flow-line:nth-child(2) { animation-delay: 0.2s; width: 88%; }
.hp-flow-panel.is-active .hp-flow-line:nth-child(3) { animation-delay: 0.4s; width: 74%; }
.hp-flow-panel.is-active .hp-flow-line:nth-child(4) { animation-delay: 0.6s; width: 81%; }

@keyframes hpFlowGrow {
    to { transform: scaleX(1); }
}

.hp-flow-chip {
    display: inline-flex;
    opacity: 0;
    transform: translateY(4px) scale(0.92);
}

.hp-flow-panel.is-active .hp-flow-chip {
    animation: hpKwPop 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) forwards;
}

.hp-flow-foundchips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.hp-flow-foundchips .hp-flow-chip:nth-child(1) { animation-delay: 0.5s !important; }
.hp-flow-foundchips .hp-flow-chip:nth-child(2) { animation-delay: 0.9s !important; }
.hp-flow-foundchips .hp-flow-chip:nth-child(3) { animation-delay: 1.3s !important; }

.hp-flow-paste { border: 1.5px dashed var(--main-color); border-radius: 10px; padding: 16px; }

.hp-flow-cvdoc { position: relative; overflow: hidden; }

.hp-flow-cvrow { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }

.hp-flow-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--deep-green));
    flex-shrink: 0;
}

.hp-flow-line--sm { flex: 1; margin-bottom: 0; }

.hp-flow-scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: -4px;
    height: 2px;
    background: var(--main-color);
    box-shadow: 0 0 18px 3px rgba(52, 211, 153, 0.45);
    opacity: 0;
}

.hp-flow-panel.is-active .hp-flow-scanline {
    animation: hpFlowScan 2.4s ease-in-out infinite;
}

@keyframes hpFlowScan {
    0% { top: -4px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.hp-flow-approve { position: relative; }

.hp-flow-plane {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    color: var(--main-color);
    opacity: 0;
}

.hp-flow-panel.is-active .hp-flow-plane {
    animation: hpFlowFly 1.4s 1s ease forwards;
}

@keyframes hpFlowFly {
    0% { opacity: 0; transform: translate(-30px, 20px) rotate(-12deg); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: translate(46px, -40px) rotate(8deg); }
}

.hp-flow-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 14px;
    color: var(--main-color);
    opacity: 0;
}

.hp-flow-panel.is-active .hp-flow-check {
    animation: hpKwPop 0.45s 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
    .hp-flow-panel, .hp-flow-tab-copy p, .hp-flow-bar,
    .hp-flow-line, .hp-flow-chip, .hp-flow-scanline, .hp-flow-plane, .hp-flow-check {
        transition: none;
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .hp-flow-line { transform: none; }
}

/* ---------- Testimonial ---------- */
.hp-testimonial { text-align: center; }

.hp-testimonial-quote {
    font-size: 60px;
    line-height: 1;
    color: var(--main-color);
    display: block;
    margin-bottom: 4px;
    font-family: Georgia, serif;
}

.hp-testimonial-text {
    display: block;
    color: var(--ink-navy);
    margin: 0 auto 14px;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;
    max-width: 680px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-visible .hp-testimonial-text { opacity: 1; }

.hp-testimonial-rating { color: var(--main-color); font-size: 15px; }
.hp-star { color: var(--second-color-darken); }
.hp-star--filled { color: var(--main-color); }

/* ---------- CTA band ---------- */
.hp-cta-band {
    background: var(--deep-green);
    color: #F4FBF7;
    text-align: center;
}

.hp-cta-band h2 { color: #F4FBF7; font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }
.hp-cta-band p { color: rgba(244, 251, 247, 0.8); max-width: 460px; margin: 0 auto 28px; }

@media (max-width: 900px) {
    .hp-hero .hp-section-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hp-hero-lead { margin-left: auto; margin-right: auto; }
    .hp-hero-ctas, .hp-hero-trust { justify-content: center; }
    .hp-dossier { height: 300px; margin-top: 24px; }
    .hp-doc { width: 78%; }
    .hp-doc-2 { left: 20%; }
    .hp-feature-row, .hp-feature-row.hp-reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hp-feature-row.hp-reverse .hp-feature-copy { order: 0; }
    .hp-pricing-grid { grid-template-columns: 1fr; }
    .hp-price-card--featured { transform: none; }
}

@media (max-width: 768px) {
    .hp-section { padding: 56px 6vw; }
}

@media (max-width: 480px) {
    .hp-slider-lbl { font-size: 10px; padding: 5px 9px; }
}

/* ---------- Ansøgningen: butleren skriver ---------- */
.hp-apply-visual {
    padding: 22px;
    gap: 16px;
}

.hp-apply-stage {
    display: grid;
    grid-template-columns: 1fr 34px 1fr;
    gap: 0;
    align-items: stretch;
}

@media (max-width: 620px) {
    .hp-apply-stage { grid-template-columns: 1fr; gap: 12px; }
}

.hp-apply-card {
    background: #F4FBF7;
    color: var(--font-color);
    border-radius: 8px;
    padding: 14px 15px;
    font-size: 12px;
    line-height: 1.55;
}

.hp-apply-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--font-color);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.hp-apply-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--deep-green);
    flex-shrink: 0;
}

.hp-apply-dot--green { background: var(--main-color); }

.hp-apply-jobtext { color: var(--ink-navy); }

.hp-apply-kw {
    position: relative;
    font-weight: 600;
    color: var(--ink-navy);
    transition: color 0.4s ease;
}

.hp-apply-kw::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 0;
    background: var(--main-color);
    transition: width 0.5s ease;
}

.hp-apply-kw.is-lit { color: var(--deep-green); }
.hp-apply-kw.is-lit::after { width: 100%; }

.hp-apply-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    min-height: 22px;
}

.hp-apply-chip {
    font-size: 10.5px;
    padding: 4px 9px;
    background: color-mix(in srgb, var(--main-color) 14%, transparent);
    color: var(--deep-green);
    opacity: 0;
    transform: translateY(5px) scale(0.94);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.hp-apply-chip.is-on { opacity: 1; transform: none; }

.hp-apply-conduit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 620px) {
    .hp-apply-conduit { flex-direction: row; padding: 2px 0; }
}

.hp-apply-flow {
    width: 2px;
    flex: 1;
    background: repeating-linear-gradient(to bottom, var(--main-color) 0 5px, transparent 5px 10px);
    opacity: 0.55;
    animation: hpApplyFlow 1.2s linear infinite;
}

@media (max-width: 620px) {
    .hp-apply-flow {
        width: auto;
        height: 2px;
        flex: 1;
        background: repeating-linear-gradient(to right, var(--main-color) 0 5px, transparent 5px 10px);
        animation: hpApplyFlowX 1.2s linear infinite;
    }
}

@keyframes hpApplyFlow { to { background-position: 0 10px; } }
@keyframes hpApplyFlowX { to { background-position: 10px 0; } }

.hp-apply-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink-navy);
    color: var(--main-color);
    display: grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
}

.hp-apply-lettertext {
    min-height: 100px;
    white-space: pre-wrap;
    color: var(--ink-navy);
}

.hp-apply-caret {
    display: inline-block;
    width: 2px;
    height: 0.95em;
    background: var(--main-color);
    vertical-align: -2px;
    animation: hpApplyBlink 0.9s steps(1) infinite;
}

@keyframes hpApplyBlink { 50% { opacity: 0; } }

.hp-apply-stamp {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border: 1.5px solid var(--main-color);
    color: var(--deep-green);
    background: #fff;
    border-radius: 5px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 600;
    transform: rotate(-6deg) scale(1.4);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 1.6, 0.4, 1);
}

.hp-apply-stamp.is-shown { opacity: 1; transform: rotate(-6deg) scale(1); }

.hp-apply-cta { align-self: flex-start; color: #F4FBF7; }
.hp-apply-cta:hover { color: var(--main-color); }

@media (prefers-reduced-motion: reduce) {
    .hp-apply-flow { animation: none; }
    .hp-apply-caret { animation: none; }
    .hp-apply-chip, .hp-apply-kw::after, .hp-apply-stamp { transition: none; }
}

/* ---------- Samtaletræningen: chat-teaser ---------- */
.hp-trainer-wrap {
    background: var(--ink-navy);
    color: #EAF2EC;
    border-radius: 20px;
    padding: clamp(32px, 5vw, 56px);
    margin: 44px 0;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.hp-trainer-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(90% 70% at 85% -10%, color-mix(in srgb, var(--main-color) 20%, transparent), transparent 55%);
    pointer-events: none;
}

.hp-trainer-wrap > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 800px) {
    .hp-trainer-wrap { grid-template-columns: 1fr; }
}

.hp-trainer-wrap .hp-eyebrow { color: var(--main-color); }

.hp-trainer-wrap h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    color: #F4FBF7;
    margin: 14px 0 14px;
    line-height: 1.15;
}

.hp-trainer-wrap h2 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--main-color), var(--deep-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp-trainer-wrap > div > p:not(.hp-trainer-hint) {
    color: rgba(234, 242, 236, 0.7);
    margin: 0 0 24px;
    max-width: 44ch;
    line-height: 1.6;
}

.hp-trainer-hint {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: rgba(234, 242, 236, 0.55);
    margin-top: 14px;
}

.hp-trainer {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.hp-trainer-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(234, 242, 236, 0.65);
}

.hp-trainer-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--deep-green));
    color: var(--ink-navy-2);
    display: grid;
    place-items: center;
    font-size: 14px;
    flex-shrink: 0;
}

.hp-trainer-live {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--main-color);
    text-transform: none;
    letter-spacing: 0;
}

.hp-trainer-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--main-color);
    animation: hpTrainerPulse 1.4s infinite;
}

@keyframes hpTrainerPulse { 50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.15); } }

.hp-trainer-chat {
    padding: 20px 18px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-trainer-msg {
    max-width: 88%;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hp-trainer-msg.is-on { opacity: 1; transform: none; }

.hp-trainer-msg--bot {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top-left-radius: 3px;
}

.hp-trainer-msg--you {
    background: linear-gradient(120deg, color-mix(in srgb, var(--main-color) 16%, transparent), color-mix(in srgb, var(--deep-green) 14%, transparent));
    border: 1px solid color-mix(in srgb, var(--main-color) 40%, transparent);
    align-self: flex-end;
    border-top-right-radius: 3px;
}

.hp-trainer-who {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(234, 242, 236, 0.55);
    display: block;
    margin-bottom: 5px;
}

.hp-trainer-star { color: var(--main-color); font-weight: 600; }

.hp-trainer-dots {
    display: inline-flex;
    gap: 5px;
    padding: 4px 2px;
}

.hp-trainer-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--main-color);
    opacity: 0.4;
    animation: hpTrainerThink 1.1s infinite;
}

.hp-trainer-dots i:nth-child(2) { animation-delay: 0.18s; }
.hp-trainer-dots i:nth-child(3) { animation-delay: 0.36s; }

@keyframes hpTrainerThink { 40% { opacity: 1; transform: translateY(-3px); } }

.hp-trainer-feedback {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 14px 18px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #DCE3D9;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hp-trainer-feedback.is-on { opacity: 1; }

.hp-trainer-fb-badge {
    flex-shrink: 0;
    background: color-mix(in srgb, var(--main-color) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--main-color) 45%, transparent);
    color: var(--main-color);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 4px 9px;
    border-radius: 999px;
    margin-top: 1px;
}

@media (prefers-reduced-motion: reduce) {
    .hp-trainer-msg, .hp-trainer-feedback { transition: none; }
    .hp-trainer-dots i, .hp-trainer-live i { animation: none; }
}


/* ---------- Jobs carousel ---------- */
.hp-jobs-headrow {
    max-width: 1080px;
    margin: 0 auto 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.hp-jobs-headrow h2 { margin: 10px 0 0; }

.hp-jobs-nav { display: flex; gap: 10px; }

.hp-jobs-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--ink-navy);
    background: none;
    color: var(--ink-navy);
    font-size: 16px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.hp-jobs-nav button:hover {
    background: var(--ink-navy);
    color: var(--main-color);
    transform: translateY(-2px);
}

.hp-jobs-nav button:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}

.hp-jobs-rail-wrap {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
}

.hp-jobs-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 10px;
    scrollbar-width: none;
}

.hp-jobs-rail::-webkit-scrollbar { display: none; }

.hp-job-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid var(--ink-line);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hp-job-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--deep-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.hp-job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(18, 53, 36, 0.16);
    border-color: color-mix(in srgb, var(--main-color) 45%, transparent);
}

.hp-job-card:hover::before { transform: scaleX(1); }

.hp-job-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--main-color) 18%, transparent), transparent);
    transform: skewX(-16deg);
}

.hp-job-card.is-sheen::after { animation: hpJobSheen 1.1s ease; }

@keyframes hpJobSheen { from { left: -40%; } to { left: 120%; } }

.hp-job-card-toprow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hp-job-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--second-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.hp-job-card-icon i { font-size: 20px; color: var(--deep-green); }
.hp-job-card-icon img { width: 100%; height: 100%; object-fit: contain; }

.hp-job-card-match {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.04em;
    font-weight: 500;
    color: var(--deep-green);
    background: color-mix(in srgb, var(--main-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--main-color) 35%, transparent);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.hp-job-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 16.5px;
    color: var(--ink-navy);
    margin: 0;
    min-height: 2.6em;
    line-height: 1.3;
}

.hp-job-card-location { font-size: 13px; color: var(--font-color); opacity: 0.7; margin: 0; }

.hp-job-card-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hp-job-card-go {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink-navy);
    border: 1.5px solid var(--ink-line);
    border-radius: 10px;
    padding: 9px 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.hp-job-card-go:hover { background: var(--ink-navy); color: var(--main-color); }

.hp-job-card-write {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink-navy-2);
    border-radius: 10px;
    padding: 10px 0;
    background: var(--main-color);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hp-job-card-write:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -10px rgba(52, 211, 153, 0.6);
}

.hp-job-card-go:focus-visible, .hp-job-card-write:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}

.hp-jobs-foot {
    max-width: 1080px;
    margin: 16px auto 0;
}

.hp-jobs-foot a {
    color: var(--ink-navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--main-color);
}

@media (prefers-reduced-motion: reduce) {
    .hp-job-card, .hp-job-card::before, .hp-jobs-nav button, .hp-job-card-write {
        transition: none;
    }
    .hp-job-card.is-sheen::after { animation: none; }
}


/* ---------- Finale CTA: ambient ---------- */
.hp-finale {
    position: relative;
    overflow: hidden;
    color: #EAF2EC;
    background: linear-gradient(170deg, var(--ink-navy) 0%, var(--ink-navy-2) 100%);
    text-align: center;
}

#hpDust {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hp-finale-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hp-finale-crest {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: var(--ink-navy-2);
    background: radial-gradient(circle at 32% 28%, #E9F8EE, var(--main-color) 40%, var(--deep-green) 100%);
    box-shadow: 0 10px 34px -8px rgba(52, 211, 153, 0.65);
    animation: hpFinaleBob 4.5s ease-in-out infinite;
}

@keyframes hpFinaleBob { 50% { transform: translateY(-7px); } }

.hp-finale-eyebrow { color: var(--main-color); margin-bottom: 14px; }

.hp-finale h2 {
    font-size: clamp(26px, 4.4vw, 42px);
    line-height: 1.15;
    color: #F4FBF7;
    margin: 0 0 16px;
}

.hp-finale h2 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--main-color) 20%, var(--deep-green) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp-finale-lede {
    color: rgba(234, 242, 236, 0.72);
    font-size: 16px;
    max-width: 48ch;
    margin: 0 auto 30px;
}

.hp-finale-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.hp-finale-proof {
    margin-top: 30px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: rgba(234, 242, 236, 0.6);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: center;
}

.hp-finale-proof span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hp-finale-proof i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--main-color);
}

@media (prefers-reduced-motion: reduce) {
    .hp-finale-crest { animation: none; }
    #hpDust { display: none; }
}
