/*
 * excel-master.css
 * Nygaard Development – ExcelMaster Unterseite
 *
 * Voraussetzung: style.css ist bereits geladen.
 * Diese Datei enthält NUR neue Klassen/IDs.
 * Navbar, .btn, .primary, .secondary, .cta, footer,
 * .container, .service-detail-section, .service-header,
 * .hamburger, .mobile-menu → alles aus style.css, hier NICHT wiederholt.
 */

/* ── Service Content Card ─────────────────────────────
   Haupt-Inhaltsbox der Seite (neue Klasse)
──────────────────────────────────────────────────────── */
.service-content-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5e5e7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 56px 64px;
    max-width: 860px;
    margin: 0 auto;
    animation: em-fadeUp 0.6s ease both;
}

/* Icon über der Überschrift */
.service-content-card .em-icon {
    font-size: 4rem;
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

/* H1 & Subtitle – Ergänzung zu .service-header aus style.css */
.service-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-align: center;
    margin-bottom: 14px;
}

.service-header .subtitle {
    font-size: 1.15rem !important;
    color: #515154;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.65;
    font-weight: 400;
}

/* ── Abschnitts-H2 innerhalb der Card ────────────────── */
.service-content-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-top: 20px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    text-align: left;
}

/* ── Feature-Liste ───────────────────────────────────── */
.em-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.em-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f7;
    font-size: 0.97rem;
    color: #1d1d1f;
    line-height: 1.55;
    text-align: left;

}

.em-list li:last-child {
    border-bottom: none;
}

.em-list .li-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
    text-align:center;
    padding-top: 1px;
}

.em-list .li-body strong {
    display: block;
    font-size: 0.97rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 2px;
    text-align: left;
}

.em-list .li-body span {
    font-size: 0.88rem;
    color: #515154;
    line-height: 1.5;
}

/* ── Outro-Box (graues Highlight) ────────────────────── */
.em-outro {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 22px 26px;
    font-size: 0.97rem;
    color: #1d1d1f;
    line-height: 1.65;
    margin-top: 8px;
    margin-bottom: 36px;
}

/* ── Terminal / Logdatei-Vorschau ────────────────────── */
.em-terminal {
    background: #1c1c1e;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #2c2c2e;
    margin: 28px 0 36px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.em-terminal .term-bar {
    background: #2c2c2e;
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #3a3a3c;
}

.em-terminal .term-dots {
    display: flex;
    gap: 6px;
}

.em-terminal .term-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.em-terminal .dot-r { background: #ff5f57; }
.em-terminal .dot-y { background: #febc2e; }
.em-terminal .dot-g { background: #28c840; }

.em-terminal .term-title {
    flex: 1;
    text-align: center;
    font-size: 11.5px;
    color: #86868b;
    font-weight: 500;
}

.em-terminal .term-body {
    padding: 20px 26px;
    font-family: 'SF Mono', 'Fira Mono', 'Consolas', monospace;
    font-size: 12px;
    line-height: 2;
    overflow-x: auto;
}

.em-terminal .t-line {
    display: flex;
    gap: 16px;
    white-space: nowrap;
}

.em-terminal .t-ts   { color: #48484a; flex-shrink: 0; }
.em-terminal .t-ok   { color: #32d74b; font-weight: 600; min-width: 44px; }
.em-terminal .t-info { color: #0a84ff; font-weight: 600; min-width: 44px; }
.em-terminal .t-stat { color: #bf5af2; font-weight: 600; min-width: 44px; }
.em-terminal .t-dbg  { color: #48484a; min-width: 44px; }
.em-terminal .t-msg  { color: #e5e5ea; }

.em-terminal .t-cursor {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: #0071e3;
    vertical-align: middle;
    margin-left: 2px;
    border-radius: 1px;
    animation: em-blink 1.1s step-end infinite;
}

/* ── Pricing Carousel ────────────────────────────────── */

/* Outer wrapper: clips overflow, adds side padding so
   neighbouring cards peek in from left & right           */
/* ── Pricing Grid (desktop) ─────────────────────────── */
.em-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 4px 0 8px 0;
}

/* Dots + wrap only exist on mobile (injected by JS) */
.em-pricing-dots { display: none !important; }

.em-price-card {
    background: #f9f9fb;
    border: 1px solid #e5e5e7;
    border-radius: 16px;
    padding: 24px 20px 20px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.em-price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
    border-color: #0071e3;
}


.em-price-card.featured {
    background: #f0f7ff;
    border-color: #0071e3;
    margin-top: 3px;
}

.em-price-badge {
    position: absolute;
    top: -11px;
    left: 18px;
    background: #0071e3;
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 980px;
    letter-spacing: 0.04em;
}

.em-price-tier {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #86868b;
    margin-bottom: 8px;
}

.em-price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #1d1d1f;
    margin-bottom: 6px;
    line-height: 1;
}

.em-price-amount sub {
    font-size: 12px;
    font-weight: 400;
    color: #86868b;
    vertical-align: middle;
}

.em-price-desc {
    font-size: 12.5px;
    color: #515154;
    margin-bottom: 14px;
    line-height: 1.55;
}

.em-price-list {
    list-style: none;
    padding: 0;
}

.em-price-list li {
    font-size: 12.5px;
    color: #515154;
    padding: 5px 0;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 7px;
}

.em-price-list li::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #f0fff4;
    border: 1px solid #b7f0c8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%2334c759' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ── Anfragen-Button in jeder Preiskarte ─────────────── */
.em-price-btn {
    display: inline-block;
    margin-top: 18px;
    width: 100%;
    text-align: center;
    font-size: 13px !important;
    padding: 8px 16px !important;
}

/* ── CTA-Zeile am Ende der Card ──────────────────────── */
.em-card-cta {
    text-align: center;
    margin-top: 20px;
}

/* ── Animations (prefixed em- zur Sicherheit) ────────── */
@keyframes em-fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes em-blink {
    50% { opacity: 0; }
}

/* ── Mobile ──────────────────────────────────────────── */
/* ── Dashboard Preview: desktop/mobile swap ──────────── */
.lp-preview-desktop { display: block; }
.lp-preview-mobile  { display: none;  }

@media (max-width: 768px) {
    .lp-preview-desktop { display: none  !important; }
    .lp-preview-mobile  { display: block !important; }


    /* Card: Padding reduzieren */
    .service-content-card {
        padding: 28px 20px !important;
        border-radius: 16px !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    /* Service-Section */
    .service-detail-section {
        padding: 12px 3px 40px 3px !important;
    }

    .service-header h1 {
        font-size: 1.5rem !important;
    }

    .service-header .subtitle {
        font-size: 0.97rem !important;
    }

    /* H2 in Card */
    .service-content-card h2 {
        font-size: 1rem !important;
    }

    /* Terminal scrollbar auf mobile */
    .em-terminal .term-body {
        font-size: 11px;
        padding: 14px 16px;
    }

    /* Pricing carousel – mobile only */
    .em-pricing-dots { display: flex !important; }

    .em-pricing-wrap {
        /* bleed slightly past card padding so neighbours peek in */
        margin-left:  -8px !important;
        margin-right: -8px !important;
        overflow: hidden;
    }

    .em-pricing {
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        overflow-x: scroll !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-x: contain !important;
        /* 14vw on each side → neighbours peek ~14vw */
        padding: 8px 14vw 16px !important;
        cursor: grab !important;
    }

    .em-price-card {
        flex: 0 0 70vw !important;
        max-width: 320px !important;
        margin-right: 10px !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        opacity: 0.95 !important;
        transform: scale(0.97) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease,
                    border-color 0.3s ease, opacity 0.3s ease !important;
    }

    .em-price-card.active {
        opacity: 1 !important;
        transform: scale(1) !important;
        box-shadow: 0 12px 32px rgba(0,0,0,0.10) !important;
    }

    .em-price-card:hover {
        transform: scale(0.96) !important;
    }

    .em-price-card.active:hover {
        transform: scale(1) !important;
    }

    .em-price-card:last-child {
        margin-right: 0 !important;
    }

    .em-card-cta {
        display: flex;
        flex-direction: row !important;
        justify-content: center;
        gap: 8px;
    }

    .em-card-cta .secondary {
        margin-left: 0;
        font-size: 9px !important;
    }

    /* Outro-Box */
    .em-outro {
        padding: 16px 18px;
        font-size: 0.92rem;
    }

    /* Modal auf Mobile: fast vollbild */
    .km-card {
        padding: 28px 20px 24px !important;
        max-height: 95vh !important;
        border-radius: 20px !important;
    }
}

/* ── Carousel Dots ───────────────────────────────────── */
.em-pricing-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
    margin-bottom: 6px;
}

.em-pricing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d2d2d7;
    transition: background 0.25s ease, transform 0.25s ease;
    cursor: pointer;
}

.em-pricing-dot.active {
    background: #0071e3;
    transform: scale(1.25);
}
