<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{page_title}}</title>
</head>
<body>
    <div class="demo-page">
        <header class="demo-header">
            <h1>{{page_title}}</h1>
            <p>Beispiel für die Integration von LiveComponent + FormBuilder</p>
        </header>

        <main class="demo-content">
            <!-- LiveComponent einbinden -->
            <livecomponent name="multi-step-form" data="registration_form" />
        </main>

        <footer class="demo-footer">
            <p>
                <strong>Features:</strong>
                Nutzt bestehenden FormBuilder • Type-safe Value Objects •
                Conditional Fields • Keine Code-Duplizierung
            </p>
        </footer>
    </div>

    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: system-ui, -apple-system, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }

        .demo-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .demo-header {
            text-align: center;
            color: white;
            margin-bottom: 3rem;
        }

        .demo-header h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .demo-header p {
            font-size: 1.125rem;
            opacity: 0.9;
        }

        .demo-content {
            margin-bottom: 2rem;
        }

        .demo-footer {
            text-align: center;
            color: white;
            opacity: 0.8;
            font-size: 0.875rem;
        }

        .demo-footer p {
            margin: 0;
        }

        .demo-footer strong {
            font-weight: 600;
            display: block;
            margin-bottom: 0.5rem;
        }
    </style>
</body>
</html>
