/* ==========================================================================
   Webbliwerk — Service Landing Page Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-1);
    color: var(--fg-2);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---- Container ---- */
.sp-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sp-container--narrow {
    max-width: 760px;
}

/* ---- Section ---- */
.sp-section {
    padding: 100px 0;
}

.sp-section--tight {
    padding: 64px 0;
}

.sp-section--dark {
    background: var(--color-ink);
    color: #fff;
}

/* ---- Eyebrow ---- */
.sp-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

/* ---- Section Heading ---- */
.sp-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--fg-1);
    margin-bottom: 20px;
}

.sp-title em {
    color: var(--color-primary);
    font-style: normal;
}

.sp-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--fg-3);
    max-width: 600px;
}

/* ---- Back Link ---- */
.sp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--fg-3);
    text-decoration: none;
    transition: color 0.2s;
}

.sp-back:hover {
    color: var(--color-primary);
}

.sp-back svg {
    transition: transform 0.2s;
}

.sp-back:hover svg {
    transform: translateX(-3px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.sp-hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    padding: 120px 0 80px;
    overflow: hidden;
    position: relative;
}

.sp-hero__glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.sp-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.sp-hero__content {
    position: relative;
}


.sp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.sp-hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.sp-hero__title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: var(--fg-1);
    margin-bottom: 24px;
}

.sp-hero__title em {
    color: var(--color-primary);
    font-style: normal;
}

.sp-hero__sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--fg-3);
    margin-bottom: 40px;
    max-width: 520px;
}

.sp-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.sp-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.sp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.sp-feature-card {
    background: var(--bg-1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.3s var(--ease-brand);
}

.sp-feature-card:hover {
    border-color: var(--color-primary-press);
    box-shadow: var(--shadow-primary-glow);
    transform: translateY(-4px);
}

.sp-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sp-feature-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--fg-1);
    margin-bottom: 10px;
}

.sp-feature-card__body {
    font-size: 15px;
    line-height: 1.65;
    color: var(--fg-3);
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.sp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}

.sp-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-border) 50%, var(--color-primary) 100%);
    opacity: 0.4;
}

.sp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.sp-step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 8px var(--color-primary-light);
}

.sp-step__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--fg-1);
    margin-bottom: 10px;
}

.sp-step__body {
    font-size: 15px;
    line-height: 1.65;
    color: var(--fg-3);
}

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.sp-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #001836 0%, #002966 50%, #001836 100%);
    border-radius: var(--radius-xl);
    padding: 64px;
    position: relative;
    overflow: hidden;
}

.sp-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.sp-stat {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 24px 32px;
    position: relative;
}

.sp-stat+.sp-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.sp-stat__num {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
}

.sp-stat__num em {
    font-size: 0.55em;
    font-style: normal;
    color: var(--color-primary);
}

.sp-stat__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.sp-faq {
    margin-top: 48px;
}

.sp-faq-item {
    border-bottom: 1px solid var(--color-border);
}

.sp-faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.sp-faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--fg-1);
    transition: color 0.2s;
}

.sp-faq-item__q:hover {
    color: var(--color-primary);
}

.sp-faq-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg-3);
    transition: all 0.25s;
}

.sp-faq-item.is-open .sp-faq-item__icon {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(45deg);
}

.sp-faq-item__a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.sp-faq-item.is-open .sp-faq-item__a {
    max-height: 500px;
    transition: max-height 0.5s ease-in-out;
}

.sp-faq-item__a-inner {
    padding: 0 0 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--fg-3);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.sp-cta-section {
    padding: 100px 0;
}

.sp-cta-box {
    background: linear-gradient(135deg, #001836 0%, #002966 60%, #001836 100%);
    border-radius: var(--radius-xl);
    padding: 80px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sp-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.sp-cta-box__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.sp-cta-box__eyebrow {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sp-cta-box__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    position: relative;
}

.sp-cta-box__title em {
    color: var(--color-primary);
    font-style: normal;
}

.sp-cta-box__body {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto 40px;
    position: relative;
}

.sp-cta-box__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

/* ==========================================================================
   NAV (lightweight, reusing site.css classes where possible)
   ========================================================================== */
.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    transition: background 0.3s, box-shadow 0.3s;
}

.sp-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-border);
}

.sp-nav__inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sp-nav__logo img {
    height: 28px;
    display: block;
}

.sp-nav__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==========================================================================
   ANIMATIONS — WEBDESIGN (Browser Build)
   ========================================================================== */
.anim-browser {
    width: 420px;
    height: 320px;
    position: relative;
}

.anim-browser__window {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.anim-browser__bar {
    height: 40px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 7px;
}

.anim-browser__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.anim-browser__dot:nth-child(1) {
    background: #FF5F57;
}

.anim-browser__dot:nth-child(2) {
    background: #FEBC2E;
}

.anim-browser__dot:nth-child(3) {
    background: #28C840;
}

.anim-browser__url {
    flex: 1;
    height: 22px;
    background: var(--color-border);
    border-radius: 6px;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}

.anim-browser__url::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.anim-browser__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anim-browser__block {
    border-radius: 6px;
    background: var(--color-border);
    animation: block-reveal 3s ease-in-out infinite;
}

.anim-browser__block--hero {
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-press));
    animation-delay: 0.2s;
}

.anim-browser__block--title {
    height: 18px;
    width: 70%;
    animation-delay: 0.6s;
}

.anim-browser__block--text {
    height: 12px;
    animation-delay: 0.9s;
}

.anim-browser__block--text2 {
    height: 12px;
    width: 85%;
    animation-delay: 1.1s;
}

.anim-browser__block--btn {
    height: 32px;
    width: 120px;
    background: var(--color-primary);
    border-radius: 8px;
    animation-delay: 1.4s;
}

@keyframes block-reveal {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* Floating UI chips */
.anim-browser__chip {
    position: absolute;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fg-2);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.anim-browser__chip--1 {
    top: -16px;
    right: -20px;
    animation: float-chip 4s ease-in-out infinite;
}

.anim-browser__chip--2 {
    bottom: 20px;
    left: -28px;
    animation: float-chip 4s ease-in-out infinite 1.5s;
}

.anim-browser__chip--3 {
    bottom: -10px;
    right: 20px;
    animation: float-chip 4s ease-in-out infinite 2.8s;
}

@keyframes float-chip {

    0%,
    100% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.anim-browser__chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.anim-browser__chip-dot--green {
    background: #28C840;
}

.anim-browser__chip-dot--blue {
    background: var(--color-primary);
}

.anim-browser__chip-dot--orange {
    background: #FF9500;
}

/* ==========================================================================
   ANIMATIONS — SEO (Ranking Graph)
   ========================================================================== */
.anim-seo {
    width: 420px;
    height: 320px;
    position: relative;
}

.anim-seo__card {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.anim-seo__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.anim-seo__title-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--fg-1);
}

.anim-seo__badge {
    background: #DCFCE7;
    color: #16A34A;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.anim-seo__graph {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.anim-seo__graph svg {
    width: 100%;
    height: 100%;
}

.anim-seo__line {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: draw-line 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.anim-seo__area {
    fill: url(#seo-gradient);
    opacity: 0;
    animation: fade-area 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes draw-line {
    0% {
        stroke-dashoffset: 600;
    }

    60%,
    85% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes fade-area {

    0%,
    20% {
        opacity: 0;
    }

    60%,
    85% {
        opacity: 0.15;
    }

    100% {
        opacity: 0;
    }
}

.anim-seo__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.anim-seo__kw {
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
}

.anim-seo__kw:nth-child(1) {
    animation: kw-float 4s ease-in-out infinite 0s;
}

.anim-seo__kw:nth-child(2) {
    animation: kw-float 4s ease-in-out infinite 0.6s;
}

.anim-seo__kw:nth-child(3) {
    animation: kw-float 4s ease-in-out infinite 1.2s;
}

.anim-seo__kw:nth-child(4) {
    animation: kw-float 4s ease-in-out infinite 1.8s;
}

@keyframes kw-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* Rank widget */
.anim-seo__rank {
    position: absolute;
    top: -12px;
    right: -16px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    text-align: center;
    box-shadow: var(--shadow-primary-glow);
    animation: rank-bounce 3s ease-in-out infinite;
}

@keyframes rank-bounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.04);
    }
}

.anim-seo__rank-num {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.anim-seo__rank-label {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 3px;
}

/* ==========================================================================
   ANIMATIONS — GOOGLE ADS (Target Pulse + Conversions)
   ========================================================================== */
.anim-ads {
    width: 420px;
    height: 340px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anim-ads__target {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anim-ads__ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 102, 255, 0.25);
    animation: ring-expand 3s ease-out infinite;
}

.anim-ads__ring:nth-child(1) {
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.anim-ads__ring:nth-child(2) {
    width: 130px;
    height: 130px;
    animation-delay: 0.6s;
}

.anim-ads__ring:nth-child(3) {
    width: 180px;
    height: 180px;
    animation-delay: 1.2s;
}

.anim-ads__ring:nth-child(4) {
    width: 230px;
    height: 230px;
    border-color: rgba(0, 102, 255, 0.1);
    animation-delay: 1.8s;
}

@keyframes ring-expand {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        /* scale(1.1) keeps max ring (230px × 1.1 = 253px) within 280px container */
        transform: scale(1.1);
        opacity: 0;
    }
}

.anim-ads__center {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.5);
    position: relative;
    z-index: 2;
    animation: center-pulse 2s ease-in-out infinite;
}

@keyframes center-pulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 102, 255, 0.7);
        transform: scale(1.05);
    }
}

/* Floating conversion chips */
.anim-ads__conv {
    position: absolute;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fg-2);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.anim-ads__conv--1 {
    top: 20px;
    right: 0;
    animation: conv-float 5s ease-in-out infinite;
}

.anim-ads__conv--2 {
    bottom: 30px;
    left: 0;
    animation: conv-float 5s ease-in-out infinite 1.5s;
}

.anim-ads__conv--3 {
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    animation: conv-float 5s ease-in-out infinite 3s;
}

@keyframes conv-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.anim-ads__conv--2 {
    animation-name: conv-float-left;
}

@keyframes conv-float-left {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(10px);
    }
}

.anim-ads__conv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dot-blink 1s ease-in-out infinite;
}

.anim-ads__conv-dot--green {
    background: #16A34A;
}

.anim-ads__conv-dot--blue {
    background: var(--color-primary);
}

.anim-ads__conv-dot--orange {
    background: #EA580C;
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Bar chart for ROAS */
.anim-ads__chart {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 0 20px;
    justify-content: center;
}

.anim-ads__bar {
    width: 22px;
    border-radius: 4px 4px 0 0;
    background: var(--color-primary);
    opacity: 0.2;
}

.anim-ads__bar:nth-child(1) {
    height: 20px;
    animation: bar-grow 3s ease-in-out infinite 0s;
}

.anim-ads__bar:nth-child(2) {
    height: 35px;
    animation: bar-grow 3s ease-in-out infinite 0.2s;
}

.anim-ads__bar:nth-child(3) {
    height: 28px;
    animation: bar-grow 3s ease-in-out infinite 0.4s;
}

.anim-ads__bar:nth-child(4) {
    height: 45px;
    animation: bar-grow 3s ease-in-out infinite 0.6s;
}

.anim-ads__bar:nth-child(5) {
    height: 55px;
    animation: bar-grow 3s ease-in-out infinite 0.8s;
}

@keyframes bar-grow {

    0%,
    100% {
        opacity: 0.2;
        transform: scaleY(0.8);
    }

    50% {
        opacity: 0.6;
        transform: scaleY(1);
    }
}

/* ==========================================================================
   ANIMATIONS — SOCIAL MEDIA (Feed Posts + Likes)
   ========================================================================== */
.anim-social {
    width: 400px;
    height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anim-social__phone {
    width: 200px;
    height: 340px;
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.anim-social__phone-bar {
    height: 32px;
    background: var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-bottom: 1px solid var(--color-border);
}

.anim-social__phone-notch {
    width: 60px;
    height: 12px;
    background: var(--color-border);
    border-radius: 999px;
}

.anim-social__feed {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.anim-social__feed-track {
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: feed-scroll 8s linear infinite;
}

@keyframes feed-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.anim-social__post {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.anim-social__post-img {
    width: 100%;
    height: 90px;
}

.anim-social__post-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 4px;
}

.anim-social__post-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--color-border);
    margin: 4px 10px;
}

/* Floating likes */
.anim-social__like {
    position: absolute;
    font-size: 20px;
    animation: like-float-up 3s ease-out infinite;
    pointer-events: none;
    user-select: none;
}

.anim-social__like:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.anim-social__like:nth-child(2) {
    left: 50%;
    animation-delay: 0.8s;
}

.anim-social__like:nth-child(3) {
    left: 75%;
    animation-delay: 1.6s;
}

.anim-social__like:nth-child(4) {
    left: 35%;
    animation-delay: 2.4s;
}

@keyframes like-float-up {
    0% {
        transform: translateY(100%) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: translateY(60%) scale(1.2);
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-60%) scale(0.8);
        opacity: 0;
    }
}

/* Follower chip */
.anim-social__followers {
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: var(--shadow-primary-glow);
    animation: float-chip 4s ease-in-out infinite;
}

.anim-social__followers-num {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    display: block;
}

/* ==========================================================================
   ANIMATIONS — RECRUITING (Cards flying into inbox)
   ========================================================================== */
.anim-recruit {
    width: 420px;
    height: 340px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anim-recruit__inbox {
    width: 280px;
    height: 200px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.anim-recruit__inbox-bar {
    height: 48px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 10px;
}

.anim-recruit__inbox-icon {
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.anim-recruit__inbox-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--fg-1);
}

.anim-recruit__inbox-count {
    margin-left: auto;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    animation: count-bump 2s ease-in-out infinite;
}

@keyframes count-bump {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.anim-recruit__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden;
}

.anim-recruit__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    transition: background 0.2s;
}

.anim-recruit__row:hover {
    background: var(--bg-2);
}

.anim-recruit__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.anim-recruit__name {
    font-size: 12px;
    font-weight: 600;
    color: var(--fg-1);
    display: block;
}

.anim-recruit__role {
    font-size: 11px;
    color: var(--fg-3);
}

.anim-recruit__new {
    margin-left: auto;
    background: #DCFCE7;
    color: #16A34A;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

/* Flying cards */
.anim-recruit__card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px 16px;
    width: 160px;
    box-shadow: var(--shadow-md);
    font-size: 12px;
    color: var(--fg-2);
    z-index: 1;
}

.anim-recruit__card--1 {
    top: 10px;
    left: -10px;
    animation: card-fly 4s ease-in-out infinite 0s;
}

.anim-recruit__card--2 {
    bottom: 10px;
    right: -10px;
    animation: card-fly 4s ease-in-out infinite 1.5s;
}

.anim-recruit__card--3 {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    animation: card-fly 4s ease-in-out infinite 3s;
}

@keyframes card-fly {
    0% {
        transform: translateX(0) translateY(0) rotate(0);
        opacity: 1;
    }

    40% {
        transform: translateX(-10px) translateY(-8px) rotate(-3deg);
        opacity: 1;
    }

    70% {
        opacity: 0.6;
    }

    90% {
        transform: translateX(60px) translateY(40px) rotate(5deg) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translateX(0) translateY(0) rotate(0);
        opacity: 0;
    }
}

.anim-recruit__card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.anim-recruit__card-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.anim-recruit__card-name {
    font-weight: 700;
    font-size: 12px;
    color: var(--fg-1);
}

.anim-recruit__card-bar {
    height: 7px;
    border-radius: 4px;
    background: var(--color-border);
    margin-bottom: 5px;
}

/* ==========================================================================
   ANIMATIONS — BETREUUNG (Live Dashboard)
   ========================================================================== */
.anim-dash {
    width: 440px;
    height: 320px;
    position: relative;
}

.anim-dash__card {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.anim-dash__bar {
    height: 44px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 18px;
}

.anim-dash__bar-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--fg-1);
}

.anim-dash__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16A34A;
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
    }
}

.anim-dash__live-label {
    font-size: 11px;
    color: #16A34A;
    font-weight: 600;
}

.anim-dash__body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    background: var(--color-border);
}

.anim-dash__metric {
    background: #fff;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.anim-dash__metric-label {
    font-size: 11px;
    color: var(--fg-3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.anim-dash__metric-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--fg-1);
    line-height: 1;
}

.anim-dash__metric-value--up {
    color: #16A34A;
}

.anim-dash__metric-value--blue {
    color: var(--color-primary);
}

.anim-dash__metric-delta {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.anim-dash__metric-delta--up {
    color: #16A34A;
}

.anim-dash__metric-delta--down {
    color: #DC2626;
}

.anim-dash__sparkline {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.anim-dash__spark-bar {
    flex: 1;
    background: var(--color-primary);
    border-radius: 2px 2px 0 0;
    opacity: 0.25;
}

.anim-dash__spark-bar:last-child {
    opacity: 0.8;
    animation: spark-grow 2s ease-in-out infinite;
}

@keyframes spark-grow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Pulsing value changes */
.anim-dash__metric-value {
    animation: value-tick 4s ease-in-out infinite;
}

@keyframes value-tick {

    0%,
    85%,
    100% {
        opacity: 1;
    }

    90%,
    95% {
        opacity: 0.3;
    }
}

/* Notification chip */
.anim-dash__notif {
    position: absolute;
    top: -14px;
    right: -16px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-primary-glow);
    white-space: nowrap;
    animation: notif-pop 5s ease-in-out infinite;
}

@keyframes notif-pop {

    0%,
    80%,
    100% {
        transform: translateY(0) scale(1);
    }

    85% {
        transform: translateY(-4px) scale(1.05);
    }

    90% {
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--fg-3);
    margin-bottom: 24px;
}

.sp-breadcrumb a {
    color: var(--fg-3);
    text-decoration: none;
    transition: color 0.2s;
}

.sp-breadcrumb a:hover {
    color: var(--color-primary);
}

.sp-breadcrumb__sep {
    opacity: 0.4;
}

.sp-breadcrumb__current {
    color: var(--fg-2);
    font-weight: 500;
}

/* ==========================================================================
   TESTIMONIAL MINI
   ========================================================================== */
.sp-testimonial-mini {
    background: var(--bg-2);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--color-border);
}

.sp-testimonial-mini__quote {
    font-size: 16px;
    line-height: 1.7;
    color: var(--fg-2);
    font-style: italic;
}

.sp-testimonial-mini__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-testimonial-mini__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.sp-testimonial-mini__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--fg-1);
}

.sp-testimonial-mini__role {
    font-size: 13px;
    color: var(--fg-3);
}

.sp-stars {
    display: flex;
    gap: 2px;
}

.sp-star {
    color: #FBBC05;
    font-size: 14px;
}

/* ==========================================================================
   CHECKLIST
   ========================================================================== */
.sp-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.sp-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--fg-2);
}

.sp-checklist__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
   HERO GRID — 2-col on desktop, 1-col on mobile
   ========================================================================== */
.sp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 82vh;
    padding: 72px 0 60px;
}

/* On desktop the sp-container provides horizontal padding.
   On mobile we add it directly to the grid so it's always guaranteed. */
.sp-hero-grid .sp-hero__visual-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   REFERENZ / WARUM 2-col grid
   ========================================================================== */
.sp-ref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE — 960px (tablet)
   ========================================================================== */
@media (max-width: 960px) {
    .sp-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        min-height: auto;
        padding: 48px 0 64px;
        text-align: center;
        overflow: hidden;
    }

    /* visual-wrap: constrained to prevent animation overflow */
    .sp-hero-grid .sp-hero__visual-wrap {
        padding: 24px 0;
        max-width: 100%;
        overflow: hidden;
    }

    .sp-hero-grid .sp-hero__cta {
        justify-content: center;
    }

    .sp-hero-grid .sp-hero__sub {
        margin-left: auto;
        margin-right: auto;
    }

    .sp-hero-grid .sp-hero__badge {
        justify-content: center;
    }

    .sp-ref-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* anim sizes on tablet — constrained to container */
    .anim-browser,
    .anim-seo,
    .anim-ads,
    .anim-social,
    .anim-recruit,
    .anim-dash {
        width: 100%;
        max-width: 100%;
        min-height: 280px;
        height: 300px;
        box-sizing: border-box;
    }

    .sp-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sp-steps::before {
        display: none;
    }

    .sp-stats {
        padding: 48px 32px;
    }

    .sp-cta-box {
        padding: 56px 40px;
    }
}

/* ==========================================================================
   RESPONSIVE — 600px (mobile)
   ========================================================================== */
@media (max-width: 600px) {
    .sp-section {
        padding: 64px 0;
    }

    .sp-section--tight {
        padding: 40px 0;
    }

    .sp-hero-grid {
        padding: 56px 0 40px;
        gap: 56px;
        overflow: hidden;
    }

    /* visual-wrap: constrained so animations don't push the grid wider */
    .sp-hero-grid .sp-hero__visual-wrap {
        padding: 16px 0 0;
        max-width: 100%;
        overflow: hidden;
    }

    .sp-title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .sp-hero__title {
        font-size: clamp(32px, 8vw, 52px);
    }

    /* Full-width stacked buttons — same as homepage */
    .sp-hero__cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .sp-hero__cta .wb-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .sp-features-grid {
        grid-template-columns: 1fr;
    }

    .sp-stats {
        flex-direction: column;
        padding: 40px 24px;
        border-radius: var(--radius-lg);
    }

    .sp-stat {
        min-width: unset;
        padding: 20px 0;
        position: relative;
    }

    .sp-stat+.sp-stat::before {
        content: '';
        position: absolute;
        left: 10%;
        right: 10%;
        top: 0;
        height: 1px;
        width: auto;
        background: rgba(255, 255, 255, 0.12);
    }

    .sp-cta-box {
        padding: 40px 20px;
        border-radius: var(--radius-lg);
    }

    .sp-cta-box__title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .sp-cta-box__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sp-cta-box__actions .wb-btn {
        width: 100%;
        justify-content: center;
    }

    .sp-step {
        padding: 0 12px;
    }

    .sp-testimonial-mini {
        padding: 24px 20px;
    }

    /* Animations on small screens — constrained to container */
    .anim-browser,
    .anim-seo,
    .anim-ads,
    .anim-social,
    .anim-recruit,
    .anim-dash {
        width: 100%;
        max-width: 100%;
        min-height: 260px;
        height: 280px;
        box-sizing: border-box;
    }

    /* Social phone: stay proportional */
    .anim-social__phone {
        width: 150px;
        height: 260px;
    }

    /* Hide extra conversion badges on small screen */
    .anim-ads__conv {
        display: none;
    }

    .anim-ads__conv--1 {
        display: flex;
    }

    /* Hide extra recruiting fly-in cards */
    .anim-recruit__card--2,
    .anim-recruit__card--3 {
        display: none;
    }

    /* Hide dashboard notification toast */
    .anim-dash__notif {
        display: none;
    }

    /* Keep SEO rank badge in frame */
    .anim-seo__rank {
        top: -8px;
        right: -8px;
    }
}