/* ============================================
   GOTTES GEMEINDE LEIPZIG - Stylesheet
   Modular, skalierbar, wartbar
   ============================================ */

/* ---------- 1. VARIABLES & THEME ---------- */
:root {
    --primary: #0050c0;
    --primary-dark: #002d6e;
    --secondary: #d01040;
    --accent: #f5a623;
    --accent-hover: #d97706;
    
    --text-main: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --bg-alt: #f8fafc;
    
    --border: #e2e8f0;
    --border-hover: rgba(208, 16, 64, 0.15);
    
    /* Gradients */
    --gradient-banner: linear-gradient(135deg, #0050c0 0%, #d01040 100%);
    --gradient-banner-soft: linear-gradient(135deg, rgba(0, 80, 192, 0.06) 0%, rgba(208, 16, 64, 0.06) 100%);
    --gradient-blue: linear-gradient(135deg, #0050c0 0%, #002d6e 100%);
    --gradient-gold: linear-gradient(135deg, #f5a623 0%, #d01040 100%);
    
    /* Effects */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 10px -5px rgba(0, 80, 192, 0.1);
    --shadow: 0 10px 30px -10px rgba(0, 80, 192, 0.15);
    --shadow-hover: 0 20px 40px -15px rgba(208, 16, 64, 0.2);
    
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    
    --header-height: 80px;
}

/* Dark Mode */
[data-theme="dark"] {
    --text-main: #e2e8f0;
    --text-light: #94a3b8;
    --bg-light: #0f172a;
    --bg-white: #1e293b;
    --bg-alt: #172033;
    --border: #334155;
    --gradient-banner-soft: linear-gradient(135deg, rgba(0, 80, 192, 0.15) 0%, rgba(208, 16, 64, 0.15) 100%);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- 3. PRELOADER ---------- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-spinner {
    width: 50px; height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 4. HEADER / NAVIGATION ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-banner) 1;
    transition: var(--transition);
}

[data-theme="dark"] .site-header {
    background: rgba(30, 41, 59, 0.85);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.logo-img {
    height: 52px;
    transition: var(--transition);
}
.logo-wrapper:hover .logo-img { transform: scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title { font-weight: 800; font-size: 1.25rem; color: var(--primary-dark); }
[data-theme="dark"] .logo-title { color: #fff; }
.logo-subtitle {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}
.nav-links a:not(.btn-cta)::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--gradient-banner);
    transition: width 0.3s ease;
}
.nav-links a:not(.btn-cta):hover::after { width: 100%; }
.nav-links a:hover:not(.btn-cta) { color: var(--secondary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-main);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.theme-toggle:hover { background: var(--primary); color: #fff; }
[data-theme="dark"] .theme-toggle i::before { content: "\f185"; } /* sun icon */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.mobile-menu-toggle span {
    width: 24px; height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ---------- 5. BUTTONS ---------- */
.btn-cta {
    background: var(--gradient-banner);
    color: #fff !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(208, 16, 64, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(208, 16, 64, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 80, 192, 0.2);
}

.btn-white {
    background: #fff;
    color: var(--primary-dark) !important;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}
.btn-white:hover {
    transform: translateY(-2px);
    background: var(--accent);
    color: #fff !important;
}

/* ---------- 6. HERO ---------- */
.hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 60px;
    background: var(--gradient-banner-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}
[data-theme="dark"] .hero-content h1 { color: #fff; }
.hero-content h1 span {
    background: var(--gradient-banner);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero-content p {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.hero-banner-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    border: 3px solid transparent;
    border-image: var(--gradient-banner) 1;
    box-shadow: var(--shadow-hover);
    transition: var(--transition-slow);
}
.hero-banner-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 80, 192, 0.25);
}

/* ---------- 7. SECTIONS ---------- */
.section { padding: 100px 0; }
.section-bg { background-color: var(--bg-white); }
.section-alt { background-color: var(--bg-alt); }
.section-no-top-pad { padding-top: 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}
.section-header .tag {
    background: rgba(208, 16, 64, 0.1);
    color: var(--secondary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -1px;
}
[data-theme="dark"] .section-header h2 { color: #fff; }

/* ---------- 8. CARDS ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-alt);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .card { background: var(--bg-white); }

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient-banner);
    opacity: 0;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-8px);
    background: var(--bg-white);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}
.card:hover::before { opacity: 1; }

.card-icon {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: var(--gradient-banner);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 80, 192, 0.15);
}
.card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
[data-theme="dark"] .card h3 { color: #fff; }
.card p { color: var(--text-main); font-size: 0.95rem; }

/* ---------- 9. MEDIATHEK ---------- */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}
.media-column h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
}
[data-theme="dark"] .media-column h3 { color: #fff; }
.media-column h3 i { color: var(--secondary); }

.media-list { display: flex; flex-direction: column; gap: 1.5rem; }
.media-item {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.media-item:hover {
    transform: translateX(5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover);
}
.media-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    flex-wrap: wrap;
}
.media-meta span { display: flex; align-items: center; gap: 0.35rem; }
.media-item h4 { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); }
[data-theme="dark"] .media-item h4 { color: #fff; }
.media-item p { font-size: 0.95rem; color: var(--text-light); }
.media-btn {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    margin-top: 0.5rem;
}
.media-btn:hover { color: var(--secondary); gap: 0.75rem; }

/* ---------- 10. BANNER CARDS ---------- */
.banner-cards { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
.banner-card {
    padding: 3rem;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    box-shadow: var(--shadow-hover);
    color: #fff;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}
.banner-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 75%);
}
.banner-card--blue { background: var(--gradient-blue); }
.banner-card--gold { background: var(--gradient-gold); }
.banner-card--red { background: var(--gradient-banner); }
.banner-card__content { max-width: 700px; position: relative; z-index: 1; flex: 1; min-width: 280px; }
.banner-card__content h4 { font-size: 1.85rem; font-weight: 800; margin-bottom: 0.75rem; color: #fff; }
.banner-card__content p { color: rgba(255,255,255,0.9); font-size: 1.05rem; line-height: 1.6; }

.tag--light { background-color: rgba(255,255,255,0.2) !important; color: var(--accent) !important; margin-bottom: 0.5rem; }
.tag--blue { background: rgba(0, 80, 192, 0.1); color: var(--primary); }

/* ---------- 11. BIBLE CTA ---------- */
.bible-cta-section {
    background: var(--gradient-banner-soft);
    border-radius: var(--radius);
    padding: 4rem;
    border: 2px solid rgba(0, 80, 192, 0.15);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}
.bible-cta-content h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
[data-theme="dark"] .bible-cta-content h3 { color: #fff; }
.bible-cta-content p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.bible-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.bible-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
}
[data-theme="dark"] .bible-features li { color: #fff; }
.bible-features i { color: var(--secondary); }
.bible-cta-image { display: flex; justify-content: center; align-items: center; }
.bible-icon-box {
    width: 150px; height: 150px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--primary);
    box-shadow: var(--shadow);
    border: 4px solid var(--secondary);
    animation: pulse 2.5s infinite ease-in-out;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ---------- 12. STEPS (WEG ZU GOTT) ---------- */
.steps-section {
    background: var(--gradient-banner);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 5rem 4rem;
    box-shadow: 0 20px 40px rgba(208, 16, 64, 0.25);
    position: relative;
    overflow: hidden;
}
.steps-section::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.steps-header { max-width: 600px; position: relative; z-index: 1; }
.steps-header h3 { font-size: 2.25rem; font-weight: 800; margin-top: 0.5rem; color: #fff; }
.steps-header p { color: rgba(255,255,255,0.85); margin-top: 1rem; font-size: 1.05rem; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 2;
}
.step-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}
.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.18);
    border-color: var(--accent);
}
.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.step-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }
.step-card p { color: rgba(255,255,255,0.9); font-size: 0.9rem; }

/* ---------- 13. INFO & CONTACT ---------- */
.info-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.info-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
[data-theme="dark"] .info-content h2 { color: #fff; }
.info-content p { font-size: 1.15rem; margin-bottom: 2rem; }

.schedule-box {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--primary);
}
.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}
.schedule-item:last-child { border-bottom: none; padding-bottom: 0; }
.schedule-item:first-child { padding-top: 0; }
.schedule-item .day { font-weight: 700; color: var(--primary-dark); font-size: 1.05rem; }
[data-theme="dark"] .schedule-item .day { color: #fff; }
.schedule-item .time { color: var(--secondary); font-weight: 700; font-size: 1.05rem; }

.contact-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}
.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 6px;
    background: var(--gradient-banner);
    border-radius: 0 0 var(--radius) var(--radius);
}
.contact-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}
[data-theme="dark"] .contact-card h3 { color: #fff; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}
[data-theme="dark"] .form-group label { color: #fff; }
.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--bg-light);
    color: var(--text-main);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 80, 192, 0.15);
}
.btn-submit {
    width: 100%;
    background: var(--gradient-banner);
    color: #fff;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(208, 16, 64, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-submit:hover { filter: brightness(1.1); box-shadow: 0 6px 20px rgba(208, 16, 64, 0.35); }
.form-control.error { border-color: var(--secondary); }
.error-message { color: var(--secondary); font-size: 0.8rem; margin-top: 0.25rem; }

/* ---------- 14. FOOTER ---------- */
.site-footer {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-brand h4 { color: #fff; font-size: 1.4rem; margin-bottom: 1rem; font-weight: 800; }
.footer-brand h4 span { color: var(--accent); }
.footer-brand address { font-style: normal; margin-top: 1rem; line-height: 1.7; }
.footer-brand a { color: var(--accent); }
.footer-links h5 { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; font-weight: 700; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #94a3b8; transition: var(--transition); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}
.social-links a:hover { background: var(--accent); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ---------- 15. UTILITIES & ANIMATIONS ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gradient-banner);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 16. RESPONSIVE ---------- */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-white);
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow);
        border-top: 2px solid var(--border);
    }
    
    .bible-cta-section { grid-template-columns: 1fr; padding: 2rem; text-align: center; }
    .bible-features { align-items: center; }
    .info-split { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .section { padding: 60px 0; }
    .container { padding: 0 1.25rem; }
    .steps-section { padding: 3rem 2rem; }
    .banner-card { padding: 2rem; gap: 1.5rem; }
    .logo-img { height: 42px; }
    .logo-title { font-size: 1.05rem; }
    .logo-subtitle { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}