/* ================================
   CSS COLOR VARIABLES
   ================================ */
   
  

/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', serif;
    background: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
}

/* ================================
   FONTS
   ================================ */
@font-face {
    font-family: 'Satoshi';
    src: url('/assets/fonts/Satoshi-Variable.woff2') format('woff2'),
         url('/assets/fonts/Satoshi-Variable.woff') format('woff');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

/* ================================
   GLOBAL STYLES
   ================================ */

/*CTA Button*/
.cta-button {
    background: var(--primary-purple);
    color: var(--text-white);
    border: none;
    padding: 13px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--primary-purple-shadow);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.header .cta-button {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px var(--primary-purple-shadow-hover);
    background: var(--primary-purple-hover);
}

/*CTA Button Secondary*/
.cta-button-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
    padding: 13px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;  /* Geändert von 24px zu 12px */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cta-button-secondary:hover {
    transform: scale(1.05);
}

/*h2*/
.h-label {
    color: var(--text-white);
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border-glass-label);
    border-radius: 25px;
    background: var(--bg-glass);
    backdrop-filter: blur(5px);
}

.h-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.h-title .italic {
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0;
}

.h-subtitle {
    color: var(--text-gray);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 0 20px;
}

/* Media Queries für zusätzliche Kontrolle */
@media (max-width: 768px) {
    .h-title {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
        margin-bottom: 0.8rem;
    }
    
    .h-subtitle {
        font-size: 1.1rem;
        max-width: 500px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .h-title {
        font-size: 2.2rem;
        letter-spacing: 0;
        margin-bottom: 0.6rem;
    }
    
    .h-subtitle {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 10px;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .h-title {
        font-size: 1.9rem;
    }
    
    .h-subtitle {
        font-size: 0.9rem;
    }
}

/* ================================
   HEADER / HERO
   ================================ */

.header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center, var(--bg-dark-navy) 0%, var(--bg-black) 70%);
    padding-top: 70px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}         

/* Main heading */
.main-heading {
    font-size: clamp(2.7rem, 8vw, 4.5rem);
    font-weight: 500;
    margin: 10px 0 15px;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-align: center;
    line-height: 1;
    letter-spacing: -2px;
}

.main-heading .italic {
    font-style: italic;
    color: inherit;
    font-weight: 300;
    letter-spacing: 0;
}

/* Subtitle */
.subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-gray-light);
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-align: center;
    font-weight: 400;
    line-height: 27px;
}

/* System requirement */
.system-req {
    font-size: 12px;
    color: var(--text-gray-darker);
    margin-top: 0px;
    animation: fadeInUp 1s ease-out 1.2s both;
    text-align: center;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (min-width: 1400px) {
    .header {
        padding: 0 40px;
    }
    
    .main-heading {
        font-size: 5rem;
        max-width: 900px;
        margin: 60px auto 30px;
    }
    
    .subtitle {
        font-size: 1.4rem;
        max-width: 700px;
        margin: 0 auto 50px;
    }
}

@media (max-width: 768px) {
    .nav-app {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header {
        padding: 20px;
        min-height: 75vh;
        margin-bottom: 10vh;
    }
    
    .main-heading {
        font-size: 3.4rem;
        margin: 40px 0 20px;
        letter-spacing: -1px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .notification {
        position: static;
        margin-bottom: 20px;
        font-size: 13px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 11px 22px;
        font-size: 15px;
    }

    .h-label {
        margin-bottom: 1rem;
        font-size: 9px;
    }
        
    .header-container .h-label {
        margin-bottom: -1rem;
        font-size: 9px;
    }
}

@media (max-width: 429px) {
    .main-heading {
        font-size: 2.5rem;
    }
}

/* ================================
   Testimonials Section
   ================================ */
.testimonials {
    padding: 80px 5rem;
    background: var(--bg-black);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/back1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.19;
    z-index: 0;
    pointer-events: none;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonials-header {
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 1.2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-glass-hover);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.stars {
    display: flex;
    justify-content: left;
    gap: 0.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.star {
    color: var(--text-white);
    font-size: 0.8rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--text-testimonial);
    position: relative;
    z-index: 1;
    text-align: left;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-avatar-start), var(--gradient-avatar-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0rem;
    text-align: left;
    font-weight: 400;
}

.author-info p {
    color: var(--text-gray-medium);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-title {
        font-size: 2.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 60px 1rem;
    }

    .testimonials-title {
        font-size: 2rem;
    }
}

/* ================================
   FAQ Section
   ================================ */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 40px;
    border-radius: 24px;
    background: var(--bg-overlay);
}

.faq-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/back2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.19;
    border-radius: 24px;
    z-index: -1;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.faq-item:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.animate:hover {
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    user-select: none;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
    opacity: var(--opacity-icon);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 32px 28px 32px;
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-faq);
    line-height: 1.6;
    font-size: 1rem;
}

/* Gestaffelte Animation Delays */
.faq-item.animate:nth-child(1) { transition-delay: 0.0s; }
.faq-item.animate:nth-child(2) { transition-delay: 0.04s; }
.faq-item.animate:nth-child(3) { transition-delay: 0.08s; }
.faq-item.animate:nth-child(4) { transition-delay: 0.12s; }
.faq-item.animate:nth-child(5) { transition-delay: 0.16s; }
.faq-item.animate:nth-child(6) { transition-delay: 0.2s; }
.faq-item.animate:nth-child(7) { transition-delay: 0.24s; }
.faq-item.animate:nth-child(8) { transition-delay: 0.28s; }
.faq-item.animate:nth-child(9) { transition-delay: 0.32s; }

@media (max-width: 768px) {
    .faq-container {
        padding: 30px 20px;
    }
    
    .faq-question {
        padding: 20px 24px;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 24px 20px 24px;
    }
}

/* ================================
   WORKFLOW SECTION
   ================================ */
.workflow-section {
    background: var(--bg-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/back1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.workflow-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.workflow-container .h-subtitle {
    margin-bottom: 30px;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .workflow-section {
        padding: 60px 20px;
        min-height: 80vh;
    }
}

@media (max-width: 480px) {
    .workflow-section {
        padding: 40px 15px;
    }
}

/* ================================
   VIDEO SECTION
   ================================ */
.video-section {
    background: var(--bg-black);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, var(--primary-purple-glow) 0%, transparent 70%);
    pointer-events: none;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.video-header {
    margin-bottom: 4rem;
}

/* Initial state - alles unsichtbar */
.video-header .h-label,
.video-header .h-title,
.video-header .h-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animierte Zustände mit unterschiedlichen Delays */
.video-header.animate .h-label {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.video-header.animate .h-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.video-header.animate .h-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.video-wrapper {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.6s; /* Video kommt nach den Texten */
}

.video-wrapper.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--bg-glass);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

/* Hover-Effekt für Video-Container */
.video-embed:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-section {
        padding: 80px 20px;
    }
    
    .video-header {
        margin-bottom: 2rem;
    }
    
    .video-embed {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .video-section {
        margin-bottom: 8vh;
    }
    .video-section {
        padding: 60px 15px;
    }
    
    .video-embed {
        border-radius: 12px;
    }
}

/*------------------------------------
  Comparison Section
------------------------------------*/
.compersion-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.comparison-box {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.comparison-table {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.table-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
}

.table-header {
    padding: 20px;
}

.header-item {
    font-weight: 600;
    font-size: 1.2rem;
}

.ms-header {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.comparison-row {
    padding: 15px;
    border-bottom: 1px solid var(--border-comparison);
    transition: background .3s ease;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: var(--bg-glass-stronger);
}

.feature {
    text-align: left;
    font-size: 1.1rem;
    color: var(--text-feature);
}

.check-mark,
.x-mark {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-white);
}

.x-mark { 
    opacity: var(--opacity-reduced); 
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/*------------------------------------
  Comparison Section - Responsive Updates
------------------------------------*/
@media (max-width: 768px) {
    .compersion-section {
        padding: 40px 15px;
        min-height: auto;
    }
    
    .comparison-box {
        max-width: 100%;
    }
    
    .comparison-table {
        border-radius: 12px;
        margin-bottom: 30px;
    }
    
    .table-header,
    .comparison-row {
        grid-template-columns: 2fr 1fr 1fr;
        padding: 12px 8px;
    }
    
    .header-item {
        font-size: 1rem;
    }
    
    .ms-header {
        padding: 8px 4px;
        gap: 5px;
    }
    
    .feature {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .check-mark,
    .x-mark {
        font-size: 1.1rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .compersion-section {
        padding: 30px 10px;
    }
    
    .table-header,
    .comparison-row {
        padding: 10px 6px;
    }
    
    .feature {
        font-size: 0.8rem;
    }
    
    .check-mark,
    .x-mark {
        font-size: 1rem;
    }
    
    .header-item {
        font-size: 0.9rem;
    }
}