/* Demo Seite spezifische Styles */

/* Demo Hero */
.demo-hero {
    background: linear-gradient(135deg, var(--second-color) 0%, var(--second-color-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.demo-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.demo-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.demo-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Interactive Demo Section */
.interactive-demo {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.demo-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Demo Sidebar */
.demo-sidebar {
    background: var(--second-color-dark);
    padding: 2rem;
    color: var(--white);
}

.demo-sidebar h3 {
    margin-bottom: 1.5rem;
    color: var(--main-color);
}

.demo-scenarios {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.scenario-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    font-size: 1rem;
}

.scenario-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.scenario-btn.active {
    background: var(--main-color);
    color: var(--white);
}

.scenario-btn i {
    font-size: 1.2rem;
}

/* Demo Credentials */
.demo-credentials {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.demo-credentials h4 {
    color: var(--main-color);
    margin-bottom: 1rem;
}

.demo-credentials p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.demo-credentials .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

/* Demo Content */
.demo-content {
    padding: 2rem;
}

.demo-frame {
    background: var(--light-grey);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.browser-bar {
    background: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--grey);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--grey);
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }

.browser-url {
    flex: 1;
    background: var(--light-grey);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.browser-url i {
    color: var(--main-color);
}

.demo-screen {
    position: relative;
    background: var(--white);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-screen img {
    width: 100%;
    height: auto;
}

.demo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.scenario-description {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-grey);
    border-radius: 10px;
}

.scenario-description h3 {
    color: var(--second-color-dark);
    margin-bottom: 1rem;
}

.scenario-description ol {
    margin-left: 1.5rem;
    color: #666;
}

.scenario-description li {
    margin-bottom: 0.5rem;
}

/* Video Tour Section */
.video-tour {
    padding: 80px 0;
    background-color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.video-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.main-video {
    background: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-video h3 {
    color: var(--second-color-dark);
    margin-bottom: 0.5rem;
}

.video-list h3 {
    color: var(--second-color-dark);
    margin-bottom: 1.5rem;
}

.video-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-grey);
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
}

.video-thumbnail {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.video-info h4 {
    color: var(--second-color-dark);
    margin-bottom: 0.25rem;
}

.video-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Screenshots Gallery */
.screenshots {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 2px solid transparent;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: var(--font-color-dark);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-dark) 100%);
    color: var(--white);
    border-color: var(--main-color);
}

.screenshot-content {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.screenshot-panel {
    display: none;
}

.screenshot-panel.active {
    display: block;
}

.screenshot-panel img {
    width: 100%;
    height: auto;
}

.screenshot-info {
    padding: 2rem;
}

.screenshot-info h3 {
    color: var(--second-color-dark);
    margin-bottom: 1rem;
}

/* Demo Request Form */
.demo-request {
    padding: 80px 0;
    background-color: var(--white);
}

.demo-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-benefits {
    background: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.demo-benefits h3 {
    color: var(--second-color-dark);
    margin-bottom: 1.5rem;
}

.demo-benefits ul {
    list-style: none;
}

.demo-benefits li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
}

.demo-benefits i {
    color: var(--main-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

/* Form Styles */
.demo-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--second-color-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--grey);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--main-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.checkbox-label a {
    color: var(--main-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .demo-wrapper {
        grid-template-columns: 1fr;
    }
    
    .demo-sidebar {
        padding: 1.5rem;
    }
    
    .demo-scenarios {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .scenario-btn {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .demo-hero h1 {
        font-size: 2rem;
    }
    
    .demo-options {
        flex-direction: column;
        align-items: center;
    }
    
    .video-gallery {
        grid-template-columns: 1fr;
    }
    
    .screenshot-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .demo-form-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .scenario-btn {
        flex: 1 1 100%;
    }
}