/* --- GLOBAL STYLES --- */
:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --primary: #FF5500;
    --primary-hover: #ff6a00;
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --border: #2A2A2A;
    --error-color: #ff3333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- TOAST NOTIFICATION --- */
.toast {
    visibility: hidden; min-width: 280px; background-color: #1a1a1a; color: #fff;
    text-align: center; border-radius: 50px; padding: 16px 24px; position: fixed; z-index: 3000;
    left: 50%; bottom: 30px; transform: translateX(-50%); border: 1px solid #333;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); font-size: 14px; font-weight: 600;
    opacity: 0; transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.toast.show { visibility: visible; opacity: 1; bottom: 50px; }

/* SHAKE ANIMATION */
.shake { animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both; border-color: var(--error-color) !important; box-shadow: 0 0 0 1px var(--error-color) !important; }
@keyframes shake { 10%, 90% { transform: translate3d(-1px, 0, 0); } 20%, 80% { transform: translate3d(2px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-4px, 0, 0); } 40%, 60% { transform: translate3d(4px, 0, 0); } }

/* --- VISUELLE TRENNER --- */
.section-divider {
    display: flex; align-items: center; justify-content: center; margin: 80px 0 40px 0; gap: 15px; opacity: 0.6;
}
.section-divider::before, .section-divider::after {
    content: ""; height: 1px; width: 100px; background: linear-gradient(90deg, transparent, #333, transparent);
}
.section-divider span {
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); font-weight: 700;
}

/* --- NAVIGATION & LOGO --- */
nav { padding: 25px 0; display: flex; justify-content: space-between; align-items: center; }
.logo-link { text-decoration: none; display: flex; align-items: center; }
.logo-svg { height: 38px; width: auto; display: block; }

/* --- HERO SECTION --- */
.hero { text-align: center; padding: 80px 20px 40px 20px; display: flex; flex-direction: column; align-items: center; min-height: 550px; }
h1 { font-size: clamp(36px, 7vw, 76px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.03em; min-height: 2.2em; }
.highlight { color: var(--primary); position: relative; }
.cursor { display: inline-block; background-color: var(--primary); width: 12px; height: clamp(36px, 7vw, 76px); vertical-align: sub; margin-left: 8px; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.subline { font-size: 18px; color: var(--text-muted); max-width: 720px; margin-bottom: 40px; font-weight: 500;}
.subline strong { color: #fff; font-weight: 600; }

/* --- FORMULARE --- */
.initial-form { display: flex; flex-direction: column; gap: 15px; width: 100%; max-width: 550px; scroll-margin-top: 100px; position: relative; }
#dynamic-hint { display: none; background: rgba(255, 85, 0, 0.15); color: var(--primary); font-size: 13px; font-weight: 700; padding: 10px 12px; border-radius: 6px; margin-bottom: 5px; text-align: center; border: 1px solid rgba(255, 85, 0, 0.3); animation: fadeIn 0.5s ease; line-height: 1.4; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.input-group { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; }
.initial-form input[type="email"] { flex: 2; min-width: 280px; }

input, select { padding: 18px 24px; border-radius: 8px; border: 1px solid var(--border); background-color: var(--card-bg); color: white; font-size: 16px; outline: none; transition: all 0.2s; font-family: 'Inter', sans-serif; width: 100%; }
input:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255, 85, 0, 0.2); }

button { padding: 18px 32px; border-radius: 8px; border: none; background-color: var(--primary); color: white; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s; min-width: 140px; flex: 1; }
button:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(255, 85, 0, 0.3); }

.dsgvo-check { display: flex; align-items: flex-start; gap: 12px; text-align: left; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.dsgvo-check input[type="checkbox"] { width: 20px; height: 20px; min-width: 20px; margin-top: 1px; accent-color: var(--primary); cursor: pointer; border-radius: 4px; }
.dsgvo-link { color: #fff; text-decoration: underline; transition: color 0.2s; cursor: pointer; }
.dsgvo-link:hover { color: var(--primary); }

/* --- TRUST BADGE --- */
.trust-container { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 16px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: #ccc; text-transform: uppercase; }
.trust-text { font-size: 13px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }
.trust-text span { color: #fff; font-weight: 900; font-size: 1.1em; vertical-align: middle; margin: 0 4px; }

/* --- SLIDER & SOCIAL PROOF --- */
.social-proof { padding: 40px 0; margin-bottom: 40px; overflow: hidden; position: relative; border-top: 1px solid #111; border-bottom: 1px solid #111; }
.social-proof-label { text-align: center; color: #444; font-size: 11px; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 30px; font-weight: 700; }
.slider { background: transparent; position: relative; width: 100%; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.slide-track { display: flex; width: calc(200px * 14); animation: scroll 30s linear infinite; }
.slider:hover .slide-track { animation-play-state: paused; }
.partner-logo { width: 200px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #444; font-size: 18px; text-decoration: none; transition: all 0.3s; white-space: nowrap; letter-spacing: -0.5px; }
.partner-logo:hover { color: #FFFFFF; transform: scale(1.05); text-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-150px * 7)); } }

/* --- FEATURES --- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.card { background-color: var(--card-bg); padding: 32px; border-radius: 16px; border: 1px solid var(--border); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px) scale(1.03); border-color: var(--primary); box-shadow: 0 20px 40px -10px rgba(255, 85, 0, 0.15); z-index: 2; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; width: 100%; }
.mail-badge { font-size: 10px; font-weight: 800; color: #000; background: #fff; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-right: 10px; }
.mail-badge.monthly { background: var(--primary); color: #fff; } 
.icon { font-size: 32px; background: rgba(255, 255, 255, 0.03); padding: 12px; border-radius: 12px; width: fit-content; border: 1px solid #222;}
.card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 700; letter-spacing: -0.5px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* --- SLIDER CONTENT --- */
.slider-container { background: linear-gradient(180deg, rgba(255,85,0,0.03) 0%, rgba(10,10,10,0) 100%); border-radius: 24px; padding: 60px; margin-bottom: 40px; border: 1px solid var(--border); position: relative; min-height: 550px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.slider-intro { text-align: center; max-width: 700px; margin: 0 auto 40px auto; z-index: 2; }
.slider-intro h2 { font-size: 24px; font-weight: 800; margin-bottom: 15px; color: #fff; }
.slider-intro p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.highlight-text { color: var(--primary); font-weight: 700; } 
.exclusive-badge { display: inline-block; color: var(--primary); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; margin-bottom: 8px; border: 1px solid rgba(255,85,0,0.3); padding: 4px 10px; border-radius: 20px; background: rgba(255,85,0,0.1); }
.archive-link { cursor: pointer; text-decoration: underline; color: #999; font-size: 13px; transition: color 0.2s; }
.archive-link:hover { color: #fff; }

/* PAUSE BUTTON (In der Fusszeile) */
.pause-btn { 
    background: transparent; border: none; color: var(--primary); 
    width: 32px; height: 32px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0; margin: 0; transition: transform 0.2s ease, opacity 0.2s;
    margin-left: auto; /* Schiebt Button nach rechts */
}
.pause-btn svg { width: 20px; height: 20px; display: block; filter: drop-shadow(0 0 5px rgba(255,85,0,0.4)); }
.pause-btn:hover { transform: scale(1.15); opacity: 0.9; }

.slide-wrapper { width: 100%; position: relative; height: 100%; display: flex; align-items: center; }
.progress-bar-container { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: rgba(255,255,255,0.1); }
.progress-bar-fill { height: 100%; background: var(--primary); width: 0%; }
.animate-progress { animation: loadProgress 15s linear forwards; }
.slider-container:hover .progress-bar-fill { animation-play-state: paused; }
@keyframes loadProgress { from { width: 0%; } to { width: 100%; } }

/* Standard Slide Style - Wichtig für Mobile Fix */
.slide { 
    display: none; 
    width: 100%; 
    align-items: center; 
    gap: 60px; 
    animation: fadeEffect 1s; 
}

.slide-content { flex: 1; }
.meta-tags { display: flex; gap: 10px; margin-bottom: 15px; }
.tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 8px; border-radius: 4px; }
.tag.issue { background: #222; color: #fff; border: 1px solid #333; }
.tag.topic { background: rgba(255, 255, 255, 0.1); color: #ccc; }
.slide-content h2 { font-size: 28px; font-weight: 800; margin-bottom: 15px; line-height: 1.2; letter-spacing: -1px; }
.slide-content p { font-size: 15px; color: var(--text-muted); margin-bottom: 25px; line-height: 1.7; text-align: justify; }
.learning-box { background: rgba(255, 255, 255, 0.05); border-left: 3px solid var(--primary); padding: 15px; font-size: 14px; color: #ddd; margin-bottom: 20px; border-radius: 0 8px 8px 0; }
.learning-box strong { color: var(--primary); display: block; margin-bottom: 4px; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
.story-cta-btn { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; border-bottom: 2px solid var(--primary); padding-bottom: 2px; transition: all 0.2s; cursor: pointer; }
.story-cta-btn:hover { color: var(--primary); }
.story-stats { display: flex; gap: 20px; font-size: 13px; color: #666; font-weight: 500; border-top: 1px solid #222; padding-top: 20px; margin-top: 20px; align-items: center; }
.story-stats span { display: flex; align-items: center; gap: 6px; }

/* BILDER: Stabil & Sichtbar */
.slide-visual { 
    flex: 1; background: var(--card-bg); aspect-ratio: 4/5; max-height: 400px; 
    border-radius: 12px; border: 1px solid var(--border); display: flex; 
    align-items: center; justify-content: center; position: relative; 
    overflow: hidden; box-shadow: 0 0 50px rgba(0,0,0,0.5); 
}
.slide-visual img { 
    width: 100%; height: 100%; object-fit: cover; 
}
.photo-credit { position: absolute; bottom: 8px; right: 8px; font-size: 10px; color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.6); padding: 3px 8px; border-radius: 4px; text-decoration: none; z-index: 5; transition: all 0.2s; }
.photo-credit:hover { color: #fff; background: rgba(0,0,0,0.8); }

@keyframes fadeEffect { from {opacity: 0;} to {opacity: 1;} }

/* --- FAQ --- */
.faq-section { max-width: 800px; margin: 0 auto 40px auto; padding: 0 20px; }
.faq-intro { text-align: center; margin-bottom: 40px; }
.faq-intro h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.faq-intro p { color: var(--text-muted); font-size: 16px; }
.faq-item { border-bottom: 1px solid #2A2A2A; }
.faq-question { width: 100%; text-align: left; padding: 20px 0; background: none; border: none; color: white; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; transition: color 0.2s; font-family: 'Inter', sans-serif;}
.faq-question:hover { color: var(--primary); }
.faq-toggle { font-size: 20px; font-weight: 400; color: var(--text-muted); transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; color: var(--text-muted); line-height: 1.6; font-size: 15px; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 25px; }
.faq-item.active .faq-toggle { transform: rotate(45deg); color: var(--primary); }

/* FOOTER */
footer { text-align: center; padding: 60px 0; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; margin-top: 40px; }
.footer-links { margin-bottom: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; cursor: pointer; }
footer a:hover { color: #fff; }
.legal-box { max-width: 900px; margin: 0 auto 40px auto; text-align: center; font-size: 12px; line-height: 1.6; color: #777; }
.legal-box strong { color: #999; display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; margin-top: 15px;}
.legal-box p { margin-bottom: 10px; }

/* MODAL STYLES */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); z-index: 1000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; padding: 20px; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-card { background: #0A0A0A; width: 100%; max-width: 500px; padding: 40px; border-radius: 24px; border: 1px solid #333; text-align: center; position: relative; max-height: 90vh; overflow-y: auto; }

.close-modal-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #666; font-size: 24px; cursor: pointer; }
.close-modal-btn:hover { color: #fff; }

.data-entry-form { display: flex; flex-direction: column; gap: 15px; text-align: left; }
.data-entry-form label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; margin-bottom: 5px; display: block; }
.btn-secondary { background: transparent; border: 1px solid #333; color: var(--text-muted); margin-top: 10px; width: 100%; padding: 12px; border-radius: 8px; cursor: pointer; }

.privacy-content, .support-content { text-align: left; color: #ccc; font-size: 14px; line-height: 1.6; }
.privacy-content h3, .support-content h3 { color: #fff; margin-top: 20px; margin-bottom: 10px; font-size: 16px; }
.support-content ul { margin: 15px 0; padding-left: 20px; }
.support-content li { margin-bottom: 8px; }

/* DYNAMIC MODAL BODY EXTRA STYLES */
#dynamic-body { text-align: left; max-height: 60vh; overflow-y: auto; padding-right: 10px; }
#dynamic-body h2 { color: #fff; margin-bottom: 20px; font-size: 24px; }
#dynamic-body p { color: #ccc; margin-bottom: 15px; line-height: 1.6; }

/* STICKY MOBILE CTA */
#sticky-cta { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--primary); color: white; font-weight: 700; padding: 14px 30px; border-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 100; cursor: pointer; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); white-space: nowrap; font-size: 14px; display: none; }

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    h1 { font-size: 36px; min-height: auto; }
    .cursor { height: 36px; }
    .features { grid-template-columns: 1fr; }
    
    /* Mobile Layout: 1 Artikel pro Slide, untereinander */
    .slide { 
        flex-direction: column;
        gap: 20px; 
        text-align: left;
    }

    /* Bild nach oben schieben */
    .slide-visual {
        order: -1; 
        width: 100%; 
        aspect-ratio: 16/9; 
        max-height: 300px;
        margin-bottom: 10px;
        object-fit: cover;
    }

    /* Text Block */
    .slide-content { width: 100%; }

    .slider-container { padding: 30px 20px; padding-top: 40px; }
    .partner-logo { font-size: 16px; width: 150px; }
    .slide-track { width: calc(150px * 14); }
    @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-150px * 7)); } }
    #sticky-cta { display: block; }
    #sticky-cta.visible { transform: translateX(-50%) translateY(0); }
    .section-divider { margin: 60px 0 30px 0; }
}