/*
 * H4H Landing Page – statische Fassung des Claude-Design-Exports
 * (docs/design/landing-page/, 2026-08-20).
 *
 * Der Export rendert per React + Babel von unpkg (US-CDN, DSGVO) rein
 * statisches Markup. Diese Fassung ersetzt die React-Komponenten durch
 * HTML + die folgenden Klassen; die Werte stammen 1:1 aus den
 * Inline-Styles des Design-System-Bundles (Button, Card, LifecycleBadge).
 * Tokens: ./tokens/ (Kopie des Exports, Fonts self-hosted).
 */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text-body);
    background: var(--surface-page);
}

a {
    color: var(--text-link);
    text-decoration: none;
}

a:hover {
    color: var(--brand-700);
}

svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* --- Buttons (DS Button.jsx) --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-weight: var(--weight-semibold);
    box-shadow: var(--shadow-sm);
    transition: background 150ms ease, color 150ms ease;
    min-height: var(--control-height);
    padding: 0 var(--space-4);
    font-size: var(--text-sm);
    white-space: nowrap;
}

.btn-sm {
    min-height: 36px;
    padding: 0 var(--space-3);
}

.btn-lg {
    min-height: var(--touch-target-pro);
    padding: 0 var(--space-6);
    font-size: var(--text-base);
}

.btn-brand {
    background: var(--brand-500);
    color: #fff;
    border: 1px solid transparent;
}

.btn-brand:hover {
    background: var(--brand-600);
    color: #fff;
}

.btn-outline {
    background: #fff;
    color: var(--brand-600);
    border: 1px solid var(--brand-500);
}

.btn-outline:hover {
    background: var(--brand-50);
    color: var(--brand-600);
}

.btn-neutral {
    background: #fff;
    color: var(--gray-700);
    border: 1px solid var(--border-strong);
}

.btn-neutral:hover {
    background: var(--gray-50);
    color: var(--gray-700);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-lg svg {
    width: 22px;
    height: 22px;
}

/* --- Card (DS Card.jsx) --- */

.card {
    background: var(--surface-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    border-block-end: 1px solid var(--border-default);
}

.card-header h3 {
    margin: 0;
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--text-body);
}

.card-body {
    padding: var(--space-6);
}

.card-tag {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--brand-600);
}

/* --- Lebenszyklus-Badges (DS LifecycleBadge.jsx, ADR-025) --- */

.lb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-full);
    font-weight: var(--weight-semibold);
    white-space: nowrap;
    font-size: var(--text-sm);
    padding: 4px 12px;
    border: 1.5px solid;
}

.lb svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.lb-sm {
    font-size: var(--text-xs);
    padding: 2px 8px;
    gap: 4px;
}

.lb-sm svg {
    width: 12px;
    height: 12px;
}

.lb--erfasst {
    color: var(--status-erfasst-fg);
    background: var(--status-erfasst-bg);
    border-color: var(--status-erfasst-border);
    border-style: dashed; /* vorläufig */
}

.lb--verankert {
    color: var(--status-verankert-fg);
    background: var(--status-verankert-bg);
    border-color: var(--status-verankert-border);
}

.lb--angereichert {
    color: var(--status-angereichert-fg);
    background: var(--status-angereichert-bg);
    border-color: var(--status-angereichert-border);
}

.lb--versiegelt {
    color: var(--status-versiegelt-fg);
    background: var(--status-versiegelt-bg);
    border-color: var(--status-versiegelt-border);
}

/* --- Seitenlayout (Export-<style>, unverändert) --- */

.lp-wrap {
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-default);
}

.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: 64px;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.lp-nav-links a.lp-nav-anchor {
    color: var(--gray-700);
}

.lp-nav-links a.lp-nav-anchor:hover {
    color: var(--brand-600);
}

.lp-hero {
    padding-block: var(--space-16) var(--space-12);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-12);
    align-items: center;
}

.lp-kicker {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--brand-600);
}

.lp-hero h1 {
    font-weight: var(--weight-black);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.08;
    margin: var(--space-3) 0 var(--space-4);
}

.lp-lead {
    font-size: var(--text-lg);
    line-height: var(--leading-lg);
    color: var(--text-secondary);
    max-width: 34em;
    margin: 0 0 var(--space-8);
}

.lp-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
}

.lp-cta-note {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-3);
}

.lp-section {
    padding-block: var(--space-16);
}

.lp-section.alt {
    background: var(--surface-subtle);
    border-block: 1px solid var(--border-default);
}

.lp-section h2 {
    font-weight: var(--weight-bold);
    font-size: var(--text-3xl);
    line-height: var(--leading-3xl);
    margin: var(--space-2) 0 var(--space-3);
}

.lp-section-intro {
    color: var(--text-secondary);
    max-width: 44em;
    margin: 0 0 var(--space-10);
}

.lp-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.lp-card-list {
    margin: 0;
    padding-inline-start: 1.2em;
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--text-secondary);
}

.lp-flow {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
}

.lp-flow .arrow {
    color: var(--gray-400);
}

.lp-flow .arrow svg {
    width: 16px;
    height: 16px;
    display: block;
}

.lp-quote {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    line-height: 1.5;
    color: var(--gray-800);
    max-width: 26em;
    margin: 0;
}

.lp-quote-src {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-4);
}

/* Akten-Vorschau im Hero */

.lp-preview-sub {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.lp-preview-rows {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.lp-preview-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: #fff;
}

.lp-preview-row > svg {
    width: 20px;
    height: 20px;
    color: var(--brand-500);
}

.lp-preview-row .grow {
    flex: 1;
    min-width: 0;
}

.lp-preview-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
}

.lp-preview-meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.lp-dev-note {
    margin-top: var(--space-5);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.lp-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding-block: var(--space-12);
}

.lp-footer a {
    color: var(--gray-300);
}

.lp-footer a:hover {
    color: #fff;
}

.lp-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
    flex-wrap: wrap;
    font-size: var(--text-sm);
}

.lp-footer-links {
    display: flex;
    gap: var(--space-6);
}

.lp-footer-logo {
    color: #fff;
}

@media (max-width: 820px) {
    .lp-hero-grid,
    .lp-cards {
        grid-template-columns: 1fr;
    }

    .lp-nav-links .lp-nav-anchor {
        display: none;
    }
}
