/* Knobelbrett Landing — verspielt, bunt, einladend */

:root {
    --lp-bg: #fff8f3;
    --lp-bg-elevated: #ffffff;
    --lp-text: #1c1917;
    --lp-text-muted: #57534e;
    --lp-text-soft: #78716c;
    --lp-border: rgba(249, 115, 22, 0.12);

    --lp-fox: #f97316;
    --lp-fox-dark: #ea580c;
    --lp-purple: #a855f7;
    --lp-teal: #14b8a6;
    --lp-pink: #ec4899;
    --lp-yellow: #eab308;
    --lp-blue: #3b82f6;
    --lp-green: #22c55e;

    --lp-radius: 20px;
    --lp-radius-lg: 28px;
    --lp-shadow: 0 4px 24px rgba(249, 115, 22, 0.08);
    --lp-shadow-hover: 0 12px 40px rgba(249, 115, 22, 0.15);
    --lp-font: 'Nunito', system-ui, -apple-system, sans-serif;
    --lp-max: 1120px;
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body.lp-body {
    margin: 0;
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-text);
    background: var(--lp-bg);
    overflow-x: hidden;
}

.lp-container {
    width: min(100% - 40px, var(--lp-max));
    margin-inline: auto;
}

/* Floating background blobs */
.lp-bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.lp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.lp-blob--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, #fed7aa 0%, transparent 70%);
}

.lp-blob--2 {
    width: 360px;
    height: 360px;
    bottom: 20%;
    left: -100px;
    background: radial-gradient(circle, #ddd6fe 0%, transparent 70%);
}

.lp-blob--3 {
    width: 280px;
    height: 280px;
    top: 45%;
    right: 10%;
    background: radial-gradient(circle, #99f6e4 0%, transparent 70%);
}

.lp-header,
main,
.lp-footer {
    position: relative;
    z-index: 1;
}

/* Header */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 243, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--lp-border);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.lp-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--lp-text);
}

.lp-logo__mark {
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.25);
}

.lp-logo__text {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--lp-fox-dark);
}

.lp-header__nav {
    display: none;
    gap: 24px;
}

@media (min-width: 768px) {
    .lp-header__nav { display: flex; }
}

.lp-header__link {
    font-size: 15px;
    font-weight: 700;
    color: var(--lp-text-muted);
    text-decoration: none;
    transition: color 0.2s var(--lp-ease);
}

.lp-header__link:hover { color: var(--lp-fox); }

/* Hero */
.lp-hero {
    padding: 64px 0 88px;
}

@media (min-width: 768px) {
    .lp-hero { padding: 96px 0 112px; }
}

.lp-hero__grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 960px) {
    .lp-hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 56px;
    }
}

.lp-eyebrow {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--lp-fox-dark);
}

.lp-hero__title {
    margin: 0 0 20px;
    font-size: clamp(2.6rem, 6.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.lp-hero__highlight {
    background: linear-gradient(120deg, var(--lp-fox) 0%, var(--lp-pink) 50%, var(--lp-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero__lead {
    margin: 0 0 28px;
    max-width: 30em;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: var(--lp-text-muted);
    font-weight: 600;
}

.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }

.lp-hero__note {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-text-soft);
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s var(--lp-ease), box-shadow 0.25s var(--lp-ease);
}

.lp-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--lp-fox) 0%, var(--lp-fox-dark) 100%);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.lp-btn--primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--lp-shadow-hover);
}

.lp-btn__icon {
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Device mockup with mini grid */
.lp-device {
    position: relative;
    max-width: 400px;
    margin-inline: auto;
    padding: 14px;
    border-radius: 32px;
    background: linear-gradient(145deg, #fff 0%, #ffedd5 100%);
    border: 3px solid rgba(249, 115, 22, 0.2);
    box-shadow: var(--lp-shadow-hover);
    transform: rotate(-2deg);
}

.lp-device__screen {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(160deg, #fff7ed 0%, #ffedd5 100%);
    padding: 16px 14px 12px;
}

/* Statisches Platzhalter-Rätsel */
.lp-puzzle-placeholder {
    max-width: 280px;
    margin: 0 auto 10px;
}

.lp-puzzle-placeholder__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 2px solid rgba(249, 115, 22, 0.15);
}

.lp-xcell {
    aspect-ratio: 1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.7rem, 2.8vw, 0.9rem);
    font-weight: 800;
    min-width: 0;
}

.lp-xcell--block {
    visibility: hidden;
}

.lp-xcell--slot {
    background: #fff;
    border: 2px solid var(--lp-fox);
    color: var(--lp-fox-dark);
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.18);
}

.lp-xcell--slot.is-player-2 {
    border-color: var(--lp-purple);
    color: #6d28d9;
    box-shadow: 0 2px 6px rgba(168, 85, 247, 0.2);
}

.lp-xcell--hint {
    flex-direction: column;
    gap: 2px;
    padding: 3px 2px;
    background: linear-gradient(160deg, #fef9c3 0%, #fde68a 100%);
    border: 2px solid rgba(234, 179, 8, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 2px 6px rgba(234, 179, 8, 0.2);
    overflow: hidden;
}

.lp-hint-tile__icon {
    font-size: clamp(0.85rem, 3.5vw, 1.1rem);
    line-height: 1;
    flex-shrink: 0;
}

.lp-hint-tile__text {
    font-size: clamp(0.45rem, 1.8vw, 0.58rem);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    color: #78350f;
    hyphens: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-width: 100%;
    padding: 0 1px;
}

.lp-puzzle-placeholder__hand {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.lp-hand-tile {
    width: 36px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #6d28d9;
    background: linear-gradient(160deg, #faf5ff, #ede9fe);
    border: 2px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 3px 8px rgba(168, 85, 247, 0.12);
}

.lp-hand-tile.is-hint {
    color: #a16207;
    background: linear-gradient(160deg, #fef9c3, #fef08a);
    border-color: rgba(234, 179, 8, 0.45);
    font-size: 16px;
    line-height: 1;
}

.lp-device__caption {
    margin: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--lp-text-soft);
}

/* Sections */
.lp-section {
    padding: 72px 0;
}

.lp-section--steps {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(254, 243, 199, 0.35) 100%);
    border-block: 2px solid var(--lp-border);
}

.lp-section__head {
    max-width: 28em;
    margin-bottom: 44px;
}

.lp-section__head--center {
    max-width: none;
    text-align: center;
    margin-inline: auto;
}

.lp-section__title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.lp-section__sub {
    margin: 16px 0 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-text-muted);
    max-width: 28em;
}

/* Feature cards — bunte Akzente */
.lp-features {
    display: grid;
    gap: 16px;
}

@media (min-width: 640px) {
    .lp-features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .lp-features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.lp-card {
    padding: 26px 24px;
    border-radius: var(--lp-radius);
    background: var(--lp-bg-elevated);
    border: 2px solid transparent;
    transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease);
}

.lp-card:hover {
    transform: translateY(-4px) rotate(-0.5deg);
    box-shadow: var(--lp-shadow-hover);
}

.lp-card--orange { border-color: rgba(249, 115, 22, 0.25); background: linear-gradient(145deg, #fff 0%, #fff7ed 100%); }
.lp-card--purple { border-color: rgba(168, 85, 247, 0.25); background: linear-gradient(145deg, #fff 0%, #faf5ff 100%); }
.lp-card--teal   { border-color: rgba(20, 184, 166, 0.25); background: linear-gradient(145deg, #fff 0%, #f0fdfa 100%); }
.lp-card--pink   { border-color: rgba(236, 72, 153, 0.25); background: linear-gradient(145deg, #fff 0%, #fdf2f8 100%); }
.lp-card--yellow { border-color: rgba(234, 179, 8, 0.3); background: linear-gradient(145deg, #fff 0%, #fefce8 100%); }
.lp-card--blue   { border-color: rgba(59, 130, 246, 0.25); background: linear-gradient(145deg, #fff 0%, #eff6ff 100%); }

.lp-card__emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1;
}

.lp-card__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.lp-card__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--lp-text-muted);
    font-weight: 600;
}

/* Steps */
.lp-steps {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.lp-step {
    position: relative;
    padding: 32px 24px 28px;
    border-radius: var(--lp-radius-lg);
    background: var(--lp-bg-elevated);
    border: 2px solid var(--lp-border);
    text-align: center;
    box-shadow: var(--lp-shadow);
}

.lp-step__num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-fox), var(--lp-pink));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.lp-step__emoji {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.lp-step__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.lp-step__text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-text-muted);
    line-height: 1.6;
}

/* Roadmap */
.lp-roadmap {
    display: grid;
    gap: 20px;
}

@media (min-width: 900px) {
    .lp-roadmap { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.lp-roadmap__col {
    padding: 20px;
    border-radius: var(--lp-radius-lg);
    border: 2px solid var(--lp-border);
}

.lp-roadmap__col--done {
    background: linear-gradient(160deg, #f0fdf4 0%, #fff 100%);
    border-color: rgba(34, 197, 94, 0.25);
}

.lp-roadmap__col--progress {
    background: linear-gradient(160deg, #fff7ed 0%, #fff 100%);
    border-color: rgba(249, 115, 22, 0.3);
}

.lp-roadmap__col--planned {
    background: linear-gradient(160deg, #eff6ff 0%, #fff 100%);
    border-color: rgba(59, 130, 246, 0.25);
}

.lp-roadmap__heading {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-roadmap__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-roadmap__item {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.lp-roadmap__item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 800;
}

.lp-roadmap__item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-text-muted);
    line-height: 1.5;
}

/* Footer */
.lp-footer {
    padding: 48px 0 56px;
    border-top: 2px solid var(--lp-border);
    background: rgba(255, 255, 255, 0.5);
}

.lp-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

@media (min-width: 640px) {
    .lp-footer__inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
}

.lp-footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-footer__fox { font-size: 1.4rem; }

.lp-footer__version {
    font-size: 12px;
    font-weight: 700;
    color: var(--lp-text-soft);
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.1);
}

.lp-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lp-footer__nav a {
    font-size: 14px;
    font-weight: 700;
    color: var(--lp-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.lp-footer__nav a:hover { color: var(--lp-fox); }

.lp-footer__copy {
    margin: 0;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-text-soft);
}

@media (min-width: 640px) {
    .lp-footer__copy { width: auto; margin-left: auto; }
}

/* Reveal */
.lp-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.85s var(--lp-ease), transform 0.85s var(--lp-ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Legal pages */
.lp-body--legal { background: var(--lp-bg); }

.lp-legal-main { padding: 48px 0 80px; }

.lp-body--legal .static-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-body--legal .static-page__eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--lp-fox);
}

.lp-body--legal .static-page__title {
    margin: 0 0 24px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
}

.lp-body--legal .static-page__card {
    padding: 28px 32px;
    border-radius: var(--lp-radius);
    background: var(--lp-bg-elevated);
    border: 2px solid var(--lp-border);
}

.lp-body--legal .static-page__prose {
    font-size: 15px;
    line-height: 1.75;
    color: var(--lp-text-muted);
    font-weight: 600;
}

.lp-body--legal .static-page__prose h2 {
    margin: 1.75em 0 0.5em;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--lp-text);
}

.lp-body--legal .static-page__prose ul {
    margin: 0.75em 0;
    padding-left: 1.25em;
}

.lp-body--legal .static-page__prose a { color: var(--lp-fox-dark); }

.lp-body--legal .static-page__back-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--lp-text-muted);
    text-decoration: none;
}

.lp-body--legal .static-page__back-link:hover { color: var(--lp-fox); }

.lp-footer--minimal { padding: 32px 0; }

.lp-footer--minimal .lp-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.lp-error {
    padding: 120px 0;
    text-align: center;
}

.lp-error__title {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
}

.lp-error__text {
    margin: 0 0 28px;
    color: var(--lp-text-muted);
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .lp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .lp-device { transform: none; }
}
