/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background mit Pattern */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    z-index: -2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/Background-TB-funnel.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 20px;
    padding: 20px;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    max-width: 800px;
    width: 100%;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* BO-T4H-Change 20250120-000000 - Rahmen entfernen wenn in iframe eingebettet */
body.embedded .glass-card {
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Footer ausblenden (falls vorhanden) - Logo bleibt sichtbar im Modal */
body.embedded footer,
body.embedded .footer {
    display: none;
}

/* Background anpassen - transparent für nahtlose Integration */
body.embedded .background {
    background: transparent;
}

body.embedded .background-image,
body.embedded .background-pattern {
    display: none;
}

/* Container-Padding reduzieren für kompaktere Darstellung */
body.embedded .container {
    padding: 0;
}

body.embedded .glass-card {
    padding: 32px 24px;
    border-radius: 0;
}
/* EO-T4H-Change 20250120-000000 */

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Title */
.title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* Subtitle */
.subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Service Items */
.service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.service-item:active {
    transform: translateY(0);
}

/* Custom Checkbox */
.service-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.service-checkbox:checked + .checkbox-custom {
    background: #007AFF;
    border-color: #007AFF;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.service-checkbox:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.service-text {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    user-select: none;
}

/* CTA Button */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    background: #007AFF;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
}

.cta-button:not(:disabled):hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.cta-button:not(:disabled):active {
    transform: translateY(0);
}

.arrow-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:not(:disabled):hover .arrow-icon {
    transform: translateX(4px);
}

/* Mobile-only Helferklasse */
.mobile-only {
    display: none;
    margin-top: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .glass-card {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
        max-width: 300px;
    }
    
    .service-column {
        gap: 16px;
    }
    
    .service-item {
        padding: 14px;
    }
    
    .service-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 24px 20px;
    }
    
    .title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .service-item {
        padding: 12px;
    }
    
    .service-text {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Animation für Page Load */
.glass-card {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Items Animation */
.service-item {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus States für Accessibility */
.service-checkbox:focus + .checkbox-custom {
    outline: 2px solid #007AFF;
    outline-offset: 2px;
}

.cta-button:focus {
    outline: 2px solid #007AFF;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .glass-card {
        background: rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .service-item {
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .checkbox-custom {
        border-color: rgba(255, 255, 255, 0.6);
    }
}

/* Language Selection Styles */
.language-selection {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 40px 0;
}

.language-selection-top {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.language-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    border-radius: 16px;
    border: 2px solid transparent;
}

.language-option:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 122, 255, 0.3);
}

.language-option.selected {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
}

.flag-container {
    margin-bottom: 12px;
}

.flag {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.language-selection-top .flag {
    width: 40px;
    height: 28px;
}

.language-selection-top .language-text {
    font-size: 14px;
}

.flag-german {
    background: linear-gradient(to bottom, #000000 33%, #DD0000 33%, #DD0000 66%, #FFCE00 66%);
}

.flag-english {
    background: linear-gradient(45deg, #012169 25%, transparent 25%), 
                linear-gradient(-45deg, #012169 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #012169 75%), 
                linear-gradient(-45deg, transparent 75%, #012169 75%),
                linear-gradient(to right, #C8102E, #C8102E);
    background-size: 30px 30px, 30px 30px, 30px 30px, 30px 30px, 100% 100%;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px, 0 0;
}

.flag-french {
    background: linear-gradient(90deg, #002395 0%, #002395 33%, #FFFFFF 33%, #FFFFFF 66%, #ED2939 66%, #ED2939 100%);
}

.language-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.progress-step:hover .step-circle {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.3);
}

.progress-step.clickable .step-circle {
    cursor: pointer;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.step-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    text-align: center;
}

.progress-step.completed .step-circle {
    background: #22C55E; /* green center */
    color: #ffffff;
    border-color: #007AFF; /* blue ring */
}

.progress-step.active .step-circle {
    background: #007AFF;
    color: #ffffff;
    border-color: #007AFF;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.2);
}

.progress-line {
    width: 40px;
    height: 2px;
    background: #007AFF; /* blue connectors */
    margin: 0 4px;
}

.progress-step.completed + .progress-line {
    background: #007AFF; /* stay blue */
}

/* Product Selection Styles */
.product-selection {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px 15px;
    border-radius: 20px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    min-width: 160px;
    flex: 1;
}

.product-option:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.product-option.selected {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.2);
}

.product-image {
    margin-bottom: 20px;
}

.product-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.product-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

/* Consultation Selection Styles */
.consultation-selection {
    margin: 40px 0;
}

.selection-title {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    text-align: center;
}

.consultation-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px 15px;
    border-radius: 20px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    min-width: 160px;
    flex: 1;
}

.consultation-option:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.consultation-option.selected {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.2);
}

.consultation-icon {
    margin-bottom: 16px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 16px;
    border: 2px solid rgba(0, 122, 255, 0.3);
}

.consultation-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

/* Time Selection Styles */
.time-selection {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.time-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px 15px;
    border-radius: 20px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    min-width: 160px;
    flex: 1;
}

.time-option:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.time-option.selected {
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.2);
}

.time-icon {
    margin-bottom: 16px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(0, 122, 255, 0.3);
}

.time-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

/* Back Button */
.navigation-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 0;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 0 auto;
}

.back-button:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateX(-2px);
}

.navigation-buttons .cta-button {
    flex: 1;
    margin: 0;
}

/* Asset Images */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    height: 60px;
    width: auto;
}

.flag-image {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    object-fit: cover;
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.consultation-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.time-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Services Title */
.services-title {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    text-align: center;
}

/* Additional Services Section */
.additional-services {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .language-selection {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-selection {
        flex-direction: column;
        gap: 20px;
        max-width: 300px;
    }
    
    .consultation-options {
        flex-direction: column;
        gap: 20px;
        max-width: 300px;
    }
    
    .time-selection {
        flex-direction: column;
        gap: 20px;
        max-width: 300px;
    }
    
    .progress-indicator {
        gap: 4px;
    }
    
    .progress-line {
        width: 20px;
    }
    
    .additional-services {
        padding: 20px;
        margin-top: 20px;
    }
    /* Zusätzlicher Weiter-Button auf Mobile sichtbar */
    .mobile-only {
        display: flex;
    }
}
