:root{
    color-scheme:dark;
    --ink:#fff;
    --line:rgba(80,177,255,.58);
    --navy:#031329;
    --yellow:#ffcf31;
}

*{
    box-sizing:border-box;
}

html{
    min-height:100%;
    background:#06132e;
}

body{
    margin:0;
    min-height:100vh;
    color:var(--ink);
    font-family:Arial,Helvetica,sans-serif;
    background-color:#06132e;
    background-image:url('../assets/images/space-mars-background.jpg');
    background-repeat:no-repeat;
    background-position:top center;
    background-size:cover;
}

.home{
    position:relative;
    min-height:1024px;
    padding-bottom:58px;
    overflow-x:hidden;
}


/* =========================================================
   HERO / LOGO + TAGLINE
   ========================================================= */

.hero{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-top:12px;
}

.hero-brand{
    width:min(39vw,590px);
    display:flex;
    flex-direction:column;
    align-items:center;
}

.brand{
    display:block;
    width:100%;
    height:auto;
    filter:drop-shadow(0 2px 1px rgba(0,0,0,.25));
}

.tagline{
    display:block;
    width:82%;
    height:auto;
    margin-top:-9%;
}

.page-intro{
    background:rgba(0,0,0,.55);
    border-radius:10px;
    padding:30px 30px;
    margin-bottom:2vw;
    margin-top:-1vw;
    font-size:14px;
    line-height:17px;
    font-weight:500;
}


/* =========================================================
   RELEASES
   ========================================================= */

.releases{
    width:min(1266px,calc(100% - 48px));
    margin:0.5vw auto 0;
}

.releases-heading{
    display:block;
    width:207px;
    height:59px;
    object-fit:contain;
    object-position:left center;
    margin:0 0 2px -5px;
}

.release-grid{
    display:grid;
    grid-template-columns:repeat(4,282px);
    justify-content:space-between;
    row-gap:10px;
    align-items:start;
}

.release{
    min-width:0;
    width:282px;
    height:400px;
    padding:0 0 5px;
    margin-bottom: 1vw;
    background:rgba(3,19,41,.65);
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 1px 5px rgba(0,0,0,.36);
}

.cover{
    display:block;
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border:1px solid #1870a8;
    border-radius:10px;
}

.release h2{
    font-size:17px;
    line-height:20px;
    font-weight:700;
    margin:4px 3px 0;
    padding:0 5px 0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-shadow:0 1px 2px #000;
}

.release p{
    font-size:14px;
    line-height:17px;
    margin:0 3px 5px;
    padding: 0 5px 0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    text-shadow:0 1px 2px #000;
}


/* =========================================================
   STREAMING SERVICES
   ========================================================= */

.services{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:4px;
    padding:0 5px;
}

.service{
    height:66px;
    min-width:0;
    border:1px solid rgba(67,154,218,.57);
    border-radius:5px;
    background:rgba(0,12,30,.78);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    color:#fff;
    text-decoration:none;
    text-align:center;
    overflow:hidden;
}

.service svg{
    width:29px;
    height:29px;
    display:block;
    fill:currentColor;
    flex:none;
}

.service img{
    width:29px;
    height:29px;
    display:block;
    object-fit:contain;
    flex:none;
}

.service span{
    font-size:9px;
    line-height:11px;
    white-space:normal;
}

.spotify svg{
    fill:#1ed760;
}

.spotify svg path{
    fill:none;
    stroke:#061a15;
    stroke-width:2;
    stroke-linecap:round;
}

.apple svg{
    fill:#f42f52;
}

.apple svg path{
    fill:#fff;
}

.youtube svg{
    fill:#ff1834;
}

.youtube svg path{
    fill:#fff;
}

.amazon svg{
    fill:#14a5ff;
}

.amazon svg path{
    fill:none;
    stroke:#fff;
    stroke-width:2;
    stroke-linecap:round;
}

.deezer svg{
    fill:#8b25ff;
}

.service:hover,
.service:focus-visible{
    outline:2px solid var(--yellow);
    outline-offset:1px;
    transform:translateY(-1px);
}


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

footer{
    position:absolute;
    bottom:12px;
    left:0;
    right:0;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    color:white;
    font-size:14px;
    text-shadow:0 1px 3px #160800;
    background:rgba(88,25,4,.48);
    padding:8px 12px;
}

footer a{
    color:white;
    text-decoration:none;
}

footer a:hover,
footer a:focus-visible{
    text-decoration:underline;
    color:#ffdf62;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.visually-hidden{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}


/* =========================================================
   LEGAL PAGES
   ========================================================= */

.legal-page{
    min-height:100vh;
    margin:0;
    padding:50px 20px 0;
    background:#06132e !important;
    background-image:none !important;
    color:#fff;
}

.legal{
    display:block;
    width:100%;
    max-width:740px;
    margin-left:auto;
    margin-right:auto;
    padding:0;
    line-height:1.6;
    text-align:left;
}

.legal h1{
    font-size:32px;
    margin:0 0 32px;
}

.legal h2{
    font-size:24px;
    line-height:1.25;
    margin:42px 0 18px;
}

.legal h3{
    font-size:18px;
    line-height:1.35;
    margin:26px 0 8px;
}

.legal p{
    margin:0 0 16px;
}

.legal ul{
    margin:0 0 20px;
    padding-left:24px;
}

.legal li{
    margin-bottom:8px;
}

.legal a{
    color:#ffdb4f;
}

/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1300px){

    .hero-brand{
        width:min(56vw,590px);
    }

    .releases{
        width:min(920px,calc(100% - 40px));
    }

    .release-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:18px 26px;
    }

    .release{
        width:auto;
        height:auto;
        min-height:365px;
    }

    .home{
        min-height:100vh;
        padding-bottom:80px;
    }
}


/* =========================================================
   SMARTPHONE
   1 RELEASE PRO ZEILE
   ========================================================= */

@media(max-width:760px){

 .home{
        min-height:100vh;
        padding-bottom:10px;
    }

    body{
        background-position:center center;
        background-size:cover;
        background-attachment:fixed;
    }

    .home{
        min-height:100vh;
    }

    .hero{
        padding-top:20px;
    }

    .hero-brand{
        width:min(78vw,590px);
    }
    
    .page-intro{
	max-width:420px;
    margin-right:auto;
    margin-left:auto;
    }

    .releases{
        width:calc(100% - 28px);
        margin-top:1.5vw;
    }

    .releases-heading{
        width:180px;
        height:50px;
        margin-bottom:6px;
    }

    /*
       Smartphone:
       exakt ein Release pro Zeile
    */
    .release-grid{
        grid-template-columns:1fr;
        gap:14px;
        justify-items:center;
    }

    /*
       Alle Releases gleich behandeln.
       Maximal 420px breit und mittig.
    */
    .release{
        width:100%;
        max-width:420px;
        height:auto;
        min-height:0;
        margin-left:auto;
        margin-right:auto;
        padding-bottom:5px;
    }

    /*
       Cover auf Smartphone quadratisch.
    */
    .cover{
        width:100%;
        aspect-ratio:1;
        object-fit:cover;
    }

    .release h2{
        font-size:15px;
        line-height:18px;
    }

    .release p{
        font-size:12px;
        line-height:15px;
        white-space:normal;
    }

    .services{
        gap:4px;
        padding:0 4px;
    }

    .service{
        height:64px;
    }

    .service svg{
        width:27px;
        height:27px;
    }

    .service span{
        font-size:8px;
        line-height:10px;
    }

    footer{
        position:relative;
        bottom:auto;
        margin-top:38px;
        font-size:12px;
        gap:9px;
    }

}


/* =========================================================
   SMALL SMARTPHONE
   ========================================================= */

@media(max-width:390px){

    .services{
        grid-template-columns:repeat(5,minmax(0,1fr));
    }

    .service span{
        font-size:7px;
    }

    .release h2{
        font-size:14px;
    }

    .release p{
        font-size:11px;
    }
}