:root {
    --hintergrund: #0d0e11;
    --flaeche: #16181d;
    --flaeche-hover: #1d2026;
    --rand: #2b2f37;
    --text: #f4f5f7;
    --text-ruhig: #a8afb9;
    --akzent: #d92832;
    --schatten: 0 12px 34px rgba(0, 0, 0, .28);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% -10%, rgba(217, 40, 50, .13), transparent 32rem),
        var(--hintergrund);
    color: var(--text);
}

.seite {
    width: min(1220px, calc(100% - 36px));
    margin: 0 auto;
    padding: 54px 0 80px;
}

header {
    margin-bottom: 38px;
}

.marke {
    display: flex;
    align-items: center;
    gap: 15px;
}

.marken-symbol {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.marken-symbol img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -.04em;
}

.untertitel {
    margin: 5px 0 0;
    color: var(--text-ruhig);
    font-size: 16px;
}

.gruppe {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid var(--rand);
    border-radius: 20px;
    background: rgba(22, 24, 29, .72);
    box-shadow: var(--schatten);
}

.gruppen-kopf {
    margin-bottom: 18px;
}

.gruppen-titelzeile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gruppe h2 {
    margin: 0;
    font-size: 20px;
}

.gruppen-beschreibung {
    margin: 5px 0 0;
    color: var(--text-ruhig);
    line-height: 1.45;
}

.schloss {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid #424852;
    border-radius: 9px;
    background: #20232a;
}

.apps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.app-karte {
    display: block;
    overflow: hidden;
    border: 1px solid var(--rand);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    background: var(--flaeche);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.app-karte:hover {
    transform: translateY(-3px);
    border-color: #555c68;
    background: var(--flaeche-hover);
}

.vorschau {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(217, 40, 50, .2), rgba(217, 40, 50, .02)),
        #22252c;
    border-bottom: 1px solid var(--rand);
}

.vorschau img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ersatz-vorschau {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 800;
}

.oeffnen {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: rgba(13, 14, 17, .82);
    border: 1px solid rgba(255,255,255,.12);
}

.app-inhalt {
    padding: 15px 16px 17px;
}

.app-name {
    margin: 0;
    font-size: 17px;
}

.app-beschreibung {
    min-height: 2.8em;
    margin: 7px 0 0;
    color: var(--text-ruhig);
    line-height: 1.4;
    font-size: 14px;
}

.gesperrter-ordner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--rand);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    background: var(--flaeche);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.gesperrter-ordner:hover {
    transform: translateY(-2px);
    border-color: #555c68;
    background: var(--flaeche-hover);
}

.gesperrtes-symbol {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #22262d;
    font-size: 24px;
}

.gesperrter-ordner h3 {
    margin: 0;
    font-size: 18px;
}

.gesperrter-ordner p {
    margin: 5px 0 0;
    color: var(--text-ruhig);
}

.pfeil {
    font-size: 26px;
    color: var(--text-ruhig);
}

.zurueck {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--rand);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    background: var(--flaeche);
    font-size: 22px;
}

.leer,
.gruppen-leer {
    padding: 30px;
    border: 1px dashed #383e48;
    border-radius: 16px;
    text-align: center;
    color: var(--text-ruhig);
}

footer {
    margin-top: 34px;
    color: #707884;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 680px) {
    .seite {
        width: min(100% - 24px, 1220px);
        padding-top: 30px;
    }

    .gruppe {
        padding: 14px;
    }

    .apps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .app-beschreibung {
        display: none;
    }

    .gesperrter-ordner {
        grid-template-columns: auto 1fr;
    }

    .pfeil {
        display: none;
    }
}

@media (max-width: 410px) {
    .apps {
        grid-template-columns: 1fr;
    }
}
