:root {
    --landing-ink: #151a22;
    --landing-muted: #586273;
    --landing-soft: #f7f5ef;
    --landing-card: #ffffff;
    --landing-line: #e7dcc7;
    --landing-shadow: 0 18px 46px rgba(35, 29, 18, 0.15);
}

* {
    box-sizing: border-box;
}

body.landing-page {
    margin: 0;
    font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--landing-ink);
    background: var(--landing-soft);
}

.landing-page a {
    color: inherit;
}

.landing-hero {
    min-height: 720px;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(33, 25, 18, 0.82) 0%, rgba(33, 25, 18, 0.58) 44%, rgba(33, 25, 18, 0.22) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.landing-nav {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.landing-brand,
.landing-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.landing-brand {
    font-weight: 800;
    text-decoration: none;
}

.landing-brand-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--color-accent, #ED9D08), transparent 10%);
}

.landing-nav-actions a {
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-nav-actions .nav-demo {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
}

.landing-hero-content {
    width: min(1180px, calc(100% - 40px));
    margin: auto auto 84px;
    max-width: 760px;
}

.landing-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-kicker {
    padding: 8px 14px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--color-accent, #ED9D08), transparent 8%);
    margin-bottom: 18px;
}

.landing-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.55rem, 7vw, 5.6rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.landing-hero p {
    max-width: 680px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
    line-height: 1.7;
}

.landing-hero-actions,
.landing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 30px;
}

.landing-demo-note {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
}

.landing-hero .landing-demo-note strong {
    color: #fff;
}

.btn {
    border-radius: 8px;
    padding: 13px 19px;
    font-weight: 800;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.btn-main {
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent, #ED9D08), color-mix(in srgb, var(--color-heading, #9E1E21), black 6%));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--color-accent, #ED9D08), transparent 68%);
}

.btn-light-action {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.benefit-strip {
    width: min(1180px, calc(100% - 40px));
    margin: -58px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--landing-shadow);
    background: var(--landing-line);
}

.benefit-item {
    background: #fff;
    padding: 24px;
    display: flex;
    gap: 15px;
}

.benefit-item i {
    color: var(--color-accent, #ED9D08);
    font-size: 1.35rem;
    margin-top: 3px;
}

.benefit-item strong,
.benefit-item span {
    display: block;
}

.benefit-item strong {
    margin-bottom: 5px;
}

.benefit-item span,
.landing-section p,
.feature-card p,
.workflow p,
.landing-cta p {
    color: var(--landing-muted);
    line-height: 1.65;
}

.landing-section {
    width: min(1180px, calc(100% - 40px));
    margin: 94px auto 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 46px;
    align-items: center;
}

.section-kicker {
    color: var(--color-heading, #9E1E21);
    margin-bottom: 12px;
}

.section-copy h2,
.section-heading h2,
.landing-cta h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 3rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}

.section-copy p {
    margin: 18px 0 0;
    font-size: 1.02rem;
}

.preview-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.preview-wall article {
    background: #fff;
    border: 1px solid var(--landing-line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(35, 29, 18, 0.08);
}

.preview-wall img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.preview-wall span {
    display: block;
    padding: 14px 16px;
    font-weight: 800;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 28px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.faq-grid article,
.workflow article,
.landing-cta {
    background: var(--landing-card);
    border: 1px solid var(--landing-line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(35, 29, 18, 0.08);
}

.feature-card {
    padding: 24px;
}

.faq-grid article {
    padding: 24px;
}

.feature-card i {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--color-primary, #003399);
    margin-bottom: 18px;
}

.feature-card h3,
.faq-grid h3,
.workflow h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 900;
}

.feature-card p,
.faq-grid p,
.workflow p {
    margin: 0;
    font-size: 0.94rem;
}

.workflow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.workflow article {
    padding: 26px;
}

.workflow span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--color-accent, #ED9D08), white 76%);
    color: color-mix(in srgb, var(--color-heading, #9E1E21), black 6%);
    font-weight: 900;
    margin-bottom: 18px;
}

.landing-cta {
    width: min(1180px, calc(100% - 40px));
    margin: 96px auto 0;
    padding: clamp(28px, 5vw, 54px);
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 234, 0.96)),
        url('../assets/images/demo/event-netzwerk.png');
    background-size: cover;
}

.landing-cta p {
    max-width: 660px;
    margin: 16px 0 0;
}

.admin-link {
    font-weight: 800;
    color: var(--color-primary, #003399);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.landing-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 64px auto 0;
    padding: 28px 0 38px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--landing-muted);
    font-size: 0.9rem;
}

.landing-footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.landing-footer-links a,
.landing-footer-links .legal-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--color-primary, #003399);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.landing-footer-links a:hover,
.landing-footer-links .legal-link:hover {
    text-decoration: underline;
}

body.modal-open {
    overflow: hidden;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(10, 18, 32, 0.72);
}

.legal-modal[hidden] {
    display: none;
}

.modal-panel {
    width: min(760px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    position: relative;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
    padding: clamp(26px, 5vw, 46px);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: color-mix(in srgb, var(--color-primary, #003399), white 88%);
    color: var(--landing-ink);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
    background: color-mix(in srgb, var(--color-accent, #ED9D08), white 72%);
    outline: none;
}

.modal-panel h2 {
    margin: 0 48px 22px 0;
    color: var(--landing-ink);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0;
}

.legal-content {
    display: grid;
    gap: 20px;
}

.legal-content section {
    border-top: 1px solid var(--landing-line);
    padding-top: 18px;
}

.legal-content h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 900;
}

.legal-content p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.65;
}

.legal-content a {
    color: var(--color-primary, #003399);
    font-weight: 700;
}

@media (max-width: 991px) {
    .landing-hero {
        min-height: 640px;
    }

    .benefit-strip,
    .section-grid,
    .feature-grid,
    .faq-grid,
    .workflow,
    .landing-cta {
        grid-template-columns: 1fr;
    }

    .landing-cta {
        display: grid;
    }
}

@media (max-width: 767px) {
    .landing-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .landing-hero {
        min-height: 680px;
        background-position: center;
    }

    .landing-hero-content {
        margin-bottom: 74px;
    }

    .landing-hero p {
        font-size: 1rem;
    }

    .benefit-strip,
    .preview-wall {
        grid-template-columns: 1fr;
    }

    .landing-hero-actions,
    .landing-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .admin-link {
        justify-content: center;
        width: 100%;
    }

    .landing-footer {
        flex-direction: column;
    }

    .landing-footer-links {
        justify-content: flex-start;
    }
}
