:root {
    --primary-color: #938cff;
    --background-color: #0a0a0f;
    --card-background: rgb(61, 61, 61);
    --text-color: #ffffff;
    --text-secondary: #dadada;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(90deg, #313131, #212121);
    color: #343a40;
    /*background-color: var(--background-color);*/
    /*color: var(--text-color);*/
    line-height: 1.6;
    overflow-x: hidden;
}
h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    /*background: #fff;*/
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}
p, ul {
    margin-bottom: 1em;
}
ul {
    list-style: none;
    padding: 0;
}
.menu-button {
    background: none;
    border: none;
    cursor: pointer;
}

#menu-icon {
    width: 28px;
    height: 40px;
    transition: all 0.3s ease-in-out;
}

.line1, .line2, .line3 {
    transition: all 0.3s ease-in-out;
}

.menu-open .line1 {
    opacity: 0;
}

.menu-open .line2 {
    transform: translateY(11px) translateX(26px) rotate(90deg);

}

.menu-open .line3 {
    transform: rotate(0) translate(-7px, -2px); /* Geringere Bewegung und Rotation */
}

.nav-active {
    transform: translateX(0%);
}

.respo {
    display: flex;
    justify-content: center;
    align-items: center;
}
.blurr {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.9px);
    -webkit-backdrop-filter: blur(8.9px);
    border-radius: 20px;
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
}
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
#fluid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgb(49, 49, 49);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo-2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    transition: all .2s ease;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}
.hidden {
    opacity: 0;
    visibility: hidden;
    /*transform: translateY(20px); !* Optional: Slight offset for animation effect *!*/
    transition: opacity 0.5s, transform 0.5s; /* Smooth transition when shown */
}
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}
#hero {
    position: relative;
    width: 100%;
    height: 100%;
}
#webgl-canvas {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /*overflow: hidden;*/
    z-index: -1; /* Hinter den Inhalten */
}
.hero-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
#hero {
    min-height: 64vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.hero {
    position: relative;
    height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*overflow: hidden;*/
    flex-direction: column;
    text-align: center;
    padding: 20px;
}
/*.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../assets/elegant-automated-dentist-office.jpg") no-repeat center center fixed;
    background-size: cover;
    !*filter: blur(5px); !* Nur der Hintergrund wird unscharf *!*!
    z-index: -1;
}*/
.hero-background {
    position: fixed; /* Video bleibt beim Scrollen fixiert */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    box-shadow: rgb(50, 0, 231) 8px 22px 70px 4px;
}

.hero-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(243, 243, 243, 0.18);*/
    /*backdrop-filter: blur(5px);*/
}
/* Text im Vordergrund */
.hero-content {
    position: relative;
    z-index: 10; /* Text bleibt scharf und sichtbar */
    color: white;
    text-align: center;
}

.title {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-content p {
    color: white;
    font-size: 1.2rem;
    margin-top: 0;
}
.funnel-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    background: rgba(28, 28, 28, 0.68);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.9px);
    -webkit-backdrop-filter: blur(8.9px);
    border-radius: 20px;
    margin: 2rem 0rem 2rem 0rem;
}
.funnel-hero-content p {
    padding-bottom: 2rem;
    color: white;
}
.funnel-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}
.funnel-hero p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 2rem;
}
.cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}
#animated-word span {
    background: linear-gradient(to right, #9972ff, #d579ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Optional: Für nicht-Webkit Browser */
    background-clip: text;
    color: transparent;
}

/* Stilierung der Liste der auswählbaren Wörter */
.candidate-list {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 20px 0;
    padding: 0;
}
.candidate-list li {
    background: #007BFF;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.candidate-list li:hover {
    background: #0056b3;
}

.bgr-blue-gradient {
    background: linear-gradient(to right, #e1e8f3 0%, #fff 100%);
}
.bgr-dark-gradient {
    background: linear-gradient(to right, #3f3f3f 0%, #1e1e1e 100%);
}
.ce {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.primary-cta {
    background: #007bff;
    color: white;
    font-weight: bold;
}

.primary-cta:hover {
    /*background: #0056b3;*/
    background: linear-gradient(135deg, #e81cff, #40c9ff);
    /*border-color: #fff;*/
    color: white;
    border: 1px solid #e1e1e1;
    border-radius: 6px;

}

.secondary-cta {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: bold;
}

.secondary-cta:hover {
    background: white;
    color: #007bff;
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 1rem;
}

.trust-icons img {
    width: 50px;
    height: 50px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.trust-icons img:hover {
    opacity: 1;
}

canvas {
    display: inline-block; /* Falls du `block` nicht möchtest */
    width: 100vw; /* Verhindert Standard-Scalierung */
    height: auto;
}

main {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}
.buttons {
    position: fixed;
    left: 4vw;
    bottom: 4vh;
    width: 100%;
    display: flex;
    /*justify-content: center;*/
    /*align-items: center;*/
    gap: 15px;
    z-index: 100;
    pointer-events: auto; /* Stelle sicher, dass Klicks erkannt werden */
}
.button-333 {
    --hover-shadows: 16px 16px 33px #121212, -16px -16px 33px #303030;
    --accent: fuchsia;
    font-weight: bold;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 1.1em;
    background-color: #212121;
    cursor: pointer;
    color: white;
    padding: 1em 2em;
    transition: box-shadow ease-in-out 0.1s, background-color ease-in-out 0.1s,
    letter-spacing ease-in-out 0.2s, transform ease-in-out 0.1s;
    box-shadow: 6px 6px 8px #1c1c1c, -6px -6px 8px #262626;
}

.button-333:hover {
    box-shadow: var(--hover-shadows);
}

.button-333:active {
    color: #fcf6ff;
    box-shadow: var(--hover-shadows), var(--accent) 0px 0px 30px 5px;
    background-color: var(--accent);
    transform: scale(0.95);
}
section {
    padding: 0rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), #8b84ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 200;
}

.card-container {
    margin: 4rem 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.chart-container {
    background: linear-gradient(90deg, #1d002c, #00280a);
    width: 800px;
    text-align: center;
    position: relative;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.title-subline {
    color: #646464;
}
/*------------------------------------------------------------------------------------------------------------*/
.feature-card p {
    font-size: 1rem;
    color: #ede9ff;
}
.feature-card {
    /*background: #ffffff;*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    padding: 20px;
    margin-bottom: 2rem;
    /*text-align: center;*/
}
.chart {
    position: relative;
    /*background: rgba(0, 0, 0, 0); !* Transparent *!*/
    padding: 20px;
    border-radius: 20px; /* Optional für abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional für Tiefeneffekt */
}

.chart-svg {
    /*padding: 1rem;*/
    width: 100%;
    height: auto;
    background: transparent; /* Sicherstellen, dass das SVG selbst keinen Hintergrund hat */
    overflow: visible;
}


.background {
    background: var(--card-background);
    stroke: none;
}

.axis {
    stroke: #ffffff;
    stroke-width: 2;
}

.label {
    font-size: 32px;
    fill: #ffffff;
}

.line {
    fill: none;
    stroke-width: 3;
}

.ai-line {
    stroke: #80ff80; /* Grün für KI-Dienstleistungen */
    stroke-dasharray: 5, 5; /* Gestrichelte Linie */
}

.marketing-line {
    stroke: #ff6666; /* Rot für klassische Dienstleistungen */
}

.ai-label {
    fill: #80ff80;
    font-weight: bold;
}

.marketing-label {
    fill: #ff6666;
    font-weight: bold;
}
.feature-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    overflow: hidden;
}
.card-content {
    width: 100%;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(108, 99, 255, 0.2), 
        transparent);
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 3s ease infinite;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(108, 99, 255, 0.1),
        transparent);
    border-radius: 20px;
    z-index: -1;
    animation: contentGlow 2s ease-in-out infinite;
}

.psychometric-card::before {
    background: linear-gradient(90deg, 
        transparent,
    rgba(101, 0, 255, 0.2),
        transparent);
}

.ai-card::before {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 255, 192, 0.2), 
        transparent);
}

.data-card::before {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 99, 132, 0.2), 
        transparent);
}

.psychometric-card::after {
    background: linear-gradient(90deg, 
        transparent,
    rgba(57, 0, 157, 0.1),
        transparent);
}

.ai-card::after {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 255, 192, 0.1), 
        transparent);
}

.data-card::after {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 99, 132, 0.1), 
        transparent);
}

@keyframes borderGlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
@keyframes contentGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: rgba(108, 99, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon {
    transform: scale(1.1);
    background: rgba(108, 99, 255, 0.2);
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Specific card styles */
.psychometric-card {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(108, 99, 255, 0.05));
}

.ai-card {
    background: linear-gradient(135deg, rgba(99, 255, 192, 0.1), rgba(99, 255, 192, 0.05));
}

.ai-card .card-icon {
    color: #63ffc0;
    background: rgba(99, 255, 192, 0.1);
}

.data-card {
    background: linear-gradient(135deg, rgba(255, 99, 132, 0.1), rgba(255, 99, 132, 0.05));
}

.data-card .card-icon {
    color: #ff6384;
    background: rgba(255, 99, 132, 0.1);
}

.card-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), #ac8ee1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/*.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: var(--card-background);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: var(--text-color);
}

.contact-form button {
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #7a74ff;
}*/

footer {
    text-align: left;
    padding: 2rem;
    background: var(--card-background);
    position: relative;
    z-index: 2;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.case-study-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}

.case-study-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), #8b84ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-study-content .industry {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.case-study-content .results {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.case-details {
    color: var(--text-color);
}

.case-details ul {
    list-style: none;
    margin-top: 1rem;
}

.case-details ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.case-details ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}


/* AI Recruitment Section Styles */
.recruitment-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    width: 100%;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.automation-list {
    list-style: none;
    margin-top: 1rem;
}

.automation-list li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.automation-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/*@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}
@media screen and (max-width: 872px) {
    body {
        overflow-x: hidden;
    }
    #navbarCollapse ul li {
        width: -webkit-fill-available;
        background: #ffffff;
        box-shadow: 0px 0px 4px 1px #595959;
        border-radius: 24px;
        margin-bottom: .4rem;
    }
    .nav-links a {
        opacity: 0;
    }
    .burger {
        display: block;
    }
}*/

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chatbot-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 99, 255, 0.3);
}

.chatbot-window {
    position: absolute;
    bottom: calc(100% + 1rem);
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--card-background);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    padding: 1rem;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.close-chat {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.close-chat:hover {
    color: var(--primary-color);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    animation: messageAppear 0.3s ease;
}

.chat-message.bot {
    background: rgba(108, 99, 255, 0.1);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-message.user {
    background: var(--primary-color);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chat-input-form {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.chat-input-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-input-form button:hover {
    transform: scale(1.1);
}

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

/* Team Section Styles */
#team {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--card-background);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.2), rgba(139, 132, 255, 0.2));
    border-radius: 21px;
    z-index: -1;
    pointer-events: none;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), #8b84ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.member-content .role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-content .company {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-content .description {
    color: var(--text-color);
    line-height: 1.6;
}

/* Tutorial Styles */
.tutorial-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    backdrop-filter: blur(3px);
}
.tutorial-step-icon {
    width: 160px;
    height: auto;
    vertical-align: middle;
    margin: 1rem;
}
.center-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.tutorial-popup {
    display: none;
    position: absolute;
    background: var(--card-background);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(108, 99, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    color: var(--text-color);
    left: 50%;
    transform: translateX(-50%);
}

.tutorial-popup h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.tutorial-popup p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.tutorial-controls {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.tutorial-controls button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.tutorial-controls button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
}

.tutorial-highlight {
    position: relative;
    z-index: 10000;
    animation: highlight-pulse 2s infinite;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.4);
    border-radius: 15px;
}

@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(108, 99, 255, 0); }
    100% { box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.4); }
}

.start-tutorial {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: pulse 3s infinite;
}

.start-tutorial:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 99, 255, 0.3);
}

.start-tutorial i {
    font-size: 1.3rem;
}
.fa-graduation-cap {
    transition: transform 0.3s ease;
}

.start-tutorial:hover .fa-graduation-cap {
    transform: rotate(-15deg) scale(1.2);
}
@keyframes pulse {
    0% { transform: scale(1); }
    20% { transform: scale(1.1); }
    40% { transform: scale(1); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


.lang-toggle {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
    text-indent: 0;
    overflow: visible;
    display: inline-block;
}
.lang-toggle .flag {
    margin-left: 5px;
    font-size: 1rem;
    vertical-align: middle;
}


.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

/* Add after the existing styles */

.comparison-matrix {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-matrix h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), #8b84ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.matrix-container {
    overflow-x: auto;
    background: var(--card-background);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--text-color);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.comparison-table th {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
}

.comparison-table tr:hover td {
    background: rgba(108, 99, 255, 0.1);
}

.feature-included i {
    color: #63ffc0;
    font-size: 1.2rem;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.feature-partial i {
    color: #ffd700;
    font-size: 1.2rem;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.comparison-table tr:hover .feature-included i,
.comparison-table tr:hover .feature-partial i {
    transform: scale(1.2);
}

.legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.legend-item i {
    font-size: 1.1rem;
}

.legend-item:first-child i {
    color: #63ffc0;
}

.legend-item:last-child i {
    color: #ffd700;
}
#myVideo {
    width: 620px; /* oder eine andere passende Breite */
    height: 480px; /* behält das Seitenverhältnis bei */
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}
.video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1; /* Erlaubt es dem Videocontainer, flexibel zu wachsen und zu schrumpfen */
    padding: 10px; /* Etwas Innenabstand */
    /*height: 400px;*/
    border-radius: 8px;
    align-content: center;
}

.service-item {
    position: relative;
}

.tooltip {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    z-index: 2;
}

.tooltip i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tooltip:hover i {
    transform: scale(1.2);
}

.service-item::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 0;
    left: 0;
    width: 87%;
    height: 78%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 2rem;
    color: var(--text-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    z-index: 1;
}

.service-item:hover::after {
    opacity: 1;
    visibility: visible;
}

.tooltip-text {
    position: absolute;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    white-space: nowrap;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}



.services-cta {
    text-align: center;
    margin-top: 3rem;
}

.services-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    z-index: 5;
}

.services-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.services-button i {
    transition: transform 0.3s ease;
}

.services-button:hover i {
    transform: translateX(5px);
}

/* Detailed Services Page Styles */
.detailed-services {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-item {
    background: var(--card-background);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    /*overflow: hidden;*/
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-item:hover::before {
    transform: translateX(100%);
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), #8b84ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more:hover {
    gap: 0.8rem;
}
.form {
    /*max-width: 100vw;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}


.runaway {
    transition: all 0.3s ease !important;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
    height: 100px;
}
/* From Uiverse.io by mrhyddenn */
.form__group {
    position: relative;
    padding: 20px 0 0;
    width: 100%;
    /*max-width: 180px;*/
}

.form__field {
    font-family: inherit;
    width: 100%;
    border: none;
    border-bottom: 2px solid #9b9b9b;
    outline: 0;
    font-size: 17px;
    color: #fff;
    padding: 7px 0;
    background: transparent;
    transition: border-color 0.2s;
}

.form__field::placeholder {
    color: transparent;
}

.form__field:placeholder-shown ~ .form__label {
    font-size: 17px;
    cursor: text;
    top: 28px;
    left: 8px;
}

.form__label {
    position: absolute;
    top: -4px;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: #38caef;
    pointer-events: none;
}

.form__field:focus {
    padding-bottom: 6px;
    font-weight: 700;
    border-width: 3px;
    border-image: linear-gradient(to right, #116399, #38caef);
    border-image-slice: 1;
}

.form__field:focus ~ .form__label {
    position: absolute;
    top: -6px;
    left: 4px;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: #9b9b9b;
    font-weight: 700;
}

/* reset input */
.form__field:required, .form__field:invalid {
    box-shadow: none;
}
button {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background: linear-gradient(135deg, #e81cff, #40c9ff);
    border-color: #fff;
    color: white;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}
.aia-button {
    width: 100%;
    height: 200px;
    border: none;
    position: fixed;
    bottom: 0px;
    right: -45%;
    left: unset;
    z-index: 2222;
}

/* Animation für sanftes Einblenden */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .feature-card {
        flex-direction: column;
        padding: 2rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .card-icon {
        font-size: 2rem;
        padding: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .card-content h2 {
        font-size: 1.2rem;
    }

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--card-background);
        padding: 1rem;
        text-align: center;
        transition: all .2s ease;
    }

    .nav-links.active {
        display: flex;
        transition: all .2s ease;
    }

    .lang-toggle {
        margin: 1rem auto 0;
    }
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .case-study-card {
        padding: 1.5rem;
    }

    .case-study-content h3 {
        font-size: 1.5rem;
    }

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

    .step {
        padding: 1.2rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }
    .lang-toggle {
        margin: 1rem auto 0;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .member-content h3 {
        font-size: 1.5rem;
    }
}
/* Add responsive styles for tooltips */
@media screen and (max-width: 768px) {
    .aia-button {
        right: -100px;
    }
    /* Unscharfer Hintergrund */
    .hero-background {
        /*background: url("../assets/elegant-automated-dentist-office.jpg") no-repeat center center initial;*/
        /*background-size: cover;*/
        /*-webkit-background-clip: initial;*/
    }
    .label {
        font-size: 42px;
        fill: #ffffff;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding: 2rem;
    }

    .service-item h3 {
        font-size: 1.5rem;
    }
    .service-item::after {
        font-size: 1rem;
        padding: 1.5rem;
    }

    .tooltip {
        top: 0.8rem;
        right: 0.8rem;
    }
    .comparison-matrix {
        padding: 3rem 5%;
    }
    .title {
        padding: 2rem;
    }
    .title-subline {
        padding: 2rem;
    }
    .video-container {
        max-width: 100%; /* Nutzt die volle Breite auf kleinen Bildschirmen */
    }
    .buttons {
        left: 4vw;
        bottom: 4vh;
        width: 20%;
    }
    .comparison-matrix h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .matrix-container {
        padding: 1rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .legend {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    form {
        width: 95%;
        padding: 15px;
    }

    input, textarea {
        font-size: 14px;
        padding: 10px;
    }

    button {
        font-size: 14px;
        /*padding: 10px;*/
    }

    .privacy-checkbox {
        font-size: 12px;
        flex-wrap: wrap;
    }
}
