/* lvw.training und lvw.training/login.php: eine Seite, kein Scrollen.
   Gehoert keinem der beiden Baeume. Dunkel und rot wie die App. */

:root {
    --bg: #0b0b0d;
    --fg: #f4f4f5;
    --muted: #9a9aa3;
    --line: #26262b;
    --card: #141417;
    --rot: #e02e22;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

a { color: inherit; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

/* Kopf */

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; }
.brand img { height: 32px; width: auto; }

.btn {
    display: inline-block;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--fg);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color .15s, background .15s;
}

.btn:hover { border-color: var(--muted); background: var(--card); }
.btn.rot { background: var(--rot); border-color: var(--rot); color: #fff; }
.btn.rot:hover { background: #c4271c; }

/* Mitte */

main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 2rem;
    padding: 1rem 1.25rem 1.5rem;
    max-width: 72rem;
    width: 100%;
    margin: 0 auto;
}

.icon { width: 64px; height: 64px; border-radius: 16px; display: block; margin-bottom: 1.25rem; }

h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .75rem; }

.text p { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.05rem; max-width: 26rem; }

.laeden { display: flex; flex-wrap: wrap; gap: .75rem; }

.laden {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem .9rem .5rem .75rem;
    border-radius: 10px;
    background: #000;
    border: 1px solid #3a3a40;
    color: #fff;
    text-decoration: none;
    line-height: 1.1;
    min-width: 10.5rem;
    position: relative;
}

.laden svg { width: 26px; height: 26px; flex: none; }
.laden small { display: block; font-size: .62rem; letter-spacing: .02em; opacity: .85; }
.laden b { display: block; font-size: 1.05rem; font-weight: 600; }
.laden:hover { border-color: #6a6a72; }

.laden.bald { opacity: .55; cursor: default; }
.laden.bald::after {
    content: "bald";
    position: absolute;
    top: -.55rem; right: .6rem;
    font-size: .62rem;
    padding: .1rem .45rem;
    border-radius: 999px;
    background: var(--rot);
    color: #fff;
    opacity: 1;
}

.code { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); }

/* Die Bildschirme */

.schirme {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    min-height: 0;
    height: min(72vh, 680px);
}

.schirm {
    height: 100%;
    aspect-ratio: 780 / 1690;
    border-radius: 26px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 24px 50px -24px rgba(0,0,0,.9);
}

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

.schirm.klein { height: 88%; }

/* Fuss */

footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .75rem 1.25rem 1rem;
    font-size: .82rem;
    color: var(--muted);
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* Die Tueren (login.php) */

.tueren { display: block; align-content: center; }
.tueren h1 { text-align: center; margin-bottom: .25rem; }
.tueren .unter { text-align: center; color: var(--muted); margin: 0 0 1.75rem; }

.tuer-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 60rem; margin: 0 auto; }

.tuer {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}

.tuer:hover { border-color: var(--rot); transform: translateY(-2px); }
.tuer .tag { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rot); margin-bottom: .35rem; }
.tuer .ttl { display: block; font-size: 1.2rem; font-weight: 600; margin-bottom: .3rem; }
.tuer .sub { display: block; color: var(--muted); font-size: .92rem; }

.hinweis { text-align: center; color: var(--muted); font-size: .9rem; margin: 1.5rem auto 0; max-width: 36rem; }

/* Schmal */

@media (max-width: 760px) {
    .top { padding: .75rem 1.25rem; }
    main { grid-template-columns: 1fr; align-items: start; gap: .5rem; padding: .25rem 1.25rem 1rem; }
    footer { padding: .5rem 1.25rem .75rem; }
    .icon { width: 48px; height: 48px; margin-bottom: .75rem; }
    h1 { font-size: 1.7rem; margin-bottom: .5rem; }
    .text p { font-size: .95rem; margin-bottom: 1rem; }
    .laden { min-width: 0; padding: .45rem .75rem .45rem .6rem; }
    .laden b { font-size: .95rem; }
    .code { margin-top: .5rem; font-size: .82rem; }
    .schirme { height: auto; flex: 1; min-height: 0; align-items: flex-start; gap: .75rem; }
    .schirm { height: min(33vh, 300px); width: auto; aspect-ratio: 780 / 1200; }
    .schirm.klein { display: none; }
    .tuer-liste { grid-template-columns: 1fr; gap: .75rem; }
    .tuer { padding: 1rem 1.1rem; }
    .tuer .sub { font-size: .85rem; }
}
