/* Shared design system for the whole redesigned site (landing, legal
   pages, Login/Registrieren, Konto, Admin) — enqueued on top of style.css
   (which stays loaded too; a few of its classes, e.g. .form-error/
   .account-meta, are still reused as-is). Scoped via .lp-* classes and,
   for the few global tag overrides below, only takes effect on pages
   that load this file. */

/* Sora/Inter selbst gehostet statt über fonts.googleapis.com/fonts.gstatic.com
   geladen (Dateien aus @fontsource/sora + @fontsource/inter, SIL-OFL-lizenziert,
   siehe public/fonts/LICENSE-*.txt) — optisch identisch, aber ohne dass beim
   Seitenaufruf Nutzer-IPs an Google übertragen werden. */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/sora-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/sora-latin-700-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/sora-latin-800-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
}

:root {
    --lp-blue-900: #0b1c47;
    --lp-blue-700: #1f4fd8;
    --lp-blue-600: #2f6fed;
    --lp-blue-400: #6f97f7;
    --lp-blue-200: #c4d7fd;
    --lp-blue-100: #eef3ff;
    --lp-white: #ffffff;
    --lp-text: #10192f;
    --lp-text-muted: #566083;
    --lp-border: rgba(31, 79, 216, 0.14);
    --lp-glass-bg: rgba(255, 255, 255, 0.62);
    --lp-glass-border: rgba(255, 255, 255, 0.55);
    --lp-glass-shadow: 0 24px 60px -28px rgba(11, 28, 71, 0.35);
    --lp-radius-lg: 22px;
    --lp-radius-md: 14px;
    --lp-radius-sm: 9px;
}

body:has(.lp-page) {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--lp-text);
    background: var(--lp-white);
}

.lp-page h1,
.lp-page h2,
.lp-page h3 {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
    text-wrap: balance;
    color: var(--lp-blue-900);
    margin: 0;
}

.lp-page a {
    color: inherit;
}

.lp-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Header ---------- */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--lp-border);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    /* Only top/bottom on purpose — a `padding: 1.1rem 0` shorthand here
       would reset left/right back to 0 on this same element's .lp-shell
       class (equal specificity, this rule wins by source order), wiping
       out .lp-shell's horizontal padding. Invisible on wide screens
       (masked by .lp-shell's own auto-margins), but strips all edge
       spacing once the viewport narrows below max-width. */
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--lp-blue-900);
    text-decoration: none;
}

.lp-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--lp-blue-600), var(--lp-blue-900));
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-brand-mark svg {
    width: 25px;
    height: 25px;
    color: #fff;
}

.lp-nav {
    display: flex;
    align-items: center;
}

.lp-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.lp-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin-left: auto;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    background: var(--lp-white);
    color: var(--lp-blue-900);
    cursor: pointer;
}

.lp-nav-toggle svg {
    width: 20px;
    height: 20px;
}

.lp-nav-toggle-bar-top,
.lp-nav-toggle-bar-bottom {
    /* SVG elements default to transform-box: view-box, so
       transform-origin: center resolves to the whole 24x24 viewBox's
       center for every bar alike — rotating a bar that sits 6px off
       that shared point (rather than around its own center) produces
       an X with visibly uneven arms. fill-box makes "center" resolve to
       each bar's own bounding box instead. */
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-nav-toggle-bar-mid {
    transition: opacity 0.2s ease;
}

.lp-nav-toggle.is-open .lp-nav-toggle-bar-top {
    transform: translateY(6px) rotate(45deg);
}

.lp-nav-toggle.is-open .lp-nav-toggle-bar-bottom {
    transform: translateY(-6px) rotate(-45deg);
}

.lp-nav-toggle.is-open .lp-nav-toggle-bar-mid {
    opacity: 0;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lp-nav-links a {
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--lp-text-muted);
}

.lp-nav-links a:hover {
    color: var(--lp-blue-700);
}

.lp-nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.7em 1.5em;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lp-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--lp-blue-600), var(--lp-blue-700));
    box-shadow: 0 14px 30px -12px rgba(31, 79, 216, 0.55);
}

.lp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px -12px rgba(31, 79, 216, 0.6);
}

.lp-btn-ghost {
    color: var(--lp-blue-900);
    background: transparent;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.7em 0.4em;
}

.lp-btn-ghost:hover {
    color: var(--lp-blue-700);
}

.lp-btn-block {
    width: 100%;
    justify-content: center;
}

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

.lp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 480px at 85% -10%, var(--lp-blue-200) 0%, transparent 60%),
        linear-gradient(180deg, var(--lp-blue-100) 0%, var(--lp-white) 78%);
    padding: 4.5rem 0 6rem;
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lp-glass-bg);
    border: 1px solid var(--lp-glass-border);
    backdrop-filter: blur(8px);
    color: var(--lp-blue-700);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45em 0.95em;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}

.lp-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-blue-600);
}

.lp-hero h1 {
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
}

.lp-hero-sub {
    margin-top: 1.3rem;
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--lp-text-muted);
    max-width: 46ch;
}

.lp-hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.1rem;
    flex-wrap: wrap;
}

.lp-hero-note {
    font-size: 0.85rem;
    color: var(--lp-text-muted);
}

/* Hero visual: stylised calendar-feature mockup in a glass card */

.lp-hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.lp-glass-card {
    background: var(--lp-glass-bg);
    border: 1px solid var(--lp-glass-border);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Rotating hero showcase: every .lp-mock-panel occupies the same grid
   cell, so the grid track sizes itself to the tallest panel (the
   calendar) automatically — no guessed pixel height needed, and the
   card never jumps as panels crossfade in and out. */
.lp-mock-stage {
    display: grid;
    width: 100%;
}

.lp-mock-panel {
    grid-area: 1 / 1;
    position: relative;
    padding: 1.3rem 1.3rem 1.5rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

.lp-mock-panel.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    z-index: 1;
}

.lp-mock-dots-nav {
    display: flex;
    gap: 0.5rem;
}

.lp-mock-dots-nav button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--lp-blue-200);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.lp-mock-dots-nav button:hover {
    background: var(--lp-blue-400);
}

.lp-mock-dots-nav button.is-active {
    background: var(--lp-blue-700);
    transform: scale(1.2);
}

.lp-mock-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.lp-mock-dots {
    display: flex;
    gap: 6px;
}

.lp-mock-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lp-blue-200);
}

.lp-mock-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--lp-blue-900);
}

.lp-mock-nav {
    display: flex;
    gap: 6px;
}

.lp-mock-nav button {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    display: grid;
    place-items: center;
    font-family: inherit;
    font-size: 0.7rem;
    color: var(--lp-blue-700);
    padding: 0;
    cursor: pointer;
}

.lp-mock-nav button:hover {
    background: var(--lp-blue-100);
}

.lp-mock-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.lp-mock-weekday {
    text-align: center;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--lp-text-muted);
    padding-bottom: 0.25rem;
}

.lp-mock-cell {
    aspect-ratio: 1 / 0.86;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(31, 79, 216, 0.08);
    padding: 3px 4px;
    font-size: 0.62rem;
    color: var(--lp-text-muted);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-mock-cell.is-empty {
    background: transparent;
    border-color: transparent;
}

.lp-mock-pill {
    height: 5px;
    border-radius: 3px;
    width: 100%;
}

.lp-mock-pill.is-termin { background: var(--lp-blue-600); }
.lp-mock-pill.is-kurs { background: #2f9e6e; }
.lp-mock-pill.is-ressource { background: #e28a2b; }
.lp-mock-pill.is-geburtstag { background: #d1479a; }

.lp-mock-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lp-border);
}

.lp-mock-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--lp-text-muted);
    font-weight: 600;
}

.lp-mock-legend-item span:first-child {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Panel: Seiten selbst bauen (page-builder block list) */

.lp-mock-blocks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lp-mock-block {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.7rem;
    border-radius: var(--lp-radius-sm);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(31, 79, 216, 0.08);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lp-text);
}

.lp-mock-block.is-selected {
    border-color: var(--lp-blue-600);
    box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.14);
}

.lp-mock-block-drag {
    width: 10px;
    height: 14px;
    flex-shrink: 0;
    background: repeating-linear-gradient(to bottom, var(--lp-text-muted) 0 2px, transparent 2px 5px);
    opacity: 0.45;
}

.lp-mock-block-chip {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Panel: Vereinsleben abbilden (Tabelle/Spielplan) */

.lp-mock-standings {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.lp-mock-standings-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.lp-mock-rank {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lp-blue-100);
    color: var(--lp-blue-700);
    font-size: 0.7rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-mock-team-bar {
    height: 10px;
    border-radius: 5px;
    background: rgba(31, 79, 216, 0.16);
}

.lp-mock-pts {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--lp-blue-900);
}

/* Panel: Kurse mit Anmeldung */

.lp-mock-courses {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.lp-mock-course {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lp-mock-course-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 8em;
}

.lp-mock-course-info strong {
    font-size: 0.85rem;
    color: var(--lp-text);
}

.lp-mock-course-info span {
    font-size: 0.72rem;
    color: var(--lp-text-muted);
}

.lp-mock-course-bar {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--lp-blue-100);
    overflow: hidden;
}

.lp-mock-course-bar span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--lp-blue-600);
}

.lp-mock-course-slots {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lp-blue-900);
    flex-shrink: 0;
}

/* Panel: Im eigenen Look (Theme-Vorschau) */

.lp-mock-theme {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.lp-mock-swatches {
    display: flex;
    gap: 0.6rem;
}

.lp-mock-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--lp-white);
}

.lp-mock-swatch.is-active {
    box-shadow: 0 0 0 2px var(--lp-white), 0 0 0 4px var(--lp-blue-600);
}

.lp-mock-theme-preview {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem;
    border-radius: var(--lp-radius-sm);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(31, 79, 216, 0.08);
}

.lp-mock-theme-preview-bar {
    height: 12px;
    width: 55%;
    border-radius: 4px;
    background: var(--lp-blue-600);
}

.lp-mock-theme-preview-line {
    height: 7px;
    border-radius: 4px;
    background: var(--lp-border);
}

.lp-mock-theme-preview-btn {
    align-self: flex-start;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: var(--lp-blue-600);
    border-radius: 999px;
    padding: 0.4em 0.9em;
}

/* Panel: Mitgliederbereich */

.lp-mock-member {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
}

.lp-mock-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-blue-600), var(--lp-blue-900));
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-mock-member-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-right: auto;
}

.lp-mock-member-info strong {
    font-size: 0.92rem;
    color: var(--lp-text);
}

.lp-mock-member-info span {
    font-size: 0.75rem;
    color: var(--lp-text-muted);
}

.lp-mock-member-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.lp-mock-member-list span {
    font-size: 0.78rem;
    color: var(--lp-text-muted);
    font-weight: 600;
}

.lp-mock-member-list span::before {
    content: '\2713';
    color: var(--lp-blue-600);
    font-weight: 700;
    margin-right: 0.4em;
}

.lp-hero-badge {
    position: absolute;
    right: -14px;
    bottom: -18px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--lp-blue-900);
}

.lp-hero-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--lp-blue-600);
    flex-shrink: 0;
}

/* ---------- Section shell ---------- */

.lp-section {
    padding: 5.5rem 0;
}

.lp-section-head {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

.lp-section-head h1,
.lp-section-head h2 {
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    font-weight: 800;
}

.lp-section-head p {
    margin-top: 0.9rem;
    color: var(--lp-text-muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

.lp-kicker {
    display: block;
    color: var(--lp-blue-700);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

/* ---------- Features ---------- */

.lp-features {
    background: var(--lp-blue-100);
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
}

.lp-feature-card {
    padding: 1.8rem 1.6rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-feature-card:hover {
    transform: translateY(-3px);
}

.lp-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--lp-radius-sm);
    background: linear-gradient(135deg, var(--lp-blue-600), var(--lp-blue-700));
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 22px -10px rgba(31, 79, 216, 0.55);
}

.lp-feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.lp-feature-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lp-feature-card p {
    margin: 0;
    color: var(--lp-text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.lp-features-more {
    text-align: center;
    margin: 2.4rem 0 0;
}

.lp-features-more a {
    color: var(--lp-blue-700);
    font-weight: 700;
    font-size: 0.98rem;
}

/* ---------- Pricing ---------- */

.lp-pricing-note {
    text-align: center;
    color: var(--lp-text-muted);
    font-size: 0.85rem;
    margin: -1.7rem auto 2.6rem;
    max-width: 520px;
}

.lp-interval-toggle {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 0 1.6rem;
}

.lp-price-savings {
    display: inline-block;
    margin: -0.9rem 0 1.4rem;
    padding: 0.25em 0.7em;
    background: var(--lp-blue-100);
    color: var(--lp-blue-700);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
}

.lp-price-card.is-featured .lp-price-savings {
    background: rgba(255, 255, 255, 0.85);
}

.lp-price-note {
    margin: -0.9rem 0 1.4rem;
    font-size: 0.82rem;
    color: var(--lp-text-muted);
    font-style: italic;
}

.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.lp-price-card {
    padding: 2rem 1.8rem 2.2rem;
    display: flex;
    flex-direction: column;
}

.lp-price-card.is-featured {
    background: linear-gradient(165deg, rgba(31, 79, 216, 0.94), rgba(11, 28, 71, 0.96));
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 60px -22px rgba(11, 28, 71, 0.55);
    transform: translateY(-10px);
}

.lp-price-card.is-featured * {
    color: #fff;
}

.lp-price-card.is-featured .lp-price-card-features li::before {
    color: var(--lp-blue-200);
}

.lp-price-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.85);
    color: var(--lp-blue-700);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3em 0.75em;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.lp-price-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.lp-price-card-tagline {
    margin: 0.4rem 0 1.4rem;
    font-size: 0.88rem;
    color: var(--lp-text-muted);
}

.lp-price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1.6rem;
}

.lp-price-amount strong {
    font-family: 'Sora', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--lp-blue-900);
}

.lp-price-amount span {
    font-size: 0.88rem;
    color: var(--lp-text-muted);
    font-weight: 600;
}

.lp-price-trial-note {
    display: inline-block;
    margin: -0.9rem 0 1.4rem;
    padding: 0.25em 0.7em;
    background: var(--lp-blue-100);
    color: var(--lp-blue-700);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
}

.lp-price-card.is-featured .lp-price-trial-note {
    background: rgba(255, 255, 255, 0.85);
}

.lp-price-card-features {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lp-price-card-features li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--lp-text);
}

.lp-price-card-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--lp-blue-600);
    font-weight: 700;
}

/* ---------- Trust badges ---------- */

.lp-trust {
    padding: 3.5rem 0 5.5rem;
}

.lp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.2rem 1.3rem;
}

.lp-trust-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--lp-blue-700);
    flex-shrink: 0;
}

.lp-trust-item span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--lp-text);
    line-height: 1.3;
}

/* ---------- Final CTA ---------- */

.lp-cta {
    padding: 1rem 0 5.5rem;
}

.lp-cta-card {
    background: linear-gradient(135deg, var(--lp-blue-700), var(--lp-blue-900));
    border-radius: var(--lp-radius-lg);
    padding: 3.2rem 2.5rem;
    text-align: center;
    box-shadow: 0 30px 70px -30px rgba(11, 28, 71, 0.6);
}

.lp-cta-card h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
}

.lp-cta-card p {
    color: var(--lp-blue-200);
    margin: 0.8rem auto 1.8rem;
    max-width: 46ch;
}

/* ---------- Auth pages (Anmelden/Registrieren) ---------- */

.lp-auth-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 480px at 85% -10%, var(--lp-blue-200) 0%, transparent 60%),
        linear-gradient(180deg, var(--lp-blue-100) 0%, var(--lp-white) 78%);
    padding: 4rem 0 5rem;
}

.lp-auth-card {
    max-width: 440px;
    margin: 0 auto;
    padding: 2.4rem 2.6rem;
}

.lp-auth-card h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.4rem;
}

.lp-auth-card form p:last-of-type {
    margin-bottom: 1.4rem;
}

.lp-auth-card h2 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lp-blue-700);
    margin: 1.6rem 0 0.9rem;
}

.lp-auth-card h2:first-of-type {
    margin-top: 0.2rem;
}

.lp-auth-card input:focus {
    outline: none;
    border-color: var(--lp-blue-600);
    box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}

.lp-auth-card small {
    color: var(--lp-text-muted);
}

.lp-account-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.lp-invoice-email-setting {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.4rem 0;
}

.lp-invoice-email-setting label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lp-mailbox-card {
    max-width: 560px;
}

.lp-quota-summary {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 1.4rem 0 1.8rem;
}

.lp-quota-row > span {
    display: block;
    font-size: 0.85rem;
    color: var(--lp-text-muted);
    margin-bottom: 0.35rem;
}

.lp-quota-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--lp-blue-100);
    overflow: hidden;
}

.lp-quota-bar > span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--lp-blue-600);
}

.lp-mailbox-list {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
}

.lp-mailbox-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7em 0;
    border-bottom: 1px dashed var(--lp-border);
}

.lp-mailbox-list-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.lp-mailbox-list-info strong {
    font-size: 0.92rem;
    color: var(--lp-text);
    word-break: break-all;
}

.lp-mailbox-list-info span {
    font-size: 0.78rem;
    color: var(--lp-text-muted);
}

.lp-mailbox-list-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.lp-domain-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    background: #fff;
    overflow: hidden;
}

.lp-domain-input input[type="text"] {
    flex: 1;
    min-width: 0;
    width: auto;
    border: none;
    border-radius: 0;
    background: transparent;
}

.lp-domain-input input[type="text"]:focus {
    outline: none;
    box-shadow: none;
}

.lp-domain-input:focus-within {
    border-color: var(--lp-blue-600);
    box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}

.lp-domain-suffix {
    display: flex;
    align-items: center;
    padding: 0 0.7em;
    color: var(--lp-text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
    background: var(--lp-blue-100);
    border-left: 1px solid var(--lp-border);
}

/* style.css's generic `button[type="submit"]` rule (element + attribute)
   outranks the plain `.lp-btn`/`.lp-btn-primary` classes on specificity,
   so the old teal styling would otherwise win on these actual <button>
   submit elements — re-declared here with a `button.` prefix to match
   that specificity and override it (landing.css loads after style.css,
   so a tie goes to these rules). */
button.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.7em 1.5em;
    border: none;
    cursor: pointer;
}

button.lp-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--lp-blue-600), var(--lp-blue-700));
    box-shadow: 0 14px 30px -12px rgba(31, 79, 216, 0.55);
}

button.lp-btn-primary:hover {
    background: linear-gradient(135deg, var(--lp-blue-600), var(--lp-blue-700));
    color: #fff;
}

button.lp-btn-ghost {
    color: var(--lp-blue-900);
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--lp-border);
}

button.lp-btn-ghost:hover {
    color: var(--lp-blue-700);
    background: var(--lp-blue-100);
}

/* ---------- Legal pages (Impressum/Datenschutz/AGB) ---------- */

.lp-legal-section {
    padding: 3rem 0 5rem;
}

.lp-prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.4rem 2.6rem;
}

.lp-prose h1 {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.lp-prose > p:first-of-type {
    color: var(--lp-text-muted);
    margin-top: 0;
}

.lp-prose h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2.2rem;
    margin-bottom: 0.6rem;
}

.lp-prose p {
    margin: 0 0 1em;
    line-height: 1.7;
    color: var(--lp-text);
}

.lp-prose ul {
    margin: 0 0 1em;
    padding-left: 1.3em;
    line-height: 1.7;
    color: var(--lp-text);
}

.lp-prose li {
    margin-bottom: 0.4em;
}

.legal-notice {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    background: rgba(226, 138, 43, 0.12);
    border: 1px solid rgba(226, 138, 43, 0.35);
    border-radius: var(--lp-radius-sm);
    padding: 0.9rem 1.1rem;
    margin: 0 0 1.8rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #7a4a10;
}

.legal-notice svg {
    width: 18px;
    height: 18px;
    stroke: #e28a2b;
    flex-shrink: 0;
    margin-top: 0.15em;
}

/* ---------- Footer ---------- */

.lp-footer {
    border-top: 1px solid var(--lp-border);
    padding: 2rem 0;
}

.lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: var(--lp-blue-900);
    text-decoration: none;
    font-size: 0.95rem;
}

.lp-footer-copy {
    font-size: 0.82rem;
    color: var(--lp-text-muted);
}

.lp-footer-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.lp-footer-links a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lp-text-muted);
    text-decoration: none;
}

.lp-footer-links a:hover {
    color: var(--lp-blue-700);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
    }

    .lp-hero-visual {
        order: -1;
    }

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

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

    .lp-price-card.is-featured {
        transform: none;
    }
}

@media (max-width: 720px) {
    .lp-nav-toggle {
        display: flex;
    }

    .lp-nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--lp-border);
        box-shadow: 0 20px 40px -24px rgba(11, 28, 71, 0.35);
        padding: 0.5rem 1.5rem 1.5rem;
    }

    .lp-nav-menu.is-open {
        display: flex;
    }

    .lp-nav-menu .lp-nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 1rem;
        border-bottom: 1px solid var(--lp-border);
    }

    .lp-nav-menu .lp-nav-links a {
        padding: 0.7em 0;
    }

    .lp-nav-menu .lp-nav-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
        padding-top: 1rem;
    }

    .lp-nav-menu .lp-nav-cta .lp-btn {
        justify-content: center;
    }

    .lp-header-inner {
        gap: 0.6rem;
    }

    .lp-brand {
        font-size: 1rem;
    }

    .lp-hero {
        padding: 2.5rem 0 3.5rem;
    }

    .lp-section {
        padding: 3.5rem 0;
    }

    .lp-feature-grid,
    .lp-pricing-grid,
    .lp-trust-grid {
        grid-template-columns: 1fr;
    }

    .lp-hero-badge {
        position: static;
        margin-top: 1rem;
        justify-content: center;
    }

    .lp-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-hero-ctas .lp-btn {
        justify-content: center;
    }

    .lp-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .lp-footer-links {
        justify-content: center;
    }

    .lp-prose {
        padding: 1.6rem 1.3rem;
    }

    .lp-auth-card {
        padding: 1.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .lp-brand {
        font-size: 0.92rem;
    }

    /* The mailbox form's suffix ("@subdomain.vereins-system.de") is much
       longer than the registration form's static ".vereins-system.de" —
       side-by-side it squeezes the input down to almost nothing on narrow
       screens, so it stacks below the input here instead. */
    .lp-domain-input {
        flex-direction: column;
    }

    .lp-domain-suffix {
        border-left: none;
        border-top: 1px solid var(--lp-border);
        padding: 0.5em 0.7em;
        white-space: normal;
        word-break: break-all;
        font-size: 0.85rem;
    }
}

/* ---------- Admin (Kunden/Server/Statistik) ---------- */

.lp-admin-card {
    padding: 2rem 2.2rem;
    margin-bottom: 2rem;
}

.lp-admin-card h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.lp-admin-card h2 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lp-blue-700);
    margin: 0 0 1rem;
}

.lp-glass-card table {
    width: 100%;
    border-collapse: collapse;
}

.lp-glass-card table th {
    text-align: left;
    padding: 0.6em 0.8em;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--lp-text-muted);
    border-bottom: 1px solid var(--lp-border);
}

.lp-glass-card table td {
    padding: 0.75em 0.8em;
    border-bottom: 1px solid var(--lp-border);
    font-size: 0.92rem;
}

.lp-glass-card table tbody tr:hover {
    background: var(--lp-blue-100);
}

.lp-glass-card table tbody tr:last-child td {
    border-bottom: none;
}

.lp-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.85rem;
}

.lp-status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.lp-status-online {
    color: #1a9e5c;
}

.lp-status-offline {
    color: #d3455b;
}

.lp-stat-tiles {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.lp-stat-tile {
    flex: 1;
    min-width: 160px;
    background: var(--lp-blue-100);
    border-radius: var(--lp-radius-md);
    padding: 1.1rem 1.3rem;
}

.lp-stat-tile-value {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--lp-blue-900);
}

.lp-stat-tile-label {
    font-size: 0.82rem;
    color: var(--lp-text-muted);
    margin-top: 0.2rem;
}

.lp-stat-range-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.lp-stat-range-quick {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lp-stat-range-quick a {
    padding: 0.4em 0.9em;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--lp-text-muted);
}

.lp-stat-range-quick a.is-active {
    background: var(--lp-blue-600);
    border-color: var(--lp-blue-600);
    color: #fff;
}

.lp-stat-range-custom {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.lp-stat-range-custom label {
    display: flex;
    align-items: center;
    gap: 0.4em;
    color: var(--lp-text-muted);
}

.lp-stat-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 140px;
    margin-bottom: 1.8rem;
    padding: 0.5rem;
    background: var(--lp-blue-100);
    border-radius: var(--lp-radius-md);
}

.lp-stat-bar {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.lp-stat-bar-fill {
    width: 100%;
    min-height: 2px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--lp-blue-600), var(--lp-blue-400));
}

.lp-stat-hint {
    color: var(--lp-text-muted);
    font-size: 0.85rem;
    margin: -0.6rem 0 1.4rem;
}

/* Same technique as vereinssystem1's assets/styles/admin.css
   .admin-table-cards — proven pattern, ported here with --lp-* tokens
   instead of --color-*. Plain tables just scroll horizontally on narrow
   screens; tables with this marker class + data-label attributes on
   their <td>s become stacked cards instead. Used for the Kunden-/
   Server-Tabellen (the two most-used, many-column lists) — Statistik-
   Tabellen keep the generic scroll fallback, same split as the sibling
   app. */
@media (max-width: 720px) {
    table:not(.admin-table-cards) {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .admin-table-cards thead {
        display: none;
    }

    .admin-table-cards,
    .admin-table-cards tbody,
    .admin-table-cards tr,
    .admin-table-cards td {
        display: block;
        width: 100%;
    }

    .admin-table-cards tbody tr {
        margin-bottom: 1em;
        border: 1px solid var(--lp-border);
        border-radius: var(--lp-radius-md);
        padding: 0.4em 0.8em;
    }

    .admin-table-cards td {
        border: none;
        padding: 0.45em 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1em;
        font-size: 0.88rem;
        min-width: 0;
        overflow-wrap: anywhere;
        text-align: right;
    }

    .admin-table-cards td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--lp-text-muted);
        flex-shrink: 0;
        text-align: left;
    }

    .lp-admin-card {
        padding: 1.6rem 1.4rem;
    }

    .lp-stat-tile {
        min-width: 130px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn,
    .lp-feature-card,
    .lp-mock-panel,
    .lp-nav-toggle-bar-top,
    .lp-nav-toggle-bar-mid,
    .lp-nav-toggle-bar-bottom {
        transition: none;
    }
}
