/* Linkflux Startseite – hell, lesbar, Bio-first */

@import url('tokens.css');

.page-home {
    background: var(--lf-bg);
    color: var(--lf-ink);
    font-family: var(--lf-font);
}

.page-home .header {
    background: rgba(250, 250, 248, 0.9);
    border-bottom: 1px solid var(--lf-line);
}

.page-home nav a {
    color: var(--lf-muted);
}

.page-home nav a:hover {
    color: var(--lf-ink);
    background: var(--lf-accent-soft);
}

.page-home .btn-nav-cta {
    background: var(--lf-accent) !important;
    color: var(--lf-accent-ink) !important;
    font-weight: 700;
}

.page-home .footer {
    border-top: 1px solid var(--lf-line);
    color: var(--lf-subtle);
}

.page-home .footer a { color: var(--lf-muted); }
.page-home .footer a:hover { color: var(--lf-accent); }
.page-home .menu-toggle { color: var(--lf-ink); }

@media (max-width: 768px) {
    .page-home nav {
        background: var(--lf-bg-elev);
        border-bottom-color: var(--lf-line);
    }
}

.home { overflow-x: clip; }

.home .container {
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
    padding: 0;
}

.home-hero {
    position: relative;
    min-height: min(100vh, 900px);
    display: flex;
    align-items: center;
    padding: 88px 0 64px;
    isolation: isolate;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 70% 50% at 80% 10%, rgba(15, 118, 110, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(20, 20, 20, 0.04), transparent 50%),
        var(--lf-bg);
}

.home-hero-inner { text-align: center; }

.home-brand {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: var(--lf-ink);
    margin: 0 0 16px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home.is-ready .home-brand {
    opacity: 1;
    transform: none;
}

.home-headline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--lf-muted);
    margin: 0 0 14px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.home.is-ready .home-headline {
    opacity: 1;
    transform: none;
}

.home-lead {
    max-width: 34rem;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--lf-muted);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 0.18s, transform 0.6s ease 0.18s;
}

.home.is-ready .home-lead {
    opacity: 1;
    transform: none;
}

.home-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease 0.26s, transform 0.6s ease 0.26s;
}

.home.is-ready .home-ctas {
    opacity: 1;
    transform: none;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    font-family: var(--lf-font);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--lf-radius-sm);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.home-btn-primary {
    background: var(--lf-accent);
    color: var(--lf-accent-ink);
}

.home-btn-primary:hover {
    background: var(--lf-accent-hover);
    color: var(--lf-accent-ink);
}

.home-btn-ghost {
    border: 1px solid var(--lf-line-strong);
    color: var(--lf-ink);
    background: var(--lf-bg-elev);
}

.home-btn-ghost:hover {
    border-color: var(--lf-accent);
    color: var(--lf-accent);
}

.home-visual {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-visual.is-in,
.home.is-ready .home-visual {
    opacity: 1;
    transform: none;
}

.home-phone-mock {
    width: min(100%, 300px);
    margin: 0 auto;
    background: var(--lf-bg-elev);
    border: 1px solid var(--lf-line);
    border-radius: 28px;
    padding: 28px 20px 22px;
    box-shadow: var(--lf-shadow);
    text-align: center;
}

.home-phone-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lf-accent);
    color: var(--lf-accent-ink);
    font-weight: 800;
    font-size: 1.1rem;
}

.home-phone-name {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.home-phone-bio {
    font-size: 0.8rem;
    color: var(--lf-muted);
    margin-bottom: 16px;
}

.home-phone-btn {
    width: 100%;
    margin-bottom: 10px;
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--lf-radius);
    border: 1px solid var(--lf-line);
    background: var(--lf-bg);
    font-weight: 650;
    font-size: 0.9rem;
}

.home-phone-foot {
    margin-top: 12px;
    font-size: 0.7rem;
    color: var(--lf-subtle);
    font-family: var(--lf-mono);
}

.home-section {
    padding: 88px 0;
    border-top: 1px solid var(--lf-line);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-section.is-in {
    opacity: 1;
    transform: none;
}

.home-section-alt {
    background: var(--lf-bg-elev);
}

.home-section-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start;
}

.home-section-copy h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--lf-ink);
}

.home-section-copy p {
    color: var(--lf-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 20px;
    max-width: 36rem;
}

.home-section-copy-center {
    text-align: center;
    margin: 0 auto 36px;
}

.home-section-copy-center p { margin-inline: auto; }

.home-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-points li {
    padding-left: 16px;
    border-left: 3px solid var(--lf-accent);
}

.home-points strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--lf-ink);
}

.home-points span {
    color: var(--lf-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.home-embed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.home-embed-code pre {
    margin: 0;
    padding: 20px;
    background: #141414;
    border-radius: var(--lf-radius-sm);
    overflow-x: auto;
}

.home-embed-code code {
    font-family: var(--lf-mono);
    font-size: 0.85rem;
    line-height: 1.65;
    color: #5eead4;
}

.home-pricing-panel {
    max-width: 420px;
    margin: 0 auto;
    padding: 32px 28px;
    background: var(--lf-bg-elev);
    border: 1px solid var(--lf-line);
    border-radius: var(--lf-radius);
    text-align: center;
    box-shadow: var(--lf-shadow-btn);
}

.home-pricing-big {
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--lf-accent);
    line-height: 1;
}

.home-pricing-sub {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--lf-muted);
}

.home-pricing-panel > p {
    color: var(--lf-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 16px 0 18px;
}

.home-pricing-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    text-align: left;
}

.home-pricing-list li {
    position: relative;
    padding: 10px 0 10px 20px;
    border-top: 1px solid var(--lf-line);
    font-size: 0.95rem;
    color: var(--lf-ink);
}

.home-pricing-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--lf-accent);
}

.home-cta {
    padding: 96px 0 100px;
    text-align: center;
    border-top: 1px solid var(--lf-line);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-cta.is-in {
    opacity: 1;
    transform: none;
}

.home-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.home-cta p {
    color: var(--lf-muted);
    margin: 0 0 24px;
    font-size: 1.05rem;
}

@media (max-width: 860px) {
    .home-section-inner,
    .home-embed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .home-hero {
        min-height: auto;
        padding: 64px 0 48px;
    }
    .home .container { width: calc(100% - 32px); }
    .home-section { padding: 64px 0; }
    .home-ctas { flex-direction: column; align-items: stretch; }
    .home-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .home-brand,
    .home-headline,
    .home-lead,
    .home-ctas,
    .home-visual,
    .home-section,
    .home-cta {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
