/* ══════════════════════════════════════════════
   Leadgen – Studienflüsterer Design
   Dark theme · Poppins · Chamfered CTA
   ══════════════════════════════════════════════ */

/* ── Fonts (Google Fonts CDN fallback) ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ── Design Tokens (aus studienfluesterer.com) ── */
:root {
    --bg:          #0f172a;
    --bg-raised:   #131f35;
    --surface:     #1a2744;
    --border:      rgba(99, 143, 218, 0.12);
    --border-s:    rgba(99, 143, 218, 0.22);
    --blue:        #3b82f6;
    --blue-hover:  #2563eb;
    --blue-dim:    rgba(59, 130, 246, 0.08);
    --text:        #f0f6ff;
    --text-2:      #8faecf;
    --text-3:      #5a7a9a;
    --success:     #10b981;
    --font:        'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --t:           0.22s;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-blue: 0 8px 32px rgba(59, 130, 246, 0.25);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* ── Decorative background (wie studienfluesterer.com) ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(59,130,246,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 85% 90%, rgba(59,130,246,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ── Container ── */
.lp-wrap {
    width: 100%;
    max-width: 640px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Logo ── */
.lp-logo {
    margin-top: 32px;
    margin-bottom: 28px;
}
.lp-logo img {
    height: 56px;
    width: auto;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 6px 14px;
}

/* ── Hero ── */
.lp-hero {
    text-align: center;
    margin-bottom: 32px;
}
.lp-hero-sub {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 6px;
}
.lp-hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.375rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 14px;
}
.lp-hero h1 span {
    color: var(--blue);
}

/* Guarantee badge */
.lp-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-dim);
    color: var(--blue);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* ── Steps ── */
.lp-step {
    width: 100%;
    margin-bottom: 28px;
    text-align: center;
}
.lp-step-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue);
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.lp-step h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

/* ── Separator ── */
.lp-separator {
    width: 48px;
    height: 2px;
    background: var(--border-s);
    margin-bottom: 28px;
}

/* ── Video ── */
.lp-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface);
    border: 1px solid var(--border-s);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
}
.lp-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.lp-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-2);
    font-size: 0.875rem;
    font-weight: 500;
}
.lp-video-placeholder .play-icon {
    width: 64px;
    height: 64px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-blue);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.lp-video-placeholder .play-icon:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 10px 24px rgba(59,130,246,0.5));
}
.lp-video-placeholder .play-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-left: 3px;
}

/* ── Shimmer animation ── */
@keyframes cta-sheen {
    0%   { left: -75%; }
    55%  { left: 130%; }
    100% { left: 130%; }
}

/* ── CTA Button (Termin buchen — chamfered corners + shimmer) ── */
.lp-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.75rem;
    background: var(--blue);
    color: #fff;
    font-family: var(--font);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    isolation: isolate;
    clip-path: polygon(
        0% 0%,
        calc(100% - 11px) 0%,
        100% 11px,
        100% 100%,
        11px 100%,
        0% calc(100% - 11px)
    );
    transition: background var(--t) var(--ease), filter var(--t) var(--ease), transform var(--t) var(--ease);
}

/* Shimmer effect */
.lp-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    animation: cta-sheen 2.8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.lp-cta:hover {
    background: var(--blue-hover);
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 24px rgba(59,130,246,0.5));
}
.lp-cta:active {
    transform: translateY(0);
    filter: none;
}
.lp-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--t) var(--ease);
}
.lp-cta:hover svg {
    transform: translateX(4px);
}

/* ── Legal footer ── */
.lp-legal {
    margin-top: 40px;
    margin-bottom: 28px;
    display: flex;
    gap: 16px;
    justify-content: center;
}
.lp-legal a {
    font-size: 0.8125rem;
    color: var(--text-3);
    text-decoration: none;
    transition: color var(--t) var(--ease);
}
.lp-legal a:hover {
    color: var(--text);
}
.lp-legal-sep {
    color: var(--text-3);
    opacity: 0.4;
}

/* ── Mobile tweaks ── */
@media (max-width: 480px) {
    .lp-logo { margin-top: 24px; margin-bottom: 20px; }
    .lp-logo img { height: 48px; }
    .lp-hero { margin-bottom: 24px; }
    .lp-hero h1 { font-size: 1.5rem; }
    .lp-step { margin-bottom: 24px; }
    .lp-step h2 { font-size: 1.125rem; }
    .lp-separator { margin-bottom: 24px; }
    .lp-cta { padding: 0.75rem 1.5rem; font-size: 1rem; }
    .lp-legal { margin-top: 28px; margin-bottom: 20px; }
}

/* ── Safe area for notched phones ── */
@supports (padding: env(safe-area-inset-bottom)) {
    .lp-legal {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
