/* Tokens und Reset kommen aus base.css. Hier nur die Aliase, damit die
   bestehenden lp-Variablen im restlichen Stylesheet weiterlaufen. */
:root {
    --lp-primary:      var(--dt-primary);
    --lp-primary-dark: var(--dt-primary-dark);
    --lp-accent:       var(--dt-accent);
    --lp-bg:           var(--dt-bg);
    --lp-card:         var(--dt-card);
    --lp-border:       var(--dt-border);
    --lp-text:         var(--dt-text);
    --lp-muted:        var(--dt-muted);
    --lp-soft:         var(--dt-soft);
}

/* Header */

/* Hero */

/* Module-Karten */
.lp-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 18px;
    margin: 0 0 48px;
}

@media (max-width: 600px) {
        }

.lp-module {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: 12px;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    padding: 22px 22px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    position: relative;
}

.lp-module-active {
    cursor: pointer;
}
.lp-module-active:hover,
.lp-module-active:focus-visible {
    border-color: var(--lp-primary);
    box-shadow: 0 6px 18px rgba(31, 111, 235, 0.10);
    transform: translateY(-1px);
}
.lp-module-active:focus-visible {
    outline: 3px solid rgba(31, 111, 235, 0.35);
    outline-offset: 2px;
}

.lp-module-coming {
    background: var(--lp-soft);
    border-style: dashed;
    color: var(--lp-muted);
}

.lp-module-icon {
    color: var(--lp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-module-icon svg {
    width: 68px;
    height: 68px;
}
.lp-module-coming .lp-module-icon {
    color: var(--lp-muted);
}

.lp-module-body {
    min-width: 0;
}
.lp-module-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--lp-text);
    margin: 0 0 2px;
}
.lp-module-coming .lp-module-title {
    color: var(--lp-muted);
}
.lp-module-subtitle {
    font-size: 13px;
    color: var(--lp-muted);
    margin-bottom: 8px;
}
.lp-module-desc {
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.5;
}

.lp-module-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lp-primary);
    font-size: 14px;
    font-weight: 600;
    /* Kein zweites margin-top: das obige margin-top:auto haelt die CTAs
       einer Kachelreihe auf einer Linie. Abstand nach oben per padding. */
    padding-top: 4px;
}
.lp-module-cta svg {
    transition: transform 0.15s;
}
.lp-module-active:hover .lp-module-cta svg {
    transform: translateX(3px);
}

.lp-module-badge {
    margin-top: auto;
    display: inline-block;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(91, 103, 118, 0.12);
    color: var(--lp-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hilfe-Block */

/* Footer */

/* Nutzt die volle Bildschirmbreite wie die Landing-Page (.lp-wrap).
   Die Lesbarkeit sichert nicht der Wrap, sondern das Spalten-Grid in
   /* Deckelt die Zeilenlaenge unabhaengig von der Spaltenbreite. Ohne das
   stehen im 2-Spalten-Band (1140-1520 px) bis zu 92 Zeichen pro Zeile. */
/* Im Grid uebernimmt gap den Abstand. */
/* Nummerierte Anleitungen bleiben eine durchgehende Kette. Ebenso eine Karte
   mit nur einem Abschnitt — die soll nicht als schmale Einzelspalte stehen. */
/* Ab 1400 px laeuft die Schrittkette zweispaltig — sonst steht rechts
   neben jedem Schritt eine tote Flaeche. columns statt grid, damit die
   Reihenfolge 1-2-3 | 4-5 erhalten bleibt. */
@media (min-width: 1400px) {
            }

@media (max-width: 600px) {
    }

/* Step-by-Step Anleitung */

/* Nur die Ueberschrift des Callouts steht auf eigener Zeile — sonst reisst
   jede Hervorhebung im Fliesstext den Absatz auseinander. */

/* Abschnitte innerhalb einer Modulseite */
/* Auszeichnung im Fliesstext darf nie schwerer wirken als ein Abschnittstitel. */

/* App-Karten mit QR-Code (UniFi Protect) */
.lp-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 14px 0 4px;
}
@media (max-width: 600px) {
    .lp-app-grid { grid-template-columns: 1fr; }
}
.lp-app-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.lp-app-card:hover,
.lp-app-card:focus-visible {
    border-color: var(--lp-primary);
    box-shadow: 0 4px 14px rgba(31,111,235,0.08);
}
.lp-app-qr {
    width: 110px;
    height: 110px;
    flex: 0 0 110px;
    border: 1px solid var(--lp-border);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.lp-app-qr img {
    display: block;
    width: 100%;
    height: 100%;
}
.lp-app-meta {
    min-width: 0;
}
.lp-app-store {
    font-size: 16px;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 2px;
}
.lp-app-platform {
    font-size: 13px;
    color: var(--lp-muted);
    margin-bottom: 6px;
}
.lp-app-link {
    font-size: 12px;
    color: var(--lp-primary);
    word-break: break-all;
    line-height: 1.3;
}
