:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text: rgba(255, 255, 255, 0.95);
    --text-dim: rgba(255, 255, 255, 0.62);
    --radius: 26px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: #05060d;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Live animierter Verlaufs-Hintergrund (Aurora, wie in der App) */
#gradient {
    position: fixed;
    inset: 0;
    z-index: -2;
    filter: saturate(1.05);
}

/* Sanfter Abdunkler für gute Lesbarkeit */
.veil {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Glas-Karten – angelehnt an .ultraThinMaterial */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* ---------- Hero ---------- */
header {
    min-height: 50svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 28px;
}
.badge::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5fd6b0, #6a7fe0);
    box-shadow: 0 0 12px #5fd6b0;
}

h1 {
    font-size: clamp(2.8rem, 9vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.02;
    margin-bottom: 18px;
}

.tagline {
    font-size: clamp(1.05rem, 2.6vw, 1.45rem);
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 40px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn {
    font: inherit;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 15px 30px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.btn:hover { transform: translateY(-3px); }
.btn.primary {
    background: rgba(255,255,255,0.92);
    color: #0b0c14;
    border-color: transparent;
}

.scroll-hint {
    margin-top: 64px;
    color: var(--text-dim);
    font-size: 0.85rem;
    animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(8px); } }

/* Hero-Bild-Platzhalter */
.hero-media {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 48px auto 0;
    aspect-ratio: 16 / 12;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Label wird nur sichtbar, wenn das Bild fehlt/dahinter liegt */
.hero-media__label {
    position: absolute;
    color: var(--text-dim);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    pointer-events: none;
    z-index: -1;
}

/* ---------- Sektionen ---------- */
section { padding: 50px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}
.section-head p { color: var(--text-dim); max-width: 560px; margin: 0 auto; }

/* Feature-Grid */
.grid { display: grid; gap: 20px; }
.features { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { padding: 32px 28px; }
.feature .icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 650; }
.feature p { color: var(--text-dim); font-size: 0.97rem; }

/* Paletten */
.palettes { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.palette { padding: 16px; }
.swatch {
    height: 92px;
    border-radius: 16px;
    margin-bottom: 12px;
}
.palette .name { font-weight: 600; padding-left: 4px; }

/* Stile (Chips) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 550;
    font-size: 1rem;
}

/* CTA-Block */
.final {
    text-align: center;
    padding: 64px 40px;
    margin: 0 auto;
    max-width: 760px;
}
.final h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 16px; }
.final p { color: var(--text-dim); margin-bottom: 32px; }

footer {
    text-align: center;
    padding: 50px 24px 70px;
    color: var(--text-dim);
    font-size: 0.85rem;
}
footer .name { color: var(--text); font-weight: 600; }
footer p { margin-top: 16px; }
footer a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.25s ease;
}
footer a:hover { color: var(--text); }
footer .legal-note {
    max-width: 560px;
    margin: 14px auto 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.42);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-hint { animation: none; }
}

/* ---------- Rechtsseiten (Datenschutz / Impressum) ---------- */
.legal {
    padding: 80px 24px 40px;
    max-width: 760px;
}
.back-link {
    display: inline-block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 32px;
    transition: color 0.25s ease;
}
.back-link:hover { color: var(--text); }
.legal-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}
.legal h2 {
    font-size: 1.3rem;
    font-weight: 650;
    margin: 36px 0 12px;
}
.legal p {
    color: var(--text-dim);
    margin-bottom: 16px;
}
.legal ul {
    color: var(--text-dim);
    margin: 0 0 16px;
    padding-left: 22px;
}
.legal li { margin-bottom: 6px; }
