/* HejBonni – forside */
:root {
    --paper: #FBF7EE;
    --white: #FFFFFF;
    --line: #ECE4D3;
    --line-2: #E2D8C3;
    --ink: #11332B;
    --muted: #3F5E55;
    --muted-2: #4E6B62;
    --green: #2EB17E;
    --green-ink: #0B3A2E;
    --deep: #0E4A3B;
    --deep-2: #135A48;
    --mint: #DDF3E8;
    --mint-2: #8FDDB8;
    --eyebrow: #1F7A57;
    --on-deep: #D3EADF;
    --font-head: 'Nunito', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 28px;
}

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

html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--font-head); color: var(--deep); margin: 0; }
h2 { font-weight: 900; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -1px; }
h3 { font-weight: 800; font-size: 22px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mint-2); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; }
.wrap-narrow { max-width: 820px; margin: 0 auto; }
.center { text-align: center; }
.stack-xl { display: flex; flex-direction: column; gap: 56px; }
.stack-lg { display: flex; flex-direction: column; gap: 36px; }
.section { padding: 104px 24px; }
.section-tight { padding: 0 24px 88px; }
.section-flush { padding: 0 24px 104px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.eyebrow { color: var(--eyebrow); font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.eyebrow--light { color: var(--mint-2); }

/* Knapper */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 56px; padding: 0 28px;
    font: inherit; font-size: 17px; font-weight: 700;
    color: #fff; background: var(--deep);
    border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
    transition: background .15s;
}
.btn:hover { background: var(--deep-2); color: #fff; }
.btn--small { height: auto; padding: 12px 22px; font-size: 16px; }

/* Header */
.site-header { padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--deep); }
.brand img { width: 44px; height: 42px; object-fit: contain; }
.brand span { font-family: var(--font-head); font-weight: 900; font-size: 26px; letter-spacing: -.5px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a.btn { color: #fff; }

/* Hero */
.hero { padding: 72px 24px 96px; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; background: var(--mint); color: var(--deep); font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.hero h1 { font-weight: 900; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -1.5px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 540px; }

/* Formular */
.signup { display: flex; flex-wrap: wrap; gap: 12px; max-width: 540px; margin-top: 8px; }
.signup input[type=email] {
    flex: 1 1 260px; min-width: 0; height: 56px; padding: 0 22px;
    font: inherit; font-size: 17px; color: var(--ink);
    border: 2px solid #D9CFBB; border-radius: 999px; background: #fff;
}
.signup input[type=email]:focus { outline: 3px solid var(--mint-2); outline-offset: 1px; border-color: var(--green); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted-2); }
.form-msg { font-weight: 700; padding: 12px 18px; border-radius: 16px; max-width: 540px; }
.form-msg--ok { background: var(--mint); color: var(--deep); }
.form-msg--fejl { background: #FBE3DC; color: #7A2A16; }

/* Telefon-mockup */
.hero-visual { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; position: relative; padding: 24px 0; }
.blob { position: absolute; width: 440px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--green); opacity: .18; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.phone { position: relative; width: 310px; height: 630px; background: var(--deep); border-radius: 48px; padding: 12px; box-shadow: 0 30px 60px rgba(14,74,59,.25); }
.screen { width: 100%; height: 100%; background: var(--paper); border-radius: 38px; overflow: hidden; display: flex; flex-direction: column; }
.app-head { padding: 24px 18px 14px; display: flex; align-items: center; justify-content: space-between; }
.app-head > div { display: flex; flex-direction: column; gap: 2px; }
.app-head img { width: 38px; height: 36px; object-fit: contain; }
.app-hello { font-size: 13px; color: var(--muted-2); }
.app-title { font-family: var(--font-head); font-weight: 900; font-size: 20px; white-space: nowrap; color: var(--deep); }
.app-alert { margin: 0 16px 14px; background: var(--green); border-radius: 20px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; color: var(--green-ink); }
.app-alert > div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.35; }
.app-alert strong { font-size: 14px; }
.app-alert-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px; background: #fff; color: var(--deep); display: flex; align-items: center; justify-content: center; }
.app-chips { display: flex; gap: 8px; padding: 0 16px 12px; }
.chip { background: #fff; color: var(--deep); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid #E5DCC8; }
.chip--on { background: var(--deep); color: #fff; border-color: var(--deep); }
.app-list { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.receipt { background: #fff; border-radius: 16px; padding: 11px 12px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.receipt-thumb { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; }
.receipt-thumb--mint { background: var(--mint); }
.receipt-thumb--sun { background: #FDEBC8; }
.receipt-thumb--sky { background: #E3E9F7; }
.receipt-thumb--rose { background: #F6DDD6; }
.receipt-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.receipt-body span { font-size: 12px; color: var(--muted-2); }
.receipt-price { white-space: nowrap; }
.app-fab { margin-top: auto; padding: 16px; display: flex; justify-content: center; }
.app-fab span { width: 56px; height: 56px; border-radius: 50%; background: var(--deep); color: #fff; display: flex; align-items: center; justify-content: center; }

/* Kilder */
.sources { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.sources-title { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--deep); flex: 1 1 260px; }
.sources-list { display: flex; flex-wrap: wrap; gap: 12px; }
.source { display: flex; align-items: center; gap: 8px; background: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 500; }
.source .icon { color: var(--deep); }

/* Sådan virker det */
.how { padding: 96px 24px; background: var(--deep); color: #fff; }
.how h2, .how h3 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.step { flex: 1 1 300px; background: var(--deep-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.step h3 { font-size: 24px; }
.step p { font-size: 17px; line-height: 1.55; color: var(--on-deep); }
.step-num { font-family: var(--font-head); font-weight: 900; font-size: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--green-ink); display: flex; align-items: center; justify-content: center; }

/* Funktioner */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card p { line-height: 1.6; color: var(--muted); }
.card-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--deep); display: flex; align-items: center; justify-content: center; }

/* Bonni-mail */
.mailbox { background: var(--green); border-radius: 36px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.mailbox-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; color: var(--green-ink); }
.mailbox-text h2 { color: var(--green-ink); font-size: clamp(30px, 3.6vw, 44px); }
.mailbox-text p { font-size: 18px; line-height: 1.6; }
.mailbox-demo { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.mail-card { background: #fff; border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 16px 32px rgba(11,58,46,.15); }
.mail-label { font-size: 13px; color: var(--muted-2); }
.mail-addr { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--deep); overflow-wrap: anywhere; }
.mail-toast { background: var(--paper); border-radius: 22px; padding: 18px 24px; display: flex; align-items: center; gap: 14px; }
.mail-toast .icon { color: var(--deep); flex: 0 0 auto; }

/* Dine data */
.trust { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.trust-head { flex: 1 1 380px; min-width: 0; }
.trust-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.trust-list { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.trust-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.trust-list li > div { display: flex; flex-direction: column; gap: 4px; }
.trust-list strong { font-size: 18px; }
.trust-list span { line-height: 1.55; color: var(--muted); }
.trust-check { color: var(--green); flex: 0 0 auto; margin-top: 2px; stroke-width: 2.4; }

/* FAQ */
.faq { padding: 96px 24px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq h2 { font-size: clamp(30px, 3.6vw, 44px); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border-radius: 20px; padding: 0 24px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 22px; line-height: 1.6; color: var(--muted); }
.chev { font-size: 26px; line-height: 1; color: var(--green); transition: transform .2s; }
.faq details[open] .chev { transform: rotate(45deg); }

/* Afsluttende CTA */
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta-inner img { width: 120px; height: auto; }
.cta-inner h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; }
.cta-inner .signup { justify-content: center; width: 100%; }
.cta-inner .form-msg { width: 100%; }

/* Tekstsider (privatliv) */
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h1 { font-weight: 900; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -1px; margin-bottom: 4px; }
.prose h2 { font-size: 24px; letter-spacing: 0; margin-top: 16px; }
.prose p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted-2); }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-deep); padding: 48px 24px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; font-size: 15px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.footer-brand { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--mint-2); }

/* Mobil */
@media (max-width: 720px) {
    .hero { padding: 40px 20px 64px; }
    .section { padding: 72px 20px; }
    .section-tight { padding: 0 20px 64px; }
    .section-flush { padding: 0 20px 72px; }
    .how, .faq { padding: 72px 20px; }
    .nav-links { gap: 18px; font-size: 15px; }
    .nav-links a:not(.btn) { display: none; }
    .mailbox { padding: 32px 24px; border-radius: 28px; }
    .signup .btn { width: 100%; }
    .phone { transform: scale(.9); transform-origin: top center; margin-bottom: -60px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
