:root {
    --thorium-blue: #3545b0;
    --thorium-blue-dark: #283674;
    --thorium-blue-light: #6275e6;

    --thorium-text: #111820;
    --thorium-muted: #66717d;
    --thorium-border: #dce2e9;

    --thorium-soft: #f5f7fa;
    --thorium-soft-blue: #eef2f8;

    --thorium-dark: #060a0f;
    --thorium-dark-2: #0b1119;

    --thorium-white: #ffffff;
}


/* ==========================================================
   BASIS
========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color:
        var(--thorium-text);

    background:
        #ffffff;
}

a {
    color:
        inherit;
}


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

.site-header {
    position:
        sticky;

    top:
        0;

    z-index:
        50;

    border-bottom:
        1px solid
        rgba(255, 255, 255, .08);

    background:
        rgba(5, 9, 14, .96);

    backdrop-filter:
        blur(14px);
}

.header-inner {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    min-height:
        88px;

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;
}

.brand {
    display:
        inline-flex;

    align-items:
        center;

    text-decoration:
        none;
}

.brand img {
    display:
        block;

    width:
        230px;

    height:
        auto;

    max-width:
        100%;
}

.nav {
    display:
        flex;

    align-items:
        center;

    gap:
        6px;
}

.nav a {
    position:
        relative;

    padding:
        12px 14px;

    border-radius:
        5px;

    color:
        #dce2e9;

    text-decoration:
        none;

    font-size:
        14px;

    font-weight:
        700;

    transition:
        color .2s ease,
        background .2s ease;
}

.nav a:hover {
    color:
        #ffffff;

    background:
        rgba(255, 255, 255, .07);
}

.nav a.active::after {
    content:
        "";

    position:
        absolute;

    left:
        14px;

    right:
        14px;

    bottom:
        4px;

    height:
        2px;

    border-radius:
        999px;

    background:
        var(--thorium-blue);
}

.nav .login {
    margin-left:
        7px;

    color:
        #ffffff;

    background:
        var(--thorium-blue-dark);

    border:
        1px solid
        #35458f;

    box-shadow:
        0 7px 18px
        rgba(40, 54, 116, .18);
}

.nav .login:hover {
    background:
        var(--thorium-blue);
}


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

.hero {
    position:
        relative;

    min-height:
        440px;

    overflow:
        hidden;

    color:
        #ffffff;

    background-color:
        #02060a;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 4, 8, .86) 0%,
            rgba(0, 4, 8, .68) 28%,
            rgba(0, 4, 8, .34) 52%,
            rgba(0, 4, 8, .06) 78%,
            rgba(0, 4, 8, .02) 100%
        ),
        url('/assets/img/thorium_hero.png');

    background-size:
        cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;
}

.hero::before {
    content:
        "";

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .14) 0%,
            transparent 30%,
            transparent 78%,
            rgba(0, 0, 0, .16) 100%
        );
}

.hero-inner {
    position:
        relative;

    z-index:
        2;

    width:
        min(
            1180px,
            calc(100% - 40px)
        );

    min-height:
        440px;

    margin:
        0 auto;

    padding:
        72px 0 76px;

    display:
        flex;

    align-items:
        center;
}

.hero-copy {
    width:
        min(720px, 62%);
}

.eyebrow {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        12px;

    margin-bottom:
        20px;

    color:
        #c1cad5;

    font-size:
        13px;

    font-weight:
        800;

    letter-spacing:
        .11em;

    text-transform:
        uppercase;
}

.eyebrow::before {
    content:
        "";

    width:
        36px;

    height:
        3px;

    border-radius:
        999px;

    background:
        var(--thorium-blue);
}

.hero h1 {
    margin:
        0;

    max-width:
        760px;

    font-size:
        clamp(
            44px,
            5.7vw,
            68px
        );

    line-height:
        1;

    letter-spacing:
        -.045em;

    font-weight:
        900;
}

.hero h1 span {
    color:
        #5d70de;

    font-style:
        italic;
}

.hero p {
    max-width:
        650px;

    margin:
        25px 0 0;

    color:
        #c8d0da;

    font-size:
        18px;

    line-height:
        1.7;
}

.hero-actions {
    margin-top:
        30px;

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;
}


/* ==========================================================
   BUTTONS
========================================================== */

.button {
    min-height:
        46px;

    padding:
        0 18px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    border-radius:
        5px;

    border:
        1px solid
        #35458f;

    background:
        var(--thorium-blue-dark);

    color:
        #ffffff;

    text-decoration:
        none;

    font-size:
        14px;

    font-weight:
        800;

    box-shadow:
        0 8px 18px
        rgba(40, 54, 116, .17);

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

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

    background:
        var(--thorium-blue);

    border-color:
        var(--thorium-blue);

    box-shadow:
        0 11px 24px
        rgba(40, 54, 116, .24);
}

.button.secondary {
    border-color:
        rgba(255, 255, 255, .24);

    background:
        rgba(7, 13, 20, .64);

    box-shadow:
        none;
}

.button.secondary:hover {
    background:
        rgba(255, 255, 255, .09);

    border-color:
        rgba(255, 255, 255, .38);
}


/* ==========================================================
   PORTAL-EINSTIEGE
========================================================== */

.portal-main {
    padding:
        72px 20px 82px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fb 100%
        );
}

.portal-inner {
    width:
        min(1180px, 100%);

    margin:
        0 auto;
}

.section-head {
    max-width:
        760px;

    margin-bottom:
        34px;
}

.section-head h2 {
    margin:
        0;

    color:
        var(--thorium-text);

    font-size:
        clamp(
            31px,
            4vw,
            42px
        );

    line-height:
        1.08;

    letter-spacing:
        -.03em;

    font-weight:
        900;
}

.section-line {
    width:
        46px;

    height:
        3px;

    margin:
        16px 0 17px;

    border-radius:
        999px;

    background:
        var(--thorium-blue);
}

.section-head p {
    margin:
        0;

    color:
        var(--thorium-muted);

    font-size:
        17px;

    line-height:
        1.7;
}

.portal-grid {
    display:
        grid;

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

    gap:
        18px;
}

.portal-card {
    min-height:
        255px;

    padding:
        28px;

    display:
        flex;

    flex-direction:
        column;

    border:
        1px solid
        var(--thorium-border);

    border-radius:
        10px;

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

    box-shadow:
        0 12px 28px
        rgba(18, 30, 42, .045);

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

.portal-card:hover {
    transform:
        translateY(-5px);

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

    box-shadow:
        0 18px 36px
        rgba(18, 30, 42, .09);
}

.card-icon {
    width:
        46px;

    height:
        46px;

    margin-bottom:
        22px;

    color:
        var(--thorium-blue);
}

.card-icon svg {
    width:
        100%;

    height:
        100%;

    display:
        block;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        1.8;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}

.portal-card h3 {
    margin:
        0;

    font-size:
        22px;

    line-height:
        1.2;

    font-weight:
        900;
}

.portal-card p {
    margin:
        13px 0 24px;

    color:
        var(--thorium-muted);

    font-size:
        15px;

    line-height:
        1.7;
}

.card-link {
    margin-top:
        auto;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    color:
        var(--thorium-blue);

    text-decoration:
        none;

    font-size:
        14px;

    font-weight:
        800;
}

.card-link span {
    transition:
        transform .2s ease;
}

.portal-card:hover
.card-link span {
    transform:
        translateX(4px);
}


/* ==========================================================
   UNTERER HINWEIS
========================================================== */

.support-strip {
    margin-top:
        28px;

    padding:
        22px 24px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        18px;

    border-left:
        3px solid
        var(--thorium-blue);

    border-radius:
        0 8px 8px 0;

    background:
        var(--thorium-soft-blue);
}

.support-strip strong {
    display:
        block;

    margin-bottom:
        4px;

    font-size:
        16px;
}

.support-strip span {
    color:
        var(--thorium-muted);

    font-size:
        14px;

    line-height:
        1.55;
}


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

.site-footer {
    padding:
        25px 20px;

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

    background:
        #070c12;

    color:
        #909ba8;
}

.footer-inner {
    width:
        min(1180px, 100%);

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    font-size:
        12px;
}

.footer-brand {
    color:
        #ffffff;

    font-weight:
        800;
}


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

@media (max-width: 900px) {

    .brand img {
        width:
            190px;
    }

    .nav a:not(.login) {
        display:
            none;
    }

    .hero-copy {
        width:
            min(720px, 78%);
    }

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

    .portal-card {
        min-height:
            0;
    }

    .support-strip {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

}

@media (max-width: 640px) {

    .header-inner,
    .hero-inner {
        width:
            min(
                calc(100% - 28px),
                1180px
            );
    }

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

    .brand img {
        width:
            165px;
    }

    .hero {
        min-height:
            410px;

        background-position:
            62% center;
    }

    .hero-inner {
        min-height:
            410px;

        padding:
            56px 0 62px;
    }

    .hero-copy {
        width:
            100%;
    }

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

    .hero p {
        font-size:
            16px;
    }

    .portal-main {
        padding:
            56px 16px 62px;
    }

    .footer-inner {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    .button,
    .portal-card,
    .card-link span {
        transition:
            none !important;
    }

}
