/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Child Theme für Hello Elementor mit Content-Gate Funktion
Author: Daniel
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ===========================================
   TEXT CONTENT GATE - Original Design bleibt!
   =========================================== */

.content-gated-wrapper {
    position: relative;
}

.content-gated-inner {
    max-height: 1200px;      /* Höhe des sichtbaren Bereichs - anpassbar! */
    overflow: hidden;
    position: relative;
}

.content-gate {
    position: relative;
    margin-top: -150px;      /* Überlappt den Content für smooth fade */
    padding-top: 150px;
    background: transparent;
}

.gate-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
}

.gate-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto 80px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gate-box h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #212529;
}

.gate-box > p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 16px;
}

.gate-btn {
    display: inline-block;
    background: #f07a85;
    color: #ffffff !important;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}

.gate-btn:hover {
    background: #f07a85;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.4);
}

.gate-login {
    font-size: 14px;
    color: #6c757d;
    margin-top: 15px;
    margin-bottom: 0;
}

.gate-login a {
    color: #0073aa;
    text-decoration: underline;
}

.gate-login a:hover {
    color: #005a87;
}

/* ===========================================
   VIDEO GATE STYLING
   =========================================== */

.video-gate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.video-gate-overlay.active {
    display: flex;
}

.video-gate-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
}

.video-gate-box {
    position: relative;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-gate-box h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #212529;
}

.video-gate-box > p {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 16px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 600px) {
    .content-gated-inner {
        max-height: 600px;
    }
    
    .gate-box,
    .video-gate-box {
        padding: 30px 20px;
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .gate-box h3,
    .video-gate-box h3 {
        font-size: 20px;
    }
    
    .gate-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}
