/*
 * Programmatic Pages Stylesheet
 * Layout-Klassen fuer programmatisch generierte Seiten (voiceOne/mediOne/coachOne)
 * Koexistiert mit brand-spezifischem style.css — nur Layout-Helper, keine Brand-Ueberschreibung
 */

/* Sections */
.section {
    padding: 4rem 0;
}
.section-intro,
.section-benefits,
.section-method,
.section-context,
.section-steps,
.section-compliance,
.section-local,
.section-faq {
    padding: 4rem 0;
}
.section-intro { background: #ffffff; }
.section-benefits { background: #f8fafc; }
.section-method { background: #ffffff; }
.section-context { background: #f8fafc; }
.section-steps { background: #ffffff; }
.section-compliance { background: #fef9e7; border-top: 1px solid #fde68a; border-bottom: 1px solid #fde68a; }
.section-local { background: #f0f9ff; }
.section-faq { background: #f8fafc; }

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 700;
}
.section h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-weight: 600;
}
.section p {
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1rem;
}
.section-lead {
    font-size: 1.125rem;
    color: #475569;
    max-width: 720px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 640px;
}

/* Badge */
.badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}
.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.375rem;
    font-weight: 500;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.feature {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}
.feature h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    color: #0f172a;
    font-weight: 700;
}
.feature p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    counter-reset: step-counter;
}
.step {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    position: relative;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.step h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.0625rem;
}
.step p {
    color: #475569;
    font-size: 0.9375rem;
    margin: 0;
}

/* Check-List */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.check-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #334155;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Local Info */
.local-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.info-item {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.info-item strong {
    display: block;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 0.375rem;
    font-size: 0.95rem;
}
.info-item span,
.info-item p {
    color: #64748b;
    font-size: 0.9375rem;
    margin: 0;
}

/* Two-Column */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section,
    .section-intro,
    .section-benefits,
    .section-method,
    .section-context,
    .section-steps,
    .section-compliance,
    .section-local,
    .section-faq {
        padding: 2.5rem 0;
    }
    .section h2 {
        font-size: 1.625rem;
    }
    .hero-subtitle {
        font-size: 1.0625rem;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .stat-number {
        font-size: 1.625rem;
    }
}

/* CTA Buttons Wrapper */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.cta-buttons .btn {
    min-width: 180px;
}
@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Hero Content fallback (falls nicht im Brand-CSS) */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* FAQ (falls nicht im Brand-CSS als Section) */
.faq {
    margin-top: 2rem;
}
.faq > div,
.faq details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
}
.faq h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.0625rem;
    color: #0f172a;
}
.faq p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

/* --- CTA Section Button Fix --- */
/* btn-secondary in cta-section (dark/primary bg) must be legible: white border + white text */
.cta-section .btn-secondary,
.cta-section .btn-secondary:link,
.cta-section .btn-secondary:visited {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-section .btn-secondary:hover,
.cta-section .btn-secondary:focus {
    background: #ffffff;
    color: var(--primary, #f97316);
    border-color: #ffffff;
}
