/* Landingpage /install (templates/install.php): immer dunkel, Rock'n'Roll-Stil.
   Edo SZ (assets/fonts/edo.ttf) für Schlagzeilen und Zahlen: nur Großbuchstaben,
   Umlaute und Satzzeichen gehen (nicht # und @). Alles Bewegte ist bei
   "weniger Bewegung" aus. */

/* Edo (@font-face) steht in style.css */

html:has(body.landing-page) {
    background: #0e1014;
}

.landing-page {
    --lp-bg: #0e1014;
    --lp-bg-2: #14171c;
    --lp-card: #1b1f26;
    --lp-border: rgba(255, 255, 255, 0.09);
    --lp-text: #f2f2f0;
    --lp-muted: #a9adb5;
    --lp-accent: #fcb900;
    --lp-accent-2: #ff3d8b;
    --lp-display: 'Edo', 'Barlow Condensed', 'Barlow', Arial, sans-serif;
    background: var(--lp-bg);
    color: var(--lp-text);
}

/* App-Rahmen ausblenden: eigene Kopf- und Fußzeile */
.landing-page .site-header,
.landing-page .bottom-app-nav,
.landing-page .desktop-legal-footer {
    display: none;
}

.landing-page main.container {
    max-width: none;
    padding: 0;
    margin: 0;
}

.lp {
    position: relative;
    overflow-x: clip;
    font-family: 'Barlow', Arial, sans-serif;
}

/* Körnung über allem (Rock-Poster-Look) */
.lp::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lp a {
    color: var(--lp-accent);
}

/* ---------- Kopfzeile ---------- */

.lp-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(0.9rem + env(safe-area-inset-top, 0px)) 1rem 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

.lp-top-logo img {
    display: block;
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
}

/* Weiter im Browser: bewusst zurückhaltend (Ziel der Seite ist Installieren) */
.lp .lp-top-skip {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    color: var(--lp-muted);
    font-weight: 500;
    font-size: 0.82rem;
    text-decoration: none;
    padding: 0.4rem 0;
    opacity: 0.85;
}

.lp .lp-top-skip:hover {
    color: var(--lp-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-top-skip svg {
    width: 14px;
    height: 14px;
}

/* ---------- Hero ---------- */

.lp-hero {
    position: relative;
    display: grid;
    /* minmax(0, …): das breite Laufband darf die Spalte nicht aufziehen */
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: calc(6.5rem + env(safe-area-inset-top, 0px)) 1rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    isolation: isolate;
}

/* Bühnenfoto hell genug, dass man es sieht: am Handy oben hinter Schlagzeile und Text (Höhe begrenzt,
   unten weicher Übergang), am Rechner über die ganze Breite, links für den Text etwas dunkler */
.lp-hero-bg {
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    /* Höhe aus der Breite: Foto kaum vergrößert (fast ganze Breite sichtbar), die hellen Bühnenlichter
       (Mitte des Fotos) liegen hinter der Schlagzeile, der Fließtext steht darunter auf dunklem Grund */
    height: 105vw;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(14, 16, 20, 0.2) 0%, rgba(14, 16, 20, 0.15) 30%, rgba(14, 16, 20, 0.35) 62%, rgba(14, 16, 20, 0.8) 85%, var(--lp-bg) 100%),
        url('images/stage-bg.jpg') 50% 0 / auto 100% no-repeat;
}

@media (min-width: 960px) {
    .lp-hero-bg {
        height: auto;
        bottom: 0;
        background:
            linear-gradient(180deg, transparent 70%, var(--lp-bg) 100%),
            linear-gradient(90deg, rgba(14, 16, 20, 0.72) 0%, rgba(14, 16, 20, 0.35) 50%, rgba(14, 16, 20, 0.15) 100%),
            url('images/stage-bg.jpg') center 40% / cover no-repeat;
    }
}

/* Equalizer am unteren Rand des Hero */
/* Feste, schmale Balken (am Rechner etwas breiter), so viele wie in die Breite passen;
   enden über dem Laufband und laufen nach unten weich aus */
.lp-eq {
    position: absolute;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    bottom: 1.75rem;
    height: 90px;
    z-index: -1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(4px, 0.45vw, 7px);
    overflow: hidden;
    opacity: 0.25;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 45%);
    mask-image: linear-gradient(to top, transparent 0, #000 45%);
}

.lp-eq span {
    flex: 0 0 clamp(7px, 0.9vw, 13px);
    height: 30%;
    background: linear-gradient(0deg, var(--lp-accent), var(--lp-accent-2));
    border-radius: 3px 3px 0 0;
    animation: lp-eq 1.4s ease-in-out infinite alternate;
}

.lp-eq span:nth-child(3n) { animation-duration: 1.1s; }
.lp-eq span:nth-child(3n + 1) { animation-duration: 1.7s; animation-delay: -0.4s; }
.lp-eq span:nth-child(4n) { animation-duration: 0.9s; animation-delay: -0.8s; }
.lp-eq span:nth-child(5n) { animation-duration: 1.3s; animation-delay: -0.2s; }
.lp-eq span:nth-child(7n) { animation-duration: 1.55s; animation-delay: -1.1s; }
.lp-eq span:nth-child(11n) { animation-duration: 0.8s; animation-delay: -0.6s; }

@keyframes lp-eq {
    from { height: 12%; }
    to { height: 100%; }
}

.lp-eyebrow {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1rem;
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-accent);
}

.lp-eyebrow > span:not(.lp-live) {
    white-space: nowrap;
}

/* Handy: Name und Termin untereinander; ab Tablet in einer Zeile mit Trennpunkt */
.lp-eyebrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

@media (min-width: 700px) {
    .lp-eyebrow {
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
    }

    .lp-eyebrow > span:not(.lp-live) + span::before {
        content: '·';
        margin-right: 0.4rem;
    }
}

.lp-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.1rem 0.55rem;
    border-radius: 4px;
    background: #e11d48;
    color: #fff;
}

.lp-live::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: lp-pulse 1.2s ease-in-out infinite;
}

@keyframes lp-pulse {
    50% { opacity: 0.25; }
}

.lp-title {
    margin: 0 0 1.6rem;
    font-family: var(--lp-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 14.5vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
}

.lp-title-line {
    display: block;
    white-space: nowrap;
}

/* Schlagzeile über dem kleinen Handy (Handy-Ansicht), falls sie es berührt */
.lp-title {
    position: relative;
    z-index: 1;
}

.lp-accent {
    color: var(--lp-accent);
    transform: rotate(-2deg);
    transform-origin: left center;
}

.lp-lead {
    margin: 0 0 1.5rem;
    max-width: 34rem;
    font-size: 1.1rem;
    line-height: 1.55;
    color: #f2f3f5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 14px rgba(0, 0, 0, 0.8);
}

/* Handy: kleines Handy rechts neben dem Einleitungstext (sichtbar ohne Scrollen) */
.lp-lead-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin: 0 0 2rem;
}

.lp-lead-row .lp-lead {
    position: relative;
    z-index: 1;
    flex: 1;
    margin: 0;
}

/* größer und rechts aus dem Bildschirm ragend (abgeschnitten über overflow-x: clip an .lp) */
.lp-mini-phone {
    flex: 0 0 auto;
    width: 168px;
    height: auto;
    /* nach oben neben die Schlagzeile (sie ragt leicht darüber), neben dem Fließtext ohne
       Überlappung, unten überstehend: kein Leerraum vor den Knöpfen */
    /* Oberkante = Oberkante Schlagzeile: zwei Zeilen à 14.5vw × 0.92 Zeilenhöhe plus Abstand darunter (Handy 1.2rem) */
    margin: calc(-26.68vw - 1.2rem) -3.6rem -1.2rem 0;
    position: relative;
    z-index: 0;
    transform: rotate(6deg);
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 18px rgba(252, 185, 0, 0.25));
    animation: lp-mini-float 5s ease-in-out infinite;
}

@keyframes lp-mini-float {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-6px); }
}

@media (min-width: 700px) {
    .lp-mini-phone {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-mini-phone {
        animation: none;
    }
}

.lp-eyebrow,
.lp-chips {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 14px rgba(0, 0, 0, 0.8);
}

/* ---------- Knöpfe ---------- */

/* Knöpfe vor dem kleinen Handy (Handy-Ansicht) */
.lp-cta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.lp-cta-center {
    justify-content: center;
}

.lp .lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 54px;
    margin: 0;
    padding: 0.85rem 1.6rem;
    border: 2px solid var(--lp-accent);
    border-radius: 8px;
    background: var(--lp-accent);
    color: #14171c;
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(252, 185, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lp .lp-btn[hidden] {
    display: none;
}

.lp .lp-btn:hover {
    transform: translateY(-2px) rotate(-1deg);
    box-shadow: 0 14px 38px rgba(252, 185, 0, 0.45);
}

.lp .lp-btn svg {
    width: 22px;
    height: 22px;
}

.lp .lp-btn.js-install:not([hidden]) {
    animation: lp-wiggle 4s ease-in-out 2s infinite;
}

@keyframes lp-wiggle {
    0%, 90%, 100% { transform: none; }
    92% { transform: rotate(-3deg) scale(1.03); }
    94% { transform: rotate(3deg) scale(1.03); }
    96% { transform: rotate(-2deg); }
}

.lp .lp-btn-ghost {
    background: rgba(14, 16, 20, 0.72);
    color: var(--lp-text);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.lp .lp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}


/* Handy: Installieren und So geht's nebeneinander */
@media (max-width: 479.98px) {
    .lp-cta {
        gap: 0.6rem;
        flex-wrap: nowrap;
    }

    .lp .lp-cta .lp-btn {
        flex: 1 1 auto;
        padding: 0.8rem 0.9rem;
        font-size: 1.05rem;
        letter-spacing: 0.03em;
    }

    .lp .lp-cta .lp-btn-ghost {
        flex: 0 0 auto;
    }
}

@media (max-width: 379.98px) {
    .lp .lp-cta .lp-btn svg {
        display: none;
    }
}

/* iPhone: zwei Schritte */
.lp-ios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 26rem;
    margin: 0 0 1rem;
}

.lp-ios[hidden] {
    display: none;
}

/* Weg übers Browsermenü (ohne Installieren-Dialog): gleiche Schritt-Kacheln wie beim iPhone */
.lp-menu-steps {
    max-width: 26rem;
    margin: 0 0 1rem;
    padding: 0.9rem 0.9rem 0.2rem;
    border-radius: 12px;
    background: rgba(14, 16, 20, 0.82);
    border: 2px solid var(--lp-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.lp-menu-steps[hidden] {
    display: none;
}

.lp-menu-steps-title {
    margin: 0 0 1rem;
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--lp-accent);
}

.lp-menu-steps .lp-ios {
    margin-bottom: 0.7rem;
}

.lp-menu-dots {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 30px;
    color: var(--lp-accent);
}

.lp-menu-steps.is-flash {
    animation: lp-flash 1.2s ease-out 1;
}

@keyframes lp-flash {
    0% { box-shadow: 0 0 0 0 rgba(252, 185, 0, 0.9); }
    100% { box-shadow: 0 0 0 18px rgba(252, 185, 0, 0); }
}

.lp-ios-step {
    position: relative;
    padding: 1rem 0.75rem 0.85rem;
    border: 1px solid var(--lp-accent);
    border-radius: 10px;
    background: rgba(252, 185, 0, 0.08);
    text-align: center;
}

.lp-ios-step svg {
    width: 30px;
    height: 30px;
    color: var(--lp-accent);
}

.lp-ios-step p {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
}

.lp-ios-num {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #14171c;
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1.5rem;
}

.lp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin: 1.1rem 0 2rem;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: #dfe1e5;
}

.lp-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.lp-chips svg {
    width: 16px;
    height: 16px;
    color: var(--lp-accent);
}

/* Handy: erster Bildschirm kompakter, damit der Countdown ganz zu sehen ist; Vorteile größer in zwei Spalten */
@media (max-width: 699.98px) {
    .lp-hero {
        padding-top: calc(5.4rem + env(safe-area-inset-top, 0px));
    }

    .lp-eyebrow {
        margin-bottom: 0.7rem;
    }

    .lp-title {
        margin-bottom: 1.2rem;
    }

    .lp-lead {
        font-size: 1.03rem;
        line-height: 1.5;
    }

    .lp-lead-row {
        margin-bottom: 1.4rem;
    }

    .lp-chips {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem 0.8rem;
        margin: 1rem 0 1.3rem;
        font-size: 1.05rem;
    }

    .lp-chips svg {
        width: 19px;
        height: 19px;
        flex-shrink: 0;
    }
}

/* Countdown: Baustein der App (style.css .countdown-*), hier volle Breite der Textspalte */
.lp-countdown {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 560px;
}

/* Handy/Tablet: Equalizer und Laufband zwischen Vorteilen und Countdown; Rechner: Laufband unter dem Kopf */
.lp-mobile-ticker {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    overflow-y: visible;
    margin: 0.4rem calc(50% - 50vw) 1.6rem;
    padding-top: 64px;
}

@media (min-width: 960px) {
    .lp-mobile-ticker {
        display: none;
    }
}

@media (max-width: 959.98px) {
    .lp-desktop-ticker {
        display: none;
    }
}

/* Equalizer über dem Laufband (Balken stehen auf dem Band) */
.lp-cd-eq {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 70px;
    z-index: -1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    overflow: hidden;
    opacity: 0.4;
    pointer-events: none;
}

.lp-cd-eq span {
    flex: 0 0 8px;
    height: 30%;
    background: linear-gradient(0deg, var(--lp-accent), var(--lp-accent-2));
    border-radius: 3px 3px 0 0;
    animation: lp-eq 1.4s ease-in-out infinite alternate;
}

.lp-cd-eq span:nth-child(3n) { animation-duration: 1.1s; }
.lp-cd-eq span:nth-child(3n + 1) { animation-duration: 1.7s; animation-delay: -0.4s; }
.lp-cd-eq span:nth-child(4n) { animation-duration: 0.9s; animation-delay: -0.8s; }
.lp-cd-eq span:nth-child(5n) { animation-duration: 1.3s; animation-delay: -0.2s; }
.lp-cd-eq span:nth-child(7n) { animation-duration: 1.55s; animation-delay: -1.1s; }


/* wie auf der Startseite: ohne Kasten frei auf dem Foto, lesbar über Schatten */
.lp-countdown .countdown-banner {
    margin: 0;
    padding: 0.5rem 0 0;
    background: none;
    border: 0;
    border-radius: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 22px rgba(0, 0, 0, 0.6);
}

.lp-countdown .countdown-label,
.lp-countdown .countdown-unit {
    opacity: 0.9;
}

/* Rechner: linksbündig wie Schlagzeile, Text und Knöpfe der Spalte (mobil bleibt er mittig) */
@media (min-width: 960px) {
    .lp-countdown .countdown-banner {
        text-align: left;
    }

    .lp-countdown .countdown-row {
        justify-content: flex-start;
    }

    /* Einheit bleibt unter ihrer Zahl zentriert */
    .lp-countdown .countdown-row > * {
        text-align: center;
    }
}

.lp-countdown-live {
    margin: 0;
    max-width: 30rem;
    font-weight: 600;
}

/* Handy mit Leuchten und Benachrichtigungen */
.lp-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1rem 0 0;
}

.lp-glow {
    position: absolute;
    top: 8%;
    left: 50%;
    width: 120%;
    max-width: 520px;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252, 185, 0, 0.35) 0%, rgba(255, 61, 139, 0.18) 40%, transparent 70%);
    filter: blur(10px);
    z-index: -1;
}

.lp-phone {
    display: block;
    width: min(72vw, 300px);
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.7));
    animation: lp-float 6s ease-in-out infinite;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-14px) rotate(-1deg); }
}

.lp-toasts {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lp-toast {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    width: 250px;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(32, 36, 44, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
    font-size: 0.78rem;
    line-height: 1.32;
    color: #d5d8de;
    opacity: 0;
    animation: lp-toast 12s ease-in-out infinite;
}

.lp-toast img {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.lp-toast p {
    margin: 0;
}

.lp-toast-app {
    display: block;
    font-size: 0.68rem;
    color: var(--lp-muted);
    margin-bottom: 0.1rem;
}

/* wie eine echte Benachrichtigung: Text höchstens zwei Zeilen */
.lp-toast-body {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-toast strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #fff;
    font-size: 0.84rem;
}

.lp-toast-1 { top: 14%; left: calc(50% - 230px); }
.lp-toast-2 { top: 44%; right: calc(50% - 235px); animation-delay: 3s; }
.lp-toast-3 { top: 70%; left: calc(50% - 220px); animation-delay: 6s; }
.lp-toast-4 { top: 24%; right: calc(50% - 240px); animation-delay: 9s; }

@keyframes lp-toast {
    0% { opacity: 0; transform: translateY(14px) scale(0.96); }
    5%, 22% { opacity: 1; transform: none; }
    27%, 100% { opacity: 0; transform: translateY(-10px) scale(0.98); }
}

/* Laufband: gemeinsamer Baustein partials/festival_ticker.php, Stil in style.css (.festival-ticker-tilted) */

/* ---------- Abschnitte ---------- */

.lp-section {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1rem 1rem;
}

.lp-h2 {
    margin: 0 0 0.6rem;
    font-family: var(--lp-display);
    font-weight: 400;
    font-size: clamp(2.3rem, 8vw, 3.6rem);
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

.lp-h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    margin-top: 0.6rem;
    border-radius: 3px;
    background: var(--lp-accent);
    transform: rotate(-2deg);
}

.lp-sub {
    margin: 0 0 2rem;
    max-width: 40rem;
    color: var(--lp-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.lp-card {
    position: relative;
    padding: 1.3rem 1.2rem 1.2rem;
    border: 1px solid var(--lp-border);
    border-top: 3px solid var(--lp-accent);
    border-radius: 10px;
    background: linear-gradient(160deg, var(--lp-card), var(--lp-bg-2));
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.lp-card:hover {
    transform: translateY(-4px) rotate(-0.4deg);
    border-color: rgba(252, 185, 0, 0.5);
}

.lp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 0.8rem;
    border-radius: 10px;
    background: rgba(252, 185, 0, 0.12);
    color: var(--lp-accent);
}

.lp-card-icon svg {
    width: 26px;
    height: 26px;
}

.lp-card h3,
.lp-steps-list h3,
.lp-howto-card h3 {
    margin: 0 0 0.4rem;
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
}

.lp-card p {
    margin: 0;
    color: #c9ccd2;
    line-height: 1.5;
}

.lp-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.8rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--lp-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.lp-card-badge svg {
    width: 14px;
    height: 14px;
}

/* Angeteaserter Bereich (App\Support\Areas): „Bald“ neben „Mit Ticket“ */
.lp-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.lp-card-badges .lp-card-badge {
    margin-top: 0;
}

.lp-card-badge-soon {
    background: rgba(252, 185, 0, 0.14);
    color: var(--lp-accent);
}

/* Exklusiv-Merch (nur während einer Aktion): breiter Aufmacher über den übrigen Karten */
.lp-card-featured {
    border-color: rgba(252, 185, 0, 0.45);
    background: linear-gradient(120deg, rgba(252, 185, 0, 0.16), var(--lp-card) 55%);
}

@media (min-width: 700px) {
    .lp-card-featured {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 1.2rem;
    }

    .lp-card-featured .lp-card-icon {
        grid-row: span 2;
        margin: 0;
        width: 60px;
        height: 60px;
    }

    .lp-card-featured .lp-card-badge {
        grid-column: 3;
        grid-row: 1 / span 2;
        margin: 0;
    }
}

/* Schritte */
.lp-steps-list {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.lp-steps-list li {
    position: relative;
    padding: 1.2rem 1.2rem 1.2rem 5rem;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background: var(--lp-card);
}

.lp-steps-list p {
    margin: 0;
    color: #c9ccd2;
    line-height: 1.5;
}

.lp-step-num {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%) rotate(-6deg);
    font-family: var(--lp-display);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--lp-accent);
}

/* So geht's */
.lp-howto-grid {
    display: grid;
    gap: 1rem;
}

.lp-howto-card {
    padding: 1.3rem 1.2rem;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background: var(--lp-card);
}

.lp-howto-card ol {
    margin: 0;
    padding-left: 1.2rem;
    color: #c9ccd2;
    line-height: 1.6;
}

.lp-howto-card p {
    margin: 0 0 0.8rem;
    color: #c9ccd2;
}

.lp-inline-icon svg {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
    color: var(--lp-accent);
}

.lp-howto-qr {
    display: none; /* nur am Rechner */
    text-align: center;
}

.lp-qr {
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    line-height: 0;
}

.lp-qr img,
.lp-qr canvas {
    display: block;
}

.lp-small {
    margin: 0.8rem 0 0 !important;
    font-size: 0.85rem;
    color: var(--lp-muted) !important;
}

/* FAQ */
.lp-faq-list {
    display: grid;
    gap: 0.6rem;
    max-width: 50rem;
}

.lp-faq details {
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background: var(--lp-card);
}

.lp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq summary::after {
    content: '+';
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--lp-accent);
    transition: transform 0.2s ease;
}

.lp-faq details[open] summary::after {
    transform: rotate(45deg);
}

.lp-faq details p {
    margin: 0;
    padding: 0 1.1rem 1.1rem;
    color: #c9ccd2;
    line-height: 1.55;
}

/* Schluss */
.lp-final {
    position: relative;
    z-index: 2;
    margin: 5rem 0 0;
    padding: 4rem 1rem 3.5rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(252, 185, 0, 0.18), transparent 60%),
        var(--lp-bg-2);
    border-top: 1px solid var(--lp-border);
}

.lp-final .lp-h2::after {
    margin-left: auto;
    margin-right: auto;
}

.lp-final .lp-sub {
    margin-left: auto;
    margin-right: auto;
}

.lp .lp-skip {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--lp-muted);
    font-size: 0.95rem;
}

.lp-footer {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem calc(2rem + env(safe-area-inset-bottom, 0px));
    text-align: center;
    font-size: 0.88rem;
    color: var(--lp-muted);
    background: var(--lp-bg);
}

.lp-footer p {
    margin: 0 0 0.8rem;
}

.lp-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.2rem;
}

.lp-footer a {
    color: var(--lp-text);
}

/* Handy: Vorteile kompakt, Symbol links neben Titel und Text */
@media (max-width: 699.98px) {
    .lp-grid {
        gap: 0.7rem;
    }

    .lp-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 0.9rem;
        align-items: start;
        padding: 1rem;
    }

    .lp-card-icon {
        grid-row: span 3;
        margin-bottom: 0;
        width: 42px;
        height: 42px;
    }

    .lp-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .lp-card p {
        font-size: 0.95rem;
    }

    .lp-card-badge {
        justify-self: start;
        margin-top: 0.5rem;
    }

    .lp-card-badges {
        margin-top: 0.5rem;
    }
}

/* Einblenden beim Scrollen (nur mit JS und ohne "weniger Bewegung") */
.lp-animate .lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--i, 0) * 70ms);
}

.lp-animate .lp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Größere Bildschirme ---------- */

@media (min-width: 700px) {
    .lp-top {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lp-top-logo img {
        width: 150px;
    }

    .lp-section,
    .lp-hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .lp-steps-list,
    .lp-howto-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-steps-list li {
        padding: 4.6rem 1.2rem 1.3rem;
    }

    .lp-step-num {
        top: 1.1rem;
        transform: rotate(-6deg);
    }
}

@media (min-width: 960px) {
    .lp-hero {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
        min-height: min(100vh, 900px);
        padding-top: 7rem;
        padding-bottom: 5rem;
    }

    .lp-phone {
        width: 340px;
    }

    .lp-title {
        font-size: clamp(4rem, 7.4vw, 6rem);
    }

    .lp-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-howto-qr {
        display: block;
    }
}

@media (max-width: 959.98px) {
    /* am Handy: QR-Karte aus, Schritte untereinander bleiben */
    .lp-howto-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .lp-toast {
        width: min(270px, 78vw);
    }

    .lp-toast-1 { left: 0; }
    .lp-toast-2 { right: 0; }
    .lp-toast-3 { left: 0; }
    .lp-toast-4 { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-eq span,
    .lp-cd-eq span,
    .lp-phone,
    .lp .lp-btn.js-install:not([hidden]),
    .lp-live::before {
        animation: none;
    }

    .lp-toast {
        animation: none;
        opacity: 0;
    }

    .lp-toast-1 {
        opacity: 1;
    }
}

/* Android: Status statt des Installieren-Knopfs, solange im Hintergrund installiert wird (install.php) */
.lp-install-status {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 26rem;
    margin: 0 0 1rem;
    padding: 0.9rem 1rem;
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-left: 4px solid var(--lp-accent);
    border-radius: 12px;
    color: var(--lp-text);
    text-align: left;
}

.lp-cta-center + .lp-install-status {
    margin-left: auto;
    margin-right: auto;
}

.lp-install-status strong {
    display: block;
    font-size: 1.05rem;
}

.lp-install-status p {
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--lp-muted);
}

.lp-install-status-spinner {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 0.1rem;
    border-radius: 50%;
    border: 3px solid rgba(252, 185, 0, 0.25);
    border-top-color: var(--lp-accent);
    animation: lp-install-spin 0.9s linear infinite;
}

@keyframes lp-install-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-install-status-spinner {
        animation-duration: 3s;
    }
}
