html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #10273c;
}

:root {
    --navy: #10273c;
    --navy-dark: #0a1b2a;
    --ink: #1a3040;
    --muted: #526676;
    --accent: #4fc8c4;
    --paper: #fff;
    --tint: #f3f7f8;
    --line: #dce5e9
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65
}

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.nav {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1
}

.brand-mark {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--navy)
}

.brand-mark span,
.dot {
    color: var(--accent)
}

.brand-name {
    font-size: 10px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: 1.6px
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 29px;
    font-size: 14px;
    font-weight: 600
}

.nav a:hover {
    color: #087e80
}

.nav-contact {
    border: 1px solid var(--line);
    padding: 9px 17px;
    border-radius: 6px
}

.hero {
    background: linear-gradient(115deg, var(--navy-dark), var(--navy) 70%, #183b4d);
    color: #fff
}

.hero-inner {
    padding-top: 112px;
    padding-bottom: 124px
}

.eyebrow,
.section-label {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 2.2px
}

.eyebrow {
    color: var(--accent);
    margin: 0 0 25px
}

.hero h1 {
    font-size: clamp(46px, 7.5vw, 84px);
    line-height: 1.1;
    letter-spacing: -3.5px;
    margin: 0 0 19px;
    font-weight: 750
}

.hero-sub {
    font-size: clamp(16px, 2vw, 21px);
    color: #dce8ed;
    margin: 0
}

.hero-sub span {
    color: var(--accent);
    padding: 0 6px
}

.hero-text {
    max-width: 690px;
    font-size: 19px;
    color: #d1dce2;
    line-height: 1.85;
    margin: 30px 0 35px
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border-radius: 5px;
    padding: 14px 23px;
    font-weight: 700;
    font-size: 14px;
    transition: transform .2s, background .2s
}

.button:hover {
    transform: translateY(-2px)
}

.primary {
    background: var(--accent);
    color: #092a35
}

.secondary {
    border: 1px solid #8298a5;
    color: white
}

.section {
    padding: 105px 0;
    scroll-margin-top: 30px
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px
}

.section-label {
    color: #087e80;
    margin: 0 0 22px
}

.section h2,
.contact-section h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.18;
    letter-spacing: -1.7px;
    margin: 0 0 30px;
    max-width: 660px
}

.prose {
    font-size: 17px;
    color: var(--muted)
}

.prose p:first-child {
    margin-top: 0
}

.prose p {
    margin-bottom: 22px
}

.tinted {
    background: var(--tint)
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 42px
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 29px 24px 32px;
    border-radius: 7px
}

.card-number {
    font-size: 12px;
    font-weight: 800;
    color: #087e80
}

.card h3 {
    font-size: 20px;
    line-height: 1.3;
    margin: 27px 0 14px
}

.card p {
    font-size: 15px;
    color: var(--muted);
    margin: 0
}

.small-note {
    font-size: 13px;
    font-style: italic
}

.contact-section {
    background: var(--navy);
    color: #fff;
    padding: 100px 0
}

.contact-section .section-label {
    color: var(--accent)
}

.contact-section h2 {
    max-width: 720px
}

.contact-section p:not(.section-label) {
    color: #d1dce2;
    max-width: 600px;
    font-size: 18px;
    margin: 0 0 30px
}

footer {
    background: var(--navy-dark);
    color: #c5d3da
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 13px
}

@media(max-width:800px) {
    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .split {
        gap: 35px
    }

    .nav nav {
        gap: 14px
    }

    .hero-inner {
        padding-top: 85px;
        padding-bottom: 95px
    }
}

@media(max-width:620px) {
    .nav {
        align-items: flex-start;
        padding-top: 18px;
        padding-bottom: 18px;
        flex-direction: column
    }

    .nav nav {
        flex-wrap: wrap;
        gap: 13px;
        font-size: 13px
    }

    .hero h1 {
        letter-spacing: -2px
    }

    .hero-sub span {
        padding: 0 2px
    }

    .hero-text {
        font-size: 17px
    }

    .split {
        grid-template-columns: 1fr
    }

    .cards {
        grid-template-columns: 1fr
    }

    .section {
        padding: 72px 0
    }

    .contact-section {
        padding: 72px 0
    }

    .footer-inner {
        flex-direction: column;
        gap: 4px
    }
}

/* Forside med portræt */
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr);
    align-items: center;
    gap: 58px
}

.hero-copy {
    min-width: 0
}

.hero h1 {
    font-size: clamp(44px, 5.6vw, 72px)
}

.hero-photo {
    width: 100%;
    max-width: 280px;
    justify-self: end;
    aspect-ratio: 4/5;
    border-radius: 12px;
    overflow: hidden;
    background: #e8e8e8;
    box-shadow: 0 22px 60px #0004
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%
}

@media(max-width:800px) {
    .hero-inner {
        gap: 30px;
        grid-template-columns: minmax(0, 1fr) minmax(190px, .7fr)
    }

    .hero-photo {
        aspect-ratio: 3/4
    }
}

@media(max-width:620px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .hero-photo {
        justify-self: center;
        max-width: 300px;
        aspect-ratio: 1/1
    }

    .hero h1 {
        font-size: clamp(43px, 10vw, 62px)
    }
}

/* Sprogvalg */
.language-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-switch img {
    display: block;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Kompakt mobilheader */
@media (max-width: 620px) {

    .site-header .nav {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 16px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .site-header .brand {
        grid-column: 1;
        grid-row: 1;
    }

    .language-switch {
        grid-column: 2;
        grid-row: 1;
        margin-left: 0;
    }

    .site-header nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .site-header nav a {
        font-size: 12px;
        white-space: nowrap;
    }

    .site-header .nav-contact {
        padding: 8px 10px;
    }
}