/* ==========================================================================
   Forside v2 ("business v2", Paper: Referat Landingpage → Forside – business v2)
   Kun loaded af den danske forside. styles.css deles af alle andre sider og
   må ikke ændres for v2's skyld (v1-backup ligger frosset i /v1/).
   Breakpoints = Paper-artboards: desktop ≥ 1024 · tablet 601–1023 · mobil ≤ 600
   ========================================================================== */

@font-face { font-family: 'Lexend'; src: url('assets/Lexend-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('assets/Lexend-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('assets/Lexend-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('assets/Lexend-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('assets/Rubik-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('assets/Rubik-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('assets/Rubik-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('assets/JetBrainsMono-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('assets/JetBrainsMono-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
    --beige: #F0EAE0;
    --cream: #FFFDF7;
    --white: #FFFFFF;
    --ink: #1A202C;
    --black: #000000;
    --text: #62615D;        /* brødtekst */
    --text-ui: #424242;
    --text-soft: #515151;
    --text-muted: #5A6A7A;
    --text-mid: #374151;
    --label: #666663;       /* afsnitsstreger */
    --rule: rgba(26, 32, 44, 0.18);
    --border-subtle: #EEECE6;
    --border: #E2DED7;
    --accent: #EC407A;      /* prikken i hero */
    --magenta-link: #AB2E8F;
    --purple: linear-gradient(90deg, #5B1AFF 0%, #973BFF 100%);
    --font-head: 'Lexend', system-ui, sans-serif;
    --font-body: 'Rubik', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --gutter: 24px;
    --section-y: 96px;
    --section-y-tight: 48px;
    --card-shadow: 0 1px 2px rgba(60, 40, 20, 0.04), 0 4px 16px -8px rgba(60, 40, 20, 0.08);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);       /* ind/ud + tryk */
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);   /* bevægelse på skærmen (GDPR-stregen) */
    --ease-out-soft: cubic-bezier(0.33, 1, 0.68, 1);  /* blødere indgang til kort (reveals) */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--beige);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; } /* ellers bliver height-attributten en fast CSS-højde */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #5B1AFF; outline-offset: 3px; border-radius: 4px; }

[id] { scroll-margin-top: 88px; }

.wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight-top { padding-top: var(--section-y-tight); }
/* Desktop: hvor 96 px bund møder 96 px top (how→inbox, users→examples, gear→pricing), bliver begge
   76 px; inbox→gdpr er 50 + 50 px. Ændres sektionsrækkefølgen, skal listen rettes */
@media (min-width: 1024px) {
    .how, .users, .gear { padding-bottom: 76px; }
    .inbox, .examples, .pricing { padding-top: 76px; }
    .inbox { padding-bottom: 50px; }
    .gdpr > .section { padding-top: 50px; }
}

/* Overskrifter */
.h-xl { font-family: var(--font-head); font-weight: 600; font-size: 56px; line-height: 62px; letter-spacing: -0.04em; color: var(--ink); }
.h-lg { font-family: var(--font-head); font-weight: 600; font-size: 44px; line-height: 52px; letter-spacing: -0.02em; color: var(--ink); }
.h-md { font-family: var(--font-head); font-weight: 600; font-size: 40px; line-height: 50px; letter-spacing: -0.015em; color: var(--black); }
.lead { font-family: var(--font-head); font-size: 18px; line-height: 28px; color: var(--text); }

/* Knapper */
.btn-purple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--purple);
    color: var(--white);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    padding: 10px 20px;
    transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-purple:hover { filter: brightness(1.08); }
.btn-purple:active { transform: scale(0.98); }

/* ---------- Nummereret afsnitsstreg ("01 · Sådan virker det ———— 3 trin") ---------- */
.sec-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 72px;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 14px;
    text-transform: uppercase;
    color: var(--label);
}
.sec-label__title { flex-shrink: 0; font-weight: 500; letter-spacing: 0.18em; }
.sec-label__rule { flex: 1; height: 1px; background: var(--rule); }
.sec-label__meta { flex-shrink: 0; letter-spacing: 0.12em; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--border-subtle);
}
.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 18px;
}
/* Layout-blokke med Paper-bredder har flex-shrink: 1, så de kan give sig mellem 1024 og 1199 px */
.site-logo { display: flex; align-items: center; gap: 12px; width: 260px; flex-shrink: 1; min-width: 0; }
.site-logo img { width: 40px; height: 40px; border-radius: 50%; }
.site-logo span { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 28px; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.site-nav a, .nav-login {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 18px;
    color: var(--ink);
    transition: color 0.15s ease;
}
.site-nav a:hover, .nav-login:hover { color: #5B1AFF; }

.site-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; width: 260px; flex-shrink: 1; min-width: 0; }

/* Sprogvælger (includes/language-switcher.html, logik i script.js) */
.language-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 5px; font-family: var(--font-head); font-size: 14px; line-height: 18px; color: var(--ink); padding: 4px 0; }
.lang-arrow { width: 10px; height: 7px; transition: transform 0.15s ease; }
.lang-btn.active .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 140px;
    padding: 6px;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 12px 32px -12px rgba(60, 40, 20, 0.2);
    display: none;
}
.lang-dropdown.show { display: block; transform-origin: top right; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); }
@starting-style { .lang-dropdown.show { opacity: 0; transform: translateY(-4px) scale(0.97); } }
.lang-option { display: block; padding: 8px 12px; border-radius: 8px; font-family: var(--font-body); font-size: 14px; }
.lang-option:hover { background: var(--beige); }
.lang-option.current { font-weight: 500; color: #5B1AFF; }

.nav-burger {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Burger-panel (kun tablet/mobil) */
.nav-panel { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--beige); padding: 110px 0 130px; overflow: clip; }
.hero__inner { display: flex; align-items: center; gap: 30px; }
.hero__text { width: 561px; flex-shrink: 1; min-width: 0; }
.hero h1 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 60px;
    line-height: 69px;
    letter-spacing: -0.025em;
    color: var(--ink);
    padding-bottom: 24px;
}
.hero h1 .dot { color: var(--accent); }
.hero__sub { font-size: 20px; line-height: 30px; color: var(--text); padding-bottom: 40px; }
.store-badges { display: flex; align-items: center; gap: 16px; }
.store-badges img { height: 46px; width: auto; }
.hero__media { position: relative; width: 561px; height: 460px; flex-shrink: 1; min-width: 0; }
.hero__media img {
    position: absolute;
    left: 0;
    top: -46px;
    width: 673px;
    max-width: none;
    height: auto;
    transform-origin: 0 0;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15)); /* 25/50 blev klippet af .hero overflow: clip */
}

/* Hent-app-tooltip (vises af "Prøv gratis" i priskortet, script.js). Placering + animation som v1:
   centreret over begge store-badges, glider 10px op ved visning */
.app-badges-wrapper { position: relative; width: fit-content; }
.app-download-tooltip {
    position: absolute;
    bottom: calc(100% + 16px);
    left: calc(50% - 12px);
    transform: translateX(-50%);
    padding: 10px 16px;
    background: var(--purple);
    color: var(--white);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;
    animation: tooltipBounce 0.5s ease-out;
}
.tooltip-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #792AFF; /* --purple ved pilens position (midten) */
}
@keyframes tooltipBounce {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==========================================================================
   01 Sådan virker det
   ========================================================================== */
.how { background: var(--beige); }
.how__head { text-align: center; padding-bottom: 60px; }
.how__head .h-lg { padding-bottom: 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 24px;
}
.step-card__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #7B3FFF 0%, #9B5CFF 100%);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
}
.step-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 18px; line-height: 29px; color: var(--ink); padding-top: 16px; }
.step-card p { font-size: 17px; line-height: 26px; color: var(--text); padding-top: 8px; }

/* ==========================================================================
   02 Fra telefonen til indbakken
   ========================================================================== */
.inbox {
    background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 40%, var(--beige) 100%);
}
.inbox .sec-label { padding-bottom: 64px; }
.inbox__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.inbox__head .lead { max-width: 560px; margin: 16px auto 0; }
.inbox__scene { position: relative; height: 700px; max-width: 1008px; margin-inline: auto; }

.phone {
    background: #1D1D1F;
    border-radius: 50px;
    padding: 9px;
    box-shadow: 0 40px 80px rgba(120, 110, 90, 0.2);
}
.phone img { width: 100%; height: auto; border-radius: 41px; aspect-ratio: 282 / 634; object-fit: cover; }
/* Telefon (252) + fly (220) + 18 luft + mail-kort (520) = 1008 px, centreret. Telefonen er lodret
   centreret mod kortet; flyets hale starter ved telefonkanten. Under 1008 px skalerer flyet i
   mellemrummet (788 = 250 fra venstre + 520 kort + 18 luft) */
.inbox__phone { position: absolute; left: 0; top: 46px; width: 252px; border-radius: 44px; padding: 8px; }
.inbox__phone img { border-radius: 36px; }
.inbox__plane { position: absolute; left: 250px; top: 246px; translate: 0 -50%; width: calc(100% - 788px); max-width: 220px; height: auto; aspect-ratio: 300 / 170; }

.mail-card {
    position: absolute;
    right: 0;
    top: 0;
    width: 520px;
    background: var(--white);
    border-radius: 20px;
    overflow: clip;
}
.mail-card__head { display: flex; align-items: center; gap: 14px; padding: 22px 32px; border-bottom: 1px solid #EEE9DD; }
.mail-card__head img { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.mail-card__subject { font-weight: 600; font-size: 17px; line-height: 24px; color: var(--black); }
.mail-card__from { font-size: 14px; line-height: 20px; color: var(--text-soft); margin-top: 2px; }
.mail-card__body { display: flex; flex-direction: column; gap: 24px; padding: 28px 32px 32px; }
.mail-card h3 { font-weight: 600; font-size: 16px; line-height: 22px; color: var(--black); margin-bottom: 8px; }
.mail-card p, .mail-card li { font-size: 14px; line-height: 23px; color: var(--text); }
.mail-card li { color: var(--text-ui); line-height: 25px; }
.mail-card li::before { content: '• '; }
.mail-card .topic { color: var(--text-ui); margin-top: 4px; }
.mail-card .topic span { color: #737373; }
.mail-card .topics h3 { margin-bottom: 10px; }

/* ==========================================================================
   03 GDPR & datasikkerhed (skråt gradient-bånd)
   ========================================================================== */
.gdpr { background: var(--beige); overflow-x: clip; }
.gdpr__intro { display: flex; align-items: flex-end; align-items: last baseline; justify-content: space-between; gap: 56px; padding-bottom: 120px; }
.gdpr__intro .h-xl { width: 660px; flex-shrink: 1; min-width: 0; }
.gdpr__intro p { width: 400px; flex-shrink: 1; min-width: 0; font-family: var(--font-body); font-size: 16px; line-height: 26px; color: var(--text-soft); }

/* Båndet er en clip-path på en fuld-bredde flade bag trin-listen, så knækket
   følger listen uanset tekstlængde. Mål fra Paper-SVG'erne (knæk ved ~87 %). */
.gdpr-flow { position: relative; }
.gdpr-flow__band {
    position: absolute;
    z-index: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    top: -98px;
    bottom: -175px;
    background: linear-gradient(151deg, #DB4590 0px, #A436A6 260px, #8E33A8 470px);
    clip-path: polygon(0 75px, 86.8% 0, 100% 140px, 100% 100%, 86.8% calc(100% - 120px), 0 calc(100% - 60px));
    pointer-events: none;
}
.gdpr-steps { position: relative; z-index: 1; display: flex; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.gdpr-step { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 0; border-right: 1px solid rgba(255, 255, 255, 0.22); }
.gdpr-step:first-child { padding-left: 0; }
.gdpr-step:last-child { padding-right: 0; border-right: 0; }
.gdpr-step__num { font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.78); }
.gdpr-step h3 { font-weight: 600; font-size: 20px; line-height: 24px; letter-spacing: -0.02em; color: var(--white); }
.gdpr-step p { font-family: var(--font-body); font-size: 14px; line-height: 21px; color: rgba(255, 255, 255, 0.92); }

.gdpr-docs { padding: 72px 0 104px; }
@media (min-width: 1024px) { .gdpr-docs { padding-bottom: 60px; } }
.gdpr-docs__inner { display: flex; align-items: flex-start; gap: 80px; }
.gdpr-docs__intro { width: 460px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.gdpr-docs__intro h3 { font-weight: 600; font-size: 40px; line-height: 44px; letter-spacing: -0.035em; color: var(--ink); }
.gdpr-docs__intro p { font-family: var(--font-body); font-size: 16px; line-height: 26px; color: var(--text-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
.chip {
    padding: 6px 12px;
    border: 1px solid rgba(26, 32, 44, 0.2);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 0.06em;
    color: var(--text-mid);
}
.doc-list { flex: 1; }
.doc-row { display: flex; align-items: center; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(26, 32, 44, 0.12); }
.doc-row:first-child { padding-top: 0; border-top: 0; }
.doc-row:last-child { padding-bottom: 0; }
.doc-row__text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.doc-row h4 { font-family: var(--font-body); font-weight: 600; font-size: 17px; line-height: 22px; color: var(--ink); }
.doc-row p { font-family: var(--font-body); font-size: 14px; line-height: 21px; color: var(--text-muted); }
.doc-row__meta {
    width: 140px;
    flex-shrink: 0;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--magenta-link);
}
a.doc-row__meta:hover { text-decoration: underline; text-underline-offset: 3px; }
.doc-row__meta .arrow { display: inline-block; transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.doc-row__meta:hover .arrow { transform: translateX(3px); } }

/* ==========================================================================
   04 Brugere
   ========================================================================== */
.users { background: var(--beige); }
.users__inner { display: flex; align-items: flex-start; gap: 56px; }
.users__intro { width: 323px; flex-shrink: 0; }
.users__intro .h-lg { padding-bottom: 18px; }
.users__intro .lead { max-width: 290px; }
.user-grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.user-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 24px;
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.user-card h3 { display: flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 600; font-size: 16.5px; line-height: 26px; color: var(--ink); }
.user-card h3 svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: #414141; stroke-width: 2; }
.user-card p { font-size: 16px; line-height: 26px; color: var(--text); }
@media (min-width: 1024px) { .user-card p { font-size: 15px; line-height: 24px; } }

/* ==========================================================================
   05 Eksempler på brug
   ========================================================================== */
.examples { background: var(--beige); padding-bottom: 144px; }
.split-head { display: flex; align-items: flex-end; align-items: last baseline; justify-content: space-between; gap: 56px; padding-bottom: 44px; }
.split-head > :first-child { width: 620px; flex-shrink: 1; min-width: 0; }
.split-head p { width: 380px; flex-shrink: 1; min-width: 0; font-size: 16px; line-height: 26px; color: var(--text); }
.example-list { display: flex; flex-direction: column; gap: 80px; }
.example { display: flex; background: var(--white); border: 1px solid var(--border); }
/* align-self: stretch er nødvendig — billeder bliver ellers ikke strakt i flex (normal = start) */
.example__photo { width: 560px; min-height: 420px; flex-shrink: 0; align-self: stretch; object-fit: cover; object-position: 50% 50%; }
.example__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 48px; }
.example__text { display: flex; flex-direction: column; gap: 12px; }
.example__kicker, .example__unit { font-family: var(--font-mono); font-size: 11px; line-height: 14px; text-transform: uppercase; color: var(--label); }
.example__kicker { letter-spacing: 0.16em; }
.example__unit { letter-spacing: 0.14em; }
.example h3 { font-weight: 600; font-size: 26px; line-height: 31px; letter-spacing: -0.025em; color: var(--ink); }
.example__text p { font-size: 16px; line-height: 26px; color: var(--text); }
.example__stat { display: flex; flex-direction: column; gap: 4px; }
.example__num { font-weight: 600; font-size: 26px; line-height: 34px; letter-spacing: -0.02em; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 10px; border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; line-height: 14px; color: #2A2A2A; }

/* ==========================================================================
   06 Til virksomheder
   ========================================================================== */
.teams { background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 40%, var(--beige) 100%); }
.teams .split-head { padding-bottom: 56px; }
.teams .split-head > :first-child { width: 640px; }
.teams .split-head p { width: 420px; }
.teams .h-xl { font-size: 48px; line-height: 56px; letter-spacing: -0.045em; }
.teams__inner { display: flex; align-items: flex-start; gap: 56px; }
.team-steps { width: 520px; flex-shrink: 1; min-width: 0; }
.team-step { display: flex; gap: 24px; padding-block: 24px; border-top: 1px solid rgba(26, 32, 44, 0.16); }
.team-step:last-child { border-bottom: 1px solid rgba(26, 32, 44, 0.16); }
.team-step__num { width: 40px; flex-shrink: 0; padding-top: 4px; font-family: var(--font-mono); font-size: 13px; line-height: 16px; color: #73736F; }
.team-step__text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.team-step h3 { font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.02em; color: var(--ink); }
.team-step p { font-size: 16px; line-height: 24px; color: var(--text); }
@media (min-width: 1024px) { .team-step h3 { font-size: 18px; line-height: 24px; } .team-step p { font-size: 15px; line-height: 24px; } }
.team-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 32px; }
.team-actions .btn-purple { font-size: 15px; padding: 15px 28px; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: var(--ink);
    transition: background-color 0.15s ease, transform 140ms var(--ease-out);
}
.btn-outline:hover { background: rgba(26, 32, 44, 0.05); }
.btn-outline:active { transform: scale(0.97); }

/* Dashboard-mock i tablet-ramme (fiktivt eksempel) */
.teams__device { flex: 1; display: flex; justify-content: center; }
.tablet-frame {
    width: 532px;
    max-width: 100%;
    padding: 11px;
    background: #1D1D1F;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(120, 110, 90, 0.2);
}
/* flow-root: overflow: clip laver ingen BFC, så invitationsboksens bund-margin faldt ellers ud i rammen */
.dash { display: flow-root; background: var(--white); border-radius: 21px; overflow: clip; font-family: var(--font-body); }
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; background: #FAFAF8; border-bottom: 1px solid var(--border-subtle); }
.dash__org { display: flex; align-items: center; gap: 10px; }
.dash__org img { width: 26px; height: 26px; border-radius: 50%; }
.dash__org strong { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 18px; color: var(--ink); }
.dash__badge { padding: 2px 6px; border: 1px solid var(--border); border-radius: 3px; font-family: var(--font-mono); font-size: 10px; line-height: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.dash__url { font-size: 12px; line-height: 16px; color: var(--text-muted); }
.dash__kpis { display: flex; border-bottom: 1px solid var(--border-subtle); }
.dash__kpi { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-right: 1px solid var(--border-subtle); }
.dash__kpi:last-child { border-right: 0; }
.dash__kpi span, .dash__th { font-family: var(--font-mono); font-size: 10px; line-height: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #73736F; }
.dash__kpi strong { font-family: var(--font-head); font-weight: 600; font-size: 26px; line-height: 32px; letter-spacing: -0.03em; color: var(--ink); }
.dash__table { padding: 8px 22px 4px; }
.dash__row { display: flex; align-items: center; padding-block: 13px; border-bottom: 1px solid var(--border-subtle); }
.dash__row:last-child { border-bottom: 0; }
.dash__row--head { padding-block: 12px; }
.dash__who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dash__who strong { font-weight: 500; font-size: 14px; line-height: 18px; color: var(--ink); }
.dash__who span { font-size: 12px; line-height: 16px; color: #73736F; }
.dash__role { width: 90px; flex-shrink: 0; font-size: 13px; line-height: 16px; color: var(--text-mid); }
.dash__plan { width: 110px; flex-shrink: 0; font-size: 12px; line-height: 16px; color: #73736F; }
.dash__status { width: 84px; flex-shrink: 0; text-align: right; font-size: 12px; line-height: 16px; color: #2F7D32; }
.dash__status--invited { color: #9A6516; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 500; font-size: 12px; line-height: 16px; }
.pill--standard { background: #E2D7C4; color: #2E2A24; }
.pill--mini { background: var(--beige); color: var(--text-mid); }
.dash__invite { display: flex; flex-direction: column; gap: 10px; margin: 8px 22px 22px; padding: 16px 18px; background: #FAFAF8; border: 1px solid var(--border-subtle); border-radius: 8px; }
.dash__invite-head { display: flex; align-items: center; justify-content: space-between; }
.dash__invite-head strong { font-weight: 600; font-size: 14px; line-height: 18px; color: var(--ink); }
.dash__on { padding: 2px 6px; border: 1px solid #CFE6D1; border-radius: 3px; font-family: var(--font-mono); font-size: 10px; line-height: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #2F7D32; }
.dash__link { display: flex; align-items: center; gap: 8px; }
.dash__link code { flex: 1; min-width: 0; padding: 9px 12px; background: var(--white); border: 1px solid var(--border); border-radius: 6px; font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--text-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__copy { padding: 9px 14px; background: var(--ink); border-radius: 6px; font-size: 13px; line-height: 16px; color: var(--white); }
.dash__note { font-size: 12px; line-height: 18px; color: var(--text-muted); }
.dash__note b { font-weight: 600; color: var(--ink); }

/* ==========================================================================
   07 Udtalelser
   ========================================================================== */
.quotes { background: var(--beige); }
.quote-main { display: flex; flex-direction: column; gap: 32px; max-width: 960px; padding-bottom: 72px; }
.quote-main blockquote { font-weight: 300; font-size: 44px; line-height: 56px; letter-spacing: -0.025em; color: var(--ink); }
.person { display: flex; align-items: center; gap: 12px; }
.person__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #E2DAC9;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: var(--ink);
}
.person strong { display: block; font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 18px; color: var(--ink); }
.person span { display: block; font-size: 15px; line-height: 22px; color: var(--text-soft); }
.quote-main .person { gap: 14px; }
.quote-main .person__avatar { width: 44px; height: 44px; font-size: 14px; line-height: 18px; }
.quote-main .person strong { font-size: 15px; }
.quote-main .person span { font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: 8px; }
.quote-card blockquote { font-size: 17px; line-height: 26px; color: var(--ink); }

/* ==========================================================================
   08 Udstyr
   ========================================================================== */
.gear { background: var(--beige); }
.gear .sec-label { padding-bottom: 72px; }
.gear .split-head { padding-bottom: 40px; }
.gear .h-lg { font-size: 44px; line-height: 52px; letter-spacing: -0.04em; }
.gear-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gear-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: clip; }
.gear-card img { width: 100%; height: 380px; object-fit: cover; }
.gear-card__body { display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; gap: 16px; padding: 22px 32px 32px; }
.gear-card__text { display: flex; flex-direction: column; gap: 6px; }
.gear-card__kicker { padding-left: 2px; padding-bottom: 4px; font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
.gear-card h3 { font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: -0.02em; color: var(--ink); }
.gear-card p { font-size: 17px; line-height: 26px; color: var(--text); }
.specs { margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-top: 1px solid var(--border-subtle); }
.specs div:last-child { border-bottom: 1px solid var(--border-subtle); }
.specs dt { font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: #73736F; }
.specs dd { margin: 0; text-align: right; font-family: var(--font-body); font-size: 14px; line-height: 18px; color: var(--ink); }

/* ==========================================================================
   09 Priser (hooks til script.js: #pricing-plans, .interval-toggle, .vat-switch, [data-plan])
   ========================================================================== */
.pricing { background: linear-gradient(180deg, #F6F1E6 0%, #F2EDE2 100%); }
.pricing .sec-label { padding-bottom: 72px; }
.pricing__head { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 56px; text-align: center; }
.interval-toggle { display: flex; gap: 2px; margin-top: 16px; padding: 4px; background: rgba(226, 217, 198, 0.5); border-radius: 10px; }
.toggle-btn { display: flex; align-items: center; gap: 6px; padding: 9px 24px; border-radius: 7px; font-size: 15px; line-height: 22px; color: var(--text-soft); transition: background-color 0.15s ease, color 0.15s ease, transform 140ms var(--ease-out); }
.toggle-btn:active { transform: scale(0.97); }
.toggle-btn.active { background: var(--white); color: var(--black); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.toggle-save-badge { padding: 5px 10px; border-radius: 20px; background: #D91B9B; color: var(--white); font-weight: 600; font-size: 13px; line-height: 16px; letter-spacing: 0.02em; }

.pricing-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pricing-card { display: flex; flex-direction: column; padding: 32px 28px; background: var(--white); border-radius: 14px; }
.pricing-plan-name { padding-bottom: 16px; font-weight: 600; font-size: 20px; line-height: 28px; color: var(--black); }
.pricing-amount { display: flex; align-items: baseline; gap: 8px; }
.pricing-price { font-weight: 300; font-size: 56px; line-height: 60px; letter-spacing: -0.03em; color: var(--text-ui); }
.pricing-duration { font-size: 16px; line-height: 22px; color: var(--text-soft); }
.pricing-vat-small { height: 40px; padding-top: 6px; font-size: 15px; line-height: 22px; color: var(--text-soft); }
.pricing-billing-line { height: 44px; font-size: 12px; line-height: 22px; color: var(--text); }
.pricing-billing-line.emphasized { color: var(--text-ui); }
.pricing-card .divider { height: 1px; margin: 0; border: 0; background: #EEE9DD; }
.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin-top: 20px;
    border-radius: 12px;
    background: var(--purple);
    box-shadow: 0 2px 4px rgba(176, 173, 183, 0.65);
    font-size: 17px;
    line-height: 20px;
    color: var(--white);
    transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-pricing:hover { filter: brightness(1.08); }
.btn-pricing:active { transform: scale(0.98); }
.pricing-features-list { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }
.pricing-section-label { font-weight: 600; font-size: 15px; line-height: 22px; color: var(--text-soft); }
.pricing-feature-line { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 24px; color: var(--text-ui); }
.check-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* Månedlig/årlig + ex./inkl. moms (samme logik som styles.css) */
#pricing-plans[data-interval="month"] .price-year,
#pricing-plans[data-interval="year"] .price-month,
#pricing-plans[data-vat="ex"] .vat-incl,
#pricing-plans[data-vat="incl"] .vat-ex { display: none; }

.pricing__foot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 28px; text-align: center; }
.vat-switch { display: flex; gap: 2px; margin-bottom: 24px; padding: 3px; background: rgba(226, 217, 198, 0.6); border-radius: 20px; }
.vat-btn { padding: 4px 14px; border-radius: 17px; font-size: 14px; line-height: 20px; color: var(--text-soft); transition: color 0.15s ease, transform 140ms var(--ease-out); }
.vat-btn:active { transform: scale(0.97); }
.vat-btn.active { background: var(--white); color: var(--black); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.pricing-team-line { font-size: 17px; line-height: 26px; color: var(--text-ui); }
.pricing-team-line a { color: #601DFF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-position: from-font; }
.fairuse-footnote { font-size: 15px; line-height: 22px; color: var(--text-soft); }

/* ==========================================================================
   10 FAQ (hooks til script.js: .faq-question[aria-expanded])
   ========================================================================== */
.faq { background: linear-gradient(180deg, #F2EDE2 0%, var(--cream) 100%); }
.faq__inner { display: flex; justify-content: space-between; gap: 40px; }
.faq__intro { width: 360px; flex-shrink: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq__intro a { text-decoration: underline; text-underline-offset: 3px; }
.faq__bulb { width: 280px; height: auto; margin-top: 24px; }
.faq-list { width: 712px; flex-shrink: 1; min-width: 0; }
/* Skillestregen er en pseudo-streg i den gennemsigtige border, så den er lige og ikke følger kortets runde hjørner */
.faq-item { position: relative; border-bottom: 1px solid transparent; border-radius: 20px; transition: background-color 200ms var(--ease-out); }
.faq-item::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #E2DCCD; transition: opacity 200ms var(--ease-out); }
.faq-item:has(.faq-question[aria-expanded="true"]) { background: var(--white); }
.faq-item:has(.faq-question[aria-expanded="true"])::after,
.faq-item:has(+ .faq-item .faq-question[aria-expanded="true"])::after { opacity: 0; }
/* Samme padding åben og lukket, så spørgsmål og +/x-knap ikke flytter sig */
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 22px 32px; text-align: left; }
.faq-question h3 { font-weight: 400; font-size: 18px; line-height: 26px; color: var(--black); }
.faq-question[aria-expanded="true"] h3 { font-weight: 600; } /* ingen størrelsesændring — teksten skal ikke hoppe */
.faq-icon { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: #601DFF; }
.faq-icon path { stroke-width: 1.5; stroke-linecap: round; transition: transform 200ms var(--ease-out); transform-origin: 20px 20px; }
.faq-question[aria-expanded="true"] .faq-icon path { transform: rotate(45deg); }
/* Højden animeres med grid-rækker 0fr → 1fr (ingen måling i JS). visibility holder lukkede svar ude af
   Tab og skærmlæser som display: none gjorde; den skifter først, når lukningen er færdig. Luk er hurtigere end åbn.
   Padding ligger på indholdet, ikke på .faq-answer, ellers kan rækken ikke lukke helt. */
.faq-answer { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 200ms var(--ease-out), visibility 0s 200ms; }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 260ms var(--ease-out), visibility 0s; }
.faq-answer > div { min-height: 0; overflow: hidden; padding-inline: 32px; opacity: 0; transform: translateY(-4px); transition: opacity 120ms ease-out, transform 200ms var(--ease-out); }
.faq-question[aria-expanded="true"] + .faq-answer > div { opacity: 1; transform: none; transition: opacity 220ms var(--ease-out) 60ms, transform 260ms var(--ease-out) 60ms; }
.faq-answer > div > :last-child { padding-bottom: 32px; }
.faq-answer p { max-width: 600px; font-size: 16px; line-height: 24px; color: var(--text-soft); }
.faq-answer p + p { margin-top: 12px; }

/* ==========================================================================
   CTA (klassen .cta-b bruges af tr.js)
   ========================================================================== */
.cta-b {
    position: relative;
    overflow: clip;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 136px 24px 96px;
    background: linear-gradient(180deg, #EEE9DD 0%, var(--cream) 100%);
    text-align: center;
}
.cta-b__dome {
    position: absolute;
    top: 100px;
    left: 50%;
    width: 1600px;
    height: 800px;
    transform: translateX(-50%);
    border-radius: 800px 800px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.4;
    pointer-events: none;
}
.cta-b__plane { position: relative; width: 406px; height: 213px; }
.cta-b__trail { position: absolute; left: calc(50% - 720px); top: 281px; width: 522px; height: 90px; overflow: visible; }
.cta-b h2 { position: relative; padding-top: 40px; font-weight: 600; font-size: 48px; line-height: 58px; letter-spacing: -0.02em; color: var(--black); }
.cta-b p { position: relative; max-width: 600px; margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--text); }
.cta-b .badges { position: relative; display: flex; gap: 14px; padding-top: 40px; }
.cta-b .badges img { height: 50px; width: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: linear-gradient(180deg, var(--cream) 0%, #F2EDE2 100%); border-top: 1px solid #E2DCCD; padding-top: 56px; }
.site-footer .wrap { max-width: 1200px; }
.footer-cols { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 48px; }
.footer-brand { width: 320px; flex-shrink: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-brand__logo { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 20px; line-height: 24px; color: var(--black); }
.footer-brand__logo img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand p { max-width: 260px; font-size: 16px; line-height: 24px; color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col--res { width: 260px; }
.footer-col--legal { width: 180px; }
.footer-col--contact { width: 200px; }
.footer-col h2 { padding-bottom: 4px; font-weight: 600; font-size: 16px; line-height: 22px; color: var(--black); }
.footer-col a, .footer-col p { font-size: 15px; line-height: 22px; color: var(--text-soft); }
.footer-col a:hover { color: #601DFF; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 28px; border-top: 1px solid #E2DCCD; font-size: 14px; line-height: 20px; color: var(--text-soft); }

/* ==========================================================================
   QR-popup "Hent app'en på mobil" (Paper: "QR-popup C - mørkt kort"). Desktop + tablet,
   skjult på mobil. qr-pop-v2.js fjerner [hidden] efter 2 s og sætter .is-closing ved luk.
   Glider synligt op fra under skærmkanten (ingen fade - bevægelsen skal fange blikket) og ud samme vej.
   ========================================================================== */
.qr-pop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40; /* under den sticky header (50), så burger-panelet ligger øverst */
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 244px;
    padding: 18px;
    background: var(--ink);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(31, 27, 46, 0.28);
    transition: transform 900ms var(--ease-out-soft);
}
.qr-pop[hidden] { display: none; }
/* Start helt under skærmkanten: egen højde + bund-afstanden (24px) */
@starting-style { .qr-pop { transform: translateY(calc(100% + 24px)); } }
.qr-pop.is-closing { transform: translateY(calc(100% + 24px)); transition: transform 260ms cubic-bezier(0.4, 0, 1, 1); }
.qr-pop__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.qr-pop__title { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 23px; color: var(--white); }
.qr-pop__close { display: grid; place-items: center; width: 32px; height: 32px; margin: -8px -8px 0 0; border-radius: 8px; color: #C9C4D6; transition: color 0.15s ease, background-color 0.15s ease; }
.qr-pop__close:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.qr-pop__close:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.qr-pop__code { display: flex; justify-content: center; padding: 12px; background: var(--white); border-radius: 12px; }
.qr-pop__code svg { display: block; width: 174px; height: 174px; } /* 29 moduler x 6 px = skarpe kanter */
.qr-pop__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 18px; color: #DCD7E6; white-space: nowrap; }
.qr-pop__os { display: flex; align-items: center; gap: 8px; }
.qr-pop__os svg { display: block; flex-shrink: 0; } /* lange tekster (sv/no) må ikke klemme ikonerne */
@media (max-width: 600px) { .qr-pop { display: none; } }
/* MIDLERTIDIGT (test): ingen reduce-undtagelse, som resten af forsiden - se Motion-afsnittet.
   Ved nedtoning: @starting-style + .is-closing -> opacity i stedet for transform. */

/* ==========================================================================
   Tablet (Paper-artboard 768 px)
   ========================================================================== */
@media (max-width: 1023px) {
    :root { --gutter: 40px; }

    /* Header: menu + sprogvælger i burger-panel */
    .site-nav, .site-actions .language-switcher { display: none; }
    .site-logo { width: auto; }
    .site-actions { width: auto; gap: 16px; }
    .nav-burger { display: inline-flex; }
    .nav-panel { border-top: 1px solid var(--border-subtle); }
    .site-header.menu-open .nav-panel { display: block; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
    @starting-style { .site-header.menu-open .nav-panel { opacity: 0; transform: translateY(-6px); } }
    .nav-panel .wrap { display: flex; flex-direction: column; padding-block: 8px 20px; }
    .nav-panel a { padding-block: 12px; font-family: var(--font-body); font-size: 17px; line-height: 22px; color: var(--ink); border-bottom: 1px solid var(--border-subtle); }
    .nav-panel__foot { display: flex; justify-content: space-between; padding-top: 4px; }
    .nav-panel__foot a { border-bottom: 0; color: var(--text-soft); }

    /* Typografi */
    .h-xl { font-size: 56px; line-height: 62px; }
    .teams .h-xl { font-size: 48px; line-height: 56px; }

    /* Fælles: to-delte hoveder stables */
    .split-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .split-head > :first-child, .split-head p,
    .teams .split-head > :first-child, .teams .split-head p { width: auto; max-width: 560px; }

    /* Hero */
    .hero { padding: 72px 0 96px; }
    .hero__inner { flex-direction: column; align-items: flex-start; gap: 56px; }
    .hero__text { width: 100%; }
    .hero h1 { font-size: 54px; line-height: 62px; }
    .hero__sub { max-width: 560px; }
    .hero__media { width: 100%; height: 520px; }
    .hero__media img { left: calc(50% - 336.5px); top: -20px; transform-origin: 50% 50%; } /* centreret (billedet er 673 px) */

    /* 02 */
    /* Telefon (244) + 64 px luft + mail-kort, samlet og centreret; flyets spids ender ved x ≈ 296 (før kortet ved 308) */
    .inbox__scene { height: auto; display: flex; position: relative; max-width: 828px; margin-inline: auto; }
    .inbox__phone { left: 0; top: 0; width: 244px; border-radius: 42px; padding: 8px; }
    .inbox__phone img { border-radius: 34px; }
    .inbox__plane { left: 134px; top: 250px; translate: none; width: 170px; height: 89px; rotate: 18deg; transform-origin: 0 0; z-index: 2; }
    .mail-card { position: relative; right: auto; flex: 1; width: auto; max-width: 520px; margin-left: 308px; box-shadow: 0 30px 60px rgba(120, 110, 90, 0.15); }
    .mail-card__head { padding: 18px 22px; }
    .mail-card__body { padding: 22px 22px 26px; gap: 20px; }

    /* 03 GDPR */
    .gdpr__intro { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 96px; }
    .gdpr__intro .h-xl { width: auto; max-width: 560px; }
    .gdpr__intro p { width: auto; max-width: 520px; padding-bottom: 0; }
    .gdpr-flow__band {
        top: -86px;
        bottom: -101px;
        clip-path: polygon(0 40px, 86.8% 0, 100% 74px, 100% 100%, 86.8% calc(100% - 64px), 0 calc(100% - 32px));
    }
    .gdpr-steps { flex-direction: column; border-top: 0; }
    .gdpr-step { flex-direction: row; align-items: baseline; gap: 14px; padding: 20px 0; border-right: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
    .gdpr-step:first-child { padding-top: 0; border-top: 0; }
    .gdpr-step__num { width: 28px; flex-shrink: 0; }
    .gdpr-step h3 { width: 170px; flex-shrink: 0; }
    .gdpr-step p { flex: 1; font-size: 15px; line-height: 22px; }
    .gdpr-docs { padding-top: 32px; }
    .gdpr-docs__inner { flex-direction: column; gap: 48px; }
    .gdpr-docs__intro { width: 100%; max-width: 560px; }
    .doc-list { width: 100%; }

    /* 04 */
    .users__inner { flex-direction: column; gap: 48px; }
    .users__intro { width: 100%; }
    .users__intro .lead { max-width: 480px; }
    .user-grid { width: 100%; }

    /* 05 */
    .example { flex-direction: column; }
    .example--reverse .example__photo { order: -1; }
    .example__photo { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
    .example__body { padding: 40px; gap: 28px; }
    .example__num { font-size: 24px; line-height: 32px; }

    /* 06 */
    .teams__inner { flex-direction: column; gap: 56px; }
    .teams__device { order: -1; width: 100%; }
    .team-steps { width: 100%; }

    /* 07 */
    .quote-main blockquote { font-size: 36px; line-height: 46px; }

    /* 08 */
    .gear-grid { grid-template-columns: 1fr; }
    .gear-card { flex-direction: row; }
    .gear-card img { width: 45%; height: auto; min-height: 100%; flex-shrink: 0; }
    .gear-card__body { justify-content: flex-start; padding: 24px; }

    /* 09 */
    .pricing-cards { grid-template-columns: repeat(2, 1fr); }

    /* 10 */
    .faq__inner { flex-direction: column; gap: 40px; }
    .faq__intro { width: 100%; }
    .faq__bulb { display: none; }
    .faq-list { width: 100%; }

    /* CTA */
    .cta-b__plane, .cta-b__trail { translate: -80px 0; }

    /* Footer */
    .footer-cols { flex-wrap: wrap; row-gap: 40px; }
    .footer-brand { width: 100%; }
    .footer-col--res, .footer-col--legal, .footer-col--contact { width: auto; flex: 1; min-width: 180px; }
}

/* ==========================================================================
   Mobil (Paper-artboard 390 px)
   ========================================================================== */
@media (max-width: 600px) {
    :root { --gutter: 20px; --section-y: 64px; --section-y-tight: 40px; }

    .site-header__bar { padding-block: 14px; }
    .site-logo { gap: 10px; }
    .site-logo img { width: 34px; height: 34px; }
    .site-logo span { font-size: 19px; line-height: 24px; }
    .site-actions { gap: 10px; }
    .site-actions .nav-login { display: none; }
    .site-actions .btn-purple { padding: 9px 16px; }

    .sec-label { padding-bottom: 48px; }
    .sec-label__meta { display: none; }

    .h-xl, .teams .h-xl { font-size: 36px; line-height: 40px; }
    .h-lg, .gear .h-lg { font-size: 32px; line-height: 38px; }
    .h-md { font-size: 32px; line-height: 38px; }
    .lead { font-size: 17px; line-height: 26px; }

    /* Hero */
    .hero { padding: 48px 0 64px; }
    .hero__inner { gap: 40px; }
    .hero h1 { font-size: 40px; line-height: 46px; padding-bottom: 16px; }
    .hero__sub { font-size: 17px; line-height: 26px; padding-bottom: 28px; max-width: 350px; }
    .store-badges { gap: 10px; }
    .store-badges img { height: 42px; }
    .hero__media { height: 300px; }
    .hero__media img { left: -6px; top: -10px; width: 370px; transform-origin: 0 0; }

    /* 01 */
    .how__head { padding-bottom: 40px; }
    .steps { grid-template-columns: 1fr; gap: 16px; }

    /* 02: kun referat-eksemplet */
    .inbox .sec-label { padding-bottom: 40px; }
    .inbox__head { margin-bottom: 40px; }
    .inbox__phone, .inbox__plane { display: none; }
    .mail-card { width: 100%; margin-left: 0; border-radius: 18px; box-shadow: 0 20px 50px rgba(120, 110, 90, 0.12); }
    .mail-card__subject { font-size: 15px; line-height: 21px; }
    .mail-card__from { font-size: 12px; line-height: 18px; }
    .mail-card h3 { font-size: 15px; line-height: 21px; }
    .mail-card p { font-size: 13px; line-height: 19px; }
    .mail-card li { font-size: 13px; line-height: 20px; }

    /* 03 GDPR */
    .gdpr > .section { padding-bottom: 72px; }
    .gdpr__intro { padding-bottom: 70px; }
    .gdpr-flow { padding-top: 16px; }
    .gdpr-flow__band {
        top: -39px;
        bottom: -40px;
        clip-path: polygon(0 36px, 87% 0, 100% 40px, 100% 100%, 87% calc(100% - 34px), 0 calc(100% - 4px));
    }
    .gdpr-step { flex-wrap: wrap; column-gap: 14px; row-gap: 6px; padding: 18px 0; }
    .gdpr-step:first-child { padding-top: 0; }
    .gdpr-step__num { width: 24px; }
    .gdpr-step h3 { width: auto; flex: 1; font-size: 19px; }
    .gdpr-step p { flex-basis: 100%; padding-left: 38px; }
    .gdpr-docs { padding: 26px 0 64px; }
    .gdpr-docs__intro h3 { font-size: 32px; line-height: 36px; }
    .doc-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .doc-row__meta { width: auto; text-align: left; }

    /* 04 */
    .user-grid { grid-template-columns: 1fr; gap: 16px; }

    /* 05 */
    .examples { padding-bottom: 64px; }
    .example-list { gap: 24px; }
    .example__body { padding: 24px; gap: 24px; }
    .example h3 { font-size: 22px; line-height: 28px; }
    .example__num { font-size: 22px; line-height: 30px; }

    /* 06: kompakt dashboard (kun navn + plan) */
    .tablet-frame { padding: 8px; border-radius: 26px; }
    .dash { border-radius: 19px; }
    .dash__top { padding: 14px 16px; }
    .dash__url, .dash__role, .dash__status { display: none; }
    .dash__kpi { padding: 14px 14px; }
    .dash__kpi strong { font-size: 22px; line-height: 28px; }
    .dash__table { padding: 8px 16px 4px; }
    .dash__plan { width: auto; text-align: right; }
    .dash__invite { margin: 8px 16px 16px; padding: 14px; }
    .dash__link code { white-space: normal; word-break: break-all; }
    .team-step { gap: 16px; }
    .team-step h3 { font-size: 20px; }
    .team-actions { gap: 10px; }
    .team-actions .btn-purple { padding: 15px 20px; }
    .btn-outline { padding: 14px 20px; }

    /* 07 */
    .quote-main { padding-bottom: 48px; gap: 24px; }
    .quote-main blockquote { font-size: 26px; line-height: 34px; }
    .quote-grid { grid-template-columns: 1fr; gap: 16px; }
    .quote-card { padding: 24px; }

    /* 08 */
    .gear-card { flex-direction: column; }
    .gear-card img { width: 100%; height: 240px; min-height: 0; }

    /* 09 */
    .pricing__head { padding-bottom: 40px; }
    .pricing-cards { grid-template-columns: 1fr; }
    .pricing-card.free-card .pricing-vat-small,
    .pricing-card.free-card .pricing-billing-line { display: none; }
    .pricing-card.free-card .pricing-amount { padding-bottom: 20px; }
    .toggle-btn { padding: 9px 18px; }

    /* 10 */
    .faq-item { border-radius: 16px; }
    .faq-question { padding: 18px 16px; gap: 16px; }
    .faq-question h3 { font-size: 17px; line-height: 24px; }
    .faq-icon { width: 36px; height: 36px; }
    .faq-answer > div { padding-inline: 16px; }
    .faq-answer > div > :last-child { padding-bottom: 24px; }
    .faq-answer p { font-size: 16px; line-height: 25px; }

    /* CTA */
    .cta-b { padding: 88px 20px 72px; }
    .cta-b__plane { width: 280px; height: 147px; translate: 0 0; }
    .cta-b__trail { display: none; }
    .cta-b h2 { font-size: 32px; line-height: 40px; padding-top: 32px; }
    .cta-b p { font-size: 17px; line-height: 26px; }
    .cta-b .badges { gap: 10px; padding-top: 32px; }
    .cta-b .badges img { height: 44px; }

    /* Footer */
    .footer-cols { flex-direction: column; gap: 32px; }
    .footer-col--res, .footer-col--legal, .footer-col--contact { min-width: 0; }
    .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ==========================================================================
   Motion. Kurver i :root. Scroll-reveals styres af motion-v2.js (kun DA-forsiden):
   indhold er synligt uden JS — kun elementer under folden får data-reveal="pending",
   og skifter til "in", når de scrolles frem. Stagger-indekset --i sættes af motion-v2.js.
   MIDLERTIDIGT (test, 2/11-2026): motion kører for alle — også ved prefers-reduced-motion: reduce.
   Skal nedtones senere (fx kun fades, ingen flyt/drej/zoom ved reduce).
   ========================================================================== */
/* Trykfeedback på app-badges (hero + CTA) */
.store-badges a, .cta-b .badges a { display: block; transition: transform 140ms var(--ease-out); }
.store-badges a:active, .cta-b .badges a:active { transform: scale(0.97); }

/* Header: diskret skygge, når man har scrollet (scroll-drevet, ingen JS; ældre browsere = som før) */
@supports (animation-timeline: scroll()) {
    .site-header { animation: header-lift linear both; animation-timeline: scroll(); animation-range: 0 80px; }
}
@keyframes header-lift { to { box-shadow: 0 6px 20px -12px rgba(60, 40, 20, 0.18); } }

/* Hero: én gang ved indlæsning. Tekst og badges står stille. Telefonbilledet er LCP og fader derfor ikke — det lander kun */
.hero__media img { animation: phone-land 1000ms var(--ease-out) backwards; }
@keyframes phone-land { from { rotate: 2deg; translate: 0 14px; } } /* ender i 0deg: billedet hviler uroteret (skarpt) */

/* 02: overskrift og undertekst toner ind med blur og løft (som littleplains.com: hele blokke, teksten deles ikke op) */
.inbox__head > * { transition: opacity 500ms var(--ease-out-soft), filter 500ms var(--ease-out-soft), translate 500ms var(--ease-out-soft); transition-delay: calc(var(--i, 0) * 80ms); }
.inbox__head[data-reveal="pending"] > * { opacity: 0; filter: blur(6px); translate: 0 12px; }

/* 01: de tre trin glider op efter hinanden */
.step-card { transition: opacity 700ms ease, transform 1000ms var(--ease-out-soft); transition-delay: calc(var(--i, 0) * 200ms); }
[data-reveal="pending"] .step-card { opacity: 0; transform: translateY(16px); }

/* 03: dataflowet — trinene kommer i rækkefølge 01 → 05 (desktop: langs en streg, der tegnes) */
.gdpr-step { transition: opacity 600ms ease, transform 800ms var(--ease-out-soft); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal="pending"] .gdpr-step { opacity: 0; transform: translateY(8px); }

/* 08: billedet zoomer let ved hover (kortet klipper allerede) */
.gear-card img { transition: scale 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gear-card:hover img { scale: 1.03; } }

/* 09: glidende pille i måned/år- og moms-togglen (motion-v2.js sætter .has-pill og --pill-x/--pill-w) */
.has-pill { position: relative; }
.has-pill > button { position: relative; z-index: 1; }
.has-pill > button.active { background: transparent; box-shadow: none; }
.has-pill::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--pill-w); transform: translateX(var(--pill-x)); background: var(--white); border-radius: 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); transition: transform 220ms var(--ease-out), width 220ms var(--ease-out); }
.vat-switch.has-pill::before { top: 3px; bottom: 3px; border-radius: 17px; }

@media (min-width: 1024px) {
    /* 03 desktop: trinene kommer fra venstre langs den øverste streg, som tegnes som en pseudo-streg */
    [data-reveal="pending"] .gdpr-step { transform: translateX(-10px); }
    .gdpr-steps[data-reveal="pending"], .gdpr-steps[data-reveal="in"] { border-top-color: transparent; }
    .gdpr-steps[data-reveal="pending"]::before, .gdpr-steps[data-reveal="in"]::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: rgba(255, 255, 255, 0.35); transform-origin: left; transition: transform 700ms var(--ease-in-out); }
    .gdpr-steps[data-reveal="pending"]::before { transform: scaleX(0); }
}

/* MIDLERTIDIGT (test): transitions slås ikke længere fra ved reduce — se Motion-afsnittet */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
