/* Login-Seite: linke Brand-Hälfte mit animiertem Produkt-Showcase.
   Grundsatz: Der Grundzustand jedes Elements ist sein ENDZUSTAND. Animationen
   laufen nur von einem Startzustand dorthin (animation-fill-mode: both). Wer
   „Bewegung reduzieren" eingestellt hat, bekommt deshalb sofort ein fertiges,
   ruhiges Bild — ohne eigene Sonderstyles für jedes Element.
   Animiert werden ausschließlich transform und opacity (GPU, kein Layout). */

.login-brand {
    flex: 1;
    min-width: 0;
    background: linear-gradient(160deg, #1a2f6e 0%, #2563eb 60%, #1e40af 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem 3.5rem;
    position: relative;
    overflow: hidden;
    overflow: clip; /* wie hidden, aber ohne Scroll-Container: sticky bleibt wirksam */
    isolation: isolate;
    color: #fff;
}
/* Die beiden Lichtkreise der alten Seite bleiben — sie treiben jetzt langsam. */
.login-brand::before,
.login-brand::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
.login-brand::before {
    width: 520px; height: 520px;
    background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.09), rgba(255,255,255,.03) 60%, transparent 70%);
    top: -170px; right: -170px;
    animation: lb-drift 22s ease-in-out infinite alternate;
}
.login-brand::after {
    width: 340px; height: 340px;
    background: radial-gradient(circle at 60% 60%, rgba(96,165,250,.28), rgba(255,255,255,.04) 65%, transparent 72%);
    bottom: -100px; left: -100px;
    animation: lb-drift 26s ease-in-out infinite alternate-reverse;
}
@keyframes lb-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-40px, 30px, 0) scale(1.08); }
}

.lb-inner {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- Kopf: Logo, Name, Untertitel ---------- */
.lb-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* Logo-Kachel: Die Logodatei hat einen deckend weissen Hintergrund
   (sl-up-online_logo.png ist trotz Endung ein JPEG, kann also keine
   Transparenz). Die weisse Fläche IST die Kachel: gleiche Rundung, Logo
   randlos eingepasst, weicher Schatten und feiner heller Ring. */
.login-brand-logo {
    width: 84px; height: 84px;
    background: #fff;
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(9,20,54,.32), 0 2px 6px rgba(9,20,54,.18);
    border: 1px solid rgba(255,255,255,.55);
    flex-shrink: 0;
}
.login-brand-logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 9px;
    display: block;
}
.login-brand h1 {
    color: #fff;
    font-family: 'Young Serif', 'Young Serif Fallback', Georgia, serif; /* Wortmarke: Young Serif, nur Schnitt 400 (Entscheidung 2026-10-11) */
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin: 0 0 .35rem;
    line-height: 1.1;
}
.lb-sub {
    color: rgba(255,255,255,.9);
    font-size: 1rem;
    margin: 0 0 2.25rem;
}

/* ---------- Showcase ---------- */
.lsc { width: 100%; }
/* Alle Folien liegen im selben Rasterfeld übereinander: Die Bühne ist so hoch
   wie die höchste Folie, beim Wechsel springt nichts. */
.lsc-stage { display: grid; }
.lsc-slide {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(24px, 0, 0);
    transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1), visibility 0s linear .6s;
}
.lsc-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .5s ease .1s, transform .6s cubic-bezier(.2,.8,.2,1) .1s, visibility 0s;
}
.lsc-slide.is-leaving { transform: translate3d(-24px, 0, 0); }

.lsc-visual {
    width: 100%;
    height: 236px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}
.lsc-copy { text-align: center; max-width: 380px; }
.lsc-title {
    text-wrap: balance;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.3px;
    line-height: 1.25;
    margin: 0 0 .4rem;
    color: #fff;
}
.lsc-title .bi { font-size: 1.05rem; opacity: .85; margin-right: .4rem; }
.lsc-text {
    text-wrap: pretty;
    font-size: .95rem;
    line-height: 1.5;
    color: rgba(255,255,255,.92);
    margin: 0;
}

/* Navigation: nur sichtbar, wenn das Skript läuft (ohne JS bleibt Folie 1 stehen). */
.lsc-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.5rem;
}
.lsc.is-ready .lsc-nav { display: flex; }
.lsc-dots { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.lsc-dot {
    /* Klickfläche 32×24, sichtbarer Balken schmaler */
    width: 32px; height: 24px;
    padding: 0; border: 0; background: none; cursor: pointer;
    display: flex; align-items: center;
    border-radius: 6px;
}
.lsc-dot span {
    display: block;
    width: 100%; height: 4px;
    border-radius: 99px;
    background: rgba(255,255,255,.25);
    overflow: hidden;
    position: relative;
}
.lsc-dot span::after {
    content: '';
    position: absolute; inset: 0;
    background: #fff;
    border-radius: inherit;
    transform-origin: left center;
    transform: scaleX(0);
}
.lsc-dot.is-done span::after { transform: scaleX(1); opacity: .55; }
.lsc-dot[aria-current="true"] span::after {
    transform: scaleX(1);
    animation: lsc-fill var(--lsc-dur, 6500ms) linear both;
}
.lsc.is-paused .lsc-dot[aria-current="true"] span::after { animation-play-state: paused; }
/* Pause (WCAG 2.2.2) hält auch die Daueranimationen an: Schweben, Pulsieren, Lichtkreise. */
.lsc.is-paused .mk-float,
.lsc.is-paused .mk-live-dot::after,
.login-brand.is-paused::before,
.login-brand.is-paused::after { animation-play-state: paused; }
@keyframes lsc-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.lsc-toggle {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.08);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .95rem;
    cursor: pointer;
    padding: 0;
    transition: background .15s;
}
.lsc-toggle:hover { background: rgba(255,255,255,.18); }
.lsc-dot:focus-visible,
.lsc-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ---------- Trust-Leiste ---------- */
.lb-trust {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}
.lb-trust li {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    padding: .35rem .75rem;
    border-radius: 99px;
    white-space: nowrap;
}
.lb-trust .bi { color: #86efac; }

/* =====================================================================
   Mini-Oberflächen („Mocks"). Rein dekorativ (aria-hidden), Beispieldaten.
   ===================================================================== */
.mk-card {
    background: #fff;
    color: #0f172a;
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(9,20,54,.45), 0 4px 12px rgba(9,20,54,.18);
    padding: 1rem 1.1rem;
    width: 100%;
    position: relative;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
}
.mk-float { width: min(100%, 330px); flex-shrink: 1; min-width: 0; }
.mk-float.is-narrow { width: min(62%, 240px); }
.is-active .mk-float { animation: mk-float 6s ease-in-out .9s infinite; }
@keyframes mk-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(0, -6px, 0); }
}
.is-active .mk-card { animation: mk-rise .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes mk-rise { from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.97); } }

.mk-row { display: flex; align-items: center; gap: .6rem; }
.mk-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px; color: #fff; flex-shrink: 0;
}
.mk-muted { color: #64748b; font-size: 12px; }
.mk-strong { font-weight: 700; }
.mk-pill {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: 3px 9px; border-radius: 99px;
    font-size: 11px; font-weight: 700;
}
.c-blue   { background: #2563eb; }
.c-green  { background: #10b981; }
.c-amber  { background: #f59e0b; }
.c-violet { background: #8b5cf6; }
.c-rose   { background: #f43f5e; }
.c-slate  { background: #475569; }
.c-teal   { background: #0d9488; }

/* --- Szene: Urlaubsantrag --- */
.mk-req-dates {
    margin: .8rem 0 .75rem;
    background: #f1f5f9;
    border-radius: 10px;
    padding: .55rem .7rem;
    display: flex; align-items: center; gap: .5rem;
}
.mk-req-dates .bi { color: #2563eb; }
.mk-bar { height: 7px; background: #e2e8f0; border-radius: 99px; overflow: hidden; margin-top: .35rem; }
.mk-bar i {
    display: block; height: 100%; width: 100%;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: inherit;
    transform-origin: left center;
    transform: scaleX(var(--w, .6));
}
.is-active .mk-bar i { animation: mk-grow 1.1s cubic-bezier(.2,.8,.2,1) .5s both; }
@keyframes mk-grow { from { transform: scaleX(0); } }
.mk-stamp {
    position: absolute;
    top: .9rem; right: .9rem;
    background: #dcfce7; color: #047857;
    border: 2px solid #10b981;
    transform: rotate(-8deg);
}
.is-active .mk-stamp { animation: mk-stamp .45s cubic-bezier(.3,1.6,.5,1) 1.5s both; }
@keyframes mk-stamp { from { opacity: 0; transform: rotate(-8deg) scale(2.2); } }
.mk-actions { display: flex; gap: .5rem; margin-top: .85rem; }
.mk-btn {
    flex: 1; text-align: center;
    padding: 6px 0; border-radius: 8px;
    font-size: 12px; font-weight: 700;
    background: #f1f5f9; color: #64748b;
}
.mk-btn.is-primary { background: #10b981; color: #fff; }
.is-active .mk-btn.is-primary { animation: mk-press .35s ease 1.25s both; }
@keyframes mk-press { 50% { transform: scale(.94); } }

/* --- Szene: Team-Kalender --- */
.mk-cal { display: grid; grid-template-columns: 30px repeat(10, 1fr); gap: 3px; align-items: center; margin-top: .6rem; }
.mk-cal-h { font-size: 10px; color: #94a3b8; text-align: center; font-weight: 600; }
.mk-cal-h.is-hol { color: #e11d48; }
.mk-cal .mk-avatar { width: 24px; height: 24px; font-size: 10px; }
.mk-cal-cell { height: 18px; border-radius: 4px; background: #f1f5f9; }
.mk-cal-cell.is-hol { background: repeating-linear-gradient(135deg, #fee2e2 0 4px, #fff1f2 4px 8px); }
.mk-cal-bar {
    height: 18px; border-radius: 5px;
    transform-origin: left center;
}
.is-active .mk-cal-bar { animation: mk-grow .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--d, 0) * .18s); }
.mk-legend { display: flex; gap: .75rem; margin-top: .7rem; flex-wrap: wrap; }
.mk-legend span { display: inline-flex; align-items: center; gap: .3rem; font-size: 11px; color: #475569; }
.mk-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* --- Szene: Stechuhr --- */
.mk-clock { display: flex; align-items: center; gap: 1rem; }
.mk-ring { width: 92px; height: 92px; flex-shrink: 0; position: relative; }
.mk-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mk-ring circle { fill: none; stroke-width: 9; }
.mk-ring .bg { stroke: #e2e8f0; }
.mk-ring .fg {
    stroke: #2563eb;
    stroke-linecap: round;
    stroke-dasharray: 239;
    stroke-dashoffset: 72; /* ~70 % von 8 h */
}
.is-active .mk-ring .fg { animation: mk-ring 1.4s cubic-bezier(.2,.8,.2,1) .45s both; }
@keyframes mk-ring { from { stroke-dashoffset: 239; } }
.mk-ring-label {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    line-height: 1.1;
}
.mk-ring-label b { font-size: 17px; font-variant-numeric: tabular-nums; }
.mk-ring-label small { font-size: 10px; color: #64748b; }
.mk-live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #10b981;
    display: inline-block; position: relative;
}
.is-active .mk-live-dot::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: #10b981;
    animation: mk-ping 1.6s ease-out infinite;
}
@keyframes mk-ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.mk-time { font-size: 26px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.mk-stamp-btn {
    margin-top: .55rem;
    display: inline-flex; align-items: center; gap: .35rem;
    background: #fee2e2; color: #b91c1c;
    padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 700;
}
.mk-week { display: flex; gap: 5px; align-items: flex-end; height: 46px; margin-top: .9rem; }
.mk-week div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: flex-end; }
.mk-week i {
    display: block; width: 100%; border-radius: 4px 4px 2px 2px;
    background: #bfdbfe; height: var(--h, 50%);
    transform-origin: bottom center;
}
.mk-week .is-today i { background: #2563eb; }
.mk-week small { font-size: 9px; color: #94a3b8; line-height: 1; }
.is-active .mk-week i { animation: mk-grow-y .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.6s + var(--d, 0) * .08s); }
@keyframes mk-grow-y { from { transform: scaleY(0); } }

/* --- Szene: Schichtplan --- */
.mk-shift { display: grid; grid-template-columns: 30px repeat(5, 1fr); gap: 4px; margin-top: .6rem; align-items: center; }
.mk-shift .mk-avatar { width: 24px; height: 24px; font-size: 10px; }
.mk-sh {
    height: 24px; border-radius: 6px;
    font-size: 10px; font-weight: 700; color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.mk-sh.is-off { background: #f1f5f9; color: #94a3b8; }
.is-active .mk-sh { animation: mk-pop .4s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(.35s + var(--d, 0) * .06s); }
@keyframes mk-pop { from { opacity: 0; transform: scale(.4); } }
.mk-warn {
    margin-top: .7rem;
    display: flex; align-items: center; gap: .4rem;
    font-size: 11px; font-weight: 600; color: #047857;
    background: #ecfdf5; border-radius: 8px; padding: 5px 8px;
}
.is-active .mk-warn { animation: mk-rise .5s ease 1.6s both; }

/* --- Szene: App & Push --- */
.mk-phone {
    width: 150px; height: 228px;
    border-radius: 28px;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    border: 5px solid #0b1220;
    box-shadow: 0 24px 48px -12px rgba(9,20,54,.55), inset 0 0 0 1px rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
    padding: 30px 8px 8px;
}
.is-active .mk-phone { animation: mk-rise .7s cubic-bezier(.2,.8,.2,1) both; }
.mk-phone::before {
    content: ''; position: absolute; top: 7px; left: 50%;
    width: 44px; height: 12px; margin-left: -22px;
    background: #000; border-radius: 99px;
}
.mk-phone-time { color: #fff; text-align: center; font-size: 30px; font-weight: 300; letter-spacing: -1px; line-height: 1; }
.mk-phone-date { color: rgba(255,255,255,.6); text-align: center; font-size: 9px; margin: 3px 0 10px; }
.mk-notif {
    background: rgba(255,255,255,.92);
    border-radius: 12px;
    padding: 7px 8px;
    display: flex; gap: 6px; align-items: flex-start;
    margin-bottom: 5px;
    font-size: 9.5px; line-height: 1.3; color: #0f172a;
}
.mk-notif img { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; background: #fff; object-fit: contain; }
.mk-notif b { display: block; font-size: 9.5px; }
.is-active .mk-notif { animation: mk-drop .55s cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(.9s + var(--d, 0) * .9s); }
@keyframes mk-drop { from { opacity: 0; transform: translate3d(0, -30px, 0) scale(.92); } }
.mk-badges { display: flex; flex-direction: column; gap: .5rem; margin-left: 1rem; }
.mk-badge {
    display: inline-flex; align-items: center; gap: .45rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: .45rem .7rem;
    border-radius: 10px;
    font-size: 12px; font-weight: 600;
    white-space: nowrap;
}
.mk-badge .bi { font-size: 15px; }
.mk-badge b { font-size: 11px; background: rgba(255,255,255,.2); border-radius: 5px; padding: 1px 5px; }
.is-active .mk-badge { animation: mk-slide-in .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.4s + var(--d, 0) * .15s); }
@keyframes mk-slide-in { from { opacity: 0; transform: translate3d(16px, 0, 0); } }

/* --- Szene: Feiertage & Ferien --- */
.mk-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: .5rem; text-align: center; }
.mk-day {
    font-size: 10.5px; line-height: 19px; height: 19px;
    border-radius: 5px; color: #334155; font-variant-numeric: tabular-nums;
}
.mk-day.is-fer { background: #fef3c7; color: #92400e; }
.mk-day.is-hol { background: #f43f5e; color: #fff; font-weight: 700; }
.is-active .mk-day.is-fer,
.is-active .mk-day.is-hol { animation: mk-pop .35s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(.2s + (var(--d, 0) - 20) * .05s); }

/* =====================================================================
   Responsive
   ===================================================================== */

/* Schmale Split-Ansicht (Tablet quer, kleine Laptops): Formular etwas
   schmaler, damit die Brand-Hälfte nicht unter ~370 px fällt. */
@media (min-width: 769px) and (max-width: 1099px) {
    .login-split .login-form-side { width: 400px; padding-left: 2rem; padding-right: 2rem; }
    .login-brand { padding: 2.5rem 1.5rem 3.5rem; }
    .mk-float.is-narrow { width: min(60%, 230px); }
    .lsc-visual { height: 220px; }
    .mk-card { font-size: 12px; padding: .9rem; }
    .mk-badges { margin-left: .6rem; }
    .mk-badge { font-size: 11px; padding: .4rem .55rem; }
}

/* Niedrige Fenster (Laptop mit 768–800 px Höhe): alles etwas enger. */
@media (min-width: 769px) and (max-height: 820px) {
    .login-brand-logo { width: 64px; height: 64px; border-radius: 18px; margin-bottom: .8rem; }
    .login-brand-logo img { padding: 7px; }
    .login-brand h1 { font-size: 1.9rem; }
    .lb-sub { margin-bottom: 1.4rem; }
    .lsc-visual { height: 200px; margin-bottom: 1rem; }
    .mk-phone { transform: scale(.88); }
    .lb-trust { margin-top: 1.25rem; }
}
@media (min-width: 769px) and (max-height: 680px) {
    .lb-trust { display: none; }
    .lsc-visual { height: 180px; }
}
/* Handy quer (z. B. 844×390): nur Text-Ticker, keine Mini-Oberflächen. */
@media (min-width: 769px) and (max-height: 520px) {
    /* Die Formularspalte ist hier höher als der Bildschirm: Inhalt oben
       festhalten statt in der Mitte einer langen Spalte zu verstecken. */
    .login-brand { justify-content: flex-start; padding-top: 1.25rem; padding-bottom: 2.5rem; }
    .lb-inner { position: sticky; top: 1.25rem; }
    .login-brand-logo { width: 48px; height: 48px; border-radius: 13px; margin-bottom: .5rem; }
    .login-brand-logo img { padding: 5px; }
    .login-brand h1 { font-size: 1.5rem; }
    .lsc-visual { display: none; }
    .lb-sub { margin-bottom: 1rem; }
}

/* Große Bildschirme: Showcase darf wachsen. */
@media (min-width: 1500px) and (min-height: 900px) {
    .lb-inner { max-width: 500px; }
    .lsc-visual { height: 270px; }
    .mk-float { width: min(100%, 370px); }
    .mk-card { font-size: 14px; }
    .lsc-title { font-size: 1.5rem; }
    .lsc-text { font-size: 1.02rem; }
}

/* Handy / gestapelt: Brand-Bereich als kompakter Kopf über dem Formular.
   Keine Mini-Oberflächen, nur ein ruhiger Einzeiler-Ticker mit fester Höhe —
   das Formular bleibt oben im Bild. */
@media (max-width: 768px) {
    .login-brand { flex: none; padding: 1.25rem 1.25rem 1rem; }
    .login-brand::before { width: 300px; height: 300px; top: -140px; right: -120px; }
    .login-brand::after { display: none; }
    .lb-inner { max-width: 520px; align-items: stretch; }
    .lb-head {
        flex-direction: row;
        text-align: left;
        gap: .8rem;
        margin-bottom: .9rem;
    }
    .login-brand-logo { width: 48px; height: 48px; border-radius: 13px; margin: 0; }
    .login-brand-logo img { padding: 5px; }
    .login-brand h1 { font-size: 1.45rem; letter-spacing: -.5px; margin: 0; }
    .lb-sub { font-size: .85rem; margin: 0; }
    .lsc {
        background: rgba(15,23,42,.16);
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 14px;
        padding: .65rem .8rem .45rem;
    }
    .lsc-visual { display: none; }
    .lsc-slide { align-items: stretch; }
    .lsc-copy { text-align: left; max-width: none; }
    .lsc-title { font-size: .98rem; margin-bottom: .15rem; }
    .lsc-text {
        font-size: .82rem;
        line-height: 1.4;
        /* genau zwei Zeilen reservieren: kein Springen zwischen den Folien */
        min-height: 2.8em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .lsc-nav { margin-top: .25rem; justify-content: space-between; }
    .lsc-dot { width: 22px; }
    .lsc-toggle { width: 28px; height: 28px; font-size: .85rem; }
    .lb-trust { display: none; }
}
@media (max-width: 360px) {
    .lb-sub { display: none; }
    .lsc-text { min-height: 4.2em; -webkit-line-clamp: 3; }
}

/* Bewegung reduzieren: keine Dauer-/Einblendanimationen, kein Autoplay
   (das Skript startet dann angehalten). Endzustände bleiben sichtbar. */
@media (prefers-reduced-motion: reduce) {
    .login-brand::before,
    .login-brand::after,
    .login-brand *,
    .login-brand *::before,
    .login-brand *::after {
        animation: none !important;
    }
    /* Ausnahme: der lineare Fortschrittsbalken. Er ist der Taktgeber — ohne
       ihn bliebe „Fortsetzen" wirkungslos. Autoplay startet trotzdem nie von selbst. */
    .lsc-dot[aria-current="true"] span::after { animation: lsc-fill var(--lsc-dur, 6500ms) linear both !important; }
    .lsc.is-paused .lsc-dot[aria-current="true"] span::after { animation-play-state: paused !important; }
    .lsc-slide, .lsc-slide.is-active { transition: opacity .2s linear, visibility 0s; transform: none; }
    .lsc-slide.is-leaving { transform: none; }
}
