/* Reuse patterns from aufbau-montage.css */

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: -2;
}

.hero-content--left {
    max-width: 820px;
}

.hero.hero--service {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
}

.pill--outline {
    color: #f7d34f;
    border: 1px solid #f7d34f;
    background-color: rgba(0, 0, 0, 0.18)
}

.hero.hero--service h1 {
    margin: 18px 0 40px;
    font-size: 48px;
    line-height: 1.05;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-lead {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    max-width: 760px;
}

.hero-paragraph {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
}

.hero-bullets--service {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 18px 0 22px;
}

.bullet {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-weight: 600;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

.bullet-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(247, 211, 79, 0.18);
    color: #f7d34f;
    border: 1px solid rgba(247, 211, 79, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bullet-icon svg {
    width: 18px;
    height: 18px;
}

.btn-hero--service {
    display: inline-flex;
    cursor: pointer;
}

/* Hero actions (primary / secondary / text link) */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-link {
    margin: 18px 0 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-link a {
    color: #f7d34f;
    text-decoration: underline;
}

/* Section Base */
.section-base {
    padding: 80px 0;
    background-color: #fafafa;
}

.section-base--white {
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin: 0 0 16px;
    color: #111;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
    font-size: 18px;
    line-height: 1.6;
    color: #6b7280;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Cards */
.service-card {
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #f7d34f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-icon--dark {
    background: #111;
    color: #f7d34f;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.service-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

/* Lists inside cards */
.content-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 12px;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: #111;
    line-height: 1.5;
}

.content-list svg {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: #f59e0b;
    flex-shrink: 0;
}

/* Access note under the two access cards */
.access-note {
    max-width: 800px;
    margin: 32px auto 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 28px;
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #374151;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
}

/* Role cards */
.role-channel {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    margin-bottom: 14px;
}

/* Process List */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.process-step-num {
    width: 42px;
    height: 42px;
    background: #f7d34f;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.process-step-info h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.process-step-info p {
    margin: 0;
    font-size: 16px;
    color: #6b7280;
}

/* App screens gallery */
.app-screens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.app-screen {
    margin: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.app-screen img {
    display: block;
    width: 100%;
    height: auto;
}

/* Access & Subscription (dark callout) */
.callout-section {
    background: #111;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.callout-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.callout-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.access-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.access-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Official Apple badge: displayed as delivered, never recolored or cropped */
.store-badge {
    display: inline-block;
    line-height: 0;
}

.store-badge img {
    display: block;
    height: 48px;
    width: auto;
}

.app-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
}

.app-qr img {
    display: block;
    width: 160px;
    height: 160px;
}

.qr-caption {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.access-legal {
    margin: 32px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.access-legal a {
    color: #f7d34f;
    text-decoration: underline;
}

/* FAQ (Accordion) */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color: #d1d5db;
}

.faq-item.is-open {
    border-color: rgba(247, 211, 79, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.faq-question {
    margin: 0;
    font-size: 18px;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    background: none;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    text-align: left;
    cursor: pointer;
}

.faq-trigger::before {
    content: "Q:";
    color: #f59e0b;
    flex-shrink: 0;
}

.faq-trigger-text {
    flex: 1;
}

.faq-trigger:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: -2px;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.32s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-trigger:hover .faq-icon {
    background: #e5e7eb;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
    background: #f7d34f;
    color: #111;
}

/* Collapsible panel: height is animated, never toggled with display */
.faq-panel {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.32s ease, visibility 0s linear 0.32s;
}

.faq-item.is-open .faq-panel {
    visibility: visible;
    transition: max-height 0.32s ease, visibility 0s;
}

.faq-answer {
    font-size: 16px;
    color: #374151;
    margin: 0;
    padding: 0 24px 24px;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {

    .faq-panel,
    .faq-item.is-open .faq-panel,
    .faq-icon {
        transition: none;
    }
}

/* CTA Final Section */
.cta-final {
    padding: 80px 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.75)), linear-gradient(135deg, #0f172a, #020617);
    color: #ffffff;
    text-align: center;
}

.cta-inner {
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
}

.cta-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(250, 204, 21, 0.35);
}

.cta-btn--outline {
    border-radius: 16px;
    padding: 16px 32px;
    font-size: 18px;
}

.cta-note {
    margin-top: 18px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.cta-note a {
    color: #f7d34f;
    text-decoration: underline;
}

/* responsive */
@media (max-width: 1100px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hero.hero--service h1 {
        font-size: 38px;
    }

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

    .app-screens {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* QR is not usable on the device that displays it */
    .app-qr {
        display: none;
    }

    .access-grid {
        gap: 24px;
    }
}

@media (max-width: 620px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .app-screens {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .hero-actions .btn-yellow,
    .hero-actions .btn-outline-light,
    .cta-actions .cta-btn,
    .cta-actions .cta-btn--outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
