@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@600;700;800&display=swap');

:root {
    --bg: #071826;
    --bg-deep: #04101b;
    --panel: rgba(255, 255, 255, 0.075);
    --line: rgba(255, 255, 255, 0.16);
    --text: #f7fafc;
    --muted: rgba(247, 250, 252, 0.72);
    --green: #20B26C;
    --green-2: #6CE391;
    --blue: #2C7BE5;
    --cyan: #42C9C2;
    --gold: #F5B942;
    --purple: #9B5DE5;
    --radius: 28px;
    --max: 1720px;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;
    background:
        radial-gradient(circle at 26% 48%, rgba(44, 123, 229, .16), transparent 34rem),
        radial-gradient(circle at 78% 34%, rgba(32, 178, 108, .18), transparent 36rem),
        radial-gradient(circle at 68% 82%, rgba(66, 201, 194, .08), transparent 30rem),
        linear-gradient(180deg, #03101c 0%, #071826 54%, #081b28 100%);
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: var(--green);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    z-index: 999;
}

.skip-link:focus {
    left: 12px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(3, 16, 28, .92), rgba(3, 16, 28, .58));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-shell {
    max-width: var(--max);
    min-height: 84px;
    padding: 0 clamp(18px, 4vw, 52px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-symbol {
    width: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), var(--cyan) 45%, var(--green));
    display: grid;
    place-items: center;
    box-shadow: 0 0 40px rgba(66,201,194,.25);
    font-weight: 900;
    font-size: 1.35rem;
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 1.65rem;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.brand-copy small {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(247,250,252,.72);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 650;
    color: rgba(247,250,252,.88);
    padding: 11px 15px;
    border-radius: 999px;
}

.nav-links a:hover {
    background: rgba(255,255,255,.1);
}

.nav-contact {
    border: 1px solid rgba(32,178,108,.65);
    color: var(--green-2) !important;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.08);
    border-radius: 15px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 10px;
    margin: 6px 0;
}

.hero-section {
    min-height: 100svh;
    position: relative;
    padding: 118px clamp(18px, 4vw, 52px) 58px;
    isolation: isolate;
    overflow: hidden;
}

.space-glow {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 28%, rgba(108, 227, 145, .17), transparent 26rem),
        radial-gradient(circle at 55% 62%, rgba(44, 123, 229, .13), transparent 34rem),
        linear-gradient(90deg, rgba(3, 16, 28, .92) 0%, rgba(7, 24, 38, .58) 48%, rgba(7, 24, 38, .82) 100%);
}

.space-glow::after {
    content: "";
    position: absolute;
    inset: auto -8% -22% -8%;
    height: 34%;
    background: radial-gradient(ellipse at center, rgba(66, 201, 194, .13), transparent 68%);
    filter: blur(24px);
}

.hero-grid {
    max-width: var(--max);
    min-height: calc(100svh - 176px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, .58fr) minmax(760px, 1.42fr);
    align-items: center;
    gap: clamp(30px, 4vw, 72px);
}

.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 680px;
}

.eyebrow {
    color: var(--green-2);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 900;
    margin: 0 0 16px;
}

h1, h2, h3 {
    font-family: Manrope, Inter, sans-serif;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.055em;
}

h1 {
    font-size: clamp(3rem, 4.55vw, 5.75rem);
}

h1::after {
    content: "";
    display: block;
    width: 92px;
    height: 5px;
    border-radius: 99px;
    margin-top: 24px;
    background: linear-gradient(90deg, var(--green), var(--blue));
}

h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
    font-size: 1.45rem;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.25vw, 1.28rem);
    max-width: 620px;
    margin: 24px 0 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    min-height: 54px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-2));
    color: #062018;
    box-shadow: 0 22px 46px rgba(32,178,108,.28);
}

.btn-ghost {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.05);
    color: var(--text);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 640px;
    margin-top: 46px;
}

.trust-row div {
    border-left: 1px solid rgba(255,255,255,.18);
    padding-left: 14px;
}

.trust-row strong {
    display: block;
    font-weight: 900;
    font-size: 1.55rem;
}

.trust-row small {
    color: var(--muted);
    font-size: .82rem;
}

.innovation-visual {
    position: relative;
    min-width: 0;
    transform: translateX(2.5vw);
}

.innovation-frame {
    position: relative;
    width: min(100%, 1180px);
    margin-left: auto;
    filter: drop-shadow(0 52px 105px rgba(0,0,0,.58));
}

.innovation-frame::before {
    content: "";
    position: absolute;
    inset: 10% 4% -5%;
    z-index: -1;
    border-radius: 44px;
    background: radial-gradient(circle at 56% 56%, rgba(66,201,194,.28), transparent 70%);
    filter: blur(36px);
}

.innovation-frame img {
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, black 10%, black 88%, transparent 100%),
        linear-gradient(to bottom, black 0%, black 82%, transparent 100%);
    -webkit-mask-composite: source-in;

    mask-image:
        linear-gradient(to right, transparent 0%, black 10%, black 88%, transparent 100%),
        linear-gradient(to bottom, black 0%, black 82%, transparent 100%);
    mask-composite: intersect;
    display: block;
    width: 100%;
    height: auto;
    max-height: min(82vh, 900px);
    object-fit: contain;
    object-position: center;
    user-select: none;
}

@keyframes floatBuilding {
    0%, 100% { transform: translateY(0) scale(1.02); }
    50% { transform: translateY(-8px) scale(1.02); }
}

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(68px, 9vw, 128px) clamp(18px, 4vw, 52px);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    margin-bottom: 34px;
}

.section-head h2 {
    max-width: 860px;
}

.section-link {
    border: 1px solid var(--line);
    padding: 13px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card,
.glass-panel,
.about-section,
.contact-section,
.roadmap div {
    background: linear-gradient(135deg, rgba(255,255,255,.105), rgba(255,255,255,.04));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.product-card {
    min-height: 280px;
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    opacity: .22;
    filter: blur(6px);
}

.product-card.green::before { background: var(--green); }
.product-card.blue::before { background: var(--blue); }
.product-card.violet::before { background: var(--purple); }
.product-card.gold::before { background: var(--gold); }

.icon {
    display: grid;
    place-items: center;
    width: 150px;
    height: 100px;
    border-radius: 17px;
    background: rgba(255,255,255,.1);
    border: 1px solid var(--line);
    font-weight: 900;
    margin-bottom: 28px;
}

.icon img {
    width: 120px;
    border-radius: 17px;
    gap: 5px;
}

.product-card p,
.split-section p,
.knowledge-section p,
.about-section p,
.contact-section p {
    color: var(--muted);
}

.product-card a {
    display: inline-flex;
    margin-top: 16px;
    color: var(--green-2);
    text-decoration: none;
    font-weight: 900;
}

.product-card a::after {
    content: " →";
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
    gap: 36px;
    align-items: center;
}

.roadmap {
    display: grid;
    gap: 14px;
}

.roadmap div {
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.roadmap strong {
    color: var(--green-2);
    font-size: 1.25rem;
}

.roadmap span {
    font-weight: 850;
}

.glass-panel,
.about-section,
.contact-section {
    padding: clamp(28px, 5vw, 56px);
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    margin-bottom: 90px;
}

.contact-section div {
    max-width: 820px;
}

.site-footer {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 30px clamp(18px, 4vw, 52px);
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--muted);
}

.site-footer a {
    text-decoration: none;
    color: var(--green-2);
    font-weight: 800;
}

@media (max-width: 1380px) {
    .hero-grid {
        grid-template-columns: minmax(330px, .7fr) minmax(620px, 1.3fr);
    }

    .innovation-frame {
        width: min(100%, 980px);
    }
}

@media (max-width: 1120px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy {
        max-width: 900px;
    }

    .innovation-visual {
        transform: none;
    }

    .innovation-frame {
        width: 100%;
        max-width: 980px;
        margin: 0 auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header {
        position: sticky;
    }

    .nav-shell {
        min-height: 72px;
    }

    .brand-copy small {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: rgba(6,17,29,.96);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 15px 16px;
    }

    .hero-section {
        padding-top: 38px;
    }

    .hero-actions,
    .contact-section {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .trust-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .innovation-frame {
        overflow: hidden;
        border-radius: 24px;
    }

    .innovation-frame img {
        width: 150%;
        max-width: none;
        transform-origin: center;
        margin-left: -28%;
    }

    @keyframes floatBuilding {
        0%, 100% { transform: translateY(0) scale(1); }
        50% { transform: translateY(-5px) scale(1); }
    }

    .section-head,
    .split-section {
        grid-template-columns: 1fr;
    }

    .section-link {
        width: fit-content;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: clamp(2.35rem, 13vw, 3.45rem);
    }

    .brand-copy strong {
        font-size: 1.35rem;
    }

    .brand-symbol {
        width: 40px;
        height: 40px;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .innovation-frame img {
        width: 185%;
        margin-left: -43%;
    }
}

/*********************************************************************
*                      BUILDING OVERLAY                              *
*********************************************************************/

.building-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.building-floor {
    position: absolute;
    text-decoration: none;
    pointer-events: auto;
}

/* Etage 5 - SpringerSkak */
.building-floor.floor-5 {
    left: 30.5%;
    top: 12.1%;
    width: 44.5%;
    height: 14.5%;
}

.building-floor.floor-5 .floor-glass {
    transform: skewX(-8.5deg) rotate(-7.5deg);

    clip-path: polygon(
        0% 8%,			/* øverst venstre */
        100% 0%,		/* øverst højre */
        100% 100%,		/* nederst højre */
        0% 85%			/* nederst venstre */
    );

    background:linear-gradient(
        90deg,
        rgba(22,40,78,.48),
        rgba(35,73,150,.60),
        rgba(22,40,78,.48)
    );
}

/* Etage 4 - Activo */
.building-floor.floor-4 {
    left: 30%;
    top: 26%;
    width: 45%;
    height: 13.2%;
}

.building-floor.floor-4 .floor-glass {
    transform: skewX(-4.5deg) rotate(-4.8deg);

    clip-path: polygon(
        0% 8%,			/* øverst venstre */
        100% 0%,		/* øverst højre */
        100% 100%,		/* nederst højre */
        0% 85%			/* nederst venstre */
    );

    background:linear-gradient(
        90deg,
        rgba(18,55,36,.48),
        rgba(32,120,78,.60),
        rgba(18,55,36,.48)
    );
}

/* Etage 3 - Udviklingsprojekter */
.building-floor.floor-3 {
    left: 30%;
    top: 38.7%;
    width: 45%;
    height: 13.8%;
}

.building-floor.floor-3 .floor-glass {
    transform: skewX(-3.5deg) rotate(-2.5deg);

    clip-path: polygon(
        0% 8%,			/* øverst venstre */
        100% 0%,		/* øverst højre */
        100% 100%,		/* nederst højre */
        0% 85%			/* nederst venstre */
    );

    background:linear-gradient(
        90deg,
        rgba(75,48,18,.45),
        rgba(145,94,28,.58),
        rgba(75,48,18,.45)
    );
}

/* Etage 2 - Videnscenter */
.building-floor.floor-2 {
    left: 30%;
    top: 52%;
    width: 45%;
    height: 13.5%;
}

.building-floor.floor-2 .floor-glass {
    transform: skewX(-1.0deg) rotate(-0.2deg);

    clip-path: polygon(
        0% 8%,			/* øverst venstre */
        100% 0%,		/* øverst højre */
        100% 90%,		/* nederst højre */
        0% 85%			/* nederst venstre */
    );

    background:linear-gradient(
        90deg,
        rgba(55,28,70,.45),
        rgba(110,58,165,.58),
        rgba(55,28,70,.45)
    );
}

/* Etage 1 - Kontakt & support */
.building-floor.floor-1 {
    left: 27.8%;
    top: 65.1%;
    width: 47.6%;
    height: 14.5%;
}

.building-floor.floor-1 .floor-glass {
    transform: skewX(-0.5deg) rotate(0.7deg);

    clip-path: polygon(
        0% 2%,			/* øverst venstre */
        100% 2%,		/* øverst højre */
        100% 98%,		/* nederst højre */
        0% 80%			/* nederst venstre */
    );

    background:linear-gradient(
        90deg,
        rgba(28,30,34,.45),
        rgba(60,65,72,.58),
        rgba(28,30,34,.45)
    );
}

.floor-glass {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    transform-origin: center;
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    opacity: .90;
    transition: .3s;
}

.building-floor:hover .floor-glass,
.building-floor:focus-visible .floor-glass {
    opacity: 0;
    backdrop-filter: blur(0);
}

.floor-line {
    position: absolute;
    top: 50%;
    right: -145px;
    width: 145px;
    height: 1px;
    background: linear-gradient(90deg, rgba(108,227,145,.9), rgba(108,227,145,0));
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity .25s ease, transform .25s ease;
}

.floor-line::after {
    content: "";
    position: absolute;
    right: -4px;
    top: -4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green-2);
    box-shadow: 0 0 18px rgba(108,227,145,.9);
}

.floor-card {
    position: absolute;
    top: 50%;
    right: -390px;
    width: 230px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(6,17,29,.78);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(0,0,0,.35);
    opacity: 0;
    transform: translate(-16px, -50%);
    transition: opacity .25s ease, transform .25s ease;
}

.floor-card strong {
    display: block;
    color: var(--text);
    font-size: .98rem;
    line-height: 1.15;
    margin-bottom: 6px;
}

.floor-card small {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.35;
}

.building-floor:hover .floor-line,
.building-floor:hover .floor-card,
.building-floor:focus-visible .floor-line,
.building-floor:focus-visible .floor-card {
    opacity: 1;
    transform: translateX(0);
}

.building-floor:hover .floor-card,
.building-floor:focus-visible .floor-card {
    transform: translate(0, -50%);
}



.development-feature {
    padding-top: clamp(70px, 8vw, 120px);
}

.development-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;

    padding: clamp(30px, 5vw, 64px);

    background:
        linear-gradient(135deg, rgba(255,255,255,.11), rgba(255,255,255,.04)),
        radial-gradient(circle at 75% 35%, rgba(32,178,108,.14), transparent 34rem);

    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.development-content h2 {
    max-width: 760px;
}

.development-content p {
    max-width: 850px;
    color: var(--muted);
}

.development-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 22px;
}

.development-meta span {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(108,227,145,.12);
    border: 1px solid rgba(108,227,145,.24);
    color: var(--green-2);
    font-weight: 800;
    font-size: .82rem;
}

.development-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.development-points li {
    position: relative;
    padding-left: 30px;
    color: rgba(247,250,252,.86);
    font-weight: 650;
}

.development-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green-2);
    font-weight: 900;
}

.development-images {
    position: relative;
    min-height: 330px;
}

.dev-img {
    position: absolute;
    width: min(78%, 360px);
    aspect-ratio: 4 / 3;
    object-fit: cover;

    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 28px 70px rgba(0,0,0,.42);
}

.dev-img-back {
    right: 0;
    top: 28px;
    transform: rotate(8deg);
    opacity: .82;
}

.dev-img-front {
    left: 0;
    top: 72px;
    transform: rotate(-5deg);
    z-index: 2;
}

@media (max-width: 900px) {
    .development-card {
        grid-template-columns: 1fr;
    }

    .development-images {
        min-height: 280px;
    }

    .dev-img {
        width: 62%;
    }
}

@media (max-width: 560px) {
    .development-images {
        min-height: 230px;
    }

    .dev-img {
        width: 72%;
    }
}