/* ============================================================
   leistungen.css — overview grid + service detail pages
   Part of the Praxis Dr. Kretzschmar theme. Rules moved verbatim
   from the original single style.css (see CLAUDE.md).
   ============================================================ */

/* ============================================================ */
/* ---------- Leistungen page (sub-page service grid) -------- */
/* ============================================================ */

/* Services section — sits below the page-header band */
.leistungen-page {
    background: var(--color-green-100);
    padding: 90px 80px 100px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--color-green-200);
    border-top: 3px solid var(--color-accent-600);
    padding: 40px 40px 36px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 10px 28px rgba(15, 40, 66, 0.10);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--color-green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-accent-600);
}

.service-icon img {
    width: 28px;
    height: 28px;
}

.service-icon:empty {
    display: none;
}

.service-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--color-ink-900);
    margin-bottom: 14px;
}

.service-text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-ink-900);
    opacity: 0.85;
    margin-bottom: 28px;
    flex-grow: 1;
}

.service-link {
    align-self: flex-start;
    color: var(--color-accent-600);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.service-link:hover {
    opacity: 0.7;
}

/* Contact CTA band above the footer */
.cta-band {
    background: var(--color-green-50);
    padding: 64px 24px;
    text-align: center;
}

.cta-band-link {
    display: inline-block;
    color: var(--color-accent-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--color-accent-600);
    transition: opacity 0.2s ease;
}

.cta-band-link:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 640px) {
    .leistungen-page {
        padding: 60px 24px 70px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 32px 28px 28px;
    }
    
    .cta-band {
        padding: 48px 24px;
    }
}


/* ---------- Leistungen sub-pages (Tiefenpsychologie etc.) ---------- */
.subpage-intro { background: var(--color-green-100); padding: 70px 80px; }
.subpage-intro-inner { max-width: 760px; margin: 0 auto; }
.subpage-lead { font-size: 19px; line-height: 1.75; color: var(--color-ink-900); }

.subpage-section { background: var(--color-green-50); padding: 72px 80px; }
.subpage-section--alt { background: var(--color-green-100); }
.subpage-section-inner { max-width: 820px; margin: 0 auto; }
.subpage-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--color-ink-600);
    margin-bottom: 20px;
}
.subpage-text { font-size: 16px; line-height: 1.75; color: var(--color-ink-900); opacity: 0.9; }


/* ---------- Sub-page: multi-paragraph spacing + bullet lists ---------- */
.subpage-lead + .subpage-lead,
.subpage-text + .subpage-text { margin-top: 1.2em; }

.subpage-list {
    list-style: disc;
    margin: 18px 0 0;
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-ink-900);
    opacity: 0.9;
}
.subpage-list li { margin-bottom: 10px; }
.subpage-list li:last-child { margin-bottom: 0; }

.subpage-list-indented {
    padding-left: 48px;
    padding-bottom: 24px;
}
/* ---------- Responsive (Leistungen sub-pages) ---------- */
@media (max-width: 640px) {
    .subpage-intro { padding: 48px 24px; }
    .subpage-section { padding: 48px 24px; }
    .subpage-lead { font-size: 17px; }
}
