:root {
    --background: #f5f8fc;
    --surface: #ffffff;
    --text: #10213d;
    --muted: #64748b;
    --dark: #071f4d;
    --accent: #168ed1;
    --line: #d9e2ef;
    --max-width: 1240px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);
    color: var(--text);
    line-height: 1.5;
}

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

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}


/* HEADER */

.header {
    background: rgba(244, 245, 242, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}

.brand-mark {
    width: 46px;
    height: 46px;
    background: var(--dark);
    color: white;
    display: grid;
    place-items: center;
    font-size: 14px;
    letter-spacing: 1px;
}

.brand-name {
    font-size: 17px;
}

.nav {
    display: flex;
    gap: 34px;
}

.nav a {
    font-size: 15px;
    color: #303635;
    transition: opacity .2s ease;
}

.nav a:hover {
    opacity: .55;
}


/* HERO */

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 85px 0 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .18em;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(48px, 5.4vw, 78px);
    line-height: .99;
    letter-spacing: -.045em;
    max-width: 780px;
}

.hero-text {
    max-width: 590px;
    margin-top: 34px;
    font-size: 19px;
    line-height: 1.6;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.button {
    min-height: 52px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 650;
    transition:
        transform .2s ease,
        background .2s ease;
}

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

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

.button-primary:hover {
    background: #26302e;
}

.button-secondary {
    border: 1px solid var(--dark);
}


/* HERO VISUAL */

.hero-visual {
    min-height: 510px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.visual-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);

    background-size: 56px 56px;
}

.hero-visual::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 50%;
    right: -100px;
    top: -80px;
}

.visual-card {
    position: absolute;
    background: var(--surface);
    padding: 24px;
    width: 245px;
    display: flex;
    flex-direction: column;
}

.visual-card span {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 30px;
}

.visual-card strong {
    font-size: 19px;
}

.visual-card small {
    margin-top: 5px;
    color: var(--muted);
}

.card-one {
    left: 40px;
    top: 70px;
}

.card-two {
    right: 40px;
    bottom: 70px;
}

.visual-label {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    font-size: 11px;
    letter-spacing: .18em;
}


/* SERVICES */

.services {
    padding: 130px 0 145px;
    background: var(--surface);
}

.section-heading {
    margin-bottom: 70px;
}

.section-heading h2 {
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
}

.service-card {
    padding: 50px 50px 60px 0;
}

.service-card + .service-card {
    border-left: 1px solid var(--line);
    padding-left: 50px;
}

.service-number {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 55px;
}

.service-card h3 {
    font-size: 34px;
    letter-spacing: -.025em;
    margin-bottom: 18px;
}

.service-card p {
    color: var(--muted);
    max-width: 500px;
    font-size: 17px;
    line-height: 1.65;
}

.service-card ul {
    list-style: none;
    margin-top: 38px;
}

.service-card li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
}


/* POSITION */

.position {
    background: var(--dark);
    color: white;
    padding: 135px 0 145px;
}

.eyebrow-light {
    color: #aeb8b5;
}

.position h2 {
    font-size: clamp(47px, 5vw, 73px);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.position p {
    margin-top: 40px;
    font-size: 22px;
    color: #b9c2bf;
}


/* CONTACT */

.contact {
    padding: 135px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: end;
}

.contact h2 {
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -.045em;
}

.contact-content {
    padding-bottom: 8px;
}

.contact-content p {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 26px;
}

.contact-mail {
    display: inline-block;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 650;
    border-bottom: 2px solid var(--text);
    padding-bottom: 5px;
}


/* FOOTER */

.footer {
    background: #090e0d;
    color: #c5cdca;
    padding: 35px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    font-size: 13px;
}

.footer-inner div:nth-child(2) {
    text-align: center;
}

.footer-inner div:last-child {
    text-align: right;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .hero {
        padding-top: 60px;
    }

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 55px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding-right: 0;
    }

    .service-card + .service-card {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
    }

}

@media (max-width: 650px) {

    .container {
        width: min(calc(100% - 30px), var(--max-width));
    }

    .header-inner {
        height: 70px;
    }

    .brand-name {
        display: none;
    }

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 13px;
    }

    .hero {
        min-height: auto;
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 47px;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-visual {
        min-height: 390px;
    }

    .visual-card {
        width: 210px;
    }

    .card-one {
        left: 22px;
        top: 35px;
    }

    .card-two {
        right: 22px;
        bottom: 50px;
    }

    .services,
    .position,
    .contact {
        padding: 90px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner div:nth-child(2),
    .footer-inner div:last-child {
        text-align: left;
    }

}

/* ===== ASG LOGO ===== */

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
}

@media (max-width: 650px) {
    .brand-logo {
        width: 72px;
        height: 72px;
    }
}

/* ===== ASG BRAND COLORS ===== */

.eyebrow {
    color: #0b4e91;
}

.hero-visual {
    background: #071f4d;
}

.button-primary {
    background: #071f4d;
}

.button-primary:hover {
    background: #0b4e91;
}

.button-secondary {
    border-color: #0b4e91;
    color: #0b4e91;
}

.position {
    background: #071f4d;
}

.service-card h3 {
    color: #0b4e91;
}

.contact-mail {
    color: #0b4e91;
    border-color: #168ed1;
}

.footer {
    background: #051631;
}

/* ===== HEADER V2 ===== */

.header {
    background: #f5f8fc;
    border-bottom: 0;
    box-shadow: none;
}

.header-inner {
    min-height: 96px;
}

.brand-logo {
    height: 82px;
    width: auto;
}

.nav {
    align-items: center;
    gap: 38px;
}

.nav a {
    color: #10213d;
    font-size: 15px;
    font-weight: 500;
    transition: color .2s ease;
}

.nav a:hover {
    opacity: 1;
    color: #168ed1;
}

.nav-contact {
    border: 1px solid #0b4e91;
    padding: 11px 20px;
    color: #0b4e91 !important;
    font-weight: 650 !important;
}

.nav-contact:hover {
    background: #0b4e91;
    color: #ffffff !important;
}

@media (max-width: 650px) {
    .header-inner {
        min-height: 82px;
    }

    .brand-logo {
        height: 66px;
    }

    .nav {
        gap: 14px;
    }

    .nav-contact {
        padding: 8px 12px;
    }
}

/* ===== HEADER BORDER ===== */
.header {
    border-bottom: 1px solid #cfd9e8;
}

/* ===== HEADER BORDER - TYDELIGERE ===== */
.header {
    border-bottom: 1px solid #bfcde3;
}

/* ===== FOOTER V2 ===== */

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: end;
    gap: 40px;
}

.footer-company {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-company strong {
    color: #ffffff;
}

.footer-company span,
.footer-copy {
    color: #8fa3c1;
    font-size: 12px;
}

.footer-contact {
    text-align: center;
}

.footer-contact a:hover {
    color: #42b7f2;
}

.footer-copy {
    text-align: right;
}

@media (max-width: 650px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;
    }

    .footer-contact,
    .footer-copy {
        text-align: left;
    }
}

/* ===== FOOTER V3 - SYMMETRISK ===== */

.footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.footer-company {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.footer-company span {
    font-size: 12px;
}

.footer-separator {
    color: #5f7697;
}

.footer-contact {
    text-align: center;
}

.footer-copy {
    text-align: right;
}

@media (max-width: 650px) {
    .footer-company {
        flex-wrap: wrap;
    }
}

/* ===== FOOTER COLOR TUNING ===== */

.footer {
    background: #051631;
}

.footer-company strong,
.footer-contact a {
    color: #ffffff;
}

.footer-company span,
.footer-copy,
.footer-separator {
    color: #8fbbe8;
}

.footer-contact a:hover {
    color: #42b7f2;
}

/* ===== ASG HERO VISUAL V2 ===== */

.hero-visual {
    min-height: 510px;
    background: #071f4d;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.visual-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 58px 58px;
}

.hero-visual::after {
    content: "";
    position: absolute;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(143,187,232,.22);
    border-radius: 50%;
    right: -115px;
    top: -105px;
}

.hero-visual-heading {
    position: absolute;
    left: 40px;
    top: 38px;
    z-index: 3;
}

.hero-visual-heading span {
    display: block;
    font-size: 11px;
    letter-spacing: .18em;
    color: #8fbbe8;
    margin-bottom: 15px;
}

.hero-visual-heading strong {
    display: block;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 700;
}

.hero-watermark {
    position: absolute;
    right: -10px;
    top: 115px;
    font-size: 160px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.08em;
    color: rgba(255,255,255,.035);
    z-index: 1;
    user-select: none;
}

.hero-pillars {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,.16);
    z-index: 4;
}

.hero-pillar {
    min-height: 145px;
    padding: 23px;
    background: #ffffff;
    color: #10213d;
}

.pillar-number {
    display: block;
    font-size: 11px;
    color: #168ed1;
    margin-bottom: 24px;
}

.hero-pillar h3 {
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 9px;
    color: #071f4d;
}

.hero-pillar p {
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 650px) {

    .hero-visual {
        min-height: 460px;
    }

    .hero-visual-heading {
        left: 24px;
        top: 28px;
    }

    .hero-visual-heading strong {
        font-size: 29px;
    }

    .hero-watermark {
        font-size: 115px;
        top: 130px;
    }

    .hero-pillars {
        left: 24px;
        right: 24px;
        bottom: 24px;
        grid-template-columns: 1fr;
    }

    .hero-pillar {
        min-height: auto;
        padding: 18px;
    }

    .pillar-number {
        margin-bottom: 12px;
    }
}

/* ===== ABOUT TEXT ===== */

.position .position-description {
    max-width: 720px;
    margin-top: 36px;
    font-size: 18px;
    line-height: 1.7;
    color: #a9bdd6;
}

.position .position-tagline {
    margin-top: 30px;
    font-size: 22px;
    font-weight: 650;
    color: #ffffff;
}

.footer-copy a {
    color: #8fbbe8;
}

.footer-copy a:hover {
    color: #42b7f2;
}

.footer-copy .footer-separator {
    margin: 0 7px;
}

.footer-copy a {
    color: #8fbbe8;
}

.footer-copy a:hover {
    color: #42b7f2;
}

.footer-copy .footer-separator {
    margin: 0 7px;
}

/* ===== NAVIGATION DROPDOWN ===== */

.nav {
    display: flex;
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
    color: #10213d;
    font-size: 15px;
    font-weight: 500;
    user-select: none;
    padding: 12px 0;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::marker {
    display: none;
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 4px;
    font-size: 15px;
    transition: transform .2s ease;
}

.nav-dropdown[open] .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
    color: #168ed1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;

    padding: 8px;
    background: #ffffff;
    border: 1px solid #bfcde3;

    box-shadow:
        0 12px 30px rgba(7, 31, 77, .10);

    z-index: 500;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -11px;
    left: 0;
    right: 0;
    height: 11px;
}

.dropdown-menu a {
    display: block;
    padding: 11px 13px;
    color: #10213d;
    font-size: 14px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f5f8fc;
    color: #0b4e91;
}


/* Desktop: dropdown åbner også ved hover */

@media (min-width: 651px) {

    .nav-dropdown:not([open]) .dropdown-menu {
        display: none;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }
}


/* Mobil */

@media (max-width: 650px) {

    .nav-dropdown summary {
        font-size: 13px;
    }

    .dropdown-menu {
        left: auto;
        right: 0;
        transform: none;
        min-width: 160px;
    }
}
