/* Dark theme defaults */
:root {
    --bg-1: #0b0f14;
    --bg-2: #0e1116;
    --bg-3: #121721;
    --txt: #e8ecf1;
    --muted: #a9b1bd;
    --accent: #8ec5ff;
    --accent-2: #bdb2ff;
    --card: rgba(255, 255, 255, 0.06);
    --blur: 16px;
}

/* Light theme by system preference (no JS needed) */
@media (prefers-color-scheme: light) {
    :root {
        --bg-1: #f6f7fb;
        --bg-2: #ffffff;
        --bg-3: #eef2f9;
        --txt: #111418;
        --muted: #475164;
        --accent: #3b82f6;
        --accent-2: #6366f1;
        --card: rgba(255, 255, 255, 0.65);
        --blur: 12px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--txt);
    background:
        radial-gradient(1200px 800px at 10% 10%, var(--bg-3), transparent 60%),
        radial-gradient(1200px 800px at 90% 90%, var(--bg-3), transparent 60%),
        linear-gradient(160deg, var(--bg-1), var(--bg-2));
    background-attachment: fixed;
}

.hero {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 48px 20px;
    position: relative;
    isolation: isolate;
}

/* Soft glow blobs behind the card */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 20% 30%, color-mix(in oklab, var(--accent) 25%, transparent), transparent 70%),
        radial-gradient(600px 300px at 80% 70%, color-mix(in oklab, var(--accent-2) 25%, transparent), transparent 70%);
    filter: blur(40px);
    opacity: 0.6;
    z-index: -1;
}

.glass {
    width: min(720px, 92vw);
    padding: 44px 32px 30px;
    border-radius: 24px;
    background: var(--card);
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.logo img {
    display: block;
    width: 80px;           /* Logo-Größe anpassen */
    height: auto;          /* behält Seitenverhältnis */
    border-radius: 20px;   /* optional, falls du runde Ecken willst */
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent), transparent 70%);
}

.title {
    text-align: center;
    font-size: clamp(30px, 4.5vw, 46px);
    line-height: 1.1;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.subtitle {
    margin: 0 auto 24px;
    color: var(--muted);
    text-align: center;
    font-size: clamp(14px, 2.3vw, 17px);
    max-width: 48ch;
}

/* Subtle animated accent bar (pure CSS) */
.accent {
    height: 3px;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
    background-size: 200% 100%;
    animation: pan 3.8s linear infinite;
    opacity: 0.9;
}

@keyframes pan {
    to { background-position: 200% 0; }
}

.footnote {
    display: block;
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

/* Small screens */
@media (max-width: 420px) {
    .glass { padding: 36px 20px 24px; }
}
