/* =========================
   BASE
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0d10;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.eyebrow {
    color: #ffd000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-text {
    color: #aeb4bd;
}


/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(11, 13, 16, 0.98);
    border-bottom: 1px solid #252a31;
}

.nav {
    position: relative;

    width: min(1500px, 94%);
    min-height: 76px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    color: white;
    text-decoration: none;

    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.logo span {
    color: #ffd000;
    margin-right: 6px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    color: #c9ced6;
    text-decoration: none;
}

.site-nav a:hover {
    color: white;
}

.nav-phone {
    background: #ffd000;
    color: #0b0d10;

    padding: 10px 18px;
    border-radius: 8px;

    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.menu-toggle {
    display: none;

    background: transparent;
    color: white;

    border: 0;

    font-size: 29px;
    line-height: 1;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    background: #0d1117;
    overflow: hidden;
}

.hero-layout {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(360px, 1fr) auto;

    align-items: start;
}


/* VENSTRE SIDE */

.hero-copy {
    width: min(600px, 86%);
    margin: 0 auto;
    padding: 65px 0;

    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.04;
    margin-bottom: 24px;
}

.hero h1 span {
    display: block;
    color: #ffd000;
}

.hero-location {
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-description {
    color: #b9bec6;
    font-size: 18px;

    max-width: 620px;
    margin-bottom: 32px;
}


/* HØYRE SIDE – BILDET */

.hero-photo {
    width: min(60vw, 1150px);
    justify-self: end;
    overflow: hidden;
}

.hero-photo img {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 100%);
}


/* HERO-KNAPPER */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-block;

    padding: 14px 24px;
    border-radius: 9px;

    text-decoration: none;
    font-weight: 700;

    transition: 0.2s;
}

.primary {
    background: #ffd000;
    color: #0b0d10;
}

.primary:hover {
    background: #ffe04d;
    transform: translateY(-2px);
}

.secondary {
    background: #171a1f;
    color: white;

    border: 1px solid #3b414a;
}

.secondary:hover {
    background: #22262d;
}


/* TRUST */

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 30px;

    color: #9ca3ad;
    font-size: 14px;
}


/* =========================
   TJENESTER
========================= */

.services {
    background: #111419;
    padding: 110px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 15px;
}

.section-heading>p:last-child {
    color: #aeb4bd;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: #191d23;

    border: 1px solid #292e36;
    border-radius: 16px;

    padding: 32px;

    transition: 0.25s;
}

.service-card:hover {
    border-color: #ffd000;
    transform: translateY(-5px);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 28px;
}

.service-card h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

.service-card p {
    color: #aeb4bd;
}


/* =========================
   OMRÅDER
========================= */

.local {
    padding: 65px 0;
}

.local h2 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.areas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 20px;
}

.areas span {
    background: #191d23;

    border: 1px solid #303640;
    border-radius: 8px;

    padding: 10px 18px;
}


/* =========================
   OM OSS
========================= */

.about {
    padding: 110px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;
    align-items: center;
}

.about h2 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.about p {
    color: #aeb4bd;
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stats div {
    background: #171a1f;

    padding: 28px 15px;

    border-radius: 14px;
    text-align: center;
}

.stats strong {
    display: block;

    color: #ffd000;
    font-size: 27px;
}

.stats span {
    color: #9ca3ad;
    font-size: 13px;
}


/* =========================
   KUNDEOMTALER
========================= */

.reviews {
    background: #111419;
    padding: 110px 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.review {
    background: #191d23;

    border: 1px solid #292e36;
    border-radius: 15px;

    padding: 30px;
}

.stars {
    color: #ffd000;
    margin-bottom: 18px;
}

.review p {
    color: #c3c7ce;
    margin-bottom: 20px;
}


/* =========================
   KONTAKT
========================= */

.contact {
    padding: 90px 0;
}

.contact-box {
    background: #ffd000;
    color: #0b0d10;

    padding: 45px;
    border-radius: 20px;

    display: grid;
    grid-template-columns: 280px minmax(300px, 1fr) 220px;

    gap: 45px;
    align-items: start;
}

.contact .eyebrow {
    color: #4d4000;
}

.contact h2 {
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 12px;
}


/* SKJEMA */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    background: #111419;
    color: white;

    border: 1px solid #d4ad00;
    border-radius: 8px;

    padding: 12px 14px;

    font: inherit;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form input[type="file"] {
    color-scheme: dark;
}

.contact-form input[type="file"]::file-selector-button {
    background: #1a1a1a;
    color: white;

    border: 1px solid #444;
    border-radius: 5px;

    padding: 6px 9px;
    margin-right: 8px;

    cursor: pointer;
}

.form-submit {
    width: 100%;

    background: #111419;
    color: white;

    border: 0;
    border-radius: 8px;

    padding: 13px 18px;
    margin-top: 6px;

    font-weight: 700;
    cursor: pointer;
}

.form-submit:hover {
    background: #2a2f36;
}


/* KONTAKTINFO */

.contact-step {
    margin-top: 16px;
}

.contact-step strong {
    display: block;
    margin-bottom: 4px;
}


/* TELEFON / E-POST */

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-actions .button {
    text-align: center;
}

.contact .primary {
    background: #0b0d10;
    color: white;
}

.contact .secondary {
    background: transparent;
    color: #0b0d10;

    border-color: rgba(0, 0, 0, 0.25);
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid #252a31;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 40px;
    padding-bottom: 50px;
}

.footer-content p {
    color: #8f96a0;
}

.copyright {
    border-top: 1px solid #252a31;

    color: #777e88;

    padding: 20px;

    text-align: center;
    font-size: 13px;
}


/* =================================================
   TABLET / SMAL DESKTOP
================================================= */

@media (max-width: 1250px) {

    /* MENY */

    .site-nav {
        display: none;

        position: absolute;

        top: 68px;
        left: 3%;
        right: 3%;

        padding: 10px;

        background: #15181d;

        border: 1px solid #292e36;
        border-radius: 12px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 15px;
        border-radius: 8px;
    }

    .site-nav a:hover {
        background: #20242a;
    }

    .menu-toggle {
        display: block;
    }


    /* HERO */

    .hero-layout {
        display: flex;
        flex-direction: column;
    }

    .hero-photo {
        order: -1;
        width: 100%;
    }

    .hero-photo img {
        width: 100%;
        height: auto;

        -webkit-mask-image: linear-gradient(to bottom,
                black 0%,
                black 78%,
                transparent 100%);

        mask-image: linear-gradient(to bottom,
                black 0%,
                black 78%,
                transparent 100%);
    }

    .hero-copy {
        width: min(650px, 90%);
        margin: -10px auto 0;

        padding: 20px 0 70px;
    }

    .hero h1 {
        font-size: clamp(42px, 7vw, 58px);
    }


    /* RESTEN */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-actions {
        max-width: 520px;
    }


    /* MENYHOPP */

    #tjenester,
    #om {
        scroll-margin-top: 95px;
    }

    #kontakt {
        scroll-margin-top: 10px;
    }
}


/* =========================
   MOBIL
========================= */

@media (max-width: 600px) {

    .service-card {
        padding: 24px;
    }

    .service-icon {
        margin-bottom: 18px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .service-card p {
        font-size: 16px;
        line-height: 1.5;
    }

    .container {
        width: 92%;
    }


    /* HEADER */

    .nav {
        width: 94%;
        min-height: 70px;
        gap: 10px;
    }

    .logo {
        font-size: 19px;
    }

    .nav-phone {
        font-size: 12px;
        padding: 9px 10px;
    }

    .menu-toggle {
        font-size: 26px;
    }


    /* HERO */

    .hero-copy {
        width: 92%;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(38px, 10vw, 47px);
    }

    .hero-description {
        font-size: 17px;
    }

    .trust {
        flex-direction: column;
        gap: 7px;
    }


    /* OVERSKRIFTER */

    .section-heading h2,
    .local h2,
    .about h2 {
        font-size: 34px;
    }


    /* SEKSJONER */

    .services,
    .about,
    .reviews {
        padding: 80px 0;
    }



    /* OM OSS – MINDRE BOKSETE */

    .stats {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stats div {
        background: transparent;
        border-radius: 0;

        padding: 18px 0;

        border-bottom: 1px solid #252a31;

        text-align: left;
    }

    .stats div:last-child {
        border-bottom: none;
    }

    .stats strong {
        font-size: 24px;
        text-align: left;
    }

    .stats span {
        display: block;
        text-align: left;
    }


    /* KUNDEOMTALER – MER KOMPAKT */

    .review {
        padding: 22px;
    }

    .review p {
        font-size: 16px;
        line-height: 1.5;

        margin-bottom: 16px;
    }

    .stars {
        margin-bottom: 12px;
    }


    /* KONTAKT */

    .contact {
        padding: 60px 0;
    }

    .contact-box {
        padding: 24px;
        border-radius: 16px;
    }

    .contact h2 {
        font-size: 31px;
    }


    /* FOOTER */

    .footer-content {
        grid-template-columns: 1fr;
    }


}


/* =========================
   EKSTRA SMAL MOBIL
========================= */

@media (max-width: 420px) {

    .logo {
        font-size: 17px;
    }

    .nav-phone {
        font-size: 11px;
        padding: 8px;
    }

    .menu-toggle {
        font-size: 24px;
    }

    .hero-buttons {
        gap: 9px;
    }

    .hero-buttons .button {
        padding: 12px 15px;
    }
}

ooter a {
    color: inherit;
    text-decoration: none;
}