/* ============================================================
   TaskRoute — content.css
   hero + sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
    background: var(--grad-hero);
    padding: 72px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-deco-1 {
    width: 400px; height: 400px;
    border: 60px solid rgba(255,255,255,.05);
    top: -120px; right: -120px;
}
.hero-deco-2 {
    width: 250px; height: 250px;
    border: 40px solid rgba(255,255,255,.06);
    bottom: 40px; left: -80px;
}
.hero-deco-3 {
    width: 16px; height: 16px;
    background: rgba(255,255,255,.3);
    top: 35%; right: 12%;
    animation: float 4s ease-in-out infinite;
}
.hero-deco-4 {
    width: 10px; height: 10px;
    background: rgba(255,255,255,.2);
    bottom: 30%; left: 8%;
    animation: float 5s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}

.hero-wave-bottom {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    line-height: 0;
}
.hero-wave-bottom svg { width: 100%; height: 80px; display: block; }

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-pill);
    padding: 6px 18px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    font-family: var(--font-headline);
    backdrop-filter: blur(4px);
}
.hero-badge-dot {
    width: 7px; height: 7px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255,255,255,.3);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
    50%       { box-shadow: 0 0 0 7px rgba(255,255,255,.1); }
}

.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    margin-bottom: 22px;
    letter-spacing: -.02em;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-price-note {
    font-family: var(--font-headline);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255,255,255,.9);
    margin-bottom: 16px;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.hero-demo-hint {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 32px;
    line-height: 1.55;
}
.hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    font-family: var(--font-headline);
    font-weight: 600;
    letter-spacing: .01em;
}
.trust-chip::before {
    content: '✓';
    width: 18px; height: 18px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 14px;
    transition: color .15s;
    font-family: var(--font-headline);
}
.hero-contact-link:hover { color: #fff; text-decoration: none; }
.hero-contact-link svg   { flex-shrink: 0; }

/* Hero mock UI */
.hero-visual {
    margin-top: 60px;
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero-mock-ui {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 32px 80px rgba(0,0,0,.2);
}
.mock-chrome {
    background: rgba(255,255,255,.12);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot-r { background: #FF5F57; }
.mock-dot-y { background: #FFBD2E; }
.mock-dot-g { background: #28CA41; }
.mock-url-bar {
    flex: 1;
    background: rgba(255,255,255,.08);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    font-family: var(--font-body);
}
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mock-map {
    background: rgba(20,40,80,.35);
    border-radius: var(--radius-md);
    height: 160px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
}
.mock-map-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 24px 24px;
}
.mock-route-line {
    position: absolute;
    top: 50%; left: 15%;
    width: 72%; height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.8), rgba(255,255,255,.3));
    transform: translateY(-50%) rotate(-6deg);
    border-radius: 2px;
}
.mock-pin {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,.25), 0 0 10px rgba(255,255,255,.4);
    animation: pin-pulse 2s ease-in-out infinite;
}
.mock-pin:nth-child(1) { top: 32%; left: 15%; animation-delay: 0s;   background: #A78BFA; box-shadow: 0 0 0 3px rgba(167,139,250,.4); }
.mock-pin:nth-child(2) { top: 55%; left: 38%; animation-delay: .4s;  background: #fbbf24; box-shadow: 0 0 0 3px rgba(251,191,36,.4); }
.mock-pin:nth-child(3) { top: 30%; left: 65%; animation-delay: .8s;  background: #A78BFA; box-shadow: 0 0 0 3px rgba(167,139,250,.4); }
.mock-pin:nth-child(4) { top: 62%; left: 82%; animation-delay: 1.2s; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.4); }
@keyframes pin-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.4); } }

.mock-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-sm);
    padding: 12px;
}
.mock-stat-num {
    font-family: var(--font-headline);
    font-size: 1.2rem; font-weight: 700;
    color: #fff; line-height: 1; margin-bottom: 4px;
}
.mock-stat-label { font-size: .67rem; color: rgba(255,255,255,.45); font-family: var(--font-headline); }

.mock-monteur-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
}
.mock-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    font-size: .65rem; font-weight: 700; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-headline); flex-shrink: 0;
}
.mock-row-text { flex: 1; }
.mock-row-name { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.85); font-family: var(--font-headline); line-height: 1; margin-bottom: 2px; }
.mock-row-sub  { font-size: .62rem; color: rgba(255,255,255,.4); }
.mock-tag {
    font-size: .62rem; font-weight: 700;
    border-radius: var(--radius-pill); padding: 3px 9px;
    font-family: var(--font-headline); letter-spacing: .04em;
}
.mock-tag-green  { background: rgba(74,222,128,.15);  color: #86efac; }
.mock-tag-blue   { background: rgba(99,102,241,.15);  color: #a5b4fc; }
.mock-tag-orange { background: rgba(251,191,36,.15);  color: #fde68a; }

/* ---------- Stats Section ---------- */
.section-stats {
    background: var(--color-bg-white);
    padding: 72px 0;
    border-bottom: 1px solid var(--color-border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stat-item {
    padding: 44px 32px;
    text-align: center;
    border-right: 1px solid var(--color-border);
    position: relative;
    transition: background .2s;
    background: var(--color-bg-white);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--color-bg-tint); }
.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-pill);
    transition: width .3s cubic-bezier(.4,0,.2,1);
}
.stat-item:hover::after { width: 48px; }
.stat-number {
    font-family: var(--font-headline);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -.03em;
    background: var(--grad-section);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: .85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-family: var(--font-headline);
    font-weight: 600;
}

/* ---------- Social Proof / Origin ---------- */
.section-origin { background: var(--color-bg-tint); padding: 100px 0; }
.origin-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.origin-text p { color: var(--color-text-muted); margin-bottom: 18px; font-size: 1.05rem; line-height: 1.8; }

.testimonial-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-section);
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.testimonial-stars span { color: #FBBF24; font-size: 1.1rem; }
.testimonial-quote-icon {
    position: absolute; top: 20px; right: 28px;
    font-size: 5rem; line-height: 1;
    color: var(--color-bg-tint);
    font-family: Georgia, serif;
    pointer-events: none;
}
.testimonial-text { font-size: 1.05rem; line-height: 1.85; color: var(--color-text); font-style: italic; margin-bottom: 26px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--grad-section);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-headline); font-weight: 700; font-size: .95rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-violet);
}
.author-info strong { display: block; font-weight: 700; color: var(--color-text); font-family: var(--font-headline); font-size: .95rem; }
.author-info span { font-size: .83rem; color: var(--color-text-muted); }

/* ---------- So funktioniert's ---------- */
.section-how { background: var(--color-bg-white); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.step-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: border-color .25s, box-shadow .25s, transform .25s;
    position: relative; overflow: hidden;
}
.step-card:hover { border-color: rgba(109,40,217,.2); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.step-number {
    width: 60px; height: 60px;
    background: var(--grad-section); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-headline); font-weight: 800; font-size: 1.4rem;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-violet);
}
.step-card h3 { font-family: var(--font-headline); font-size: 1.15rem; font-weight: 700; color: var(--color-text); margin-bottom: 14px; }
.step-card p  { color: var(--color-text-muted); font-size: .94rem; line-height: 1.75; }

/* ---------- Features ---------- */
.section-features { background: var(--color-bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 64px; }
.feature-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: border-color .22s, box-shadow .25s, transform .25s;
}
.feature-card:hover { border-color: rgba(109,40,217,.2); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.feature-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    transition: transform .2s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-icon svg { width: 26px; height: 26px; }

.feature-card:nth-child(1)  .feature-icon { background: rgba(109,40,217,.1); } .feature-card:nth-child(1)  .feature-icon svg { color: #7C3AED; }
.feature-card:nth-child(2)  .feature-icon { background: rgba(139,92,246,.1); } .feature-card:nth-child(2)  .feature-icon svg { color: #7C3AED; }
.feature-card:nth-child(3)  .feature-icon { background: rgba(249,115,22,.1); } .feature-card:nth-child(3)  .feature-icon svg { color: #EA580C; }
.feature-card:nth-child(4)  .feature-icon { background: rgba(20,184,166,.1);  } .feature-card:nth-child(4)  .feature-icon svg { color: #0D9488; }
.feature-card:nth-child(5)  .feature-icon { background: rgba(234,179,8,.1);   } .feature-card:nth-child(5)  .feature-icon svg { color: #CA8A04; }
.feature-card:nth-child(6)  .feature-icon { background: rgba(59,130,246,.1);  } .feature-card:nth-child(6)  .feature-icon svg { color: #2563EB; }
.feature-card:nth-child(7)  .feature-icon { background: rgba(16,185,129,.1);  } .feature-card:nth-child(7)  .feature-icon svg { color: #059669; }
.feature-card:nth-child(8)  .feature-icon { background: rgba(244,63,94,.1);   } .feature-card:nth-child(8)  .feature-icon svg { color: #E11D48; }
.feature-card:nth-child(9)  .feature-icon { background: rgba(168,85,247,.1);  } .feature-card:nth-child(9)  .feature-icon svg { color: #9333EA; }
.feature-card:nth-child(10) .feature-icon { background: rgba(14,165,233,.1);  } .feature-card:nth-child(10) .feature-icon svg { color: #0284C7; }
.feature-card:nth-child(11) .feature-icon { background: rgba(34,197,94,.1);   } .feature-card:nth-child(11) .feature-icon svg { color: #16A34A; }
.feature-card:nth-child(12) .feature-icon { background: rgba(245,158,11,.1);  } .feature-card:nth-child(12) .feature-icon svg { color: #D97706; }
.feature-card:nth-child(13) .feature-icon { background: rgba(109,40,217,.1);  } .feature-card:nth-child(13) .feature-icon svg { color: #7C3AED; }

.feature-card h3 { font-family: var(--font-headline); font-size: 1rem; font-weight: 700; color: var(--color-text); margin-bottom: 10px; }
.feature-card p  { font-size: .87rem; color: var(--color-text-muted); line-height: 1.72; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .origin-inner { grid-template-columns: 1fr; gap: 48px; }
    .steps-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .section-stats  { padding: 56px 20px; }

    .hero           { padding: 56px 0 110px; }
    .hero-title     { font-size: 2.2rem; }
    .hero-subtitle  { font-size: .97rem; }
    .hero-ctas      { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; justify-content: center; }

    .marquee-item { padding: 0 18px; font-size: .72rem; }

    .stats-grid           { grid-template-columns: 1fr; }
    .stat-item            { border-right: none; border-bottom: 1px solid var(--color-border); }
    .stat-item:last-child { border-bottom: none; }

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

    .origin-text .btn { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }

    /* Steps: Nummer links, Überschrift + Text rechts */
    .steps-grid   { gap: 16px; }
    .step-card    { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; row-gap: 6px; padding: 24px 20px; text-align: left; }
    .step-number  { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 48px; height: 48px; font-size: 1.2rem; margin: 0; }
    .step-card h3 { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 0; }
    .step-card p  { grid-column: 2; grid-row: 2; }
}

@media (max-width: 480px) {
    .hero-title       { font-size: 1.9rem; }
    .features-grid    { grid-template-columns: 1fr; }
    .hero-trust-chips { gap: 14px; }
    .stats-grid       { grid-template-columns: 1fr; }
}
