html{
    scroll-behavior:smooth;
}

body{

    margin:0;
    font-family:Arial,sans-serif;

    background:#f5f8fb;

    color:#2c2c2c;

}

.hero{

    min-height:100vh;

    padding:40px 20px;

    background-image:url("/static/images/regal1unsplash.jpg");

    background-size:cover;

    background-position:center bottom;

    background-attachment:fixed;

    display:flex;

    align-items:center;

    justify-content:center;

}
.hero-overlay{

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

    padding:45px;

    border-radius:22px;

    width:min(520px,100%);

    max-width:700px;

    margin:40px 0;

    text-align:center;

    backdrop-filter:blur(5px);

}

.hero h1{

    font-size:3rem;

    margin-bottom:20px;

}

.hero p{

    font-size:1.2rem;

    line-height:1.7;

}

.hero-buttons{

    margin-top:40px;

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

}

.button{

    display:inline-block;

    padding:16px 30px;

    border-radius:14px;

    background:#44b9fc;

    color:white;

    text-decoration:none;

    font-weight:600;

    transition:.25s;

    box-shadow:0 6px 18px rgba(0,0,0,.15);

}


.button:hover{

    background:#2ea8f5;

    transform:translateY(-3px);

    box-shadow:0 10px 26px rgba(0,0,0,.2);

}


.button:active{

    transform:translateY(0);

}

.card-header{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    width:100%;

    cursor:pointer;

    text-align:center;

    padding:24px;

    box-sizing:border-box;

}

.card-header img{

    width:72px;

    height:72px;

    object-fit:contain;

    margin-bottom:18px;

}

.card-content{

    max-height:0;

    overflow:hidden;

    opacity:0;

    transition:
        max-height .45s ease,
        opacity .3s ease,
        margin .3s ease;

}

.app-links{

    display:flex;

    justify-content:center;


    margin:24px 0;

    flex-wrap:wrap;

}

.app-card{

    width:90px;
    flex:0 1 90px;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:12px 8px;

    border-radius:16px;

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

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

    text-decoration:none;

    color:inherit;

    transition:.25s;

}

.app-card:hover{

    transform:translateY(-3px);

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

}

.app-card img{

    width:36px;

    height:36px;

    object-fit:contain;

    transition:.25s;

}

.app-card:hover img{

    transform:scale(1.06);

}

.app-name{

    font-weight:500;

    text-align:center;

}

.app-platform{

    font-size:.82rem;

    opacity:.7;

    text-align:center;

}

.app-links img{

    width:48px;

    height:48px;

    object-fit:contain;

}

.section-label{
    font-size:.78rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.05em;
    opacity:.55;
    margin:20px 0 8px;
}

.open-service{

    display:block;

    text-align:center;

    padding:14px;

    border-radius:12px;

    background:#44b9fc;

    color:white;

    text-decoration:none;

    font-weight:600;

    margin-top:20px;

}

.service-cards{

    display:flex;
    flex-direction:column;

    gap:22px;

    margin-top:40px;
}


.service-card{

    display:flex;
    flex-direction:column;
    position: relative;

    overflow: hidden;

    /*border: 1px solid rgba(255,255,255,.15);*/

    align-items:center;

    text-align:center;

    text-decoration:none;

    padding:28px;

    border-radius:24px;

    background:rgba(255,255,255,0.58);

    backdrop-filter:blur(12px);

    color:#222;

    box-shadow:
        0 10px 28px rgba(0,0,0,.15);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.service-card:hover{

    transform:translateY(-3px);

    background:rgba(255,255,255,0.70);

    box-shadow:
        0 18px 40px rgba(0,0,0,.28);

}


.service-card img{

    width:72px;

    height:72px;

    object-fit:contain;

    margin-bottom:18px;

}


.service-card h3{

    margin:0;

    font-size:1.5rem;

    font-weight:700;

}


.service-card p{

    margin:10px 0 16px;

    color:#555;

    line-height:1.5;

}


.service-card span{

    color:#44b9fc;

    font-weight:600;


}

.service-card::before{

    content:"";

    position:absolute;

    background:var(--accent-color);

    left:0;
    top:0;

    width:100%;
    height:10px;

}




.service-card.expanded .card-content{

    max-height:1000px;

    opacity:1;

    margin-top:24px;

}

.service-card.inactive{

    opacity:.65;

    filter:grayscale(.15);

}

.server-status {

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    text-decoration:none;
    color:#444;

    cursor:default;
}

#server-status-icon{

    position:relative;

    z-index:1;

    width:50px;
    height:50px;

    display:block;

    transition:transform .25s ease;

}

/* Der eigentliche Icon-Umriss (Maske) sitzt auf einem eigenen
   Kind-Element. Grund: "mask" rendert das Element inkl. aller
   Kind-/Pseudo-Elemente zunächst in einen eigenen Puffer und
   schneidet DANACH auf die Icon-Form zu. Läge das ::before (Glow)
   auf demselben Element wie die mask, würde es auf die Icon-Form
   zurechtgeschnitten und könnte nie als freier Kreis darüber hinausleuchten. */
.status-icon-shape{

    position:absolute;
    inset:0;

    display:block;

    background-color:#999;

    -webkit-mask:url("/static/icons/power.svg") center/contain no-repeat;
    mask:url("/static/icons/power.svg") center/contain no-repeat;

    transition:background-color .25s ease;

}

#server-status-icon.online .status-icon-shape {

    background-color:#00c896;

}
#server-status-icon.standby .status-icon-shape {

    background-color:#ff9800;

}

#server-status-icon.standby {

    cursor:pointer;

}


#server-status-icon.standby:hover{
    transform:scale(1.5);
    filter:
        drop-shadow(0 0 3px rgba(255,152,0,.9))
        drop-shadow(0 0 8px rgba(255,152,0,.55));
}

.app-card--multi{
    position:relative;
    cursor:pointer;
}

.app-link-picker{
    position:absolute;
    transform:translateX(-50%);
    margin-top:8px;
    background:rgba(255,255,255,.97);
    border-radius:12px;
    box-shadow:0 8px 24px rgba(0,0,0,.2);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    z-index:1000;
    min-width:140px;
}

.app-link-picker a{
    padding:10px 14px;
    text-decoration:none;
    color:#222;
    font-size:.85rem;
    text-align:center;
    white-space:nowrap;
}

.app-link-picker a:hover{
    background:rgba(68,185,252,.15);
}
