/* ========== LEISTUNGEN ROUTE ========== */
.services-route {
    background: #ffffff;
}

.route-timeline {
    position: relative;
    padding-left: 3rem;
}

.route-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #7c3aed, #cbd5e1, #e4e4e7);
}

.route-node {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.node-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-dot {
    width: 20px;
    height: 20px;
    background: #7c3aed;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #7c3aed;
    z-index: 2;
    position: relative;
}

.node-line {
    width: 2px;
    height: 80px;
    background: #cbd5e1;
    margin-top: 8px;
}

.node-line.line-end {
    height: 0;
}

.node-card {
    flex: 1;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 1.5rem;
    padding: 1.8rem;
    transition: all 0.3s ease;
}

.node-card:hover {
    transform: translateX(8px);
    border-color: #7c3aed;
}

.node-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.node-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #18181b;
}

.node-card p {
    color: #52525b;
    font-size: 0.9rem;
}

/* ========== ABLAUF ========== */
.how-it-works {
    background: #fafafa;
}

.steps-connector {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.step-connector {
    flex: 1;
    position: relative;
    text-align: center;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-line {
    position: absolute;
    top: 30px;
    left: 50%;
    width: calc(100% - 60px);
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #cbd5e1);
    z-index: 1;
}

.line-last {
    background: #cbd5e1;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #18181b;
}

.step-content p {
    color: #52525b;
    font-size: 0.9rem;
}

/* ========== PREISE & PRODUKTE ========== */
.pricing-products {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.pricing-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 1.5rem;
    padding: 1.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
}

.featured-product {
    border-color: #7c3aed;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.08);
}

.product-card.recommended {
    border: 3px solid #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1), 0 20px 25px -12px rgba(0, 0, 0, 0.1);
    position: relative;
    background: linear-gradient(145deg, #ffffff, #fef2f2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card.recommended::before {
    content: "ðŸŽ¯ EMPFOHLEN FÃœR DICH";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    white-space: nowrap;
}

.product-card.recommended:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 40px -15px rgba(220, 38, 38, 0.3);
}

.product-card.recommended:hover .btn-product {
    background: #dc2626;
    color: white;
    transition: all 0.3s ease;
}

.product-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    width: fit-content;
}

.product-badge.starter {
    background: #dcfce7;
    color: #166534;
}

.product-badge.business {
    background: #dbeafe;
    color: #1e40af;
}

.product-badge.pro {
    background: #f3e8ff;
    color: #6b21a5;
}

.product-badge.premium {
    background: #fee2e2;
    color: #991b1b;
}

.product-badge.quickfix {
    background: #e6f7e6;
    color: #2b6e2f;
}

.product-badge.update {
    background: #e0f2fe;
    color: #0c4a6e;
}

.product-badge.upgrade {
    background: #fee2e2;
    color: #b91c1c;
}

.product-badge.basic {
    background: #e0f2fe;
    color: #075985;
}

.product-badge.standard {
    background: #dbeafe;
    color: #1e3a8a;
}

.product-badge.premium-care {
    background: #fae8ff;
    color: #86198f;
}

.product-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 0.5rem;
}

.product-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #71717a;
}

.product-quote {
    font-size: 0.85rem;
    font-weight: 500;
    color: #7c3aed;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.product-target {
    font-size: 0.7rem;
    color: #a1a1aa;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f4f4f5;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-features li {
    font-size: 0.8rem;
    color: #52525b;
    margin-bottom: 0.5rem;
}

.product-goal {
    font-size: 0.75rem;
    font-weight: 600;
    background: #f4f4f5;
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1rem;
}

.btn-product {
    display: block;
    text-align: center;
    padding: 0.7rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.finder-button-container {
    text-align: center;
    margin: 2rem 0;
}

.recommendation-banner {
    max-width: 800px;
    margin: 1.5rem auto 0;
    background: #dc2626;
    color: white;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    text-align: center;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recommendation-banner p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.recommendation-banner strong {
    font-size: 1rem;
}

/* ========== SERVICES PAGE SPECIFIC ========== */
.services-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem 0;
    background: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
    border-bottom: 1px solid #eef2f6;
}

.services-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-hero-text {
    font-size: 1.1rem;
    color: #52525b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.services-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #7c3aed;
}

.stat-label {
    font-size: 0.8rem;
    color: #52525b;
}

.services-wrapper {
    padding: 4.5rem 0;
    border-bottom: 1px solid #eef2f6;
    background: #ffffff;
}

.services-wrapper:last-of-type {
    border-bottom: none;
}

.decision-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e4e4e7;
    transition: all 0.3s ease;
}

.decision-section.hidden {
    display: none;
}

.decision-header {
    text-align: center;
    margin-bottom: 3rem;
}

.decision-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.decision-sub {
    color: #52525b;
    font-size: 1rem;
}

.decision-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.decision-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    border: 2px solid #e4e4e7;
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    min-width: 320px;
    background: #ffffff;
}

.decision-btn:hover {
    border-color: #7c3aed;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
}

.decision-btn.active {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #f3e8ff 0%, #ffffff 100%);
    box-shadow: 0 10px 20px -8px rgba(124, 58, 237, 0.2);
}

.decision-icon {
    font-size: 2.5rem;
}

.decision-btn-content strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
    color: #18181b;
}

.decision-btn-content span {
    font-size: 0.85rem;
    color: #52525b;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.loading-overlay.hidden {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e4e4e7;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: #18181b;
    font-weight: 500;
    font-size: 1rem;
}

.packages-section {
    padding: 4rem 0;
}

.packages-section.hidden {
    display: none;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.packages-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.packages-grid.centered {
    justify-content: center;
}

@media (min-width: 1200px) {
    .packages-grid.centered {
        grid-template-columns: repeat(4, minmax(280px, 320px));
        justify-content: center;
    }

    .packages-grid.centered.three-cols {
        grid-template-columns: repeat(3, minmax(280px, 320px));
    }
}

.pricing-products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.subscription-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: #71717a;
    font-weight: 500;
}

.package-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 1.5rem;
    padding: 1.8rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
}

.package-card.featured {
    border-color: #7c3aed;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.08);
}

.package-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    width: fit-content;
}

.package-badge.starter {
    background: #dcfce7;
    color: #166534;
}

.package-badge.business {
    background: #dbeafe;
    color: #1e40af;
}

.package-badge.pro {
    background: #f3e8ff;
    color: #6b21a5;
}

.package-badge.premium {
    background: #fee2e2;
    color: #991b1b;
}

.package-badge.quickfix {
    background: #dcfce7;
    color: #166534;
}

.package-badge.update {
    background: #dbeafe;
    color: #1e40af;
}

.package-badge.upgrade {
    background: #fee2e2;
    color: #991b1b;
}

.package-badge.basic {
    background: #dcfce7;
    color: #166534;
}

.package-badge.standard {
    background: #dbeafe;
    color: #1e40af;
}

.package-badge.premium-care {
    background: #f3e8ff;
    color: #6b21a5;
}

.package-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 0.25rem;
}

.package-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #71717a;
}

.price-period {
    font-size: 0.8rem;
    font-weight: 400;
    color: #a1a1aa;
    margin-left: 0.25rem;
}

.package-quote {
    font-size: 0.85rem;
    font-weight: 500;
    color: #7c3aed;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.package-target {
    font-size: 0.7rem;
    color: #a1a1aa;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f4f4f5;
}

.package-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.package-features li {
    font-size: 0.8rem;
    color: #52525b;
    margin-bottom: 0.5rem;
}

.package-goal {
    font-size: 0.75rem;
    font-weight: 600;
    background: #f4f4f5;
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1rem;
}

.package-footnote {
    font-size: 0.7rem;
    color: #a1a1aa;
    text-align: center;
    margin-bottom: 1rem;
}

.btn-package {
    display: block;
    text-align: center;
    background: #f4f4f5;
    padding: 0.7rem;
    border-radius: 40px;
    text-decoration: none;
    color: #18181b;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-package:hover {
    background: #e4e4e7;
}

.btn-package-primary {
    background: #7c3aed;
    color: white;
}

.btn-package-primary:hover {
    background: #6d28d9;
}

.subsection-title {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.subsection-icon {
    font-size: 1.8rem;
    display: inline-block;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.subsection-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #18181b;
    display: inline-block;
    vertical-align: middle;
}

.subsection-desc {
    color: #52525b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.explanation-box {
    display: flex;
    gap: 1.5rem;
    background: linear-gradient(135deg, #f3e8ff 0%, #ffffff 100%);
    border: 1px solid #e4e4e7;
    border-radius: 1.5rem;
    padding: 1.8rem;
    margin-top: 2rem;
}

.explanation-icon {
    font-size: 2.5rem;
}

.explanation-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #18181b;
}

.explanation-content p {
    color: #52525b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.explanation-content strong {
    color: #7c3aed;
}

.back-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.back-button-designed {
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    border-radius: 60px;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #18181b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button-designed:hover {
    background: #e4e4e7;
    border-color: #7c3aed;
    transform: translateY(-2px);
}

/* ========== GARANTIE SECTION ========== */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.guarantee-box {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.guarantee-box:hover {
    transform: translateY(-5px);
}

/* ========== MOBILE OVERRIDES ========== */
@media (max-width: 768px) {
    /* Fix packages stretching on mobile */
    .pricing-products-grid,
    .pricing-products-grid-3,
    .packages-grid {
        grid-template-columns: 1fr !important;
    }

    /* Guarantees: 2 on top, 1 centered below */
    .guarantees-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guarantee-box.center-on-mobile {
        grid-column: 1 / -1;
        width: 60%;
        justify-self: center;
    }
}

@media (max-width: 480px) {
    /* For very small phones, the 2-column guarantees might be tight, so let's stack them fully if the screen is super small */
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    .guarantee-box.center-on-mobile {
        width: 100%;
    }
}

.services-main-title { font-size: 3.5rem; text-align: center; } 
@media (max-width: 768px) { .services-main-title { font-size: 1.8rem !important; } }
