/* Font Faces */
@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;
}

/* Rubik = brødtekst (body), Lexend = overskrifter/logo */
@font-face { font-family: 'Rubik'; src: url('assets/Rubik-Light.woff2') format('woff2'); font-weight: 300; 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: 'Rubik'; src: url('assets/Rubik-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2D3748;
    --secondary-color: #4A5568;
    --accent-color: #ec407a;
    --text-dark: #1A202C;
    --text-mid: #374151;
    --text-light: #5a6a7a;
    --bg-light: #F0EAE0; /* fælles web-beige, besluttet 18/7-2026 (før: #f3f0e8) */
    --bg-white: #FFFFFF;
    --border-color: #E2DED7; /* designsystem B (før: #e5e3dc) */
    --border-subtle: #eeece6;
    --purple: #7B3FFF; /* designsystem B (før: #6c47ff) */
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: var(--bg-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50px;
}

.logo-text {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

/* MOBILE MENU - uncomment to re-enable (also uncomment in script.js and header HTML)
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin-left: auto;
    margin-right: 0;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}
END MOBILE MENU (desktop) */

.colored-dot {
    color: var(--accent-color);
}

/* Hero Animations */
@keyframes hero-rise-in {
    0% { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-rise {
    opacity: 0;
    animation: hero-rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes phone-slide-in {
    0% { opacity: 0; transform: translateX(80px) rotate(2deg); }
    100% { opacity: 1; transform: translateX(0) rotate(2deg); }
}
.animate-phone-in {
    animation: phone-slide-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Global h2 */
h2 {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Hero Section */
.hero {
    background: var(--bg-light);
    padding: 110px 0 130px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(2rem, 1.3878rem + 2.6122vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.app-badges-wrapper {
    position: relative;
    display: inline-flex;
    gap: 16px;
    align-items: center;
}

.app-store-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-store-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--text-dark);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.store-badge {
    height: 46px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* TEMP: hero-photo replaces phone-mockup temporarily */
.hero-photo {
    max-width: 680px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
}

@media (min-width: 969px) {
    .hero-image {
        position: relative;
        min-height: 460px;
    }

    .hero-photo {
        position: absolute;
        top: -10%;
        left: 0%;
        width: 120%;
        max-width: none;
    }
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: #1F2937;
    border-radius: 50px;
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1F2937;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    object-fit: cover;
    object-position: top center;
}

/* How It Works */
.how-it-works {
    padding: 80px 0 100px;
    background: var(--bg-light);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(60, 40, 20, 0.04), 0 4px 16px -8px rgba(60, 40, 20, 0.08);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, var(--purple) 0%, #9b5cff 100%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 0;
}

.step p {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.45;
}

/* Referat-eksempel (explosion layout — sektionsvælger E rev. 3, valgt 18/7-2026) */
.ree { padding: 100px 0; background: var(--bg-light); overflow: hidden; }
.ree .re-grid { display: grid; grid-template-columns: 0.8fr 2fr; gap: 56px; align-items: center; }
/* Intro-kolonnen løftet op: næsten i flugt med toppen af mail-kortet
   (kortets top = stage padding-top 28px; 52px giver "næsten men ikke helt") */
.ree .re-intro { align-self: start; padding-top: 52px; }
.ree .re-intro h2 { text-align: left; margin-bottom: 16px; font-size: 2.4rem; }
.ree .re-intro p { color: #4a5560; font-size: 16px; line-height: 1.7; max-width: 34ch; }
.ree .stage { position: relative; padding: 28px 0 46px; }
.ree .mail-card {
    background: #fff; border: 1px solid #e5e3dc; border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.10);
    overflow: hidden; font-size: 13.5px;
    width: min(490px, 70%); margin: 0;
}
.ree .mail-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid #eeece6; }
.ree .mail-head svg { width: 18px; height: 18px; color: #5a6a7a; flex-shrink: 0; }
.ree .mail-head strong { font-size: 14px; }
.ree .mail-head .til { display: block; font-size: 11.5px; color: #8a8a8a; }
.ree .mail-body { padding: 18px 22px 22px; }
.ree .mail-body .mail-h {
    display: inline-block; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em; color: #1F1B2E;
    background: var(--bg-light); border: 1px solid #e5e3dc; border-radius: 999px;
    padding: 3px 11px; margin: 24px 0 7px;
}
.ree .mail-body .mail-h:first-child { margin-top: 0; }
.ree .mail-body p, .ree .mail-body li { color: #374151; line-height: 1.55; margin: 0; }
.ree .mail-body ul { margin: 0; padding-left: 18px; }
.ree .mail-body li { margin-bottom: 3px; }
.ree .emne + .emne { margin-top: 10px; }
.ree .emne strong { color: #1A202C; }
.ree .emne em { color: #8a8a8a; font-style: normal; font-size: 12px; }
/* Explosion-fragmenter — 4 ensartede kort, alle i højre side */
.ree .frags { display: contents; }
.ree .frag {
    position: absolute; display: flex; gap: 12px; align-items: flex-start;
    background: #fff; border: 1px solid #e5e3dc; border-radius: 14px;
    padding: 13px 16px; width: 236px;
    box-shadow: 0 6px 20px rgba(0,0,0,.09);
}
.ree .frag svg { width: 20px; height: 20px; color: #414141; flex-shrink: 0; margin-top: 1px; }
.ree .frag strong { display: block; font-size: 13.5px; margin-bottom: 2px; color: #1F1B2E; }
.ree .frag span { font-size: 12.5px; color: #5a6a7a; line-height: 1.4; display: block; }
/* Fælles venstrekant for alle fragmenter; lodret ud for deres sektion i mailen */
.ree .frag.f1 { left: 59%; top: 12%; }
.ree .frag.f2 { left: 59%; top: 31%; }
.ree .frag.f3 { left: 59%; top: 51%; }
.ree .frag.f4 { left: 59%; bottom: 78px; box-shadow: 0 16px 40px rgba(0,0,0,.15); }
@media (max-width: 1100px) {
    .ree .re-grid { gap: 36px; }
    .ree .frag { width: 214px; }
    .ree .frag.f1, .ree .frag.f2, .ree .frag.f3, .ree .frag.f4 { left: 56%; }
}
@media (max-width: 968px) {
    .ree .re-grid { grid-template-columns: 1fr; }
    .ree .re-intro { align-self: auto; padding-top: 0; }
    .ree .re-intro p { max-width: none; }
    .ree .stage { padding: 0; }
    .ree .mail-card { width: 100%; }
    .ree .frags { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
    .ree .frag, .ree .frag.f2, .ree .frag.f3, .ree .frag.f4 { position: static; width: auto; flex: 1 1 240px; box-shadow: 0 4px 14px rgba(0,0,0,.07); }
}

/* Brugsscenarier (sektionsvælger F — blanding C+D, valgt runde 5) */
.ff { padding: 100px 0; background: var(--bg-light); }
.ff .grid { display: grid; grid-template-columns: 0.9fr 1fr 1fr; gap: 56px; align-items: start; }
.ff .intro-col { grid-column: 1; }
.ff h2 { text-align: left; margin-bottom: 18px; }
.ff .intro { color: var(--text-light); font-size: 17px; line-height: 1.7; max-width: 32ch; }
.ff .kort-grid { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ff .kort {
    background: #fff; border: 1px solid var(--border-subtle); border-radius: 20px;
    padding: 26px 24px; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ff .kort:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ff .kort h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 6px; display: flex; align-items: center; gap: 9px; }
.ff .kort h3 svg { width: 19px; height: 19px; color: #414141; flex-shrink: 0; }
.ff .kort p { color: var(--text-light); font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 968px) {
    .ff .grid { grid-template-columns: 1fr; gap: 32px; }
    .ff .intro { max-width: none; }
    .ff .kort-grid { grid-column: auto; }
}
@media (max-width: 560px) {
    .ff .kort-grid { grid-template-columns: 1fr; }
}


/* Security Section */
.security {
    padding: 100px 0;
    background: var(--bg-white);
}

.security-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.security-text h2 {
    margin-bottom: 24px;
}

.section-intro {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.security-features {
    list-style: none;
}

.security-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.security-features svg {
    width: 24px;
    height: 24px;
    color: #48BB78;
    flex-shrink: 0;
    margin-top: 2px;
}

.security-visual {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.security-badge {
    background: linear-gradient(135deg, #eb4eaf 0%, #a41d93 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    min-width: 160px;
    box-shadow: var(--shadow);
}

.security-badge svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.security-badge p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* GDPR Trust Box */
.gdpr-trust {
    padding: 50px 0;
    background: var(--bg-light);
}

.gdpr-trust-box {
    background: radial-gradient(120% 120% at 30% 20%, #eb4eaf 0%, #7c3aed 55%, #312e81 100%);
    border-radius: 24px;
    padding: 48px;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35), 0 4px 16px rgba(124, 58, 237, 0.25);
    overflow: hidden;
}

.gdpr-trust-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 8px;
}

.gdpr-trust-box h3 {
    font-size: 30px;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.gdpr-trust-box p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    margin: 0;
}

.gdpr-trust-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gdpr-trust-visual svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* CTA Section (sektionsvælger B — brand-lilla mættet flade; en af de tre
   tilladte lilla flader jf. dev/design.md "Purple = buttons only") */
.cta-b {
    background: radial-gradient(140% 160% at 20% 0%, #8b5cf6 0%, #6c47ff 45%, #4527c4 100%);
    padding: 96px 0;
    text-align: center;
    color: #fff;
}

.cta-b h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 14px;
    color: #fff;
}

.cta-b p {
    font-size: 19px;
    margin-bottom: 36px;
    color: rgba(255,255,255,.85);
}

.cta-b .badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-b .badges img {
    height: 54px;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
    transition: transform .15s ease;
}

.cta-b .badges a:hover img {
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

/* DA-footer har en ekstra Ressourcer-kolonne (EN har 3 sektioner) */
.footer-content-4col {
    grid-template-columns: 1.6fr 1.4fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    font-size: 14px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-payment-logos {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    opacity: 0.8;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-page h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-page .last-updated {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 14px;
}

.legal-content {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
    color: #444;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: #444;
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--text-dark);
}

.legal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 56px 0 100px; /* top 100→56px — strammere rytme (18/7) */
    background: var(--bg-light);
}

.faq h2 {
    text-align: center;
    margin-bottom: 16px;
}

.faq .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    padding-right: 20px;
    flex: 1;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 16px 28px 24px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text {
        text-align: left;
    }

    .cta-buttons {
        justify-content: flex-start;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .security-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .gdpr-trust-box {
        grid-template-columns: 1fr;
        padding: 56px 32px 34px;
    }

    .gdpr-trust-visual {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .phone-mockup {
        width: 280px;
        height: 570px;
    }

}

@media (max-width: 768px) {
    /* MOBILE MENU - uncomment to re-enable
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 24px 0;
        gap: 0;
        margin-left: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 16px 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    END MOBILE MENU (mobile) */

    .hero {
        padding: 60px 0 60px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    h2 {
        font-size: 2.25rem !important;
    }

    .security {
        padding: 60px 0;
    }

    .ree,
    .ff {
        padding: 60px 0;
    }

    .how-it-works {
        padding: 40px 0;
    }

    .cta-b {
        padding: 60px 0;
    }

    .phone-mockup {
        width: 260px;
        height: 530px;
    }


    .faq {
        padding: 60px 0;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-question[aria-expanded="true"] + .faq-answer {
        padding: 0 20px 20px;
    }

    .legal-page h1 {
        font-size: 34px;
    }

    .legal-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 450px) {
    .hero-photo {
        max-width: 110%;
        width: 110%;
        filter: drop-shadow(rgba(0, 0, 0, 0.10) 0px 25px 30px);
    }
}

@media (max-width: 968px) {
    .hero-photo.animate-phone-in {
        animation: hero-rise-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero {
        padding-bottom: 30px;
    }

    .hero-image {
        padding-bottom: 30px;
    }

    .store-badge {
        height: 45px;
    }

    .cta-buttons {
        justify-content: flex-start;
        gap: 12px;
    }

    .phone-mockup {
        width: 240px;
        height: 490px;
        border-radius: 40px;
        padding: 12px;
    }


    .phone-mockup::before {
        width: 80px;
        height: 20px;
    }

    .phone-screen {
        border-radius: 32px;
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 20px;
    margin-right: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 18px;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: opacity 0.2s;
}

.lang-btn:hover {
    opacity: 0.7;
}

.lang-code {
    font-weight: 400;
    letter-spacing: 0.5px;
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.lang-btn.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.2s, color 0.2s;
}

.lang-option:hover {
    background-color: #f5f5f5;
}

.lang-option.current {
    color: #999;
    pointer-events: none;
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: auto;
        margin-right: 0;
        order: 2;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
    }

}

/* ============================================
   NAV ACTIONS (Log ind + Opret gratis konto)
   ============================================ */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.nav-login {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.nav-login:hover {
    opacity: 0.7;
}

.btn-nav-signup {
    display: none; /* midlertidigt skjult — skift til inline-flex for at genaktivere */
    align-items: center;
    padding: 10px 22px;
    font-size: 15px;
    letter-spacing: 0.01em;
    border-radius: 8px;
    text-decoration: none;
    background: linear-gradient(to right, #5B1AFF, #973BFF);
    color: white;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-nav-signup:hover {
    background: linear-gradient(to right, #4c13e0, #8330e8);
    transform: translateY(-1px);
}

.btn-signup-short {
    display: none;
}

@media (max-width: 768px) {
    .nav-login {
        display: none;
    }

    .nav-actions {
        order: 1;
        gap: 12px;
    }

    .language-switcher {
        margin-left: 4px;
    }

    .btn-nav-signup {
        padding: 9px 16px;
        font-size: 14px;
    }

    .btn-signup-full {
        display: none;
    }

    .btn-signup-short {
        display: inline;
    }
}

@media (max-width: 480px) {
    nav .logo-text {
        display: none;
    }
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    padding: 56px 0 100px; /* top 100→56px — strammere rytme (18/7) */
    background: var(--bg-light);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 6px;
}

.pricing-subtitle-text {
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 36px;
}

/* Toggle Buttons */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 44px;
    background: #e8e6df;
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 9px 24px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.18s ease;
    font-family: inherit;
    white-space: nowrap;
}

.toggle-btn.active {
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}

.toggle-btn:hover:not(.active) {
    color: var(--text-mid);
}

/* Pricing Cards Grid */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 18px;
}

.pricing-cards.hidden {
    display: none;
}

@media (min-width: 901px) and (max-width: 1150px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
    }
}

/* "Spar 20 %" / "Save 20%" badge on the yearly toggle button */
.toggle-save-badge {
    background: #d91b9b;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.2px;
    margin-left: 4px;
}

/* Billing-frequency line under the price (month/year, incl. yearly total) */
.pricing-billing-line {
    font-size: 12px;
    color: var(--text-light);
    margin: 3px 0 20px;
    min-height: 16px;
}

.pricing-billing-line.emphasized {
    color: var(--text-dark);
    font-weight: 500;
}

#pricing-plans[data-interval="month"] .price-year {
    display: none;
}

#pricing-plans[data-interval="year"] .price-month {
    display: none;
}

#pricing-plans[data-vat="ex"] .vat-incl {
    display: none;
}

#pricing-plans[data-vat="incl"] .vat-ex {
    display: none;
}

/* ex./inkl. moms switch below the grid (DKK only) */
.vat-switch {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 24px auto 14px;
}

.vat-btn {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.15s ease;
}

.vat-btn.active {
    background: #e8e6df;
    color: var(--text-dark);
    font-weight: 500;
}

.pricing-team-line {
    font-size: 13.5px;
    color: var(--text-mid);
    text-align: center;
    margin: 26px 0 0;
    grid-column: 1 / -1;
}

.pricing-team-line a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.fairuse-footnote {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    max-width: 56ch;
    margin: 10px auto 0;
    line-height: 1.5;
}

/* Individual Card */
.pricing-card {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 34px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

/* Featured card */
.pricing-card.featured {
    position: relative;
}

.featured-label {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.1px;
}

/* Team card */
.pricing-card.team-card {
    background: #fafaf8;
    border: 1px solid var(--border-subtle);
}

.pricing-plan-name {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 3px;
}

.pricing-price {
    font-size: 44px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.03em;
}

.pricing-duration {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-vat-small {
    font-size: 13px;
    color: var(--text-light);
    margin: 3px 0 20px;
    min-height: 16px;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 0 0 20px;
}

/* CTA Button */
.pricing-cta {
    margin-bottom: 20px;
}

.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    font-family: inherit;
    letter-spacing: 0.01em;
    background: linear-gradient(to right, #5B1AFF, #973BFF);
    color: white;
}

.btn-pricing:hover {
    background: linear-gradient(to right, #4c13e0, #8330e8);
    transform: translateY(-1px);
}

.pricing-arrow {
    transition: transform 0.15s ease;
}

.btn-pricing:hover .pricing-arrow {
    transform: translateX(3px);
}

/* Features List */
.pricing-features-list {
    flex: 1;
}

.pricing-section-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 12px 0;
}

.pricing-feature-line {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: var(--text-mid);
    margin: 0 0 9px 0;
    line-height: 1.4;
}

.pricing-feature-line.muted {
    color: var(--text-light);
}

.check-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* VAT Note */
.pricing-vat-note {
    font-size: 12px;
    color: var(--text-light);
    margin: 20px 0 0;
    grid-column: 1 / -1;
    text-align: center;
}

.team-variants-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    line-height: 1.5;
}

/* Free card (muted) */
.pricing-card.free-card {
    border: 1px solid #e0ddd6;
    background: #fdfdfc;
}

/* Standard card with unlimited badge */
.pricing-card.featured-standard {
    position: relative;
}

.pricing-badge-unlimited {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #d91b9b;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.1px;
}

/* Team card v2 (dashed border) */
.pricing-card.team-card-v2 {
    background: #f8fafb;
    border: 1.5px dashed #c7d2da !important;
}

.team-footnote {
    font-size: 12px;
    color: #6b7280;
    margin-top: 16px;
    line-height: 1.5;
    font-style: italic;
}

/* Download Tooltip */
.app-download-tooltip {
    position: absolute;
    top: -60px;
    left: calc(50% - 12px);
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7c3aed, #6c47ff);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    animation: tooltipBounce 0.5s ease-out;
    z-index: 10;
}

.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 #6c47ff;
}

@keyframes tooltipBounce {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Pricing Responsive Design */
@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 380px;
        gap: 26px;
    }

    .toggle-btn {
        padding: 8px 18px;
        font-size: 13px;
    }

    .pricing-price {
        font-size: 40px;
    }
}

/* ============================================================
   Artikel-sider (underside-skabelon: /sammenlign/, /guides/)
   Designsystem B: beige side, hvidt indholdskort
   ============================================================ */
.article-page {
    background: var(--bg-light);
}
/* Diskret header på artikelsider: mindre logo, lavere højde, ikke sticky */
.article-page header {
    position: static;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.article-page .logo-img {
    height: 28px;
    width: auto;
    border-radius: 0;
}
.article-page .logo-text {
    font-size: 17px;
}
.article-page .footer-section:first-child {
    visibility: hidden;
}
.article-container {
    max-width: 860px;
    margin: 40px auto 72px;
    padding: 48px 56px 56px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    font-size: 15px;
}
@media (max-width: 900px) {
    .article-container {
        margin: 0 auto 48px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 32px 24px 48px;
    }
}
.article-container h1,
.article-container h2,
.article-container h3 {
    font-family: 'Lexend', 'Rubik', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    text-wrap: balance;
}
.article-container h1 {
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    line-height: 1.2;
    margin: 10px 0 20px;
}
.article-container h2 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin: 44px 0 12px;
}
.article-container h3 {
    font-size: 1.02rem;
    margin: 24px 0 6px;
}
.article-container p,
.article-container li {
    color: var(--text-mid);
    max-width: 70ch;
    text-wrap: pretty;
}
.article-container p {
    margin: 0 0 16px;
}
.article-container ul,
.article-container ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.article-container li {
    margin-bottom: 6px;
}
.article-container a {
    color: var(--purple);
}
.article-kicker {
    font-size: 0.85rem;
    color: var(--text-light);
}
.article-kicker a {
    color: var(--text-light);
    text-decoration: none;
}
.article-kicker a:hover {
    text-decoration: underline;
}
.short-answer {
    background: var(--bg-light);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 24px 0 36px;
}
.short-answer h2 {
    margin: 0 0 8px;
    font-size: 1.02rem;
}
.short-answer p {
    margin: 0;
}
.compare-table-wrap {
    overflow-x: auto;
    margin: 24px 0 8px;
}
.compare-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 640px;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.compare-table th,
.compare-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-mid);
}
.compare-table thead th {
    background: var(--bg-light);
    font-family: 'Lexend', 'Rubik', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}
.compare-table tbody tr:last-child td {
    border-bottom: none;
}
.compare-table td:first-child {
    font-weight: 500;
    color: var(--text-dark);
}
.cell-detail {
    display: block;
    color: var(--text-light);
    font-size: 0.85em;
    margin-top: 2px;
}
@media (max-width: 640px) {
    /* På mobil: behold hovedværdierne (Ja/Nej/pris), skjul kun uddybningen */
    .cell-detail {
        display: none;
    }
}
.table-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 40px;
}
.pick-line {
    font-style: italic;
    color: var(--text-dark);
}
/* Referat-eksempel i artikler (genbruger mail-strukturen fra forsiden i forenklet form) */
.article-example {
    background: var(--bg-light);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 24px 0 36px;
    font-size: 0.92rem;
}
.article-example .ex-h {
    font-family: 'Lexend', 'Rubik', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin: 16px 0 6px;
    font-size: 0.95rem;
}
.article-example .ex-h:first-child {
    margin-top: 0;
}
.article-example p,
.article-example li {
    margin-bottom: 4px;
}
.article-example ul {
    margin-bottom: 8px;
}
.article-faq {
    border-bottom: 1px solid var(--border-subtle);
    padding: 18px 0;
}
.article-faq:last-of-type {
    border-bottom: none;
}
.article-faq h3 {
    margin: 0 0 8px;
}
.article-faq p {
    margin: 0;
}
.article-cta {
    background: var(--bg-light);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px 28px;
    margin-top: 56px;
    text-align: center;
}
.article-cta h2 {
    margin: 0 0 10px;
}
.article-cta p {
    margin: 0 auto 20px;
}
.article-cta .badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
