* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gradient backgrounds */
.gradient-section {
    position: relative;
}

.bg-gradient-1 {
    background: linear-gradient(180deg, #fff 0%, #fef8f9 30%, #fce8eb 100%);
}

.bg-gradient-2 {
    background: linear-gradient(180deg, #fce8eb 0%, #f8d7dc 30%, #fce8eb 70%, #fff 100%);
}

.bg-gradient-3 {
    background: linear-gradient(180deg, #fce8eb 0%, #fef8f9 30%, #fce8eb 60%, #f8d7dc 100%);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #fff;
    color: #333;
    padding: 40px 20px;
    position: relative;
}

.hero-partners-top {
    position: absolute;
    top: 24px;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #999;
}

.hero-partners-top img {
    height: 28px;
    background: white;
    border-radius: 6px;
    padding: 4px 8px;
}

.hero-partners-top img[alt="Entlastungsdienst Bern"] {
    height: 56px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 340px;
    height: auto;
    margin-bottom: 24px;
}

.hero p {
    font-size: 24px;
    color: #555;
    max-width: 700px;
    margin-bottom: 40px;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    font-size: 14px;
    color: #999;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.scroll-hint span {
    display: block;
    font-size: 36px;
    margin-top: 8px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* Feature nav */
.feature-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px 16px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.feature-nav a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.feature-nav a:hover {
    color: #C96B7E;
    background: #fef8f9;
}

.feature-nav a.active {
    color: #C96B7E;
    background: #fce8eb;
}

.nav-divider {
    width: 1px;
    background: #e0e0e0;
    align-self: stretch;
    margin: 4px 8px;
}

/* Section intro */
.section-intro {
    padding: 100px 20px 40px;
    text-align: center;
    position: relative;
}

.section-intro h2 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-intro p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    display: flex;
    align-items: center;
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 100px;
    min-height: 80vh;
}

.section.reverse {
    flex-direction: row-reverse;
}

.section-content {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #C96B7E 0%, #a85566 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 28px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    font-size: 16px;
    color: #444;
}

.feature-list li::before {
    content: "\2713";
    color: #C96B7E;
    font-weight: bold;
    font-size: 18px;
    background: #fce8eb;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-mockup.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section.reverse .section-mockup {
    transition-delay: 0.1s;
}

/* Phone Frame with iframe */
.phone-frame {
    width: 300px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1) inset;
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.section.reverse .phone-frame {
    transform: perspective(1000px) rotateY(8deg) rotateX(2deg);
}

.section.reverse .phone-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-frame iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 32px;
    background: white;
}

/* Desktop mockup */
.desktop-frame {
    width: 500px;
    background: white;
    border-radius: 16px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.2),
        0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
    transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.desktop-toolbar {
    height: 36px;
    background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
    border-bottom: 1px solid #ddd;
}

.toolbar-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.desktop-frame iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Pricing */
.pricing-section {
    padding: 100px 20px 60px;
    background: #fff;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-intro h2 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.pricing-intro p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: flex;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 48px;
    justify-content: center;
}

.pricing-card {
    flex: 1;
    max-width: 380px;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 32px 28px;
    background: #fff;
}

.pricing-card.featured {
    border-color: #C96B7E;
    box-shadow: 0 8px 30px rgba(201, 107, 126, 0.15);
}

.pricing-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 6px;
}

.pricing-card.featured .pricing-card-label {
    color: #C96B7E;
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.pricing-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 6px 0;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-features li::before {
    content: "\2713";
    color: #C96B7E;
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-features li.muted::before {
    content: "\2014";
    color: #ccc;
}

.pricing-features li.muted {
    color: #aaa;
}

/* Add-ons */
.addons-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.addons-grid {
    display: flex;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}

.addon-card {
    flex: 1;
    max-width: 280px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.addon-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.addon-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.footer h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 18px;
}

.footer-partners {
    margin-top: 48px;
}

.footer-partners-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
    display: block;
}

.footer-partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-partner-logos img {
    height: 36px;
    background: white;
    border-radius: 8px;
    padding: 6px 12px;
}

.footer-partner-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #666;
}

.footer-legal {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #444;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1100px) {
    .feature-nav {
        gap: 4px;
    }

    .feature-nav a {
        font-size: 13px;
        padding: 6px 14px;
    }

    .section {
        flex-direction: column !important;
        padding: 60px 20px;
        gap: 50px;
        min-height: auto;
    }

    .section-content {
        max-width: 100%;
        text-align: center;
    }

    .feature-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-mockup {
        flex-wrap: wrap;
        justify-content: center;
    }

    .phone-frame, .section.reverse .phone-frame {
        transform: none !important;
    }

    .desktop-frame {
        transform: none !important;
        width: 100%;
        max-width: 500px;
    }

    .section-intro h2 {
        font-size: 36px;
    }

    .section-content h3 {
        font-size: 32px;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 400px;
        width: 100%;
    }

    .pricing-intro h2 {
        font-size: 36px;
    }

    .addons-grid {
        flex-direction: column;
        align-items: center;
    }

    .addon-card {
        max-width: 400px;
        width: 100%;
    }
}

/* Responsive - mobile */
@media (max-width: 600px) {
    .feature-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px 12px;
        gap: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .feature-nav::-webkit-scrollbar {
        display: none;
    }

    .feature-nav a {
        font-size: 13px;
        padding: 6px 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nav-divider {
        margin: 4px 4px;
    }
}
