/* =========================================
   HORNETSECURITY – BASIS
========================================= */

.thorium-hs {

    width:
        min(
            1120px,
            100%
        );

    margin:
        0 auto;

}


.thorium-hs-kicker,
.thorium-hs .ts-kicker {

    color:
        var(
            --thorium-racing-blue,
            #3545b0
        );

}


/* =========================================
   HERO
========================================= */

.thorium-hs-hero {

    display:
        grid;

    grid-template-columns:
        minmax(0,1.1fr)
        minmax(320px,.9fr);

    gap:
        52px;

    align-items:
        center;

    padding:
        26px 0 34px;

}


.thorium-hs-hero-copy {

    min-width:
        0;

}


.thorium-hs-logo {

    display:
        block;

    width:
        min(
            270px,
            70%
        );

    max-height:
        80px;

    margin:
        38px 0 112px;

    object-fit:
        contain;

    object-position:
        left center;

    transform:
        scale(2.15);

    transform-origin:
        left center;

}


.thorium-hs-title {

    max-width:
        820px;

    margin:
        10px 0 22px;

    color:
        #14191e;

    font-size:
        clamp(
            38px,
            5vw,
            64px
        );

    font-weight:
        900;

    line-height:
        1.02;

    letter-spacing:
        -.035em;

}


.thorium-hs-lead {

    max-width:
        760px;

    margin-bottom:
        22px;

}


.thorium-hs-intro {

    max-width:
        760px;

}


.thorium-hs-hero-media {

    position:
        relative;

    align-self:
        start;

    margin-top:
        180px;

    min-height:
        360px;

    overflow:
        hidden;

    background:
        #0b1016;

    border:
        1px solid
        rgba(53,69,176,.22);

    border-radius:
        14px;

}


.thorium-hs-hero-media::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;

    background:
        linear-gradient(
            145deg,
            rgba(53,69,176,.10),
            transparent 46%
        );

}


.thorium-hs-hero-media img {

    width:
        100%;

    height:
        100%;

    min-height:
        360px;

    display:
        block;

    object-fit:
        cover;

}


/* =========================================
   SECTION TITLES
========================================= */

.thorium-hs-section-title {

    max-width:
        800px;

    margin:
        8px 0 28px;

    color:
        #14191e;

    font-size:
        clamp(
            27px,
            3.2vw,
            40px
        );

    font-weight:
        900;

    line-height:
        1.08;

    letter-spacing:
        -.025em;

}


/* =========================================
   SOLUTIONS
========================================= */

.thorium-hs-solutions {

    margin-top:
        72px;

}


.thorium-hs-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap:
        18px;

}


.thorium-hs-card {

    position:
        relative;

    min-height:
        250px;

    padding:
        30px;

    overflow:
        hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7f8fa 100%
        );

    border:
        1px solid
        #e3e7eb;

    border-radius:
        10px;

    box-shadow:
        0 8px 24px
        rgba(18,28,45,.045);

    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;

}


.thorium-hs-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(53,69,176,.35);

    box-shadow:
        0 18px 42px
        rgba(18,28,45,.09);

}


.thorium-hs-card-line {

    width:
        38px;

    height:
        3px;

    margin-bottom:
        20px;

    background:
        var(
            --thorium-racing-blue,
            #3545b0
        );

    border-radius:
        999px;

}


.thorium-hs-card-eyebrow {

    margin-bottom:
        8px;

    color:
        #3545b0;

    font-size:
        12px;

    font-weight:
        800;

    letter-spacing:
        .08em;

    text-transform:
        uppercase;

}


.thorium-hs-card h3 {

    margin:
        0 0 13px;

    color:
        #151a1f;

    font-size:
        23px;

    font-weight:
        900;

    line-height:
        1.18;

}


.thorium-hs-card-copy {

    color:
        #5e6973;

    font-size:
        15px;

    line-height:
        1.75;

}


.thorium-hs-link {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    margin-top:
        20px;

    color:
        #3545b0;

    font-size:
        13px;

    font-weight:
        800;

    text-decoration:
        none;

}


.thorium-hs-link span {

    transition:
        transform .2s ease;

}


.thorium-hs-link:hover span {

    transform:
        translateX(4px);

}


/* =========================================
   PARTNER / UMSETZUNG
========================================= */

.thorium-hs-partner {

    display:
        grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(320px,.82fr);

    gap:
        48px;

    align-items:
        center;

    margin-top:
        82px;

    padding:
        46px;

    color:
        #ffffff;

    background:
        radial-gradient(
            circle at 88% 0%,
            rgba(186,218,0,.12),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #070b10 0%,
            #0d131b 58%,
            #111927 100%
        );

    border:
        1px solid
        rgba(53,69,176,.30);

    border-radius:
        13px;

    box-shadow:
        0 24px 65px
        rgba(0,0,0,.15);

}


.thorium-hs-partner .thorium-hs-section-title {

    color:
        #ffffff;

}


.thorium-hs-partner-text {

    color:
        #c3cbd1;

}


.thorium-hs-process {

    margin-top:
        30px;

    padding-top:
        24px;

    border-top:
        1px solid
        rgba(255,255,255,.12);

}


.thorium-hs-process h3 {

    margin:
        0 0 8px;

    color:
        #ffffff;

    font-size:
        20px;

    font-weight:
        900;

}


.thorium-hs-process .ts-copy {

    color:
        #aeb8c0;

}


.thorium-hs-partner-media {

    min-height:
        330px;

    overflow:
        hidden;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius:
        10px;

}


.thorium-hs-partner-media img {

    width:
        100%;

    height:
        100%;

    min-height:
        330px;

    display:
        block;

    object-fit:
        cover;

}


/* =========================================
   GALERIE
========================================= */

.thorium-hs-gallery {

    margin-top:
        82px;

}


.thorium-hs-gallery-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:
        16px;

}


.thorium-hs-gallery-item {

    margin:
        0;

    min-height:
        210px;

    overflow:
        hidden;

    background:
        #f2f4f6;

    border:
        1px solid
        #e1e5e8;

    border-radius:
        9px;

}


.thorium-hs-gallery-item img {

    width:
        100%;

    height:
        100%;

    min-height:
        210px;

    display:
        block;

    object-fit:
        cover;

}


/* =========================================
   CTA
========================================= */

.thorium-hs-cta {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        34px;

    margin-top:
        72px;

    padding:
        34px 38px;

    background:
        linear-gradient(
            135deg,
            #f7f8fa 0%,
            #eef1f5 100%
        );

    border:
        1px solid
        #dfe4e8;

    border-radius:
        10px;

}


.thorium-hs-cta h2 {

    margin:
        0 0 8px;

    color:
        #151a1f;

    font-size:
        25px;

    font-weight:
        900;

    line-height:
        1.2;

}


.thorium-hs-cta p {

    max-width:
        760px;

    margin:
        0;

    color:
        #65707a;

    font-size:
        15px;

    line-height:
        1.65;

}


.thorium-hs-cta-button {

    flex:
        0 0 auto;

    min-height:
        44px;

    padding:
        0 17px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    color:
        #ffffff;

    background:
        #283674;

    border:
        1px solid
        #35458f;

    border-radius:
        5px;

    font-size:
        13px;

    font-weight:
        800;

    text-decoration:
        none;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;

}


.thorium-hs-cta-button:hover {

    transform:
        translateY(-2px);

    background:
        var(
            --thorium-racing-blue,
            #3545b0
        );

    border-color:
        var(
            --thorium-racing-blue,
            #3545b0
        );

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .thorium-hs-hero,
    .thorium-hs-partner {

        grid-template-columns:
            1fr;

    }


    .thorium-hs-hero-media {

        margin-top:
            26px;

    }


    .thorium-hs-hero-media,
    .thorium-hs-hero-media img {

        min-height:
            300px;

    }


    .thorium-hs-partner-media,
    .thorium-hs-partner-media img {

        min-height:
            280px;

    }

}


@media (max-width: 650px) {

    .thorium-hs-logo {

        width:
            min(
                220px,
                64%
            );

        margin:
            28px 0 86px;

        transform:
            scale(1.75);

        transform-origin:
            left center;

    }


    .thorium-hs-title {

        font-size:
            clamp(
                35px,
                11vw,
                48px
            );

    }


    .thorium-hs-grid,
    .thorium-hs-gallery-grid {

        grid-template-columns:
            1fr;

    }


    .thorium-hs-card {

        min-height:
            0;

        padding:
            26px 23px;

    }


    .thorium-hs-partner {

        margin-top:
            58px;

        padding:
            34px 22px;

        border-radius:
            9px;

    }


    .thorium-hs-cta {

        margin-top:
            50px;

        padding:
            28px 22px;

        flex-direction:
            column;

        align-items:
            flex-start;

    }

}


/* =========================================
   GALERIE / VIEWER – V2
========================================= */

.thorium-hs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.thorium-hs-gallery-item {
    appearance: none;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: inherit;
    text-align: left;
    background: #0a1018;
    border: 1px solid rgba(53, 69, 176, .22);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(11, 19, 31, .08);
    cursor: zoom-in;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.thorium-hs-gallery-item:hover,
.thorium-hs-gallery-item:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(53, 69, 176, .52);
    box-shadow: 0 20px 46px rgba(11, 19, 31, .14);
    outline: none;
}

.thorium-hs-gallery-image-wrap {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    background:
        radial-gradient(circle at 50% 30%, rgba(53, 69, 176, .13), transparent 48%),
        linear-gradient(145deg, #080d14 0%, #0e1722 100%);
}

.thorium-hs-gallery-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.thorium-hs-gallery-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    background: rgba(5, 10, 16, .82);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: transform .2s ease, background .2s ease;
}

.thorium-hs-gallery-item:hover .thorium-hs-gallery-zoom {
    transform: scale(1.08);
    background: rgba(53, 69, 176, .94);
}

.thorium-hs-gallery-caption {
    display: block;
    padding: 12px 14px 14px;
    color: #d6dde5;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

/* Viewer */

body.thorium-hs-lightbox-open {
    overflow: hidden;
}

.thorium-hs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.thorium-hs-lightbox[hidden] {
    display: none !important;
}

.thorium-hs-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 10, .92);
    backdrop-filter: blur(8px);
}

.thorium-hs-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 18px;
    padding: 34px;
}

.thorium-hs-lightbox-figure {
    display: flex;
    min-width: 0;
    max-width: min(1500px, 100%);
    max-height: calc(100vh - 68px);
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thorium-hs-lightbox-figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 125px);
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .55);
}

.thorium-hs-lightbox-caption {
    max-width: 900px;
    margin-top: 14px;
    color: #dbe2ea;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.thorium-hs-lightbox-close,
.thorium-hs-lightbox-nav {
    appearance: none;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(14, 23, 34, .86);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.thorium-hs-lightbox-close:hover,
.thorium-hs-lightbox-nav:hover,
.thorium-hs-lightbox-close:focus-visible,
.thorium-hs-lightbox-nav:focus-visible {
    background: #3545b0;
    border-color: #6574d8;
    outline: none;
    transform: scale(1.06);
}

.thorium-hs-lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 3;
    width: 48px;
    height: 48px;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

.thorium-hs-lightbox-nav {
    width: 56px;
    height: 56px;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.thorium-hs-lightbox-prev {
    justify-self: end;
}

.thorium-hs-lightbox-next {
    justify-self: start;
}

@media (max-width: 900px) {
    .thorium-hs-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thorium-hs-lightbox-dialog {
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        gap: 10px;
        padding: 22px 12px;
    }

    .thorium-hs-lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 34px;
    }
}

@media (max-width: 650px) {
    .thorium-hs-gallery-grid {
        grid-template-columns: 1fr;
    }

    .thorium-hs-gallery-image-wrap {
        aspect-ratio: 16 / 11;
    }

    .thorium-hs-lightbox-dialog {
        display: block;
        padding: 72px 12px 76px;
    }

    .thorium-hs-lightbox-figure {
        height: 100%;
    }

    .thorium-hs-lightbox-figure img {
        max-height: calc(100vh - 175px);
    }

    .thorium-hs-lightbox-nav {
        position: absolute;
        bottom: 18px;
        z-index: 3;
    }

    .thorium-hs-lightbox-prev {
        left: 20px;
    }

    .thorium-hs-lightbox-next {
        right: 20px;
    }

    .thorium-hs-lightbox-close {
        top: 16px;
        right: 16px;
    }
}


/* =========================================
   GALERIE-KONTEXT – V3
========================================= */

.thorium-hs-gallery-copy {
    display: block;
    min-height: 112px;
    padding: 16px 17px 18px;
    background: #0d1520;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.thorium-hs-gallery-card-title {
    display: block;
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.thorium-hs-gallery-card-description {
    display: block;
    color: #aeb9c6;
    font-size: 13px;
    line-height: 1.55;
}

.thorium-hs-lightbox-caption {
    display: block;
    width: min(900px, 100%);
    padding: 13px 18px 15px;
    background: rgba(9, 16, 25, .88);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    backdrop-filter: blur(8px);
}

.thorium-hs-lightbox-caption[hidden] {
    display: none !important;
}

.thorium-hs-lightbox-title {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.thorium-hs-lightbox-description {
    display: block;
    margin-top: 5px;
    color: #c1cad4;
    font-size: 14px;
    line-height: 1.55;
}

.thorium-hs-lightbox-title[hidden],
.thorium-hs-lightbox-description[hidden] {
    display: none !important;
}

@media (max-width: 650px) {
    .thorium-hs-gallery-copy {
        min-height: 0;
    }

    .thorium-hs-lightbox-caption {
        margin-top: 10px;
        padding: 11px 13px 12px;
    }
}
