/* Mobile Menu Styles */
.menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 700px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .navbar {
        position: relative;
    }
}

/* Responsive Kontakt Section */
.responsive-kontakt {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 6vw;
    gap: 2vw;
}
.kontakt-title h2 {
    color: white;
    font-size: 4rem;
    min-width: 220px;
    text-align: left;
    margin: 0;
}
.kontakt-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}
.kontakt-info a {
    font-size: 2rem;
    color: gray;
    text-decoration: none;
}
@media (max-width: 900px) {
    .responsive-kontakt {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }
    .kontakt-title h2 {
        font-size: 2.5rem;
        min-width: unset;
        text-align: left;
    }
    .kontakt-info {
        align-items: flex-start;
    }
    .kontakt-info a {
        font-size: 1.3rem;
    }
}
@media (max-width: 540px) {
    .kontakt-title h2 {
        font-size: 1.5rem;
    }
    .kontakt-info a {
        font-size: 1rem;
    }
}
/* Center only the Color Order title */
.color-order-title {
    color: #fff;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    padding-top: 5%;
    width: 100%;
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(.4, 0, .2, 1) forwards;
}

.fade-in-up.delay {
    animation-delay: 0.2s;
}

.bottom-left {
    top: auto !important;
    bottom: 120px;
    left: 8%;
}

.bottom-right {
    top: auto !important;
    bottom: 120px;
    right: 8%;
}

/* Apple-inspired modern style for software showcase */
body {
    margin: 0;
    font-family: 'SF Pro Display', Arial, Helvetica, sans-serif;
    color: #1d1d1f;
    min-height: 100vh;
    background-color: #000;
}

.video-background {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
    margin-bottom: 32px;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.12);
    padding-top: 100px;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    z-index: 1;
    opacity: 0.7;

}

.video-overlay-flex {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px 120px;
    pointer-events: none;
}

.overlay-left,
.overlay-right {
    max-width: 22%;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    color: #fff;
    padding: 24px 18px;
    pointer-events: auto;
}

.overlay-left {
    text-align: left;
}

.overlay-right {
    text-align: right;
}

.overlay-left h2,
.overlay-right h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.overlay-left p,
.overlay-right p {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: #e0e6ed;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8vw;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background-color 0.3s ease;
}

.navbar.menu-open {
    background: rgba(128, 128, 128, 0.95);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: #0071e3;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@media (max-width: 700px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: gray;
        padding: 20px;
        flex-direction: column;
        align-items: center;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transform-origin: top;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    .nav-links.active li {
        opacity: 0;
        animation: fadeInUp 0.3s ease-out forwards;
    }

    .nav-links.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .menu-icon {
        display: block;
    }
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-links a.active {
    font-weight: 700;
    background-color: rgba(0, 113, 227, 0.25);
    color: #000;
}

.nav-links a:hover {
    color: #0071e3;
    background-color: rgba(0, 113, 227, 0.15);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6vw 8vw 4vw 8vw;
    background: linear-gradient(120deg, #f5f5f7 60%, #e0e6ed 100%);
}

.hero-content {
    max-width: 500px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #555;
}

.cta-btn {
    display: inline-block;
    padding: 0.9em 2.2em;
    background: #0071e3;
    color: #fff;
    border-radius: 2em;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    background: #005bb5;
    box-shadow: 0 6px 24px rgba(0, 113, 227, 0.15);
}

@media (max-width: 900px) {
    .hero-content {
        align-items: center;
        text-align: center;
        margin: 20% auto 0;
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-btn {
        font-size: 1rem;
    }
}

@media (max-width: 540px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 0.8em 1.8em;
    }
}

.hero-img {
    width: 420px;
    max-width: 40vw;
    border-radius: 2em;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

.features {
    padding: 4vw 8vw 2vw 8vw;
    text-align: center;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* Modern Features Section */
.absolute-overlay {
    position: absolute;
    top: 180px;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    color: #fff;
    padding: 24px 18px;
    pointer-events: auto;
    max-width: 400px;
}

.overlay-left {
    left: 8%;
    text-align: center;
}

.overlay-right {
    right: 8%;
    text-align: center;
}

.overlay-left h2,
.overlay-right h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.overlay-left p,
.overlay-right p {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: #e0e6ed;
}


.feature-icon {
    margin: 0 auto 1.5rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.modern-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.modern-card p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.modern-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 40px 32px;
    text-align: center;
    width: 230px;
    height: 360px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.feature-card.modern-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card.modern-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.products {
    padding: 4vw 8vw 4vw 8vw;
    background: #000;
    text-align: center;
    color: #fff;
}

.products h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.product-list {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.product-card {
    background: #f5f5f7;
    border-radius: 1.5em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 2rem 1.5rem;
    max-width: 300px;
    flex: 1 1 240px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

.product-card img {
    width: 100%;
    border-radius: 1em;
    margin-bottom: 1.2rem;
    width: 75%;
    height: 75%;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.product-card p {
    color: #555;
    margin-bottom: 1.2rem;
}

.learn-more {
    color: #0071e3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.learn-more:hover {
    color: #005bb5;
}

footer {
    background-color: gray;
    color: #eee;
    padding: 3rem 0 2rem 0;
    font-size: 1.2rem;
    margin-top: 3rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}
.footer-section {
    margin-bottom: 2rem;
}
.footer-section h3 {
    color: #0071e3;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.footer-link {
    color: #eee;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #0071e3;
}
.footer-social {
    align-items: center;
    gap: 0.5rem;
    color: #eee;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: color 0.2s;
}
.footer-social:hover {
    color: #0071e3;
}
.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    color: #808080;
    font-size: 1rem;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section li {
    margin-bottom: 0.7rem;
}
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        min-width: 180px;
        width: 100%;
        text-align: center;
    }
}

/* Animation for reveal */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-img {
        max-width: 80vw;
        width: 100%;
    }

    .features-list,
    .product-list {
        gap: 2rem;
    }
}

@media (max-width: 820px) {
    .features-list {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 540px) {
    .features-list {
        flex-direction: column;
        align-items: center;
    }
}

footer {
    background-color: #161616;
    color: #808080;
}

.logo {
    font-family: 'Playfair Display', serif;
}



.heading-impressum{
    color: white;
}

.highlight{
    color: white;
}








        /* index.html specific styles */


        .hero-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            margin-left: 5vw;
            padding: 2rem 0rem;
            border-radius: 1rem;
            max-width: 500px;
        }

        .hero-content h1,
        .wie {
            color: #fff;
            margin: 0 0 1rem 0;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        }
        .wie{
            font-size: 1.5rem;;
        }

        .cta-btn {
            margin-top: 1rem;
        }

        .features {
            padding: 4vw 8vw 2vw 8vw;
            text-align: center;
            background: #000;
            /* Changed background to black */
        }

        .features h2 {
            font-size: 2.2rem;
            margin-bottom: 2rem;
            color: #fff;
            /* Heading white for contrast */
        }

        /* Modern Features Section */
        .modern-card,
        .feature-card {
            background: #161616 !important;
            /* Card background to #161616 */
            color: #fff;
            /* Default text color to white */
            border: none;
            box-shadow: 0 4px 24px rgba(0, 113, 227, 0.06);
            transition: box-shadow 0.2s, transform 0.2s;
            opacity: 0;
            transform: translateY(60px);
        }

        .modern-card h3,
        .feature-card h3 {
            color: #fff;
        }

        .modern-card,
        .feature-card {
            background: #161616 !important;
            /* Card background to #161616 */
            color: #fff;
            /* Default text color to white */
            border: none;
            box-shadow: 0 4px 24px rgba(0, 113, 227, 0.06);
            transition: box-shadow 0.2s, transform 0.2s;
            opacity: 1;
            transform: none;
        }

        @media (min-width: 1152px) {
            .small-text {
                font-size: 2rem;
                width: 55%;
            }
        }


        @media (max-width: 1152px) {
            .small-text {
                font-size: 1.5rem;
                width: 60%;
            }
        }

        @media (max-width: 710px) {
            .small-text {
                font-size: 1rem;
                width: 70%;
            }
        }

        @media (max-width: 900px) {
            .hero-content {
                align-items: center;
                text-align: center;
                margin-left: auto;
                margin-right: auto;
                padding: 2rem;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .wie {
                font-size: 1.3rem;
            }

            .cta-btn {
                font-size: 1rem;
            }
        }

        @media (max-width: 540px) {


            .hero-content {
                padding: 2rem 1rem;
            }

            .hero-content h1 {
                font-size: 2rem;
            }

            .wie {
                font-size: 1, 5rem;
            }

            .cta-btn {
                font-size: 0.9rem;
                padding: 0.8em 1.8em;
            }


        }









        /* funktion.html specific styles */

        html {
            width: 100%;
        }

        body {
            font-family: Arial, Helvetica, sans-serif;
            line-height: 1.5;
            background: #000;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 24px;
        }

        .hero {
            display: flex;
            gap: 24px;
            align-items: center;
            margin: 24px 0;
            background: #000;
            border-radius: 10px;
            padding: 32px 24px;
        }

        .hero .text {
            flex: 1
        }

        .hero h2 {
            color: #fff;
        }

        .hero p {
            color: #aaa;
        }

        .hero img {
            width: 360px;
            max-width: 40%;
            border-radius: 8px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        }

        @media (max-width:700px) {
            .hero {
                align-items: center;
            }

            .hero img {
                max-width: 100%
            }
        }

        .color-order {
            max-width: 80vw;
            max-height: 80vh;
            width: auto;
            height: auto;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
            align-items: flex-start;
            left: 5%;

        }

        .color-order-section {
            width: 100vw;
            min-height: 0;
            margin: 0;
            background: #000;
            position: relative;
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .color-order-container {
            display: flex;
            align-items: flex-start;
            gap: 40px;
            width: 100%;
            position: relative;
        }

        .color-order-inner-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
        }

        .color-order-flex-box {
            display: flex;
            align-items: flex-start;
            gap: 40px;
            position: relative;
        }

        .color-order-card-wrapper {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            position: relative;
        }

        .color-order-card {
            color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
            padding: 32px 24px;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            text-align: center;
        }

        .color-order-card .card {
            margin-left: auto;
            margin-right: auto;
            display: block;
        }

        @media (max-width: 1904px) {
            .color-order-flex-box {
                flex-direction: column;
                align-items: center;
            }

            .color-order {
                max-width: 100%;
                left: 0;
            }

            #verticalLine {
                display: none;
            }
        }

        h3 {
            text-align: center;
            font-size: 2.2rem;
            margin: 2rem 0 1.5rem 0;
            font-weight: 700;
            letter-spacing: 0.02em;
        }

        .card {

            justify-content: center;
            align-items: center;
            font-size: 2rem;
            color: #bdbdbd;
            font-weight: 600;
        }

.main-card{
    width: 80%;
}

        @media (max-width: 647px) {
            .card {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 1374px) {
            .container {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .video-background {
                width: 100%;
                max-width: 1000px;
                /* Or any desired max-width */
            }

            .absolute-overlay {
                position: static;
                width: 100%;
                text-align: center;
                margin-top: 20px;
                transform: none !important;
                bottom: auto;
                left: auto;
                right: auto;
            }
        }


        @media (min-width: 1152px) {
            .card {
                font-size: 2rem;

            }
        }


        @media (max-width: 1152px) {
            .card {
                font-size: 1.5rem;

            }
        }

        @media (max-width: 710px) {


            h3 {
                font-size: 1.5rem;
            }


            .card {
                font-size: 1rem;

            }
        }

        @media (max-width:700px) {
            .bottom-text {
                font-size: 0.7rem;
            }
        }

        @media (max-width:970px) {
            .bottom-text {
                font-size: 0.8rem;
            }
        }

        @media (min-width:970px) {
            .bottom-text {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 400px) {
            .card.main-card {
                font-size: 0.9rem;
                line-height: 1.4;
                padding: 15px;
                word-wrap: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
            }
            
            .card.main-card .highlight {
                display: inline;
            }
        }