/*
Theme Name: Astra Child für Steuerberater (V2 Enhanced)
Template: astra
Version: 2.0.0
Description: Enhanced Child Theme für Steuerberater Christian Müller - with design improvements
Author: Claude Code
*/

/* ====================================================
   TYPOGRAPHY - Serif Headlines for Trust & Authority
   ==================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Colors */
    --primary-dark: #0a1929;
    --primary-mid: #0d3b66;
    --primary-light: #1a5490;
    --accent-blue: #60a5fa;
    --accent-cyan: #06b6d4;
    --accent-gold: #f59e0b;
    --success-green: #4ade80;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-secondary: #cbd5e1;
    
    /* Typography */
    --font-headline: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --card-padding: 2rem 2rem 2.5rem;
}

/* Base Typography */
body {
    font-family: var(--font-body);
}

/* Serif Headlines - Conveys Trust & Tradition */
h1, h2, h3 {
    font-family: var(--font-headline);
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 700;
}

h2, h3 {
    font-weight: 600;
}

/* ====================================================
   TRUST SIGNALS BAR - New Section
   ==================================================== */
.trust-signals-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.trust-signal img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.8);
}

.trust-signal-icon {
    font-size: 1.5rem;
}

.trust-signal-text {
    font-weight: 500;
}

.trust-signal-text span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 400;
}

/* ====================================================
   IMPROVED CARD STYLING
   ==================================================== */
.benefit-card,
.benefits-grid .wp-block-column {
    padding: var(--card-padding) !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.benefit-card:hover,
.benefits-grid .wp-block-column:hover {
    background: rgba(255,255,255,0.07) !important;
    border-color: rgba(96, 165, 250, 0.25) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35) !important;
}

/* Card Content Spacing */
.benefit-card h3,
.benefits-grid h3 {
    margin-bottom: 1rem !important;
    color: #fff !important;
    font-size: 1.25rem !important;
}

.benefit-card p,
.benefits-grid p {
    color: var(--text-muted) !important;
    line-height: 1.7 !important;
}

.benefit-card ul,
.benefits-grid ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 1rem !important;
}

.benefit-card li,
.benefits-grid li {
    padding: 0.6rem 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    color: var(--text-muted) !important;
    position: relative;
    padding-left: 1.5rem !important;
}

.benefit-card li::before,
.benefits-grid li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.benefit-card li:last-child,
.benefits-grid li:last-child {
    border-bottom: none !important;
}

/* ====================================================
   ENHANCED FOOTER
   ==================================================== */
.site-footer {
    background: #050d17 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-section h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-section p,
.footer-section li,
.footer-section a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

/* Footer Contact Info */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact-icon {
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: var(--text-muted);
}

.footer-legal-links a:hover {
    color: var(--accent-blue);
}

/* Certification Badge in Footer */
.footer-certification {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-certification-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ====================================================
   BUTTON REFINEMENTS
   ==================================================== */
.wp-block-button__link {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    padding: 1rem 2rem !important;
}

/* Primary CTA - More prominent */
.cta-button .wp-block-button__link {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%) !important;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35) !important;
    font-size: 1.05rem !important;
}

.cta-button .wp-block-button__link:hover {
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* ====================================================
   SECTION SPACING IMPROVEMENTS
   ==================================================== */
.wp-block-group.alignfull {
    padding-top: var(--section-padding) !important;
    padding-bottom: var(--section-padding) !important;
}

.page-hero {
    padding-top: 140px !important;
    padding-bottom: 60px !important;
}

.hero-section-blue .wp-block-group {
    padding-top: 130px !important;
    padding-bottom: 80px !important;
}

/* Reduced spacer heights */
.wp-block-spacer {
    height: 24px !important;
}

/* Section heading spacing */
h2.gradient-headline {
    margin-bottom: 50px !important;
}

/* Benefits grid gap */
.benefits-grid {
    gap: 1.75rem !important;
}

/* ====================================================
   ACCESSIBILITY IMPROVEMENTS
   ==================================================== */

/* Better focus states */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Ensure gradient text has fallback */
.gradient-headline {
    color: #fff; /* Fallback */
}

/* Improve contrast for muted text */
.hero-section-blue p:not(.availability-badge) {
    color: var(--text-secondary) !important;
    font-size: 1.15rem !important;
}

/* ====================================================
   MOBILE REFINEMENTS
   ==================================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }
    
    .trust-signals-bar {
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .trust-signal {
        font-size: 0.85rem;
    }
    
    .benefit-card,
    .benefits-grid .wp-block-column {
        padding: 1.5rem !important;
    }
    
    /* Make phone number prominent on mobile */
    .mobile-cta-phone {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: var(--accent-cyan);
        color: #fff;
        padding: 16px;
        border-radius: 50%;
        box-shadow: 0 4px 20px rgba(6, 182, 212, 0.5);
        z-index: 999;
        font-size: 1.5rem;
    }
}

/* ====================================================
   PRINT STYLES
   ==================================================== */
@media print {
    .hero-section-blue,
    .site-header,
    .site-footer {
        background: #fff !important;
        color: #000 !important;
    }
    
    .gradient-headline {
        background: none !important;
        -webkit-text-fill-color: #000 !important;
    }
}
