/* Hyggesplit – Landing Page (One-Pager für nicht eingeloggte Besucher)
   Eigenständig, nur Systemschriften (keine Drittanbieter), Hell/Dunkel wie die App. */

:root {
    --lp-bg:        #fbf8f3;   /* warmes Off-White – „hygge“ */
    --lp-bg-alt:    #f3eee6;
    --lp-surface:   #ffffff;
    --lp-text:      #1c2333;
    --lp-muted:     #5d6779;
    --lp-border:    #e6dfd3;
    --lp-primary:   #2563eb;
    --lp-primary-d: #1d4ed8;
    --lp-accent:    #d97a3a;   /* Kaminfeuer-Orange */
    --lp-success:   #15803d;
    --lp-chip:      #eaf1ff;
    --lp-hero-glow: radial-gradient(60rem 30rem at 85% -10%, rgba(37,99,235,.14), transparent 60%),
                    radial-gradient(40rem 25rem at -10% 20%, rgba(217,122,58,.12), transparent 60%);
    --lp-shadow:    0 10px 30px rgba(28,35,51,.08), 0 2px 6px rgba(28,35,51,.05);
    --lp-radius:    18px;
    color-scheme: light;
}
:root[data-theme="dark"] {
    --lp-bg:        #0d1220;
    --lp-bg-alt:    #121a2c;
    --lp-surface:   #172035;
    --lp-text:      #e7ebf3;
    --lp-muted:     #9aa6bb;
    --lp-border:    #263149;
    --lp-primary:   #5b8cff;
    --lp-primary-d: #3b6ff0;
    --lp-accent:    #f0a060;
    --lp-success:   #4ade80;
    --lp-chip:      #1d2a47;
    --lp-hero-glow: radial-gradient(60rem 30rem at 85% -10%, rgba(91,140,255,.18), transparent 60%),
                    radial-gradient(40rem 25rem at -10% 20%, rgba(240,160,96,.10), transparent 60%);
    --lp-shadow:    0 10px 30px rgba(0,0,0,.35);
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --lp-bg:        #0d1220;
        --lp-bg-alt:    #121a2c;
        --lp-surface:   #172035;
        --lp-text:      #e7ebf3;
        --lp-muted:     #9aa6bb;
        --lp-border:    #263149;
        --lp-primary:   #5b8cff;
        --lp-primary-d: #3b6ff0;
        --lp-accent:    #f0a060;
        --lp-success:   #4ade80;
        --lp-chip:      #1d2a47;
        --lp-hero-glow: radial-gradient(60rem 30rem at 85% -10%, rgba(91,140,255,.18), transparent 60%),
                        radial-gradient(40rem 25rem at -10% 20%, rgba(240,160,96,.10), transparent 60%);
        --lp-shadow:    0 10px 30px rgba(0,0,0,.35);
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--lp-text);
    background: var(--lp-bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--lp-primary); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.08rem; }
p  { margin: 0 0 1em; }

.lp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lp-center { text-align: center; }
.lp-kicker {
    font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--lp-accent); margin-bottom: .6rem;
}
.lp-lead { font-size: 1.12rem; color: var(--lp-muted); max-width: 40rem; }
.lp-emoji { font-size: 1.8rem; line-height: 1; display: block; margin-bottom: .6rem; }

/* ——— Buttons ——— */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
    text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    border: 2px solid transparent; white-space: nowrap;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.lp-btn-primary { background: var(--lp-primary); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.3); }
.lp-btn-primary:hover { background: var(--lp-primary-d); }
.lp-btn-ghost { color: var(--lp-text); border-color: var(--lp-border); background: var(--lp-surface); }
.lp-btn-light { background: #fff; color: #1d4ed8; }
.lp-btn-outline-light { color: #fff; border-color: rgba(255,255,255,.6); }
.lp-link { color: var(--lp-text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.lp-link:hover { color: var(--lp-primary); }

/* ——— Navigation ——— */
.lp-nav {
    position: sticky; top: 0; z-index: 10;
    background: color-mix(in srgb, var(--lp-bg) 85%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--lp-border);
}
.lp-nav-inner { display: flex; align-items: center; gap: 1.25rem; height: 64px; }
.lp-logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--lp-text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.lp-logo img { border-radius: 8px; }
.lp-nav-links { display: none; gap: 1.4rem; margin-left: 1rem; }
.lp-nav-links a { color: var(--lp-muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.lp-nav-links a:hover { color: var(--lp-text); }
.lp-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
@media (min-width: 860px) { .lp-nav-links { display: flex; } }

/* ——— Hero ——— */
.lp-hero { background: var(--lp-hero-glow); padding: 3.5rem 0 4rem; overflow: hidden; }
.lp-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 920px) { .lp-hero-grid { grid-template-columns: 1.1fr .9fr; } .lp-hero { padding: 5.5rem 0 6rem; } }
.lp-hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.1rem); font-weight: 850; margin-bottom: .45em; }
.lp-hero h1 span { color: var(--lp-primary); }
.lp-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1rem; }
.lp-actions-center { justify-content: center; }
.lp-note { font-size: .88rem; color: var(--lp-muted); }

/* Handy-Mockup */
.lp-hero-visual { display: flex; justify-content: center; }
.lp-phone {
    width: min(340px, 92vw); border-radius: 36px; padding: 12px;
    background: #0f172a; box-shadow: 0 30px 60px rgba(15,23,42,.28), 0 0 0 1px rgba(255,255,255,.06) inset;
    transform: rotate(2deg);
}
.lp-phone-bar { display: flex; justify-content: space-between; align-items: baseline; color: #fff; padding: 10px 12px 12px; font-weight: 700; }
.lp-phone-bar small { color: #94a3b8; font-weight: 500; }
.lp-phone-body { background: var(--lp-bg); border-radius: 26px; padding: 14px; }
.lp-balance { background: var(--lp-surface); border-radius: 18px; padding: 14px; text-align: center; box-shadow: var(--lp-shadow); }
.lp-balance small { color: var(--lp-muted); font-size: .78rem; }
.lp-balance strong { display: block; font-size: 2rem; color: var(--lp-success); letter-spacing: -.02em; }
.lp-balance span { font-size: .85rem; color: var(--lp-success); font-weight: 600; }
.lp-phone-label { margin: 14px 4px 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lp-muted); font-weight: 700; }
.lp-row { display: flex; justify-content: space-between; background: var(--lp-surface); border-radius: 12px; padding: 9px 12px; margin-bottom: 6px; font-size: .88rem; }
.lp-receipt { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; background: var(--lp-surface); border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; font-size: .86rem; }
.lp-receipt small { display: block; color: var(--lp-muted); font-size: .74rem; }
.lp-receipt em { grid-column: 1 / -1; font-style: normal; font-size: .74rem; color: var(--lp-muted); }

/* ——— Problem ——— */
.lp-pain { padding: 4rem 0; }
.lp-pain-grid { display: grid; gap: 1rem; margin: 2rem 0; }
@media (min-width: 760px) { .lp-pain-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-pain-card { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 1.5rem; }
.lp-pain-card p { margin: 0; color: var(--lp-muted); }
.lp-pain-answer { font-size: 1.15rem; font-weight: 700; }

/* ——— Sektionen ——— */
.lp-section { padding: 5rem 0; }
.lp-alt { background: var(--lp-bg-alt); }

.lp-steps { list-style: none; padding: 0; margin: 2.5rem 0; display: grid; gap: 1rem; counter-reset: none; }
@media (min-width: 860px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.lp-steps li { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 1.6rem; }
.lp-steps p { color: var(--lp-muted); margin: 0; }
.lp-step-no {
    display: inline-flex; width: 2.2rem; height: 2.2rem; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--lp-chip); color: var(--lp-primary); font-weight: 800; margin-bottom: .8rem;
}

.lp-example { background: var(--lp-surface); border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); padding: 1.6rem; max-width: 760px; margin: 0 auto; }
.lp-example-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; margin-bottom: 1.2rem; }
.lp-example-head span { color: var(--lp-muted); font-size: .9rem; }
.lp-example-row { display: grid; grid-template-columns: 4.5rem 1fr 5.5rem 5.5rem; align-items: center; gap: .8rem; padding: .45rem 0; font-size: .95rem; }
.lp-example-row b { text-align: right; }
.lp-example-row span:nth-child(3) { color: var(--lp-muted); font-size: .88rem; }
.lp-bar { height: 10px; border-radius: 999px; background: var(--lp-bg-alt); overflow: hidden; }
.lp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lp-primary), var(--lp-accent)); border-radius: inherit; }
.lp-example-foot { margin: 1.1rem 0 0; color: var(--lp-muted); font-size: .92rem; }
@media (max-width: 520px) {
    .lp-example-row { grid-template-columns: 3.6rem 1fr 4.8rem; }
    .lp-example-row span:nth-child(3) { display: none; }
}

.lp-features { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .lp-features { grid-template-columns: repeat(3, 1fr); } }
.lp-feature { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 1.5rem; transition: transform .15s ease, box-shadow .15s ease; }
.lp-feature:hover { transform: translateY(-2px); box-shadow: var(--lp-shadow); }
.lp-feature p { margin: 0; color: var(--lp-muted); font-size: .96rem; }

/* ——— Apps ——— */
.lp-apps { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .lp-apps { grid-template-columns: 1.1fr .9fr; } }
.lp-store-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.lp-store {
    display: inline-flex; flex-direction: column; padding: .6rem 1.1rem; border-radius: 14px;
    background: var(--lp-surface); border: 1px solid var(--lp-border); font-weight: 700; color: var(--lp-text); text-decoration: none;
}
.lp-store small { font-weight: 500; color: var(--lp-muted); font-size: .78rem; }
.lp-store-live { border-color: var(--lp-primary); }
.lp-store-live small { color: var(--lp-primary); }
.lp-apps-card { background: var(--lp-surface); border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); padding: 1.3rem; }
.lp-rooms { display: grid; gap: .7rem; }
.lp-room { border: 1px solid var(--lp-border); border-radius: 14px; padding: .8rem 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .8rem; font-size: .92rem; }
.lp-room strong { grid-column: 1 / -1; }
.lp-room span { background: var(--lp-chip); border-radius: 8px; padding: .35rem .6rem; }
.lp-room .lp-free { background: transparent; border: 1.5px dashed var(--lp-border); color: var(--lp-muted); }
.lp-room-mine { border: 2px solid var(--lp-primary); }

/* ——— FAQ ——— */
.lp-faq { max-width: 780px; }
.lp-faq h2 { margin-bottom: 1.5rem; }
.lp-faq details { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 14px; padding: 0 1.2rem; margin-bottom: .7rem; }
.lp-faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--lp-primary); font-size: 1.3rem; line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { color: var(--lp-muted); margin: 0 0 1.1rem; }

/* ——— CTA ——— */
.lp-cta { background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #d97a3a 140%); color: #fff; padding: 4.5rem 0; }
.lp-cta h2 { color: #fff; }
.lp-cta p { color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ——— Footer ——— */
.lp-footer { padding: 2rem 0; border-top: 1px solid var(--lp-border); color: var(--lp-muted); font-size: .9rem; }
.lp-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.lp-footer nav { display: flex; gap: 1.2rem; align-items: center; }
.lp-footer a { color: var(--lp-muted); text-decoration: none; }
.lp-footer a:hover { color: var(--lp-text); }
.lp-theme { background: transparent; border: 1px solid var(--lp-border); border-radius: 999px; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-btn, .lp-feature { transition: none; }
    .lp-phone { transform: none; }
}

/* ——— Rechtliche Seiten ——— */
.lp-legal .lp-wrap { max-width: 780px; }
.lp-legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.lp-legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.lp-legal p, .lp-legal li { color: var(--lp-text); }
.lp-legal ul { padding-left: 1.2rem; }
.lp-legal li { margin-bottom: .4rem; }
.lp-legal code { background: var(--lp-bg-alt); padding: .1rem .35rem; border-radius: 6px; font-size: .9em; }
.lp-muted-note { color: var(--lp-muted); font-size: .92rem; }
