/* Landingpage für die Elternanmeldung (register.tpl) */
.landing {
    --lp-accent: #7c3aed;
    --lp-accent-warm: #f59e0b;
    --lp-ink: #1f2937;
    --lp-tint: #faf5ff;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--lp-ink);
    background: #fff;
    scroll-behavior: smooth;
}
html { scroll-behavior: smooth; }
.landing .btn-primary {
    --bs-btn-bg: var(--lp-accent);
    --bs-btn-border-color: var(--lp-accent);
    --bs-btn-hover-bg: #6d28d9;
    --bs-btn-hover-border-color: #6d28d9;
    --bs-btn-active-bg: #5b21b6;
    --bs-btn-active-border-color: #5b21b6;
    background-color: var(--lp-accent);
    border-color: var(--lp-accent);
}
.landing a { color: var(--lp-accent); }

/* Navigation */
.landing-nav {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 10;
    color: #fff;
}
.landing-nav .landing-brand,
.landing-nav .landing-nav-link { color: #fff; text-decoration: none; }
.landing-nav .landing-nav-link:hover { text-decoration: underline; }

/* Hero */
.landing-hero {
    position: relative;
    min-height: min(100vh, 820px);
    min-height: min(100svh, 820px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.landing-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}
.landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 12, 30, .88) 0%, rgba(17, 12, 30, .55) 55%, rgba(17, 12, 30, .15) 100%);
}
.landing-hero-content { max-width: 640px; padding: 8rem 0 5rem; }
.landing-eyebrow {
    display: inline-block;
    padding: .35rem .9rem;
    margin-bottom: 1.25rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(6px);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.landing-title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1.25rem;
}
.landing-lead {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 2rem;
}
.landing-btn-ghost {
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, .7);
    background: transparent;
}
.landing-btn-ghost:hover { background: rgba(255, 255, 255, .15); }

/* Vorteilsleiste */
.landing-strip { padding: 2.5rem 0; background: #fff; border-bottom: 1px solid #f1f1f4; }
.landing-strip-title { font-weight: 700; font-size: 1.15rem; margin-bottom: .25rem; }

/* Sektionen */
.landing-section { padding: 5.5rem 0; }
.landing-section-tint { background: var(--lp-tint); }
.landing-section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.landing-section-head h2,
.landing-h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; }
.landing-section-head p,
.landing-text { font-size: 1.1rem; line-height: 1.7; color: #4b5563; }

/* Angebotskarten */
.landing-card {
    height: 100%;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 41, 55, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.landing-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(124, 58, 237, .18); }
.landing-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.landing-card-body { padding: 1.5rem; }
.landing-card-body h3 { font-weight: 700; font-size: 1.35rem; margin-bottom: .5rem; }
.landing-card-body p { margin: 0; color: #4b5563; line-height: 1.6; }

/* Split-Bereich */
.landing-split-img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(31, 41, 55, .18);
}
.landing-checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.landing-checks li { position: relative; padding-left: 2rem; margin-bottom: .75rem; font-weight: 500; }
.landing-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #fff;
    font-size: .8rem;
    line-height: 1.35rem;
    text-align: center;
}

/* Schritte */
.landing-step { text-align: center; padding: 0 1rem; }
.landing-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent-warm));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
}
.landing-step h3 { font-weight: 700; font-size: 1.25rem; }
.landing-step p { color: #4b5563; line-height: 1.6; }

/* Formular */
.landing-form-wrap { max-width: 900px; }
.landing-form-card { border: 0; border-radius: 1.5rem; box-shadow: 0 25px 60px rgba(124, 58, 237, .15); }
.landing-form-card #hub-result-message[hidden] { display: none; }

/* FAQ */
.landing-faq { max-width: 780px; }
.landing-faq details { border-bottom: 1px solid #e5e7eb; padding: 1.1rem 0; }
.landing-faq summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; position: relative; padding-right: 2rem; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after { content: "+"; position: absolute; right: 0; font-size: 1.5rem; line-height: 1; color: var(--lp-accent); }
.landing-faq details[open] summary::after { content: "–"; }
.landing-faq p { margin: .75rem 0 0; color: #4b5563; line-height: 1.7; }

/* Footer */
.landing-footer { background: #1f1b2e; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.landing-footer a { color: #fff; }

@media (max-width: 768px) {
    .landing-hero-overlay { background: linear-gradient(180deg, rgba(17, 12, 30, .6) 0%, rgba(17, 12, 30, .85) 100%); }
    .landing-hero-content { padding-top: 7rem; }
    .landing-section { padding: 3.5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .landing-card { transition: none; }
}
