
/* =========================
   THEME VARIABLES
   ========================= */

:root {
    /* Blåpaletten */
    --color-primary: #4A8CCF;
    --color-primary-dark: #2F6EB8;
    --color-primary-light: #5B9CE0;
    --color-secondary-blue: #3C7CC5;
    --color-footer: rgba(47, 110, 184, 0.95);

    /* Bakgrund och text */
    --color-background: #FFFFFF;
    --color-background-muted: #F4F4F4;
    --color-text: #111111;
}

/* =========================
   BASE
   ========================= */

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5 {
    color: var(--color-text);
    font-weight: 600;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

@media (min-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }
}

/* Sections */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-muted {
    background-color: var(--color-background-muted);
}

/* Buttons (Bootstrap overrides) */
.btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
}

.btn-outline-primary {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #ffffff;
}

.navbar-brand img {
    display: block;
}

/* Base nav link styling */
.nav-link {
    font-weight: 500;
    padding-left: 12px !important;
    padding-right: 12px !important;
    color: var(--color-text) !important;

    position: relative;
    text-decoration: none;
    transition: color 0.4s ease;
}

.nav-link:hover {
    color: var(--color-primary-dark) !important;
    text-decoration: none !important;
}

/* Nav shimmer underline */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary-dark), transparent);
    background-size: 300% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    opacity: 1;
    animation: navShimmer 2s linear infinite;
}

@keyframes navShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =========================
   MOBILE OVERLAY MENU (CUSTOM)
   ========================= */

.mobile-nav-overlay {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 100px;

    background: rgba(47, 110, 184, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    z-index: 1050;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;

    display: flex;
    flex-direction: column;
    gap: 1.6rem;

    transform: translateY(10px);
    transition: transform 0.35s ease;
    opacity: 0;
}

.mobile-nav-overlay.show .mobile-nav-menu {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
}

.nav-cta-offert {
    background-color: #ffffff;
    color: #111111 !important;
    padding: 0.9rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    display: inline-block;
}

.mobile-nav-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    filter: invert(1);
}

/* Custom toggler (hamburger -> X) */
.custom-toggler {
    border: none;
    padding: 0;
    box-shadow: none;
}

.custom-toggler:focus {
    box-shadow: none;
}

.toggler-line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background-color: #111111;
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.custom-toggler.is-open .toggler-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.custom-toggler.is-open .toggler-line:nth-child(2) {
    opacity: 0;
}

.custom-toggler.is-open .toggler-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Bootstrap collapse overlay variant (if used) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-primary);
        padding: 2rem 1.5rem 2.5rem;
        z-index: 1040;

        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

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

    .navbar-nav .nav-link {
        display: block;
        color: #ffffff !important;
        font-size: 1.1rem;
        padding: 0.75rem 0 !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 1.5rem;
        font-size: 1.05rem;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }
}

/* =========================
   HERO – STARTSIDAN
   ========================= */

.hero-wrapper {
    position: relative;
    width: 100%;
    height: clamp(420px, 60vh, 560px);
    overflow: hidden;
    background: #000;
}

.hero-wrapper .carousel-item {
    position: relative;
    height: 100%;
}

/* Blur-bakgrund */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(22px);
    transform: scale(1.15);
    opacity: 0.55;
}

/* Skarp bild */
.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Overlay + text */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.10) 100%
    );
}

.hero-content {
    max-width: 520px;
    margin-left: clamp(1.25rem, 5vw, 4rem);
    color: #fff;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
}

.hero-text {
    font-size: 1.1rem;
    
}


/* HERO - mobil: titel uppe, text nere*/
@media (max-width: 991px) {
    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.20) 30%,
            rgba(0, 0, 0, 0.20) 70%,
            rgba(0, 0, 0, 0.70) 100%
        );
    }

    .hero-content.hero-mobile-layout {
        height: 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 1.0rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero-text-top,
    .hero-text-bottom {
        padding: 0.75rem 0.25rem;
    }

    .hero-title {
        margin: 0;
        color: var(--color-primary);
        text-shadow: 0 10px 30px rgba(0, 0, 0, 0.70);
        line-height: 1.05;
        font-size: 2.1rem;
    }

    .hero-text {
        margin: 0;
        color: #ffffff;
        text-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
        font-size: 1.0rem;
    }
}



/* =========================
   SERVICES (MEGA)
   ========================= */

.services-mega {
    background-color: var(--color-primary);
    padding-bottom: 1.5rem;
}

/* White heading text in blue section */
.services-mega h2,
.services-mega .section-intro,
.services-mega .text-muted {
    color: #ffffff !important;
}

.services-mega .section-intro {
    opacity: 0.92;
}

.service-mega-card {
    height: 100%;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 1.8rem 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-mega-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.service-mega-top h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.service-mega-top p {
    color: #555555;
    margin-bottom: 0;
}

.service-mega-examples {
    background-color: rgba(47, 110, 184, 0.06);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(47, 110, 184, 0.10);
}

.service-mega-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 0.7rem;
}

.service-mega-examples ul {
    margin: 0;
    padding-left: 1.1rem;
}

.service-mega-examples li {
    margin-bottom: 0.4rem;
    color: #2b2b2b;
}

.service-mega-footer {
    margin-top: auto;
}

.service-mega-link {
    text-decoration: none;
    font-weight: 600;
    color: var(--color-primary) !important;
}

.service-mega-link:hover {
    color: var(--color-primary-dark) !important;
    text-decoration: underline;
}

.service-mega-card--accent {
    border-color: rgba(47, 110, 184, 0.18);
}

/* CTA section below services */
.services-cta-white {
    background-color: #ffffff;
    padding-top: 3rem;
}

.services-cta-white .service-mega-summary {
    margin-top: -3rem;
}

.service-mega-summary {
    background-color: #f7f9fc;
    border-radius: 20px;
    padding: 2.6rem 2.8rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-mega-summary h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
}

.service-mega-summary p {
    color: #333333;
    font-size: 1rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   STRENGTHS
   ========================= */

.section-strengths {
    background-color: var(--color-primary);
    color: #ffffff;
}

.section-strengths h2 {
    color: #ffffff;
    font-weight: 700;
}

.section-strengths p {
    color: #f1f1f1;
}

.strength-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    padding: 1.8rem 2.8rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.strength-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light));
    border-radius: 18px 0 0 18px;
}

.strength-card-inner {
    position: relative;
    z-index: 1;
    padding-left: 3rem;
}

.strength-icon {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);

    width: 60px;
    height: 60px;
    border-radius: 50%;

    background-color: #ffffff;
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 3;
}

.strength-icon img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    display: block;
}

.strength-card h5 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111 !important;
}

.strength-card p {
    margin-bottom: 0;
    color: #333333 !important;
    font-size: 0.95rem;
}

.strength-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.strength-link:hover {
    text-decoration: underline;
}

.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.9);
    background-color: #ffffff;
}

@media (max-width: 575.98px) {
    .strength-card {
        padding: 1.2rem 1.3rem;
    }

    .strength-card h5 {
        font-size: 1rem;
    }

    .strength-card p {
        font-size: 0.9rem;
    }
}

/* =========================
   PROJECTS
   ========================= */

.section-projects {
    background-color: #ffffff;
}

.project-card {
    position: relative;
    border-radius: 18px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
    border-color: rgba(0, 0, 0, 0.06);
}

.project-card-header {
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
}

.project-card-body {
    padding: 16px 18px 18px 18px;
}

.project-card-body h5 {
    font-size: 1.05rem;
}

/* Slideshow card */
.project-card.project-slideshow {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    min-height: 450px;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card.project-slideshow .project-slideshow-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.project-card.project-slideshow .project-slideshow-bg.is-active {
    opacity: 1;
}

.project-card.project-slideshow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));
    z-index: 1;
}

.project-card.project-slideshow .project-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 1.8rem 2.4rem;
    height: 100%;
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(1.7px);
}

.project-card.project-slideshow .project-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.8rem;
    margin-bottom: 0;

    display: inline-block;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-weight: 600;
}

.project-card.project-slideshow .project-text-block {
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.project-card.project-slideshow h5 {
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.project-card.project-slideshow p {
    color: #dfe6f3;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary) !important;
    text-decoration: none;
    transition: color 0.18s ease;
}

.project-link-icon {
    font-size: 1.1rem;
    transform: translateY(1px);
    transition: transform 0.18s ease;
}

.project-link:hover {
    color: var(--color-primary-dark) !important;
}

.project-link:hover .project-link-icon {
    transform: translate(3px, 1px);
}

.project-card.project-slideshow .project-link {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
    color: #ffffff !important;
}

.project-card.project-slideshow:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.project-card.project-slideshow:hover .project-link {
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .project-card-body {
        padding: 14px 14px 16px 14px;
    }

    .project-card-body h5 {
        font-size: 1rem;
    }
}

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

.site-footer {
    background-color: var(--color-footer);
    color: #ffffff;
    margin-top: 0;
}

.footer-top {
    background-color: var(--color-footer);
    padding: 3rem 0 2.5rem;
}

.icon-credits {
    background-color: var(--color-footer);
    color: #ffffff;
    font-size: 8px;
    text-align: center;
    padding: 0.75rem 0;
    margin: 0;
}

.icon-credits a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom {
    background-color: var(--color-footer);
    color: #e1e8f5;
    padding: 1rem 0;
    font-size: 0.85rem;
}

.site-footer a {
    color: #f5f7fb;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-title {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li,
.footer-contact li + li {
    margin-top: 0.5rem;
}

.footer-contact span {
    font-weight: 600;
}

.site-footer .footer-brand img {
    height: 85px;
    width: auto;
    max-width: 100%;
    display: block;
}

.site-footer .footer-top p.small {
    font-style: italic;
    font-weight: 300;
    opacity: 0.85;
}


.footer-bottom span {
    font-weight: 500;
}

.footer-cta {
    background-color: #ffffff !important;
    color: #111111 !important;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: 6px;
}


@media (max-width: 575.98px) {
    .site-footer {
        min-height: 70vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .footer-top {
        text-align: center;
        padding-top: 3.5rem;
        padding-bottom: 4rem;
    }

    .footer-brand {
        justify-content: center;
        margin-bottom: 1.5rem;
        display: flex;
    }

    .footer-links li + li,
    .footer-contact li + li {
        margin-top: 0.65rem;
    }

    .site-footer .btn,
    .footer-cta {
        width: 100%;
        max-width: 280px;
        margin-top: 1rem;
    }
    
    .site-footer .footer-brand img {
        height: 60px;
        width: auto;
        max-width: 100%;
        display: block;
    }

}


/* =========================
   SHARED UTILITIES USED ON PAGES
   ========================= */

.section-hero-simple {
    background: linear-gradient(135deg, #4A8CCF0D, #4A8CCF1A);
}

.hallbarhet-highlight-box {
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   SUSTAINABILITY PAGE
   ========================= */

.bg-light-gray {
    background-color: var(--color-background-muted);
}

.bg-secondary-blue {
    background-color: var(--color-primary-dark);
}

.text-dark-blue {
    color: var(--color-primary-dark);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.sustainability-hero {
    position: relative;
    overflow: hidden;
}

.sustainability-hero-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
}

.sustainability-pill-list li {
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.section-title {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.section-intro {
    font-size: 1rem;
    color: #555555;
}

.sustainability-feature {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sustainability-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.sustainability-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.sustainability-steps li {
    position: relative;
    padding-left: 3.25rem;
    margin-bottom: 1.5rem;
}

.sustainability-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.sustainability-focus-box {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sustainability-focus-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    opacity: 0.9;
}

@media (max-width: 576px) {
    .sustainability-hero-card {
        margin-top: 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* =========================
   ABOUT / CONTACT
   ========================= */

.about-highlight-box {
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.about-highlight-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.contact-card {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    padding: 1.6rem 1.4rem 1.5rem 1.4rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.06);
}

.contact-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.9rem auto;
    border: 3px solid rgba(47, 110, 184, 0.35);
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.contact-role {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.7rem;
}

.contact-card a {
    color: var(--color-primary);
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.contact-form .form-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-form .form-control {
    border-radius: 10px;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.15rem rgba(47, 110, 184, 0.18);
}

.contact-info-box {
    border-radius: 18px;
    background-color: #ffffff;
    padding: 1.8rem 1.8rem 1.6rem 1.8rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-info-list {
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.contact-info-list li span {
    display: inline-block;
    font-weight: 600;
    margin-right: 0.4rem;
}

.contact-info-list a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-info-list a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .about-highlight-box,
    .contact-info-box {
        padding: 1.4rem 1.3rem;
    }
}

/* =========================
   Tjänster
   ========================= */

.section-title {
    color: var(--color-primary-dark);
}

.bg-soft {
    background-color: var(--color-light);
}

.accent-line {
    width: 96px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 999px;
}

.shadow-soft {
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
}

.anchor-offset {
    scroll-margin-top: 96px;
}

/* =========================
   Översikt-kort
   ========================= */

.card-service {
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 16px;
    height: 100%;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: rgba(74, 140, 207, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-badge .icon {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

/* =========================
   Process steg
   ========================= */

.process-step {
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 16px;
    background-color: #fff;
    padding: 1.25rem;
    height: 100%;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background-color: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* =========================
   Detaljblock - Lägger till lite finare list-spacing globalt här
   ========================= */

#tjanster ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

#tjanster ul li {
    margin-bottom: 0.5rem;
}

/* =========================
   CTA-band
   ========================= */

.cta-band {
    background: linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-primary-dark)
    );
    color: #fff;
    border-radius: 20px;
}

.cta-band h2,
.cta-band p {
    color: #fff;
}

/* =========================
   Knappar - för att outline-primary matchar paletten
   ========================= */

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* =========================
   Tjänster hero - vit faktaruta
   ========================= */

.services-hero .sustainability-hero-card {
    background-color: #ffffff;
    color: var(--color-text);
    backdrop-filter: none;
    border: 1px solid rgba(17, 17, 17, 0.08);
}
.sustainability-hero .sustainability-hero-card {
    color: var(--color-text);
}

/* =========================
   HALLBARHET HERO - använder samma blur + contain hero
   ========================= */

.sustainability-hero {
    position: relative;
    min-height: clamp(420px, 60vh, 620px);
    padding: 5rem 0;
    color: #ffffff;
    overflow: hidden;
}

.sustainability-hero .container {
    z-index: 3;
}

.sustainability-hero-bg {
    z-index: 1;
}

/* Extra overlay för läsbarhet på denna sida */
.sustainability-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.55) 35%,
        rgba(0, 0, 0, 0.18) 70%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

/* Gör hero-kortet snyggt ovanpå bild */
.sustainability-hero-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.25rem 1.25rem;
    backdrop-filter: blur(8px);
}
.hero-text-panel {
    background: rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1.75rem 1.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    max-width: 680px;
}
.sustainability-hero .section-label {
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.95;
    color: #9CC6F0;
}

.sustainability-hero h1 {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.sustainability-hero .lead {
    opacity: 0.95;
}
.sustainability-hero .section-label::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: #4A8CCF;
}
/* =========================
   FULLWIDTH HERO CONTENT
   ========================= */

.sustainability-hero-content {
    z-index: 3;
    padding-left: clamp(1.25rem, 5vw, 5rem);
    padding-right: clamp(1.25rem, 5vw, 5rem);
}

/* Vänster text – trycks ut mot vänster */
.hero-text-left {
    max-width: 640px;
    margin-right: auto;
    padding-right: 2rem;
}

/* Höger text – trycks ut mot höger */
.hero-text-right {
    max-width: 420px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
}
.sustainability-hero h1 {
    color: #4A8CCF;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}
/* Rubrik i brand-blå */
.sustainability-hero h1 {
    color: #4A8CCF;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

/* Desktop: som innan */
.sustainability-hero-content {
    z-index: 3;
    padding-left: clamp(1.25rem, 5vw, 5rem);
    padding-right: clamp(1.25rem, 5vw, 5rem);
}

.hero-text-left {
    max-width: 640px;
    margin-right: auto;
    padding-right: 2rem;
}

.hero-text-right {
    max-width: 420px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
}

/* Mobil: tryck ut texten till blur-ytorna (top/bottom) */
@media (max-width: 991px) {

    /* Mer kontroll över höjden på mobilen */
    .sustainability-hero {
        padding: 0;
        min-height: clamp(560px, 85vh, 760px);
    }

    .sustainability-hero-content {
        height: 100%;
        padding-left: 1.0rem;
        padding-right: 1.0rem;
    }

    /* Skapa 3 zoner: top text, mitten bild, bottom text */
    .hero-mobile-layout {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    /* Textblocken ska kännas som att de ligger i blur */
    .hero-text-left,
    .hero-text-right {
        max-width: 100%;
        margin: 0;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.32);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        backdrop-filter: blur(10px);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    }

    /* Gör kortet mindre "luftigt" på mobil */
    .hero-text-right {
        padding: 1rem;
    }

    /* Viktigt: ta bort desktop-offsets */
    .hero-text-left {
        padding-right: 1rem;
    }
}
@media (max-width: 991px) {
    .hero-image {
        object-position: center;
    }
}


/* References - cards */
.page-hero {
    background: linear-gradient(180deg, rgba(74, 140, 207, 0.10), rgba(244, 244, 244, 0.60));
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.project-card {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(17, 17, 17, 0.12);
}

.project-thumb {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    display: block;
}

.badge-type {
    background: rgba(74, 140, 207, 0.12);
    color: #2F6EB8;
    border: 1px solid rgba(74, 140, 207, 0.22);
    font-weight: 600;
}

/* Project page - gallery */
.hero-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(17, 17, 17, 0.10);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.meta-card {
    background: #F4F4F4;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
}

.gallery-img {
    border-radius: 14px;
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(17, 17, 17, 0.12);
}

.modal-content {
    border-radius: 18px;
    overflow: hidden;
}

.modal-body {
    background: #000;
    padding: 0;
}

.modal-body img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==============================
   Lightbox - låst visning
============================== */

#lightboxModal .modal-dialog {
    max-width: 90vw;
}

#lightboxModal .modal-content {
    height: 90vh;
    display: flex;
    flex-direction: column;
}

#lightboxModal .modal-header {
    flex: 0 0 auto;
}

#lightboxModal .modal-body {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

#lightboxModal .modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#lightboxModal .modal-footer {
    flex: 0 0 auto;
}
@media (max-width: 768px) {
    #lightboxModal .modal-content {
        height: 95vh;
    }
}

.bg-primary-soft {
    background: linear-gradient(
        180deg,
        rgba(74, 140, 207, 0.10) 0%,
        rgba(244, 244, 244, 0.55) 100%
    );
}


/* =========================
   HALLBARHET HERO - som index, med promise-card
   ========================= */


.hero-wrapper .hero-image {
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

/* Hallbarhet: CTA-knapp blå direkt */
#hallbarhet-hero .btn.btn-outline-light {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

#hallbarhet-hero .btn.btn-outline-light:hover,
#hallbarhet-hero .btn.btn-outline-light:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
}

/* Sätt rubriken brand-blå men läsbar */
#hallbarhet-hero .hero-title {
    color: var(--color-primary);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.70);
}

/* Promise-rutan (desktop: tight, mobil: fullbredd via din index-mobil-layout) */
#hallbarhet-hero .hallbarhet-promise-card {
    width: fit-content;
    max-width: 520px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 1.1rem 1.3rem;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

/* Mobil: exakt samma funktion som index, men scoped till hallbarhet */
@media (max-width: 991px) {
    #hallbarhet-hero .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.20) 30%,
            rgba(0, 0, 0, 0.20) 70%,
            rgba(0, 0, 0, 0.70) 100%
        );
    }

    #hallbarhet-hero .hero-content.hero-mobile-layout {
        height: 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 1.0rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    #hallbarhet-hero .hero-text-top,
    #hallbarhet-hero .hero-text-bottom {
        padding: 0.75rem 0.25rem;
    }

    #hallbarhet-hero .hallbarhet-promise-card {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================
   HALLBARHET HERO - tweaks
   ========================= */

/* DESKTOP: vänster text på vänster blur, "Vårt löfte" på höger blur */
@media (min-width: 992px) {

    /* Behåll samma "vänster-start" som index (inte centrerat för mycket) */
    #hallbarhet-hero .hero-content.hero-mobile-layout {
        width: 100%;
        max-width: none;          /* <-- viktigt, sluta begränsa hela blocket */
        margin: 0;                /* <-- viktigt, ta bort auto-centering */
        padding-left: clamp(1.25rem, 5vw, 4rem);
        padding-right: clamp(1.25rem, 5vw, 4rem);

        display: grid;
        grid-template-columns: minmax(0, 640px) 1fr; /* vänster text max 640px */
        align-items: end;
        column-gap: 3.0rem;
    }

    /* Vänster: alltid vänster */
    #hallbarhet-hero .hero-text-top {
        justify-self: start;
    }

    /* Höger: alltid längst till höger */
    #hallbarhet-hero .hero-text-bottom {
        justify-self: end;
        align-self: end;
    }

    /* Rutan: tajt, men inte för bred */
    #hallbarhet-hero .hallbarhet-promise-card {
        max-width: 420px;
    }
}


/* 2) Mobil: göm knappen "Läs mer om hur vi jobbar" */
@media (max-width: 991px) {
    #hallbarhet-hero .hero-text-top .btn {
        display: none;
    }
}

/* 3) Mobil: tryck ner "Vårt löfte" mer
   Lek med denna siffra: margin-top */
@media (max-width: 991px) {
    #hallbarhet-hero .hero-text-bottom {
        margin-top: 13.5rem; /* <-- ändra 2.0rem till 3.0rem, 4.0rem osv */
    }
}










/* MOBIL: göm ingress-texten under rubriken */
@media (max-width: 991px) {
    #hallbarhet-hero .hero-text-top .hero-text,
    #hallbarhet-hero .hero-text-top .lead {
        display: none;
    }
}
/* FIX: vita kort i section-strengths ska ha mörk text */
.section-strengths .sustainability-focus-box,
.section-strengths .sustainability-focus-box * {
    color: var(--color-text);
}

/* Hover-effekt */
.section-strengths .sustainability-focus-box {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-strengths .sustainability-focus-box:hover {
    transform: translateY(-4px);
}

/* TJÄNSTER: card-service-kort inne i section-strengths ska ha mörk text */
.section-strengths .card-service,
.section-strengths .card-service * {
    color: var(--color-text);
}

/* Behåll länkar i korten i brand-färg */
.section-strengths .card-service a {
    color: var(--color-primary);
}

.section-strengths .card-service a:hover {
    color: var(--color-primary-dark);
}




/* TJÄNSTER HERO: återanvänd hallbarhet "promise card" */
#tjanster-hero .hallbarhet-promise-card {
    width: fit-content;
    max-width: 520px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 1.1rem 1.3rem;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

/* TJÄNSTER HERO: rubrikfärg som hallbarhet */
#tjanster-hero .hero-title {
    color: var(--color-primary);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.70);
}

/* TJÄNSTER HERO: desktop */
@media (min-width: 992px) {
    #tjanster-hero .hero-content.hero-mobile-layout {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-left: clamp(1.25rem, 5vw, 4rem);
        padding-right: clamp(1.25rem, 5vw, 4rem);

        display: grid;
        grid-template-columns: minmax(0, 640px) 1fr;
        align-items: end;
        column-gap: 3.0rem;
    }

    #tjanster-hero .hero-text-top {
        justify-self: start;
        align-self: start;
        margin-top: -1.0rem;
    }

    #tjanster-hero .hero-text-bottom {
        justify-self: end;
    }

    #tjanster-hero .hallbarhet-promise-card {
        max-width: 420px;
    }
}

/* TJÄNSTER HERO: mobil */
@media (max-width: 991px) {
    #tjanster-hero .hallbarhet-promise-card {
        width: 100%;
        max-width: 100%;
        transform: translateY(20px);
    }

    #tjanster-hero .hero-text-top {
        margin-top: 1.5rem; /* positivt flyttar ner rubriken */
    }
}


/* =========================
   CTA hover över footer (clean)
   Klistra in längst ner i style.css
   ========================= */

/* Wrapper runt CTA + footer */
.cta-footer-wrapper {
    /* Luft ovanför CTA så den inte krockar med sektionen innan */
    --cta-gap-above: 28px;

    /* Hur mycket CTA ska gå ner i footern */
    --cta-overlap-footer: 56px;

    position: relative;
    padding-top: var(--cta-gap-above);
}

/* CTA-sektionen ska inte ha egen bakgrund som bråkar */
.cta-footer-wrapper .cta-section {
    background: none;
    padding: 0;
    position: relative;
    z-index: 2;

    /* Detta skapar overlap mot footern */
    margin-bottom: calc(var(--cta-overlap-footer) * -1);
}

/* Själva CTA-boxen */
.cta-footer-wrapper .cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;

    background: #4A8CCF;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    padding: 1.6rem 1.8rem;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}

/* Text */
.cta-footer-wrapper .cta-title {
    margin: 0;
    font-size: 1.8rem;
    
    font-weight: 700;
    color: #FFFFFF;
}

.cta-footer-wrapper .cta-text {
    margin: 0.35rem 0 0 0;
    color: rgba(7, 0, 0, 0.85);
    max-width: 65ch;
    font-size: 1.2rem;
}

/* CTA-knapp */
.cta-footer-wrapper .cta-btn {
    background: #FFFFFF;
    color: #4A8CCF;
    border: none;
    font-size: 1.2rem;      /* <-- större text */
    font-weight: 700;
    padding: 1.25rem 2.4rem;   /* <-- större knappyta */
    border-radius: 14px;    /* lite kraftigare känsla */
    transition: all 0.2s ease;
}
.cta-footer-wrapper .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
/* Footern ska ligga "under" CTA visuellt */
.cta-footer-wrapper .site-footer {
    background: #f4f4f4;
    transform: translateY(-2px);
}

/* Viktigt: flytta ner footer-innehållet så det inte hamnar bakom CTA */
.cta-footer-wrapper .site-footer .footer-top {
    padding-top: calc(3rem + var(--cta-overlap-footer));
}

/* Mobil: stacka allt snyggt */
@media (max-width: 768px) {
    .cta-footer-wrapper {
        --cta-gap-above: 18px;
        --cta-overlap-footer: 34px;
    }

    .cta-footer-wrapper .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-footer-wrapper .cta-text {
        max-width: none;
    }

    .cta-footer-wrapper .cta-btn {
        width: 100%;
    }
}




/* =========================
         Cert sidan
   ========================= */

.section-padding {
    padding: 80px 0;
}

.certification-img {
    max-width: 150px;     /* styr storleken med denna */
    width: 1000%;
    height: auto;
    margin: 0 auto;

    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.certification-img:hover {
    transform: translateY(-6px);
}

.cert-box {
    background: #FFFFFF;
    padding: 38px;
    border-radius: 16px;
    height: 100%;
    border-left: 6px solid #4A8CCF;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.cert-box h4 {
    margin-bottom: 14px;
    font-weight: 600;
}

.cert-box p {
    margin-bottom: 0;
    color: rgba(17,17,17,0.75);
}

.cert-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}


.page-hero--cert {
    position: relative;
    padding: 110px 0 90px 0; /* mer luft */
        background: linear-gradient(
        135deg,
        #4A8CCF 0%,
        #3C7CC5 40%,
        #f4f4f4e6 100%

    );
    overflow: hidden;
}

.page-hero--cert::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(74, 140, 207, 0.20), transparent 55%);
    pointer-events: none;
}

.page-hero--cert .hero-card {
    display: inline-block;
    padding: 34px 38px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-hero--cert .hero-title {
    font-size: clamp(2.0rem, 3.2vw, 3.0rem);
    line-height: 1.08;
    color: #111111;
    letter-spacing: -0.02em;
}

.page-hero--cert .hero-subtitle {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.5;
    color: rgba(17, 17, 17, 0.78);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 576px) {
    .page-hero--cert {
        padding: 86px 0 64px 0;
    }

    .page-hero--cert .hero-card {
        padding: 26px 22px;
        border-radius: 16px;
    }
}