@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --brand: #3a6cf4; /* Primärblau */
    --brand-2: #7b61ff; /* Akzentlila */
    --text: #0f172a; /* sehr dunkles Grau/Blau für gute Lesbarkeit */
    --muted: #64748b;
    --radius-lg: 18px;
    --radius-sm: 12px;
    --glass-blur: 60px;
    --glass-opacity: 0.32;
    --glass-border: rgba(255, 255, 255, .55);
    --glass-border-soft: rgba(255, 255, 255, .32);
    --bg-start: #f5f7fb; /* sehr helles Grau/Blau */
    --bg-end: #ffffff; /* weißer Abschluss */
    --bg-accent-1: rgba(58, 108, 244, .16); /* Primärblau, stärker sichtbar */
    --bg-accent-2: rgba(123, 97, 255, .14); /* Akzentlila, stärker sichtbar */
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    font-family: Poppins, sans-serif;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border: none;
    color: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 22px rgba(58, 108, 244, .28);
}

.btn-brand:hover {
    filter: brightness(1.05);
    box-shadow: 0 10px 26px rgba(58, 108, 244, .36);
}

.btn-ghost {
    background: rgba(255, 255, 255, .6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
}

.icon-circle {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58, 108, 244, .16), rgba(123, 97, 255, .16));
    border: 1px solid var(--glass-border);
}

.hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .875rem;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--glass-border);
}

/* Timeline / Steps */
.step .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 0 6px rgba(58, 108, 244, .12);
}

.step::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(58, 108, 244, .25), rgba(123, 97, 255, .15));
}

/* Section rhythm */
section {
    padding: 4rem 0;
}

/* Card rounding tweak */
.glass {
    border-radius: var(--radius-lg);
}

/* Anchor offset for fixed navbar */
:target {
    scroll-margin-top: 80px;
}

/* Make navbar toggler visibly dark */
.navbar.glassy .navbar-toggler {
    border: 1px solid rgba(0, 0, 0, .15);
}

.navbar.glassy .navbar-toggler-icon {
    filter: invert(0.4);
}

/* Small helper for muted text */
.text-muted {
    color: var(--muted) !important;
}

/* Stärkerer Liquid‑Glass Look */
.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, var(--glass-opacity)) 0%, rgba(255, 255, 255, .10) 50%, rgba(255, 255, 255, .06) 100%);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%) contrast(1.05) brightness(1.18);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%) contrast(1.05) brightness(1.18);
    border: 1.5px solid rgba(255, 255, 255, .65);
    border-right-color: rgba(255, 255, 255, .38);
    border-bottom-color: rgba(255, 255, 255, .38);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 54px rgba(17, 23, 41, .22),
    inset 0 1px 0 rgba(255, 255, 255, .6),
    inset 0 0 24px rgba(255, 255, 255, .24);
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

/* Lichtreflexe für erkennbares Glas */
.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 60px at 12% 8%, rgba(255, 255, 255, .85), transparent 60%),
    radial-gradient(200px 120px at 88% 92%, rgba(255, 255, 255, .45), transparent 60%);
    pointer-events: none;
    opacity: .4;
    filter: blur(1px);
}

.glass::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: linear-gradient(100deg,
    rgba(255, 255, 255, .22) 0%,
    rgba(255, 255, 255, .12) 18%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, .12) 62%,
    rgba(255, 255, 255, .22) 100%);
    transform: rotate(-14deg);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: .35;
}

.glass:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 26px 72px rgba(17, 23, 41, .28),
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 0 28px rgba(255, 255, 255, .28);
}

/* Navbar noch glasiger */
.navbar.glassy {
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    background: rgba(255, 255, 255, .58);
    border-bottom: 1.5px solid rgba(255, 255, 255, .7);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

/* Subtiler Seiten‑Hintergrund mit sehr zartem Verlauf */
html, body {
    min-height: 100%;
    background: radial-gradient(900px 480px at 12% 0%, var(--bg-accent-2), transparent 70%),
    radial-gradient(800px 420px at 88% 10%, var(--bg-accent-1), transparent 68%),
    linear-gradient(120deg, rgba(58, 108, 244, .06), rgba(123, 97, 255, .04)),
    linear-gradient(180deg, var(--bg-start), var(--bg-end));
    background-attachment: fixed; /* ruhiger Look beim Scrollen */
    padding-top: 72px; /* Platz für fixe Navbar */
}

/* sanftes Hover für Feature-Karten */
.feature-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(17, 23, 41, .18);
}

/* Motion-Reduce Accessiblity */
@media (prefers-reduced-motion: reduce) {
    .feature-card, .glass {
        transition: none;
    }
}