/* Öffentliche Startseite und Impressum (Landing.razor, Impressum.razor, SiteFooter.razor).
   Farben wie die Kopfleiste (nav.css): Tinte #2a2417, Gold #b8923a. Keine externen Schriften (Datenschutz). */

.content:has(> .landing) { max-width: none; padding: 0; }

.landing {
    --lp-ink: #1c170e; --lp-ink-2: #2a2417; --lp-text: #3d3628; --lp-muted: #6b6453;
    --lp-gold: #b8923a; --lp-gold-dark: #8a6a1f; --lp-gold-hi: #e3c27a;
    --lp-cream: #faf6ec; --lp-line: #ece3cc;
    color: var(--lp-text); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.landing h1, .landing h2, .landing h3 { color: var(--lp-ink-2); letter-spacing: -0.02em; margin: 0; }
.landing p { margin: 0; }
.lp-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; box-sizing: border-box; }
.lp-gold {
    background: linear-gradient(100deg, #f0d79c 0%, #c99a3c 55%, #e7c57f 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Knöpfe ---------- */
.lp-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem;
    box-sizing: border-box; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible { outline: 2px solid var(--lp-gold-hi); outline-offset: 3px; }
.lp-btn-gold {
    background: linear-gradient(135deg, #e3c27a, #b8923a 60%, #a07a28); color: #1c170e;
    box-shadow: 0 8px 24px rgba(184, 146, 58, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.lp-btn-gold:hover { box-shadow: 0 12px 30px rgba(184, 146, 58, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.lp-btn-ghost { color: #f5eedc; border: 1px solid rgba(227, 194, 122, .45); background: rgba(255, 255, 255, .04); }
.lp-btn-ghost:hover { background: rgba(227, 194, 122, .12); }
.lp-btn-block { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.lp-hero {
    position: relative; overflow: hidden; color: #e9e1cd;
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(201, 154, 60, .28), transparent 60%),
        radial-gradient(40rem 26rem at -10% 110%, rgba(201, 154, 60, .16), transparent 60%),
        linear-gradient(180deg, #1c170e 0%, #241d11 100%);
    padding: 5rem 0 5.5rem;
}
.lp-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(227, 194, 122, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(227, 194, 122, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.lp-eyebrow {
    display: inline-block; padding: .35rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
    color: var(--lp-gold-hi); background: rgba(227, 194, 122, .1); border: 1px solid rgba(227, 194, 122, .3);
}
.lp-hero h1 { color: #fbf6ea; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.04; font-weight: 800; margin: 1.25rem 0 1.25rem; letter-spacing: -0.035em; }
.lp-lead { font-size: 1.15rem; color: #cfc5ad; max-width: 34rem; }
.lp-facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; color: #a99f86; }
.lp-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.lp-facts li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--lp-gold); box-shadow: 0 0 0 3px rgba(184, 146, 58, .2); }

/* Schematische App-Ansicht */
.lp-shot { position: relative; }
.lp-window {
    background: #fffdf8; border-radius: 14px; overflow: hidden; color: #2a2417; font-size: .8rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(227, 194, 122, .25);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.lp-window-bar { display: flex; align-items: center; gap: .35rem; padding: .6rem .8rem; background: #f3ecdb; border-bottom: 1px solid #e7dcc0; }
.lp-window-bar i { width: .6rem; height: .6rem; border-radius: 50%; background: #d9cba6; }
.lp-window-bar span { margin-inline-start: .7rem; padding: .15rem .7rem; border-radius: 6px; background: #fff; color: #8a826e; font-size: .72rem; }
.lp-window-body { display: grid; grid-template-columns: 11rem 1fr; min-height: 17rem; }
.lp-side { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .5rem; background: #faf6ec; border-inline-end: 1px solid #efe6cf; }
.lp-side b { display: flex; align-items: center; gap: .45rem; padding: .38rem .55rem; border-radius: 6px; font-weight: 500; color: #4d4535; white-space: nowrap; }
.lp-side b.on { background: #f0e4c4; color: #2a2417; font-weight: 600; }
.lp-side b.dim { color: #9a917c; margin-top: .4rem; }
.lp-side em { margin-inline-start: auto; font-style: normal; font-size: .7rem; font-weight: 700; color: #8a6a1f; }
.lp-side s, .lp-row s { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c); text-decoration: none; }
.lp-list { padding: .55rem; display: flex; flex-direction: column; gap: .2rem; }
.lp-suggest {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .35rem;
    padding: .5rem .65rem; border-radius: 8px; background: linear-gradient(90deg, #fbf1d8, #f6e7c0); border: 1px solid #ead7a4; font-weight: 600; color: #5b4514;
}
.lp-suggest u { text-decoration: none; padding: .2rem .6rem; border-radius: 999px; background: #2a2417; color: #fff; font-size: .72rem; white-space: nowrap; }
.lp-row { display: grid; grid-template-columns: .5rem 6.8rem 1fr auto; align-items: center; gap: .6rem; padding: .5rem .55rem; border-radius: 6px; color: #6b6453; }
.lp-row strong { color: #4d4535; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-row time { font-size: .7rem; color: #9a917c; }
.lp-row.unread { background: #fff8e8; }
.lp-row.unread strong { color: #1c170e; font-weight: 700; }
.lp-float {
    position: absolute; inset-inline-end: -1.4rem; top: -1.6rem; display: flex; align-items: center; gap: .7rem;
    padding: .75rem 1rem; border-radius: 12px; background: rgba(255, 253, 248, .97); color: #2a2417;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35); border: 1px solid #ead7a4; animation: lp-float 5s ease-in-out infinite;
}
.lp-float strong { display: block; font-size: .88rem; }
.lp-float small { color: #8a826e; font-size: .76rem; }
.lp-float-icon { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 9px; background: linear-gradient(135deg, #e3c27a, #b8923a); color: #1c170e; font-size: 1rem; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .lp-float, .lp-caret { animation: none; } .lp-btn { transition: none; } }


/* Antwort-Ansicht mit KI-Entwurf (Hero) */
.lp-reply { padding: 1rem; display: flex; flex-direction: column; gap: .7rem; font-size: .82rem; line-height: 1.45; }
.lp-mail { padding: .85rem .95rem; border-radius: 10px; background: #fff; border: 1px solid #efe6cf; color: #4d4535; }
.lp-mail-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.lp-mail-head strong { display: block; color: #1c170e; font-size: .85rem; }
.lp-mail-head small { color: #9a917c; font-size: .72rem; }
.lp-avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #e6eef7; color: #33557d; font-weight: 700; font-size: .72rem; }
.lp-mail-subj { font-weight: 700; color: #2a2417; margin-bottom: .3rem !important; }
.lp-kw { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; border: 1px dashed #d9c48e; background: #fffaf0; }
.lp-kw span { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6a1f; }
.lp-kw em { font-style: normal; color: #2a2417; }
.lp-draft { padding: .85rem .95rem; border-radius: 12px; background: linear-gradient(180deg, #fff8e6, #fffdf7); border: 1px solid #e3cd92; box-shadow: 0 8px 24px rgba(184, 146, 58, .18); color: #2a2417; }
.lp-draft-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.lp-draft-head .lp-float-icon { width: 1.6rem; height: 1.6rem; border-radius: 7px; font-size: .8rem; }
.lp-draft-head small { margin-inline-start: auto; color: #9a917c; font-size: .7rem; }
.lp-caret { display: inline-block; width: 2px; height: 1em; vertical-align: -2px; background: #b8923a; animation: lp-blink 1s steps(1) infinite; }
@keyframes lp-blink { 50% { opacity: 0; } }
.lp-draft-actions { display: flex; gap: .45rem; margin-top: .7rem; }
.lp-draft-actions u { text-decoration: none; padding: .3rem .85rem; border-radius: 999px; border: 1px solid #e0cf9f; font-weight: 600; font-size: .75rem; color: #4d4535; }
.lp-draft-actions u.go { background: #2a2417; border-color: #2a2417; color: #fff; }

/* KI-Abschnitt */
.lp-ai-steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-ai-steps li { position: relative; padding: 1.75rem 1.5rem 1.6rem; border-radius: 18px; background: linear-gradient(180deg, #fffaf0, #fff); border: 1px solid #ead7a4; }
.lp-ai-steps b { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: linear-gradient(135deg, #e3c27a, #b8923a); color: #1c170e; font-size: 1.05rem; }
.lp-ai-steps h3 { font-size: 1.15rem; margin: 1rem 0 .4rem; }
.lp-ai-steps p { color: var(--lp-muted); font-size: .95rem; }
.lp-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 1.25rem; border-radius: 16px; overflow: hidden; background: var(--lp-line); border: 1px solid var(--lp-line); }
.lp-modes div { padding: 1.1rem 1.3rem; background: #fff; }
.lp-modes strong { display: block; color: var(--lp-ink-2); margin-bottom: .2rem; }
.lp-modes span { font-size: .92rem; color: var(--lp-muted); }
.lp-note { margin-top: 1.1rem !important; font-size: .9rem; color: #8a826e; max-width: 46rem; }

/* Posteingang-Abschnitt mit heller App-Ansicht */
.lp-split-shot { grid-template-columns: 1fr 1.15fr; }
.lp-shot-light .lp-window { transform: none; box-shadow: 0 24px 60px rgba(42, 36, 23, .14), 0 0 0 1px #e7dcc0; }

/* ---------- Abschnitte ---------- */
.lp-section { padding: 5.5rem 0; background: #fff; }
.lp-alt { background: var(--lp-cream); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-gold-dark); margin-bottom: .7rem !important; }
.landing h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; }
.lp-sub { margin-top: .9rem !important; font-size: 1.08rem; color: var(--lp-muted); max-width: 38rem; }
.lp-center { text-align: center; }

.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; }
.lp-features article {
    padding: 1.5rem 1.35rem; border-radius: 16px; background: #fff; border: 1px solid var(--lp-line);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lp-features article:hover { transform: translateY(-3px); border-color: #e0cf9f; box-shadow: 0 16px 36px rgba(42, 36, 23, .08); }
.lp-features h3 { font-size: 1.05rem; font-weight: 700; margin: 1rem 0 .45rem; }
.lp-features p { font-size: .93rem; color: var(--lp-muted); }
.lp-ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: linear-gradient(135deg, #fbf1d8, #f1dfae); border: 1px solid #ead7a4; }
.lp-ico svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--lp-gold-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.lp-steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; }
.lp-steps li { position: relative; padding: 1.6rem 1.5rem; border-radius: 16px; background: #fff; border: 1px solid var(--lp-line); }
.lp-steps b {
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; font-size: 1.05rem;
    background: var(--lp-ink-2); color: var(--lp-gold-hi);
}
.lp-steps h3 { font-size: 1.1rem; margin: 1rem 0 .4rem; }
.lp-steps p { color: var(--lp-muted); font-size: .95rem; }

.lp-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.lp-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lp-checks li { padding: 1.2rem; padding-inline-start: 3.2rem; position: relative; border-radius: 14px; background: var(--lp-cream); border: 1px solid var(--lp-line); }
.lp-checks li::before {
    content: ""; position: absolute; inset-inline-start: 1.1rem; top: 1.25rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
    background: var(--lp-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.lp-checks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lp-checks strong { display: block; color: var(--lp-ink-2); margin-bottom: .2rem; }
.lp-checks span { font-size: .92rem; color: var(--lp-muted); }

/* Preis */
.lp-price {
    max-width: 27rem; margin: 2.75rem auto 0; padding: 2rem; border-radius: 22px; background: #fff;
    border: 1px solid #e0cf9f; box-shadow: 0 24px 60px rgba(42, 36, 23, .1), 0 0 0 6px rgba(227, 194, 122, .12);
}
.lp-price-tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--lp-gold-dark); background: #fbf1d8; }
.lp-price-amount { display: flex; align-items: flex-end; gap: .6rem; margin-top: 1rem !important; }
.lp-price-amount strong { font-size: 3.4rem; line-height: 1; font-weight: 800; color: var(--lp-ink); letter-spacing: -0.04em; }
.lp-price-amount span { font-size: .85rem; line-height: 1.25; color: var(--lp-muted); padding-bottom: .35rem; }
.lp-price-note { margin-top: .5rem !important; color: var(--lp-muted); font-size: .95rem; }
.lp-price ul { list-style: none; padding: 1.25rem 0; margin: 1.25rem 0 1.5rem; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); display: grid; gap: .7rem; }
.lp-price li { display: flex; gap: .65rem; align-items: center; color: var(--lp-text); }
.lp-price li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fbf1d8; color: var(--lp-gold-dark); font-size: .75rem; font-weight: 800; }
.lp-tiers { width: 100%; border-collapse: collapse; margin: 1rem 0 .25rem; font-variant-numeric: tabular-nums; }
.lp-tiers th, .lp-tiers td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--lp-line); }
.lp-tiers th { font-size: .8rem; color: var(--lp-muted); font-weight: 600; }
.lp-tiers td:last-child, .lp-tiers th:last-child { text-align: right; font-weight: 700; color: var(--lp-ink); }
.lp-tiers .lp-tier-top td { background: #fbf1d8; }
.lp-small { margin-top: 1rem !important; font-size: .8rem; color: #8a826e; text-align: center; }

/* Schluss */
.lp-final {
    padding: 5rem 0; text-align: center; color: #cfc5ad;
    background: radial-gradient(40rem 20rem at 50% 0%, rgba(201, 154, 60, .25), transparent 70%), #1c170e;
}
.lp-final img { display: block; margin: 0 auto 1.25rem; }
.lp-final h2 { color: #fbf6ea; }
.lp-final p { margin-top: .8rem; font-size: 1.1rem; }
.lp-center-flex { justify-content: center; }

/* Fuß */
.lp-footer { background: #15110a; color: #8f8670; font-size: .88rem; padding: 2rem 0; border-top: 1px solid rgba(227, 194, 122, .12); }
.lp-footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.lp-footer-brand { display: inline-flex; align-items: center; gap: .5rem; color: #e9e1cd; font-weight: 700; text-decoration: none; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.lp-footer a { color: #cfc5ad; text-decoration: none; }
.lp-footer nav a:hover { color: var(--lp-gold-hi); }

/* Rechtliche Seiten */
.lp-page { min-height: calc(100vh - 3.5rem); display: flex; flex-direction: column; }
.lp-legal { flex: 1; width: 100%; max-width: 46rem; padding-top: 3rem; padding-bottom: 4rem; }
.lp-legal h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1.5rem; }
.lp-legal h2 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }
.lp-legal p { margin-bottom: .75rem; }
.lp-legal a { color: var(--lp-gold-dark); }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 64rem) {
    .lp-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 54rem) {
    .lp-hero { padding: 3.25rem 0 4.5rem; }
    .lp-hero-grid, .lp-split { grid-template-columns: 1fr; gap: 3rem; }
    .lp-window { transform: none; }
    .lp-float { inset-inline-end: .75rem; }
    .lp-steps, .lp-ai-steps, .lp-modes { grid-template-columns: 1fr; }
    .lp-split-shot { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
    .lp-section { padding: 3.75rem 0; }
    .lp-hero h1 { font-size: 2.35rem; }
    .lp-lead { font-size: 1.05rem; }
    .lp-cta .lp-btn { flex: 1 1 100%; }
    .lp-features, .lp-checks { grid-template-columns: 1fr; }
    .lp-features { gap: .75rem; margin-top: 2rem; }
    .lp-features article { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; padding: 1.1rem; }
    .lp-features .lp-ico { grid-row: span 2; }
    .lp-features h3 { margin: .1rem 0 .3rem; }
    .lp-steps { margin-top: 2rem; gap: .75rem; }
    .lp-steps li { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; padding: 1.1rem; }
    .lp-steps b, .lp-ai-steps b { grid-row: span 2; }
    .lp-ai-steps { margin-top: 2rem; gap: .75rem; }
    .lp-ai-steps li { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; padding: 1.1rem; }
    .lp-ai-steps h3 { margin: .3rem 0 .25rem; }
    .lp-draft-head small { display: none; }
    .lp-steps h3 { margin: .3rem 0 .25rem; }
    .lp-hero { overflow: hidden; }
    .lp-window-body { grid-template-columns: 1fr; }
    .lp-side { display: none; }
    .lp-row { grid-template-columns: .5rem 5.5rem 1fr auto; gap: .45rem; }
    .lp-price { padding: 1.5rem; }
    .lp-footer-grid { flex-direction: column; align-items: flex-start; }
}

/* Rechts-nach-links (Arabisch): Bildschirm-Schemata spiegeln, Pfeile drehen. */
[dir="rtl"] .lp-window { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
[dir="rtl"] .lp-window-bar span { direction: ltr; }
.lp-legal-note { padding: .8rem 1rem; border-radius: 10px; background: var(--lp-cream); border: 1px solid var(--lp-line); color: var(--lp-muted); font-size: .92rem; }
