:root {
    --bg: #050816;
    --bg-card: rgba(15, 23, 42, 0.88);
    --bg-card-soft: rgba(15, 23, 42, 0.7);
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.25);
    --accent-strong: #0ea5e9;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.35);
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.55);
    --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html,
body {
    height: 100%;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at top, #1e293b 0, #020617 55%, #000 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* Hintergrund-Glow */
.background-gradient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.12) 0, transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.2) 0, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(56, 189, 248, 0.08) 0, transparent 40%);
    opacity: 0.9;
    z-index: -1;
}

.page-wrapper {
    min-height: 100vh;
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header oben links */
.site-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at 30% 0, rgba(56, 189, 248, 0.5), rgba(15, 23, 42, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #e0f2fe;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.8);
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hauptkarte */
.content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex: 1;
}

.card {
    width: 100%;
    max-width: 960px;
    background: linear-gradient(135deg, var(--bg-card) 0, var(--bg-card-soft) 100%);
    border-radius: 28px;
    padding: 28px 24px 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(20px);
}

/* Card Header */
.card-header {
    margin-bottom: 24px;
}

.card-header h1 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
}

/* Download-Bereich */
.download-section {
    padding: 20px 18px 20px;
    border-radius: 22px;
    background: radial-gradient(circle at top left, var(--accent-soft), transparent 55%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    margin-bottom: 24px;
}

.download-section h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.download-section .description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.button-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.btn {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    justify-content: center;
    padding: 11px 14px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s;
    cursor: pointer;
}

.btn-sub {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Button Styles */
.btn.primary {
    background: linear-gradient(135deg, var(--accent-strong), #22c1c3);
    color: #0b1220;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.55);
}

.btn.ghost {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.5);
}

.btn.outline {
    background: rgba(15, 23, 42, 0.7);
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.55);
}

/* Hover / Focus */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.9);
}

.btn.primary:hover {
    box-shadow: 0 16px 34px rgba(56, 189, 248, 0.75);
}

.btn:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

/* Hint */
.hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Features */
.features-section h2 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.feature-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 10px 10px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

.icon {
    font-size: 1.2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 2px;
}

.feature-list h3 {
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.feature-list p {
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    text-align: right;
}

.site-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsiv */
@media (min-width: 640px) {
    .card {
        padding: 30px 26px 22px;
    }

    .card-header h1 {
        font-size: 2.2rem;
    }

    .button-group {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .page-wrapper {
        padding-top: 40px;
        padding-bottom: 48px;
    }

    .card {
        padding: 32px 30px 24px;
    }
}
